version 1.129, 2003/08/23 20:16:08
|
version 1.134, 2003/09/08 10:14:19
|
Line 21 dnl Process this file with autoconf to p
|
Line 21 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.6.1-20030806],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.2],[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="August 6, 2003" |
UPDATED="August 25, 2003" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 134 case "$host_cpu" in
|
Line 134 case "$host_cpu" in
|
machine=hppa |
machine=hppa |
$srcdir/mkinstalldirs arch/hppa |
$srcdir/mkinstalldirs arch/hppa |
AC_LIBOBJ(../arch/hppa/cache) |
AC_LIBOBJ(../arch/hppa/cache) |
#LDFLAGS="$LDFLAGS -Xlinker -N" |
#-N needed for --dynamic <M4U3b.3790$9d.317@news.cpqcorp.net> |
|
LDFLAGS="$LDFLAGS -Xlinker -N" |
LIBS="$LIBS -L/lib/pa1.1/" |
LIBS="$LIBS -L/lib/pa1.1/" |
;; |
;; |
sparc*) |
sparc*) |
Line 155 case "$host_cpu" in
|
Line 156 case "$host_cpu" in
|
CFLAGS="$CFLAGS -march=pentium" |
CFLAGS="$CFLAGS -march=pentium" |
AC_TRY_COMPILE(,,,CFLAGS="$CFLAGS_1 -m486") |
AC_TRY_COMPILE(,,,CFLAGS="$CFLAGS_1 -m486") |
;; |
;; |
|
x86_64) |
|
machine=amd64 |
|
;; |
#generic should work for IA64 |
#generic should work for IA64 |
# ia64*) |
# ia64*) |
# machine=ia64 |
# machine=ia64 |
Line 323 AC_TRY_COMPILE(,,ac_nocrossjumping=yes;E
|
Line 327 AC_TRY_COMPILE(,,ac_nocrossjumping=yes;E
|
CFLAGS="$CFLAGS_1" |
CFLAGS="$CFLAGS_1" |
AC_MSG_RESULT($ac_nocrossjumping) |
AC_MSG_RESULT($ac_nocrossjumping) |
|
|
|
# Try if GCC understands __attribute__((unused)) |
|
AC_MSG_CHECKING([how to suppress 'unused variable' warnings]) |
|
AC_TRY_COMPILE(,[int __attribute__((unused)) foo;], MAYBE_UNUSED='__attribute__((unused))',) |
|
AC_DEFINE_UNQUOTED(MAYBE_UNUSED,$MAYBE_UNUSED,[attribute for possibly unused variables]) |
|
AC_MSG_RESULT($MAYBE_UNUSED) |
|
|
AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine) |
AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine) |
AC_SUBST(asm_fs) |
AC_SUBST(asm_fs) |
|
|