summaryrefslogtreecommitdiffstats
path: root/server/external
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-27 09:39:41 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-09 10:05:10 -0500
commit0c1c70e1f60d4263b93d63ba0179a998c3fcf554 (patch)
treede7cf796be90ee7a9e3cb9af821904d4535681bb /server/external
parent9b93fb29b1c41d523da87cdf7be226cc8322df66 (diff)
downloadsssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.tar.gz
sssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.tar.xz
sssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.zip
Import ares 1.7.0 helpers
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libcares.m421
1 files changed, 5 insertions, 16 deletions
diff --git a/server/external/libcares.m4 b/server/external/libcares.m4
index 020a1708d..657deac59 100644
--- a/server/external/libcares.m4
+++ b/server/external/libcares.m4
@@ -7,25 +7,14 @@ AC_CHECK_HEADERS(ares.h,
[AC_MSG_ERROR([c-ares header files are not installed])]
)
-dnl Check if this particular version of c-ares supports parsing of SRV records
+dnl Check if this particular version of c-ares supports the generic ares_free_data function
AC_CHECK_LIB([cares],
- [ares_parse_srv_reply],
- [AC_DEFINE([HAVE_ARES_PARSE_SRV], 1, [Does c-ares support srv parsing?])
+ [ares_free_data],
+ [AC_DEFINE([HAVE_ARES_DATA], 1, [Does c-ares have ares_free_data()?])
],
[
- ares_build_srv=1
+ ares_data=1
]
)
-dnl Check if this particular version of c-ares supports parsing of TXT records
-AC_CHECK_LIB([cares],
- [ares_parse_txt_reply],
- [AC_DEFINE([HAVE_ARES_PARSE_TXT], 1, [Does c-ares support txt parsing?])
- ],
- [
- ares_build_txt=1
- ]
-)
-
-AM_CONDITIONAL(BUILD_ARES_PARSE_SRV, test x$ares_build_srv = x1)
-AM_CONDITIONAL(BUILD_ARES_PARSE_TXT, test x$ares_build_txt = x1)
+AM_CONDITIONAL(BUILD_ARES_DATA, test x$ares_data = x1)