1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

- Fix the detection for curl-without-c-ares a little (#0003940). ** fun.. autoconf 2.61**

This commit is contained in:
Bram Matthys
2010-07-22 09:59:36 +00:00
parent d0cb4dc5f5
commit 85904c2277
4 changed files with 10004 additions and 3280 deletions
+2 -2
View File
@@ -64,9 +64,9 @@ AC_DEFUN([CHECK_LIBCURL],
CURLCFLAG="`$CURLCONFIG --cflags`"
CURLLIBS="`$CURLCONFIG --libs`"
CURLUSESCARES="`echo $CURLLIBS|grep c-ares|wc -l`"
CURLUSESCARES="`$CURLCONFIG --features|grep AsynchDNS|wc -l`"
AS_IF([test "$CURLUSESCARES" = "0"],
[AC_MSG_WARN([cURL is compiled without c-ares support. Your IRCd will possibly stall when REHASHing!])])
[AC_MSG_WARN([cURL seems compiled without c-ares support. Your IRCd will possibly stall when REHASHing!])])
dnl sanity warnings
AS_IF([test -z "${CURLLIBS}"],