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