1 dnl stuff used by DNS resolv code in roken
8 AC_CHECK_HEADERS([arpa/nameser.h])
10 AC_CHECK_HEADERS(resolv.h, , , [AC_INCLUDES_DEFAULT
11 #ifdef HAVE_SYS_TYPES_H
12 #include <sys/types.h>
14 #ifdef HAVE_NETINET_IN_H
15 #include <netinet/in.h>
17 #ifdef HAVE_ARPA_NAMESER_H
18 #include <arpa/nameser.h>
22 AC_FIND_FUNC(res_search, resolv,
25 #ifdef HAVE_SYS_TYPES_H
26 #include <sys/types.h>
28 #ifdef HAVE_NETINET_IN_H
29 #include <netinet/in.h>
31 #ifdef HAVE_ARPA_NAMESER_H
32 #include <arpa/nameser.h>
40 AC_FIND_FUNC(res_nsearch, resolv,
43 #ifdef HAVE_SYS_TYPES_H
44 #include <sys/types.h>
46 #ifdef HAVE_NETINET_IN_H
47 #include <netinet/in.h>
49 #ifdef HAVE_ARPA_NAMESER_H
50 #include <arpa/nameser.h>
58 AC_FIND_FUNC(res_ndestroy, resolv,
61 #ifdef HAVE_SYS_TYPES_H
62 #include <sys/types.h>
64 #ifdef HAVE_NETINET_IN_H
65 #include <netinet/in.h>
67 #ifdef HAVE_ARPA_NAMESER_H
68 #include <arpa/nameser.h>
76 AC_FIND_FUNC(dn_expand, resolv,
79 #ifdef HAVE_SYS_TYPES_H
80 #include <sys/types.h>
82 #ifdef HAVE_NETINET_IN_H
83 #include <netinet/in.h>
85 #ifdef HAVE_ARPA_NAMESER_H
86 #include <arpa/nameser.h>
96 #ifdef HAVE_SYS_TYPES_H
97 #include <sys/types.h>
99 #ifdef HAVE_NETINET_IN_H
100 #include <netinet/in.h>
102 #ifdef HAVE_ARPA_NAMESER_H
103 #include <arpa/nameser.h>