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