summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libcares.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/src/external/libcares.m4 b/src/external/libcares.m4
index 657deac59..5b8a35875 100644
--- a/src/external/libcares.m4
+++ b/src/external/libcares.m4
@@ -18,3 +18,6 @@ AC_CHECK_LIB([cares],
)
AM_CONDITIONAL(BUILD_ARES_DATA, test x$ares_data = x1)
+
+dnl Check if this particular version of c-ares support the new TTL structures
+AC_CHECK_TYPES([struct ares_addrttl, struct ares_addr6ttl], [], [], [#include <ares.h>])