version 1.114, 2003/03/02 13:12:32
|
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-20030201],[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) |
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="February 1st, 2003" |
UPDATED="March 11, 2003" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 295 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 304 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 318 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,false,$PATH:/sbin:/usr/sbin:/usr/local/sbin) |
AC_PATH_PROG(INSTALL_INFO,install-info,[echo '>>>>Please make info dir entry:'],$PATH:/sbin:/usr/sbin:/usr/local/sbin) |
if $INSTALL_INFO --version|grep -i debian >/dev/null; then |
|
INSTALL_INFO=false |
|
AC_MSG_WARN([Debian install-info; disabling it]) |
|
fi |
|
|
|
case "$host_os" in |
case "$host_os" in |
*win32|cygwin) |
*win32|cygwin) |
Line 331 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="/" |
;; |
;; |
*) |
*) |