1/* config.h.in.  Generated from configure.ac by autoheader.  */
2
3
4#ifndef _GCRYPT_CONFIG_H_INCLUDED
5#define _GCRYPT_CONFIG_H_INCLUDED
6
7/* Enable gpg-error's strerror macro for W32CE.  */
8#define GPG_ERR_ENABLE_ERRNO_MACROS 1
9
10
11/* Define if building universal (internal helper macro) */
12#undef AC_APPLE_UNIVERSAL_BUILD
13
14/* Subversion revision used to build this package */
15#undef BUILD_REVISION
16
17/* configure did not test for endianess */
18#undef DISABLED_ENDIAN_CHECK
19
20/* Define if you don't want the default EGD socket name. For details see
21   cipher/rndegd.c */
22#undef EGD_SOCKET_NAME
23
24/* Enable support for Intel AES-NI instructions. */
25#undef ENABLE_AESNI_SUPPORT
26
27/* Define to support an HMAC based integrity check */
28#undef ENABLE_HMAC_BINARY_CHECK
29
30/* Enable support for the PadLock engine. */
31#undef ENABLE_PADLOCK_SUPPORT
32
33/* Define to use the GNU C visibility attribute. */
34#undef GCRY_USE_VISIBILITY
35
36/* The default error source for libgcrypt. */
37#undef GPG_ERR_SOURCE_DEFAULT
38
39/* Define to 1 if you have the `atexit' function. */
40#undef HAVE_ATEXIT
41
42/* Defined if the mlock() call does not work */
43#undef HAVE_BROKEN_MLOCK
44
45/* Defined if a `byte' is typedef'd */
46#undef HAVE_BYTE_TYPEDEF
47
48/* Define to 1 if you have the `clock' function. */
49#undef HAVE_CLOCK
50
51/* Define to 1 if you have the `clock_gettime' function. */
52#undef HAVE_CLOCK_GETTIME
53
54/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
55   don't. */
56#undef HAVE_DECL_SYS_SIGLIST
57
58/* defined if the system supports a random device */
59#undef HAVE_DEV_RANDOM
60
61/* Define to 1 if you have the <dlfcn.h> header file. */
62#undef HAVE_DLFCN_H
63
64/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
65#undef HAVE_DOPRNT
66
67/* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
68   with special properties like no file modes */
69#undef HAVE_DOSISH_SYSTEM
70
71/* defined if we must run on a stupid file system */
72#undef HAVE_DRIVE_LETTERS
73
74/* Define to 1 if you have the `fcntl' function. */
75#undef HAVE_FCNTL
76
77/* Define to 1 if you have the `ftruncate' function. */
78#undef HAVE_FTRUNCATE
79
80/* Define to 1 if you have the `gethrtime' function. */
81#undef HAVE_GETHRTIME
82
83/* Define to 1 if you have the `getpagesize' function. */
84#undef HAVE_GETPAGESIZE
85
86/* Define to 1 if you have the `getpid' function. */
87#undef HAVE_GETPID
88
89/* Define to 1 if you have the `getrusage' function. */
90#undef HAVE_GETRUSAGE
91
92/* Define to 1 if you have the `gettimeofday' function. */
93#undef HAVE_GETTIMEOFDAY
94
95/* Define to 1 if you have the <inttypes.h> header file. */
96#undef HAVE_INTTYPES_H
97
98/* Define to 1 if you have the `rt' library (-lrt). */
99#undef HAVE_LIBRT
100
101/* Define to 1 if you have the `memmove' function. */
102#undef HAVE_MEMMOVE
103
104/* Define to 1 if you have the <memory.h> header file. */
105#undef HAVE_MEMORY_H
106
107/* Defined if the system supports an mlock() call */
108#undef HAVE_MLOCK
109
110/* Define to 1 if you have the `mmap' function. */
111#undef HAVE_MMAP
112
113/* Defined if the GNU Pth is available */
114#undef HAVE_PTH
115
116/* Define to 1 if you have the `raise' function. */
117#undef HAVE_RAISE
118
119/* Define to 1 if you have the `rand' function. */
120#undef HAVE_RAND
121
122/* Define to 1 if you have the <stdint.h> header file. */
123#undef HAVE_STDINT_H
124
125/* Define to 1 if you have the <stdlib.h> header file. */
126#undef HAVE_STDLIB_H
127
128/* Define to 1 if you have the `stpcpy' function. */
129#undef HAVE_STPCPY
130
131/* Define to 1 if you have the `strcasecmp' function. */
132#undef HAVE_STRCASECMP
133
134/* Define to 1 if you have the `strerror' function. */
135#undef HAVE_STRERROR
136
137/* Define to 1 if you have the `stricmp' function. */
138#undef HAVE_STRICMP
139
140/* Define to 1 if you have the <strings.h> header file. */
141#undef HAVE_STRINGS_H
142
143/* Define to 1 if you have the <string.h> header file. */
144#undef HAVE_STRING_H
145
146/* Define to 1 if you have the `strtoul' function. */
147#undef HAVE_STRTOUL
148
149/* Define to 1 if you have the `sysconf' function. */
150#undef HAVE_SYSCONF
151
152/* Define to 1 if you have the `syslog' function. */
153#undef HAVE_SYSLOG
154
155/* Define to 1 if you have the <sys/capability.h> header file. */
156#undef HAVE_SYS_CAPABILITY_H
157
158/* Define to 1 if you have the <sys/mman.h> header file. */
159#undef HAVE_SYS_MMAN_H
160
161/* Define to 1 if you have the <sys/msg.h> header file. */
162#undef HAVE_SYS_MSG_H
163
164/* Define to 1 if you have the <sys/select.h> header file. */
165#undef HAVE_SYS_SELECT_H
166
167/* Define to 1 if you have the <sys/socket.h> header file. */
168#undef HAVE_SYS_SOCKET_H
169
170/* Define to 1 if you have the <sys/stat.h> header file. */
171#undef HAVE_SYS_STAT_H
172
173/* Define to 1 if you have the <sys/types.h> header file. */
174#undef HAVE_SYS_TYPES_H
175
176/* Defined if a `u16' is typedef'd */
177#undef HAVE_U16_TYPEDEF
178
179/* Defined if a `u32' is typedef'd */
180#undef HAVE_U32_TYPEDEF
181
182/* Define to 1 if the system has the type `uintptr_t'. */
183#undef HAVE_UINTPTR_T
184
185/* Defined if a `ulong' is typedef'd */
186#undef HAVE_ULONG_TYPEDEF
187
188/* Define to 1 if you have the <unistd.h> header file. */
189#undef HAVE_UNISTD_H
190
191/* Defined if a `ushort' is typedef'd */
192#undef HAVE_USHORT_TYPEDEF
193
194/* Define to 1 if you have the `vprintf' function. */
195#undef HAVE_VPRINTF
196
197/* Defined if we run on WindowsCE */
198#undef HAVE_W32CE_SYSTEM
199
200/* Defined if we run on a W32 API based system */
201#undef HAVE_W32_SYSTEM
202
203/* Define to 1 if you have the `wait4' function. */
204#undef HAVE_WAIT4
205
206/* Define to 1 if you have the `waitpid' function. */
207#undef HAVE_WAITPID
208
209/* Define to 1 if you have the <winsock2.h> header file. */
210#undef HAVE_WINSOCK2_H
211
212/* Define to 1 if you have the <ws2tcpip.h> header file. */
213#undef HAVE_WS2TCPIP_H
214
215/* Defined if this is not a regular release */
216#undef IS_DEVELOPMENT_VERSION
217
218/* List of available cipher algorithms */
219#undef LIBGCRYPT_CIPHERS
220
221/* List of available digest algorithms */
222#undef LIBGCRYPT_DIGESTS
223
224/* List of available public key cipher algorithms */
225#undef LIBGCRYPT_PUBKEY_CIPHERS
226
227/* Define to the sub-directory in which libtool stores uninstalled libraries.
228   */
229#undef LT_OBJDIR
230
231/* Define to use the (obsolete) malloc guarding feature */
232#undef M_GUARD
233
234/* defined to the name of the strong random device */
235#undef NAME_OF_DEV_RANDOM
236
237/* defined to the name of the weaker random device */
238#undef NAME_OF_DEV_URANDOM
239
240/* Define to 1 if your C compiler doesn't accept -c and -o together. */
241#undef NO_MINUS_C_MINUS_O
242
243/* Name of this package */
244#undef PACKAGE
245
246/* Define to the address where bug reports for this package should be sent. */
247#undef PACKAGE_BUGREPORT
248
249/* Define to the full name of this package. */
250#undef PACKAGE_NAME
251
252/* Define to the full name and version of this package. */
253#undef PACKAGE_STRING
254
255/* Define to the one symbol short name of this package. */
256#undef PACKAGE_TARNAME
257
258/* Define to the home page for this package. */
259#undef PACKAGE_URL
260
261/* Define to the version of this package. */
262#undef PACKAGE_VERSION
263
264/* A human readable text with the name of the OS */
265#undef PRINTABLE_OS_NAME
266
267/* Define as the return type of signal handlers (`int' or `void'). */
268#undef RETSIGTYPE
269
270/* The size of `unsigned int', as computed by sizeof. */
271#undef SIZEOF_UNSIGNED_INT
272
273/* The size of `unsigned long', as computed by sizeof. */
274#undef SIZEOF_UNSIGNED_LONG
275
276/* The size of `unsigned long long', as computed by sizeof. */
277#undef SIZEOF_UNSIGNED_LONG_LONG
278
279/* The size of `unsigned short', as computed by sizeof. */
280#undef SIZEOF_UNSIGNED_SHORT
281
282/* Define to 1 if you have the ANSI C header files. */
283#undef STDC_HEADERS
284
285/* Defined if this module should be included */
286#undef USE_AES
287
288/* Defined if this module should be included */
289#undef USE_ARCFOUR
290
291/* Defined if this module should be included */
292#undef USE_BLOWFISH
293
294/* Defined if this module should be included */
295#undef USE_CAMELLIA
296
297/* define if capabilities should be used */
298#undef USE_CAPABILITIES
299
300/* Defined if this module should be included */
301#undef USE_CAST5
302
303/* Defined if this module should be included */
304#undef USE_CRC
305
306/* Defined if this module should be included */
307#undef USE_DES
308
309/* Defined if this module should be included */
310#undef USE_DSA
311
312/* Defined if this module should be included */
313#undef USE_ECC
314
315/* Defined if this module should be included */
316#undef USE_ELGAMAL
317
318/* Defined if the GNU Portable Thread Library should be used */
319#undef USE_GNU_PTH
320
321/* Defined if this module should be included */
322#undef USE_MD4
323
324/* Defined if this module should be included */
325#undef USE_MD5
326
327/* set this to limit filenames to the 8.3 format */
328#undef USE_ONLY_8DOT3
329
330/* Define to support the experimental random daemon */
331#undef USE_RANDOM_DAEMON
332
333/* Defined if this module should be included */
334#undef USE_RFC2268
335
336/* Defined if this module should be included */
337#undef USE_RMD160
338
339/* Defined if the EGD based RNG should be used. */
340#undef USE_RNDEGD
341
342/* Defined if the /dev/random RNG should be used. */
343#undef USE_RNDLINUX
344
345/* Defined if the default Unix RNG should be used. */
346#undef USE_RNDUNIX
347
348/* Defined if the Windows specific RNG should be used. */
349#undef USE_RNDW32
350
351/* Defined if the WindowsCE specific RNG should be used. */
352#undef USE_RNDW32CE
353
354/* Defined if this module should be included */
355#undef USE_RSA
356
357/* Defined if this module should be included */
358#undef USE_SEED
359
360/* Defined if this module should be included */
361#undef USE_SERPENT
362
363/* Defined if this module should be included */
364#undef USE_SHA1
365
366/* Defined if this module should be included */
367#undef USE_SHA256
368
369/* Defined if this module should be included */
370#undef USE_SHA512
371
372/* Enable extensions on AIX 3, Interix.  */
373#ifndef _ALL_SOURCE
374# undef _ALL_SOURCE
375#endif
376/* Enable GNU extensions on systems that have them.  */
377#ifndef _GNU_SOURCE
378# undef _GNU_SOURCE
379#endif
380/* Enable threading extensions on Solaris.  */
381#ifndef _POSIX_PTHREAD_SEMANTICS
382# undef _POSIX_PTHREAD_SEMANTICS
383#endif
384/* Enable extensions on HP NonStop.  */
385#ifndef _TANDEM_SOURCE
386# undef _TANDEM_SOURCE
387#endif
388/* Enable general extensions on Solaris.  */
389#ifndef __EXTENSIONS__
390# undef __EXTENSIONS__
391#endif
392
393
394/* Defined if this module should be included */
395#undef USE_TIGER
396
397/* Defined if this module should be included */
398#undef USE_TWOFISH
399
400/* Defined if this module should be included */
401#undef USE_WHIRLPOOL
402
403/* Version of this package */
404#undef VERSION
405
406/* Defined if compiled symbols have a leading underscore */
407#undef WITH_SYMBOL_UNDERSCORE
408
409/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
410   significant byte first (like Motorola and SPARC, unlike Intel). */
411#if defined AC_APPLE_UNIVERSAL_BUILD
412# if defined __BIG_ENDIAN__
413#  define WORDS_BIGENDIAN 1
414# endif
415#else
416# ifndef WORDS_BIGENDIAN
417#  undef WORDS_BIGENDIAN
418# endif
419#endif
420
421/* Define to 1 if on MINIX. */
422#undef _MINIX
423
424/* Define to 2 if the system does not provide POSIX.1 features except with
425   this defined. */
426#undef _POSIX_1_SOURCE
427
428/* Define to 1 if you need to in order for `stat' and other things to work. */
429#undef _POSIX_SOURCE
430
431/* To allow the use of Libgcrypt in multithreaded programs we have to use
432    special features from the library. */
433#ifndef _REENTRANT
434# define _REENTRANT 1
435#endif
436
437
438/* Define to empty if `const' does not conform to ANSI C. */
439#undef const
440
441/* Define to `__inline__' or `__inline' if that's what the C compiler
442   calls it, or to nothing if 'inline' is not supported under any name.  */
443#ifndef __cplusplus
444#undef inline
445#endif
446
447/* Define to `int' if <sys/types.h> does not define. */
448#undef pid_t
449
450/* Define to `unsigned int' if <sys/types.h> does not define. */
451#undef size_t
452
453/* type to use in place of socklen_t if not defined */
454#undef socklen_t
455
456/* Define to the type of an unsigned integer type wide enough to hold a
457   pointer, if such a type exists, and if the system does not define it. */
458#undef uintptr_t
459
460
461#define _GCRYPT_IN_LIBGCRYPT 1
462
463/* If the configure check for endianness has been disabled, get it from
464   OS macros.  This is intended for making fat binary builds on OS X.  */
465#ifdef DISABLED_ENDIAN_CHECK
466# if defined(__BIG_ENDIAN__)
467#  define WORDS_BIGENDIAN 1
468# elif defined(__LITTLE_ENDIAN__)
469#  undef WORDS_BIGENDIAN
470# else
471#  error "No endianness found"
472# endif
473#endif /*DISABLED_ENDIAN_CHECK*/
474
475/* We basically use the original Camellia source.  Make sure the symbols
476   properly prefixed.  */
477#define CAMELLIA_EXT_SYM_PREFIX _gcry_
478
479/* This error code is only available with gpg-error 1.7.  Thus
480   we define it here with the usual gcry prefix.  */
481#define GCRY_GPG_ERR_NOT_OPERATIONAL  176
482
483
484#endif /*_GCRYPT_CONFIG_H_INCLUDED*/
485
486