| dnl but slower images.], |
dnl but slower images.], |
| dnl PEEPHOLE="$withval") |
dnl PEEPHOLE="$withval") |
| |
|
| AC_ARG_ENABLE(ec, |
AC_ARG_WITH(ec, |
| AC_HELP_STRING([--enable-ec], |
AC_HELP_STRING([--with-ec=<arch>], |
| [ Build gforth for systems without OS.]), |
[ Build gforth for systems without OS.]), |
| ,enable_ec=no) |
[if test "$withval" = "no"; then |
| if test "$enable_ec" = "yes"; then |
echo "defining hosted system" |
| echo "defining standalone system" |
EC_MODE="false" |
| |
EC="" |
| |
engine2="engine2.o" |
| |
engine_fast2="engine-fast2.o" |
| |
no_dynamic="" |
| |
image_i="" |
| |
signals_o="io.o signals.o" |
| |
else |
| |
echo "defining standalone system (${withval})" |
| AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
| EC_MODE="true" |
EC_MODE="true" |
| EC="-ec" |
EC="-ec" |
| engine_fast2="" |
engine_fast2="" |
| no_dynamic="-DNO_DYNAMIC" |
no_dynamic="-DNO_DYNAMIC" |
| image_i="image.i" |
image_i="image.i" |
| signals_o="" |
if test "$withval" != "yes"; then |
| |
signals_o="io-${withval}.o" |
| else |
else |
| echo "defining hosted system" |
signals_o="io.o" |
| EC_MODE="false" |
|
| EC="" |
|
| engine2="engine2.o" |
|
| engine_fast2="engine-fast2.o" |
|
| no_dynamic="" |
|
| image_i="" |
|
| signals_o="signals.o" |
|
| fi |
fi |
| |
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.]) |