--- gforth/configure.in 1996/10/13 19:56:20 1.26 +++ gforth/configure.in 1997/02/08 22:58:08 1.29 @@ -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,25 +184,17 @@ 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="" -AC_SUBST(LINK_KERNL16B) -LINK_KERNL16B="" -AC_SUBST(LINK_KERNL32L) -LINK_KERNL32L="" -AC_SUBST(LINK_KERNL32B) -LINK_KERNL32B="" -AC_SUBST(LINK_KERNL64L) -LINK_KERNL64L="" -AC_SUBST(LINK_KERNL64B) -LINK_KERNL64B="" +AC_SUBST(LINK_KERNL) +LINK_KERNL="" #if test $host_os=dos #then # echo Configuring for DOS!!! # MAKE_EXE="coff2exe gforth" -# LINK_KERNL32L='$(CP) kernl32l.fi kernel.fi' +# LINK_KERNL='$(CP) kernl32l.fi kernel.fi' #fi dnl the following macro produces a warning with autoconf-2.1 @@ -235,6 +227,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)