--- gforth/configure.in 1999/08/07 21:40:35 1.56 +++ gforth/configure.in 2000/07/02 08:27:19 1.63 @@ -22,12 +22,12 @@ AC_INIT(engine/engine.c) dnl We use some automake macros here, dnl but don't use automake for creating Makefile.in -AM_INIT_AUTOMAKE(gforth,0.4.9-19990617) +AM_INIT_AUTOMAKE(gforth,0.4.9-20000606) #snapshots have numbers major.minor.release-YYYYMMDD #note that lexicographic ordering bust be heeded. #I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! AM_CONFIG_HEADER(engine/config.h) -AM_CYGWIN32 +#AM_CYGWIN32 AC_ARG_ENABLE(force-reg, [ --enable-force-reg Use explicit register declarations if they appear in @@ -212,7 +212,7 @@ case "$host_cpu" in if test "${enable_direct_threaded+set}" = "" \ -a "${enable_indirect_threaded+set}" = "" then - echo "Using direct threaded code on PPro/Pentium II" + echo "Using direct threaded code on Athlon/PPro/Pentium II/Pentium III" AC_DEFINE(DIRECT_THREADED) fi ;; @@ -243,6 +243,8 @@ case "$host_cpu" in ;; alpha*) machine=alpha + #full IEEE FP support for more uniformity across platforms: + CFLAGS="$CFLAGS -mieee" ;; power*) machine=power @@ -260,6 +262,12 @@ esac AC_SUBST(host) AC_SUBST(ENGINE_FLAGS) +AC_CHECK_PROG(asm_fs,asm.fs,$srcdir/arch/$machine/asm.fs,,$srcdir/arch/$machine) +AC_SUBST(asm_fs) + +AC_CHECK_PROG(disasm_fs,disasm.fs,$srcdir/arch/$machine/disasm.fs,,$srcdir/arch/$machine) +AC_SUBST(disasm_fs) + case "$host_os" in *win32) EXE=".exe" @@ -328,7 +336,9 @@ 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_HEADERS(sys/mman.h fnmatch.h) +AC_FUNC_FNMATCH +test $ac_cv_func_fnmatch_works = yes || LIBOBJS="$LIBOBJS fnmatch.o" AC_CHECK_FUNCS(mmap sysconf getpagesize) AM_PATH_LISPDIR