projects
/
NextIRCd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IOMultiplexerV2] added reverse lookups to IODNSEngine_default and added DNS example...
[NextIRCd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 09c3ada2ca367ab76f34f0206db1845063099b68..d6522e1ca29d3a137e8325d9a728875f1b5f1ce0 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-33,7
+33,7
@@
CFLAGS="$CFLAGS -D_GNU_SOURCE"
AC_FUNC_MALLOC
AC_CHECK_FUNCS([usleep select socket inet_pton inet_ntop])
AC_FUNC_MALLOC
AC_CHECK_FUNCS([usleep select socket inet_pton inet_ntop])
-AC_CHECK_HEADERS([fcntl.h sys/socket.h sys/select.h sys/time.h sys/types.h unistd.h windows.h winsock2.h errno.h sys/epoll.h sys/event.h
ares.h
])
+AC_CHECK_HEADERS([fcntl.h sys/socket.h sys/select.h sys/time.h sys/types.h unistd.h windows.h winsock2.h errno.h sys/epoll.h sys/event.h])
AC_CHECK_LIB(ws2_32, main, [ LIBS="$LIBS -lws2_32" ], [])
AC_CHECK_LIB(ssl, SSL_read, [
AC_CHECK_LIB(ws2_32, main, [ LIBS="$LIBS -lws2_32" ], [])
AC_CHECK_LIB(ssl, SSL_read, [
@@
-48,6
+48,11
@@
AC_CHECK_LIB(pthread, pthread_create, [
LIBS="$LIBS -lpthread"
])
])
LIBS="$LIBS -lpthread"
])
])
+AC_CHECK_LIB(cares, ares_init, [
+ AC_CHECK_HEADERS(ares.h, [
+ LIBS="$LIBS -lcares"
+ ])
+])
-AC_CONFIG_FILES([Makefile src/Makefile src/IOHandler/Makefile src/IOHandler++/Makefile src/IOHandler_test/Makefile src/IOHandler_test/socket/Makefile src/IOHandler_test/socket++/Makefile src/IOHandler_test/timer/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile src/IOHandler/Makefile src/IOHandler++/Makefile src/IOHandler_test/Makefile src/IOHandler_test/socket/Makefile src/IOHandler_test/socket++/Makefile src/IOHandler_test/timer/Makefile
src/IOHandler_test/resolv/Makefile
])
AC_OUTPUT
AC_OUTPUT