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

@@ -1043,7 +1043,9 @@ AC_HELP_STRING([--disable-ares],[Disable using ares for name lookups]),
fi
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"
;;
esac ],