1 /* config.h.in. Generated from configure.ac by autoheader. */
4 #ifndef _GCRYPT_CONFIG_H_INCLUDED
5 #define _GCRYPT_CONFIG_H_INCLUDED
7 /* Enable gpg-error's strerror macro for W32CE. */
8 #define GPG_ERR_ENABLE_ERRNO_MACROS 1
11 /* Define if building universal (internal helper macro) */
12 #undef AC_APPLE_UNIVERSAL_BUILD
14 /* GIT commit id revision used to build this package */
17 /* The time this package was configured for a build */
18 #undef BUILD_TIMESTAMP
20 /* configure did not test for endianess */
21 #undef DISABLED_ENDIAN_CHECK
23 /* Define if you don't want the default EGD socket name. For details see
25 #undef EGD_SOCKET_NAME
27 /* Enable support for Intel AES-NI instructions. */
28 #undef ENABLE_AESNI_SUPPORT
30 /* Enable support for Intel AVX2 instructions. */
31 #undef ENABLE_AVX2_SUPPORT
33 /* Enable support for Intel AVX instructions. */
34 #undef ENABLE_AVX_SUPPORT
36 /* Enable support for Intel DRNG (RDRAND instruction). */
37 #undef ENABLE_DRNG_SUPPORT
39 /* Define to support an HMAC based integrity check */
40 #undef ENABLE_HMAC_BINARY_CHECK
42 /* Enable support for ARM NEON instructions. */
43 #undef ENABLE_NEON_SUPPORT
45 /* Enable support for the PadLock engine. */
46 #undef ENABLE_PADLOCK_SUPPORT
48 /* Enable support for Intel PCLMUL instructions. */
49 #undef ENABLE_PCLMUL_SUPPORT
51 /* Define to use the GNU C visibility attribute. */
52 #undef GCRY_USE_VISIBILITY
54 /* The default error source for libgcrypt. */
55 #undef GPG_ERR_SOURCE_DEFAULT
57 /* Defined if ARM architecture is v6 or newer */
58 #undef HAVE_ARM_ARCH_V6
60 /* Define to 1 if you have the `atexit' function. */
63 /* Defined if the mlock() call does not work */
64 #undef HAVE_BROKEN_MLOCK
66 /* Defined if compiler has '__builtin_bswap32' intrinsic */
67 #undef HAVE_BUILTIN_BSWAP32
69 /* Defined if compiler has '__builtin_bswap64' intrinsic */
70 #undef HAVE_BUILTIN_BSWAP64
72 /* Defined if a `byte' is typedef'd */
73 #undef HAVE_BYTE_TYPEDEF
75 /* Define to 1 if you have the `clock' function. */
78 /* Define to 1 if you have the `clock_gettime' function. */
79 #undef HAVE_CLOCK_GETTIME
81 /* Defined if underlying assembler is compatible with amd64 assembly
83 #undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS
85 /* Defined if underlying assembler is compatible with ARM assembly
87 #undef HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS
89 /* Defined for Alpha platforms */
90 #undef HAVE_CPU_ARCH_ALPHA
92 /* Defined for ARM platforms */
93 #undef HAVE_CPU_ARCH_ARM
95 /* Defined for M68k platforms */
96 #undef HAVE_CPU_ARCH_M68K
98 /* Defined for MIPS platforms */
99 #undef HAVE_CPU_ARCH_MIPS
101 /* Defined for PPC platforms */
102 #undef HAVE_CPU_ARCH_PPC
104 /* Defined for SPARC platforms */
105 #undef HAVE_CPU_ARCH_SPARC
107 /* Defined for the x86 platforms */
108 #undef HAVE_CPU_ARCH_X86
110 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
112 #undef HAVE_DECL_SYS_SIGLIST
114 /* defined if the system supports a random device */
115 #undef HAVE_DEV_RANDOM
117 /* Define to 1 if you have the <dlfcn.h> header file. */
120 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
123 /* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
124 with special properties like no file modes */
125 #undef HAVE_DOSISH_SYSTEM
127 /* defined if we must run on a stupid file system */
128 #undef HAVE_DRIVE_LETTERS
130 /* Define to 1 if you have the `fcntl' function. */
133 /* Define to 1 if you have the `flockfile' function. */
134 #undef HAVE_FLOCKFILE
136 /* Define to 1 if you have the `ftruncate' function. */
137 #undef HAVE_FTRUNCATE
139 /* Define if inline asm memory barrier is supported */
140 #undef HAVE_GCC_ASM_VOLATILE_MEMORY
142 /* Defined if a GCC style "__attribute__ ((aligned (n))" is supported */
143 #undef HAVE_GCC_ATTRIBUTE_ALIGNED
145 /* Defined if inline assembler supports AVX instructions */
146 #undef HAVE_GCC_INLINE_ASM_AVX
148 /* Defined if inline assembler supports AVX2 instructions */
149 #undef HAVE_GCC_INLINE_ASM_AVX2
151 /* Defined if inline assembler supports BMI2 instructions */
152 #undef HAVE_GCC_INLINE_ASM_BMI2
154 /* Defined if inline assembler supports NEON instructions */
155 #undef HAVE_GCC_INLINE_ASM_NEON
157 /* Defined if inline assembler supports PCLMUL instructions */
158 #undef HAVE_GCC_INLINE_ASM_PCLMUL
160 /* Defined if inline assembler supports SSSE3 instructions */
161 #undef HAVE_GCC_INLINE_ASM_SSSE3
163 /* Define to 1 if you have the `gethrtime' function. */
164 #undef HAVE_GETHRTIME
166 /* Define to 1 if you have the `getpagesize' function. */
167 #undef HAVE_GETPAGESIZE
169 /* Define to 1 if you have the `getpid' function. */
172 /* Define to 1 if you have the `getrusage' function. */
173 #undef HAVE_GETRUSAGE
175 /* Define to 1 if you have the `gettimeofday' function. */
176 #undef HAVE_GETTIMEOFDAY
178 /* Defined if underlying assembler is compatible with Intel syntax assembly
180 #undef HAVE_INTEL_SYNTAX_PLATFORM_AS
182 /* Define to 1 if you have the <inttypes.h> header file. */
183 #undef HAVE_INTTYPES_H
185 /* Define to 1 if you have the `rt' library (-lrt). */
188 /* Define to 1 if you have the `memmove' function. */
191 /* Define to 1 if you have the <memory.h> header file. */
194 /* Defined if the system supports an mlock() call */
197 /* Define to 1 if you have the `mmap' function. */
200 /* Defined if the GNU Pth is available */
203 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
204 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
206 /* Define if the POSIX multithreading library has read/write locks. */
207 #undef HAVE_PTHREAD_RWLOCK
209 /* Define to 1 if you have the `raise' function. */
212 /* Define to 1 if you have the `rand' function. */
215 /* Define to 1 if you have the <stdint.h> header file. */
218 /* Define to 1 if you have the <stdlib.h> header file. */
221 /* Define to 1 if you have the `stpcpy' function. */
224 /* Define to 1 if you have the `strcasecmp' function. */
225 #undef HAVE_STRCASECMP
227 /* Define to 1 if you have the `strerror' function. */
230 /* Define to 1 if you have the `stricmp' function. */
233 /* Define to 1 if you have the <strings.h> header file. */
234 #undef HAVE_STRINGS_H
236 /* Define to 1 if you have the <string.h> header file. */
239 /* Define to 1 if you have the `strtoul' function. */
242 /* Define to 1 if you have the `sysconf' function. */
245 /* Define to 1 if you have the `syslog' function. */
248 /* Define to 1 if you have the <sys/capability.h> header file. */
249 #undef HAVE_SYS_CAPABILITY_H
251 /* Define to 1 if you have the <sys/mman.h> header file. */
252 #undef HAVE_SYS_MMAN_H
254 /* Define to 1 if you have the <sys/msg.h> header file. */
255 #undef HAVE_SYS_MSG_H
257 /* Define to 1 if you have the <sys/select.h> header file. */
258 #undef HAVE_SYS_SELECT_H
260 /* Define to 1 if you have the <sys/socket.h> header file. */
261 #undef HAVE_SYS_SOCKET_H
263 /* Define to 1 if you have the <sys/stat.h> header file. */
264 #undef HAVE_SYS_STAT_H
266 /* Define to 1 if you have the <sys/types.h> header file. */
267 #undef HAVE_SYS_TYPES_H
269 /* Defined if a `u16' is typedef'd */
270 #undef HAVE_U16_TYPEDEF
272 /* Defined if a `u32' is typedef'd */
273 #undef HAVE_U32_TYPEDEF
275 /* Define to 1 if the system has the type `uintptr_t'. */
276 #undef HAVE_UINTPTR_T
278 /* Defined if a `ulong' is typedef'd */
279 #undef HAVE_ULONG_TYPEDEF
281 /* Define to 1 if you have the <unistd.h> header file. */
284 /* Defined if a `ushort' is typedef'd */
285 #undef HAVE_USHORT_TYPEDEF
287 /* Defined if variable length arrays are supported */
290 /* Define to 1 if you have the `vprintf' function. */
293 /* Defined if we run on WindowsCE */
294 #undef HAVE_W32CE_SYSTEM
296 /* Defined if we run on a W32 API based system */
297 #undef HAVE_W32_SYSTEM
299 /* Define to 1 if you have the `wait4' function. */
302 /* Define to 1 if you have the `waitpid' function. */
305 /* Define to 1 if you have the <winsock2.h> header file. */
306 #undef HAVE_WINSOCK2_H
308 /* Define to 1 if you have the <ws2tcpip.h> header file. */
309 #undef HAVE_WS2TCPIP_H
311 /* Defined if this is not a regular release */
312 #undef IS_DEVELOPMENT_VERSION
314 /* List of available cipher algorithms */
315 #undef LIBGCRYPT_CIPHERS
317 /* List of available digest algorithms */
318 #undef LIBGCRYPT_DIGESTS
320 /* List of available KDF algorithms */
321 #undef LIBGCRYPT_KDFS
323 /* List of available public key cipher algorithms */
324 #undef LIBGCRYPT_PUBKEY_CIPHERS
326 /* Define to the sub-directory in which libtool stores uninstalled libraries.
330 /* Define to use the (obsolete) malloc guarding feature */
333 /* defined to the name of the strong random device */
334 #undef NAME_OF_DEV_RANDOM
336 /* defined to the name of the weaker random device */
337 #undef NAME_OF_DEV_URANDOM
339 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
340 #undef NO_MINUS_C_MINUS_O
342 /* Name of this package */
345 /* Define to the address where bug reports for this package should be sent. */
346 #undef PACKAGE_BUGREPORT
348 /* Define to the full name of this package. */
351 /* Define to the full name and version of this package. */
352 #undef PACKAGE_STRING
354 /* Define to the one symbol short name of this package. */
355 #undef PACKAGE_TARNAME
357 /* Define to the home page for this package. */
360 /* Define to the version of this package. */
361 #undef PACKAGE_VERSION
363 /* A human readable text with the name of the OS */
364 #undef PRINTABLE_OS_NAME
366 /* Define if the pthread_in_use() detection is hard. */
367 #undef PTHREAD_IN_USE_DETECTION_HARD
369 /* Define as the return type of signal handlers (`int' or `void'). */
372 /* The size of `unsigned int', as computed by sizeof. */
373 #undef SIZEOF_UNSIGNED_INT
375 /* The size of `unsigned long', as computed by sizeof. */
376 #undef SIZEOF_UNSIGNED_LONG
378 /* The size of `unsigned long long', as computed by sizeof. */
379 #undef SIZEOF_UNSIGNED_LONG_LONG
381 /* The size of `unsigned short', as computed by sizeof. */
382 #undef SIZEOF_UNSIGNED_SHORT
384 /* Define to 1 if you have the ANSI C header files. */
387 /* Defined if this module should be included */
390 /* Defined if this module should be included */
393 /* Defined if this module should be included */
396 /* Defined if this module should be included */
399 /* define if capabilities should be used */
400 #undef USE_CAPABILITIES
402 /* Defined if this module should be included */
405 /* Defined if this module should be included */
408 /* Defined if this module should be included */
411 /* Defined if this module should be included */
414 /* Defined if this module should be included */
417 /* Defined if this module should be included */
420 /* Defined if the GNU Portable Thread Library should be used */
423 /* Defined if this module should be included */
426 /* Defined if this module should be included */
427 #undef USE_GOST_R_3411_12
429 /* Defined if this module should be included */
430 #undef USE_GOST_R_3411_94
432 /* Defined if this module should be included */
435 /* Defined if this module should be included */
438 /* Defined if this module should be included */
441 /* set this to limit filenames to the 8.3 format */
442 #undef USE_ONLY_8DOT3
444 /* Define if the POSIX multithreading library can be used. */
445 #undef USE_POSIX_THREADS
447 /* Define if references to the POSIX multithreading library should be made
449 #undef USE_POSIX_THREADS_WEAK
451 /* Define to support the experimental random daemon */
452 #undef USE_RANDOM_DAEMON
454 /* Defined if this module should be included */
457 /* Defined if this module should be included */
460 /* Defined if the EGD based RNG should be used. */
463 /* Defined if the /dev/random RNG should be used. */
466 /* Defined if the default Unix RNG should be used. */
469 /* Defined if the Windows specific RNG should be used. */
472 /* Defined if the WindowsCE specific RNG should be used. */
475 /* Defined if this module should be included */
478 /* Defined if this module should be included */
481 /* Defined if this module should be included */
484 /* Defined if this module should be included */
487 /* Defined if this module should be included */
490 /* Defined if this module should be included */
493 /* Defined if this module should be included */
496 /* Defined if this module should be included */
499 /* Define if the old Solaris multithreading library can be used. */
500 #undef USE_SOLARIS_THREADS
502 /* Define if references to the old Solaris multithreading library should be
504 #undef USE_SOLARIS_THREADS_WEAK
506 /* Enable extensions on AIX 3, Interix. */
510 /* Enable GNU extensions on systems that have them. */
514 /* Enable threading extensions on Solaris. */
515 #ifndef _POSIX_PTHREAD_SEMANTICS
516 # undef _POSIX_PTHREAD_SEMANTICS
518 /* Enable extensions on HP NonStop. */
519 #ifndef _TANDEM_SOURCE
520 # undef _TANDEM_SOURCE
522 /* Enable general extensions on Solaris. */
523 #ifndef __EXTENSIONS__
524 # undef __EXTENSIONS__
528 /* Defined if this module should be included */
531 /* Defined if this module should be included */
534 /* Defined if this module should be included */
537 /* Define if the native Windows multithreading API can be used. */
538 #undef USE_WINDOWS_THREADS
540 /* Version of this package */
543 /* Defined if compiled symbols have a leading underscore */
544 #undef WITH_SYMBOL_UNDERSCORE
546 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
547 significant byte first (like Motorola and SPARC, unlike Intel). */
548 #if defined AC_APPLE_UNIVERSAL_BUILD
549 # if defined __BIG_ENDIAN__
550 # define WORDS_BIGENDIAN 1
553 # ifndef WORDS_BIGENDIAN
554 # undef WORDS_BIGENDIAN
558 /* Define to 1 if on MINIX. */
561 /* Define to 2 if the system does not provide POSIX.1 features except with
563 #undef _POSIX_1_SOURCE
565 /* Define to 1 if you need to in order for `stat' and other things to work. */
568 /* To allow the use of Libgcrypt in multithreaded programs we have to use
569 special features from the library. */
571 # define _REENTRANT 1
575 /* Define to supported assembler block keyword, if plain 'asm' was not
579 /* Define to empty if `const' does not conform to ANSI C. */
582 /* Define to `__inline__' or `__inline' if that's what the C compiler
583 calls it, or to nothing if 'inline' is not supported under any name. */
588 /* Define to `int' if <sys/types.h> does not define. */
591 /* Define to `unsigned int' if <sys/types.h> does not define. */
594 /* type to use in place of socklen_t if not defined */
597 /* Define to the type of an unsigned integer type wide enough to hold a
598 pointer, if such a type exists, and if the system does not define it. */
602 #define _GCRYPT_IN_LIBGCRYPT 1
604 /* If the configure check for endianness has been disabled, get it from
605 OS macros. This is intended for making fat binary builds on OS X. */
606 #ifdef DISABLED_ENDIAN_CHECK
607 # if defined(__BIG_ENDIAN__)
608 # define WORDS_BIGENDIAN 1
609 # elif defined(__LITTLE_ENDIAN__)
610 # undef WORDS_BIGENDIAN
612 # error "No endianness found"
614 #endif /*DISABLED_ENDIAN_CHECK*/
616 /* We basically use the original Camellia source. Make sure the symbols
617 properly prefixed. */
618 #define CAMELLIA_EXT_SYM_PREFIX _gcry_
620 #endif /*_GCRYPT_CONFIG_H_INCLUDED*/