--- gforth/configure.in 1996/10/06 22:24:16 1.25 +++ gforth/configure.in 1996/12/28 17:19:23 1.28 @@ -42,9 +42,9 @@ AC_DEFINE(INDIRECT_THREADED)) AC_ARG_WITH(debug, [ --with-debug specifies option -g to compile with debug info (default) - --without-debug omits the -g switch and creates smaller images on - machines where "strip" has problems with gcc style - debugging informations.], + --without-debug omits the -g switch and creates smaller images on + machines where "strip" has problems with gcc style + debugging informations.], if test "$withval" = "yes"; then DEBUGFLAG=-g; fi) CFLAGS=$CFLAGS @@ -153,6 +153,10 @@ case "$host_cpu" in #!! direct/indirect threading switch #!! -m486 flag ;; + m68k) + mach_h=m68k + CFLAGS="$CFLAGS -fomit-frame-pointer -traditional-cpp" + ;; mips*) mach_h=mips #link text and data segment into the same 256M region! @@ -180,6 +184,8 @@ PATHSEP=":" AC_SUBST(PATHSEP) AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP') +AC_SUBST(FORTHSIZES) + dnl copy commands for systems that don't have links AC_SUBST(LINK_KERNL16L) LINK_KERNL16L="" @@ -231,6 +237,8 @@ AC_CHECK_FUNCS(rint expm1 log1p) AC_REPLACE_FUNCS(ecvt) dnl No check for select, because our replacement is no good under dnl anything but DOS +AC_CHECK_HEADERS(sys/mman.h) +AC_CHECK_FUNCS(mmap sysconf getpagesize) kernel_fi=kernl${wordsize}${bytesex}.fi AC_SUBST(kernel_fi)