chiark / gitweb /
Fix typo in changelog entry for 1.6.1
[adns.git] / src / config.h.in
1 /* src/config.h.in.  Generated from configure.in by autoheader.  */
2 /*
3  * acconfig.h
4  * input file for autoheader/autoconf/configure: extra stuff for config.h
5  */
6 /*
7  *  This file is part of adns, which is Copyright Ian Jackson
8  *  and contributors (see the file INSTALL for full details).
9  *  
10  *  This program is free software; you can redistribute it and/or modify
11  *  it under the terms of the GNU General Public License as published by
12  *  the Free Software Foundation; either version 3, or (at your option)
13  *  any later version.
14  *  
15  *  This program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License for more details.
19  *  
20  *  You should have received a copy of the GNU General Public License
21  *  along with this program; if not, write to the Free Software Foundation.
22  */
23
24 /* Define if inline functions a la GCC are available.  */
25 #undef HAVE_INLINE
26
27 /* Define if function attributes a la GCC 2.5 and higher are available.  */
28 #undef HAVE_GNUC25_ATTRIB
29
30 /* Define if constant functions a la GCC 2.5 and higher are available.  */
31 #undef HAVE_GNUC25_CONST
32
33 /* Define if nonreturning functions a la GCC 2.5 and higher are available.  */
34 #undef HAVE_GNUC25_NORETURN
35
36 /* Define if printf-format argument lists a la GCC are available.  */
37 #undef HAVE_GNUC25_PRINTFFORMAT
38
39 /* Define if we want to include rpc/types.h.  Crap BSDs put INADDR_LOOPBACK there. */
40 #undef HAVEUSE_RPCTYPES_H
41
42
43 /* Define to 1 if you have the <inttypes.h> header file. */
44 #undef HAVE_INTTYPES_H
45
46 /* Define to 1 if you have the `nsl' library (-lnsl). */
47 #undef HAVE_LIBNSL
48
49 /* Define to 1 if you have the `socket' library (-lsocket). */
50 #undef HAVE_LIBSOCKET
51
52 /* Define to 1 if you have the <memory.h> header file. */
53 #undef HAVE_MEMORY_H
54
55 /* Define to 1 if you have the `poll' function. */
56 #undef HAVE_POLL
57
58 /* Define to 1 if you have the <stdint.h> header file. */
59 #undef HAVE_STDINT_H
60
61 /* Define to 1 if you have the <stdlib.h> header file. */
62 #undef HAVE_STDLIB_H
63
64 /* Define to 1 if you have the <strings.h> header file. */
65 #undef HAVE_STRINGS_H
66
67 /* Define to 1 if you have the <string.h> header file. */
68 #undef HAVE_STRING_H
69
70 /* Define to 1 if you have the <sys/stat.h> header file. */
71 #undef HAVE_SYS_STAT_H
72
73 /* Define to 1 if you have the <sys/types.h> header file. */
74 #undef HAVE_SYS_TYPES_H
75
76 /* Define to 1 if you have the <unistd.h> header file. */
77 #undef HAVE_UNISTD_H
78
79 /* Define to the address where bug reports for this package should be sent. */
80 #undef PACKAGE_BUGREPORT
81
82 /* Define to the full name of this package. */
83 #undef PACKAGE_NAME
84
85 /* Define to the full name and version of this package. */
86 #undef PACKAGE_STRING
87
88 /* Define to the one symbol short name of this package. */
89 #undef PACKAGE_TARNAME
90
91 /* Define to the home page for this package. */
92 #undef PACKAGE_URL
93
94 /* Define to the version of this package. */
95 #undef PACKAGE_VERSION
96
97 /* Define to 1 if you have the ANSI C header files. */
98 #undef STDC_HEADERS
99
100 /* Use the definitions: */
101
102 #ifndef HAVE_INLINE
103 #define inline
104 #endif
105
106 #ifdef HAVE_POLL
107 #include <sys/poll.h>
108 #else
109 /* kludge it up */
110 struct pollfd { int fd; short events; short revents; };
111 #define POLLIN  1
112 #define POLLPRI 2
113 #define POLLOUT 4
114 #endif
115
116 /* GNU C attributes. */
117 #ifndef FUNCATTR
118 #ifdef HAVE_GNUC25_ATTRIB
119 #define FUNCATTR(x) __attribute__(x)
120 #else
121 #define FUNCATTR(x)
122 #endif
123 #endif
124
125 /* GNU C printf formats, or null. */
126 #ifndef ATTRPRINTF
127 #ifdef HAVE_GNUC25_PRINTFFORMAT
128 #define ATTRPRINTF(si,tc) format(printf,si,tc)
129 #else
130 #define ATTRPRINTF(si,tc)
131 #endif
132 #endif
133 #ifndef PRINTFFORMAT
134 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
135 #endif
136
137 /* GNU C nonreturning functions, or null. */
138 #ifndef ATTRNORETURN
139 #ifdef HAVE_GNUC25_NORETURN
140 #define ATTRNORETURN noreturn
141 #else
142 #define ATTRNORETURN
143 #endif
144 #endif
145 #ifndef NONRETURNING
146 #define NONRETURNING FUNCATTR((ATTRNORETURN))
147 #endif
148
149 /* Combination of both the above. */
150 #ifndef NONRETURNPRINTFFORMAT
151 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
152 #endif
153
154 /* GNU C constant functions, or null. */
155 #ifndef ATTRCONST
156 #ifdef HAVE_GNUC25_CONST
157 #define ATTRCONST const
158 #else
159 #define ATTRCONST
160 #endif
161 #endif
162 #ifndef CONSTANT
163 #define CONSTANT FUNCATTR((ATTRCONST))
164 #endif
165
166 #ifdef HAVEUSE_RPCTYPES_H
167 #include <rpc/types.h>
168 #endif