--- gforth/configure.in 1996/10/13 19:56:20 1.26 +++ 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 @@ -184,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="" @@ -235,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)