Lines Matching +full:- +full:- +full:enable +full:- +full:libraries
8 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
27 AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.haxx.se/mail/])
34 AC_COPYRIGHT([Copyright (c) 1998 - 2019 Daniel Stenberg, <daniel@haxx.se>
63 CURL_CFLAG_EXTRAS="-Werror"
65 dnl enable -pedantic-errors for GCC 5 and later,
66 dnl as before that it was the same as -Werror=pedantic
67 if test "$compiler_num" -ge "500"; then
68 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
76 if test -z "$SED"; then
80 if test -z "$SED" || test "$SED" = "not_found"; then
88 if test -z "$GREP"; then
92 if test -z "$GREP" || test "$GREP" = "not_found"; then
100 if test -z "$EGREP"; then
102 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
104 EGREP="$GREP -E"
111 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
118 if test -z "$AR"; then
122 if test -z "$AR" || test "$AR" = "not_found"; then
131 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
134 dnl for --enable-code-coverage
144 dnl we extract the numerical version for curl-config only
145 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
150 PKGADD_NAME="curl - a client that groks URLs"
158 …curl_ssl_msg="no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,schannel,secure-transport,me…
159 curl_ssh_msg="no (--with-libssh2)"
160 curl_zlib_msg="no (--with-zlib)"
161 curl_brotli_msg="no (--with-brotli)"
162 curl_gss_msg="no (--with-gssapi)"
163 curl_tls_srp_msg="no (--enable-tls-srp)"
164 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
165 curl_ipv6_msg="no (--enable-ipv6)"
166 curl_unix_sockets_msg="no (--enable-unix-sockets)"
167 curl_idn_msg="no (--with-{libidn2,winidn})"
168 curl_manual_msg="no (--enable-manual)"
169 curl_libcurl_msg="enabled (--disable-libcurl-option)"
170 curl_verbose_msg="enabled (--disable-verbose)"
171 curl_sspi_msg="no (--enable-sspi)"
172 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
173 curl_ldaps_msg="no (--enable-ldaps)"
174 curl_rtsp_msg="no (--enable-rtsp)"
175 curl_rtmp_msg="no (--with-librtmp)"
176 curl_mtlnk_msg="no (--with-libmetalink)"
177 curl_psl_msg="no (--with-libpsl)"
193 AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
224 # inclusion of these in shared or static libraries, we are forced to
225 # build using separate configure runs for shared and static libraries
228 # the '-DPIC' CFLAG that libtool provides is not valid given that the
229 # user might for example choose to build static libraries with PIC.
248 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
253 # Determine whether all dependent libraries must be specified when linking
254 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
278 if test "$compiler_num" -ge "1000"; then
280 CFLAGS="$CFLAGS -shared-intel"
281 elif test "$compiler_num" -ge "900"; then
283 CFLAGS="$CFLAGS -i-dynamic"
297 # cross-compilation of unit tests static library/programs fails when
309 mips-sgi-irix6.5)
325 dnl Build unit tests when option --enable-debug is given.
347 case X-"$curl_cv_native_windows" in
348 X-yes)
374 AC_HELP_STRING([--enable-http],[Enable HTTP support])
375 AC_HELP_STRING([--disable-http],[Disable HTTP support]),
393 AC_HELP_STRING([--enable-ftp],[Enable FTP support])
394 AC_HELP_STRING([--disable-ftp],[Disable FTP support]),
408 AC_HELP_STRING([--enable-file],[Enable FILE support])
409 AC_HELP_STRING([--disable-file],[Disable FILE support]),
423 AC_HELP_STRING([--enable-ldap],[Enable LDAP support])
424 AC_HELP_STRING([--disable-ldap],[Disable LDAP support]),
439 AC_HELP_STRING([--enable-ldaps],[Enable LDAPS support])
440 AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support]),
471 AC_HELP_STRING([--enable-rtsp],[Enable RTSP support])
472 AC_HELP_STRING([--disable-rtsp],[Disable RTSP support]),
480 AC_MSG_ERROR(HTTP support needs to be enabled in order to enable RTSP support!)
497 AC_HELP_STRING([--enable-proxy],[Enable proxy support])
498 AC_HELP_STRING([--disable-proxy],[Disable proxy support]),
513 AC_HELP_STRING([--enable-dict],[Enable DICT support])
514 AC_HELP_STRING([--disable-dict],[Disable DICT support]),
528 AC_HELP_STRING([--enable-telnet],[Enable TELNET support])
529 AC_HELP_STRING([--disable-telnet],[Disable TELNET support]),
543 AC_HELP_STRING([--enable-tftp],[Enable TFTP support])
544 AC_HELP_STRING([--disable-tftp],[Disable TFTP support]),
559 AC_HELP_STRING([--enable-pop3],[Enable POP3 support])
560 AC_HELP_STRING([--disable-pop3],[Disable POP3 support]),
576 AC_HELP_STRING([--enable-imap],[Enable IMAP support])
577 AC_HELP_STRING([--disable-imap],[Disable IMAP support]),
593 AC_HELP_STRING([--enable-smb],[Enable SMB/CIFS support])
594 AC_HELP_STRING([--disable-smb],[Disable SMB/CIFS support]),
609 AC_HELP_STRING([--enable-smtp],[Enable SMTP support])
610 AC_HELP_STRING([--disable-smtp],[Disable SMTP support]),
625 AC_HELP_STRING([--enable-gopher],[Enable Gopher support])
626 AC_HELP_STRING([--disable-gopher],[Disable Gopher support]),
641 dnl Check for built-in manual
644 AC_MSG_CHECKING([whether to provide built-in manual])
646 AC_HELP_STRING([--enable-manual],[Enable built-in manual])
647 AC_HELP_STRING([--disable-manual],[Disable built-in manual]),
665 AC_MSG_CHECKING([whether to enable generation of C code])
667 AC_HELP_STRING([--enable-libcurl-option],[Enable --libcurl C code generation support])
668 AC_HELP_STRING([--disable-libcurl-option],[Disable --libcurl C code generation support]),
672 AC_DEFINE(CURL_DISABLE_LIBCURL_OPTION, 1, [to disable --libcurl C code generation option])
682 dnl Checks for libraries.
687 AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]),
690 LIBS="-lgcc $LIBS"
707 LIBS="-lnsl $LIBS"
716 LIBS="-lsocket $LIBS"
725 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
726 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
727 LIBS="-lwatt $LIBS"
737 LIBS="-lnsl -lsocket $LIBS"
758 *-*-mingw32ce*)
759 winsock_LIB="-lwinsock"
762 winsock_LIB="-lwsock32"
767 winsock_LIB="-lws2_32"
769 if test ! -z "$winsock_LIB"; then
843 dnl This is for AmigaOS with bsdsocket.library - needs testing before -lnet
865 dnl gethostbyname in the network lib - for Haiku OS
868 LIBS="-lnetwork $LIBS"
874 dnl gethostbyname in the net lib - for BeOS
877 LIBS="-lnet $LIBS"
883 AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
892 dnl check for additional required libraries.
899 dnl support. Save the list of required libraries at this point for use
905 dnl Check for the presence of ZLIB libraries and headers
908 dnl Check for & handle argument to --with-zlib.
915 AC_HELP_STRING([--with-zlib=PATH],[search for zlib in PATH])
916 AC_HELP_STRING([--without-zlib],[disable use of zlib]),
926 if test -z "$OPT_ZLIB" ; then
930 LIBS="`$PKGCONFIG --libs-only-l zlib` $LIBS"
931 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
932 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags-only-I zlib`"
937 if test -z "$HAVE_LIBZ"; then
945 LIBS="-lz $LIBS"],
952 if test -n "$OPT_ZLIB"; then
953 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
954 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
967 LIBS="-lz $LIBS"
999 ZLIB_LIBS="-lz"
1000 LIBS="-lz $clean_LIBS"
1014 dnl Check for the presence of BROTLI decoder libraries and headers
1019 dnl Default to compiler & linker defaults for BROTLI files & libraries.
1022 AC_HELP_STRING([--with-brotli=PATH],[Where to look for brotli, PATH points to the BROTLI installati…
1023 AC_HELP_STRING([--without-brotli], [disable BROTLI]),
1027 dnl backup the pre-brotli variables
1034 dnl --with-brotli (without path) used
1038 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
1039 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
1040 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
1041 version=`$PKGCONFIG --modversion libbrotlidec`
1042 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/-L//'`
1047 dnl no --with-brotli option given, just check default places
1050 dnl use the given --with-brotli spot
1055 dnl if given with a prefix, we set -L and -I based on that
1056 if test -n "$PREFIX_BROTLI"; then
1057 LIB_BROTLI="-lbrotlidec"
1058 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
1059 CPP_BROTLI=-I${PREFIX_BROTLI}/include
1082 if test -n "$DIR_BROTLI"; then
1083 dnl when the brotli shared libs were found in a path that the run-time
1106 AC_ARG_WITH(ldap-lib,
1107 AC_HELP_STRING([--with-ldap-lib=libname],[Specify name of ldap lib file]),
1111 AC_ARG_WITH(lber-lib,
1112 AC_HELP_STRING([--with-lber-lib=libname],[Specify name of lber lib file]),
1122 if test -z "$LDAPLIBNAME" ; then
1138 dnl Try to find the right ldap libraries for this system
1140 case X-"$curl_cv_ldap_LIBS" in
1141 X-unknown)
1142 AC_MSG_WARN([Cannot find libraries for LDAP support: LDAP disabled])
1177 AC_DEFINE(USE_OPENLDAP, 1, [Use OpenLDAP-specific code])
1191 AC_MSG_CHECKING([whether to enable IPv6])
1193 AC_HELP_STRING([--enable-ipv6],[Enable IPv6 (with IPv4) support])
1194 AC_HELP_STRING([--disable-ipv6],[Disable IPv6 support]),
1288 dnl Check for GSS-API libraries
1291 dnl check for GSS-API stuff in the /usr as default
1294 AC_ARG_WITH(gssapi-includes,
1295 AC_HELP_STRING([--with-gssapi-includes=DIR],
1296 [Specify location of GSS-API headers]),
1297 [ GSSAPI_INCS="-I$withval"
1301 AC_ARG_WITH(gssapi-libs,
1302 AC_HELP_STRING([--with-gssapi-libs=DIR],
1303 [Specify location of GSS-API libs]),
1304 [ GSSAPI_LIB_DIR="-L$withval"
1309 AC_HELP_STRING([--with-gssapi=DIR],
1310 [Where to look for GSS-API]), [
1321 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
1324 AC_MSG_CHECKING([if GSS-API support is requested])
1328 if test -z "$GSSAPI_INCS"; then
1329 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
1330 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
1331 elif test -f "$KRB5CONFIG"; then
1332 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
1334 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
1369 AC_MSG_WARN(disabling GSS-API support since no header files were found)
1376 AC_MSG_CHECKING([if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE])
1403 AC_DEFINE(HAVE_GSSAPI, 1, [if you have GSS-API libraries])
1407 if test -n "$gnu_gss"; then
1410 LIBS="-lgss $LIBS"
1411 elif test -z "$GSSAPI_LIB_DIR"; then
1413 *-*-darwin*)
1414 LIBS="-lgssapi_krb5 -lresolv $LIBS"
1417 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
1418 dnl krb5-config doesn't have --libs-only-L or similar, put everything
1420 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
1422 elif test -f "$KRB5CONFIG"; then
1423 dnl krb5-config doesn't have --libs-only-L or similar, put everything
1425 gss_libs=`$KRB5CONFIG --libs gssapi`
1429 *-hp-hpux*)
1438 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
1439 LIBS="-l$gss_libname $LIBS"
1441 LIBS="-l$gss_libname $LIBS"
1449 *-hp-hpux*)
1450 LIBS="-lgss $LIBS"
1453 LIBS="-lgssapi $LIBS"
1468 dnl -------------------------------------------------------------
1469 dnl parse --with-default-ssl-backend so it can be validated below
1470 dnl -------------------------------------------------------------
1474 AC_ARG_WITH(default-ssl-backend,
1475 AC_HELP_STRING([--with-default-ssl-backend=NAME],[Use NAME as default SSL backend])
1476 AC_HELP_STRING([--without-default-ssl-backend],[Use implicit default SSL backend]),
1480 dnl --without-default-ssl-backend option used
1483 dnl --with-default-ssl-backend option used without name
1487 dnl --with-default-ssl-backend option used with name
1496 dnl -------------------------------------------------
1497 dnl check winssl option before other SSL libraries
1498 dnl -------------------------------------------------
1502 AC_HELP_STRING([--with-winssl],[enable Windows native SSL/TLS])
1503 AC_HELP_STRING([--without-winssl], [disable Windows native SSL/TLS]),
1507 AC_HELP_STRING([--with-schannel],[enable Windows native SSL/TLS])
1508 AC_HELP_STRING([--without-schannel], [disable Windows native SSL/TLS]),
1511 AC_MSG_CHECKING([whether to enable Windows native SSL/TLS (Windows native builds only)])
1512 if test -z "$ssl_backends" -o "x$OPT_WINSSL" != xno; then
1517 AC_DEFINE(USE_SCHANNEL, 1, [to enable Windows native SSL/TLS support])
1519 ssl_msg="Windows-native"
1522 # --with-winssl implies --enable-sspi
1523 AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support])
1526 LIBS="-lcrypt32 $LIBS"
1530 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
1537 AC_HELP_STRING([--with-darwinssl],[enable Apple OS native SSL/TLS])
1538 AC_HELP_STRING([--without-darwinssl], [disable Apple OS native SSL/TLS]),
1541 AC_ARG_WITH(secure-transport,dnl
1542 AC_HELP_STRING([--with-secure-transport],[enable Apple OS native SSL/TLS])
1543 AC_HELP_STRING([--without-secure-transport], [disable Apple OS native SSL/TLS]),
1546 AC_MSG_CHECKING([whether to enable Secure Transport])
1547 if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then
1549 test -d "/System/Library/Frameworks/Security.framework"; then
1551 AC_DEFINE(USE_SECTRANSP, 1, [enable Secure Transport])
1554 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
1556 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
1560 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
1567 AC_HELP_STRING([--with-amissl],[enable Amiga native SSL/TLS (AmiSSL)])
1568 AC_HELP_STRING([--without-amissl], [disable Amiga native SSL/TLS (AmiSSL)]),
1571 AC_MSG_CHECKING([whether to enable Amiga native SSL/TLS (AmiSSL)])
1573 if test -z "$ssl_backends" -o "x$OPT_AMISSL" != xno; then
1580 LIBS="-lamisslauto $LIBS"
1586 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
1595 dnl Check for the presence of SSL libraries and headers
1598 dnl Default to compiler & linker defaults for SSL files & libraries.
1603 AC_HELP_STRING([--with-ssl=PATH],[Where to look for OpenSSL, PATH points to the SSL installation (d…
1604 AC_HELP_STRING([--without-ssl], [disable OpenSSL]),
1607 if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
1611 dnl backup the pre-ssl variables
1618 *-*-msys* | *-*-mingw*)
1621 LIBS="-lgdi32 $LIBS"
1636 dnl --with-ssl (without path) used
1638 dnl only do pkg-config magic when not cross-compiling
1645 dnl no --with-ssl option given, just check default places
1647 dnl only do pkg-config magic when not cross-compiling
1653 dnl check the given --with-ssl spot
1657 dnl Try pkg-config even when cross-compiling. Since we
1661 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
1664 elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
1665 AC_MSG_ERROR([$PREFIX_OPENSSL is a bad --with-ssl prefix!])
1668 dnl in case pkg-config comes up empty, use what we got
1669 dnl via --with-ssl
1672 SSL_LDFLAGS="-L$LIB_OPENSSL"
1673 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
1675 SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
1685 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
1688 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
1691 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
1694 AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"])
1695 AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"])
1696 AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"])
1698 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/-L//g'`
1700 dnl use the values pkg-config reported. This is here
1702 dnl learn about this via pkg-config. If we only have
1703 dnl the argument to --with-ssl we don't know what
1716 LIBS="-lcrypto $LIBS"
1718 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
1720 # only set this if pkg-config wasn't used
1721 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
1725 LIBS="-lcrypto $LIBS"], [
1727 dnl still no, but what about with -ldl?
1728 AC_MSG_CHECKING([OpenSSL linking with -ldl])
1729 LIBS="$CLEANLIBS -lcrypto -ldl"
1743 dnl ok, so what about both -ldl and -lpthread?
1745 AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread])
1746 LIBS="$CLEANLIBS -lcrypto -ldl -lpthread"
1781 LIBS="-lRSAglue -lrsaref $LIBS"
1793 dnl Have the libraries--check for OpenSSL headers
1875 if test -n "$LIB_OPENSSL"; then
1876 dnl when the ssl shared libs were found in a path that the run-time
1889 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
1897 AC_ARG_WITH(egd-socket,
1898 AC_HELP_STRING([--with-egd-socket=FILE],
1902 if test -n "$EGD_SOCKET" ; then
1907 dnl Check for user-specified random device
1909 AC_HELP_STRING([--with-random=FILE],
1917 AC_MSG_WARN([skipped the /dev/urandom detection when cross-compiling])
1921 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
1928 dnl ---
1930 dnl ---
1939 dnl ---
1941 dnl ---
1943 AC_ARG_ENABLE(openssl-auto-load-config,
1944 AC_HELP_STRING([--enable-openssl-auto-load-config],[Enable automatic loading of OpenSSL configurati…
1945 AC_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading of OpenSSL configura…
1953 dnl ----------------------------------------------------
1955 dnl ----------------------------------------------------
1957 dnl Default to compiler & linker defaults for GnuTLS files & libraries.
1961 AC_HELP_STRING([--with-gnutls=PATH],[where to look for GnuTLS, PATH points to the installation root…
1962 AC_HELP_STRING([--without-gnutls], [disable GnuTLS detection]),
1965 if test -z "$ssl_backends" -o "x$OPT_GNUTLS" != xno; then
1981 addlib=`$PKGCONFIG --libs-only-l gnutls`
1982 addld=`$PKGCONFIG --libs-only-L gnutls`
1983 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
1984 version=`$PKGCONFIG --modversion gnutls`
1985 gtlslib=`echo $addld | $SED -e 's/-L//'`
1987 dnl without pkg-config, we try libgnutls-config as that was how it
1989 check=`libgnutls-config --version 2>/dev/null`
1990 if test -n "$check"; then
1991 addlib=`libgnutls-config --libs`
1992 addcflags=`libgnutls-config --cflags`
1993 version=`libgnutls-config --version`
1994 gtlslib=`libgnutls-config --prefix`/lib$libsuff
1998 dnl this is with a given path, first check if there's a libgnutls-config
2000 cfg=$OPT_GNUTLS/bin/libgnutls-config
2001 check=`$cfg --version 2>/dev/null`
2002 if test -n "$check"; then
2003 addlib=`$cfg --libs`
2004 addcflags=`$cfg --cflags`
2005 version=`$cfg --version`
2006 gtlslib=`$cfg --prefix`/lib$libsuff
2008 dnl without pkg-config and libgnutls-config, we guess a lot!
2009 addlib=-lgnutls
2010 addld=-L$OPT_GNUTLS/lib$libsuff
2011 addcflags=-I$OPT_GNUTLS/include
2017 if test -z "$version"; then
2022 if test -n "$addlib"; then
2030 if test "$addcflags" != "-I/usr/include"; then
2051 if test -n "$gtlslib"; then
2052 dnl when shared libs were found in a path that the run-time
2069 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2072 dnl ---
2074 dnl ---
2096 LIBS="-lnettle $LIBS"
2098 LIBS="-lgcrypt $LIBS"
2102 dnl ---
2104 dnl ---
2113 dnl ----------------------------------------------------
2115 dnl ----------------------------------------------------
2117 dnl Default to compiler & linker defaults for PolarSSL files & libraries.
2123 AC_HELP_STRING([--with-polarssl=PATH],[where to look for PolarSSL, PATH points to the installation …
2124 AC_HELP_STRING([--without-polarssl], [disable PolarSSL detection]),
2127 if test -z "$ssl_backends" -o "x$OPT_POLARSSL" != xno; then
2136 if test -z "$OPT_POLARSSL" ; then
2158 addld=-L$OPT_POLARSSL/lib$libsuff
2159 addcflags=-I$OPT_POLARSSL/include
2163 if test "$addcflags" != "-I/usr/include"; then
2185 LIBS="-lpolarssl $LIBS"
2187 if test -n "$polarssllib"; then
2188 dnl when shared libs were found in a path that the run-time
2202 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2205 dnl ----------------------------------------------------
2207 dnl ----------------------------------------------------
2214 AC_HELP_STRING([--with-mbedtls=PATH],[where to look for mbedTLS, PATH points to the installation ro…
2215 AC_HELP_STRING([--without-mbedtls], [disable mbedTLS detection]),
2218 if test -z "$ssl_backends" -o "x$OPT_MBEDTLS" != xno; then
2227 if test -z "$OPT_MBEDTLS" ; then
2239 ], [], -lmbedx509 -lmbedcrypto)
2249 addld=-L$OPT_MBEDTLS/lib$libsuff
2250 addcflags=-I$OPT_MBEDTLS/include
2254 if test "$addcflags" != "-I/usr/include"; then
2270 ], -lmbedx509 -lmbedcrypto)
2277 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
2279 if test -n "$mbedtlslib"; then
2280 dnl when shared libs were found in a path that the run-time
2294 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2297 dnl ----------------------------------------------------
2299 dnl ----------------------------------------------------
2301 dnl Default to compiler & linker defaults for CyaSSL files & libraries.
2307 AC_HELP_STRING([--with-cyassl=PATH],[where to look for CyaSSL, PATH points to the installation root…
2308 AC_HELP_STRING([--without-cyassl], [disable CyaSSL detection]),
2311 dnl provide --with-wolfssl as an alias for --with-cyassl
2313 AC_HELP_STRING([--with-wolfssl=PATH],[where to look for WolfSSL, PATH points to the installation ro…
2314 AC_HELP_STRING([--without-wolfssl], [disable WolfSSL detection]),
2317 if test -z "$ssl_backends" -o "x$OPT_CYASSL" != xno; then
2326 dnl This should be reworked to use pkg-config instead
2330 if test -z "$OPT_CYASSL" ; then
2352 addld=-L$OPT_CYASSL/lib$libsuff
2353 addcflags=-I$OPT_CYASSL/include
2357 if test "$addcflags" != "-I/usr/include"; then
2383 addld=-L$OPT_CYASSL/lib$libsuff
2384 addcflags=-I$OPT_CYASSL/include
2388 if test "$addcflags" != "-I/usr/include"; then
2394 LIBS="-l$cyassllibname -lm $LIBS"
2396 AC_MSG_CHECKING([for CyaSSL_Init in -lwolfssl])
2435 dnl Versions since at least 2.9.4 renamed error.h to error-ssl.h
2436 AC_CHECK_HEADERS(cyassl/error-ssl.h)
2438 LIBS="-l$cyassllibname -lm $LIBS"
2442 dnl WolfSSL needs configure --enable-opensslextra to have *get_peer*
2447 dnl Cyassl needs configure --enable-opensslextra to have *get_peer*
2452 if test -n "$cyassllib"; then
2453 dnl when shared libs were found in a path that the run-time
2468 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2471 dnl ----------------------------------------------------
2473 dnl ----------------------------------------------------
2475 dnl Default to compiler & linker defaults for MesaLink files & libraries.
2481 AC_HELP_STRING([--with-mesalink=PATH],[where to look for MesaLink, PATH points to the installation …
2482 AC_HELP_STRING([--without-mesalink], [disable MesaLink detection]),
2485 if test -z "$ssl_backends" -o "x$OPT_MESALINK" != xno; then
2494 if test -z "$OPT_MESALINK" ; then
2516 addld=-L$OPT_MESALINK/lib$libsuff
2517 addcflags=-I$OPT_MESALINK/include
2521 if test "$addcflags" != "-I/usr/include"; then
2543 LIBS="-lmesalink $LIBS"
2545 if test -n "$mesalinklib"; then
2546 dnl when shared libs were found in a path that the run-time
2560 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2563 dnl ----------------------------------------------------
2565 dnl ----------------------------------------------------
2567 dnl Default to compiler & linker defaults for NSS files & libraries.
2571 AC_HELP_STRING([--with-nss=PATH],[where to look for NSS, PATH points to the installation root])
2572 AC_HELP_STRING([--without-nss], [disable NSS detection]),
2575 if test -z "$ssl_backends" -o "x$OPT_NSS" != xno; then
2591 addlib=`$PKGCONFIG --libs nss`
2592 addcflags=`$PKGCONFIG --cflags nss`
2593 version=`$PKGCONFIG --modversion nss`
2594 nssprefix=`$PKGCONFIG --variable=prefix nss`
2596 dnl Without pkg-config, we check for nss-config
2598 check=`nss-config --version 2>/dev/null`
2599 if test -n "$check"; then
2600 addlib=`nss-config --libs`
2601 addcflags=`nss-config --cflags`
2602 version=`nss-config --version`
2603 nssprefix=`nss-config --prefix`
2605 addlib="-lnss3"
2612 if test -f "$NSS_PCDIR/nss.pc"; then
2615 addld=`CURL_EXPORT_PCDIR([$NSS_PCDIR]) $PKGCONFIG --libs-only-L nss`
2616 addlib=`CURL_EXPORT_PCDIR([$NSS_PCDIR]) $PKGCONFIG --libs-only-l nss`
2617 addcflags=`CURL_EXPORT_PCDIR([$NSS_PCDIR]) $PKGCONFIG --cflags nss`
2618 version=`CURL_EXPORT_PCDIR([$NSS_PCDIR]) $PKGCONFIG --modversion nss`
2619 nssprefix=`CURL_EXPORT_PCDIR([$NSS_PCDIR]) $PKGCONFIG --variable=prefix nss`
2624 if test -z "$addlib"; then
2625 # Without pkg-config, we'll kludge in some defaults
2626 AC_MSG_WARN([Using hard-wired libraries and compilation flags for NSS.])
2627 addld="-L$OPT_NSS/lib"
2628 addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
2629 addcflags="-I$OPT_NSS/include"
2640 if test "$addcflags" != "-I/usr/include"; then
2644 dnl The function SSL_VersionRangeSet() is needed to enable TLS > 1.0
2676 dnl when shared libs were found in a path that the run-time
2690 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
2696 …N([Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-schannel, --w…
2715 if test -n "$ssl_backends"; then
2721 if test -n "$SSL_ENABLED"
2736 if test "$check_for_ca_bundle" -gt 0; then
2745 AS_HELP_STRING([--without-libpsl],
2768 AC_HELP_STRING([--with-libmetalink=PATH],[where to look for libmetalink, PATH points to the install…
2769 AC_HELP_STRING([--without-libmetalink], [disable libmetalink detection]),
2789 if test -f "$LIBMETALINK_PCDIR/libmetalink.pc"; then
2798 $PKGCONFIG --libs-only-l libmetalink`
2800 $PKGCONFIG --libs-only-L libmetalink`
2802 $PKGCONFIG --cflags-only-I libmetalink`
2804 $PKGCONFIG --modversion libmetalink`
2805 libmetalinklib=`echo $addld | $SED -e 's/-L//'`
2807 if test -n "$addlib"; then
2836 AC_DEFINE(USE_METALINK, 1, [Define to enable metalink support])
2850 dnl Check for the presence of LIBSSH2 libraries and headers
2853 dnl Default to compiler & linker defaults for LIBSSH2 files & libraries.
2856 AC_HELP_STRING([--with-libssh2=PATH],[Where to look for libssh2, PATH points to the LIBSSH2 install…
2857 AC_HELP_STRING([--with-libssh2], [enable LIBSSH2]),
2863 AC_HELP_STRING([--with-libssh=PATH],[Where to look for libssh, PATH points to the LIBSSH installati…
2864 AC_HELP_STRING([--with-libssh], [enable LIBSSH]),
2868 dnl backup the pre-libssh2 variables
2875 dnl --with-libssh2 (without path) used
2879 LIB_SSH2=`$PKGCONFIG --libs libssh2`
2880 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
2881 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
2882 version=`$PKGCONFIG --modversion libssh2`
2883 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/-L//'`
2888 dnl no --with-libssh2 option given, just check default places
2891 dnl use the given --with-libssh2 spot
2896 dnl if given with a prefix, we set -L and -I based on that
2897 if test -n "$PREFIX_SSH2"; then
2898 LIB_SSH2="-lssh2"
2899 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
2900 CPP_SSH2=-I${PREFIX_SSH2}/include
2923 if test -n "$DIR_SSH2"; then
2924 dnl when the libssh2 shared libs were found in a path that the run-time
2941 dnl backup the pre-libssh variables
2948 dnl --with-libssh (without path) used
2952 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
2953 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
2954 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
2955 version=`$PKGCONFIG --modversion libssh`
2956 DIR_SSH=`echo $LD_SSH | $SED -e 's/-L//'`
2961 dnl no --with-libssh option given, just check default places
2964 dnl use the given --with-libssh spot
2969 dnl if given with a prefix, we set -L and -I based on that
2970 if test -n "$PREFIX_SSH"; then
2971 LIB_SSH="-lssh"
2972 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
2973 CPP_SSH=-I${PREFIX_SSH}/include
2996 if test -n "$DIR_SSH"; then
2997 dnl when the libssh shared libs were found in a path that the run-time
3016 dnl Check for the presence of LIBRTMP libraries and headers
3019 dnl Default to compiler & linker defaults for LIBRTMP files & libraries.
3022 AC_HELP_STRING([--with-librtmp=PATH],[Where to look for librtmp, PATH points to the LIBRTMP install…
3023 AC_HELP_STRING([--without-librtmp], [disable LIBRTMP]),
3027 dnl backup the pre-librtmp variables
3034 dnl --with-librtmp (without path) used
3038 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
3039 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
3040 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
3041 version=`$PKGCONFIG --modversion librtmp`
3042 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/-L//'`
3044 dnl To avoid link errors, we do not allow --librtmp without
3046 AC_MSG_ERROR([--librtmp was specified but could not find librtmp pkgconfig file.])
3051 dnl no --with-librtmp option given, just check default places
3052 LIB_RTMP="-lrtmp"
3055 dnl use the given --with-librtmp spot
3056 LIB_RTMP="-lrtmp"
3061 dnl if given with a prefix, we set -L and -I based on that
3062 if test -n "$PREFIX_RTMP"; then
3063 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
3064 CPP_RTMP=-I${PREFIX_RTMP}/include
3100 AC_ARG_ENABLE(versioned-symbols,
3101 AC_HELP_STRING([--enable-versioned-symbols], [Enable versioned symbols in shared library])
3102 AC_HELP_STRING([--disable-versioned-symbols], [Disable versioned symbols in shared library]),
3105 AC_MSG_CHECKING([if libraries can be versioned])
3106 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
3107 if test -z "$GLD"; then
3109 AC_MSG_WARN([You need an ld version supporting the --version-script option])
3148 dnl -------------------------------------------------
3149 dnl check winidn option before other IDN libraries
3150 dnl -------------------------------------------------
3152 AC_MSG_CHECKING([whether to enable Windows native IDN (Windows native builds only)])
3155 AC_HELP_STRING([--with-winidn=PATH],[enable Windows native IDN])
3156 AC_HELP_STRING([--without-winidn], [disable Windows native IDN]),
3160 dnl --without-winidn option used or configure option not specified
3165 dnl --with-winidn option used without path
3171 dnl --with-winidn option used with path
3183 WINIDN_LIBS="-lnormaliz"
3184 WINIDN_CPPFLAGS="-DWINVER=0x0600"
3188 dnl pkg-config not available or provides no info
3189 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
3190 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
3214 …AC_DEFINE(USE_WIN32_IDN, 1, [Define to 1 if you have the `normaliz' (WinIDN) library (-lnormaliz).…
3217 curl_idn_msg="enabled (Windows-native)"
3219 AC_MSG_WARN([Cannot find libraries for IDN support: IDN disabled])
3227 dnl Check for the presence of IDN libraries and headers
3233 AC_HELP_STRING([--with-libidn2=PATH],[Enable libidn2 usage])
3234 AC_HELP_STRING([--without-libidn2],[Disable libidn2 usage]),
3238 dnl --without-libidn2 option used
3249 dnl --with-libidn2 option used without path
3255 dnl --with-libidn2 option used with path
3275 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
3277 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
3279 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
3280 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
3282 dnl pkg-config not available or provides no info
3283 IDN_LIBS="-lidn2"
3284 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
3285 IDN_CPPFLAGS="-I$want_idn_path/include"
3292 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
3293 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
3294 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
3295 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
3297 dnl pkg-config not available or provides no info
3298 IDN_LIBS="-lidn2"
3303 AC_MSG_NOTICE([pkg-config: IDN_LIBS: "$IDN_LIBS"])
3304 AC_MSG_NOTICE([pkg-config: IDN_LDFLAGS: "$IDN_LDFLAGS"])
3305 AC_MSG_NOTICE([pkg-config: IDN_CPPFLAGS: "$IDN_CPPFLAGS"])
3306 AC_MSG_NOTICE([pkg-config: IDN_DIR: "$IDN_DIR"])
3332 AC_DEFINE(HAVE_LIBIDN2, 1, [Define to 1 if you have the `idn2' library (-lidn2).])
3337 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
3343 AC_MSG_WARN([Cannot find libraries for IDN support: IDN disabled])
3368 AC_HELP_STRING([--with-nghttp2=PATH],[Enable nghttp2 usage])
3369 AC_HELP_STRING([--without-nghttp2],[Disable nghttp2 usage]),
3373 dnl --without-nghttp2 option used
3377 dnl --with-nghttp2 option used without path
3382 dnl --with-nghttp2 option used with path
3388 curl_h2_msg="disabled (--with-nghttp2)"
3390 dnl backup the pre-nghttp2 variables
3399 $PKGCONFIG --libs-only-l libnghttp2`
3400 AC_MSG_NOTICE([-l is $LIB_H2])
3403 $PKGCONFIG --cflags-only-I libnghttp2`
3404 AC_MSG_NOTICE([-I is $CPP_H2])
3407 $PKGCONFIG --libs-only-L libnghttp2`
3408 AC_MSG_NOTICE([-L is $LD_H2])
3432 dnl no nghttp2 pkg-config found, deal with it
3434 dnl To avoid link errors, we do not allow --with-nghttp2 without
3436 AC_MSG_ERROR([--with-nghttp2 was specified but could not find libnghttp2 pkg-config file.])
3447 AC_ARG_WITH(zsh-functions-dir,
3448 AC_HELP_STRING([--with-zsh-functions-dir=PATH],[Install zsh completions to PATH])
3449 AC_HELP_STRING([--without-zsh-functions-dir],[Do not install zsh completions]),
3453 dnl --without-zsh-functions-dir option used
3456 dnl --with-zsh-functions-dir option used without path
3457 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
3461 dnl --with-zsh-functions-dir option used with path
3472 AC_ARG_WITH(fish-functions-dir,
3473 AC_HELP_STRING([--with-fish-functions-dir=PATH],[Install fish completions to PATH])
3474 AC_HELP_STRING([--without-fish-functions-dir],[Do not install fish completions]),
3478 dnl --without-fish-functions-dir option used
3481 dnl --with-fish-functions-dir option used without path
3486 dnl --with-fish-functions-dir option used with path
3503 dnl ones as default-headers when checking for the rest!
3594 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
3664 time_t t = -1;
3672 dnl cross-compiling, most systems are unsigned
3794 AC_DEFINE(ENABLE_IPV6, 1, [Define if you want to enable IPv6 support])
3814 if test -n "$NROFF"; then
3818 MANOPT="-man"
3820 if test -z "$mancheck"; then
3821 MANOPT="-mandoc"
3823 if test -z "$mancheck"; then
3836 if test -z "$MANOPT"
3839 dnl was found, then disable the built-in manual stuff
3840 AC_MSG_WARN([disabling built-in manual])
3845 dnl If the manual variable still is set, then we go with providing a built-in
3849 AC_DEFINE(USE_MANUAL, 1, [If you want to build curl with the built-in manual])
3876 AC_HELP_STRING([--enable-pthreads],
3877 [Enable POSIX threads (default for threaded resolver)])
3878 AC_HELP_STRING([--disable-pthreads],[Disable POSIX threads]),
3895 AC_MSG_ERROR([options --enable-pthreads and --disable-rt are mutually exclusive])
3898 dnl if --enable-pthreads was explicit then warn it's being ignored
3900 AC_MSG_WARN([--enable-pthreads Ignored since librt is disabled.])
3922 *-hp-hpux*)
3923 dnl it doesn't actually work without -lpthread
3933 CFLAGS="$CFLAGS -pthread"
3950 AC_MSG_ERROR([--enable-pthreads but pthreads was not found])
3965 AC_MSG_CHECKING([whether to enable verbose strings])
3967 AC_HELP_STRING([--enable-verbose],[Enable verbose strings])
3968 AC_HELP_STRING([--disable-verbose],[Disable verbose strings]),
3982 dnl enable SSPI support
3984 AC_MSG_CHECKING([whether to enable SSPI support (Windows native builds only)])
3986 AC_HELP_STRING([--enable-sspi],[Enable SSPI])
3987 AC_HELP_STRING([--disable-sspi],[Disable SSPI]),
3992 AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support])
3997 AC_MSG_WARN([--enable-sspi Ignored. Only supported on native Windows builds.])
4002 # --with-winssl implies --enable-sspi
4010 # --with-winssl implies --enable-sspi
4020 AC_MSG_CHECKING([whether to enable cryptographic authentication methods])
4021 AC_ARG_ENABLE(crypto-auth,
4022 AC_HELP_STRING([--enable-crypto-auth],[Enable cryptographic authentication])
4023 AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic authentication]),
4041 dnl disable TLS-SRP authentication
4043 AC_MSG_CHECKING([whether to enable TLS-SRP authentication])
4044 AC_ARG_ENABLE(tls-srp,
4045 AC_HELP_STRING([--enable-tls-srp],[Enable TLS-SRP authentication])
4046 AC_HELP_STRING([--disable-tls-srp],[Disable TLS-SRP authentication]),
4050 AC_DEFINE(CURL_DISABLE_TLS_SRP, 1, [to disable TLS-SRP authentication])
4062 AC_DEFINE(USE_TLS_SRP, 1, [Use TLS-SRP authentication])
4070 AC_MSG_CHECKING([whether to enable Unix domain sockets])
4071 AC_ARG_ENABLE(unix-sockets,
4072 AC_HELP_STRING([--enable-unix-sockets],[Enable Unix domain sockets])
4073 AC_HELP_STRING([--disable-unix-sockets],[Disable Unix domain sockets]),
4093 AC_MSG_ERROR([--enable-unix-sockets is not available on this platform!])
4103 AC_MSG_CHECKING([whether to enable support for cookies])
4105 AC_HELP_STRING([--enable-cookies],[Enable cookies support])
4106 AC_HELP_STRING([--disable-cookies],[Disable cookies support]),
4119 dnl switch on/off alt-svc
4121 curl_altsvc_msg="no (--enable-alt-svc)";
4122 AC_MSG_CHECKING([whether to support alt-svc])
4123 AC_ARG_ENABLE(alt-svc,
4124 AC_HELP_STRING([--enable-alt-svc],[Enable alt-svc support])
4125 AC_HELP_STRING([--disable-alt-svc],[Disable alt-svc support]),
4133 experimental="alt-svc"
4140 AC_DEFINE(USE_ALTSVC, 1, [to enable alt-svc])
4141 experimental="alt-svc"
4171 dnl to let curl-config output the static libraries correctly
4177 dnl For keeping supported features and protocols also in pkg-config file
4178 dnl since it is more cross-compile friendly than curl-config
4183 elif test -n "$SSL_ENABLED"; then
4198 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
4199 -o "x$USE_THREADS_WIN32" = "x1"; then
4210 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
4218 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
4221 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
4222 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
4226 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
4227 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
4232 if test "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
4233 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
4234 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1"; then
4237 if test "x$CURL_DISABLE_HTTP" != "x1" -a \
4245 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
4256 if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
4257 -o "x$NSS_ENABLED" = "x1"; then
4258 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
4263 dnl For supported protocols in pkg-config file
4313 -a "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" \
4314 -a \( "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
4315 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
4316 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1" \); then
4372 ac_configure_args="$ac_configure_args --enable-curldebug"
4380 docs/cmdline-opts/Makefile \
4396 curl-config \
4420 GSS-API: ${curl_gss_msg}
4421 TLS-SRP: ${curl_tls_srp_msg}
4427 Built-in manual: ${curl_manual_msg}
4428 --libcurl option: ${curl_libcurl_msg}
4441 Alt-svc: ${curl_altsvc_msg}
4446 if test -n "$experimental"; then