Get rid of dependency on libgmp by writing our own routine for
[pspp-builds.git] / configure.ac
index 55065328ba470ab16f12e2adbd4cf3f96c5ba9cf..ae1e097e476917d16e8834220f045b2d715fa8c4 100644 (file)
@@ -2,13 +2,14 @@ dnl Process this file with autoconf to produce a configure script.
 
 dnl Initialize.
 AX_PREREQ(2.57)
-AC_INIT(pspp, 0.3.1,bug-gnu-pspp@gnu.org)
+AC_INIT(pspp, 0.4.0,bug-gnu-pspp@gnu.org)
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE
 
 dnl Checks for programs.
 AC_GNU_SOURCE
 AC_PROG_CC
+AC_PROG_RANLIB
 
 AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" )
 
@@ -39,15 +40,9 @@ fi
 AM_CONDITIONAL(WITHCHARTS, test x"$with_libplot" != x"no")
 
 
-AC_CHECK_LIB(gmp, mpf_get_str,,
-       AC_CHECK_LIB(gmp, __gmpf_get_str,,
-          AC_MSG_ERROR([You must install libgmp])
-        )
-)
-
 AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR([You must install libgslcblas]))
 AC_CHECK_LIB(gsl, gsl_cdf_chisq_Q,,
-       AC_MSG_ERROR([You must install libgsl version 1.4 or later]))
+  AC_MSG_ERROR([You must install libgsl version 1.4 or later]))
 
 AC_CHECK_LIB(gnugetopt,getopt_long)
 AC_CHECK_FUNC(getopt_long,,
@@ -148,7 +143,7 @@ if test x"$enable_debug" = x"yes"  ; then
 fi
 
 AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile 
-                lib/Makefile lib/misc/Makefile 
+                lib/Makefile lib/misc/Makefile lib/gsl-extras/Makefile
                 doc/Makefile 
                 src/Makefile src/expressions/Makefile
                 config/Makefile