From: John Darrington Date: Thu, 18 Dec 2003 00:42:13 +0000 (+0000) Subject: Fixed buglet in gmp CHECK_LIB X-Git-Tag: v0.4.0~427 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1bffe49d89a9aa98b4080a60b79eb8f261a520;p=pspp-builds.git Fixed buglet in gmp CHECK_LIB --- 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'))