version 1.243, 2008/08/19 19:36:52
|
version 1.250, 2008/10/12 12:57:24
|
Line 20 dnl Process this file with autoconf to p
|
Line 20 dnl Process this file with autoconf to p
|
|
|
dnl We use some automake macros here, |
dnl We use some automake macros here, |
dnl but don't use automake for creating Makefile.in |
dnl but don't use automake for creating Makefile.in |
AC_INIT([gforth],[0.6.9-20080716],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.9-20081006],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_PREREQ(2.54) |
AC_PREREQ(2.54) |
#snapshots have numbers major.minor.release-YYYYMMDD |
#snapshots have numbers major.minor.release-YYYYMMDD |
#note that lexicographic ordering must be heeded. |
#note that lexicographic ordering must be heeded. |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
UPDATED="July 16, 2008" |
UPDATED="October 10, 2008" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 124 AC_ARG_VAR(condbranch_opt, [enable (1) o
|
Line 124 AC_ARG_VAR(condbranch_opt, [enable (1) o
|
AC_ARG_VAR(skipcode, [assembly code for skipping 16 bytes of code]) |
AC_ARG_VAR(skipcode, [assembly code for skipping 16 bytes of code]) |
AC_ARG_VAR(asmcomment, [assembler comment start string]) |
AC_ARG_VAR(asmcomment, [assembler comment start string]) |
AC_ARG_VAR(arm_cacheflush, [file containing ARM cacheflush function (without .c)]) |
AC_ARG_VAR(arm_cacheflush, [file containing ARM cacheflush function (without .c)]) |
|
AC_ARG_VAR(LTDL_LIBRARY_PATH, [additional directories for libltdl (for some 64-bit platforms)]) |
|
|
#set up feature test macros, so the tests get them right: |
#set up feature test macros, so the tests get them right: |
# turn on all POSIX, SUSv3, and GNU features if available |
# turn on all POSIX, SUSv3, and GNU features if available |
Line 617 else
|
Line 618 else
|
M4=m4 |
M4=m4 |
fi |
fi |
AC_SUBST(M4) |
AC_SUBST(M4) |
AC_DEFINE_UNQUOTED(M4,"$M4",[How to invoke m4]) |
|
AC_MSG_RESULT($M4) |
AC_MSG_RESULT($M4) |
|
|
# Find installed Gforth |
# Find installed Gforth |
Line 670 case "$host_os" in
|
Line 670 case "$host_os" in
|
#http://mail.python.org/pipermail/pythonmac-sig/2005-October/015190.html |
#http://mail.python.org/pipermail/pythonmac-sig/2005-October/015190.html |
AC_DEFINE_UNQUOTED(MACOSX_DEPLOYMENT_TARGET,"10.3",[an environment variable value needed by libtool on some MacOS X versions]) |
AC_DEFINE_UNQUOTED(MACOSX_DEPLOYMENT_TARGET,"10.3",[an environment variable value needed by libtool on some MacOS X versions]) |
;; |
;; |
|
*linux*) |
|
DIRSEP="/" |
|
PATHSEP=":" |
|
DEFAULTSYSTEMPREFIX="" |
|
if test -z "$LTDL_LIBRARY_PATH" -a "$wordsize" = 64; then |
|
LTDL_LIBRARY_PATH=`/sbin/ldconfig -p |tail -n +2 |sed 's/^.* => //'|sed 's|/[[^/]]*$||'| grep 64 | sort -u | tr '[\n]' [:] | sed -e 's/:$//'` |
|
fi |
|
;; |
*) |
*) |
DIRSEP="/" |
DIRSEP="/" |
PATHSEP=":" |
PATHSEP=":" |
Line 682 AC_SUBST(PATHSEP)
|
Line 690 AC_SUBST(PATHSEP)
|
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP',[a path separator character]) |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP',[a path separator character]) |
AC_SUBST(DEFAULTSYSTEMPREFIX) |
AC_SUBST(DEFAULTSYSTEMPREFIX) |
AC_DEFINE_UNQUOTED(DEFAULTSYSTEMPREFIX,"$DEFAULTSYSTEMPREFIX",[default for environment variable GFORTHSYSTEMPREFIX]) |
AC_DEFINE_UNQUOTED(DEFAULTSYSTEMPREFIX,"$DEFAULTSYSTEMPREFIX",[default for environment variable GFORTHSYSTEMPREFIX]) |
|
if test -n "$LTDL_LIBRARY_PATH"; then |
|
AC_DEFINE_UNQUOTED(LTDL_LIBRARY_PATH,"$LTDL_LIBRARY_PATH",[Define LTDL_LIBRARY_PATH for 64 bit Linux]) |
|
fi |
|
|
#work around SELinux brain damage (from Andrew Haley <12t8f3jakb74g2c@news.supernews.com>) |
#work around SELinux brain damage (from Andrew Haley <12t8f3jakb74g2c@news.supernews.com>) |
#This magic incantation seems to be completely undocumented. |
#This magic incantation seems to be completely undocumented. |