dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.13.2.6 2000/10/11 10:35:15 guus Exp $
+dnl $Id: configure.in,v 1.13.2.7 2000/10/13 23:29:35 zarq Exp $
AC_INIT(src/tincd.c)
AM_INIT_AUTOMAKE(tinc, 1.0pre3)
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, __gmpz_powm, [
- libgmp=gmp3
-])
-AC_CHECK_LIB(gmp, __gmpz_powm, [
- libgmp=gmp
-])
-
-if test $libgmp = none; then
- AC_MSG_ERROR(libgmp is not installed. Please grab it from your
- nearest GNU mirror and install it (see README))
-else
- LIBS="$LIBS -l$libgmp"
-fi
-
AC_CHECK_LIB(dl, dlopen, [
LIBS="$LIBS -ldl"
])