| the machine.h file. This can cause a good speedup, |
the machine.h file. This can cause a good speedup, |
| but also incorrect code with some gcc versions on |
but also incorrect code with some gcc versions on |
| some processors (default disabled).], |
some processors (default disabled).], |
| |
|
| AC_DEFINE(FORCE_REG)) |
AC_DEFINE(FORCE_REG)) |
| dnl this is not quite according to the autoconf manual, it causes a replacement |
dnl this is not quite according to the autoconf manual, it causes a replacement |
| AC_ARG_ENABLE(direct-threaded, |
AC_ARG_ENABLE(direct-threaded, |
| debugging informations.], |
debugging informations.], |
| if test "$withval" = "yes"; then DEBUGFLAG=-g; fi) |
if test "$withval" = "yes"; then DEBUGFLAG=-g; fi) |
| |
|
| |
PEEPHOLE="yes" |
| |
AC_ARG_WITH(peephole, |
| |
[ --with-peephole Enable peephole optimization (default) |
| |
--without-peephole disables peephole optimization. Creates smaller, |
| |
but slower images.], |
| |
PEEPHOLE="$withval") |
| |
|
| CFLAGS=$CFLAGS |
CFLAGS=$CFLAGS |
| |
|
| AC_PROG_CC |
AC_PROG_CC |
| |
|
| AC_SUBST(FORTHSIZES) |
AC_SUBST(FORTHSIZES) |
| |
|
| |
if test "$PEEPHOLE" = "yes" |
| |
then |
| |
PEEPHOLEFLAG="true" |
| |
AC_DEFINE(HAS_PEEPHOLE) |
| |
else |
| |
PEEPHOLEFLAG="false" |
| |
fi |
| |
AC_SUBST(PEEPHOLEFLAG) |
| |
|
| dnl copy commands for systems that don't have links |
dnl copy commands for systems that don't have links |
| AC_SUBST(LINK_KERNL) |
AC_SUBST(LINK_KERNL) |
| LINK_KERNL="" |
LINK_KERNL="" |
| Makefile |
Makefile |
| Makedist |
Makedist |
| gforthmi |
gforthmi |
| |
machpc.fs |
| engine/Makefile |
engine/Makefile |
| doc/version.texi ], |
doc/version.texi ], |
| echo timestamp > stamp-h |
echo timestamp > stamp-h |