aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-07 07:38:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-07 07:38:53 +0000
commit175b00c0a29382e51f240dfcb57fd37e4c066f09 (patch)
treee8090b7eeecda53db24d96398b53167d9e859450 /ares
parent5ebc6e305e1932bbddbceb3a2109e497225aa76a (diff)
Try harder to see if arpa/nameser_compat.h REALLY is a good header file to
include, as it seems at least some AIX versions don't really allow it to be include at the same time as the original nameser.h.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index c163d1fe6..e5f9531db 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -69,7 +69,15 @@ AC_CHECK_HEADERS(
netinet/in.h \
arpa/nameser.h \
arpa/nameser_compat.h \
- arpa/inet.h
+ arpa/inet.h, , ,
+[
+dnl We do this default-include simply to make sure that the nameser_compat.h
+dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
+dnl (and others?) is not designed to allow this.
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
+]
)
dnl check for AF_INET6