From d1d4a524dee9d75b067ac8e25770557cf22f4afe Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Sun, 4 Jun 2000 11:50:46 +0000 Subject: [PATCH] Check for __gmpz_powm for libgmp3. --- configure.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index ea288242..3cb00913 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.12 2000/05/29 21:40:20 zarq Exp $ +dnl $Id: configure.in,v 1.13 2000/06/04 11:50:46 zarq Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0pre2) @@ -55,13 +55,16 @@ AM_GNU_GETTEXT # Check for the GNU Multi Precision Library libgmp=none +AC_CHECK_LIB(gmp, mpz_powm, [ + libgmp=gmp +]) AC_CHECK_LIB(gmp2, mpz_powm, [ libgmp=gmp2 ]) -AC_CHECK_LIB(gmp3, mpz_powm, [ +AC_CHECK_LIB(gmp3, __gmpz_powm, [ libgmp=gmp3 ]) -AC_CHECK_LIB(gmp, mpz_powm, [ +AC_CHECK_LIB(gmp, __gmpz_powm, [ libgmp=gmp ]) -- 2.20.1