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:
@@ -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}"],
|
||||
|
||||
Reference in New Issue
Block a user