Ticket #61314: config.log

File config.log, 431.4 KB (added by jmroot (Joshua Root), 4 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by unbound configure 1.12.0, which was
5generated by GNU Autoconf 2.69.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = MiniMac
14uname -m = i386
15uname -r = 10.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
27Kernel configured for up to 2 processors.
282 processors are physically available.
292 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1
32Primary memory available: 1.00 gigabytes
33Default processor set: 63 tasks, 224 threads, 2 processors
34Load average: 0.93, Mach factor: 1.13
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2978: checking for gcc
52configure:3005: result: /opt/local/bin/clang-mp-9.0
53configure:3234: checking for C compiler version
54configure:3243: /opt/local/bin/clang-mp-9.0 --version >&5
55clang version 9.0.1
56Target: x86_64-apple-darwin10.8.0
57Thread model: posix
58InstalledDir: /opt/local/libexec/llvm-9.0/bin
59configure:3254: $? = 0
60configure:3243: /opt/local/bin/clang-mp-9.0 -v >&5
61clang version 9.0.1
62Target: x86_64-apple-darwin10.8.0
63Thread model: posix
64InstalledDir: /opt/local/libexec/llvm-9.0/bin
65configure:3254: $? = 0
66configure:3243: /opt/local/bin/clang-mp-9.0 -V >&5
67clang: error: argument to '-V' is missing (expected 1 value)
68clang: error: no input files
69configure:3254: $? = 1
70configure:3243: /opt/local/bin/clang-mp-9.0 -qversion >&5
71clang: error: unknown argument '-qversion'; did you mean '--version'?
72clang: error: no input files
73configure:3254: $? = 1
74configure:3274: checking whether the C compiler works
75configure:3296: /opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
76configure:3300: $? = 0
77configure:3348: result: yes
78configure:3351: checking for C compiler default output file name
79configure:3353: result: a.out
80configure:3359: checking for suffix of executables
81configure:3366: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
82configure:3370: $? = 0
83configure:3392: result:
84configure:3414: checking whether we are cross compiling
85configure:3422: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
86configure:3426: $? = 0
87configure:3433: ./conftest
88configure:3437: $? = 0
89configure:3452: result: no
90configure:3457: checking for suffix of object files
91configure:3479: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
92configure:3483: $? = 0
93configure:3504: result: o
94configure:3508: checking whether we are using the GNU C compiler
95configure:3527: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
96configure:3527: $? = 0
97configure:3536: result: yes
98configure:3545: checking whether /opt/local/bin/clang-mp-9.0 accepts -g
99configure:3565: /opt/local/bin/clang-mp-9.0 -c -g -I/opt/local/include conftest.c >&5
100configure:3565: $? = 0
101configure:3606: result: yes
102configure:3623: checking for /opt/local/bin/clang-mp-9.0 option to accept ISO C89
103configure:3686: /opt/local/bin/clang-mp-9.0  -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
104configure:3686: $? = 0
105configure:3699: result: none needed
106configure:3725: checking how to run the C preprocessor
107configure:3756: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
108configure:3756: $? = 0
109configure:3770: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
110conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
111#include <ac_nonexistent.h>
112         ^~~~~~~~~~~~~~~~~~
1131 error generated.
114configure:3770: $? = 1
115configure: failed program was:
116| /* confdefs.h */
117| #define PACKAGE_NAME "unbound"
118| #define PACKAGE_TARNAME "unbound"
119| #define PACKAGE_VERSION "1.12.0"
120| #define PACKAGE_STRING "unbound 1.12.0"
121| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
122| #define PACKAGE_URL ""
123| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
124| /* end confdefs.h.  */
125| #include <ac_nonexistent.h>
126configure:3795: result: /opt/local/bin/clang-mp-9.0 -E
127configure:3815: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
128configure:3815: $? = 0
129configure:3829: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
130conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
131#include <ac_nonexistent.h>
132         ^~~~~~~~~~~~~~~~~~
1331 error generated.
134configure:3829: $? = 1
135configure: failed program was:
136| /* confdefs.h */
137| #define PACKAGE_NAME "unbound"
138| #define PACKAGE_TARNAME "unbound"
139| #define PACKAGE_VERSION "1.12.0"
140| #define PACKAGE_STRING "unbound 1.12.0"
141| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
142| #define PACKAGE_URL ""
143| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
144| /* end confdefs.h.  */
145| #include <ac_nonexistent.h>
146configure:3858: checking for grep that handles long lines and -e
147configure:3916: result: /usr/bin/grep
148configure:3921: checking for egrep
149configure:3983: result: /usr/bin/grep -E
150configure:3988: checking for ANSI C header files
151configure:4008: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
152configure:4008: $? = 0
153configure:4081: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
154configure:4081: $? = 0
155configure:4081: ./conftest
156configure:4081: $? = 0
157configure:4092: result: yes
158configure:4105: checking for sys/types.h
159configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
160configure:4105: $? = 0
161configure:4105: result: yes
162configure:4105: checking for sys/stat.h
163configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
164configure:4105: $? = 0
165configure:4105: result: yes
166configure:4105: checking for stdlib.h
167configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
168configure:4105: $? = 0
169configure:4105: result: yes
170configure:4105: checking for string.h
171configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
172configure:4105: $? = 0
173configure:4105: result: yes
174configure:4105: checking for memory.h
175configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
176configure:4105: $? = 0
177configure:4105: result: yes
178configure:4105: checking for strings.h
179configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
180configure:4105: $? = 0
181configure:4105: result: yes
182configure:4105: checking for inttypes.h
183configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
184configure:4105: $? = 0
185configure:4105: result: yes
186configure:4105: checking for stdint.h
187configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
188configure:4105: $? = 0
189configure:4105: result: yes
190configure:4105: checking for unistd.h
191configure:4105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
192configure:4105: $? = 0
193configure:4105: result: yes
194configure:4118: checking minix/config.h usability
195configure:4118: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
196conftest.c:53:10: fatal error: 'minix/config.h' file not found
197#include <minix/config.h>
198         ^~~~~~~~~~~~~~~~
1991 error generated.
200configure:4118: $? = 1
201configure: failed program was:
202| /* confdefs.h */
203| #define PACKAGE_NAME "unbound"
204| #define PACKAGE_TARNAME "unbound"
205| #define PACKAGE_VERSION "1.12.0"
206| #define PACKAGE_STRING "unbound 1.12.0"
207| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
208| #define PACKAGE_URL ""
209| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
210| #define STDC_HEADERS 1
211| #define HAVE_SYS_TYPES_H 1
212| #define HAVE_SYS_STAT_H 1
213| #define HAVE_STDLIB_H 1
214| #define HAVE_STRING_H 1
215| #define HAVE_MEMORY_H 1
216| #define HAVE_STRINGS_H 1
217| #define HAVE_INTTYPES_H 1
218| #define HAVE_STDINT_H 1
219| #define HAVE_UNISTD_H 1
220| /* end confdefs.h.  */
221| #include <stdio.h>
222| #ifdef HAVE_SYS_TYPES_H
223| # include <sys/types.h>
224| #endif
225| #ifdef HAVE_SYS_STAT_H
226| # include <sys/stat.h>
227| #endif
228| #ifdef STDC_HEADERS
229| # include <stdlib.h>
230| # include <stddef.h>
231| #else
232| # ifdef HAVE_STDLIB_H
233| #  include <stdlib.h>
234| # endif
235| #endif
236| #ifdef HAVE_STRING_H
237| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
238| #  include <memory.h>
239| # endif
240| # include <string.h>
241| #endif
242| #ifdef HAVE_STRINGS_H
243| # include <strings.h>
244| #endif
245| #ifdef HAVE_INTTYPES_H
246| # include <inttypes.h>
247| #endif
248| #ifdef HAVE_STDINT_H
249| # include <stdint.h>
250| #endif
251| #ifdef HAVE_UNISTD_H
252| # include <unistd.h>
253| #endif
254| #include <minix/config.h>
255configure:4118: result: no
256configure:4118: checking minix/config.h presence
257configure:4118: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
258conftest.c:20:10: fatal error: 'minix/config.h' file not found
259#include <minix/config.h>
260         ^~~~~~~~~~~~~~~~
2611 error generated.
262configure:4118: $? = 1
263configure: failed program was:
264| /* confdefs.h */
265| #define PACKAGE_NAME "unbound"
266| #define PACKAGE_TARNAME "unbound"
267| #define PACKAGE_VERSION "1.12.0"
268| #define PACKAGE_STRING "unbound 1.12.0"
269| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
270| #define PACKAGE_URL ""
271| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
272| #define STDC_HEADERS 1
273| #define HAVE_SYS_TYPES_H 1
274| #define HAVE_SYS_STAT_H 1
275| #define HAVE_STDLIB_H 1
276| #define HAVE_STRING_H 1
277| #define HAVE_MEMORY_H 1
278| #define HAVE_STRINGS_H 1
279| #define HAVE_INTTYPES_H 1
280| #define HAVE_STDINT_H 1
281| #define HAVE_UNISTD_H 1
282| /* end confdefs.h.  */
283| #include <minix/config.h>
284configure:4118: result: no
285configure:4118: checking for minix/config.h
286configure:4118: result: no
287configure:4139: checking whether it is safe to define __EXTENSIONS__
288configure:4157: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
289configure:4157: $? = 0
290configure:4164: result: yes
291configure:4409: checking for an ANSI C-conforming const
292configure:4475: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
293configure:4475: $? = 0
294configure:4482: result: yes
295configure:4611: checking for gcc
296configure:4638: result: /opt/local/bin/clang-mp-9.0
297configure:4867: checking for C compiler version
298configure:4876: /opt/local/bin/clang-mp-9.0 --version >&5
299clang version 9.0.1
300Target: x86_64-apple-darwin10.8.0
301Thread model: posix
302InstalledDir: /opt/local/libexec/llvm-9.0/bin
303configure:4887: $? = 0
304configure:4876: /opt/local/bin/clang-mp-9.0 -v >&5
305clang version 9.0.1
306Target: x86_64-apple-darwin10.8.0
307Thread model: posix
308InstalledDir: /opt/local/libexec/llvm-9.0/bin
309configure:4887: $? = 0
310configure:4876: /opt/local/bin/clang-mp-9.0 -V >&5
311clang: error: argument to '-V' is missing (expected 1 value)
312clang: error: no input files
313configure:4887: $? = 1
314configure:4876: /opt/local/bin/clang-mp-9.0 -qversion >&5
315clang: error: unknown argument '-qversion'; did you mean '--version'?
316clang: error: no input files
317configure:4887: $? = 1
318configure:4891: checking whether we are using the GNU C compiler
319configure:4919: result: yes
320configure:4928: checking whether /opt/local/bin/clang-mp-9.0 accepts -g
321configure:4989: result: yes
322configure:5006: checking for /opt/local/bin/clang-mp-9.0 option to accept ISO C89
323configure:5082: result: none needed
324configure:5103: checking /opt/local/bin/clang-mp-9.0 dependency flag
325configure:5115: result: -MM
326configure:5123: checking whether /opt/local/bin/clang-mp-9.0 supports -Werror
327configure:5141: result: yes
328configure:5154: checking whether /opt/local/bin/clang-mp-9.0 supports -Wall
329configure:5172: result: yes
330configure:5187: checking whether /opt/local/bin/clang-mp-9.0 supports -std=c99
331configure:5205: result: yes
332configure:5218: checking whether /opt/local/bin/clang-mp-9.0 supports -xc99
333configure:5241: result: no
334configure:5251: checking for getopt.h
335configure:5251: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
336configure:5251: $? = 0
337configure:5251: result: yes
338configure:5251: checking for time.h
339configure:5251: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
340configure:5251: $? = 0
341configure:5251: result: yes
342configure:5266: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for /opt/local/bin/clang-mp-9.0
343configure:5336: result: no
344configure:5357: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for /opt/local/bin/clang-mp-9.0
345configure:5427: result: no
346configure:5448: checking whether we need -std=c99 as a flag for /opt/local/bin/clang-mp-9.0
347configure:5491: result: no
348configure:5512: checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for /opt/local/bin/clang-mp-9.0
349configure:5556: result: no
350configure:5577: checking whether we need -D_GNU_SOURCE as a flag for /opt/local/bin/clang-mp-9.0
351configure:5621: result: no
352configure:5645: checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for /opt/local/bin/clang-mp-9.0
353configure:5699: result: failed
354configure:5710: checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for /opt/local/bin/clang-mp-9.0
355configure:5765: result: no
356configure:5786: checking whether we need -D__EXTENSIONS__ as a flag for /opt/local/bin/clang-mp-9.0
357configure:5847: result: no
358configure:6155: checking for inline
359configure:6171: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
360configure:6171: $? = 0
361configure:6179: result: inline
362configure:6198: checking whether the C compiler (/opt/local/bin/clang-mp-9.0) accepts the "format" attribute
363configure:6220: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
364configure:6220: $? = 0
365configure:6230: result: yes
366configure:6239: checking whether the C compiler (/opt/local/bin/clang-mp-9.0) accepts the "unused" attribute
367configure:6260: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
368configure:6260: $? = 0
369configure:6272: result: yes
370configure:6283: checking whether the C compiler (/opt/local/bin/clang-mp-9.0) accepts the "weak" attribute
371configure:6304: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
372configure:6304: $? = 0
373configure:6314: result: yes
374configure:6328: checking whether the C compiler (/opt/local/bin/clang-mp-9.0) accepts the "noreturn" attribute
375configure:6349: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
376conftest.c:42:60: warning: function declared 'noreturn' should not return [-Winvalid-noreturn]
377__attribute__((noreturn)) void f(int x) { printf("%d", x); }
378                                                           ^
3791 warning generated.
380configure:6349: $? = 0
381configure:6359: result: yes
382configure:6383: checking for flex
383configure:6399: found /opt/local/bin/flex
384configure:6410: result: flex
385configure:6448: flex conftest.l
386configure:6452: $? = 0
387configure:6454: checking lex output file root
388configure:6468: result: lex.yy
389configure:6473: checking lex library
390configure:6487: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
391Undefined symbols for architecture x86_64:
392  "_yywrap", referenced from:
393      _yylex in conftest-3f2047.o
394      _main in conftest-3f2047.o
395ld: symbol(s) not found for architecture x86_64
396clang: error: linker command failed with exit code 1 (use -v to see invocation)
397configure:6487: $? = 1
398configure: failed program was:
399| /* confdefs.h */
400| #define PACKAGE_NAME "unbound"
401| #define PACKAGE_TARNAME "unbound"
402| #define PACKAGE_VERSION "1.12.0"
403| #define PACKAGE_STRING "unbound 1.12.0"
404| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
405| #define PACKAGE_URL ""
406| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
407| #define STDC_HEADERS 1
408| #define HAVE_SYS_TYPES_H 1
409| #define HAVE_SYS_STAT_H 1
410| #define HAVE_STDLIB_H 1
411| #define HAVE_STRING_H 1
412| #define HAVE_MEMORY_H 1
413| #define HAVE_STRINGS_H 1
414| #define HAVE_INTTYPES_H 1
415| #define HAVE_STDINT_H 1
416| #define HAVE_UNISTD_H 1
417| #define __EXTENSIONS__ 1
418| #define _ALL_SOURCE 1
419| #define _GNU_SOURCE 1
420| #define _POSIX_PTHREAD_SEMANTICS 1
421| #define _TANDEM_SOURCE 1
422| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
423| #define RUN_DIR "/opt/local/etc/unbound"
424| #define CHROOT_DIR "/opt/local/etc/unbound"
425| #define SHARE_DIR "/opt/local/etc/unbound"
426| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
427| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
428| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
429| #define UB_USERNAME "unbound"
430| #define WINVER 0x0502
431| #define RSRC_PACKAGE_VERSION 1,12,0,0
432| #define HAVE_GETOPT_H 1
433| #define HAVE_TIME_H 1
434| #define HAVE_ATTR_FORMAT 1
435| #define HAVE_ATTR_UNUSED 1
436| #define HAVE_ATTR_WEAK 1
437| #define ATTR_WEAK __attribute__((weak))
438| #define HAVE_ATTR_NORETURN 1
439| #define ATTR_NORETURN __attribute__((__noreturn__))
440| /* end confdefs.h.  */
441|
442| #line 2 "lex.yy.c"
443|
444| #define  YY_INT_ALIGNED short int
445|
446| /* A lexical scanner generated by flex */
447|
448| #define FLEX_SCANNER
449| #define YY_FLEX_MAJOR_VERSION 2
450| #define YY_FLEX_MINOR_VERSION 6
451| #define YY_FLEX_SUBMINOR_VERSION 4
452| #if YY_FLEX_SUBMINOR_VERSION > 0
453| #define FLEX_BETA
454| #endif
455|
456| /* First, we deal with  platform-specific or compiler-specific issues. */
457|
458| /* begin standard C headers. */
459| #include <stdio.h>
460| #include <string.h>
461| #include <errno.h>
462| #include <stdlib.h>
463|
464| /* end standard C headers. */
465|
466| /* flex integer type definitions */
467|
468| #ifndef FLEXINT_H
469| #define FLEXINT_H
470|
471| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
472|
473| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
474|
475| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
476|  * if you want the limit (max/min) macros for int types.
477|  */
478| #ifndef __STDC_LIMIT_MACROS
479| #define __STDC_LIMIT_MACROS 1
480| #endif
481|
482| #include <inttypes.h>
483| typedef int8_t flex_int8_t;
484| typedef uint8_t flex_uint8_t;
485| typedef int16_t flex_int16_t;
486| typedef uint16_t flex_uint16_t;
487| typedef int32_t flex_int32_t;
488| typedef uint32_t flex_uint32_t;
489| #else
490| typedef signed char flex_int8_t;
491| typedef short int flex_int16_t;
492| typedef int flex_int32_t;
493| typedef unsigned char flex_uint8_t;
494| typedef unsigned short int flex_uint16_t;
495| typedef unsigned int flex_uint32_t;
496|
497| /* Limits of integral types. */
498| #ifndef INT8_MIN
499| #define INT8_MIN               (-128)
500| #endif
501| #ifndef INT16_MIN
502| #define INT16_MIN              (-32767-1)
503| #endif
504| #ifndef INT32_MIN
505| #define INT32_MIN              (-2147483647-1)
506| #endif
507| #ifndef INT8_MAX
508| #define INT8_MAX               (127)
509| #endif
510| #ifndef INT16_MAX
511| #define INT16_MAX              (32767)
512| #endif
513| #ifndef INT32_MAX
514| #define INT32_MAX              (2147483647)
515| #endif
516| #ifndef UINT8_MAX
517| #define UINT8_MAX              (255U)
518| #endif
519| #ifndef UINT16_MAX
520| #define UINT16_MAX             (65535U)
521| #endif
522| #ifndef UINT32_MAX
523| #define UINT32_MAX             (4294967295U)
524| #endif
525|
526| #ifndef SIZE_MAX
527| #define SIZE_MAX               (~(size_t)0)
528| #endif
529|
530| #endif /* ! C99 */
531|
532| #endif /* ! FLEXINT_H */
533|
534| /* begin standard C++ headers. */
535|
536| /* TODO: this is always defined, so inline it */
537| #define yyconst const
538|
539| #if defined(__GNUC__) && __GNUC__ >= 3
540| #define yynoreturn __attribute__((__noreturn__))
541| #else
542| #define yynoreturn
543| #endif
544|
545| /* Returned upon end-of-file. */
546| #define YY_NULL 0
547|
548| /* Promotes a possibly negative, possibly signed char to an
549|  *   integer in range [0..255] for use as an array index.
550|  */
551| #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
552|
553| /* Enter a start condition.  This macro really ought to take a parameter,
554|  * but we do it the disgusting crufty way forced on us by the ()-less
555|  * definition of BEGIN.
556|  */
557| #define BEGIN (yy_start) = 1 + 2 *
558| /* Translate the current start state into a value that can be later handed
559|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
560|  * compatibility.
561|  */
562| #define YY_START (((yy_start) - 1) / 2)
563| #define YYSTATE YY_START
564| /* Action number for EOF rule of a given start state. */
565| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
566| /* Special action meaning "start processing a new file". */
567| #define YY_NEW_FILE yyrestart( yyin  )
568| #define YY_END_OF_BUFFER_CHAR 0
569|
570| /* Size of default input buffer. */
571| #ifndef YY_BUF_SIZE
572| #ifdef __ia64__
573| /* On IA-64, the buffer size is 16k, not 8k.
574|  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
575|  * Ditto for the __ia64__ case accordingly.
576|  */
577| #define YY_BUF_SIZE 32768
578| #else
579| #define YY_BUF_SIZE 16384
580| #endif /* __ia64__ */
581| #endif
582|
583| /* The state buf must be large enough to hold one state per character in the main buffer.
584|  */
585| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
586|
587| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
588| #define YY_TYPEDEF_YY_BUFFER_STATE
589| typedef struct yy_buffer_state *YY_BUFFER_STATE;
590| #endif
591|
592| #ifndef YY_TYPEDEF_YY_SIZE_T
593| #define YY_TYPEDEF_YY_SIZE_T
594| typedef size_t yy_size_t;
595| #endif
596|
597| extern int yyleng;
598|
599| extern FILE *yyin, *yyout;
600|
601| #define EOB_ACT_CONTINUE_SCAN 0
602| #define EOB_ACT_END_OF_FILE 1
603| #define EOB_ACT_LAST_MATCH 2
604|     
605|     #define YY_LESS_LINENO(n)
606|     #define YY_LINENO_REWIND_TO(ptr)
607|     
608| /* Return all but the first "n" matched characters back to the input stream. */
609| #define yyless(n) \
610|       do \
611|               { \
612|               /* Undo effects of setting up yytext. */ \
613|         int yyless_macro_arg = (n); \
614|         YY_LESS_LINENO(yyless_macro_arg);\
615|               *yy_cp = (yy_hold_char); \
616|               YY_RESTORE_YY_MORE_OFFSET \
617|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
618|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
619|               } \
620|       while ( 0 )
621| #define unput(c) yyunput( c, (yytext_ptr)  )
622|
623| #ifndef YY_STRUCT_YY_BUFFER_STATE
624| #define YY_STRUCT_YY_BUFFER_STATE
625| struct yy_buffer_state
626|       {
627|       FILE *yy_input_file;
628|
629|       char *yy_ch_buf;                /* input buffer */
630|       char *yy_buf_pos;               /* current position in input buffer */
631|
632|       /* Size of input buffer in bytes, not including room for EOB
633|        * characters.
634|        */
635|       int yy_buf_size;
636|
637|       /* Number of characters read into yy_ch_buf, not including EOB
638|        * characters.
639|        */
640|       int yy_n_chars;
641|
642|       /* Whether we "own" the buffer - i.e., we know we created it,
643|        * and can realloc() it to grow it, and should free() it to
644|        * delete it.
645|        */
646|       int yy_is_our_buffer;
647|
648|       /* Whether this is an "interactive" input source; if so, and
649|        * if we're using stdio for input, then we want to use getc()
650|        * instead of fread(), to make sure we stop fetching input after
651|        * each newline.
652|        */
653|       int yy_is_interactive;
654|
655|       /* Whether we're considered to be at the beginning of a line.
656|        * If so, '^' rules will be active on the next match, otherwise
657|        * not.
658|        */
659|       int yy_at_bol;
660|
661|     int yy_bs_lineno; /**< The line count. */
662|     int yy_bs_column; /**< The column count. */
663|
664|       /* Whether to try to fill the input buffer when we reach the
665|        * end of it.
666|        */
667|       int yy_fill_buffer;
668|
669|       int yy_buffer_status;
670|
671| #define YY_BUFFER_NEW 0
672| #define YY_BUFFER_NORMAL 1
673|       /* When an EOF's been seen but there's still some text to process
674|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
675|        * shouldn't try reading from the input source any more.  We might
676|        * still have a bunch of tokens to match, though, because of
677|        * possible backing-up.
678|        *
679|        * When we actually see the EOF, we change the status to "new"
680|        * (via yyrestart()), so that the user can continue scanning by
681|        * just pointing yyin at a new input file.
682|        */
683| #define YY_BUFFER_EOF_PENDING 2
684|
685|       };
686| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
687|
688| /* Stack of input buffers. */
689| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
690| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
691| static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
692|
693| /* We provide macros for accessing buffer states in case in the
694|  * future we want to put the buffer states in a more general
695|  * "scanner state".
696|  *
697|  * Returns the top of the stack, or NULL.
698|  */
699| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
700|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
701|                           : NULL)
702| /* Same as previous macro, but useful when we know that the buffer stack is not
703|  * NULL or when we need an lvalue. For internal use only.
704|  */
705| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
706|
707| /* yy_hold_char holds the character lost when yytext is formed. */
708| static char yy_hold_char;
709| static int yy_n_chars;                /* number of characters read into yy_ch_buf */
710| int yyleng;
711|
712| /* Points to current character in buffer. */
713| static char *yy_c_buf_p = NULL;
714| static int yy_init = 0;               /* whether we need to initialize */
715| static int yy_start = 0;      /* start state number */
716|
717| /* Flag which is used to allow yywrap()'s to do buffer switches
718|  * instead of setting up a fresh yyin.  A bit of a hack ...
719|  */
720| static int yy_did_buffer_switch_on_eof;
721|
722| void yyrestart ( FILE *input_file  );
723| void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer  );
724| YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size  );
725| void yy_delete_buffer ( YY_BUFFER_STATE b  );
726| void yy_flush_buffer ( YY_BUFFER_STATE b  );
727| void yypush_buffer_state ( YY_BUFFER_STATE new_buffer  );
728| void yypop_buffer_state ( void );
729|
730| static void yyensure_buffer_stack ( void );
731| static void yy_load_buffer_state ( void );
732| static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file  );
733| #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
734|
735| YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size  );
736| YY_BUFFER_STATE yy_scan_string ( const char *yy_str  );
737| YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len  );
738|
739| void *yyalloc ( yy_size_t  );
740| void *yyrealloc ( void *, yy_size_t  );
741| void yyfree ( void *  );
742|
743| #define yy_new_buffer yy_create_buffer
744| #define yy_set_interactive(is_interactive) \
745|       { \
746|       if ( ! YY_CURRENT_BUFFER ){ \
747|         yyensure_buffer_stack (); \
748|               YY_CURRENT_BUFFER_LVALUE =    \
749|             yy_create_buffer( yyin, YY_BUF_SIZE ); \
750|       } \
751|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
752|       }
753| #define yy_set_bol(at_bol) \
754|       { \
755|       if ( ! YY_CURRENT_BUFFER ){\
756|         yyensure_buffer_stack (); \
757|               YY_CURRENT_BUFFER_LVALUE =    \
758|             yy_create_buffer( yyin, YY_BUF_SIZE ); \
759|       } \
760|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
761|       }
762| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
763|
764| /* Begin user sect3 */
765| typedef flex_uint8_t YY_CHAR;
766|
767| FILE *yyin = NULL, *yyout = NULL;
768|
769| typedef int yy_state_type;
770|
771| extern int yylineno;
772| int yylineno = 1;
773|
774| extern char *yytext;
775| #ifdef yytext_ptr
776| #undef yytext_ptr
777| #endif
778| #define yytext_ptr yytext
779|
780| static yy_state_type yy_get_previous_state ( void );
781| static yy_state_type yy_try_NUL_trans ( yy_state_type current_state  );
782| static int yy_get_next_buffer ( void );
783| static void yynoreturn yy_fatal_error ( const char* msg  );
784|
785| /* Done after the current pattern has been matched and before the
786|  * corresponding action - sets up yytext.
787|  */
788| #define YY_DO_BEFORE_ACTION \
789|       (yytext_ptr) = yy_bp; \
790|       (yytext_ptr) -= (yy_more_len); \
791|       yyleng = (int) (yy_cp - (yytext_ptr)); \
792|       (yy_hold_char) = *yy_cp; \
793|       *yy_cp = '\0'; \
794|       (yy_c_buf_p) = yy_cp;
795| #define YY_NUM_RULES 8
796| #define YY_END_OF_BUFFER 9
797| /* This struct is not used in this scanner,
798|    but its presence is necessary. */
799| struct yy_trans_info
800|       {
801|       flex_int32_t yy_verify;
802|       flex_int32_t yy_nxt;
803|       };
804| static const flex_int16_t yy_acclist[23] =
805|     {   0,
806|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
807|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
808|         7,    8
809|     } ;
810|
811| static const flex_int16_t yy_accept[14] =
812|     {   0,
813|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
814|        20,   23,   23
815|     } ;
816|
817| static const YY_CHAR yy_ec[256] =
818|     {   0,
819|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
820|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
821|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
822|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
823|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
824|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
825|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
826|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
827|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
828|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
829|
830|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
831|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
832|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
833|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
834|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
835|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
836|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
837|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
838|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
839|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
840|
841|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
842|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
843|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
844|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
845|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
846|         1,    1,    1,    1,    1
847|     } ;
848|
849| static const YY_CHAR yy_meta[9] =
850|     {   0,
851|         1,    1,    1,    1,    1,    1,    1,    1
852|     } ;
853|
854| static const flex_int16_t yy_base[13] =
855|     {   0,
856|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
857|        10,   10
858|     } ;
859|
860| static const flex_int16_t yy_def[13] =
861|     {   0,
862|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
863|        12,    0
864|     } ;
865|
866| static const flex_int16_t yy_nxt[19] =
867|     {   0,
868|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
869|        12,   12,   12,   12,   12,   12,   12,   12
870|     } ;
871|
872| static const flex_int16_t yy_chk[19] =
873|     {   0,
874|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
875|        12,   12,   12,   12,   12,   12,   12,   12
876|     } ;
877|
878| extern int yy_flex_debug;
879| int yy_flex_debug = 0;
880|
881| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
882| static char *yy_full_match;
883| static int yy_lp;
884| #define REJECT \
885| { \
886| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
887| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
888| ++(yy_lp); \
889| goto find_rule; \
890| }
891|
892| static int yy_more_flag = 0;
893| static int yy_more_len = 0;
894| #define yymore() ((yy_more_flag) = 1)
895| #define YY_MORE_ADJ (yy_more_len)
896| #define YY_RESTORE_YY_MORE_OFFSET
897| char *yytext;
898| #line 1 "conftest.l"
899| #line 459 "lex.yy.c"
900|
901| #define INITIAL 0
902|
903| #ifndef YY_NO_UNISTD_H
904| /* Special case for "unistd.h", since it is non-ANSI. We include it way
905|  * down here because we want the user's section 1 to have been scanned first.
906|  * The user has a chance to override it with an option.
907|  */
908| #include <unistd.h>
909| #endif
910|
911| #ifndef YY_EXTRA_TYPE
912| #define YY_EXTRA_TYPE void *
913| #endif
914|
915| static int yy_init_globals ( void );
916|
917| /* Accessor methods to globals.
918|    These are made visible to non-reentrant scanners for convenience. */
919|
920| int yylex_destroy ( void );
921|
922| int yyget_debug ( void );
923|
924| void yyset_debug ( int debug_flag  );
925|
926| YY_EXTRA_TYPE yyget_extra ( void );
927|
928| void yyset_extra ( YY_EXTRA_TYPE user_defined  );
929|
930| FILE *yyget_in ( void );
931|
932| void yyset_in  ( FILE * _in_str  );
933|
934| FILE *yyget_out ( void );
935|
936| void yyset_out  ( FILE * _out_str  );
937|
938|                       int yyget_leng ( void );
939|
940| char *yyget_text ( void );
941|
942| int yyget_lineno ( void );
943|
944| void yyset_lineno ( int _line_number  );
945|
946| /* Macros after this point can all be overridden by user definitions in
947|  * section 1.
948|  */
949|
950| #ifndef YY_SKIP_YYWRAP
951| #ifdef __cplusplus
952| extern "C" int yywrap ( void );
953| #else
954| extern int yywrap ( void );
955| #endif
956| #endif
957|
958| #ifndef YY_NO_UNPUT
959|     
960|     static void yyunput ( int c, char *buf_ptr  );
961|     
962| #endif
963|
964| #ifndef yytext_ptr
965| static void yy_flex_strncpy ( char *, const char *, int );
966| #endif
967|
968| #ifdef YY_NEED_STRLEN
969| static int yy_flex_strlen ( const char * );
970| #endif
971|
972| #ifndef YY_NO_INPUT
973| #ifdef __cplusplus
974| static int yyinput ( void );
975| #else
976| static int input ( void );
977| #endif
978|
979| #endif
980|
981| /* Amount of stuff to slurp up with each read. */
982| #ifndef YY_READ_BUF_SIZE
983| #ifdef __ia64__
984| /* On IA-64, the buffer size is 16k, not 8k */
985| #define YY_READ_BUF_SIZE 16384
986| #else
987| #define YY_READ_BUF_SIZE 8192
988| #endif /* __ia64__ */
989| #endif
990|
991| /* Copy whatever the last rule matched to the standard output. */
992| #ifndef ECHO
993| /* This used to be an fputs(), but since the string might contain NUL's,
994|  * we now use fwrite().
995|  */
996| #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
997| #endif
998|
999| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
1000|  * is returned in "result".
1001|  */
1002| #ifndef YY_INPUT
1003| #define YY_INPUT(buf,result,max_size) \
1004|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1005|               { \
1006|               int c = '*'; \
1007|               int n; \
1008|               for ( n = 0; n < max_size && \
1009|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1010|                       buf[n] = (char) c; \
1011|               if ( c == '\n' ) \
1012|                       buf[n++] = (char) c; \
1013|               if ( c == EOF && ferror( yyin ) ) \
1014|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
1015|               result = n; \
1016|               } \
1017|       else \
1018|               { \
1019|               errno=0; \
1020|               while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1021|                       { \
1022|                       if( errno != EINTR) \
1023|                               { \
1024|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
1025|                               break; \
1026|                               } \
1027|                       errno=0; \
1028|                       clearerr(yyin); \
1029|                       } \
1030|               }\
1031| \
1032|
1033| #endif
1034|
1035| /* No semi-colon after return; correct usage is to write "yyterminate();" -
1036|  * we don't want an extra ';' after the "return" because that will cause
1037|  * some compilers to complain about unreachable statements.
1038|  */
1039| #ifndef yyterminate
1040| #define yyterminate() return YY_NULL
1041| #endif
1042|
1043| /* Number of entries by which start-condition stack grows. */
1044| #ifndef YY_START_STACK_INCR
1045| #define YY_START_STACK_INCR 25
1046| #endif
1047|
1048| /* Report a fatal error. */
1049| #ifndef YY_FATAL_ERROR
1050| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1051| #endif
1052|
1053| /* end tables serialization structures and prototypes */
1054|
1055| /* Default declaration of generated scanner - a define so the user can
1056|  * easily add parameters.
1057|  */
1058| #ifndef YY_DECL
1059| #define YY_DECL_IS_OURS 1
1060|
1061| extern int yylex (void);
1062|
1063| #define YY_DECL int yylex (void)
1064| #endif /* !YY_DECL */
1065|
1066| /* Code executed at the beginning of each rule, after yytext and yyleng
1067|  * have been set up.
1068|  */
1069| #ifndef YY_USER_ACTION
1070| #define YY_USER_ACTION
1071| #endif
1072|
1073| /* Code executed at the end of each rule. */
1074| #ifndef YY_BREAK
1075| #define YY_BREAK /*LINTED*/break;
1076| #endif
1077|
1078| #define YY_RULE_SETUP \
1079|       YY_USER_ACTION
1080|
1081| /** The main scanner function which does all the work.
1082|  */
1083| YY_DECL
1084| {
1085|       yy_state_type yy_current_state;
1086|       char *yy_cp, *yy_bp;
1087|       int yy_act;
1088|     
1089|       if ( !(yy_init) )
1090|               {
1091|               (yy_init) = 1;
1092|
1093| #ifdef YY_USER_INIT
1094|               YY_USER_INIT;
1095| #endif
1096|
1097|         /* Create the reject buffer large enough to save one state per allowed character. */
1098|         if ( ! (yy_state_buf) )
1099|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
1100|             if ( ! (yy_state_buf) )
1101|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1102|
1103|               if ( ! (yy_start) )
1104|                       (yy_start) = 1; /* first start state */
1105|
1106|               if ( ! yyin )
1107|                       yyin = stdin;
1108|
1109|               if ( ! yyout )
1110|                       yyout = stdout;
1111|
1112|               if ( ! YY_CURRENT_BUFFER ) {
1113|                       yyensure_buffer_stack ();
1114|                       YY_CURRENT_BUFFER_LVALUE =
1115|                               yy_create_buffer( yyin, YY_BUF_SIZE );
1116|               }
1117|
1118|               yy_load_buffer_state(  );
1119|               }
1120|
1121|       {
1122| #line 1 "conftest.l"
1123|
1124| #line 684 "lex.yy.c"
1125|
1126|       while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
1127|               {
1128|               (yy_more_len) = 0;
1129|               if ( (yy_more_flag) )
1130|                       {
1131|                       (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
1132|                       (yy_more_flag) = 0;
1133|                       }
1134|               yy_cp = (yy_c_buf_p);
1135|
1136|               /* Support of yytext. */
1137|               *yy_cp = (yy_hold_char);
1138|
1139|               /* yy_bp points to the position in yy_ch_buf of the start of
1140|                * the current run.
1141|                */
1142|               yy_bp = yy_cp;
1143|
1144|               yy_current_state = (yy_start);
1145|
1146|               (yy_state_ptr) = (yy_state_buf);
1147|               *(yy_state_ptr)++ = yy_current_state;
1148|
1149| yy_match:
1150|               do
1151|                       {
1152|                       YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1153|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1154|                               {
1155|                               yy_current_state = (int) yy_def[yy_current_state];
1156|                               if ( yy_current_state >= 13 )
1157|                                       yy_c = yy_meta[yy_c];
1158|                               }
1159|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1160|                       *(yy_state_ptr)++ = yy_current_state;
1161|                       ++yy_cp;
1162|                       }
1163|               while ( yy_base[yy_current_state] != 10 );
1164|
1165| yy_find_action:
1166|               yy_current_state = *--(yy_state_ptr);
1167|               (yy_lp) = yy_accept[yy_current_state];
1168|
1169| find_rule: /* we branch to this label when backing up */
1170|
1171|               for ( ; ; ) /* until we find what rule we matched */
1172|                       {
1173|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1174|                               {
1175|                               yy_act = yy_acclist[(yy_lp)];
1176|                                       {
1177|                                       (yy_full_match) = yy_cp;
1178|                                       break;
1179|                                       }
1180|                               }
1181|                       --yy_cp;
1182|                       yy_current_state = *--(yy_state_ptr);
1183|                       (yy_lp) = yy_accept[yy_current_state];
1184|                       }
1185|
1186|               YY_DO_BEFORE_ACTION;
1187|
1188| do_action:    /* This label is used only to access EOF actions. */
1189|
1190|               switch ( yy_act )
1191|       { /* beginning of action switch */
1192| case 1:
1193| YY_RULE_SETUP
1194| #line 2 "conftest.l"
1195| { ECHO; }
1196|       YY_BREAK
1197| case 2:
1198| YY_RULE_SETUP
1199| #line 3 "conftest.l"
1200| { REJECT; }
1201|       YY_BREAK
1202| case 3:
1203| YY_RULE_SETUP
1204| #line 4 "conftest.l"
1205| { yymore (); }
1206|       YY_BREAK
1207| case 4:
1208| YY_RULE_SETUP
1209| #line 5 "conftest.l"
1210| { yyless (1); }
1211|       YY_BREAK
1212| case 5:
1213| YY_RULE_SETUP
1214| #line 6 "conftest.l"
1215| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
1216|     yyless ((input () != 0)); }
1217|       YY_BREAK
1218| case 6:
1219| YY_RULE_SETUP
1220| #line 8 "conftest.l"
1221| { unput (yytext[0]); }
1222|       YY_BREAK
1223| case 7:
1224| YY_RULE_SETUP
1225| #line 9 "conftest.l"
1226| { BEGIN INITIAL; }
1227|       YY_BREAK
1228| case 8:
1229| YY_RULE_SETUP
1230| #line 10 "conftest.l"
1231| ECHO;
1232|       YY_BREAK
1233| #line 793 "lex.yy.c"
1234|                       case YY_STATE_EOF(INITIAL):
1235|                               yyterminate();
1236|
1237|       case YY_END_OF_BUFFER:
1238|               {
1239|               /* Amount of text matched not including the EOB char. */
1240|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1241|
1242|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
1243|               *yy_cp = (yy_hold_char);
1244|               YY_RESTORE_YY_MORE_OFFSET
1245|
1246|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1247|                       {
1248|                       /* We're scanning a new file or input source.  It's
1249|                        * possible that this happened because the user
1250|                        * just pointed yyin at a new source and called
1251|                        * yylex().  If so, then we have to assure
1252|                        * consistency between YY_CURRENT_BUFFER and our
1253|                        * globals.  Here is the right place to do so, because
1254|                        * this is the first action (other than possibly a
1255|                        * back-up) that will match for the new input source.
1256|                        */
1257|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1258|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1259|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1260|                       }
1261|
1262|               /* Note that here we test for yy_c_buf_p "<=" to the position
1263|                * of the first EOB in the buffer, since yy_c_buf_p will
1264|                * already have been incremented past the NUL character
1265|                * (since all states make transitions on EOB to the
1266|                * end-of-buffer state).  Contrast this with the test
1267|                * in input().
1268|                */
1269|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1270|                       { /* This was really a NUL. */
1271|                       yy_state_type yy_next_state;
1272|
1273|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1274|
1275|                       yy_current_state = yy_get_previous_state(  );
1276|
1277|                       /* Okay, we're now positioned to make the NUL
1278|                        * transition.  We couldn't have
1279|                        * yy_get_previous_state() go ahead and do it
1280|                        * for us because it doesn't know how to deal
1281|                        * with the possibility of jamming (and we don't
1282|                        * want to build jamming into it because then it
1283|                        * will run more slowly).
1284|                        */
1285|
1286|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
1287|
1288|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1289|
1290|                       if ( yy_next_state )
1291|                               {
1292|                               /* Consume the NUL. */
1293|                               yy_cp = ++(yy_c_buf_p);
1294|                               yy_current_state = yy_next_state;
1295|                               goto yy_match;
1296|                               }
1297|
1298|                       else
1299|                               {
1300|                               yy_cp = (yy_c_buf_p);
1301|                               goto yy_find_action;
1302|                               }
1303|                       }
1304|
1305|               else switch ( yy_get_next_buffer(  ) )
1306|                       {
1307|                       case EOB_ACT_END_OF_FILE:
1308|                               {
1309|                               (yy_did_buffer_switch_on_eof) = 0;
1310|
1311|                               if ( yywrap(  ) )
1312|                                       {
1313|                                       /* Note: because we've taken care in
1314|                                        * yy_get_next_buffer() to have set up
1315|                                        * yytext, we can now set up
1316|                                        * yy_c_buf_p so that if some total
1317|                                        * hoser (like flex itself) wants to
1318|                                        * call the scanner after we return the
1319|                                        * YY_NULL, it'll still work - another
1320|                                        * YY_NULL will get returned.
1321|                                        */
1322|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1323|
1324|                                       yy_act = YY_STATE_EOF(YY_START);
1325|                                       goto do_action;
1326|                                       }
1327|
1328|                               else
1329|                                       {
1330|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1331|                                               YY_NEW_FILE;
1332|                                       }
1333|                               break;
1334|                               }
1335|
1336|                       case EOB_ACT_CONTINUE_SCAN:
1337|                               (yy_c_buf_p) =
1338|                                       (yytext_ptr) + yy_amount_of_matched_text;
1339|
1340|                               yy_current_state = yy_get_previous_state(  );
1341|
1342|                               yy_cp = (yy_c_buf_p);
1343|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1344|                               goto yy_match;
1345|
1346|                       case EOB_ACT_LAST_MATCH:
1347|                               (yy_c_buf_p) =
1348|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1349|
1350|                               yy_current_state = yy_get_previous_state(  );
1351|
1352|                               yy_cp = (yy_c_buf_p);
1353|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1354|                               goto yy_find_action;
1355|                       }
1356|               break;
1357|               }
1358|
1359|       default:
1360|               YY_FATAL_ERROR(
1361|                       "fatal flex scanner internal error--no action found" );
1362|       } /* end of action switch */
1363|               } /* end of scanning one token */
1364|       } /* end of user's declarations */
1365| } /* end of yylex */
1366|
1367| /* yy_get_next_buffer - try to read in a new buffer
1368|  *
1369|  * Returns a code representing an action:
1370|  *    EOB_ACT_LAST_MATCH -
1371|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1372|  *    EOB_ACT_END_OF_FILE - end of file
1373|  */
1374| static int yy_get_next_buffer (void)
1375| {
1376|       char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1377|       char *source = (yytext_ptr);
1378|       int number_to_move, i;
1379|       int ret_val;
1380|
1381|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1382|               YY_FATAL_ERROR(
1383|               "fatal flex scanner internal error--end of buffer missed" );
1384|
1385|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1386|               { /* Don't try to fill the buffer, so this is an EOF. */
1387|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1388|                       {
1389|                       /* We matched a single character, the EOB, so
1390|                        * treat this as a final EOF.
1391|                        */
1392|                       return EOB_ACT_END_OF_FILE;
1393|                       }
1394|
1395|               else
1396|                       {
1397|                       /* We matched some text prior to the EOB, first
1398|                        * process it.
1399|                        */
1400|                       return EOB_ACT_LAST_MATCH;
1401|                       }
1402|               }
1403|
1404|       /* Try to read more data. */
1405|
1406|       /* First move last chars to start of buffer. */
1407|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1408|
1409|       for ( i = 0; i < number_to_move; ++i )
1410|               *(dest++) = *(source++);
1411|
1412|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1413|               /* don't do the read, it's not guaranteed to return an EOF,
1414|                * just force an EOF
1415|                */
1416|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1417|
1418|       else
1419|               {
1420|                       int num_to_read =
1421|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1422|
1423|               while ( num_to_read <= 0 )
1424|                       { /* Not enough room in the buffer - grow it. */
1425|
1426|                       YY_FATAL_ERROR(
1427| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1428|
1429|                       }
1430|
1431|               if ( num_to_read > YY_READ_BUF_SIZE )
1432|                       num_to_read = YY_READ_BUF_SIZE;
1433|
1434|               /* Read in more data. */
1435|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1436|                       (yy_n_chars), num_to_read );
1437|
1438|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1439|               }
1440|
1441|       if ( (yy_n_chars) == 0 )
1442|               {
1443|               if ( number_to_move == YY_MORE_ADJ )
1444|                       {
1445|                       ret_val = EOB_ACT_END_OF_FILE;
1446|                       yyrestart( yyin  );
1447|                       }
1448|
1449|               else
1450|                       {
1451|                       ret_val = EOB_ACT_LAST_MATCH;
1452|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1453|                               YY_BUFFER_EOF_PENDING;
1454|                       }
1455|               }
1456|
1457|       else
1458|               ret_val = EOB_ACT_CONTINUE_SCAN;
1459|
1460|       if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1461|               /* Extend the array by 50%, plus the number we really need. */
1462|               int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1463|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1464|                       (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
1465|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1466|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1467|               /* "- 2" to take care of EOB's */
1468|               YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1469|       }
1470|
1471|       (yy_n_chars) += number_to_move;
1472|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1473|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1474|
1475|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1476|
1477|       return ret_val;
1478| }
1479|
1480| /* yy_get_previous_state - get the state just before the EOB char was reached */
1481|
1482|     static yy_state_type yy_get_previous_state (void)
1483| {
1484|       yy_state_type yy_current_state;
1485|       char *yy_cp;
1486|     
1487|       yy_current_state = (yy_start);
1488|
1489|       (yy_state_ptr) = (yy_state_buf);
1490|       *(yy_state_ptr)++ = yy_current_state;
1491|
1492|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1493|               {
1494|               YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1495|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1496|                       {
1497|                       yy_current_state = (int) yy_def[yy_current_state];
1498|                       if ( yy_current_state >= 13 )
1499|                               yy_c = yy_meta[yy_c];
1500|                       }
1501|               yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1502|               *(yy_state_ptr)++ = yy_current_state;
1503|               }
1504|
1505|       return yy_current_state;
1506| }
1507|
1508| /* yy_try_NUL_trans - try to make a transition on the NUL character
1509|  *
1510|  * synopsis
1511|  *    next_state = yy_try_NUL_trans( current_state );
1512|  */
1513|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
1514| {
1515|       int yy_is_jam;
1516|     
1517|       YY_CHAR yy_c = 1;
1518|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1519|               {
1520|               yy_current_state = (int) yy_def[yy_current_state];
1521|               if ( yy_current_state >= 13 )
1522|                       yy_c = yy_meta[yy_c];
1523|               }
1524|       yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1525|       yy_is_jam = (yy_current_state == 12);
1526|       if ( ! yy_is_jam )
1527|               *(yy_state_ptr)++ = yy_current_state;
1528|
1529|               return yy_is_jam ? 0 : yy_current_state;
1530| }
1531|
1532| #ifndef YY_NO_UNPUT
1533|
1534|     static void yyunput (int c, char * yy_bp )
1535| {
1536|       char *yy_cp;
1537|     
1538|     yy_cp = (yy_c_buf_p);
1539|
1540|       /* undo effects of setting up yytext */
1541|       *yy_cp = (yy_hold_char);
1542|
1543|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1544|               { /* need to shift things up to make room */
1545|               /* +2 for EOB chars. */
1546|               int number_to_move = (yy_n_chars) + 2;
1547|               char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1548|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1549|               char *source =
1550|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1551|
1552|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1553|                       *--dest = *--source;
1554|
1555|               yy_cp += (int) (dest - source);
1556|               yy_bp += (int) (dest - source);
1557|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1558|                       (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1559|
1560|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1561|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
1562|               }
1563|
1564|       *--yy_cp = (char) c;
1565|
1566|       (yytext_ptr) = yy_bp;
1567|       (yy_hold_char) = *yy_cp;
1568|       (yy_c_buf_p) = yy_cp;
1569| }
1570|
1571| #endif
1572|
1573| #ifndef YY_NO_INPUT
1574| #ifdef __cplusplus
1575|     static int yyinput (void)
1576| #else
1577|     static int input  (void)
1578| #endif
1579|
1580| {
1581|       int c;
1582|     
1583|       *(yy_c_buf_p) = (yy_hold_char);
1584|
1585|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1586|               {
1587|               /* yy_c_buf_p now points to the character we want to return.
1588|                * If this occurs *before* the EOB characters, then it's a
1589|                * valid NUL; if not, then we've hit the end of the buffer.
1590|                */
1591|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1592|                       /* This was really a NUL. */
1593|                       *(yy_c_buf_p) = '\0';
1594|
1595|               else
1596|                       { /* need more input */
1597|                       int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
1598|                       ++(yy_c_buf_p);
1599|
1600|                       switch ( yy_get_next_buffer(  ) )
1601|                               {
1602|                               case EOB_ACT_LAST_MATCH:
1603|                                       /* This happens because yy_g_n_b()
1604|                                        * sees that we've accumulated a
1605|                                        * token and flags that we need to
1606|                                        * try matching the token before
1607|                                        * proceeding.  But for input(),
1608|                                        * there's no matching to consider.
1609|                                        * So convert the EOB_ACT_LAST_MATCH
1610|                                        * to EOB_ACT_END_OF_FILE.
1611|                                        */
1612|
1613|                                       /* Reset buffer status. */
1614|                                       yyrestart( yyin );
1615|
1616|                                       /*FALLTHROUGH*/
1617|
1618|                               case EOB_ACT_END_OF_FILE:
1619|                                       {
1620|                                       if ( yywrap(  ) )
1621|                                               return 0;
1622|
1623|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1624|                                               YY_NEW_FILE;
1625| #ifdef __cplusplus
1626|                                       return yyinput();
1627| #else
1628|                                       return input();
1629| #endif
1630|                                       }
1631|
1632|                               case EOB_ACT_CONTINUE_SCAN:
1633|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
1634|                                       break;
1635|                               }
1636|                       }
1637|               }
1638|
1639|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
1640|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
1641|       (yy_hold_char) = *++(yy_c_buf_p);
1642|
1643|       return c;
1644| }
1645| #endif        /* ifndef YY_NO_INPUT */
1646|
1647| /** Immediately switch to a different input stream.
1648|  * @param input_file A readable stream.
1649|  *
1650|  * @note This function does not reset the start condition to @c INITIAL .
1651|  */
1652|     void yyrestart  (FILE * input_file )
1653| {
1654|     
1655|       if ( ! YY_CURRENT_BUFFER ){
1656|         yyensure_buffer_stack ();
1657|               YY_CURRENT_BUFFER_LVALUE =
1658|             yy_create_buffer( yyin, YY_BUF_SIZE );
1659|       }
1660|
1661|       yy_init_buffer( YY_CURRENT_BUFFER, input_file );
1662|       yy_load_buffer_state(  );
1663| }
1664|
1665| /** Switch to a different input buffer.
1666|  * @param new_buffer The new input buffer.
1667|  *
1668|  */
1669|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
1670| {
1671|     
1672|       /* TODO. We should be able to replace this entire function body
1673|        * with
1674|        *              yypop_buffer_state();
1675|        *              yypush_buffer_state(new_buffer);
1676|      */
1677|       yyensure_buffer_stack ();
1678|       if ( YY_CURRENT_BUFFER == new_buffer )
1679|               return;
1680|
1681|       if ( YY_CURRENT_BUFFER )
1682|               {
1683|               /* Flush out information for old buffer. */
1684|               *(yy_c_buf_p) = (yy_hold_char);
1685|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1686|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1687|               }
1688|
1689|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1690|       yy_load_buffer_state(  );
1691|
1692|       /* We don't actually know whether we did this switch during
1693|        * EOF (yywrap()) processing, but the only time this flag
1694|        * is looked at is after yywrap() is called, so it's safe
1695|        * to go ahead and always set it.
1696|        */
1697|       (yy_did_buffer_switch_on_eof) = 1;
1698| }
1699|
1700| static void yy_load_buffer_state  (void)
1701| {
1702|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1703|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1704|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1705|       (yy_hold_char) = *(yy_c_buf_p);
1706| }
1707|
1708| /** Allocate and initialize an input buffer state.
1709|  * @param file A readable stream.
1710|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1711|  *
1712|  * @return the allocated buffer state.
1713|  */
1714|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
1715| {
1716|       YY_BUFFER_STATE b;
1717|     
1718|       b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
1719|       if ( ! b )
1720|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1721|
1722|       b->yy_buf_size = size;
1723|
1724|       /* yy_ch_buf has to be 2 characters longer than the size given because
1725|        * we need to put in 2 end-of-buffer characters.
1726|        */
1727|       b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
1728|       if ( ! b->yy_ch_buf )
1729|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1730|
1731|       b->yy_is_our_buffer = 1;
1732|
1733|       yy_init_buffer( b, file );
1734|
1735|       return b;
1736| }
1737|
1738| /** Destroy the buffer.
1739|  * @param b a buffer created with yy_create_buffer()
1740|  *
1741|  */
1742|     void yy_delete_buffer (YY_BUFFER_STATE  b )
1743| {
1744|     
1745|       if ( ! b )
1746|               return;
1747|
1748|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1749|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1750|
1751|       if ( b->yy_is_our_buffer )
1752|               yyfree( (void *) b->yy_ch_buf  );
1753|
1754|       yyfree( (void *) b  );
1755| }
1756|
1757| /* Initializes or reinitializes a buffer.
1758|  * This function is sometimes called more than once on the same buffer,
1759|  * such as during a yyrestart() or at EOF.
1760|  */
1761|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
1762|
1763| {
1764|       int oerrno = errno;
1765|     
1766|       yy_flush_buffer( b );
1767|
1768|       b->yy_input_file = file;
1769|       b->yy_fill_buffer = 1;
1770|
1771|     /* If b is the current buffer, then yy_init_buffer was _probably_
1772|      * called from yyrestart() or through yy_get_next_buffer.
1773|      * In that case, we don't want to reset the lineno or column.
1774|      */
1775|     if (b != YY_CURRENT_BUFFER){
1776|         b->yy_bs_lineno = 1;
1777|         b->yy_bs_column = 0;
1778|     }
1779|
1780|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1781|     
1782|       errno = oerrno;
1783| }
1784|
1785| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1786|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1787|  *
1788|  */
1789|     void yy_flush_buffer (YY_BUFFER_STATE  b )
1790| {
1791|       if ( ! b )
1792|               return;
1793|
1794|       b->yy_n_chars = 0;
1795|
1796|       /* We always need two end-of-buffer characters.  The first causes
1797|        * a transition to the end-of-buffer state.  The second causes
1798|        * a jam in that state.
1799|        */
1800|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1801|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1802|
1803|       b->yy_buf_pos = &b->yy_ch_buf[0];
1804|
1805|       b->yy_at_bol = 1;
1806|       b->yy_buffer_status = YY_BUFFER_NEW;
1807|
1808|       if ( b == YY_CURRENT_BUFFER )
1809|               yy_load_buffer_state(  );
1810| }
1811|
1812| /** Pushes the new state onto the stack. The new state becomes
1813|  *  the current state. This function will allocate the stack
1814|  *  if necessary.
1815|  *  @param new_buffer The new state.
1816|  * 
1817|  */
1818| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1819| {
1820|       if (new_buffer == NULL)
1821|               return;
1822|
1823|       yyensure_buffer_stack();
1824|
1825|       /* This block is copied from yy_switch_to_buffer. */
1826|       if ( YY_CURRENT_BUFFER )
1827|               {
1828|               /* Flush out information for old buffer. */
1829|               *(yy_c_buf_p) = (yy_hold_char);
1830|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1831|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1832|               }
1833|
1834|       /* Only push if top exists. Otherwise, replace top. */
1835|       if (YY_CURRENT_BUFFER)
1836|               (yy_buffer_stack_top)++;
1837|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1838|
1839|       /* copied from yy_switch_to_buffer. */
1840|       yy_load_buffer_state(  );
1841|       (yy_did_buffer_switch_on_eof) = 1;
1842| }
1843|
1844| /** Removes and deletes the top of the stack, if present.
1845|  *  The next element becomes the new top.
1846|  * 
1847|  */
1848| void yypop_buffer_state (void)
1849| {
1850|       if (!YY_CURRENT_BUFFER)
1851|               return;
1852|
1853|       yy_delete_buffer(YY_CURRENT_BUFFER );
1854|       YY_CURRENT_BUFFER_LVALUE = NULL;
1855|       if ((yy_buffer_stack_top) > 0)
1856|               --(yy_buffer_stack_top);
1857|
1858|       if (YY_CURRENT_BUFFER) {
1859|               yy_load_buffer_state(  );
1860|               (yy_did_buffer_switch_on_eof) = 1;
1861|       }
1862| }
1863|
1864| /* Allocates the stack if it does not exist.
1865|  *  Guarantees space for at least one push.
1866|  */
1867| static void yyensure_buffer_stack (void)
1868| {
1869|       yy_size_t num_to_alloc;
1870|     
1871|       if (!(yy_buffer_stack)) {
1872|
1873|               /* First allocation is just for 2 elements, since we don't know if this
1874|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
1875|                * immediate realloc on the next call.
1876|          */
1877|       num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
1878|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1879|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
1880|                                                               );
1881|               if ( ! (yy_buffer_stack) )
1882|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1883|
1884|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1885|
1886|               (yy_buffer_stack_max) = num_to_alloc;
1887|               (yy_buffer_stack_top) = 0;
1888|               return;
1889|       }
1890|
1891|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1892|
1893|               /* Increase the buffer to prepare for a possible push. */
1894|               yy_size_t grow_size = 8 /* arbitrary grow size */;
1895|
1896|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
1897|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1898|                                                               ((yy_buffer_stack),
1899|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
1900|                                                               );
1901|               if ( ! (yy_buffer_stack) )
1902|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1903|
1904|               /* zero only the new slots.*/
1905|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1906|               (yy_buffer_stack_max) = num_to_alloc;
1907|       }
1908| }
1909|
1910| /** Setup the input buffer state to scan directly from a user-specified character buffer.
1911|  * @param base the character buffer
1912|  * @param size the size in bytes of the character buffer
1913|  *
1914|  * @return the newly allocated buffer state object.
1915|  */
1916| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
1917| {
1918|       YY_BUFFER_STATE b;
1919|     
1920|       if ( size < 2 ||
1921|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
1922|            base[size-1] != YY_END_OF_BUFFER_CHAR )
1923|               /* They forgot to leave room for the EOB's. */
1924|               return NULL;
1925|
1926|       b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
1927|       if ( ! b )
1928|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1929|
1930|       b->yy_buf_size = (int) (size - 2);      /* "- 2" to take care of EOB's */
1931|       b->yy_buf_pos = b->yy_ch_buf = base;
1932|       b->yy_is_our_buffer = 0;
1933|       b->yy_input_file = NULL;
1934|       b->yy_n_chars = b->yy_buf_size;
1935|       b->yy_is_interactive = 0;
1936|       b->yy_at_bol = 1;
1937|       b->yy_fill_buffer = 0;
1938|       b->yy_buffer_status = YY_BUFFER_NEW;
1939|
1940|       yy_switch_to_buffer( b  );
1941|
1942|       return b;
1943| }
1944|
1945| /** Setup the input buffer state to scan a string. The next call to yylex() will
1946|  * scan from a @e copy of @a str.
1947|  * @param yystr a NUL-terminated string to scan
1948|  *
1949|  * @return the newly allocated buffer state object.
1950|  * @note If you want to scan bytes that may contain NUL values, then use
1951|  *       yy_scan_bytes() instead.
1952|  */
1953| YY_BUFFER_STATE yy_scan_string (const char * yystr )
1954| {
1955|     
1956|       return yy_scan_bytes( yystr, (int) strlen(yystr) );
1957| }
1958|
1959| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1960|  * scan from a @e copy of @a bytes.
1961|  * @param yybytes the byte buffer to scan
1962|  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
1963|  *
1964|  * @return the newly allocated buffer state object.
1965|  */
1966| YY_BUFFER_STATE yy_scan_bytes  (const char * yybytes, int  _yybytes_len )
1967| {
1968|       YY_BUFFER_STATE b;
1969|       char *buf;
1970|       yy_size_t n;
1971|       int i;
1972|     
1973|       /* Get memory for full buffer, including space for trailing EOB's. */
1974|       n = (yy_size_t) (_yybytes_len + 2);
1975|       buf = (char *) yyalloc( n  );
1976|       if ( ! buf )
1977|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1978|
1979|       for ( i = 0; i < _yybytes_len; ++i )
1980|               buf[i] = yybytes[i];
1981|
1982|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1983|
1984|       b = yy_scan_buffer( buf, n );
1985|       if ( ! b )
1986|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1987|
1988|       /* It's okay to grow etc. this buffer, and we should throw it
1989|        * away when we're done.
1990|        */
1991|       b->yy_is_our_buffer = 1;
1992|
1993|       return b;
1994| }
1995|
1996| #ifndef YY_EXIT_FAILURE
1997| #define YY_EXIT_FAILURE 2
1998| #endif
1999|
2000| static void yynoreturn yy_fatal_error (const char* msg )
2001| {
2002|                       fprintf( stderr, "%s\n", msg );
2003|       exit( YY_EXIT_FAILURE );
2004| }
2005|
2006| /* Redefine yyless() so it works in section 3 code. */
2007|
2008| #undef yyless
2009| #define yyless(n) \
2010|       do \
2011|               { \
2012|               /* Undo effects of setting up yytext. */ \
2013|         int yyless_macro_arg = (n); \
2014|         YY_LESS_LINENO(yyless_macro_arg);\
2015|               yytext[yyleng] = (yy_hold_char); \
2016|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
2017|               (yy_hold_char) = *(yy_c_buf_p); \
2018|               *(yy_c_buf_p) = '\0'; \
2019|               yyleng = yyless_macro_arg; \
2020|               } \
2021|       while ( 0 )
2022|
2023| /* Accessor  methods (get/set functions) to struct members. */
2024|
2025| /** Get the current line number.
2026|  *
2027|  */
2028| int yyget_lineno  (void)
2029| {
2030|     
2031|     return yylineno;
2032| }
2033|
2034| /** Get the input stream.
2035|  *
2036|  */
2037| FILE *yyget_in  (void)
2038| {
2039|         return yyin;
2040| }
2041|
2042| /** Get the output stream.
2043|  *
2044|  */
2045| FILE *yyget_out  (void)
2046| {
2047|         return yyout;
2048| }
2049|
2050| /** Get the length of the current token.
2051|  *
2052|  */
2053| int yyget_leng  (void)
2054| {
2055|         return yyleng;
2056| }
2057|
2058| /** Get the current token.
2059|  *
2060|  */
2061|
2062| char *yyget_text  (void)
2063| {
2064|         return yytext;
2065| }
2066|
2067| /** Set the current line number.
2068|  * @param _line_number line number
2069|  *
2070|  */
2071| void yyset_lineno (int  _line_number )
2072| {
2073|     
2074|     yylineno = _line_number;
2075| }
2076|
2077| /** Set the input stream. This does not discard the current
2078|  * input buffer.
2079|  * @param _in_str A readable stream.
2080|  *
2081|  * @see yy_switch_to_buffer
2082|  */
2083| void yyset_in (FILE *  _in_str )
2084| {
2085|         yyin = _in_str ;
2086| }
2087|
2088| void yyset_out (FILE *  _out_str )
2089| {
2090|         yyout = _out_str ;
2091| }
2092|
2093| int yyget_debug  (void)
2094| {
2095|         return yy_flex_debug;
2096| }
2097|
2098| void yyset_debug (int  _bdebug )
2099| {
2100|         yy_flex_debug = _bdebug ;
2101| }
2102|
2103| static int yy_init_globals (void)
2104| {
2105|         /* Initialization is the same as for the non-reentrant scanner.
2106|      * This function is called from yylex_destroy(), so don't allocate here.
2107|      */
2108|
2109|     (yy_buffer_stack) = NULL;
2110|     (yy_buffer_stack_top) = 0;
2111|     (yy_buffer_stack_max) = 0;
2112|     (yy_c_buf_p) = NULL;
2113|     (yy_init) = 0;
2114|     (yy_start) = 0;
2115|
2116|     (yy_state_buf) = 0;
2117|     (yy_state_ptr) = 0;
2118|     (yy_full_match) = 0;
2119|     (yy_lp) = 0;
2120|
2121| /* Defined in main.c */
2122| #ifdef YY_STDINIT
2123|     yyin = stdin;
2124|     yyout = stdout;
2125| #else
2126|     yyin = NULL;
2127|     yyout = NULL;
2128| #endif
2129|
2130|     /* For future reference: Set errno on error, since we are called by
2131|      * yylex_init()
2132|      */
2133|     return 0;
2134| }
2135|
2136| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2137| int yylex_destroy  (void)
2138| {
2139|     
2140|     /* Pop the buffer stack, destroying each element. */
2141|       while(YY_CURRENT_BUFFER){
2142|               yy_delete_buffer( YY_CURRENT_BUFFER  );
2143|               YY_CURRENT_BUFFER_LVALUE = NULL;
2144|               yypop_buffer_state();
2145|       }
2146|
2147|       /* Destroy the stack itself. */
2148|       yyfree((yy_buffer_stack) );
2149|       (yy_buffer_stack) = NULL;
2150|
2151|     yyfree ( (yy_state_buf) );
2152|     (yy_state_buf)  = NULL;
2153|
2154|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
2155|      * yylex() is called, initialization will occur. */
2156|     yy_init_globals( );
2157|
2158|     return 0;
2159| }
2160|
2161| /*
2162|  * Internal utility routines.
2163|  */
2164|
2165| #ifndef yytext_ptr
2166| static void yy_flex_strncpy (char* s1, const char * s2, int n )
2167| {
2168|               
2169|       int i;
2170|       for ( i = 0; i < n; ++i )
2171|               s1[i] = s2[i];
2172| }
2173| #endif
2174|
2175| #ifdef YY_NEED_STRLEN
2176| static int yy_flex_strlen (const char * s )
2177| {
2178|       int n;
2179|       for ( n = 0; s[n]; ++n )
2180|               ;
2181|
2182|       return n;
2183| }
2184| #endif
2185|
2186| void *yyalloc (yy_size_t  size )
2187| {
2188|                       return malloc(size);
2189| }
2190|
2191| void *yyrealloc  (void * ptr, yy_size_t  size )
2192| {
2193|               
2194|       /* The cast to (char *) in the following accommodates both
2195|        * implementations that use char* generic pointers, and those
2196|        * that use void* generic pointers.  It works with the latter
2197|        * because both ANSI C and C++ allow castless assignment from
2198|        * any pointer type to void*, and deal with argument conversions
2199|        * as though doing an assignment.
2200|        */
2201|       return realloc(ptr, size);
2202| }
2203|
2204| void yyfree (void * ptr )
2205| {
2206|                       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
2207| }
2208|
2209| #define YYTABLES_NAME "yytables"
2210|
2211| #line 10 "conftest.l"
2212|
2213| #ifdef YYTEXT_POINTER
2214| extern char *yytext;
2215| #endif
2216| int
2217| main (void)
2218| {
2219|   return ! yylex () + ! yywrap ();
2220| }
2221configure:6487: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lfl  >&5
2222configure:6487: $? = 0
2223configure:6497: result: -lfl
2224configure:6503: checking whether yytext is a pointer
2225configure:6520: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lfl  >&5
2226configure:6520: $? = 0
2227configure:6528: result: yes
2228configure:6540: checking for yylex_destroy
2229configure:6546: result: yes
2230configure:6556: checking for lex %option
2231configure:6562: result: yes
2232configure:6574: checking for bison
2233configure:6590: found /usr/bin/bison
2234configure:6601: result: bison -y
2235configure:6615: checking for doxygen
2236configure:6645: result: no
2237configure:6693: checking for strip
2238configure:6709: found /opt/local/bin/strip
2239configure:6720: result: strip
2240configure:6775: checking build system type
2241configure:6789: result: x86_64-apple-darwin10.8.0
2242configure:6809: checking host system type
2243configure:6822: result: x86_64-apple-darwin10.8.0
2244configure:6908: checking for ar
2245configure:6926: found /opt/local/bin/ar
2246configure:6938: result: /opt/local/bin/ar
2247configure:7010: checking how to print strings
2248configure:7037: result: printf
2249configure:7058: checking for a sed that does not truncate output
2250configure:7122: result: /usr/bin/sed
2251configure:7140: checking for fgrep
2252configure:7202: result: /usr/bin/grep -F
2253configure:7237: checking for ld used by /opt/local/bin/clang-mp-9.0
2254configure:7304: result: /opt/local/libexec/llvm-9.0/bin/ld
2255configure:7311: checking if the linker (/opt/local/libexec/llvm-9.0/bin/ld) is GNU ld
2256configure:7326: result: no
2257configure:7338: checking for BSD- or MS-compatible name lister (nm)
2258configure:7392: result: /opt/local/bin/nm
2259configure:7522: checking the name lister (/opt/local/bin/nm) interface
2260configure:7529: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2261configure:7532: /opt/local/bin/nm "conftest.o"
2262configure:7535: output
22630000000000000000 S _some_variable
2264configure:7542: result: BSD nm
2265configure:7545: checking whether ln -s works
2266configure:7549: result: yes
2267configure:7557: checking the maximum length of command line arguments
2268configure:7688: result: 196608
2269configure:7736: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
2270configure:7776: result: func_convert_file_noop
2271configure:7783: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
2272configure:7803: result: func_convert_file_noop
2273configure:7810: checking for /opt/local/libexec/llvm-9.0/bin/ld option to reload object files
2274configure:7817: result: -r
2275configure:7891: checking for objdump
2276configure:7921: result: no
2277configure:7950: checking how to recognize dependent libraries
2278configure:8150: result: pass_all
2279configure:8235: checking for dlltool
2280configure:8265: result: no
2281configure:8295: checking how to associate runtime and link libraries
2282configure:8322: result: printf %s\n
2283configure:8446: checking for archiver @FILE support
2284configure:8463: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2285configure:8463: $? = 0
2286configure:8466: /opt/local/bin/ar cru libconftest.a @conftest.lst >&5
2287ar: @conftest.lst: No such file or directory
2288configure:8469: $? = 1
2289configure:8489: result: no
2290configure:8547: checking for strip
2291configure:8574: result: strip
2292configure:8646: checking for ranlib
2293configure:8662: found /opt/local/bin/ranlib
2294configure:8673: result: ranlib
2295configure:8750: checking for gawk
2296configure:8780: result: no
2297configure:8750: checking for mawk
2298configure:8780: result: no
2299configure:8750: checking for nawk
2300configure:8780: result: no
2301configure:8750: checking for awk
2302configure:8766: found /usr/bin/awk
2303configure:8777: result: awk
2304configure:8817: checking command to parse /opt/local/bin/nm output from /opt/local/bin/clang-mp-9.0 object
2305configure:8970: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2306configure:8973: $? = 0
2307configure:8977: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
2308configure:8980: $? = 0
2309cannot find nm_test_var in conftest.nm
2310configure:8970: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2311configure:8973: $? = 0
2312configure:8977: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
2313configure:8980: $? = 0
2314configure:9046: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c conftstm.o >&5
2315configure:9049: $? = 0
2316configure:9087: result: ok
2317configure:9134: checking for sysroot
2318configure:9164: result: no
2319configure:9171: checking for a working dd
2320configure:9209: result: /bin/dd
2321configure:9213: checking how to truncate binary pipes
2322configure:9228: result: /bin/dd bs=4096 count=1
2323configure:9557: checking for mt
2324configure:9587: result: no
2325configure:9607: checking if : is a manifest tool
2326configure:9613: : '-?'
2327configure:9621: result: no
2328configure:9677: checking for dsymutil
2329configure:9693: found /usr/bin/dsymutil
2330configure:9704: result: dsymutil
2331configure:9769: checking for nmedit
2332configure:9785: found /opt/local/bin/nmedit
2333configure:9796: result: nmedit
2334configure:9861: checking for lipo
2335configure:9877: found /opt/local/bin/lipo
2336configure:9888: result: lipo
2337configure:9953: checking for otool
2338configure:9969: found /opt/local/bin/otool
2339configure:9980: result: otool
2340configure:10045: checking for otool64
2341configure:10075: result: no
2342configure:10120: checking for -single_module linker flag
2343/opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
2344configure:10153: result: yes
2345configure:10156: checking for -exported_symbols_list linker flag
2346configure:10176: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
2347configure:10176: $? = 0
2348configure:10186: result: yes
2349configure:10189: checking for -force_load linker flag
2350/opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -c -o conftest.o conftest.c
2351/opt/local/bin/ar cru libconftest.a conftest.o
2352ranlib libconftest.a
2353/opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a
2354configure:10221: result: yes
2355configure:10295: checking for dlfcn.h
2356configure:10295: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2357configure:10295: $? = 0
2358configure:10295: result: yes
2359configure:10553: checking for objdir
2360configure:10568: result: .libs
2361configure:10828: checking if /opt/local/bin/clang-mp-9.0 supports -fno-rtti -fno-exceptions
2362configure:10846: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
2363configure:10850: $? = 0
2364configure:10863: result: yes
2365configure:11221: checking for /opt/local/bin/clang-mp-9.0 option to produce PIC
2366configure:11228: result: -fno-common -DPIC
2367configure:11236: checking if /opt/local/bin/clang-mp-9.0 PIC flag -fno-common -DPIC works
2368configure:11254: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
2369configure:11258: $? = 0
2370configure:11271: result: yes
2371configure:11300: checking if /opt/local/bin/clang-mp-9.0 static flag -static works
2372configure:11328: result: no
2373configure:11343: checking if /opt/local/bin/clang-mp-9.0 supports -c -o file.o
2374configure:11364: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -o out/conftest2.o conftest.c >&5
2375configure:11368: $? = 0
2376configure:11390: result: yes
2377configure:11398: checking if /opt/local/bin/clang-mp-9.0 supports -c -o file.o
2378configure:11445: result: yes
2379configure:11478: checking whether the /opt/local/bin/clang-mp-9.0 linker (/opt/local/libexec/llvm-9.0/bin/ld) supports shared libraries
2380configure:12737: result: yes
2381configure:12977: checking dynamic linker characteristics
2382configure:13798: result: darwin10.8.0 dyld
2383configure:13920: checking how to hardcode library paths into programs
2384configure:13945: result: immediate
2385configure:14493: checking whether stripping libraries is possible
2386configure:14507: result: yes
2387configure:14533: checking if libtool supports shared libraries
2388configure:14535: result: yes
2389configure:14538: checking whether to build shared libraries
2390configure:14563: result: yes
2391configure:14566: checking whether to build static libraries
2392configure:14570: result: yes
2393configure:14663: checking for pkg-config
2394configure:14681: found /opt/local/bin/pkg-config
2395configure:14693: result: /opt/local/bin/pkg-config
2396configure:14718: checking pkg-config is at least version 0.9.0
2397configure:14721: result: yes
2398configure:14734: checking for stdarg.h
2399configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2400configure:14734: $? = 0
2401configure:14734: result: yes
2402configure:14734: checking for stdbool.h
2403configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2404configure:14734: $? = 0
2405configure:14734: result: yes
2406configure:14734: checking for netinet/in.h
2407configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2408configure:14734: $? = 0
2409configure:14734: result: yes
2410configure:14734: checking for netinet/tcp.h
2411configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2412configure:14734: $? = 0
2413configure:14734: result: yes
2414configure:14734: checking for sys/param.h
2415configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2416configure:14734: $? = 0
2417configure:14734: result: yes
2418configure:14734: checking for sys/select.h
2419configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2420configure:14734: $? = 0
2421configure:14734: result: yes
2422configure:14734: checking for sys/socket.h
2423configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2424configure:14734: $? = 0
2425configure:14734: result: yes
2426configure:14734: checking for sys/un.h
2427configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2428configure:14734: $? = 0
2429configure:14734: result: yes
2430configure:14734: checking for sys/uio.h
2431configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2432configure:14734: $? = 0
2433configure:14734: result: yes
2434configure:14734: checking for sys/resource.h
2435configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2436configure:14734: $? = 0
2437configure:14734: result: yes
2438configure:14734: checking for arpa/inet.h
2439configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2440configure:14734: $? = 0
2441configure:14734: result: yes
2442configure:14734: checking for syslog.h
2443configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2444configure:14734: $? = 0
2445configure:14734: result: yes
2446configure:14734: checking for netdb.h
2447configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2448configure:14734: $? = 0
2449configure:14734: result: yes
2450configure:14734: checking for sys/wait.h
2451configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2452configure:14734: $? = 0
2453configure:14734: result: yes
2454configure:14734: checking for pwd.h
2455configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2456configure:14734: $? = 0
2457configure:14734: result: yes
2458configure:14734: checking for glob.h
2459configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2460configure:14734: $? = 0
2461configure:14734: result: yes
2462configure:14734: checking for grp.h
2463configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2464configure:14734: $? = 0
2465configure:14734: result: yes
2466configure:14734: checking for login_cap.h
2467configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2468conftest.c:98:10: fatal error: 'login_cap.h' file not found
2469#include <login_cap.h>
2470         ^~~~~~~~~~~~~
24711 error generated.
2472configure:14734: $? = 1
2473configure: failed program was:
2474| /* confdefs.h */
2475| #define PACKAGE_NAME "unbound"
2476| #define PACKAGE_TARNAME "unbound"
2477| #define PACKAGE_VERSION "1.12.0"
2478| #define PACKAGE_STRING "unbound 1.12.0"
2479| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
2480| #define PACKAGE_URL ""
2481| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
2482| #define STDC_HEADERS 1
2483| #define HAVE_SYS_TYPES_H 1
2484| #define HAVE_SYS_STAT_H 1
2485| #define HAVE_STDLIB_H 1
2486| #define HAVE_STRING_H 1
2487| #define HAVE_MEMORY_H 1
2488| #define HAVE_STRINGS_H 1
2489| #define HAVE_INTTYPES_H 1
2490| #define HAVE_STDINT_H 1
2491| #define HAVE_UNISTD_H 1
2492| #define __EXTENSIONS__ 1
2493| #define _ALL_SOURCE 1
2494| #define _GNU_SOURCE 1
2495| #define _POSIX_PTHREAD_SEMANTICS 1
2496| #define _TANDEM_SOURCE 1
2497| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2498| #define RUN_DIR "/opt/local/etc/unbound"
2499| #define CHROOT_DIR "/opt/local/etc/unbound"
2500| #define SHARE_DIR "/opt/local/etc/unbound"
2501| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2502| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
2503| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2504| #define UB_USERNAME "unbound"
2505| #define WINVER 0x0502
2506| #define RSRC_PACKAGE_VERSION 1,12,0,0
2507| #define HAVE_GETOPT_H 1
2508| #define HAVE_TIME_H 1
2509| #define HAVE_ATTR_FORMAT 1
2510| #define HAVE_ATTR_UNUSED 1
2511| #define HAVE_ATTR_WEAK 1
2512| #define ATTR_WEAK __attribute__((weak))
2513| #define HAVE_ATTR_NORETURN 1
2514| #define ATTR_NORETURN __attribute__((__noreturn__))
2515| #define YYTEXT_POINTER 1
2516| #define LEX_HAS_YYLEX_DESTROY 1
2517| #define HAVE_DLFCN_H 1
2518| #define LT_OBJDIR ".libs/"
2519| #define HAVE_STDARG_H 1
2520| #define HAVE_STDBOOL_H 1
2521| #define HAVE_NETINET_IN_H 1
2522| #define HAVE_NETINET_TCP_H 1
2523| #define HAVE_SYS_PARAM_H 1
2524| #define HAVE_SYS_SELECT_H 1
2525| #define HAVE_SYS_SOCKET_H 1
2526| #define HAVE_SYS_UN_H 1
2527| #define HAVE_SYS_UIO_H 1
2528| #define HAVE_SYS_RESOURCE_H 1
2529| #define HAVE_ARPA_INET_H 1
2530| #define HAVE_SYSLOG_H 1
2531| #define HAVE_NETDB_H 1
2532| #define HAVE_SYS_WAIT_H 1
2533| #define HAVE_PWD_H 1
2534| #define HAVE_GLOB_H 1
2535| #define HAVE_GRP_H 1
2536| /* end confdefs.h.  */
2537| #include <stdio.h>
2538| #ifdef HAVE_SYS_TYPES_H
2539| # include <sys/types.h>
2540| #endif
2541| #ifdef HAVE_SYS_STAT_H
2542| # include <sys/stat.h>
2543| #endif
2544| #ifdef STDC_HEADERS
2545| # include <stdlib.h>
2546| # include <stddef.h>
2547| #else
2548| # ifdef HAVE_STDLIB_H
2549| #  include <stdlib.h>
2550| # endif
2551| #endif
2552| #ifdef HAVE_STRING_H
2553| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2554| #  include <memory.h>
2555| # endif
2556| # include <string.h>
2557| #endif
2558| #ifdef HAVE_STRINGS_H
2559| # include <strings.h>
2560| #endif
2561| #ifdef HAVE_INTTYPES_H
2562| # include <inttypes.h>
2563| #endif
2564| #ifdef HAVE_STDINT_H
2565| # include <stdint.h>
2566| #endif
2567| #ifdef HAVE_UNISTD_H
2568| # include <unistd.h>
2569| #endif
2570|
2571| #include <login_cap.h>
2572configure:14734: result: no
2573configure:14734: checking for winsock2.h
2574configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2575conftest.c:98:10: fatal error: 'winsock2.h' file not found
2576#include <winsock2.h>
2577         ^~~~~~~~~~~~
25781 error generated.
2579configure:14734: $? = 1
2580configure: failed program was:
2581| /* confdefs.h */
2582| #define PACKAGE_NAME "unbound"
2583| #define PACKAGE_TARNAME "unbound"
2584| #define PACKAGE_VERSION "1.12.0"
2585| #define PACKAGE_STRING "unbound 1.12.0"
2586| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
2587| #define PACKAGE_URL ""
2588| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
2589| #define STDC_HEADERS 1
2590| #define HAVE_SYS_TYPES_H 1
2591| #define HAVE_SYS_STAT_H 1
2592| #define HAVE_STDLIB_H 1
2593| #define HAVE_STRING_H 1
2594| #define HAVE_MEMORY_H 1
2595| #define HAVE_STRINGS_H 1
2596| #define HAVE_INTTYPES_H 1
2597| #define HAVE_STDINT_H 1
2598| #define HAVE_UNISTD_H 1
2599| #define __EXTENSIONS__ 1
2600| #define _ALL_SOURCE 1
2601| #define _GNU_SOURCE 1
2602| #define _POSIX_PTHREAD_SEMANTICS 1
2603| #define _TANDEM_SOURCE 1
2604| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2605| #define RUN_DIR "/opt/local/etc/unbound"
2606| #define CHROOT_DIR "/opt/local/etc/unbound"
2607| #define SHARE_DIR "/opt/local/etc/unbound"
2608| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2609| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
2610| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2611| #define UB_USERNAME "unbound"
2612| #define WINVER 0x0502
2613| #define RSRC_PACKAGE_VERSION 1,12,0,0
2614| #define HAVE_GETOPT_H 1
2615| #define HAVE_TIME_H 1
2616| #define HAVE_ATTR_FORMAT 1
2617| #define HAVE_ATTR_UNUSED 1
2618| #define HAVE_ATTR_WEAK 1
2619| #define ATTR_WEAK __attribute__((weak))
2620| #define HAVE_ATTR_NORETURN 1
2621| #define ATTR_NORETURN __attribute__((__noreturn__))
2622| #define YYTEXT_POINTER 1
2623| #define LEX_HAS_YYLEX_DESTROY 1
2624| #define HAVE_DLFCN_H 1
2625| #define LT_OBJDIR ".libs/"
2626| #define HAVE_STDARG_H 1
2627| #define HAVE_STDBOOL_H 1
2628| #define HAVE_NETINET_IN_H 1
2629| #define HAVE_NETINET_TCP_H 1
2630| #define HAVE_SYS_PARAM_H 1
2631| #define HAVE_SYS_SELECT_H 1
2632| #define HAVE_SYS_SOCKET_H 1
2633| #define HAVE_SYS_UN_H 1
2634| #define HAVE_SYS_UIO_H 1
2635| #define HAVE_SYS_RESOURCE_H 1
2636| #define HAVE_ARPA_INET_H 1
2637| #define HAVE_SYSLOG_H 1
2638| #define HAVE_NETDB_H 1
2639| #define HAVE_SYS_WAIT_H 1
2640| #define HAVE_PWD_H 1
2641| #define HAVE_GLOB_H 1
2642| #define HAVE_GRP_H 1
2643| /* end confdefs.h.  */
2644| #include <stdio.h>
2645| #ifdef HAVE_SYS_TYPES_H
2646| # include <sys/types.h>
2647| #endif
2648| #ifdef HAVE_SYS_STAT_H
2649| # include <sys/stat.h>
2650| #endif
2651| #ifdef STDC_HEADERS
2652| # include <stdlib.h>
2653| # include <stddef.h>
2654| #else
2655| # ifdef HAVE_STDLIB_H
2656| #  include <stdlib.h>
2657| # endif
2658| #endif
2659| #ifdef HAVE_STRING_H
2660| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2661| #  include <memory.h>
2662| # endif
2663| # include <string.h>
2664| #endif
2665| #ifdef HAVE_STRINGS_H
2666| # include <strings.h>
2667| #endif
2668| #ifdef HAVE_INTTYPES_H
2669| # include <inttypes.h>
2670| #endif
2671| #ifdef HAVE_STDINT_H
2672| # include <stdint.h>
2673| #endif
2674| #ifdef HAVE_UNISTD_H
2675| # include <unistd.h>
2676| #endif
2677|
2678| #include <winsock2.h>
2679configure:14734: result: no
2680configure:14734: checking for ws2tcpip.h
2681configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2682conftest.c:98:10: fatal error: 'ws2tcpip.h' file not found
2683#include <ws2tcpip.h>
2684         ^~~~~~~~~~~~
26851 error generated.
2686configure:14734: $? = 1
2687configure: failed program was:
2688| /* confdefs.h */
2689| #define PACKAGE_NAME "unbound"
2690| #define PACKAGE_TARNAME "unbound"
2691| #define PACKAGE_VERSION "1.12.0"
2692| #define PACKAGE_STRING "unbound 1.12.0"
2693| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
2694| #define PACKAGE_URL ""
2695| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
2696| #define STDC_HEADERS 1
2697| #define HAVE_SYS_TYPES_H 1
2698| #define HAVE_SYS_STAT_H 1
2699| #define HAVE_STDLIB_H 1
2700| #define HAVE_STRING_H 1
2701| #define HAVE_MEMORY_H 1
2702| #define HAVE_STRINGS_H 1
2703| #define HAVE_INTTYPES_H 1
2704| #define HAVE_STDINT_H 1
2705| #define HAVE_UNISTD_H 1
2706| #define __EXTENSIONS__ 1
2707| #define _ALL_SOURCE 1
2708| #define _GNU_SOURCE 1
2709| #define _POSIX_PTHREAD_SEMANTICS 1
2710| #define _TANDEM_SOURCE 1
2711| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2712| #define RUN_DIR "/opt/local/etc/unbound"
2713| #define CHROOT_DIR "/opt/local/etc/unbound"
2714| #define SHARE_DIR "/opt/local/etc/unbound"
2715| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2716| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
2717| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2718| #define UB_USERNAME "unbound"
2719| #define WINVER 0x0502
2720| #define RSRC_PACKAGE_VERSION 1,12,0,0
2721| #define HAVE_GETOPT_H 1
2722| #define HAVE_TIME_H 1
2723| #define HAVE_ATTR_FORMAT 1
2724| #define HAVE_ATTR_UNUSED 1
2725| #define HAVE_ATTR_WEAK 1
2726| #define ATTR_WEAK __attribute__((weak))
2727| #define HAVE_ATTR_NORETURN 1
2728| #define ATTR_NORETURN __attribute__((__noreturn__))
2729| #define YYTEXT_POINTER 1
2730| #define LEX_HAS_YYLEX_DESTROY 1
2731| #define HAVE_DLFCN_H 1
2732| #define LT_OBJDIR ".libs/"
2733| #define HAVE_STDARG_H 1
2734| #define HAVE_STDBOOL_H 1
2735| #define HAVE_NETINET_IN_H 1
2736| #define HAVE_NETINET_TCP_H 1
2737| #define HAVE_SYS_PARAM_H 1
2738| #define HAVE_SYS_SELECT_H 1
2739| #define HAVE_SYS_SOCKET_H 1
2740| #define HAVE_SYS_UN_H 1
2741| #define HAVE_SYS_UIO_H 1
2742| #define HAVE_SYS_RESOURCE_H 1
2743| #define HAVE_ARPA_INET_H 1
2744| #define HAVE_SYSLOG_H 1
2745| #define HAVE_NETDB_H 1
2746| #define HAVE_SYS_WAIT_H 1
2747| #define HAVE_PWD_H 1
2748| #define HAVE_GLOB_H 1
2749| #define HAVE_GRP_H 1
2750| /* end confdefs.h.  */
2751| #include <stdio.h>
2752| #ifdef HAVE_SYS_TYPES_H
2753| # include <sys/types.h>
2754| #endif
2755| #ifdef HAVE_SYS_STAT_H
2756| # include <sys/stat.h>
2757| #endif
2758| #ifdef STDC_HEADERS
2759| # include <stdlib.h>
2760| # include <stddef.h>
2761| #else
2762| # ifdef HAVE_STDLIB_H
2763| #  include <stdlib.h>
2764| # endif
2765| #endif
2766| #ifdef HAVE_STRING_H
2767| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2768| #  include <memory.h>
2769| # endif
2770| # include <string.h>
2771| #endif
2772| #ifdef HAVE_STRINGS_H
2773| # include <strings.h>
2774| #endif
2775| #ifdef HAVE_INTTYPES_H
2776| # include <inttypes.h>
2777| #endif
2778| #ifdef HAVE_STDINT_H
2779| # include <stdint.h>
2780| #endif
2781| #ifdef HAVE_UNISTD_H
2782| # include <unistd.h>
2783| #endif
2784|
2785| #include <ws2tcpip.h>
2786configure:14734: result: no
2787configure:14734: checking for endian.h
2788configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2789conftest.c:98:10: fatal error: 'endian.h' file not found
2790#include <endian.h>
2791         ^~~~~~~~~~
27921 error generated.
2793configure:14734: $? = 1
2794configure: failed program was:
2795| /* confdefs.h */
2796| #define PACKAGE_NAME "unbound"
2797| #define PACKAGE_TARNAME "unbound"
2798| #define PACKAGE_VERSION "1.12.0"
2799| #define PACKAGE_STRING "unbound 1.12.0"
2800| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
2801| #define PACKAGE_URL ""
2802| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
2803| #define STDC_HEADERS 1
2804| #define HAVE_SYS_TYPES_H 1
2805| #define HAVE_SYS_STAT_H 1
2806| #define HAVE_STDLIB_H 1
2807| #define HAVE_STRING_H 1
2808| #define HAVE_MEMORY_H 1
2809| #define HAVE_STRINGS_H 1
2810| #define HAVE_INTTYPES_H 1
2811| #define HAVE_STDINT_H 1
2812| #define HAVE_UNISTD_H 1
2813| #define __EXTENSIONS__ 1
2814| #define _ALL_SOURCE 1
2815| #define _GNU_SOURCE 1
2816| #define _POSIX_PTHREAD_SEMANTICS 1
2817| #define _TANDEM_SOURCE 1
2818| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2819| #define RUN_DIR "/opt/local/etc/unbound"
2820| #define CHROOT_DIR "/opt/local/etc/unbound"
2821| #define SHARE_DIR "/opt/local/etc/unbound"
2822| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2823| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
2824| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2825| #define UB_USERNAME "unbound"
2826| #define WINVER 0x0502
2827| #define RSRC_PACKAGE_VERSION 1,12,0,0
2828| #define HAVE_GETOPT_H 1
2829| #define HAVE_TIME_H 1
2830| #define HAVE_ATTR_FORMAT 1
2831| #define HAVE_ATTR_UNUSED 1
2832| #define HAVE_ATTR_WEAK 1
2833| #define ATTR_WEAK __attribute__((weak))
2834| #define HAVE_ATTR_NORETURN 1
2835| #define ATTR_NORETURN __attribute__((__noreturn__))
2836| #define YYTEXT_POINTER 1
2837| #define LEX_HAS_YYLEX_DESTROY 1
2838| #define HAVE_DLFCN_H 1
2839| #define LT_OBJDIR ".libs/"
2840| #define HAVE_STDARG_H 1
2841| #define HAVE_STDBOOL_H 1
2842| #define HAVE_NETINET_IN_H 1
2843| #define HAVE_NETINET_TCP_H 1
2844| #define HAVE_SYS_PARAM_H 1
2845| #define HAVE_SYS_SELECT_H 1
2846| #define HAVE_SYS_SOCKET_H 1
2847| #define HAVE_SYS_UN_H 1
2848| #define HAVE_SYS_UIO_H 1
2849| #define HAVE_SYS_RESOURCE_H 1
2850| #define HAVE_ARPA_INET_H 1
2851| #define HAVE_SYSLOG_H 1
2852| #define HAVE_NETDB_H 1
2853| #define HAVE_SYS_WAIT_H 1
2854| #define HAVE_PWD_H 1
2855| #define HAVE_GLOB_H 1
2856| #define HAVE_GRP_H 1
2857| /* end confdefs.h.  */
2858| #include <stdio.h>
2859| #ifdef HAVE_SYS_TYPES_H
2860| # include <sys/types.h>
2861| #endif
2862| #ifdef HAVE_SYS_STAT_H
2863| # include <sys/stat.h>
2864| #endif
2865| #ifdef STDC_HEADERS
2866| # include <stdlib.h>
2867| # include <stddef.h>
2868| #else
2869| # ifdef HAVE_STDLIB_H
2870| #  include <stdlib.h>
2871| # endif
2872| #endif
2873| #ifdef HAVE_STRING_H
2874| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2875| #  include <memory.h>
2876| # endif
2877| # include <string.h>
2878| #endif
2879| #ifdef HAVE_STRINGS_H
2880| # include <strings.h>
2881| #endif
2882| #ifdef HAVE_INTTYPES_H
2883| # include <inttypes.h>
2884| #endif
2885| #ifdef HAVE_STDINT_H
2886| # include <stdint.h>
2887| #endif
2888| #ifdef HAVE_UNISTD_H
2889| # include <unistd.h>
2890| #endif
2891|
2892| #include <endian.h>
2893configure:14734: result: no
2894configure:14734: checking for sys/endian.h
2895configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
2896conftest.c:98:10: fatal error: 'sys/endian.h' file not found
2897#include <sys/endian.h>
2898         ^~~~~~~~~~~~~~
28991 error generated.
2900configure:14734: $? = 1
2901configure: failed program was:
2902| /* confdefs.h */
2903| #define PACKAGE_NAME "unbound"
2904| #define PACKAGE_TARNAME "unbound"
2905| #define PACKAGE_VERSION "1.12.0"
2906| #define PACKAGE_STRING "unbound 1.12.0"
2907| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
2908| #define PACKAGE_URL ""
2909| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
2910| #define STDC_HEADERS 1
2911| #define HAVE_SYS_TYPES_H 1
2912| #define HAVE_SYS_STAT_H 1
2913| #define HAVE_STDLIB_H 1
2914| #define HAVE_STRING_H 1
2915| #define HAVE_MEMORY_H 1
2916| #define HAVE_STRINGS_H 1
2917| #define HAVE_INTTYPES_H 1
2918| #define HAVE_STDINT_H 1
2919| #define HAVE_UNISTD_H 1
2920| #define __EXTENSIONS__ 1
2921| #define _ALL_SOURCE 1
2922| #define _GNU_SOURCE 1
2923| #define _POSIX_PTHREAD_SEMANTICS 1
2924| #define _TANDEM_SOURCE 1
2925| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2926| #define RUN_DIR "/opt/local/etc/unbound"
2927| #define CHROOT_DIR "/opt/local/etc/unbound"
2928| #define SHARE_DIR "/opt/local/etc/unbound"
2929| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2930| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
2931| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2932| #define UB_USERNAME "unbound"
2933| #define WINVER 0x0502
2934| #define RSRC_PACKAGE_VERSION 1,12,0,0
2935| #define HAVE_GETOPT_H 1
2936| #define HAVE_TIME_H 1
2937| #define HAVE_ATTR_FORMAT 1
2938| #define HAVE_ATTR_UNUSED 1
2939| #define HAVE_ATTR_WEAK 1
2940| #define ATTR_WEAK __attribute__((weak))
2941| #define HAVE_ATTR_NORETURN 1
2942| #define ATTR_NORETURN __attribute__((__noreturn__))
2943| #define YYTEXT_POINTER 1
2944| #define LEX_HAS_YYLEX_DESTROY 1
2945| #define HAVE_DLFCN_H 1
2946| #define LT_OBJDIR ".libs/"
2947| #define HAVE_STDARG_H 1
2948| #define HAVE_STDBOOL_H 1
2949| #define HAVE_NETINET_IN_H 1
2950| #define HAVE_NETINET_TCP_H 1
2951| #define HAVE_SYS_PARAM_H 1
2952| #define HAVE_SYS_SELECT_H 1
2953| #define HAVE_SYS_SOCKET_H 1
2954| #define HAVE_SYS_UN_H 1
2955| #define HAVE_SYS_UIO_H 1
2956| #define HAVE_SYS_RESOURCE_H 1
2957| #define HAVE_ARPA_INET_H 1
2958| #define HAVE_SYSLOG_H 1
2959| #define HAVE_NETDB_H 1
2960| #define HAVE_SYS_WAIT_H 1
2961| #define HAVE_PWD_H 1
2962| #define HAVE_GLOB_H 1
2963| #define HAVE_GRP_H 1
2964| /* end confdefs.h.  */
2965| #include <stdio.h>
2966| #ifdef HAVE_SYS_TYPES_H
2967| # include <sys/types.h>
2968| #endif
2969| #ifdef HAVE_SYS_STAT_H
2970| # include <sys/stat.h>
2971| #endif
2972| #ifdef STDC_HEADERS
2973| # include <stdlib.h>
2974| # include <stddef.h>
2975| #else
2976| # ifdef HAVE_STDLIB_H
2977| #  include <stdlib.h>
2978| # endif
2979| #endif
2980| #ifdef HAVE_STRING_H
2981| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2982| #  include <memory.h>
2983| # endif
2984| # include <string.h>
2985| #endif
2986| #ifdef HAVE_STRINGS_H
2987| # include <strings.h>
2988| #endif
2989| #ifdef HAVE_INTTYPES_H
2990| # include <inttypes.h>
2991| #endif
2992| #ifdef HAVE_STDINT_H
2993| # include <stdint.h>
2994| #endif
2995| #ifdef HAVE_UNISTD_H
2996| # include <unistd.h>
2997| #endif
2998|
2999| #include <sys/endian.h>
3000configure:14734: result: no
3001configure:14734: checking for libkern/OSByteOrder.h
3002configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3003configure:14734: $? = 0
3004configure:14734: result: yes
3005configure:14734: checking for sys/ipc.h
3006configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3007configure:14734: $? = 0
3008configure:14734: result: yes
3009configure:14734: checking for sys/shm.h
3010configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3011configure:14734: $? = 0
3012configure:14734: result: yes
3013configure:14734: checking for ifaddrs.h
3014configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3015configure:14734: $? = 0
3016configure:14734: result: yes
3017configure:14734: checking for net/if.h
3018configure:14734: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3019In file included from conftest.c:102:
3020/usr/include/net/if.h:265:19: error: field has incomplete type 'struct sockaddr'
3021                struct  sockaddr ifru_addr;
3022                                 ^
3023/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3024                struct  sockaddr ifru_addr;
3025                        ^
3026/usr/include/net/if.h:266:19: error: field has incomplete type 'struct sockaddr'
3027                struct  sockaddr ifru_dstaddr;
3028                                 ^
3029/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3030                struct  sockaddr ifru_addr;
3031                        ^
3032/usr/include/net/if.h:267:19: error: field has incomplete type 'struct sockaddr'
3033                struct  sockaddr ifru_broadaddr;
3034                                 ^
3035/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3036                struct  sockaddr ifru_addr;
3037                        ^
3038/usr/include/net/if.h:308:18: error: field has incomplete type 'struct sockaddr'
3039        struct  sockaddr ifra_addr;
3040                         ^
3041/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3042                struct  sockaddr ifru_addr;
3043                        ^
3044/usr/include/net/if.h:309:18: error: field has incomplete type 'struct sockaddr'
3045        struct  sockaddr ifra_broadaddr;
3046                         ^
3047/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3048                struct  sockaddr ifru_addr;
3049                        ^
3050/usr/include/net/if.h:310:18: error: field has incomplete type 'struct sockaddr'
3051        struct  sockaddr ifra_mask;
3052                         ^
3053/usr/include/net/if.h:265:10: note: forward declaration of 'struct sockaddr'
3054                struct  sockaddr ifru_addr;
3055                        ^
3056/usr/include/net/if.h:393:26: error: field has incomplete type 'struct sockaddr_storage'
3057        struct sockaddr_storage addr;   /* in/out */
3058                                ^
3059/usr/include/net/if.h:393:9: note: forward declaration of 'struct sockaddr_storage'
3060        struct sockaddr_storage addr;   /* in/out */
3061               ^
3062/usr/include/net/if.h:394:26: error: field has incomplete type 'struct sockaddr_storage'
3063        struct sockaddr_storage dstaddr; /* out */
3064                                ^
3065/usr/include/net/if.h:393:9: note: forward declaration of 'struct sockaddr_storage'
3066        struct sockaddr_storage addr;   /* in/out */
3067               ^
30688 errors generated.
3069configure:14734: $? = 1
3070configure: failed program was:
3071| /* confdefs.h */
3072| #define PACKAGE_NAME "unbound"
3073| #define PACKAGE_TARNAME "unbound"
3074| #define PACKAGE_VERSION "1.12.0"
3075| #define PACKAGE_STRING "unbound 1.12.0"
3076| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3077| #define PACKAGE_URL ""
3078| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3079| #define STDC_HEADERS 1
3080| #define HAVE_SYS_TYPES_H 1
3081| #define HAVE_SYS_STAT_H 1
3082| #define HAVE_STDLIB_H 1
3083| #define HAVE_STRING_H 1
3084| #define HAVE_MEMORY_H 1
3085| #define HAVE_STRINGS_H 1
3086| #define HAVE_INTTYPES_H 1
3087| #define HAVE_STDINT_H 1
3088| #define HAVE_UNISTD_H 1
3089| #define __EXTENSIONS__ 1
3090| #define _ALL_SOURCE 1
3091| #define _GNU_SOURCE 1
3092| #define _POSIX_PTHREAD_SEMANTICS 1
3093| #define _TANDEM_SOURCE 1
3094| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3095| #define RUN_DIR "/opt/local/etc/unbound"
3096| #define CHROOT_DIR "/opt/local/etc/unbound"
3097| #define SHARE_DIR "/opt/local/etc/unbound"
3098| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3099| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3100| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3101| #define UB_USERNAME "unbound"
3102| #define WINVER 0x0502
3103| #define RSRC_PACKAGE_VERSION 1,12,0,0
3104| #define HAVE_GETOPT_H 1
3105| #define HAVE_TIME_H 1
3106| #define HAVE_ATTR_FORMAT 1
3107| #define HAVE_ATTR_UNUSED 1
3108| #define HAVE_ATTR_WEAK 1
3109| #define ATTR_WEAK __attribute__((weak))
3110| #define HAVE_ATTR_NORETURN 1
3111| #define ATTR_NORETURN __attribute__((__noreturn__))
3112| #define YYTEXT_POINTER 1
3113| #define LEX_HAS_YYLEX_DESTROY 1
3114| #define HAVE_DLFCN_H 1
3115| #define LT_OBJDIR ".libs/"
3116| #define HAVE_STDARG_H 1
3117| #define HAVE_STDBOOL_H 1
3118| #define HAVE_NETINET_IN_H 1
3119| #define HAVE_NETINET_TCP_H 1
3120| #define HAVE_SYS_PARAM_H 1
3121| #define HAVE_SYS_SELECT_H 1
3122| #define HAVE_SYS_SOCKET_H 1
3123| #define HAVE_SYS_UN_H 1
3124| #define HAVE_SYS_UIO_H 1
3125| #define HAVE_SYS_RESOURCE_H 1
3126| #define HAVE_ARPA_INET_H 1
3127| #define HAVE_SYSLOG_H 1
3128| #define HAVE_NETDB_H 1
3129| #define HAVE_SYS_WAIT_H 1
3130| #define HAVE_PWD_H 1
3131| #define HAVE_GLOB_H 1
3132| #define HAVE_GRP_H 1
3133| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3134| #define HAVE_SYS_IPC_H 1
3135| #define HAVE_SYS_SHM_H 1
3136| #define HAVE_IFADDRS_H 1
3137| /* end confdefs.h.  */
3138| #include <stdio.h>
3139| #ifdef HAVE_SYS_TYPES_H
3140| # include <sys/types.h>
3141| #endif
3142| #ifdef HAVE_SYS_STAT_H
3143| # include <sys/stat.h>
3144| #endif
3145| #ifdef STDC_HEADERS
3146| # include <stdlib.h>
3147| # include <stddef.h>
3148| #else
3149| # ifdef HAVE_STDLIB_H
3150| #  include <stdlib.h>
3151| # endif
3152| #endif
3153| #ifdef HAVE_STRING_H
3154| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3155| #  include <memory.h>
3156| # endif
3157| # include <string.h>
3158| #endif
3159| #ifdef HAVE_STRINGS_H
3160| # include <strings.h>
3161| #endif
3162| #ifdef HAVE_INTTYPES_H
3163| # include <inttypes.h>
3164| #endif
3165| #ifdef HAVE_STDINT_H
3166| # include <stdint.h>
3167| #endif
3168| #ifdef HAVE_UNISTD_H
3169| # include <unistd.h>
3170| #endif
3171|
3172| #include <net/if.h>
3173configure:14734: result: no
3174configure:14749: checking TargetConditionals.h usability
3175configure:14749: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3176configure:14749: $? = 0
3177configure:14749: result: yes
3178configure:14749: checking TargetConditionals.h presence
3179configure:14749: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
3180configure:14749: $? = 0
3181configure:14749: result: yes
3182configure:14749: checking for TargetConditionals.h
3183configure:14749: result: yes
3184configure:14762: checking for int8_t
3185configure:14762: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3186configure:14762: $? = 0
3187configure:14762: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3188conftest.c:105:21: error: expected expression
3189if (sizeof ((int8_t)))
3190                    ^
31911 error generated.
3192configure:14762: $? = 1
3193configure: failed program was:
3194| /* confdefs.h */
3195| #define PACKAGE_NAME "unbound"
3196| #define PACKAGE_TARNAME "unbound"
3197| #define PACKAGE_VERSION "1.12.0"
3198| #define PACKAGE_STRING "unbound 1.12.0"
3199| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3200| #define PACKAGE_URL ""
3201| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3202| #define STDC_HEADERS 1
3203| #define HAVE_SYS_TYPES_H 1
3204| #define HAVE_SYS_STAT_H 1
3205| #define HAVE_STDLIB_H 1
3206| #define HAVE_STRING_H 1
3207| #define HAVE_MEMORY_H 1
3208| #define HAVE_STRINGS_H 1
3209| #define HAVE_INTTYPES_H 1
3210| #define HAVE_STDINT_H 1
3211| #define HAVE_UNISTD_H 1
3212| #define __EXTENSIONS__ 1
3213| #define _ALL_SOURCE 1
3214| #define _GNU_SOURCE 1
3215| #define _POSIX_PTHREAD_SEMANTICS 1
3216| #define _TANDEM_SOURCE 1
3217| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3218| #define RUN_DIR "/opt/local/etc/unbound"
3219| #define CHROOT_DIR "/opt/local/etc/unbound"
3220| #define SHARE_DIR "/opt/local/etc/unbound"
3221| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3222| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3223| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3224| #define UB_USERNAME "unbound"
3225| #define WINVER 0x0502
3226| #define RSRC_PACKAGE_VERSION 1,12,0,0
3227| #define HAVE_GETOPT_H 1
3228| #define HAVE_TIME_H 1
3229| #define HAVE_ATTR_FORMAT 1
3230| #define HAVE_ATTR_UNUSED 1
3231| #define HAVE_ATTR_WEAK 1
3232| #define ATTR_WEAK __attribute__((weak))
3233| #define HAVE_ATTR_NORETURN 1
3234| #define ATTR_NORETURN __attribute__((__noreturn__))
3235| #define YYTEXT_POINTER 1
3236| #define LEX_HAS_YYLEX_DESTROY 1
3237| #define HAVE_DLFCN_H 1
3238| #define LT_OBJDIR ".libs/"
3239| #define HAVE_STDARG_H 1
3240| #define HAVE_STDBOOL_H 1
3241| #define HAVE_NETINET_IN_H 1
3242| #define HAVE_NETINET_TCP_H 1
3243| #define HAVE_SYS_PARAM_H 1
3244| #define HAVE_SYS_SELECT_H 1
3245| #define HAVE_SYS_SOCKET_H 1
3246| #define HAVE_SYS_UN_H 1
3247| #define HAVE_SYS_UIO_H 1
3248| #define HAVE_SYS_RESOURCE_H 1
3249| #define HAVE_ARPA_INET_H 1
3250| #define HAVE_SYSLOG_H 1
3251| #define HAVE_NETDB_H 1
3252| #define HAVE_SYS_WAIT_H 1
3253| #define HAVE_PWD_H 1
3254| #define HAVE_GLOB_H 1
3255| #define HAVE_GRP_H 1
3256| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3257| #define HAVE_SYS_IPC_H 1
3258| #define HAVE_SYS_SHM_H 1
3259| #define HAVE_IFADDRS_H 1
3260| #define HAVE_TARGETCONDITIONALS_H 1
3261| /* end confdefs.h.  */
3262| #include <stdio.h>
3263| #ifdef HAVE_SYS_TYPES_H
3264| # include <sys/types.h>
3265| #endif
3266| #ifdef HAVE_SYS_STAT_H
3267| # include <sys/stat.h>
3268| #endif
3269| #ifdef STDC_HEADERS
3270| # include <stdlib.h>
3271| # include <stddef.h>
3272| #else
3273| # ifdef HAVE_STDLIB_H
3274| #  include <stdlib.h>
3275| # endif
3276| #endif
3277| #ifdef HAVE_STRING_H
3278| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3279| #  include <memory.h>
3280| # endif
3281| # include <string.h>
3282| #endif
3283| #ifdef HAVE_STRINGS_H
3284| # include <strings.h>
3285| #endif
3286| #ifdef HAVE_INTTYPES_H
3287| # include <inttypes.h>
3288| #endif
3289| #ifdef HAVE_STDINT_H
3290| # include <stdint.h>
3291| #endif
3292| #ifdef HAVE_UNISTD_H
3293| # include <unistd.h>
3294| #endif
3295| int
3296| main ()
3297| {
3298| if (sizeof ((int8_t)))
3299|           return 0;
3300|   ;
3301|   return 0;
3302| }
3303configure:14762: result: yes
3304configure:14773: checking for int16_t
3305configure:14773: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3306configure:14773: $? = 0
3307configure:14773: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3308conftest.c:105:22: error: expected expression
3309if (sizeof ((int16_t)))
3310                     ^
33111 error generated.
3312configure:14773: $? = 1
3313configure: failed program was:
3314| /* confdefs.h */
3315| #define PACKAGE_NAME "unbound"
3316| #define PACKAGE_TARNAME "unbound"
3317| #define PACKAGE_VERSION "1.12.0"
3318| #define PACKAGE_STRING "unbound 1.12.0"
3319| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3320| #define PACKAGE_URL ""
3321| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3322| #define STDC_HEADERS 1
3323| #define HAVE_SYS_TYPES_H 1
3324| #define HAVE_SYS_STAT_H 1
3325| #define HAVE_STDLIB_H 1
3326| #define HAVE_STRING_H 1
3327| #define HAVE_MEMORY_H 1
3328| #define HAVE_STRINGS_H 1
3329| #define HAVE_INTTYPES_H 1
3330| #define HAVE_STDINT_H 1
3331| #define HAVE_UNISTD_H 1
3332| #define __EXTENSIONS__ 1
3333| #define _ALL_SOURCE 1
3334| #define _GNU_SOURCE 1
3335| #define _POSIX_PTHREAD_SEMANTICS 1
3336| #define _TANDEM_SOURCE 1
3337| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3338| #define RUN_DIR "/opt/local/etc/unbound"
3339| #define CHROOT_DIR "/opt/local/etc/unbound"
3340| #define SHARE_DIR "/opt/local/etc/unbound"
3341| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3342| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3343| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3344| #define UB_USERNAME "unbound"
3345| #define WINVER 0x0502
3346| #define RSRC_PACKAGE_VERSION 1,12,0,0
3347| #define HAVE_GETOPT_H 1
3348| #define HAVE_TIME_H 1
3349| #define HAVE_ATTR_FORMAT 1
3350| #define HAVE_ATTR_UNUSED 1
3351| #define HAVE_ATTR_WEAK 1
3352| #define ATTR_WEAK __attribute__((weak))
3353| #define HAVE_ATTR_NORETURN 1
3354| #define ATTR_NORETURN __attribute__((__noreturn__))
3355| #define YYTEXT_POINTER 1
3356| #define LEX_HAS_YYLEX_DESTROY 1
3357| #define HAVE_DLFCN_H 1
3358| #define LT_OBJDIR ".libs/"
3359| #define HAVE_STDARG_H 1
3360| #define HAVE_STDBOOL_H 1
3361| #define HAVE_NETINET_IN_H 1
3362| #define HAVE_NETINET_TCP_H 1
3363| #define HAVE_SYS_PARAM_H 1
3364| #define HAVE_SYS_SELECT_H 1
3365| #define HAVE_SYS_SOCKET_H 1
3366| #define HAVE_SYS_UN_H 1
3367| #define HAVE_SYS_UIO_H 1
3368| #define HAVE_SYS_RESOURCE_H 1
3369| #define HAVE_ARPA_INET_H 1
3370| #define HAVE_SYSLOG_H 1
3371| #define HAVE_NETDB_H 1
3372| #define HAVE_SYS_WAIT_H 1
3373| #define HAVE_PWD_H 1
3374| #define HAVE_GLOB_H 1
3375| #define HAVE_GRP_H 1
3376| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3377| #define HAVE_SYS_IPC_H 1
3378| #define HAVE_SYS_SHM_H 1
3379| #define HAVE_IFADDRS_H 1
3380| #define HAVE_TARGETCONDITIONALS_H 1
3381| /* end confdefs.h.  */
3382| #include <stdio.h>
3383| #ifdef HAVE_SYS_TYPES_H
3384| # include <sys/types.h>
3385| #endif
3386| #ifdef HAVE_SYS_STAT_H
3387| # include <sys/stat.h>
3388| #endif
3389| #ifdef STDC_HEADERS
3390| # include <stdlib.h>
3391| # include <stddef.h>
3392| #else
3393| # ifdef HAVE_STDLIB_H
3394| #  include <stdlib.h>
3395| # endif
3396| #endif
3397| #ifdef HAVE_STRING_H
3398| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3399| #  include <memory.h>
3400| # endif
3401| # include <string.h>
3402| #endif
3403| #ifdef HAVE_STRINGS_H
3404| # include <strings.h>
3405| #endif
3406| #ifdef HAVE_INTTYPES_H
3407| # include <inttypes.h>
3408| #endif
3409| #ifdef HAVE_STDINT_H
3410| # include <stdint.h>
3411| #endif
3412| #ifdef HAVE_UNISTD_H
3413| # include <unistd.h>
3414| #endif
3415| int
3416| main ()
3417| {
3418| if (sizeof ((int16_t)))
3419|           return 0;
3420|   ;
3421|   return 0;
3422| }
3423configure:14773: result: yes
3424configure:14784: checking for int32_t
3425configure:14784: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3426configure:14784: $? = 0
3427configure:14784: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3428conftest.c:105:22: error: expected expression
3429if (sizeof ((int32_t)))
3430                     ^
34311 error generated.
3432configure:14784: $? = 1
3433configure: failed program was:
3434| /* confdefs.h */
3435| #define PACKAGE_NAME "unbound"
3436| #define PACKAGE_TARNAME "unbound"
3437| #define PACKAGE_VERSION "1.12.0"
3438| #define PACKAGE_STRING "unbound 1.12.0"
3439| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3440| #define PACKAGE_URL ""
3441| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3442| #define STDC_HEADERS 1
3443| #define HAVE_SYS_TYPES_H 1
3444| #define HAVE_SYS_STAT_H 1
3445| #define HAVE_STDLIB_H 1
3446| #define HAVE_STRING_H 1
3447| #define HAVE_MEMORY_H 1
3448| #define HAVE_STRINGS_H 1
3449| #define HAVE_INTTYPES_H 1
3450| #define HAVE_STDINT_H 1
3451| #define HAVE_UNISTD_H 1
3452| #define __EXTENSIONS__ 1
3453| #define _ALL_SOURCE 1
3454| #define _GNU_SOURCE 1
3455| #define _POSIX_PTHREAD_SEMANTICS 1
3456| #define _TANDEM_SOURCE 1
3457| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3458| #define RUN_DIR "/opt/local/etc/unbound"
3459| #define CHROOT_DIR "/opt/local/etc/unbound"
3460| #define SHARE_DIR "/opt/local/etc/unbound"
3461| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3462| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3463| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3464| #define UB_USERNAME "unbound"
3465| #define WINVER 0x0502
3466| #define RSRC_PACKAGE_VERSION 1,12,0,0
3467| #define HAVE_GETOPT_H 1
3468| #define HAVE_TIME_H 1
3469| #define HAVE_ATTR_FORMAT 1
3470| #define HAVE_ATTR_UNUSED 1
3471| #define HAVE_ATTR_WEAK 1
3472| #define ATTR_WEAK __attribute__((weak))
3473| #define HAVE_ATTR_NORETURN 1
3474| #define ATTR_NORETURN __attribute__((__noreturn__))
3475| #define YYTEXT_POINTER 1
3476| #define LEX_HAS_YYLEX_DESTROY 1
3477| #define HAVE_DLFCN_H 1
3478| #define LT_OBJDIR ".libs/"
3479| #define HAVE_STDARG_H 1
3480| #define HAVE_STDBOOL_H 1
3481| #define HAVE_NETINET_IN_H 1
3482| #define HAVE_NETINET_TCP_H 1
3483| #define HAVE_SYS_PARAM_H 1
3484| #define HAVE_SYS_SELECT_H 1
3485| #define HAVE_SYS_SOCKET_H 1
3486| #define HAVE_SYS_UN_H 1
3487| #define HAVE_SYS_UIO_H 1
3488| #define HAVE_SYS_RESOURCE_H 1
3489| #define HAVE_ARPA_INET_H 1
3490| #define HAVE_SYSLOG_H 1
3491| #define HAVE_NETDB_H 1
3492| #define HAVE_SYS_WAIT_H 1
3493| #define HAVE_PWD_H 1
3494| #define HAVE_GLOB_H 1
3495| #define HAVE_GRP_H 1
3496| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3497| #define HAVE_SYS_IPC_H 1
3498| #define HAVE_SYS_SHM_H 1
3499| #define HAVE_IFADDRS_H 1
3500| #define HAVE_TARGETCONDITIONALS_H 1
3501| /* end confdefs.h.  */
3502| #include <stdio.h>
3503| #ifdef HAVE_SYS_TYPES_H
3504| # include <sys/types.h>
3505| #endif
3506| #ifdef HAVE_SYS_STAT_H
3507| # include <sys/stat.h>
3508| #endif
3509| #ifdef STDC_HEADERS
3510| # include <stdlib.h>
3511| # include <stddef.h>
3512| #else
3513| # ifdef HAVE_STDLIB_H
3514| #  include <stdlib.h>
3515| # endif
3516| #endif
3517| #ifdef HAVE_STRING_H
3518| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3519| #  include <memory.h>
3520| # endif
3521| # include <string.h>
3522| #endif
3523| #ifdef HAVE_STRINGS_H
3524| # include <strings.h>
3525| #endif
3526| #ifdef HAVE_INTTYPES_H
3527| # include <inttypes.h>
3528| #endif
3529| #ifdef HAVE_STDINT_H
3530| # include <stdint.h>
3531| #endif
3532| #ifdef HAVE_UNISTD_H
3533| # include <unistd.h>
3534| #endif
3535| int
3536| main ()
3537| {
3538| if (sizeof ((int32_t)))
3539|           return 0;
3540|   ;
3541|   return 0;
3542| }
3543configure:14784: result: yes
3544configure:14795: checking for int64_t
3545configure:14795: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3546configure:14795: $? = 0
3547configure:14795: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3548conftest.c:105:22: error: expected expression
3549if (sizeof ((int64_t)))
3550                     ^
35511 error generated.
3552configure:14795: $? = 1
3553configure: failed program was:
3554| /* confdefs.h */
3555| #define PACKAGE_NAME "unbound"
3556| #define PACKAGE_TARNAME "unbound"
3557| #define PACKAGE_VERSION "1.12.0"
3558| #define PACKAGE_STRING "unbound 1.12.0"
3559| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3560| #define PACKAGE_URL ""
3561| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3562| #define STDC_HEADERS 1
3563| #define HAVE_SYS_TYPES_H 1
3564| #define HAVE_SYS_STAT_H 1
3565| #define HAVE_STDLIB_H 1
3566| #define HAVE_STRING_H 1
3567| #define HAVE_MEMORY_H 1
3568| #define HAVE_STRINGS_H 1
3569| #define HAVE_INTTYPES_H 1
3570| #define HAVE_STDINT_H 1
3571| #define HAVE_UNISTD_H 1
3572| #define __EXTENSIONS__ 1
3573| #define _ALL_SOURCE 1
3574| #define _GNU_SOURCE 1
3575| #define _POSIX_PTHREAD_SEMANTICS 1
3576| #define _TANDEM_SOURCE 1
3577| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3578| #define RUN_DIR "/opt/local/etc/unbound"
3579| #define CHROOT_DIR "/opt/local/etc/unbound"
3580| #define SHARE_DIR "/opt/local/etc/unbound"
3581| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3582| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3583| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3584| #define UB_USERNAME "unbound"
3585| #define WINVER 0x0502
3586| #define RSRC_PACKAGE_VERSION 1,12,0,0
3587| #define HAVE_GETOPT_H 1
3588| #define HAVE_TIME_H 1
3589| #define HAVE_ATTR_FORMAT 1
3590| #define HAVE_ATTR_UNUSED 1
3591| #define HAVE_ATTR_WEAK 1
3592| #define ATTR_WEAK __attribute__((weak))
3593| #define HAVE_ATTR_NORETURN 1
3594| #define ATTR_NORETURN __attribute__((__noreturn__))
3595| #define YYTEXT_POINTER 1
3596| #define LEX_HAS_YYLEX_DESTROY 1
3597| #define HAVE_DLFCN_H 1
3598| #define LT_OBJDIR ".libs/"
3599| #define HAVE_STDARG_H 1
3600| #define HAVE_STDBOOL_H 1
3601| #define HAVE_NETINET_IN_H 1
3602| #define HAVE_NETINET_TCP_H 1
3603| #define HAVE_SYS_PARAM_H 1
3604| #define HAVE_SYS_SELECT_H 1
3605| #define HAVE_SYS_SOCKET_H 1
3606| #define HAVE_SYS_UN_H 1
3607| #define HAVE_SYS_UIO_H 1
3608| #define HAVE_SYS_RESOURCE_H 1
3609| #define HAVE_ARPA_INET_H 1
3610| #define HAVE_SYSLOG_H 1
3611| #define HAVE_NETDB_H 1
3612| #define HAVE_SYS_WAIT_H 1
3613| #define HAVE_PWD_H 1
3614| #define HAVE_GLOB_H 1
3615| #define HAVE_GRP_H 1
3616| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3617| #define HAVE_SYS_IPC_H 1
3618| #define HAVE_SYS_SHM_H 1
3619| #define HAVE_IFADDRS_H 1
3620| #define HAVE_TARGETCONDITIONALS_H 1
3621| /* end confdefs.h.  */
3622| #include <stdio.h>
3623| #ifdef HAVE_SYS_TYPES_H
3624| # include <sys/types.h>
3625| #endif
3626| #ifdef HAVE_SYS_STAT_H
3627| # include <sys/stat.h>
3628| #endif
3629| #ifdef STDC_HEADERS
3630| # include <stdlib.h>
3631| # include <stddef.h>
3632| #else
3633| # ifdef HAVE_STDLIB_H
3634| #  include <stdlib.h>
3635| # endif
3636| #endif
3637| #ifdef HAVE_STRING_H
3638| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3639| #  include <memory.h>
3640| # endif
3641| # include <string.h>
3642| #endif
3643| #ifdef HAVE_STRINGS_H
3644| # include <strings.h>
3645| #endif
3646| #ifdef HAVE_INTTYPES_H
3647| # include <inttypes.h>
3648| #endif
3649| #ifdef HAVE_STDINT_H
3650| # include <stdint.h>
3651| #endif
3652| #ifdef HAVE_UNISTD_H
3653| # include <unistd.h>
3654| #endif
3655| int
3656| main ()
3657| {
3658| if (sizeof ((int64_t)))
3659|           return 0;
3660|   ;
3661|   return 0;
3662| }
3663configure:14795: result: yes
3664configure:14806: checking for uint8_t
3665configure:14806: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3666configure:14806: $? = 0
3667configure:14806: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3668conftest.c:105:22: error: expected expression
3669if (sizeof ((uint8_t)))
3670                     ^
36711 error generated.
3672configure:14806: $? = 1
3673configure: failed program was:
3674| /* confdefs.h */
3675| #define PACKAGE_NAME "unbound"
3676| #define PACKAGE_TARNAME "unbound"
3677| #define PACKAGE_VERSION "1.12.0"
3678| #define PACKAGE_STRING "unbound 1.12.0"
3679| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3680| #define PACKAGE_URL ""
3681| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3682| #define STDC_HEADERS 1
3683| #define HAVE_SYS_TYPES_H 1
3684| #define HAVE_SYS_STAT_H 1
3685| #define HAVE_STDLIB_H 1
3686| #define HAVE_STRING_H 1
3687| #define HAVE_MEMORY_H 1
3688| #define HAVE_STRINGS_H 1
3689| #define HAVE_INTTYPES_H 1
3690| #define HAVE_STDINT_H 1
3691| #define HAVE_UNISTD_H 1
3692| #define __EXTENSIONS__ 1
3693| #define _ALL_SOURCE 1
3694| #define _GNU_SOURCE 1
3695| #define _POSIX_PTHREAD_SEMANTICS 1
3696| #define _TANDEM_SOURCE 1
3697| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3698| #define RUN_DIR "/opt/local/etc/unbound"
3699| #define CHROOT_DIR "/opt/local/etc/unbound"
3700| #define SHARE_DIR "/opt/local/etc/unbound"
3701| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3702| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3703| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3704| #define UB_USERNAME "unbound"
3705| #define WINVER 0x0502
3706| #define RSRC_PACKAGE_VERSION 1,12,0,0
3707| #define HAVE_GETOPT_H 1
3708| #define HAVE_TIME_H 1
3709| #define HAVE_ATTR_FORMAT 1
3710| #define HAVE_ATTR_UNUSED 1
3711| #define HAVE_ATTR_WEAK 1
3712| #define ATTR_WEAK __attribute__((weak))
3713| #define HAVE_ATTR_NORETURN 1
3714| #define ATTR_NORETURN __attribute__((__noreturn__))
3715| #define YYTEXT_POINTER 1
3716| #define LEX_HAS_YYLEX_DESTROY 1
3717| #define HAVE_DLFCN_H 1
3718| #define LT_OBJDIR ".libs/"
3719| #define HAVE_STDARG_H 1
3720| #define HAVE_STDBOOL_H 1
3721| #define HAVE_NETINET_IN_H 1
3722| #define HAVE_NETINET_TCP_H 1
3723| #define HAVE_SYS_PARAM_H 1
3724| #define HAVE_SYS_SELECT_H 1
3725| #define HAVE_SYS_SOCKET_H 1
3726| #define HAVE_SYS_UN_H 1
3727| #define HAVE_SYS_UIO_H 1
3728| #define HAVE_SYS_RESOURCE_H 1
3729| #define HAVE_ARPA_INET_H 1
3730| #define HAVE_SYSLOG_H 1
3731| #define HAVE_NETDB_H 1
3732| #define HAVE_SYS_WAIT_H 1
3733| #define HAVE_PWD_H 1
3734| #define HAVE_GLOB_H 1
3735| #define HAVE_GRP_H 1
3736| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3737| #define HAVE_SYS_IPC_H 1
3738| #define HAVE_SYS_SHM_H 1
3739| #define HAVE_IFADDRS_H 1
3740| #define HAVE_TARGETCONDITIONALS_H 1
3741| /* end confdefs.h.  */
3742| #include <stdio.h>
3743| #ifdef HAVE_SYS_TYPES_H
3744| # include <sys/types.h>
3745| #endif
3746| #ifdef HAVE_SYS_STAT_H
3747| # include <sys/stat.h>
3748| #endif
3749| #ifdef STDC_HEADERS
3750| # include <stdlib.h>
3751| # include <stddef.h>
3752| #else
3753| # ifdef HAVE_STDLIB_H
3754| #  include <stdlib.h>
3755| # endif
3756| #endif
3757| #ifdef HAVE_STRING_H
3758| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3759| #  include <memory.h>
3760| # endif
3761| # include <string.h>
3762| #endif
3763| #ifdef HAVE_STRINGS_H
3764| # include <strings.h>
3765| #endif
3766| #ifdef HAVE_INTTYPES_H
3767| # include <inttypes.h>
3768| #endif
3769| #ifdef HAVE_STDINT_H
3770| # include <stdint.h>
3771| #endif
3772| #ifdef HAVE_UNISTD_H
3773| # include <unistd.h>
3774| #endif
3775| int
3776| main ()
3777| {
3778| if (sizeof ((uint8_t)))
3779|           return 0;
3780|   ;
3781|   return 0;
3782| }
3783configure:14806: result: yes
3784configure:14817: checking for uint16_t
3785configure:14817: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3786configure:14817: $? = 0
3787configure:14817: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3788conftest.c:105:23: error: expected expression
3789if (sizeof ((uint16_t)))
3790                      ^
37911 error generated.
3792configure:14817: $? = 1
3793configure: failed program was:
3794| /* confdefs.h */
3795| #define PACKAGE_NAME "unbound"
3796| #define PACKAGE_TARNAME "unbound"
3797| #define PACKAGE_VERSION "1.12.0"
3798| #define PACKAGE_STRING "unbound 1.12.0"
3799| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3800| #define PACKAGE_URL ""
3801| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3802| #define STDC_HEADERS 1
3803| #define HAVE_SYS_TYPES_H 1
3804| #define HAVE_SYS_STAT_H 1
3805| #define HAVE_STDLIB_H 1
3806| #define HAVE_STRING_H 1
3807| #define HAVE_MEMORY_H 1
3808| #define HAVE_STRINGS_H 1
3809| #define HAVE_INTTYPES_H 1
3810| #define HAVE_STDINT_H 1
3811| #define HAVE_UNISTD_H 1
3812| #define __EXTENSIONS__ 1
3813| #define _ALL_SOURCE 1
3814| #define _GNU_SOURCE 1
3815| #define _POSIX_PTHREAD_SEMANTICS 1
3816| #define _TANDEM_SOURCE 1
3817| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3818| #define RUN_DIR "/opt/local/etc/unbound"
3819| #define CHROOT_DIR "/opt/local/etc/unbound"
3820| #define SHARE_DIR "/opt/local/etc/unbound"
3821| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3822| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3823| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3824| #define UB_USERNAME "unbound"
3825| #define WINVER 0x0502
3826| #define RSRC_PACKAGE_VERSION 1,12,0,0
3827| #define HAVE_GETOPT_H 1
3828| #define HAVE_TIME_H 1
3829| #define HAVE_ATTR_FORMAT 1
3830| #define HAVE_ATTR_UNUSED 1
3831| #define HAVE_ATTR_WEAK 1
3832| #define ATTR_WEAK __attribute__((weak))
3833| #define HAVE_ATTR_NORETURN 1
3834| #define ATTR_NORETURN __attribute__((__noreturn__))
3835| #define YYTEXT_POINTER 1
3836| #define LEX_HAS_YYLEX_DESTROY 1
3837| #define HAVE_DLFCN_H 1
3838| #define LT_OBJDIR ".libs/"
3839| #define HAVE_STDARG_H 1
3840| #define HAVE_STDBOOL_H 1
3841| #define HAVE_NETINET_IN_H 1
3842| #define HAVE_NETINET_TCP_H 1
3843| #define HAVE_SYS_PARAM_H 1
3844| #define HAVE_SYS_SELECT_H 1
3845| #define HAVE_SYS_SOCKET_H 1
3846| #define HAVE_SYS_UN_H 1
3847| #define HAVE_SYS_UIO_H 1
3848| #define HAVE_SYS_RESOURCE_H 1
3849| #define HAVE_ARPA_INET_H 1
3850| #define HAVE_SYSLOG_H 1
3851| #define HAVE_NETDB_H 1
3852| #define HAVE_SYS_WAIT_H 1
3853| #define HAVE_PWD_H 1
3854| #define HAVE_GLOB_H 1
3855| #define HAVE_GRP_H 1
3856| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3857| #define HAVE_SYS_IPC_H 1
3858| #define HAVE_SYS_SHM_H 1
3859| #define HAVE_IFADDRS_H 1
3860| #define HAVE_TARGETCONDITIONALS_H 1
3861| /* end confdefs.h.  */
3862| #include <stdio.h>
3863| #ifdef HAVE_SYS_TYPES_H
3864| # include <sys/types.h>
3865| #endif
3866| #ifdef HAVE_SYS_STAT_H
3867| # include <sys/stat.h>
3868| #endif
3869| #ifdef STDC_HEADERS
3870| # include <stdlib.h>
3871| # include <stddef.h>
3872| #else
3873| # ifdef HAVE_STDLIB_H
3874| #  include <stdlib.h>
3875| # endif
3876| #endif
3877| #ifdef HAVE_STRING_H
3878| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3879| #  include <memory.h>
3880| # endif
3881| # include <string.h>
3882| #endif
3883| #ifdef HAVE_STRINGS_H
3884| # include <strings.h>
3885| #endif
3886| #ifdef HAVE_INTTYPES_H
3887| # include <inttypes.h>
3888| #endif
3889| #ifdef HAVE_STDINT_H
3890| # include <stdint.h>
3891| #endif
3892| #ifdef HAVE_UNISTD_H
3893| # include <unistd.h>
3894| #endif
3895| int
3896| main ()
3897| {
3898| if (sizeof ((uint16_t)))
3899|           return 0;
3900|   ;
3901|   return 0;
3902| }
3903configure:14817: result: yes
3904configure:14828: checking for uint32_t
3905configure:14828: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3906configure:14828: $? = 0
3907configure:14828: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
3908conftest.c:105:23: error: expected expression
3909if (sizeof ((uint32_t)))
3910                      ^
39111 error generated.
3912configure:14828: $? = 1
3913configure: failed program was:
3914| /* confdefs.h */
3915| #define PACKAGE_NAME "unbound"
3916| #define PACKAGE_TARNAME "unbound"
3917| #define PACKAGE_VERSION "1.12.0"
3918| #define PACKAGE_STRING "unbound 1.12.0"
3919| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
3920| #define PACKAGE_URL ""
3921| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
3922| #define STDC_HEADERS 1
3923| #define HAVE_SYS_TYPES_H 1
3924| #define HAVE_SYS_STAT_H 1
3925| #define HAVE_STDLIB_H 1
3926| #define HAVE_STRING_H 1
3927| #define HAVE_MEMORY_H 1
3928| #define HAVE_STRINGS_H 1
3929| #define HAVE_INTTYPES_H 1
3930| #define HAVE_STDINT_H 1
3931| #define HAVE_UNISTD_H 1
3932| #define __EXTENSIONS__ 1
3933| #define _ALL_SOURCE 1
3934| #define _GNU_SOURCE 1
3935| #define _POSIX_PTHREAD_SEMANTICS 1
3936| #define _TANDEM_SOURCE 1
3937| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
3938| #define RUN_DIR "/opt/local/etc/unbound"
3939| #define CHROOT_DIR "/opt/local/etc/unbound"
3940| #define SHARE_DIR "/opt/local/etc/unbound"
3941| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
3942| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
3943| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
3944| #define UB_USERNAME "unbound"
3945| #define WINVER 0x0502
3946| #define RSRC_PACKAGE_VERSION 1,12,0,0
3947| #define HAVE_GETOPT_H 1
3948| #define HAVE_TIME_H 1
3949| #define HAVE_ATTR_FORMAT 1
3950| #define HAVE_ATTR_UNUSED 1
3951| #define HAVE_ATTR_WEAK 1
3952| #define ATTR_WEAK __attribute__((weak))
3953| #define HAVE_ATTR_NORETURN 1
3954| #define ATTR_NORETURN __attribute__((__noreturn__))
3955| #define YYTEXT_POINTER 1
3956| #define LEX_HAS_YYLEX_DESTROY 1
3957| #define HAVE_DLFCN_H 1
3958| #define LT_OBJDIR ".libs/"
3959| #define HAVE_STDARG_H 1
3960| #define HAVE_STDBOOL_H 1
3961| #define HAVE_NETINET_IN_H 1
3962| #define HAVE_NETINET_TCP_H 1
3963| #define HAVE_SYS_PARAM_H 1
3964| #define HAVE_SYS_SELECT_H 1
3965| #define HAVE_SYS_SOCKET_H 1
3966| #define HAVE_SYS_UN_H 1
3967| #define HAVE_SYS_UIO_H 1
3968| #define HAVE_SYS_RESOURCE_H 1
3969| #define HAVE_ARPA_INET_H 1
3970| #define HAVE_SYSLOG_H 1
3971| #define HAVE_NETDB_H 1
3972| #define HAVE_SYS_WAIT_H 1
3973| #define HAVE_PWD_H 1
3974| #define HAVE_GLOB_H 1
3975| #define HAVE_GRP_H 1
3976| #define HAVE_LIBKERN_OSBYTEORDER_H 1
3977| #define HAVE_SYS_IPC_H 1
3978| #define HAVE_SYS_SHM_H 1
3979| #define HAVE_IFADDRS_H 1
3980| #define HAVE_TARGETCONDITIONALS_H 1
3981| /* end confdefs.h.  */
3982| #include <stdio.h>
3983| #ifdef HAVE_SYS_TYPES_H
3984| # include <sys/types.h>
3985| #endif
3986| #ifdef HAVE_SYS_STAT_H
3987| # include <sys/stat.h>
3988| #endif
3989| #ifdef STDC_HEADERS
3990| # include <stdlib.h>
3991| # include <stddef.h>
3992| #else
3993| # ifdef HAVE_STDLIB_H
3994| #  include <stdlib.h>
3995| # endif
3996| #endif
3997| #ifdef HAVE_STRING_H
3998| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3999| #  include <memory.h>
4000| # endif
4001| # include <string.h>
4002| #endif
4003| #ifdef HAVE_STRINGS_H
4004| # include <strings.h>
4005| #endif
4006| #ifdef HAVE_INTTYPES_H
4007| # include <inttypes.h>
4008| #endif
4009| #ifdef HAVE_STDINT_H
4010| # include <stdint.h>
4011| #endif
4012| #ifdef HAVE_UNISTD_H
4013| # include <unistd.h>
4014| #endif
4015| int
4016| main ()
4017| {
4018| if (sizeof ((uint32_t)))
4019|           return 0;
4020|   ;
4021|   return 0;
4022| }
4023configure:14828: result: yes
4024configure:14839: checking for uint64_t
4025configure:14839: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4026configure:14839: $? = 0
4027configure:14839: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4028conftest.c:105:23: error: expected expression
4029if (sizeof ((uint64_t)))
4030                      ^
40311 error generated.
4032configure:14839: $? = 1
4033configure: failed program was:
4034| /* confdefs.h */
4035| #define PACKAGE_NAME "unbound"
4036| #define PACKAGE_TARNAME "unbound"
4037| #define PACKAGE_VERSION "1.12.0"
4038| #define PACKAGE_STRING "unbound 1.12.0"
4039| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4040| #define PACKAGE_URL ""
4041| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4042| #define STDC_HEADERS 1
4043| #define HAVE_SYS_TYPES_H 1
4044| #define HAVE_SYS_STAT_H 1
4045| #define HAVE_STDLIB_H 1
4046| #define HAVE_STRING_H 1
4047| #define HAVE_MEMORY_H 1
4048| #define HAVE_STRINGS_H 1
4049| #define HAVE_INTTYPES_H 1
4050| #define HAVE_STDINT_H 1
4051| #define HAVE_UNISTD_H 1
4052| #define __EXTENSIONS__ 1
4053| #define _ALL_SOURCE 1
4054| #define _GNU_SOURCE 1
4055| #define _POSIX_PTHREAD_SEMANTICS 1
4056| #define _TANDEM_SOURCE 1
4057| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4058| #define RUN_DIR "/opt/local/etc/unbound"
4059| #define CHROOT_DIR "/opt/local/etc/unbound"
4060| #define SHARE_DIR "/opt/local/etc/unbound"
4061| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4062| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4063| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4064| #define UB_USERNAME "unbound"
4065| #define WINVER 0x0502
4066| #define RSRC_PACKAGE_VERSION 1,12,0,0
4067| #define HAVE_GETOPT_H 1
4068| #define HAVE_TIME_H 1
4069| #define HAVE_ATTR_FORMAT 1
4070| #define HAVE_ATTR_UNUSED 1
4071| #define HAVE_ATTR_WEAK 1
4072| #define ATTR_WEAK __attribute__((weak))
4073| #define HAVE_ATTR_NORETURN 1
4074| #define ATTR_NORETURN __attribute__((__noreturn__))
4075| #define YYTEXT_POINTER 1
4076| #define LEX_HAS_YYLEX_DESTROY 1
4077| #define HAVE_DLFCN_H 1
4078| #define LT_OBJDIR ".libs/"
4079| #define HAVE_STDARG_H 1
4080| #define HAVE_STDBOOL_H 1
4081| #define HAVE_NETINET_IN_H 1
4082| #define HAVE_NETINET_TCP_H 1
4083| #define HAVE_SYS_PARAM_H 1
4084| #define HAVE_SYS_SELECT_H 1
4085| #define HAVE_SYS_SOCKET_H 1
4086| #define HAVE_SYS_UN_H 1
4087| #define HAVE_SYS_UIO_H 1
4088| #define HAVE_SYS_RESOURCE_H 1
4089| #define HAVE_ARPA_INET_H 1
4090| #define HAVE_SYSLOG_H 1
4091| #define HAVE_NETDB_H 1
4092| #define HAVE_SYS_WAIT_H 1
4093| #define HAVE_PWD_H 1
4094| #define HAVE_GLOB_H 1
4095| #define HAVE_GRP_H 1
4096| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4097| #define HAVE_SYS_IPC_H 1
4098| #define HAVE_SYS_SHM_H 1
4099| #define HAVE_IFADDRS_H 1
4100| #define HAVE_TARGETCONDITIONALS_H 1
4101| /* end confdefs.h.  */
4102| #include <stdio.h>
4103| #ifdef HAVE_SYS_TYPES_H
4104| # include <sys/types.h>
4105| #endif
4106| #ifdef HAVE_SYS_STAT_H
4107| # include <sys/stat.h>
4108| #endif
4109| #ifdef STDC_HEADERS
4110| # include <stdlib.h>
4111| # include <stddef.h>
4112| #else
4113| # ifdef HAVE_STDLIB_H
4114| #  include <stdlib.h>
4115| # endif
4116| #endif
4117| #ifdef HAVE_STRING_H
4118| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4119| #  include <memory.h>
4120| # endif
4121| # include <string.h>
4122| #endif
4123| #ifdef HAVE_STRINGS_H
4124| # include <strings.h>
4125| #endif
4126| #ifdef HAVE_INTTYPES_H
4127| # include <inttypes.h>
4128| #endif
4129| #ifdef HAVE_STDINT_H
4130| # include <stdint.h>
4131| #endif
4132| #ifdef HAVE_UNISTD_H
4133| # include <unistd.h>
4134| #endif
4135| int
4136| main ()
4137| {
4138| if (sizeof ((uint64_t)))
4139|           return 0;
4140|   ;
4141|   return 0;
4142| }
4143configure:14839: result: yes
4144configure:14850: checking for size_t
4145configure:14850: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4146configure:14850: $? = 0
4147configure:14850: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4148conftest.c:105:21: error: expected expression
4149if (sizeof ((size_t)))
4150                    ^
41511 error generated.
4152configure:14850: $? = 1
4153configure: failed program was:
4154| /* confdefs.h */
4155| #define PACKAGE_NAME "unbound"
4156| #define PACKAGE_TARNAME "unbound"
4157| #define PACKAGE_VERSION "1.12.0"
4158| #define PACKAGE_STRING "unbound 1.12.0"
4159| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4160| #define PACKAGE_URL ""
4161| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4162| #define STDC_HEADERS 1
4163| #define HAVE_SYS_TYPES_H 1
4164| #define HAVE_SYS_STAT_H 1
4165| #define HAVE_STDLIB_H 1
4166| #define HAVE_STRING_H 1
4167| #define HAVE_MEMORY_H 1
4168| #define HAVE_STRINGS_H 1
4169| #define HAVE_INTTYPES_H 1
4170| #define HAVE_STDINT_H 1
4171| #define HAVE_UNISTD_H 1
4172| #define __EXTENSIONS__ 1
4173| #define _ALL_SOURCE 1
4174| #define _GNU_SOURCE 1
4175| #define _POSIX_PTHREAD_SEMANTICS 1
4176| #define _TANDEM_SOURCE 1
4177| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4178| #define RUN_DIR "/opt/local/etc/unbound"
4179| #define CHROOT_DIR "/opt/local/etc/unbound"
4180| #define SHARE_DIR "/opt/local/etc/unbound"
4181| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4182| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4183| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4184| #define UB_USERNAME "unbound"
4185| #define WINVER 0x0502
4186| #define RSRC_PACKAGE_VERSION 1,12,0,0
4187| #define HAVE_GETOPT_H 1
4188| #define HAVE_TIME_H 1
4189| #define HAVE_ATTR_FORMAT 1
4190| #define HAVE_ATTR_UNUSED 1
4191| #define HAVE_ATTR_WEAK 1
4192| #define ATTR_WEAK __attribute__((weak))
4193| #define HAVE_ATTR_NORETURN 1
4194| #define ATTR_NORETURN __attribute__((__noreturn__))
4195| #define YYTEXT_POINTER 1
4196| #define LEX_HAS_YYLEX_DESTROY 1
4197| #define HAVE_DLFCN_H 1
4198| #define LT_OBJDIR ".libs/"
4199| #define HAVE_STDARG_H 1
4200| #define HAVE_STDBOOL_H 1
4201| #define HAVE_NETINET_IN_H 1
4202| #define HAVE_NETINET_TCP_H 1
4203| #define HAVE_SYS_PARAM_H 1
4204| #define HAVE_SYS_SELECT_H 1
4205| #define HAVE_SYS_SOCKET_H 1
4206| #define HAVE_SYS_UN_H 1
4207| #define HAVE_SYS_UIO_H 1
4208| #define HAVE_SYS_RESOURCE_H 1
4209| #define HAVE_ARPA_INET_H 1
4210| #define HAVE_SYSLOG_H 1
4211| #define HAVE_NETDB_H 1
4212| #define HAVE_SYS_WAIT_H 1
4213| #define HAVE_PWD_H 1
4214| #define HAVE_GLOB_H 1
4215| #define HAVE_GRP_H 1
4216| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4217| #define HAVE_SYS_IPC_H 1
4218| #define HAVE_SYS_SHM_H 1
4219| #define HAVE_IFADDRS_H 1
4220| #define HAVE_TARGETCONDITIONALS_H 1
4221| /* end confdefs.h.  */
4222| #include <stdio.h>
4223| #ifdef HAVE_SYS_TYPES_H
4224| # include <sys/types.h>
4225| #endif
4226| #ifdef HAVE_SYS_STAT_H
4227| # include <sys/stat.h>
4228| #endif
4229| #ifdef STDC_HEADERS
4230| # include <stdlib.h>
4231| # include <stddef.h>
4232| #else
4233| # ifdef HAVE_STDLIB_H
4234| #  include <stdlib.h>
4235| # endif
4236| #endif
4237| #ifdef HAVE_STRING_H
4238| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4239| #  include <memory.h>
4240| # endif
4241| # include <string.h>
4242| #endif
4243| #ifdef HAVE_STRINGS_H
4244| # include <strings.h>
4245| #endif
4246| #ifdef HAVE_INTTYPES_H
4247| # include <inttypes.h>
4248| #endif
4249| #ifdef HAVE_STDINT_H
4250| # include <stdint.h>
4251| #endif
4252| #ifdef HAVE_UNISTD_H
4253| # include <unistd.h>
4254| #endif
4255| int
4256| main ()
4257| {
4258| if (sizeof ((size_t)))
4259|           return 0;
4260|   ;
4261|   return 0;
4262| }
4263configure:14850: result: yes
4264configure:14861: checking for ssize_t
4265configure:14861: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4266configure:14861: $? = 0
4267configure:14861: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4268conftest.c:105:22: error: expected expression
4269if (sizeof ((ssize_t)))
4270                     ^
42711 error generated.
4272configure:14861: $? = 1
4273configure: failed program was:
4274| /* confdefs.h */
4275| #define PACKAGE_NAME "unbound"
4276| #define PACKAGE_TARNAME "unbound"
4277| #define PACKAGE_VERSION "1.12.0"
4278| #define PACKAGE_STRING "unbound 1.12.0"
4279| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4280| #define PACKAGE_URL ""
4281| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4282| #define STDC_HEADERS 1
4283| #define HAVE_SYS_TYPES_H 1
4284| #define HAVE_SYS_STAT_H 1
4285| #define HAVE_STDLIB_H 1
4286| #define HAVE_STRING_H 1
4287| #define HAVE_MEMORY_H 1
4288| #define HAVE_STRINGS_H 1
4289| #define HAVE_INTTYPES_H 1
4290| #define HAVE_STDINT_H 1
4291| #define HAVE_UNISTD_H 1
4292| #define __EXTENSIONS__ 1
4293| #define _ALL_SOURCE 1
4294| #define _GNU_SOURCE 1
4295| #define _POSIX_PTHREAD_SEMANTICS 1
4296| #define _TANDEM_SOURCE 1
4297| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4298| #define RUN_DIR "/opt/local/etc/unbound"
4299| #define CHROOT_DIR "/opt/local/etc/unbound"
4300| #define SHARE_DIR "/opt/local/etc/unbound"
4301| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4302| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4303| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4304| #define UB_USERNAME "unbound"
4305| #define WINVER 0x0502
4306| #define RSRC_PACKAGE_VERSION 1,12,0,0
4307| #define HAVE_GETOPT_H 1
4308| #define HAVE_TIME_H 1
4309| #define HAVE_ATTR_FORMAT 1
4310| #define HAVE_ATTR_UNUSED 1
4311| #define HAVE_ATTR_WEAK 1
4312| #define ATTR_WEAK __attribute__((weak))
4313| #define HAVE_ATTR_NORETURN 1
4314| #define ATTR_NORETURN __attribute__((__noreturn__))
4315| #define YYTEXT_POINTER 1
4316| #define LEX_HAS_YYLEX_DESTROY 1
4317| #define HAVE_DLFCN_H 1
4318| #define LT_OBJDIR ".libs/"
4319| #define HAVE_STDARG_H 1
4320| #define HAVE_STDBOOL_H 1
4321| #define HAVE_NETINET_IN_H 1
4322| #define HAVE_NETINET_TCP_H 1
4323| #define HAVE_SYS_PARAM_H 1
4324| #define HAVE_SYS_SELECT_H 1
4325| #define HAVE_SYS_SOCKET_H 1
4326| #define HAVE_SYS_UN_H 1
4327| #define HAVE_SYS_UIO_H 1
4328| #define HAVE_SYS_RESOURCE_H 1
4329| #define HAVE_ARPA_INET_H 1
4330| #define HAVE_SYSLOG_H 1
4331| #define HAVE_NETDB_H 1
4332| #define HAVE_SYS_WAIT_H 1
4333| #define HAVE_PWD_H 1
4334| #define HAVE_GLOB_H 1
4335| #define HAVE_GRP_H 1
4336| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4337| #define HAVE_SYS_IPC_H 1
4338| #define HAVE_SYS_SHM_H 1
4339| #define HAVE_IFADDRS_H 1
4340| #define HAVE_TARGETCONDITIONALS_H 1
4341| /* end confdefs.h.  */
4342| #include <stdio.h>
4343| #ifdef HAVE_SYS_TYPES_H
4344| # include <sys/types.h>
4345| #endif
4346| #ifdef HAVE_SYS_STAT_H
4347| # include <sys/stat.h>
4348| #endif
4349| #ifdef STDC_HEADERS
4350| # include <stdlib.h>
4351| # include <stddef.h>
4352| #else
4353| # ifdef HAVE_STDLIB_H
4354| #  include <stdlib.h>
4355| # endif
4356| #endif
4357| #ifdef HAVE_STRING_H
4358| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4359| #  include <memory.h>
4360| # endif
4361| # include <string.h>
4362| #endif
4363| #ifdef HAVE_STRINGS_H
4364| # include <strings.h>
4365| #endif
4366| #ifdef HAVE_INTTYPES_H
4367| # include <inttypes.h>
4368| #endif
4369| #ifdef HAVE_STDINT_H
4370| # include <stdint.h>
4371| #endif
4372| #ifdef HAVE_UNISTD_H
4373| # include <unistd.h>
4374| #endif
4375| int
4376| main ()
4377| {
4378| if (sizeof ((ssize_t)))
4379|           return 0;
4380|   ;
4381|   return 0;
4382| }
4383configure:14861: result: yes
4384configure:14872: checking for uid_t in sys/types.h
4385configure:14891: result: yes
4386configure:14902: checking for pid_t
4387configure:14902: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4388configure:14902: $? = 0
4389configure:14902: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4390conftest.c:105:20: error: expected expression
4391if (sizeof ((pid_t)))
4392                   ^
43931 error generated.
4394configure:14902: $? = 1
4395configure: failed program was:
4396| /* confdefs.h */
4397| #define PACKAGE_NAME "unbound"
4398| #define PACKAGE_TARNAME "unbound"
4399| #define PACKAGE_VERSION "1.12.0"
4400| #define PACKAGE_STRING "unbound 1.12.0"
4401| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4402| #define PACKAGE_URL ""
4403| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4404| #define STDC_HEADERS 1
4405| #define HAVE_SYS_TYPES_H 1
4406| #define HAVE_SYS_STAT_H 1
4407| #define HAVE_STDLIB_H 1
4408| #define HAVE_STRING_H 1
4409| #define HAVE_MEMORY_H 1
4410| #define HAVE_STRINGS_H 1
4411| #define HAVE_INTTYPES_H 1
4412| #define HAVE_STDINT_H 1
4413| #define HAVE_UNISTD_H 1
4414| #define __EXTENSIONS__ 1
4415| #define _ALL_SOURCE 1
4416| #define _GNU_SOURCE 1
4417| #define _POSIX_PTHREAD_SEMANTICS 1
4418| #define _TANDEM_SOURCE 1
4419| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4420| #define RUN_DIR "/opt/local/etc/unbound"
4421| #define CHROOT_DIR "/opt/local/etc/unbound"
4422| #define SHARE_DIR "/opt/local/etc/unbound"
4423| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4424| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4425| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4426| #define UB_USERNAME "unbound"
4427| #define WINVER 0x0502
4428| #define RSRC_PACKAGE_VERSION 1,12,0,0
4429| #define HAVE_GETOPT_H 1
4430| #define HAVE_TIME_H 1
4431| #define HAVE_ATTR_FORMAT 1
4432| #define HAVE_ATTR_UNUSED 1
4433| #define HAVE_ATTR_WEAK 1
4434| #define ATTR_WEAK __attribute__((weak))
4435| #define HAVE_ATTR_NORETURN 1
4436| #define ATTR_NORETURN __attribute__((__noreturn__))
4437| #define YYTEXT_POINTER 1
4438| #define LEX_HAS_YYLEX_DESTROY 1
4439| #define HAVE_DLFCN_H 1
4440| #define LT_OBJDIR ".libs/"
4441| #define HAVE_STDARG_H 1
4442| #define HAVE_STDBOOL_H 1
4443| #define HAVE_NETINET_IN_H 1
4444| #define HAVE_NETINET_TCP_H 1
4445| #define HAVE_SYS_PARAM_H 1
4446| #define HAVE_SYS_SELECT_H 1
4447| #define HAVE_SYS_SOCKET_H 1
4448| #define HAVE_SYS_UN_H 1
4449| #define HAVE_SYS_UIO_H 1
4450| #define HAVE_SYS_RESOURCE_H 1
4451| #define HAVE_ARPA_INET_H 1
4452| #define HAVE_SYSLOG_H 1
4453| #define HAVE_NETDB_H 1
4454| #define HAVE_SYS_WAIT_H 1
4455| #define HAVE_PWD_H 1
4456| #define HAVE_GLOB_H 1
4457| #define HAVE_GRP_H 1
4458| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4459| #define HAVE_SYS_IPC_H 1
4460| #define HAVE_SYS_SHM_H 1
4461| #define HAVE_IFADDRS_H 1
4462| #define HAVE_TARGETCONDITIONALS_H 1
4463| /* end confdefs.h.  */
4464| #include <stdio.h>
4465| #ifdef HAVE_SYS_TYPES_H
4466| # include <sys/types.h>
4467| #endif
4468| #ifdef HAVE_SYS_STAT_H
4469| # include <sys/stat.h>
4470| #endif
4471| #ifdef STDC_HEADERS
4472| # include <stdlib.h>
4473| # include <stddef.h>
4474| #else
4475| # ifdef HAVE_STDLIB_H
4476| #  include <stdlib.h>
4477| # endif
4478| #endif
4479| #ifdef HAVE_STRING_H
4480| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4481| #  include <memory.h>
4482| # endif
4483| # include <string.h>
4484| #endif
4485| #ifdef HAVE_STRINGS_H
4486| # include <strings.h>
4487| #endif
4488| #ifdef HAVE_INTTYPES_H
4489| # include <inttypes.h>
4490| #endif
4491| #ifdef HAVE_STDINT_H
4492| # include <stdint.h>
4493| #endif
4494| #ifdef HAVE_UNISTD_H
4495| # include <unistd.h>
4496| #endif
4497| int
4498| main ()
4499| {
4500| if (sizeof ((pid_t)))
4501|           return 0;
4502|   ;
4503|   return 0;
4504| }
4505configure:14902: result: yes
4506configure:14913: checking for off_t
4507configure:14913: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4508configure:14913: $? = 0
4509configure:14913: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4510conftest.c:105:20: error: expected expression
4511if (sizeof ((off_t)))
4512                   ^
45131 error generated.
4514configure:14913: $? = 1
4515configure: failed program was:
4516| /* confdefs.h */
4517| #define PACKAGE_NAME "unbound"
4518| #define PACKAGE_TARNAME "unbound"
4519| #define PACKAGE_VERSION "1.12.0"
4520| #define PACKAGE_STRING "unbound 1.12.0"
4521| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4522| #define PACKAGE_URL ""
4523| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4524| #define STDC_HEADERS 1
4525| #define HAVE_SYS_TYPES_H 1
4526| #define HAVE_SYS_STAT_H 1
4527| #define HAVE_STDLIB_H 1
4528| #define HAVE_STRING_H 1
4529| #define HAVE_MEMORY_H 1
4530| #define HAVE_STRINGS_H 1
4531| #define HAVE_INTTYPES_H 1
4532| #define HAVE_STDINT_H 1
4533| #define HAVE_UNISTD_H 1
4534| #define __EXTENSIONS__ 1
4535| #define _ALL_SOURCE 1
4536| #define _GNU_SOURCE 1
4537| #define _POSIX_PTHREAD_SEMANTICS 1
4538| #define _TANDEM_SOURCE 1
4539| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4540| #define RUN_DIR "/opt/local/etc/unbound"
4541| #define CHROOT_DIR "/opt/local/etc/unbound"
4542| #define SHARE_DIR "/opt/local/etc/unbound"
4543| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4544| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4545| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4546| #define UB_USERNAME "unbound"
4547| #define WINVER 0x0502
4548| #define RSRC_PACKAGE_VERSION 1,12,0,0
4549| #define HAVE_GETOPT_H 1
4550| #define HAVE_TIME_H 1
4551| #define HAVE_ATTR_FORMAT 1
4552| #define HAVE_ATTR_UNUSED 1
4553| #define HAVE_ATTR_WEAK 1
4554| #define ATTR_WEAK __attribute__((weak))
4555| #define HAVE_ATTR_NORETURN 1
4556| #define ATTR_NORETURN __attribute__((__noreturn__))
4557| #define YYTEXT_POINTER 1
4558| #define LEX_HAS_YYLEX_DESTROY 1
4559| #define HAVE_DLFCN_H 1
4560| #define LT_OBJDIR ".libs/"
4561| #define HAVE_STDARG_H 1
4562| #define HAVE_STDBOOL_H 1
4563| #define HAVE_NETINET_IN_H 1
4564| #define HAVE_NETINET_TCP_H 1
4565| #define HAVE_SYS_PARAM_H 1
4566| #define HAVE_SYS_SELECT_H 1
4567| #define HAVE_SYS_SOCKET_H 1
4568| #define HAVE_SYS_UN_H 1
4569| #define HAVE_SYS_UIO_H 1
4570| #define HAVE_SYS_RESOURCE_H 1
4571| #define HAVE_ARPA_INET_H 1
4572| #define HAVE_SYSLOG_H 1
4573| #define HAVE_NETDB_H 1
4574| #define HAVE_SYS_WAIT_H 1
4575| #define HAVE_PWD_H 1
4576| #define HAVE_GLOB_H 1
4577| #define HAVE_GRP_H 1
4578| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4579| #define HAVE_SYS_IPC_H 1
4580| #define HAVE_SYS_SHM_H 1
4581| #define HAVE_IFADDRS_H 1
4582| #define HAVE_TARGETCONDITIONALS_H 1
4583| /* end confdefs.h.  */
4584| #include <stdio.h>
4585| #ifdef HAVE_SYS_TYPES_H
4586| # include <sys/types.h>
4587| #endif
4588| #ifdef HAVE_SYS_STAT_H
4589| # include <sys/stat.h>
4590| #endif
4591| #ifdef STDC_HEADERS
4592| # include <stdlib.h>
4593| # include <stddef.h>
4594| #else
4595| # ifdef HAVE_STDLIB_H
4596| #  include <stdlib.h>
4597| # endif
4598| #endif
4599| #ifdef HAVE_STRING_H
4600| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4601| #  include <memory.h>
4602| # endif
4603| # include <string.h>
4604| #endif
4605| #ifdef HAVE_STRINGS_H
4606| # include <strings.h>
4607| #endif
4608| #ifdef HAVE_INTTYPES_H
4609| # include <inttypes.h>
4610| #endif
4611| #ifdef HAVE_STDINT_H
4612| # include <stdint.h>
4613| #endif
4614| #ifdef HAVE_UNISTD_H
4615| # include <unistd.h>
4616| #endif
4617| int
4618| main ()
4619| {
4620| if (sizeof ((off_t)))
4621|           return 0;
4622|   ;
4623|   return 0;
4624| }
4625configure:14913: result: yes
4626configure:14924: checking for u_char
4627configure:14924: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4628configure:14924: $? = 0
4629configure:14924: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4630conftest.c:111:21: error: expected expression
4631if (sizeof ((u_char)))
4632                    ^
46331 error generated.
4634configure:14924: $? = 1
4635configure: failed program was:
4636| /* confdefs.h */
4637| #define PACKAGE_NAME "unbound"
4638| #define PACKAGE_TARNAME "unbound"
4639| #define PACKAGE_VERSION "1.12.0"
4640| #define PACKAGE_STRING "unbound 1.12.0"
4641| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4642| #define PACKAGE_URL ""
4643| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4644| #define STDC_HEADERS 1
4645| #define HAVE_SYS_TYPES_H 1
4646| #define HAVE_SYS_STAT_H 1
4647| #define HAVE_STDLIB_H 1
4648| #define HAVE_STRING_H 1
4649| #define HAVE_MEMORY_H 1
4650| #define HAVE_STRINGS_H 1
4651| #define HAVE_INTTYPES_H 1
4652| #define HAVE_STDINT_H 1
4653| #define HAVE_UNISTD_H 1
4654| #define __EXTENSIONS__ 1
4655| #define _ALL_SOURCE 1
4656| #define _GNU_SOURCE 1
4657| #define _POSIX_PTHREAD_SEMANTICS 1
4658| #define _TANDEM_SOURCE 1
4659| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4660| #define RUN_DIR "/opt/local/etc/unbound"
4661| #define CHROOT_DIR "/opt/local/etc/unbound"
4662| #define SHARE_DIR "/opt/local/etc/unbound"
4663| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4664| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4665| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4666| #define UB_USERNAME "unbound"
4667| #define WINVER 0x0502
4668| #define RSRC_PACKAGE_VERSION 1,12,0,0
4669| #define HAVE_GETOPT_H 1
4670| #define HAVE_TIME_H 1
4671| #define HAVE_ATTR_FORMAT 1
4672| #define HAVE_ATTR_UNUSED 1
4673| #define HAVE_ATTR_WEAK 1
4674| #define ATTR_WEAK __attribute__((weak))
4675| #define HAVE_ATTR_NORETURN 1
4676| #define ATTR_NORETURN __attribute__((__noreturn__))
4677| #define YYTEXT_POINTER 1
4678| #define LEX_HAS_YYLEX_DESTROY 1
4679| #define HAVE_DLFCN_H 1
4680| #define LT_OBJDIR ".libs/"
4681| #define HAVE_STDARG_H 1
4682| #define HAVE_STDBOOL_H 1
4683| #define HAVE_NETINET_IN_H 1
4684| #define HAVE_NETINET_TCP_H 1
4685| #define HAVE_SYS_PARAM_H 1
4686| #define HAVE_SYS_SELECT_H 1
4687| #define HAVE_SYS_SOCKET_H 1
4688| #define HAVE_SYS_UN_H 1
4689| #define HAVE_SYS_UIO_H 1
4690| #define HAVE_SYS_RESOURCE_H 1
4691| #define HAVE_ARPA_INET_H 1
4692| #define HAVE_SYSLOG_H 1
4693| #define HAVE_NETDB_H 1
4694| #define HAVE_SYS_WAIT_H 1
4695| #define HAVE_PWD_H 1
4696| #define HAVE_GLOB_H 1
4697| #define HAVE_GRP_H 1
4698| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4699| #define HAVE_SYS_IPC_H 1
4700| #define HAVE_SYS_SHM_H 1
4701| #define HAVE_IFADDRS_H 1
4702| #define HAVE_TARGETCONDITIONALS_H 1
4703| /* end confdefs.h.  */
4704|
4705| #include <stdio.h>
4706| #ifdef HAVE_SYS_TYPES_H
4707| # include <sys/types.h>
4708| #endif
4709| #ifdef HAVE_SYS_STAT_H
4710| # include <sys/stat.h>
4711| #endif
4712| #ifdef STDC_HEADERS
4713| # include <stdlib.h>
4714| # include <stddef.h>
4715| #else
4716| # ifdef HAVE_STDLIB_H
4717| #  include <stdlib.h>
4718| # endif
4719| #endif
4720| #ifdef HAVE_STRING_H
4721| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4722| #  include <memory.h>
4723| # endif
4724| # include <string.h>
4725| #endif
4726| #ifdef HAVE_STRINGS_H
4727| # include <strings.h>
4728| #endif
4729| #ifdef HAVE_INTTYPES_H
4730| # include <inttypes.h>
4731| #endif
4732| #ifdef HAVE_STDINT_H
4733| # include <stdint.h>
4734| #endif
4735| #ifdef HAVE_UNISTD_H
4736| # include <unistd.h>
4737| #endif
4738| #ifdef HAVE_WINSOCK2_H
4739| #  include <winsock2.h>
4740| #endif
4741|
4742|
4743| int
4744| main ()
4745| {
4746| if (sizeof ((u_char)))
4747|           return 0;
4748|   ;
4749|   return 0;
4750| }
4751configure:14924: result: yes
4752configure:14939: checking for rlim_t
4753configure:14939: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4754configure:14939: $? = 0
4755configure:14939: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4756conftest.c:111:21: error: expected expression
4757if (sizeof ((rlim_t)))
4758                    ^
47591 error generated.
4760configure:14939: $? = 1
4761configure: failed program was:
4762| /* confdefs.h */
4763| #define PACKAGE_NAME "unbound"
4764| #define PACKAGE_TARNAME "unbound"
4765| #define PACKAGE_VERSION "1.12.0"
4766| #define PACKAGE_STRING "unbound 1.12.0"
4767| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4768| #define PACKAGE_URL ""
4769| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4770| #define STDC_HEADERS 1
4771| #define HAVE_SYS_TYPES_H 1
4772| #define HAVE_SYS_STAT_H 1
4773| #define HAVE_STDLIB_H 1
4774| #define HAVE_STRING_H 1
4775| #define HAVE_MEMORY_H 1
4776| #define HAVE_STRINGS_H 1
4777| #define HAVE_INTTYPES_H 1
4778| #define HAVE_STDINT_H 1
4779| #define HAVE_UNISTD_H 1
4780| #define __EXTENSIONS__ 1
4781| #define _ALL_SOURCE 1
4782| #define _GNU_SOURCE 1
4783| #define _POSIX_PTHREAD_SEMANTICS 1
4784| #define _TANDEM_SOURCE 1
4785| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4786| #define RUN_DIR "/opt/local/etc/unbound"
4787| #define CHROOT_DIR "/opt/local/etc/unbound"
4788| #define SHARE_DIR "/opt/local/etc/unbound"
4789| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4790| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4791| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4792| #define UB_USERNAME "unbound"
4793| #define WINVER 0x0502
4794| #define RSRC_PACKAGE_VERSION 1,12,0,0
4795| #define HAVE_GETOPT_H 1
4796| #define HAVE_TIME_H 1
4797| #define HAVE_ATTR_FORMAT 1
4798| #define HAVE_ATTR_UNUSED 1
4799| #define HAVE_ATTR_WEAK 1
4800| #define ATTR_WEAK __attribute__((weak))
4801| #define HAVE_ATTR_NORETURN 1
4802| #define ATTR_NORETURN __attribute__((__noreturn__))
4803| #define YYTEXT_POINTER 1
4804| #define LEX_HAS_YYLEX_DESTROY 1
4805| #define HAVE_DLFCN_H 1
4806| #define LT_OBJDIR ".libs/"
4807| #define HAVE_STDARG_H 1
4808| #define HAVE_STDBOOL_H 1
4809| #define HAVE_NETINET_IN_H 1
4810| #define HAVE_NETINET_TCP_H 1
4811| #define HAVE_SYS_PARAM_H 1
4812| #define HAVE_SYS_SELECT_H 1
4813| #define HAVE_SYS_SOCKET_H 1
4814| #define HAVE_SYS_UN_H 1
4815| #define HAVE_SYS_UIO_H 1
4816| #define HAVE_SYS_RESOURCE_H 1
4817| #define HAVE_ARPA_INET_H 1
4818| #define HAVE_SYSLOG_H 1
4819| #define HAVE_NETDB_H 1
4820| #define HAVE_SYS_WAIT_H 1
4821| #define HAVE_PWD_H 1
4822| #define HAVE_GLOB_H 1
4823| #define HAVE_GRP_H 1
4824| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4825| #define HAVE_SYS_IPC_H 1
4826| #define HAVE_SYS_SHM_H 1
4827| #define HAVE_IFADDRS_H 1
4828| #define HAVE_TARGETCONDITIONALS_H 1
4829| /* end confdefs.h.  */
4830|
4831| #include <stdio.h>
4832| #ifdef HAVE_SYS_TYPES_H
4833| # include <sys/types.h>
4834| #endif
4835| #ifdef HAVE_SYS_STAT_H
4836| # include <sys/stat.h>
4837| #endif
4838| #ifdef STDC_HEADERS
4839| # include <stdlib.h>
4840| # include <stddef.h>
4841| #else
4842| # ifdef HAVE_STDLIB_H
4843| #  include <stdlib.h>
4844| # endif
4845| #endif
4846| #ifdef HAVE_STRING_H
4847| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4848| #  include <memory.h>
4849| # endif
4850| # include <string.h>
4851| #endif
4852| #ifdef HAVE_STRINGS_H
4853| # include <strings.h>
4854| #endif
4855| #ifdef HAVE_INTTYPES_H
4856| # include <inttypes.h>
4857| #endif
4858| #ifdef HAVE_STDINT_H
4859| # include <stdint.h>
4860| #endif
4861| #ifdef HAVE_UNISTD_H
4862| # include <unistd.h>
4863| #endif
4864| #ifdef HAVE_SYS_RESOURCE_H
4865| #  include <sys/resource.h>
4866| #endif
4867|
4868|
4869| int
4870| main ()
4871| {
4872| if (sizeof ((rlim_t)))
4873|           return 0;
4874|   ;
4875|   return 0;
4876| }
4877configure:14939: result: yes
4878configure:14955: checking for socklen_t
4879configure:14955: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4880configure:14955: $? = 0
4881configure:14955: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
4882conftest.c:114:24: error: expected expression
4883if (sizeof ((socklen_t)))
4884                       ^
48851 error generated.
4886configure:14955: $? = 1
4887configure: failed program was:
4888| /* confdefs.h */
4889| #define PACKAGE_NAME "unbound"
4890| #define PACKAGE_TARNAME "unbound"
4891| #define PACKAGE_VERSION "1.12.0"
4892| #define PACKAGE_STRING "unbound 1.12.0"
4893| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
4894| #define PACKAGE_URL ""
4895| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
4896| #define STDC_HEADERS 1
4897| #define HAVE_SYS_TYPES_H 1
4898| #define HAVE_SYS_STAT_H 1
4899| #define HAVE_STDLIB_H 1
4900| #define HAVE_STRING_H 1
4901| #define HAVE_MEMORY_H 1
4902| #define HAVE_STRINGS_H 1
4903| #define HAVE_INTTYPES_H 1
4904| #define HAVE_STDINT_H 1
4905| #define HAVE_UNISTD_H 1
4906| #define __EXTENSIONS__ 1
4907| #define _ALL_SOURCE 1
4908| #define _GNU_SOURCE 1
4909| #define _POSIX_PTHREAD_SEMANTICS 1
4910| #define _TANDEM_SOURCE 1
4911| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4912| #define RUN_DIR "/opt/local/etc/unbound"
4913| #define CHROOT_DIR "/opt/local/etc/unbound"
4914| #define SHARE_DIR "/opt/local/etc/unbound"
4915| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4916| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
4917| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4918| #define UB_USERNAME "unbound"
4919| #define WINVER 0x0502
4920| #define RSRC_PACKAGE_VERSION 1,12,0,0
4921| #define HAVE_GETOPT_H 1
4922| #define HAVE_TIME_H 1
4923| #define HAVE_ATTR_FORMAT 1
4924| #define HAVE_ATTR_UNUSED 1
4925| #define HAVE_ATTR_WEAK 1
4926| #define ATTR_WEAK __attribute__((weak))
4927| #define HAVE_ATTR_NORETURN 1
4928| #define ATTR_NORETURN __attribute__((__noreturn__))
4929| #define YYTEXT_POINTER 1
4930| #define LEX_HAS_YYLEX_DESTROY 1
4931| #define HAVE_DLFCN_H 1
4932| #define LT_OBJDIR ".libs/"
4933| #define HAVE_STDARG_H 1
4934| #define HAVE_STDBOOL_H 1
4935| #define HAVE_NETINET_IN_H 1
4936| #define HAVE_NETINET_TCP_H 1
4937| #define HAVE_SYS_PARAM_H 1
4938| #define HAVE_SYS_SELECT_H 1
4939| #define HAVE_SYS_SOCKET_H 1
4940| #define HAVE_SYS_UN_H 1
4941| #define HAVE_SYS_UIO_H 1
4942| #define HAVE_SYS_RESOURCE_H 1
4943| #define HAVE_ARPA_INET_H 1
4944| #define HAVE_SYSLOG_H 1
4945| #define HAVE_NETDB_H 1
4946| #define HAVE_SYS_WAIT_H 1
4947| #define HAVE_PWD_H 1
4948| #define HAVE_GLOB_H 1
4949| #define HAVE_GRP_H 1
4950| #define HAVE_LIBKERN_OSBYTEORDER_H 1
4951| #define HAVE_SYS_IPC_H 1
4952| #define HAVE_SYS_SHM_H 1
4953| #define HAVE_IFADDRS_H 1
4954| #define HAVE_TARGETCONDITIONALS_H 1
4955| /* end confdefs.h.  */
4956|
4957| #include <stdio.h>
4958| #ifdef HAVE_SYS_TYPES_H
4959| # include <sys/types.h>
4960| #endif
4961| #ifdef HAVE_SYS_STAT_H
4962| # include <sys/stat.h>
4963| #endif
4964| #ifdef STDC_HEADERS
4965| # include <stdlib.h>
4966| # include <stddef.h>
4967| #else
4968| # ifdef HAVE_STDLIB_H
4969| #  include <stdlib.h>
4970| # endif
4971| #endif
4972| #ifdef HAVE_STRING_H
4973| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4974| #  include <memory.h>
4975| # endif
4976| # include <string.h>
4977| #endif
4978| #ifdef HAVE_STRINGS_H
4979| # include <strings.h>
4980| #endif
4981| #ifdef HAVE_INTTYPES_H
4982| # include <inttypes.h>
4983| #endif
4984| #ifdef HAVE_STDINT_H
4985| # include <stdint.h>
4986| #endif
4987| #ifdef HAVE_UNISTD_H
4988| # include <unistd.h>
4989| #endif
4990| #ifdef HAVE_SYS_SOCKET_H
4991| #  include <sys/socket.h>
4992| #endif
4993| #ifdef HAVE_WS2TCPIP_H
4994| #  include <ws2tcpip.h>
4995| #endif
4996|
4997|
4998| int
4999| main ()
5000| {
5001| if (sizeof ((socklen_t)))
5002|           return 0;
5003|   ;
5004|   return 0;
5005| }
5006configure:14955: result: yes
5007configure:14973: checking for in_addr_t
5008configure:14973: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5009configure:14973: $? = 0
5010configure:14973: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5011conftest.c:114:24: error: expected expression
5012if (sizeof ((in_addr_t)))
5013                       ^
50141 error generated.
5015configure:14973: $? = 1
5016configure: failed program was:
5017| /* confdefs.h */
5018| #define PACKAGE_NAME "unbound"
5019| #define PACKAGE_TARNAME "unbound"
5020| #define PACKAGE_VERSION "1.12.0"
5021| #define PACKAGE_STRING "unbound 1.12.0"
5022| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5023| #define PACKAGE_URL ""
5024| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5025| #define STDC_HEADERS 1
5026| #define HAVE_SYS_TYPES_H 1
5027| #define HAVE_SYS_STAT_H 1
5028| #define HAVE_STDLIB_H 1
5029| #define HAVE_STRING_H 1
5030| #define HAVE_MEMORY_H 1
5031| #define HAVE_STRINGS_H 1
5032| #define HAVE_INTTYPES_H 1
5033| #define HAVE_STDINT_H 1
5034| #define HAVE_UNISTD_H 1
5035| #define __EXTENSIONS__ 1
5036| #define _ALL_SOURCE 1
5037| #define _GNU_SOURCE 1
5038| #define _POSIX_PTHREAD_SEMANTICS 1
5039| #define _TANDEM_SOURCE 1
5040| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5041| #define RUN_DIR "/opt/local/etc/unbound"
5042| #define CHROOT_DIR "/opt/local/etc/unbound"
5043| #define SHARE_DIR "/opt/local/etc/unbound"
5044| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5045| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5046| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5047| #define UB_USERNAME "unbound"
5048| #define WINVER 0x0502
5049| #define RSRC_PACKAGE_VERSION 1,12,0,0
5050| #define HAVE_GETOPT_H 1
5051| #define HAVE_TIME_H 1
5052| #define HAVE_ATTR_FORMAT 1
5053| #define HAVE_ATTR_UNUSED 1
5054| #define HAVE_ATTR_WEAK 1
5055| #define ATTR_WEAK __attribute__((weak))
5056| #define HAVE_ATTR_NORETURN 1
5057| #define ATTR_NORETURN __attribute__((__noreturn__))
5058| #define YYTEXT_POINTER 1
5059| #define LEX_HAS_YYLEX_DESTROY 1
5060| #define HAVE_DLFCN_H 1
5061| #define LT_OBJDIR ".libs/"
5062| #define HAVE_STDARG_H 1
5063| #define HAVE_STDBOOL_H 1
5064| #define HAVE_NETINET_IN_H 1
5065| #define HAVE_NETINET_TCP_H 1
5066| #define HAVE_SYS_PARAM_H 1
5067| #define HAVE_SYS_SELECT_H 1
5068| #define HAVE_SYS_SOCKET_H 1
5069| #define HAVE_SYS_UN_H 1
5070| #define HAVE_SYS_UIO_H 1
5071| #define HAVE_SYS_RESOURCE_H 1
5072| #define HAVE_ARPA_INET_H 1
5073| #define HAVE_SYSLOG_H 1
5074| #define HAVE_NETDB_H 1
5075| #define HAVE_SYS_WAIT_H 1
5076| #define HAVE_PWD_H 1
5077| #define HAVE_GLOB_H 1
5078| #define HAVE_GRP_H 1
5079| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5080| #define HAVE_SYS_IPC_H 1
5081| #define HAVE_SYS_SHM_H 1
5082| #define HAVE_IFADDRS_H 1
5083| #define HAVE_TARGETCONDITIONALS_H 1
5084| /* end confdefs.h.  */
5085|
5086| #include <stdio.h>
5087| #ifdef HAVE_SYS_TYPES_H
5088| # include <sys/types.h>
5089| #endif
5090| #ifdef HAVE_SYS_STAT_H
5091| # include <sys/stat.h>
5092| #endif
5093| #ifdef STDC_HEADERS
5094| # include <stdlib.h>
5095| # include <stddef.h>
5096| #else
5097| # ifdef HAVE_STDLIB_H
5098| #  include <stdlib.h>
5099| # endif
5100| #endif
5101| #ifdef HAVE_STRING_H
5102| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5103| #  include <memory.h>
5104| # endif
5105| # include <string.h>
5106| #endif
5107| #ifdef HAVE_STRINGS_H
5108| # include <strings.h>
5109| #endif
5110| #ifdef HAVE_INTTYPES_H
5111| # include <inttypes.h>
5112| #endif
5113| #ifdef HAVE_STDINT_H
5114| # include <stdint.h>
5115| #endif
5116| #ifdef HAVE_UNISTD_H
5117| # include <unistd.h>
5118| #endif
5119| #ifdef HAVE_SYS_TYPES_H
5120| # include <sys/types.h>
5121| #endif
5122| #ifdef HAVE_NETINET_IN_H
5123| # include <netinet/in.h>
5124| #endif
5125|
5126|
5127| int
5128| main ()
5129| {
5130| if (sizeof ((in_addr_t)))
5131|           return 0;
5132|   ;
5133|   return 0;
5134| }
5135configure:14973: result: yes
5136configure:14991: checking for in_port_t
5137configure:14991: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5138configure:14991: $? = 0
5139configure:14991: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5140conftest.c:114:24: error: expected expression
5141if (sizeof ((in_port_t)))
5142                       ^
51431 error generated.
5144configure:14991: $? = 1
5145configure: failed program was:
5146| /* confdefs.h */
5147| #define PACKAGE_NAME "unbound"
5148| #define PACKAGE_TARNAME "unbound"
5149| #define PACKAGE_VERSION "1.12.0"
5150| #define PACKAGE_STRING "unbound 1.12.0"
5151| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5152| #define PACKAGE_URL ""
5153| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5154| #define STDC_HEADERS 1
5155| #define HAVE_SYS_TYPES_H 1
5156| #define HAVE_SYS_STAT_H 1
5157| #define HAVE_STDLIB_H 1
5158| #define HAVE_STRING_H 1
5159| #define HAVE_MEMORY_H 1
5160| #define HAVE_STRINGS_H 1
5161| #define HAVE_INTTYPES_H 1
5162| #define HAVE_STDINT_H 1
5163| #define HAVE_UNISTD_H 1
5164| #define __EXTENSIONS__ 1
5165| #define _ALL_SOURCE 1
5166| #define _GNU_SOURCE 1
5167| #define _POSIX_PTHREAD_SEMANTICS 1
5168| #define _TANDEM_SOURCE 1
5169| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5170| #define RUN_DIR "/opt/local/etc/unbound"
5171| #define CHROOT_DIR "/opt/local/etc/unbound"
5172| #define SHARE_DIR "/opt/local/etc/unbound"
5173| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5174| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5175| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5176| #define UB_USERNAME "unbound"
5177| #define WINVER 0x0502
5178| #define RSRC_PACKAGE_VERSION 1,12,0,0
5179| #define HAVE_GETOPT_H 1
5180| #define HAVE_TIME_H 1
5181| #define HAVE_ATTR_FORMAT 1
5182| #define HAVE_ATTR_UNUSED 1
5183| #define HAVE_ATTR_WEAK 1
5184| #define ATTR_WEAK __attribute__((weak))
5185| #define HAVE_ATTR_NORETURN 1
5186| #define ATTR_NORETURN __attribute__((__noreturn__))
5187| #define YYTEXT_POINTER 1
5188| #define LEX_HAS_YYLEX_DESTROY 1
5189| #define HAVE_DLFCN_H 1
5190| #define LT_OBJDIR ".libs/"
5191| #define HAVE_STDARG_H 1
5192| #define HAVE_STDBOOL_H 1
5193| #define HAVE_NETINET_IN_H 1
5194| #define HAVE_NETINET_TCP_H 1
5195| #define HAVE_SYS_PARAM_H 1
5196| #define HAVE_SYS_SELECT_H 1
5197| #define HAVE_SYS_SOCKET_H 1
5198| #define HAVE_SYS_UN_H 1
5199| #define HAVE_SYS_UIO_H 1
5200| #define HAVE_SYS_RESOURCE_H 1
5201| #define HAVE_ARPA_INET_H 1
5202| #define HAVE_SYSLOG_H 1
5203| #define HAVE_NETDB_H 1
5204| #define HAVE_SYS_WAIT_H 1
5205| #define HAVE_PWD_H 1
5206| #define HAVE_GLOB_H 1
5207| #define HAVE_GRP_H 1
5208| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5209| #define HAVE_SYS_IPC_H 1
5210| #define HAVE_SYS_SHM_H 1
5211| #define HAVE_IFADDRS_H 1
5212| #define HAVE_TARGETCONDITIONALS_H 1
5213| /* end confdefs.h.  */
5214|
5215| #include <stdio.h>
5216| #ifdef HAVE_SYS_TYPES_H
5217| # include <sys/types.h>
5218| #endif
5219| #ifdef HAVE_SYS_STAT_H
5220| # include <sys/stat.h>
5221| #endif
5222| #ifdef STDC_HEADERS
5223| # include <stdlib.h>
5224| # include <stddef.h>
5225| #else
5226| # ifdef HAVE_STDLIB_H
5227| #  include <stdlib.h>
5228| # endif
5229| #endif
5230| #ifdef HAVE_STRING_H
5231| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5232| #  include <memory.h>
5233| # endif
5234| # include <string.h>
5235| #endif
5236| #ifdef HAVE_STRINGS_H
5237| # include <strings.h>
5238| #endif
5239| #ifdef HAVE_INTTYPES_H
5240| # include <inttypes.h>
5241| #endif
5242| #ifdef HAVE_STDINT_H
5243| # include <stdint.h>
5244| #endif
5245| #ifdef HAVE_UNISTD_H
5246| # include <unistd.h>
5247| #endif
5248| #ifdef HAVE_SYS_TYPES_H
5249| # include <sys/types.h>
5250| #endif
5251| #ifdef HAVE_NETINET_IN_H
5252| # include <netinet/in.h>
5253| #endif
5254|
5255|
5256| int
5257| main ()
5258| {
5259| if (sizeof ((in_port_t)))
5260|           return 0;
5261|   ;
5262|   return 0;
5263| }
5264configure:14991: result: yes
5265configure:15009: checking if memcmp compares unsigned
5266configure:15040: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5267conftest.c:75:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
5268        char a = 255, b = 0;
5269             ~   ^~~
52701 warning generated.
5271configure:15040: $? = 0
5272configure:15040: ./conftest
5273configure:15040: $? = 0
5274configure:15041: result: yes
5275configure:15066: checking size of time_t
5276configure:15071: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5277configure:15071: $? = 0
5278configure:15071: ./conftest
5279configure:15071: $? = 0
5280configure:15098: result: 8
5281configure:15112: checking size of size_t
5282configure:15117: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5283configure:15117: $? = 0
5284configure:15117: ./conftest
5285configure:15117: $? = 0
5286configure:15131: result: 8
5287configure:15159: checking for library containing inet_pton
5288configure:15190: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5289configure:15190: $? = 0
5290configure:15207: result: none required
5291configure:15215: checking for library containing socket
5292configure:15246: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5293configure:15246: $? = 0
5294configure:15263: result: none required
5295configure:15277: checking for unistd.h
5296configure:15277: result: yes
5297configure:15287: checking for working chown
5298configure:15320: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5299configure:15320: $? = 0
5300configure:15320: ./conftest
5301configure:15320: $? = 0
5302configure:15332: result: yes
5303configure:15342: checking vfork.h usability
5304configure:15342: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5305conftest.c:106:10: fatal error: 'vfork.h' file not found
5306#include <vfork.h>
5307         ^~~~~~~~~
53081 error generated.
5309configure:15342: $? = 1
5310configure: failed program was:
5311| /* confdefs.h */
5312| #define PACKAGE_NAME "unbound"
5313| #define PACKAGE_TARNAME "unbound"
5314| #define PACKAGE_VERSION "1.12.0"
5315| #define PACKAGE_STRING "unbound 1.12.0"
5316| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5317| #define PACKAGE_URL ""
5318| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5319| #define STDC_HEADERS 1
5320| #define HAVE_SYS_TYPES_H 1
5321| #define HAVE_SYS_STAT_H 1
5322| #define HAVE_STDLIB_H 1
5323| #define HAVE_STRING_H 1
5324| #define HAVE_MEMORY_H 1
5325| #define HAVE_STRINGS_H 1
5326| #define HAVE_INTTYPES_H 1
5327| #define HAVE_STDINT_H 1
5328| #define HAVE_UNISTD_H 1
5329| #define __EXTENSIONS__ 1
5330| #define _ALL_SOURCE 1
5331| #define _GNU_SOURCE 1
5332| #define _POSIX_PTHREAD_SEMANTICS 1
5333| #define _TANDEM_SOURCE 1
5334| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5335| #define RUN_DIR "/opt/local/etc/unbound"
5336| #define CHROOT_DIR "/opt/local/etc/unbound"
5337| #define SHARE_DIR "/opt/local/etc/unbound"
5338| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5339| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5340| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5341| #define UB_USERNAME "unbound"
5342| #define WINVER 0x0502
5343| #define RSRC_PACKAGE_VERSION 1,12,0,0
5344| #define HAVE_GETOPT_H 1
5345| #define HAVE_TIME_H 1
5346| #define HAVE_ATTR_FORMAT 1
5347| #define HAVE_ATTR_UNUSED 1
5348| #define HAVE_ATTR_WEAK 1
5349| #define ATTR_WEAK __attribute__((weak))
5350| #define HAVE_ATTR_NORETURN 1
5351| #define ATTR_NORETURN __attribute__((__noreturn__))
5352| #define YYTEXT_POINTER 1
5353| #define LEX_HAS_YYLEX_DESTROY 1
5354| #define HAVE_DLFCN_H 1
5355| #define LT_OBJDIR ".libs/"
5356| #define HAVE_STDARG_H 1
5357| #define HAVE_STDBOOL_H 1
5358| #define HAVE_NETINET_IN_H 1
5359| #define HAVE_NETINET_TCP_H 1
5360| #define HAVE_SYS_PARAM_H 1
5361| #define HAVE_SYS_SELECT_H 1
5362| #define HAVE_SYS_SOCKET_H 1
5363| #define HAVE_SYS_UN_H 1
5364| #define HAVE_SYS_UIO_H 1
5365| #define HAVE_SYS_RESOURCE_H 1
5366| #define HAVE_ARPA_INET_H 1
5367| #define HAVE_SYSLOG_H 1
5368| #define HAVE_NETDB_H 1
5369| #define HAVE_SYS_WAIT_H 1
5370| #define HAVE_PWD_H 1
5371| #define HAVE_GLOB_H 1
5372| #define HAVE_GRP_H 1
5373| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5374| #define HAVE_SYS_IPC_H 1
5375| #define HAVE_SYS_SHM_H 1
5376| #define HAVE_IFADDRS_H 1
5377| #define HAVE_TARGETCONDITIONALS_H 1
5378| #define SIZEOF_TIME_T 8
5379| #define SIZEOF_SIZE_T 8
5380| #define HAVE_UNISTD_H 1
5381| #define HAVE_CHOWN 1
5382| /* end confdefs.h.  */
5383| #include <stdio.h>
5384| #ifdef HAVE_SYS_TYPES_H
5385| # include <sys/types.h>
5386| #endif
5387| #ifdef HAVE_SYS_STAT_H
5388| # include <sys/stat.h>
5389| #endif
5390| #ifdef STDC_HEADERS
5391| # include <stdlib.h>
5392| # include <stddef.h>
5393| #else
5394| # ifdef HAVE_STDLIB_H
5395| #  include <stdlib.h>
5396| # endif
5397| #endif
5398| #ifdef HAVE_STRING_H
5399| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5400| #  include <memory.h>
5401| # endif
5402| # include <string.h>
5403| #endif
5404| #ifdef HAVE_STRINGS_H
5405| # include <strings.h>
5406| #endif
5407| #ifdef HAVE_INTTYPES_H
5408| # include <inttypes.h>
5409| #endif
5410| #ifdef HAVE_STDINT_H
5411| # include <stdint.h>
5412| #endif
5413| #ifdef HAVE_UNISTD_H
5414| # include <unistd.h>
5415| #endif
5416| #include <vfork.h>
5417configure:15342: result: no
5418configure:15342: checking vfork.h presence
5419configure:15342: /opt/local/bin/clang-mp-9.0 -E -I/opt/local/include conftest.c
5420conftest.c:73:10: fatal error: 'vfork.h' file not found
5421#include <vfork.h>
5422         ^~~~~~~~~
54231 error generated.
5424configure:15342: $? = 1
5425configure: failed program was:
5426| /* confdefs.h */
5427| #define PACKAGE_NAME "unbound"
5428| #define PACKAGE_TARNAME "unbound"
5429| #define PACKAGE_VERSION "1.12.0"
5430| #define PACKAGE_STRING "unbound 1.12.0"
5431| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5432| #define PACKAGE_URL ""
5433| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5434| #define STDC_HEADERS 1
5435| #define HAVE_SYS_TYPES_H 1
5436| #define HAVE_SYS_STAT_H 1
5437| #define HAVE_STDLIB_H 1
5438| #define HAVE_STRING_H 1
5439| #define HAVE_MEMORY_H 1
5440| #define HAVE_STRINGS_H 1
5441| #define HAVE_INTTYPES_H 1
5442| #define HAVE_STDINT_H 1
5443| #define HAVE_UNISTD_H 1
5444| #define __EXTENSIONS__ 1
5445| #define _ALL_SOURCE 1
5446| #define _GNU_SOURCE 1
5447| #define _POSIX_PTHREAD_SEMANTICS 1
5448| #define _TANDEM_SOURCE 1
5449| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5450| #define RUN_DIR "/opt/local/etc/unbound"
5451| #define CHROOT_DIR "/opt/local/etc/unbound"
5452| #define SHARE_DIR "/opt/local/etc/unbound"
5453| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5454| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5455| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5456| #define UB_USERNAME "unbound"
5457| #define WINVER 0x0502
5458| #define RSRC_PACKAGE_VERSION 1,12,0,0
5459| #define HAVE_GETOPT_H 1
5460| #define HAVE_TIME_H 1
5461| #define HAVE_ATTR_FORMAT 1
5462| #define HAVE_ATTR_UNUSED 1
5463| #define HAVE_ATTR_WEAK 1
5464| #define ATTR_WEAK __attribute__((weak))
5465| #define HAVE_ATTR_NORETURN 1
5466| #define ATTR_NORETURN __attribute__((__noreturn__))
5467| #define YYTEXT_POINTER 1
5468| #define LEX_HAS_YYLEX_DESTROY 1
5469| #define HAVE_DLFCN_H 1
5470| #define LT_OBJDIR ".libs/"
5471| #define HAVE_STDARG_H 1
5472| #define HAVE_STDBOOL_H 1
5473| #define HAVE_NETINET_IN_H 1
5474| #define HAVE_NETINET_TCP_H 1
5475| #define HAVE_SYS_PARAM_H 1
5476| #define HAVE_SYS_SELECT_H 1
5477| #define HAVE_SYS_SOCKET_H 1
5478| #define HAVE_SYS_UN_H 1
5479| #define HAVE_SYS_UIO_H 1
5480| #define HAVE_SYS_RESOURCE_H 1
5481| #define HAVE_ARPA_INET_H 1
5482| #define HAVE_SYSLOG_H 1
5483| #define HAVE_NETDB_H 1
5484| #define HAVE_SYS_WAIT_H 1
5485| #define HAVE_PWD_H 1
5486| #define HAVE_GLOB_H 1
5487| #define HAVE_GRP_H 1
5488| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5489| #define HAVE_SYS_IPC_H 1
5490| #define HAVE_SYS_SHM_H 1
5491| #define HAVE_IFADDRS_H 1
5492| #define HAVE_TARGETCONDITIONALS_H 1
5493| #define SIZEOF_TIME_T 8
5494| #define SIZEOF_SIZE_T 8
5495| #define HAVE_UNISTD_H 1
5496| #define HAVE_CHOWN 1
5497| /* end confdefs.h.  */
5498| #include <vfork.h>
5499configure:15342: result: no
5500configure:15342: checking for vfork.h
5501configure:15342: result: no
5502configure:15355: checking for fork
5503configure:15355: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5504configure:15355: $? = 0
5505configure:15355: result: yes
5506configure:15355: checking for vfork
5507configure:15355: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5508conftest.c:97:6: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration]
5509char vfork ();
5510     ^
5511conftest.c:97:6: note: 'vfork' is a builtin with type 'int (void)'
55121 warning generated.
5513configure:15355: $? = 0
5514configure:15355: result: yes
5515configure:15365: checking for working fork
5516configure:15387: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5517configure:15387: $? = 0
5518configure:15387: ./conftest
5519configure:15387: $? = 0
5520configure:15397: result: yes
5521configure:15418: checking for working vfork
5522configure:15528: result: yes
5523configure:15553: checking return type of signal handlers
5524configure:15571: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5525conftest.c:83:8: error: indirection requires pointer operand ('void' invalid)
5526return *(signal (0, 0)) (0) == 1;
5527       ^~~~~~~~~~~~~~~~~~~~
55281 error generated.
5529configure:15571: $? = 1
5530configure: failed program was:
5531| /* confdefs.h */
5532| #define PACKAGE_NAME "unbound"
5533| #define PACKAGE_TARNAME "unbound"
5534| #define PACKAGE_VERSION "1.12.0"
5535| #define PACKAGE_STRING "unbound 1.12.0"
5536| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5537| #define PACKAGE_URL ""
5538| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5539| #define STDC_HEADERS 1
5540| #define HAVE_SYS_TYPES_H 1
5541| #define HAVE_SYS_STAT_H 1
5542| #define HAVE_STDLIB_H 1
5543| #define HAVE_STRING_H 1
5544| #define HAVE_MEMORY_H 1
5545| #define HAVE_STRINGS_H 1
5546| #define HAVE_INTTYPES_H 1
5547| #define HAVE_STDINT_H 1
5548| #define HAVE_UNISTD_H 1
5549| #define __EXTENSIONS__ 1
5550| #define _ALL_SOURCE 1
5551| #define _GNU_SOURCE 1
5552| #define _POSIX_PTHREAD_SEMANTICS 1
5553| #define _TANDEM_SOURCE 1
5554| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5555| #define RUN_DIR "/opt/local/etc/unbound"
5556| #define CHROOT_DIR "/opt/local/etc/unbound"
5557| #define SHARE_DIR "/opt/local/etc/unbound"
5558| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5559| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5560| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5561| #define UB_USERNAME "unbound"
5562| #define WINVER 0x0502
5563| #define RSRC_PACKAGE_VERSION 1,12,0,0
5564| #define HAVE_GETOPT_H 1
5565| #define HAVE_TIME_H 1
5566| #define HAVE_ATTR_FORMAT 1
5567| #define HAVE_ATTR_UNUSED 1
5568| #define HAVE_ATTR_WEAK 1
5569| #define ATTR_WEAK __attribute__((weak))
5570| #define HAVE_ATTR_NORETURN 1
5571| #define ATTR_NORETURN __attribute__((__noreturn__))
5572| #define YYTEXT_POINTER 1
5573| #define LEX_HAS_YYLEX_DESTROY 1
5574| #define HAVE_DLFCN_H 1
5575| #define LT_OBJDIR ".libs/"
5576| #define HAVE_STDARG_H 1
5577| #define HAVE_STDBOOL_H 1
5578| #define HAVE_NETINET_IN_H 1
5579| #define HAVE_NETINET_TCP_H 1
5580| #define HAVE_SYS_PARAM_H 1
5581| #define HAVE_SYS_SELECT_H 1
5582| #define HAVE_SYS_SOCKET_H 1
5583| #define HAVE_SYS_UN_H 1
5584| #define HAVE_SYS_UIO_H 1
5585| #define HAVE_SYS_RESOURCE_H 1
5586| #define HAVE_ARPA_INET_H 1
5587| #define HAVE_SYSLOG_H 1
5588| #define HAVE_NETDB_H 1
5589| #define HAVE_SYS_WAIT_H 1
5590| #define HAVE_PWD_H 1
5591| #define HAVE_GLOB_H 1
5592| #define HAVE_GRP_H 1
5593| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5594| #define HAVE_SYS_IPC_H 1
5595| #define HAVE_SYS_SHM_H 1
5596| #define HAVE_IFADDRS_H 1
5597| #define HAVE_TARGETCONDITIONALS_H 1
5598| #define SIZEOF_TIME_T 8
5599| #define SIZEOF_SIZE_T 8
5600| #define HAVE_UNISTD_H 1
5601| #define HAVE_CHOWN 1
5602| #define HAVE_FORK 1
5603| #define HAVE_VFORK 1
5604| #define HAVE_WORKING_VFORK 1
5605| #define HAVE_WORKING_FORK 1
5606| /* end confdefs.h.  */
5607| #include <sys/types.h>
5608| #include <signal.h>
5609|
5610| int
5611| main ()
5612| {
5613| return *(signal (0, 0)) (0) == 1;
5614|   ;
5615|   return 0;
5616| }
5617configure:15578: result: void
5618configure:15586: checking for _LARGEFILE_SOURCE value needed for large files
5619configure:15605: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5620configure:15605: $? = 0
5621configure:15633: result: no
5622configure:15662: checking for special C compiler options needed for large files
5623configure:15707: result: no
5624configure:15713: checking for _FILE_OFFSET_BITS value needed for large files
5625configure:15738: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5626configure:15738: $? = 0
5627configure:15770: result: no
5628configure:15858: checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for /opt/local/bin/clang-mp-9.0
5629configure:15900: result: no
5630configure:15919: checking if nonblocking sockets work
5631configure:16060: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5632configure:16060: $? = 0
5633configure:16060: ./conftest
5634configure:16060: $? = 0
5635configure:16062: result: yes
5636configure:16081: checking whether mkdir has one arg
5637configure:16105: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
5638conftest.c:93:25: error: too few arguments to function call, expected 2, have 1
5639        (void)mkdir("directory");
5640              ~~~~~            ^
5641/usr/include/sys/stat.h:433:1: note: 'mkdir' declared here
5642int     mkdir(const char *, mode_t);
5643^
56441 error generated.
5645configure:16105: $? = 1
5646configure: failed program was:
5647| /* confdefs.h */
5648| #define PACKAGE_NAME "unbound"
5649| #define PACKAGE_TARNAME "unbound"
5650| #define PACKAGE_VERSION "1.12.0"
5651| #define PACKAGE_STRING "unbound 1.12.0"
5652| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5653| #define PACKAGE_URL ""
5654| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5655| #define STDC_HEADERS 1
5656| #define HAVE_SYS_TYPES_H 1
5657| #define HAVE_SYS_STAT_H 1
5658| #define HAVE_STDLIB_H 1
5659| #define HAVE_STRING_H 1
5660| #define HAVE_MEMORY_H 1
5661| #define HAVE_STRINGS_H 1
5662| #define HAVE_INTTYPES_H 1
5663| #define HAVE_STDINT_H 1
5664| #define HAVE_UNISTD_H 1
5665| #define __EXTENSIONS__ 1
5666| #define _ALL_SOURCE 1
5667| #define _GNU_SOURCE 1
5668| #define _POSIX_PTHREAD_SEMANTICS 1
5669| #define _TANDEM_SOURCE 1
5670| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5671| #define RUN_DIR "/opt/local/etc/unbound"
5672| #define CHROOT_DIR "/opt/local/etc/unbound"
5673| #define SHARE_DIR "/opt/local/etc/unbound"
5674| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5675| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5676| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5677| #define UB_USERNAME "unbound"
5678| #define WINVER 0x0502
5679| #define RSRC_PACKAGE_VERSION 1,12,0,0
5680| #define HAVE_GETOPT_H 1
5681| #define HAVE_TIME_H 1
5682| #define HAVE_ATTR_FORMAT 1
5683| #define HAVE_ATTR_UNUSED 1
5684| #define HAVE_ATTR_WEAK 1
5685| #define ATTR_WEAK __attribute__((weak))
5686| #define HAVE_ATTR_NORETURN 1
5687| #define ATTR_NORETURN __attribute__((__noreturn__))
5688| #define YYTEXT_POINTER 1
5689| #define LEX_HAS_YYLEX_DESTROY 1
5690| #define HAVE_DLFCN_H 1
5691| #define LT_OBJDIR ".libs/"
5692| #define HAVE_STDARG_H 1
5693| #define HAVE_STDBOOL_H 1
5694| #define HAVE_NETINET_IN_H 1
5695| #define HAVE_NETINET_TCP_H 1
5696| #define HAVE_SYS_PARAM_H 1
5697| #define HAVE_SYS_SELECT_H 1
5698| #define HAVE_SYS_SOCKET_H 1
5699| #define HAVE_SYS_UN_H 1
5700| #define HAVE_SYS_UIO_H 1
5701| #define HAVE_SYS_RESOURCE_H 1
5702| #define HAVE_ARPA_INET_H 1
5703| #define HAVE_SYSLOG_H 1
5704| #define HAVE_NETDB_H 1
5705| #define HAVE_SYS_WAIT_H 1
5706| #define HAVE_PWD_H 1
5707| #define HAVE_GLOB_H 1
5708| #define HAVE_GRP_H 1
5709| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5710| #define HAVE_SYS_IPC_H 1
5711| #define HAVE_SYS_SHM_H 1
5712| #define HAVE_IFADDRS_H 1
5713| #define HAVE_TARGETCONDITIONALS_H 1
5714| #define SIZEOF_TIME_T 8
5715| #define SIZEOF_SIZE_T 8
5716| #define HAVE_UNISTD_H 1
5717| #define HAVE_CHOWN 1
5718| #define HAVE_FORK 1
5719| #define HAVE_VFORK 1
5720| #define HAVE_WORKING_VFORK 1
5721| #define HAVE_WORKING_FORK 1
5722| #define RETSIGTYPE void
5723| #define HAVE_FSEEKO 1
5724| /* end confdefs.h.  */
5725|
5726| #include <stdio.h>
5727| #include <unistd.h>
5728| #ifdef HAVE_WINSOCK2_H
5729| #include <winsock2.h>
5730| #endif
5731| #ifdef HAVE_SYS_STAT_H
5732| #include <sys/stat.h>
5733| #endif
5734|
5735| int
5736| main ()
5737| {
5738|
5739|       (void)mkdir("directory");
5740|
5741|   ;
5742|   return 0;
5743| }
5744configure:16113: result: no
5745configure:16121: checking for strptime
5746configure:16121: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5747configure:16121: $? = 0
5748configure:16121: result: yes
5749configure:16127: checking whether strptime works
5750configure:16148: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5751configure:16148: $? = 0
5752configure:16148: ./conftest
5753configure:16148: $? = 2
5754configure: program exited with status 2
5755configure: failed program was:
5756| /* confdefs.h */
5757| #define PACKAGE_NAME "unbound"
5758| #define PACKAGE_TARNAME "unbound"
5759| #define PACKAGE_VERSION "1.12.0"
5760| #define PACKAGE_STRING "unbound 1.12.0"
5761| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5762| #define PACKAGE_URL ""
5763| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5764| #define STDC_HEADERS 1
5765| #define HAVE_SYS_TYPES_H 1
5766| #define HAVE_SYS_STAT_H 1
5767| #define HAVE_STDLIB_H 1
5768| #define HAVE_STRING_H 1
5769| #define HAVE_MEMORY_H 1
5770| #define HAVE_STRINGS_H 1
5771| #define HAVE_INTTYPES_H 1
5772| #define HAVE_STDINT_H 1
5773| #define HAVE_UNISTD_H 1
5774| #define __EXTENSIONS__ 1
5775| #define _ALL_SOURCE 1
5776| #define _GNU_SOURCE 1
5777| #define _POSIX_PTHREAD_SEMANTICS 1
5778| #define _TANDEM_SOURCE 1
5779| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5780| #define RUN_DIR "/opt/local/etc/unbound"
5781| #define CHROOT_DIR "/opt/local/etc/unbound"
5782| #define SHARE_DIR "/opt/local/etc/unbound"
5783| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5784| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5785| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5786| #define UB_USERNAME "unbound"
5787| #define WINVER 0x0502
5788| #define RSRC_PACKAGE_VERSION 1,12,0,0
5789| #define HAVE_GETOPT_H 1
5790| #define HAVE_TIME_H 1
5791| #define HAVE_ATTR_FORMAT 1
5792| #define HAVE_ATTR_UNUSED 1
5793| #define HAVE_ATTR_WEAK 1
5794| #define ATTR_WEAK __attribute__((weak))
5795| #define HAVE_ATTR_NORETURN 1
5796| #define ATTR_NORETURN __attribute__((__noreturn__))
5797| #define YYTEXT_POINTER 1
5798| #define LEX_HAS_YYLEX_DESTROY 1
5799| #define HAVE_DLFCN_H 1
5800| #define LT_OBJDIR ".libs/"
5801| #define HAVE_STDARG_H 1
5802| #define HAVE_STDBOOL_H 1
5803| #define HAVE_NETINET_IN_H 1
5804| #define HAVE_NETINET_TCP_H 1
5805| #define HAVE_SYS_PARAM_H 1
5806| #define HAVE_SYS_SELECT_H 1
5807| #define HAVE_SYS_SOCKET_H 1
5808| #define HAVE_SYS_UN_H 1
5809| #define HAVE_SYS_UIO_H 1
5810| #define HAVE_SYS_RESOURCE_H 1
5811| #define HAVE_ARPA_INET_H 1
5812| #define HAVE_SYSLOG_H 1
5813| #define HAVE_NETDB_H 1
5814| #define HAVE_SYS_WAIT_H 1
5815| #define HAVE_PWD_H 1
5816| #define HAVE_GLOB_H 1
5817| #define HAVE_GRP_H 1
5818| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5819| #define HAVE_SYS_IPC_H 1
5820| #define HAVE_SYS_SHM_H 1
5821| #define HAVE_IFADDRS_H 1
5822| #define HAVE_TARGETCONDITIONALS_H 1
5823| #define SIZEOF_TIME_T 8
5824| #define SIZEOF_SIZE_T 8
5825| #define HAVE_UNISTD_H 1
5826| #define HAVE_CHOWN 1
5827| #define HAVE_FORK 1
5828| #define HAVE_VFORK 1
5829| #define HAVE_WORKING_VFORK 1
5830| #define HAVE_WORKING_FORK 1
5831| #define RETSIGTYPE void
5832| #define HAVE_FSEEKO 1
5833| #define HAVE_STRPTIME 1
5834| /* end confdefs.h.  */
5835|
5836| #define _XOPEN_SOURCE 600
5837| #include <time.h>
5838| int main(void) { struct tm tm; char *res;
5839| res = strptime("2010-07-15T00:00:00+00:00", "%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm);
5840| if (!res) return 2;
5841| res = strptime("20070207111842", "%Y%m%d%H%M%S", &tm);
5842| if (!res) return 1; return 0; }
5843|
5844configure:16160: result: no
5845configure:16426: checking for GNU libc compatible malloc
5846configure:16460: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
5847configure:16460: $? = 0
5848configure:16460: ./conftest
5849configure:16460: $? = 1
5850configure: program exited with status 1
5851configure: failed program was:
5852| /* confdefs.h */
5853| #define PACKAGE_NAME "unbound"
5854| #define PACKAGE_TARNAME "unbound"
5855| #define PACKAGE_VERSION "1.12.0"
5856| #define PACKAGE_STRING "unbound 1.12.0"
5857| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5858| #define PACKAGE_URL ""
5859| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5860| #define STDC_HEADERS 1
5861| #define HAVE_SYS_TYPES_H 1
5862| #define HAVE_SYS_STAT_H 1
5863| #define HAVE_STDLIB_H 1
5864| #define HAVE_STRING_H 1
5865| #define HAVE_MEMORY_H 1
5866| #define HAVE_STRINGS_H 1
5867| #define HAVE_INTTYPES_H 1
5868| #define HAVE_STDINT_H 1
5869| #define HAVE_UNISTD_H 1
5870| #define __EXTENSIONS__ 1
5871| #define _ALL_SOURCE 1
5872| #define _GNU_SOURCE 1
5873| #define _POSIX_PTHREAD_SEMANTICS 1
5874| #define _TANDEM_SOURCE 1
5875| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5876| #define RUN_DIR "/opt/local/etc/unbound"
5877| #define CHROOT_DIR "/opt/local/etc/unbound"
5878| #define SHARE_DIR "/opt/local/etc/unbound"
5879| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5880| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
5881| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5882| #define UB_USERNAME "unbound"
5883| #define WINVER 0x0502
5884| #define RSRC_PACKAGE_VERSION 1,12,0,0
5885| #define HAVE_GETOPT_H 1
5886| #define HAVE_TIME_H 1
5887| #define HAVE_ATTR_FORMAT 1
5888| #define HAVE_ATTR_UNUSED 1
5889| #define HAVE_ATTR_WEAK 1
5890| #define ATTR_WEAK __attribute__((weak))
5891| #define HAVE_ATTR_NORETURN 1
5892| #define ATTR_NORETURN __attribute__((__noreturn__))
5893| #define YYTEXT_POINTER 1
5894| #define LEX_HAS_YYLEX_DESTROY 1
5895| #define HAVE_DLFCN_H 1
5896| #define LT_OBJDIR ".libs/"
5897| #define HAVE_STDARG_H 1
5898| #define HAVE_STDBOOL_H 1
5899| #define HAVE_NETINET_IN_H 1
5900| #define HAVE_NETINET_TCP_H 1
5901| #define HAVE_SYS_PARAM_H 1
5902| #define HAVE_SYS_SELECT_H 1
5903| #define HAVE_SYS_SOCKET_H 1
5904| #define HAVE_SYS_UN_H 1
5905| #define HAVE_SYS_UIO_H 1
5906| #define HAVE_SYS_RESOURCE_H 1
5907| #define HAVE_ARPA_INET_H 1
5908| #define HAVE_SYSLOG_H 1
5909| #define HAVE_NETDB_H 1
5910| #define HAVE_SYS_WAIT_H 1
5911| #define HAVE_PWD_H 1
5912| #define HAVE_GLOB_H 1
5913| #define HAVE_GRP_H 1
5914| #define HAVE_LIBKERN_OSBYTEORDER_H 1
5915| #define HAVE_SYS_IPC_H 1
5916| #define HAVE_SYS_SHM_H 1
5917| #define HAVE_IFADDRS_H 1
5918| #define HAVE_TARGETCONDITIONALS_H 1
5919| #define SIZEOF_TIME_T 8
5920| #define SIZEOF_SIZE_T 8
5921| #define HAVE_UNISTD_H 1
5922| #define HAVE_CHOWN 1
5923| #define HAVE_FORK 1
5924| #define HAVE_VFORK 1
5925| #define HAVE_WORKING_VFORK 1
5926| #define HAVE_WORKING_FORK 1
5927| #define RETSIGTYPE void
5928| #define HAVE_FSEEKO 1
5929| #define HAVE_STRPTIME 1
5930| #define REUSEPORT_DEFAULT 0
5931| /* end confdefs.h.  */
5932| #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5933| #include <stdlib.h>
5934| #else
5935| char *malloc ();
5936| #endif
5937|
5938| int
5939| main ()
5940| {
5941|  if(malloc(0) != 0) return 1;
5942|   ;
5943|   return 0;
5944| }
5945|
5946configure:16475: result: yes
5947configure:16667: checking if compiler needs -Werror to reject unknown flags
5948configure:16683: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -Werror -Wunknown-warning-option -Wsizeof-array-argument -I/opt/local/include conftest.c >&5
5949configure:16683: $? = 0
5950configure:16684: result: yes
5951configure:16704: checking whether pthreads work with -pthread
5952configure:16792: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -pthread -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
5953configure:16792: $? = 0
5954configure:16801: result: yes
5955configure:16820: checking for joinable pthread attribute
5956configure:16835: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -pthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
5957configure:16835: $? = 0
5958configure:16841: result: PTHREAD_CREATE_JOINABLE
5959configure:16851: checking if more special flags are required for pthreads
5960configure:16866: result: -D_THREAD_SAFE
5961configure:16872: checking for PTHREAD_PRIO_INHERIT
5962configure:16889: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -pthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
5963configure:16889: $? = 0
5964configure:16898: result: yes
5965configure:16992: checking for pthread_spinlock_t
5966configure:16992: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include conftest.c >&5
5967conftest.c:89:13: error: use of undeclared identifier 'pthread_spinlock_t'
5968if (sizeof (pthread_spinlock_t))
5969            ^
59701 error generated.
5971configure:16992: $? = 1
5972configure: failed program was:
5973| /* confdefs.h */
5974| #define PACKAGE_NAME "unbound"
5975| #define PACKAGE_TARNAME "unbound"
5976| #define PACKAGE_VERSION "1.12.0"
5977| #define PACKAGE_STRING "unbound 1.12.0"
5978| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
5979| #define PACKAGE_URL ""
5980| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
5981| #define STDC_HEADERS 1
5982| #define HAVE_SYS_TYPES_H 1
5983| #define HAVE_SYS_STAT_H 1
5984| #define HAVE_STDLIB_H 1
5985| #define HAVE_STRING_H 1
5986| #define HAVE_MEMORY_H 1
5987| #define HAVE_STRINGS_H 1
5988| #define HAVE_INTTYPES_H 1
5989| #define HAVE_STDINT_H 1
5990| #define HAVE_UNISTD_H 1
5991| #define __EXTENSIONS__ 1
5992| #define _ALL_SOURCE 1
5993| #define _GNU_SOURCE 1
5994| #define _POSIX_PTHREAD_SEMANTICS 1
5995| #define _TANDEM_SOURCE 1
5996| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5997| #define RUN_DIR "/opt/local/etc/unbound"
5998| #define CHROOT_DIR "/opt/local/etc/unbound"
5999| #define SHARE_DIR "/opt/local/etc/unbound"
6000| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6001| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6002| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6003| #define UB_USERNAME "unbound"
6004| #define WINVER 0x0502
6005| #define RSRC_PACKAGE_VERSION 1,12,0,0
6006| #define HAVE_GETOPT_H 1
6007| #define HAVE_TIME_H 1
6008| #define HAVE_ATTR_FORMAT 1
6009| #define HAVE_ATTR_UNUSED 1
6010| #define HAVE_ATTR_WEAK 1
6011| #define ATTR_WEAK __attribute__((weak))
6012| #define HAVE_ATTR_NORETURN 1
6013| #define ATTR_NORETURN __attribute__((__noreturn__))
6014| #define YYTEXT_POINTER 1
6015| #define LEX_HAS_YYLEX_DESTROY 1
6016| #define HAVE_DLFCN_H 1
6017| #define LT_OBJDIR ".libs/"
6018| #define HAVE_STDARG_H 1
6019| #define HAVE_STDBOOL_H 1
6020| #define HAVE_NETINET_IN_H 1
6021| #define HAVE_NETINET_TCP_H 1
6022| #define HAVE_SYS_PARAM_H 1
6023| #define HAVE_SYS_SELECT_H 1
6024| #define HAVE_SYS_SOCKET_H 1
6025| #define HAVE_SYS_UN_H 1
6026| #define HAVE_SYS_UIO_H 1
6027| #define HAVE_SYS_RESOURCE_H 1
6028| #define HAVE_ARPA_INET_H 1
6029| #define HAVE_SYSLOG_H 1
6030| #define HAVE_NETDB_H 1
6031| #define HAVE_SYS_WAIT_H 1
6032| #define HAVE_PWD_H 1
6033| #define HAVE_GLOB_H 1
6034| #define HAVE_GRP_H 1
6035| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6036| #define HAVE_SYS_IPC_H 1
6037| #define HAVE_SYS_SHM_H 1
6038| #define HAVE_IFADDRS_H 1
6039| #define HAVE_TARGETCONDITIONALS_H 1
6040| #define SIZEOF_TIME_T 8
6041| #define SIZEOF_SIZE_T 8
6042| #define HAVE_UNISTD_H 1
6043| #define HAVE_CHOWN 1
6044| #define HAVE_FORK 1
6045| #define HAVE_VFORK 1
6046| #define HAVE_WORKING_VFORK 1
6047| #define HAVE_WORKING_FORK 1
6048| #define RETSIGTYPE void
6049| #define HAVE_FSEEKO 1
6050| #define HAVE_STRPTIME 1
6051| #define REUSEPORT_DEFAULT 0
6052| #define HAVE_MALLOC 1
6053| #define HAVE_PTHREAD_PRIO_INHERIT 1
6054| #define HAVE_PTHREAD 1
6055| /* end confdefs.h.  */
6056| #include <pthread.h>
6057|
6058| int
6059| main ()
6060| {
6061| if (sizeof (pthread_spinlock_t))
6062|        return 0;
6063|   ;
6064|   return 0;
6065| }
6066configure:16992: result: no
6067configure:17002: checking for pthread_rwlock_t
6068configure:17002: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include conftest.c >&5
6069configure:17002: $? = 0
6070configure:17002: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include conftest.c >&5
6071conftest.c:89:31: error: expected expression
6072if (sizeof ((pthread_rwlock_t)))
6073                              ^
60741 error generated.
6075configure:17002: $? = 1
6076configure: failed program was:
6077| /* confdefs.h */
6078| #define PACKAGE_NAME "unbound"
6079| #define PACKAGE_TARNAME "unbound"
6080| #define PACKAGE_VERSION "1.12.0"
6081| #define PACKAGE_STRING "unbound 1.12.0"
6082| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6083| #define PACKAGE_URL ""
6084| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6085| #define STDC_HEADERS 1
6086| #define HAVE_SYS_TYPES_H 1
6087| #define HAVE_SYS_STAT_H 1
6088| #define HAVE_STDLIB_H 1
6089| #define HAVE_STRING_H 1
6090| #define HAVE_MEMORY_H 1
6091| #define HAVE_STRINGS_H 1
6092| #define HAVE_INTTYPES_H 1
6093| #define HAVE_STDINT_H 1
6094| #define HAVE_UNISTD_H 1
6095| #define __EXTENSIONS__ 1
6096| #define _ALL_SOURCE 1
6097| #define _GNU_SOURCE 1
6098| #define _POSIX_PTHREAD_SEMANTICS 1
6099| #define _TANDEM_SOURCE 1
6100| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6101| #define RUN_DIR "/opt/local/etc/unbound"
6102| #define CHROOT_DIR "/opt/local/etc/unbound"
6103| #define SHARE_DIR "/opt/local/etc/unbound"
6104| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6105| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6106| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6107| #define UB_USERNAME "unbound"
6108| #define WINVER 0x0502
6109| #define RSRC_PACKAGE_VERSION 1,12,0,0
6110| #define HAVE_GETOPT_H 1
6111| #define HAVE_TIME_H 1
6112| #define HAVE_ATTR_FORMAT 1
6113| #define HAVE_ATTR_UNUSED 1
6114| #define HAVE_ATTR_WEAK 1
6115| #define ATTR_WEAK __attribute__((weak))
6116| #define HAVE_ATTR_NORETURN 1
6117| #define ATTR_NORETURN __attribute__((__noreturn__))
6118| #define YYTEXT_POINTER 1
6119| #define LEX_HAS_YYLEX_DESTROY 1
6120| #define HAVE_DLFCN_H 1
6121| #define LT_OBJDIR ".libs/"
6122| #define HAVE_STDARG_H 1
6123| #define HAVE_STDBOOL_H 1
6124| #define HAVE_NETINET_IN_H 1
6125| #define HAVE_NETINET_TCP_H 1
6126| #define HAVE_SYS_PARAM_H 1
6127| #define HAVE_SYS_SELECT_H 1
6128| #define HAVE_SYS_SOCKET_H 1
6129| #define HAVE_SYS_UN_H 1
6130| #define HAVE_SYS_UIO_H 1
6131| #define HAVE_SYS_RESOURCE_H 1
6132| #define HAVE_ARPA_INET_H 1
6133| #define HAVE_SYSLOG_H 1
6134| #define HAVE_NETDB_H 1
6135| #define HAVE_SYS_WAIT_H 1
6136| #define HAVE_PWD_H 1
6137| #define HAVE_GLOB_H 1
6138| #define HAVE_GRP_H 1
6139| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6140| #define HAVE_SYS_IPC_H 1
6141| #define HAVE_SYS_SHM_H 1
6142| #define HAVE_IFADDRS_H 1
6143| #define HAVE_TARGETCONDITIONALS_H 1
6144| #define SIZEOF_TIME_T 8
6145| #define SIZEOF_SIZE_T 8
6146| #define HAVE_UNISTD_H 1
6147| #define HAVE_CHOWN 1
6148| #define HAVE_FORK 1
6149| #define HAVE_VFORK 1
6150| #define HAVE_WORKING_VFORK 1
6151| #define HAVE_WORKING_FORK 1
6152| #define RETSIGTYPE void
6153| #define HAVE_FSEEKO 1
6154| #define HAVE_STRPTIME 1
6155| #define REUSEPORT_DEFAULT 0
6156| #define HAVE_MALLOC 1
6157| #define HAVE_PTHREAD_PRIO_INHERIT 1
6158| #define HAVE_PTHREAD 1
6159| /* end confdefs.h.  */
6160| #include <pthread.h>
6161|
6162| int
6163| main ()
6164| {
6165| if (sizeof ((pthread_rwlock_t)))
6166|           return 0;
6167|   ;
6168|   return 0;
6169| }
6170configure:17002: result: yes
6171configure:17015: checking if -pthread unused during linking
6172/opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -c conftest.c -o conftest.o
6173/opt/local/bin/clang-mp-9.0 -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -Werror -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64  -o conftest contest.o
6174configure:17040: result: no
6175configure:17909: checking for SSL
6176configure:17933: result: found in /opt/local
6177configure:17948: checking for EVP_sha256 in -lcrypto
6178configure:17966: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6179configure:17966: $? = 0
6180configure:17968: result: yes
6181configure:18098: checking for openssl/ssl.h
6182configure:18098: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6183configure:18098: $? = 0
6184configure:18098: result: yes
6185configure:18111: checking for openssl/err.h
6186configure:18111: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6187configure:18111: $? = 0
6188configure:18111: result: yes
6189configure:18124: checking for openssl/rand.h
6190configure:18124: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6191configure:18124: $? = 0
6192configure:18124: result: yes
6193configure:18141: checking if libssl needs libdl
6194configure:18161: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
6195configure:18161: $? = 0
6196configure:18163: result: no
6197configure:18240: checking if libssl needs -lcrypt32
6198configure:18260: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
6199configure:18260: $? = 0
6200configure:18262: result: no
6201configure:18277: checking for LibreSSL
6202configure:18329: result: no
6203configure:18335: checking for openssl/conf.h
6204configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6205configure:18335: $? = 0
6206configure:18335: result: yes
6207configure:18335: checking for openssl/engine.h
6208configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6209configure:18335: $? = 0
6210configure:18335: result: yes
6211configure:18335: checking for openssl/bn.h
6212configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6213configure:18335: $? = 0
6214configure:18335: result: yes
6215configure:18335: checking for openssl/dh.h
6216configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6217configure:18335: $? = 0
6218configure:18335: result: yes
6219configure:18335: checking for openssl/dsa.h
6220configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6221configure:18335: $? = 0
6222configure:18335: result: yes
6223configure:18335: checking for openssl/rsa.h
6224configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6225configure:18335: $? = 0
6226configure:18335: result: yes
6227configure:18335: checking for openssl/core_names.h
6228configure:18335: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
6229conftest.c:131:10: fatal error: 'openssl/core_names.h' file not found
6230#include <openssl/core_names.h>
6231         ^~~~~~~~~~~~~~~~~~~~~~
62321 error generated.
6233configure:18335: $? = 1
6234configure: failed program was:
6235| /* confdefs.h */
6236| #define PACKAGE_NAME "unbound"
6237| #define PACKAGE_TARNAME "unbound"
6238| #define PACKAGE_VERSION "1.12.0"
6239| #define PACKAGE_STRING "unbound 1.12.0"
6240| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6241| #define PACKAGE_URL ""
6242| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6243| #define STDC_HEADERS 1
6244| #define HAVE_SYS_TYPES_H 1
6245| #define HAVE_SYS_STAT_H 1
6246| #define HAVE_STDLIB_H 1
6247| #define HAVE_STRING_H 1
6248| #define HAVE_MEMORY_H 1
6249| #define HAVE_STRINGS_H 1
6250| #define HAVE_INTTYPES_H 1
6251| #define HAVE_STDINT_H 1
6252| #define HAVE_UNISTD_H 1
6253| #define __EXTENSIONS__ 1
6254| #define _ALL_SOURCE 1
6255| #define _GNU_SOURCE 1
6256| #define _POSIX_PTHREAD_SEMANTICS 1
6257| #define _TANDEM_SOURCE 1
6258| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6259| #define RUN_DIR "/opt/local/etc/unbound"
6260| #define CHROOT_DIR "/opt/local/etc/unbound"
6261| #define SHARE_DIR "/opt/local/etc/unbound"
6262| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6263| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6264| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6265| #define UB_USERNAME "unbound"
6266| #define WINVER 0x0502
6267| #define RSRC_PACKAGE_VERSION 1,12,0,0
6268| #define HAVE_GETOPT_H 1
6269| #define HAVE_TIME_H 1
6270| #define HAVE_ATTR_FORMAT 1
6271| #define HAVE_ATTR_UNUSED 1
6272| #define HAVE_ATTR_WEAK 1
6273| #define ATTR_WEAK __attribute__((weak))
6274| #define HAVE_ATTR_NORETURN 1
6275| #define ATTR_NORETURN __attribute__((__noreturn__))
6276| #define YYTEXT_POINTER 1
6277| #define LEX_HAS_YYLEX_DESTROY 1
6278| #define HAVE_DLFCN_H 1
6279| #define LT_OBJDIR ".libs/"
6280| #define HAVE_STDARG_H 1
6281| #define HAVE_STDBOOL_H 1
6282| #define HAVE_NETINET_IN_H 1
6283| #define HAVE_NETINET_TCP_H 1
6284| #define HAVE_SYS_PARAM_H 1
6285| #define HAVE_SYS_SELECT_H 1
6286| #define HAVE_SYS_SOCKET_H 1
6287| #define HAVE_SYS_UN_H 1
6288| #define HAVE_SYS_UIO_H 1
6289| #define HAVE_SYS_RESOURCE_H 1
6290| #define HAVE_ARPA_INET_H 1
6291| #define HAVE_SYSLOG_H 1
6292| #define HAVE_NETDB_H 1
6293| #define HAVE_SYS_WAIT_H 1
6294| #define HAVE_PWD_H 1
6295| #define HAVE_GLOB_H 1
6296| #define HAVE_GRP_H 1
6297| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6298| #define HAVE_SYS_IPC_H 1
6299| #define HAVE_SYS_SHM_H 1
6300| #define HAVE_IFADDRS_H 1
6301| #define HAVE_TARGETCONDITIONALS_H 1
6302| #define SIZEOF_TIME_T 8
6303| #define SIZEOF_SIZE_T 8
6304| #define HAVE_UNISTD_H 1
6305| #define HAVE_CHOWN 1
6306| #define HAVE_FORK 1
6307| #define HAVE_VFORK 1
6308| #define HAVE_WORKING_VFORK 1
6309| #define HAVE_WORKING_FORK 1
6310| #define RETSIGTYPE void
6311| #define HAVE_FSEEKO 1
6312| #define HAVE_STRPTIME 1
6313| #define REUSEPORT_DEFAULT 0
6314| #define HAVE_MALLOC 1
6315| #define HAVE_PTHREAD_PRIO_INHERIT 1
6316| #define HAVE_PTHREAD 1
6317| #define HAVE_PTHREAD_RWLOCK_T 1
6318| #define UB_SYSLOG_FACILITY LOG_DAEMON
6319| #define HAVE_SSL /**/
6320| #define HAVE_EVP_SHA256 1
6321| #define HAVE_OPENSSL_SSL_H 1
6322| #define HAVE_OPENSSL_ERR_H 1
6323| #define HAVE_OPENSSL_RAND_H 1
6324| #define HAVE_OPENSSL_CONF_H 1
6325| #define HAVE_OPENSSL_ENGINE_H 1
6326| #define HAVE_OPENSSL_BN_H 1
6327| #define HAVE_OPENSSL_DH_H 1
6328| #define HAVE_OPENSSL_DSA_H 1
6329| #define HAVE_OPENSSL_RSA_H 1
6330| /* end confdefs.h.  */
6331| #include <stdio.h>
6332| #ifdef HAVE_SYS_TYPES_H
6333| # include <sys/types.h>
6334| #endif
6335| #ifdef HAVE_SYS_STAT_H
6336| # include <sys/stat.h>
6337| #endif
6338| #ifdef STDC_HEADERS
6339| # include <stdlib.h>
6340| # include <stddef.h>
6341| #else
6342| # ifdef HAVE_STDLIB_H
6343| #  include <stdlib.h>
6344| # endif
6345| #endif
6346| #ifdef HAVE_STRING_H
6347| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6348| #  include <memory.h>
6349| # endif
6350| # include <string.h>
6351| #endif
6352| #ifdef HAVE_STRINGS_H
6353| # include <strings.h>
6354| #endif
6355| #ifdef HAVE_INTTYPES_H
6356| # include <inttypes.h>
6357| #endif
6358| #ifdef HAVE_STDINT_H
6359| # include <stdint.h>
6360| #endif
6361| #ifdef HAVE_UNISTD_H
6362| # include <unistd.h>
6363| #endif
6364|
6365| #include <openssl/core_names.h>
6366configure:18335: result: no
6367configure:18349: checking for OPENSSL_config
6368configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6369configure:18349: $? = 0
6370configure:18349: result: yes
6371configure:18349: checking for EVP_sha1
6372configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6373configure:18349: $? = 0
6374configure:18349: result: yes
6375configure:18349: checking for EVP_sha256
6376configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6377configure:18349: $? = 0
6378configure:18349: result: yes
6379configure:18349: checking for EVP_sha512
6380configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6381configure:18349: $? = 0
6382configure:18349: result: yes
6383configure:18349: checking for FIPS_mode
6384configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6385configure:18349: $? = 0
6386configure:18349: result: yes
6387configure:18349: checking for EVP_MD_CTX_new
6388configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6389configure:18349: $? = 0
6390configure:18349: result: yes
6391configure:18349: checking for OpenSSL_add_all_digests
6392configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6393Undefined symbols for architecture x86_64:
6394  "_OpenSSL_add_all_digests", referenced from:
6395      _main in conftest-96b57a.o
6396ld: symbol(s) not found for architecture x86_64
6397clang: error: linker command failed with exit code 1 (use -v to see invocation)
6398configure:18349: $? = 1
6399configure: failed program was:
6400| /* confdefs.h */
6401| #define PACKAGE_NAME "unbound"
6402| #define PACKAGE_TARNAME "unbound"
6403| #define PACKAGE_VERSION "1.12.0"
6404| #define PACKAGE_STRING "unbound 1.12.0"
6405| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6406| #define PACKAGE_URL ""
6407| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6408| #define STDC_HEADERS 1
6409| #define HAVE_SYS_TYPES_H 1
6410| #define HAVE_SYS_STAT_H 1
6411| #define HAVE_STDLIB_H 1
6412| #define HAVE_STRING_H 1
6413| #define HAVE_MEMORY_H 1
6414| #define HAVE_STRINGS_H 1
6415| #define HAVE_INTTYPES_H 1
6416| #define HAVE_STDINT_H 1
6417| #define HAVE_UNISTD_H 1
6418| #define __EXTENSIONS__ 1
6419| #define _ALL_SOURCE 1
6420| #define _GNU_SOURCE 1
6421| #define _POSIX_PTHREAD_SEMANTICS 1
6422| #define _TANDEM_SOURCE 1
6423| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6424| #define RUN_DIR "/opt/local/etc/unbound"
6425| #define CHROOT_DIR "/opt/local/etc/unbound"
6426| #define SHARE_DIR "/opt/local/etc/unbound"
6427| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6428| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6429| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6430| #define UB_USERNAME "unbound"
6431| #define WINVER 0x0502
6432| #define RSRC_PACKAGE_VERSION 1,12,0,0
6433| #define HAVE_GETOPT_H 1
6434| #define HAVE_TIME_H 1
6435| #define HAVE_ATTR_FORMAT 1
6436| #define HAVE_ATTR_UNUSED 1
6437| #define HAVE_ATTR_WEAK 1
6438| #define ATTR_WEAK __attribute__((weak))
6439| #define HAVE_ATTR_NORETURN 1
6440| #define ATTR_NORETURN __attribute__((__noreturn__))
6441| #define YYTEXT_POINTER 1
6442| #define LEX_HAS_YYLEX_DESTROY 1
6443| #define HAVE_DLFCN_H 1
6444| #define LT_OBJDIR ".libs/"
6445| #define HAVE_STDARG_H 1
6446| #define HAVE_STDBOOL_H 1
6447| #define HAVE_NETINET_IN_H 1
6448| #define HAVE_NETINET_TCP_H 1
6449| #define HAVE_SYS_PARAM_H 1
6450| #define HAVE_SYS_SELECT_H 1
6451| #define HAVE_SYS_SOCKET_H 1
6452| #define HAVE_SYS_UN_H 1
6453| #define HAVE_SYS_UIO_H 1
6454| #define HAVE_SYS_RESOURCE_H 1
6455| #define HAVE_ARPA_INET_H 1
6456| #define HAVE_SYSLOG_H 1
6457| #define HAVE_NETDB_H 1
6458| #define HAVE_SYS_WAIT_H 1
6459| #define HAVE_PWD_H 1
6460| #define HAVE_GLOB_H 1
6461| #define HAVE_GRP_H 1
6462| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6463| #define HAVE_SYS_IPC_H 1
6464| #define HAVE_SYS_SHM_H 1
6465| #define HAVE_IFADDRS_H 1
6466| #define HAVE_TARGETCONDITIONALS_H 1
6467| #define SIZEOF_TIME_T 8
6468| #define SIZEOF_SIZE_T 8
6469| #define HAVE_UNISTD_H 1
6470| #define HAVE_CHOWN 1
6471| #define HAVE_FORK 1
6472| #define HAVE_VFORK 1
6473| #define HAVE_WORKING_VFORK 1
6474| #define HAVE_WORKING_FORK 1
6475| #define RETSIGTYPE void
6476| #define HAVE_FSEEKO 1
6477| #define HAVE_STRPTIME 1
6478| #define REUSEPORT_DEFAULT 0
6479| #define HAVE_MALLOC 1
6480| #define HAVE_PTHREAD_PRIO_INHERIT 1
6481| #define HAVE_PTHREAD 1
6482| #define HAVE_PTHREAD_RWLOCK_T 1
6483| #define UB_SYSLOG_FACILITY LOG_DAEMON
6484| #define HAVE_SSL /**/
6485| #define HAVE_EVP_SHA256 1
6486| #define HAVE_OPENSSL_SSL_H 1
6487| #define HAVE_OPENSSL_ERR_H 1
6488| #define HAVE_OPENSSL_RAND_H 1
6489| #define HAVE_OPENSSL_CONF_H 1
6490| #define HAVE_OPENSSL_ENGINE_H 1
6491| #define HAVE_OPENSSL_BN_H 1
6492| #define HAVE_OPENSSL_DH_H 1
6493| #define HAVE_OPENSSL_DSA_H 1
6494| #define HAVE_OPENSSL_RSA_H 1
6495| #define HAVE_OPENSSL_CONFIG 1
6496| #define HAVE_EVP_SHA1 1
6497| #define HAVE_EVP_SHA256 1
6498| #define HAVE_EVP_SHA512 1
6499| #define HAVE_FIPS_MODE 1
6500| #define HAVE_EVP_MD_CTX_NEW 1
6501| /* end confdefs.h.  */
6502| /* Define OpenSSL_add_all_digests to an innocuous variant, in case <limits.h> declares OpenSSL_add_all_digests.
6503|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6504| #define OpenSSL_add_all_digests innocuous_OpenSSL_add_all_digests
6505|
6506| /* System header to define __stub macros and hopefully few prototypes,
6507|     which can conflict with char OpenSSL_add_all_digests (); below.
6508|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6509|     <limits.h> exists even on freestanding compilers.  */
6510|
6511| #ifdef __STDC__
6512| # include <limits.h>
6513| #else
6514| # include <assert.h>
6515| #endif
6516|
6517| #undef OpenSSL_add_all_digests
6518|
6519| /* Override any GCC internal prototype to avoid an error.
6520|    Use char because int might match the return type of a GCC
6521|    builtin and then its argument prototype would still apply.  */
6522| #ifdef __cplusplus
6523| extern "C"
6524| #endif
6525| char OpenSSL_add_all_digests ();
6526| /* The GNU C library defines this for functions which it implements
6527|     to always fail with ENOSYS.  Some functions are actually named
6528|     something starting with __ and the normal name is an alias.  */
6529| #if defined __stub_OpenSSL_add_all_digests || defined __stub___OpenSSL_add_all_digests
6530| choke me
6531| #endif
6532|
6533| int
6534| main ()
6535| {
6536| return OpenSSL_add_all_digests ();
6537|   ;
6538|   return 0;
6539| }
6540configure:18349: result: no
6541configure:18349: checking for OPENSSL_init_crypto
6542configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6543configure:18349: $? = 0
6544configure:18349: result: yes
6545configure:18349: checking for EVP_cleanup
6546configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6547Undefined symbols for architecture x86_64:
6548  "_EVP_cleanup", referenced from:
6549      _main in conftest-7b0202.o
6550ld: symbol(s) not found for architecture x86_64
6551clang: error: linker command failed with exit code 1 (use -v to see invocation)
6552configure:18349: $? = 1
6553configure: failed program was:
6554| /* confdefs.h */
6555| #define PACKAGE_NAME "unbound"
6556| #define PACKAGE_TARNAME "unbound"
6557| #define PACKAGE_VERSION "1.12.0"
6558| #define PACKAGE_STRING "unbound 1.12.0"
6559| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6560| #define PACKAGE_URL ""
6561| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6562| #define STDC_HEADERS 1
6563| #define HAVE_SYS_TYPES_H 1
6564| #define HAVE_SYS_STAT_H 1
6565| #define HAVE_STDLIB_H 1
6566| #define HAVE_STRING_H 1
6567| #define HAVE_MEMORY_H 1
6568| #define HAVE_STRINGS_H 1
6569| #define HAVE_INTTYPES_H 1
6570| #define HAVE_STDINT_H 1
6571| #define HAVE_UNISTD_H 1
6572| #define __EXTENSIONS__ 1
6573| #define _ALL_SOURCE 1
6574| #define _GNU_SOURCE 1
6575| #define _POSIX_PTHREAD_SEMANTICS 1
6576| #define _TANDEM_SOURCE 1
6577| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6578| #define RUN_DIR "/opt/local/etc/unbound"
6579| #define CHROOT_DIR "/opt/local/etc/unbound"
6580| #define SHARE_DIR "/opt/local/etc/unbound"
6581| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6582| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6583| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6584| #define UB_USERNAME "unbound"
6585| #define WINVER 0x0502
6586| #define RSRC_PACKAGE_VERSION 1,12,0,0
6587| #define HAVE_GETOPT_H 1
6588| #define HAVE_TIME_H 1
6589| #define HAVE_ATTR_FORMAT 1
6590| #define HAVE_ATTR_UNUSED 1
6591| #define HAVE_ATTR_WEAK 1
6592| #define ATTR_WEAK __attribute__((weak))
6593| #define HAVE_ATTR_NORETURN 1
6594| #define ATTR_NORETURN __attribute__((__noreturn__))
6595| #define YYTEXT_POINTER 1
6596| #define LEX_HAS_YYLEX_DESTROY 1
6597| #define HAVE_DLFCN_H 1
6598| #define LT_OBJDIR ".libs/"
6599| #define HAVE_STDARG_H 1
6600| #define HAVE_STDBOOL_H 1
6601| #define HAVE_NETINET_IN_H 1
6602| #define HAVE_NETINET_TCP_H 1
6603| #define HAVE_SYS_PARAM_H 1
6604| #define HAVE_SYS_SELECT_H 1
6605| #define HAVE_SYS_SOCKET_H 1
6606| #define HAVE_SYS_UN_H 1
6607| #define HAVE_SYS_UIO_H 1
6608| #define HAVE_SYS_RESOURCE_H 1
6609| #define HAVE_ARPA_INET_H 1
6610| #define HAVE_SYSLOG_H 1
6611| #define HAVE_NETDB_H 1
6612| #define HAVE_SYS_WAIT_H 1
6613| #define HAVE_PWD_H 1
6614| #define HAVE_GLOB_H 1
6615| #define HAVE_GRP_H 1
6616| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6617| #define HAVE_SYS_IPC_H 1
6618| #define HAVE_SYS_SHM_H 1
6619| #define HAVE_IFADDRS_H 1
6620| #define HAVE_TARGETCONDITIONALS_H 1
6621| #define SIZEOF_TIME_T 8
6622| #define SIZEOF_SIZE_T 8
6623| #define HAVE_UNISTD_H 1
6624| #define HAVE_CHOWN 1
6625| #define HAVE_FORK 1
6626| #define HAVE_VFORK 1
6627| #define HAVE_WORKING_VFORK 1
6628| #define HAVE_WORKING_FORK 1
6629| #define RETSIGTYPE void
6630| #define HAVE_FSEEKO 1
6631| #define HAVE_STRPTIME 1
6632| #define REUSEPORT_DEFAULT 0
6633| #define HAVE_MALLOC 1
6634| #define HAVE_PTHREAD_PRIO_INHERIT 1
6635| #define HAVE_PTHREAD 1
6636| #define HAVE_PTHREAD_RWLOCK_T 1
6637| #define UB_SYSLOG_FACILITY LOG_DAEMON
6638| #define HAVE_SSL /**/
6639| #define HAVE_EVP_SHA256 1
6640| #define HAVE_OPENSSL_SSL_H 1
6641| #define HAVE_OPENSSL_ERR_H 1
6642| #define HAVE_OPENSSL_RAND_H 1
6643| #define HAVE_OPENSSL_CONF_H 1
6644| #define HAVE_OPENSSL_ENGINE_H 1
6645| #define HAVE_OPENSSL_BN_H 1
6646| #define HAVE_OPENSSL_DH_H 1
6647| #define HAVE_OPENSSL_DSA_H 1
6648| #define HAVE_OPENSSL_RSA_H 1
6649| #define HAVE_OPENSSL_CONFIG 1
6650| #define HAVE_EVP_SHA1 1
6651| #define HAVE_EVP_SHA256 1
6652| #define HAVE_EVP_SHA512 1
6653| #define HAVE_FIPS_MODE 1
6654| #define HAVE_EVP_MD_CTX_NEW 1
6655| #define HAVE_OPENSSL_INIT_CRYPTO 1
6656| /* end confdefs.h.  */
6657| /* Define EVP_cleanup to an innocuous variant, in case <limits.h> declares EVP_cleanup.
6658|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6659| #define EVP_cleanup innocuous_EVP_cleanup
6660|
6661| /* System header to define __stub macros and hopefully few prototypes,
6662|     which can conflict with char EVP_cleanup (); below.
6663|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6664|     <limits.h> exists even on freestanding compilers.  */
6665|
6666| #ifdef __STDC__
6667| # include <limits.h>
6668| #else
6669| # include <assert.h>
6670| #endif
6671|
6672| #undef EVP_cleanup
6673|
6674| /* Override any GCC internal prototype to avoid an error.
6675|    Use char because int might match the return type of a GCC
6676|    builtin and then its argument prototype would still apply.  */
6677| #ifdef __cplusplus
6678| extern "C"
6679| #endif
6680| char EVP_cleanup ();
6681| /* The GNU C library defines this for functions which it implements
6682|     to always fail with ENOSYS.  Some functions are actually named
6683|     something starting with __ and the normal name is an alias.  */
6684| #if defined __stub_EVP_cleanup || defined __stub___EVP_cleanup
6685| choke me
6686| #endif
6687|
6688| int
6689| main ()
6690| {
6691| return EVP_cleanup ();
6692|   ;
6693|   return 0;
6694| }
6695configure:18349: result: no
6696configure:18349: checking for ENGINE_cleanup
6697configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6698Undefined symbols for architecture x86_64:
6699  "_ENGINE_cleanup", referenced from:
6700      _main in conftest-ff765b.o
6701ld: symbol(s) not found for architecture x86_64
6702clang: error: linker command failed with exit code 1 (use -v to see invocation)
6703configure:18349: $? = 1
6704configure: failed program was:
6705| /* confdefs.h */
6706| #define PACKAGE_NAME "unbound"
6707| #define PACKAGE_TARNAME "unbound"
6708| #define PACKAGE_VERSION "1.12.0"
6709| #define PACKAGE_STRING "unbound 1.12.0"
6710| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6711| #define PACKAGE_URL ""
6712| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6713| #define STDC_HEADERS 1
6714| #define HAVE_SYS_TYPES_H 1
6715| #define HAVE_SYS_STAT_H 1
6716| #define HAVE_STDLIB_H 1
6717| #define HAVE_STRING_H 1
6718| #define HAVE_MEMORY_H 1
6719| #define HAVE_STRINGS_H 1
6720| #define HAVE_INTTYPES_H 1
6721| #define HAVE_STDINT_H 1
6722| #define HAVE_UNISTD_H 1
6723| #define __EXTENSIONS__ 1
6724| #define _ALL_SOURCE 1
6725| #define _GNU_SOURCE 1
6726| #define _POSIX_PTHREAD_SEMANTICS 1
6727| #define _TANDEM_SOURCE 1
6728| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6729| #define RUN_DIR "/opt/local/etc/unbound"
6730| #define CHROOT_DIR "/opt/local/etc/unbound"
6731| #define SHARE_DIR "/opt/local/etc/unbound"
6732| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6733| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6734| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6735| #define UB_USERNAME "unbound"
6736| #define WINVER 0x0502
6737| #define RSRC_PACKAGE_VERSION 1,12,0,0
6738| #define HAVE_GETOPT_H 1
6739| #define HAVE_TIME_H 1
6740| #define HAVE_ATTR_FORMAT 1
6741| #define HAVE_ATTR_UNUSED 1
6742| #define HAVE_ATTR_WEAK 1
6743| #define ATTR_WEAK __attribute__((weak))
6744| #define HAVE_ATTR_NORETURN 1
6745| #define ATTR_NORETURN __attribute__((__noreturn__))
6746| #define YYTEXT_POINTER 1
6747| #define LEX_HAS_YYLEX_DESTROY 1
6748| #define HAVE_DLFCN_H 1
6749| #define LT_OBJDIR ".libs/"
6750| #define HAVE_STDARG_H 1
6751| #define HAVE_STDBOOL_H 1
6752| #define HAVE_NETINET_IN_H 1
6753| #define HAVE_NETINET_TCP_H 1
6754| #define HAVE_SYS_PARAM_H 1
6755| #define HAVE_SYS_SELECT_H 1
6756| #define HAVE_SYS_SOCKET_H 1
6757| #define HAVE_SYS_UN_H 1
6758| #define HAVE_SYS_UIO_H 1
6759| #define HAVE_SYS_RESOURCE_H 1
6760| #define HAVE_ARPA_INET_H 1
6761| #define HAVE_SYSLOG_H 1
6762| #define HAVE_NETDB_H 1
6763| #define HAVE_SYS_WAIT_H 1
6764| #define HAVE_PWD_H 1
6765| #define HAVE_GLOB_H 1
6766| #define HAVE_GRP_H 1
6767| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6768| #define HAVE_SYS_IPC_H 1
6769| #define HAVE_SYS_SHM_H 1
6770| #define HAVE_IFADDRS_H 1
6771| #define HAVE_TARGETCONDITIONALS_H 1
6772| #define SIZEOF_TIME_T 8
6773| #define SIZEOF_SIZE_T 8
6774| #define HAVE_UNISTD_H 1
6775| #define HAVE_CHOWN 1
6776| #define HAVE_FORK 1
6777| #define HAVE_VFORK 1
6778| #define HAVE_WORKING_VFORK 1
6779| #define HAVE_WORKING_FORK 1
6780| #define RETSIGTYPE void
6781| #define HAVE_FSEEKO 1
6782| #define HAVE_STRPTIME 1
6783| #define REUSEPORT_DEFAULT 0
6784| #define HAVE_MALLOC 1
6785| #define HAVE_PTHREAD_PRIO_INHERIT 1
6786| #define HAVE_PTHREAD 1
6787| #define HAVE_PTHREAD_RWLOCK_T 1
6788| #define UB_SYSLOG_FACILITY LOG_DAEMON
6789| #define HAVE_SSL /**/
6790| #define HAVE_EVP_SHA256 1
6791| #define HAVE_OPENSSL_SSL_H 1
6792| #define HAVE_OPENSSL_ERR_H 1
6793| #define HAVE_OPENSSL_RAND_H 1
6794| #define HAVE_OPENSSL_CONF_H 1
6795| #define HAVE_OPENSSL_ENGINE_H 1
6796| #define HAVE_OPENSSL_BN_H 1
6797| #define HAVE_OPENSSL_DH_H 1
6798| #define HAVE_OPENSSL_DSA_H 1
6799| #define HAVE_OPENSSL_RSA_H 1
6800| #define HAVE_OPENSSL_CONFIG 1
6801| #define HAVE_EVP_SHA1 1
6802| #define HAVE_EVP_SHA256 1
6803| #define HAVE_EVP_SHA512 1
6804| #define HAVE_FIPS_MODE 1
6805| #define HAVE_EVP_MD_CTX_NEW 1
6806| #define HAVE_OPENSSL_INIT_CRYPTO 1
6807| /* end confdefs.h.  */
6808| /* Define ENGINE_cleanup to an innocuous variant, in case <limits.h> declares ENGINE_cleanup.
6809|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6810| #define ENGINE_cleanup innocuous_ENGINE_cleanup
6811|
6812| /* System header to define __stub macros and hopefully few prototypes,
6813|     which can conflict with char ENGINE_cleanup (); below.
6814|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6815|     <limits.h> exists even on freestanding compilers.  */
6816|
6817| #ifdef __STDC__
6818| # include <limits.h>
6819| #else
6820| # include <assert.h>
6821| #endif
6822|
6823| #undef ENGINE_cleanup
6824|
6825| /* Override any GCC internal prototype to avoid an error.
6826|    Use char because int might match the return type of a GCC
6827|    builtin and then its argument prototype would still apply.  */
6828| #ifdef __cplusplus
6829| extern "C"
6830| #endif
6831| char ENGINE_cleanup ();
6832| /* The GNU C library defines this for functions which it implements
6833|     to always fail with ENOSYS.  Some functions are actually named
6834|     something starting with __ and the normal name is an alias.  */
6835| #if defined __stub_ENGINE_cleanup || defined __stub___ENGINE_cleanup
6836| choke me
6837| #endif
6838|
6839| int
6840| main ()
6841| {
6842| return ENGINE_cleanup ();
6843|   ;
6844|   return 0;
6845| }
6846configure:18349: result: no
6847configure:18349: checking for ERR_load_crypto_strings
6848configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
6849Undefined symbols for architecture x86_64:
6850  "_ERR_load_crypto_strings", referenced from:
6851      _main in conftest-e7130e.o
6852ld: symbol(s) not found for architecture x86_64
6853clang: error: linker command failed with exit code 1 (use -v to see invocation)
6854configure:18349: $? = 1
6855configure: failed program was:
6856| /* confdefs.h */
6857| #define PACKAGE_NAME "unbound"
6858| #define PACKAGE_TARNAME "unbound"
6859| #define PACKAGE_VERSION "1.12.0"
6860| #define PACKAGE_STRING "unbound 1.12.0"
6861| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
6862| #define PACKAGE_URL ""
6863| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
6864| #define STDC_HEADERS 1
6865| #define HAVE_SYS_TYPES_H 1
6866| #define HAVE_SYS_STAT_H 1
6867| #define HAVE_STDLIB_H 1
6868| #define HAVE_STRING_H 1
6869| #define HAVE_MEMORY_H 1
6870| #define HAVE_STRINGS_H 1
6871| #define HAVE_INTTYPES_H 1
6872| #define HAVE_STDINT_H 1
6873| #define HAVE_UNISTD_H 1
6874| #define __EXTENSIONS__ 1
6875| #define _ALL_SOURCE 1
6876| #define _GNU_SOURCE 1
6877| #define _POSIX_PTHREAD_SEMANTICS 1
6878| #define _TANDEM_SOURCE 1
6879| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
6880| #define RUN_DIR "/opt/local/etc/unbound"
6881| #define CHROOT_DIR "/opt/local/etc/unbound"
6882| #define SHARE_DIR "/opt/local/etc/unbound"
6883| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
6884| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
6885| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
6886| #define UB_USERNAME "unbound"
6887| #define WINVER 0x0502
6888| #define RSRC_PACKAGE_VERSION 1,12,0,0
6889| #define HAVE_GETOPT_H 1
6890| #define HAVE_TIME_H 1
6891| #define HAVE_ATTR_FORMAT 1
6892| #define HAVE_ATTR_UNUSED 1
6893| #define HAVE_ATTR_WEAK 1
6894| #define ATTR_WEAK __attribute__((weak))
6895| #define HAVE_ATTR_NORETURN 1
6896| #define ATTR_NORETURN __attribute__((__noreturn__))
6897| #define YYTEXT_POINTER 1
6898| #define LEX_HAS_YYLEX_DESTROY 1
6899| #define HAVE_DLFCN_H 1
6900| #define LT_OBJDIR ".libs/"
6901| #define HAVE_STDARG_H 1
6902| #define HAVE_STDBOOL_H 1
6903| #define HAVE_NETINET_IN_H 1
6904| #define HAVE_NETINET_TCP_H 1
6905| #define HAVE_SYS_PARAM_H 1
6906| #define HAVE_SYS_SELECT_H 1
6907| #define HAVE_SYS_SOCKET_H 1
6908| #define HAVE_SYS_UN_H 1
6909| #define HAVE_SYS_UIO_H 1
6910| #define HAVE_SYS_RESOURCE_H 1
6911| #define HAVE_ARPA_INET_H 1
6912| #define HAVE_SYSLOG_H 1
6913| #define HAVE_NETDB_H 1
6914| #define HAVE_SYS_WAIT_H 1
6915| #define HAVE_PWD_H 1
6916| #define HAVE_GLOB_H 1
6917| #define HAVE_GRP_H 1
6918| #define HAVE_LIBKERN_OSBYTEORDER_H 1
6919| #define HAVE_SYS_IPC_H 1
6920| #define HAVE_SYS_SHM_H 1
6921| #define HAVE_IFADDRS_H 1
6922| #define HAVE_TARGETCONDITIONALS_H 1
6923| #define SIZEOF_TIME_T 8
6924| #define SIZEOF_SIZE_T 8
6925| #define HAVE_UNISTD_H 1
6926| #define HAVE_CHOWN 1
6927| #define HAVE_FORK 1
6928| #define HAVE_VFORK 1
6929| #define HAVE_WORKING_VFORK 1
6930| #define HAVE_WORKING_FORK 1
6931| #define RETSIGTYPE void
6932| #define HAVE_FSEEKO 1
6933| #define HAVE_STRPTIME 1
6934| #define REUSEPORT_DEFAULT 0
6935| #define HAVE_MALLOC 1
6936| #define HAVE_PTHREAD_PRIO_INHERIT 1
6937| #define HAVE_PTHREAD 1
6938| #define HAVE_PTHREAD_RWLOCK_T 1
6939| #define UB_SYSLOG_FACILITY LOG_DAEMON
6940| #define HAVE_SSL /**/
6941| #define HAVE_EVP_SHA256 1
6942| #define HAVE_OPENSSL_SSL_H 1
6943| #define HAVE_OPENSSL_ERR_H 1
6944| #define HAVE_OPENSSL_RAND_H 1
6945| #define HAVE_OPENSSL_CONF_H 1
6946| #define HAVE_OPENSSL_ENGINE_H 1
6947| #define HAVE_OPENSSL_BN_H 1
6948| #define HAVE_OPENSSL_DH_H 1
6949| #define HAVE_OPENSSL_DSA_H 1
6950| #define HAVE_OPENSSL_RSA_H 1
6951| #define HAVE_OPENSSL_CONFIG 1
6952| #define HAVE_EVP_SHA1 1
6953| #define HAVE_EVP_SHA256 1
6954| #define HAVE_EVP_SHA512 1
6955| #define HAVE_FIPS_MODE 1
6956| #define HAVE_EVP_MD_CTX_NEW 1
6957| #define HAVE_OPENSSL_INIT_CRYPTO 1
6958| /* end confdefs.h.  */
6959| /* Define ERR_load_crypto_strings to an innocuous variant, in case <limits.h> declares ERR_load_crypto_strings.
6960|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6961| #define ERR_load_crypto_strings innocuous_ERR_load_crypto_strings
6962|
6963| /* System header to define __stub macros and hopefully few prototypes,
6964|     which can conflict with char ERR_load_crypto_strings (); below.
6965|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6966|     <limits.h> exists even on freestanding compilers.  */
6967|
6968| #ifdef __STDC__
6969| # include <limits.h>
6970| #else
6971| # include <assert.h>
6972| #endif
6973|
6974| #undef ERR_load_crypto_strings
6975|
6976| /* Override any GCC internal prototype to avoid an error.
6977|    Use char because int might match the return type of a GCC
6978|    builtin and then its argument prototype would still apply.  */
6979| #ifdef __cplusplus
6980| extern "C"
6981| #endif
6982| char ERR_load_crypto_strings ();
6983| /* The GNU C library defines this for functions which it implements
6984|     to always fail with ENOSYS.  Some functions are actually named
6985|     something starting with __ and the normal name is an alias.  */
6986| #if defined __stub_ERR_load_crypto_strings || defined __stub___ERR_load_crypto_strings
6987| choke me
6988| #endif
6989|
6990| int
6991| main ()
6992| {
6993| return ERR_load_crypto_strings ();
6994|   ;
6995|   return 0;
6996| }
6997configure:18349: result: no
6998configure:18349: checking for CRYPTO_cleanup_all_ex_data
6999configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7000Undefined symbols for architecture x86_64:
7001  "_CRYPTO_cleanup_all_ex_data", referenced from:
7002      _main in conftest-8ad162.o
7003ld: symbol(s) not found for architecture x86_64
7004clang: error: linker command failed with exit code 1 (use -v to see invocation)
7005configure:18349: $? = 1
7006configure: failed program was:
7007| /* confdefs.h */
7008| #define PACKAGE_NAME "unbound"
7009| #define PACKAGE_TARNAME "unbound"
7010| #define PACKAGE_VERSION "1.12.0"
7011| #define PACKAGE_STRING "unbound 1.12.0"
7012| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7013| #define PACKAGE_URL ""
7014| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7015| #define STDC_HEADERS 1
7016| #define HAVE_SYS_TYPES_H 1
7017| #define HAVE_SYS_STAT_H 1
7018| #define HAVE_STDLIB_H 1
7019| #define HAVE_STRING_H 1
7020| #define HAVE_MEMORY_H 1
7021| #define HAVE_STRINGS_H 1
7022| #define HAVE_INTTYPES_H 1
7023| #define HAVE_STDINT_H 1
7024| #define HAVE_UNISTD_H 1
7025| #define __EXTENSIONS__ 1
7026| #define _ALL_SOURCE 1
7027| #define _GNU_SOURCE 1
7028| #define _POSIX_PTHREAD_SEMANTICS 1
7029| #define _TANDEM_SOURCE 1
7030| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7031| #define RUN_DIR "/opt/local/etc/unbound"
7032| #define CHROOT_DIR "/opt/local/etc/unbound"
7033| #define SHARE_DIR "/opt/local/etc/unbound"
7034| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7035| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7036| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7037| #define UB_USERNAME "unbound"
7038| #define WINVER 0x0502
7039| #define RSRC_PACKAGE_VERSION 1,12,0,0
7040| #define HAVE_GETOPT_H 1
7041| #define HAVE_TIME_H 1
7042| #define HAVE_ATTR_FORMAT 1
7043| #define HAVE_ATTR_UNUSED 1
7044| #define HAVE_ATTR_WEAK 1
7045| #define ATTR_WEAK __attribute__((weak))
7046| #define HAVE_ATTR_NORETURN 1
7047| #define ATTR_NORETURN __attribute__((__noreturn__))
7048| #define YYTEXT_POINTER 1
7049| #define LEX_HAS_YYLEX_DESTROY 1
7050| #define HAVE_DLFCN_H 1
7051| #define LT_OBJDIR ".libs/"
7052| #define HAVE_STDARG_H 1
7053| #define HAVE_STDBOOL_H 1
7054| #define HAVE_NETINET_IN_H 1
7055| #define HAVE_NETINET_TCP_H 1
7056| #define HAVE_SYS_PARAM_H 1
7057| #define HAVE_SYS_SELECT_H 1
7058| #define HAVE_SYS_SOCKET_H 1
7059| #define HAVE_SYS_UN_H 1
7060| #define HAVE_SYS_UIO_H 1
7061| #define HAVE_SYS_RESOURCE_H 1
7062| #define HAVE_ARPA_INET_H 1
7063| #define HAVE_SYSLOG_H 1
7064| #define HAVE_NETDB_H 1
7065| #define HAVE_SYS_WAIT_H 1
7066| #define HAVE_PWD_H 1
7067| #define HAVE_GLOB_H 1
7068| #define HAVE_GRP_H 1
7069| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7070| #define HAVE_SYS_IPC_H 1
7071| #define HAVE_SYS_SHM_H 1
7072| #define HAVE_IFADDRS_H 1
7073| #define HAVE_TARGETCONDITIONALS_H 1
7074| #define SIZEOF_TIME_T 8
7075| #define SIZEOF_SIZE_T 8
7076| #define HAVE_UNISTD_H 1
7077| #define HAVE_CHOWN 1
7078| #define HAVE_FORK 1
7079| #define HAVE_VFORK 1
7080| #define HAVE_WORKING_VFORK 1
7081| #define HAVE_WORKING_FORK 1
7082| #define RETSIGTYPE void
7083| #define HAVE_FSEEKO 1
7084| #define HAVE_STRPTIME 1
7085| #define REUSEPORT_DEFAULT 0
7086| #define HAVE_MALLOC 1
7087| #define HAVE_PTHREAD_PRIO_INHERIT 1
7088| #define HAVE_PTHREAD 1
7089| #define HAVE_PTHREAD_RWLOCK_T 1
7090| #define UB_SYSLOG_FACILITY LOG_DAEMON
7091| #define HAVE_SSL /**/
7092| #define HAVE_EVP_SHA256 1
7093| #define HAVE_OPENSSL_SSL_H 1
7094| #define HAVE_OPENSSL_ERR_H 1
7095| #define HAVE_OPENSSL_RAND_H 1
7096| #define HAVE_OPENSSL_CONF_H 1
7097| #define HAVE_OPENSSL_ENGINE_H 1
7098| #define HAVE_OPENSSL_BN_H 1
7099| #define HAVE_OPENSSL_DH_H 1
7100| #define HAVE_OPENSSL_DSA_H 1
7101| #define HAVE_OPENSSL_RSA_H 1
7102| #define HAVE_OPENSSL_CONFIG 1
7103| #define HAVE_EVP_SHA1 1
7104| #define HAVE_EVP_SHA256 1
7105| #define HAVE_EVP_SHA512 1
7106| #define HAVE_FIPS_MODE 1
7107| #define HAVE_EVP_MD_CTX_NEW 1
7108| #define HAVE_OPENSSL_INIT_CRYPTO 1
7109| /* end confdefs.h.  */
7110| /* Define CRYPTO_cleanup_all_ex_data to an innocuous variant, in case <limits.h> declares CRYPTO_cleanup_all_ex_data.
7111|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7112| #define CRYPTO_cleanup_all_ex_data innocuous_CRYPTO_cleanup_all_ex_data
7113|
7114| /* System header to define __stub macros and hopefully few prototypes,
7115|     which can conflict with char CRYPTO_cleanup_all_ex_data (); below.
7116|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117|     <limits.h> exists even on freestanding compilers.  */
7118|
7119| #ifdef __STDC__
7120| # include <limits.h>
7121| #else
7122| # include <assert.h>
7123| #endif
7124|
7125| #undef CRYPTO_cleanup_all_ex_data
7126|
7127| /* Override any GCC internal prototype to avoid an error.
7128|    Use char because int might match the return type of a GCC
7129|    builtin and then its argument prototype would still apply.  */
7130| #ifdef __cplusplus
7131| extern "C"
7132| #endif
7133| char CRYPTO_cleanup_all_ex_data ();
7134| /* The GNU C library defines this for functions which it implements
7135|     to always fail with ENOSYS.  Some functions are actually named
7136|     something starting with __ and the normal name is an alias.  */
7137| #if defined __stub_CRYPTO_cleanup_all_ex_data || defined __stub___CRYPTO_cleanup_all_ex_data
7138| choke me
7139| #endif
7140|
7141| int
7142| main ()
7143| {
7144| return CRYPTO_cleanup_all_ex_data ();
7145|   ;
7146|   return 0;
7147| }
7148configure:18349: result: no
7149configure:18349: checking for ERR_free_strings
7150configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7151Undefined symbols for architecture x86_64:
7152  "_ERR_free_strings", referenced from:
7153      _main in conftest-ac3b57.o
7154ld: symbol(s) not found for architecture x86_64
7155clang: error: linker command failed with exit code 1 (use -v to see invocation)
7156configure:18349: $? = 1
7157configure: failed program was:
7158| /* confdefs.h */
7159| #define PACKAGE_NAME "unbound"
7160| #define PACKAGE_TARNAME "unbound"
7161| #define PACKAGE_VERSION "1.12.0"
7162| #define PACKAGE_STRING "unbound 1.12.0"
7163| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7164| #define PACKAGE_URL ""
7165| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7166| #define STDC_HEADERS 1
7167| #define HAVE_SYS_TYPES_H 1
7168| #define HAVE_SYS_STAT_H 1
7169| #define HAVE_STDLIB_H 1
7170| #define HAVE_STRING_H 1
7171| #define HAVE_MEMORY_H 1
7172| #define HAVE_STRINGS_H 1
7173| #define HAVE_INTTYPES_H 1
7174| #define HAVE_STDINT_H 1
7175| #define HAVE_UNISTD_H 1
7176| #define __EXTENSIONS__ 1
7177| #define _ALL_SOURCE 1
7178| #define _GNU_SOURCE 1
7179| #define _POSIX_PTHREAD_SEMANTICS 1
7180| #define _TANDEM_SOURCE 1
7181| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7182| #define RUN_DIR "/opt/local/etc/unbound"
7183| #define CHROOT_DIR "/opt/local/etc/unbound"
7184| #define SHARE_DIR "/opt/local/etc/unbound"
7185| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7186| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7187| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7188| #define UB_USERNAME "unbound"
7189| #define WINVER 0x0502
7190| #define RSRC_PACKAGE_VERSION 1,12,0,0
7191| #define HAVE_GETOPT_H 1
7192| #define HAVE_TIME_H 1
7193| #define HAVE_ATTR_FORMAT 1
7194| #define HAVE_ATTR_UNUSED 1
7195| #define HAVE_ATTR_WEAK 1
7196| #define ATTR_WEAK __attribute__((weak))
7197| #define HAVE_ATTR_NORETURN 1
7198| #define ATTR_NORETURN __attribute__((__noreturn__))
7199| #define YYTEXT_POINTER 1
7200| #define LEX_HAS_YYLEX_DESTROY 1
7201| #define HAVE_DLFCN_H 1
7202| #define LT_OBJDIR ".libs/"
7203| #define HAVE_STDARG_H 1
7204| #define HAVE_STDBOOL_H 1
7205| #define HAVE_NETINET_IN_H 1
7206| #define HAVE_NETINET_TCP_H 1
7207| #define HAVE_SYS_PARAM_H 1
7208| #define HAVE_SYS_SELECT_H 1
7209| #define HAVE_SYS_SOCKET_H 1
7210| #define HAVE_SYS_UN_H 1
7211| #define HAVE_SYS_UIO_H 1
7212| #define HAVE_SYS_RESOURCE_H 1
7213| #define HAVE_ARPA_INET_H 1
7214| #define HAVE_SYSLOG_H 1
7215| #define HAVE_NETDB_H 1
7216| #define HAVE_SYS_WAIT_H 1
7217| #define HAVE_PWD_H 1
7218| #define HAVE_GLOB_H 1
7219| #define HAVE_GRP_H 1
7220| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7221| #define HAVE_SYS_IPC_H 1
7222| #define HAVE_SYS_SHM_H 1
7223| #define HAVE_IFADDRS_H 1
7224| #define HAVE_TARGETCONDITIONALS_H 1
7225| #define SIZEOF_TIME_T 8
7226| #define SIZEOF_SIZE_T 8
7227| #define HAVE_UNISTD_H 1
7228| #define HAVE_CHOWN 1
7229| #define HAVE_FORK 1
7230| #define HAVE_VFORK 1
7231| #define HAVE_WORKING_VFORK 1
7232| #define HAVE_WORKING_FORK 1
7233| #define RETSIGTYPE void
7234| #define HAVE_FSEEKO 1
7235| #define HAVE_STRPTIME 1
7236| #define REUSEPORT_DEFAULT 0
7237| #define HAVE_MALLOC 1
7238| #define HAVE_PTHREAD_PRIO_INHERIT 1
7239| #define HAVE_PTHREAD 1
7240| #define HAVE_PTHREAD_RWLOCK_T 1
7241| #define UB_SYSLOG_FACILITY LOG_DAEMON
7242| #define HAVE_SSL /**/
7243| #define HAVE_EVP_SHA256 1
7244| #define HAVE_OPENSSL_SSL_H 1
7245| #define HAVE_OPENSSL_ERR_H 1
7246| #define HAVE_OPENSSL_RAND_H 1
7247| #define HAVE_OPENSSL_CONF_H 1
7248| #define HAVE_OPENSSL_ENGINE_H 1
7249| #define HAVE_OPENSSL_BN_H 1
7250| #define HAVE_OPENSSL_DH_H 1
7251| #define HAVE_OPENSSL_DSA_H 1
7252| #define HAVE_OPENSSL_RSA_H 1
7253| #define HAVE_OPENSSL_CONFIG 1
7254| #define HAVE_EVP_SHA1 1
7255| #define HAVE_EVP_SHA256 1
7256| #define HAVE_EVP_SHA512 1
7257| #define HAVE_FIPS_MODE 1
7258| #define HAVE_EVP_MD_CTX_NEW 1
7259| #define HAVE_OPENSSL_INIT_CRYPTO 1
7260| /* end confdefs.h.  */
7261| /* Define ERR_free_strings to an innocuous variant, in case <limits.h> declares ERR_free_strings.
7262|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7263| #define ERR_free_strings innocuous_ERR_free_strings
7264|
7265| /* System header to define __stub macros and hopefully few prototypes,
7266|     which can conflict with char ERR_free_strings (); below.
7267|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268|     <limits.h> exists even on freestanding compilers.  */
7269|
7270| #ifdef __STDC__
7271| # include <limits.h>
7272| #else
7273| # include <assert.h>
7274| #endif
7275|
7276| #undef ERR_free_strings
7277|
7278| /* Override any GCC internal prototype to avoid an error.
7279|    Use char because int might match the return type of a GCC
7280|    builtin and then its argument prototype would still apply.  */
7281| #ifdef __cplusplus
7282| extern "C"
7283| #endif
7284| char ERR_free_strings ();
7285| /* The GNU C library defines this for functions which it implements
7286|     to always fail with ENOSYS.  Some functions are actually named
7287|     something starting with __ and the normal name is an alias.  */
7288| #if defined __stub_ERR_free_strings || defined __stub___ERR_free_strings
7289| choke me
7290| #endif
7291|
7292| int
7293| main ()
7294| {
7295| return ERR_free_strings ();
7296|   ;
7297|   return 0;
7298| }
7299configure:18349: result: no
7300configure:18349: checking for RAND_cleanup
7301configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7302Undefined symbols for architecture x86_64:
7303  "_RAND_cleanup", referenced from:
7304      _main in conftest-24241f.o
7305ld: symbol(s) not found for architecture x86_64
7306clang: error: linker command failed with exit code 1 (use -v to see invocation)
7307configure:18349: $? = 1
7308configure: failed program was:
7309| /* confdefs.h */
7310| #define PACKAGE_NAME "unbound"
7311| #define PACKAGE_TARNAME "unbound"
7312| #define PACKAGE_VERSION "1.12.0"
7313| #define PACKAGE_STRING "unbound 1.12.0"
7314| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7315| #define PACKAGE_URL ""
7316| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7317| #define STDC_HEADERS 1
7318| #define HAVE_SYS_TYPES_H 1
7319| #define HAVE_SYS_STAT_H 1
7320| #define HAVE_STDLIB_H 1
7321| #define HAVE_STRING_H 1
7322| #define HAVE_MEMORY_H 1
7323| #define HAVE_STRINGS_H 1
7324| #define HAVE_INTTYPES_H 1
7325| #define HAVE_STDINT_H 1
7326| #define HAVE_UNISTD_H 1
7327| #define __EXTENSIONS__ 1
7328| #define _ALL_SOURCE 1
7329| #define _GNU_SOURCE 1
7330| #define _POSIX_PTHREAD_SEMANTICS 1
7331| #define _TANDEM_SOURCE 1
7332| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7333| #define RUN_DIR "/opt/local/etc/unbound"
7334| #define CHROOT_DIR "/opt/local/etc/unbound"
7335| #define SHARE_DIR "/opt/local/etc/unbound"
7336| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7337| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7338| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7339| #define UB_USERNAME "unbound"
7340| #define WINVER 0x0502
7341| #define RSRC_PACKAGE_VERSION 1,12,0,0
7342| #define HAVE_GETOPT_H 1
7343| #define HAVE_TIME_H 1
7344| #define HAVE_ATTR_FORMAT 1
7345| #define HAVE_ATTR_UNUSED 1
7346| #define HAVE_ATTR_WEAK 1
7347| #define ATTR_WEAK __attribute__((weak))
7348| #define HAVE_ATTR_NORETURN 1
7349| #define ATTR_NORETURN __attribute__((__noreturn__))
7350| #define YYTEXT_POINTER 1
7351| #define LEX_HAS_YYLEX_DESTROY 1
7352| #define HAVE_DLFCN_H 1
7353| #define LT_OBJDIR ".libs/"
7354| #define HAVE_STDARG_H 1
7355| #define HAVE_STDBOOL_H 1
7356| #define HAVE_NETINET_IN_H 1
7357| #define HAVE_NETINET_TCP_H 1
7358| #define HAVE_SYS_PARAM_H 1
7359| #define HAVE_SYS_SELECT_H 1
7360| #define HAVE_SYS_SOCKET_H 1
7361| #define HAVE_SYS_UN_H 1
7362| #define HAVE_SYS_UIO_H 1
7363| #define HAVE_SYS_RESOURCE_H 1
7364| #define HAVE_ARPA_INET_H 1
7365| #define HAVE_SYSLOG_H 1
7366| #define HAVE_NETDB_H 1
7367| #define HAVE_SYS_WAIT_H 1
7368| #define HAVE_PWD_H 1
7369| #define HAVE_GLOB_H 1
7370| #define HAVE_GRP_H 1
7371| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7372| #define HAVE_SYS_IPC_H 1
7373| #define HAVE_SYS_SHM_H 1
7374| #define HAVE_IFADDRS_H 1
7375| #define HAVE_TARGETCONDITIONALS_H 1
7376| #define SIZEOF_TIME_T 8
7377| #define SIZEOF_SIZE_T 8
7378| #define HAVE_UNISTD_H 1
7379| #define HAVE_CHOWN 1
7380| #define HAVE_FORK 1
7381| #define HAVE_VFORK 1
7382| #define HAVE_WORKING_VFORK 1
7383| #define HAVE_WORKING_FORK 1
7384| #define RETSIGTYPE void
7385| #define HAVE_FSEEKO 1
7386| #define HAVE_STRPTIME 1
7387| #define REUSEPORT_DEFAULT 0
7388| #define HAVE_MALLOC 1
7389| #define HAVE_PTHREAD_PRIO_INHERIT 1
7390| #define HAVE_PTHREAD 1
7391| #define HAVE_PTHREAD_RWLOCK_T 1
7392| #define UB_SYSLOG_FACILITY LOG_DAEMON
7393| #define HAVE_SSL /**/
7394| #define HAVE_EVP_SHA256 1
7395| #define HAVE_OPENSSL_SSL_H 1
7396| #define HAVE_OPENSSL_ERR_H 1
7397| #define HAVE_OPENSSL_RAND_H 1
7398| #define HAVE_OPENSSL_CONF_H 1
7399| #define HAVE_OPENSSL_ENGINE_H 1
7400| #define HAVE_OPENSSL_BN_H 1
7401| #define HAVE_OPENSSL_DH_H 1
7402| #define HAVE_OPENSSL_DSA_H 1
7403| #define HAVE_OPENSSL_RSA_H 1
7404| #define HAVE_OPENSSL_CONFIG 1
7405| #define HAVE_EVP_SHA1 1
7406| #define HAVE_EVP_SHA256 1
7407| #define HAVE_EVP_SHA512 1
7408| #define HAVE_FIPS_MODE 1
7409| #define HAVE_EVP_MD_CTX_NEW 1
7410| #define HAVE_OPENSSL_INIT_CRYPTO 1
7411| /* end confdefs.h.  */
7412| /* Define RAND_cleanup to an innocuous variant, in case <limits.h> declares RAND_cleanup.
7413|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7414| #define RAND_cleanup innocuous_RAND_cleanup
7415|
7416| /* System header to define __stub macros and hopefully few prototypes,
7417|     which can conflict with char RAND_cleanup (); below.
7418|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7419|     <limits.h> exists even on freestanding compilers.  */
7420|
7421| #ifdef __STDC__
7422| # include <limits.h>
7423| #else
7424| # include <assert.h>
7425| #endif
7426|
7427| #undef RAND_cleanup
7428|
7429| /* Override any GCC internal prototype to avoid an error.
7430|    Use char because int might match the return type of a GCC
7431|    builtin and then its argument prototype would still apply.  */
7432| #ifdef __cplusplus
7433| extern "C"
7434| #endif
7435| char RAND_cleanup ();
7436| /* The GNU C library defines this for functions which it implements
7437|     to always fail with ENOSYS.  Some functions are actually named
7438|     something starting with __ and the normal name is an alias.  */
7439| #if defined __stub_RAND_cleanup || defined __stub___RAND_cleanup
7440| choke me
7441| #endif
7442|
7443| int
7444| main ()
7445| {
7446| return RAND_cleanup ();
7447|   ;
7448|   return 0;
7449| }
7450configure:18349: result: no
7451configure:18349: checking for DSA_SIG_set0
7452configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7453configure:18349: $? = 0
7454configure:18349: result: yes
7455configure:18349: checking for EVP_dss1
7456configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7457Undefined symbols for architecture x86_64:
7458  "_EVP_dss1", referenced from:
7459      _main in conftest-c8a5d8.o
7460ld: symbol(s) not found for architecture x86_64
7461clang: error: linker command failed with exit code 1 (use -v to see invocation)
7462configure:18349: $? = 1
7463configure: failed program was:
7464| /* confdefs.h */
7465| #define PACKAGE_NAME "unbound"
7466| #define PACKAGE_TARNAME "unbound"
7467| #define PACKAGE_VERSION "1.12.0"
7468| #define PACKAGE_STRING "unbound 1.12.0"
7469| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7470| #define PACKAGE_URL ""
7471| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7472| #define STDC_HEADERS 1
7473| #define HAVE_SYS_TYPES_H 1
7474| #define HAVE_SYS_STAT_H 1
7475| #define HAVE_STDLIB_H 1
7476| #define HAVE_STRING_H 1
7477| #define HAVE_MEMORY_H 1
7478| #define HAVE_STRINGS_H 1
7479| #define HAVE_INTTYPES_H 1
7480| #define HAVE_STDINT_H 1
7481| #define HAVE_UNISTD_H 1
7482| #define __EXTENSIONS__ 1
7483| #define _ALL_SOURCE 1
7484| #define _GNU_SOURCE 1
7485| #define _POSIX_PTHREAD_SEMANTICS 1
7486| #define _TANDEM_SOURCE 1
7487| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7488| #define RUN_DIR "/opt/local/etc/unbound"
7489| #define CHROOT_DIR "/opt/local/etc/unbound"
7490| #define SHARE_DIR "/opt/local/etc/unbound"
7491| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7492| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7493| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7494| #define UB_USERNAME "unbound"
7495| #define WINVER 0x0502
7496| #define RSRC_PACKAGE_VERSION 1,12,0,0
7497| #define HAVE_GETOPT_H 1
7498| #define HAVE_TIME_H 1
7499| #define HAVE_ATTR_FORMAT 1
7500| #define HAVE_ATTR_UNUSED 1
7501| #define HAVE_ATTR_WEAK 1
7502| #define ATTR_WEAK __attribute__((weak))
7503| #define HAVE_ATTR_NORETURN 1
7504| #define ATTR_NORETURN __attribute__((__noreturn__))
7505| #define YYTEXT_POINTER 1
7506| #define LEX_HAS_YYLEX_DESTROY 1
7507| #define HAVE_DLFCN_H 1
7508| #define LT_OBJDIR ".libs/"
7509| #define HAVE_STDARG_H 1
7510| #define HAVE_STDBOOL_H 1
7511| #define HAVE_NETINET_IN_H 1
7512| #define HAVE_NETINET_TCP_H 1
7513| #define HAVE_SYS_PARAM_H 1
7514| #define HAVE_SYS_SELECT_H 1
7515| #define HAVE_SYS_SOCKET_H 1
7516| #define HAVE_SYS_UN_H 1
7517| #define HAVE_SYS_UIO_H 1
7518| #define HAVE_SYS_RESOURCE_H 1
7519| #define HAVE_ARPA_INET_H 1
7520| #define HAVE_SYSLOG_H 1
7521| #define HAVE_NETDB_H 1
7522| #define HAVE_SYS_WAIT_H 1
7523| #define HAVE_PWD_H 1
7524| #define HAVE_GLOB_H 1
7525| #define HAVE_GRP_H 1
7526| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7527| #define HAVE_SYS_IPC_H 1
7528| #define HAVE_SYS_SHM_H 1
7529| #define HAVE_IFADDRS_H 1
7530| #define HAVE_TARGETCONDITIONALS_H 1
7531| #define SIZEOF_TIME_T 8
7532| #define SIZEOF_SIZE_T 8
7533| #define HAVE_UNISTD_H 1
7534| #define HAVE_CHOWN 1
7535| #define HAVE_FORK 1
7536| #define HAVE_VFORK 1
7537| #define HAVE_WORKING_VFORK 1
7538| #define HAVE_WORKING_FORK 1
7539| #define RETSIGTYPE void
7540| #define HAVE_FSEEKO 1
7541| #define HAVE_STRPTIME 1
7542| #define REUSEPORT_DEFAULT 0
7543| #define HAVE_MALLOC 1
7544| #define HAVE_PTHREAD_PRIO_INHERIT 1
7545| #define HAVE_PTHREAD 1
7546| #define HAVE_PTHREAD_RWLOCK_T 1
7547| #define UB_SYSLOG_FACILITY LOG_DAEMON
7548| #define HAVE_SSL /**/
7549| #define HAVE_EVP_SHA256 1
7550| #define HAVE_OPENSSL_SSL_H 1
7551| #define HAVE_OPENSSL_ERR_H 1
7552| #define HAVE_OPENSSL_RAND_H 1
7553| #define HAVE_OPENSSL_CONF_H 1
7554| #define HAVE_OPENSSL_ENGINE_H 1
7555| #define HAVE_OPENSSL_BN_H 1
7556| #define HAVE_OPENSSL_DH_H 1
7557| #define HAVE_OPENSSL_DSA_H 1
7558| #define HAVE_OPENSSL_RSA_H 1
7559| #define HAVE_OPENSSL_CONFIG 1
7560| #define HAVE_EVP_SHA1 1
7561| #define HAVE_EVP_SHA256 1
7562| #define HAVE_EVP_SHA512 1
7563| #define HAVE_FIPS_MODE 1
7564| #define HAVE_EVP_MD_CTX_NEW 1
7565| #define HAVE_OPENSSL_INIT_CRYPTO 1
7566| #define HAVE_DSA_SIG_SET0 1
7567| /* end confdefs.h.  */
7568| /* Define EVP_dss1 to an innocuous variant, in case <limits.h> declares EVP_dss1.
7569|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7570| #define EVP_dss1 innocuous_EVP_dss1
7571|
7572| /* System header to define __stub macros and hopefully few prototypes,
7573|     which can conflict with char EVP_dss1 (); below.
7574|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7575|     <limits.h> exists even on freestanding compilers.  */
7576|
7577| #ifdef __STDC__
7578| # include <limits.h>
7579| #else
7580| # include <assert.h>
7581| #endif
7582|
7583| #undef EVP_dss1
7584|
7585| /* Override any GCC internal prototype to avoid an error.
7586|    Use char because int might match the return type of a GCC
7587|    builtin and then its argument prototype would still apply.  */
7588| #ifdef __cplusplus
7589| extern "C"
7590| #endif
7591| char EVP_dss1 ();
7592| /* The GNU C library defines this for functions which it implements
7593|     to always fail with ENOSYS.  Some functions are actually named
7594|     something starting with __ and the normal name is an alias.  */
7595| #if defined __stub_EVP_dss1 || defined __stub___EVP_dss1
7596| choke me
7597| #endif
7598|
7599| int
7600| main ()
7601| {
7602| return EVP_dss1 ();
7603|   ;
7604|   return 0;
7605| }
7606configure:18349: result: no
7607configure:18349: checking for EVP_DigestVerify
7608configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7609configure:18349: $? = 0
7610configure:18349: result: yes
7611configure:18349: checking for EVP_aes_256_cbc
7612configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7613configure:18349: $? = 0
7614configure:18349: result: yes
7615configure:18349: checking for EVP_EncryptInit_ex
7616configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7617configure:18349: $? = 0
7618configure:18349: result: yes
7619configure:18349: checking for HMAC_Init_ex
7620configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7621configure:18349: $? = 0
7622configure:18349: result: yes
7623configure:18349: checking for CRYPTO_THREADID_set_callback
7624configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7625Undefined symbols for architecture x86_64:
7626  "_CRYPTO_THREADID_set_callback", referenced from:
7627      _main in conftest-746ecc.o
7628ld: symbol(s) not found for architecture x86_64
7629clang: error: linker command failed with exit code 1 (use -v to see invocation)
7630configure:18349: $? = 1
7631configure: failed program was:
7632| /* confdefs.h */
7633| #define PACKAGE_NAME "unbound"
7634| #define PACKAGE_TARNAME "unbound"
7635| #define PACKAGE_VERSION "1.12.0"
7636| #define PACKAGE_STRING "unbound 1.12.0"
7637| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7638| #define PACKAGE_URL ""
7639| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7640| #define STDC_HEADERS 1
7641| #define HAVE_SYS_TYPES_H 1
7642| #define HAVE_SYS_STAT_H 1
7643| #define HAVE_STDLIB_H 1
7644| #define HAVE_STRING_H 1
7645| #define HAVE_MEMORY_H 1
7646| #define HAVE_STRINGS_H 1
7647| #define HAVE_INTTYPES_H 1
7648| #define HAVE_STDINT_H 1
7649| #define HAVE_UNISTD_H 1
7650| #define __EXTENSIONS__ 1
7651| #define _ALL_SOURCE 1
7652| #define _GNU_SOURCE 1
7653| #define _POSIX_PTHREAD_SEMANTICS 1
7654| #define _TANDEM_SOURCE 1
7655| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7656| #define RUN_DIR "/opt/local/etc/unbound"
7657| #define CHROOT_DIR "/opt/local/etc/unbound"
7658| #define SHARE_DIR "/opt/local/etc/unbound"
7659| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7660| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7661| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7662| #define UB_USERNAME "unbound"
7663| #define WINVER 0x0502
7664| #define RSRC_PACKAGE_VERSION 1,12,0,0
7665| #define HAVE_GETOPT_H 1
7666| #define HAVE_TIME_H 1
7667| #define HAVE_ATTR_FORMAT 1
7668| #define HAVE_ATTR_UNUSED 1
7669| #define HAVE_ATTR_WEAK 1
7670| #define ATTR_WEAK __attribute__((weak))
7671| #define HAVE_ATTR_NORETURN 1
7672| #define ATTR_NORETURN __attribute__((__noreturn__))
7673| #define YYTEXT_POINTER 1
7674| #define LEX_HAS_YYLEX_DESTROY 1
7675| #define HAVE_DLFCN_H 1
7676| #define LT_OBJDIR ".libs/"
7677| #define HAVE_STDARG_H 1
7678| #define HAVE_STDBOOL_H 1
7679| #define HAVE_NETINET_IN_H 1
7680| #define HAVE_NETINET_TCP_H 1
7681| #define HAVE_SYS_PARAM_H 1
7682| #define HAVE_SYS_SELECT_H 1
7683| #define HAVE_SYS_SOCKET_H 1
7684| #define HAVE_SYS_UN_H 1
7685| #define HAVE_SYS_UIO_H 1
7686| #define HAVE_SYS_RESOURCE_H 1
7687| #define HAVE_ARPA_INET_H 1
7688| #define HAVE_SYSLOG_H 1
7689| #define HAVE_NETDB_H 1
7690| #define HAVE_SYS_WAIT_H 1
7691| #define HAVE_PWD_H 1
7692| #define HAVE_GLOB_H 1
7693| #define HAVE_GRP_H 1
7694| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7695| #define HAVE_SYS_IPC_H 1
7696| #define HAVE_SYS_SHM_H 1
7697| #define HAVE_IFADDRS_H 1
7698| #define HAVE_TARGETCONDITIONALS_H 1
7699| #define SIZEOF_TIME_T 8
7700| #define SIZEOF_SIZE_T 8
7701| #define HAVE_UNISTD_H 1
7702| #define HAVE_CHOWN 1
7703| #define HAVE_FORK 1
7704| #define HAVE_VFORK 1
7705| #define HAVE_WORKING_VFORK 1
7706| #define HAVE_WORKING_FORK 1
7707| #define RETSIGTYPE void
7708| #define HAVE_FSEEKO 1
7709| #define HAVE_STRPTIME 1
7710| #define REUSEPORT_DEFAULT 0
7711| #define HAVE_MALLOC 1
7712| #define HAVE_PTHREAD_PRIO_INHERIT 1
7713| #define HAVE_PTHREAD 1
7714| #define HAVE_PTHREAD_RWLOCK_T 1
7715| #define UB_SYSLOG_FACILITY LOG_DAEMON
7716| #define HAVE_SSL /**/
7717| #define HAVE_EVP_SHA256 1
7718| #define HAVE_OPENSSL_SSL_H 1
7719| #define HAVE_OPENSSL_ERR_H 1
7720| #define HAVE_OPENSSL_RAND_H 1
7721| #define HAVE_OPENSSL_CONF_H 1
7722| #define HAVE_OPENSSL_ENGINE_H 1
7723| #define HAVE_OPENSSL_BN_H 1
7724| #define HAVE_OPENSSL_DH_H 1
7725| #define HAVE_OPENSSL_DSA_H 1
7726| #define HAVE_OPENSSL_RSA_H 1
7727| #define HAVE_OPENSSL_CONFIG 1
7728| #define HAVE_EVP_SHA1 1
7729| #define HAVE_EVP_SHA256 1
7730| #define HAVE_EVP_SHA512 1
7731| #define HAVE_FIPS_MODE 1
7732| #define HAVE_EVP_MD_CTX_NEW 1
7733| #define HAVE_OPENSSL_INIT_CRYPTO 1
7734| #define HAVE_DSA_SIG_SET0 1
7735| #define HAVE_EVP_DIGESTVERIFY 1
7736| #define HAVE_EVP_AES_256_CBC 1
7737| #define HAVE_EVP_ENCRYPTINIT_EX 1
7738| #define HAVE_HMAC_INIT_EX 1
7739| /* end confdefs.h.  */
7740| /* Define CRYPTO_THREADID_set_callback to an innocuous variant, in case <limits.h> declares CRYPTO_THREADID_set_callback.
7741|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7742| #define CRYPTO_THREADID_set_callback innocuous_CRYPTO_THREADID_set_callback
7743|
7744| /* System header to define __stub macros and hopefully few prototypes,
7745|     which can conflict with char CRYPTO_THREADID_set_callback (); below.
7746|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7747|     <limits.h> exists even on freestanding compilers.  */
7748|
7749| #ifdef __STDC__
7750| # include <limits.h>
7751| #else
7752| # include <assert.h>
7753| #endif
7754|
7755| #undef CRYPTO_THREADID_set_callback
7756|
7757| /* Override any GCC internal prototype to avoid an error.
7758|    Use char because int might match the return type of a GCC
7759|    builtin and then its argument prototype would still apply.  */
7760| #ifdef __cplusplus
7761| extern "C"
7762| #endif
7763| char CRYPTO_THREADID_set_callback ();
7764| /* The GNU C library defines this for functions which it implements
7765|     to always fail with ENOSYS.  Some functions are actually named
7766|     something starting with __ and the normal name is an alias.  */
7767| #if defined __stub_CRYPTO_THREADID_set_callback || defined __stub___CRYPTO_THREADID_set_callback
7768| choke me
7769| #endif
7770|
7771| int
7772| main ()
7773| {
7774| return CRYPTO_THREADID_set_callback ();
7775|   ;
7776|   return 0;
7777| }
7778configure:18349: result: no
7779configure:18349: checking for EVP_MAC_CTX_set_params
7780configure:18349: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
7781Undefined symbols for architecture x86_64:
7782  "_EVP_MAC_CTX_set_params", referenced from:
7783      _main in conftest-754421.o
7784ld: symbol(s) not found for architecture x86_64
7785clang: error: linker command failed with exit code 1 (use -v to see invocation)
7786configure:18349: $? = 1
7787configure: failed program was:
7788| /* confdefs.h */
7789| #define PACKAGE_NAME "unbound"
7790| #define PACKAGE_TARNAME "unbound"
7791| #define PACKAGE_VERSION "1.12.0"
7792| #define PACKAGE_STRING "unbound 1.12.0"
7793| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7794| #define PACKAGE_URL ""
7795| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7796| #define STDC_HEADERS 1
7797| #define HAVE_SYS_TYPES_H 1
7798| #define HAVE_SYS_STAT_H 1
7799| #define HAVE_STDLIB_H 1
7800| #define HAVE_STRING_H 1
7801| #define HAVE_MEMORY_H 1
7802| #define HAVE_STRINGS_H 1
7803| #define HAVE_INTTYPES_H 1
7804| #define HAVE_STDINT_H 1
7805| #define HAVE_UNISTD_H 1
7806| #define __EXTENSIONS__ 1
7807| #define _ALL_SOURCE 1
7808| #define _GNU_SOURCE 1
7809| #define _POSIX_PTHREAD_SEMANTICS 1
7810| #define _TANDEM_SOURCE 1
7811| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7812| #define RUN_DIR "/opt/local/etc/unbound"
7813| #define CHROOT_DIR "/opt/local/etc/unbound"
7814| #define SHARE_DIR "/opt/local/etc/unbound"
7815| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7816| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7817| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7818| #define UB_USERNAME "unbound"
7819| #define WINVER 0x0502
7820| #define RSRC_PACKAGE_VERSION 1,12,0,0
7821| #define HAVE_GETOPT_H 1
7822| #define HAVE_TIME_H 1
7823| #define HAVE_ATTR_FORMAT 1
7824| #define HAVE_ATTR_UNUSED 1
7825| #define HAVE_ATTR_WEAK 1
7826| #define ATTR_WEAK __attribute__((weak))
7827| #define HAVE_ATTR_NORETURN 1
7828| #define ATTR_NORETURN __attribute__((__noreturn__))
7829| #define YYTEXT_POINTER 1
7830| #define LEX_HAS_YYLEX_DESTROY 1
7831| #define HAVE_DLFCN_H 1
7832| #define LT_OBJDIR ".libs/"
7833| #define HAVE_STDARG_H 1
7834| #define HAVE_STDBOOL_H 1
7835| #define HAVE_NETINET_IN_H 1
7836| #define HAVE_NETINET_TCP_H 1
7837| #define HAVE_SYS_PARAM_H 1
7838| #define HAVE_SYS_SELECT_H 1
7839| #define HAVE_SYS_SOCKET_H 1
7840| #define HAVE_SYS_UN_H 1
7841| #define HAVE_SYS_UIO_H 1
7842| #define HAVE_SYS_RESOURCE_H 1
7843| #define HAVE_ARPA_INET_H 1
7844| #define HAVE_SYSLOG_H 1
7845| #define HAVE_NETDB_H 1
7846| #define HAVE_SYS_WAIT_H 1
7847| #define HAVE_PWD_H 1
7848| #define HAVE_GLOB_H 1
7849| #define HAVE_GRP_H 1
7850| #define HAVE_LIBKERN_OSBYTEORDER_H 1
7851| #define HAVE_SYS_IPC_H 1
7852| #define HAVE_SYS_SHM_H 1
7853| #define HAVE_IFADDRS_H 1
7854| #define HAVE_TARGETCONDITIONALS_H 1
7855| #define SIZEOF_TIME_T 8
7856| #define SIZEOF_SIZE_T 8
7857| #define HAVE_UNISTD_H 1
7858| #define HAVE_CHOWN 1
7859| #define HAVE_FORK 1
7860| #define HAVE_VFORK 1
7861| #define HAVE_WORKING_VFORK 1
7862| #define HAVE_WORKING_FORK 1
7863| #define RETSIGTYPE void
7864| #define HAVE_FSEEKO 1
7865| #define HAVE_STRPTIME 1
7866| #define REUSEPORT_DEFAULT 0
7867| #define HAVE_MALLOC 1
7868| #define HAVE_PTHREAD_PRIO_INHERIT 1
7869| #define HAVE_PTHREAD 1
7870| #define HAVE_PTHREAD_RWLOCK_T 1
7871| #define UB_SYSLOG_FACILITY LOG_DAEMON
7872| #define HAVE_SSL /**/
7873| #define HAVE_EVP_SHA256 1
7874| #define HAVE_OPENSSL_SSL_H 1
7875| #define HAVE_OPENSSL_ERR_H 1
7876| #define HAVE_OPENSSL_RAND_H 1
7877| #define HAVE_OPENSSL_CONF_H 1
7878| #define HAVE_OPENSSL_ENGINE_H 1
7879| #define HAVE_OPENSSL_BN_H 1
7880| #define HAVE_OPENSSL_DH_H 1
7881| #define HAVE_OPENSSL_DSA_H 1
7882| #define HAVE_OPENSSL_RSA_H 1
7883| #define HAVE_OPENSSL_CONFIG 1
7884| #define HAVE_EVP_SHA1 1
7885| #define HAVE_EVP_SHA256 1
7886| #define HAVE_EVP_SHA512 1
7887| #define HAVE_FIPS_MODE 1
7888| #define HAVE_EVP_MD_CTX_NEW 1
7889| #define HAVE_OPENSSL_INIT_CRYPTO 1
7890| #define HAVE_DSA_SIG_SET0 1
7891| #define HAVE_EVP_DIGESTVERIFY 1
7892| #define HAVE_EVP_AES_256_CBC 1
7893| #define HAVE_EVP_ENCRYPTINIT_EX 1
7894| #define HAVE_HMAC_INIT_EX 1
7895| /* end confdefs.h.  */
7896| /* Define EVP_MAC_CTX_set_params to an innocuous variant, in case <limits.h> declares EVP_MAC_CTX_set_params.
7897|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7898| #define EVP_MAC_CTX_set_params innocuous_EVP_MAC_CTX_set_params
7899|
7900| /* System header to define __stub macros and hopefully few prototypes,
7901|     which can conflict with char EVP_MAC_CTX_set_params (); below.
7902|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7903|     <limits.h> exists even on freestanding compilers.  */
7904|
7905| #ifdef __STDC__
7906| # include <limits.h>
7907| #else
7908| # include <assert.h>
7909| #endif
7910|
7911| #undef EVP_MAC_CTX_set_params
7912|
7913| /* Override any GCC internal prototype to avoid an error.
7914|    Use char because int might match the return type of a GCC
7915|    builtin and then its argument prototype would still apply.  */
7916| #ifdef __cplusplus
7917| extern "C"
7918| #endif
7919| char EVP_MAC_CTX_set_params ();
7920| /* The GNU C library defines this for functions which it implements
7921|     to always fail with ENOSYS.  Some functions are actually named
7922|     something starting with __ and the normal name is an alias.  */
7923| #if defined __stub_EVP_MAC_CTX_set_params || defined __stub___EVP_MAC_CTX_set_params
7924| choke me
7925| #endif
7926|
7927| int
7928| main ()
7929| {
7930| return EVP_MAC_CTX_set_params ();
7931|   ;
7932|   return 0;
7933| }
7934configure:18349: result: no
7935configure:18365: checking for OPENSSL_init_ssl
7936configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7937configure:18365: $? = 0
7938configure:18365: result: yes
7939configure:18365: checking for SSL_CTX_set_security_level
7940configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7941configure:18365: $? = 0
7942configure:18365: result: yes
7943configure:18365: checking for SSL_set1_host
7944configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7945configure:18365: $? = 0
7946configure:18365: result: yes
7947configure:18365: checking for SSL_get0_peername
7948configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7949configure:18365: $? = 0
7950configure:18365: result: yes
7951configure:18365: checking for X509_VERIFY_PARAM_set1_host
7952configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7953configure:18365: $? = 0
7954configure:18365: result: yes
7955configure:18365: checking for SSL_CTX_set_ciphersuites
7956configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7957configure:18365: $? = 0
7958configure:18365: result: yes
7959configure:18365: checking for SSL_CTX_set_tlsext_ticket_key_evp_cb
7960configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
7961Undefined symbols for architecture x86_64:
7962  "_SSL_CTX_set_tlsext_ticket_key_evp_cb", referenced from:
7963      _main in conftest-1becff.o
7964ld: symbol(s) not found for architecture x86_64
7965clang: error: linker command failed with exit code 1 (use -v to see invocation)
7966configure:18365: $? = 1
7967configure: failed program was:
7968| /* confdefs.h */
7969| #define PACKAGE_NAME "unbound"
7970| #define PACKAGE_TARNAME "unbound"
7971| #define PACKAGE_VERSION "1.12.0"
7972| #define PACKAGE_STRING "unbound 1.12.0"
7973| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
7974| #define PACKAGE_URL ""
7975| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
7976| #define STDC_HEADERS 1
7977| #define HAVE_SYS_TYPES_H 1
7978| #define HAVE_SYS_STAT_H 1
7979| #define HAVE_STDLIB_H 1
7980| #define HAVE_STRING_H 1
7981| #define HAVE_MEMORY_H 1
7982| #define HAVE_STRINGS_H 1
7983| #define HAVE_INTTYPES_H 1
7984| #define HAVE_STDINT_H 1
7985| #define HAVE_UNISTD_H 1
7986| #define __EXTENSIONS__ 1
7987| #define _ALL_SOURCE 1
7988| #define _GNU_SOURCE 1
7989| #define _POSIX_PTHREAD_SEMANTICS 1
7990| #define _TANDEM_SOURCE 1
7991| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7992| #define RUN_DIR "/opt/local/etc/unbound"
7993| #define CHROOT_DIR "/opt/local/etc/unbound"
7994| #define SHARE_DIR "/opt/local/etc/unbound"
7995| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7996| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
7997| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7998| #define UB_USERNAME "unbound"
7999| #define WINVER 0x0502
8000| #define RSRC_PACKAGE_VERSION 1,12,0,0
8001| #define HAVE_GETOPT_H 1
8002| #define HAVE_TIME_H 1
8003| #define HAVE_ATTR_FORMAT 1
8004| #define HAVE_ATTR_UNUSED 1
8005| #define HAVE_ATTR_WEAK 1
8006| #define ATTR_WEAK __attribute__((weak))
8007| #define HAVE_ATTR_NORETURN 1
8008| #define ATTR_NORETURN __attribute__((__noreturn__))
8009| #define YYTEXT_POINTER 1
8010| #define LEX_HAS_YYLEX_DESTROY 1
8011| #define HAVE_DLFCN_H 1
8012| #define LT_OBJDIR ".libs/"
8013| #define HAVE_STDARG_H 1
8014| #define HAVE_STDBOOL_H 1
8015| #define HAVE_NETINET_IN_H 1
8016| #define HAVE_NETINET_TCP_H 1
8017| #define HAVE_SYS_PARAM_H 1
8018| #define HAVE_SYS_SELECT_H 1
8019| #define HAVE_SYS_SOCKET_H 1
8020| #define HAVE_SYS_UN_H 1
8021| #define HAVE_SYS_UIO_H 1
8022| #define HAVE_SYS_RESOURCE_H 1
8023| #define HAVE_ARPA_INET_H 1
8024| #define HAVE_SYSLOG_H 1
8025| #define HAVE_NETDB_H 1
8026| #define HAVE_SYS_WAIT_H 1
8027| #define HAVE_PWD_H 1
8028| #define HAVE_GLOB_H 1
8029| #define HAVE_GRP_H 1
8030| #define HAVE_LIBKERN_OSBYTEORDER_H 1
8031| #define HAVE_SYS_IPC_H 1
8032| #define HAVE_SYS_SHM_H 1
8033| #define HAVE_IFADDRS_H 1
8034| #define HAVE_TARGETCONDITIONALS_H 1
8035| #define SIZEOF_TIME_T 8
8036| #define SIZEOF_SIZE_T 8
8037| #define HAVE_UNISTD_H 1
8038| #define HAVE_CHOWN 1
8039| #define HAVE_FORK 1
8040| #define HAVE_VFORK 1
8041| #define HAVE_WORKING_VFORK 1
8042| #define HAVE_WORKING_FORK 1
8043| #define RETSIGTYPE void
8044| #define HAVE_FSEEKO 1
8045| #define HAVE_STRPTIME 1
8046| #define REUSEPORT_DEFAULT 0
8047| #define HAVE_MALLOC 1
8048| #define HAVE_PTHREAD_PRIO_INHERIT 1
8049| #define HAVE_PTHREAD 1
8050| #define HAVE_PTHREAD_RWLOCK_T 1
8051| #define UB_SYSLOG_FACILITY LOG_DAEMON
8052| #define HAVE_SSL /**/
8053| #define HAVE_EVP_SHA256 1
8054| #define HAVE_OPENSSL_SSL_H 1
8055| #define HAVE_OPENSSL_ERR_H 1
8056| #define HAVE_OPENSSL_RAND_H 1
8057| #define HAVE_OPENSSL_CONF_H 1
8058| #define HAVE_OPENSSL_ENGINE_H 1
8059| #define HAVE_OPENSSL_BN_H 1
8060| #define HAVE_OPENSSL_DH_H 1
8061| #define HAVE_OPENSSL_DSA_H 1
8062| #define HAVE_OPENSSL_RSA_H 1
8063| #define HAVE_OPENSSL_CONFIG 1
8064| #define HAVE_EVP_SHA1 1
8065| #define HAVE_EVP_SHA256 1
8066| #define HAVE_EVP_SHA512 1
8067| #define HAVE_FIPS_MODE 1
8068| #define HAVE_EVP_MD_CTX_NEW 1
8069| #define HAVE_OPENSSL_INIT_CRYPTO 1
8070| #define HAVE_DSA_SIG_SET0 1
8071| #define HAVE_EVP_DIGESTVERIFY 1
8072| #define HAVE_EVP_AES_256_CBC 1
8073| #define HAVE_EVP_ENCRYPTINIT_EX 1
8074| #define HAVE_HMAC_INIT_EX 1
8075| #define HAVE_OPENSSL_INIT_SSL 1
8076| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
8077| #define HAVE_SSL_SET1_HOST 1
8078| #define HAVE_SSL_GET0_PEERNAME 1
8079| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
8080| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
8081| /* end confdefs.h.  */
8082| /* Define SSL_CTX_set_tlsext_ticket_key_evp_cb to an innocuous variant, in case <limits.h> declares SSL_CTX_set_tlsext_ticket_key_evp_cb.
8083|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8084| #define SSL_CTX_set_tlsext_ticket_key_evp_cb innocuous_SSL_CTX_set_tlsext_ticket_key_evp_cb
8085|
8086| /* System header to define __stub macros and hopefully few prototypes,
8087|     which can conflict with char SSL_CTX_set_tlsext_ticket_key_evp_cb (); below.
8088|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8089|     <limits.h> exists even on freestanding compilers.  */
8090|
8091| #ifdef __STDC__
8092| # include <limits.h>
8093| #else
8094| # include <assert.h>
8095| #endif
8096|
8097| #undef SSL_CTX_set_tlsext_ticket_key_evp_cb
8098|
8099| /* Override any GCC internal prototype to avoid an error.
8100|    Use char because int might match the return type of a GCC
8101|    builtin and then its argument prototype would still apply.  */
8102| #ifdef __cplusplus
8103| extern "C"
8104| #endif
8105| char SSL_CTX_set_tlsext_ticket_key_evp_cb ();
8106| /* The GNU C library defines this for functions which it implements
8107|     to always fail with ENOSYS.  Some functions are actually named
8108|     something starting with __ and the normal name is an alias.  */
8109| #if defined __stub_SSL_CTX_set_tlsext_ticket_key_evp_cb || defined __stub___SSL_CTX_set_tlsext_ticket_key_evp_cb
8110| choke me
8111| #endif
8112|
8113| int
8114| main ()
8115| {
8116| return SSL_CTX_set_tlsext_ticket_key_evp_cb ();
8117|   ;
8118|   return 0;
8119| }
8120configure:18365: result: no
8121configure:18365: checking for SSL_CTX_set_alpn_select_cb
8122configure:18365: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c -lssl  -lcrypto >&5
8123configure:18365: $? = 0
8124configure:18365: result: yes
8125configure:18376: checking whether SSL_COMP_get_compression_methods is declared
8126configure:18376: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8127configure:18376: $? = 0
8128configure:18376: result: yes
8129configure:18406: checking whether sk_SSL_COMP_pop_free is declared
8130configure:18406: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8131configure:18406: $? = 0
8132configure:18406: result: yes
8133configure:18436: checking whether SSL_CTX_set_ecdh_auto is declared
8134configure:18436: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8135configure:18436: $? = 0
8136configure:18436: result: yes
8137configure:18470: checking the return type of HMAC_Init_ex
8138configure:18507: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8139configure:18507: $? = 0
8140configure:18509: result: int
8141configure:18681: checking for EVP_PKEY_set_type_str
8142configure:18681: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
8143configure:18681: $? = 0
8144configure:18681: result: yes
8145configure:18688: checking for EC_KEY_new
8146configure:18688: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
8147configure:18688: $? = 0
8148configure:18688: result: yes
8149configure:18696: checking if GOST works
8150configure:18794: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -Wl,-rpath,/opt/local/lib -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
8151conftest.c:182:2: warning: 'OPENSSL_config' is deprecated [-Wdeprecated-declarations]
8152        OPENSSL_config(NULL);
8153        ^
8154/opt/local/include/openssl/conf.h:91:1: note: 'OPENSSL_config' has been explicitly marked deprecated here
8155DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
8156^
8157/opt/local/include/openssl/opensslconf.h:163:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
8158# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
8159                                 ^
8160/opt/local/include/openssl/opensslconf.h:121:55: note: expanded from macro 'DECLARE_DEPRECATED'
8161#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
8162                                                      ^
81631 warning generated.
8164configure:18794: $? = 0
8165configure:18794: ./conftest
8166configure:18794: $? = 1
8167configure: program exited with status 1
8168configure: failed program was:
8169| /* confdefs.h */
8170| #define PACKAGE_NAME "unbound"
8171| #define PACKAGE_TARNAME "unbound"
8172| #define PACKAGE_VERSION "1.12.0"
8173| #define PACKAGE_STRING "unbound 1.12.0"
8174| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
8175| #define PACKAGE_URL ""
8176| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
8177| #define STDC_HEADERS 1
8178| #define HAVE_SYS_TYPES_H 1
8179| #define HAVE_SYS_STAT_H 1
8180| #define HAVE_STDLIB_H 1
8181| #define HAVE_STRING_H 1
8182| #define HAVE_MEMORY_H 1
8183| #define HAVE_STRINGS_H 1
8184| #define HAVE_INTTYPES_H 1
8185| #define HAVE_STDINT_H 1
8186| #define HAVE_UNISTD_H 1
8187| #define __EXTENSIONS__ 1
8188| #define _ALL_SOURCE 1
8189| #define _GNU_SOURCE 1
8190| #define _POSIX_PTHREAD_SEMANTICS 1
8191| #define _TANDEM_SOURCE 1
8192| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8193| #define RUN_DIR "/opt/local/etc/unbound"
8194| #define CHROOT_DIR "/opt/local/etc/unbound"
8195| #define SHARE_DIR "/opt/local/etc/unbound"
8196| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8197| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
8198| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8199| #define UB_USERNAME "unbound"
8200| #define WINVER 0x0502
8201| #define RSRC_PACKAGE_VERSION 1,12,0,0
8202| #define HAVE_GETOPT_H 1
8203| #define HAVE_TIME_H 1
8204| #define HAVE_ATTR_FORMAT 1
8205| #define HAVE_ATTR_UNUSED 1
8206| #define HAVE_ATTR_WEAK 1
8207| #define ATTR_WEAK __attribute__((weak))
8208| #define HAVE_ATTR_NORETURN 1
8209| #define ATTR_NORETURN __attribute__((__noreturn__))
8210| #define YYTEXT_POINTER 1
8211| #define LEX_HAS_YYLEX_DESTROY 1
8212| #define HAVE_DLFCN_H 1
8213| #define LT_OBJDIR ".libs/"
8214| #define HAVE_STDARG_H 1
8215| #define HAVE_STDBOOL_H 1
8216| #define HAVE_NETINET_IN_H 1
8217| #define HAVE_NETINET_TCP_H 1
8218| #define HAVE_SYS_PARAM_H 1
8219| #define HAVE_SYS_SELECT_H 1
8220| #define HAVE_SYS_SOCKET_H 1
8221| #define HAVE_SYS_UN_H 1
8222| #define HAVE_SYS_UIO_H 1
8223| #define HAVE_SYS_RESOURCE_H 1
8224| #define HAVE_ARPA_INET_H 1
8225| #define HAVE_SYSLOG_H 1
8226| #define HAVE_NETDB_H 1
8227| #define HAVE_SYS_WAIT_H 1
8228| #define HAVE_PWD_H 1
8229| #define HAVE_GLOB_H 1
8230| #define HAVE_GRP_H 1
8231| #define HAVE_LIBKERN_OSBYTEORDER_H 1
8232| #define HAVE_SYS_IPC_H 1
8233| #define HAVE_SYS_SHM_H 1
8234| #define HAVE_IFADDRS_H 1
8235| #define HAVE_TARGETCONDITIONALS_H 1
8236| #define SIZEOF_TIME_T 8
8237| #define SIZEOF_SIZE_T 8
8238| #define HAVE_UNISTD_H 1
8239| #define HAVE_CHOWN 1
8240| #define HAVE_FORK 1
8241| #define HAVE_VFORK 1
8242| #define HAVE_WORKING_VFORK 1
8243| #define HAVE_WORKING_FORK 1
8244| #define RETSIGTYPE void
8245| #define HAVE_FSEEKO 1
8246| #define HAVE_STRPTIME 1
8247| #define REUSEPORT_DEFAULT 0
8248| #define HAVE_MALLOC 1
8249| #define HAVE_PTHREAD_PRIO_INHERIT 1
8250| #define HAVE_PTHREAD 1
8251| #define HAVE_PTHREAD_RWLOCK_T 1
8252| #define UB_SYSLOG_FACILITY LOG_DAEMON
8253| #define HAVE_SSL /**/
8254| #define HAVE_EVP_SHA256 1
8255| #define HAVE_OPENSSL_SSL_H 1
8256| #define HAVE_OPENSSL_ERR_H 1
8257| #define HAVE_OPENSSL_RAND_H 1
8258| #define HAVE_OPENSSL_CONF_H 1
8259| #define HAVE_OPENSSL_ENGINE_H 1
8260| #define HAVE_OPENSSL_BN_H 1
8261| #define HAVE_OPENSSL_DH_H 1
8262| #define HAVE_OPENSSL_DSA_H 1
8263| #define HAVE_OPENSSL_RSA_H 1
8264| #define HAVE_OPENSSL_CONFIG 1
8265| #define HAVE_EVP_SHA1 1
8266| #define HAVE_EVP_SHA256 1
8267| #define HAVE_EVP_SHA512 1
8268| #define HAVE_FIPS_MODE 1
8269| #define HAVE_EVP_MD_CTX_NEW 1
8270| #define HAVE_OPENSSL_INIT_CRYPTO 1
8271| #define HAVE_DSA_SIG_SET0 1
8272| #define HAVE_EVP_DIGESTVERIFY 1
8273| #define HAVE_EVP_AES_256_CBC 1
8274| #define HAVE_EVP_ENCRYPTINIT_EX 1
8275| #define HAVE_HMAC_INIT_EX 1
8276| #define HAVE_OPENSSL_INIT_SSL 1
8277| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
8278| #define HAVE_SSL_SET1_HOST 1
8279| #define HAVE_SSL_GET0_PEERNAME 1
8280| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
8281| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
8282| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
8283| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
8284| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
8285| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
8286| #define USE_SHA1 1
8287| #define USE_SHA2 1
8288| /* end confdefs.h.  */
8289|
8290| #include <string.h>
8291| #include <openssl/ssl.h>
8292| #include <openssl/evp.h>
8293| #include <openssl/engine.h>
8294| #include <openssl/conf.h>
8295| /* routine to load gost (from sldns) */
8296| int load_gost_id(void)
8297| {
8298|       static int gost_id = 0;
8299|       const EVP_PKEY_ASN1_METHOD* meth;
8300|       ENGINE* e;
8301|
8302|       if(gost_id) return gost_id;
8303|
8304|       /* see if configuration loaded gost implementation from other engine*/
8305|       meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1);
8306|       if(meth) {
8307|               EVP_PKEY_asn1_get0_info(&gost_id, NULL, NULL, NULL, NULL, meth);
8308|               return gost_id;
8309|       }
8310|
8311|       /* see if engine can be loaded already */
8312|       e = ENGINE_by_id("gost");
8313|       if(!e) {
8314|               /* load it ourself, in case statically linked */
8315|               ENGINE_load_builtin_engines();
8316|               ENGINE_load_dynamic();
8317|               e = ENGINE_by_id("gost");
8318|       }
8319|       if(!e) {
8320|               /* no gost engine in openssl */
8321|               return 0;
8322|       }
8323|       if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
8324|               ENGINE_finish(e);
8325|               ENGINE_free(e);
8326|               return 0;
8327|       }
8328|
8329|       meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1);
8330|       if(!meth) {
8331|               /* algo not found */
8332|               ENGINE_finish(e);
8333|               ENGINE_free(e);
8334|               return 0;
8335|       }
8336|       EVP_PKEY_asn1_get0_info(&gost_id, NULL, NULL, NULL, NULL, meth);
8337|       return gost_id;
8338| }
8339| int main(void) {
8340|       EVP_MD_CTX* ctx;
8341|       const EVP_MD* md;
8342|       unsigned char digest[64]; /* its a 256-bit digest, so uses 32 bytes */
8343|       const char* str = "Hello world";
8344|       const unsigned char check[] = {
8345|               0x40 , 0xed , 0xf8 , 0x56 , 0x5a , 0xc5 , 0x36 , 0xe1 ,
8346|               0x33 , 0x7c , 0x7e , 0x87 , 0x62 , 0x1c , 0x42 , 0xe0 ,
8347|               0x17 , 0x1b , 0x5e , 0xce , 0xa8 , 0x46 , 0x65 , 0x4d ,
8348|               0x8d , 0x3e , 0x22 , 0x9b , 0xe1 , 0x30 , 0x19 , 0x9d
8349|       };
8350|       OPENSSL_config(NULL);
8351|       (void)load_gost_id();
8352|       md = EVP_get_digestbyname("md_gost94");
8353|       if(!md) return 1;
8354|       memset(digest, 0, sizeof(digest));
8355|       ctx = EVP_MD_CTX_create();
8356|       if(!ctx) return 2;
8357|       if(!EVP_DigestInit_ex(ctx, md, NULL)) return 3;
8358|       if(!EVP_DigestUpdate(ctx, str, 10)) return 4;
8359|       if(!EVP_DigestFinal_ex(ctx, digest, NULL)) return 5;
8360|       /* uncomment to see the hash calculated.
8361|               {int i;
8362|               for(i=0; i<32; i++)
8363|                       printf(" %2.2x", (int)digest[i]);
8364|               printf("\n");}
8365|       */
8366|       if(memcmp(digest, check, sizeof(check)) != 0)
8367|               return 6;
8368|       return 0;
8369| }
8370|
8371configure:18807: result: no
8372configure:18830: checking for ECDSA_sign
8373configure:18830: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
8374configure:18830: $? = 0
8375configure:18830: result: yes
8376configure:18837: checking for SHA384_Init
8377configure:18837: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib conftest.c  -lcrypto >&5
8378configure:18837: $? = 0
8379configure:18837: result: yes
8380configure:18844: checking whether NID_X9_62_prime256v1 is declared
8381configure:18844: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8382configure:18844: $? = 0
8383configure:18844: result: yes
8384configure:18862: checking whether NID_secp384r1 is declared
8385configure:18862: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8386configure:18862: $? = 0
8387configure:18862: result: yes
8388configure:18882: checking if openssl supports SHA2 and ECDSA with EVP
8389configure:18894: result: yes
8390configure:18990: checking whether NID_ED25519 is declared
8391configure:18990: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8392configure:18990: $? = 0
8393configure:18990: result: yes
8394configure:19049: checking whether NID_ED448 is declared
8395configure:19049: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include conftest.c >&5
8396configure:19049: $? = 0
8397configure:19049: result: yes
8398configure:19564: checking for libexpat
8399configure:19574: result: found in /opt/local
8400configure:19584: checking for expat.h
8401configure:19584: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
8402configure:19584: $? = 0
8403configure:19584: result: yes
8404configure:19595: checking whether XML_StopParser is declared
8405configure:19595: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
8406configure:19595: $? = 0
8407configure:19595: result: yes
8408configure:19794: checking for getaddrinfo
8409configure:19815: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
8410configure:19815: $? = 0
8411configure:19871: result: yes
8412configure:20019: checking for ioctlsocket
8413configure:20038: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
8414conftest.c:141:8: warning: implicit declaration of function 'ioctlsocket' is invalid in C99 [-Wimplicit-function-declaration]
8415        (void)ioctlsocket(0, 0, NULL);
8416              ^
8417conftest.c:141:26: error: use of undeclared identifier 'NULL'
8418        (void)ioctlsocket(0, 0, NULL);
8419                                ^
84201 warning and 1 error generated.
8421configure:20038: $? = 1
8422configure: failed program was:
8423| /* confdefs.h */
8424| #define PACKAGE_NAME "unbound"
8425| #define PACKAGE_TARNAME "unbound"
8426| #define PACKAGE_VERSION "1.12.0"
8427| #define PACKAGE_STRING "unbound 1.12.0"
8428| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
8429| #define PACKAGE_URL ""
8430| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
8431| #define STDC_HEADERS 1
8432| #define HAVE_SYS_TYPES_H 1
8433| #define HAVE_SYS_STAT_H 1
8434| #define HAVE_STDLIB_H 1
8435| #define HAVE_STRING_H 1
8436| #define HAVE_MEMORY_H 1
8437| #define HAVE_STRINGS_H 1
8438| #define HAVE_INTTYPES_H 1
8439| #define HAVE_STDINT_H 1
8440| #define HAVE_UNISTD_H 1
8441| #define __EXTENSIONS__ 1
8442| #define _ALL_SOURCE 1
8443| #define _GNU_SOURCE 1
8444| #define _POSIX_PTHREAD_SEMANTICS 1
8445| #define _TANDEM_SOURCE 1
8446| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8447| #define RUN_DIR "/opt/local/etc/unbound"
8448| #define CHROOT_DIR "/opt/local/etc/unbound"
8449| #define SHARE_DIR "/opt/local/etc/unbound"
8450| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8451| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
8452| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8453| #define UB_USERNAME "unbound"
8454| #define WINVER 0x0502
8455| #define RSRC_PACKAGE_VERSION 1,12,0,0
8456| #define HAVE_GETOPT_H 1
8457| #define HAVE_TIME_H 1
8458| #define HAVE_ATTR_FORMAT 1
8459| #define HAVE_ATTR_UNUSED 1
8460| #define HAVE_ATTR_WEAK 1
8461| #define ATTR_WEAK __attribute__((weak))
8462| #define HAVE_ATTR_NORETURN 1
8463| #define ATTR_NORETURN __attribute__((__noreturn__))
8464| #define YYTEXT_POINTER 1
8465| #define LEX_HAS_YYLEX_DESTROY 1
8466| #define HAVE_DLFCN_H 1
8467| #define LT_OBJDIR ".libs/"
8468| #define HAVE_STDARG_H 1
8469| #define HAVE_STDBOOL_H 1
8470| #define HAVE_NETINET_IN_H 1
8471| #define HAVE_NETINET_TCP_H 1
8472| #define HAVE_SYS_PARAM_H 1
8473| #define HAVE_SYS_SELECT_H 1
8474| #define HAVE_SYS_SOCKET_H 1
8475| #define HAVE_SYS_UN_H 1
8476| #define HAVE_SYS_UIO_H 1
8477| #define HAVE_SYS_RESOURCE_H 1
8478| #define HAVE_ARPA_INET_H 1
8479| #define HAVE_SYSLOG_H 1
8480| #define HAVE_NETDB_H 1
8481| #define HAVE_SYS_WAIT_H 1
8482| #define HAVE_PWD_H 1
8483| #define HAVE_GLOB_H 1
8484| #define HAVE_GRP_H 1
8485| #define HAVE_LIBKERN_OSBYTEORDER_H 1
8486| #define HAVE_SYS_IPC_H 1
8487| #define HAVE_SYS_SHM_H 1
8488| #define HAVE_IFADDRS_H 1
8489| #define HAVE_TARGETCONDITIONALS_H 1
8490| #define SIZEOF_TIME_T 8
8491| #define SIZEOF_SIZE_T 8
8492| #define HAVE_UNISTD_H 1
8493| #define HAVE_CHOWN 1
8494| #define HAVE_FORK 1
8495| #define HAVE_VFORK 1
8496| #define HAVE_WORKING_VFORK 1
8497| #define HAVE_WORKING_FORK 1
8498| #define RETSIGTYPE void
8499| #define HAVE_FSEEKO 1
8500| #define HAVE_STRPTIME 1
8501| #define REUSEPORT_DEFAULT 0
8502| #define HAVE_MALLOC 1
8503| #define HAVE_PTHREAD_PRIO_INHERIT 1
8504| #define HAVE_PTHREAD 1
8505| #define HAVE_PTHREAD_RWLOCK_T 1
8506| #define UB_SYSLOG_FACILITY LOG_DAEMON
8507| #define HAVE_SSL /**/
8508| #define HAVE_EVP_SHA256 1
8509| #define HAVE_OPENSSL_SSL_H 1
8510| #define HAVE_OPENSSL_ERR_H 1
8511| #define HAVE_OPENSSL_RAND_H 1
8512| #define HAVE_OPENSSL_CONF_H 1
8513| #define HAVE_OPENSSL_ENGINE_H 1
8514| #define HAVE_OPENSSL_BN_H 1
8515| #define HAVE_OPENSSL_DH_H 1
8516| #define HAVE_OPENSSL_DSA_H 1
8517| #define HAVE_OPENSSL_RSA_H 1
8518| #define HAVE_OPENSSL_CONFIG 1
8519| #define HAVE_EVP_SHA1 1
8520| #define HAVE_EVP_SHA256 1
8521| #define HAVE_EVP_SHA512 1
8522| #define HAVE_FIPS_MODE 1
8523| #define HAVE_EVP_MD_CTX_NEW 1
8524| #define HAVE_OPENSSL_INIT_CRYPTO 1
8525| #define HAVE_DSA_SIG_SET0 1
8526| #define HAVE_EVP_DIGESTVERIFY 1
8527| #define HAVE_EVP_AES_256_CBC 1
8528| #define HAVE_EVP_ENCRYPTINIT_EX 1
8529| #define HAVE_HMAC_INIT_EX 1
8530| #define HAVE_OPENSSL_INIT_SSL 1
8531| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
8532| #define HAVE_SSL_SET1_HOST 1
8533| #define HAVE_SSL_GET0_PEERNAME 1
8534| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
8535| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
8536| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
8537| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
8538| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
8539| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
8540| #define USE_SHA1 1
8541| #define USE_SHA2 1
8542| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
8543| #define HAVE_DECL_NID_SECP384R1 1
8544| #define USE_ECDSA 1
8545| #define HAVE_DECL_NID_ED25519 1
8546| #define USE_ED25519 1
8547| #define HAVE_DECL_NID_ED448 1
8548| #define USE_ED448 1
8549| #define USE_MINI_EVENT 1
8550| #define HAVE_EXPAT_H 1
8551| #define HAVE_DECL_XML_STOPPARSER 1
8552| #define HAVE_GETADDRINFO 1
8553| /* end confdefs.h.  */
8554|
8555| #ifdef HAVE_WINSOCK2_H
8556| #include <winsock2.h>
8557| #endif
8558|
8559| int
8560| main ()
8561| {
8562|
8563|       (void)ioctlsocket(0, 0, NULL);
8564|
8565|   ;
8566|   return 0;
8567| }
8568configure:20047: result: no
8569configure:20057: checking for daemon
8570configure:20057: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
8571configure:20057: $? = 0
8572configure:20057: result: yes
8573configure:20069: checking if daemon is deprecated
8574configure:20090: result: yes
8575configure:20108: checking for struct sockaddr_un.sun_len
8576configure:20108: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
8577configure:20108: $? = 0
8578configure:20108: result: yes
8579configure:20124: checking for struct in_pktinfo.ipi_spec_dst
8580configure:20124: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
8581conftest.c:205:26: error: variable has incomplete type 'struct in_pktinfo'
8582static struct in_pktinfo ac_aggr;
8583                         ^
8584conftest.c:205:15: note: forward declaration of 'struct in_pktinfo'
8585static struct in_pktinfo ac_aggr;
8586              ^
85871 error generated.
8588configure:20124: $? = 1
8589configure: failed program was:
8590| /* confdefs.h */
8591| #define PACKAGE_NAME "unbound"
8592| #define PACKAGE_TARNAME "unbound"
8593| #define PACKAGE_VERSION "1.12.0"
8594| #define PACKAGE_STRING "unbound 1.12.0"
8595| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
8596| #define PACKAGE_URL ""
8597| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
8598| #define STDC_HEADERS 1
8599| #define HAVE_SYS_TYPES_H 1
8600| #define HAVE_SYS_STAT_H 1
8601| #define HAVE_STDLIB_H 1
8602| #define HAVE_STRING_H 1
8603| #define HAVE_MEMORY_H 1
8604| #define HAVE_STRINGS_H 1
8605| #define HAVE_INTTYPES_H 1
8606| #define HAVE_STDINT_H 1
8607| #define HAVE_UNISTD_H 1
8608| #define __EXTENSIONS__ 1
8609| #define _ALL_SOURCE 1
8610| #define _GNU_SOURCE 1
8611| #define _POSIX_PTHREAD_SEMANTICS 1
8612| #define _TANDEM_SOURCE 1
8613| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8614| #define RUN_DIR "/opt/local/etc/unbound"
8615| #define CHROOT_DIR "/opt/local/etc/unbound"
8616| #define SHARE_DIR "/opt/local/etc/unbound"
8617| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8618| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
8619| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8620| #define UB_USERNAME "unbound"
8621| #define WINVER 0x0502
8622| #define RSRC_PACKAGE_VERSION 1,12,0,0
8623| #define HAVE_GETOPT_H 1
8624| #define HAVE_TIME_H 1
8625| #define HAVE_ATTR_FORMAT 1
8626| #define HAVE_ATTR_UNUSED 1
8627| #define HAVE_ATTR_WEAK 1
8628| #define ATTR_WEAK __attribute__((weak))
8629| #define HAVE_ATTR_NORETURN 1
8630| #define ATTR_NORETURN __attribute__((__noreturn__))
8631| #define YYTEXT_POINTER 1
8632| #define LEX_HAS_YYLEX_DESTROY 1
8633| #define HAVE_DLFCN_H 1
8634| #define LT_OBJDIR ".libs/"
8635| #define HAVE_STDARG_H 1
8636| #define HAVE_STDBOOL_H 1
8637| #define HAVE_NETINET_IN_H 1
8638| #define HAVE_NETINET_TCP_H 1
8639| #define HAVE_SYS_PARAM_H 1
8640| #define HAVE_SYS_SELECT_H 1
8641| #define HAVE_SYS_SOCKET_H 1
8642| #define HAVE_SYS_UN_H 1
8643| #define HAVE_SYS_UIO_H 1
8644| #define HAVE_SYS_RESOURCE_H 1
8645| #define HAVE_ARPA_INET_H 1
8646| #define HAVE_SYSLOG_H 1
8647| #define HAVE_NETDB_H 1
8648| #define HAVE_SYS_WAIT_H 1
8649| #define HAVE_PWD_H 1
8650| #define HAVE_GLOB_H 1
8651| #define HAVE_GRP_H 1
8652| #define HAVE_LIBKERN_OSBYTEORDER_H 1
8653| #define HAVE_SYS_IPC_H 1
8654| #define HAVE_SYS_SHM_H 1
8655| #define HAVE_IFADDRS_H 1
8656| #define HAVE_TARGETCONDITIONALS_H 1
8657| #define SIZEOF_TIME_T 8
8658| #define SIZEOF_SIZE_T 8
8659| #define HAVE_UNISTD_H 1
8660| #define HAVE_CHOWN 1
8661| #define HAVE_FORK 1
8662| #define HAVE_VFORK 1
8663| #define HAVE_WORKING_VFORK 1
8664| #define HAVE_WORKING_FORK 1
8665| #define RETSIGTYPE void
8666| #define HAVE_FSEEKO 1
8667| #define HAVE_STRPTIME 1
8668| #define REUSEPORT_DEFAULT 0
8669| #define HAVE_MALLOC 1
8670| #define HAVE_PTHREAD_PRIO_INHERIT 1
8671| #define HAVE_PTHREAD 1
8672| #define HAVE_PTHREAD_RWLOCK_T 1
8673| #define UB_SYSLOG_FACILITY LOG_DAEMON
8674| #define HAVE_SSL /**/
8675| #define HAVE_EVP_SHA256 1
8676| #define HAVE_OPENSSL_SSL_H 1
8677| #define HAVE_OPENSSL_ERR_H 1
8678| #define HAVE_OPENSSL_RAND_H 1
8679| #define HAVE_OPENSSL_CONF_H 1
8680| #define HAVE_OPENSSL_ENGINE_H 1
8681| #define HAVE_OPENSSL_BN_H 1
8682| #define HAVE_OPENSSL_DH_H 1
8683| #define HAVE_OPENSSL_DSA_H 1
8684| #define HAVE_OPENSSL_RSA_H 1
8685| #define HAVE_OPENSSL_CONFIG 1
8686| #define HAVE_EVP_SHA1 1
8687| #define HAVE_EVP_SHA256 1
8688| #define HAVE_EVP_SHA512 1
8689| #define HAVE_FIPS_MODE 1
8690| #define HAVE_EVP_MD_CTX_NEW 1
8691| #define HAVE_OPENSSL_INIT_CRYPTO 1
8692| #define HAVE_DSA_SIG_SET0 1
8693| #define HAVE_EVP_DIGESTVERIFY 1
8694| #define HAVE_EVP_AES_256_CBC 1
8695| #define HAVE_EVP_ENCRYPTINIT_EX 1
8696| #define HAVE_HMAC_INIT_EX 1
8697| #define HAVE_OPENSSL_INIT_SSL 1
8698| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
8699| #define HAVE_SSL_SET1_HOST 1
8700| #define HAVE_SSL_GET0_PEERNAME 1
8701| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
8702| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
8703| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
8704| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
8705| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
8706| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
8707| #define USE_SHA1 1
8708| #define USE_SHA2 1
8709| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
8710| #define HAVE_DECL_NID_SECP384R1 1
8711| #define USE_ECDSA 1
8712| #define HAVE_DECL_NID_ED25519 1
8713| #define USE_ED25519 1
8714| #define HAVE_DECL_NID_ED448 1
8715| #define USE_ED448 1
8716| #define USE_MINI_EVENT 1
8717| #define HAVE_EXPAT_H 1
8718| #define HAVE_DECL_XML_STOPPARSER 1
8719| #define HAVE_GETADDRINFO 1
8720| #define HAVE_DAEMON 1
8721| #define DEPRECATED_DAEMON 1
8722| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
8723| /* end confdefs.h.  */
8724|
8725| #include <stdio.h>
8726| #ifdef HAVE_SYS_TYPES_H
8727| # include <sys/types.h>
8728| #endif
8729| #ifdef HAVE_SYS_STAT_H
8730| # include <sys/stat.h>
8731| #endif
8732| #ifdef STDC_HEADERS
8733| # include <stdlib.h>
8734| # include <stddef.h>
8735| #else
8736| # ifdef HAVE_STDLIB_H
8737| #  include <stdlib.h>
8738| # endif
8739| #endif
8740| #ifdef HAVE_STRING_H
8741| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8742| #  include <memory.h>
8743| # endif
8744| # include <string.h>
8745| #endif
8746| #ifdef HAVE_STRINGS_H
8747| # include <strings.h>
8748| #endif
8749| #ifdef HAVE_INTTYPES_H
8750| # include <inttypes.h>
8751| #endif
8752| #ifdef HAVE_STDINT_H
8753| # include <stdint.h>
8754| #endif
8755| #ifdef HAVE_UNISTD_H
8756| # include <unistd.h>
8757| #endif
8758| #if HAVE_SYS_PARAM_H
8759| #include <sys/param.h>
8760| #endif
8761|
8762| #ifdef HAVE_SYS_SOCKET_H
8763| #include <sys/socket.h>
8764| #endif
8765|
8766| #ifdef HAVE_SYS_UIO_H
8767| #include <sys/uio.h>
8768| #endif
8769|
8770| #ifdef HAVE_NETINET_IN_H
8771| #include <netinet/in.h>
8772| #endif
8773|
8774| #ifdef HAVE_NETINET_TCP_H
8775| #include <netinet/tcp.h>
8776| #endif
8777|
8778| #ifdef HAVE_ARPA_INET_H
8779| #include <arpa/inet.h>
8780| #endif
8781|
8782| #ifdef HAVE_WINSOCK2_H
8783| #include <winsock2.h>
8784| #endif
8785|
8786| #ifdef HAVE_WS2TCPIP_H
8787| #include <ws2tcpip.h>
8788| #endif
8789|
8790|
8791| int
8792| main ()
8793| {
8794| static struct in_pktinfo ac_aggr;
8795| if (ac_aggr.ipi_spec_dst)
8796| return 0;
8797|   ;
8798|   return 0;
8799| }
8800configure:20124: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
8801conftest.c:205:26: error: variable has incomplete type 'struct in_pktinfo'
8802static struct in_pktinfo ac_aggr;
8803                         ^
8804conftest.c:205:15: note: forward declaration of 'struct in_pktinfo'
8805static struct in_pktinfo ac_aggr;
8806              ^
88071 error generated.
8808configure:20124: $? = 1
8809configure: failed program was:
8810| /* confdefs.h */
8811| #define PACKAGE_NAME "unbound"
8812| #define PACKAGE_TARNAME "unbound"
8813| #define PACKAGE_VERSION "1.12.0"
8814| #define PACKAGE_STRING "unbound 1.12.0"
8815| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
8816| #define PACKAGE_URL ""
8817| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
8818| #define STDC_HEADERS 1
8819| #define HAVE_SYS_TYPES_H 1
8820| #define HAVE_SYS_STAT_H 1
8821| #define HAVE_STDLIB_H 1
8822| #define HAVE_STRING_H 1
8823| #define HAVE_MEMORY_H 1
8824| #define HAVE_STRINGS_H 1
8825| #define HAVE_INTTYPES_H 1
8826| #define HAVE_STDINT_H 1
8827| #define HAVE_UNISTD_H 1
8828| #define __EXTENSIONS__ 1
8829| #define _ALL_SOURCE 1
8830| #define _GNU_SOURCE 1
8831| #define _POSIX_PTHREAD_SEMANTICS 1
8832| #define _TANDEM_SOURCE 1
8833| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8834| #define RUN_DIR "/opt/local/etc/unbound"
8835| #define CHROOT_DIR "/opt/local/etc/unbound"
8836| #define SHARE_DIR "/opt/local/etc/unbound"
8837| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8838| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
8839| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8840| #define UB_USERNAME "unbound"
8841| #define WINVER 0x0502
8842| #define RSRC_PACKAGE_VERSION 1,12,0,0
8843| #define HAVE_GETOPT_H 1
8844| #define HAVE_TIME_H 1
8845| #define HAVE_ATTR_FORMAT 1
8846| #define HAVE_ATTR_UNUSED 1
8847| #define HAVE_ATTR_WEAK 1
8848| #define ATTR_WEAK __attribute__((weak))
8849| #define HAVE_ATTR_NORETURN 1
8850| #define ATTR_NORETURN __attribute__((__noreturn__))
8851| #define YYTEXT_POINTER 1
8852| #define LEX_HAS_YYLEX_DESTROY 1
8853| #define HAVE_DLFCN_H 1
8854| #define LT_OBJDIR ".libs/"
8855| #define HAVE_STDARG_H 1
8856| #define HAVE_STDBOOL_H 1
8857| #define HAVE_NETINET_IN_H 1
8858| #define HAVE_NETINET_TCP_H 1
8859| #define HAVE_SYS_PARAM_H 1
8860| #define HAVE_SYS_SELECT_H 1
8861| #define HAVE_SYS_SOCKET_H 1
8862| #define HAVE_SYS_UN_H 1
8863| #define HAVE_SYS_UIO_H 1
8864| #define HAVE_SYS_RESOURCE_H 1
8865| #define HAVE_ARPA_INET_H 1
8866| #define HAVE_SYSLOG_H 1
8867| #define HAVE_NETDB_H 1
8868| #define HAVE_SYS_WAIT_H 1
8869| #define HAVE_PWD_H 1
8870| #define HAVE_GLOB_H 1
8871| #define HAVE_GRP_H 1
8872| #define HAVE_LIBKERN_OSBYTEORDER_H 1
8873| #define HAVE_SYS_IPC_H 1
8874| #define HAVE_SYS_SHM_H 1
8875| #define HAVE_IFADDRS_H 1
8876| #define HAVE_TARGETCONDITIONALS_H 1
8877| #define SIZEOF_TIME_T 8
8878| #define SIZEOF_SIZE_T 8
8879| #define HAVE_UNISTD_H 1
8880| #define HAVE_CHOWN 1
8881| #define HAVE_FORK 1
8882| #define HAVE_VFORK 1
8883| #define HAVE_WORKING_VFORK 1
8884| #define HAVE_WORKING_FORK 1
8885| #define RETSIGTYPE void
8886| #define HAVE_FSEEKO 1
8887| #define HAVE_STRPTIME 1
8888| #define REUSEPORT_DEFAULT 0
8889| #define HAVE_MALLOC 1
8890| #define HAVE_PTHREAD_PRIO_INHERIT 1
8891| #define HAVE_PTHREAD 1
8892| #define HAVE_PTHREAD_RWLOCK_T 1
8893| #define UB_SYSLOG_FACILITY LOG_DAEMON
8894| #define HAVE_SSL /**/
8895| #define HAVE_EVP_SHA256 1
8896| #define HAVE_OPENSSL_SSL_H 1
8897| #define HAVE_OPENSSL_ERR_H 1
8898| #define HAVE_OPENSSL_RAND_H 1
8899| #define HAVE_OPENSSL_CONF_H 1
8900| #define HAVE_OPENSSL_ENGINE_H 1
8901| #define HAVE_OPENSSL_BN_H 1
8902| #define HAVE_OPENSSL_DH_H 1
8903| #define HAVE_OPENSSL_DSA_H 1
8904| #define HAVE_OPENSSL_RSA_H 1
8905| #define HAVE_OPENSSL_CONFIG 1
8906| #define HAVE_EVP_SHA1 1
8907| #define HAVE_EVP_SHA256 1
8908| #define HAVE_EVP_SHA512 1
8909| #define HAVE_FIPS_MODE 1
8910| #define HAVE_EVP_MD_CTX_NEW 1
8911| #define HAVE_OPENSSL_INIT_CRYPTO 1
8912| #define HAVE_DSA_SIG_SET0 1
8913| #define HAVE_EVP_DIGESTVERIFY 1
8914| #define HAVE_EVP_AES_256_CBC 1
8915| #define HAVE_EVP_ENCRYPTINIT_EX 1
8916| #define HAVE_HMAC_INIT_EX 1
8917| #define HAVE_OPENSSL_INIT_SSL 1
8918| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
8919| #define HAVE_SSL_SET1_HOST 1
8920| #define HAVE_SSL_GET0_PEERNAME 1
8921| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
8922| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
8923| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
8924| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
8925| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
8926| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
8927| #define USE_SHA1 1
8928| #define USE_SHA2 1
8929| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
8930| #define HAVE_DECL_NID_SECP384R1 1
8931| #define USE_ECDSA 1
8932| #define HAVE_DECL_NID_ED25519 1
8933| #define USE_ED25519 1
8934| #define HAVE_DECL_NID_ED448 1
8935| #define USE_ED448 1
8936| #define USE_MINI_EVENT 1
8937| #define HAVE_EXPAT_H 1
8938| #define HAVE_DECL_XML_STOPPARSER 1
8939| #define HAVE_GETADDRINFO 1
8940| #define HAVE_DAEMON 1
8941| #define DEPRECATED_DAEMON 1
8942| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
8943| /* end confdefs.h.  */
8944|
8945| #include <stdio.h>
8946| #ifdef HAVE_SYS_TYPES_H
8947| # include <sys/types.h>
8948| #endif
8949| #ifdef HAVE_SYS_STAT_H
8950| # include <sys/stat.h>
8951| #endif
8952| #ifdef STDC_HEADERS
8953| # include <stdlib.h>
8954| # include <stddef.h>
8955| #else
8956| # ifdef HAVE_STDLIB_H
8957| #  include <stdlib.h>
8958| # endif
8959| #endif
8960| #ifdef HAVE_STRING_H
8961| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8962| #  include <memory.h>
8963| # endif
8964| # include <string.h>
8965| #endif
8966| #ifdef HAVE_STRINGS_H
8967| # include <strings.h>
8968| #endif
8969| #ifdef HAVE_INTTYPES_H
8970| # include <inttypes.h>
8971| #endif
8972| #ifdef HAVE_STDINT_H
8973| # include <stdint.h>
8974| #endif
8975| #ifdef HAVE_UNISTD_H
8976| # include <unistd.h>
8977| #endif
8978| #if HAVE_SYS_PARAM_H
8979| #include <sys/param.h>
8980| #endif
8981|
8982| #ifdef HAVE_SYS_SOCKET_H
8983| #include <sys/socket.h>
8984| #endif
8985|
8986| #ifdef HAVE_SYS_UIO_H
8987| #include <sys/uio.h>
8988| #endif
8989|
8990| #ifdef HAVE_NETINET_IN_H
8991| #include <netinet/in.h>
8992| #endif
8993|
8994| #ifdef HAVE_NETINET_TCP_H
8995| #include <netinet/tcp.h>
8996| #endif
8997|
8998| #ifdef HAVE_ARPA_INET_H
8999| #include <arpa/inet.h>
9000| #endif
9001|
9002| #ifdef HAVE_WINSOCK2_H
9003| #include <winsock2.h>
9004| #endif
9005|
9006| #ifdef HAVE_WS2TCPIP_H
9007| #include <ws2tcpip.h>
9008| #endif
9009|
9010|
9011| int
9012| main ()
9013| {
9014| static struct in_pktinfo ac_aggr;
9015| if (sizeof ac_aggr.ipi_spec_dst)
9016| return 0;
9017|   ;
9018|   return 0;
9019| }
9020configure:20124: result: no
9021configure:20169: checking for htobe64
9022configure:20190: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9023conftest.c:147:24: warning: implicit declaration of function 'htobe64' is invalid in C99 [-Wimplicit-function-declaration]
9024unsigned long long x = htobe64(0); printf("%u", (unsigned)x);
9025                       ^
90261 warning generated.
9027Undefined symbols for architecture x86_64:
9028  "_htobe64", referenced from:
9029      _main in conftest-3be0c3.o
9030ld: symbol(s) not found for architecture x86_64
9031clang: error: linker command failed with exit code 1 (use -v to see invocation)
9032configure:20190: $? = 1
9033configure: failed program was:
9034| /* confdefs.h */
9035| #define PACKAGE_NAME "unbound"
9036| #define PACKAGE_TARNAME "unbound"
9037| #define PACKAGE_VERSION "1.12.0"
9038| #define PACKAGE_STRING "unbound 1.12.0"
9039| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9040| #define PACKAGE_URL ""
9041| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9042| #define STDC_HEADERS 1
9043| #define HAVE_SYS_TYPES_H 1
9044| #define HAVE_SYS_STAT_H 1
9045| #define HAVE_STDLIB_H 1
9046| #define HAVE_STRING_H 1
9047| #define HAVE_MEMORY_H 1
9048| #define HAVE_STRINGS_H 1
9049| #define HAVE_INTTYPES_H 1
9050| #define HAVE_STDINT_H 1
9051| #define HAVE_UNISTD_H 1
9052| #define __EXTENSIONS__ 1
9053| #define _ALL_SOURCE 1
9054| #define _GNU_SOURCE 1
9055| #define _POSIX_PTHREAD_SEMANTICS 1
9056| #define _TANDEM_SOURCE 1
9057| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9058| #define RUN_DIR "/opt/local/etc/unbound"
9059| #define CHROOT_DIR "/opt/local/etc/unbound"
9060| #define SHARE_DIR "/opt/local/etc/unbound"
9061| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9062| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
9063| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9064| #define UB_USERNAME "unbound"
9065| #define WINVER 0x0502
9066| #define RSRC_PACKAGE_VERSION 1,12,0,0
9067| #define HAVE_GETOPT_H 1
9068| #define HAVE_TIME_H 1
9069| #define HAVE_ATTR_FORMAT 1
9070| #define HAVE_ATTR_UNUSED 1
9071| #define HAVE_ATTR_WEAK 1
9072| #define ATTR_WEAK __attribute__((weak))
9073| #define HAVE_ATTR_NORETURN 1
9074| #define ATTR_NORETURN __attribute__((__noreturn__))
9075| #define YYTEXT_POINTER 1
9076| #define LEX_HAS_YYLEX_DESTROY 1
9077| #define HAVE_DLFCN_H 1
9078| #define LT_OBJDIR ".libs/"
9079| #define HAVE_STDARG_H 1
9080| #define HAVE_STDBOOL_H 1
9081| #define HAVE_NETINET_IN_H 1
9082| #define HAVE_NETINET_TCP_H 1
9083| #define HAVE_SYS_PARAM_H 1
9084| #define HAVE_SYS_SELECT_H 1
9085| #define HAVE_SYS_SOCKET_H 1
9086| #define HAVE_SYS_UN_H 1
9087| #define HAVE_SYS_UIO_H 1
9088| #define HAVE_SYS_RESOURCE_H 1
9089| #define HAVE_ARPA_INET_H 1
9090| #define HAVE_SYSLOG_H 1
9091| #define HAVE_NETDB_H 1
9092| #define HAVE_SYS_WAIT_H 1
9093| #define HAVE_PWD_H 1
9094| #define HAVE_GLOB_H 1
9095| #define HAVE_GRP_H 1
9096| #define HAVE_LIBKERN_OSBYTEORDER_H 1
9097| #define HAVE_SYS_IPC_H 1
9098| #define HAVE_SYS_SHM_H 1
9099| #define HAVE_IFADDRS_H 1
9100| #define HAVE_TARGETCONDITIONALS_H 1
9101| #define SIZEOF_TIME_T 8
9102| #define SIZEOF_SIZE_T 8
9103| #define HAVE_UNISTD_H 1
9104| #define HAVE_CHOWN 1
9105| #define HAVE_FORK 1
9106| #define HAVE_VFORK 1
9107| #define HAVE_WORKING_VFORK 1
9108| #define HAVE_WORKING_FORK 1
9109| #define RETSIGTYPE void
9110| #define HAVE_FSEEKO 1
9111| #define HAVE_STRPTIME 1
9112| #define REUSEPORT_DEFAULT 0
9113| #define HAVE_MALLOC 1
9114| #define HAVE_PTHREAD_PRIO_INHERIT 1
9115| #define HAVE_PTHREAD 1
9116| #define HAVE_PTHREAD_RWLOCK_T 1
9117| #define UB_SYSLOG_FACILITY LOG_DAEMON
9118| #define HAVE_SSL /**/
9119| #define HAVE_EVP_SHA256 1
9120| #define HAVE_OPENSSL_SSL_H 1
9121| #define HAVE_OPENSSL_ERR_H 1
9122| #define HAVE_OPENSSL_RAND_H 1
9123| #define HAVE_OPENSSL_CONF_H 1
9124| #define HAVE_OPENSSL_ENGINE_H 1
9125| #define HAVE_OPENSSL_BN_H 1
9126| #define HAVE_OPENSSL_DH_H 1
9127| #define HAVE_OPENSSL_DSA_H 1
9128| #define HAVE_OPENSSL_RSA_H 1
9129| #define HAVE_OPENSSL_CONFIG 1
9130| #define HAVE_EVP_SHA1 1
9131| #define HAVE_EVP_SHA256 1
9132| #define HAVE_EVP_SHA512 1
9133| #define HAVE_FIPS_MODE 1
9134| #define HAVE_EVP_MD_CTX_NEW 1
9135| #define HAVE_OPENSSL_INIT_CRYPTO 1
9136| #define HAVE_DSA_SIG_SET0 1
9137| #define HAVE_EVP_DIGESTVERIFY 1
9138| #define HAVE_EVP_AES_256_CBC 1
9139| #define HAVE_EVP_ENCRYPTINIT_EX 1
9140| #define HAVE_HMAC_INIT_EX 1
9141| #define HAVE_OPENSSL_INIT_SSL 1
9142| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
9143| #define HAVE_SSL_SET1_HOST 1
9144| #define HAVE_SSL_GET0_PEERNAME 1
9145| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
9146| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
9147| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
9148| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
9149| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
9150| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
9151| #define USE_SHA1 1
9152| #define USE_SHA2 1
9153| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
9154| #define HAVE_DECL_NID_SECP384R1 1
9155| #define USE_ECDSA 1
9156| #define HAVE_DECL_NID_ED25519 1
9157| #define USE_ED25519 1
9158| #define HAVE_DECL_NID_ED448 1
9159| #define USE_ED448 1
9160| #define USE_MINI_EVENT 1
9161| #define HAVE_EXPAT_H 1
9162| #define HAVE_DECL_XML_STOPPARSER 1
9163| #define HAVE_GETADDRINFO 1
9164| #define HAVE_DAEMON 1
9165| #define DEPRECATED_DAEMON 1
9166| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
9167| /* end confdefs.h.  */
9168|
9169| #include <stdio.h>
9170| #ifdef HAVE_ENDIAN_H
9171| #  include <endian.h>
9172| #endif
9173| #ifdef HAVE_SYS_ENDIAN_H
9174| #  include <sys/endian.h>
9175| #endif
9176|
9177| int
9178| main ()
9179| {
9180| unsigned long long x = htobe64(0); printf("%u", (unsigned)x);
9181|   ;
9182|   return 0;
9183| }
9184configure:20197: result: no
9185configure:20203: checking for be64toh
9186configure:20224: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9187conftest.c:147:24: warning: implicit declaration of function 'be64toh' is invalid in C99 [-Wimplicit-function-declaration]
9188unsigned long long x = be64toh(0); printf("%u", (unsigned)x);
9189                       ^
91901 warning generated.
9191Undefined symbols for architecture x86_64:
9192  "_be64toh", referenced from:
9193      _main in conftest-405bc1.o
9194ld: symbol(s) not found for architecture x86_64
9195clang: error: linker command failed with exit code 1 (use -v to see invocation)
9196configure:20224: $? = 1
9197configure: failed program was:
9198| /* confdefs.h */
9199| #define PACKAGE_NAME "unbound"
9200| #define PACKAGE_TARNAME "unbound"
9201| #define PACKAGE_VERSION "1.12.0"
9202| #define PACKAGE_STRING "unbound 1.12.0"
9203| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9204| #define PACKAGE_URL ""
9205| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9206| #define STDC_HEADERS 1
9207| #define HAVE_SYS_TYPES_H 1
9208| #define HAVE_SYS_STAT_H 1
9209| #define HAVE_STDLIB_H 1
9210| #define HAVE_STRING_H 1
9211| #define HAVE_MEMORY_H 1
9212| #define HAVE_STRINGS_H 1
9213| #define HAVE_INTTYPES_H 1
9214| #define HAVE_STDINT_H 1
9215| #define HAVE_UNISTD_H 1
9216| #define __EXTENSIONS__ 1
9217| #define _ALL_SOURCE 1
9218| #define _GNU_SOURCE 1
9219| #define _POSIX_PTHREAD_SEMANTICS 1
9220| #define _TANDEM_SOURCE 1
9221| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9222| #define RUN_DIR "/opt/local/etc/unbound"
9223| #define CHROOT_DIR "/opt/local/etc/unbound"
9224| #define SHARE_DIR "/opt/local/etc/unbound"
9225| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9226| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
9227| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9228| #define UB_USERNAME "unbound"
9229| #define WINVER 0x0502
9230| #define RSRC_PACKAGE_VERSION 1,12,0,0
9231| #define HAVE_GETOPT_H 1
9232| #define HAVE_TIME_H 1
9233| #define HAVE_ATTR_FORMAT 1
9234| #define HAVE_ATTR_UNUSED 1
9235| #define HAVE_ATTR_WEAK 1
9236| #define ATTR_WEAK __attribute__((weak))
9237| #define HAVE_ATTR_NORETURN 1
9238| #define ATTR_NORETURN __attribute__((__noreturn__))
9239| #define YYTEXT_POINTER 1
9240| #define LEX_HAS_YYLEX_DESTROY 1
9241| #define HAVE_DLFCN_H 1
9242| #define LT_OBJDIR ".libs/"
9243| #define HAVE_STDARG_H 1
9244| #define HAVE_STDBOOL_H 1
9245| #define HAVE_NETINET_IN_H 1
9246| #define HAVE_NETINET_TCP_H 1
9247| #define HAVE_SYS_PARAM_H 1
9248| #define HAVE_SYS_SELECT_H 1
9249| #define HAVE_SYS_SOCKET_H 1
9250| #define HAVE_SYS_UN_H 1
9251| #define HAVE_SYS_UIO_H 1
9252| #define HAVE_SYS_RESOURCE_H 1
9253| #define HAVE_ARPA_INET_H 1
9254| #define HAVE_SYSLOG_H 1
9255| #define HAVE_NETDB_H 1
9256| #define HAVE_SYS_WAIT_H 1
9257| #define HAVE_PWD_H 1
9258| #define HAVE_GLOB_H 1
9259| #define HAVE_GRP_H 1
9260| #define HAVE_LIBKERN_OSBYTEORDER_H 1
9261| #define HAVE_SYS_IPC_H 1
9262| #define HAVE_SYS_SHM_H 1
9263| #define HAVE_IFADDRS_H 1
9264| #define HAVE_TARGETCONDITIONALS_H 1
9265| #define SIZEOF_TIME_T 8
9266| #define SIZEOF_SIZE_T 8
9267| #define HAVE_UNISTD_H 1
9268| #define HAVE_CHOWN 1
9269| #define HAVE_FORK 1
9270| #define HAVE_VFORK 1
9271| #define HAVE_WORKING_VFORK 1
9272| #define HAVE_WORKING_FORK 1
9273| #define RETSIGTYPE void
9274| #define HAVE_FSEEKO 1
9275| #define HAVE_STRPTIME 1
9276| #define REUSEPORT_DEFAULT 0
9277| #define HAVE_MALLOC 1
9278| #define HAVE_PTHREAD_PRIO_INHERIT 1
9279| #define HAVE_PTHREAD 1
9280| #define HAVE_PTHREAD_RWLOCK_T 1
9281| #define UB_SYSLOG_FACILITY LOG_DAEMON
9282| #define HAVE_SSL /**/
9283| #define HAVE_EVP_SHA256 1
9284| #define HAVE_OPENSSL_SSL_H 1
9285| #define HAVE_OPENSSL_ERR_H 1
9286| #define HAVE_OPENSSL_RAND_H 1
9287| #define HAVE_OPENSSL_CONF_H 1
9288| #define HAVE_OPENSSL_ENGINE_H 1
9289| #define HAVE_OPENSSL_BN_H 1
9290| #define HAVE_OPENSSL_DH_H 1
9291| #define HAVE_OPENSSL_DSA_H 1
9292| #define HAVE_OPENSSL_RSA_H 1
9293| #define HAVE_OPENSSL_CONFIG 1
9294| #define HAVE_EVP_SHA1 1
9295| #define HAVE_EVP_SHA256 1
9296| #define HAVE_EVP_SHA512 1
9297| #define HAVE_FIPS_MODE 1
9298| #define HAVE_EVP_MD_CTX_NEW 1
9299| #define HAVE_OPENSSL_INIT_CRYPTO 1
9300| #define HAVE_DSA_SIG_SET0 1
9301| #define HAVE_EVP_DIGESTVERIFY 1
9302| #define HAVE_EVP_AES_256_CBC 1
9303| #define HAVE_EVP_ENCRYPTINIT_EX 1
9304| #define HAVE_HMAC_INIT_EX 1
9305| #define HAVE_OPENSSL_INIT_SSL 1
9306| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
9307| #define HAVE_SSL_SET1_HOST 1
9308| #define HAVE_SSL_GET0_PEERNAME 1
9309| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
9310| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
9311| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
9312| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
9313| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
9314| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
9315| #define USE_SHA1 1
9316| #define USE_SHA2 1
9317| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
9318| #define HAVE_DECL_NID_SECP384R1 1
9319| #define USE_ECDSA 1
9320| #define HAVE_DECL_NID_ED25519 1
9321| #define USE_ED25519 1
9322| #define HAVE_DECL_NID_ED448 1
9323| #define USE_ED448 1
9324| #define USE_MINI_EVENT 1
9325| #define HAVE_EXPAT_H 1
9326| #define HAVE_DECL_XML_STOPPARSER 1
9327| #define HAVE_GETADDRINFO 1
9328| #define HAVE_DAEMON 1
9329| #define DEPRECATED_DAEMON 1
9330| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
9331| /* end confdefs.h.  */
9332|
9333| #include <stdio.h>
9334| #ifdef HAVE_ENDIAN_H
9335| #  include <endian.h>
9336| #endif
9337| #ifdef HAVE_SYS_ENDIAN_H
9338| #  include <sys/endian.h>
9339| #endif
9340|
9341| int
9342| main ()
9343| {
9344| unsigned long long x = be64toh(0); printf("%u", (unsigned)x);
9345|   ;
9346|   return 0;
9347| }
9348configure:20231: result: no
9349configure:20237: checking for library containing setusercontext
9350configure:20268: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9351Undefined symbols for architecture x86_64:
9352  "_setusercontext", referenced from:
9353      _main in conftest-f2c3b8.o
9354ld: symbol(s) not found for architecture x86_64
9355clang: error: linker command failed with exit code 1 (use -v to see invocation)
9356configure:20268: $? = 1
9357configure: failed program was:
9358| /* confdefs.h */
9359| #define PACKAGE_NAME "unbound"
9360| #define PACKAGE_TARNAME "unbound"
9361| #define PACKAGE_VERSION "1.12.0"
9362| #define PACKAGE_STRING "unbound 1.12.0"
9363| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9364| #define PACKAGE_URL ""
9365| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9366| #define STDC_HEADERS 1
9367| #define HAVE_SYS_TYPES_H 1
9368| #define HAVE_SYS_STAT_H 1
9369| #define HAVE_STDLIB_H 1
9370| #define HAVE_STRING_H 1
9371| #define HAVE_MEMORY_H 1
9372| #define HAVE_STRINGS_H 1
9373| #define HAVE_INTTYPES_H 1
9374| #define HAVE_STDINT_H 1
9375| #define HAVE_UNISTD_H 1
9376| #define __EXTENSIONS__ 1
9377| #define _ALL_SOURCE 1
9378| #define _GNU_SOURCE 1
9379| #define _POSIX_PTHREAD_SEMANTICS 1
9380| #define _TANDEM_SOURCE 1
9381| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9382| #define RUN_DIR "/opt/local/etc/unbound"
9383| #define CHROOT_DIR "/opt/local/etc/unbound"
9384| #define SHARE_DIR "/opt/local/etc/unbound"
9385| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9386| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
9387| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9388| #define UB_USERNAME "unbound"
9389| #define WINVER 0x0502
9390| #define RSRC_PACKAGE_VERSION 1,12,0,0
9391| #define HAVE_GETOPT_H 1
9392| #define HAVE_TIME_H 1
9393| #define HAVE_ATTR_FORMAT 1
9394| #define HAVE_ATTR_UNUSED 1
9395| #define HAVE_ATTR_WEAK 1
9396| #define ATTR_WEAK __attribute__((weak))
9397| #define HAVE_ATTR_NORETURN 1
9398| #define ATTR_NORETURN __attribute__((__noreturn__))
9399| #define YYTEXT_POINTER 1
9400| #define LEX_HAS_YYLEX_DESTROY 1
9401| #define HAVE_DLFCN_H 1
9402| #define LT_OBJDIR ".libs/"
9403| #define HAVE_STDARG_H 1
9404| #define HAVE_STDBOOL_H 1
9405| #define HAVE_NETINET_IN_H 1
9406| #define HAVE_NETINET_TCP_H 1
9407| #define HAVE_SYS_PARAM_H 1
9408| #define HAVE_SYS_SELECT_H 1
9409| #define HAVE_SYS_SOCKET_H 1
9410| #define HAVE_SYS_UN_H 1
9411| #define HAVE_SYS_UIO_H 1
9412| #define HAVE_SYS_RESOURCE_H 1
9413| #define HAVE_ARPA_INET_H 1
9414| #define HAVE_SYSLOG_H 1
9415| #define HAVE_NETDB_H 1
9416| #define HAVE_SYS_WAIT_H 1
9417| #define HAVE_PWD_H 1
9418| #define HAVE_GLOB_H 1
9419| #define HAVE_GRP_H 1
9420| #define HAVE_LIBKERN_OSBYTEORDER_H 1
9421| #define HAVE_SYS_IPC_H 1
9422| #define HAVE_SYS_SHM_H 1
9423| #define HAVE_IFADDRS_H 1
9424| #define HAVE_TARGETCONDITIONALS_H 1
9425| #define SIZEOF_TIME_T 8
9426| #define SIZEOF_SIZE_T 8
9427| #define HAVE_UNISTD_H 1
9428| #define HAVE_CHOWN 1
9429| #define HAVE_FORK 1
9430| #define HAVE_VFORK 1
9431| #define HAVE_WORKING_VFORK 1
9432| #define HAVE_WORKING_FORK 1
9433| #define RETSIGTYPE void
9434| #define HAVE_FSEEKO 1
9435| #define HAVE_STRPTIME 1
9436| #define REUSEPORT_DEFAULT 0
9437| #define HAVE_MALLOC 1
9438| #define HAVE_PTHREAD_PRIO_INHERIT 1
9439| #define HAVE_PTHREAD 1
9440| #define HAVE_PTHREAD_RWLOCK_T 1
9441| #define UB_SYSLOG_FACILITY LOG_DAEMON
9442| #define HAVE_SSL /**/
9443| #define HAVE_EVP_SHA256 1
9444| #define HAVE_OPENSSL_SSL_H 1
9445| #define HAVE_OPENSSL_ERR_H 1
9446| #define HAVE_OPENSSL_RAND_H 1
9447| #define HAVE_OPENSSL_CONF_H 1
9448| #define HAVE_OPENSSL_ENGINE_H 1
9449| #define HAVE_OPENSSL_BN_H 1
9450| #define HAVE_OPENSSL_DH_H 1
9451| #define HAVE_OPENSSL_DSA_H 1
9452| #define HAVE_OPENSSL_RSA_H 1
9453| #define HAVE_OPENSSL_CONFIG 1
9454| #define HAVE_EVP_SHA1 1
9455| #define HAVE_EVP_SHA256 1
9456| #define HAVE_EVP_SHA512 1
9457| #define HAVE_FIPS_MODE 1
9458| #define HAVE_EVP_MD_CTX_NEW 1
9459| #define HAVE_OPENSSL_INIT_CRYPTO 1
9460| #define HAVE_DSA_SIG_SET0 1
9461| #define HAVE_EVP_DIGESTVERIFY 1
9462| #define HAVE_EVP_AES_256_CBC 1
9463| #define HAVE_EVP_ENCRYPTINIT_EX 1
9464| #define HAVE_HMAC_INIT_EX 1
9465| #define HAVE_OPENSSL_INIT_SSL 1
9466| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
9467| #define HAVE_SSL_SET1_HOST 1
9468| #define HAVE_SSL_GET0_PEERNAME 1
9469| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
9470| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
9471| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
9472| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
9473| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
9474| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
9475| #define USE_SHA1 1
9476| #define USE_SHA2 1
9477| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
9478| #define HAVE_DECL_NID_SECP384R1 1
9479| #define USE_ECDSA 1
9480| #define HAVE_DECL_NID_ED25519 1
9481| #define USE_ED25519 1
9482| #define HAVE_DECL_NID_ED448 1
9483| #define USE_ED448 1
9484| #define USE_MINI_EVENT 1
9485| #define HAVE_EXPAT_H 1
9486| #define HAVE_DECL_XML_STOPPARSER 1
9487| #define HAVE_GETADDRINFO 1
9488| #define HAVE_DAEMON 1
9489| #define DEPRECATED_DAEMON 1
9490| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
9491| /* end confdefs.h.  */
9492|
9493| /* Override any GCC internal prototype to avoid an error.
9494|    Use char because int might match the return type of a GCC
9495|    builtin and then its argument prototype would still apply.  */
9496| #ifdef __cplusplus
9497| extern "C"
9498| #endif
9499| char setusercontext ();
9500| int
9501| main ()
9502| {
9503| return setusercontext ();
9504|   ;
9505|   return 0;
9506| }
9507configure:20268: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c -lutil   -lcrypto >&5
9508Undefined symbols for architecture x86_64:
9509  "_setusercontext", referenced from:
9510      _main in conftest-89cdc7.o
9511ld: symbol(s) not found for architecture x86_64
9512clang: error: linker command failed with exit code 1 (use -v to see invocation)
9513configure:20268: $? = 1
9514configure: failed program was:
9515| /* confdefs.h */
9516| #define PACKAGE_NAME "unbound"
9517| #define PACKAGE_TARNAME "unbound"
9518| #define PACKAGE_VERSION "1.12.0"
9519| #define PACKAGE_STRING "unbound 1.12.0"
9520| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9521| #define PACKAGE_URL ""
9522| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9523| #define STDC_HEADERS 1
9524| #define HAVE_SYS_TYPES_H 1
9525| #define HAVE_SYS_STAT_H 1
9526| #define HAVE_STDLIB_H 1
9527| #define HAVE_STRING_H 1
9528| #define HAVE_MEMORY_H 1
9529| #define HAVE_STRINGS_H 1
9530| #define HAVE_INTTYPES_H 1
9531| #define HAVE_STDINT_H 1
9532| #define HAVE_UNISTD_H 1
9533| #define __EXTENSIONS__ 1
9534| #define _ALL_SOURCE 1
9535| #define _GNU_SOURCE 1
9536| #define _POSIX_PTHREAD_SEMANTICS 1
9537| #define _TANDEM_SOURCE 1
9538| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9539| #define RUN_DIR "/opt/local/etc/unbound"
9540| #define CHROOT_DIR "/opt/local/etc/unbound"
9541| #define SHARE_DIR "/opt/local/etc/unbound"
9542| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9543| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
9544| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9545| #define UB_USERNAME "unbound"
9546| #define WINVER 0x0502
9547| #define RSRC_PACKAGE_VERSION 1,12,0,0
9548| #define HAVE_GETOPT_H 1
9549| #define HAVE_TIME_H 1
9550| #define HAVE_ATTR_FORMAT 1
9551| #define HAVE_ATTR_UNUSED 1
9552| #define HAVE_ATTR_WEAK 1
9553| #define ATTR_WEAK __attribute__((weak))
9554| #define HAVE_ATTR_NORETURN 1
9555| #define ATTR_NORETURN __attribute__((__noreturn__))
9556| #define YYTEXT_POINTER 1
9557| #define LEX_HAS_YYLEX_DESTROY 1
9558| #define HAVE_DLFCN_H 1
9559| #define LT_OBJDIR ".libs/"
9560| #define HAVE_STDARG_H 1
9561| #define HAVE_STDBOOL_H 1
9562| #define HAVE_NETINET_IN_H 1
9563| #define HAVE_NETINET_TCP_H 1
9564| #define HAVE_SYS_PARAM_H 1
9565| #define HAVE_SYS_SELECT_H 1
9566| #define HAVE_SYS_SOCKET_H 1
9567| #define HAVE_SYS_UN_H 1
9568| #define HAVE_SYS_UIO_H 1
9569| #define HAVE_SYS_RESOURCE_H 1
9570| #define HAVE_ARPA_INET_H 1
9571| #define HAVE_SYSLOG_H 1
9572| #define HAVE_NETDB_H 1
9573| #define HAVE_SYS_WAIT_H 1
9574| #define HAVE_PWD_H 1
9575| #define HAVE_GLOB_H 1
9576| #define HAVE_GRP_H 1
9577| #define HAVE_LIBKERN_OSBYTEORDER_H 1
9578| #define HAVE_SYS_IPC_H 1
9579| #define HAVE_SYS_SHM_H 1
9580| #define HAVE_IFADDRS_H 1
9581| #define HAVE_TARGETCONDITIONALS_H 1
9582| #define SIZEOF_TIME_T 8
9583| #define SIZEOF_SIZE_T 8
9584| #define HAVE_UNISTD_H 1
9585| #define HAVE_CHOWN 1
9586| #define HAVE_FORK 1
9587| #define HAVE_VFORK 1
9588| #define HAVE_WORKING_VFORK 1
9589| #define HAVE_WORKING_FORK 1
9590| #define RETSIGTYPE void
9591| #define HAVE_FSEEKO 1
9592| #define HAVE_STRPTIME 1
9593| #define REUSEPORT_DEFAULT 0
9594| #define HAVE_MALLOC 1
9595| #define HAVE_PTHREAD_PRIO_INHERIT 1
9596| #define HAVE_PTHREAD 1
9597| #define HAVE_PTHREAD_RWLOCK_T 1
9598| #define UB_SYSLOG_FACILITY LOG_DAEMON
9599| #define HAVE_SSL /**/
9600| #define HAVE_EVP_SHA256 1
9601| #define HAVE_OPENSSL_SSL_H 1
9602| #define HAVE_OPENSSL_ERR_H 1
9603| #define HAVE_OPENSSL_RAND_H 1
9604| #define HAVE_OPENSSL_CONF_H 1
9605| #define HAVE_OPENSSL_ENGINE_H 1
9606| #define HAVE_OPENSSL_BN_H 1
9607| #define HAVE_OPENSSL_DH_H 1
9608| #define HAVE_OPENSSL_DSA_H 1
9609| #define HAVE_OPENSSL_RSA_H 1
9610| #define HAVE_OPENSSL_CONFIG 1
9611| #define HAVE_EVP_SHA1 1
9612| #define HAVE_EVP_SHA256 1
9613| #define HAVE_EVP_SHA512 1
9614| #define HAVE_FIPS_MODE 1
9615| #define HAVE_EVP_MD_CTX_NEW 1
9616| #define HAVE_OPENSSL_INIT_CRYPTO 1
9617| #define HAVE_DSA_SIG_SET0 1
9618| #define HAVE_EVP_DIGESTVERIFY 1
9619| #define HAVE_EVP_AES_256_CBC 1
9620| #define HAVE_EVP_ENCRYPTINIT_EX 1
9621| #define HAVE_HMAC_INIT_EX 1
9622| #define HAVE_OPENSSL_INIT_SSL 1
9623| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
9624| #define HAVE_SSL_SET1_HOST 1
9625| #define HAVE_SSL_GET0_PEERNAME 1
9626| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
9627| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
9628| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
9629| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
9630| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
9631| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
9632| #define USE_SHA1 1
9633| #define USE_SHA2 1
9634| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
9635| #define HAVE_DECL_NID_SECP384R1 1
9636| #define USE_ECDSA 1
9637| #define HAVE_DECL_NID_ED25519 1
9638| #define USE_ED25519 1
9639| #define HAVE_DECL_NID_ED448 1
9640| #define USE_ED448 1
9641| #define USE_MINI_EVENT 1
9642| #define HAVE_EXPAT_H 1
9643| #define HAVE_DECL_XML_STOPPARSER 1
9644| #define HAVE_GETADDRINFO 1
9645| #define HAVE_DAEMON 1
9646| #define DEPRECATED_DAEMON 1
9647| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
9648| /* end confdefs.h.  */
9649|
9650| /* Override any GCC internal prototype to avoid an error.
9651|    Use char because int might match the return type of a GCC
9652|    builtin and then its argument prototype would still apply.  */
9653| #ifdef __cplusplus
9654| extern "C"
9655| #endif
9656| char setusercontext ();
9657| int
9658| main ()
9659| {
9660| return setusercontext ();
9661|   ;
9662|   return 0;
9663| }
9664configure:20285: result: no
9665configure:20296: checking for tzset
9666configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9667configure:20296: $? = 0
9668configure:20296: result: yes
9669configure:20296: checking for sigprocmask
9670configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9671configure:20296: $? = 0
9672configure:20296: result: yes
9673configure:20296: checking for fcntl
9674configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9675configure:20296: $? = 0
9676configure:20296: result: yes
9677configure:20296: checking for getpwnam
9678configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9679configure:20296: $? = 0
9680configure:20296: result: yes
9681configure:20296: checking for endpwent
9682configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9683configure:20296: $? = 0
9684configure:20296: result: yes
9685configure:20296: checking for getrlimit
9686configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9687configure:20296: $? = 0
9688configure:20296: result: yes
9689configure:20296: checking for setrlimit
9690configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9691configure:20296: $? = 0
9692configure:20296: result: yes
9693configure:20296: checking for setsid
9694configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9695configure:20296: $? = 0
9696configure:20296: result: yes
9697configure:20296: checking for chroot
9698configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9699configure:20296: $? = 0
9700configure:20296: result: yes
9701configure:20296: checking for kill
9702configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9703configure:20296: $? = 0
9704configure:20296: result: yes
9705configure:20296: checking for chown
9706configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9707configure:20296: $? = 0
9708configure:20296: result: yes
9709configure:20296: checking for sleep
9710configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9711configure:20296: $? = 0
9712configure:20296: result: yes
9713configure:20296: checking for usleep
9714configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9715configure:20296: $? = 0
9716configure:20296: result: yes
9717configure:20296: checking for random
9718configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9719configure:20296: $? = 0
9720configure:20296: result: yes
9721configure:20296: checking for srandom
9722configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9723configure:20296: $? = 0
9724configure:20296: result: yes
9725configure:20296: checking for recvmsg
9726configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9727configure:20296: $? = 0
9728configure:20296: result: yes
9729configure:20296: checking for sendmsg
9730configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9731configure:20296: $? = 0
9732configure:20296: result: yes
9733configure:20296: checking for writev
9734configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9735configure:20296: $? = 0
9736configure:20296: result: yes
9737configure:20296: checking for socketpair
9738configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9739configure:20296: $? = 0
9740configure:20296: result: yes
9741configure:20296: checking for glob
9742configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9743configure:20296: $? = 0
9744configure:20296: result: yes
9745configure:20296: checking for initgroups
9746configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9747configure:20296: $? = 0
9748configure:20296: result: yes
9749configure:20296: checking for strftime
9750configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9751configure:20296: $? = 0
9752configure:20296: result: yes
9753configure:20296: checking for localtime_r
9754configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9755configure:20296: $? = 0
9756configure:20296: result: yes
9757configure:20296: checking for setusercontext
9758configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9759Undefined symbols for architecture x86_64:
9760  "_setusercontext", referenced from:
9761      _main in conftest-0f1621.o
9762ld: symbol(s) not found for architecture x86_64
9763clang: error: linker command failed with exit code 1 (use -v to see invocation)
9764configure:20296: $? = 1
9765configure: failed program was:
9766| /* confdefs.h */
9767| #define PACKAGE_NAME "unbound"
9768| #define PACKAGE_TARNAME "unbound"
9769| #define PACKAGE_VERSION "1.12.0"
9770| #define PACKAGE_STRING "unbound 1.12.0"
9771| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9772| #define PACKAGE_URL ""
9773| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9774| #define STDC_HEADERS 1
9775| #define HAVE_SYS_TYPES_H 1
9776| #define HAVE_SYS_STAT_H 1
9777| #define HAVE_STDLIB_H 1
9778| #define HAVE_STRING_H 1
9779| #define HAVE_MEMORY_H 1
9780| #define HAVE_STRINGS_H 1
9781| #define HAVE_INTTYPES_H 1
9782| #define HAVE_STDINT_H 1
9783| #define HAVE_UNISTD_H 1
9784| #define __EXTENSIONS__ 1
9785| #define _ALL_SOURCE 1
9786| #define _GNU_SOURCE 1
9787| #define _POSIX_PTHREAD_SEMANTICS 1
9788| #define _TANDEM_SOURCE 1
9789| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9790| #define RUN_DIR "/opt/local/etc/unbound"
9791| #define CHROOT_DIR "/opt/local/etc/unbound"
9792| #define SHARE_DIR "/opt/local/etc/unbound"
9793| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9794| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
9795| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9796| #define UB_USERNAME "unbound"
9797| #define WINVER 0x0502
9798| #define RSRC_PACKAGE_VERSION 1,12,0,0
9799| #define HAVE_GETOPT_H 1
9800| #define HAVE_TIME_H 1
9801| #define HAVE_ATTR_FORMAT 1
9802| #define HAVE_ATTR_UNUSED 1
9803| #define HAVE_ATTR_WEAK 1
9804| #define ATTR_WEAK __attribute__((weak))
9805| #define HAVE_ATTR_NORETURN 1
9806| #define ATTR_NORETURN __attribute__((__noreturn__))
9807| #define YYTEXT_POINTER 1
9808| #define LEX_HAS_YYLEX_DESTROY 1
9809| #define HAVE_DLFCN_H 1
9810| #define LT_OBJDIR ".libs/"
9811| #define HAVE_STDARG_H 1
9812| #define HAVE_STDBOOL_H 1
9813| #define HAVE_NETINET_IN_H 1
9814| #define HAVE_NETINET_TCP_H 1
9815| #define HAVE_SYS_PARAM_H 1
9816| #define HAVE_SYS_SELECT_H 1
9817| #define HAVE_SYS_SOCKET_H 1
9818| #define HAVE_SYS_UN_H 1
9819| #define HAVE_SYS_UIO_H 1
9820| #define HAVE_SYS_RESOURCE_H 1
9821| #define HAVE_ARPA_INET_H 1
9822| #define HAVE_SYSLOG_H 1
9823| #define HAVE_NETDB_H 1
9824| #define HAVE_SYS_WAIT_H 1
9825| #define HAVE_PWD_H 1
9826| #define HAVE_GLOB_H 1
9827| #define HAVE_GRP_H 1
9828| #define HAVE_LIBKERN_OSBYTEORDER_H 1
9829| #define HAVE_SYS_IPC_H 1
9830| #define HAVE_SYS_SHM_H 1
9831| #define HAVE_IFADDRS_H 1
9832| #define HAVE_TARGETCONDITIONALS_H 1
9833| #define SIZEOF_TIME_T 8
9834| #define SIZEOF_SIZE_T 8
9835| #define HAVE_UNISTD_H 1
9836| #define HAVE_CHOWN 1
9837| #define HAVE_FORK 1
9838| #define HAVE_VFORK 1
9839| #define HAVE_WORKING_VFORK 1
9840| #define HAVE_WORKING_FORK 1
9841| #define RETSIGTYPE void
9842| #define HAVE_FSEEKO 1
9843| #define HAVE_STRPTIME 1
9844| #define REUSEPORT_DEFAULT 0
9845| #define HAVE_MALLOC 1
9846| #define HAVE_PTHREAD_PRIO_INHERIT 1
9847| #define HAVE_PTHREAD 1
9848| #define HAVE_PTHREAD_RWLOCK_T 1
9849| #define UB_SYSLOG_FACILITY LOG_DAEMON
9850| #define HAVE_SSL /**/
9851| #define HAVE_EVP_SHA256 1
9852| #define HAVE_OPENSSL_SSL_H 1
9853| #define HAVE_OPENSSL_ERR_H 1
9854| #define HAVE_OPENSSL_RAND_H 1
9855| #define HAVE_OPENSSL_CONF_H 1
9856| #define HAVE_OPENSSL_ENGINE_H 1
9857| #define HAVE_OPENSSL_BN_H 1
9858| #define HAVE_OPENSSL_DH_H 1
9859| #define HAVE_OPENSSL_DSA_H 1
9860| #define HAVE_OPENSSL_RSA_H 1
9861| #define HAVE_OPENSSL_CONFIG 1
9862| #define HAVE_EVP_SHA1 1
9863| #define HAVE_EVP_SHA256 1
9864| #define HAVE_EVP_SHA512 1
9865| #define HAVE_FIPS_MODE 1
9866| #define HAVE_EVP_MD_CTX_NEW 1
9867| #define HAVE_OPENSSL_INIT_CRYPTO 1
9868| #define HAVE_DSA_SIG_SET0 1
9869| #define HAVE_EVP_DIGESTVERIFY 1
9870| #define HAVE_EVP_AES_256_CBC 1
9871| #define HAVE_EVP_ENCRYPTINIT_EX 1
9872| #define HAVE_HMAC_INIT_EX 1
9873| #define HAVE_OPENSSL_INIT_SSL 1
9874| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
9875| #define HAVE_SSL_SET1_HOST 1
9876| #define HAVE_SSL_GET0_PEERNAME 1
9877| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
9878| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
9879| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
9880| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
9881| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
9882| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
9883| #define USE_SHA1 1
9884| #define USE_SHA2 1
9885| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
9886| #define HAVE_DECL_NID_SECP384R1 1
9887| #define USE_ECDSA 1
9888| #define HAVE_DECL_NID_ED25519 1
9889| #define USE_ED25519 1
9890| #define HAVE_DECL_NID_ED448 1
9891| #define USE_ED448 1
9892| #define USE_MINI_EVENT 1
9893| #define HAVE_EXPAT_H 1
9894| #define HAVE_DECL_XML_STOPPARSER 1
9895| #define HAVE_GETADDRINFO 1
9896| #define HAVE_DAEMON 1
9897| #define DEPRECATED_DAEMON 1
9898| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
9899| #define HAVE_TZSET 1
9900| #define HAVE_SIGPROCMASK 1
9901| #define HAVE_FCNTL 1
9902| #define HAVE_GETPWNAM 1
9903| #define HAVE_ENDPWENT 1
9904| #define HAVE_GETRLIMIT 1
9905| #define HAVE_SETRLIMIT 1
9906| #define HAVE_SETSID 1
9907| #define HAVE_CHROOT 1
9908| #define HAVE_KILL 1
9909| #define HAVE_CHOWN 1
9910| #define HAVE_SLEEP 1
9911| #define HAVE_USLEEP 1
9912| #define HAVE_RANDOM 1
9913| #define HAVE_SRANDOM 1
9914| #define HAVE_RECVMSG 1
9915| #define HAVE_SENDMSG 1
9916| #define HAVE_WRITEV 1
9917| #define HAVE_SOCKETPAIR 1
9918| #define HAVE_GLOB 1
9919| #define HAVE_INITGROUPS 1
9920| #define HAVE_STRFTIME 1
9921| #define HAVE_LOCALTIME_R 1
9922| /* end confdefs.h.  */
9923| /* Define setusercontext to an innocuous variant, in case <limits.h> declares setusercontext.
9924|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9925| #define setusercontext innocuous_setusercontext
9926|
9927| /* System header to define __stub macros and hopefully few prototypes,
9928|     which can conflict with char setusercontext (); below.
9929|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9930|     <limits.h> exists even on freestanding compilers.  */
9931|
9932| #ifdef __STDC__
9933| # include <limits.h>
9934| #else
9935| # include <assert.h>
9936| #endif
9937|
9938| #undef setusercontext
9939|
9940| /* Override any GCC internal prototype to avoid an error.
9941|    Use char because int might match the return type of a GCC
9942|    builtin and then its argument prototype would still apply.  */
9943| #ifdef __cplusplus
9944| extern "C"
9945| #endif
9946| char setusercontext ();
9947| /* The GNU C library defines this for functions which it implements
9948|     to always fail with ENOSYS.  Some functions are actually named
9949|     something starting with __ and the normal name is an alias.  */
9950| #if defined __stub_setusercontext || defined __stub___setusercontext
9951| choke me
9952| #endif
9953|
9954| int
9955| main ()
9956| {
9957| return setusercontext ();
9958|   ;
9959|   return 0;
9960| }
9961configure:20296: result: no
9962configure:20296: checking for _beginthreadex
9963configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
9964Undefined symbols for architecture x86_64:
9965  "__beginthreadex", referenced from:
9966      _main in conftest-c241ad.o
9967ld: symbol(s) not found for architecture x86_64
9968clang: error: linker command failed with exit code 1 (use -v to see invocation)
9969configure:20296: $? = 1
9970configure: failed program was:
9971| /* confdefs.h */
9972| #define PACKAGE_NAME "unbound"
9973| #define PACKAGE_TARNAME "unbound"
9974| #define PACKAGE_VERSION "1.12.0"
9975| #define PACKAGE_STRING "unbound 1.12.0"
9976| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
9977| #define PACKAGE_URL ""
9978| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
9979| #define STDC_HEADERS 1
9980| #define HAVE_SYS_TYPES_H 1
9981| #define HAVE_SYS_STAT_H 1
9982| #define HAVE_STDLIB_H 1
9983| #define HAVE_STRING_H 1
9984| #define HAVE_MEMORY_H 1
9985| #define HAVE_STRINGS_H 1
9986| #define HAVE_INTTYPES_H 1
9987| #define HAVE_STDINT_H 1
9988| #define HAVE_UNISTD_H 1
9989| #define __EXTENSIONS__ 1
9990| #define _ALL_SOURCE 1
9991| #define _GNU_SOURCE 1
9992| #define _POSIX_PTHREAD_SEMANTICS 1
9993| #define _TANDEM_SOURCE 1
9994| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9995| #define RUN_DIR "/opt/local/etc/unbound"
9996| #define CHROOT_DIR "/opt/local/etc/unbound"
9997| #define SHARE_DIR "/opt/local/etc/unbound"
9998| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9999| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
10000| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10001| #define UB_USERNAME "unbound"
10002| #define WINVER 0x0502
10003| #define RSRC_PACKAGE_VERSION 1,12,0,0
10004| #define HAVE_GETOPT_H 1
10005| #define HAVE_TIME_H 1
10006| #define HAVE_ATTR_FORMAT 1
10007| #define HAVE_ATTR_UNUSED 1
10008| #define HAVE_ATTR_WEAK 1
10009| #define ATTR_WEAK __attribute__((weak))
10010| #define HAVE_ATTR_NORETURN 1
10011| #define ATTR_NORETURN __attribute__((__noreturn__))
10012| #define YYTEXT_POINTER 1
10013| #define LEX_HAS_YYLEX_DESTROY 1
10014| #define HAVE_DLFCN_H 1
10015| #define LT_OBJDIR ".libs/"
10016| #define HAVE_STDARG_H 1
10017| #define HAVE_STDBOOL_H 1
10018| #define HAVE_NETINET_IN_H 1
10019| #define HAVE_NETINET_TCP_H 1
10020| #define HAVE_SYS_PARAM_H 1
10021| #define HAVE_SYS_SELECT_H 1
10022| #define HAVE_SYS_SOCKET_H 1
10023| #define HAVE_SYS_UN_H 1
10024| #define HAVE_SYS_UIO_H 1
10025| #define HAVE_SYS_RESOURCE_H 1
10026| #define HAVE_ARPA_INET_H 1
10027| #define HAVE_SYSLOG_H 1
10028| #define HAVE_NETDB_H 1
10029| #define HAVE_SYS_WAIT_H 1
10030| #define HAVE_PWD_H 1
10031| #define HAVE_GLOB_H 1
10032| #define HAVE_GRP_H 1
10033| #define HAVE_LIBKERN_OSBYTEORDER_H 1
10034| #define HAVE_SYS_IPC_H 1
10035| #define HAVE_SYS_SHM_H 1
10036| #define HAVE_IFADDRS_H 1
10037| #define HAVE_TARGETCONDITIONALS_H 1
10038| #define SIZEOF_TIME_T 8
10039| #define SIZEOF_SIZE_T 8
10040| #define HAVE_UNISTD_H 1
10041| #define HAVE_CHOWN 1
10042| #define HAVE_FORK 1
10043| #define HAVE_VFORK 1
10044| #define HAVE_WORKING_VFORK 1
10045| #define HAVE_WORKING_FORK 1
10046| #define RETSIGTYPE void
10047| #define HAVE_FSEEKO 1
10048| #define HAVE_STRPTIME 1
10049| #define REUSEPORT_DEFAULT 0
10050| #define HAVE_MALLOC 1
10051| #define HAVE_PTHREAD_PRIO_INHERIT 1
10052| #define HAVE_PTHREAD 1
10053| #define HAVE_PTHREAD_RWLOCK_T 1
10054| #define UB_SYSLOG_FACILITY LOG_DAEMON
10055| #define HAVE_SSL /**/
10056| #define HAVE_EVP_SHA256 1
10057| #define HAVE_OPENSSL_SSL_H 1
10058| #define HAVE_OPENSSL_ERR_H 1
10059| #define HAVE_OPENSSL_RAND_H 1
10060| #define HAVE_OPENSSL_CONF_H 1
10061| #define HAVE_OPENSSL_ENGINE_H 1
10062| #define HAVE_OPENSSL_BN_H 1
10063| #define HAVE_OPENSSL_DH_H 1
10064| #define HAVE_OPENSSL_DSA_H 1
10065| #define HAVE_OPENSSL_RSA_H 1
10066| #define HAVE_OPENSSL_CONFIG 1
10067| #define HAVE_EVP_SHA1 1
10068| #define HAVE_EVP_SHA256 1
10069| #define HAVE_EVP_SHA512 1
10070| #define HAVE_FIPS_MODE 1
10071| #define HAVE_EVP_MD_CTX_NEW 1
10072| #define HAVE_OPENSSL_INIT_CRYPTO 1
10073| #define HAVE_DSA_SIG_SET0 1
10074| #define HAVE_EVP_DIGESTVERIFY 1
10075| #define HAVE_EVP_AES_256_CBC 1
10076| #define HAVE_EVP_ENCRYPTINIT_EX 1
10077| #define HAVE_HMAC_INIT_EX 1
10078| #define HAVE_OPENSSL_INIT_SSL 1
10079| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
10080| #define HAVE_SSL_SET1_HOST 1
10081| #define HAVE_SSL_GET0_PEERNAME 1
10082| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
10083| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
10084| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
10085| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
10086| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
10087| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
10088| #define USE_SHA1 1
10089| #define USE_SHA2 1
10090| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
10091| #define HAVE_DECL_NID_SECP384R1 1
10092| #define USE_ECDSA 1
10093| #define HAVE_DECL_NID_ED25519 1
10094| #define USE_ED25519 1
10095| #define HAVE_DECL_NID_ED448 1
10096| #define USE_ED448 1
10097| #define USE_MINI_EVENT 1
10098| #define HAVE_EXPAT_H 1
10099| #define HAVE_DECL_XML_STOPPARSER 1
10100| #define HAVE_GETADDRINFO 1
10101| #define HAVE_DAEMON 1
10102| #define DEPRECATED_DAEMON 1
10103| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
10104| #define HAVE_TZSET 1
10105| #define HAVE_SIGPROCMASK 1
10106| #define HAVE_FCNTL 1
10107| #define HAVE_GETPWNAM 1
10108| #define HAVE_ENDPWENT 1
10109| #define HAVE_GETRLIMIT 1
10110| #define HAVE_SETRLIMIT 1
10111| #define HAVE_SETSID 1
10112| #define HAVE_CHROOT 1
10113| #define HAVE_KILL 1
10114| #define HAVE_CHOWN 1
10115| #define HAVE_SLEEP 1
10116| #define HAVE_USLEEP 1
10117| #define HAVE_RANDOM 1
10118| #define HAVE_SRANDOM 1
10119| #define HAVE_RECVMSG 1
10120| #define HAVE_SENDMSG 1
10121| #define HAVE_WRITEV 1
10122| #define HAVE_SOCKETPAIR 1
10123| #define HAVE_GLOB 1
10124| #define HAVE_INITGROUPS 1
10125| #define HAVE_STRFTIME 1
10126| #define HAVE_LOCALTIME_R 1
10127| /* end confdefs.h.  */
10128| /* Define _beginthreadex to an innocuous variant, in case <limits.h> declares _beginthreadex.
10129|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10130| #define _beginthreadex innocuous__beginthreadex
10131|
10132| /* System header to define __stub macros and hopefully few prototypes,
10133|     which can conflict with char _beginthreadex (); below.
10134|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10135|     <limits.h> exists even on freestanding compilers.  */
10136|
10137| #ifdef __STDC__
10138| # include <limits.h>
10139| #else
10140| # include <assert.h>
10141| #endif
10142|
10143| #undef _beginthreadex
10144|
10145| /* Override any GCC internal prototype to avoid an error.
10146|    Use char because int might match the return type of a GCC
10147|    builtin and then its argument prototype would still apply.  */
10148| #ifdef __cplusplus
10149| extern "C"
10150| #endif
10151| char _beginthreadex ();
10152| /* The GNU C library defines this for functions which it implements
10153|     to always fail with ENOSYS.  Some functions are actually named
10154|     something starting with __ and the normal name is an alias.  */
10155| #if defined __stub__beginthreadex || defined __stub____beginthreadex
10156| choke me
10157| #endif
10158|
10159| int
10160| main ()
10161| {
10162| return _beginthreadex ();
10163|   ;
10164|   return 0;
10165| }
10166configure:20296: result: no
10167configure:20296: checking for endservent
10168configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10169configure:20296: $? = 0
10170configure:20296: result: yes
10171configure:20296: checking for endprotoent
10172configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10173configure:20296: $? = 0
10174configure:20296: result: yes
10175configure:20296: checking for fsync
10176configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10177configure:20296: $? = 0
10178configure:20296: result: yes
10179configure:20296: checking for shmget
10180configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10181configure:20296: $? = 0
10182configure:20296: result: yes
10183configure:20296: checking for accept4
10184configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10185Undefined symbols for architecture x86_64:
10186  "_accept4", referenced from:
10187      _main in conftest-82f1d7.o
10188ld: symbol(s) not found for architecture x86_64
10189clang: error: linker command failed with exit code 1 (use -v to see invocation)
10190configure:20296: $? = 1
10191configure: failed program was:
10192| /* confdefs.h */
10193| #define PACKAGE_NAME "unbound"
10194| #define PACKAGE_TARNAME "unbound"
10195| #define PACKAGE_VERSION "1.12.0"
10196| #define PACKAGE_STRING "unbound 1.12.0"
10197| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
10198| #define PACKAGE_URL ""
10199| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
10200| #define STDC_HEADERS 1
10201| #define HAVE_SYS_TYPES_H 1
10202| #define HAVE_SYS_STAT_H 1
10203| #define HAVE_STDLIB_H 1
10204| #define HAVE_STRING_H 1
10205| #define HAVE_MEMORY_H 1
10206| #define HAVE_STRINGS_H 1
10207| #define HAVE_INTTYPES_H 1
10208| #define HAVE_STDINT_H 1
10209| #define HAVE_UNISTD_H 1
10210| #define __EXTENSIONS__ 1
10211| #define _ALL_SOURCE 1
10212| #define _GNU_SOURCE 1
10213| #define _POSIX_PTHREAD_SEMANTICS 1
10214| #define _TANDEM_SOURCE 1
10215| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10216| #define RUN_DIR "/opt/local/etc/unbound"
10217| #define CHROOT_DIR "/opt/local/etc/unbound"
10218| #define SHARE_DIR "/opt/local/etc/unbound"
10219| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10220| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
10221| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10222| #define UB_USERNAME "unbound"
10223| #define WINVER 0x0502
10224| #define RSRC_PACKAGE_VERSION 1,12,0,0
10225| #define HAVE_GETOPT_H 1
10226| #define HAVE_TIME_H 1
10227| #define HAVE_ATTR_FORMAT 1
10228| #define HAVE_ATTR_UNUSED 1
10229| #define HAVE_ATTR_WEAK 1
10230| #define ATTR_WEAK __attribute__((weak))
10231| #define HAVE_ATTR_NORETURN 1
10232| #define ATTR_NORETURN __attribute__((__noreturn__))
10233| #define YYTEXT_POINTER 1
10234| #define LEX_HAS_YYLEX_DESTROY 1
10235| #define HAVE_DLFCN_H 1
10236| #define LT_OBJDIR ".libs/"
10237| #define HAVE_STDARG_H 1
10238| #define HAVE_STDBOOL_H 1
10239| #define HAVE_NETINET_IN_H 1
10240| #define HAVE_NETINET_TCP_H 1
10241| #define HAVE_SYS_PARAM_H 1
10242| #define HAVE_SYS_SELECT_H 1
10243| #define HAVE_SYS_SOCKET_H 1
10244| #define HAVE_SYS_UN_H 1
10245| #define HAVE_SYS_UIO_H 1
10246| #define HAVE_SYS_RESOURCE_H 1
10247| #define HAVE_ARPA_INET_H 1
10248| #define HAVE_SYSLOG_H 1
10249| #define HAVE_NETDB_H 1
10250| #define HAVE_SYS_WAIT_H 1
10251| #define HAVE_PWD_H 1
10252| #define HAVE_GLOB_H 1
10253| #define HAVE_GRP_H 1
10254| #define HAVE_LIBKERN_OSBYTEORDER_H 1
10255| #define HAVE_SYS_IPC_H 1
10256| #define HAVE_SYS_SHM_H 1
10257| #define HAVE_IFADDRS_H 1
10258| #define HAVE_TARGETCONDITIONALS_H 1
10259| #define SIZEOF_TIME_T 8
10260| #define SIZEOF_SIZE_T 8
10261| #define HAVE_UNISTD_H 1
10262| #define HAVE_CHOWN 1
10263| #define HAVE_FORK 1
10264| #define HAVE_VFORK 1
10265| #define HAVE_WORKING_VFORK 1
10266| #define HAVE_WORKING_FORK 1
10267| #define RETSIGTYPE void
10268| #define HAVE_FSEEKO 1
10269| #define HAVE_STRPTIME 1
10270| #define REUSEPORT_DEFAULT 0
10271| #define HAVE_MALLOC 1
10272| #define HAVE_PTHREAD_PRIO_INHERIT 1
10273| #define HAVE_PTHREAD 1
10274| #define HAVE_PTHREAD_RWLOCK_T 1
10275| #define UB_SYSLOG_FACILITY LOG_DAEMON
10276| #define HAVE_SSL /**/
10277| #define HAVE_EVP_SHA256 1
10278| #define HAVE_OPENSSL_SSL_H 1
10279| #define HAVE_OPENSSL_ERR_H 1
10280| #define HAVE_OPENSSL_RAND_H 1
10281| #define HAVE_OPENSSL_CONF_H 1
10282| #define HAVE_OPENSSL_ENGINE_H 1
10283| #define HAVE_OPENSSL_BN_H 1
10284| #define HAVE_OPENSSL_DH_H 1
10285| #define HAVE_OPENSSL_DSA_H 1
10286| #define HAVE_OPENSSL_RSA_H 1
10287| #define HAVE_OPENSSL_CONFIG 1
10288| #define HAVE_EVP_SHA1 1
10289| #define HAVE_EVP_SHA256 1
10290| #define HAVE_EVP_SHA512 1
10291| #define HAVE_FIPS_MODE 1
10292| #define HAVE_EVP_MD_CTX_NEW 1
10293| #define HAVE_OPENSSL_INIT_CRYPTO 1
10294| #define HAVE_DSA_SIG_SET0 1
10295| #define HAVE_EVP_DIGESTVERIFY 1
10296| #define HAVE_EVP_AES_256_CBC 1
10297| #define HAVE_EVP_ENCRYPTINIT_EX 1
10298| #define HAVE_HMAC_INIT_EX 1
10299| #define HAVE_OPENSSL_INIT_SSL 1
10300| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
10301| #define HAVE_SSL_SET1_HOST 1
10302| #define HAVE_SSL_GET0_PEERNAME 1
10303| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
10304| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
10305| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
10306| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
10307| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
10308| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
10309| #define USE_SHA1 1
10310| #define USE_SHA2 1
10311| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
10312| #define HAVE_DECL_NID_SECP384R1 1
10313| #define USE_ECDSA 1
10314| #define HAVE_DECL_NID_ED25519 1
10315| #define USE_ED25519 1
10316| #define HAVE_DECL_NID_ED448 1
10317| #define USE_ED448 1
10318| #define USE_MINI_EVENT 1
10319| #define HAVE_EXPAT_H 1
10320| #define HAVE_DECL_XML_STOPPARSER 1
10321| #define HAVE_GETADDRINFO 1
10322| #define HAVE_DAEMON 1
10323| #define DEPRECATED_DAEMON 1
10324| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
10325| #define HAVE_TZSET 1
10326| #define HAVE_SIGPROCMASK 1
10327| #define HAVE_FCNTL 1
10328| #define HAVE_GETPWNAM 1
10329| #define HAVE_ENDPWENT 1
10330| #define HAVE_GETRLIMIT 1
10331| #define HAVE_SETRLIMIT 1
10332| #define HAVE_SETSID 1
10333| #define HAVE_CHROOT 1
10334| #define HAVE_KILL 1
10335| #define HAVE_CHOWN 1
10336| #define HAVE_SLEEP 1
10337| #define HAVE_USLEEP 1
10338| #define HAVE_RANDOM 1
10339| #define HAVE_SRANDOM 1
10340| #define HAVE_RECVMSG 1
10341| #define HAVE_SENDMSG 1
10342| #define HAVE_WRITEV 1
10343| #define HAVE_SOCKETPAIR 1
10344| #define HAVE_GLOB 1
10345| #define HAVE_INITGROUPS 1
10346| #define HAVE_STRFTIME 1
10347| #define HAVE_LOCALTIME_R 1
10348| #define HAVE_ENDSERVENT 1
10349| #define HAVE_ENDPROTOENT 1
10350| #define HAVE_FSYNC 1
10351| #define HAVE_SHMGET 1
10352| /* end confdefs.h.  */
10353| /* Define accept4 to an innocuous variant, in case <limits.h> declares accept4.
10354|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10355| #define accept4 innocuous_accept4
10356|
10357| /* System header to define __stub macros and hopefully few prototypes,
10358|     which can conflict with char accept4 (); below.
10359|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10360|     <limits.h> exists even on freestanding compilers.  */
10361|
10362| #ifdef __STDC__
10363| # include <limits.h>
10364| #else
10365| # include <assert.h>
10366| #endif
10367|
10368| #undef accept4
10369|
10370| /* Override any GCC internal prototype to avoid an error.
10371|    Use char because int might match the return type of a GCC
10372|    builtin and then its argument prototype would still apply.  */
10373| #ifdef __cplusplus
10374| extern "C"
10375| #endif
10376| char accept4 ();
10377| /* The GNU C library defines this for functions which it implements
10378|     to always fail with ENOSYS.  Some functions are actually named
10379|     something starting with __ and the normal name is an alias.  */
10380| #if defined __stub_accept4 || defined __stub___accept4
10381| choke me
10382| #endif
10383|
10384| int
10385| main ()
10386| {
10387| return accept4 ();
10388|   ;
10389|   return 0;
10390| }
10391configure:20296: result: no
10392configure:20296: checking for getifaddrs
10393configure:20296: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10394configure:20296: $? = 0
10395configure:20296: result: yes
10396configure:20307: checking for setresuid
10397configure:20307: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10398Undefined symbols for architecture x86_64:
10399  "_setresuid", referenced from:
10400      _main in conftest-932533.o
10401ld: symbol(s) not found for architecture x86_64
10402clang: error: linker command failed with exit code 1 (use -v to see invocation)
10403configure:20307: $? = 1
10404configure: failed program was:
10405| /* confdefs.h */
10406| #define PACKAGE_NAME "unbound"
10407| #define PACKAGE_TARNAME "unbound"
10408| #define PACKAGE_VERSION "1.12.0"
10409| #define PACKAGE_STRING "unbound 1.12.0"
10410| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
10411| #define PACKAGE_URL ""
10412| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
10413| #define STDC_HEADERS 1
10414| #define HAVE_SYS_TYPES_H 1
10415| #define HAVE_SYS_STAT_H 1
10416| #define HAVE_STDLIB_H 1
10417| #define HAVE_STRING_H 1
10418| #define HAVE_MEMORY_H 1
10419| #define HAVE_STRINGS_H 1
10420| #define HAVE_INTTYPES_H 1
10421| #define HAVE_STDINT_H 1
10422| #define HAVE_UNISTD_H 1
10423| #define __EXTENSIONS__ 1
10424| #define _ALL_SOURCE 1
10425| #define _GNU_SOURCE 1
10426| #define _POSIX_PTHREAD_SEMANTICS 1
10427| #define _TANDEM_SOURCE 1
10428| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10429| #define RUN_DIR "/opt/local/etc/unbound"
10430| #define CHROOT_DIR "/opt/local/etc/unbound"
10431| #define SHARE_DIR "/opt/local/etc/unbound"
10432| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10433| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
10434| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10435| #define UB_USERNAME "unbound"
10436| #define WINVER 0x0502
10437| #define RSRC_PACKAGE_VERSION 1,12,0,0
10438| #define HAVE_GETOPT_H 1
10439| #define HAVE_TIME_H 1
10440| #define HAVE_ATTR_FORMAT 1
10441| #define HAVE_ATTR_UNUSED 1
10442| #define HAVE_ATTR_WEAK 1
10443| #define ATTR_WEAK __attribute__((weak))
10444| #define HAVE_ATTR_NORETURN 1
10445| #define ATTR_NORETURN __attribute__((__noreturn__))
10446| #define YYTEXT_POINTER 1
10447| #define LEX_HAS_YYLEX_DESTROY 1
10448| #define HAVE_DLFCN_H 1
10449| #define LT_OBJDIR ".libs/"
10450| #define HAVE_STDARG_H 1
10451| #define HAVE_STDBOOL_H 1
10452| #define HAVE_NETINET_IN_H 1
10453| #define HAVE_NETINET_TCP_H 1
10454| #define HAVE_SYS_PARAM_H 1
10455| #define HAVE_SYS_SELECT_H 1
10456| #define HAVE_SYS_SOCKET_H 1
10457| #define HAVE_SYS_UN_H 1
10458| #define HAVE_SYS_UIO_H 1
10459| #define HAVE_SYS_RESOURCE_H 1
10460| #define HAVE_ARPA_INET_H 1
10461| #define HAVE_SYSLOG_H 1
10462| #define HAVE_NETDB_H 1
10463| #define HAVE_SYS_WAIT_H 1
10464| #define HAVE_PWD_H 1
10465| #define HAVE_GLOB_H 1
10466| #define HAVE_GRP_H 1
10467| #define HAVE_LIBKERN_OSBYTEORDER_H 1
10468| #define HAVE_SYS_IPC_H 1
10469| #define HAVE_SYS_SHM_H 1
10470| #define HAVE_IFADDRS_H 1
10471| #define HAVE_TARGETCONDITIONALS_H 1
10472| #define SIZEOF_TIME_T 8
10473| #define SIZEOF_SIZE_T 8
10474| #define HAVE_UNISTD_H 1
10475| #define HAVE_CHOWN 1
10476| #define HAVE_FORK 1
10477| #define HAVE_VFORK 1
10478| #define HAVE_WORKING_VFORK 1
10479| #define HAVE_WORKING_FORK 1
10480| #define RETSIGTYPE void
10481| #define HAVE_FSEEKO 1
10482| #define HAVE_STRPTIME 1
10483| #define REUSEPORT_DEFAULT 0
10484| #define HAVE_MALLOC 1
10485| #define HAVE_PTHREAD_PRIO_INHERIT 1
10486| #define HAVE_PTHREAD 1
10487| #define HAVE_PTHREAD_RWLOCK_T 1
10488| #define UB_SYSLOG_FACILITY LOG_DAEMON
10489| #define HAVE_SSL /**/
10490| #define HAVE_EVP_SHA256 1
10491| #define HAVE_OPENSSL_SSL_H 1
10492| #define HAVE_OPENSSL_ERR_H 1
10493| #define HAVE_OPENSSL_RAND_H 1
10494| #define HAVE_OPENSSL_CONF_H 1
10495| #define HAVE_OPENSSL_ENGINE_H 1
10496| #define HAVE_OPENSSL_BN_H 1
10497| #define HAVE_OPENSSL_DH_H 1
10498| #define HAVE_OPENSSL_DSA_H 1
10499| #define HAVE_OPENSSL_RSA_H 1
10500| #define HAVE_OPENSSL_CONFIG 1
10501| #define HAVE_EVP_SHA1 1
10502| #define HAVE_EVP_SHA256 1
10503| #define HAVE_EVP_SHA512 1
10504| #define HAVE_FIPS_MODE 1
10505| #define HAVE_EVP_MD_CTX_NEW 1
10506| #define HAVE_OPENSSL_INIT_CRYPTO 1
10507| #define HAVE_DSA_SIG_SET0 1
10508| #define HAVE_EVP_DIGESTVERIFY 1
10509| #define HAVE_EVP_AES_256_CBC 1
10510| #define HAVE_EVP_ENCRYPTINIT_EX 1
10511| #define HAVE_HMAC_INIT_EX 1
10512| #define HAVE_OPENSSL_INIT_SSL 1
10513| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
10514| #define HAVE_SSL_SET1_HOST 1
10515| #define HAVE_SSL_GET0_PEERNAME 1
10516| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
10517| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
10518| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
10519| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
10520| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
10521| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
10522| #define USE_SHA1 1
10523| #define USE_SHA2 1
10524| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
10525| #define HAVE_DECL_NID_SECP384R1 1
10526| #define USE_ECDSA 1
10527| #define HAVE_DECL_NID_ED25519 1
10528| #define USE_ED25519 1
10529| #define HAVE_DECL_NID_ED448 1
10530| #define USE_ED448 1
10531| #define USE_MINI_EVENT 1
10532| #define HAVE_EXPAT_H 1
10533| #define HAVE_DECL_XML_STOPPARSER 1
10534| #define HAVE_GETADDRINFO 1
10535| #define HAVE_DAEMON 1
10536| #define DEPRECATED_DAEMON 1
10537| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
10538| #define HAVE_TZSET 1
10539| #define HAVE_SIGPROCMASK 1
10540| #define HAVE_FCNTL 1
10541| #define HAVE_GETPWNAM 1
10542| #define HAVE_ENDPWENT 1
10543| #define HAVE_GETRLIMIT 1
10544| #define HAVE_SETRLIMIT 1
10545| #define HAVE_SETSID 1
10546| #define HAVE_CHROOT 1
10547| #define HAVE_KILL 1
10548| #define HAVE_CHOWN 1
10549| #define HAVE_SLEEP 1
10550| #define HAVE_USLEEP 1
10551| #define HAVE_RANDOM 1
10552| #define HAVE_SRANDOM 1
10553| #define HAVE_RECVMSG 1
10554| #define HAVE_SENDMSG 1
10555| #define HAVE_WRITEV 1
10556| #define HAVE_SOCKETPAIR 1
10557| #define HAVE_GLOB 1
10558| #define HAVE_INITGROUPS 1
10559| #define HAVE_STRFTIME 1
10560| #define HAVE_LOCALTIME_R 1
10561| #define HAVE_ENDSERVENT 1
10562| #define HAVE_ENDPROTOENT 1
10563| #define HAVE_FSYNC 1
10564| #define HAVE_SHMGET 1
10565| #define HAVE_GETIFADDRS 1
10566| /* end confdefs.h.  */
10567| /* Define setresuid to an innocuous variant, in case <limits.h> declares setresuid.
10568|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10569| #define setresuid innocuous_setresuid
10570|
10571| /* System header to define __stub macros and hopefully few prototypes,
10572|     which can conflict with char setresuid (); below.
10573|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10574|     <limits.h> exists even on freestanding compilers.  */
10575|
10576| #ifdef __STDC__
10577| # include <limits.h>
10578| #else
10579| # include <assert.h>
10580| #endif
10581|
10582| #undef setresuid
10583|
10584| /* Override any GCC internal prototype to avoid an error.
10585|    Use char because int might match the return type of a GCC
10586|    builtin and then its argument prototype would still apply.  */
10587| #ifdef __cplusplus
10588| extern "C"
10589| #endif
10590| char setresuid ();
10591| /* The GNU C library defines this for functions which it implements
10592|     to always fail with ENOSYS.  Some functions are actually named
10593|     something starting with __ and the normal name is an alias.  */
10594| #if defined __stub_setresuid || defined __stub___setresuid
10595| choke me
10596| #endif
10597|
10598| int
10599| main ()
10600| {
10601| return setresuid ();
10602|   ;
10603|   return 0;
10604| }
10605configure:20307: result: no
10606configure:20316: checking for setreuid
10607configure:20316: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10608configure:20316: $? = 0
10609configure:20316: result: yes
10610configure:20330: checking for setresgid
10611configure:20330: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10612Undefined symbols for architecture x86_64:
10613  "_setresgid", referenced from:
10614      _main in conftest-d266c3.o
10615ld: symbol(s) not found for architecture x86_64
10616clang: error: linker command failed with exit code 1 (use -v to see invocation)
10617configure:20330: $? = 1
10618configure: failed program was:
10619| /* confdefs.h */
10620| #define PACKAGE_NAME "unbound"
10621| #define PACKAGE_TARNAME "unbound"
10622| #define PACKAGE_VERSION "1.12.0"
10623| #define PACKAGE_STRING "unbound 1.12.0"
10624| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
10625| #define PACKAGE_URL ""
10626| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
10627| #define STDC_HEADERS 1
10628| #define HAVE_SYS_TYPES_H 1
10629| #define HAVE_SYS_STAT_H 1
10630| #define HAVE_STDLIB_H 1
10631| #define HAVE_STRING_H 1
10632| #define HAVE_MEMORY_H 1
10633| #define HAVE_STRINGS_H 1
10634| #define HAVE_INTTYPES_H 1
10635| #define HAVE_STDINT_H 1
10636| #define HAVE_UNISTD_H 1
10637| #define __EXTENSIONS__ 1
10638| #define _ALL_SOURCE 1
10639| #define _GNU_SOURCE 1
10640| #define _POSIX_PTHREAD_SEMANTICS 1
10641| #define _TANDEM_SOURCE 1
10642| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10643| #define RUN_DIR "/opt/local/etc/unbound"
10644| #define CHROOT_DIR "/opt/local/etc/unbound"
10645| #define SHARE_DIR "/opt/local/etc/unbound"
10646| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10647| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
10648| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10649| #define UB_USERNAME "unbound"
10650| #define WINVER 0x0502
10651| #define RSRC_PACKAGE_VERSION 1,12,0,0
10652| #define HAVE_GETOPT_H 1
10653| #define HAVE_TIME_H 1
10654| #define HAVE_ATTR_FORMAT 1
10655| #define HAVE_ATTR_UNUSED 1
10656| #define HAVE_ATTR_WEAK 1
10657| #define ATTR_WEAK __attribute__((weak))
10658| #define HAVE_ATTR_NORETURN 1
10659| #define ATTR_NORETURN __attribute__((__noreturn__))
10660| #define YYTEXT_POINTER 1
10661| #define LEX_HAS_YYLEX_DESTROY 1
10662| #define HAVE_DLFCN_H 1
10663| #define LT_OBJDIR ".libs/"
10664| #define HAVE_STDARG_H 1
10665| #define HAVE_STDBOOL_H 1
10666| #define HAVE_NETINET_IN_H 1
10667| #define HAVE_NETINET_TCP_H 1
10668| #define HAVE_SYS_PARAM_H 1
10669| #define HAVE_SYS_SELECT_H 1
10670| #define HAVE_SYS_SOCKET_H 1
10671| #define HAVE_SYS_UN_H 1
10672| #define HAVE_SYS_UIO_H 1
10673| #define HAVE_SYS_RESOURCE_H 1
10674| #define HAVE_ARPA_INET_H 1
10675| #define HAVE_SYSLOG_H 1
10676| #define HAVE_NETDB_H 1
10677| #define HAVE_SYS_WAIT_H 1
10678| #define HAVE_PWD_H 1
10679| #define HAVE_GLOB_H 1
10680| #define HAVE_GRP_H 1
10681| #define HAVE_LIBKERN_OSBYTEORDER_H 1
10682| #define HAVE_SYS_IPC_H 1
10683| #define HAVE_SYS_SHM_H 1
10684| #define HAVE_IFADDRS_H 1
10685| #define HAVE_TARGETCONDITIONALS_H 1
10686| #define SIZEOF_TIME_T 8
10687| #define SIZEOF_SIZE_T 8
10688| #define HAVE_UNISTD_H 1
10689| #define HAVE_CHOWN 1
10690| #define HAVE_FORK 1
10691| #define HAVE_VFORK 1
10692| #define HAVE_WORKING_VFORK 1
10693| #define HAVE_WORKING_FORK 1
10694| #define RETSIGTYPE void
10695| #define HAVE_FSEEKO 1
10696| #define HAVE_STRPTIME 1
10697| #define REUSEPORT_DEFAULT 0
10698| #define HAVE_MALLOC 1
10699| #define HAVE_PTHREAD_PRIO_INHERIT 1
10700| #define HAVE_PTHREAD 1
10701| #define HAVE_PTHREAD_RWLOCK_T 1
10702| #define UB_SYSLOG_FACILITY LOG_DAEMON
10703| #define HAVE_SSL /**/
10704| #define HAVE_EVP_SHA256 1
10705| #define HAVE_OPENSSL_SSL_H 1
10706| #define HAVE_OPENSSL_ERR_H 1
10707| #define HAVE_OPENSSL_RAND_H 1
10708| #define HAVE_OPENSSL_CONF_H 1
10709| #define HAVE_OPENSSL_ENGINE_H 1
10710| #define HAVE_OPENSSL_BN_H 1
10711| #define HAVE_OPENSSL_DH_H 1
10712| #define HAVE_OPENSSL_DSA_H 1
10713| #define HAVE_OPENSSL_RSA_H 1
10714| #define HAVE_OPENSSL_CONFIG 1
10715| #define HAVE_EVP_SHA1 1
10716| #define HAVE_EVP_SHA256 1
10717| #define HAVE_EVP_SHA512 1
10718| #define HAVE_FIPS_MODE 1
10719| #define HAVE_EVP_MD_CTX_NEW 1
10720| #define HAVE_OPENSSL_INIT_CRYPTO 1
10721| #define HAVE_DSA_SIG_SET0 1
10722| #define HAVE_EVP_DIGESTVERIFY 1
10723| #define HAVE_EVP_AES_256_CBC 1
10724| #define HAVE_EVP_ENCRYPTINIT_EX 1
10725| #define HAVE_HMAC_INIT_EX 1
10726| #define HAVE_OPENSSL_INIT_SSL 1
10727| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
10728| #define HAVE_SSL_SET1_HOST 1
10729| #define HAVE_SSL_GET0_PEERNAME 1
10730| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
10731| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
10732| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
10733| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
10734| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
10735| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
10736| #define USE_SHA1 1
10737| #define USE_SHA2 1
10738| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
10739| #define HAVE_DECL_NID_SECP384R1 1
10740| #define USE_ECDSA 1
10741| #define HAVE_DECL_NID_ED25519 1
10742| #define USE_ED25519 1
10743| #define HAVE_DECL_NID_ED448 1
10744| #define USE_ED448 1
10745| #define USE_MINI_EVENT 1
10746| #define HAVE_EXPAT_H 1
10747| #define HAVE_DECL_XML_STOPPARSER 1
10748| #define HAVE_GETADDRINFO 1
10749| #define HAVE_DAEMON 1
10750| #define DEPRECATED_DAEMON 1
10751| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
10752| #define HAVE_TZSET 1
10753| #define HAVE_SIGPROCMASK 1
10754| #define HAVE_FCNTL 1
10755| #define HAVE_GETPWNAM 1
10756| #define HAVE_ENDPWENT 1
10757| #define HAVE_GETRLIMIT 1
10758| #define HAVE_SETRLIMIT 1
10759| #define HAVE_SETSID 1
10760| #define HAVE_CHROOT 1
10761| #define HAVE_KILL 1
10762| #define HAVE_CHOWN 1
10763| #define HAVE_SLEEP 1
10764| #define HAVE_USLEEP 1
10765| #define HAVE_RANDOM 1
10766| #define HAVE_SRANDOM 1
10767| #define HAVE_RECVMSG 1
10768| #define HAVE_SENDMSG 1
10769| #define HAVE_WRITEV 1
10770| #define HAVE_SOCKETPAIR 1
10771| #define HAVE_GLOB 1
10772| #define HAVE_INITGROUPS 1
10773| #define HAVE_STRFTIME 1
10774| #define HAVE_LOCALTIME_R 1
10775| #define HAVE_ENDSERVENT 1
10776| #define HAVE_ENDPROTOENT 1
10777| #define HAVE_FSYNC 1
10778| #define HAVE_SHMGET 1
10779| #define HAVE_GETIFADDRS 1
10780| #define HAVE_SETREUID 1
10781| /* end confdefs.h.  */
10782| /* Define setresgid to an innocuous variant, in case <limits.h> declares setresgid.
10783|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10784| #define setresgid innocuous_setresgid
10785|
10786| /* System header to define __stub macros and hopefully few prototypes,
10787|     which can conflict with char setresgid (); below.
10788|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10789|     <limits.h> exists even on freestanding compilers.  */
10790|
10791| #ifdef __STDC__
10792| # include <limits.h>
10793| #else
10794| # include <assert.h>
10795| #endif
10796|
10797| #undef setresgid
10798|
10799| /* Override any GCC internal prototype to avoid an error.
10800|    Use char because int might match the return type of a GCC
10801|    builtin and then its argument prototype would still apply.  */
10802| #ifdef __cplusplus
10803| extern "C"
10804| #endif
10805| char setresgid ();
10806| /* The GNU C library defines this for functions which it implements
10807|     to always fail with ENOSYS.  Some functions are actually named
10808|     something starting with __ and the normal name is an alias.  */
10809| #if defined __stub_setresgid || defined __stub___setresgid
10810| choke me
10811| #endif
10812|
10813| int
10814| main ()
10815| {
10816| return setresgid ();
10817|   ;
10818|   return 0;
10819| }
10820configure:20330: result: no
10821configure:20339: checking for setregid
10822configure:20339: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10823configure:20339: $? = 0
10824configure:20339: result: yes
10825configure:20358: checking whether inet_pton is declared
10826configure:20358: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
10827configure:20358: $? = 0
10828configure:20358: result: yes
10829configure:20390: checking whether inet_ntop is declared
10830configure:20390: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
10831configure:20390: $? = 0
10832configure:20390: result: yes
10833configure:20423: checking for inet_aton
10834configure:20423: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10835configure:20423: $? = 0
10836configure:20423: result: yes
10837configure:20437: checking for inet_pton
10838configure:20437: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10839configure:20437: $? = 0
10840configure:20437: result: yes
10841configure:20451: checking for inet_ntop
10842configure:20451: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10843configure:20451: $? = 0
10844configure:20451: result: yes
10845configure:20465: checking for snprintf
10846configure:20465: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10847conftest.c:193:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
10848char snprintf ();
10849     ^
10850conftest.c:193:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
108511 warning generated.
10852configure:20465: $? = 0
10853configure:20465: result: yes
10854configure:20482: checking for correct snprintf return value
10855configure:20497: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10856configure:20497: $? = 0
10857configure:20497: ./conftest
10858configure:20497: $? = 0
10859configure:20498: result: yes
10860configure:20521: checking for strlcat
10861configure:20521: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10862conftest.c:194:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
10863char strlcat ();
10864     ^
10865conftest.c:194:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
108661 warning generated.
10867configure:20521: $? = 0
10868configure:20521: result: yes
10869configure:20535: checking for strlcpy
10870configure:20535: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10871conftest.c:195:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
10872char strlcpy ();
10873     ^
10874conftest.c:195:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
108751 warning generated.
10876configure:20535: $? = 0
10877configure:20535: result: yes
10878configure:20549: checking for memmove
10879configure:20549: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10880conftest.c:196:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
10881char memmove ();
10882     ^
10883conftest.c:196:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
108841 warning generated.
10885configure:20549: $? = 0
10886configure:20549: result: yes
10887configure:20563: checking for gmtime_r
10888configure:20563: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10889configure:20563: $? = 0
10890configure:20563: result: yes
10891configure:20577: checking for isblank
10892configure:20577: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10893conftest.c:198:6: warning: incompatible redeclaration of library function 'isblank' [-Wincompatible-library-redeclaration]
10894char isblank ();
10895     ^
10896conftest.c:198:6: note: 'isblank' is a builtin with type 'int (int)'
108971 warning generated.
10898configure:20577: $? = 0
10899configure:20577: result: yes
10900configure:20591: checking for explicit_bzero
10901configure:20591: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
10902Undefined symbols for architecture x86_64:
10903  "_explicit_bzero", referenced from:
10904      _main in conftest-71adf5.o
10905ld: symbol(s) not found for architecture x86_64
10906clang: error: linker command failed with exit code 1 (use -v to see invocation)
10907configure:20591: $? = 1
10908configure: failed program was:
10909| /* confdefs.h */
10910| #define PACKAGE_NAME "unbound"
10911| #define PACKAGE_TARNAME "unbound"
10912| #define PACKAGE_VERSION "1.12.0"
10913| #define PACKAGE_STRING "unbound 1.12.0"
10914| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
10915| #define PACKAGE_URL ""
10916| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
10917| #define STDC_HEADERS 1
10918| #define HAVE_SYS_TYPES_H 1
10919| #define HAVE_SYS_STAT_H 1
10920| #define HAVE_STDLIB_H 1
10921| #define HAVE_STRING_H 1
10922| #define HAVE_MEMORY_H 1
10923| #define HAVE_STRINGS_H 1
10924| #define HAVE_INTTYPES_H 1
10925| #define HAVE_STDINT_H 1
10926| #define HAVE_UNISTD_H 1
10927| #define __EXTENSIONS__ 1
10928| #define _ALL_SOURCE 1
10929| #define _GNU_SOURCE 1
10930| #define _POSIX_PTHREAD_SEMANTICS 1
10931| #define _TANDEM_SOURCE 1
10932| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10933| #define RUN_DIR "/opt/local/etc/unbound"
10934| #define CHROOT_DIR "/opt/local/etc/unbound"
10935| #define SHARE_DIR "/opt/local/etc/unbound"
10936| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10937| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
10938| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10939| #define UB_USERNAME "unbound"
10940| #define WINVER 0x0502
10941| #define RSRC_PACKAGE_VERSION 1,12,0,0
10942| #define HAVE_GETOPT_H 1
10943| #define HAVE_TIME_H 1
10944| #define HAVE_ATTR_FORMAT 1
10945| #define HAVE_ATTR_UNUSED 1
10946| #define HAVE_ATTR_WEAK 1
10947| #define ATTR_WEAK __attribute__((weak))
10948| #define HAVE_ATTR_NORETURN 1
10949| #define ATTR_NORETURN __attribute__((__noreturn__))
10950| #define YYTEXT_POINTER 1
10951| #define LEX_HAS_YYLEX_DESTROY 1
10952| #define HAVE_DLFCN_H 1
10953| #define LT_OBJDIR ".libs/"
10954| #define HAVE_STDARG_H 1
10955| #define HAVE_STDBOOL_H 1
10956| #define HAVE_NETINET_IN_H 1
10957| #define HAVE_NETINET_TCP_H 1
10958| #define HAVE_SYS_PARAM_H 1
10959| #define HAVE_SYS_SELECT_H 1
10960| #define HAVE_SYS_SOCKET_H 1
10961| #define HAVE_SYS_UN_H 1
10962| #define HAVE_SYS_UIO_H 1
10963| #define HAVE_SYS_RESOURCE_H 1
10964| #define HAVE_ARPA_INET_H 1
10965| #define HAVE_SYSLOG_H 1
10966| #define HAVE_NETDB_H 1
10967| #define HAVE_SYS_WAIT_H 1
10968| #define HAVE_PWD_H 1
10969| #define HAVE_GLOB_H 1
10970| #define HAVE_GRP_H 1
10971| #define HAVE_LIBKERN_OSBYTEORDER_H 1
10972| #define HAVE_SYS_IPC_H 1
10973| #define HAVE_SYS_SHM_H 1
10974| #define HAVE_IFADDRS_H 1
10975| #define HAVE_TARGETCONDITIONALS_H 1
10976| #define SIZEOF_TIME_T 8
10977| #define SIZEOF_SIZE_T 8
10978| #define HAVE_UNISTD_H 1
10979| #define HAVE_CHOWN 1
10980| #define HAVE_FORK 1
10981| #define HAVE_VFORK 1
10982| #define HAVE_WORKING_VFORK 1
10983| #define HAVE_WORKING_FORK 1
10984| #define RETSIGTYPE void
10985| #define HAVE_FSEEKO 1
10986| #define HAVE_STRPTIME 1
10987| #define REUSEPORT_DEFAULT 0
10988| #define HAVE_MALLOC 1
10989| #define HAVE_PTHREAD_PRIO_INHERIT 1
10990| #define HAVE_PTHREAD 1
10991| #define HAVE_PTHREAD_RWLOCK_T 1
10992| #define UB_SYSLOG_FACILITY LOG_DAEMON
10993| #define HAVE_SSL /**/
10994| #define HAVE_EVP_SHA256 1
10995| #define HAVE_OPENSSL_SSL_H 1
10996| #define HAVE_OPENSSL_ERR_H 1
10997| #define HAVE_OPENSSL_RAND_H 1
10998| #define HAVE_OPENSSL_CONF_H 1
10999| #define HAVE_OPENSSL_ENGINE_H 1
11000| #define HAVE_OPENSSL_BN_H 1
11001| #define HAVE_OPENSSL_DH_H 1
11002| #define HAVE_OPENSSL_DSA_H 1
11003| #define HAVE_OPENSSL_RSA_H 1
11004| #define HAVE_OPENSSL_CONFIG 1
11005| #define HAVE_EVP_SHA1 1
11006| #define HAVE_EVP_SHA256 1
11007| #define HAVE_EVP_SHA512 1
11008| #define HAVE_FIPS_MODE 1
11009| #define HAVE_EVP_MD_CTX_NEW 1
11010| #define HAVE_OPENSSL_INIT_CRYPTO 1
11011| #define HAVE_DSA_SIG_SET0 1
11012| #define HAVE_EVP_DIGESTVERIFY 1
11013| #define HAVE_EVP_AES_256_CBC 1
11014| #define HAVE_EVP_ENCRYPTINIT_EX 1
11015| #define HAVE_HMAC_INIT_EX 1
11016| #define HAVE_OPENSSL_INIT_SSL 1
11017| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
11018| #define HAVE_SSL_SET1_HOST 1
11019| #define HAVE_SSL_GET0_PEERNAME 1
11020| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
11021| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
11022| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11023| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
11024| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
11025| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
11026| #define USE_SHA1 1
11027| #define USE_SHA2 1
11028| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
11029| #define HAVE_DECL_NID_SECP384R1 1
11030| #define USE_ECDSA 1
11031| #define HAVE_DECL_NID_ED25519 1
11032| #define USE_ED25519 1
11033| #define HAVE_DECL_NID_ED448 1
11034| #define USE_ED448 1
11035| #define USE_MINI_EVENT 1
11036| #define HAVE_EXPAT_H 1
11037| #define HAVE_DECL_XML_STOPPARSER 1
11038| #define HAVE_GETADDRINFO 1
11039| #define HAVE_DAEMON 1
11040| #define DEPRECATED_DAEMON 1
11041| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
11042| #define HAVE_TZSET 1
11043| #define HAVE_SIGPROCMASK 1
11044| #define HAVE_FCNTL 1
11045| #define HAVE_GETPWNAM 1
11046| #define HAVE_ENDPWENT 1
11047| #define HAVE_GETRLIMIT 1
11048| #define HAVE_SETRLIMIT 1
11049| #define HAVE_SETSID 1
11050| #define HAVE_CHROOT 1
11051| #define HAVE_KILL 1
11052| #define HAVE_CHOWN 1
11053| #define HAVE_SLEEP 1
11054| #define HAVE_USLEEP 1
11055| #define HAVE_RANDOM 1
11056| #define HAVE_SRANDOM 1
11057| #define HAVE_RECVMSG 1
11058| #define HAVE_SENDMSG 1
11059| #define HAVE_WRITEV 1
11060| #define HAVE_SOCKETPAIR 1
11061| #define HAVE_GLOB 1
11062| #define HAVE_INITGROUPS 1
11063| #define HAVE_STRFTIME 1
11064| #define HAVE_LOCALTIME_R 1
11065| #define HAVE_ENDSERVENT 1
11066| #define HAVE_ENDPROTOENT 1
11067| #define HAVE_FSYNC 1
11068| #define HAVE_SHMGET 1
11069| #define HAVE_GETIFADDRS 1
11070| #define HAVE_SETREUID 1
11071| #define HAVE_SETREGID 1
11072| #define HAVE_DECL_INET_PTON 1
11073| #define HAVE_DECL_INET_NTOP 1
11074| #define HAVE_INET_ATON 1
11075| #define HAVE_INET_PTON 1
11076| #define HAVE_INET_NTOP 1
11077| #define HAVE_SNPRINTF 1
11078| #define HAVE_STRLCAT 1
11079| #define HAVE_STRLCPY 1
11080| #define HAVE_MEMMOVE 1
11081| #define HAVE_GMTIME_R 1
11082| #define HAVE_ISBLANK 1
11083| /* end confdefs.h.  */
11084| /* Define explicit_bzero to an innocuous variant, in case <limits.h> declares explicit_bzero.
11085|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11086| #define explicit_bzero innocuous_explicit_bzero
11087|
11088| /* System header to define __stub macros and hopefully few prototypes,
11089|     which can conflict with char explicit_bzero (); below.
11090|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11091|     <limits.h> exists even on freestanding compilers.  */
11092|
11093| #ifdef __STDC__
11094| # include <limits.h>
11095| #else
11096| # include <assert.h>
11097| #endif
11098|
11099| #undef explicit_bzero
11100|
11101| /* Override any GCC internal prototype to avoid an error.
11102|    Use char because int might match the return type of a GCC
11103|    builtin and then its argument prototype would still apply.  */
11104| #ifdef __cplusplus
11105| extern "C"
11106| #endif
11107| char explicit_bzero ();
11108| /* The GNU C library defines this for functions which it implements
11109|     to always fail with ENOSYS.  Some functions are actually named
11110|     something starting with __ and the normal name is an alias.  */
11111| #if defined __stub_explicit_bzero || defined __stub___explicit_bzero
11112| choke me
11113| #endif
11114|
11115| int
11116| main ()
11117| {
11118| return explicit_bzero ();
11119|   ;
11120|   return 0;
11121| }
11122configure:20591: result: no
11123configure:20607: checking for reallocarray
11124configure:20624: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11125conftest.c:215:12: warning: implicit declaration of function 'reallocarray' is invalid in C99 [-Wimplicit-function-declaration]
11126        void* p = reallocarray(NULL, 10, 100);
11127                  ^
11128conftest.c:215:8: warning: incompatible integer to pointer conversion initializing 'void *' with an expression of type 'int' [-Wint-conversion]
11129        void* p = reallocarray(NULL, 10, 100);
11130              ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
111312 warnings generated.
11132Undefined symbols for architecture x86_64:
11133  "_reallocarray", referenced from:
11134      _main in conftest-0073a4.o
11135ld: symbol(s) not found for architecture x86_64
11136clang: error: linker command failed with exit code 1 (use -v to see invocation)
11137configure:20624: $? = 1
11138configure: failed program was:
11139| /* confdefs.h */
11140| #define PACKAGE_NAME "unbound"
11141| #define PACKAGE_TARNAME "unbound"
11142| #define PACKAGE_VERSION "1.12.0"
11143| #define PACKAGE_STRING "unbound 1.12.0"
11144| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
11145| #define PACKAGE_URL ""
11146| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
11147| #define STDC_HEADERS 1
11148| #define HAVE_SYS_TYPES_H 1
11149| #define HAVE_SYS_STAT_H 1
11150| #define HAVE_STDLIB_H 1
11151| #define HAVE_STRING_H 1
11152| #define HAVE_MEMORY_H 1
11153| #define HAVE_STRINGS_H 1
11154| #define HAVE_INTTYPES_H 1
11155| #define HAVE_STDINT_H 1
11156| #define HAVE_UNISTD_H 1
11157| #define __EXTENSIONS__ 1
11158| #define _ALL_SOURCE 1
11159| #define _GNU_SOURCE 1
11160| #define _POSIX_PTHREAD_SEMANTICS 1
11161| #define _TANDEM_SOURCE 1
11162| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11163| #define RUN_DIR "/opt/local/etc/unbound"
11164| #define CHROOT_DIR "/opt/local/etc/unbound"
11165| #define SHARE_DIR "/opt/local/etc/unbound"
11166| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11167| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
11168| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11169| #define UB_USERNAME "unbound"
11170| #define WINVER 0x0502
11171| #define RSRC_PACKAGE_VERSION 1,12,0,0
11172| #define HAVE_GETOPT_H 1
11173| #define HAVE_TIME_H 1
11174| #define HAVE_ATTR_FORMAT 1
11175| #define HAVE_ATTR_UNUSED 1
11176| #define HAVE_ATTR_WEAK 1
11177| #define ATTR_WEAK __attribute__((weak))
11178| #define HAVE_ATTR_NORETURN 1
11179| #define ATTR_NORETURN __attribute__((__noreturn__))
11180| #define YYTEXT_POINTER 1
11181| #define LEX_HAS_YYLEX_DESTROY 1
11182| #define HAVE_DLFCN_H 1
11183| #define LT_OBJDIR ".libs/"
11184| #define HAVE_STDARG_H 1
11185| #define HAVE_STDBOOL_H 1
11186| #define HAVE_NETINET_IN_H 1
11187| #define HAVE_NETINET_TCP_H 1
11188| #define HAVE_SYS_PARAM_H 1
11189| #define HAVE_SYS_SELECT_H 1
11190| #define HAVE_SYS_SOCKET_H 1
11191| #define HAVE_SYS_UN_H 1
11192| #define HAVE_SYS_UIO_H 1
11193| #define HAVE_SYS_RESOURCE_H 1
11194| #define HAVE_ARPA_INET_H 1
11195| #define HAVE_SYSLOG_H 1
11196| #define HAVE_NETDB_H 1
11197| #define HAVE_SYS_WAIT_H 1
11198| #define HAVE_PWD_H 1
11199| #define HAVE_GLOB_H 1
11200| #define HAVE_GRP_H 1
11201| #define HAVE_LIBKERN_OSBYTEORDER_H 1
11202| #define HAVE_SYS_IPC_H 1
11203| #define HAVE_SYS_SHM_H 1
11204| #define HAVE_IFADDRS_H 1
11205| #define HAVE_TARGETCONDITIONALS_H 1
11206| #define SIZEOF_TIME_T 8
11207| #define SIZEOF_SIZE_T 8
11208| #define HAVE_UNISTD_H 1
11209| #define HAVE_CHOWN 1
11210| #define HAVE_FORK 1
11211| #define HAVE_VFORK 1
11212| #define HAVE_WORKING_VFORK 1
11213| #define HAVE_WORKING_FORK 1
11214| #define RETSIGTYPE void
11215| #define HAVE_FSEEKO 1
11216| #define HAVE_STRPTIME 1
11217| #define REUSEPORT_DEFAULT 0
11218| #define HAVE_MALLOC 1
11219| #define HAVE_PTHREAD_PRIO_INHERIT 1
11220| #define HAVE_PTHREAD 1
11221| #define HAVE_PTHREAD_RWLOCK_T 1
11222| #define UB_SYSLOG_FACILITY LOG_DAEMON
11223| #define HAVE_SSL /**/
11224| #define HAVE_EVP_SHA256 1
11225| #define HAVE_OPENSSL_SSL_H 1
11226| #define HAVE_OPENSSL_ERR_H 1
11227| #define HAVE_OPENSSL_RAND_H 1
11228| #define HAVE_OPENSSL_CONF_H 1
11229| #define HAVE_OPENSSL_ENGINE_H 1
11230| #define HAVE_OPENSSL_BN_H 1
11231| #define HAVE_OPENSSL_DH_H 1
11232| #define HAVE_OPENSSL_DSA_H 1
11233| #define HAVE_OPENSSL_RSA_H 1
11234| #define HAVE_OPENSSL_CONFIG 1
11235| #define HAVE_EVP_SHA1 1
11236| #define HAVE_EVP_SHA256 1
11237| #define HAVE_EVP_SHA512 1
11238| #define HAVE_FIPS_MODE 1
11239| #define HAVE_EVP_MD_CTX_NEW 1
11240| #define HAVE_OPENSSL_INIT_CRYPTO 1
11241| #define HAVE_DSA_SIG_SET0 1
11242| #define HAVE_EVP_DIGESTVERIFY 1
11243| #define HAVE_EVP_AES_256_CBC 1
11244| #define HAVE_EVP_ENCRYPTINIT_EX 1
11245| #define HAVE_HMAC_INIT_EX 1
11246| #define HAVE_OPENSSL_INIT_SSL 1
11247| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
11248| #define HAVE_SSL_SET1_HOST 1
11249| #define HAVE_SSL_GET0_PEERNAME 1
11250| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
11251| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
11252| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11253| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
11254| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
11255| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
11256| #define USE_SHA1 1
11257| #define USE_SHA2 1
11258| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
11259| #define HAVE_DECL_NID_SECP384R1 1
11260| #define USE_ECDSA 1
11261| #define HAVE_DECL_NID_ED25519 1
11262| #define USE_ED25519 1
11263| #define HAVE_DECL_NID_ED448 1
11264| #define USE_ED448 1
11265| #define USE_MINI_EVENT 1
11266| #define HAVE_EXPAT_H 1
11267| #define HAVE_DECL_XML_STOPPARSER 1
11268| #define HAVE_GETADDRINFO 1
11269| #define HAVE_DAEMON 1
11270| #define DEPRECATED_DAEMON 1
11271| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
11272| #define HAVE_TZSET 1
11273| #define HAVE_SIGPROCMASK 1
11274| #define HAVE_FCNTL 1
11275| #define HAVE_GETPWNAM 1
11276| #define HAVE_ENDPWENT 1
11277| #define HAVE_GETRLIMIT 1
11278| #define HAVE_SETRLIMIT 1
11279| #define HAVE_SETSID 1
11280| #define HAVE_CHROOT 1
11281| #define HAVE_KILL 1
11282| #define HAVE_CHOWN 1
11283| #define HAVE_SLEEP 1
11284| #define HAVE_USLEEP 1
11285| #define HAVE_RANDOM 1
11286| #define HAVE_SRANDOM 1
11287| #define HAVE_RECVMSG 1
11288| #define HAVE_SENDMSG 1
11289| #define HAVE_WRITEV 1
11290| #define HAVE_SOCKETPAIR 1
11291| #define HAVE_GLOB 1
11292| #define HAVE_INITGROUPS 1
11293| #define HAVE_STRFTIME 1
11294| #define HAVE_LOCALTIME_R 1
11295| #define HAVE_ENDSERVENT 1
11296| #define HAVE_ENDPROTOENT 1
11297| #define HAVE_FSYNC 1
11298| #define HAVE_SHMGET 1
11299| #define HAVE_GETIFADDRS 1
11300| #define HAVE_SETREUID 1
11301| #define HAVE_SETREGID 1
11302| #define HAVE_DECL_INET_PTON 1
11303| #define HAVE_DECL_INET_NTOP 1
11304| #define HAVE_INET_ATON 1
11305| #define HAVE_INET_PTON 1
11306| #define HAVE_INET_NTOP 1
11307| #define HAVE_SNPRINTF 1
11308| #define HAVE_STRLCAT 1
11309| #define HAVE_STRLCPY 1
11310| #define HAVE_MEMMOVE 1
11311| #define HAVE_GMTIME_R 1
11312| #define HAVE_ISBLANK 1
11313| /* end confdefs.h.  */
11314| #include <stdio.h>
11315| #ifdef HAVE_SYS_TYPES_H
11316| # include <sys/types.h>
11317| #endif
11318| #ifdef HAVE_SYS_STAT_H
11319| # include <sys/stat.h>
11320| #endif
11321| #ifdef STDC_HEADERS
11322| # include <stdlib.h>
11323| # include <stddef.h>
11324| #else
11325| # ifdef HAVE_STDLIB_H
11326| #  include <stdlib.h>
11327| # endif
11328| #endif
11329| #ifdef HAVE_STRING_H
11330| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
11331| #  include <memory.h>
11332| # endif
11333| # include <string.h>
11334| #endif
11335| #ifdef HAVE_STRINGS_H
11336| # include <strings.h>
11337| #endif
11338| #ifdef HAVE_INTTYPES_H
11339| # include <inttypes.h>
11340| #endif
11341| #ifdef HAVE_STDINT_H
11342| # include <stdint.h>
11343| #endif
11344| #ifdef HAVE_UNISTD_H
11345| # include <unistd.h>
11346| #endif
11347|
11348| #ifndef _OPENBSD_SOURCE
11349| #define _OPENBSD_SOURCE 1
11350| #endif
11351| #include <stdlib.h>
11352| int main(void) {
11353|       void* p = reallocarray(NULL, 10, 100);
11354|       free(p);
11355|       return 0;
11356| }
11357|
11358configure:20633: result: no
11359configure:20645: checking whether reallocarray is declared
11360configure:20645: /opt/local/bin/clang-mp-9.0 -c -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
11361conftest.c:216:10: error: use of undeclared identifier 'reallocarray'
11362  (void) reallocarray;
11363         ^
113641 error generated.
11365configure:20645: $? = 1
11366configure: failed program was:
11367| /* confdefs.h */
11368| #define PACKAGE_NAME "unbound"
11369| #define PACKAGE_TARNAME "unbound"
11370| #define PACKAGE_VERSION "1.12.0"
11371| #define PACKAGE_STRING "unbound 1.12.0"
11372| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
11373| #define PACKAGE_URL ""
11374| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
11375| #define STDC_HEADERS 1
11376| #define HAVE_SYS_TYPES_H 1
11377| #define HAVE_SYS_STAT_H 1
11378| #define HAVE_STDLIB_H 1
11379| #define HAVE_STRING_H 1
11380| #define HAVE_MEMORY_H 1
11381| #define HAVE_STRINGS_H 1
11382| #define HAVE_INTTYPES_H 1
11383| #define HAVE_STDINT_H 1
11384| #define HAVE_UNISTD_H 1
11385| #define __EXTENSIONS__ 1
11386| #define _ALL_SOURCE 1
11387| #define _GNU_SOURCE 1
11388| #define _POSIX_PTHREAD_SEMANTICS 1
11389| #define _TANDEM_SOURCE 1
11390| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11391| #define RUN_DIR "/opt/local/etc/unbound"
11392| #define CHROOT_DIR "/opt/local/etc/unbound"
11393| #define SHARE_DIR "/opt/local/etc/unbound"
11394| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11395| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
11396| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11397| #define UB_USERNAME "unbound"
11398| #define WINVER 0x0502
11399| #define RSRC_PACKAGE_VERSION 1,12,0,0
11400| #define HAVE_GETOPT_H 1
11401| #define HAVE_TIME_H 1
11402| #define HAVE_ATTR_FORMAT 1
11403| #define HAVE_ATTR_UNUSED 1
11404| #define HAVE_ATTR_WEAK 1
11405| #define ATTR_WEAK __attribute__((weak))
11406| #define HAVE_ATTR_NORETURN 1
11407| #define ATTR_NORETURN __attribute__((__noreturn__))
11408| #define YYTEXT_POINTER 1
11409| #define LEX_HAS_YYLEX_DESTROY 1
11410| #define HAVE_DLFCN_H 1
11411| #define LT_OBJDIR ".libs/"
11412| #define HAVE_STDARG_H 1
11413| #define HAVE_STDBOOL_H 1
11414| #define HAVE_NETINET_IN_H 1
11415| #define HAVE_NETINET_TCP_H 1
11416| #define HAVE_SYS_PARAM_H 1
11417| #define HAVE_SYS_SELECT_H 1
11418| #define HAVE_SYS_SOCKET_H 1
11419| #define HAVE_SYS_UN_H 1
11420| #define HAVE_SYS_UIO_H 1
11421| #define HAVE_SYS_RESOURCE_H 1
11422| #define HAVE_ARPA_INET_H 1
11423| #define HAVE_SYSLOG_H 1
11424| #define HAVE_NETDB_H 1
11425| #define HAVE_SYS_WAIT_H 1
11426| #define HAVE_PWD_H 1
11427| #define HAVE_GLOB_H 1
11428| #define HAVE_GRP_H 1
11429| #define HAVE_LIBKERN_OSBYTEORDER_H 1
11430| #define HAVE_SYS_IPC_H 1
11431| #define HAVE_SYS_SHM_H 1
11432| #define HAVE_IFADDRS_H 1
11433| #define HAVE_TARGETCONDITIONALS_H 1
11434| #define SIZEOF_TIME_T 8
11435| #define SIZEOF_SIZE_T 8
11436| #define HAVE_UNISTD_H 1
11437| #define HAVE_CHOWN 1
11438| #define HAVE_FORK 1
11439| #define HAVE_VFORK 1
11440| #define HAVE_WORKING_VFORK 1
11441| #define HAVE_WORKING_FORK 1
11442| #define RETSIGTYPE void
11443| #define HAVE_FSEEKO 1
11444| #define HAVE_STRPTIME 1
11445| #define REUSEPORT_DEFAULT 0
11446| #define HAVE_MALLOC 1
11447| #define HAVE_PTHREAD_PRIO_INHERIT 1
11448| #define HAVE_PTHREAD 1
11449| #define HAVE_PTHREAD_RWLOCK_T 1
11450| #define UB_SYSLOG_FACILITY LOG_DAEMON
11451| #define HAVE_SSL /**/
11452| #define HAVE_EVP_SHA256 1
11453| #define HAVE_OPENSSL_SSL_H 1
11454| #define HAVE_OPENSSL_ERR_H 1
11455| #define HAVE_OPENSSL_RAND_H 1
11456| #define HAVE_OPENSSL_CONF_H 1
11457| #define HAVE_OPENSSL_ENGINE_H 1
11458| #define HAVE_OPENSSL_BN_H 1
11459| #define HAVE_OPENSSL_DH_H 1
11460| #define HAVE_OPENSSL_DSA_H 1
11461| #define HAVE_OPENSSL_RSA_H 1
11462| #define HAVE_OPENSSL_CONFIG 1
11463| #define HAVE_EVP_SHA1 1
11464| #define HAVE_EVP_SHA256 1
11465| #define HAVE_EVP_SHA512 1
11466| #define HAVE_FIPS_MODE 1
11467| #define HAVE_EVP_MD_CTX_NEW 1
11468| #define HAVE_OPENSSL_INIT_CRYPTO 1
11469| #define HAVE_DSA_SIG_SET0 1
11470| #define HAVE_EVP_DIGESTVERIFY 1
11471| #define HAVE_EVP_AES_256_CBC 1
11472| #define HAVE_EVP_ENCRYPTINIT_EX 1
11473| #define HAVE_HMAC_INIT_EX 1
11474| #define HAVE_OPENSSL_INIT_SSL 1
11475| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
11476| #define HAVE_SSL_SET1_HOST 1
11477| #define HAVE_SSL_GET0_PEERNAME 1
11478| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
11479| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
11480| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11481| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
11482| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
11483| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
11484| #define USE_SHA1 1
11485| #define USE_SHA2 1
11486| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
11487| #define HAVE_DECL_NID_SECP384R1 1
11488| #define USE_ECDSA 1
11489| #define HAVE_DECL_NID_ED25519 1
11490| #define USE_ED25519 1
11491| #define HAVE_DECL_NID_ED448 1
11492| #define USE_ED448 1
11493| #define USE_MINI_EVENT 1
11494| #define HAVE_EXPAT_H 1
11495| #define HAVE_DECL_XML_STOPPARSER 1
11496| #define HAVE_GETADDRINFO 1
11497| #define HAVE_DAEMON 1
11498| #define DEPRECATED_DAEMON 1
11499| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
11500| #define HAVE_TZSET 1
11501| #define HAVE_SIGPROCMASK 1
11502| #define HAVE_FCNTL 1
11503| #define HAVE_GETPWNAM 1
11504| #define HAVE_ENDPWENT 1
11505| #define HAVE_GETRLIMIT 1
11506| #define HAVE_SETRLIMIT 1
11507| #define HAVE_SETSID 1
11508| #define HAVE_CHROOT 1
11509| #define HAVE_KILL 1
11510| #define HAVE_CHOWN 1
11511| #define HAVE_SLEEP 1
11512| #define HAVE_USLEEP 1
11513| #define HAVE_RANDOM 1
11514| #define HAVE_SRANDOM 1
11515| #define HAVE_RECVMSG 1
11516| #define HAVE_SENDMSG 1
11517| #define HAVE_WRITEV 1
11518| #define HAVE_SOCKETPAIR 1
11519| #define HAVE_GLOB 1
11520| #define HAVE_INITGROUPS 1
11521| #define HAVE_STRFTIME 1
11522| #define HAVE_LOCALTIME_R 1
11523| #define HAVE_ENDSERVENT 1
11524| #define HAVE_ENDPROTOENT 1
11525| #define HAVE_FSYNC 1
11526| #define HAVE_SHMGET 1
11527| #define HAVE_GETIFADDRS 1
11528| #define HAVE_SETREUID 1
11529| #define HAVE_SETREGID 1
11530| #define HAVE_DECL_INET_PTON 1
11531| #define HAVE_DECL_INET_NTOP 1
11532| #define HAVE_INET_ATON 1
11533| #define HAVE_INET_PTON 1
11534| #define HAVE_INET_NTOP 1
11535| #define HAVE_SNPRINTF 1
11536| #define HAVE_STRLCAT 1
11537| #define HAVE_STRLCPY 1
11538| #define HAVE_MEMMOVE 1
11539| #define HAVE_GMTIME_R 1
11540| #define HAVE_ISBLANK 1
11541| /* end confdefs.h.  */
11542| #include <stdio.h>
11543| #ifdef HAVE_SYS_TYPES_H
11544| # include <sys/types.h>
11545| #endif
11546| #ifdef HAVE_SYS_STAT_H
11547| # include <sys/stat.h>
11548| #endif
11549| #ifdef STDC_HEADERS
11550| # include <stdlib.h>
11551| # include <stddef.h>
11552| #else
11553| # ifdef HAVE_STDLIB_H
11554| #  include <stdlib.h>
11555| # endif
11556| #endif
11557| #ifdef HAVE_STRING_H
11558| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
11559| #  include <memory.h>
11560| # endif
11561| # include <string.h>
11562| #endif
11563| #ifdef HAVE_STRINGS_H
11564| # include <strings.h>
11565| #endif
11566| #ifdef HAVE_INTTYPES_H
11567| # include <inttypes.h>
11568| #endif
11569| #ifdef HAVE_STDINT_H
11570| # include <stdint.h>
11571| #endif
11572| #ifdef HAVE_UNISTD_H
11573| # include <unistd.h>
11574| #endif
11575| int
11576| main ()
11577| {
11578| #ifndef reallocarray
11579| #ifdef __cplusplus
11580|   (void) reallocarray;
11581| #else
11582|   (void) reallocarray;
11583| #endif
11584| #endif
11585|
11586|   ;
11587|   return 0;
11588| }
11589configure:20645: result: no
11590configure:20657: checking for arc4random
11591configure:20657: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11592configure:20657: $? = 0
11593configure:20657: result: yes
11594configure:20671: checking for arc4random_uniform
11595configure:20671: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11596Undefined symbols for architecture x86_64:
11597  "_arc4random_uniform", referenced from:
11598      _main in conftest-a9b859.o
11599ld: symbol(s) not found for architecture x86_64
11600clang: error: linker command failed with exit code 1 (use -v to see invocation)
11601configure:20671: $? = 1
11602configure: failed program was:
11603| /* confdefs.h */
11604| #define PACKAGE_NAME "unbound"
11605| #define PACKAGE_TARNAME "unbound"
11606| #define PACKAGE_VERSION "1.12.0"
11607| #define PACKAGE_STRING "unbound 1.12.0"
11608| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
11609| #define PACKAGE_URL ""
11610| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
11611| #define STDC_HEADERS 1
11612| #define HAVE_SYS_TYPES_H 1
11613| #define HAVE_SYS_STAT_H 1
11614| #define HAVE_STDLIB_H 1
11615| #define HAVE_STRING_H 1
11616| #define HAVE_MEMORY_H 1
11617| #define HAVE_STRINGS_H 1
11618| #define HAVE_INTTYPES_H 1
11619| #define HAVE_STDINT_H 1
11620| #define HAVE_UNISTD_H 1
11621| #define __EXTENSIONS__ 1
11622| #define _ALL_SOURCE 1
11623| #define _GNU_SOURCE 1
11624| #define _POSIX_PTHREAD_SEMANTICS 1
11625| #define _TANDEM_SOURCE 1
11626| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11627| #define RUN_DIR "/opt/local/etc/unbound"
11628| #define CHROOT_DIR "/opt/local/etc/unbound"
11629| #define SHARE_DIR "/opt/local/etc/unbound"
11630| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11631| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
11632| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11633| #define UB_USERNAME "unbound"
11634| #define WINVER 0x0502
11635| #define RSRC_PACKAGE_VERSION 1,12,0,0
11636| #define HAVE_GETOPT_H 1
11637| #define HAVE_TIME_H 1
11638| #define HAVE_ATTR_FORMAT 1
11639| #define HAVE_ATTR_UNUSED 1
11640| #define HAVE_ATTR_WEAK 1
11641| #define ATTR_WEAK __attribute__((weak))
11642| #define HAVE_ATTR_NORETURN 1
11643| #define ATTR_NORETURN __attribute__((__noreturn__))
11644| #define YYTEXT_POINTER 1
11645| #define LEX_HAS_YYLEX_DESTROY 1
11646| #define HAVE_DLFCN_H 1
11647| #define LT_OBJDIR ".libs/"
11648| #define HAVE_STDARG_H 1
11649| #define HAVE_STDBOOL_H 1
11650| #define HAVE_NETINET_IN_H 1
11651| #define HAVE_NETINET_TCP_H 1
11652| #define HAVE_SYS_PARAM_H 1
11653| #define HAVE_SYS_SELECT_H 1
11654| #define HAVE_SYS_SOCKET_H 1
11655| #define HAVE_SYS_UN_H 1
11656| #define HAVE_SYS_UIO_H 1
11657| #define HAVE_SYS_RESOURCE_H 1
11658| #define HAVE_ARPA_INET_H 1
11659| #define HAVE_SYSLOG_H 1
11660| #define HAVE_NETDB_H 1
11661| #define HAVE_SYS_WAIT_H 1
11662| #define HAVE_PWD_H 1
11663| #define HAVE_GLOB_H 1
11664| #define HAVE_GRP_H 1
11665| #define HAVE_LIBKERN_OSBYTEORDER_H 1
11666| #define HAVE_SYS_IPC_H 1
11667| #define HAVE_SYS_SHM_H 1
11668| #define HAVE_IFADDRS_H 1
11669| #define HAVE_TARGETCONDITIONALS_H 1
11670| #define SIZEOF_TIME_T 8
11671| #define SIZEOF_SIZE_T 8
11672| #define HAVE_UNISTD_H 1
11673| #define HAVE_CHOWN 1
11674| #define HAVE_FORK 1
11675| #define HAVE_VFORK 1
11676| #define HAVE_WORKING_VFORK 1
11677| #define HAVE_WORKING_FORK 1
11678| #define RETSIGTYPE void
11679| #define HAVE_FSEEKO 1
11680| #define HAVE_STRPTIME 1
11681| #define REUSEPORT_DEFAULT 0
11682| #define HAVE_MALLOC 1
11683| #define HAVE_PTHREAD_PRIO_INHERIT 1
11684| #define HAVE_PTHREAD 1
11685| #define HAVE_PTHREAD_RWLOCK_T 1
11686| #define UB_SYSLOG_FACILITY LOG_DAEMON
11687| #define HAVE_SSL /**/
11688| #define HAVE_EVP_SHA256 1
11689| #define HAVE_OPENSSL_SSL_H 1
11690| #define HAVE_OPENSSL_ERR_H 1
11691| #define HAVE_OPENSSL_RAND_H 1
11692| #define HAVE_OPENSSL_CONF_H 1
11693| #define HAVE_OPENSSL_ENGINE_H 1
11694| #define HAVE_OPENSSL_BN_H 1
11695| #define HAVE_OPENSSL_DH_H 1
11696| #define HAVE_OPENSSL_DSA_H 1
11697| #define HAVE_OPENSSL_RSA_H 1
11698| #define HAVE_OPENSSL_CONFIG 1
11699| #define HAVE_EVP_SHA1 1
11700| #define HAVE_EVP_SHA256 1
11701| #define HAVE_EVP_SHA512 1
11702| #define HAVE_FIPS_MODE 1
11703| #define HAVE_EVP_MD_CTX_NEW 1
11704| #define HAVE_OPENSSL_INIT_CRYPTO 1
11705| #define HAVE_DSA_SIG_SET0 1
11706| #define HAVE_EVP_DIGESTVERIFY 1
11707| #define HAVE_EVP_AES_256_CBC 1
11708| #define HAVE_EVP_ENCRYPTINIT_EX 1
11709| #define HAVE_HMAC_INIT_EX 1
11710| #define HAVE_OPENSSL_INIT_SSL 1
11711| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
11712| #define HAVE_SSL_SET1_HOST 1
11713| #define HAVE_SSL_GET0_PEERNAME 1
11714| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
11715| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
11716| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11717| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
11718| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
11719| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
11720| #define USE_SHA1 1
11721| #define USE_SHA2 1
11722| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
11723| #define HAVE_DECL_NID_SECP384R1 1
11724| #define USE_ECDSA 1
11725| #define HAVE_DECL_NID_ED25519 1
11726| #define USE_ED25519 1
11727| #define HAVE_DECL_NID_ED448 1
11728| #define USE_ED448 1
11729| #define USE_MINI_EVENT 1
11730| #define HAVE_EXPAT_H 1
11731| #define HAVE_DECL_XML_STOPPARSER 1
11732| #define HAVE_GETADDRINFO 1
11733| #define HAVE_DAEMON 1
11734| #define DEPRECATED_DAEMON 1
11735| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
11736| #define HAVE_TZSET 1
11737| #define HAVE_SIGPROCMASK 1
11738| #define HAVE_FCNTL 1
11739| #define HAVE_GETPWNAM 1
11740| #define HAVE_ENDPWENT 1
11741| #define HAVE_GETRLIMIT 1
11742| #define HAVE_SETRLIMIT 1
11743| #define HAVE_SETSID 1
11744| #define HAVE_CHROOT 1
11745| #define HAVE_KILL 1
11746| #define HAVE_CHOWN 1
11747| #define HAVE_SLEEP 1
11748| #define HAVE_USLEEP 1
11749| #define HAVE_RANDOM 1
11750| #define HAVE_SRANDOM 1
11751| #define HAVE_RECVMSG 1
11752| #define HAVE_SENDMSG 1
11753| #define HAVE_WRITEV 1
11754| #define HAVE_SOCKETPAIR 1
11755| #define HAVE_GLOB 1
11756| #define HAVE_INITGROUPS 1
11757| #define HAVE_STRFTIME 1
11758| #define HAVE_LOCALTIME_R 1
11759| #define HAVE_ENDSERVENT 1
11760| #define HAVE_ENDPROTOENT 1
11761| #define HAVE_FSYNC 1
11762| #define HAVE_SHMGET 1
11763| #define HAVE_GETIFADDRS 1
11764| #define HAVE_SETREUID 1
11765| #define HAVE_SETREGID 1
11766| #define HAVE_DECL_INET_PTON 1
11767| #define HAVE_DECL_INET_NTOP 1
11768| #define HAVE_INET_ATON 1
11769| #define HAVE_INET_PTON 1
11770| #define HAVE_INET_NTOP 1
11771| #define HAVE_SNPRINTF 1
11772| #define HAVE_STRLCAT 1
11773| #define HAVE_STRLCPY 1
11774| #define HAVE_MEMMOVE 1
11775| #define HAVE_GMTIME_R 1
11776| #define HAVE_ISBLANK 1
11777| #define HAVE_DECL_REALLOCARRAY 0
11778| #define HAVE_ARC4RANDOM 1
11779| /* end confdefs.h.  */
11780| /* Define arc4random_uniform to an innocuous variant, in case <limits.h> declares arc4random_uniform.
11781|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11782| #define arc4random_uniform innocuous_arc4random_uniform
11783|
11784| /* System header to define __stub macros and hopefully few prototypes,
11785|     which can conflict with char arc4random_uniform (); below.
11786|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11787|     <limits.h> exists even on freestanding compilers.  */
11788|
11789| #ifdef __STDC__
11790| # include <limits.h>
11791| #else
11792| # include <assert.h>
11793| #endif
11794|
11795| #undef arc4random_uniform
11796|
11797| /* Override any GCC internal prototype to avoid an error.
11798|    Use char because int might match the return type of a GCC
11799|    builtin and then its argument prototype would still apply.  */
11800| #ifdef __cplusplus
11801| extern "C"
11802| #endif
11803| char arc4random_uniform ();
11804| /* The GNU C library defines this for functions which it implements
11805|     to always fail with ENOSYS.  Some functions are actually named
11806|     something starting with __ and the normal name is an alias.  */
11807| #if defined __stub_arc4random_uniform || defined __stub___arc4random_uniform
11808| choke me
11809| #endif
11810|
11811| int
11812| main ()
11813| {
11814| return arc4random_uniform ();
11815|   ;
11816|   return 0;
11817| }
11818configure:20671: result: no
11819configure:20952: checking for ctime_r
11820configure:20952: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11821configure:20952: $? = 0
11822configure:20952: result: yes
11823configure:20966: checking for strsep
11824configure:20966: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11825configure:20966: $? = 0
11826configure:20966: result: yes
11827configure:21218: checking for library containing sodium_init
11828configure:21249: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib conftest.c  -lcrypto >&5
11829Undefined symbols for architecture x86_64:
11830  "_sodium_init", referenced from:
11831      _main in conftest-15aa20.o
11832ld: symbol(s) not found for architecture x86_64
11833clang: error: linker command failed with exit code 1 (use -v to see invocation)
11834configure:21249: $? = 1
11835configure: failed program was:
11836| /* confdefs.h */
11837| #define PACKAGE_NAME "unbound"
11838| #define PACKAGE_TARNAME "unbound"
11839| #define PACKAGE_VERSION "1.12.0"
11840| #define PACKAGE_STRING "unbound 1.12.0"
11841| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
11842| #define PACKAGE_URL ""
11843| #define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
11844| #define STDC_HEADERS 1
11845| #define HAVE_SYS_TYPES_H 1
11846| #define HAVE_SYS_STAT_H 1
11847| #define HAVE_STDLIB_H 1
11848| #define HAVE_STRING_H 1
11849| #define HAVE_MEMORY_H 1
11850| #define HAVE_STRINGS_H 1
11851| #define HAVE_INTTYPES_H 1
11852| #define HAVE_STDINT_H 1
11853| #define HAVE_UNISTD_H 1
11854| #define __EXTENSIONS__ 1
11855| #define _ALL_SOURCE 1
11856| #define _GNU_SOURCE 1
11857| #define _POSIX_PTHREAD_SEMANTICS 1
11858| #define _TANDEM_SOURCE 1
11859| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11860| #define RUN_DIR "/opt/local/etc/unbound"
11861| #define CHROOT_DIR "/opt/local/etc/unbound"
11862| #define SHARE_DIR "/opt/local/etc/unbound"
11863| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11864| #define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
11865| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11866| #define UB_USERNAME "unbound"
11867| #define WINVER 0x0502
11868| #define RSRC_PACKAGE_VERSION 1,12,0,0
11869| #define HAVE_GETOPT_H 1
11870| #define HAVE_TIME_H 1
11871| #define HAVE_ATTR_FORMAT 1
11872| #define HAVE_ATTR_UNUSED 1
11873| #define HAVE_ATTR_WEAK 1
11874| #define ATTR_WEAK __attribute__((weak))
11875| #define HAVE_ATTR_NORETURN 1
11876| #define ATTR_NORETURN __attribute__((__noreturn__))
11877| #define YYTEXT_POINTER 1
11878| #define LEX_HAS_YYLEX_DESTROY 1
11879| #define HAVE_DLFCN_H 1
11880| #define LT_OBJDIR ".libs/"
11881| #define HAVE_STDARG_H 1
11882| #define HAVE_STDBOOL_H 1
11883| #define HAVE_NETINET_IN_H 1
11884| #define HAVE_NETINET_TCP_H 1
11885| #define HAVE_SYS_PARAM_H 1
11886| #define HAVE_SYS_SELECT_H 1
11887| #define HAVE_SYS_SOCKET_H 1
11888| #define HAVE_SYS_UN_H 1
11889| #define HAVE_SYS_UIO_H 1
11890| #define HAVE_SYS_RESOURCE_H 1
11891| #define HAVE_ARPA_INET_H 1
11892| #define HAVE_SYSLOG_H 1
11893| #define HAVE_NETDB_H 1
11894| #define HAVE_SYS_WAIT_H 1
11895| #define HAVE_PWD_H 1
11896| #define HAVE_GLOB_H 1
11897| #define HAVE_GRP_H 1
11898| #define HAVE_LIBKERN_OSBYTEORDER_H 1
11899| #define HAVE_SYS_IPC_H 1
11900| #define HAVE_SYS_SHM_H 1
11901| #define HAVE_IFADDRS_H 1
11902| #define HAVE_TARGETCONDITIONALS_H 1
11903| #define SIZEOF_TIME_T 8
11904| #define SIZEOF_SIZE_T 8
11905| #define HAVE_UNISTD_H 1
11906| #define HAVE_CHOWN 1
11907| #define HAVE_FORK 1
11908| #define HAVE_VFORK 1
11909| #define HAVE_WORKING_VFORK 1
11910| #define HAVE_WORKING_FORK 1
11911| #define RETSIGTYPE void
11912| #define HAVE_FSEEKO 1
11913| #define HAVE_STRPTIME 1
11914| #define REUSEPORT_DEFAULT 0
11915| #define HAVE_MALLOC 1
11916| #define HAVE_PTHREAD_PRIO_INHERIT 1
11917| #define HAVE_PTHREAD 1
11918| #define HAVE_PTHREAD_RWLOCK_T 1
11919| #define UB_SYSLOG_FACILITY LOG_DAEMON
11920| #define HAVE_SSL /**/
11921| #define HAVE_EVP_SHA256 1
11922| #define HAVE_OPENSSL_SSL_H 1
11923| #define HAVE_OPENSSL_ERR_H 1
11924| #define HAVE_OPENSSL_RAND_H 1
11925| #define HAVE_OPENSSL_CONF_H 1
11926| #define HAVE_OPENSSL_ENGINE_H 1
11927| #define HAVE_OPENSSL_BN_H 1
11928| #define HAVE_OPENSSL_DH_H 1
11929| #define HAVE_OPENSSL_DSA_H 1
11930| #define HAVE_OPENSSL_RSA_H 1
11931| #define HAVE_OPENSSL_CONFIG 1
11932| #define HAVE_EVP_SHA1 1
11933| #define HAVE_EVP_SHA256 1
11934| #define HAVE_EVP_SHA512 1
11935| #define HAVE_FIPS_MODE 1
11936| #define HAVE_EVP_MD_CTX_NEW 1
11937| #define HAVE_OPENSSL_INIT_CRYPTO 1
11938| #define HAVE_DSA_SIG_SET0 1
11939| #define HAVE_EVP_DIGESTVERIFY 1
11940| #define HAVE_EVP_AES_256_CBC 1
11941| #define HAVE_EVP_ENCRYPTINIT_EX 1
11942| #define HAVE_HMAC_INIT_EX 1
11943| #define HAVE_OPENSSL_INIT_SSL 1
11944| #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
11945| #define HAVE_SSL_SET1_HOST 1
11946| #define HAVE_SSL_GET0_PEERNAME 1
11947| #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
11948| #define HAVE_SSL_CTX_SET_CIPHERSUITES 1
11949| #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11950| #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
11951| #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
11952| #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
11953| #define USE_SHA1 1
11954| #define USE_SHA2 1
11955| #define HAVE_DECL_NID_X9_62_PRIME256V1 1
11956| #define HAVE_DECL_NID_SECP384R1 1
11957| #define USE_ECDSA 1
11958| #define HAVE_DECL_NID_ED25519 1
11959| #define USE_ED25519 1
11960| #define HAVE_DECL_NID_ED448 1
11961| #define USE_ED448 1
11962| #define USE_MINI_EVENT 1
11963| #define HAVE_EXPAT_H 1
11964| #define HAVE_DECL_XML_STOPPARSER 1
11965| #define HAVE_GETADDRINFO 1
11966| #define HAVE_DAEMON 1
11967| #define DEPRECATED_DAEMON 1
11968| #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
11969| #define HAVE_TZSET 1
11970| #define HAVE_SIGPROCMASK 1
11971| #define HAVE_FCNTL 1
11972| #define HAVE_GETPWNAM 1
11973| #define HAVE_ENDPWENT 1
11974| #define HAVE_GETRLIMIT 1
11975| #define HAVE_SETRLIMIT 1
11976| #define HAVE_SETSID 1
11977| #define HAVE_CHROOT 1
11978| #define HAVE_KILL 1
11979| #define HAVE_CHOWN 1
11980| #define HAVE_SLEEP 1
11981| #define HAVE_USLEEP 1
11982| #define HAVE_RANDOM 1
11983| #define HAVE_SRANDOM 1
11984| #define HAVE_RECVMSG 1
11985| #define HAVE_SENDMSG 1
11986| #define HAVE_WRITEV 1
11987| #define HAVE_SOCKETPAIR 1
11988| #define HAVE_GLOB 1
11989| #define HAVE_INITGROUPS 1
11990| #define HAVE_STRFTIME 1
11991| #define HAVE_LOCALTIME_R 1
11992| #define HAVE_ENDSERVENT 1
11993| #define HAVE_ENDPROTOENT 1
11994| #define HAVE_FSYNC 1
11995| #define HAVE_SHMGET 1
11996| #define HAVE_GETIFADDRS 1
11997| #define HAVE_SETREUID 1
11998| #define HAVE_SETREGID 1
11999| #define HAVE_DECL_INET_PTON 1
12000| #define HAVE_DECL_INET_NTOP 1
12001| #define HAVE_INET_ATON 1
12002| #define HAVE_INET_PTON 1
12003| #define HAVE_INET_NTOP 1
12004| #define HAVE_SNPRINTF 1
12005| #define HAVE_STRLCAT 1
12006| #define HAVE_STRLCPY 1
12007| #define HAVE_MEMMOVE 1
12008| #define HAVE_GMTIME_R 1
12009| #define HAVE_ISBLANK 1
12010| #define HAVE_DECL_REALLOCARRAY 0
12011| #define HAVE_ARC4RANDOM 1
12012| #define HAVE_CTIME_R 1
12013| #define HAVE_STRSEP 1
12014| /* end confdefs.h.  */
12015|
12016| /* Override any GCC internal prototype to avoid an error.
12017|    Use char because int might match the return type of a GCC
12018|    builtin and then its argument prototype would still apply.  */
12019| #ifdef __cplusplus
12020| extern "C"
12021| #endif
12022| char sodium_init ();
12023| int
12024| main ()
12025| {
12026| return sodium_init ();
12027|   ;
12028|   return 0;
12029| }
12030configure:21249: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lsodium   -lcrypto >&5
12031configure:21249: $? = 0
12032configure:21266: result: -lsodium
12033configure:21276: checking for library containing crypto_box_curve25519xchacha20poly1305_beforenm
12034configure:21307: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lsodium  -lcrypto >&5
12035configure:21307: $? = 0
12036configure:21324: result: none required
12037configure:21343: checking for library containing sodium_set_misuse_handler
12038configure:21374: /opt/local/bin/clang-mp-9.0 -o conftest -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lsodium  -lcrypto >&5
12039configure:21374: $? = 0
12040configure:21391: result: none required
12041configure:21534: checking if make supports $< with implicit rule in scope
12042configure:21563: result: yes
12043configure:21599: Stripping extension flags...
12044configure:21816: creating ./config.status
12045
12046## ---------------------- ##
12047## Running config.status. ##
12048## ---------------------- ##
12049
12050This file was extended by unbound config.status 1.12.0, which was
12051generated by GNU Autoconf 2.69.  Invocation command line was
12052
12053  CONFIG_FILES    =
12054  CONFIG_HEADERS  =
12055  CONFIG_LINKS    =
12056  CONFIG_COMMANDS =
12057  $ ./config.status
12058
12059on MiniMac
12060
12061config.status:1332: creating Makefile
12062config.status:1332: creating doc/example.conf
12063config.status:1332: creating doc/libunbound.3
12064config.status:1332: creating doc/unbound.8
12065config.status:1332: creating doc/unbound-anchor.8
12066config.status:1332: creating doc/unbound-checkconf.8
12067config.status:1332: creating doc/unbound.conf.5
12068config.status:1332: creating doc/unbound-control.8
12069config.status:1332: creating doc/unbound-host.1
12070config.status:1332: creating smallapp/unbound-control-setup.sh
12071config.status:1332: creating dnstap/dnstap_config.h
12072config.status:1332: creating dnscrypt/dnscrypt_config.h
12073config.status:1332: creating contrib/libunbound.pc
12074config.status:1332: creating contrib/unbound.socket
12075config.status:1332: creating contrib/unbound.service
12076config.status:1332: creating contrib/unbound_portable.service
12077config.status:1332: creating config.h
12078config.status:1516: executing libtool commands
12079
12080## ---------------- ##
12081## Cache variables. ##
12082## ---------------- ##
12083
12084ac_cv_build=x86_64-apple-darwin10.8.0
12085ac_cv_c_compiler_gnu=yes
12086ac_cv_c_const=yes
12087ac_cv_c_format_attribute=yes
12088ac_cv_c_gost_works=no
12089ac_cv_c_inline=inline
12090ac_cv_c_noreturn_attribute=yes
12091ac_cv_c_strptime_works=no
12092ac_cv_c_unused_attribute=yes
12093ac_cv_c_weak_attribute=yes
12094ac_cv_env_CC_set=set
12095ac_cv_env_CC_value=/opt/local/bin/clang-mp-9.0
12096ac_cv_env_CFLAGS_set=set
12097ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
12098ac_cv_env_CPPFLAGS_set=set
12099ac_cv_env_CPPFLAGS_value=-I/opt/local/include
12100ac_cv_env_CPP_set=
12101ac_cv_env_CPP_value=
12102ac_cv_env_LDFLAGS_set=set
12103ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
12104ac_cv_env_LIBS_set=
12105ac_cv_env_LIBS_value=
12106ac_cv_env_LT_SYS_LIBRARY_PATH_set=
12107ac_cv_env_LT_SYS_LIBRARY_PATH_value=
12108ac_cv_env_PKG_CONFIG_LIBDIR_set=
12109ac_cv_env_PKG_CONFIG_LIBDIR_value=
12110ac_cv_env_PKG_CONFIG_PATH_set=
12111ac_cv_env_PKG_CONFIG_PATH_value=
12112ac_cv_env_PKG_CONFIG_set=
12113ac_cv_env_PKG_CONFIG_value=
12114ac_cv_env_PYTHON_VERSION_set=
12115ac_cv_env_PYTHON_VERSION_value=
12116ac_cv_env_SYSTEMD_CFLAGS_set=
12117ac_cv_env_SYSTEMD_CFLAGS_value=
12118ac_cv_env_SYSTEMD_DAEMON_CFLAGS_set=
12119ac_cv_env_SYSTEMD_DAEMON_CFLAGS_value=
12120ac_cv_env_SYSTEMD_DAEMON_LIBS_set=
12121ac_cv_env_SYSTEMD_DAEMON_LIBS_value=
12122ac_cv_env_SYSTEMD_LIBS_set=
12123ac_cv_env_SYSTEMD_LIBS_value=
12124ac_cv_env_YACC_set=
12125ac_cv_env_YACC_value=
12126ac_cv_env_YFLAGS_set=
12127ac_cv_env_YFLAGS_value=
12128ac_cv_env_build_alias_set=
12129ac_cv_env_build_alias_value=
12130ac_cv_env_host_alias_set=
12131ac_cv_env_host_alias_value=
12132ac_cv_env_target_alias_set=
12133ac_cv_env_target_alias_value=
12134ac_cv_func_CRYPTO_THREADID_set_callback=no
12135ac_cv_func_CRYPTO_cleanup_all_ex_data=no
12136ac_cv_func_DSA_SIG_set0=yes
12137ac_cv_func_ECDSA_sign=yes
12138ac_cv_func_EC_KEY_new=yes
12139ac_cv_func_ENGINE_cleanup=no
12140ac_cv_func_ERR_free_strings=no
12141ac_cv_func_ERR_load_crypto_strings=no
12142ac_cv_func_EVP_DigestVerify=yes
12143ac_cv_func_EVP_EncryptInit_ex=yes
12144ac_cv_func_EVP_MAC_CTX_set_params=no
12145ac_cv_func_EVP_MD_CTX_new=yes
12146ac_cv_func_EVP_PKEY_set_type_str=yes
12147ac_cv_func_EVP_aes_256_cbc=yes
12148ac_cv_func_EVP_cleanup=no
12149ac_cv_func_EVP_dss1=no
12150ac_cv_func_EVP_sha1=yes
12151ac_cv_func_EVP_sha256=yes
12152ac_cv_func_EVP_sha512=yes
12153ac_cv_func_FIPS_mode=yes
12154ac_cv_func_HMAC_Init_ex=yes
12155ac_cv_func_OPENSSL_config=yes
12156ac_cv_func_OPENSSL_init_crypto=yes
12157ac_cv_func_OPENSSL_init_ssl=yes
12158ac_cv_func_OpenSSL_add_all_digests=no
12159ac_cv_func_RAND_cleanup=no
12160ac_cv_func_SHA384_Init=yes
12161ac_cv_func_SSL_CTX_set_alpn_select_cb=yes
12162ac_cv_func_SSL_CTX_set_ciphersuites=yes
12163ac_cv_func_SSL_CTX_set_security_level=yes
12164ac_cv_func_SSL_CTX_set_tlsext_ticket_key_evp_cb=no
12165ac_cv_func_SSL_get0_peername=yes
12166ac_cv_func_SSL_set1_host=yes
12167ac_cv_func_X509_VERIFY_PARAM_set1_host=yes
12168ac_cv_func__beginthreadex=no
12169ac_cv_func_accept4=no
12170ac_cv_func_arc4random=yes
12171ac_cv_func_arc4random_uniform=no
12172ac_cv_func_chown=yes
12173ac_cv_func_chown_works=yes
12174ac_cv_func_chroot=yes
12175ac_cv_func_ctime_r=yes
12176ac_cv_func_daemon=yes
12177ac_cv_func_endprotoent=yes
12178ac_cv_func_endpwent=yes
12179ac_cv_func_endservent=yes
12180ac_cv_func_explicit_bzero=no
12181ac_cv_func_fcntl=yes
12182ac_cv_func_fork=yes
12183ac_cv_func_fork_works=yes
12184ac_cv_func_fsync=yes
12185ac_cv_func_getaddrinfo=yes
12186ac_cv_func_getifaddrs=yes
12187ac_cv_func_getpwnam=yes
12188ac_cv_func_getrlimit=yes
12189ac_cv_func_glob=yes
12190ac_cv_func_gmtime_r=yes
12191ac_cv_func_inet_aton=yes
12192ac_cv_func_inet_ntop=yes
12193ac_cv_func_inet_pton=yes
12194ac_cv_func_initgroups=yes
12195ac_cv_func_isblank=yes
12196ac_cv_func_kill=yes
12197ac_cv_func_localtime_r=yes
12198ac_cv_func_memmove=yes
12199ac_cv_func_random=yes
12200ac_cv_func_recvmsg=yes
12201ac_cv_func_sendmsg=yes
12202ac_cv_func_setregid=yes
12203ac_cv_func_setresgid=no
12204ac_cv_func_setresuid=no
12205ac_cv_func_setreuid=yes
12206ac_cv_func_setrlimit=yes
12207ac_cv_func_setsid=yes
12208ac_cv_func_setusercontext=no
12209ac_cv_func_shmget=yes
12210ac_cv_func_sigprocmask=yes
12211ac_cv_func_sleep=yes
12212ac_cv_func_snprintf=yes
12213ac_cv_func_socketpair=yes
12214ac_cv_func_srandom=yes
12215ac_cv_func_strftime=yes
12216ac_cv_func_strlcat=yes
12217ac_cv_func_strlcpy=yes
12218ac_cv_func_strptime=yes
12219ac_cv_func_strsep=yes
12220ac_cv_func_tzset=yes
12221ac_cv_func_usleep=yes
12222ac_cv_func_vfork=yes
12223ac_cv_func_vfork_works=yes
12224ac_cv_func_writev=yes
12225ac_cv_have_decl_NID_ED25519=yes
12226ac_cv_have_decl_NID_ED448=yes
12227ac_cv_have_decl_NID_X9_62_prime256v1=yes
12228ac_cv_have_decl_NID_secp384r1=yes
12229ac_cv_have_decl_SSL_COMP_get_compression_methods=yes
12230ac_cv_have_decl_SSL_CTX_set_ecdh_auto=yes
12231ac_cv_have_decl_XML_StopParser=yes
12232ac_cv_have_decl_inet_ntop=yes
12233ac_cv_have_decl_inet_pton=yes
12234ac_cv_have_decl_reallocarray=no
12235ac_cv_have_decl_sk_SSL_COMP_pop_free=yes
12236ac_cv_header_TargetConditionals_h=yes
12237ac_cv_header_arpa_inet_h=yes
12238ac_cv_header_dlfcn_h=yes
12239ac_cv_header_endian_h=no
12240ac_cv_header_expat_h=yes
12241ac_cv_header_getopt_h=yes
12242ac_cv_header_glob_h=yes
12243ac_cv_header_grp_h=yes
12244ac_cv_header_ifaddrs_h=yes
12245ac_cv_header_inttypes_h=yes
12246ac_cv_header_libkern_OSByteOrder_h=yes
12247ac_cv_header_login_cap_h=no
12248ac_cv_header_memory_h=yes
12249ac_cv_header_minix_config_h=no
12250ac_cv_header_net_if_h=no
12251ac_cv_header_netdb_h=yes
12252ac_cv_header_netinet_in_h=yes
12253ac_cv_header_netinet_tcp_h=yes
12254ac_cv_header_openssl_bn_h=yes
12255ac_cv_header_openssl_conf_h=yes
12256ac_cv_header_openssl_core_names_h=no
12257ac_cv_header_openssl_dh_h=yes
12258ac_cv_header_openssl_dsa_h=yes
12259ac_cv_header_openssl_engine_h=yes
12260ac_cv_header_openssl_err_h=yes
12261ac_cv_header_openssl_rand_h=yes
12262ac_cv_header_openssl_rsa_h=yes
12263ac_cv_header_openssl_ssl_h=yes
12264ac_cv_header_pwd_h=yes
12265ac_cv_header_stdarg_h=yes
12266ac_cv_header_stdbool_h=yes
12267ac_cv_header_stdc=yes
12268ac_cv_header_stdint_h=yes
12269ac_cv_header_stdlib_h=yes
12270ac_cv_header_string_h=yes
12271ac_cv_header_strings_h=yes
12272ac_cv_header_sys_endian_h=no
12273ac_cv_header_sys_ipc_h=yes
12274ac_cv_header_sys_param_h=yes
12275ac_cv_header_sys_resource_h=yes
12276ac_cv_header_sys_select_h=yes
12277ac_cv_header_sys_shm_h=yes
12278ac_cv_header_sys_socket_h=yes
12279ac_cv_header_sys_stat_h=yes
12280ac_cv_header_sys_types_h=yes
12281ac_cv_header_sys_uio_h=yes
12282ac_cv_header_sys_un_h=yes
12283ac_cv_header_sys_wait_h=yes
12284ac_cv_header_syslog_h=yes
12285ac_cv_header_time_h=yes
12286ac_cv_header_unistd_h=yes
12287ac_cv_header_vfork_h=no
12288ac_cv_header_winsock2_h=no
12289ac_cv_header_ws2tcpip_h=no
12290ac_cv_host=x86_64-apple-darwin10.8.0
12291ac_cv_lib_lex=-lfl
12292ac_cv_member_struct_in_pktinfo_ipi_spec_dst=no
12293ac_cv_member_struct_sockaddr_un_sun_len=yes
12294ac_cv_objext=o
12295ac_cv_path_EGREP='/usr/bin/grep -E'
12296ac_cv_path_FGREP='/usr/bin/grep -F'
12297ac_cv_path_GREP=/usr/bin/grep
12298ac_cv_path_SED=/usr/bin/sed
12299ac_cv_path_ac_pt_AR=/opt/local/bin/ar
12300ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
12301ac_cv_path_lt_DD=/bin/dd
12302ac_cv_prog_AWK=awk
12303ac_cv_prog_CPP='/opt/local/bin/clang-mp-9.0 -E'
12304ac_cv_prog_LEX=flex
12305ac_cv_prog_YACC='bison -y'
12306ac_cv_prog_ac_ct_CC=/opt/local/bin/clang-mp-9.0
12307ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
12308ac_cv_prog_ac_ct_LIPO=lipo
12309ac_cv_prog_ac_ct_NMEDIT=nmedit
12310ac_cv_prog_ac_ct_OTOOL=otool
12311ac_cv_prog_ac_ct_RANLIB=ranlib
12312ac_cv_prog_ac_ct_STRIP=strip
12313ac_cv_prog_cc_c89=
12314ac_cv_prog_cc_g=yes
12315ac_cv_prog_lex_root=lex.yy
12316ac_cv_prog_lex_yytext_pointer=yes
12317ac_cv_safe_to_define___extensions__=yes
12318ac_cv_search_crypto_box_curve25519xchacha20poly1305_beforenm='none required'
12319ac_cv_search_inet_pton='none required'
12320ac_cv_search_setusercontext=no
12321ac_cv_search_socket='none required'
12322ac_cv_search_sodium_init=-lsodium
12323ac_cv_search_sodium_set_misuse_handler='none required'
12324ac_cv_sizeof_size_t=8
12325ac_cv_sizeof_time_t=8
12326ac_cv_sys_file_offset_bits=no
12327ac_cv_sys_largefile_CC=no
12328ac_cv_sys_largefile_source=no
12329ac_cv_type_in_addr_t=yes
12330ac_cv_type_in_port_t=yes
12331ac_cv_type_int16_t=yes
12332ac_cv_type_int32_t=yes
12333ac_cv_type_int64_t=yes
12334ac_cv_type_int8_t=yes
12335ac_cv_type_off_t=yes
12336ac_cv_type_pid_t=yes
12337ac_cv_type_pthread_rwlock_t=yes
12338ac_cv_type_pthread_spinlock_t=no
12339ac_cv_type_rlim_t=yes
12340ac_cv_type_signal=void
12341ac_cv_type_size_t=yes
12342ac_cv_type_socklen_t=yes
12343ac_cv_type_ssize_t=yes
12344ac_cv_type_u_char=yes
12345ac_cv_type_uid_t=yes
12346ac_cv_type_uint16_t=yes
12347ac_cv_type_uint32_t=yes
12348ac_cv_type_uint64_t=yes
12349ac_cv_type_uint8_t=yes
12350ax_cv_PTHREAD_PRIO_INHERIT=yes
12351lt_cv_apple_cc_single_mod=yes
12352lt_cv_ar_at_file=no
12353lt_cv_deplibs_check_method=pass_all
12354lt_cv_file_magic_cmd='$MAGIC_CMD'
12355lt_cv_file_magic_test_file=
12356lt_cv_ld_exported_symbols_list=yes
12357lt_cv_ld_force_load=yes
12358lt_cv_ld_reload_flag=-r
12359lt_cv_nm_interface='BSD nm'
12360lt_cv_objdir=.libs
12361lt_cv_path_LD=/opt/local/libexec/llvm-9.0/bin/ld
12362lt_cv_path_NM=/opt/local/bin/nm
12363lt_cv_path_mainfest_tool=no
12364lt_cv_prog_compiler_c_o=yes
12365lt_cv_prog_compiler_pic='-fno-common -DPIC'
12366lt_cv_prog_compiler_pic_works=yes
12367lt_cv_prog_compiler_rtti_exceptions=yes
12368lt_cv_prog_compiler_static_works=no
12369lt_cv_prog_gnu_ld=no
12370lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
12371lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
12372lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
12373lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
12374lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
12375lt_cv_sys_global_symbol_to_import=
12376lt_cv_sys_max_cmd_len=196608
12377lt_cv_to_host_file_cmd=func_convert_file_noop
12378lt_cv_to_tool_file_cmd=func_convert_file_noop
12379lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
12380
12381## ----------------- ##
12382## Output variables. ##
12383## ----------------- ##
12384
12385ALLTARGET='alltargets'
12386AR='/opt/local/bin/ar'
12387ASYNCLOOK_ALLOCCHECK_EXTRA_OBJ=''
12388AWK='awk'
12389CC='/opt/local/bin/clang-mp-9.0'
12390CFLAGS='-pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -I/opt/local/include'
12391CHECKLOCK_OBJ=''
12392COMMON_OBJ_ALL_SYMBOLS='$(COMMON_OBJ)'
12393CONFIG_DATE='20201014'
12394CPP='/opt/local/bin/clang-mp-9.0 -E'
12395CPPFLAGS='-I/opt/local/include -I/opt/local/include -I/opt/local/include'
12396DEFS='-DHAVE_CONFIG_H'
12397DEPFLAG='-MM'
12398DLLTOOL='false'
12399DNSCRYPT_OBJ='dnscrypt.lo'
12400DNSCRYPT_SRC='dnscrypt/dnscrypt.c'
12401DNSTAP_OBJ=''
12402DNSTAP_SOCKET_PATH=''
12403DNSTAP_SRC=''
12404DSYMUTIL='dsymutil'
12405DUMPBIN=''
12406DYNLIBMOD_EXTRALIBS=''
12407DYNLIBMOD_HEADER=''
12408DYNLIBMOD_OBJ=''
12409ECHO_C='\c'
12410ECHO_N=''
12411ECHO_T=''
12412EGREP='/usr/bin/grep -E'
12413ENABLE_DNSCRYPT='1'
12414ENABLE_DNSCRYPT_XCHACHA20='1'
12415ENABLE_DNSTAP='0'
12416EXEEXT=''
12417EXTRALINK=''
12418FGREP='/usr/bin/grep -F'
12419GREP='/usr/bin/grep'
12420HAVE_SSL='yes'
12421INSTALLTARGET='install-all'
12422IPSECMOD_HEADER=''
12423IPSECMOD_OBJ=''
12424IPSET_OBJ=''
12425IPSET_SRC=''
12426LD='/opt/local/libexec/llvm-9.0/bin/ld'
12427LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib'
12428LEX='flex'
12429LEXLIB='-lfl'
12430LEX_OUTPUT_ROOT='lex.yy'
12431LIBOBJS=' ${LIBOBJDIR}strptime$U.o ${LIBOBJDIR}explicit_bzero$U.o ${LIBOBJDIR}reallocarray$U.o ${LIBOBJDIR}arc4random_uniform$U.o'
12432LIBOBJ_WITHOUT_CTIME=' strptime.o explicit_bzero.o reallocarray.o arc4random_uniform.o'
12433LIBOBJ_WITHOUT_CTIMEARC4=' strptime.o explicit_bzero.o'
12434LIBS='-lsodium  -lcrypto'
12435LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12436LIBUNBOUND_AGE='1'
12437LIBUNBOUND_CURRENT='9'
12438LIBUNBOUND_REVISION='10'
12439LIPO='lipo'
12440LN_S='ln -s'
12441LTLIBOBJS=' ${LIBOBJDIR}strptime$U.lo ${LIBOBJDIR}explicit_bzero$U.lo ${LIBOBJDIR}reallocarray$U.lo ${LIBOBJDIR}arc4random_uniform$U.lo'
12442LT_SYS_LIBRARY_PATH=''
12443MANIFEST_TOOL=':'
12444NETBSD_LINTFLAGS=''
12445NM='/opt/local/bin/nm'
12446NMEDIT='nmedit'
12447OBJDUMP='false'
12448OBJEXT='o'
12449OTOOL64=':'
12450OTOOL='otool'
12451PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues'
12452PACKAGE_NAME='unbound'
12453PACKAGE_STRING='unbound 1.12.0'
12454PACKAGE_TARNAME='unbound'
12455PACKAGE_URL=''
12456PACKAGE_VERSION='1.12.0'
12457PATH_SEPARATOR=':'
12458PC_CRYPTO_DEPENDENCY='libcrypto libssl'
12459PC_LIBBSD_DEPENDENCY=''
12460PC_LIBEVENT_DEPENDENCY=''
12461PC_PY_DEPENDENCY=''
12462PKG_CONFIG='/opt/local/bin/pkg-config'
12463PKG_CONFIG_LIBDIR=''
12464PKG_CONFIG_PATH=''
12465PROTOC_C=''
12466PTHREAD_CC='/opt/local/bin/clang-mp-9.0'
12467PTHREAD_CFLAGS='-D_THREAD_SAFE -pthread'
12468PTHREAD_CFLAGS_ONLY=''
12469PTHREAD_LIBS=''
12470PYTHON=''
12471PYTHONMOD_HEADER=''
12472PYTHONMOD_INSTALL=''
12473PYTHONMOD_OBJ=''
12474PYTHONMOD_UNINSTALL=''
12475PYTHON_CPPFLAGS=''
12476PYTHON_LDFLAGS=''
12477PYTHON_SITE_PKG=''
12478PYTHON_VERSION=''
12479PYUNBOUND_INSTALL=''
12480PYUNBOUND_OBJ=''
12481PYUNBOUND_TARGET=''
12482PYUNBOUND_UNINSTALL=''
12483PY_MAJOR_VERSION=''
12484RANLIB='ranlib'
12485RUNTIME_PATH=' -R/opt/local/lib'
12486SED='/usr/bin/sed'
12487SHELL='/bin/sh'
12488SLDNS_ALLOCCHECK_EXTRA_OBJ=''
12489SOURCEDETERMINE=':'
12490SOURCEFILE='$<'
12491SSLLIB='-lssl'
12492STRIP='strip'
12493SUBNET_HEADER=''
12494SUBNET_OBJ=''
12495SWIG=''
12496SWIG_LIB=''
12497SYSTEMD_CFLAGS=''
12498SYSTEMD_DAEMON_CFLAGS=''
12499SYSTEMD_DAEMON_LIBS=''
12500SYSTEMD_LIBS=''
12501UBSYMS='-export-symbols $(srcdir)/libunbound/ubsyms.def'
12502UNBOUND_CHROOT_DIR='/opt/local/etc/unbound'
12503UNBOUND_EVENT_INSTALL=''
12504UNBOUND_EVENT_UNINSTALL=''
12505UNBOUND_LOCALSTATE_DIR='/opt/local/var'
12506UNBOUND_PIDFILE='/opt/local/var/run/unbound/unbound.pid'
12507UNBOUND_ROOTCERT_FILE='/opt/local/etc/unbound/icannbundle.pem'
12508UNBOUND_ROOTKEY_FILE='/opt/local/etc/unbound/root.key'
12509UNBOUND_RUN_DIR='/opt/local/etc/unbound'
12510UNBOUND_SBIN_DIR='/opt/local/sbin'
12511UNBOUND_SHARE_DIR='/opt/local/etc/unbound'
12512UNBOUND_SYSCONF_DIR='/opt/local/etc'
12513UNBOUND_USERNAME='unbound'
12514UNBOUND_VERSION_MAJOR='1'
12515UNBOUND_VERSION_MICRO='0'
12516UNBOUND_VERSION_MINOR='12'
12517USE_SYSTEMD_FALSE=''
12518USE_SYSTEMD_TRUE='#'
12519WINAPPS=''
12520WINDRES=''
12521WIN_CHECKCONF_OBJ_LINK=''
12522WIN_CONTROL_OBJ_LINK=''
12523WIN_DAEMON_OBJ=''
12524WIN_DAEMON_OBJ_LINK=''
12525WIN_DAEMON_SRC=''
12526WIN_HOST_OBJ_LINK=''
12527WIN_UBANCHOR_OBJ_LINK=''
12528WITH_DYNLIBMODULE=''
12529WITH_PYTHONMODULE=''
12530WITH_PYUNBOUND=''
12531YACC='bison -y'
12532YFLAGS=''
12533ac_ct_AR=''
12534ac_ct_CC='/opt/local/bin/clang-mp-9.0'
12535ac_ct_DUMPBIN=''
12536ax_pthread_config=''
12537bindir='${exec_prefix}/bin'
12538build='x86_64-apple-darwin10.8.0'
12539build_alias=''
12540build_cpu='x86_64'
12541build_os='darwin10.8.0'
12542build_vendor='apple'
12543datadir='${datarootdir}'
12544datarootdir='${prefix}/share'
12545date='Oct 14, 2020'
12546debug_enabled=''
12547docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
12548doxygen=''
12549dvidir='${docdir}'
12550exec_prefix='/opt/local'
12551host='x86_64-apple-darwin10.8.0'
12552host_alias=''
12553host_cpu='x86_64'
12554host_os='darwin10.8.0'
12555host_vendor='apple'
12556htmldir='${docdir}'
12557includedir='${prefix}/include'
12558infodir='${datarootdir}/info'
12559libdir='${exec_prefix}/lib'
12560libexecdir='${exec_prefix}/libexec'
12561libtool='./libtool'
12562localedir='${datarootdir}/locale'
12563localstatedir='${prefix}/var'
12564mandir='${datarootdir}/man'
12565oldincludedir='/usr/include'
12566opt_dnstap_socket_path='/opt/local/etc/unbound/dnstap.sock'
12567pdfdir='${docdir}'
12568prefix='/opt/local'
12569program_transform_name='s,x,x,'
12570psdir='${docdir}'
12571sbindir='${exec_prefix}/sbin'
12572sharedstatedir='${prefix}/com'
12573staticexe=''
12574swig=''
12575sysconfdir='${prefix}/etc'
12576target_alias=''
12577ub_conf_dir='/opt/local/etc/unbound'
12578ub_conf_file='/opt/local/etc/unbound/unbound.conf'
12579version='1.12.0'
12580
12581## ----------- ##
12582## confdefs.h. ##
12583## ----------- ##
12584
12585/* confdefs.h */
12586#define PACKAGE_NAME "unbound"
12587#define PACKAGE_TARNAME "unbound"
12588#define PACKAGE_VERSION "1.12.0"
12589#define PACKAGE_STRING "unbound 1.12.0"
12590#define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues"
12591#define PACKAGE_URL ""
12592#define CONFCMDLINE "--prefix=/opt/local --with-pidfile=/opt/local/var/run/unbound/unbound.pid --with-ssl=/opt/local --with-rootkey-file=/opt/local/etc/unbound/root.key --with-libexpat=/opt/local --with-libsodium=/opt/local --enable-dnscrypt --disable-dsa"
12593#define STDC_HEADERS 1
12594#define HAVE_SYS_TYPES_H 1
12595#define HAVE_SYS_STAT_H 1
12596#define HAVE_STDLIB_H 1
12597#define HAVE_STRING_H 1
12598#define HAVE_MEMORY_H 1
12599#define HAVE_STRINGS_H 1
12600#define HAVE_INTTYPES_H 1
12601#define HAVE_STDINT_H 1
12602#define HAVE_UNISTD_H 1
12603#define __EXTENSIONS__ 1
12604#define _ALL_SOURCE 1
12605#define _GNU_SOURCE 1
12606#define _POSIX_PTHREAD_SEMANTICS 1
12607#define _TANDEM_SOURCE 1
12608#define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12609#define RUN_DIR "/opt/local/etc/unbound"
12610#define CHROOT_DIR "/opt/local/etc/unbound"
12611#define SHARE_DIR "/opt/local/etc/unbound"
12612#define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12613#define ROOT_ANCHOR_FILE "/opt/local/etc/unbound/root.key"
12614#define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12615#define UB_USERNAME "unbound"
12616#define WINVER 0x0502
12617#define RSRC_PACKAGE_VERSION 1,12,0,0
12618#define HAVE_GETOPT_H 1
12619#define HAVE_TIME_H 1
12620#define HAVE_ATTR_FORMAT 1
12621#define HAVE_ATTR_UNUSED 1
12622#define HAVE_ATTR_WEAK 1
12623#define ATTR_WEAK __attribute__((weak))
12624#define HAVE_ATTR_NORETURN 1
12625#define ATTR_NORETURN __attribute__((__noreturn__))
12626#define YYTEXT_POINTER 1
12627#define LEX_HAS_YYLEX_DESTROY 1
12628#define HAVE_DLFCN_H 1
12629#define LT_OBJDIR ".libs/"
12630#define HAVE_STDARG_H 1
12631#define HAVE_STDBOOL_H 1
12632#define HAVE_NETINET_IN_H 1
12633#define HAVE_NETINET_TCP_H 1
12634#define HAVE_SYS_PARAM_H 1
12635#define HAVE_SYS_SELECT_H 1
12636#define HAVE_SYS_SOCKET_H 1
12637#define HAVE_SYS_UN_H 1
12638#define HAVE_SYS_UIO_H 1
12639#define HAVE_SYS_RESOURCE_H 1
12640#define HAVE_ARPA_INET_H 1
12641#define HAVE_SYSLOG_H 1
12642#define HAVE_NETDB_H 1
12643#define HAVE_SYS_WAIT_H 1
12644#define HAVE_PWD_H 1
12645#define HAVE_GLOB_H 1
12646#define HAVE_GRP_H 1
12647#define HAVE_LIBKERN_OSBYTEORDER_H 1
12648#define HAVE_SYS_IPC_H 1
12649#define HAVE_SYS_SHM_H 1
12650#define HAVE_IFADDRS_H 1
12651#define HAVE_TARGETCONDITIONALS_H 1
12652#define SIZEOF_TIME_T 8
12653#define SIZEOF_SIZE_T 8
12654#define HAVE_UNISTD_H 1
12655#define HAVE_CHOWN 1
12656#define HAVE_FORK 1
12657#define HAVE_VFORK 1
12658#define HAVE_WORKING_VFORK 1
12659#define HAVE_WORKING_FORK 1
12660#define RETSIGTYPE void
12661#define HAVE_FSEEKO 1
12662#define HAVE_STRPTIME 1
12663#define REUSEPORT_DEFAULT 0
12664#define HAVE_MALLOC 1
12665#define HAVE_PTHREAD_PRIO_INHERIT 1
12666#define HAVE_PTHREAD 1
12667#define HAVE_PTHREAD_RWLOCK_T 1
12668#define UB_SYSLOG_FACILITY LOG_DAEMON
12669#define HAVE_SSL /**/
12670#define HAVE_EVP_SHA256 1
12671#define HAVE_OPENSSL_SSL_H 1
12672#define HAVE_OPENSSL_ERR_H 1
12673#define HAVE_OPENSSL_RAND_H 1
12674#define HAVE_OPENSSL_CONF_H 1
12675#define HAVE_OPENSSL_ENGINE_H 1
12676#define HAVE_OPENSSL_BN_H 1
12677#define HAVE_OPENSSL_DH_H 1
12678#define HAVE_OPENSSL_DSA_H 1
12679#define HAVE_OPENSSL_RSA_H 1
12680#define HAVE_OPENSSL_CONFIG 1
12681#define HAVE_EVP_SHA1 1
12682#define HAVE_EVP_SHA256 1
12683#define HAVE_EVP_SHA512 1
12684#define HAVE_FIPS_MODE 1
12685#define HAVE_EVP_MD_CTX_NEW 1
12686#define HAVE_OPENSSL_INIT_CRYPTO 1
12687#define HAVE_DSA_SIG_SET0 1
12688#define HAVE_EVP_DIGESTVERIFY 1
12689#define HAVE_EVP_AES_256_CBC 1
12690#define HAVE_EVP_ENCRYPTINIT_EX 1
12691#define HAVE_HMAC_INIT_EX 1
12692#define HAVE_OPENSSL_INIT_SSL 1
12693#define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1
12694#define HAVE_SSL_SET1_HOST 1
12695#define HAVE_SSL_GET0_PEERNAME 1
12696#define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
12697#define HAVE_SSL_CTX_SET_CIPHERSUITES 1
12698#define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
12699#define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1
12700#define HAVE_DECL_SK_SSL_COMP_POP_FREE 1
12701#define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
12702#define USE_SHA1 1
12703#define USE_SHA2 1
12704#define HAVE_DECL_NID_X9_62_PRIME256V1 1
12705#define HAVE_DECL_NID_SECP384R1 1
12706#define USE_ECDSA 1
12707#define HAVE_DECL_NID_ED25519 1
12708#define USE_ED25519 1
12709#define HAVE_DECL_NID_ED448 1
12710#define USE_ED448 1
12711#define USE_MINI_EVENT 1
12712#define HAVE_EXPAT_H 1
12713#define HAVE_DECL_XML_STOPPARSER 1
12714#define HAVE_GETADDRINFO 1
12715#define HAVE_DAEMON 1
12716#define DEPRECATED_DAEMON 1
12717#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
12718#define HAVE_TZSET 1
12719#define HAVE_SIGPROCMASK 1
12720#define HAVE_FCNTL 1
12721#define HAVE_GETPWNAM 1
12722#define HAVE_ENDPWENT 1
12723#define HAVE_GETRLIMIT 1
12724#define HAVE_SETRLIMIT 1
12725#define HAVE_SETSID 1
12726#define HAVE_CHROOT 1
12727#define HAVE_KILL 1
12728#define HAVE_CHOWN 1
12729#define HAVE_SLEEP 1
12730#define HAVE_USLEEP 1
12731#define HAVE_RANDOM 1
12732#define HAVE_SRANDOM 1
12733#define HAVE_RECVMSG 1
12734#define HAVE_SENDMSG 1
12735#define HAVE_WRITEV 1
12736#define HAVE_SOCKETPAIR 1
12737#define HAVE_GLOB 1
12738#define HAVE_INITGROUPS 1
12739#define HAVE_STRFTIME 1
12740#define HAVE_LOCALTIME_R 1
12741#define HAVE_ENDSERVENT 1
12742#define HAVE_ENDPROTOENT 1
12743#define HAVE_FSYNC 1
12744#define HAVE_SHMGET 1
12745#define HAVE_GETIFADDRS 1
12746#define HAVE_SETREUID 1
12747#define HAVE_SETREGID 1
12748#define HAVE_DECL_INET_PTON 1
12749#define HAVE_DECL_INET_NTOP 1
12750#define HAVE_INET_ATON 1
12751#define HAVE_INET_PTON 1
12752#define HAVE_INET_NTOP 1
12753#define HAVE_SNPRINTF 1
12754#define HAVE_STRLCAT 1
12755#define HAVE_STRLCPY 1
12756#define HAVE_MEMMOVE 1
12757#define HAVE_GMTIME_R 1
12758#define HAVE_ISBLANK 1
12759#define HAVE_DECL_REALLOCARRAY 0
12760#define HAVE_ARC4RANDOM 1
12761#define HAVE_CTIME_R 1
12762#define HAVE_STRSEP 1
12763#define USE_DNSCRYPT_XCHACHA20 1
12764#define SODIUM_MISUSE_HANDLER 1
12765#define USE_DNSCRYPT 1
12766#define MAXSYSLOGMSGLEN 10240
12767
12768configure: exit 0