1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

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.
This commit is contained in:
Daniel Stenberg 2005-04-07 07:38:53 +00:00
parent 5ebc6e305e
commit 175b00c0a2

View File

@ -69,7 +69,15 @@ AC_CHECK_HEADERS(
netinet/in.h \ netinet/in.h \
arpa/nameser.h \ arpa/nameser.h \
arpa/nameser_compat.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 dnl check for AF_INET6