[IOMultiplexerV2] completed c-ares DNS Backend & added multithreading to IODNSEngine_...
[IOMultiplexer.git] / src / IOHandler / IOHandler_config.h
index bffedc9c8bb6e64e5b39fbf61da54bca3a195845..7e83d8c295d08335bf8916acec3720f5bd4ab2ca 100644 (file)
@@ -17,7 +17,6 @@
 
 /* required configure script checks
  AC_FUNC_MALLOC
- AC_FUNC_CALLOC
  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])
  
      LIBS="$LIBS -lpthread"
    ])
  ])
+ AC_CHECK_LIB(cares, ares_init, [
+   AC_CHECK_HEADERS(ares.h, [
+     LIBS="$LIBS -lcares"
+   ])
+ ])
 */
 // configure config file
 #include "../../config.h"