From ff1bffe49d89a9aa98b4080a60b79eb8f261a520 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 18 Dec 2003 00:42:13 +0000 Subject: [PATCH] Fixed buglet in gmp CHECK_LIB --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index f5fd1e3e..b2406a6f 100644 --- a/configure.ac +++ b/configure.ac @@ -16,9 +16,11 @@ AM_GNU_GETTEXT_VERSION dnl Prevents autoreconf complaint. dnl Checks for libraries. AC_CHECK_LIB(m, sin) -AC_CHECK_LIB(gmp, mpf_get_str, [LIBS="-lgmp $LIBS"], - [AC_CHECK_LIB(gmp, __gmpf_get_str, [LIBS="-lgmp $LIBS"])], - AC_MSG_ERROR(`You must install libgmp')) +AC_CHECK_LIB(gmp, mpf_get_str,, + AC_CHECK_LIB(gmp, __gmpf_get_str,, + AC_MSG_ERROR([You must install libgmp]) + ) +) AC_CHECK_FUNC(getopt_long,, AC_MSG_ERROR(`This application depends upon getopt_long')) -- 2.30.2