Browse Source

added missing features to curl-config

darwin-pinnedpubkey
Daniel Stenberg 18 years ago
parent
commit
d6460aff36
  1. 1
      configure.ac
  2. 11
      curl-config.in

1
configure.ac

@ -1111,6 +1111,7 @@ case "$LIBIDN" in @@ -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 )

11
curl-config.in

@ -60,6 +60,7 @@ while test $# -gt 0; do @@ -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 @@ -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)

Loading…
Cancel
Save