1722
1726
--disable-sspi Disable SSPI
1723
1727
--enable-crypto-auth Enable cryptographic authentication
1724
1728
--disable-crypto-auth Disable cryptographic authentication
1729
--enable-tls-srp Enable TLS-SRP authentication
1730
--disable-tls-srp Disable TLS-SRP authentication
1725
1731
--enable-cookies Enable cookies support
1726
1732
--disable-cookies Disable cookies support
1727
1733
--enable-hidden-symbols Hide internal symbols in library
1765
1771
--with-nss=PATH where to look for NSS, PATH points to the
1766
1772
installation root (default: /usr/local/)
1767
1773
--without-nss disable NSS detection
1774
--with-axtls=PATH Where to look for axTLS, PATH points to the axTLS
1775
installation prefix (default: /usr/local). Ignored
1776
if another SSL engine is selected.
1777
--without-axtls disable axTLS
1768
1778
--with-ca-bundle=FILE File name to use as CA bundle
1769
1779
--without-ca-bundle Don't use a default CA bundle
1770
1780
--with-ca-path=DIRECTORY
3748
curl_ssl_msg="no (--with-{ssl,gnutls,nss,polarssl} )"
3758
curl_ssl_msg="no (--with-{ssl,gnutls,nss,polarssl,axtls} )"
3749
3759
curl_ssh_msg="no (--with-libssh2)"
3750
3760
curl_zlib_msg="no (--with-zlib)"
3751
3761
curl_krb4_msg="no (--with-krb4*)"
3752
3762
curl_gss_msg="no (--with-gssapi)"
3753
3763
curl_spnego_msg="no (--with-spnego)"
3764
curl_tls_srp_msg="no (--enable-tls-srp)"
3754
3765
curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
3755
3766
curl_ipv6_msg="no (--enable-ipv6)"
3756
3767
curl_idn_msg="no (--with-libidn)"
7907
7919
lt_cv_nm_interface="BSD nm"
7908
7920
echo "int some_variable = 0;" > conftest.$ac_ext
7909
(eval echo "\"\$as_me:7909: $ac_compile\"" >&5)
7921
(eval echo "\"\$as_me:7921: $ac_compile\"" >&5)
7910
7922
(eval "$ac_compile" 2>conftest.err)
7911
7923
cat conftest.err >&5
7912
(eval echo "\"\$as_me:7912: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7924
(eval echo "\"\$as_me:7924: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7913
7925
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7914
7926
cat conftest.err >&5
7915
(eval echo "\"\$as_me:7915: output\"" >&5)
7927
(eval echo "\"\$as_me:7927: output\"" >&5)
7916
7928
cat conftest.out >&5
7917
7929
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7918
7930
lt_cv_nm_interface="MS dumpbin"
10372
10384
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10373
10385
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10374
10386
-e 's:$: $lt_compiler_flag:'`
10375
(eval echo "\"\$as_me:10375: $lt_compile\"" >&5)
10387
(eval echo "\"\$as_me:10387: $lt_compile\"" >&5)
10376
10388
(eval "$lt_compile" 2>conftest.err)
10378
10390
cat conftest.err >&5
10379
echo "$as_me:10379: \$? = $ac_status" >&5
10391
echo "$as_me:10391: \$? = $ac_status" >&5
10380
10392
if (exit $ac_status) && test -s "$ac_outfile"; then
10381
10393
# The compiler can only warn and ignore the option if not recognized
10382
10394
# So say no if there are warnings other than the usual output.
10711
10723
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10712
10724
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10713
10725
-e 's:$: $lt_compiler_flag:'`
10714
(eval echo "\"\$as_me:10714: $lt_compile\"" >&5)
10726
(eval echo "\"\$as_me:10726: $lt_compile\"" >&5)
10715
10727
(eval "$lt_compile" 2>conftest.err)
10717
10729
cat conftest.err >&5
10718
echo "$as_me:10718: \$? = $ac_status" >&5
10730
echo "$as_me:10730: \$? = $ac_status" >&5
10719
10731
if (exit $ac_status) && test -s "$ac_outfile"; then
10720
10732
# The compiler can only warn and ignore the option if not recognized
10721
10733
# So say no if there are warnings other than the usual output.
10816
10828
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10817
10829
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10818
10830
-e 's:$: $lt_compiler_flag:'`
10819
(eval echo "\"\$as_me:10819: $lt_compile\"" >&5)
10831
(eval echo "\"\$as_me:10831: $lt_compile\"" >&5)
10820
10832
(eval "$lt_compile" 2>out/conftest.err)
10822
10834
cat out/conftest.err >&5
10823
echo "$as_me:10823: \$? = $ac_status" >&5
10835
echo "$as_me:10835: \$? = $ac_status" >&5
10824
10836
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10826
10838
# The compiler can only warn and ignore the option if not recognized
10871
10883
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10872
10884
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10873
10885
-e 's:$: $lt_compiler_flag:'`
10874
(eval echo "\"\$as_me:10874: $lt_compile\"" >&5)
10886
(eval echo "\"\$as_me:10886: $lt_compile\"" >&5)
10875
10887
(eval "$lt_compile" 2>out/conftest.err)
10877
10889
cat out/conftest.err >&5
10878
echo "$as_me:10878: \$? = $ac_status" >&5
10890
echo "$as_me:10890: \$? = $ac_status" >&5
10879
10891
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10881
10893
# The compiler can only warn and ignore the option if not recognized
20336
if test "$GNUTLS_ENABLED" = "1"; then
20337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
20338
$as_echo_n "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
20339
if test "${ac_cv_lib_gnutls_gnutls_srp_verifier+set}" = set; then :
20340
$as_echo_n "(cached) " >&6
20342
ac_check_lib_save_LIBS=$LIBS
20343
LIBS="-lgnutls $LIBS"
20344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345
/* end confdefs.h. */
20351
char gnutls_srp_verifier ();
20354
return gnutls_srp_verifier ();
20359
if ac_fn_c_try_link "$LINENO"; then :
20360
ac_cv_lib_gnutls_gnutls_srp_verifier=yes
20362
ac_cv_lib_gnutls_gnutls_srp_verifier=no
20364
rm -f core conftest.err conftest.$ac_objext \
20365
conftest$ac_exeext conftest.$ac_ext
20366
LIBS=$ac_check_lib_save_LIBS
20368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
20369
$as_echo "$ac_cv_lib_gnutls_gnutls_srp_verifier" >&6; }
20370
if test "x$ac_cv_lib_gnutls_gnutls_srp_verifier" = x""yes; then :
20373
$as_echo "#define HAVE_GNUTLS_SRP 1" >>confdefs.h
20325
20383
OPT_POLARSSL=no
20753
if test "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED$POLARSSL_ENABLED" = "x"; then
20814
# Check whether --with-axtls was given.
20815
if test "${with_axtls+set}" = set; then :
20816
withval=$with_axtls; OPT_AXTLS=$withval
20820
if test "$curl_ssl_msg" = "$init_ssl_msg"; then
20821
if test X"$OPT_AXTLS" != Xno; then
20822
CLEANLDFLAGS="$LDFLAGS"
20823
CLEANCPPFLAGS="$CPPFLAGS"
20826
case "$OPT_AXTLS" in
20828
PREFIX_AXTLS=/usr/local
20829
LIB_AXTLS="$PREFIX_AXTLS/lib"
20830
LDFLAGS="$LDFLAGS -L$LIB_AXTLS"
20831
CPPFLAGS="$CPPFLAGS -I$PREFIX_AXTLS/include"
20837
PREFIX_AXTLS=$OPT_AXTLS
20838
LIB_AXTLS="$PREFIX_AXTLS/lib"
20839
LDFLAGS="$LDFLAGS -L$LIB_AXTLS"
20840
CPPFLAGS="$CPPFLAGS -I$PREFIX_AXTLS/include"
20844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_version in -laxtls" >&5
20845
$as_echo_n "checking for ssl_version in -laxtls... " >&6; }
20846
if test "${ac_cv_lib_axtls_ssl_version+set}" = set; then :
20847
$as_echo_n "(cached) " >&6
20849
ac_check_lib_save_LIBS=$LIBS
20850
LIBS="-laxtls $LIBS"
20851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852
/* end confdefs.h. */
20858
char ssl_version ();
20861
return ssl_version ();
20866
if ac_fn_c_try_link "$LINENO"; then :
20867
ac_cv_lib_axtls_ssl_version=yes
20869
ac_cv_lib_axtls_ssl_version=no
20871
rm -f core conftest.err conftest.$ac_objext \
20872
conftest$ac_exeext conftest.$ac_ext
20873
LIBS=$ac_check_lib_save_LIBS
20875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_axtls_ssl_version" >&5
20876
$as_echo "$ac_cv_lib_axtls_ssl_version" >&6; }
20877
if test "x$ac_cv_lib_axtls_ssl_version" = x""yes; then :
20879
LIBS="-laxtls $LIBS"
20881
$as_echo "#define USE_AXTLS 1" >>confdefs.h
20887
curl_ssl_msg="enabled (axTLS)"
20890
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_AXTLS"
20891
export LD_LIBRARY_PATH
20892
{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $LIB_AXTLS to LD_LIBRARY_PATH" >&5
20893
$as_echo "$as_me: Added $LIB_AXTLS to LD_LIBRARY_PATH" >&6;}
20897
LDFLAGS="$CLEANLDFLAGS"
20898
CPPFLAGS="$CLEANCPPFLAGS"
20906
if test "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED$POLARSSL_ENABLED$AXTLS_ENABLED" = "x"; then
20754
20907
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&5
20755
20908
$as_echo "$as_me: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&2;}
20756
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl or --with-nss to address this." >&5
20757
$as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl or --with-nss to address this." >&2;}
20909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-nss or --with-axtls to address this." >&5
20910
$as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-nss or --with-axtls to address this." >&2;}
20759
20912
# SSL is enabled, genericly
34891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
34892
$as_echo_n "checking whether to enable TLS-SRP authentication... " >&6; }
34893
# Check whether --enable-tls-srp was given.
34894
if test "${enable_tls_srp+set}" = set; then :
34895
enableval=$enable_tls_srp; case "$enableval" in
34897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34898
$as_echo "no" >&6; }
34900
$as_echo "#define CURL_DISABLE_TLS_SRP 1" >>confdefs.h
34904
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34905
$as_echo "yes" >&6; }
34910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34911
$as_echo "yes" >&6; }
34917
if test "$want_tls_srp" = "yes" && test "x$HAVE_GNUTLS_SRP" = "x1"; then
34919
$as_echo "#define USE_TLS_SRP 1" >>confdefs.h
34922
curl_tls_srp_msg="enabled"
34737
34925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for cookies" >&5
34738
34926
$as_echo_n "checking whether to enable support for cookies... " >&6; }
34739
34927
# Check whether --enable-cookies was given.
36016
36207
"tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
36017
36208
"tests/server/Makefile") CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;;
36018
36209
"tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
36210
"tests/unit/Makefile") CONFIG_FILES="$CONFIG_FILES tests/unit/Makefile" ;;
36019
36211
"packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
36020
36212
"packages/Win32/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/Makefile" ;;
36021
36213
"packages/Win32/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/cygwin/Makefile" ;;