Commit | Line | Data |
---|---|---|
ff05a229 | 1 | /* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ |
2fe58dfd SE |
2 | #ifndef _CONFIG_H |
3 | #define _CONFIG_H | |
4 | ||
5 | ||
8dea8d37 SE |
6 | /* Define if using alloca.c. */ |
7 | #undef C_ALLOCA | |
8 | ||
9 | /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. | |
10 | This function is required for alloca.c support on those systems. */ | |
11 | #undef CRAY_STACKSEG_END | |
12 | ||
13 | /* Define if you have alloca, as a function or macro. */ | |
14 | #undef HAVE_ALLOCA | |
15 | ||
16 | /* Define if you have <alloca.h> and it should be used (not on Ultrix). */ | |
17 | #undef HAVE_ALLOCA_H | |
18 | ||
19 | /* If using the C implementation of alloca, define if you know the | |
20 | direction of stack growth for your system; otherwise it will be | |
21 | automatically deduced at run-time. | |
22 | STACK_DIRECTION > 0 => grows toward higher addresses | |
23 | STACK_DIRECTION < 0 => grows toward lower addresses | |
24 | STACK_DIRECTION = 0 => direction of growth unknown | |
25 | */ | |
26 | #undef STACK_DIRECTION | |
27 | ||
2fe58dfd SE |
28 | /* Define if you have the ANSI C header files. */ |
29 | #undef STDC_HEADERS | |
30 | ||
31 | /* Define if your processor stores words with the most significant | |
32 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
33 | #undef WORDS_BIGENDIAN | |
34 | ||
8dea8d37 SE |
35 | /* The number of bytes in a unsigned char. */ |
36 | #undef SIZEOF_UNSIGNED_CHAR | |
37 | ||
38 | /* The number of bytes in a unsigned int. */ | |
39 | #undef SIZEOF_UNSIGNED_INT | |
40 | ||
41 | /* The number of bytes in a unsigned long. */ | |
42 | #undef SIZEOF_UNSIGNED_LONG | |
43 | ||
44 | /* The number of bytes in a unsigned long long. */ | |
45 | #undef SIZEOF_UNSIGNED_LONG_LONG | |
46 | ||
47 | /* The number of bytes in a unsigned short. */ | |
48 | #undef SIZEOF_UNSIGNED_SHORT | |
49 | ||
50 | /* Define if you have the getopt_long function. */ | |
51 | #undef HAVE_GETOPT_LONG | |
52 | ||
53 | /* Define if you have the snprintf function. */ | |
54 | #undef HAVE_SNPRINTF | |
55 | ||
59635212 SE |
56 | /* Define if you have the <inttypes.h> header file. */ |
57 | #undef HAVE_INTTYPES_H | |
58 | ||
4efd681a SE |
59 | /* Define if you have the <linux/if.h> header file. */ |
60 | #undef HAVE_LINUX_IF_H | |
61 | ||
ff05a229 SE |
62 | /* Define if you have the <net/if.h> header file. */ |
63 | #undef HAVE_NET_IF_H | |
64 | ||
65 | /* Define if you have the <net/if_tun.h> header file. */ | |
66 | #undef HAVE_NET_IF_TUN_H | |
67 | ||
68 | /* Define if you have the <net/route.h> header file. */ | |
69 | #undef HAVE_NET_ROUTE_H | |
70 | ||
59635212 SE |
71 | /* Define if you have the <stdint.h> header file. */ |
72 | #undef HAVE_STDINT_H | |
73 | ||
ff05a229 SE |
74 | /* Define if you have the <stropts.h> header file. */ |
75 | #undef HAVE_STROPTS_H | |
76 | ||
77 | /* Define if you have the <sys/sockio.h> header file. */ | |
78 | #undef HAVE_SYS_SOCKIO_H | |
79 | ||
2fe58dfd SE |
80 | /* Define if you have the adns library (-ladns). */ |
81 | #undef HAVE_LIBADNS | |
82 | ||
83 | /* Define if you have the fl library (-lfl). */ | |
84 | #undef HAVE_LIBFL | |
85 | ||
8689b3a9 SE |
86 | /* Define if you have the getopt library (-lgetopt). */ |
87 | #undef HAVE_LIBGETOPT | |
88 | ||
89 | /* Define if you have the gmp library (-lgmp). */ | |
90 | #undef HAVE_LIBGMP | |
91 | ||
4efd681a SE |
92 | /* Define if you have the gmp2 library (-lgmp2). */ |
93 | #undef HAVE_LIBGMP2 | |
8689b3a9 SE |
94 | |
95 | /* Define if you have the gnugetopt library (-lgnugetopt). */ | |
96 | #undef HAVE_LIBGNUGETOPT | |
469fd1d9 SE |
97 | |
98 | /* Define if you have the nsl library (-lnsl). */ | |
99 | #undef HAVE_LIBNSL | |
100 | ||
101 | /* Define if you have the resolv library (-lresolv). */ | |
102 | #undef HAVE_LIBRESOLV | |
103 | ||
104 | /* Define if you have the socket library (-lsocket). */ | |
105 | #undef HAVE_LIBSOCKET | |
2fe58dfd SE |
106 | /* -*- c -*- */ |
107 | ||
108 | /* These are from config.h.bot, pasted onto the end of config.h.in. */ | |
109 | ||
59635212 SE |
110 | #ifdef HAVE_INTTYPES_H |
111 | #include <inttypes.h> | |
112 | #else | |
113 | #ifdef HAVE_STDINT_H | |
114 | #include <stdint.h> | |
115 | #else | |
8dea8d37 SE |
116 | #if SIZEOF_UNSIGNED_LONG_LONG==8 |
117 | typedef unsigned long long uint64_t; | |
794f2398 | 118 | typedef long long int64_t; |
8dea8d37 SE |
119 | #elif SIZEOF_UNSIGNED_LONG==8 |
120 | typedef unsigned long uint64_t; | |
794f2398 | 121 | typedef long int64_t; |
8dea8d37 SE |
122 | #else |
123 | #error I do not know what to use for a uint64_t. | |
59635212 | 124 | #endif |
8dea8d37 SE |
125 | |
126 | /* Give us an unsigned 32-bit data type. */ | |
127 | #if SIZEOF_UNSIGNED_LONG==4 | |
128 | typedef unsigned long uint32_t; | |
794f2398 | 129 | typedef long int32_t; |
8dea8d37 SE |
130 | #elif SIZEOF_UNSIGNED_INT==4 |
131 | typedef unsigned int uint32_t; | |
794f2398 | 132 | typedef int int32_t; |
8dea8d37 SE |
133 | #else |
134 | #error I do not know what to use for a uint32_t. | |
135 | #endif | |
136 | ||
137 | /* An unsigned 16-bit data type. */ | |
138 | #if SIZEOF_UNSIGNED_INT==2 | |
139 | typedef unsigned int uint16_t; | |
794f2398 | 140 | typedef int int16_t; |
8dea8d37 SE |
141 | #elif SIZEOF_UNSIGNED_SHORT==2 |
142 | typedef unsigned short uint16_t; | |
794f2398 | 143 | typedef short int16_t; |
8dea8d37 SE |
144 | #else |
145 | #error I do not know what to use for a uint16_t. | |
146 | #endif | |
147 | ||
148 | /* An unsigned 8-bit data type */ | |
149 | #if SIZEOF_UNSIGNED_CHAR==1 | |
150 | typedef unsigned char uint8_t; | |
151 | #else | |
152 | #error I do not know what to use for a uint8_t. | |
153 | #endif | |
154 | #endif | |
155 | #endif | |
156 | ||
157 | #ifndef HAVE_SNPRINTF | |
469fd1d9 SE |
158 | #include <stdio.h> |
159 | #include <stdarg.h> | |
8dea8d37 | 160 | #include "snprintf.h" |
2fe58dfd SE |
161 | #endif |
162 | ||
4f5e39ec SE |
163 | #ifdef __GNUC__ |
164 | #define NORETURN(_x) void _x __attribute__ ((noreturn)) | |
165 | #define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c))) | |
166 | #else | |
167 | #define NORETURN(_x) _x | |
168 | #define FORMAT(_a,_b,_c) | |
169 | #endif | |
170 | ||
2fe58dfd | 171 | #endif /* _CONFIG_H */ |