Deleted Added
full compact
config.h.in (266114) config.h.in (276605)
1/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* Directory to chroot to */
4#undef CHROOT_DIR
5
1/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* Directory to chroot to */
4#undef CHROOT_DIR
5
6/* Do sha512 definitions in config.h */
7#undef COMPAT_SHA512
8
6/* Pathname to the Unbound configuration file */
7#undef CONFIGFILE
8
9/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work
10 */
11#undef DARWIN_BROKEN_SETREUID
12
13/* Whether daemon is deprecated */
14#undef DEPRECATED_DAEMON
15
9/* Pathname to the Unbound configuration file */
10#undef CONFIGFILE
11
12/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work
13 */
14#undef DARWIN_BROKEN_SETREUID
15
16/* Whether daemon is deprecated */
17#undef DEPRECATED_DAEMON
18
19/* default dnstap socket path */
20#undef DNSTAP_SOCKET_PATH
21
16/* Define if you want to use debug lock checking (slow). */
17#undef ENABLE_LOCK_CHECKS
18
19/* Define this if you enabled-allsymbols from libunbound to link binaries to
20 it for smaller install size, but the libunbound export table is polluted by
21 internal symbols */
22#undef EXPORT_ALL_SYMBOLS
23
22/* Define if you want to use debug lock checking (slow). */
23#undef ENABLE_LOCK_CHECKS
24
25/* Define this if you enabled-allsymbols from libunbound to link binaries to
26 it for smaller install size, but the libunbound export table is polluted by
27 internal symbols */
28#undef EXPORT_ALL_SYMBOLS
29
30/* Define to 1 if you have the `arc4random' function. */
31#undef HAVE_ARC4RANDOM
32
33/* Define to 1 if you have the `arc4random_uniform' function. */
34#undef HAVE_ARC4RANDOM_UNIFORM
35
24/* Define to 1 if you have the <arpa/inet.h> header file. */
25#undef HAVE_ARPA_INET_H
26
27/* Whether the C compiler accepts the "format" attribute */
28#undef HAVE_ATTR_FORMAT
29
30/* Whether the C compiler accepts the "unused" attribute */
31#undef HAVE_ATTR_UNUSED

--- 5 unchanged lines hidden (view full) ---

37#undef HAVE_CHROOT
38
39/* Define to 1 if you have the `ctime_r' function. */
40#undef HAVE_CTIME_R
41
42/* Define to 1 if you have the `daemon' function. */
43#undef HAVE_DAEMON
44
36/* Define to 1 if you have the <arpa/inet.h> header file. */
37#undef HAVE_ARPA_INET_H
38
39/* Whether the C compiler accepts the "format" attribute */
40#undef HAVE_ATTR_FORMAT
41
42/* Whether the C compiler accepts the "unused" attribute */
43#undef HAVE_ATTR_UNUSED

--- 5 unchanged lines hidden (view full) ---

49#undef HAVE_CHROOT
50
51/* Define to 1 if you have the `ctime_r' function. */
52#undef HAVE_CTIME_R
53
54/* Define to 1 if you have the `daemon' function. */
55#undef HAVE_DAEMON
56
57/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
58 don't. */
59#undef HAVE_DECL_ARC4RANDOM
60
61/* Define to 1 if you have the declaration of `arc4random_uniform', and to 0
62 if you don't. */
63#undef HAVE_DECL_ARC4RANDOM_UNIFORM
64
45/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you
46 don't. */
47#undef HAVE_DECL_NID_SECP384R1
48
49/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0
50 if you don't. */
51#undef HAVE_DECL_NID_X9_62_PRIME256V1
52
53/* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0
54 if you don't. */
55#undef HAVE_DECL_SK_SSL_COMP_POP_FREE
56
57/* Define to 1 if you have the declaration of
58 `SSL_COMP_get_compression_methods', and to 0 if you don't. */
59#undef HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS
60
65/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you
66 don't. */
67#undef HAVE_DECL_NID_SECP384R1
68
69/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0
70 if you don't. */
71#undef HAVE_DECL_NID_X9_62_PRIME256V1
72
73/* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0
74 if you don't. */
75#undef HAVE_DECL_SK_SSL_COMP_POP_FREE
76
77/* Define to 1 if you have the declaration of
78 `SSL_COMP_get_compression_methods', and to 0 if you don't. */
79#undef HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS
80
81/* Define to 1 if you have the declaration of `strlcat', and to 0 if you
82 don't. */
83#undef HAVE_DECL_STRLCAT
84
85/* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
86 don't. */
87#undef HAVE_DECL_STRLCPY
88
61/* Define to 1 if you have the <dlfcn.h> header file. */
62#undef HAVE_DLFCN_H
63
89/* Define to 1 if you have the <dlfcn.h> header file. */
90#undef HAVE_DLFCN_H
91
92/* Define to 1 if you have the <endian.h> header file. */
93#undef HAVE_ENDIAN_H
94
64/* Define to 1 if you have the `endprotoent' function. */
65#undef HAVE_ENDPROTOENT
66
67/* Define to 1 if you have the `endservent' function. */
68#undef HAVE_ENDSERVENT
69
70/* Define to 1 if you have the `event_base_free' function. */
71#undef HAVE_EVENT_BASE_FREE

--- 38 unchanged lines hidden (view full) ---

110#undef HAVE_FORK
111
112/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
113#undef HAVE_FSEEKO
114
115/* Whether getaddrinfo is available */
116#undef HAVE_GETADDRINFO
117
95/* Define to 1 if you have the `endprotoent' function. */
96#undef HAVE_ENDPROTOENT
97
98/* Define to 1 if you have the `endservent' function. */
99#undef HAVE_ENDSERVENT
100
101/* Define to 1 if you have the `event_base_free' function. */
102#undef HAVE_EVENT_BASE_FREE

--- 38 unchanged lines hidden (view full) ---

141#undef HAVE_FORK
142
143/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
144#undef HAVE_FSEEKO
145
146/* Whether getaddrinfo is available */
147#undef HAVE_GETADDRINFO
148
149/* Define to 1 if you have the `getentropy' function. */
150#undef HAVE_GETENTROPY
151
118/* Define to 1 if you have the <getopt.h> header file. */
119#undef HAVE_GETOPT_H
120
121/* Define to 1 if you have the `getpwnam' function. */
122#undef HAVE_GETPWNAM
123
124/* Define to 1 if you have the `getrlimit' function. */
125#undef HAVE_GETRLIMIT

--- 32 unchanged lines hidden (view full) ---

158#undef HAVE_IOCTLSOCKET
159
160/* Define to 1 if you have the <iphlpapi.h> header file. */
161#undef HAVE_IPHLPAPI_H
162
163/* Define to 1 if you have the `kill' function. */
164#undef HAVE_KILL
165
152/* Define to 1 if you have the <getopt.h> header file. */
153#undef HAVE_GETOPT_H
154
155/* Define to 1 if you have the `getpwnam' function. */
156#undef HAVE_GETPWNAM
157
158/* Define to 1 if you have the `getrlimit' function. */
159#undef HAVE_GETRLIMIT

--- 32 unchanged lines hidden (view full) ---

192#undef HAVE_IOCTLSOCKET
193
194/* Define to 1 if you have the <iphlpapi.h> header file. */
195#undef HAVE_IPHLPAPI_H
196
197/* Define to 1 if you have the `kill' function. */
198#undef HAVE_KILL
199
200/* Define if we have LibreSSL */
201#undef HAVE_LIBRESSL
202
166/* Define to 1 if you have the `localtime_r' function. */
167#undef HAVE_LOCALTIME_R
168
169/* Define to 1 if you have the <login_cap.h> header file. */
170#undef HAVE_LOGIN_CAP_H
171
172/* If have GNU libc compatible malloc */
173#undef HAVE_MALLOC

--- 77 unchanged lines hidden (view full) ---

251#undef HAVE_SETRLIMIT
252
253/* Define to 1 if you have the `setsid' function. */
254#undef HAVE_SETSID
255
256/* Define to 1 if you have the `setusercontext' function. */
257#undef HAVE_SETUSERCONTEXT
258
203/* Define to 1 if you have the `localtime_r' function. */
204#undef HAVE_LOCALTIME_R
205
206/* Define to 1 if you have the <login_cap.h> header file. */
207#undef HAVE_LOGIN_CAP_H
208
209/* If have GNU libc compatible malloc */
210#undef HAVE_MALLOC

--- 77 unchanged lines hidden (view full) ---

288#undef HAVE_SETRLIMIT
289
290/* Define to 1 if you have the `setsid' function. */
291#undef HAVE_SETSID
292
293/* Define to 1 if you have the `setusercontext' function. */
294#undef HAVE_SETUSERCONTEXT
295
296/* Define to 1 if you have the `SHA512_Update' function. */
297#undef HAVE_SHA512_UPDATE
298
259/* Define to 1 if you have the `sigprocmask' function. */
260#undef HAVE_SIGPROCMASK
261
262/* Define to 1 if you have the `sleep' function. */
263#undef HAVE_SLEEP
264
265/* Define to 1 if you have the `snprintf' function. */
266#undef HAVE_SNPRINTF

--- 50 unchanged lines hidden (view full) ---

317#undef HAVE_SYSLOG_H
318
319/* Define to 1 if you have the <sys/param.h> header file. */
320#undef HAVE_SYS_PARAM_H
321
322/* Define to 1 if you have the <sys/resource.h> header file. */
323#undef HAVE_SYS_RESOURCE_H
324
299/* Define to 1 if you have the `sigprocmask' function. */
300#undef HAVE_SIGPROCMASK
301
302/* Define to 1 if you have the `sleep' function. */
303#undef HAVE_SLEEP
304
305/* Define to 1 if you have the `snprintf' function. */
306#undef HAVE_SNPRINTF

--- 50 unchanged lines hidden (view full) ---

357#undef HAVE_SYSLOG_H
358
359/* Define to 1 if you have the <sys/param.h> header file. */
360#undef HAVE_SYS_PARAM_H
361
362/* Define to 1 if you have the <sys/resource.h> header file. */
363#undef HAVE_SYS_RESOURCE_H
364
365/* Define to 1 if you have the <sys/sha2.h> header file. */
366#undef HAVE_SYS_SHA2_H
367
325/* Define to 1 if you have the <sys/socket.h> header file. */
326#undef HAVE_SYS_SOCKET_H
327
328/* Define to 1 if you have the <sys/stat.h> header file. */
329#undef HAVE_SYS_STAT_H
330
368/* Define to 1 if you have the <sys/socket.h> header file. */
369#undef HAVE_SYS_SOCKET_H
370
371/* Define to 1 if you have the <sys/stat.h> header file. */
372#undef HAVE_SYS_STAT_H
373
374/* Define to 1 if you have the <sys/sysctl.h> header file. */
375#undef HAVE_SYS_SYSCTL_H
376
331/* Define to 1 if you have the <sys/types.h> header file. */
332#undef HAVE_SYS_TYPES_H
333
334/* Define to 1 if you have the <sys/uio.h> header file. */
335#undef HAVE_SYS_UIO_H
336
337/* Define to 1 if you have the <sys/wait.h> header file. */
338#undef HAVE_SYS_WAIT_H

--- 38 unchanged lines hidden (view full) ---

377#undef HAVE_WS2TCPIP_H
378
379/* Define to 1 if you have the `_beginthreadex' function. */
380#undef HAVE__BEGINTHREADEX
381
382/* if lex has yylex_destroy */
383#undef LEX_HAS_YYLEX_DESTROY
384
377/* Define to 1 if you have the <sys/types.h> header file. */
378#undef HAVE_SYS_TYPES_H
379
380/* Define to 1 if you have the <sys/uio.h> header file. */
381#undef HAVE_SYS_UIO_H
382
383/* Define to 1 if you have the <sys/wait.h> header file. */
384#undef HAVE_SYS_WAIT_H

--- 38 unchanged lines hidden (view full) ---

423#undef HAVE_WS2TCPIP_H
424
425/* Define to 1 if you have the `_beginthreadex' function. */
426#undef HAVE__BEGINTHREADEX
427
428/* if lex has yylex_destroy */
429#undef LEX_HAS_YYLEX_DESTROY
430
385/* Define to the sub-directory in which libtool stores uninstalled libraries.
386 */
431/* Define to the sub-directory where libtool stores uninstalled libraries. */
387#undef LT_OBJDIR
388
389/* Define to the maximum message length to pass to syslog. */
390#undef MAXSYSLOGMSGLEN
391
392/* Define if memcmp() does not compare unsigned bytes */
393#undef MEMCMP_IS_BROKEN
394

--- 93 unchanged lines hidden (view full) ---

488#undef UNBOUND_ALLOC_NONREGIONAL
489
490/* use statistics for allocs and frees, for debug use */
491#undef UNBOUND_ALLOC_STATS
492
493/* define this to enable debug checks. */
494#undef UNBOUND_DEBUG
495
432#undef LT_OBJDIR
433
434/* Define to the maximum message length to pass to syslog. */
435#undef MAXSYSLOGMSGLEN
436
437/* Define if memcmp() does not compare unsigned bytes */
438#undef MEMCMP_IS_BROKEN
439

--- 93 unchanged lines hidden (view full) ---

533#undef UNBOUND_ALLOC_NONREGIONAL
534
535/* use statistics for allocs and frees, for debug use */
536#undef UNBOUND_ALLOC_STATS
537
538/* define this to enable debug checks. */
539#undef UNBOUND_DEBUG
540
541/* Define to 1 to enable dnstap support */
542#undef USE_DNSTAP
543
496/* Define this to enable ECDSA support. */
497#undef USE_ECDSA
498
499/* Define this to enable an EVP workaround for older openssl */
500#undef USE_ECDSA_EVP_WORKAROUND
501
502/* Define this to enable GOST support. */
503#undef USE_GOST

--- 370 unchanged lines hidden (view full) ---

874#endif
875
876#if !defined(HAVE_STRPTIME) || !defined(STRPTIME_WORKS)
877#define strptime unbound_strptime
878struct tm;
879char *strptime(const char *s, const char *format, struct tm *tm);
880#endif
881
544/* Define this to enable ECDSA support. */
545#undef USE_ECDSA
546
547/* Define this to enable an EVP workaround for older openssl */
548#undef USE_ECDSA_EVP_WORKAROUND
549
550/* Define this to enable GOST support. */
551#undef USE_GOST

--- 370 unchanged lines hidden (view full) ---

922#endif
923
924#if !defined(HAVE_STRPTIME) || !defined(STRPTIME_WORKS)
925#define strptime unbound_strptime
926struct tm;
927char *strptime(const char *s, const char *format, struct tm *tm);
928#endif
929
930#ifdef HAVE_LIBRESSL
931# if !HAVE_DECL_STRLCPY
932size_t strlcpy(char *dst, const char *src, size_t siz);
933# endif
934# if !HAVE_DECL_STRLCAT
935size_t strlcat(char *dst, const char *src, size_t siz);
936# endif
937# if !HAVE_DECL_ARC4RANDOM && defined(HAVE_ARC4RANDOM)
938uint32_t arc4random(void);
939# endif
940# if !HAVE_DECL_ARC4RANDOM_UNIFORM && defined(HAVE_ARC4RANDOM_UNIFORM)
941uint32_t arc4random_uniform(uint32_t upper_bound);
942# endif
943#endif /* HAVE_LIBRESSL */
944#ifndef HAVE_ARC4RANDOM
945void explicit_bzero(void* buf, size_t len);
946int getentropy(void* buf, size_t len);
947uint32_t arc4random(void);
948void arc4random_buf(void* buf, size_t n);
949void _ARC4_LOCK(void);
950void _ARC4_UNLOCK(void);
951#endif
952#ifndef HAVE_ARC4RANDOM_UNIFORM
953uint32_t arc4random_uniform(uint32_t upper_bound);
954#endif
955#ifdef COMPAT_SHA512
956#ifndef SHA512_DIGEST_LENGTH
957#define SHA512_BLOCK_LENGTH 128
958#define SHA512_DIGEST_LENGTH 64
959#define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
960typedef struct _SHA512_CTX {
961 uint64_t state[8];
962 uint64_t bitcount[2];
963 uint8_t buffer[SHA512_BLOCK_LENGTH];
964} SHA512_CTX;
965#endif /* SHA512_DIGEST_LENGTH */
966void SHA512_Init(SHA512_CTX*);
967void SHA512_Update(SHA512_CTX*, void*, size_t);
968void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
969unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest);
970#endif /* COMPAT_SHA512 */
971
972
973
882#if defined(HAVE_EVENT_H) && !defined(HAVE_EVENT_BASE_ONCE) && !(defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && (defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS))
883 /* using version of libevent that is not threadsafe. */
884# define LIBEVENT_SIGNAL_PROBLEM 1
885#endif
886
887#ifndef CHECKED_INET6
888# define CHECKED_INET6
889# ifdef AF_INET6

--- 41 unchanged lines hidden ---
974#if defined(HAVE_EVENT_H) && !defined(HAVE_EVENT_BASE_ONCE) && !(defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && (defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS))
975 /* using version of libevent that is not threadsafe. */
976# define LIBEVENT_SIGNAL_PROBLEM 1
977#endif
978
979#ifndef CHECKED_INET6
980# define CHECKED_INET6
981# ifdef AF_INET6

--- 41 unchanged lines hidden ---