From 337d8ac9298599acf6b3fdd142a1966923130682 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Mon, 9 Dec 2013 08:08:24 +0100 Subject: [PATCH] Allow using libgmp with AppleTLS/WinTLS --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a538865a..ef69a51a 100644 --- a/configure.ac +++ b/configure.ac @@ -420,7 +420,9 @@ if test "x$have_openssl" != "xyes"; then fi fi 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 AC_SEARCH_LIBS([__gmpz_init], [gmp], [have_libgmp=yes], [have_libgmp=no]) if test "x$have_libgmp" = "xyes"; then