Update package version to 1.8.3
[platform/upstream/libgcrypt.git] / config.h.in
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 endianness */
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 /* Enable support for ARMv8 Crypto Extension instructions. */
31 #undef ENABLE_ARM_CRYPTO_SUPPORT
32
33 /* Enable support for Intel AVX2 instructions. */
34 #undef ENABLE_AVX2_SUPPORT
35
36 /* Enable support for Intel AVX instructions. */
37 #undef ENABLE_AVX_SUPPORT
38
39 /* Enable support for Intel DRNG (RDRAND instruction). */
40 #undef ENABLE_DRNG_SUPPORT
41
42 /* Define to support an HMAC based integrity check */
43 #undef ENABLE_HMAC_BINARY_CHECK
44
45 /* Enable support for the jitter entropy collector. */
46 #undef ENABLE_JENT_SUPPORT
47
48 /* Enable support for ARM NEON instructions. */
49 #undef ENABLE_NEON_SUPPORT
50
51 /* Enable support for the PadLock engine. */
52 #undef ENABLE_PADLOCK_SUPPORT
53
54 /* Enable support for Intel PCLMUL instructions. */
55 #undef ENABLE_PCLMUL_SUPPORT
56
57 /* Enable support for Intel SSE4.1 instructions. */
58 #undef ENABLE_SSE41_SUPPORT
59
60 /* Define to use the GNU C visibility attribute. */
61 #undef GCRY_USE_VISIBILITY
62
63 /* The default error source for libgcrypt. */
64 #undef GPG_ERR_SOURCE_DEFAULT
65
66 /* Defined if ARM architecture is v6 or newer */
67 #undef HAVE_ARM_ARCH_V6
68
69 /* Define to 1 if you have the `atexit' function. */
70 #undef HAVE_ATEXIT
71
72 /* Defined if the mlock() call does not work */
73 #undef HAVE_BROKEN_MLOCK
74
75 /* Defined if compiler has '__builtin_bswap32' intrinsic */
76 #undef HAVE_BUILTIN_BSWAP32
77
78 /* Defined if compiler has '__builtin_bswap64' intrinsic */
79 #undef HAVE_BUILTIN_BSWAP64
80
81 /* Defined if compiler has '__builtin_ctz' intrinsic */
82 #undef HAVE_BUILTIN_CTZ
83
84 /* Defined if a `byte' is typedef'd */
85 #undef HAVE_BYTE_TYPEDEF
86
87 /* Define to 1 if you have the `clock' function. */
88 #undef HAVE_CLOCK
89
90 /* Define to 1 if you have the `clock_gettime' function. */
91 #undef HAVE_CLOCK_GETTIME
92
93 /* Defined if underlying assembler is compatible with ARMv8/Aarch64 assembly
94    implementations */
95 #undef HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS
96
97 /* Defined if underlying assembler is compatible with amd64 assembly
98    implementations */
99 #undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS
100
101 /* Defined if underlying assembler is compatible with ARM assembly
102    implementations */
103 #undef HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS
104
105 /* Defined if underlying assembler is compatible with WIN64 assembly
106    implementations */
107 #undef HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS
108
109 /* Defined for Alpha platforms */
110 #undef HAVE_CPU_ARCH_ALPHA
111
112 /* Defined for ARM AArch64 platforms */
113 #undef HAVE_CPU_ARCH_ARM
114
115 /* Defined for M68k platforms */
116 #undef HAVE_CPU_ARCH_M68K
117
118 /* Defined for MIPS platforms */
119 #undef HAVE_CPU_ARCH_MIPS
120
121 /* Defined for PPC platforms */
122 #undef HAVE_CPU_ARCH_PPC
123
124 /* Defined for SPARC platforms */
125 #undef HAVE_CPU_ARCH_SPARC
126
127 /* Defined for the x86 platforms */
128 #undef HAVE_CPU_ARCH_X86
129
130 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
131    don't. */
132 #undef HAVE_DECL_SYS_SIGLIST
133
134 /* defined if the system supports a random device */
135 #undef HAVE_DEV_RANDOM
136
137 /* Define to 1 if you have the <dlfcn.h> header file. */
138 #undef HAVE_DLFCN_H
139
140 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
141 #undef HAVE_DOPRNT
142
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
146
147 /* defined if we must run on a stupid file system */
148 #undef HAVE_DRIVE_LETTERS
149
150 /* Define to 1 if you have the `fcntl' function. */
151 #undef HAVE_FCNTL
152
153 /* Define to 1 if you have the `flockfile' function. */
154 #undef HAVE_FLOCKFILE
155
156 /* Define to 1 if you have the `ftruncate' function. */
157 #undef HAVE_FTRUNCATE
158
159 /* Define if inline asm memory barrier is supported */
160 #undef HAVE_GCC_ASM_VOLATILE_MEMORY
161
162 /* Defined if a GCC style "__attribute__ ((aligned (n))" is supported */
163 #undef HAVE_GCC_ATTRIBUTE_ALIGNED
164
165 /* Defined if a GCC style "__attribute__ ((may_alias))" is supported */
166 #undef HAVE_GCC_ATTRIBUTE_MAY_ALIAS
167
168 /* Defined if compiler supports "__attribute__ ((ms_abi))" function attribute
169    */
170 #undef HAVE_GCC_ATTRIBUTE_MS_ABI
171
172 /* Defined if a GCC style "__attribute__ ((packed))" is supported */
173 #undef HAVE_GCC_ATTRIBUTE_PACKED
174
175 /* Defined if compiler supports "__attribute__ ((sysv_abi))" function
176    attribute */
177 #undef HAVE_GCC_ATTRIBUTE_SYSV_ABI
178
179 /* Defined if default calling convention is 'ms_abi' */
180 #undef HAVE_GCC_DEFAULT_ABI_IS_MS_ABI
181
182 /* Defined if default calling convention is 'sysv_abi' */
183 #undef HAVE_GCC_DEFAULT_ABI_IS_SYSV_ABI
184
185 /* Defined if inline assembler supports AArch32 Crypto Extension instructions
186    */
187 #undef HAVE_GCC_INLINE_ASM_AARCH32_CRYPTO
188
189 /* Defined if inline assembler supports AArch64 Crypto Extension instructions
190    */
191 #undef HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO
192
193 /* Defined if inline assembler supports AArch64 NEON instructions */
194 #undef HAVE_GCC_INLINE_ASM_AARCH64_NEON
195
196 /* Defined if inline assembler supports AVX instructions */
197 #undef HAVE_GCC_INLINE_ASM_AVX
198
199 /* Defined if inline assembler supports AVX2 instructions */
200 #undef HAVE_GCC_INLINE_ASM_AVX2
201
202 /* Defined if inline assembler supports BMI2 instructions */
203 #undef HAVE_GCC_INLINE_ASM_BMI2
204
205 /* Defined if inline assembler supports NEON instructions */
206 #undef HAVE_GCC_INLINE_ASM_NEON
207
208 /* Defined if inline assembler supports PCLMUL instructions */
209 #undef HAVE_GCC_INLINE_ASM_PCLMUL
210
211 /* Defined if inline assembler supports SSE4.1 instructions */
212 #undef HAVE_GCC_INLINE_ASM_SSE41
213
214 /* Defined if inline assembler supports SSSE3 instructions */
215 #undef HAVE_GCC_INLINE_ASM_SSSE3
216
217 /* Define to 1 if you have the `gethrtime' function. */
218 #undef HAVE_GETHRTIME
219
220 /* Define to 1 if you have the `getpagesize' function. */
221 #undef HAVE_GETPAGESIZE
222
223 /* Define to 1 if you have the `getpid' function. */
224 #undef HAVE_GETPID
225
226 /* Define to 1 if you have the `getrusage' function. */
227 #undef HAVE_GETRUSAGE
228
229 /* Define to 1 if you have the `gettimeofday' function. */
230 #undef HAVE_GETTIMEOFDAY
231
232 /* Defined if underlying assembler is compatible with Intel syntax assembly
233    implementations */
234 #undef HAVE_INTEL_SYNTAX_PLATFORM_AS
235
236 /* Define to 1 if you have the <inttypes.h> header file. */
237 #undef HAVE_INTTYPES_H
238
239 /* Define to 1 if you have the `rt' library (-lrt). */
240 #undef HAVE_LIBRT
241
242 /* Define to 1 if you have the `memmove' function. */
243 #undef HAVE_MEMMOVE
244
245 /* Define to 1 if you have the <memory.h> header file. */
246 #undef HAVE_MEMORY_H
247
248 /* Defined if the system supports an mlock() call */
249 #undef HAVE_MLOCK
250
251 /* Define to 1 if you have the `mmap' function. */
252 #undef HAVE_MMAP
253
254 /* Defined if the GNU Pth is available */
255 #undef HAVE_PTH
256
257 /* Define if we have pthread. */
258 #undef HAVE_PTHREAD
259
260 /* Define to 1 if you have the `raise' function. */
261 #undef HAVE_RAISE
262
263 /* Define to 1 if you have the `rand' function. */
264 #undef HAVE_RAND
265
266 /* Define to 1 if you have the <stdint.h> header file. */
267 #undef HAVE_STDINT_H
268
269 /* Define to 1 if you have the <stdlib.h> header file. */
270 #undef HAVE_STDLIB_H
271
272 /* Define to 1 if you have the `stpcpy' function. */
273 #undef HAVE_STPCPY
274
275 /* Define to 1 if you have the `strcasecmp' function. */
276 #undef HAVE_STRCASECMP
277
278 /* Define to 1 if you have the `strerror' function. */
279 #undef HAVE_STRERROR
280
281 /* Define to 1 if you have the `stricmp' function. */
282 #undef HAVE_STRICMP
283
284 /* Define to 1 if you have the <strings.h> header file. */
285 #undef HAVE_STRINGS_H
286
287 /* Define to 1 if you have the <string.h> header file. */
288 #undef HAVE_STRING_H
289
290 /* Define to 1 if you have the `strtoul' function. */
291 #undef HAVE_STRTOUL
292
293 /* Define to 1 if you have the `syscall' function. */
294 #undef HAVE_SYSCALL
295
296 /* Define to 1 if you have the `sysconf' function. */
297 #undef HAVE_SYSCONF
298
299 /* Define to 1 if you have the `syslog' function. */
300 #undef HAVE_SYSLOG
301
302 /* Define to 1 if you have the <sys/capability.h> header file. */
303 #undef HAVE_SYS_CAPABILITY_H
304
305 /* Define to 1 if you have the <sys/mman.h> header file. */
306 #undef HAVE_SYS_MMAN_H
307
308 /* Define to 1 if you have the <sys/msg.h> header file. */
309 #undef HAVE_SYS_MSG_H
310
311 /* Define to 1 if you have the <sys/select.h> header file. */
312 #undef HAVE_SYS_SELECT_H
313
314 /* Define to 1 if you have the <sys/socket.h> header file. */
315 #undef HAVE_SYS_SOCKET_H
316
317 /* Define to 1 if you have the <sys/stat.h> header file. */
318 #undef HAVE_SYS_STAT_H
319
320 /* Define to 1 if you have the <sys/types.h> header file. */
321 #undef HAVE_SYS_TYPES_H
322
323 /* Defined if a `u16' is typedef'd */
324 #undef HAVE_U16_TYPEDEF
325
326 /* Defined if a `u32' is typedef'd */
327 #undef HAVE_U32_TYPEDEF
328
329 /* Define to 1 if the system has the type `uintptr_t'. */
330 #undef HAVE_UINTPTR_T
331
332 /* Defined if a `ulong' is typedef'd */
333 #undef HAVE_ULONG_TYPEDEF
334
335 /* Define to 1 if you have the <unistd.h> header file. */
336 #undef HAVE_UNISTD_H
337
338 /* Defined if a `ushort' is typedef'd */
339 #undef HAVE_USHORT_TYPEDEF
340
341 /* Defined if variable length arrays are supported */
342 #undef HAVE_VLA
343
344 /* Define to 1 if you have the `vprintf' function. */
345 #undef HAVE_VPRINTF
346
347 /* Defined if we run on WindowsCE */
348 #undef HAVE_W32CE_SYSTEM
349
350 /* Defined if we run on a W32 API based system */
351 #undef HAVE_W32_SYSTEM
352
353 /* Define to 1 if you have the `wait4' function. */
354 #undef HAVE_WAIT4
355
356 /* Define to 1 if you have the `waitpid' function. */
357 #undef HAVE_WAITPID
358
359 /* Define to 1 if you have the <winsock2.h> header file. */
360 #undef HAVE_WINSOCK2_H
361
362 /* Define to 1 if you have the <ws2tcpip.h> header file. */
363 #undef HAVE_WS2TCPIP_H
364
365 /* Defined if this is not a regular release */
366 #undef IS_DEVELOPMENT_VERSION
367
368 /* List of available cipher algorithms */
369 #undef LIBGCRYPT_CIPHERS
370
371 /* List of available digest algorithms */
372 #undef LIBGCRYPT_DIGESTS
373
374 /* List of available KDF algorithms */
375 #undef LIBGCRYPT_KDFS
376
377 /* List of available public key cipher algorithms */
378 #undef LIBGCRYPT_PUBKEY_CIPHERS
379
380 /* Define to the sub-directory in which libtool stores uninstalled libraries.
381    */
382 #undef LT_OBJDIR
383
384 /* Define to use the (obsolete) malloc guarding feature */
385 #undef M_GUARD
386
387 /* defined to the name of the strong random device */
388 #undef NAME_OF_DEV_RANDOM
389
390 /* defined to the name of the weaker random device */
391 #undef NAME_OF_DEV_URANDOM
392
393 /* Name of this package */
394 #undef PACKAGE
395
396 /* Define to the address where bug reports for this package should be sent. */
397 #undef PACKAGE_BUGREPORT
398
399 /* Define to the full name of this package. */
400 #undef PACKAGE_NAME
401
402 /* Define to the full name and version of this package. */
403 #undef PACKAGE_STRING
404
405 /* Define to the one symbol short name of this package. */
406 #undef PACKAGE_TARNAME
407
408 /* Define to the home page for this package. */
409 #undef PACKAGE_URL
410
411 /* Define to the version of this package. */
412 #undef PACKAGE_VERSION
413
414 /* A human readable text with the name of the OS */
415 #undef PRINTABLE_OS_NAME
416
417 /* Define as the return type of signal handlers (`int' or `void'). */
418 #undef RETSIGTYPE
419
420 /* The size of `uint64_t', as computed by sizeof. */
421 #undef SIZEOF_UINT64_T
422
423 /* The size of `unsigned int', as computed by sizeof. */
424 #undef SIZEOF_UNSIGNED_INT
425
426 /* The size of `unsigned long', as computed by sizeof. */
427 #undef SIZEOF_UNSIGNED_LONG
428
429 /* The size of `unsigned long long', as computed by sizeof. */
430 #undef SIZEOF_UNSIGNED_LONG_LONG
431
432 /* The size of `unsigned short', as computed by sizeof. */
433 #undef SIZEOF_UNSIGNED_SHORT
434
435 /* The size of `void *', as computed by sizeof. */
436 #undef SIZEOF_VOID_P
437
438 /* Define to 1 if you have the ANSI C header files. */
439 #undef STDC_HEADERS
440
441 /* Defined if this module should be included */
442 #undef USE_AES
443
444 /* Defined if this module should be included */
445 #undef USE_ARCFOUR
446
447 /* Defined if this module should be included */
448 #undef USE_BLAKE2
449
450 /* Defined if this module should be included */
451 #undef USE_BLOWFISH
452
453 /* Defined if this module should be included */
454 #undef USE_CAMELLIA
455
456 /* define if capabilities should be used */
457 #undef USE_CAPABILITIES
458
459 /* Defined if this module should be included */
460 #undef USE_CAST5
461
462 /* Defined if this module should be included */
463 #undef USE_CHACHA20
464
465 /* Defined if this module should be included */
466 #undef USE_CRC
467
468 /* Defined if this module should be included */
469 #undef USE_DES
470
471 /* Defined if this module should be included */
472 #undef USE_DSA
473
474 /* Defined if this module should be included */
475 #undef USE_ECC
476
477 /* Defined if this module should be included */
478 #undef USE_ELGAMAL
479
480 /* Defined if the GNU Portable Thread Library should be used */
481 #undef USE_GNU_PTH
482
483 /* Defined if this module should be included */
484 #undef USE_GOST28147
485
486 /* Defined if this module should be included */
487 #undef USE_GOST_R_3411_12
488
489 /* Defined if this module should be included */
490 #undef USE_GOST_R_3411_94
491
492 /* Defined if this module should be included */
493 #undef USE_IDEA
494
495 /* Defined if this module should be included */
496 #undef USE_MD2
497
498 /* Defined if this module should be included */
499 #undef USE_MD4
500
501 /* Defined if this module should be included */
502 #undef USE_MD5
503
504 /* set this to limit filenames to the 8.3 format */
505 #undef USE_ONLY_8DOT3
506
507 /* Define to support the experimental random daemon */
508 #undef USE_RANDOM_DAEMON
509
510 /* Defined if this module should be included */
511 #undef USE_RFC2268
512
513 /* Defined if this module should be included */
514 #undef USE_RMD160
515
516 /* Defined if the EGD based RNG should be used. */
517 #undef USE_RNDEGD
518
519 /* Defined if the /dev/random RNG should be used. */
520 #undef USE_RNDLINUX
521
522 /* Defined if the default Unix RNG should be used. */
523 #undef USE_RNDUNIX
524
525 /* Defined if the Windows specific RNG should be used. */
526 #undef USE_RNDW32
527
528 /* Defined if the WindowsCE specific RNG should be used. */
529 #undef USE_RNDW32CE
530
531 /* Defined if this module should be included */
532 #undef USE_RSA
533
534 /* Defined if this module should be included */
535 #undef USE_SALSA20
536
537 /* Defined if this module should be included */
538 #undef USE_SCRYPT
539
540 /* Defined if this module should be included */
541 #undef USE_SEED
542
543 /* Defined if this module should be included */
544 #undef USE_SERPENT
545
546 /* Defined if this module should be included */
547 #undef USE_SHA1
548
549 /* Defined if this module should be included */
550 #undef USE_SHA256
551
552 /* Defined if this module should be included */
553 #undef USE_SHA3
554
555 /* Defined if this module should be included */
556 #undef USE_SHA512
557
558 /* Enable extensions on AIX 3, Interix.  */
559 #ifndef _ALL_SOURCE
560 # undef _ALL_SOURCE
561 #endif
562 /* Enable GNU extensions on systems that have them.  */
563 #ifndef _GNU_SOURCE
564 # undef _GNU_SOURCE
565 #endif
566 /* Enable threading extensions on Solaris.  */
567 #ifndef _POSIX_PTHREAD_SEMANTICS
568 # undef _POSIX_PTHREAD_SEMANTICS
569 #endif
570 /* Enable extensions on HP NonStop.  */
571 #ifndef _TANDEM_SOURCE
572 # undef _TANDEM_SOURCE
573 #endif
574 /* Enable general extensions on Solaris.  */
575 #ifndef __EXTENSIONS__
576 # undef __EXTENSIONS__
577 #endif
578
579
580 /* Defined if this module should be included */
581 #undef USE_TIGER
582
583 /* Defined if this module should be included */
584 #undef USE_TWOFISH
585
586 /* Defined if this module should be included */
587 #undef USE_WHIRLPOOL
588
589 /* Version of this package */
590 #undef VERSION
591
592 /* Defined if compiled symbols have a leading underscore */
593 #undef WITH_SYMBOL_UNDERSCORE
594
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
600 # endif
601 #else
602 # ifndef WORDS_BIGENDIAN
603 #  undef WORDS_BIGENDIAN
604 # endif
605 #endif
606
607 /* Expose all libc features (__DARWIN_C_FULL). */
608 #undef _DARWIN_C_SOURCE
609
610 /* Define to 1 if on MINIX. */
611 #undef _MINIX
612
613 /* Define to 2 if the system does not provide POSIX.1 features except with
614    this defined. */
615 #undef _POSIX_1_SOURCE
616
617 /* Define to 1 if you need to in order for `stat' and other things to work. */
618 #undef _POSIX_SOURCE
619
620 /* To allow the use of Libgcrypt in multithreaded programs we have to use
621     special features from the library. */
622 #ifndef _REENTRANT
623 # define _REENTRANT 1
624 #endif
625
626
627 /* Define to supported assembler block keyword, if plain 'asm' was not
628    supported */
629 #undef asm
630
631 /* Define to empty if `const' does not conform to ANSI C. */
632 #undef const
633
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.  */
636 #ifndef __cplusplus
637 #undef inline
638 #endif
639
640 /* Define to `int' if <sys/types.h> does not define. */
641 #undef pid_t
642
643 /* Define to `unsigned int' if <sys/types.h> does not define. */
644 #undef size_t
645
646 /* type to use in place of socklen_t if not defined */
647 #undef socklen_t
648
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. */
651 #undef uintptr_t
652
653
654 #define _GCRYPT_IN_LIBGCRYPT 1
655
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
663 # else
664 #  error "No endianness found"
665 # endif
666 #endif /*DISABLED_ENDIAN_CHECK*/
667
668 /* We basically use the original Camellia source.  Make sure the symbols
669    properly prefixed.  */
670 #define CAMELLIA_EXT_SYM_PREFIX _gcry_
671
672 #endif /*_GCRYPT_CONFIG_H_INCLUDED*/
673