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 endianness */
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 ARMv8 Crypto Extension instructions. */
31 #undef ENABLE_ARM_CRYPTO_SUPPORT
33 /* Enable support for Intel AVX2 instructions. */
34 #undef ENABLE_AVX2_SUPPORT
36 /* Enable support for Intel AVX instructions. */
37 #undef ENABLE_AVX_SUPPORT
39 /* Enable support for Intel DRNG (RDRAND instruction). */
40 #undef ENABLE_DRNG_SUPPORT
42 /* Define to support an HMAC based integrity check */
43 #undef ENABLE_HMAC_BINARY_CHECK
45 /* Enable support for the jitter entropy collector. */
46 #undef ENABLE_JENT_SUPPORT
48 /* Enable support for ARM NEON instructions. */
49 #undef ENABLE_NEON_SUPPORT
51 /* Enable support for the PadLock engine. */
52 #undef ENABLE_PADLOCK_SUPPORT
54 /* Enable support for Intel PCLMUL instructions. */
55 #undef ENABLE_PCLMUL_SUPPORT
57 /* Enable support for Intel SSE4.1 instructions. */
58 #undef ENABLE_SSE41_SUPPORT
60 /* Define to use the GNU C visibility attribute. */
61 #undef GCRY_USE_VISIBILITY
63 /* The default error source for libgcrypt. */
64 #undef GPG_ERR_SOURCE_DEFAULT
66 /* Defined if ARM architecture is v6 or newer */
67 #undef HAVE_ARM_ARCH_V6
69 /* Define to 1 if you have the `atexit' function. */
72 /* Defined if the mlock() call does not work */
73 #undef HAVE_BROKEN_MLOCK
75 /* Defined if compiler has '__builtin_bswap32' intrinsic */
76 #undef HAVE_BUILTIN_BSWAP32
78 /* Defined if compiler has '__builtin_bswap64' intrinsic */
79 #undef HAVE_BUILTIN_BSWAP64
81 /* Defined if compiler has '__builtin_ctz' intrinsic */
82 #undef HAVE_BUILTIN_CTZ
84 /* Defined if a `byte' is typedef'd */
85 #undef HAVE_BYTE_TYPEDEF
87 /* Define to 1 if you have the `clock' function. */
90 /* Define to 1 if you have the `clock_gettime' function. */
91 #undef HAVE_CLOCK_GETTIME
93 /* Defined if underlying assembler is compatible with ARMv8/Aarch64 assembly
95 #undef HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS
97 /* Defined if underlying assembler is compatible with amd64 assembly
99 #undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS
101 /* Defined if underlying assembler is compatible with ARM assembly
103 #undef HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS
105 /* Defined if underlying assembler is compatible with WIN64 assembly
107 #undef HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS
109 /* Defined for Alpha platforms */
110 #undef HAVE_CPU_ARCH_ALPHA
112 /* Defined for ARM AArch64 platforms */
113 #undef HAVE_CPU_ARCH_ARM
115 /* Defined for M68k platforms */
116 #undef HAVE_CPU_ARCH_M68K
118 /* Defined for MIPS platforms */
119 #undef HAVE_CPU_ARCH_MIPS
121 /* Defined for PPC platforms */
122 #undef HAVE_CPU_ARCH_PPC
124 /* Defined for SPARC platforms */
125 #undef HAVE_CPU_ARCH_SPARC
127 /* Defined for the x86 platforms */
128 #undef HAVE_CPU_ARCH_X86
130 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
132 #undef HAVE_DECL_SYS_SIGLIST
134 /* defined if the system supports a random device */
135 #undef HAVE_DEV_RANDOM
137 /* Define to 1 if you have the <dlfcn.h> header file. */
140 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
143 /* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
144 with special properties like no file modes */
145 #undef HAVE_DOSISH_SYSTEM
147 /* defined if we must run on a stupid file system */
148 #undef HAVE_DRIVE_LETTERS
150 /* Define to 1 if you have the `fcntl' function. */
153 /* Define to 1 if you have the `flockfile' function. */
154 #undef HAVE_FLOCKFILE
156 /* Define to 1 if you have the `ftruncate' function. */
157 #undef HAVE_FTRUNCATE
159 /* Define if inline asm memory barrier is supported */
160 #undef HAVE_GCC_ASM_VOLATILE_MEMORY
162 /* Defined if a GCC style "__attribute__ ((aligned (n))" is supported */
163 #undef HAVE_GCC_ATTRIBUTE_ALIGNED
165 /* Defined if a GCC style "__attribute__ ((may_alias))" is supported */
166 #undef HAVE_GCC_ATTRIBUTE_MAY_ALIAS
168 /* Defined if compiler supports "__attribute__ ((ms_abi))" function attribute
170 #undef HAVE_GCC_ATTRIBUTE_MS_ABI
172 /* Defined if a GCC style "__attribute__ ((packed))" is supported */
173 #undef HAVE_GCC_ATTRIBUTE_PACKED
175 /* Defined if compiler supports "__attribute__ ((sysv_abi))" function
177 #undef HAVE_GCC_ATTRIBUTE_SYSV_ABI
179 /* Defined if default calling convention is 'ms_abi' */
180 #undef HAVE_GCC_DEFAULT_ABI_IS_MS_ABI
182 /* Defined if default calling convention is 'sysv_abi' */
183 #undef HAVE_GCC_DEFAULT_ABI_IS_SYSV_ABI
185 /* Defined if inline assembler supports AArch32 Crypto Extension instructions
187 #undef HAVE_GCC_INLINE_ASM_AARCH32_CRYPTO
189 /* Defined if inline assembler supports AArch64 Crypto Extension instructions
191 #undef HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO
193 /* Defined if inline assembler supports AArch64 NEON instructions */
194 #undef HAVE_GCC_INLINE_ASM_AARCH64_NEON
196 /* Defined if inline assembler supports AVX instructions */
197 #undef HAVE_GCC_INLINE_ASM_AVX
199 /* Defined if inline assembler supports AVX2 instructions */
200 #undef HAVE_GCC_INLINE_ASM_AVX2
202 /* Defined if inline assembler supports BMI2 instructions */
203 #undef HAVE_GCC_INLINE_ASM_BMI2
205 /* Defined if inline assembler supports NEON instructions */
206 #undef HAVE_GCC_INLINE_ASM_NEON
208 /* Defined if inline assembler supports PCLMUL instructions */
209 #undef HAVE_GCC_INLINE_ASM_PCLMUL
211 /* Defined if inline assembler supports SSE4.1 instructions */
212 #undef HAVE_GCC_INLINE_ASM_SSE41
214 /* Defined if inline assembler supports SSSE3 instructions */
215 #undef HAVE_GCC_INLINE_ASM_SSSE3
217 /* Define to 1 if you have the `gethrtime' function. */
218 #undef HAVE_GETHRTIME
220 /* Define to 1 if you have the `getpagesize' function. */
221 #undef HAVE_GETPAGESIZE
223 /* Define to 1 if you have the `getpid' function. */
226 /* Define to 1 if you have the `getrusage' function. */
227 #undef HAVE_GETRUSAGE
229 /* Define to 1 if you have the `gettimeofday' function. */
230 #undef HAVE_GETTIMEOFDAY
232 /* Defined if underlying assembler is compatible with Intel syntax assembly
234 #undef HAVE_INTEL_SYNTAX_PLATFORM_AS
236 /* Define to 1 if you have the <inttypes.h> header file. */
237 #undef HAVE_INTTYPES_H
239 /* Define to 1 if you have the `rt' library (-lrt). */
242 /* Define to 1 if you have the `memmove' function. */
245 /* Define to 1 if you have the <memory.h> header file. */
248 /* Defined if the system supports an mlock() call */
251 /* Define to 1 if you have the `mmap' function. */
254 /* Defined if the GNU Pth is available */
257 /* Define if we have pthread. */
260 /* Define to 1 if you have the `raise' function. */
263 /* Define to 1 if you have the `rand' function. */
266 /* Define to 1 if you have the <stdint.h> header file. */
269 /* Define to 1 if you have the <stdlib.h> header file. */
272 /* Define to 1 if you have the `stpcpy' function. */
275 /* Define to 1 if you have the `strcasecmp' function. */
276 #undef HAVE_STRCASECMP
278 /* Define to 1 if you have the `strerror' function. */
281 /* Define to 1 if you have the `stricmp' function. */
284 /* Define to 1 if you have the <strings.h> header file. */
285 #undef HAVE_STRINGS_H
287 /* Define to 1 if you have the <string.h> header file. */
290 /* Define to 1 if you have the `strtoul' function. */
293 /* Define to 1 if you have the `syscall' function. */
296 /* Define to 1 if you have the `sysconf' function. */
299 /* Define to 1 if you have the `syslog' function. */
302 /* Define to 1 if you have the <sys/capability.h> header file. */
303 #undef HAVE_SYS_CAPABILITY_H
305 /* Define to 1 if you have the <sys/mman.h> header file. */
306 #undef HAVE_SYS_MMAN_H
308 /* Define to 1 if you have the <sys/msg.h> header file. */
309 #undef HAVE_SYS_MSG_H
311 /* Define to 1 if you have the <sys/select.h> header file. */
312 #undef HAVE_SYS_SELECT_H
314 /* Define to 1 if you have the <sys/socket.h> header file. */
315 #undef HAVE_SYS_SOCKET_H
317 /* Define to 1 if you have the <sys/stat.h> header file. */
318 #undef HAVE_SYS_STAT_H
320 /* Define to 1 if you have the <sys/types.h> header file. */
321 #undef HAVE_SYS_TYPES_H
323 /* Defined if a `u16' is typedef'd */
324 #undef HAVE_U16_TYPEDEF
326 /* Defined if a `u32' is typedef'd */
327 #undef HAVE_U32_TYPEDEF
329 /* Define to 1 if the system has the type `uintptr_t'. */
330 #undef HAVE_UINTPTR_T
332 /* Defined if a `ulong' is typedef'd */
333 #undef HAVE_ULONG_TYPEDEF
335 /* Define to 1 if you have the <unistd.h> header file. */
338 /* Defined if a `ushort' is typedef'd */
339 #undef HAVE_USHORT_TYPEDEF
341 /* Defined if variable length arrays are supported */
344 /* Define to 1 if you have the `vprintf' function. */
347 /* Defined if we run on WindowsCE */
348 #undef HAVE_W32CE_SYSTEM
350 /* Defined if we run on a W32 API based system */
351 #undef HAVE_W32_SYSTEM
353 /* Define to 1 if you have the `wait4' function. */
356 /* Define to 1 if you have the `waitpid' function. */
359 /* Define to 1 if you have the <winsock2.h> header file. */
360 #undef HAVE_WINSOCK2_H
362 /* Define to 1 if you have the <ws2tcpip.h> header file. */
363 #undef HAVE_WS2TCPIP_H
365 /* Defined if this is not a regular release */
366 #undef IS_DEVELOPMENT_VERSION
368 /* List of available cipher algorithms */
369 #undef LIBGCRYPT_CIPHERS
371 /* List of available digest algorithms */
372 #undef LIBGCRYPT_DIGESTS
374 /* List of available KDF algorithms */
375 #undef LIBGCRYPT_KDFS
377 /* List of available public key cipher algorithms */
378 #undef LIBGCRYPT_PUBKEY_CIPHERS
380 /* Define to the sub-directory in which libtool stores uninstalled libraries.
384 /* Define to use the (obsolete) malloc guarding feature */
387 /* defined to the name of the strong random device */
388 #undef NAME_OF_DEV_RANDOM
390 /* defined to the name of the weaker random device */
391 #undef NAME_OF_DEV_URANDOM
393 /* Name of this package */
396 /* Define to the address where bug reports for this package should be sent. */
397 #undef PACKAGE_BUGREPORT
399 /* Define to the full name of this package. */
402 /* Define to the full name and version of this package. */
403 #undef PACKAGE_STRING
405 /* Define to the one symbol short name of this package. */
406 #undef PACKAGE_TARNAME
408 /* Define to the home page for this package. */
411 /* Define to the version of this package. */
412 #undef PACKAGE_VERSION
414 /* A human readable text with the name of the OS */
415 #undef PRINTABLE_OS_NAME
417 /* Define as the return type of signal handlers (`int' or `void'). */
420 /* The size of `uint64_t', as computed by sizeof. */
421 #undef SIZEOF_UINT64_T
423 /* The size of `unsigned int', as computed by sizeof. */
424 #undef SIZEOF_UNSIGNED_INT
426 /* The size of `unsigned long', as computed by sizeof. */
427 #undef SIZEOF_UNSIGNED_LONG
429 /* The size of `unsigned long long', as computed by sizeof. */
430 #undef SIZEOF_UNSIGNED_LONG_LONG
432 /* The size of `unsigned short', as computed by sizeof. */
433 #undef SIZEOF_UNSIGNED_SHORT
435 /* The size of `void *', as computed by sizeof. */
438 /* Define to 1 if you have the ANSI C header files. */
441 /* Defined if this module should be included */
444 /* Defined if this module should be included */
447 /* Defined if this module should be included */
450 /* Defined if this module should be included */
453 /* Defined if this module should be included */
456 /* define if capabilities should be used */
457 #undef USE_CAPABILITIES
459 /* Defined if this module should be included */
462 /* Defined if this module should be included */
465 /* Defined if this module should be included */
468 /* Defined if this module should be included */
471 /* Defined if this module should be included */
474 /* Defined if this module should be included */
477 /* Defined if this module should be included */
480 /* Defined if the GNU Portable Thread Library should be used */
483 /* Defined if this module should be included */
486 /* Defined if this module should be included */
487 #undef USE_GOST_R_3411_12
489 /* Defined if this module should be included */
490 #undef USE_GOST_R_3411_94
492 /* Defined if this module should be included */
495 /* Defined if this module should be included */
498 /* Defined if this module should be included */
501 /* Defined if this module should be included */
504 /* set this to limit filenames to the 8.3 format */
505 #undef USE_ONLY_8DOT3
507 /* Define to support the experimental random daemon */
508 #undef USE_RANDOM_DAEMON
510 /* Defined if this module should be included */
513 /* Defined if this module should be included */
516 /* Defined if the EGD based RNG should be used. */
519 /* Defined if the /dev/random RNG should be used. */
522 /* Defined if the default Unix RNG should be used. */
525 /* Defined if the Windows specific RNG should be used. */
528 /* Defined if the WindowsCE specific RNG should be used. */
531 /* Defined if this module should be included */
534 /* Defined if this module should be included */
537 /* Defined if this module should be included */
540 /* Defined if this module should be included */
543 /* Defined if this module should be included */
546 /* Defined if this module should be included */
549 /* Defined if this module should be included */
552 /* Defined if this module should be included */
555 /* Defined if this module should be included */
558 /* Enable extensions on AIX 3, Interix. */
562 /* Enable GNU extensions on systems that have them. */
566 /* Enable threading extensions on Solaris. */
567 #ifndef _POSIX_PTHREAD_SEMANTICS
568 # undef _POSIX_PTHREAD_SEMANTICS
570 /* Enable extensions on HP NonStop. */
571 #ifndef _TANDEM_SOURCE
572 # undef _TANDEM_SOURCE
574 /* Enable general extensions on Solaris. */
575 #ifndef __EXTENSIONS__
576 # undef __EXTENSIONS__
580 /* Defined if this module should be included */
583 /* Defined if this module should be included */
586 /* Defined if this module should be included */
589 /* Version of this package */
592 /* Defined if compiled symbols have a leading underscore */
593 #undef WITH_SYMBOL_UNDERSCORE
595 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
596 significant byte first (like Motorola and SPARC, unlike Intel). */
597 #if defined AC_APPLE_UNIVERSAL_BUILD
598 # if defined __BIG_ENDIAN__
599 # define WORDS_BIGENDIAN 1
602 # ifndef WORDS_BIGENDIAN
603 # undef WORDS_BIGENDIAN
607 /* Expose all libc features (__DARWIN_C_FULL). */
608 #undef _DARWIN_C_SOURCE
610 /* Define to 1 if on MINIX. */
613 /* Define to 2 if the system does not provide POSIX.1 features except with
615 #undef _POSIX_1_SOURCE
617 /* Define to 1 if you need to in order for `stat' and other things to work. */
620 /* To allow the use of Libgcrypt in multithreaded programs we have to use
621 special features from the library. */
623 # define _REENTRANT 1
627 /* Define to supported assembler block keyword, if plain 'asm' was not
631 /* Define to empty if `const' does not conform to ANSI C. */
634 /* Define to `__inline__' or `__inline' if that's what the C compiler
635 calls it, or to nothing if 'inline' is not supported under any name. */
640 /* Define to `int' if <sys/types.h> does not define. */
643 /* Define to `unsigned int' if <sys/types.h> does not define. */
646 /* type to use in place of socklen_t if not defined */
649 /* Define to the type of an unsigned integer type wide enough to hold a
650 pointer, if such a type exists, and if the system does not define it. */
654 #define _GCRYPT_IN_LIBGCRYPT 1
656 /* If the configure check for endianness has been disabled, get it from
657 OS macros. This is intended for making fat binary builds on OS X. */
658 #ifdef DISABLED_ENDIAN_CHECK
659 # if defined(__BIG_ENDIAN__)
660 # define WORDS_BIGENDIAN 1
661 # elif defined(__LITTLE_ENDIAN__)
662 # undef WORDS_BIGENDIAN
664 # error "No endianness found"
666 #endif /*DISABLED_ENDIAN_CHECK*/
668 /* We basically use the original Camellia source. Make sure the symbols
669 properly prefixed. */
670 #define CAMELLIA_EXT_SYM_PREFIX _gcry_
672 #endif /*_GCRYPT_CONFIG_H_INCLUDED*/