1 /* config.h.in. Generated from configure.ac by autoheader. */
4 #ifndef GNUPG_CONFIG_H_INCLUDED
5 #define GNUPG_CONFIG_H_INCLUDED
8 /* Agent s2k calibration time (ms) */
9 #undef AGENT_S2K_CALIBRATION
11 /* Defined if the host has big endian byte ordering */
12 #undef BIG_ENDIAN_HOST
17 /* GIT commit id revision used to build this package */
20 /* The time this package was configured for a build */
21 #undef BUILD_TIMESTAMP
23 /* Defined if GPG-AGENT is to be build */
24 #undef BUILD_WITH_AGENT
26 /* Defined if DIRMNGR is to be build */
27 #undef BUILD_WITH_DIRMNGR
29 /* Defined if G13 is to be build */
32 /* Defined if GPG is to be build */
35 /* Defined if GPGSM is to be build */
36 #undef BUILD_WITH_GPGSM
38 /* Defined if SCDAEMON is to be build */
39 #undef BUILD_WITH_SCDAEMON
41 /* Use as default system trust store file */
42 #undef DEFAULT_TRUST_STORE_FILE
44 /* The default keyserver for dirmngr to use, if none is explicitly given */
45 #undef DIRMNGR_DEFAULT_KEYSERVER
47 /* The displayed name of dirmngr */
48 #undef DIRMNGR_DISP_NAME
50 /* The name of the dirmngr info envvar */
51 #undef DIRMNGR_INFO_NAME
53 /* The name of the dirmngr */
56 /* The name of the dirmngr socket */
57 #undef DIRMNGR_SOCK_NAME
59 /* define to disable photo viewing */
60 #undef DISABLE_PHOTO_VIEWER
62 /* Define to include smartcard support */
63 #undef ENABLE_CARD_SUPPORT
65 /* This is only used with "make distcheck" */
66 #undef ENABLE_GNUPG_BUILDDIR_ENVVAR
68 /* Define to 1 if translation of program messages to the user's native
69 language is requested. */
72 /* Define to enable SELinux support */
73 #undef ENABLE_SELINUX_HACKS
75 /* defines the filename of the encfs program */
78 /* The executable file extension, if any */
81 /* if set, restrict photo-viewer to this */
82 #undef FIXED_PHOTO_VIEWER
84 /* defines the filename of the fusermount program */
87 /* The displayed name of g13 */
90 /* The name of the g13 tool */
93 /* version of the libassuan library */
94 #undef GNUPG_LIBASSUAN_VERSION
96 /* The name of the project */
99 /* The directory part of the W32 registry keys */
100 #undef GNUPG_REGISTRY_DIR
102 /* swdb tag for this branch */
103 #undef GNUPG_SWDB_TAG
105 /* The displayed name of gpgconf */
106 #undef GPGCONF_DISP_NAME
108 /* The name of the gpgconf tool */
111 /* The standard binary file suffix */
114 /* The displayed name of gpgsm */
115 #undef GPGSM_DISP_NAME
117 /* The name of the S/MIME tool */
120 /* The name of the gpgtar tool */
123 /* The name of the agent socket for browsers */
124 #undef GPG_AGENT_BROWSER_SOCK_NAME
126 /* The displayed name of gpg-agent */
127 #undef GPG_AGENT_DISP_NAME
129 /* The name of the agent socket for remote access */
130 #undef GPG_AGENT_EXTRA_SOCK_NAME
132 /* The name of the agent */
133 #undef GPG_AGENT_NAME
135 /* The name of the agent socket */
136 #undef GPG_AGENT_SOCK_NAME
138 /* The name of the agent socket for ssh */
139 #undef GPG_AGENT_SSH_SOCK_NAME
141 /* The displayed name of gpg */
144 /* The name of the OpenPGP tool */
147 /* Define to support the AES128 cipher */
148 #undef GPG_USE_AES128
150 /* Define to support the AES192 cipher */
151 #undef GPG_USE_AES192
153 /* Define to support the AES256 cipher */
154 #undef GPG_USE_AES256
156 /* Define to support the BLOWFISH cipher */
157 #undef GPG_USE_BLOWFISH
159 /* Define to support the CAMELLIA128 cipher */
160 #undef GPG_USE_CAMELLIA128
162 /* Define to support the CAMELLIA192 cipher */
163 #undef GPG_USE_CAMELLIA192
165 /* Define to support the CAMELLIA256 cipher */
166 #undef GPG_USE_CAMELLIA256
168 /* Define to support the CAST5 cipher */
171 /* Define to support the ECDH public key */
174 /* Define to support the ECDSA public key */
177 /* Define to support the EdDSA public key */
180 /* Define to support the IDEA cipher */
183 /* Define to support the MD5 hash */
186 /* Define to support the RIPE-MD160 hash */
187 #undef GPG_USE_RMD160
189 /* Define to support the RSA public key */
192 /* Define to support the SHA-224 hash */
193 #undef GPG_USE_SHA224
195 /* Define to support the SHA-384 hash */
196 #undef GPG_USE_SHA384
198 /* Define to support the SHA-512 hash */
199 #undef GPG_USE_SHA512
201 /* Define to support the TWOFISH cipher */
202 #undef GPG_USE_TWOFISH
204 /* Defined if we build for an Android system */
205 #undef HAVE_ANDROID_SYSTEM
207 /* Define to 1 if you have the `atexit' function. */
210 /* Defined if ttyname does not work properly */
211 #undef HAVE_BROKEN_TTYNAME
213 /* Defined if a `byte' is typedef'd */
214 #undef HAVE_BYTE_TYPEDEF
216 /* Defined if the bz2 compression library is available */
219 /* Define to 1 if you have the `canonicalize_file_name' function. */
220 #undef HAVE_CANONICALIZE_FILE_NAME
222 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
223 CoreFoundation framework. */
224 #undef HAVE_CFLOCALECOPYCURRENT
226 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
227 the CoreFoundation framework. */
228 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
230 /* Define to 1 if you have the `clock_gettime' function. */
231 #undef HAVE_CLOCK_GETTIME
233 /* Define to 1 if you have the `ctermid' function. */
236 /* Define if the GNU dcgettext() function is already present or preinstalled.
238 #undef HAVE_DCGETTEXT
240 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
242 #undef HAVE_DECL_GETPAGESIZE
244 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
246 #undef HAVE_DECL_SYS_SIGLIST
248 /* Define to 1 if you have the <direct.h> header file. */
251 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
254 /* Defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
255 with special properties like no file modes, case insensitive file names and
256 preferred use of backslashes as directory name separators. */
257 #undef HAVE_DOSISH_SYSTEM
259 /* Defined if the OS supports drive letters. */
260 #undef HAVE_DRIVE_LETTERS
262 /* Define to 1 if you have the `explicit_bzero' function. */
263 #undef HAVE_EXPLICIT_BZERO
265 /* Define to 1 if you have the `fcntl' function. */
268 /* Define to 1 if you have the `flockfile' function. */
269 #undef HAVE_FLOCKFILE
271 /* Define to 1 if you have the `fork' function. */
274 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
277 /* Define to 1 if you have the `fsync' function. */
280 /* Define to 1 if you have the `ftello' function. */
283 /* Define to 1 if you have the `ftruncate' function. */
284 #undef HAVE_FTRUNCATE
286 /* Define to 1 if you have the `funlockfile' function. */
287 #undef HAVE_FUNLOCKFILE
289 /* Define to 1 if you have the `getaddrinfo' function. */
290 #undef HAVE_GETADDRINFO
292 /* Define to 1 if you have the `getenv' function. */
295 /* Define to 1 if you have the <getopt.h> header file. */
298 /* Define to 1 if you have the `getpagesize' function. */
299 #undef HAVE_GETPAGESIZE
301 /* Define to 1 if you have the `getpeerucred' function. */
302 #undef HAVE_GETPEERUCRED
304 /* Define to 1 if you have the `getpwnam' function. */
307 /* Define to 1 if you have the `getpwuid' function. */
310 /* Define to 1 if you have the `getrlimit' function. */
311 #undef HAVE_GETRLIMIT
313 /* Define to 1 if you have the `getrusage' function. */
314 #undef HAVE_GETRUSAGE
316 /* Define if the GNU gettext() function is already present or preinstalled. */
319 /* Define to 1 if you have the `gettimeofday' function. */
320 #undef HAVE_GETTIMEOFDAY
322 /* Define to 1 if you have the `gmtime_r' function. */
325 /* Define if you have the iconv() function and it works. */
328 /* Define to 1 if you have the `inet_ntop' function. */
329 #undef HAVE_INET_NTOP
331 /* Define to 1 if you have the `inet_pton' function. */
332 #undef HAVE_INET_PTON
334 /* Define to 1 if you have the `inotify_init' function. */
335 #undef HAVE_INOTIFY_INIT
337 /* Define to 1 if you have the <inttypes.h> header file. */
338 #undef HAVE_INTTYPES_H
340 /* Define to 1 if you have the `isascii' function. */
343 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
344 #undef HAVE_LANGINFO_CODESET
346 /* Define to 1 if you have the <langinfo.h> header file. */
347 #undef HAVE_LANGINFO_H
349 /* defined if liblber is available */
352 /* Define if your <locale.h> file defines LC_MESSAGES. */
353 #undef HAVE_LC_MESSAGES
355 /* Define to 1 if you have the `ldap_get_option' function. */
356 #undef HAVE_LDAP_GET_OPTION
358 /* Define if the LDAP library supports ld_errno */
359 #undef HAVE_LDAP_LD_ERRNO
361 /* Define to 1 if you have the `ldap_set_option' function. */
362 #undef HAVE_LDAP_SET_OPTION
364 /* Define to 1 if you have the `ldap_start_tls_s' function. */
365 #undef HAVE_LDAP_START_TLS_S
367 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
368 #undef HAVE_LDAP_START_TLS_SA
370 /* Define to 1 if you have a fully functional readline library. */
371 #undef HAVE_LIBREADLINE
373 /* defined if libusb is available */
376 /* defined if libutil is available */
379 /* Define to 1 if you have the <libutil.h> header file. */
380 #undef HAVE_LIBUTIL_H
382 /* Define to 1 if you have the <locale.h> header file. */
385 /* Define to 1 if you have the `lstat' function. */
388 /* Define to 1 if you have the `memicmp' function. */
391 /* Define to 1 if you have the `memmove' function. */
394 /* Define to 1 if you have the <memory.h> header file. */
397 /* Define to 1 if you have the `memrchr' function. */
400 /* Define to 1 if you have the `mmap' function. */
403 /* Define to 1 if you have the `nanosleep' function in libc. */
404 #undef HAVE_NANOSLEEP
406 /* Define to 1 if you have the `nl_langinfo' function. */
407 #undef HAVE_NL_LANGINFO
409 /* Defined if the New Portable Thread Library is available */
412 /* Define to 1 if you have the `pipe' function. */
415 /* Defined if we run on systems like NetBSD, where pselect cannot be unblocked
416 by signal from a thread within the same process. We use pipe in this case,
418 #undef HAVE_PSELECT_NO_EINTR
420 /* Define to 1 if you have the <pty.h> header file. */
423 /* Define to 1 if you have the <pwd.h> header file. */
426 /* Define to 1 if you have the `raise' function. */
429 /* Define to 1 if you have the `rand' function. */
432 /* Define to 1 if you have the `setenv' function. */
435 /* Define to 1 if you have the `setlocale' function. */
436 #undef HAVE_SETLOCALE
438 /* Define to 1 if you have the `setrlimit' function. */
439 #undef HAVE_SETRLIMIT
441 /* Define to 1 if you have the `sigaction' function. */
442 #undef HAVE_SIGACTION
444 /* Define to 1 if you have the <signal.h> header file. */
447 /* Define to 1 if you have the `sigprocmask' function. */
448 #undef HAVE_SIGPROCMASK
450 /* Define to 1 if the system has the type `sigset_t'. */
453 /* Define to 1 if you have the `stat' function. */
456 /* Define to 1 if you have the <stdint.h> header file. */
459 /* Define to 1 if you have the <stdlib.h> header file. */
462 /* Define to 1 if you have the `stpcpy' function. */
465 /* Define to 1 if you have the `strcasecmp' function. */
466 #undef HAVE_STRCASECMP
468 /* Define to 1 if you have the `strchr' function. */
471 /* Define to 1 if you have the `strerror' function. */
474 /* Define to 1 if you have the `strftime' function. */
477 /* Define to 1 if you have the `stricmp' function. */
480 /* Define to 1 if you have the <strings.h> header file. */
481 #undef HAVE_STRINGS_H
483 /* Define to 1 if you have the <string.h> header file. */
486 /* Define to 1 if you have the `strlwr' function. */
489 /* Define to 1 if you have the `strncasecmp' function. */
490 #undef HAVE_STRNCASECMP
492 /* Define to 1 if you have the `strpbrk' function. */
495 /* Define to 1 if you have the `strsep' function. */
498 /* Define to 1 if you have the `strtol' function. */
501 /* Define to 1 if you have the `strtoul' function. */
504 /* Define to 1 if you have the `strtoull' function. */
507 /* Define to 1 if the system has the type `struct sigaction'. */
508 #undef HAVE_STRUCT_SIGACTION
510 /* Define to 1 if `pid' is a member of `struct sockpeercred'. */
511 #undef HAVE_STRUCT_SOCKPEERCRED_PID
513 /* Define to 1 if `cr_pid' is a member of `struct ucred'. */
514 #undef HAVE_STRUCT_UCRED_CR_PID
516 /* Define to 1 if `pid' is a member of `struct ucred'. */
517 #undef HAVE_STRUCT_UCRED_PID
519 /* The system's resolver is usable. */
520 #undef HAVE_SYSTEM_RESOLVER
522 /* Define to 1 if you have the <sys/mkdev.h> header file. */
523 #undef HAVE_SYS_MKDEV_H
525 /* Define to 1 if you have the <sys/select.h> header file. */
526 #undef HAVE_SYS_SELECT_H
528 /* Define to 1 if you have the <sys/socket.h> header file. */
529 #undef HAVE_SYS_SOCKET_H
531 /* Define to 1 if you have the <sys/stat.h> header file. */
532 #undef HAVE_SYS_STAT_H
534 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
535 #undef HAVE_SYS_SYSMACROS_H
537 /* Define to 1 if you have the <sys/types.h> header file. */
538 #undef HAVE_SYS_TYPES_H
540 /* Define to 1 if you have the <sys/ucred.h> header file. */
541 #undef HAVE_SYS_UCRED_H
543 /* Define to 1 if you have the `tcgetattr' function. */
544 #undef HAVE_TCGETATTR
546 /* Define to 1 if you have the <termios.h> header file. */
547 #undef HAVE_TERMIOS_H
549 /* Define to 1 if you have the <termio.h> header file. */
552 /* Define to 1 if you have the `timegm' function. */
555 /* Define to 1 if you have the `times' function. */
558 /* Define to 1 if you have the `ttyname' function. */
561 /* Defined if a `u16' is typedef'd */
562 #undef HAVE_U16_TYPEDEF
564 /* Defined if a `u32' is typedef'd */
565 #undef HAVE_U32_TYPEDEF
567 /* Define to 1 if you have the <ucred.h> header file. */
570 /* Defined if a `ulong' is typedef'd */
571 #undef HAVE_ULONG_TYPEDEF
573 /* Define to 1 if you have the <unistd.h> header file. */
576 /* Define to 1 if you have the `unsetenv' function. */
579 /* Defined if time_t is an unsigned type */
580 #undef HAVE_UNSIGNED_TIME_T
582 /* Defined if a `ushort' is typedef'd */
583 #undef HAVE_USHORT_TYPEDEF
585 /* Define to 1 if you have the <util.h> header file. */
588 /* Define to 1 if you have the <utmp.h> header file. */
591 /* Define to 1 if you have the `vfork' function. */
594 /* Define to 1 if you have the <vfork.h> header file. */
597 /* Define to 1 if you have the `vprintf' function. */
600 /* Defined if we run on WindowsCE */
601 #undef HAVE_W32CE_SYSTEM
603 /* Defined if we run on a W32 API based system */
604 #undef HAVE_W32_SYSTEM
606 /* Define to 1 if you have the `wait4' function. */
609 /* Define to 1 if you have the `waitpid' function. */
612 /* Define to 1 if you have the <winsock2.h> header file. */
613 #undef HAVE_WINSOCK2_H
615 /* Define to 1 if `fork' works. */
616 #undef HAVE_WORKING_FORK
618 /* Define to 1 if `vfork' works. */
619 #undef HAVE_WORKING_VFORK
621 /* Define to 1 if you have the <ws2tcpip.h> header file. */
622 #undef HAVE_WS2TCPIP_H
624 /* Defined if ZIP and ZLIB are supported */
627 /* Enable GNUTLS support in http.c */
628 #undef HTTP_USE_GNUTLS
630 /* Enable NTBTLS support in http.c */
631 #undef HTTP_USE_NTBTLS
633 /* Define as const if the declaration of iconv() needs const. */
636 /* Defined if this is not a regular release */
637 #undef IS_DEVELOPMENT_VERSION
639 /* Defined if the host has little endian byte ordering */
640 #undef LITTLE_ENDIAN_HOST
642 /* Defined if this build is in maintainer mode */
643 #undef MAINTAINER_MODE
645 /* Defined if mkdir() does not take permission flags */
646 #undef MKDIR_TAKES_ONE_ARG
648 /* Tool with sendmail -t interface */
649 #undef NAME_OF_SENDMAIL
651 /* Required version of Libksba */
652 #undef NEED_KSBA_VERSION
654 /* Define if the LDAP library requires including lber.h before ldap.h */
657 /* Required version of Libgcrypt */
658 #undef NEED_LIBGCRYPT_VERSION
660 /* Required version of NTBTLS */
661 #undef NEED_NTBTLS_VERSION
663 /* Define to disable all external program execution */
666 /* Define to include only trust-model always */
667 #undef NO_TRUST_MODELS
669 /* Build with debug version of nPth */
670 #undef NPTH_ENABLE_DEBUG
672 /* Name of this package */
675 /* Bug report address */
676 #undef PACKAGE_BUGREPORT
678 /* Name of this package for gettext */
681 /* Define to the full name of this package. */
684 /* Define to the full name and version of this package. */
685 #undef PACKAGE_STRING
687 /* Define to the one symbol short name of this package. */
688 #undef PACKAGE_TARNAME
690 /* Define to the home page for this package. */
693 /* Define to the version of this package. */
694 #undef PACKAGE_VERSION
696 /* Size of the key and UID caches */
697 #undef PK_UID_CACHE_SIZE
699 /* A human readable text with the name of the OS */
700 #undef PRINTABLE_OS_NAME
702 /* Define as the return type of signal handlers (`int' or `void'). */
705 /* Defined if "make check" shall run all tests */
708 /* The displayed name of scdaemon */
709 #undef SCDAEMON_DISP_NAME
711 /* The name of the scdaemon */
714 /* The name of the SCdaemon socket */
715 #undef SCDAEMON_SOCK_NAME
717 /* Size of secure memory buffer */
718 #undef SECMEM_BUFFER_SIZE
720 /* defines the filename of the shred program */
723 /* The size of `time_t', as computed by sizeof. */
726 /* The size of `unsigned int', as computed by sizeof. */
727 #undef SIZEOF_UNSIGNED_INT
729 /* The size of `unsigned long', as computed by sizeof. */
730 #undef SIZEOF_UNSIGNED_LONG
732 /* The size of `unsigned long long', as computed by sizeof. */
733 #undef SIZEOF_UNSIGNED_LONG_LONG
735 /* The size of `unsigned short', as computed by sizeof. */
736 #undef SIZEOF_UNSIGNED_SHORT
738 /* Define to 1 if you have the ANSI C header files. */
741 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
742 #undef TIME_WITH_SYS_TIME
744 /* Define to enable auto starting of the dirmngr */
745 #undef USE_DIRMNGR_AUTO_START
747 /* Define to install gpg as gpg2 */
750 /* Defined if LDAP is support */
753 /* Build with integrated libdns support */
756 /* Defined if support for nPth is requested and nPth is available */
759 /* Set this to limit filenames to the 8.3 format */
760 #undef USE_ONLY_8DOT3
762 /* If defined try /run/gnupg/user before /run/user */
763 #undef USE_RUN_GNUPG_USER_SOCKET
765 /* Because the Unix gettext has too much overhead on MingW32 systems and these
766 systems lack Posix functions, we use a simplified version of gettext */
767 #undef USE_SIMPLE_GETTEXT
769 /* Enable extensions on AIX 3, Interix. */
773 /* Enable GNU extensions on systems that have them. */
777 /* Enable threading extensions on Solaris. */
778 #ifndef _POSIX_PTHREAD_SEMANTICS
779 # undef _POSIX_PTHREAD_SEMANTICS
781 /* Enable extensions on HP NonStop. */
782 #ifndef _TANDEM_SOURCE
783 # undef _TANDEM_SOURCE
785 /* Enable general extensions on Solaris. */
786 #ifndef __EXTENSIONS__
787 # undef __EXTENSIONS__
791 /* Enable to build the TOFU code */
794 /* Version of this package */
797 /* Expose all libc features (__DARWIN_C_FULL). */
798 #undef _DARWIN_C_SOURCE
800 /* Enable large inode numbers on Mac OS X 10.5. */
801 #ifndef _DARWIN_USE_64_BIT_INODE
802 # define _DARWIN_USE_64_BIT_INODE 1
805 /* Number of bits in a file offset, on hosts where this is settable. */
806 #undef _FILE_OFFSET_BITS
808 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
809 #undef _LARGEFILE_SOURCE
811 /* Define for large files, on AIX-style hosts. */
814 /* Define to 1 if on MINIX. */
817 /* Define to 2 if the system does not provide POSIX.1 features except with
819 #undef _POSIX_1_SOURCE
821 /* Define to 1 if you need to in order for `stat' and other things to work. */
824 /* Define to empty if `const' does not conform to ANSI C. */
827 /* Define to `__inline__' or `__inline' if that's what the C compiler
828 calls it, or to nothing if 'inline' is not supported under any name. */
833 /* Define to `int' if <sys/types.h> does not define. */
836 /* Define to `int' if <sys/types.h> does not define. */
839 /* Define to `unsigned int' if <sys/types.h> does not define. */
842 /* type to use in place of socklen_t if not defined */
845 /* Define as `fork' if `vfork' does not work. */
848 /* Define to empty if the keyword `volatile' does not work. Warning: valid
849 code using `volatile' can become incorrect without. Disable with care. */
853 /* This is the major version number of GnuPG so that
854 source included files can test for this. Note, that
855 we use 2 here even for GnuPG 1.9.x. */
856 #define GNUPG_MAJOR_VERSION 2
858 /* Now to separate file name parts.
859 Please note that the string version must not contain more
860 than one character because the code assumes strlen()==1 */
861 #ifdef HAVE_DOSISH_SYSTEM
862 #define DIRSEP_C '\\'
863 #define DIRSEP_S "\\"
866 #define PATHSEP_C ';'
867 #define PATHSEP_S ";"
868 #define EXEEXT_S ".exe"
874 #define PATHSEP_C ':'
875 #define PATHSEP_S ":"
879 /* This is the same as VERSION, but should be overridden if the
880 platform cannot handle things like dots '.' in filenames. Set
881 SAFE_VERSION_DOT and SAFE_VERSION_DASH to whatever SAFE_VERSION
882 uses for dots and dashes. */
883 #define SAFE_VERSION VERSION
884 #define SAFE_VERSION_DOT '.'
885 #define SAFE_VERSION_DASH '-'
887 /* Some global constants.
888 * Note that the homedir must not end in a slash. */
889 #ifdef HAVE_DOSISH_SYSTEM
890 # ifdef HAVE_DRIVE_LETTERS
891 # define GNUPG_DEFAULT_HOMEDIR "c:/gnupg"
893 # define GNUPG_DEFAULT_HOMEDIR "/gnupg"
896 #define GNUPG_DEFAULT_HOMEDIR "/SYS$LOGIN/gnupg"
898 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
900 #define GNUPG_PRIVATE_KEYS_DIR "private-keys-v1.d"
901 #define GNUPG_OPENPGP_REVOC_DIR "openpgp-revocs.d"
903 /* GnuPG has always been a part of the GNU project and thus we have
904 * shown the FSF as holder of the copyright. We continue to do so for
905 * the reason that without the FSF the free software used all over the
906 * world would not have come into existence. However, under Windows
907 * we print a different copyright string with --version because the
908 * copyright assignments of g10 Code and Werner Koch were terminated
909 * many years ago, g10 Code is still the major contributor to the
910 * code, and Windows is not an FSF endorsed platform. Note that the
911 * actual list of copyright holders can be found in the AUTHORS file. */
912 #ifdef HAVE_W32_SYSTEM
913 #define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2021 g10 Code GmbH"
915 #define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2021 Free Software Foundation, Inc."
919 /* For some systems (DOS currently), we hardcode the path here. For
920 POSIX systems the values are constructed by the Makefiles, so that
921 the values may be overridden by the make invocations; this is to
922 comply with the GNU coding standards. Note that these values are
924 #ifdef HAVE_DOSISH_SYSTEM
925 # ifdef HAVE_DRIVE_LETTERS
926 # define GNUPG_BINDIR "c:\\gnupg"
927 # define GNUPG_LIBEXECDIR "c:\\gnupg"
928 # define GNUPG_LIBDIR "c:\\gnupg"
929 # define GNUPG_DATADIR "c:\\gnupg"
930 # define GNUPG_SYSCONFDIR "c:\\gnupg"
932 # define GNUPG_BINDIR "\\gnupg"
933 # define GNUPG_LIBEXECDIR "\\gnupg"
934 # define GNUPG_LIBDIR "\\gnupg"
935 # define GNUPG_DATADIR "\\gnupg"
936 # define GNUPG_SYSCONFDIR "\\gnupg"
940 /* Derive some other constants. */
941 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
942 #define EXEC_TEMPFILE_ONLY
946 /* We didn't define endianness above, so get it from OS macros. This
947 is intended for making fat binary builds on OS X. */
948 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
949 #if defined(__BIG_ENDIAN__)
950 #define BIG_ENDIAN_HOST 1
951 #elif defined(__LITTLE_ENDIAN__)
952 #define LITTLE_ENDIAN_HOST 1
954 #error "No endianness found"
959 /* Hack used for W32: ldap.m4 also tests for the ASCII version of
960 ldap_start_tls_s because that is the actual symbol used in the
961 library. winldap.h redefines it to our commonly used value,
962 thus we define our usual macro here. */
963 #ifdef HAVE_LDAP_START_TLS_SA
964 # ifndef HAVE_LDAP_START_TLS_S
965 # define HAVE_LDAP_START_TLS_S 1
969 /* Provide the es_ macro for estream. */
970 #define GPGRT_ENABLE_ES_MACROS 1
972 /* We want the argparse macros from gpgrt. */
973 #define GPGRT_ENABLE_ARGPARSE_MACROS 1
975 /* Tell libgcrypt not to use its own libgpg-error implementation. */
976 #define USE_LIBGPG_ERROR 1
978 /* Tell Libgcrypt not to include deprecated definitions. */
979 #define GCRYPT_NO_DEPRECATED 1
981 /* Our HTTP code is used in estream mode. */
982 #define HTTP_USE_ESTREAM 1
984 /* Under W32 we do an explicit socket initialization, thus we need to
985 avoid the on-demand initialization which would also install an atexit
987 #define HTTP_NO_WSASTARTUP
989 /* Under Windows we use the gettext code from libgpg-error. */
990 #define GPG_ERR_ENABLE_GETTEXT_MACROS
992 /* Under WindowsCE we use the strerror replacement from libgpg-error. */
993 #define GPG_ERR_ENABLE_ERRNO_MACROS
995 #endif /*GNUPG_CONFIG_H_INCLUDED*/