added missing features to curl-config
authorDaniel Stenberg <daniel@haxx.se>
Tue, 15 Mar 2005 07:49:47 +0000 (07:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Mar 2005 07:49:47 +0000 (07:49 +0000)
configure.ac
curl-config.in

index 761160d..5edbb6c 100644 (file)
@@ -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 )
index aec39a3..7615797 100644 (file)
@@ -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)