1 /* config.h.in. Generated from configure.ac by autoheader. */
4 #ifndef GNUPG_CONFIG_H_INCLUDED
5 #define GNUPG_CONFIG_H_INCLUDED
8 /* Defined if the host has big endian byte ordering */
14 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
15 systems. This function is required for `alloca.c' support on those systems.
17 #undef CRAY_STACKSEG_END
19 /* Define to 1 if using `alloca.c'. */
22 /* define to disable keyserver helpers */
23 #undef DISABLE_KEYSERVER_HELPERS
25 /* define to disable exec-path for keyserver helpers */
26 #undef DISABLE_KEYSERVER_PATH
28 /* define to disable photo viewing */
29 #undef DISABLE_PHOTO_VIEWER
31 /* Define to disable regular expression support */
34 /* Define if you don't want the default EGD socket name. For details see
36 #undef EGD_SOCKET_NAME
38 /* Define to include gpg-agent support */
39 #undef ENABLE_AGENT_SUPPORT
41 /* Define to include OpenPGP card support */
42 #undef ENABLE_CARD_SUPPORT
44 /* Define to 1 if translation of program messages to the user's native
45 language is requested. */
48 /* Define to enable SELinux support */
49 #undef ENABLE_SELINUX_HACKS
51 /* The executable file extension, if any */
54 /* if set, restrict photo-viewer to this */
55 #undef FIXED_PHOTO_VIEWER
57 /* Define to 1 if you have `alloca', as a function or macro. */
60 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
64 /* Define to 1 if you have the <argz.h> header file. */
67 /* Define to 1 if you have the `asprintf' function. */
70 /* Define to 1 if you have the `atexit' function. */
73 /* Define if `gethrtime(2)' does not work correctly i.e. issues a SIGILL. */
74 #undef HAVE_BROKEN_GETHRTIME
76 /* Defined if the mlock() call does not work */
77 #undef HAVE_BROKEN_MLOCK
79 /* Defined if a `byte' is typedef'd */
80 #undef HAVE_BYTE_TYPEDEF
82 /* Defined if the bz2 compression library is available */
85 /* Define to 1 if you have the `clock_gettime' function. */
86 #undef HAVE_CLOCK_GETTIME
88 /* Define to 1 if you have the `ctermid' function. */
91 /* Define if the GNU dcgettext() function is already present or preinstalled.
95 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
97 #undef HAVE_DECL_FEOF_UNLOCKED
99 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
101 #undef HAVE_DECL_FGETS_UNLOCKED
103 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
105 #undef HAVE_DECL_GETC_UNLOCKED
107 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
109 #undef HAVE_DECL_GETPAGESIZE
111 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
113 #undef HAVE_DECL_SYS_SIGLIST
115 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
117 #undef HAVE_DECL__SNPRINTF
119 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
121 #undef HAVE_DECL__SNWPRINTF
123 /* defined if the system supports a random device */
124 #undef HAVE_DEV_RANDOM
126 /* Define to 1 if you have the <direct.h> header file. */
129 /* Defined when the dlopen function family is available */
130 #undef HAVE_DL_DLOPEN
132 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
135 /* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
136 with special properties like no file modes */
137 #undef HAVE_DOSISH_SYSTEM
139 /* defined if we must run on a stupid file system */
140 #undef HAVE_DRIVE_LETTERS
142 /* Define to 1 if you have the `fcntl' function. */
145 /* Define to 1 if you have the `fork' function. */
148 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
151 /* Define to 1 if you have the `ftruncate' function. */
152 #undef HAVE_FTRUNCATE
154 /* Define to 1 if you have the `fwprintf' function. */
157 /* Define to 1 if you have the `getaddrinfo' function. */
158 #undef HAVE_GETADDRINFO
160 /* Define to 1 if you have the `getcwd' function. */
163 /* Define to 1 if you have the `getegid' function. */
166 /* Define to 1 if you have the `geteuid' function. */
169 /* Define to 1 if you have the `getgid' function. */
172 /* Define if you have the `gethrtime(2)' function. */
173 #undef HAVE_GETHRTIME
175 /* Define to 1 if you have the <getopt.h> header file. */
178 /* Define to 1 if you have the `getpagesize' function. */
179 #undef HAVE_GETPAGESIZE
181 /* Define to 1 if you have the `getpwnam' function. */
184 /* Define to 1 if you have the `getpwuid' function. */
187 /* Define to 1 if you have the `getrusage' function. */
188 #undef HAVE_GETRUSAGE
190 /* Define if the GNU gettext() function is already present or preinstalled. */
193 /* Define to 1 if you have the `gettimeofday' function. */
194 #undef HAVE_GETTIMEOFDAY
196 /* Define to 1 if you have the `getuid' function. */
199 /* Define if you have the iconv() function. */
202 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
205 /* Define to 1 if you have the <inttypes.h> header file. */
206 #undef HAVE_INTTYPES_H
208 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
209 declares uintmax_t. */
210 #undef HAVE_INTTYPES_H_WITH_UINTMAX
212 /* Define to 1 if you have the `isascii' function. */
215 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
216 #undef HAVE_LANGINFO_CODESET
218 /* Define to 1 if you have the <langinfo.h> header file. */
219 #undef HAVE_LANGINFO_H
221 /* Define if your <locale.h> file defines LC_MESSAGES. */
222 #undef HAVE_LC_MESSAGES
224 /* Define to 1 if you have the `ldap_get_option' function. */
225 #undef HAVE_LDAP_GET_OPTION
227 /* Define if the LDAP library supports ld_errno */
228 #undef HAVE_LDAP_LD_ERRNO
230 /* Define to 1 if you have the `ldap_set_option' function. */
231 #undef HAVE_LDAP_SET_OPTION
233 /* Define to 1 if you have the `ldap_start_tls_s' function. */
234 #undef HAVE_LDAP_START_TLS_S
236 /* Define to 1 if you have a functional curl library. */
239 /* Define to 1 if you have a fully functional readline library. */
240 #undef HAVE_LIBREADLINE
242 /* Define to 1 if you have the `rt' library (-lrt). */
245 /* Define to 1 if you have a fully functional libusb library. */
248 /* Define to 1 if you have the <limits.h> header file. */
251 /* Define to 1 if you have the <locale.h> header file. */
254 /* Define if you have the 'long double' type. */
255 #undef HAVE_LONG_DOUBLE
257 /* Define if you have the 'long long' type. */
258 #undef HAVE_LONG_LONG
260 /* Define to 1 if you have the <malloc.h> header file. */
263 /* Define to 1 if you have the `memmove' function. */
266 /* Define to 1 if you have the <memory.h> header file. */
269 /* Define to 1 if you have the `mempcpy' function. */
272 /* Define to 1 if you have the `memrchr' function. */
275 /* Define to 1 if you have the `mkdtemp' function. */
278 /* Defined if the system supports an mlock() call */
281 /* Define to 1 if you have the `mmap' function. */
284 /* Define to 1 if you have the `munmap' function. */
287 /* Define to 1 if you have the `nl_langinfo' function. */
288 #undef HAVE_NL_LANGINFO
290 /* Define to 1 if you have the <nl_types.h> header file. */
291 #undef HAVE_NL_TYPES_H
293 /* Define to 1 if you have the `pipe' function. */
296 /* Define to 1 if you have the `plock' function. */
299 /* Define if your printf() function supports format strings with positions. */
300 #undef HAVE_POSIX_PRINTF
302 /* Define to 1 if you have the `putenv' function. */
305 /* Define to 1 if you have the <pwd.h> header file. */
308 /* Define to 1 if you have the `raise' function. */
311 /* Define to 1 if you have the `rand' function. */
314 /* Define to 1 if you have the `setenv' function. */
317 /* Define to 1 if you have the `setlocale' function. */
318 #undef HAVE_SETLOCALE
320 /* Define to 1 if you have the `setrlimit' function. */
321 #undef HAVE_SETRLIMIT
323 /* Define to 1 if you have the `sigaction' function. */
324 #undef HAVE_SIGACTION
326 /* Define to 1 if you have the `sigprocmask' function. */
327 #undef HAVE_SIGPROCMASK
329 /* Define to 1 if the system has the type `sigset_t'. */
332 /* Define to 1 if you have the `snprintf' function. */
335 /* Define to 1 if you have the `stat' function. */
338 /* Define to 1 if you have the <stddef.h> header file. */
341 /* Define to 1 if you have the <stdint.h> header file. */
344 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
346 #undef HAVE_STDINT_H_WITH_UINTMAX
348 /* Define to 1 if you have the <stdlib.h> header file. */
351 /* Define to 1 if you have the `stpcpy' function. */
354 /* Define to 1 if you have the `strcasecmp' function. */
355 #undef HAVE_STRCASECMP
357 /* Define to 1 if you have the `strchr' function. */
360 /* Define to 1 if you have the `strdup' function. */
363 /* Define to 1 if you have the `strerror' function. */
366 /* Define to 1 if you have the `strftime' function. */
369 /* Define to 1 if you have the <strings.h> header file. */
370 #undef HAVE_STRINGS_H
372 /* Define to 1 if you have the <string.h> header file. */
375 /* Define to 1 if you have the `strlwr' function. */
378 /* Define to 1 if you have the `strncasecmp' function. */
379 #undef HAVE_STRNCASECMP
381 /* Define to 1 if you have the `strsep' function. */
384 /* Define to 1 if you have the `strtoul' function. */
387 /* Define to 1 if the system has the type `struct sigaction'. */
388 #undef HAVE_STRUCT_SIGACTION
390 /* Define to 1 if you have the <sys/capability.h> header file. */
391 #undef HAVE_SYS_CAPABILITY_H
393 /* Define to 1 if you have the <sys/ipc.h> header file. */
394 #undef HAVE_SYS_IPC_H
396 /* Define to 1 if you have the <sys/mman.h> header file. */
397 #undef HAVE_SYS_MMAN_H
399 /* Define to 1 if you have the <sys/param.h> header file. */
400 #undef HAVE_SYS_PARAM_H
402 /* Define to 1 if you have the <sys/shm.h> header file. */
403 #undef HAVE_SYS_SHM_H
405 /* Define to 1 if you have the <sys/stat.h> header file. */
406 #undef HAVE_SYS_STAT_H
408 /* Define to 1 if you have the <sys/types.h> header file. */
409 #undef HAVE_SYS_TYPES_H
411 /* Define to 1 if you have the `tcgetattr' function. */
412 #undef HAVE_TCGETATTR
414 /* Define to 1 if you have the <termio.h> header file. */
417 /* Define to 1 if you have the `timegm' function. */
420 /* Define to 1 if you have the `times' function. */
423 /* Define to 1 if you have the `tsearch' function. */
426 /* Defined if a `u16' is typedef'd */
427 #undef HAVE_U16_TYPEDEF
429 /* Defined if a `u32' is typedef'd */
430 #undef HAVE_U32_TYPEDEF
432 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
433 #undef HAVE_UINTMAX_T
435 /* Defined if a `ulong' is typedef'd */
436 #undef HAVE_ULONG_TYPEDEF
438 /* Define to 1 if you have the <unistd.h> header file. */
441 /* Define to 1 if you have the `unsetenv' function. */
444 /* Define if you have the 'unsigned long long' type. */
445 #undef HAVE_UNSIGNED_LONG_LONG
447 /* Define to 1 if you have the `usb_get_busses' function. */
448 #undef HAVE_USB_GET_BUSSES
450 /* Defined if a `ushort' is typedef'd */
451 #undef HAVE_USHORT_TYPEDEF
453 /* Define to 1 if you have the `vfork' function. */
456 /* Define to 1 if you have the <vfork.h> header file. */
459 /* Define to 1 if you have the `vprintf' function. */
462 /* Defined if we run on a W32 API based system */
463 #undef HAVE_W32_SYSTEM
465 /* Define to 1 if you have the `wait4' function. */
468 /* Define to 1 if you have the `waitpid' function. */
471 /* Define if you have the 'wchar_t' type. */
474 /* Define to 1 if you have the `wcslen' function. */
477 /* Define if you have the 'wint_t' type. */
480 /* Define to 1 if `fork' works. */
481 #undef HAVE_WORKING_FORK
483 /* Define to 1 if `vfork' works. */
484 #undef HAVE_WORKING_VFORK
486 /* Define to 1 if you have the `__argz_count' function. */
487 #undef HAVE___ARGZ_COUNT
489 /* Define to 1 if you have the `__argz_next' function. */
490 #undef HAVE___ARGZ_NEXT
492 /* Define to 1 if you have the `__argz_stringify' function. */
493 #undef HAVE___ARGZ_STRINGIFY
495 /* Define to 1 if you have the `__fsetlocking' function. */
496 #undef HAVE___FSETLOCKING
498 /* Define as const if the declaration of iconv() needs const. */
501 /* Define if integer division by zero raises signal SIGFPE. */
502 #undef INTDIV0_RAISES_SIGFPE
504 /* Defined if a SysV shared memory supports the LOCK flag */
505 #undef IPC_HAVE_SHM_LOCK
507 /* Defined if we can do a deferred shm release */
508 #undef IPC_RMID_DEFERRED_RELEASE
510 /* Defined if this is not a regular release */
511 #undef IS_DEVELOPMENT_VERSION
513 /* Defined if libcurl supports AsynchDNS */
514 #undef LIBCURL_FEATURE_ASYNCHDNS
516 /* Defined if libcurl supports IDN */
517 #undef LIBCURL_FEATURE_IDN
519 /* Defined if libcurl supports IPv6 */
520 #undef LIBCURL_FEATURE_IPV6
522 /* Defined if libcurl supports KRB4 */
523 #undef LIBCURL_FEATURE_KRB4
525 /* Defined if libcurl supports libz */
526 #undef LIBCURL_FEATURE_LIBZ
528 /* Defined if libcurl supports NTLM */
529 #undef LIBCURL_FEATURE_NTLM
531 /* Defined if libcurl supports SSL */
532 #undef LIBCURL_FEATURE_SSL
534 /* Defined if libcurl supports SSPI */
535 #undef LIBCURL_FEATURE_SSPI
537 /* Defined if libcurl supports DICT */
538 #undef LIBCURL_PROTOCOL_DICT
540 /* Defined if libcurl supports FILE */
541 #undef LIBCURL_PROTOCOL_FILE
543 /* Defined if libcurl supports FTP */
544 #undef LIBCURL_PROTOCOL_FTP
546 /* Defined if libcurl supports FTPS */
547 #undef LIBCURL_PROTOCOL_FTPS
549 /* Defined if libcurl supports HTTP */
550 #undef LIBCURL_PROTOCOL_HTTP
552 /* Defined if libcurl supports HTTPS */
553 #undef LIBCURL_PROTOCOL_HTTPS
555 /* Defined if libcurl supports LDAP */
556 #undef LIBCURL_PROTOCOL_LDAP
558 /* Defined if libcurl supports TELNET */
559 #undef LIBCURL_PROTOCOL_TELNET
561 /* Defined if libcurl supports TFTP */
562 #undef LIBCURL_PROTOCOL_TFTP
564 /* Defined if the host has little endian byte ordering */
565 #undef LITTLE_ENDIAN_HOST
567 /* Defined if mkdir() does not take permission flags */
568 #undef MKDIR_TAKES_ONE_ARG
570 /* defined to the name of the strong random device */
571 #undef NAME_OF_DEV_RANDOM
573 /* defined to the name of the weaker random device */
574 #undef NAME_OF_DEV_URANDOM
576 /* Define if the LDAP library requires including lber.h before ldap.h */
579 /* Define to disable all external program execution */
582 /* Name of package */
585 /* Define to the address where bug reports for this package should be sent. */
586 #undef PACKAGE_BUGREPORT
588 /* Define to the full name of this package. */
591 /* Define to the full name and version of this package. */
592 #undef PACKAGE_STRING
594 /* Define to the one symbol short name of this package. */
595 #undef PACKAGE_TARNAME
597 /* Define to the version of this package. */
598 #undef PACKAGE_VERSION
600 /* Size of the key and UID caches */
601 #undef PK_UID_CACHE_SIZE
603 /* A human readable text with the name of the OS */
604 #undef PRINTABLE_OS_NAME
606 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
607 #undef PRI_MACROS_BROKEN
609 /* Define as the return type of signal handlers (`int' or `void'). */
612 /* The size of `uint64_t', as computed by sizeof. */
613 #undef SIZEOF_UINT64_T
615 /* The size of `unsigned int', as computed by sizeof. */
616 #undef SIZEOF_UNSIGNED_INT
618 /* The size of `unsigned long', as computed by sizeof. */
619 #undef SIZEOF_UNSIGNED_LONG
621 /* The size of `unsigned long long', as computed by sizeof. */
622 #undef SIZEOF_UNSIGNED_LONG_LONG
624 /* The size of `unsigned short', as computed by sizeof. */
625 #undef SIZEOF_UNSIGNED_SHORT
627 /* Define as the maximum value of type 'size_t', if the system doesn't define
631 /* If using the C implementation of alloca, define if you know the
632 direction of stack growth for your system; otherwise it will be
633 automatically deduced at runtime.
634 STACK_DIRECTION > 0 => grows toward higher addresses
635 STACK_DIRECTION < 0 => grows toward lower addresses
636 STACK_DIRECTION = 0 => direction of growth unknown */
637 #undef STACK_DIRECTION
639 /* Define to 1 if you have the ANSI C header files. */
642 /* Define to include the AES, AES192, and AES256 ciphers */
645 /* Allow to select random modules at runtime. */
646 #undef USE_ALL_RANDOM_MODULES
648 /* Define to include the BLOWFISH cipher */
651 /* define if capabilities should be used */
652 #undef USE_CAPABILITIES
654 /* Define to include the CAST5 cipher */
657 /* define to use DNS CERT */
660 /* define to use our experimental DNS PKA */
663 /* define to use DNS SRV */
666 /* Define to enable the use of extensions */
667 #undef USE_DYNAMIC_LINKING
669 /* Define to use the new iconv based code */
670 #undef USE_GNUPG_ICONV
672 /* Define to include the IDEA cipher */
675 /* Define if you want to use the included regex lib */
676 #undef USE_INTERNAL_REGEX
678 /* set this to limit filenames to the 8.3 format */
679 #undef USE_ONLY_8DOT3
681 /* Defined if the EGD based RNG should be used. */
684 /* Defined if the /dev/random based RNG should be used. */
687 /* Defined if the default Unix RNG should be used. */
690 /* Defined if the Windows specific RNG should be used. */
693 /* Define to include the RSA public key algorithm */
696 /* Define to include the SHA-224 and SHA-256 digests */
699 /* Define to include the SHA-384 and SHA-512 digests */
702 /* define if the shared memory interface should be made available */
703 #undef USE_SHM_COPROCESSING
705 /* because the Unix gettext has too much overhead on MingW32 systems and these
706 systems lack Posix functions, we use a simplified version of gettext */
707 #undef USE_SIMPLE_GETTEXT
709 /* Define to include the TWOFISH cipher */
712 /* Version number of package */
715 /* Defined if compiled symbols have a leading underscore */
716 #undef WITH_SYMBOL_UNDERSCORE
718 /* Number of bits in a file offset, on hosts where this is settable. */
719 #undef _FILE_OFFSET_BITS
721 /* Enable GNU extensions on systems that have them. */
726 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
727 #undef _LARGEFILE_SOURCE
729 /* Define for large files, on AIX-style hosts. */
732 /* Define to empty if `const' does not conform to ANSI C. */
735 /* Define curl_free() as free() if our version of curl lacks curl_free. */
738 /* Define to `__inline__' or `__inline' if that's what the C compiler
739 calls it, or to nothing if 'inline' is not supported under any name. */
744 /* Define to `int' if <sys/types.h> does not define. */
747 /* Define to `long int' if <sys/types.h> does not define. */
750 /* Define to `int' if <sys/types.h> does not define. */
753 /* Define as the type of the result of subtracting two pointers, if the system
754 doesn't define it. */
757 /* Define to empty if the C compiler doesn't support this keyword. */
760 /* Define to `unsigned int' if <sys/types.h> does not define. */
763 /* Define to unsigned long or unsigned long long if <stdint.h> and
764 <inttypes.h> don't define. */
767 /* Define as `fork' if `vfork' does not work. */
770 /* Define to empty if the keyword `volatile' does not work. Warning: valid
771 code using `volatile' can become incorrect without. Disable with care. */
775 /* We didn't define endianness above, so get it from OS macros. This
776 is intended for making fat binary builds on OS X. */
777 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
778 #if defined(__BIG_ENDIAN__)
779 #define BIG_ENDIAN_HOST 1
780 #elif defined(__LITTLE_ENDIAN__)
781 #define LITTLE_ENDIAN_HOST 1
783 #error "No endianness found"
787 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
788 #define EXEC_TEMPFILE_ONLY
791 /* This is the major version number of GnuPG so that
792 source included files can test for this. */
793 #define GNUPG_MAJOR_VERSION 1
797 #endif /*GNUPG_CONFIG_H_INCLUDED*/