version 1.269, 2009/03/17 17:35:02
|
version 1.274, 2010/01/02 17:47:03
|
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,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 608 AC_TRY_COMPILE(,,ac_align_jumps=yes;ENGI
|
Line 608 AC_TRY_COMPILE(,,ac_align_jumps=yes;ENGI
|
CFLAGS="$CFLAGS_1" |
CFLAGS="$CFLAGS_1" |
AC_MSG_RESULT($ac_align_jumps) |
AC_MSG_RESULT($ac_align_jumps) |
|
|
|
if test -z "$LIBTOOL_CC" |
|
then |
|
LIBTOOL_CC="$CC" |
|
# Try if GCC understands -Wimplicit-function-declaration |
|
AC_MSG_CHECKING([if $CC understands -Wimplicit-function-declaration]) |
|
CFLAGS_1="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wimplicit-function-declaration" |
|
AC_TRY_COMPILE(,,LIBTOOL_CC="$CC -Wimplicit-function-declaration",) |
|
CFLAGS="$CFLAGS_1" |
|
AC_MSG_RESULT($ac_align_jumps) |
|
fi |
|
AC_SUBST(LIBTOOL_CC) |
|
|
|
|
|
|
# Try if GCC understands __attribute__((unused)) |
# Try if GCC understands __attribute__((unused)) |
AC_MSG_CHECKING([how to suppress 'unused variable' warnings]) |
AC_MSG_CHECKING([how to suppress 'unused variable' warnings]) |
AC_TRY_COMPILE(,[int __attribute__((unused)) foo;], MAYBE_UNUSED='__attribute__((unused))',) |
AC_TRY_COMPILE(,[int __attribute__((unused)) foo;], MAYBE_UNUSED='__attribute__((unused))',) |
Line 834 if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_
|
Line 849 if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_
|
build_libcc_named=build-libcc-named |
build_libcc_named=build-libcc-named |
else |
else |
build_libcc_named="" |
build_libcc_named="" |
|
AC_MSG_WARN([No GNU_LIBTOOL found, skip pre-building libcc-based libraries]) |
fi |
fi |
AC_SUBST(build_libcc_named) |
AC_SUBST(build_libcc_named) |
|
|
|
|
|
if test -z "$GNU_LIBTOOL"; then |
|
AC_MSG_WARN([No GNU_LIBTOOL found, using "libtool" as name.]) |
|
AC_MSG_WARN([libcc.fs won't work until you have installed (GNU) libtool.]) |
|
GNU_LIBTOOL=libtool |
|
fi |
|
|
#check for libffi 2.x |
#check for libffi 2.x |
AC_CHECK_HEADER(ffi.h,FFI_H_NAME=ffi.h,) |
AC_CHECK_HEADER(ffi.h,FFI_H_NAME=ffi.h,) |
if test -z "$FFI_H_NAME"; then |
if test -z "$FFI_H_NAME"; then |
Line 925 ln -sf ../../../engine/config.h ../../..
|
Line 948 ln -sf ../../../engine/config.h ../../..
|
[PACKAGE_VERSION=$PACKAGE_VERSION |
[PACKAGE_VERSION=$PACKAGE_VERSION |
machine=$machine]) |
machine=$machine]) |
AC_OUTPUT |
AC_OUTPUT |
|
|