From 77244a784fbb417c0c03e6c3fb078db1217b1e64 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Apr 2005 07:38:53 +0000 Subject: [PATCH] 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. --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c163d1fe..e5f9531d 100644 --- a/configure.ac +++ b/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 +#endif +] ) dnl check for AF_INET6