Преглед на файлове

Allow using libgmp with AppleTLS/WinTLS

Nils Maier преди 12 години
родител
ревизия
337d8ac929
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      configure.ac

+ 3 - 1
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