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