version 1.110, 2003/01/30 16:14:30
|
version 1.120, 2003/05/04 08:28:28
|
Line 1
|
Line 1
|
dnl Process this file with autoconf to produce a configure script. |
dnl Process this file with autoconf to produce a configure script. |
|
|
#Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 20 dnl Process this file with autoconf to p
|
Line 20 dnl Process this file with autoconf to p
|
|
|
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 |
AC_INIT([gforth],[0.5.9-20030127],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.1],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
|
AC_PREREQ(2.54) |
#snapshots have numbers major.minor.release-YYYYMMDD |
#snapshots have numbers major.minor.release-YYYYMMDD |
#note that lexicographic ordering must be heeded. |
#note that lexicographic ordering must 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! |
UPDATED="27 January 2003" |
UPDATED="March 11, 2003" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 294 CFLAGS="$CFLAGS_1"
|
Line 295 CFLAGS="$CFLAGS_1"
|
AC_MSG_RESULT($ac_nogcse) |
AC_MSG_RESULT($ac_nogcse) |
|
|
# Try if GCC understands -fno-strict-aliasing |
# Try if GCC understands -fno-strict-aliasing |
|
|
AC_MSG_CHECKING([if $CC understands -fno-strict-aliasing]) |
AC_MSG_CHECKING([if $CC understands -fno-strict-aliasing]) |
CFLAGS_1="$CFLAGS" |
CFLAGS_1="$CFLAGS" |
CFLAGS="$CFLAGS -fno-strict-aliasing" |
CFLAGS="$CFLAGS -fno-strict-aliasing" |
Line 303 CFLAGS="$CFLAGS_1"
|
Line 303 CFLAGS="$CFLAGS_1"
|
AC_MSG_RESULT($ac_nostrictaliasing) |
AC_MSG_RESULT($ac_nostrictaliasing) |
|
|
# Try if GCC understands -fno-cross-jump |
# Try if GCC understands -fno-cross-jump |
|
|
AC_MSG_CHECKING([if $CC understands -fno-cross-jump]) |
AC_MSG_CHECKING([if $CC understands -fno-cross-jump]) |
CFLAGS_1="$CFLAGS" |
CFLAGS_1="$CFLAGS" |
CFLAGS="$CFLAGS -fno-cross-jump" |
CFLAGS="$CFLAGS -fno-cross-jump" |
Line 317 AC_SUBST(asm_fs)
|
Line 316 AC_SUBST(asm_fs)
|
AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine) |
AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine) |
AC_SUBST(disasm_fs) |
AC_SUBST(disasm_fs) |
|
|
|
AC_PATH_PROG(INSTALL_INFO,install-info,[echo '>>>>Please make info dir entry:'],$PATH:/sbin:/usr/sbin:/usr/local/sbin) |
|
|
case "$host_os" in |
case "$host_os" in |
*win32|cygwin) |
*win32|cygwin) |
DIRSEP="\\\\" |
DIRSEP="\\\\" |
Line 324 case "$host_os" in
|
Line 325 case "$host_os" in
|
*darwin*) |
*darwin*) |
#Darwin uses some funny preprocessor by default; eliminate it: |
#Darwin uses some funny preprocessor by default; eliminate it: |
AC_MSG_NOTICE([using -traditional-cpp on Darwin]) |
AC_MSG_NOTICE([using -traditional-cpp on Darwin]) |
CFLAGS="$CFLAGS -traditional-cpp" |
CFLAGS="$CFLAGS -no-cpp-precomp" |
DIRSEP="/" |
DIRSEP="/" |
;; |
;; |
*) |
*) |
Line 434 fi
|
Line 435 fi
|
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_FUNC_FSEEKO |
AC_FUNC_FSEEKO |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_TYPES(stack_t) |
AC_CHECK_TYPES(stack_t,,,[#include <signal.h>]) |
AC_DECL_SYS_SIGLIST |
AC_DECL_SYS_SIGLIST |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt); AC_LIBOBJ(getopt1)) |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt); AC_LIBOBJ(getopt1)) |
AC_CHECK_FUNCS(expm1 log1p) |
AC_CHECK_FUNCS(expm1 log1p) |