Last change
on this file since 23 was
3,
checked in by zhangj, 12 years ago
|
Initiale import
|
-
Property svn:executable set to
*
|
File size:
924 bytes
|
Line | |
---|
1 | # autoconf 2.59 ships without AC_HEADER_RESOLV, so we include it here |
---|
2 | # |
---|
3 | # AC_HEADER_RESOLV |
---|
4 | # ---------------- |
---|
5 | # According to http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?resolver+3 |
---|
6 | # (or http://www.chemie.fu-berlin.de/cgi-bin/man/sgi_irix?resolver+3), |
---|
7 | # sys/types.h, netinet/in.h and arpa/nameser.h are required on IRIX. |
---|
8 | # netinet/in.h is needed on Cygwin, too. |
---|
9 | # With Solaris 9, netdb.h is required, to get symbols like HOST_NOT_FOUND. |
---|
10 | # |
---|
11 | AN_HEADER(resolv.h, [AC_HEADER_RESOLV]) |
---|
12 | AC_DEFUN([AC_HEADER_RESOLV], |
---|
13 | [AC_CHECK_HEADERS(sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h, |
---|
14 | [], [], |
---|
15 | [[#ifdef HAVE_SYS_TYPES_H |
---|
16 | # include <sys/types.h> |
---|
17 | #endif |
---|
18 | #ifdef HAVE_NETINET_IN_H |
---|
19 | # include <netinet/in.h> /* inet_ functions / structs */ |
---|
20 | #endif |
---|
21 | #ifdef HAVE_ARPA_NAMESER_H |
---|
22 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
---|
23 | #endif |
---|
24 | #ifdef HAVE_NETDB_H |
---|
25 | # include <netdb.h> |
---|
26 | #endif]]) |
---|
27 | ])# AC_HEADER_RESOLV |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.