Commit | Line | Data |
---|---|---|
2fe58dfd | 1 | /* config.h.in. Generated automatically from configure.in by autoheader. */ |
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 | ||
59635212 SE |
62 | /* Define if you have the <stdint.h> header file. */ |
63 | #undef HAVE_STDINT_H | |
64 | ||
2fe58dfd SE |
65 | /* Define if you have the adns library (-ladns). */ |
66 | #undef HAVE_LIBADNS | |
67 | ||
68 | /* Define if you have the fl library (-lfl). */ | |
69 | #undef HAVE_LIBFL | |
70 | ||
8689b3a9 SE |
71 | /* Define if you have the getopt library (-lgetopt). */ |
72 | #undef HAVE_LIBGETOPT | |
73 | ||
74 | /* Define if you have the gmp library (-lgmp). */ | |
75 | #undef HAVE_LIBGMP | |
76 | ||
4efd681a SE |
77 | /* Define if you have the gmp2 library (-lgmp2). */ |
78 | #undef HAVE_LIBGMP2 | |
8689b3a9 SE |
79 | |
80 | /* Define if you have the gnugetopt library (-lgnugetopt). */ | |
81 | #undef HAVE_LIBGNUGETOPT | |
469fd1d9 SE |
82 | |
83 | /* Define if you have the nsl library (-lnsl). */ | |
84 | #undef HAVE_LIBNSL | |
85 | ||
86 | /* Define if you have the resolv library (-lresolv). */ | |
87 | #undef HAVE_LIBRESOLV | |
88 | ||
89 | /* Define if you have the socket library (-lsocket). */ | |
90 | #undef HAVE_LIBSOCKET | |
2fe58dfd SE |
91 | /* -*- c -*- */ |
92 | ||
93 | /* These are from config.h.bot, pasted onto the end of config.h.in. */ | |
94 | ||
59635212 SE |
95 | #ifdef HAVE_INTTYPES_H |
96 | #include <inttypes.h> | |
97 | #else | |
98 | #ifdef HAVE_STDINT_H | |
99 | #include <stdint.h> | |
100 | #else | |
8dea8d37 SE |
101 | #if SIZEOF_UNSIGNED_LONG_LONG==8 |
102 | typedef unsigned long long uint64_t; | |
794f2398 | 103 | typedef long long int64_t; |
8dea8d37 SE |
104 | #elif SIZEOF_UNSIGNED_LONG==8 |
105 | typedef unsigned long uint64_t; | |
794f2398 | 106 | typedef long int64_t; |
8dea8d37 SE |
107 | #else |
108 | #error I do not know what to use for a uint64_t. | |
59635212 | 109 | #endif |
8dea8d37 SE |
110 | |
111 | /* Give us an unsigned 32-bit data type. */ | |
112 | #if SIZEOF_UNSIGNED_LONG==4 | |
113 | typedef unsigned long uint32_t; | |
794f2398 | 114 | typedef long int32_t; |
8dea8d37 SE |
115 | #elif SIZEOF_UNSIGNED_INT==4 |
116 | typedef unsigned int uint32_t; | |
794f2398 | 117 | typedef int int32_t; |
8dea8d37 SE |
118 | #else |
119 | #error I do not know what to use for a uint32_t. | |
120 | #endif | |
121 | ||
122 | /* An unsigned 16-bit data type. */ | |
123 | #if SIZEOF_UNSIGNED_INT==2 | |
124 | typedef unsigned int uint16_t; | |
794f2398 | 125 | typedef int int16_t; |
8dea8d37 SE |
126 | #elif SIZEOF_UNSIGNED_SHORT==2 |
127 | typedef unsigned short uint16_t; | |
794f2398 | 128 | typedef short int16_t; |
8dea8d37 SE |
129 | #else |
130 | #error I do not know what to use for a uint16_t. | |
131 | #endif | |
132 | ||
133 | /* An unsigned 8-bit data type */ | |
134 | #if SIZEOF_UNSIGNED_CHAR==1 | |
135 | typedef unsigned char uint8_t; | |
136 | #else | |
137 | #error I do not know what to use for a uint8_t. | |
138 | #endif | |
139 | #endif | |
140 | #endif | |
141 | ||
142 | #ifndef HAVE_SNPRINTF | |
469fd1d9 SE |
143 | #include <stdio.h> |
144 | #include <stdarg.h> | |
8dea8d37 | 145 | #include "snprintf.h" |
2fe58dfd SE |
146 | #endif |
147 | ||
2fe58dfd | 148 | #endif /* _CONFIG_H */ |