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