version 1.301, 2012/03/19 21:51:38
|
version 1.302, 2012/03/21 00:53:06
|
Line 128 else
|
Line 128 else
|
fi]) |
fi]) |
|
|
#variables mentioned in INSTALL |
#variables mentioned in INSTALL |
|
AC_ARG_VAR(SH, [The shell]) |
AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x).]) |
AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x).]) |
AC_ARG_VAR(FORTHSIZES, [Gforth command line options for the default stack and dictionary sizes (see INSTALL).]) |
AC_ARG_VAR(FORTHSIZES, [Gforth command line options for the default stack and dictionary sizes (see INSTALL).]) |
AC_ARG_VAR(STACK_CACHE_REGS, [number of registers in the maximum stack cache state for gforth-fast and gforth-native (default platform-dependent).]) |
AC_ARG_VAR(STACK_CACHE_REGS, [number of registers in the maximum stack cache state for gforth-fast and gforth-native (default platform-dependent).]) |
Line 176 AC_PROG_CC
|
Line 177 AC_PROG_CC
|
|
|
test "$GCC" = "yes" || AC_MSG_ERROR(Gforth uses GNU C extensions and requires GCC 2.0 or higher) |
test "$GCC" = "yes" || AC_MSG_ERROR(Gforth uses GNU C extensions and requires GCC 2.0 or higher) |
|
|
|
test "x$SH" = "x" && SH="/bin/sh" |
|
|
AC_MSG_CHECKING([whether to use two dispatches per conditional branch]) |
AC_MSG_CHECKING([whether to use two dispatches per conditional branch]) |
test x$condbranch_opt = x && |
test x$condbranch_opt = x && |
if ($CC -v 2>&1 |grep 'gcc version 3' >/dev/null); then |
if ($CC -v 2>&1 |grep 'gcc version 3' >/dev/null); then |
Line 187 AC_MSG_RESULT($condbranch_opt)
|
Line 190 AC_MSG_RESULT($condbranch_opt)
|
AC_SUBST(condbranch_opt) |
AC_SUBST(condbranch_opt) |
AC_SUBST(host_cpu) |
AC_SUBST(host_cpu) |
|
|
|
AC_SUBST(SH) |
AC_SUBST(CC) |
AC_SUBST(CC) |
AC_SUBST(GCC_LD) |
AC_SUBST(GCC_LD) |
AC_SUBST(DEBUGFLAG) |
AC_SUBST(DEBUGFLAG) |