]> git.eshelyaron.com Git - emacs.git/commitdiff
Reject old libgmp that lack mpz_roinit_n
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Aug 2018 23:27:52 +0000 (16:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Aug 2018 23:28:19 +0000 (16:28 -0700)
* configure.ac (HAVE_GMP): Port to RHEL 6.9, which has
libgmp 3.5, which predates mpz_roinit_n.

configure.ac

index 3d0a78768320bc40937e3054ffa52b7ba1fd469e..690b999125f82aba5c9bfb9d25223036f538aeb0 100644 (file)
@@ -4305,7 +4305,7 @@ AC_SUBST(KRB4LIB)
 GMP_LIB=
 GMP_OBJ=
 HAVE_GMP=no
-AC_CHECK_LIB(gmp, __gmpz_init, [
+AC_CHECK_LIB(gmp, __gmpz_roinit_n, [
   AC_CHECK_HEADERS(gmp.h, [
     GMP_LIB=-lgmp
     HAVE_GMP=yes