1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl-config now shows asyncdns if built with ares enabled

This commit is contained in:
Daniel Stenberg 2003-12-08 10:00:21 +00:00
parent 0ab2dff69c
commit 437afe0767
3 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,11 @@
Changelog Changelog
Daniel (8 December)
- Based on a patch from Dominick Meglio, curl-config --feature now outputs
'AsynchDNS' as a feature if libcurl was built with ares. The feature name
is the same that 'curl -V' outputs, for simplicity.
Daniel (3 December) Daniel (3 December)
- Marty Kuhrt made the build up-to-date on VMS, and moved most of the VMS- - Marty Kuhrt made the build up-to-date on VMS, and moved most of the VMS-
specific stuff in the client code to a separate header file. specific stuff in the client code to a separate header file.

View File

@ -1043,7 +1043,9 @@ AC_HELP_STRING([--disable-ares],[Disable using ares for name lookups]),
fi fi
AC_DEFINE(USE_ARES, 1, [Define if you want to enable ares support]) AC_DEFINE(USE_ARES, 1, [Define if you want to enable ares support])
dnl substitute HAVE_ARES for curl-config and similar
HAVE_ARES="1"
AC_SUBST(HAVE_ARES)
ares="yes" ares="yes"
;; ;;
esac ], esac ],

View File

@ -90,6 +90,9 @@ while test $# -gt 0; do
if test "@CURL_DISABLE_DICT@" = "1"; then if test "@CURL_DISABLE_DICT@" = "1"; then
echo "DICT-disabled" echo "DICT-disabled"
fi fi
if test "@HAVE_ARES@" = "1"; then
echo "AsynchDNS"
fi
;; ;;
--version) --version)