(scm_log): Test HAVE_CLOG as well as HAVE_COMPLEX_DOUBLE
[bpt/guile.git] / configure.in
index b60f0a2..6e6bff6 100644 (file)
@@ -25,7 +25,7 @@ Boston, MA 02110-1301, USA.
 
 ]])
 
-AC_PREREQ(2.53)
+AC_PREREQ(2.59)
 
 dnl  `patsubst' here deletes the newline which "echo" prints.  We can't use
 dnl  "echo -n" since -n is not portable (see autoconf manual "Limitations of
@@ -37,9 +37,11 @@ AC_INIT(patsubst(m4_esyscmd(. ./GUILE-VERSION && echo ${PACKAGE}),[
         patsubst(m4_esyscmd(. ./GUILE-VERSION && echo ${GUILE_VERSION}),[
 ]),
         [bug-guile@gnu.org])
-AC_CONFIG_AUX_DIR([.])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR(GUILE-VERSION)
-AM_INIT_AUTOMAKE([no-define])
+
+AM_INIT_AUTOMAKE([gnu no-define check-news])
 
 AC_COPYRIGHT(GUILE_CONFIGURE_COPYRIGHT)
 AC_CONFIG_SRCDIR([GUILE-VERSION])
@@ -66,12 +68,12 @@ AC_LIBTOOL_WIN32_DLL
 
 AC_PROG_INSTALL
 AC_PROG_CC
+gl_EARLY
 AC_PROG_CPP
 AC_PROG_AWK
 
-AC_AIX
-AC_ISC_POSIX
-AC_MINIX
+dnl Gnulib.
+gl_INIT
 
 AM_PROG_CC_STDC
 # for per-target cflags in the libguile subdir
@@ -987,16 +989,6 @@ int main () { return (isnan(x) != 0); }]]),
              [Define to 1 if you have the `isnan' macro or function.])],
   [AC_MSG_RESULT([no])])
 
-# We must have a proper stack-using alloca in order for stack-copying
-# continuations to work properly.  If we don't find a native one,
-# abort.
-
-AC_FUNC_ALLOCA
-if test "$ALLOCA" = "alloca.o"
-then
-  AC_ERROR([No native alloca found.])
-fi
-
 # Reasons for checking:
 #
 #     st_rdev
@@ -1234,7 +1226,7 @@ if test "$cross_compiling" = "yes"; then
   AC_MSG_CHECKING(guile for build)
   GUILE_FOR_BUILD="${GUILE_FOR_BUILD-guile}"
 else
-  GUILE_FOR_BUILD='$(top_builddir_absolute)/$(preinstguile)'
+  GUILE_FOR_BUILD='$(preinstguile)'
 fi   
 
 ## AC_MSG_CHECKING("if we are cross compiling")
@@ -1350,6 +1342,7 @@ AC_CONFIG_FILES([libguile/gen-scmconfig.h])
 AC_CONFIG_FILES([
   Makefile
   am/Makefile
+  lib/Makefile
   benchmark-suite/Makefile
   doc/Makefile
   doc/goops/Makefile