From: simonmar Date: Mon, 21 Aug 2000 15:28:30 +0000 (+0000) Subject: [project @ 2000-08-21 15:28:30 by simonmar] X-Git-Tag: Approximately_9120_patches~3844 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4e477c5857d64a10fd9701da3208102cb1b2e1f4;p=ghc-hetmet.git [project @ 2000-08-21 15:28:30 by simonmar] look for GMP 3, not GMP 2. --- diff --git a/configure.in b/configure.in index 74550b1..7998f3e 100644 --- a/configure.in +++ b/configure.in @@ -734,8 +734,8 @@ dnl ** check for specific library functions that we are interested in AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat symlink sysconf timelocal times vadvise vfork) dnl ** check whether this machine has gmp2 installed -AC_CHECK_LIB(gmp, mpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp, - AC_CHECK_LIB(gmp2, mpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp2, +AC_CHECK_LIB(gmp, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp, + AC_CHECK_LIB(gmp3, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp3, HaveLibGmp=No; LibGmp=not-installed)) AC_SUBST(HaveLibGmp) AC_SUBST(LibGmp)