diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 34bafc99f..b9cd93a38 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -734,8 +734,7 @@ OLD_LIBS=$LIBS | |||
734 | LIBS="$LIBS $LIBCURL" | 734 | LIBS="$LIBS $LIBCURL" |
735 | AC_RUN_IFELSE( | 735 | AC_RUN_IFELSE( |
736 | [AC_LANG_PROGRAM([#include <curl/curl.h>] | 736 | [AC_LANG_PROGRAM([#include <curl/curl.h>] |
737 | [[const curl_ssl_backend **avail;]], | 737 | [[return (CURLSSLSET_OK != curl_global_sslset(CURLSSLBACKEND_GNUTLS, NULL, NULL)) ? 1 : 0;]])], |
738 | [[return (CURLSSLSET_OK != curl_global_sslset(CURLSSLBACKEND_GNUTLS, NULL, &avail)) ? 1 : 0;]])], | ||
739 | [curl_gnutls=1], | 738 | [curl_gnutls=1], |
740 | [AC_MSG_WARN([cURL does not have GnuTLS backend]) | 739 | [AC_MSG_WARN([cURL does not have GnuTLS backend]) |
741 | curl_gnutls=0]) | 740 | curl_gnutls=0]) |