summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2000-08-21 15:28:30 +0000
committersimonmar <unknown>2000-08-21 15:28:30 +0000
commit4e477c5857d64a10fd9701da3208102cb1b2e1f4 (patch)
tree940dcd77a966f6fd3e589672c40731af8b8894ec
parentb682cf8d64f44ce16eddac9b5efbe01e993bfbe7 (diff)
downloadhaskell-4e477c5857d64a10fd9701da3208102cb1b2e1f4.tar.gz
[project @ 2000-08-21 15:28:30 by simonmar]
look for GMP 3, not GMP 2.
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 74550b121d..7998f3e317 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)