1 /* config.h.in. Generated from configure.in by autoheader. */
8 /* Define if building universal (internal helper macro) */
9 #undef AC_APPLE_UNIVERSAL_BUILD
11 /* Define to 1 to use IPv6 support in system and adns */
14 /* Define to 1 if you have the <inttypes.h> header file. */
15 #undef HAVE_INTTYPES_H
17 /* Define to 1 if you have the `adns' library (-ladns). */
20 /* Define to 1 if you have the `fl' library (-lfl). */
23 /* Define to 1 if you have the `gmp' library (-lgmp). */
26 /* Define to 1 if you have the `gmp2' library (-lgmp2). */
29 /* Define to 1 if you have the `nsl' library (-lnsl). */
32 /* Define to 1 if you have the `resolv' library (-lresolv). */
35 /* Define to 1 if you have the `socket' library (-lsocket). */
38 /* Define to 1 if you have the <linux/if.h> header file. */
39 #undef HAVE_LINUX_IF_H
41 /* Define to 1 if you have the <memory.h> header file. */
44 /* Define to 1 if you have the <net/if.h> header file. */
47 /* Define to 1 if you have the <net/if_tun.h> header file. */
48 #undef HAVE_NET_IF_TUN_H
50 /* Define to 1 if you have the <net/route.h> header file. */
51 #undef HAVE_NET_ROUTE_H
53 /* Define to 1 if you have the <stdint.h> header file. */
56 /* Define to 1 if you have the <stdlib.h> header file. */
59 /* Define to 1 if you have the <strings.h> header file. */
62 /* Define to 1 if you have the <string.h> header file. */
65 /* Define to 1 if you have the <stropts.h> header file. */
68 /* Define to 1 if you have the <sys/socket.h> header file. */
69 #undef HAVE_SYS_SOCKET_H
71 /* Define to 1 if you have the <sys/sockio.h> header file. */
72 #undef HAVE_SYS_SOCKIO_H
74 /* Define to 1 if you have the <sys/stat.h> header file. */
75 #undef HAVE_SYS_STAT_H
77 /* Define to 1 if you have the <sys/types.h> header file. */
78 #undef HAVE_SYS_TYPES_H
80 /* Define to 1 if you have the <unistd.h> header file. */
83 /* Define to the address where bug reports for this package should be sent. */
84 #undef PACKAGE_BUGREPORT
86 /* Define to the full name of this package. */
89 /* Define to the full name and version of this package. */
92 /* Define to the one symbol short name of this package. */
93 #undef PACKAGE_TARNAME
95 /* Define to the home page for this package. */
98 /* Define to the version of this package. */
99 #undef PACKAGE_VERSION
101 /* The size of `unsigned char', as computed by sizeof. */
102 #undef SIZEOF_UNSIGNED_CHAR
104 /* The size of `unsigned int', as computed by sizeof. */
105 #undef SIZEOF_UNSIGNED_INT
107 /* The size of `unsigned long', as computed by sizeof. */
108 #undef SIZEOF_UNSIGNED_LONG
110 /* The size of `unsigned long long', as computed by sizeof. */
111 #undef SIZEOF_UNSIGNED_LONG_LONG
113 /* The size of `unsigned short', as computed by sizeof. */
114 #undef SIZEOF_UNSIGNED_SHORT
116 /* Define to 1 if you have the ANSI C header files. */
119 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
120 significant byte first (like Motorola and SPARC, unlike Intel). */
121 #if defined AC_APPLE_UNIVERSAL_BUILD
122 # if defined __BIG_ENDIAN__
123 # define WORDS_BIGENDIAN 1
126 # ifndef WORDS_BIGENDIAN
127 # undef WORDS_BIGENDIAN
134 /* These used to be in config.h.bot, but are now in configure.in. */
136 #ifdef HAVE_INTTYPES_H
137 #include <inttypes.h>
142 #if SIZEOF_UNSIGNED_LONG_LONG==8
143 typedef unsigned long long uint64_t;
144 typedef long long int64_t;
145 #elif SIZEOF_UNSIGNED_LONG==8
146 typedef unsigned long uint64_t;
147 typedef long int64_t;
149 #error I do not know what to use for a uint64_t.
152 /* Give us an unsigned 32-bit data type. */
153 #if SIZEOF_UNSIGNED_LONG==4
154 typedef unsigned long uint32_t;
155 typedef long int32_t;
156 #elif SIZEOF_UNSIGNED_INT==4
157 typedef unsigned int uint32_t;
160 #error I do not know what to use for a uint32_t.
163 /* An unsigned 16-bit data type. */
164 #if SIZEOF_UNSIGNED_INT==2
165 typedef unsigned int uint16_t;
167 #elif SIZEOF_UNSIGNED_SHORT==2
168 typedef unsigned short uint16_t;
169 typedef short int16_t;
171 #error I do not know what to use for a uint16_t.
174 /* An unsigned 8-bit data type */
175 #if SIZEOF_UNSIGNED_CHAR==1
176 typedef unsigned char uint8_t;
178 #error I do not know what to use for a uint8_t.
184 #define NORETURN(_x) void _x __attribute__ ((noreturn))
185 #define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))
187 #define NORETURN(_x) _x
188 #define FORMAT(_a,_b,_c)
191 #endif /* _CONFIG_H */