chiark / gitweb /
Import release 0.1.11
[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 typedef long long int64_t;
104 #elif SIZEOF_UNSIGNED_LONG==8
105 typedef unsigned long uint64_t;
106 typedef long int64_t;
107 #else
108 #error I do not know what to use for a uint64_t.
109 #endif
110
111 /* Give us an unsigned 32-bit data type. */
112 #if SIZEOF_UNSIGNED_LONG==4
113 typedef unsigned long uint32_t;
114 typedef long int32_t;
115 #elif SIZEOF_UNSIGNED_INT==4
116 typedef unsigned int uint32_t;
117 typedef int int32_t;
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;
125 typedef int int16_t;
126 #elif SIZEOF_UNSIGNED_SHORT==2
127 typedef unsigned short uint16_t;
128 typedef short int16_t;
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
143 #include <stdio.h>
144 #include <stdarg.h>
145 #include "snprintf.h"
146 #endif
147
148 #endif /* _CONFIG_H */