version 1.25, 1996/10/06 22:24:16
|
version 1.29, 1997/02/08 22:58:08
|
Line 42 AC_DEFINE(INDIRECT_THREADED))
|
Line 42 AC_DEFINE(INDIRECT_THREADED))
|
|
|
AC_ARG_WITH(debug, |
AC_ARG_WITH(debug, |
[ --with-debug specifies option -g to compile with debug info (default) |
[ --with-debug specifies option -g to compile with debug info (default) |
--without-debug omits the -g switch and creates smaller images on |
--without-debug omits the -g switch and creates smaller images on |
machines where "strip" has problems with gcc style |
machines where "strip" has problems with gcc style |
debugging informations.], |
debugging informations.], |
if test "$withval" = "yes"; then DEBUGFLAG=-g; fi) |
if test "$withval" = "yes"; then DEBUGFLAG=-g; fi) |
|
|
CFLAGS=$CFLAGS |
CFLAGS=$CFLAGS |
Line 153 case "$host_cpu" in
|
Line 153 case "$host_cpu" in
|
#!! direct/indirect threading switch |
#!! direct/indirect threading switch |
#!! -m486 flag |
#!! -m486 flag |
;; |
;; |
|
m68k) |
|
mach_h=m68k |
|
CFLAGS="$CFLAGS -fomit-frame-pointer -traditional-cpp" |
|
;; |
mips*) |
mips*) |
mach_h=mips |
mach_h=mips |
#link text and data segment into the same 256M region! |
#link text and data segment into the same 256M region! |
Line 180 PATHSEP=":"
|
Line 184 PATHSEP=":"
|
AC_SUBST(PATHSEP) |
AC_SUBST(PATHSEP) |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP') |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP') |
|
|
|
AC_SUBST(FORTHSIZES) |
|
|
dnl copy commands for systems that don't have links |
dnl copy commands for systems that don't have links |
AC_SUBST(LINK_KERNL16L) |
AC_SUBST(LINK_KERNL) |
LINK_KERNL16L="" |
LINK_KERNL="" |
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="" |
|
|
|
#if test $host_os=dos |
#if test $host_os=dos |
#then |
#then |
# echo Configuring for DOS!!! |
# echo Configuring for DOS!!! |
# MAKE_EXE="coff2exe gforth" |
# MAKE_EXE="coff2exe gforth" |
# LINK_KERNL32L='$(CP) kernl32l.fi kernel.fi' |
# LINK_KERNL='$(CP) kernl32l.fi kernel.fi' |
#fi |
#fi |
|
|
dnl the following macro produces a warning with autoconf-2.1 |
dnl the following macro produces a warning with autoconf-2.1 |
Line 231 AC_CHECK_FUNCS(rint expm1 log1p)
|
Line 227 AC_CHECK_FUNCS(rint expm1 log1p)
|
AC_REPLACE_FUNCS(ecvt) |
AC_REPLACE_FUNCS(ecvt) |
dnl No check for select, because our replacement is no good under |
dnl No check for select, because our replacement is no good under |
dnl anything but DOS |
dnl anything but DOS |
|
AC_CHECK_HEADERS(sys/mman.h) |
|
AC_CHECK_FUNCS(mmap sysconf getpagesize) |
|
|
kernel_fi=kernl${wordsize}${bytesex}.fi |
kernel_fi=kernl${wordsize}${bytesex}.fi |
AC_SUBST(kernel_fi) |
AC_SUBST(kernel_fi) |