aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--curl-config.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 761160d1a..5edbb6ca6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1111,6 +1111,7 @@ case "$LIBIDN" in
if test "x$idn" = "xyes"; then
curl_idn_msg="enabled"
+ AC_SUBST(IDN_ENABLED, [1])
dnl different versions of libidn have different setups of these:
AC_CHECK_FUNCS( idn_free idna_strerror tld_strerror)
AC_CHECK_HEADERS( idn-free.h tld.h )
diff --git a/curl-config.in b/curl-config.in
index aec39a333..76157979a 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -60,6 +60,7 @@ while test $# -gt 0; do
--feature|--features)
if test "@USE_SSLEAY@" = "1"; then
echo "SSL"
+ NTLM=1
fi
if test "@KRB4_ENABLED@" = "1"; then
echo "KRB4"
@@ -73,6 +74,16 @@ while test $# -gt 0; do
if test "@HAVE_ARES@" = "1"; then
echo "AsynchDNS"
fi
+ if test "@IDN_ENABLED@" = "1"; then
+ echo "IDN"
+ fi
+ if test "@USE_WINDOWS_SSPI@" = "1"; then
+ echo "SSPI"
+ NTLM=1
+ fi
+ if test "$NTLM" = "1"; then
+ echo "NTLM"
+ fi
;;
--protocols)