Link with OpenSSL, forget libGMP
This commit is contained in:
parent
183a8edd22
commit
a96f2f0fc8
1 changed files with 1 additions and 23 deletions
24
configure.in
24
configure.in
|
@ -1,6 +1,6 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
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)
|
AC_INIT(src/tincd.c)
|
||||||
AM_INIT_AUTOMAKE(tinc, 1.0pre3)
|
AM_INIT_AUTOMAKE(tinc, 1.0pre3)
|
||||||
|
@ -53,28 +53,6 @@ jm_FUNC_REALLOC
|
||||||
|
|
||||||
AM_GNU_GETTEXT
|
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, [
|
AC_CHECK_LIB(dl, dlopen, [
|
||||||
LIBS="$LIBS -ldl"
|
LIBS="$LIBS -ldl"
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue