version 1.56, 1999/08/07 21:40:35
|
version 1.63, 2000/07/02 08:27:19
|
Line 22 AC_INIT(engine/engine.c)
|
Line 22 AC_INIT(engine/engine.c)
|
|
|
dnl We use some automake macros here, |
dnl We use some automake macros here, |
dnl but don't use automake for creating Makefile.in |
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 |
#snapshots have numbers major.minor.release-YYYYMMDD |
#note that lexicographic ordering bust be heeded. |
#note that lexicographic ordering bust be heeded. |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
AM_CONFIG_HEADER(engine/config.h) |
AM_CONFIG_HEADER(engine/config.h) |
AM_CYGWIN32 |
#AM_CYGWIN32 |
|
|
AC_ARG_ENABLE(force-reg, |
AC_ARG_ENABLE(force-reg, |
[ --enable-force-reg Use explicit register declarations if they appear in |
[ --enable-force-reg Use explicit register declarations if they appear in |
Line 212 case "$host_cpu" in
|
Line 212 case "$host_cpu" in
|
if test "${enable_direct_threaded+set}" = "" \ |
if test "${enable_direct_threaded+set}" = "" \ |
-a "${enable_indirect_threaded+set}" = "" |
-a "${enable_indirect_threaded+set}" = "" |
then |
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) |
AC_DEFINE(DIRECT_THREADED) |
fi |
fi |
;; |
;; |
Line 243 case "$host_cpu" in
|
Line 243 case "$host_cpu" in
|
;; |
;; |
alpha*) |
alpha*) |
machine=alpha |
machine=alpha |
|
#full IEEE FP support for more uniformity across platforms: |
|
CFLAGS="$CFLAGS -mieee" |
;; |
;; |
power*) |
power*) |
machine=power |
machine=power |
Line 260 esac
|
Line 262 esac
|
AC_SUBST(host) |
AC_SUBST(host) |
AC_SUBST(ENGINE_FLAGS) |
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 |
case "$host_os" in |
*win32) |
*win32) |
EXE=".exe" |
EXE=".exe" |
Line 328 AC_CHECK_FUNCS(rint expm1 log1p)
|
Line 336 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_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) |
AC_CHECK_FUNCS(mmap sysconf getpagesize) |
AM_PATH_LISPDIR |
AM_PATH_LISPDIR |
|
|