Check for __gmpz_powm for libgmp3.

This commit is contained in:
Ivo Timmermans 2000-06-04 11:50:46 +00:00
parent 9193aee815
commit d1d4a524de

View file

@ -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
])