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 KEYBOXD is to be build */
39 #undef BUILD_WITH_KEYBOXD
41 /* Defined if SCDAEMON is to be build */
42 #undef BUILD_WITH_SCDAEMON
44 /* Defined if TPM2D to be build */
45 #undef BUILD_WITH_TPM2D
47 /* Use as default system trust store file */
48 #undef DEFAULT_TRUST_STORE_FILE
50 /* The default keyserver for dirmngr to use, if none is explicitly given */
51 #undef DIRMNGR_DEFAULT_KEYSERVER
53 /* The displayed name of dirmngr */
54 #undef DIRMNGR_DISP_NAME
56 /* The name of the dirmngr info envvar */
57 #undef DIRMNGR_INFO_NAME
59 /* The name of the dirmngr */
62 /* The name of the dirmngr socket */
63 #undef DIRMNGR_SOCK_NAME
65 /* define to disable photo viewing */
66 #undef DISABLE_PHOTO_VIEWER
68 /* Define to include smartcard support */
69 #undef ENABLE_CARD_SUPPORT
71 /* This is only used with "make distcheck" */
72 #undef ENABLE_GNUPG_BUILDDIR_ENVVAR
74 /* Defined to use log_clock timestamps */
75 #undef ENABLE_LOG_CLOCK
77 /* Define to 1 if translation of program messages to the user's native
78 language is requested. */
81 /* Define to enable SELinux support */
82 #undef ENABLE_SELINUX_HACKS
84 /* defines the filename of the encfs program */
87 /* The executable file extension, if any */
90 /* if set, restrict photo-viewer to this */
91 #undef FIXED_PHOTO_VIEWER
93 /* defines the filename of the fusermount program */
96 /* The displayed name of g13 */
99 /* The name of the g13 tool */
102 /* version of the libassuan library */
103 #undef GNUPG_LIBASSUAN_VERSION
105 /* The name of the project */
108 /* The directory part of the W32 registry keys */
109 #undef GNUPG_REGISTRY_DIR
111 /* swdb tag for this branch */
112 #undef GNUPG_SWDB_TAG
114 /* The displayed name of gpgconf */
115 #undef GPGCONF_DISP_NAME
117 /* The name of the gpgconf tool */
120 /* The standard binary file suffix */
123 /* The displayed name of gpgsm */
124 #undef GPGSM_DISP_NAME
126 /* The name of the S/MIME tool */
129 /* The name of the gpgtar tool */
132 /* The name of the agent socket for browsers */
133 #undef GPG_AGENT_BROWSER_SOCK_NAME
135 /* The displayed name of gpg-agent */
136 #undef GPG_AGENT_DISP_NAME
138 /* The name of the agent socket for remote access */
139 #undef GPG_AGENT_EXTRA_SOCK_NAME
141 /* The name of the agent */
142 #undef GPG_AGENT_NAME
144 /* The name of the agent socket */
145 #undef GPG_AGENT_SOCK_NAME
147 /* The name of the agent socket for ssh */
148 #undef GPG_AGENT_SSH_SOCK_NAME
150 /* The displayed name of gpg */
153 /* The name of the OpenPGP tool */
156 /* Define to support the AES128 cipher */
157 #undef GPG_USE_AES128
159 /* Define to support the AES192 cipher */
160 #undef GPG_USE_AES192
162 /* Define to support the AES256 cipher */
163 #undef GPG_USE_AES256
165 /* Define to support the BLOWFISH cipher */
166 #undef GPG_USE_BLOWFISH
168 /* Define to support the CAMELLIA128 cipher */
169 #undef GPG_USE_CAMELLIA128
171 /* Define to support the CAMELLIA192 cipher */
172 #undef GPG_USE_CAMELLIA192
174 /* Define to support the CAMELLIA256 cipher */
175 #undef GPG_USE_CAMELLIA256
177 /* Define to support the CAST5 cipher */
180 /* Define to support the ECDH public key */
183 /* Define to support the ECDSA public key */
186 /* Define to support the EdDSA public key */
189 /* Define to support the IDEA cipher */
192 /* Define to support the MD5 hash */
195 /* Define to support the RIPE-MD160 hash */
196 #undef GPG_USE_RMD160
198 /* Define to support the RSA public key */
201 /* Define to support the SHA-224 hash */
202 #undef GPG_USE_SHA224
204 /* Define to support the SHA-384 hash */
205 #undef GPG_USE_SHA384
207 /* Define to support the SHA-512 hash */
208 #undef GPG_USE_SHA512
210 /* Define to support the TWOFISH cipher */
211 #undef GPG_USE_TWOFISH
213 /* Defined if we build for an Android system */
214 #undef HAVE_ANDROID_SYSTEM
216 /* Define to 1 if you have the `atexit' function. */
219 /* Defined if ttyname does not work properly */
220 #undef HAVE_BROKEN_TTYNAME
222 /* Define to 1 if the system has the type `byte'. */
225 /* Defined if the bz2 compression library is available */
228 /* Define to 1 if you have the `canonicalize_file_name' function. */
229 #undef HAVE_CANONICALIZE_FILE_NAME
231 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
232 CoreFoundation framework. */
233 #undef HAVE_CFLOCALECOPYCURRENT
235 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
236 the CoreFoundation framework. */
237 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
239 /* Define to 1 if you have the `clock_gettime' function. */
240 #undef HAVE_CLOCK_GETTIME
242 /* Define to 1 if you have the `ctermid' function. */
245 /* Define if the GNU dcgettext() function is already present or preinstalled.
247 #undef HAVE_DCGETTEXT
249 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
251 #undef HAVE_DECL_GETPAGESIZE
253 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
255 #undef HAVE_DECL_SYS_SIGLIST
257 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
260 /* Defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
261 with special properties like no file modes, case insensitive file names and
262 preferred use of backslashes as directory name separators. */
263 #undef HAVE_DOSISH_SYSTEM
265 /* Defined if the OS supports drive letters. */
266 #undef HAVE_DRIVE_LETTERS
268 /* Define to 1 if you have the `explicit_bzero' function. */
269 #undef HAVE_EXPLICIT_BZERO
271 /* Define to 1 if you have the `fcntl' function. */
274 /* Define to 1 if you have the `flockfile' function. */
275 #undef HAVE_FLOCKFILE
277 /* Define to 1 if you have the `fork' function. */
280 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
283 /* Define to 1 if you have the `fsync' function. */
286 /* Define to 1 if you have the `ftello' function. */
289 /* Define to 1 if you have the `ftruncate' function. */
290 #undef HAVE_FTRUNCATE
292 /* Define to 1 if you have the `funlockfile' function. */
293 #undef HAVE_FUNLOCKFILE
295 /* Define to 1 if you have the `getaddrinfo' function. */
296 #undef HAVE_GETADDRINFO
298 /* Define to 1 if you have the `getenv' function. */
301 /* Define to 1 if you have the <getopt.h> header file. */
304 /* Define to 1 if you have the `getpagesize' function. */
305 #undef HAVE_GETPAGESIZE
307 /* Define to 1 if you have the `getpeerucred' function. */
308 #undef HAVE_GETPEERUCRED
310 /* Define to 1 if you have the `getpwnam' function. */
313 /* Define to 1 if you have the `getpwuid' function. */
316 /* Define to 1 if you have the `getrlimit' function. */
317 #undef HAVE_GETRLIMIT
319 /* Define to 1 if you have the `getrusage' function. */
320 #undef HAVE_GETRUSAGE
322 /* Define if the GNU gettext() function is already present or preinstalled. */
325 /* Define to 1 if you have the `gettimeofday' function. */
326 #undef HAVE_GETTIMEOFDAY
328 /* Define to 1 if you have the `gmtime_r' function. */
331 /* Define if you have the iconv() function and it works. */
334 /* Define to 1 if you have the `inet_ntop' function. */
335 #undef HAVE_INET_NTOP
337 /* Define to 1 if you have the `inet_pton' function. */
338 #undef HAVE_INET_PTON
340 /* Define to 1 if you have the `inotify_init' function. */
341 #undef HAVE_INOTIFY_INIT
343 /* Defined if we have the Intel TSS */
344 #undef HAVE_INTEL_TSS
346 /* Define to 1 if you have the <inttypes.h> header file. */
347 #undef HAVE_INTTYPES_H
349 /* Define to 1 if you have the `isascii' function. */
352 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
353 #undef HAVE_LANGINFO_CODESET
355 /* Define to 1 if you have the <langinfo.h> header file. */
356 #undef HAVE_LANGINFO_H
358 /* defined if liblber is available */
361 /* Define if your <locale.h> file defines LC_MESSAGES. */
362 #undef HAVE_LC_MESSAGES
364 /* Define to 1 if you have the `ldap_get_option' function. */
365 #undef HAVE_LDAP_GET_OPTION
367 /* Define if the LDAP library supports ld_errno */
368 #undef HAVE_LDAP_LD_ERRNO
370 /* Define to 1 if you have the `ldap_set_option' function. */
371 #undef HAVE_LDAP_SET_OPTION
373 /* Define to 1 if you have the `ldap_start_tls_s' function. */
374 #undef HAVE_LDAP_START_TLS_S
376 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
377 #undef HAVE_LDAP_START_TLS_SA
379 /* Define to 1 if you have a fully functional readline library. */
380 #undef HAVE_LIBREADLINE
382 /* Defined if we have TPM2 support library */
385 /* Define to 1 if you have the `tss2-esys' library (-ltss2-esys). */
386 #undef HAVE_LIBTSS2_ESYS
388 /* defined if libusb is available */
391 /* Define to 1 if you have the <libutil.h> header file. */
392 #undef HAVE_LIBUTIL_H
394 /* Define to 1 if you have the <locale.h> header file. */
397 /* Define to 1 if you have the `lstat' function. */
400 /* Define to 1 if you have the `memicmp' function. */
403 /* Define to 1 if you have the `memmove' function. */
406 /* Define to 1 if you have the <memory.h> header file. */
409 /* Define to 1 if you have the `memrchr' function. */
412 /* Define to 1 if you have the `mmap' function. */
415 /* Define to 1 if you have the `nanosleep' function in libc. */
416 #undef HAVE_NANOSLEEP
418 /* Define to 1 if you have the `nl_langinfo' function. */
419 #undef HAVE_NL_LANGINFO
421 /* Defined if the New Portable Thread Library is available */
424 /* Define to 1 if you have the `pipe' function. */
427 /* Defined if we run on systems like NetBSD, where pselect cannot be unblocked
428 by signal from a thread within the same process. We use pipe in this case,
430 #undef HAVE_PSELECT_NO_EINTR
432 /* Define to 1 if you have the <pty.h> header file. */
435 /* Define to 1 if you have the <pwd.h> header file. */
438 /* Define to 1 if you have the `raise' function. */
441 /* Define to 1 if you have the `rand' function. */
444 /* Define to 1 if you have the `setenv' function. */
447 /* Define to 1 if you have the `setlocale' function. */
448 #undef HAVE_SETLOCALE
450 /* Define to 1 if you have the `setrlimit' function. */
451 #undef HAVE_SETRLIMIT
453 /* Define to 1 if you have the `sigaction' function. */
454 #undef HAVE_SIGACTION
456 /* Define to 1 if you have the <signal.h> header file. */
459 /* Define to 1 if you have the `sigprocmask' function. */
460 #undef HAVE_SIGPROCMASK
462 /* Define to 1 if the system has the type `sigset_t'. */
465 /* Define to 1 if you have the `stat' function. */
468 /* Define to 1 if you have the <stdint.h> header file. */
471 /* Define to 1 if you have the <stdlib.h> header file. */
474 /* Define to 1 if you have the `stpcpy' function. */
477 /* Define to 1 if you have the `strcasecmp' function. */
478 #undef HAVE_STRCASECMP
480 /* Define to 1 if you have the `strchr' function. */
483 /* Define to 1 if you have the `strerror' function. */
486 /* Define to 1 if you have the `strftime' function. */
489 /* Define to 1 if you have the `stricmp' function. */
492 /* Define to 1 if you have the <strings.h> header file. */
493 #undef HAVE_STRINGS_H
495 /* Define to 1 if you have the <string.h> header file. */
498 /* Define to 1 if you have the `strlwr' function. */
501 /* Define to 1 if you have the `strncasecmp' function. */
502 #undef HAVE_STRNCASECMP
504 /* Define to 1 if you have the `strpbrk' function. */
507 /* Define to 1 if you have the `strsep' function. */
510 /* Define to 1 if you have the `strtol' function. */
513 /* Define to 1 if you have the `strtoul' function. */
516 /* Define to 1 if you have the `strtoull' function. */
519 /* Define to 1 if the system has the type `struct sigaction'. */
520 #undef HAVE_STRUCT_SIGACTION
522 /* Define to 1 if `pid' is a member of `struct sockpeercred'. */
523 #undef HAVE_STRUCT_SOCKPEERCRED_PID
525 /* Define to 1 if `cr_pid' is a member of `struct ucred'. */
526 #undef HAVE_STRUCT_UCRED_CR_PID
528 /* Define to 1 if `pid' is a member of `struct ucred'. */
529 #undef HAVE_STRUCT_UCRED_PID
531 /* The system's resolver is usable. */
532 #undef HAVE_SYSTEM_RESOLVER
534 /* Define to 1 if you have the <sys/mkdev.h> header file. */
535 #undef HAVE_SYS_MKDEV_H
537 /* Define to 1 if you have the <sys/select.h> header file. */
538 #undef HAVE_SYS_SELECT_H
540 /* Define to 1 if you have the <sys/socket.h> header file. */
541 #undef HAVE_SYS_SOCKET_H
543 /* Define to 1 if you have the <sys/stat.h> header file. */
544 #undef HAVE_SYS_STAT_H
546 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
547 #undef HAVE_SYS_SYSMACROS_H
549 /* Define to 1 if you have the <sys/types.h> header file. */
550 #undef HAVE_SYS_TYPES_H
552 /* Define to 1 if you have the <sys/ucred.h> header file. */
553 #undef HAVE_SYS_UCRED_H
555 /* Define to 1 if you have the `tcgetattr' function. */
556 #undef HAVE_TCGETATTR
558 /* Define to 1 if you have the <termios.h> header file. */
559 #undef HAVE_TERMIOS_H
561 /* Define to 1 if you have the <termio.h> header file. */
564 /* Define to 1 if you have the `timegm' function. */
567 /* Define to 1 if you have the `times' function. */
570 /* Define to 1 if you have the `ttyname' function. */
573 /* Define to 1 if the system has the type `u16'. */
576 /* Define to 1 if the system has the type `u32'. */
579 /* Define to 1 if you have the <ucred.h> header file. */
582 /* Define to 1 if the system has the type `ulong'. */
585 /* Define to 1 if you have the <unistd.h> header file. */
588 /* Define to 1 if you have the `unsetenv' function. */
591 /* Defined if time_t is an unsigned type */
592 #undef HAVE_UNSIGNED_TIME_T
594 /* Define to 1 if the system has the type `ushort'. */
597 /* Define to 1 if you have the <util.h> header file. */
600 /* Define to 1 if you have the <utmp.h> header file. */
603 /* Define to 1 if you have the `vfork' function. */
606 /* Define to 1 if you have the <vfork.h> header file. */
609 /* Define to 1 if you have the `vprintf' function. */
612 /* Defined if we run on WindowsCE */
613 #undef HAVE_W32CE_SYSTEM
615 /* Defined if we run on a W32 API based system */
616 #undef HAVE_W32_SYSTEM
618 /* Define to 1 if you have the `wait4' function. */
621 /* Define to 1 if you have the `waitpid' function. */
624 /* Define to 1 if you have the <winsock2.h> header file. */
625 #undef HAVE_WINSOCK2_H
627 /* Define to 1 if `fork' works. */
628 #undef HAVE_WORKING_FORK
630 /* Define to 1 if `vfork' works. */
631 #undef HAVE_WORKING_VFORK
633 /* Define to 1 if you have the <ws2tcpip.h> header file. */
634 #undef HAVE_WS2TCPIP_H
636 /* Defined if ZIP and ZLIB are supported */
639 /* Enable GNUTLS support in http.c */
640 #undef HTTP_USE_GNUTLS
642 /* Enable NTBTLS support in http.c */
643 #undef HTTP_USE_NTBTLS
645 /* Define as const if the declaration of iconv() needs const. */
648 /* Defined if this is not a regular release */
649 #undef IS_DEVELOPMENT_VERSION
651 /* The displayed name of keyboxd */
652 #undef KEYBOXD_DISP_NAME
654 /* The name of the keyboxd */
657 /* The name of the keyboxd socket */
658 #undef KEYBOXD_SOCK_NAME
660 /* Defined if the host has little endian byte ordering */
661 #undef LITTLE_ENDIAN_HOST
663 /* Defined if this build is in maintainer mode */
664 #undef MAINTAINER_MODE
666 /* Tool with sendmail -t interface */
667 #undef NAME_OF_SENDMAIL
669 /* Required version of Libksba */
670 #undef NEED_KSBA_VERSION
672 /* Define if the LDAP library requires including lber.h before ldap.h */
675 /* Required version of Libgcrypt */
676 #undef NEED_LIBGCRYPT_VERSION
678 /* Required version of NTBTLS */
679 #undef NEED_NTBTLS_VERSION
681 /* Define to disable all external program execution */
684 /* Define to include only trust-model always */
685 #undef NO_TRUST_MODELS
687 /* Build with debug version of nPth */
688 #undef NPTH_ENABLE_DEBUG
690 /* Name of this package */
693 /* Bug report address */
694 #undef PACKAGE_BUGREPORT
696 /* Name of this package for gettext */
699 /* Define to the full name of this package. */
702 /* Define to the full name and version of this package. */
703 #undef PACKAGE_STRING
705 /* Define to the one symbol short name of this package. */
706 #undef PACKAGE_TARNAME
708 /* Define to the home page for this package. */
711 /* Define to the version of this package. */
712 #undef PACKAGE_VERSION
714 /* Size of the key and UID caches */
715 #undef PK_UID_CACHE_SIZE
717 /* A human readable text with the name of the OS */
718 #undef PRINTABLE_OS_NAME
720 /* Defined if "make check" shall run all tests */
723 /* The displayed name of scdaemon */
724 #undef SCDAEMON_DISP_NAME
726 /* The name of the scdaemon */
729 /* The name of the SCdaemon socket */
730 #undef SCDAEMON_SOCK_NAME
732 /* Size of secure memory buffer */
733 #undef SECMEM_BUFFER_SIZE
735 /* The size of `size_t', as computed by sizeof. */
738 /* The size of `time_t', as computed by sizeof. */
741 /* The size of `unsigned int', as computed by sizeof. */
742 #undef SIZEOF_UNSIGNED_INT
744 /* The size of `unsigned long', as computed by sizeof. */
745 #undef SIZEOF_UNSIGNED_LONG
747 /* The size of `unsigned long long', as computed by sizeof. */
748 #undef SIZEOF_UNSIGNED_LONG_LONG
750 /* The size of `unsigned short', as computed by sizeof. */
751 #undef SIZEOF_UNSIGNED_SHORT
753 /* Define to 1 if you have the ANSI C header files. */
756 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
757 #undef TIME_WITH_SYS_TIME
759 /* The displayed name of TPM2 daemon */
760 #undef TPM2DAEMON_DISP_NAME
762 /* The name of the TPM2 daemon */
763 #undef TPM2DAEMON_NAME
765 /* The name of the TPM2 daemon socket */
766 #undef TPM2DAEMON_SOCK_NAME
768 /* ibmtss include location */
771 /* Define to enable auto starting of the dirmngr */
772 #undef USE_DIRMNGR_AUTO_START
774 /* Define to install gpg as gpg2 */
777 /* Defined if LDAP is support */
780 /* Build with integrated libdns support */
783 /* Defined if support for nPth is requested and nPth is available */
786 /* Set this to limit filenames to the 8.3 format */
787 #undef USE_ONLY_8DOT3
789 /* If defined try /run/gnupg/user before /run/user */
790 #undef USE_RUN_GNUPG_USER_SOCKET
792 /* Because the Unix gettext has too much overhead on MingW32 systems and these
793 systems lack Posix functions, we use a simplified version of gettext */
794 #undef USE_SIMPLE_GETTEXT
796 /* Enable extensions on AIX 3, Interix. */
800 /* Enable GNU extensions on systems that have them. */
804 /* Enable threading extensions on Solaris. */
805 #ifndef _POSIX_PTHREAD_SEMANTICS
806 # undef _POSIX_PTHREAD_SEMANTICS
808 /* Enable extensions on HP NonStop. */
809 #ifndef _TANDEM_SOURCE
810 # undef _TANDEM_SOURCE
812 /* Enable general extensions on Solaris. */
813 #ifndef __EXTENSIONS__
814 # undef __EXTENSIONS__
818 /* Enable to build the TOFU code */
821 /* Version of this package */
824 /* Expose all libc features (__DARWIN_C_FULL). */
825 #undef _DARWIN_C_SOURCE
827 /* Enable large inode numbers on Mac OS X 10.5. */
828 #ifndef _DARWIN_USE_64_BIT_INODE
829 # define _DARWIN_USE_64_BIT_INODE 1
832 /* Number of bits in a file offset, on hosts where this is settable. */
833 #undef _FILE_OFFSET_BITS
835 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
836 #undef _LARGEFILE_SOURCE
838 /* Define for large files, on AIX-style hosts. */
841 /* Define to 1 if on MINIX. */
844 /* Define to 2 if the system does not provide POSIX.1 features except with
846 #undef _POSIX_1_SOURCE
848 /* Define to 1 if you need to in order for `stat' and other things to work. */
851 /* Define to empty if `const' does not conform to ANSI C. */
854 /* Define to `__inline__' or `__inline' if that's what the C compiler
855 calls it, or to nothing if 'inline' is not supported under any name. */
860 /* Define to `int' if <sys/types.h> does not define. */
863 /* Define to `int' if <sys/types.h> does not define. */
866 /* Define to `unsigned int' if <sys/types.h> does not define. */
869 /* type to use in place of socklen_t if not defined */
872 /* Define as `fork' if `vfork' does not work. */
875 /* Define to empty if the keyword `volatile' does not work. Warning: valid
876 code using `volatile' can become incorrect without. Disable with care. */
880 /* This is the major version number of GnuPG so that
881 source included files can test for this. Note, that
882 we use 2 here even for GnuPG 1.9.x. */
883 #define GNUPG_MAJOR_VERSION 2
885 /* Now to separate file name parts.
886 Please note that the string version must not contain more
887 than one character because the code assumes strlen()==1 */
888 #ifdef HAVE_DOSISH_SYSTEM
889 #define DIRSEP_C '\\'
890 #define DIRSEP_S "\\"
893 #define PATHSEP_C ';'
894 #define PATHSEP_S ";"
895 #define EXEEXT_S ".exe"
901 #define PATHSEP_C ':'
902 #define PATHSEP_S ":"
906 /* Some global constants.
907 * Note that the homedir must not end in a slash. */
908 #ifdef HAVE_DOSISH_SYSTEM
909 # ifdef HAVE_DRIVE_LETTERS
910 # define GNUPG_DEFAULT_HOMEDIR "c:/gnupg"
912 # define GNUPG_DEFAULT_HOMEDIR "/gnupg"
915 #define GNUPG_DEFAULT_HOMEDIR "/SYS$LOGIN/gnupg"
917 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
919 #define GNUPG_PRIVATE_KEYS_DIR "private-keys-v1.d"
920 #define GNUPG_PUBLIC_KEYS_DIR "public-keys.d"
921 #define GNUPG_OPENPGP_REVOC_DIR "openpgp-revocs.d"
922 #define GNUPG_CACHE_DIR "cache.d"
924 /* GnuPG has always been a part of the GNU project and thus we have
925 * shown the FSF as holder of the copyright. We continue to do so for
926 * the reason that without the FSF the free software used all over the
927 * world would not have come into existence. However, under Windows
928 * we print a different copyright string with --version because the
929 * copyright assignments of g10 Code and Werner Koch were terminated
930 * many years ago, g10 Code is still the major contributor to the
931 * code, and Windows is not an FSF endorsed platform. Note that the
932 * actual list of copyright holders can be found in the AUTHORS file. */
933 #ifdef HAVE_W32_SYSTEM
934 #define GNUPG_DEF_COPYRIGHT_LINE "Copyright (C) 2021 g10 Code GmbH"
936 #define GNUPG_DEF_COPYRIGHT_LINE \
937 "Copyright (C) 2021 Free Software Foundation, Inc."
940 /* For some systems (DOS currently), we hardcode the path here. For
941 POSIX systems the values are constructed by the Makefiles, so that
942 the values may be overridden by the make invocations; this is to
943 comply with the GNU coding standards. Note that these values are
945 #ifdef HAVE_DOSISH_SYSTEM
946 # ifdef HAVE_DRIVE_LETTERS
947 # define GNUPG_BINDIR "c:\\gnupg"
948 # define GNUPG_LIBEXECDIR "c:\\gnupg"
949 # define GNUPG_LIBDIR "c:\\gnupg"
950 # define GNUPG_DATADIR "c:\\gnupg"
951 # define GNUPG_SYSCONFDIR "c:\\gnupg"
953 # define GNUPG_BINDIR "\\gnupg"
954 # define GNUPG_LIBEXECDIR "\\gnupg"
955 # define GNUPG_LIBDIR "\\gnupg"
956 # define GNUPG_DATADIR "\\gnupg"
957 # define GNUPG_SYSCONFDIR "\\gnupg"
961 /* Derive some other constants. */
962 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
963 #define EXEC_TEMPFILE_ONLY
967 /* We didn't define endianness above, so get it from OS macros. This
968 is intended for making fat binary builds on OS X. */
969 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
970 #if defined(__BIG_ENDIAN__)
971 #define BIG_ENDIAN_HOST 1
972 #elif defined(__LITTLE_ENDIAN__)
973 #define LITTLE_ENDIAN_HOST 1
975 #error "No endianness found"
980 /* Hack used for W32: ldap.m4 also tests for the ASCII version of
981 ldap_start_tls_s because that is the actual symbol used in the
982 library. winldap.h redefines it to our commonly used value,
983 thus we define our usual macro here. */
984 #ifdef HAVE_LDAP_START_TLS_SA
985 # ifndef HAVE_LDAP_START_TLS_S
986 # define HAVE_LDAP_START_TLS_S 1
990 /* Enable the es_ macros from gpgrt. */
991 #define GPGRT_ENABLE_ES_MACROS 1
993 /* Enable the log_ macros from gpgrt. */
994 #define GPGRT_ENABLE_LOG_MACROS 1
996 /* We want the argparse macros from gpgrt. */
997 #define GPGRT_ENABLE_ARGPARSE_MACROS 1
999 /* Tell libgcrypt not to use its own libgpg-error implementation. */
1000 #define USE_LIBGPG_ERROR 1
1002 /* Tell Libgcrypt not to include deprecated definitions. */
1003 #define GCRYPT_NO_DEPRECATED 1
1005 /* Our HTTP code is used in estream mode. */
1006 #define HTTP_USE_ESTREAM 1
1008 /* Under W32 we do an explicit socket initialization, thus we need to
1009 avoid the on-demand initialization which would also install an atexit
1011 #define HTTP_NO_WSASTARTUP
1013 /* Under Windows we use the gettext code from libgpg-error. */
1014 #define GPG_ERR_ENABLE_GETTEXT_MACROS
1016 /* Under WindowsCE we use the strerror replacement from libgpg-error. */
1017 #define GPG_ERR_ENABLE_ERRNO_MACROS
1019 #endif /*GNUPG_CONFIG_H_INCLUDED*/