summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-07-15 18:21:33 +0200
committerSimo Sorce <ssorce@redhat.com>2009-07-24 10:21:43 -0400
commitb919feeb115751ddda02a326e1d2636f1c83e32f (patch)
treeea91693dc259406706652314a34c3f7562bec494 /server/external
parent1394ff5e0131f3c7d7d37a675b43e3fa6cf58bbf (diff)
downloadsssd-b919feeb115751ddda02a326e1d2636f1c83e32f.tar.gz
sssd-b919feeb115751ddda02a326e1d2636f1c83e32f.tar.bz2
sssd-b919feeb115751ddda02a326e1d2636f1c83e32f.zip
Async DNS integration
Integrates the c-ares asynchronous resolved library into SSSD.
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libcares.m49
1 files changed, 9 insertions, 0 deletions
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])]
+)
+