Allow using libgmp with AppleTLS/WinTLS

pull/160/merge
Nils Maier 2013-12-09 08:08:24 +01:00
parent ff9607d6a9
commit 337d8ac929
1 changed files with 3 additions and 1 deletions

View File

@ -420,7 +420,9 @@ if test "x$have_openssl" != "xyes"; then
fi fi
fi fi
if test "x$with_libgmp" = "xyes" && if test "x$with_libgmp" = "xyes" &&
test "x$have_libnettle" = "xyes" && (test "x$have_libnettle" = "xyes" ||
test "x$have_appletls" = "xyes" ||
test "x$have_wintls" = "xyes") &&
test "x$enable_bittorrent" = "xyes"; then test "x$enable_bittorrent" = "xyes"; then
AC_SEARCH_LIBS([__gmpz_init], [gmp], [have_libgmp=yes], [have_libgmp=no]) AC_SEARCH_LIBS([__gmpz_init], [gmp], [have_libgmp=yes], [have_libgmp=no])
if test "x$have_libgmp" = "xyes"; then if test "x$have_libgmp" = "xyes"; then