From: Ivo Timmermans Date: Sun, 4 Jun 2000 11:50:46 +0000 (+0000) Subject: Check for __gmpz_powm for libgmp3. X-Git-Tag: release-1.0.3~104 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d1d4a524dee9d75b067ac8e25770557cf22f4afe;p=tinc Check for __gmpz_powm for libgmp3. --- 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 ])