1 /* config.h.in. Generated from configure.ac by autoheader. */
4 #ifndef GNUPG_CONFIG_H_INCLUDED
5 #define GNUPG_CONFIG_H_INCLUDED
8 /* Define this to an absolute name of <stdint.h>. */
9 #undef ABSOLUTE_STDINT_H
11 /* Defined if the host has big endian byte ordering */
12 #undef BIG_ENDIAN_HOST
17 /* Define to the number of bits in type 'ptrdiff_t'. */
18 #undef BITSIZEOF_PTRDIFF_T
20 /* Define to the number of bits in type 'sig_atomic_t'. */
21 #undef BITSIZEOF_SIG_ATOMIC_T
23 /* Define to the number of bits in type 'size_t'. */
24 #undef BITSIZEOF_SIZE_T
26 /* Define to the number of bits in type 'wchar_t'. */
27 #undef BITSIZEOF_WCHAR_T
29 /* Define to the number of bits in type 'wint_t'. */
30 #undef BITSIZEOF_WINT_T
32 /* GIT commit id revision used to build this package */
35 /* The time this package was configured for a build */
36 #undef BUILD_TIMESTAMP
38 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
39 systems. This function is required for `alloca.c' support on those systems.
41 #undef CRAY_STACKSEG_END
43 /* Define to 1 if using `alloca.c'. */
46 /* define to disable keyserver helpers */
47 #undef DISABLE_KEYSERVER_HELPERS
49 /* Defined to disable exec-path for keyserver helpers */
50 #undef DISABLE_KEYSERVER_PATH
52 /* define to disable photo viewing */
53 #undef DISABLE_PHOTO_VIEWER
55 /* Define to disable regular expression support */
58 /* Define to 1 if translation of program messages to the user's native
59 language is requested. */
62 /* Define to enable SELinux support */
63 #undef ENABLE_SELINUX_HACKS
65 /* The executable file extension, if any */
68 /* if set, restrict photo-viewer to this */
69 #undef FIXED_PHOTO_VIEWER
71 /* version of the libbassuan library */
72 #undef GNUPG_LIBASSUAN_VERSION
74 /* Define to 1 if you have the `adns_free' function. */
77 /* Define to 1 if you have the <adns.h> header file. */
80 /* Define to 1 if you have `alloca' after including <alloca.h>, a header that
81 may be supplied by this distribution. */
84 /* Define HAVE_ALLOCA_H for backward compatibility with older code that
85 includes <alloca.h> only if HAVE_ALLOCA_H is defined. */
88 /* Define to 1 if you have the `atexit' function. */
91 /* Defined if a `byte' is typedef'd */
92 #undef HAVE_BYTE_TYPEDEF
94 /* Defined if the bz2 compression library is available */
97 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
98 CoreFoundation framework. */
99 #undef HAVE_CFLOCALECOPYCURRENT
101 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
102 the CoreFoundation framework. */
103 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
105 /* Define to 1 if you have the `clock_gettime' function. */
106 #undef HAVE_CLOCK_GETTIME
108 /* Define to 1 if you have the `ctermid' function. */
111 /* Define if the GNU dcgettext() function is already present or preinstalled.
113 #undef HAVE_DCGETTEXT
115 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
117 #undef HAVE_DECL_GETPAGESIZE
119 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
121 #undef HAVE_DECL_SYS_SIGLIST
123 /* Define to 1 if you have the <direct.h> header file. */
126 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
129 /* Defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
130 with special properties like no file modes */
131 #undef HAVE_DOSISH_SYSTEM
133 /* defined if we must run on a stupid file system */
134 #undef HAVE_DRIVE_LETTERS
136 /* Define if you have the declaration of environ. */
137 #undef HAVE_ENVIRON_DECL
139 /* Define to 1 if you have the `fcntl' function. */
142 /* Define to 1 if you have the `flockfile' function. */
143 #undef HAVE_FLOCKFILE
145 /* Define to 1 if you have the `fopencookie' function. */
146 #undef HAVE_FOPENCOOKIE
148 /* Define to 1 if you have the `fork' function. */
151 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
154 /* Define to 1 if you have the `fsync' function. */
157 /* Define to 1 if you have the `ftello' function. */
160 /* Define to 1 if you have the `ftruncate' function. */
161 #undef HAVE_FTRUNCATE
163 /* Define to 1 if you have the `funlockfile' function. */
164 #undef HAVE_FUNLOCKFILE
166 /* Define to 1 if you have the `funopen' function. */
169 /* Define to 1 if you have the `getaddrinfo' function. */
170 #undef HAVE_GETADDRINFO
172 /* Define to 1 if you have the <getopt.h> header file. */
175 /* Define to 1 if you have the `getpagesize' function. */
176 #undef HAVE_GETPAGESIZE
178 /* Define to 1 if you have the `getpwnam' function. */
181 /* Define to 1 if you have the `getpwuid' function. */
184 /* Define to 1 if you have the `getrlimit' function. */
185 #undef HAVE_GETRLIMIT
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 `gmtime_r' function. */
199 /* Define if you have the iconv() function and it works. */
202 /* Define to 1 if you have the `inet_ntop' function. */
203 #undef HAVE_INET_NTOP
205 /* Define to 1 if the system has the type `intmax_t'. */
208 /* Define to 1 if you have the <inttypes.h> header file. */
209 #undef HAVE_INTTYPES_H
211 /* Define to 1 if you have the `isascii' function. */
214 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
215 #undef HAVE_LANGINFO_CODESET
217 /* Define to 1 if you have the <langinfo.h> header file. */
218 #undef HAVE_LANGINFO_H
220 /* Define if you have <langinfo.h> and nl_langinfo(THOUSANDS_SEP). */
221 #undef HAVE_LANGINFO_THOUSANDS_SEP
223 /* Define if your <locale.h> file defines LC_MESSAGES. */
224 #undef HAVE_LC_MESSAGES
226 /* Define to 1 if you have the `ldap_get_option' function. */
227 #undef HAVE_LDAP_GET_OPTION
229 /* Define if the LDAP library supports ld_errno */
230 #undef HAVE_LDAP_LD_ERRNO
232 /* Define to 1 if you have the `ldap_set_option' function. */
233 #undef HAVE_LDAP_SET_OPTION
235 /* Define to 1 if you have the `ldap_start_tls_s' function. */
236 #undef HAVE_LDAP_START_TLS_S
238 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
239 #undef HAVE_LDAP_START_TLS_SA
241 /* Define to 1 if you have a functional curl library. */
244 /* Define to 1 if you have a fully functional readline library. */
245 #undef HAVE_LIBREADLINE
247 /* defined if libusb is available */
250 /* defined if libutil is available */
253 /* Define to 1 if you have the <locale.h> header file. */
256 /* Define to 1 if the system has the type `long double'. */
257 #undef HAVE_LONG_DOUBLE
259 /* Define to 1 if the system has the type `long long int'. */
260 #undef HAVE_LONG_LONG_INT
262 /* Define to 1 if you have the `memicmp' function. */
265 /* Define to 1 if you have the `memmove' function. */
268 /* Define to 1 if you have the <memory.h> header file. */
271 /* Define to 1 if you have the `memrchr' function. */
274 /* Define to 1 if you have the `mkdtemp' function. */
277 /* Define to 1 if you have the `mmap' function. */
280 /* Define to 1 if you have the `nl_langinfo' function. */
281 #undef HAVE_NL_LANGINFO
283 /* Define to 1 if you have the `pipe' function. */
286 /* Defined if the GNU Pth is available */
289 /* Define to 1 if the system has the type `ptrdiff_t'. */
290 #undef HAVE_PTRDIFF_T
292 /* Define to 1 if you have the <pty.h> header file. */
295 /* Define to 1 if you have the <pwd.h> header file. */
298 /* Define to 1 if you have the `raise' function. */
301 /* Define to 1 if you have the `rand' function. */
304 /* Define to 1 if you have the <search.h> header file. */
307 /* Define to 1 if you have the `setenv' function. */
310 /* Define to 1 if you have the `setlocale' function. */
311 #undef HAVE_SETLOCALE
313 /* Define to 1 if you have the `setrlimit' function. */
314 #undef HAVE_SETRLIMIT
316 /* Define to 1 if you have the `sigaction' function. */
317 #undef HAVE_SIGACTION
319 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
320 #undef HAVE_SIGNED_SIG_ATOMIC_T
322 /* Define to 1 if 'wchar_t' is a signed integer type. */
323 #undef HAVE_SIGNED_WCHAR_T
325 /* Define to 1 if 'wint_t' is a signed integer type. */
326 #undef HAVE_SIGNED_WINT_T
328 /* Define to 1 if you have the `sigprocmask' function. */
329 #undef HAVE_SIGPROCMASK
331 /* Define to 1 if the system has the type `sigset_t'. */
334 /* Define to 1 if you have the `stat' function. */
337 /* Define to 1 if you have the <stdint.h> header file. */
340 /* Define to 1 if you have the <stdlib.h> header file. */
343 /* Define to 1 if you have the `stpcpy' function. */
346 /* Define to 1 if you have the `strcasecmp' function. */
347 #undef HAVE_STRCASECMP
349 /* Define to 1 if you have the `strchr' function. */
352 /* Define to 1 if you have the `strerror' function. */
355 /* Define to 1 if you have the `strftime' function. */
358 /* Define to 1 if you have the `stricmp' function. */
361 /* Define to 1 if you have the <strings.h> header file. */
362 #undef HAVE_STRINGS_H
364 /* Define to 1 if you have the <string.h> header file. */
367 /* Define to 1 if you have the `strlwr' function. */
370 /* Define to 1 if you have the `strncasecmp' function. */
371 #undef HAVE_STRNCASECMP
373 /* Define to 1 if you have the `strpbrk' function. */
376 /* Define to 1 if you have the `strsep' function. */
379 /* Define to 1 if you have the `strtol' function. */
382 /* Define to 1 if you have the `strtoul' function. */
385 /* Define to 1 if the system has the type `struct sigaction'. */
386 #undef HAVE_STRUCT_SIGACTION
388 /* Define to 1 if you have the <sys/bitypes.h> header file. */
389 #undef HAVE_SYS_BITYPES_H
391 /* Define to 1 if you have the <sys/inttypes.h> header file. */
392 #undef HAVE_SYS_INTTYPES_H
394 /* Define to 1 if you have the <sys/socket.h> header file. */
395 #undef HAVE_SYS_SOCKET_H
397 /* Define to 1 if you have the <sys/stat.h> header file. */
398 #undef HAVE_SYS_STAT_H
400 /* Define to 1 if you have the <sys/time.h> header file. */
401 #undef HAVE_SYS_TIME_H
403 /* Define to 1 if you have the <sys/types.h> header file. */
404 #undef HAVE_SYS_TYPES_H
406 /* Define to 1 if you have the `tcgetattr' function. */
407 #undef HAVE_TCGETATTR
409 /* Define to 1 if you have the <termio.h> header file. */
412 /* Define to 1 if you have the `timegm' function. */
415 /* Define to 1 if you have the `times' function. */
418 /* Define to 1 if you have the <time.h> header file. */
421 /* Define to 1 if you have the `tsearch' function. */
424 /* Define to 1 if you have the `ttyname' function. */
427 /* Defined if a `u16' is typedef'd */
428 #undef HAVE_U16_TYPEDEF
430 /* Defined if a `u32' is typedef'd */
431 #undef HAVE_U32_TYPEDEF
433 /* Define to 1 if the system has the type `uintmax_t'. */
434 #undef HAVE_UINTMAX_T
436 /* Defined if a `ulong' is typedef'd */
437 #undef HAVE_ULONG_TYPEDEF
439 /* Define to 1 if you have the <unistd.h> header file. */
442 /* Define to 1 if you have the `unsetenv' function. */
445 /* Define to 1 if the system has the type `unsigned long long int'. */
446 #undef HAVE_UNSIGNED_LONG_LONG_INT
448 /* Define to 1 if you have the `usb_create_match' function. */
449 #undef HAVE_USB_CREATE_MATCH
451 /* Defined if a `ushort' is typedef'd */
452 #undef HAVE_USHORT_TYPEDEF
454 /* Define to 1 if you have the <utmp.h> header file. */
457 /* Define to 1 if you have the `vfork' function. */
460 /* Define to 1 if you have the <vfork.h> header file. */
463 /* Define to 1 if you have the `vprintf' function. */
466 /* Defined if we run on a W32 API based system */
467 #undef HAVE_W32_SYSTEM
469 /* Define to 1 if you have the `wait4' function. */
472 /* Define to 1 if you have the `waitpid' function. */
475 /* Define to 1 if you have the <wchar.h> header file. */
478 /* Define to 1 if you have the <winsock2.h> header file. */
479 #undef HAVE_WINSOCK2_H
481 /* Define to 1 if `fork' works. */
482 #undef HAVE_WORKING_FORK
484 /* Define to 1 if `vfork' works. */
485 #undef HAVE_WORKING_VFORK
487 /* Define to 1 if you have the <ws2tcpip.h> header file. */
488 #undef HAVE_WS2TCPIP_H
490 /* Define as const if the declaration of iconv() needs const. */
493 /* Defined if this is not a regular release */
494 #undef IS_DEVELOPMENT_VERSION
496 /* Defined if libcurl supports AsynchDNS */
497 #undef LIBCURL_FEATURE_ASYNCHDNS
499 /* Defined if libcurl supports IDN */
500 #undef LIBCURL_FEATURE_IDN
502 /* Defined if libcurl supports IPv6 */
503 #undef LIBCURL_FEATURE_IPV6
505 /* Defined if libcurl supports KRB4 */
506 #undef LIBCURL_FEATURE_KRB4
508 /* Defined if libcurl supports libz */
509 #undef LIBCURL_FEATURE_LIBZ
511 /* Defined if libcurl supports NTLM */
512 #undef LIBCURL_FEATURE_NTLM
514 /* Defined if libcurl supports SSL */
515 #undef LIBCURL_FEATURE_SSL
517 /* Defined if libcurl supports SSPI */
518 #undef LIBCURL_FEATURE_SSPI
520 /* Defined if libcurl supports DICT */
521 #undef LIBCURL_PROTOCOL_DICT
523 /* Defined if libcurl supports FILE */
524 #undef LIBCURL_PROTOCOL_FILE
526 /* Defined if libcurl supports FTP */
527 #undef LIBCURL_PROTOCOL_FTP
529 /* Defined if libcurl supports FTPS */
530 #undef LIBCURL_PROTOCOL_FTPS
532 /* Defined if libcurl supports HTTP */
533 #undef LIBCURL_PROTOCOL_HTTP
535 /* Defined if libcurl supports HTTPS */
536 #undef LIBCURL_PROTOCOL_HTTPS
538 /* Defined if libcurl supports LDAP */
539 #undef LIBCURL_PROTOCOL_LDAP
541 /* Defined if libcurl supports TELNET */
542 #undef LIBCURL_PROTOCOL_TELNET
544 /* Defined if libcurl supports TFTP */
545 #undef LIBCURL_PROTOCOL_TFTP
547 /* The version of the libcurl library in packed hex form */
548 #undef LIBCURL_VERNUM
550 /* Defined if the host has little endian byte ordering */
551 #undef LITTLE_ENDIAN_HOST
553 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
554 #undef MALLOC_0_IS_NONNULL
556 /* Defined if mkdir() does not take permission flags */
557 #undef MKDIR_TAKES_ONE_ARG
559 /* Required version of Libksba */
560 #undef NEED_KSBA_VERSION
562 /* Define if the LDAP library requires including lber.h before ldap.h */
565 /* Required version of Libgcrypt */
566 #undef NEED_LIBGCRYPT_VERSION
568 /* Define to disable all external program execution */
571 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
572 #undef NO_MINUS_C_MINUS_O
574 /* Name of this package */
577 /* Bug report address */
578 #undef PACKAGE_BUGREPORT
580 /* Name of this package for gettext */
583 /* Define to the full name of this package. */
586 /* Define to the full name and version of this package. */
587 #undef PACKAGE_STRING
589 /* Define to the one symbol short name of this package. */
590 #undef PACKAGE_TARNAME
592 /* Define to the home page for this package. */
595 /* Define to the version of this package. */
596 #undef PACKAGE_VERSION
598 /* Size of the key and UID caches */
599 #undef PK_UID_CACHE_SIZE
601 /* A human readable text with the name of the OS */
602 #undef PRINTABLE_OS_NAME
604 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
606 #undef PTRDIFF_T_SUFFIX
608 /* Define as the return type of signal handlers (`int' or `void'). */
611 /* defines the filename of the shred program */
614 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
616 #undef SIG_ATOMIC_T_SUFFIX
618 /* The size of `time_t', as computed by sizeof. */
621 /* The size of `uint64_t', as computed by sizeof. */
622 #undef SIZEOF_UINT64_T
624 /* The size of `unsigned int', as computed by sizeof. */
625 #undef SIZEOF_UNSIGNED_INT
627 /* The size of `unsigned long', as computed by sizeof. */
628 #undef SIZEOF_UNSIGNED_LONG
630 /* The size of `unsigned long long', as computed by sizeof. */
631 #undef SIZEOF_UNSIGNED_LONG_LONG
633 /* The size of `unsigned short', as computed by sizeof. */
634 #undef SIZEOF_UNSIGNED_SHORT
636 /* The size of `void *', as computed by sizeof. */
639 /* Define as the maximum value of type 'size_t', if the system doesn't define
643 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
647 /* If using the C implementation of alloca, define if you know the
648 direction of stack growth for your system; otherwise it will be
649 automatically deduced at runtime.
650 STACK_DIRECTION > 0 => grows toward higher addresses
651 STACK_DIRECTION < 0 => grows toward lower addresses
652 STACK_DIRECTION = 0 => direction of growth unknown */
653 #undef STACK_DIRECTION
655 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
656 #undef STAT_MACROS_BROKEN
658 /* Define to 1 if you have the ANSI C header files. */
661 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
662 #undef TIME_WITH_SYS_TIME
664 /* Use ADNS as resolver library. */
667 /* define to use DNS CERT */
670 /* define to use our experimental DNS PKA */
673 /* define to use DNS SRV */
676 /* Defined if the GNU Portable Thread Library should be used */
679 /* set this to limit filenames to the 8.3 format */
680 #undef USE_ONLY_8DOT3
682 /* because the Unix gettext has too much overhead on MingW32 systems and these
683 systems lack Posix functions, we use a simplified version of gettext */
684 #undef USE_SIMPLE_GETTEXT
686 /* Use a standard socket for the agent by default */
687 #undef USE_STANDARD_SOCKET
689 /* Enable extensions on AIX 3, Interix. */
693 /* Enable GNU extensions on systems that have them. */
697 /* Enable threading extensions on Solaris. */
698 #ifndef _POSIX_PTHREAD_SEMANTICS
699 # undef _POSIX_PTHREAD_SEMANTICS
701 /* Enable extensions on HP NonStop. */
702 #ifndef _TANDEM_SOURCE
703 # undef _TANDEM_SOURCE
705 /* Enable general extensions on Solaris. */
706 #ifndef __EXTENSIONS__
707 # undef __EXTENSIONS__
711 /* Version of this package */
714 /* Define if unsetenv() returns void, not int. */
717 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
719 #undef WCHAR_T_SUFFIX
721 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
725 /* Enable large inode numbers on Mac OS X 10.5. */
726 #ifndef _DARWIN_USE_64_BIT_INODE
727 # define _DARWIN_USE_64_BIT_INODE 1
730 /* Number of bits in a file offset, on hosts where this is settable. */
731 #undef _FILE_OFFSET_BITS
733 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
734 #undef _LARGEFILE_SOURCE
736 /* Define for large files, on AIX-style hosts. */
739 /* Define to 1 if on MINIX. */
742 /* Define to 2 if the system does not provide POSIX.1 features except with
744 #undef _POSIX_1_SOURCE
746 /* Define to 1 if you need to in order for `stat' and other things to work. */
749 /* Define to empty if `const' does not conform to ANSI C. */
752 /* Define curl_free() as free() if our version of curl lacks curl_free. */
755 /* Define to `__inline__' or `__inline' if that's what the C compiler
756 calls it, or to nothing if 'inline' is not supported under any name. */
761 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
765 /* Define to `int' if <sys/types.h> does not define. */
768 /* Define to `int' if <sys/types.h> does not define. */
771 /* Define to `unsigned int' if <sys/types.h> does not define. */
774 /* type to use in place of socklen_t if not defined */
777 /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
781 /* Define as `fork' if `vfork' does not work. */
784 /* Define to empty if the keyword `volatile' does not work. Warning: valid
785 code using `volatile' can become incorrect without. Disable with care. */
789 /* This is the major version number of GnuPG so that
790 source included files can test for this. Note, that
791 we use 2 here even for GnuPG 1.9.x. */
792 #define GNUPG_MAJOR_VERSION 2
794 /* Now to separate file name parts.
795 Please note that the string version must not contain more
796 than one character because the code assumes strlen()==1 */
797 #ifdef HAVE_DOSISH_SYSTEM
798 #define DIRSEP_C '\\'
799 #define DIRSEP_S "\\"
802 #define PATHSEP_C ';'
803 #define PATHSEP_S ";"
804 #define EXEEXT_S ".exe"
810 #define PATHSEP_C ':'
811 #define PATHSEP_S ":"
815 /* This is the same as VERSION, but should be overridden if the
816 platform cannot handle things like dots '.' in filenames. Set
817 SAFE_VERSION_DOT and SAFE_VERSION_DASH to whatever SAFE_VERSION
818 uses for dots and dashes. */
819 #define SAFE_VERSION VERSION
820 #define SAFE_VERSION_DOT '.'
821 #define SAFE_VERSION_DASH '-'
823 /* Some global constants. */
824 #ifdef HAVE_DRIVE_LETTERS
825 #define GNUPG_DEFAULT_HOMEDIR "c:/gnupg"
827 #define GNUPG_DEFAULT_HOMEDIR "/SYS\$LOGIN/gnupg"
829 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
831 #define GNUPG_PRIVATE_KEYS_DIR "private-keys-v1.d"
833 /* For some systems (DOS currently), we hardcode the path here. For
834 POSIX systems the values are constructed by the Makefiles, so that
835 the values may be overridden by the make invocations; this is to
836 comply with the GNU coding standards. */
837 #ifdef HAVE_DRIVE_LETTERS
838 /* FIXME: We need to use a function to determine these values depending
839 on the actual installation directory. */
840 #define GNUPG_BINDIR "c:\\gnupg"
841 #define GNUPG_LIBEXECDIR "c:\\gnupg"
842 #define GNUPG_LIBDIR "c:\\gnupg"
843 #define GNUPG_DATADIR "c:\\gnupg"
844 #define GNUPG_SYSCONFDIR "c:\\gnupg"
847 /* Derive some other constants. */
848 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
849 #define EXEC_TEMPFILE_ONLY
853 /* We didn't define endianness above, so get it from OS macros. This
854 is intended for making fat binary builds on OS X. */
855 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
856 #if defined(__BIG_ENDIAN__)
857 #define BIG_ENDIAN_HOST 1
858 #elif defined(__LITTLE_ENDIAN__)
859 #define LITTLE_ENDIAN_HOST 1
861 #error "No endianness found"
866 /* Hack used for W32: ldap.m4 also tests for the ASCII version of
867 ldap_start_tls_s because that is the actual symbol used in the
868 library. winldap.h redefines it to our commonly used value,
869 thus we define our usual macro here. */
870 #ifdef HAVE_LDAP_START_TLS_SA
871 # ifndef HAVE_LDAP_START_TLS_S
872 # define HAVE_LDAP_START_TLS_S 1
877 /* Tell libgcrypt not to use its own libgpg-error implementation. */
878 #define USE_LIBGPG_ERROR 1
880 /* We use jnlib, so tell other modules about it. */
881 #define HAVE_JNLIB_LOGGING 1
883 /* Our HTTP code is used in estream mode. */
884 #define HTTP_USE_ESTREAM 1
886 /* Under W32 we do an explicit socket initialization, thus we need to
887 avoid the on-demand initialization which would also install an atexit
889 #define HTTP_NO_WSASTARTUP
891 /* We always include support for the OpenPGP card. */
892 #define ENABLE_CARD_SUPPORT 1
894 /* We don't want the old assuan codes anymore. */
895 #define _ASSUAN_ONLY_GPG_ERRORS 1
897 /* We don't need any of the old gcrypt functions. */
898 #define GCRYPT_NO_DEPRECATED 1
900 /* We explicitly need to disable PTH's soft mapping as Debian
901 currently enables it by default for no reason. */
902 #define PTH_SYSCALL_SOFT 0
904 /* We want to use the libgcrypt provided memory allocation for
906 #define _ESTREAM_PRINTF_MALLOC gcry_malloc
907 #define _ESTREAM_PRINTF_FREE gcry_free
908 #define _ESTREAM_PRINTF_EXTRA_INCLUDE "util.h"
910 #endif /*GNUPG_CONFIG_H_INCLUDED*/