From b919feeb115751ddda02a326e1d2636f1c83e32f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 15 Jul 2009 18:21:33 +0200 Subject: Async DNS integration Integrates the c-ares asynchronous resolved library into SSSD. --- server/external/libcares.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 server/external/libcares.m4 (limited to 'server/external/libcares.m4') diff --git a/server/external/libcares.m4 b/server/external/libcares.m4 new file mode 100644 index 00000000..09451b3f --- /dev/null +++ b/server/external/libcares.m4 @@ -0,0 +1,9 @@ +AC_SUBST(CARES_OBJ) +AC_SUBST(CARES_LIBS) +AC_SUBST(CARES_CFLAGS) + +AC_CHECK_HEADERS(ares.h, + [AC_CHECK_LIB([cares], [ares_init], [ CARES_LIBS="-lcares" ], [AC_MSG_ERROR([No usable c-ares library found])])], + [AC_MSG_ERROR([c-ares header files are not installed])] +) + -- cgit