chiark / gitweb /
d7044fcaab104aae7523d80cfd3c0909d9137f7f
[secnet.git] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
2 #ifndef _CONFIG_H
3 #define _CONFIG_H
4
5
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
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
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
56 /* Define if you have the <inttypes.h> header file.  */
57 #undef HAVE_INTTYPES_H
58
59 /* Define if you have the <linux/if.h> header file.  */
60 #undef HAVE_LINUX_IF_H
61
62 /* Define if you have the <stdint.h> header file.  */
63 #undef HAVE_STDINT_H
64
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
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
77 /* Define if you have the gmp2 library (-lgmp2).  */
78 #undef HAVE_LIBGMP2
79
80 /* Define if you have the gnugetopt library (-lgnugetopt).  */
81 #undef HAVE_LIBGNUGETOPT
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
91 /* -*- c -*- */
92
93 /* These are from config.h.bot, pasted onto the end of config.h.in. */
94
95 #ifdef HAVE_INTTYPES_H
96 #include <inttypes.h>
97 #else
98 #ifdef HAVE_STDINT_H
99 #include <stdint.h>
100 #else
101 #if SIZEOF_UNSIGNED_LONG_LONG==8
102 typedef unsigned long long uint64_t;
103 #elif SIZEOF_UNSIGNED_LONG==8
104 typedef unsigned long uint64_t;
105 #else
106 #error I do not know what to use for a uint64_t.
107 #endif
108
109 /* Give us an unsigned 32-bit data type. */
110 #if SIZEOF_UNSIGNED_LONG==4
111 typedef unsigned long uint32_t;
112 #elif SIZEOF_UNSIGNED_INT==4
113 typedef unsigned int uint32_t;
114 #else
115 #error I do not know what to use for a uint32_t.
116 #endif
117
118 /* An unsigned 16-bit data type. */
119 #if SIZEOF_UNSIGNED_INT==2
120 typedef unsigned int uint16_t;
121 #elif SIZEOF_UNSIGNED_SHORT==2
122 typedef unsigned short uint16_t;
123 #else
124 #error I do not know what to use for a uint16_t.
125 #endif
126
127 /* An unsigned 8-bit data type */
128 #if SIZEOF_UNSIGNED_CHAR==1
129 typedef unsigned char uint8_t;
130 #else
131 #error I do not know what to use for a uint8_t.
132 #endif
133 #endif
134 #endif
135
136 #ifndef HAVE_SNPRINTF
137 #include <stdio.h>
138 #include <stdarg.h>
139 #include "snprintf.h"
140 #endif
141
142 #endif /* _CONFIG_H */