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 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
33 systems. This function is required for `alloca.c' support on those systems.
35 #undef CRAY_STACKSEG_END
37 /* Define to 1 if using `alloca.c'. */
40 /* define to disable keyserver helpers */
41 #undef DISABLE_KEYSERVER_HELPERS
43 /* Defined to disable exec-path for keyserver helpers */
44 #undef DISABLE_KEYSERVER_PATH
46 /* define to disable photo viewing */
47 #undef DISABLE_PHOTO_VIEWER
49 /* Define to disable regular expression support */
52 /* Define to 1 if translation of program messages to the user's native
53 language is requested. */
56 /* Define to enable SELinux support */
57 #undef ENABLE_SELINUX_HACKS
59 /* The executable file extension, if any */
62 /* if set, restrict photo-viewer to this */
63 #undef FIXED_PHOTO_VIEWER
65 /* version of the libbassuan library */
66 #undef GNUPG_LIBASSUAN_VERSION
68 /* Define to 1 if you have the `adns_free' function. */
71 /* Define to 1 if you have the <adns.h> header file. */
74 /* Define to 1 if you have `alloca' after including <alloca.h>, a header that
75 may be supplied by this distribution. */
78 /* Define HAVE_ALLOCA_H for backward compatibility with older code that
79 includes <alloca.h> only if HAVE_ALLOCA_H is defined. */
82 /* Define to 1 if you have the `atexit' function. */
85 /* Defined if a `byte' is typedef'd */
86 #undef HAVE_BYTE_TYPEDEF
88 /* Defined if the bz2 compression library is available */
91 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
92 CoreFoundation framework. */
93 #undef HAVE_CFLOCALECOPYCURRENT
95 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
96 the CoreFoundation framework. */
97 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
99 /* Define to 1 if you have the `clock_gettime' function. */
100 #undef HAVE_CLOCK_GETTIME
102 /* Define to 1 if you have the `ctermid' function. */
105 /* Define if the GNU dcgettext() function is already present or preinstalled.
107 #undef HAVE_DCGETTEXT
109 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
111 #undef HAVE_DECL_GETPAGESIZE
113 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
115 #undef HAVE_DECL_SYS_SIGLIST
117 /* Define to 1 if you have the <direct.h> header file. */
120 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
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
127 /* defined if we must run on a stupid file system */
128 #undef HAVE_DRIVE_LETTERS
130 /* Define if you have the declaration of environ. */
131 #undef HAVE_ENVIRON_DECL
133 /* Define to 1 if you have the `fcntl' function. */
136 /* Define to 1 if you have the `flockfile' function. */
137 #undef HAVE_FLOCKFILE
139 /* Define to 1 if you have the `fopencookie' function. */
140 #undef HAVE_FOPENCOOKIE
142 /* Define to 1 if you have the `fork' function. */
145 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
148 /* Define to 1 if you have the `fsync' function. */
151 /* Define to 1 if you have the `ftello' function. */
154 /* Define to 1 if you have the `ftruncate' function. */
155 #undef HAVE_FTRUNCATE
157 /* Define to 1 if you have the `funlockfile' function. */
158 #undef HAVE_FUNLOCKFILE
160 /* Define to 1 if you have the `funopen' function. */
163 /* Define to 1 if you have the `getaddrinfo' function. */
164 #undef HAVE_GETADDRINFO
166 /* Define to 1 if you have the <getopt.h> header file. */
169 /* Define to 1 if you have the `getpagesize' function. */
170 #undef HAVE_GETPAGESIZE
172 /* Define to 1 if you have the `getpwnam' function. */
175 /* Define to 1 if you have the `getpwuid' function. */
178 /* Define to 1 if you have the `getrlimit' function. */
179 #undef HAVE_GETRLIMIT
181 /* Define to 1 if you have the `getrusage' function. */
182 #undef HAVE_GETRUSAGE
184 /* Define if the GNU gettext() function is already present or preinstalled. */
187 /* Define to 1 if you have the `gettimeofday' function. */
188 #undef HAVE_GETTIMEOFDAY
190 /* Define to 1 if you have the `gmtime_r' function. */
193 /* Define if you have the iconv() function and it works. */
196 /* Define to 1 if the system has the type `intmax_t'. */
199 /* Define to 1 if you have the <inttypes.h> header file. */
200 #undef HAVE_INTTYPES_H
202 /* Define to 1 if you have the `isascii' function. */
205 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
206 #undef HAVE_LANGINFO_CODESET
208 /* Define to 1 if you have the <langinfo.h> header file. */
209 #undef HAVE_LANGINFO_H
211 /* Define if you have <langinfo.h> and nl_langinfo(THOUSANDS_SEP). */
212 #undef HAVE_LANGINFO_THOUSANDS_SEP
214 /* Define if your <locale.h> file defines LC_MESSAGES. */
215 #undef HAVE_LC_MESSAGES
217 /* Define to 1 if you have the `ldap_get_option' function. */
218 #undef HAVE_LDAP_GET_OPTION
220 /* Define if the LDAP library supports ld_errno */
221 #undef HAVE_LDAP_LD_ERRNO
223 /* Define to 1 if you have the `ldap_set_option' function. */
224 #undef HAVE_LDAP_SET_OPTION
226 /* Define to 1 if you have the `ldap_start_tls_s' function. */
227 #undef HAVE_LDAP_START_TLS_S
229 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
230 #undef HAVE_LDAP_START_TLS_SA
232 /* Define to 1 if you have a functional curl library. */
235 /* Define to 1 if you have a fully functional readline library. */
236 #undef HAVE_LIBREADLINE
238 /* defined if libusb is available */
241 /* defined if libutil is available */
244 /* Define to 1 if you have the <locale.h> header file. */
247 /* Define to 1 if the system has the type `long double'. */
248 #undef HAVE_LONG_DOUBLE
250 /* Define to 1 if the system has the type `long long int'. */
251 #undef HAVE_LONG_LONG_INT
253 /* Define to 1 if you have the `memicmp' function. */
256 /* Define to 1 if you have the `memmove' function. */
259 /* Define to 1 if you have the <memory.h> header file. */
262 /* Define to 1 if you have the `memrchr' function. */
265 /* Define to 1 if you have the `mkdtemp' function. */
268 /* Define to 1 if you have the `mmap' function. */
271 /* Define to 1 if you have the `nl_langinfo' function. */
272 #undef HAVE_NL_LANGINFO
274 /* Define to 1 if you have the `pipe' function. */
277 /* Defined if the GNU Pth is available */
280 /* Define to 1 if the system has the type `ptrdiff_t'. */
281 #undef HAVE_PTRDIFF_T
283 /* Define to 1 if you have the <pty.h> header file. */
286 /* Define to 1 if you have the <pwd.h> header file. */
289 /* Define to 1 if you have the `raise' function. */
292 /* Define to 1 if you have the `rand' function. */
295 /* Define to 1 if you have the <search.h> header file. */
298 /* Define to 1 if you have the `setenv' function. */
301 /* Define to 1 if you have the `setlocale' function. */
302 #undef HAVE_SETLOCALE
304 /* Define to 1 if you have the `setrlimit' function. */
305 #undef HAVE_SETRLIMIT
307 /* Define to 1 if you have the `sigaction' function. */
308 #undef HAVE_SIGACTION
310 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
311 #undef HAVE_SIGNED_SIG_ATOMIC_T
313 /* Define to 1 if 'wchar_t' is a signed integer type. */
314 #undef HAVE_SIGNED_WCHAR_T
316 /* Define to 1 if 'wint_t' is a signed integer type. */
317 #undef HAVE_SIGNED_WINT_T
319 /* Define to 1 if you have the `sigprocmask' function. */
320 #undef HAVE_SIGPROCMASK
322 /* Define to 1 if the system has the type `sigset_t'. */
325 /* Define to 1 if you have the `stat' function. */
328 /* Define to 1 if you have the <stdint.h> header file. */
331 /* Define to 1 if you have the <stdlib.h> header file. */
334 /* Define to 1 if you have the `stpcpy' function. */
337 /* Define to 1 if you have the `strcasecmp' function. */
338 #undef HAVE_STRCASECMP
340 /* Define to 1 if you have the `strchr' function. */
343 /* Define to 1 if you have the `strerror' function. */
346 /* Define to 1 if you have the `strftime' function. */
349 /* Define to 1 if you have the `stricmp' function. */
352 /* Define to 1 if you have the <strings.h> header file. */
353 #undef HAVE_STRINGS_H
355 /* Define to 1 if you have the <string.h> header file. */
358 /* Define to 1 if you have the `strlwr' function. */
361 /* Define to 1 if you have the `strncasecmp' function. */
362 #undef HAVE_STRNCASECMP
364 /* Define to 1 if you have the `strpbrk' function. */
367 /* Define to 1 if you have the `strsep' function. */
370 /* Define to 1 if you have the `strtol' function. */
373 /* Define to 1 if you have the `strtoul' function. */
376 /* Define to 1 if the system has the type `struct sigaction'. */
377 #undef HAVE_STRUCT_SIGACTION
379 /* Define to 1 if you have the <sys/bitypes.h> header file. */
380 #undef HAVE_SYS_BITYPES_H
382 /* Define to 1 if you have the <sys/inttypes.h> header file. */
383 #undef HAVE_SYS_INTTYPES_H
385 /* Define to 1 if you have the <sys/socket.h> header file. */
386 #undef HAVE_SYS_SOCKET_H
388 /* Define to 1 if you have the <sys/stat.h> header file. */
389 #undef HAVE_SYS_STAT_H
391 /* Define to 1 if you have the <sys/time.h> header file. */
392 #undef HAVE_SYS_TIME_H
394 /* Define to 1 if you have the <sys/types.h> header file. */
395 #undef HAVE_SYS_TYPES_H
397 /* Define to 1 if you have the `tcgetattr' function. */
398 #undef HAVE_TCGETATTR
400 /* Define to 1 if you have the <termio.h> header file. */
403 /* Define to 1 if you have the `timegm' function. */
406 /* Define to 1 if you have the `times' function. */
409 /* Define to 1 if you have the <time.h> header file. */
412 /* Define to 1 if you have the `tsearch' function. */
415 /* Define to 1 if you have the `ttyname' function. */
418 /* Defined if a `u16' is typedef'd */
419 #undef HAVE_U16_TYPEDEF
421 /* Defined if a `u32' is typedef'd */
422 #undef HAVE_U32_TYPEDEF
424 /* Define to 1 if the system has the type `uintmax_t'. */
425 #undef HAVE_UINTMAX_T
427 /* Defined if a `ulong' is typedef'd */
428 #undef HAVE_ULONG_TYPEDEF
430 /* Define to 1 if you have the <unistd.h> header file. */
433 /* Define to 1 if you have the `unsetenv' function. */
436 /* Define to 1 if the system has the type `unsigned long long int'. */
437 #undef HAVE_UNSIGNED_LONG_LONG_INT
439 /* Define to 1 if you have the `usb_create_match' function. */
440 #undef HAVE_USB_CREATE_MATCH
442 /* Defined if a `ushort' is typedef'd */
443 #undef HAVE_USHORT_TYPEDEF
445 /* Define to 1 if you have the <utmp.h> header file. */
448 /* Define to 1 if you have the `vfork' function. */
451 /* Define to 1 if you have the <vfork.h> header file. */
454 /* Define to 1 if you have the `vprintf' function. */
457 /* Defined if we run on a W32 API based system */
458 #undef HAVE_W32_SYSTEM
460 /* Define to 1 if you have the `wait4' function. */
463 /* Define to 1 if you have the `waitpid' function. */
466 /* Define to 1 if you have the <wchar.h> header file. */
469 /* Define to 1 if you have the <winsock2.h> header file. */
470 #undef HAVE_WINSOCK2_H
472 /* Define to 1 if `fork' works. */
473 #undef HAVE_WORKING_FORK
475 /* Define to 1 if `vfork' works. */
476 #undef HAVE_WORKING_VFORK
478 /* Define to 1 if you have the <ws2tcpip.h> header file. */
479 #undef HAVE_WS2TCPIP_H
481 /* Define as const if the declaration of iconv() needs const. */
484 /* Defined if this is not a regular release */
485 #undef IS_DEVELOPMENT_VERSION
487 /* Defined if libcurl supports AsynchDNS */
488 #undef LIBCURL_FEATURE_ASYNCHDNS
490 /* Defined if libcurl supports IDN */
491 #undef LIBCURL_FEATURE_IDN
493 /* Defined if libcurl supports IPv6 */
494 #undef LIBCURL_FEATURE_IPV6
496 /* Defined if libcurl supports KRB4 */
497 #undef LIBCURL_FEATURE_KRB4
499 /* Defined if libcurl supports libz */
500 #undef LIBCURL_FEATURE_LIBZ
502 /* Defined if libcurl supports NTLM */
503 #undef LIBCURL_FEATURE_NTLM
505 /* Defined if libcurl supports SSL */
506 #undef LIBCURL_FEATURE_SSL
508 /* Defined if libcurl supports SSPI */
509 #undef LIBCURL_FEATURE_SSPI
511 /* Defined if libcurl supports DICT */
512 #undef LIBCURL_PROTOCOL_DICT
514 /* Defined if libcurl supports FILE */
515 #undef LIBCURL_PROTOCOL_FILE
517 /* Defined if libcurl supports FTP */
518 #undef LIBCURL_PROTOCOL_FTP
520 /* Defined if libcurl supports FTPS */
521 #undef LIBCURL_PROTOCOL_FTPS
523 /* Defined if libcurl supports HTTP */
524 #undef LIBCURL_PROTOCOL_HTTP
526 /* Defined if libcurl supports HTTPS */
527 #undef LIBCURL_PROTOCOL_HTTPS
529 /* Defined if libcurl supports LDAP */
530 #undef LIBCURL_PROTOCOL_LDAP
532 /* Defined if libcurl supports TELNET */
533 #undef LIBCURL_PROTOCOL_TELNET
535 /* Defined if libcurl supports TFTP */
536 #undef LIBCURL_PROTOCOL_TFTP
538 /* Defined if the host has little endian byte ordering */
539 #undef LITTLE_ENDIAN_HOST
541 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
542 #undef MALLOC_0_IS_NONNULL
544 /* Defined if mkdir() does not take permission flags */
545 #undef MKDIR_TAKES_ONE_ARG
547 /* Required version of Libksba */
548 #undef NEED_KSBA_VERSION
550 /* Define if the LDAP library requires including lber.h before ldap.h */
553 /* Required version of Libgcrypt */
554 #undef NEED_LIBGCRYPT_VERSION
556 /* Define to disable all external program execution */
559 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
560 #undef NO_MINUS_C_MINUS_O
562 /* Name of this package */
565 /* Bug report address */
566 #undef PACKAGE_BUGREPORT
568 /* Name of this package for gettext */
571 /* Define to the full name of this package. */
574 /* Define to the full name and version of this package. */
575 #undef PACKAGE_STRING
577 /* Define to the one symbol short name of this package. */
578 #undef PACKAGE_TARNAME
580 /* Define to the home page for this package. */
583 /* Define to the version of this package. */
584 #undef PACKAGE_VERSION
586 /* Size of the key and UID caches */
587 #undef PK_UID_CACHE_SIZE
589 /* A human readable text with the name of the OS */
590 #undef PRINTABLE_OS_NAME
592 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
594 #undef PTRDIFF_T_SUFFIX
596 /* Define as the return type of signal handlers (`int' or `void'). */
599 /* defines the filename of the shred program */
602 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
604 #undef SIG_ATOMIC_T_SUFFIX
606 /* The size of `time_t', as computed by sizeof. */
609 /* The size of `uint64_t', as computed by sizeof. */
610 #undef SIZEOF_UINT64_T
612 /* The size of `unsigned int', as computed by sizeof. */
613 #undef SIZEOF_UNSIGNED_INT
615 /* The size of `unsigned long', as computed by sizeof. */
616 #undef SIZEOF_UNSIGNED_LONG
618 /* The size of `unsigned long long', as computed by sizeof. */
619 #undef SIZEOF_UNSIGNED_LONG_LONG
621 /* The size of `unsigned short', as computed by sizeof. */
622 #undef SIZEOF_UNSIGNED_SHORT
624 /* The size of `void *', as computed by sizeof. */
627 /* Define as the maximum value of type 'size_t', if the system doesn't define
631 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
635 /* If using the C implementation of alloca, define if you know the
636 direction of stack growth for your system; otherwise it will be
637 automatically deduced at runtime.
638 STACK_DIRECTION > 0 => grows toward higher addresses
639 STACK_DIRECTION < 0 => grows toward lower addresses
640 STACK_DIRECTION = 0 => direction of growth unknown */
641 #undef STACK_DIRECTION
643 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
644 #undef STAT_MACROS_BROKEN
646 /* Define to 1 if you have the ANSI C header files. */
649 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
650 #undef TIME_WITH_SYS_TIME
652 /* Use ADNS as resolver library. */
655 /* define to use DNS CERT */
658 /* define to use our experimental DNS PKA */
661 /* define to use DNS SRV */
664 /* Defined if the GNU Portable Thread Library should be used */
667 /* set this to limit filenames to the 8.3 format */
668 #undef USE_ONLY_8DOT3
670 /* because the Unix gettext has too much overhead on MingW32 systems and these
671 systems lack Posix functions, we use a simplified version of gettext */
672 #undef USE_SIMPLE_GETTEXT
674 /* Use a standard socket for the agent by default */
675 #undef USE_STANDARD_SOCKET
677 /* Enable extensions on AIX 3, Interix. */
681 /* Enable GNU extensions on systems that have them. */
685 /* Enable threading extensions on Solaris. */
686 #ifndef _POSIX_PTHREAD_SEMANTICS
687 # undef _POSIX_PTHREAD_SEMANTICS
689 /* Enable extensions on HP NonStop. */
690 #ifndef _TANDEM_SOURCE
691 # undef _TANDEM_SOURCE
693 /* Enable general extensions on Solaris. */
694 #ifndef __EXTENSIONS__
695 # undef __EXTENSIONS__
699 /* Version of this package */
702 /* Define if unsetenv() returns void, not int. */
705 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
707 #undef WCHAR_T_SUFFIX
709 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
713 /* Number of bits in a file offset, on hosts where this is settable. */
714 #undef _FILE_OFFSET_BITS
716 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
717 #undef _LARGEFILE_SOURCE
719 /* Define for large files, on AIX-style hosts. */
722 /* Define to 1 if on MINIX. */
725 /* Define to 2 if the system does not provide POSIX.1 features except with
727 #undef _POSIX_1_SOURCE
729 /* Define to 1 if you need to in order for `stat' and other things to work. */
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 the widest signed integer type if <stdint.h> and <inttypes.h> do
748 /* Define to `int' if <sys/types.h> does not define. */
751 /* Define to `int' if <sys/types.h> does not define. */
754 /* Define to `unsigned int' if <sys/types.h> does not define. */
757 /* type to use in place of socklen_t if not defined */
760 /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
764 /* Define as `fork' if `vfork' does not work. */
767 /* Define to empty if the keyword `volatile' does not work. Warning: valid
768 code using `volatile' can become incorrect without. Disable with care. */
772 /* This is the major version number of GnuPG so that
773 source included files can test for this. Note, that
774 we use 2 here even for GnuPG 1.9.x. */
775 #define GNUPG_MAJOR_VERSION 2
777 /* Now to separate file name parts.
778 Please note that the string version must not contain more
779 than one character because the code assumes strlen()==1 */
780 #ifdef HAVE_DOSISH_SYSTEM
781 #define DIRSEP_C '\\'
782 #define DIRSEP_S "\\"
785 #define PATHSEP_C ';'
786 #define PATHSEP_S ";"
787 #define EXEEXT_S ".exe"
793 #define PATHSEP_C ':'
794 #define PATHSEP_S ":"
798 /* This is the same as VERSION, but should be overridden if the
799 platform cannot handle things like dots '.' in filenames. Set
800 SAFE_VERSION_DOT and SAFE_VERSION_DASH to whatever SAFE_VERSION
801 uses for dots and dashes. */
802 #define SAFE_VERSION VERSION
803 #define SAFE_VERSION_DOT '.'
804 #define SAFE_VERSION_DASH '-'
806 /* Some global constants. */
807 #ifdef HAVE_DRIVE_LETTERS
808 #define GNUPG_DEFAULT_HOMEDIR "c:/gnupg"
810 #define GNUPG_DEFAULT_HOMEDIR "/SYS\$LOGIN/gnupg"
812 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
814 #define GNUPG_PRIVATE_KEYS_DIR "private-keys-v1.d"
816 /* For some systems (DOS currently), we hardcode the path here. For
817 POSIX systems the values are constructed by the Makefiles, so that
818 the values may be overridden by the make invocations; this is to
819 comply with the GNU coding standards. */
820 #ifdef HAVE_DRIVE_LETTERS
821 /* FIXME: We need to use a function to determine these values depending
822 on the actual installation directory. */
823 #define GNUPG_BINDIR "c:\\gnupg"
824 #define GNUPG_LIBEXECDIR "c:\\gnupg"
825 #define GNUPG_LIBDIR "c:\\gnupg"
826 #define GNUPG_DATADIR "c:\\gnupg"
827 #define GNUPG_SYSCONFDIR "c:\\gnupg"
830 /* Derive some other constants. */
831 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
832 #define EXEC_TEMPFILE_ONLY
836 /* We didn't define endianness above, so get it from OS macros. This
837 is intended for making fat binary builds on OS X. */
838 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
839 #if defined(__BIG_ENDIAN__)
840 #define BIG_ENDIAN_HOST 1
841 #elif defined(__LITTLE_ENDIAN__)
842 #define LITTLE_ENDIAN_HOST 1
844 #error "No endianness found"
849 /* Hack used for W32: ldap.m4 also tests for the ASCII version of
850 ldap_start_tls_s because that is the actual symbol used in the
851 library. winldap.h redefines it to our commonly used value,
852 thus we define our usual macro here. */
853 #ifdef HAVE_LDAP_START_TLS_SA
854 # ifndef HAVE_LDAP_START_TLS_S
855 # define HAVE_LDAP_START_TLS_S 1
860 /* Tell libgcrypt not to use its own libgpg-error implementation. */
861 #define USE_LIBGPG_ERROR 1
863 /* We use jnlib, so tell other modules about it. */
864 #define HAVE_JNLIB_LOGGING 1
866 /* Our HTTP code is used in estream mode. */
867 #define HTTP_USE_ESTREAM 1
869 /* Under W32 we do an explicit socket initialization, thus we need to
870 avoid the on-demand initialization which would also install an atexit
872 #define HTTP_NO_WSASTARTUP
874 /* We always include support for the OpenPGP card. */
875 #define ENABLE_CARD_SUPPORT 1
877 /* We don't want the old assuan codes anymore. */
878 #define _ASSUAN_ONLY_GPG_ERRORS 1
880 /* We explicitly need to disable PTH's soft mapping as Debian
881 currently enables it by default for no reason. */
882 #define PTH_SYSCALL_SOFT 0
884 /* We want to use the libgcrypt provided memory allocation for
886 #define _ESTREAM_PRINTF_MALLOC gcry_malloc
887 #define _ESTREAM_PRINTF_FREE gcry_free
888 #define _ESTREAM_PRINTF_EXTRA_INCLUDE "util.h"
890 #endif /*GNUPG_CONFIG_H_INCLUDED*/