From 11231ea77019fb6a7e4d993eebb9efd95e12ad4a Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 24 Mar 2003 09:11:22 +0000 Subject: Fixed gmp in configure.ac --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7b220ac..9eccff9 100644 --- a/configure.ac +++ b/configure.ac @@ -100,7 +100,7 @@ if test "$with_gmp" != "no"; then fi]) found_gmp=no - AC_CHECK_HEADER(gmp.h, + AC_CHECK_HEADER(gmpxx.h, [AC_CHECK_LIB(gmp, mpz_init, [GMP_LIBS="-lgmp -lm"; found_gmp=yes], [AC_CHECK_LIB(gmp, __gmpz_init, @@ -110,8 +110,8 @@ if test "$with_gmp" != "no"; then AC_DEFINE([HAVE_GMP], 1, [Have the GMP library]) LIBS="$LIBS $GMP_LIBS" AC_CHECK_FUNC(__gmp_randinit, AC_DEFINE([HAVE_GMP_RANDINIT], 1, [Have the RandInit function])) - elif test "$with_gmp" != "no"; then - AC_MSG_ERROR([Can't find GMP (--without-gmp for cut-down non-GMP build)]) +# elif test "$with_gmp" != "no"; then +# AC_MSG_ERROR([Can't find GMP (--without-gmp for cut-down non-GMP build)]) fi fi AC_SUBST(GMP_LIBS) -- cgit v1.2.3