Imported Upstream version 2.3.1
[platform/upstream/gpg2.git] / config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3
4 #ifndef GNUPG_CONFIG_H_INCLUDED
5 #define GNUPG_CONFIG_H_INCLUDED
6
7
8 /* Agent s2k calibration time (ms) */
9 #undef AGENT_S2K_CALIBRATION
10
11 /* Defined if the host has big endian byte ordering */
12 #undef BIG_ENDIAN_HOST
13
14 /* an Apple OSXism */
15 #undef BIND_8_COMPAT
16
17 /* GIT commit id revision used to build this package */
18 #undef BUILD_REVISION
19
20 /* The time this package was configured for a build */
21 #undef BUILD_TIMESTAMP
22
23 /* Defined if GPG-AGENT is to be build */
24 #undef BUILD_WITH_AGENT
25
26 /* Defined if DIRMNGR is to be build */
27 #undef BUILD_WITH_DIRMNGR
28
29 /* Defined if G13 is to be build */
30 #undef BUILD_WITH_G13
31
32 /* Defined if GPG is to be build */
33 #undef BUILD_WITH_GPG
34
35 /* Defined if GPGSM is to be build */
36 #undef BUILD_WITH_GPGSM
37
38 /* Defined if KEYBOXD is to be build */
39 #undef BUILD_WITH_KEYBOXD
40
41 /* Defined if SCDAEMON is to be build */
42 #undef BUILD_WITH_SCDAEMON
43
44 /* Defined if TPM2D to be build */
45 #undef BUILD_WITH_TPM2D
46
47 /* Use as default system trust store file */
48 #undef DEFAULT_TRUST_STORE_FILE
49
50 /* The default keyserver for dirmngr to use, if none is explicitly given */
51 #undef DIRMNGR_DEFAULT_KEYSERVER
52
53 /* The displayed name of dirmngr */
54 #undef DIRMNGR_DISP_NAME
55
56 /* The name of the dirmngr info envvar */
57 #undef DIRMNGR_INFO_NAME
58
59 /* The name of the dirmngr */
60 #undef DIRMNGR_NAME
61
62 /* The name of the dirmngr socket */
63 #undef DIRMNGR_SOCK_NAME
64
65 /* define to disable photo viewing */
66 #undef DISABLE_PHOTO_VIEWER
67
68 /* Define to include smartcard support */
69 #undef ENABLE_CARD_SUPPORT
70
71 /* This is only used with "make distcheck" */
72 #undef ENABLE_GNUPG_BUILDDIR_ENVVAR
73
74 /* Defined to use log_clock timestamps */
75 #undef ENABLE_LOG_CLOCK
76
77 /* Define to 1 if translation of program messages to the user's native
78    language is requested. */
79 #undef ENABLE_NLS
80
81 /* Define to enable SELinux support */
82 #undef ENABLE_SELINUX_HACKS
83
84 /* defines the filename of the encfs program */
85 #undef ENCFS
86
87 /* The executable file extension, if any */
88 #undef EXEEXT
89
90 /* if set, restrict photo-viewer to this */
91 #undef FIXED_PHOTO_VIEWER
92
93 /* defines the filename of the fusermount program */
94 #undef FUSERMOUNT
95
96 /* The displayed name of g13 */
97 #undef G13_DISP_NAME
98
99 /* The name of the g13 tool */
100 #undef G13_NAME
101
102 /* version of the libassuan library */
103 #undef GNUPG_LIBASSUAN_VERSION
104
105 /* The name of the project */
106 #undef GNUPG_NAME
107
108 /* The directory part of the W32 registry keys */
109 #undef GNUPG_REGISTRY_DIR
110
111 /* swdb tag for this branch */
112 #undef GNUPG_SWDB_TAG
113
114 /* The displayed name of gpgconf */
115 #undef GPGCONF_DISP_NAME
116
117 /* The name of the gpgconf tool */
118 #undef GPGCONF_NAME
119
120 /* The standard binary file suffix */
121 #undef GPGEXT_GPG
122
123 /* The displayed name of gpgsm */
124 #undef GPGSM_DISP_NAME
125
126 /* The name of the S/MIME tool */
127 #undef GPGSM_NAME
128
129 /* The name of the gpgtar tool */
130 #undef GPGTAR_NAME
131
132 /* The name of the agent socket for browsers */
133 #undef GPG_AGENT_BROWSER_SOCK_NAME
134
135 /* The displayed name of gpg-agent */
136 #undef GPG_AGENT_DISP_NAME
137
138 /* The name of the agent socket for remote access */
139 #undef GPG_AGENT_EXTRA_SOCK_NAME
140
141 /* The name of the agent */
142 #undef GPG_AGENT_NAME
143
144 /* The name of the agent socket */
145 #undef GPG_AGENT_SOCK_NAME
146
147 /* The name of the agent socket for ssh */
148 #undef GPG_AGENT_SSH_SOCK_NAME
149
150 /* The displayed name of gpg */
151 #undef GPG_DISP_NAME
152
153 /* The name of the OpenPGP tool */
154 #undef GPG_NAME
155
156 /* Define to support the AES128 cipher */
157 #undef GPG_USE_AES128
158
159 /* Define to support the AES192 cipher */
160 #undef GPG_USE_AES192
161
162 /* Define to support the AES256 cipher */
163 #undef GPG_USE_AES256
164
165 /* Define to support the BLOWFISH cipher */
166 #undef GPG_USE_BLOWFISH
167
168 /* Define to support the CAMELLIA128 cipher */
169 #undef GPG_USE_CAMELLIA128
170
171 /* Define to support the CAMELLIA192 cipher */
172 #undef GPG_USE_CAMELLIA192
173
174 /* Define to support the CAMELLIA256 cipher */
175 #undef GPG_USE_CAMELLIA256
176
177 /* Define to support the CAST5 cipher */
178 #undef GPG_USE_CAST5
179
180 /* Define to support the ECDH public key */
181 #undef GPG_USE_ECDH
182
183 /* Define to support the ECDSA public key */
184 #undef GPG_USE_ECDSA
185
186 /* Define to support the EdDSA public key */
187 #undef GPG_USE_EDDSA
188
189 /* Define to support the IDEA cipher */
190 #undef GPG_USE_IDEA
191
192 /* Define to support the MD5 hash */
193 #undef GPG_USE_MD5
194
195 /* Define to support the RIPE-MD160 hash */
196 #undef GPG_USE_RMD160
197
198 /* Define to support the RSA public key */
199 #undef GPG_USE_RSA
200
201 /* Define to support the SHA-224 hash */
202 #undef GPG_USE_SHA224
203
204 /* Define to support the SHA-384 hash */
205 #undef GPG_USE_SHA384
206
207 /* Define to support the SHA-512 hash */
208 #undef GPG_USE_SHA512
209
210 /* Define to support the TWOFISH cipher */
211 #undef GPG_USE_TWOFISH
212
213 /* Defined if we build for an Android system */
214 #undef HAVE_ANDROID_SYSTEM
215
216 /* Define to 1 if you have the `atexit' function. */
217 #undef HAVE_ATEXIT
218
219 /* Defined if ttyname does not work properly */
220 #undef HAVE_BROKEN_TTYNAME
221
222 /* Define to 1 if the system has the type `byte'. */
223 #undef HAVE_BYTE
224
225 /* Defined if the bz2 compression library is available */
226 #undef HAVE_BZIP2
227
228 /* Define to 1 if you have the `canonicalize_file_name' function. */
229 #undef HAVE_CANONICALIZE_FILE_NAME
230
231 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
232    CoreFoundation framework. */
233 #undef HAVE_CFLOCALECOPYCURRENT
234
235 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
236    the CoreFoundation framework. */
237 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
238
239 /* Define to 1 if you have the `clock_gettime' function. */
240 #undef HAVE_CLOCK_GETTIME
241
242 /* Define to 1 if you have the `ctermid' function. */
243 #undef HAVE_CTERMID
244
245 /* Define if the GNU dcgettext() function is already present or preinstalled.
246    */
247 #undef HAVE_DCGETTEXT
248
249 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
250    don't. */
251 #undef HAVE_DECL_GETPAGESIZE
252
253 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
254    don't. */
255 #undef HAVE_DECL_SYS_SIGLIST
256
257 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
258 #undef HAVE_DOPRNT
259
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
264
265 /* Defined if the OS supports drive letters. */
266 #undef HAVE_DRIVE_LETTERS
267
268 /* Define to 1 if you have the `explicit_bzero' function. */
269 #undef HAVE_EXPLICIT_BZERO
270
271 /* Define to 1 if you have the `fcntl' function. */
272 #undef HAVE_FCNTL
273
274 /* Define to 1 if you have the `flockfile' function. */
275 #undef HAVE_FLOCKFILE
276
277 /* Define to 1 if you have the `fork' function. */
278 #undef HAVE_FORK
279
280 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
281 #undef HAVE_FSEEKO
282
283 /* Define to 1 if you have the `fsync' function. */
284 #undef HAVE_FSYNC
285
286 /* Define to 1 if you have the `ftello' function. */
287 #undef HAVE_FTELLO
288
289 /* Define to 1 if you have the `ftruncate' function. */
290 #undef HAVE_FTRUNCATE
291
292 /* Define to 1 if you have the `funlockfile' function. */
293 #undef HAVE_FUNLOCKFILE
294
295 /* Define to 1 if you have the `getaddrinfo' function. */
296 #undef HAVE_GETADDRINFO
297
298 /* Define to 1 if you have the `getenv' function. */
299 #undef HAVE_GETENV
300
301 /* Define to 1 if you have the <getopt.h> header file. */
302 #undef HAVE_GETOPT_H
303
304 /* Define to 1 if you have the `getpagesize' function. */
305 #undef HAVE_GETPAGESIZE
306
307 /* Define to 1 if you have the `getpeerucred' function. */
308 #undef HAVE_GETPEERUCRED
309
310 /* Define to 1 if you have the `getpwnam' function. */
311 #undef HAVE_GETPWNAM
312
313 /* Define to 1 if you have the `getpwuid' function. */
314 #undef HAVE_GETPWUID
315
316 /* Define to 1 if you have the `getrlimit' function. */
317 #undef HAVE_GETRLIMIT
318
319 /* Define to 1 if you have the `getrusage' function. */
320 #undef HAVE_GETRUSAGE
321
322 /* Define if the GNU gettext() function is already present or preinstalled. */
323 #undef HAVE_GETTEXT
324
325 /* Define to 1 if you have the `gettimeofday' function. */
326 #undef HAVE_GETTIMEOFDAY
327
328 /* Define to 1 if you have the `gmtime_r' function. */
329 #undef HAVE_GMTIME_R
330
331 /* Define if you have the iconv() function and it works. */
332 #undef HAVE_ICONV
333
334 /* Define to 1 if you have the `inet_ntop' function. */
335 #undef HAVE_INET_NTOP
336
337 /* Define to 1 if you have the `inet_pton' function. */
338 #undef HAVE_INET_PTON
339
340 /* Define to 1 if you have the `inotify_init' function. */
341 #undef HAVE_INOTIFY_INIT
342
343 /* Defined if we have the Intel TSS */
344 #undef HAVE_INTEL_TSS
345
346 /* Define to 1 if you have the <inttypes.h> header file. */
347 #undef HAVE_INTTYPES_H
348
349 /* Define to 1 if you have the `isascii' function. */
350 #undef HAVE_ISASCII
351
352 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
353 #undef HAVE_LANGINFO_CODESET
354
355 /* Define to 1 if you have the <langinfo.h> header file. */
356 #undef HAVE_LANGINFO_H
357
358 /* defined if liblber is available */
359 #undef HAVE_LBER
360
361 /* Define if your <locale.h> file defines LC_MESSAGES. */
362 #undef HAVE_LC_MESSAGES
363
364 /* Define to 1 if you have the `ldap_get_option' function. */
365 #undef HAVE_LDAP_GET_OPTION
366
367 /* Define if the LDAP library supports ld_errno */
368 #undef HAVE_LDAP_LD_ERRNO
369
370 /* Define to 1 if you have the `ldap_set_option' function. */
371 #undef HAVE_LDAP_SET_OPTION
372
373 /* Define to 1 if you have the `ldap_start_tls_s' function. */
374 #undef HAVE_LDAP_START_TLS_S
375
376 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
377 #undef HAVE_LDAP_START_TLS_SA
378
379 /* Define to 1 if you have a fully functional readline library. */
380 #undef HAVE_LIBREADLINE
381
382 /* Defined if we have TPM2 support library */
383 #undef HAVE_LIBTSS
384
385 /* Define to 1 if you have the `tss2-esys' library (-ltss2-esys). */
386 #undef HAVE_LIBTSS2_ESYS
387
388 /* defined if libusb is available */
389 #undef HAVE_LIBUSB
390
391 /* Define to 1 if you have the <libutil.h> header file. */
392 #undef HAVE_LIBUTIL_H
393
394 /* Define to 1 if you have the <locale.h> header file. */
395 #undef HAVE_LOCALE_H
396
397 /* Define to 1 if you have the `lstat' function. */
398 #undef HAVE_LSTAT
399
400 /* Define to 1 if you have the `memicmp' function. */
401 #undef HAVE_MEMICMP
402
403 /* Define to 1 if you have the `memmove' function. */
404 #undef HAVE_MEMMOVE
405
406 /* Define to 1 if you have the <memory.h> header file. */
407 #undef HAVE_MEMORY_H
408
409 /* Define to 1 if you have the `memrchr' function. */
410 #undef HAVE_MEMRCHR
411
412 /* Define to 1 if you have the `mmap' function. */
413 #undef HAVE_MMAP
414
415 /* Define to 1 if you have the `nanosleep' function in libc. */
416 #undef HAVE_NANOSLEEP
417
418 /* Define to 1 if you have the `nl_langinfo' function. */
419 #undef HAVE_NL_LANGINFO
420
421 /* Defined if the New Portable Thread Library is available */
422 #undef HAVE_NPTH
423
424 /* Define to 1 if you have the `pipe' function. */
425 #undef HAVE_PIPE
426
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,
429    instead. */
430 #undef HAVE_PSELECT_NO_EINTR
431
432 /* Define to 1 if you have the <pty.h> header file. */
433 #undef HAVE_PTY_H
434
435 /* Define to 1 if you have the <pwd.h> header file. */
436 #undef HAVE_PWD_H
437
438 /* Define to 1 if you have the `raise' function. */
439 #undef HAVE_RAISE
440
441 /* Define to 1 if you have the `rand' function. */
442 #undef HAVE_RAND
443
444 /* Define to 1 if you have the `setenv' function. */
445 #undef HAVE_SETENV
446
447 /* Define to 1 if you have the `setlocale' function. */
448 #undef HAVE_SETLOCALE
449
450 /* Define to 1 if you have the `setrlimit' function. */
451 #undef HAVE_SETRLIMIT
452
453 /* Define to 1 if you have the `sigaction' function. */
454 #undef HAVE_SIGACTION
455
456 /* Define to 1 if you have the <signal.h> header file. */
457 #undef HAVE_SIGNAL_H
458
459 /* Define to 1 if you have the `sigprocmask' function. */
460 #undef HAVE_SIGPROCMASK
461
462 /* Define to 1 if the system has the type `sigset_t'. */
463 #undef HAVE_SIGSET_T
464
465 /* Define to 1 if you have the `stat' function. */
466 #undef HAVE_STAT
467
468 /* Define to 1 if you have the <stdint.h> header file. */
469 #undef HAVE_STDINT_H
470
471 /* Define to 1 if you have the <stdlib.h> header file. */
472 #undef HAVE_STDLIB_H
473
474 /* Define to 1 if you have the `stpcpy' function. */
475 #undef HAVE_STPCPY
476
477 /* Define to 1 if you have the `strcasecmp' function. */
478 #undef HAVE_STRCASECMP
479
480 /* Define to 1 if you have the `strchr' function. */
481 #undef HAVE_STRCHR
482
483 /* Define to 1 if you have the `strerror' function. */
484 #undef HAVE_STRERROR
485
486 /* Define to 1 if you have the `strftime' function. */
487 #undef HAVE_STRFTIME
488
489 /* Define to 1 if you have the `stricmp' function. */
490 #undef HAVE_STRICMP
491
492 /* Define to 1 if you have the <strings.h> header file. */
493 #undef HAVE_STRINGS_H
494
495 /* Define to 1 if you have the <string.h> header file. */
496 #undef HAVE_STRING_H
497
498 /* Define to 1 if you have the `strlwr' function. */
499 #undef HAVE_STRLWR
500
501 /* Define to 1 if you have the `strncasecmp' function. */
502 #undef HAVE_STRNCASECMP
503
504 /* Define to 1 if you have the `strpbrk' function. */
505 #undef HAVE_STRPBRK
506
507 /* Define to 1 if you have the `strsep' function. */
508 #undef HAVE_STRSEP
509
510 /* Define to 1 if you have the `strtol' function. */
511 #undef HAVE_STRTOL
512
513 /* Define to 1 if you have the `strtoul' function. */
514 #undef HAVE_STRTOUL
515
516 /* Define to 1 if you have the `strtoull' function. */
517 #undef HAVE_STRTOULL
518
519 /* Define to 1 if the system has the type `struct sigaction'. */
520 #undef HAVE_STRUCT_SIGACTION
521
522 /* Define to 1 if `pid' is a member of `struct sockpeercred'. */
523 #undef HAVE_STRUCT_SOCKPEERCRED_PID
524
525 /* Define to 1 if `cr_pid' is a member of `struct ucred'. */
526 #undef HAVE_STRUCT_UCRED_CR_PID
527
528 /* Define to 1 if `pid' is a member of `struct ucred'. */
529 #undef HAVE_STRUCT_UCRED_PID
530
531 /* The system's resolver is usable. */
532 #undef HAVE_SYSTEM_RESOLVER
533
534 /* Define to 1 if you have the <sys/mkdev.h> header file. */
535 #undef HAVE_SYS_MKDEV_H
536
537 /* Define to 1 if you have the <sys/select.h> header file. */
538 #undef HAVE_SYS_SELECT_H
539
540 /* Define to 1 if you have the <sys/socket.h> header file. */
541 #undef HAVE_SYS_SOCKET_H
542
543 /* Define to 1 if you have the <sys/stat.h> header file. */
544 #undef HAVE_SYS_STAT_H
545
546 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
547 #undef HAVE_SYS_SYSMACROS_H
548
549 /* Define to 1 if you have the <sys/types.h> header file. */
550 #undef HAVE_SYS_TYPES_H
551
552 /* Define to 1 if you have the <sys/ucred.h> header file. */
553 #undef HAVE_SYS_UCRED_H
554
555 /* Define to 1 if you have the `tcgetattr' function. */
556 #undef HAVE_TCGETATTR
557
558 /* Define to 1 if you have the <termios.h> header file. */
559 #undef HAVE_TERMIOS_H
560
561 /* Define to 1 if you have the <termio.h> header file. */
562 #undef HAVE_TERMIO_H
563
564 /* Define to 1 if you have the `timegm' function. */
565 #undef HAVE_TIMEGM
566
567 /* Define to 1 if you have the `times' function. */
568 #undef HAVE_TIMES
569
570 /* Define to 1 if you have the `ttyname' function. */
571 #undef HAVE_TTYNAME
572
573 /* Define to 1 if the system has the type `u16'. */
574 #undef HAVE_U16
575
576 /* Define to 1 if the system has the type `u32'. */
577 #undef HAVE_U32
578
579 /* Define to 1 if you have the <ucred.h> header file. */
580 #undef HAVE_UCRED_H
581
582 /* Define to 1 if the system has the type `ulong'. */
583 #undef HAVE_ULONG
584
585 /* Define to 1 if you have the <unistd.h> header file. */
586 #undef HAVE_UNISTD_H
587
588 /* Define to 1 if you have the `unsetenv' function. */
589 #undef HAVE_UNSETENV
590
591 /* Defined if time_t is an unsigned type */
592 #undef HAVE_UNSIGNED_TIME_T
593
594 /* Define to 1 if the system has the type `ushort'. */
595 #undef HAVE_USHORT
596
597 /* Define to 1 if you have the <util.h> header file. */
598 #undef HAVE_UTIL_H
599
600 /* Define to 1 if you have the <utmp.h> header file. */
601 #undef HAVE_UTMP_H
602
603 /* Define to 1 if you have the `vfork' function. */
604 #undef HAVE_VFORK
605
606 /* Define to 1 if you have the <vfork.h> header file. */
607 #undef HAVE_VFORK_H
608
609 /* Define to 1 if you have the `vprintf' function. */
610 #undef HAVE_VPRINTF
611
612 /* Defined if we run on WindowsCE */
613 #undef HAVE_W32CE_SYSTEM
614
615 /* Defined if we run on a W32 API based system */
616 #undef HAVE_W32_SYSTEM
617
618 /* Define to 1 if you have the `wait4' function. */
619 #undef HAVE_WAIT4
620
621 /* Define to 1 if you have the `waitpid' function. */
622 #undef HAVE_WAITPID
623
624 /* Define to 1 if you have the <winsock2.h> header file. */
625 #undef HAVE_WINSOCK2_H
626
627 /* Define to 1 if `fork' works. */
628 #undef HAVE_WORKING_FORK
629
630 /* Define to 1 if `vfork' works. */
631 #undef HAVE_WORKING_VFORK
632
633 /* Define to 1 if you have the <ws2tcpip.h> header file. */
634 #undef HAVE_WS2TCPIP_H
635
636 /* Defined if ZIP and ZLIB are supported */
637 #undef HAVE_ZIP
638
639 /* Enable GNUTLS support in http.c */
640 #undef HTTP_USE_GNUTLS
641
642 /* Enable NTBTLS support in http.c */
643 #undef HTTP_USE_NTBTLS
644
645 /* Define as const if the declaration of iconv() needs const. */
646 #undef ICONV_CONST
647
648 /* Defined if this is not a regular release */
649 #undef IS_DEVELOPMENT_VERSION
650
651 /* The displayed name of keyboxd */
652 #undef KEYBOXD_DISP_NAME
653
654 /* The name of the keyboxd */
655 #undef KEYBOXD_NAME
656
657 /* The name of the keyboxd socket */
658 #undef KEYBOXD_SOCK_NAME
659
660 /* Defined if the host has little endian byte ordering */
661 #undef LITTLE_ENDIAN_HOST
662
663 /* Defined if this build is in maintainer mode */
664 #undef MAINTAINER_MODE
665
666 /* Tool with sendmail -t interface */
667 #undef NAME_OF_SENDMAIL
668
669 /* Required version of Libksba */
670 #undef NEED_KSBA_VERSION
671
672 /* Define if the LDAP library requires including lber.h before ldap.h */
673 #undef NEED_LBER_H
674
675 /* Required version of Libgcrypt */
676 #undef NEED_LIBGCRYPT_VERSION
677
678 /* Required version of NTBTLS */
679 #undef NEED_NTBTLS_VERSION
680
681 /* Define to disable all external program execution */
682 #undef NO_EXEC
683
684 /* Define to include only trust-model always */
685 #undef NO_TRUST_MODELS
686
687 /* Build with debug version of nPth */
688 #undef NPTH_ENABLE_DEBUG
689
690 /* Name of this package */
691 #undef PACKAGE
692
693 /* Bug report address */
694 #undef PACKAGE_BUGREPORT
695
696 /* Name of this package for gettext */
697 #undef PACKAGE_GT
698
699 /* Define to the full name of this package. */
700 #undef PACKAGE_NAME
701
702 /* Define to the full name and version of this package. */
703 #undef PACKAGE_STRING
704
705 /* Define to the one symbol short name of this package. */
706 #undef PACKAGE_TARNAME
707
708 /* Define to the home page for this package. */
709 #undef PACKAGE_URL
710
711 /* Define to the version of this package. */
712 #undef PACKAGE_VERSION
713
714 /* Size of the key and UID caches */
715 #undef PK_UID_CACHE_SIZE
716
717 /* A human readable text with the name of the OS */
718 #undef PRINTABLE_OS_NAME
719
720 /* Defined if "make check" shall run all tests */
721 #undef RUN_ALL_TESTS
722
723 /* The displayed name of scdaemon */
724 #undef SCDAEMON_DISP_NAME
725
726 /* The name of the scdaemon */
727 #undef SCDAEMON_NAME
728
729 /* The name of the SCdaemon socket */
730 #undef SCDAEMON_SOCK_NAME
731
732 /* Size of secure memory buffer */
733 #undef SECMEM_BUFFER_SIZE
734
735 /* The size of `size_t', as computed by sizeof. */
736 #undef SIZEOF_SIZE_T
737
738 /* The size of `time_t', as computed by sizeof. */
739 #undef SIZEOF_TIME_T
740
741 /* The size of `unsigned int', as computed by sizeof. */
742 #undef SIZEOF_UNSIGNED_INT
743
744 /* The size of `unsigned long', as computed by sizeof. */
745 #undef SIZEOF_UNSIGNED_LONG
746
747 /* The size of `unsigned long long', as computed by sizeof. */
748 #undef SIZEOF_UNSIGNED_LONG_LONG
749
750 /* The size of `unsigned short', as computed by sizeof. */
751 #undef SIZEOF_UNSIGNED_SHORT
752
753 /* Define to 1 if you have the ANSI C header files. */
754 #undef STDC_HEADERS
755
756 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
757 #undef TIME_WITH_SYS_TIME
758
759 /* The displayed name of TPM2 daemon */
760 #undef TPM2DAEMON_DISP_NAME
761
762 /* The name of the TPM2 daemon */
763 #undef TPM2DAEMON_NAME
764
765 /* The name of the TPM2 daemon socket */
766 #undef TPM2DAEMON_SOCK_NAME
767
768 /* ibmtss include location */
769 #undef TSS_INCLUDE
770
771 /* Define to enable auto starting of the dirmngr */
772 #undef USE_DIRMNGR_AUTO_START
773
774 /* Define to install gpg as gpg2 */
775 #undef USE_GPG2_HACK
776
777 /* Defined if LDAP is support */
778 #undef USE_LDAP
779
780 /* Build with integrated libdns support */
781 #undef USE_LIBDNS
782
783 /* Defined if support for nPth is requested and nPth is available */
784 #undef USE_NPTH
785
786 /* Set this to limit filenames to the 8.3 format */
787 #undef USE_ONLY_8DOT3
788
789 /* If defined try /run/gnupg/user before /run/user */
790 #undef USE_RUN_GNUPG_USER_SOCKET
791
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
795
796 /* Enable extensions on AIX 3, Interix.  */
797 #ifndef _ALL_SOURCE
798 # undef _ALL_SOURCE
799 #endif
800 /* Enable GNU extensions on systems that have them.  */
801 #ifndef _GNU_SOURCE
802 # undef _GNU_SOURCE
803 #endif
804 /* Enable threading extensions on Solaris.  */
805 #ifndef _POSIX_PTHREAD_SEMANTICS
806 # undef _POSIX_PTHREAD_SEMANTICS
807 #endif
808 /* Enable extensions on HP NonStop.  */
809 #ifndef _TANDEM_SOURCE
810 # undef _TANDEM_SOURCE
811 #endif
812 /* Enable general extensions on Solaris.  */
813 #ifndef __EXTENSIONS__
814 # undef __EXTENSIONS__
815 #endif
816
817
818 /* Enable to build the TOFU code */
819 #undef USE_TOFU
820
821 /* Version of this package */
822 #undef VERSION
823
824 /* Expose all libc features (__DARWIN_C_FULL). */
825 #undef _DARWIN_C_SOURCE
826
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
830 #endif
831
832 /* Number of bits in a file offset, on hosts where this is settable. */
833 #undef _FILE_OFFSET_BITS
834
835 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
836 #undef _LARGEFILE_SOURCE
837
838 /* Define for large files, on AIX-style hosts. */
839 #undef _LARGE_FILES
840
841 /* Define to 1 if on MINIX. */
842 #undef _MINIX
843
844 /* Define to 2 if the system does not provide POSIX.1 features except with
845    this defined. */
846 #undef _POSIX_1_SOURCE
847
848 /* Define to 1 if you need to in order for `stat' and other things to work. */
849 #undef _POSIX_SOURCE
850
851 /* Define to empty if `const' does not conform to ANSI C. */
852 #undef const
853
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.  */
856 #ifndef __cplusplus
857 #undef inline
858 #endif
859
860 /* Define to `int' if <sys/types.h> does not define. */
861 #undef mode_t
862
863 /* Define to `int' if <sys/types.h> does not define. */
864 #undef pid_t
865
866 /* Define to `unsigned int' if <sys/types.h> does not define. */
867 #undef size_t
868
869 /* type to use in place of socklen_t if not defined */
870 #undef socklen_t
871
872 /* Define as `fork' if `vfork' does not work. */
873 #undef vfork
874
875 /* Define to empty if the keyword `volatile' does not work. Warning: valid
876    code using `volatile' can become incorrect without. Disable with care. */
877 #undef volatile
878
879
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
884
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 "\\"
891 #define EXTSEP_C '.'
892 #define EXTSEP_S "."
893 #define PATHSEP_C ';'
894 #define PATHSEP_S ";"
895 #define EXEEXT_S ".exe"
896 #else
897 #define DIRSEP_C '/'
898 #define DIRSEP_S "/"
899 #define EXTSEP_C '.'
900 #define EXTSEP_S "."
901 #define PATHSEP_C ':'
902 #define PATHSEP_S ":"
903 #define EXEEXT_S ""
904 #endif
905
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"
911 # else
912 #  define GNUPG_DEFAULT_HOMEDIR "/gnupg"
913 # endif
914 #elif defined(__VMS)
915 #define GNUPG_DEFAULT_HOMEDIR "/SYS$LOGIN/gnupg"
916 #else
917 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
918 #endif
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"
923
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"
935 #else
936 #define GNUPG_DEF_COPYRIGHT_LINE \
937         "Copyright (C) 2021 Free Software Foundation, Inc."
938 #endif
939
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
944    only defaults.  */
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"
952 # else
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"
958 # endif
959 #endif
960
961 /* Derive some other constants. */
962 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
963 #define EXEC_TEMPFILE_ONLY
964 #endif
965
966
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
974 #else
975 #error "No endianness found"
976 #endif
977 #endif
978
979
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
987 # endif
988 #endif
989
990 /* Enable the es_ macros from gpgrt.  */
991 #define GPGRT_ENABLE_ES_MACROS 1
992
993 /* Enable the log_ macros from gpgrt.  */
994 #define GPGRT_ENABLE_LOG_MACROS 1
995
996 /* We want the argparse macros from gpgrt.  */
997 #define GPGRT_ENABLE_ARGPARSE_MACROS 1
998
999 /* Tell libgcrypt not to use its own libgpg-error implementation. */
1000 #define USE_LIBGPG_ERROR 1
1001
1002 /* Tell Libgcrypt not to include deprecated definitions.  */
1003 #define GCRYPT_NO_DEPRECATED 1
1004
1005 /* Our HTTP code is used in estream mode.  */
1006 #define HTTP_USE_ESTREAM 1
1007
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
1010    handler.  */
1011 #define HTTP_NO_WSASTARTUP
1012
1013 /* Under Windows we use the gettext code from libgpg-error.  */
1014 #define GPG_ERR_ENABLE_GETTEXT_MACROS
1015
1016 /* Under WindowsCE we use the strerror replacement from libgpg-error.  */
1017 #define GPG_ERR_ENABLE_ERRNO_MACROS
1018
1019 #endif /*GNUPG_CONFIG_H_INCLUDED*/
1020