| dnl but slower images.], |
dnl but slower images.], |
| dnl PEEPHOLE="$withval") |
dnl PEEPHOLE="$withval") |
| |
|
| |
AC_ARG_ENABLE(ec, |
| |
AC_HELP_STRING([--enable-ec], |
| |
[ Build gforth for systems without OS.]), |
| |
,enable_ec=no) |
| |
if test "$enable_ec" = "yes"; then |
| |
AC_DEFINE(HAVE_EC,,[Define if you want a Gforth without OS]) |
| |
EC_MODE="true" |
| |
else |
| |
EC_MODE="false" |
| |
fi |
| |
|
| #variables mentioned in INSTALL |
#variables mentioned in INSTALL |
| AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x); gcc-2.95 recommended.]) |
AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x); gcc-2.95 recommended.]) |
| 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_SUBST(CC) |
AC_SUBST(CC) |
| AC_SUBST(DEBUGFLAG) |
AC_SUBST(DEBUGFLAG) |
| |
AC_SUBST(HAVE_EC) |
| |
AC_SUBST(EC_MODE) |
| |
|
| AC_MSG_CHECKING(make type) |
AC_MSG_CHECKING(make type) |
| make_type=`make -v 2>&1|grep 'ake'|sed 's/ake .*/ake/'` |
make_type=`make -v 2>&1|grep 'ake'|sed 's/ake .*/ake/'` |