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