Imported Upstream version 2.4
[platform/upstream/nettle.git] / config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
5
6 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
7    systems. This function is required for `alloca.c' support on those systems.
8    */
9 #undef CRAY_STACKSEG_END
10
11 /* Define to 1 if using `alloca.c'. */
12 #undef C_ALLOCA
13
14 /* Define to 1 if you have `alloca', as a function or macro. */
15 #undef HAVE_ALLOCA
16
17 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
18    */
19 #undef HAVE_ALLOCA_H
20
21 /* Define to 1 if you have the `clock_gettime' function */
22 #undef HAVE_CLOCK_GETTIME
23
24 /* Define if fcntl file locking is available */
25 #undef HAVE_FCNTL_LOCKING
26
27 /* Define if the compiler understands __attribute__ */
28 #undef HAVE_GCC_ATTRIBUTE
29
30 /* Define to 1 if you have the <inttypes.h> header file. */
31 #undef HAVE_INTTYPES_H
32
33 /* Define to 1 if you have the `gmp' library (-lgmp). */
34 #undef HAVE_LIBGMP
35
36 /* Define to 1 if you have the <malloc.h> header file. */
37 #undef HAVE_MALLOC_H
38
39 /* Define to 1 if you have the <memory.h> header file. */
40 #undef HAVE_MEMORY_H
41
42 /* Define to 1 if you have the `memxor' function. */
43 #undef HAVE_MEMXOR
44
45 /* Define if mpz_powm_sec is available (appeared in GMP-5) */
46 #undef HAVE_MPZ_POWM_SEC
47
48 /* Define to 1 if you have the <openssl/aes.h> header file. */
49 #undef HAVE_OPENSSL_AES_H
50
51 /* Define to 1 if you have the <openssl/blowfish.h> header file. */
52 #undef HAVE_OPENSSL_BLOWFISH_H
53
54 /* Define to 1 if you have the <openssl/cast.h> header file. */
55 #undef HAVE_OPENSSL_CAST_H
56
57 /* Define to 1 if you have the <openssl/des.h> header file. */
58 #undef HAVE_OPENSSL_DES_H
59
60 /* Define to 1 if you have the <stdint.h> header file. */
61 #undef HAVE_STDINT_H
62
63 /* Define to 1 if you have the <stdlib.h> header file. */
64 #undef HAVE_STDLIB_H
65
66 /* Define to 1 if you have the `strerror' function. */
67 #undef HAVE_STRERROR
68
69 /* Define to 1 if you have the <strings.h> header file. */
70 #undef HAVE_STRINGS_H
71
72 /* Define to 1 if you have the <string.h> header file. */
73 #undef HAVE_STRING_H
74
75 /* Define to 1 if you have the <sys/stat.h> header file. */
76 #undef HAVE_SYS_STAT_H
77
78 /* Define to 1 if you have the <sys/types.h> header file. */
79 #undef HAVE_SYS_TYPES_H
80
81 /* Define to 1 if you have the <unistd.h> header file. */
82 #undef HAVE_UNISTD_H
83
84 /* Define to the address where bug reports for this package should be sent. */
85 #undef PACKAGE_BUGREPORT
86
87 /* Define to the full name of this package. */
88 #undef PACKAGE_NAME
89
90 /* Define to the full name and version of this package. */
91 #undef PACKAGE_STRING
92
93 /* Define to the one symbol short name of this package. */
94 #undef PACKAGE_TARNAME
95
96 /* Define to the home page for this package. */
97 #undef PACKAGE_URL
98
99 /* Define to the version of this package. */
100 #undef PACKAGE_VERSION
101
102 /* The size of `char', as computed by sizeof. */
103 #undef SIZEOF_CHAR
104
105 /* The size of `int', as computed by sizeof. */
106 #undef SIZEOF_INT
107
108 /* The size of `long', as computed by sizeof. */
109 #undef SIZEOF_LONG
110
111 /* The size of `short', as computed by sizeof. */
112 #undef SIZEOF_SHORT
113
114 /* The size of `void*', as computed by sizeof. */
115 #undef SIZEOF_VOIDP
116
117 /* If using the C implementation of alloca, define if you know the
118    direction of stack growth for your system; otherwise it will be
119    automatically deduced at runtime.
120         STACK_DIRECTION > 0 => grows toward higher addresses
121         STACK_DIRECTION < 0 => grows toward lower addresses
122         STACK_DIRECTION = 0 => direction of growth unknown */
123 #undef STACK_DIRECTION
124
125 /* Define to 1 if you have the ANSI C header files. */
126 #undef STDC_HEADERS
127
128 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
129 #undef TIME_WITH_SYS_TIME
130
131 /* Defined if public key features are enabled */
132 #undef WITH_HOGWEED
133
134 /* Define if you have openssl's libcrypto (used for benchmarking) */
135 #undef WITH_OPENSSL
136
137 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
138    significant byte first (like Motorola and SPARC, unlike Intel). */
139 #if defined AC_APPLE_UNIVERSAL_BUILD
140 # if defined __BIG_ENDIAN__
141 #  define WORDS_BIGENDIAN 1
142 # endif
143 #else
144 # ifndef WORDS_BIGENDIAN
145 #  undef WORDS_BIGENDIAN
146 # endif
147 #endif
148
149 /* Define to empty if `const' does not conform to ANSI C. */
150 #undef const
151
152 /* Define to `int' if <sys/types.h> doesn't define. */
153 #undef gid_t
154
155 /* Define to `__inline__' or `__inline' if that's what the C compiler
156    calls it, or to nothing if 'inline' is not supported under any name.  */
157 #ifndef __cplusplus
158 #undef inline
159 #endif
160
161 /* Define to `unsigned int' if <sys/types.h> does not define. */
162 #undef size_t
163
164 /* Define to `int' if <sys/types.h> doesn't define. */
165 #undef uid_t
166
167 /* AIX requires this to be the first thing in the file.  */
168 #ifndef __GNUC__
169 # if HAVE_ALLOCA_H
170 #  include <alloca.h>
171 # else
172 #  ifdef _AIX
173  #pragma alloca
174 #  else
175 #   ifndef alloca /* predefined by HP cc +Olibcalls */
176 char *alloca ();
177 #   endif
178 #  endif
179 /* Needed for alloca on windows */
180 #  if HAVE_MALLOC_H
181 #   include <malloc.h>
182 #  endif
183 # endif
184 #else /* defined __GNUC__ */
185 # if HAVE_ALLOCA_H
186 #  include <alloca.h>
187 # endif
188 #endif
189
190
191 #if HAVE_STRERROR
192 #define STRERROR strerror
193 #else
194 #define STRERROR(x) (sys_errlist[x])
195 #endif
196
197
198 #if __GNUC__ && HAVE_GCC_ATTRIBUTE
199 # define NORETURN __attribute__ ((__noreturn__))
200 # define PRINTF_STYLE(f, a) __attribute__ ((__format__ (__printf__, f, a)))
201 # define UNUSED __attribute__ ((__unused__))
202 #else
203 # define NORETURN
204 # define PRINTF_STYLE(f, a)
205 # define UNUSED
206 #endif
207
208
209 /* Needs include of <limits.h> before use. */
210 #define HAVE_NATIVE_64_BIT (SIZEOF_LONG * CHAR_BIT >= 64)
211