Imported Upstream version 2.0.26
[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 /* Define this to an absolute name of <stdint.h>. */
9 #undef ABSOLUTE_STDINT_H
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 /* Define to the number of bits in type 'ptrdiff_t'. */
18 #undef BITSIZEOF_PTRDIFF_T
19
20 /* Define to the number of bits in type 'sig_atomic_t'. */
21 #undef BITSIZEOF_SIG_ATOMIC_T
22
23 /* Define to the number of bits in type 'size_t'. */
24 #undef BITSIZEOF_SIZE_T
25
26 /* Define to the number of bits in type 'wchar_t'. */
27 #undef BITSIZEOF_WCHAR_T
28
29 /* Define to the number of bits in type 'wint_t'. */
30 #undef BITSIZEOF_WINT_T
31
32 /* GIT commit id revision used to build this package */
33 #undef BUILD_REVISION
34
35 /* The time this package was configured for a build */
36 #undef BUILD_TIMESTAMP
37
38 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
39    systems. This function is required for `alloca.c' support on those systems.
40    */
41 #undef CRAY_STACKSEG_END
42
43 /* Define to 1 if using `alloca.c'. */
44 #undef C_ALLOCA
45
46 /* define to disable keyserver helpers */
47 #undef DISABLE_KEYSERVER_HELPERS
48
49 /* Defined to disable exec-path for keyserver helpers */
50 #undef DISABLE_KEYSERVER_PATH
51
52 /* define to disable photo viewing */
53 #undef DISABLE_PHOTO_VIEWER
54
55 /* Define to disable regular expression support */
56 #undef DISABLE_REGEX
57
58 /* Define to 1 if translation of program messages to the user's native
59    language is requested. */
60 #undef ENABLE_NLS
61
62 /* Define to enable SELinux support */
63 #undef ENABLE_SELINUX_HACKS
64
65 /* The executable file extension, if any */
66 #undef EXEEXT
67
68 /* if set, restrict photo-viewer to this */
69 #undef FIXED_PHOTO_VIEWER
70
71 /* version of the libbassuan library */
72 #undef GNUPG_LIBASSUAN_VERSION
73
74 /* Define to 1 if you have the `adns_free' function. */
75 #undef HAVE_ADNS_FREE
76
77 /* Define to 1 if you have the <adns.h> header file. */
78 #undef HAVE_ADNS_H
79
80 /* Define to 1 if you have `alloca' after including <alloca.h>, a header that
81    may be supplied by this distribution. */
82 #undef HAVE_ALLOCA
83
84 /* Define HAVE_ALLOCA_H for backward compatibility with older code that
85    includes <alloca.h> only if HAVE_ALLOCA_H is defined. */
86 #undef HAVE_ALLOCA_H
87
88 /* Define to 1 if you have the `atexit' function. */
89 #undef HAVE_ATEXIT
90
91 /* Defined if a `byte' is typedef'd */
92 #undef HAVE_BYTE_TYPEDEF
93
94 /* Defined if the bz2 compression library is available */
95 #undef HAVE_BZIP2
96
97 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
98    CoreFoundation framework. */
99 #undef HAVE_CFLOCALECOPYCURRENT
100
101 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
102    the CoreFoundation framework. */
103 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
104
105 /* Define to 1 if you have the `clock_gettime' function. */
106 #undef HAVE_CLOCK_GETTIME
107
108 /* Define to 1 if you have the `ctermid' function. */
109 #undef HAVE_CTERMID
110
111 /* Define if the GNU dcgettext() function is already present or preinstalled.
112    */
113 #undef HAVE_DCGETTEXT
114
115 /* Define to 1 if you have the declaration of `getpagesize', and to 0 if you
116    don't. */
117 #undef HAVE_DECL_GETPAGESIZE
118
119 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
120    don't. */
121 #undef HAVE_DECL_SYS_SIGLIST
122
123 /* Define to 1 if you have the <direct.h> header file. */
124 #undef HAVE_DIRECT_H
125
126 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
127 #undef HAVE_DOPRNT
128
129 /* Defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
130    with special properties like no file modes */
131 #undef HAVE_DOSISH_SYSTEM
132
133 /* defined if we must run on a stupid file system */
134 #undef HAVE_DRIVE_LETTERS
135
136 /* Define if you have the declaration of environ. */
137 #undef HAVE_ENVIRON_DECL
138
139 /* Define to 1 if you have the `fcntl' function. */
140 #undef HAVE_FCNTL
141
142 /* Define to 1 if you have the `flockfile' function. */
143 #undef HAVE_FLOCKFILE
144
145 /* Define to 1 if you have the `fopencookie' function. */
146 #undef HAVE_FOPENCOOKIE
147
148 /* Define to 1 if you have the `fork' function. */
149 #undef HAVE_FORK
150
151 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
152 #undef HAVE_FSEEKO
153
154 /* Define to 1 if you have the `fsync' function. */
155 #undef HAVE_FSYNC
156
157 /* Define to 1 if you have the `ftello' function. */
158 #undef HAVE_FTELLO
159
160 /* Define to 1 if you have the `ftruncate' function. */
161 #undef HAVE_FTRUNCATE
162
163 /* Define to 1 if you have the `funlockfile' function. */
164 #undef HAVE_FUNLOCKFILE
165
166 /* Define to 1 if you have the `funopen' function. */
167 #undef HAVE_FUNOPEN
168
169 /* Define to 1 if you have the `getaddrinfo' function. */
170 #undef HAVE_GETADDRINFO
171
172 /* Define to 1 if you have the <getopt.h> header file. */
173 #undef HAVE_GETOPT_H
174
175 /* Define to 1 if you have the `getpagesize' function. */
176 #undef HAVE_GETPAGESIZE
177
178 /* Define to 1 if you have the `getpwnam' function. */
179 #undef HAVE_GETPWNAM
180
181 /* Define to 1 if you have the `getpwuid' function. */
182 #undef HAVE_GETPWUID
183
184 /* Define to 1 if you have the `getrlimit' function. */
185 #undef HAVE_GETRLIMIT
186
187 /* Define to 1 if you have the `getrusage' function. */
188 #undef HAVE_GETRUSAGE
189
190 /* Define if the GNU gettext() function is already present or preinstalled. */
191 #undef HAVE_GETTEXT
192
193 /* Define to 1 if you have the `gettimeofday' function. */
194 #undef HAVE_GETTIMEOFDAY
195
196 /* Define to 1 if you have the `gmtime_r' function. */
197 #undef HAVE_GMTIME_R
198
199 /* Define if you have the iconv() function and it works. */
200 #undef HAVE_ICONV
201
202 /* Define to 1 if you have the `inet_ntop' function. */
203 #undef HAVE_INET_NTOP
204
205 /* Define to 1 if the system has the type `intmax_t'. */
206 #undef HAVE_INTMAX_T
207
208 /* Define to 1 if you have the <inttypes.h> header file. */
209 #undef HAVE_INTTYPES_H
210
211 /* Define to 1 if you have the `isascii' function. */
212 #undef HAVE_ISASCII
213
214 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
215 #undef HAVE_LANGINFO_CODESET
216
217 /* Define to 1 if you have the <langinfo.h> header file. */
218 #undef HAVE_LANGINFO_H
219
220 /* Define if you have <langinfo.h> and nl_langinfo(THOUSANDS_SEP). */
221 #undef HAVE_LANGINFO_THOUSANDS_SEP
222
223 /* Define if your <locale.h> file defines LC_MESSAGES. */
224 #undef HAVE_LC_MESSAGES
225
226 /* Define to 1 if you have the `ldap_get_option' function. */
227 #undef HAVE_LDAP_GET_OPTION
228
229 /* Define if the LDAP library supports ld_errno */
230 #undef HAVE_LDAP_LD_ERRNO
231
232 /* Define to 1 if you have the `ldap_set_option' function. */
233 #undef HAVE_LDAP_SET_OPTION
234
235 /* Define to 1 if you have the `ldap_start_tls_s' function. */
236 #undef HAVE_LDAP_START_TLS_S
237
238 /* Define to 1 if you have the `ldap_start_tls_sA' function. */
239 #undef HAVE_LDAP_START_TLS_SA
240
241 /* Define to 1 if you have a functional curl library. */
242 #undef HAVE_LIBCURL
243
244 /* Define to 1 if you have a fully functional readline library. */
245 #undef HAVE_LIBREADLINE
246
247 /* defined if libusb is available */
248 #undef HAVE_LIBUSB
249
250 /* defined if libutil is available */
251 #undef HAVE_LIBUTIL
252
253 /* Define to 1 if you have the <locale.h> header file. */
254 #undef HAVE_LOCALE_H
255
256 /* Define to 1 if the system has the type `long double'. */
257 #undef HAVE_LONG_DOUBLE
258
259 /* Define to 1 if the system has the type `long long int'. */
260 #undef HAVE_LONG_LONG_INT
261
262 /* Define to 1 if you have the `memicmp' function. */
263 #undef HAVE_MEMICMP
264
265 /* Define to 1 if you have the `memmove' function. */
266 #undef HAVE_MEMMOVE
267
268 /* Define to 1 if you have the <memory.h> header file. */
269 #undef HAVE_MEMORY_H
270
271 /* Define to 1 if you have the `memrchr' function. */
272 #undef HAVE_MEMRCHR
273
274 /* Define to 1 if you have the `mkdtemp' function. */
275 #undef HAVE_MKDTEMP
276
277 /* Define to 1 if you have the `mmap' function. */
278 #undef HAVE_MMAP
279
280 /* Define to 1 if you have the `nl_langinfo' function. */
281 #undef HAVE_NL_LANGINFO
282
283 /* Define to 1 if you have the `pipe' function. */
284 #undef HAVE_PIPE
285
286 /* Defined if the GNU Pth is available */
287 #undef HAVE_PTH
288
289 /* Define to 1 if the system has the type `ptrdiff_t'. */
290 #undef HAVE_PTRDIFF_T
291
292 /* Define to 1 if you have the <pty.h> header file. */
293 #undef HAVE_PTY_H
294
295 /* Define to 1 if you have the <pwd.h> header file. */
296 #undef HAVE_PWD_H
297
298 /* Define to 1 if you have the `raise' function. */
299 #undef HAVE_RAISE
300
301 /* Define to 1 if you have the `rand' function. */
302 #undef HAVE_RAND
303
304 /* Define to 1 if you have the <search.h> header file. */
305 #undef HAVE_SEARCH_H
306
307 /* Define to 1 if you have the `setenv' function. */
308 #undef HAVE_SETENV
309
310 /* Define to 1 if you have the `setlocale' function. */
311 #undef HAVE_SETLOCALE
312
313 /* Define to 1 if you have the `setrlimit' function. */
314 #undef HAVE_SETRLIMIT
315
316 /* Define to 1 if you have the `sigaction' function. */
317 #undef HAVE_SIGACTION
318
319 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
320 #undef HAVE_SIGNED_SIG_ATOMIC_T
321
322 /* Define to 1 if 'wchar_t' is a signed integer type. */
323 #undef HAVE_SIGNED_WCHAR_T
324
325 /* Define to 1 if 'wint_t' is a signed integer type. */
326 #undef HAVE_SIGNED_WINT_T
327
328 /* Define to 1 if you have the `sigprocmask' function. */
329 #undef HAVE_SIGPROCMASK
330
331 /* Define to 1 if the system has the type `sigset_t'. */
332 #undef HAVE_SIGSET_T
333
334 /* Define to 1 if you have the `stat' function. */
335 #undef HAVE_STAT
336
337 /* Define to 1 if you have the <stdint.h> header file. */
338 #undef HAVE_STDINT_H
339
340 /* Define to 1 if you have the <stdlib.h> header file. */
341 #undef HAVE_STDLIB_H
342
343 /* Define to 1 if you have the `stpcpy' function. */
344 #undef HAVE_STPCPY
345
346 /* Define to 1 if you have the `strcasecmp' function. */
347 #undef HAVE_STRCASECMP
348
349 /* Define to 1 if you have the `strchr' function. */
350 #undef HAVE_STRCHR
351
352 /* Define to 1 if you have the `strerror' function. */
353 #undef HAVE_STRERROR
354
355 /* Define to 1 if you have the `strftime' function. */
356 #undef HAVE_STRFTIME
357
358 /* Define to 1 if you have the `stricmp' function. */
359 #undef HAVE_STRICMP
360
361 /* Define to 1 if you have the <strings.h> header file. */
362 #undef HAVE_STRINGS_H
363
364 /* Define to 1 if you have the <string.h> header file. */
365 #undef HAVE_STRING_H
366
367 /* Define to 1 if you have the `strlwr' function. */
368 #undef HAVE_STRLWR
369
370 /* Define to 1 if you have the `strncasecmp' function. */
371 #undef HAVE_STRNCASECMP
372
373 /* Define to 1 if you have the `strpbrk' function. */
374 #undef HAVE_STRPBRK
375
376 /* Define to 1 if you have the `strsep' function. */
377 #undef HAVE_STRSEP
378
379 /* Define to 1 if you have the `strtol' function. */
380 #undef HAVE_STRTOL
381
382 /* Define to 1 if you have the `strtoul' function. */
383 #undef HAVE_STRTOUL
384
385 /* Define to 1 if the system has the type `struct sigaction'. */
386 #undef HAVE_STRUCT_SIGACTION
387
388 /* Define to 1 if you have the <sys/bitypes.h> header file. */
389 #undef HAVE_SYS_BITYPES_H
390
391 /* Define to 1 if you have the <sys/inttypes.h> header file. */
392 #undef HAVE_SYS_INTTYPES_H
393
394 /* Define to 1 if you have the <sys/socket.h> header file. */
395 #undef HAVE_SYS_SOCKET_H
396
397 /* Define to 1 if you have the <sys/stat.h> header file. */
398 #undef HAVE_SYS_STAT_H
399
400 /* Define to 1 if you have the <sys/time.h> header file. */
401 #undef HAVE_SYS_TIME_H
402
403 /* Define to 1 if you have the <sys/types.h> header file. */
404 #undef HAVE_SYS_TYPES_H
405
406 /* Define to 1 if you have the `tcgetattr' function. */
407 #undef HAVE_TCGETATTR
408
409 /* Define to 1 if you have the <termio.h> header file. */
410 #undef HAVE_TERMIO_H
411
412 /* Define to 1 if you have the `timegm' function. */
413 #undef HAVE_TIMEGM
414
415 /* Define to 1 if you have the `times' function. */
416 #undef HAVE_TIMES
417
418 /* Define to 1 if you have the <time.h> header file. */
419 #undef HAVE_TIME_H
420
421 /* Define to 1 if you have the `tsearch' function. */
422 #undef HAVE_TSEARCH
423
424 /* Define to 1 if you have the `ttyname' function. */
425 #undef HAVE_TTYNAME
426
427 /* Defined if a `u16' is typedef'd */
428 #undef HAVE_U16_TYPEDEF
429
430 /* Defined if a `u32' is typedef'd */
431 #undef HAVE_U32_TYPEDEF
432
433 /* Define to 1 if the system has the type `uintmax_t'. */
434 #undef HAVE_UINTMAX_T
435
436 /* Defined if a `ulong' is typedef'd */
437 #undef HAVE_ULONG_TYPEDEF
438
439 /* Define to 1 if you have the <unistd.h> header file. */
440 #undef HAVE_UNISTD_H
441
442 /* Define to 1 if you have the `unsetenv' function. */
443 #undef HAVE_UNSETENV
444
445 /* Define to 1 if the system has the type `unsigned long long int'. */
446 #undef HAVE_UNSIGNED_LONG_LONG_INT
447
448 /* Define to 1 if you have the `usb_create_match' function. */
449 #undef HAVE_USB_CREATE_MATCH
450
451 /* Defined if a `ushort' is typedef'd */
452 #undef HAVE_USHORT_TYPEDEF
453
454 /* Define to 1 if you have the <utmp.h> header file. */
455 #undef HAVE_UTMP_H
456
457 /* Define to 1 if you have the `vfork' function. */
458 #undef HAVE_VFORK
459
460 /* Define to 1 if you have the <vfork.h> header file. */
461 #undef HAVE_VFORK_H
462
463 /* Define to 1 if you have the `vprintf' function. */
464 #undef HAVE_VPRINTF
465
466 /* Defined if we run on a W32 API based system */
467 #undef HAVE_W32_SYSTEM
468
469 /* Define to 1 if you have the `wait4' function. */
470 #undef HAVE_WAIT4
471
472 /* Define to 1 if you have the `waitpid' function. */
473 #undef HAVE_WAITPID
474
475 /* Define to 1 if you have the <wchar.h> header file. */
476 #undef HAVE_WCHAR_H
477
478 /* Define to 1 if you have the <winsock2.h> header file. */
479 #undef HAVE_WINSOCK2_H
480
481 /* Define to 1 if `fork' works. */
482 #undef HAVE_WORKING_FORK
483
484 /* Define to 1 if `vfork' works. */
485 #undef HAVE_WORKING_VFORK
486
487 /* Define to 1 if you have the <ws2tcpip.h> header file. */
488 #undef HAVE_WS2TCPIP_H
489
490 /* Define as const if the declaration of iconv() needs const. */
491 #undef ICONV_CONST
492
493 /* Defined if this is not a regular release */
494 #undef IS_DEVELOPMENT_VERSION
495
496 /* Defined if libcurl supports AsynchDNS */
497 #undef LIBCURL_FEATURE_ASYNCHDNS
498
499 /* Defined if libcurl supports IDN */
500 #undef LIBCURL_FEATURE_IDN
501
502 /* Defined if libcurl supports IPv6 */
503 #undef LIBCURL_FEATURE_IPV6
504
505 /* Defined if libcurl supports KRB4 */
506 #undef LIBCURL_FEATURE_KRB4
507
508 /* Defined if libcurl supports libz */
509 #undef LIBCURL_FEATURE_LIBZ
510
511 /* Defined if libcurl supports NTLM */
512 #undef LIBCURL_FEATURE_NTLM
513
514 /* Defined if libcurl supports SSL */
515 #undef LIBCURL_FEATURE_SSL
516
517 /* Defined if libcurl supports SSPI */
518 #undef LIBCURL_FEATURE_SSPI
519
520 /* Defined if libcurl supports DICT */
521 #undef LIBCURL_PROTOCOL_DICT
522
523 /* Defined if libcurl supports FILE */
524 #undef LIBCURL_PROTOCOL_FILE
525
526 /* Defined if libcurl supports FTP */
527 #undef LIBCURL_PROTOCOL_FTP
528
529 /* Defined if libcurl supports FTPS */
530 #undef LIBCURL_PROTOCOL_FTPS
531
532 /* Defined if libcurl supports HTTP */
533 #undef LIBCURL_PROTOCOL_HTTP
534
535 /* Defined if libcurl supports HTTPS */
536 #undef LIBCURL_PROTOCOL_HTTPS
537
538 /* Defined if libcurl supports LDAP */
539 #undef LIBCURL_PROTOCOL_LDAP
540
541 /* Defined if libcurl supports TELNET */
542 #undef LIBCURL_PROTOCOL_TELNET
543
544 /* Defined if libcurl supports TFTP */
545 #undef LIBCURL_PROTOCOL_TFTP
546
547 /* The version of the libcurl library in packed hex form */
548 #undef LIBCURL_VERNUM
549
550 /* Defined if the host has little endian byte ordering */
551 #undef LITTLE_ENDIAN_HOST
552
553 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
554 #undef MALLOC_0_IS_NONNULL
555
556 /* Defined if mkdir() does not take permission flags */
557 #undef MKDIR_TAKES_ONE_ARG
558
559 /* Required version of Libksba */
560 #undef NEED_KSBA_VERSION
561
562 /* Define if the LDAP library requires including lber.h before ldap.h */
563 #undef NEED_LBER_H
564
565 /* Required version of Libgcrypt */
566 #undef NEED_LIBGCRYPT_VERSION
567
568 /* Define to disable all external program execution */
569 #undef NO_EXEC
570
571 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
572 #undef NO_MINUS_C_MINUS_O
573
574 /* Name of this package */
575 #undef PACKAGE
576
577 /* Bug report address */
578 #undef PACKAGE_BUGREPORT
579
580 /* Name of this package for gettext */
581 #undef PACKAGE_GT
582
583 /* Define to the full name of this package. */
584 #undef PACKAGE_NAME
585
586 /* Define to the full name and version of this package. */
587 #undef PACKAGE_STRING
588
589 /* Define to the one symbol short name of this package. */
590 #undef PACKAGE_TARNAME
591
592 /* Define to the home page for this package. */
593 #undef PACKAGE_URL
594
595 /* Define to the version of this package. */
596 #undef PACKAGE_VERSION
597
598 /* Size of the key and UID caches */
599 #undef PK_UID_CACHE_SIZE
600
601 /* A human readable text with the name of the OS */
602 #undef PRINTABLE_OS_NAME
603
604 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
605    'ptrdiff_t'. */
606 #undef PTRDIFF_T_SUFFIX
607
608 /* Define as the return type of signal handlers (`int' or `void'). */
609 #undef RETSIGTYPE
610
611 /* defines the filename of the shred program */
612 #undef SHRED
613
614 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
615    'sig_atomic_t'. */
616 #undef SIG_ATOMIC_T_SUFFIX
617
618 /* The size of `time_t', as computed by sizeof. */
619 #undef SIZEOF_TIME_T
620
621 /* The size of `uint64_t', as computed by sizeof. */
622 #undef SIZEOF_UINT64_T
623
624 /* The size of `unsigned int', as computed by sizeof. */
625 #undef SIZEOF_UNSIGNED_INT
626
627 /* The size of `unsigned long', as computed by sizeof. */
628 #undef SIZEOF_UNSIGNED_LONG
629
630 /* The size of `unsigned long long', as computed by sizeof. */
631 #undef SIZEOF_UNSIGNED_LONG_LONG
632
633 /* The size of `unsigned short', as computed by sizeof. */
634 #undef SIZEOF_UNSIGNED_SHORT
635
636 /* The size of `void *', as computed by sizeof. */
637 #undef SIZEOF_VOID_P
638
639 /* Define as the maximum value of type 'size_t', if the system doesn't define
640    it. */
641 #undef SIZE_MAX
642
643 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
644    'size_t'. */
645 #undef SIZE_T_SUFFIX
646
647 /* If using the C implementation of alloca, define if you know the
648    direction of stack growth for your system; otherwise it will be
649    automatically deduced at runtime.
650         STACK_DIRECTION > 0 => grows toward higher addresses
651         STACK_DIRECTION < 0 => grows toward lower addresses
652         STACK_DIRECTION = 0 => direction of growth unknown */
653 #undef STACK_DIRECTION
654
655 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
656 #undef STAT_MACROS_BROKEN
657
658 /* Define to 1 if you have the ANSI C header files. */
659 #undef STDC_HEADERS
660
661 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
662 #undef TIME_WITH_SYS_TIME
663
664 /* Use ADNS as resolver library. */
665 #undef USE_ADNS
666
667 /* define to use DNS CERT */
668 #undef USE_DNS_CERT
669
670 /* define to use our experimental DNS PKA */
671 #undef USE_DNS_PKA
672
673 /* define to use DNS SRV */
674 #undef USE_DNS_SRV
675
676 /* Defined if the GNU Portable Thread Library should be used */
677 #undef USE_GNU_PTH
678
679 /* set this to limit filenames to the 8.3 format */
680 #undef USE_ONLY_8DOT3
681
682 /* because the Unix gettext has too much overhead on MingW32 systems and these
683    systems lack Posix functions, we use a simplified version of gettext */
684 #undef USE_SIMPLE_GETTEXT
685
686 /* Use a standard socket for the agent by default */
687 #undef USE_STANDARD_SOCKET
688
689 /* Enable extensions on AIX 3, Interix.  */
690 #ifndef _ALL_SOURCE
691 # undef _ALL_SOURCE
692 #endif
693 /* Enable GNU extensions on systems that have them.  */
694 #ifndef _GNU_SOURCE
695 # undef _GNU_SOURCE
696 #endif
697 /* Enable threading extensions on Solaris.  */
698 #ifndef _POSIX_PTHREAD_SEMANTICS
699 # undef _POSIX_PTHREAD_SEMANTICS
700 #endif
701 /* Enable extensions on HP NonStop.  */
702 #ifndef _TANDEM_SOURCE
703 # undef _TANDEM_SOURCE
704 #endif
705 /* Enable general extensions on Solaris.  */
706 #ifndef __EXTENSIONS__
707 # undef __EXTENSIONS__
708 #endif
709
710
711 /* Version of this package */
712 #undef VERSION
713
714 /* Define if unsetenv() returns void, not int. */
715 #undef VOID_UNSETENV
716
717 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
718    'wchar_t'. */
719 #undef WCHAR_T_SUFFIX
720
721 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
722    'wint_t'. */
723 #undef WINT_T_SUFFIX
724
725 /* Enable large inode numbers on Mac OS X 10.5.  */
726 #ifndef _DARWIN_USE_64_BIT_INODE
727 # define _DARWIN_USE_64_BIT_INODE 1
728 #endif
729
730 /* Number of bits in a file offset, on hosts where this is settable. */
731 #undef _FILE_OFFSET_BITS
732
733 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
734 #undef _LARGEFILE_SOURCE
735
736 /* Define for large files, on AIX-style hosts. */
737 #undef _LARGE_FILES
738
739 /* Define to 1 if on MINIX. */
740 #undef _MINIX
741
742 /* Define to 2 if the system does not provide POSIX.1 features except with
743    this defined. */
744 #undef _POSIX_1_SOURCE
745
746 /* Define to 1 if you need to in order for `stat' and other things to work. */
747 #undef _POSIX_SOURCE
748
749 /* Define to empty if `const' does not conform to ANSI C. */
750 #undef const
751
752 /* Define curl_free() as free() if our version of curl lacks curl_free. */
753 #undef curl_free
754
755 /* Define to `__inline__' or `__inline' if that's what the C compiler
756    calls it, or to nothing if 'inline' is not supported under any name.  */
757 #ifndef __cplusplus
758 #undef inline
759 #endif
760
761 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
762    not define. */
763 #undef intmax_t
764
765 /* Define to `int' if <sys/types.h> does not define. */
766 #undef mode_t
767
768 /* Define to `int' if <sys/types.h> does not define. */
769 #undef pid_t
770
771 /* Define to `unsigned int' if <sys/types.h> does not define. */
772 #undef size_t
773
774 /* type to use in place of socklen_t if not defined */
775 #undef socklen_t
776
777 /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
778    do not define. */
779 #undef uintmax_t
780
781 /* Define as `fork' if `vfork' does not work. */
782 #undef vfork
783
784 /* Define to empty if the keyword `volatile' does not work. Warning: valid
785    code using `volatile' can become incorrect without. Disable with care. */
786 #undef volatile
787
788
789 /* This is the major version number of GnuPG so that
790    source included files can test for this.  Note, that
791    we use 2 here even for GnuPG 1.9.x. */
792 #define GNUPG_MAJOR_VERSION 2
793
794 /* Now to separate file name parts.
795    Please note that the string version must not contain more
796    than one character because the code assumes strlen()==1 */
797 #ifdef HAVE_DOSISH_SYSTEM
798 #define DIRSEP_C '\\'
799 #define DIRSEP_S "\\"
800 #define EXTSEP_C '.'
801 #define EXTSEP_S "."
802 #define PATHSEP_C ';'
803 #define PATHSEP_S ";"
804 #define EXEEXT_S ".exe"
805 #else
806 #define DIRSEP_C '/'
807 #define DIRSEP_S "/"
808 #define EXTSEP_C '.'
809 #define EXTSEP_S "."
810 #define PATHSEP_C ':'
811 #define PATHSEP_S ":"
812 #define EXEEXT_S ""
813 #endif
814
815 /* This is the same as VERSION, but should be overridden if the
816    platform cannot handle things like dots '.' in filenames. Set
817    SAFE_VERSION_DOT and SAFE_VERSION_DASH to whatever SAFE_VERSION
818    uses for dots and dashes. */
819 #define SAFE_VERSION VERSION
820 #define SAFE_VERSION_DOT  '.'
821 #define SAFE_VERSION_DASH '-'
822
823 /* Some global constants. */
824 #ifdef HAVE_DRIVE_LETTERS
825 #define GNUPG_DEFAULT_HOMEDIR "c:/gnupg"
826 #elif defined(__VMS)
827 #define GNUPG_DEFAULT_HOMEDIR "/SYS\$LOGIN/gnupg"
828 #else
829 #define GNUPG_DEFAULT_HOMEDIR "~/.gnupg"
830 #endif
831 #define GNUPG_PRIVATE_KEYS_DIR "private-keys-v1.d"
832
833 /* For some systems (DOS currently), we hardcode the path here.  For
834    POSIX systems the values are constructed by the Makefiles, so that
835    the values may be overridden by the make invocations; this is to
836    comply with the GNU coding standards. */
837 #ifdef HAVE_DRIVE_LETTERS
838  /* FIXME: We need to use a function to determine these values depending
839     on the actual installation directory. */
840 #define GNUPG_BINDIR      "c:\\gnupg"
841 #define GNUPG_LIBEXECDIR  "c:\\gnupg"
842 #define GNUPG_LIBDIR      "c:\\gnupg"
843 #define GNUPG_DATADIR     "c:\\gnupg"
844 #define GNUPG_SYSCONFDIR  "c:\\gnupg"
845 #endif
846
847 /* Derive some other constants. */
848 #if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
849 #define EXEC_TEMPFILE_ONLY
850 #endif
851
852
853 /* We didn't define endianness above, so get it from OS macros.  This
854    is intended for making fat binary builds on OS X. */
855 #if !defined(BIG_ENDIAN_HOST) && !defined(LITTLE_ENDIAN_HOST)
856 #if defined(__BIG_ENDIAN__)
857 #define BIG_ENDIAN_HOST 1
858 #elif defined(__LITTLE_ENDIAN__)
859 #define LITTLE_ENDIAN_HOST 1
860 #else
861 #error "No endianness found"
862 #endif
863 #endif
864
865
866 /* Hack used for W32: ldap.m4 also tests for the ASCII version of
867    ldap_start_tls_s because that is the actual symbol used in the
868    library.  winldap.h redefines it to our commonly used value,
869    thus we define our usual macro here.  */
870 #ifdef HAVE_LDAP_START_TLS_SA
871 # ifndef HAVE_LDAP_START_TLS_S
872 #  define HAVE_LDAP_START_TLS_S 1
873 # endif
874 #endif
875
876
877 /* Tell libgcrypt not to use its own libgpg-error implementation. */
878 #define USE_LIBGPG_ERROR 1
879
880 /* We use jnlib, so tell other modules about it.  */
881 #define HAVE_JNLIB_LOGGING 1
882
883 /* Our HTTP code is used in estream mode.  */
884 #define HTTP_USE_ESTREAM 1
885
886 /* Under W32 we do an explicit socket initialization, thus we need to
887    avoid the on-demand initialization which would also install an atexit
888    handler.  */
889 #define HTTP_NO_WSASTARTUP
890
891 /* We always include support for the OpenPGP card.  */
892 #define ENABLE_CARD_SUPPORT 1
893
894 /* We don't want the old assuan codes anymore. */
895 #define _ASSUAN_ONLY_GPG_ERRORS 1
896
897 /* We don't need any of the old gcrypt functions.  */
898 #define GCRYPT_NO_DEPRECATED 1
899
900 /* We explicitly need to disable PTH's soft mapping as Debian
901    currently enables it by default for no reason. */
902 #define PTH_SYSCALL_SOFT 0
903
904 /* We want to use the libgcrypt provided memory allocation for
905    asprintf.  */
906 #define _ESTREAM_PRINTF_MALLOC        gcry_malloc
907 #define _ESTREAM_PRINTF_FREE          gcry_free
908 #define _ESTREAM_PRINTF_EXTRA_INCLUDE "util.h"
909
910 #endif /*GNUPG_CONFIG_H_INCLUDED*/
911