Ticket #48330: config.log

File config.log, 386.4 KB (added by ballapete (Peter "Pete" Dyballa), 9 years ago)

config.log

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.5.4, 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-rootkey-file=/opt/local/var/run/unbound/root.key
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = sumac.fritz.box
14uname -m = x86_64
15uname -r = 10.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
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:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
27Kernel configured for up to 8 processors.
284 processors are physically available.
298 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 8.00 gigabytes
33Default processor set: 111 tasks, 540 threads, 8 processors
34Load average: 1.51, Mach factor: 6.48
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:2813: checking for gcc
52configure:2840: result: /usr/bin/llvm-gcc-4.2
53configure:3069: checking for C compiler version
54configure:3078: /usr/bin/llvm-gcc-4.2 --version >&5
55i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
56Copyright (C) 2007 Free Software Foundation, Inc.
57This is free software; see the source for copying conditions.  There is NO
58warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
59
60configure:3089: $? = 0
61configure:3078: /usr/bin/llvm-gcc-4.2 -v >&5
62Using built-in specs.
63Target: i686-apple-darwin10
64Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
65Thread model: posix
66gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
67configure:3089: $? = 0
68configure:3078: /usr/bin/llvm-gcc-4.2 -V >&5
69llvm-gcc-4.2: argument to `-V' is missing
70configure:3089: $? = 1
71configure:3078: /usr/bin/llvm-gcc-4.2 -qversion >&5
72i686-apple-darwin10-llvm-gcc-4.2: no input files
73configure:3089: $? = 1
74configure:3109: checking whether the C compiler works
75configure:3131: /usr/bin/llvm-gcc-4.2 -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:3135: $? = 0
77configure:3183: result: yes
78configure:3186: checking for C compiler default output file name
79configure:3188: result: a.out
80configure:3194: checking for suffix of executables
81configure:3201: /usr/bin/llvm-gcc-4.2 -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:3205: $? = 0
83configure:3227: result:
84configure:3249: checking whether we are cross compiling
85configure:3257: /usr/bin/llvm-gcc-4.2 -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:3261: $? = 0
87configure:3268: ./conftest
88configure:3272: $? = 0
89configure:3287: result: no
90configure:3292: checking for suffix of object files
91configure:3314: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
92configure:3318: $? = 0
93configure:3339: result: o
94configure:3343: checking whether we are using the GNU C compiler
95configure:3362: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
96configure:3362: $? = 0
97configure:3371: result: yes
98configure:3380: checking whether /usr/bin/llvm-gcc-4.2 accepts -g
99configure:3400: /usr/bin/llvm-gcc-4.2 -c -g -I/opt/local/include conftest.c >&5
100configure:3400: $? = 0
101configure:3441: result: yes
102configure:3458: checking for /usr/bin/llvm-gcc-4.2 option to accept ISO C89
103configure:3521: /usr/bin/llvm-gcc-4.2  -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
104configure:3521: $? = 0
105configure:3534: result: none needed
106configure:3560: checking how to run the C preprocessor
107configure:3591: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
108configure:3591: $? = 0
109configure:3605: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
110conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
111configure:3605: $? = 1
112configure: failed program was:
113| /* confdefs.h */
114| #define PACKAGE_NAME "unbound"
115| #define PACKAGE_TARNAME "unbound"
116| #define PACKAGE_VERSION "1.5.4"
117| #define PACKAGE_STRING "unbound 1.5.4"
118| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
119| #define PACKAGE_URL ""
120| /* end confdefs.h.  */
121| #include <ac_nonexistent.h>
122configure:3630: result: /usr/bin/llvm-gcc-4.2 -E
123configure:3650: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
124configure:3650: $? = 0
125configure:3664: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
126conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
127configure:3664: $? = 1
128configure: failed program was:
129| /* confdefs.h */
130| #define PACKAGE_NAME "unbound"
131| #define PACKAGE_TARNAME "unbound"
132| #define PACKAGE_VERSION "1.5.4"
133| #define PACKAGE_STRING "unbound 1.5.4"
134| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
135| #define PACKAGE_URL ""
136| /* end confdefs.h.  */
137| #include <ac_nonexistent.h>
138configure:3693: checking for grep that handles long lines and -e
139configure:3751: result: /usr/bin/grep
140configure:3756: checking for egrep
141configure:3818: result: /usr/bin/grep -E
142configure:3823: checking for ANSI C header files
143configure:3843: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
144configure:3843: $? = 0
145configure:3916: /usr/bin/llvm-gcc-4.2 -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
146configure:3916: $? = 0
147configure:3916: ./conftest
148configure:3916: $? = 0
149configure:3927: result: yes
150configure:3940: checking for sys/types.h
151configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
152configure:3940: $? = 0
153configure:3940: result: yes
154configure:3940: checking for sys/stat.h
155configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
156configure:3940: $? = 0
157configure:3940: result: yes
158configure:3940: checking for stdlib.h
159configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
160configure:3940: $? = 0
161configure:3940: result: yes
162configure:3940: checking for string.h
163configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
164configure:3940: $? = 0
165configure:3940: result: yes
166configure:3940: checking for memory.h
167configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
168configure:3940: $? = 0
169configure:3940: result: yes
170configure:3940: checking for strings.h
171configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
172configure:3940: $? = 0
173configure:3940: result: yes
174configure:3940: checking for inttypes.h
175configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
176configure:3940: $? = 0
177configure:3940: result: yes
178configure:3940: checking for stdint.h
179configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
180configure:3940: $? = 0
181configure:3940: result: yes
182configure:3940: checking for unistd.h
183configure:3940: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
184configure:3940: $? = 0
185configure:3940: result: yes
186configure:3953: checking minix/config.h usability
187configure:3953: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
188conftest.c:52:26: error: minix/config.h: No such file or directory
189configure:3953: $? = 1
190configure: failed program was:
191| /* confdefs.h */
192| #define PACKAGE_NAME "unbound"
193| #define PACKAGE_TARNAME "unbound"
194| #define PACKAGE_VERSION "1.5.4"
195| #define PACKAGE_STRING "unbound 1.5.4"
196| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
197| #define PACKAGE_URL ""
198| #define STDC_HEADERS 1
199| #define HAVE_SYS_TYPES_H 1
200| #define HAVE_SYS_STAT_H 1
201| #define HAVE_STDLIB_H 1
202| #define HAVE_STRING_H 1
203| #define HAVE_MEMORY_H 1
204| #define HAVE_STRINGS_H 1
205| #define HAVE_INTTYPES_H 1
206| #define HAVE_STDINT_H 1
207| #define HAVE_UNISTD_H 1
208| /* end confdefs.h.  */
209| #include <stdio.h>
210| #ifdef HAVE_SYS_TYPES_H
211| # include <sys/types.h>
212| #endif
213| #ifdef HAVE_SYS_STAT_H
214| # include <sys/stat.h>
215| #endif
216| #ifdef STDC_HEADERS
217| # include <stdlib.h>
218| # include <stddef.h>
219| #else
220| # ifdef HAVE_STDLIB_H
221| #  include <stdlib.h>
222| # endif
223| #endif
224| #ifdef HAVE_STRING_H
225| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
226| #  include <memory.h>
227| # endif
228| # include <string.h>
229| #endif
230| #ifdef HAVE_STRINGS_H
231| # include <strings.h>
232| #endif
233| #ifdef HAVE_INTTYPES_H
234| # include <inttypes.h>
235| #endif
236| #ifdef HAVE_STDINT_H
237| # include <stdint.h>
238| #endif
239| #ifdef HAVE_UNISTD_H
240| # include <unistd.h>
241| #endif
242| #include <minix/config.h>
243configure:3953: result: no
244configure:3953: checking minix/config.h presence
245configure:3953: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
246conftest.c:19:26: error: minix/config.h: No such file or directory
247configure:3953: $? = 1
248configure: failed program was:
249| /* confdefs.h */
250| #define PACKAGE_NAME "unbound"
251| #define PACKAGE_TARNAME "unbound"
252| #define PACKAGE_VERSION "1.5.4"
253| #define PACKAGE_STRING "unbound 1.5.4"
254| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
255| #define PACKAGE_URL ""
256| #define STDC_HEADERS 1
257| #define HAVE_SYS_TYPES_H 1
258| #define HAVE_SYS_STAT_H 1
259| #define HAVE_STDLIB_H 1
260| #define HAVE_STRING_H 1
261| #define HAVE_MEMORY_H 1
262| #define HAVE_STRINGS_H 1
263| #define HAVE_INTTYPES_H 1
264| #define HAVE_STDINT_H 1
265| #define HAVE_UNISTD_H 1
266| /* end confdefs.h.  */
267| #include <minix/config.h>
268configure:3953: result: no
269configure:3953: checking for minix/config.h
270configure:3953: result: no
271configure:3974: checking whether it is safe to define __EXTENSIONS__
272configure:3992: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
273configure:3992: $? = 0
274configure:3999: result: yes
275configure:4233: checking for an ANSI C-conforming const
276configure:4299: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
277configure:4299: $? = 0
278configure:4306: result: yes
279configure:4433: checking for gcc
280configure:4460: result: /usr/bin/llvm-gcc-4.2
281configure:4689: checking for C compiler version
282configure:4698: /usr/bin/llvm-gcc-4.2 --version >&5
283i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
284Copyright (C) 2007 Free Software Foundation, Inc.
285This is free software; see the source for copying conditions.  There is NO
286warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
287
288configure:4709: $? = 0
289configure:4698: /usr/bin/llvm-gcc-4.2 -v >&5
290Using built-in specs.
291Target: i686-apple-darwin10
292Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
293Thread model: posix
294gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
295configure:4709: $? = 0
296configure:4698: /usr/bin/llvm-gcc-4.2 -V >&5
297llvm-gcc-4.2: argument to `-V' is missing
298configure:4709: $? = 1
299configure:4698: /usr/bin/llvm-gcc-4.2 -qversion >&5
300i686-apple-darwin10-llvm-gcc-4.2: no input files
301configure:4709: $? = 1
302configure:4713: checking whether we are using the GNU C compiler
303configure:4741: result: yes
304configure:4750: checking whether /usr/bin/llvm-gcc-4.2 accepts -g
305configure:4811: result: yes
306configure:4828: checking for /usr/bin/llvm-gcc-4.2 option to accept ISO C89
307configure:4904: result: none needed
308configure:4925: checking /usr/bin/llvm-gcc-4.2 dependency flag
309configure:4937: result: -MM
310configure:4945: checking whether /usr/bin/llvm-gcc-4.2 supports -Werror
311configure:4963: result: yes
312configure:4976: checking whether /usr/bin/llvm-gcc-4.2 supports -Wall
313configure:4994: result: yes
314configure:5009: checking whether /usr/bin/llvm-gcc-4.2 supports -std=c99
315configure:5027: result: yes
316configure:5040: checking whether /usr/bin/llvm-gcc-4.2 supports -xc99
317configure:5063: result: no
318configure:5073: checking for getopt.h
319configure:5073: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
320configure:5073: $? = 0
321configure:5073: result: yes
322configure:5073: checking for time.h
323configure:5073: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
324configure:5073: $? = 0
325configure:5073: result: yes
326configure:5088: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for /usr/bin/llvm-gcc-4.2
327configure:5158: result: no
328configure:5179: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for /usr/bin/llvm-gcc-4.2
329configure:5249: result: no
330configure:5270: checking whether we need -std=c99 as a flag for /usr/bin/llvm-gcc-4.2
331configure:5313: result: no
332configure:5334: checking whether we need -D_BSD_SOURCE as a flag for /usr/bin/llvm-gcc-4.2
333configure:5378: result: no
334configure:5399: checking whether we need -D_GNU_SOURCE as a flag for /usr/bin/llvm-gcc-4.2
335configure:5443: result: no
336configure:5467: checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for /usr/bin/llvm-gcc-4.2
337configure:5521: result: failed
338configure:5532: checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for /usr/bin/llvm-gcc-4.2
339configure:5587: result: no
340configure:5608: checking whether we need -D__EXTENSIONS__ as a flag for /usr/bin/llvm-gcc-4.2
341configure:5669: result: no
342configure:5845: checking if /usr/bin/llvm-gcc-4.2 supports -flto
343configure:5860: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
344configure:5860: $? = 0
345configure:5867: result: yes
346configure:5882: checking for inline
347configure:5898: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
348configure:5898: $? = 0
349configure:5906: result: inline
350configure:5925: checking whether the C compiler (/usr/bin/llvm-gcc-4.2) accepts the "format" attribute
351configure:5947: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
352configure:5947: $? = 0
353configure:5957: result: yes
354configure:5966: checking whether the C compiler (/usr/bin/llvm-gcc-4.2) accepts the "unused" attribute
355configure:5987: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
356configure:5987: $? = 0
357configure:5999: result: yes
358configure:6018: checking for flex
359configure:6034: found /opt/local/bin/flex
360configure:6045: result: flex
361configure:6083: flex conftest.l
362configure:6087: $? = 0
363configure:6089: checking lex output file root
364configure:6103: result: lex.yy
365configure:6108: checking lex library
366configure:6122: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
367ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cchGnhSd.o because Unknown instruction for architecture x86_64
368collect2: ld returned 1 exit status
369configure:6122: $? = 1
370configure: failed program was:
371| /* confdefs.h */
372| #define PACKAGE_NAME "unbound"
373| #define PACKAGE_TARNAME "unbound"
374| #define PACKAGE_VERSION "1.5.4"
375| #define PACKAGE_STRING "unbound 1.5.4"
376| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
377| #define PACKAGE_URL ""
378| #define STDC_HEADERS 1
379| #define HAVE_SYS_TYPES_H 1
380| #define HAVE_SYS_STAT_H 1
381| #define HAVE_STDLIB_H 1
382| #define HAVE_STRING_H 1
383| #define HAVE_MEMORY_H 1
384| #define HAVE_STRINGS_H 1
385| #define HAVE_INTTYPES_H 1
386| #define HAVE_STDINT_H 1
387| #define HAVE_UNISTD_H 1
388| #define __EXTENSIONS__ 1
389| #define _ALL_SOURCE 1
390| #define _GNU_SOURCE 1
391| #define _POSIX_PTHREAD_SEMANTICS 1
392| #define _TANDEM_SOURCE 1
393| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
394| #define RUN_DIR "/opt/local/etc/unbound"
395| #define CHROOT_DIR "/opt/local/etc/unbound"
396| #define SHARE_DIR "/opt/local/etc/unbound"
397| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
398| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
399| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
400| #define UB_USERNAME "unbound"
401| #define WINVER 0x0502
402| #define RSRC_PACKAGE_VERSION 1,5,4,0
403| #define HAVE_GETOPT_H 1
404| #define HAVE_TIME_H 1
405| #define HAVE_ATTR_FORMAT 1
406| #define HAVE_ATTR_UNUSED 1
407| /* end confdefs.h.  */
408|
409| #line 3 "lex.yy.c"
410|
411| #define  YY_INT_ALIGNED short int
412|
413| /* A lexical scanner generated by flex */
414|
415| #define FLEX_SCANNER
416| #define YY_FLEX_MAJOR_VERSION 2
417| #define YY_FLEX_MINOR_VERSION 5
418| #define YY_FLEX_SUBMINOR_VERSION 37
419| #if YY_FLEX_SUBMINOR_VERSION > 0
420| #define FLEX_BETA
421| #endif
422|
423| /* First, we deal with  platform-specific or compiler-specific issues. */
424|
425| /* begin standard C headers. */
426| #include <stdio.h>
427| #include <string.h>
428| #include <errno.h>
429| #include <stdlib.h>
430|
431| /* end standard C headers. */
432|
433| /* flex integer type definitions */
434|
435| #ifndef FLEXINT_H
436| #define FLEXINT_H
437|
438| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
439|
440| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
441|
442| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
443|  * if you want the limit (max/min) macros for int types.
444|  */
445| #ifndef __STDC_LIMIT_MACROS
446| #define __STDC_LIMIT_MACROS 1
447| #endif
448|
449| #include <inttypes.h>
450| typedef int8_t flex_int8_t;
451| typedef uint8_t flex_uint8_t;
452| typedef int16_t flex_int16_t;
453| typedef uint16_t flex_uint16_t;
454| typedef int32_t flex_int32_t;
455| typedef uint32_t flex_uint32_t;
456| #else
457| typedef signed char flex_int8_t;
458| typedef short int flex_int16_t;
459| typedef int flex_int32_t;
460| typedef unsigned char flex_uint8_t;
461| typedef unsigned short int flex_uint16_t;
462| typedef unsigned int flex_uint32_t;
463|
464| /* Limits of integral types. */
465| #ifndef INT8_MIN
466| #define INT8_MIN               (-128)
467| #endif
468| #ifndef INT16_MIN
469| #define INT16_MIN              (-32767-1)
470| #endif
471| #ifndef INT32_MIN
472| #define INT32_MIN              (-2147483647-1)
473| #endif
474| #ifndef INT8_MAX
475| #define INT8_MAX               (127)
476| #endif
477| #ifndef INT16_MAX
478| #define INT16_MAX              (32767)
479| #endif
480| #ifndef INT32_MAX
481| #define INT32_MAX              (2147483647)
482| #endif
483| #ifndef UINT8_MAX
484| #define UINT8_MAX              (255U)
485| #endif
486| #ifndef UINT16_MAX
487| #define UINT16_MAX             (65535U)
488| #endif
489| #ifndef UINT32_MAX
490| #define UINT32_MAX             (4294967295U)
491| #endif
492|
493| #endif /* ! C99 */
494|
495| #endif /* ! FLEXINT_H */
496|
497| #ifdef __cplusplus
498|
499| /* The "const" storage-class-modifier is valid. */
500| #define YY_USE_CONST
501|
502| #else /* ! __cplusplus */
503|
504| /* C99 requires __STDC__ to be defined as 1. */
505| #if defined (__STDC__)
506|
507| #define YY_USE_CONST
508|
509| #endif        /* defined (__STDC__) */
510| #endif        /* ! __cplusplus */
511|
512| #ifdef YY_USE_CONST
513| #define yyconst const
514| #else
515| #define yyconst
516| #endif
517|
518| /* Returned upon end-of-file. */
519| #define YY_NULL 0
520|
521| /* Promotes a possibly negative, possibly signed char to an unsigned
522|  * integer for use as an array index.  If the signed char is negative,
523|  * we want to instead treat it as an 8-bit unsigned char, hence the
524|  * double cast.
525|  */
526| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
527|
528| /* Enter a start condition.  This macro really ought to take a parameter,
529|  * but we do it the disgusting crufty way forced on us by the ()-less
530|  * definition of BEGIN.
531|  */
532| #define BEGIN (yy_start) = 1 + 2 *
533|
534| /* Translate the current start state into a value that can be later handed
535|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
536|  * compatibility.
537|  */
538| #define YY_START (((yy_start) - 1) / 2)
539| #define YYSTATE YY_START
540|
541| /* Action number for EOF rule of a given start state. */
542| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
543|
544| /* Special action meaning "start processing a new file". */
545| #define YY_NEW_FILE yyrestart(yyin  )
546|
547| #define YY_END_OF_BUFFER_CHAR 0
548|
549| /* Size of default input buffer. */
550| #ifndef YY_BUF_SIZE
551| #define YY_BUF_SIZE 16384
552| #endif
553|
554| /* The state buf must be large enough to hold one state per character in the main buffer.
555|  */
556| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
557|
558| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
559| #define YY_TYPEDEF_YY_BUFFER_STATE
560| typedef struct yy_buffer_state *YY_BUFFER_STATE;
561| #endif
562|
563| #ifndef YY_TYPEDEF_YY_SIZE_T
564| #define YY_TYPEDEF_YY_SIZE_T
565| typedef size_t yy_size_t;
566| #endif
567|
568| extern yy_size_t yyleng;
569|
570| extern FILE *yyin, *yyout;
571|
572| #define EOB_ACT_CONTINUE_SCAN 0
573| #define EOB_ACT_END_OF_FILE 1
574| #define EOB_ACT_LAST_MATCH 2
575|
576|     #define YY_LESS_LINENO(n)
577|     
578| /* Return all but the first "n" matched characters back to the input stream. */
579| #define yyless(n) \
580|       do \
581|               { \
582|               /* Undo effects of setting up yytext. */ \
583|         int yyless_macro_arg = (n); \
584|         YY_LESS_LINENO(yyless_macro_arg);\
585|               *yy_cp = (yy_hold_char); \
586|               YY_RESTORE_YY_MORE_OFFSET \
587|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
588|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
589|               } \
590|       while ( 0 )
591|
592| #define unput(c) yyunput( c, (yytext_ptr)  )
593|
594| #ifndef YY_STRUCT_YY_BUFFER_STATE
595| #define YY_STRUCT_YY_BUFFER_STATE
596| struct yy_buffer_state
597|       {
598|       FILE *yy_input_file;
599|
600|       char *yy_ch_buf;                /* input buffer */
601|       char *yy_buf_pos;               /* current position in input buffer */
602|
603|       /* Size of input buffer in bytes, not including room for EOB
604|        * characters.
605|        */
606|       yy_size_t yy_buf_size;
607|
608|       /* Number of characters read into yy_ch_buf, not including EOB
609|        * characters.
610|        */
611|       yy_size_t yy_n_chars;
612|
613|       /* Whether we "own" the buffer - i.e., we know we created it,
614|        * and can realloc() it to grow it, and should free() it to
615|        * delete it.
616|        */
617|       int yy_is_our_buffer;
618|
619|       /* Whether this is an "interactive" input source; if so, and
620|        * if we're using stdio for input, then we want to use getc()
621|        * instead of fread(), to make sure we stop fetching input after
622|        * each newline.
623|        */
624|       int yy_is_interactive;
625|
626|       /* Whether we're considered to be at the beginning of a line.
627|        * If so, '^' rules will be active on the next match, otherwise
628|        * not.
629|        */
630|       int yy_at_bol;
631|
632|     int yy_bs_lineno; /**< The line count. */
633|     int yy_bs_column; /**< The column count. */
634|     
635|       /* Whether to try to fill the input buffer when we reach the
636|        * end of it.
637|        */
638|       int yy_fill_buffer;
639|
640|       int yy_buffer_status;
641|
642| #define YY_BUFFER_NEW 0
643| #define YY_BUFFER_NORMAL 1
644|       /* When an EOF's been seen but there's still some text to process
645|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
646|        * shouldn't try reading from the input source any more.  We might
647|        * still have a bunch of tokens to match, though, because of
648|        * possible backing-up.
649|        *
650|        * When we actually see the EOF, we change the status to "new"
651|        * (via yyrestart()), so that the user can continue scanning by
652|        * just pointing yyin at a new input file.
653|        */
654| #define YY_BUFFER_EOF_PENDING 2
655|
656|       };
657| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
658|
659| /* Stack of input buffers. */
660| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
661| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
662| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
663|
664| /* We provide macros for accessing buffer states in case in the
665|  * future we want to put the buffer states in a more general
666|  * "scanner state".
667|  *
668|  * Returns the top of the stack, or NULL.
669|  */
670| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
671|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
672|                           : NULL)
673|
674| /* Same as previous macro, but useful when we know that the buffer stack is not
675|  * NULL or when we need an lvalue. For internal use only.
676|  */
677| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
678|
679| /* yy_hold_char holds the character lost when yytext is formed. */
680| static char yy_hold_char;
681| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
682| yy_size_t yyleng;
683|
684| /* Points to current character in buffer. */
685| static char *yy_c_buf_p = (char *) 0;
686| static int yy_init = 0;               /* whether we need to initialize */
687| static int yy_start = 0;      /* start state number */
688|
689| /* Flag which is used to allow yywrap()'s to do buffer switches
690|  * instead of setting up a fresh yyin.  A bit of a hack ...
691|  */
692| static int yy_did_buffer_switch_on_eof;
693|
694| void yyrestart (FILE *input_file  );
695| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
696| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
697| void yy_delete_buffer (YY_BUFFER_STATE b  );
698| void yy_flush_buffer (YY_BUFFER_STATE b  );
699| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
700| void yypop_buffer_state (void );
701|
702| static void yyensure_buffer_stack (void );
703| static void yy_load_buffer_state (void );
704| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
705|
706| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
707|
708| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
709| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
710| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
711|
712| void *yyalloc (yy_size_t  );
713| void *yyrealloc (void *,yy_size_t  );
714| void yyfree (void *  );
715|
716| #define yy_new_buffer yy_create_buffer
717|
718| #define yy_set_interactive(is_interactive) \
719|       { \
720|       if ( ! YY_CURRENT_BUFFER ){ \
721|         yyensure_buffer_stack (); \
722|               YY_CURRENT_BUFFER_LVALUE =    \
723|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
724|       } \
725|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
726|       }
727|
728| #define yy_set_bol(at_bol) \
729|       { \
730|       if ( ! YY_CURRENT_BUFFER ){\
731|         yyensure_buffer_stack (); \
732|               YY_CURRENT_BUFFER_LVALUE =    \
733|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
734|       } \
735|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
736|       }
737|
738| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
739|
740| /* Begin user sect3 */
741|
742| typedef unsigned char YY_CHAR;
743|
744| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
745|
746| typedef int yy_state_type;
747|
748| extern int yylineno;
749|
750| int yylineno = 1;
751|
752| extern char *yytext;
753| #define yytext_ptr yytext
754|
755| static yy_state_type yy_get_previous_state (void );
756| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
757| static int yy_get_next_buffer (void );
758| static void yy_fatal_error (yyconst char msg[]  );
759|
760| /* Done after the current pattern has been matched and before the
761|  * corresponding action - sets up yytext.
762|  */
763| #define YY_DO_BEFORE_ACTION \
764|       (yytext_ptr) = yy_bp; \
765|       (yytext_ptr) -= (yy_more_len); \
766|       yyleng = (size_t) (yy_cp - (yytext_ptr)); \
767|       (yy_hold_char) = *yy_cp; \
768|       *yy_cp = '\0'; \
769|       (yy_c_buf_p) = yy_cp;
770|
771| #define YY_NUM_RULES 8
772| #define YY_END_OF_BUFFER 9
773| /* This struct is not used in this scanner,
774|    but its presence is necessary. */
775| struct yy_trans_info
776|       {
777|       flex_int32_t yy_verify;
778|       flex_int32_t yy_nxt;
779|       };
780| static yyconst flex_int16_t yy_acclist[23] =
781|     {   0,
782|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
783|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
784|         7,    8
785|     } ;
786|
787| static yyconst flex_int16_t yy_accept[14] =
788|     {   0,
789|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
790|        20,   23,   23
791|     } ;
792|
793| static yyconst flex_int32_t yy_ec[256] =
794|     {   0,
795|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
796|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
797|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
798|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
799|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
800|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
801|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
802|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
803|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
804|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
805|
806|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
807|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
808|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
809|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
810|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
811|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
812|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
813|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
814|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
815|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
816|
817|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
818|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
819|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
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
823|     } ;
824|
825| static yyconst flex_int32_t yy_meta[9] =
826|     {   0,
827|         1,    1,    1,    1,    1,    1,    1,    1
828|     } ;
829|
830| static yyconst flex_int16_t yy_base[13] =
831|     {   0,
832|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
833|        10,   10
834|     } ;
835|
836| static yyconst flex_int16_t yy_def[13] =
837|     {   0,
838|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
839|        12,    0
840|     } ;
841|
842| static yyconst flex_int16_t yy_nxt[19] =
843|     {   0,
844|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
845|        12,   12,   12,   12,   12,   12,   12,   12
846|     } ;
847|
848| static yyconst flex_int16_t yy_chk[19] =
849|     {   0,
850|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
851|        12,   12,   12,   12,   12,   12,   12,   12
852|     } ;
853|
854| extern int yy_flex_debug;
855| int yy_flex_debug = 0;
856|
857| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
858| static char *yy_full_match;
859| static int yy_lp;
860| #define REJECT \
861| { \
862| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
863| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
864| ++(yy_lp); \
865| goto find_rule; \
866| }
867|
868| static int yy_more_flag = 0;
869| static int yy_more_len = 0;
870| #define yymore() ((yy_more_flag) = 1)
871| #define YY_MORE_ADJ (yy_more_len)
872| #define YY_RESTORE_YY_MORE_OFFSET
873| char *yytext;
874| #line 1 "conftest.l"
875| #line 469 "lex.yy.c"
876|
877| #define INITIAL 0
878|
879| #ifndef YY_NO_UNISTD_H
880| /* Special case for "unistd.h", since it is non-ANSI. We include it way
881|  * down here because we want the user's section 1 to have been scanned first.
882|  * The user has a chance to override it with an option.
883|  */
884| #include <unistd.h>
885| #endif
886|
887| #ifndef YY_EXTRA_TYPE
888| #define YY_EXTRA_TYPE void *
889| #endif
890|
891| static int yy_init_globals (void );
892|
893| /* Accessor methods to globals.
894|    These are made visible to non-reentrant scanners for convenience. */
895|
896| int yylex_destroy (void );
897|
898| int yyget_debug (void );
899|
900| void yyset_debug (int debug_flag  );
901|
902| YY_EXTRA_TYPE yyget_extra (void );
903|
904| void yyset_extra (YY_EXTRA_TYPE user_defined  );
905|
906| FILE *yyget_in (void );
907|
908| void yyset_in  (FILE * in_str  );
909|
910| FILE *yyget_out (void );
911|
912| void yyset_out  (FILE * out_str  );
913|
914| yy_size_t yyget_leng (void );
915|
916| char *yyget_text (void );
917|
918| int yyget_lineno (void );
919|
920| void yyset_lineno (int line_number  );
921|
922| /* Macros after this point can all be overridden by user definitions in
923|  * section 1.
924|  */
925|
926| #ifndef YY_SKIP_YYWRAP
927| #ifdef __cplusplus
928| extern "C" int yywrap (void );
929| #else
930| extern int yywrap (void );
931| #endif
932| #endif
933|
934|     static void yyunput (int c,char *buf_ptr  );
935|     
936| #ifndef yytext_ptr
937| static void yy_flex_strncpy (char *,yyconst char *,int );
938| #endif
939|
940| #ifdef YY_NEED_STRLEN
941| static int yy_flex_strlen (yyconst char * );
942| #endif
943|
944| #ifndef YY_NO_INPUT
945|
946| #ifdef __cplusplus
947| static int yyinput (void );
948| #else
949| static int input (void );
950| #endif
951|
952| #endif
953|
954| /* Amount of stuff to slurp up with each read. */
955| #ifndef YY_READ_BUF_SIZE
956| #define YY_READ_BUF_SIZE 8192
957| #endif
958|
959| /* Copy whatever the last rule matched to the standard output. */
960| #ifndef ECHO
961| /* This used to be an fputs(), but since the string might contain NUL's,
962|  * we now use fwrite().
963|  */
964| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
965| #endif
966|
967| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
968|  * is returned in "result".
969|  */
970| #ifndef YY_INPUT
971| #define YY_INPUT(buf,result,max_size) \
972|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
973|               { \
974|               int c = '*'; \
975|               size_t n; \
976|               for ( n = 0; n < max_size && \
977|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
978|                       buf[n] = (char) c; \
979|               if ( c == '\n' ) \
980|                       buf[n++] = (char) c; \
981|               if ( c == EOF && ferror( yyin ) ) \
982|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
983|               result = n; \
984|               } \
985|       else \
986|               { \
987|               errno=0; \
988|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
989|                       { \
990|                       if( errno != EINTR) \
991|                               { \
992|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
993|                               break; \
994|                               } \
995|                       errno=0; \
996|                       clearerr(yyin); \
997|                       } \
998|               }\
999| \
1000|
1001| #endif
1002|
1003| /* No semi-colon after return; correct usage is to write "yyterminate();" -
1004|  * we don't want an extra ';' after the "return" because that will cause
1005|  * some compilers to complain about unreachable statements.
1006|  */
1007| #ifndef yyterminate
1008| #define yyterminate() return YY_NULL
1009| #endif
1010|
1011| /* Number of entries by which start-condition stack grows. */
1012| #ifndef YY_START_STACK_INCR
1013| #define YY_START_STACK_INCR 25
1014| #endif
1015|
1016| /* Report a fatal error. */
1017| #ifndef YY_FATAL_ERROR
1018| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1019| #endif
1020|
1021| /* end tables serialization structures and prototypes */
1022|
1023| /* Default declaration of generated scanner - a define so the user can
1024|  * easily add parameters.
1025|  */
1026| #ifndef YY_DECL
1027| #define YY_DECL_IS_OURS 1
1028|
1029| extern int yylex (void);
1030|
1031| #define YY_DECL int yylex (void)
1032| #endif /* !YY_DECL */
1033|
1034| /* Code executed at the beginning of each rule, after yytext and yyleng
1035|  * have been set up.
1036|  */
1037| #ifndef YY_USER_ACTION
1038| #define YY_USER_ACTION
1039| #endif
1040|
1041| /* Code executed at the end of each rule. */
1042| #ifndef YY_BREAK
1043| #define YY_BREAK break;
1044| #endif
1045|
1046| #define YY_RULE_SETUP \
1047|       YY_USER_ACTION
1048|
1049| /** The main scanner function which does all the work.
1050|  */
1051| YY_DECL
1052| {
1053|       register yy_state_type yy_current_state;
1054|       register char *yy_cp, *yy_bp;
1055|       register int yy_act;
1056|     
1057| #line 1 "conftest.l"
1058|
1059| #line 653 "lex.yy.c"
1060|
1061|       if ( !(yy_init) )
1062|               {
1063|               (yy_init) = 1;
1064|
1065| #ifdef YY_USER_INIT
1066|               YY_USER_INIT;
1067| #endif
1068|
1069|         /* Create the reject buffer large enough to save one state per allowed character. */
1070|         if ( ! (yy_state_buf) )
1071|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
1072|             if ( ! (yy_state_buf) )
1073|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1074|
1075|               if ( ! (yy_start) )
1076|                       (yy_start) = 1; /* first start state */
1077|
1078|               if ( ! yyin )
1079|                       yyin = stdin;
1080|
1081|               if ( ! yyout )
1082|                       yyout = stdout;
1083|
1084|               if ( ! YY_CURRENT_BUFFER ) {
1085|                       yyensure_buffer_stack ();
1086|                       YY_CURRENT_BUFFER_LVALUE =
1087|                               yy_create_buffer(yyin,YY_BUF_SIZE );
1088|               }
1089|
1090|               yy_load_buffer_state( );
1091|               }
1092|
1093|       while ( 1 )             /* loops until end-of-file is reached */
1094|               {
1095|               (yy_more_len) = 0;
1096|               if ( (yy_more_flag) )
1097|                       {
1098|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
1099|                       (yy_more_flag) = 0;
1100|                       }
1101|               yy_cp = (yy_c_buf_p);
1102|
1103|               /* Support of yytext. */
1104|               *yy_cp = (yy_hold_char);
1105|
1106|               /* yy_bp points to the position in yy_ch_buf of the start of
1107|                * the current run.
1108|                */
1109|               yy_bp = yy_cp;
1110|
1111|               yy_current_state = (yy_start);
1112|
1113|               (yy_state_ptr) = (yy_state_buf);
1114|               *(yy_state_ptr)++ = yy_current_state;
1115|
1116| yy_match:
1117|               do
1118|                       {
1119|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1120|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1121|                               {
1122|                               yy_current_state = (int) yy_def[yy_current_state];
1123|                               if ( yy_current_state >= 13 )
1124|                                       yy_c = yy_meta[(unsigned int) yy_c];
1125|                               }
1126|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1127|                       *(yy_state_ptr)++ = yy_current_state;
1128|                       ++yy_cp;
1129|                       }
1130|               while ( yy_base[yy_current_state] != 10 );
1131|
1132| yy_find_action:
1133|               yy_current_state = *--(yy_state_ptr);
1134|               (yy_lp) = yy_accept[yy_current_state];
1135| find_rule: /* we branch to this label when backing up */
1136|               for ( ; ; ) /* until we find what rule we matched */
1137|                       {
1138|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1139|                               {
1140|                               yy_act = yy_acclist[(yy_lp)];
1141|                                       {
1142|                                       (yy_full_match) = yy_cp;
1143|                                       break;
1144|                                       }
1145|                               }
1146|                       --yy_cp;
1147|                       yy_current_state = *--(yy_state_ptr);
1148|                       (yy_lp) = yy_accept[yy_current_state];
1149|                       }
1150|
1151|               YY_DO_BEFORE_ACTION;
1152|
1153| do_action:    /* This label is used only to access EOF actions. */
1154|
1155|               switch ( yy_act )
1156|       { /* beginning of action switch */
1157| case 1:
1158| YY_RULE_SETUP
1159| #line 2 "conftest.l"
1160| { ECHO; }
1161|       YY_BREAK
1162| case 2:
1163| YY_RULE_SETUP
1164| #line 3 "conftest.l"
1165| { REJECT; }
1166|       YY_BREAK
1167| case 3:
1168| YY_RULE_SETUP
1169| #line 4 "conftest.l"
1170| { yymore (); }
1171|       YY_BREAK
1172| case 4:
1173| YY_RULE_SETUP
1174| #line 5 "conftest.l"
1175| { yyless (1); }
1176|       YY_BREAK
1177| case 5:
1178| YY_RULE_SETUP
1179| #line 6 "conftest.l"
1180| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
1181|     yyless ((input () != 0)); }
1182|       YY_BREAK
1183| case 6:
1184| YY_RULE_SETUP
1185| #line 8 "conftest.l"
1186| { unput (yytext[0]); }
1187|       YY_BREAK
1188| case 7:
1189| YY_RULE_SETUP
1190| #line 9 "conftest.l"
1191| { BEGIN INITIAL; }
1192|       YY_BREAK
1193| case 8:
1194| YY_RULE_SETUP
1195| #line 10 "conftest.l"
1196| ECHO;
1197|       YY_BREAK
1198| #line 792 "lex.yy.c"
1199|                       case YY_STATE_EOF(INITIAL):
1200|                               yyterminate();
1201|
1202|       case YY_END_OF_BUFFER:
1203|               {
1204|               /* Amount of text matched not including the EOB char. */
1205|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1206|
1207|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
1208|               *yy_cp = (yy_hold_char);
1209|               YY_RESTORE_YY_MORE_OFFSET
1210|
1211|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1212|                       {
1213|                       /* We're scanning a new file or input source.  It's
1214|                        * possible that this happened because the user
1215|                        * just pointed yyin at a new source and called
1216|                        * yylex().  If so, then we have to assure
1217|                        * consistency between YY_CURRENT_BUFFER and our
1218|                        * globals.  Here is the right place to do so, because
1219|                        * this is the first action (other than possibly a
1220|                        * back-up) that will match for the new input source.
1221|                        */
1222|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1223|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1224|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1225|                       }
1226|
1227|               /* Note that here we test for yy_c_buf_p "<=" to the position
1228|                * of the first EOB in the buffer, since yy_c_buf_p will
1229|                * already have been incremented past the NUL character
1230|                * (since all states make transitions on EOB to the
1231|                * end-of-buffer state).  Contrast this with the test
1232|                * in input().
1233|                */
1234|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1235|                       { /* This was really a NUL. */
1236|                       yy_state_type yy_next_state;
1237|
1238|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1239|
1240|                       yy_current_state = yy_get_previous_state(  );
1241|
1242|                       /* Okay, we're now positioned to make the NUL
1243|                        * transition.  We couldn't have
1244|                        * yy_get_previous_state() go ahead and do it
1245|                        * for us because it doesn't know how to deal
1246|                        * with the possibility of jamming (and we don't
1247|                        * want to build jamming into it because then it
1248|                        * will run more slowly).
1249|                        */
1250|
1251|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
1252|
1253|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1254|
1255|                       if ( yy_next_state )
1256|                               {
1257|                               /* Consume the NUL. */
1258|                               yy_cp = ++(yy_c_buf_p);
1259|                               yy_current_state = yy_next_state;
1260|                               goto yy_match;
1261|                               }
1262|
1263|                       else
1264|                               {
1265|                               yy_cp = (yy_c_buf_p);
1266|                               goto yy_find_action;
1267|                               }
1268|                       }
1269|
1270|               else switch ( yy_get_next_buffer(  ) )
1271|                       {
1272|                       case EOB_ACT_END_OF_FILE:
1273|                               {
1274|                               (yy_did_buffer_switch_on_eof) = 0;
1275|
1276|                               if ( yywrap( ) )
1277|                                       {
1278|                                       /* Note: because we've taken care in
1279|                                        * yy_get_next_buffer() to have set up
1280|                                        * yytext, we can now set up
1281|                                        * yy_c_buf_p so that if some total
1282|                                        * hoser (like flex itself) wants to
1283|                                        * call the scanner after we return the
1284|                                        * YY_NULL, it'll still work - another
1285|                                        * YY_NULL will get returned.
1286|                                        */
1287|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1288|
1289|                                       yy_act = YY_STATE_EOF(YY_START);
1290|                                       goto do_action;
1291|                                       }
1292|
1293|                               else
1294|                                       {
1295|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1296|                                               YY_NEW_FILE;
1297|                                       }
1298|                               break;
1299|                               }
1300|
1301|                       case EOB_ACT_CONTINUE_SCAN:
1302|                               (yy_c_buf_p) =
1303|                                       (yytext_ptr) + yy_amount_of_matched_text;
1304|
1305|                               yy_current_state = yy_get_previous_state(  );
1306|
1307|                               yy_cp = (yy_c_buf_p);
1308|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1309|                               goto yy_match;
1310|
1311|                       case EOB_ACT_LAST_MATCH:
1312|                               (yy_c_buf_p) =
1313|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1314|
1315|                               yy_current_state = yy_get_previous_state(  );
1316|
1317|                               yy_cp = (yy_c_buf_p);
1318|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1319|                               goto yy_find_action;
1320|                       }
1321|               break;
1322|               }
1323|
1324|       default:
1325|               YY_FATAL_ERROR(
1326|                       "fatal flex scanner internal error--no action found" );
1327|       } /* end of action switch */
1328|               } /* end of scanning one token */
1329| } /* end of yylex */
1330|
1331| /* yy_get_next_buffer - try to read in a new buffer
1332|  *
1333|  * Returns a code representing an action:
1334|  *    EOB_ACT_LAST_MATCH -
1335|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1336|  *    EOB_ACT_END_OF_FILE - end of file
1337|  */
1338| static int yy_get_next_buffer (void)
1339| {
1340|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1341|       register char *source = (yytext_ptr);
1342|       register int number_to_move, i;
1343|       int ret_val;
1344|
1345|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1346|               YY_FATAL_ERROR(
1347|               "fatal flex scanner internal error--end of buffer missed" );
1348|
1349|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1350|               { /* Don't try to fill the buffer, so this is an EOF. */
1351|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1352|                       {
1353|                       /* We matched a single character, the EOB, so
1354|                        * treat this as a final EOF.
1355|                        */
1356|                       return EOB_ACT_END_OF_FILE;
1357|                       }
1358|
1359|               else
1360|                       {
1361|                       /* We matched some text prior to the EOB, first
1362|                        * process it.
1363|                        */
1364|                       return EOB_ACT_LAST_MATCH;
1365|                       }
1366|               }
1367|
1368|       /* Try to read more data. */
1369|
1370|       /* First move last chars to start of buffer. */
1371|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1372|
1373|       for ( i = 0; i < number_to_move; ++i )
1374|               *(dest++) = *(source++);
1375|
1376|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1377|               /* don't do the read, it's not guaranteed to return an EOF,
1378|                * just force an EOF
1379|                */
1380|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1381|
1382|       else
1383|               {
1384|                       yy_size_t num_to_read =
1385|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1386|
1387|               while ( num_to_read <= 0 )
1388|                       { /* Not enough room in the buffer - grow it. */
1389|
1390|                       YY_FATAL_ERROR(
1391| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1392|
1393|                       }
1394|
1395|               if ( num_to_read > YY_READ_BUF_SIZE )
1396|                       num_to_read = YY_READ_BUF_SIZE;
1397|
1398|               /* Read in more data. */
1399|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1400|                       (yy_n_chars), num_to_read );
1401|
1402|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1403|               }
1404|
1405|       if ( (yy_n_chars) == 0 )
1406|               {
1407|               if ( number_to_move == YY_MORE_ADJ )
1408|                       {
1409|                       ret_val = EOB_ACT_END_OF_FILE;
1410|                       yyrestart(yyin  );
1411|                       }
1412|
1413|               else
1414|                       {
1415|                       ret_val = EOB_ACT_LAST_MATCH;
1416|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1417|                               YY_BUFFER_EOF_PENDING;
1418|                       }
1419|               }
1420|
1421|       else
1422|               ret_val = EOB_ACT_CONTINUE_SCAN;
1423|
1424|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1425|               /* Extend the array by 50%, plus the number we really need. */
1426|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1427|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
1428|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1429|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1430|       }
1431|
1432|       (yy_n_chars) += number_to_move;
1433|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1434|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1435|
1436|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1437|
1438|       return ret_val;
1439| }
1440|
1441| /* yy_get_previous_state - get the state just before the EOB char was reached */
1442|
1443|     static yy_state_type yy_get_previous_state (void)
1444| {
1445|       register yy_state_type yy_current_state;
1446|       register char *yy_cp;
1447|     
1448|       yy_current_state = (yy_start);
1449|
1450|       (yy_state_ptr) = (yy_state_buf);
1451|       *(yy_state_ptr)++ = yy_current_state;
1452|
1453|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1454|               {
1455|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1456|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1457|                       {
1458|                       yy_current_state = (int) yy_def[yy_current_state];
1459|                       if ( yy_current_state >= 13 )
1460|                               yy_c = yy_meta[(unsigned int) yy_c];
1461|                       }
1462|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1463|               *(yy_state_ptr)++ = yy_current_state;
1464|               }
1465|
1466|       return yy_current_state;
1467| }
1468|
1469| /* yy_try_NUL_trans - try to make a transition on the NUL character
1470|  *
1471|  * synopsis
1472|  *    next_state = yy_try_NUL_trans( current_state );
1473|  */
1474|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
1475| {
1476|       register int yy_is_jam;
1477|     
1478|       register YY_CHAR yy_c = 1;
1479|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1480|               {
1481|               yy_current_state = (int) yy_def[yy_current_state];
1482|               if ( yy_current_state >= 13 )
1483|                       yy_c = yy_meta[(unsigned int) yy_c];
1484|               }
1485|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1486|       yy_is_jam = (yy_current_state == 12);
1487|       if ( ! yy_is_jam )
1488|               *(yy_state_ptr)++ = yy_current_state;
1489|
1490|               return yy_is_jam ? 0 : yy_current_state;
1491| }
1492|
1493|     static void yyunput (int c, register char * yy_bp )
1494| {
1495|       register char *yy_cp;
1496|     
1497|     yy_cp = (yy_c_buf_p);
1498|
1499|       /* undo effects of setting up yytext */
1500|       *yy_cp = (yy_hold_char);
1501|
1502|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1503|               { /* need to shift things up to make room */
1504|               /* +2 for EOB chars. */
1505|               register yy_size_t number_to_move = (yy_n_chars) + 2;
1506|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1507|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1508|               register char *source =
1509|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1510|
1511|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1512|                       *--dest = *--source;
1513|
1514|               yy_cp += (int) (dest - source);
1515|               yy_bp += (int) (dest - source);
1516|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1517|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1518|
1519|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1520|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
1521|               }
1522|
1523|       *--yy_cp = (char) c;
1524|
1525|       (yytext_ptr) = yy_bp;
1526|       (yy_hold_char) = *yy_cp;
1527|       (yy_c_buf_p) = yy_cp;
1528| }
1529|
1530| #ifndef YY_NO_INPUT
1531| #ifdef __cplusplus
1532|     static int yyinput (void)
1533| #else
1534|     static int input  (void)
1535| #endif
1536|
1537| {
1538|       int c;
1539|     
1540|       *(yy_c_buf_p) = (yy_hold_char);
1541|
1542|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1543|               {
1544|               /* yy_c_buf_p now points to the character we want to return.
1545|                * If this occurs *before* the EOB characters, then it's a
1546|                * valid NUL; if not, then we've hit the end of the buffer.
1547|                */
1548|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1549|                       /* This was really a NUL. */
1550|                       *(yy_c_buf_p) = '\0';
1551|
1552|               else
1553|                       { /* need more input */
1554|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
1555|                       ++(yy_c_buf_p);
1556|
1557|                       switch ( yy_get_next_buffer(  ) )
1558|                               {
1559|                               case EOB_ACT_LAST_MATCH:
1560|                                       /* This happens because yy_g_n_b()
1561|                                        * sees that we've accumulated a
1562|                                        * token and flags that we need to
1563|                                        * try matching the token before
1564|                                        * proceeding.  But for input(),
1565|                                        * there's no matching to consider.
1566|                                        * So convert the EOB_ACT_LAST_MATCH
1567|                                        * to EOB_ACT_END_OF_FILE.
1568|                                        */
1569|
1570|                                       /* Reset buffer status. */
1571|                                       yyrestart(yyin );
1572|
1573|                                       /*FALLTHROUGH*/
1574|
1575|                               case EOB_ACT_END_OF_FILE:
1576|                                       {
1577|                                       if ( yywrap( ) )
1578|                                               return EOF;
1579|
1580|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1581|                                               YY_NEW_FILE;
1582| #ifdef __cplusplus
1583|                                       return yyinput();
1584| #else
1585|                                       return input();
1586| #endif
1587|                                       }
1588|
1589|                               case EOB_ACT_CONTINUE_SCAN:
1590|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
1591|                                       break;
1592|                               }
1593|                       }
1594|               }
1595|
1596|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
1597|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
1598|       (yy_hold_char) = *++(yy_c_buf_p);
1599|
1600|       return c;
1601| }
1602| #endif        /* ifndef YY_NO_INPUT */
1603|
1604| /** Immediately switch to a different input stream.
1605|  * @param input_file A readable stream.
1606|  *
1607|  * @note This function does not reset the start condition to @c INITIAL .
1608|  */
1609|     void yyrestart  (FILE * input_file )
1610| {
1611|     
1612|       if ( ! YY_CURRENT_BUFFER ){
1613|         yyensure_buffer_stack ();
1614|               YY_CURRENT_BUFFER_LVALUE =
1615|             yy_create_buffer(yyin,YY_BUF_SIZE );
1616|       }
1617|
1618|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
1619|       yy_load_buffer_state( );
1620| }
1621|
1622| /** Switch to a different input buffer.
1623|  * @param new_buffer The new input buffer.
1624|  *
1625|  */
1626|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
1627| {
1628|     
1629|       /* TODO. We should be able to replace this entire function body
1630|        * with
1631|        *              yypop_buffer_state();
1632|        *              yypush_buffer_state(new_buffer);
1633|      */
1634|       yyensure_buffer_stack ();
1635|       if ( YY_CURRENT_BUFFER == new_buffer )
1636|               return;
1637|
1638|       if ( YY_CURRENT_BUFFER )
1639|               {
1640|               /* Flush out information for old buffer. */
1641|               *(yy_c_buf_p) = (yy_hold_char);
1642|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1643|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1644|               }
1645|
1646|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1647|       yy_load_buffer_state( );
1648|
1649|       /* We don't actually know whether we did this switch during
1650|        * EOF (yywrap()) processing, but the only time this flag
1651|        * is looked at is after yywrap() is called, so it's safe
1652|        * to go ahead and always set it.
1653|        */
1654|       (yy_did_buffer_switch_on_eof) = 1;
1655| }
1656|
1657| static void yy_load_buffer_state  (void)
1658| {
1659|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1660|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1661|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1662|       (yy_hold_char) = *(yy_c_buf_p);
1663| }
1664|
1665| /** Allocate and initialize an input buffer state.
1666|  * @param file A readable stream.
1667|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1668|  *
1669|  * @return the allocated buffer state.
1670|  */
1671|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
1672| {
1673|       YY_BUFFER_STATE b;
1674|     
1675|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1676|       if ( ! b )
1677|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1678|
1679|       b->yy_buf_size = size;
1680|
1681|       /* yy_ch_buf has to be 2 characters longer than the size given because
1682|        * we need to put in 2 end-of-buffer characters.
1683|        */
1684|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
1685|       if ( ! b->yy_ch_buf )
1686|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1687|
1688|       b->yy_is_our_buffer = 1;
1689|
1690|       yy_init_buffer(b,file );
1691|
1692|       return b;
1693| }
1694|
1695| /** Destroy the buffer.
1696|  * @param b a buffer created with yy_create_buffer()
1697|  *
1698|  */
1699|     void yy_delete_buffer (YY_BUFFER_STATE  b )
1700| {
1701|     
1702|       if ( ! b )
1703|               return;
1704|
1705|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1706|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1707|
1708|       if ( b->yy_is_our_buffer )
1709|               yyfree((void *) b->yy_ch_buf  );
1710|
1711|       yyfree((void *) b  );
1712| }
1713|
1714| /* Initializes or reinitializes a buffer.
1715|  * This function is sometimes called more than once on the same buffer,
1716|  * such as during a yyrestart() or at EOF.
1717|  */
1718|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
1719|
1720| {
1721|       int oerrno = errno;
1722|     
1723|       yy_flush_buffer(b );
1724|
1725|       b->yy_input_file = file;
1726|       b->yy_fill_buffer = 1;
1727|
1728|     /* If b is the current buffer, then yy_init_buffer was _probably_
1729|      * called from yyrestart() or through yy_get_next_buffer.
1730|      * In that case, we don't want to reset the lineno or column.
1731|      */
1732|     if (b != YY_CURRENT_BUFFER){
1733|         b->yy_bs_lineno = 1;
1734|         b->yy_bs_column = 0;
1735|     }
1736|
1737|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1738|     
1739|       errno = oerrno;
1740| }
1741|
1742| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1743|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1744|  *
1745|  */
1746|     void yy_flush_buffer (YY_BUFFER_STATE  b )
1747| {
1748|       if ( ! b )
1749|               return;
1750|
1751|       b->yy_n_chars = 0;
1752|
1753|       /* We always need two end-of-buffer characters.  The first causes
1754|        * a transition to the end-of-buffer state.  The second causes
1755|        * a jam in that state.
1756|        */
1757|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1758|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1759|
1760|       b->yy_buf_pos = &b->yy_ch_buf[0];
1761|
1762|       b->yy_at_bol = 1;
1763|       b->yy_buffer_status = YY_BUFFER_NEW;
1764|
1765|       if ( b == YY_CURRENT_BUFFER )
1766|               yy_load_buffer_state( );
1767| }
1768|
1769| /** Pushes the new state onto the stack. The new state becomes
1770|  *  the current state. This function will allocate the stack
1771|  *  if necessary.
1772|  *  @param new_buffer The new state.
1773|  * 
1774|  */
1775| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1776| {
1777|       if (new_buffer == NULL)
1778|               return;
1779|
1780|       yyensure_buffer_stack();
1781|
1782|       /* This block is copied from yy_switch_to_buffer. */
1783|       if ( YY_CURRENT_BUFFER )
1784|               {
1785|               /* Flush out information for old buffer. */
1786|               *(yy_c_buf_p) = (yy_hold_char);
1787|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1788|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1789|               }
1790|
1791|       /* Only push if top exists. Otherwise, replace top. */
1792|       if (YY_CURRENT_BUFFER)
1793|               (yy_buffer_stack_top)++;
1794|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1795|
1796|       /* copied from yy_switch_to_buffer. */
1797|       yy_load_buffer_state( );
1798|       (yy_did_buffer_switch_on_eof) = 1;
1799| }
1800|
1801| /** Removes and deletes the top of the stack, if present.
1802|  *  The next element becomes the new top.
1803|  * 
1804|  */
1805| void yypop_buffer_state (void)
1806| {
1807|       if (!YY_CURRENT_BUFFER)
1808|               return;
1809|
1810|       yy_delete_buffer(YY_CURRENT_BUFFER );
1811|       YY_CURRENT_BUFFER_LVALUE = NULL;
1812|       if ((yy_buffer_stack_top) > 0)
1813|               --(yy_buffer_stack_top);
1814|
1815|       if (YY_CURRENT_BUFFER) {
1816|               yy_load_buffer_state( );
1817|               (yy_did_buffer_switch_on_eof) = 1;
1818|       }
1819| }
1820|
1821| /* Allocates the stack if it does not exist.
1822|  *  Guarantees space for at least one push.
1823|  */
1824| static void yyensure_buffer_stack (void)
1825| {
1826|       yy_size_t num_to_alloc;
1827|     
1828|       if (!(yy_buffer_stack)) {
1829|
1830|               /* First allocation is just for 2 elements, since we don't know if this
1831|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
1832|                * immediate realloc on the next call.
1833|          */
1834|               num_to_alloc = 1;
1835|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1836|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
1837|                                                               );
1838|               if ( ! (yy_buffer_stack) )
1839|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1840|                                                                 
1841|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1842|                               
1843|               (yy_buffer_stack_max) = num_to_alloc;
1844|               (yy_buffer_stack_top) = 0;
1845|               return;
1846|       }
1847|
1848|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1849|
1850|               /* Increase the buffer to prepare for a possible push. */
1851|               int grow_size = 8 /* arbitrary grow size */;
1852|
1853|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
1854|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1855|                                                               ((yy_buffer_stack),
1856|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
1857|                                                               );
1858|               if ( ! (yy_buffer_stack) )
1859|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1860|
1861|               /* zero only the new slots.*/
1862|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1863|               (yy_buffer_stack_max) = num_to_alloc;
1864|       }
1865| }
1866|
1867| /** Setup the input buffer state to scan directly from a user-specified character buffer.
1868|  * @param base the character buffer
1869|  * @param size the size in bytes of the character buffer
1870|  *
1871|  * @return the newly allocated buffer state object.
1872|  */
1873| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
1874| {
1875|       YY_BUFFER_STATE b;
1876|     
1877|       if ( size < 2 ||
1878|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
1879|            base[size-1] != YY_END_OF_BUFFER_CHAR )
1880|               /* They forgot to leave room for the EOB's. */
1881|               return 0;
1882|
1883|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1884|       if ( ! b )
1885|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1886|
1887|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
1888|       b->yy_buf_pos = b->yy_ch_buf = base;
1889|       b->yy_is_our_buffer = 0;
1890|       b->yy_input_file = 0;
1891|       b->yy_n_chars = b->yy_buf_size;
1892|       b->yy_is_interactive = 0;
1893|       b->yy_at_bol = 1;
1894|       b->yy_fill_buffer = 0;
1895|       b->yy_buffer_status = YY_BUFFER_NEW;
1896|
1897|       yy_switch_to_buffer(b  );
1898|
1899|       return b;
1900| }
1901|
1902| /** Setup the input buffer state to scan a string. The next call to yylex() will
1903|  * scan from a @e copy of @a str.
1904|  * @param yystr a NUL-terminated string to scan
1905|  *
1906|  * @return the newly allocated buffer state object.
1907|  * @note If you want to scan bytes that may contain NUL values, then use
1908|  *       yy_scan_bytes() instead.
1909|  */
1910| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
1911| {
1912|     
1913|       return yy_scan_bytes(yystr,strlen(yystr) );
1914| }
1915|
1916| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1917|  * scan from a @e copy of @a bytes.
1918|  * @param yybytes the byte buffer to scan
1919|  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
1920|  *
1921|  * @return the newly allocated buffer state object.
1922|  */
1923| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
1924| {
1925|       YY_BUFFER_STATE b;
1926|       char *buf;
1927|       yy_size_t n;
1928|       int i;
1929|     
1930|       /* Get memory for full buffer, including space for trailing EOB's. */
1931|       n = _yybytes_len + 2;
1932|       buf = (char *) yyalloc(n  );
1933|       if ( ! buf )
1934|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1935|
1936|       for ( i = 0; i < _yybytes_len; ++i )
1937|               buf[i] = yybytes[i];
1938|
1939|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1940|
1941|       b = yy_scan_buffer(buf,n );
1942|       if ( ! b )
1943|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1944|
1945|       /* It's okay to grow etc. this buffer, and we should throw it
1946|        * away when we're done.
1947|        */
1948|       b->yy_is_our_buffer = 1;
1949|
1950|       return b;
1951| }
1952|
1953| #ifndef YY_EXIT_FAILURE
1954| #define YY_EXIT_FAILURE 2
1955| #endif
1956|
1957| static void yy_fatal_error (yyconst char* msg )
1958| {
1959|       (void) fprintf( stderr, "%s\n", msg );
1960|       exit( YY_EXIT_FAILURE );
1961| }
1962|
1963| /* Redefine yyless() so it works in section 3 code. */
1964|
1965| #undef yyless
1966| #define yyless(n) \
1967|       do \
1968|               { \
1969|               /* Undo effects of setting up yytext. */ \
1970|         int yyless_macro_arg = (n); \
1971|         YY_LESS_LINENO(yyless_macro_arg);\
1972|               yytext[yyleng] = (yy_hold_char); \
1973|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
1974|               (yy_hold_char) = *(yy_c_buf_p); \
1975|               *(yy_c_buf_p) = '\0'; \
1976|               yyleng = yyless_macro_arg; \
1977|               } \
1978|       while ( 0 )
1979|
1980| /* Accessor  methods (get/set functions) to struct members. */
1981|
1982| /** Get the current line number.
1983|  *
1984|  */
1985| int yyget_lineno  (void)
1986| {
1987|         
1988|     return yylineno;
1989| }
1990|
1991| /** Get the input stream.
1992|  *
1993|  */
1994| FILE *yyget_in  (void)
1995| {
1996|         return yyin;
1997| }
1998|
1999| /** Get the output stream.
2000|  *
2001|  */
2002| FILE *yyget_out  (void)
2003| {
2004|         return yyout;
2005| }
2006|
2007| /** Get the length of the current token.
2008|  *
2009|  */
2010| yy_size_t yyget_leng  (void)
2011| {
2012|         return yyleng;
2013| }
2014|
2015| /** Get the current token.
2016|  *
2017|  */
2018|
2019| char *yyget_text  (void)
2020| {
2021|         return yytext;
2022| }
2023|
2024| /** Set the current line number.
2025|  * @param line_number
2026|  *
2027|  */
2028| void yyset_lineno (int  line_number )
2029| {
2030|     
2031|     yylineno = line_number;
2032| }
2033|
2034| /** Set the input stream. This does not discard the current
2035|  * input buffer.
2036|  * @param in_str A readable stream.
2037|  *
2038|  * @see yy_switch_to_buffer
2039|  */
2040| void yyset_in (FILE *  in_str )
2041| {
2042|         yyin = in_str ;
2043| }
2044|
2045| void yyset_out (FILE *  out_str )
2046| {
2047|         yyout = out_str ;
2048| }
2049|
2050| int yyget_debug  (void)
2051| {
2052|         return yy_flex_debug;
2053| }
2054|
2055| void yyset_debug (int  bdebug )
2056| {
2057|         yy_flex_debug = bdebug ;
2058| }
2059|
2060| static int yy_init_globals (void)
2061| {
2062|         /* Initialization is the same as for the non-reentrant scanner.
2063|      * This function is called from yylex_destroy(), so don't allocate here.
2064|      */
2065|
2066|     (yy_buffer_stack) = 0;
2067|     (yy_buffer_stack_top) = 0;
2068|     (yy_buffer_stack_max) = 0;
2069|     (yy_c_buf_p) = (char *) 0;
2070|     (yy_init) = 0;
2071|     (yy_start) = 0;
2072|
2073|     (yy_state_buf) = 0;
2074|     (yy_state_ptr) = 0;
2075|     (yy_full_match) = 0;
2076|     (yy_lp) = 0;
2077|
2078| /* Defined in main.c */
2079| #ifdef YY_STDINIT
2080|     yyin = stdin;
2081|     yyout = stdout;
2082| #else
2083|     yyin = (FILE *) 0;
2084|     yyout = (FILE *) 0;
2085| #endif
2086|
2087|     /* For future reference: Set errno on error, since we are called by
2088|      * yylex_init()
2089|      */
2090|     return 0;
2091| }
2092|
2093| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2094| int yylex_destroy  (void)
2095| {
2096|     
2097|     /* Pop the buffer stack, destroying each element. */
2098|       while(YY_CURRENT_BUFFER){
2099|               yy_delete_buffer(YY_CURRENT_BUFFER  );
2100|               YY_CURRENT_BUFFER_LVALUE = NULL;
2101|               yypop_buffer_state();
2102|       }
2103|
2104|       /* Destroy the stack itself. */
2105|       yyfree((yy_buffer_stack) );
2106|       (yy_buffer_stack) = NULL;
2107|
2108|     yyfree ( (yy_state_buf) );
2109|     (yy_state_buf)  = NULL;
2110|
2111|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
2112|      * yylex() is called, initialization will occur. */
2113|     yy_init_globals( );
2114|
2115|     return 0;
2116| }
2117|
2118| /*
2119|  * Internal utility routines.
2120|  */
2121|
2122| #ifndef yytext_ptr
2123| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2124| {
2125|       register int i;
2126|       for ( i = 0; i < n; ++i )
2127|               s1[i] = s2[i];
2128| }
2129| #endif
2130|
2131| #ifdef YY_NEED_STRLEN
2132| static int yy_flex_strlen (yyconst char * s )
2133| {
2134|       register int n;
2135|       for ( n = 0; s[n]; ++n )
2136|               ;
2137|
2138|       return n;
2139| }
2140| #endif
2141|
2142| void *yyalloc (yy_size_t  size )
2143| {
2144|       return (void *) malloc( size );
2145| }
2146|
2147| void *yyrealloc  (void * ptr, yy_size_t  size )
2148| {
2149|       /* The cast to (char *) in the following accommodates both
2150|        * implementations that use char* generic pointers, and those
2151|        * that use void* generic pointers.  It works with the latter
2152|        * because both ANSI C and C++ allow castless assignment from
2153|        * any pointer type to void*, and deal with argument conversions
2154|        * as though doing an assignment.
2155|        */
2156|       return (void *) realloc( (char *) ptr, size );
2157| }
2158|
2159| void yyfree (void * ptr )
2160| {
2161|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
2162| }
2163|
2164| #define YYTABLES_NAME "yytables"
2165|
2166| #line 10 "conftest.l"
2167|
2168|
2169| #ifdef YYTEXT_POINTER
2170| extern char *yytext;
2171| #endif
2172| int
2173| main (void)
2174| {
2175|   return ! yylex () + ! yywrap ();
2176| }
2177configure:6122: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lfl  >&5
2178ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccOVebWa.o because Unknown instruction for architecture x86_64
2179collect2: ld returned 1 exit status
2180configure:6122: $? = 1
2181configure: failed program was:
2182| /* confdefs.h */
2183| #define PACKAGE_NAME "unbound"
2184| #define PACKAGE_TARNAME "unbound"
2185| #define PACKAGE_VERSION "1.5.4"
2186| #define PACKAGE_STRING "unbound 1.5.4"
2187| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
2188| #define PACKAGE_URL ""
2189| #define STDC_HEADERS 1
2190| #define HAVE_SYS_TYPES_H 1
2191| #define HAVE_SYS_STAT_H 1
2192| #define HAVE_STDLIB_H 1
2193| #define HAVE_STRING_H 1
2194| #define HAVE_MEMORY_H 1
2195| #define HAVE_STRINGS_H 1
2196| #define HAVE_INTTYPES_H 1
2197| #define HAVE_STDINT_H 1
2198| #define HAVE_UNISTD_H 1
2199| #define __EXTENSIONS__ 1
2200| #define _ALL_SOURCE 1
2201| #define _GNU_SOURCE 1
2202| #define _POSIX_PTHREAD_SEMANTICS 1
2203| #define _TANDEM_SOURCE 1
2204| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
2205| #define RUN_DIR "/opt/local/etc/unbound"
2206| #define CHROOT_DIR "/opt/local/etc/unbound"
2207| #define SHARE_DIR "/opt/local/etc/unbound"
2208| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
2209| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
2210| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
2211| #define UB_USERNAME "unbound"
2212| #define WINVER 0x0502
2213| #define RSRC_PACKAGE_VERSION 1,5,4,0
2214| #define HAVE_GETOPT_H 1
2215| #define HAVE_TIME_H 1
2216| #define HAVE_ATTR_FORMAT 1
2217| #define HAVE_ATTR_UNUSED 1
2218| /* end confdefs.h.  */
2219|
2220| #line 3 "lex.yy.c"
2221|
2222| #define  YY_INT_ALIGNED short int
2223|
2224| /* A lexical scanner generated by flex */
2225|
2226| #define FLEX_SCANNER
2227| #define YY_FLEX_MAJOR_VERSION 2
2228| #define YY_FLEX_MINOR_VERSION 5
2229| #define YY_FLEX_SUBMINOR_VERSION 37
2230| #if YY_FLEX_SUBMINOR_VERSION > 0
2231| #define FLEX_BETA
2232| #endif
2233|
2234| /* First, we deal with  platform-specific or compiler-specific issues. */
2235|
2236| /* begin standard C headers. */
2237| #include <stdio.h>
2238| #include <string.h>
2239| #include <errno.h>
2240| #include <stdlib.h>
2241|
2242| /* end standard C headers. */
2243|
2244| /* flex integer type definitions */
2245|
2246| #ifndef FLEXINT_H
2247| #define FLEXINT_H
2248|
2249| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
2250|
2251| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
2252|
2253| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
2254|  * if you want the limit (max/min) macros for int types.
2255|  */
2256| #ifndef __STDC_LIMIT_MACROS
2257| #define __STDC_LIMIT_MACROS 1
2258| #endif
2259|
2260| #include <inttypes.h>
2261| typedef int8_t flex_int8_t;
2262| typedef uint8_t flex_uint8_t;
2263| typedef int16_t flex_int16_t;
2264| typedef uint16_t flex_uint16_t;
2265| typedef int32_t flex_int32_t;
2266| typedef uint32_t flex_uint32_t;
2267| #else
2268| typedef signed char flex_int8_t;
2269| typedef short int flex_int16_t;
2270| typedef int flex_int32_t;
2271| typedef unsigned char flex_uint8_t;
2272| typedef unsigned short int flex_uint16_t;
2273| typedef unsigned int flex_uint32_t;
2274|
2275| /* Limits of integral types. */
2276| #ifndef INT8_MIN
2277| #define INT8_MIN               (-128)
2278| #endif
2279| #ifndef INT16_MIN
2280| #define INT16_MIN              (-32767-1)
2281| #endif
2282| #ifndef INT32_MIN
2283| #define INT32_MIN              (-2147483647-1)
2284| #endif
2285| #ifndef INT8_MAX
2286| #define INT8_MAX               (127)
2287| #endif
2288| #ifndef INT16_MAX
2289| #define INT16_MAX              (32767)
2290| #endif
2291| #ifndef INT32_MAX
2292| #define INT32_MAX              (2147483647)
2293| #endif
2294| #ifndef UINT8_MAX
2295| #define UINT8_MAX              (255U)
2296| #endif
2297| #ifndef UINT16_MAX
2298| #define UINT16_MAX             (65535U)
2299| #endif
2300| #ifndef UINT32_MAX
2301| #define UINT32_MAX             (4294967295U)
2302| #endif
2303|
2304| #endif /* ! C99 */
2305|
2306| #endif /* ! FLEXINT_H */
2307|
2308| #ifdef __cplusplus
2309|
2310| /* The "const" storage-class-modifier is valid. */
2311| #define YY_USE_CONST
2312|
2313| #else /* ! __cplusplus */
2314|
2315| /* C99 requires __STDC__ to be defined as 1. */
2316| #if defined (__STDC__)
2317|
2318| #define YY_USE_CONST
2319|
2320| #endif        /* defined (__STDC__) */
2321| #endif        /* ! __cplusplus */
2322|
2323| #ifdef YY_USE_CONST
2324| #define yyconst const
2325| #else
2326| #define yyconst
2327| #endif
2328|
2329| /* Returned upon end-of-file. */
2330| #define YY_NULL 0
2331|
2332| /* Promotes a possibly negative, possibly signed char to an unsigned
2333|  * integer for use as an array index.  If the signed char is negative,
2334|  * we want to instead treat it as an 8-bit unsigned char, hence the
2335|  * double cast.
2336|  */
2337| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
2338|
2339| /* Enter a start condition.  This macro really ought to take a parameter,
2340|  * but we do it the disgusting crufty way forced on us by the ()-less
2341|  * definition of BEGIN.
2342|  */
2343| #define BEGIN (yy_start) = 1 + 2 *
2344|
2345| /* Translate the current start state into a value that can be later handed
2346|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
2347|  * compatibility.
2348|  */
2349| #define YY_START (((yy_start) - 1) / 2)
2350| #define YYSTATE YY_START
2351|
2352| /* Action number for EOF rule of a given start state. */
2353| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
2354|
2355| /* Special action meaning "start processing a new file". */
2356| #define YY_NEW_FILE yyrestart(yyin  )
2357|
2358| #define YY_END_OF_BUFFER_CHAR 0
2359|
2360| /* Size of default input buffer. */
2361| #ifndef YY_BUF_SIZE
2362| #define YY_BUF_SIZE 16384
2363| #endif
2364|
2365| /* The state buf must be large enough to hold one state per character in the main buffer.
2366|  */
2367| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
2368|
2369| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
2370| #define YY_TYPEDEF_YY_BUFFER_STATE
2371| typedef struct yy_buffer_state *YY_BUFFER_STATE;
2372| #endif
2373|
2374| #ifndef YY_TYPEDEF_YY_SIZE_T
2375| #define YY_TYPEDEF_YY_SIZE_T
2376| typedef size_t yy_size_t;
2377| #endif
2378|
2379| extern yy_size_t yyleng;
2380|
2381| extern FILE *yyin, *yyout;
2382|
2383| #define EOB_ACT_CONTINUE_SCAN 0
2384| #define EOB_ACT_END_OF_FILE 1
2385| #define EOB_ACT_LAST_MATCH 2
2386|
2387|     #define YY_LESS_LINENO(n)
2388|     
2389| /* Return all but the first "n" matched characters back to the input stream. */
2390| #define yyless(n) \
2391|       do \
2392|               { \
2393|               /* Undo effects of setting up yytext. */ \
2394|         int yyless_macro_arg = (n); \
2395|         YY_LESS_LINENO(yyless_macro_arg);\
2396|               *yy_cp = (yy_hold_char); \
2397|               YY_RESTORE_YY_MORE_OFFSET \
2398|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
2399|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
2400|               } \
2401|       while ( 0 )
2402|
2403| #define unput(c) yyunput( c, (yytext_ptr)  )
2404|
2405| #ifndef YY_STRUCT_YY_BUFFER_STATE
2406| #define YY_STRUCT_YY_BUFFER_STATE
2407| struct yy_buffer_state
2408|       {
2409|       FILE *yy_input_file;
2410|
2411|       char *yy_ch_buf;                /* input buffer */
2412|       char *yy_buf_pos;               /* current position in input buffer */
2413|
2414|       /* Size of input buffer in bytes, not including room for EOB
2415|        * characters.
2416|        */
2417|       yy_size_t yy_buf_size;
2418|
2419|       /* Number of characters read into yy_ch_buf, not including EOB
2420|        * characters.
2421|        */
2422|       yy_size_t yy_n_chars;
2423|
2424|       /* Whether we "own" the buffer - i.e., we know we created it,
2425|        * and can realloc() it to grow it, and should free() it to
2426|        * delete it.
2427|        */
2428|       int yy_is_our_buffer;
2429|
2430|       /* Whether this is an "interactive" input source; if so, and
2431|        * if we're using stdio for input, then we want to use getc()
2432|        * instead of fread(), to make sure we stop fetching input after
2433|        * each newline.
2434|        */
2435|       int yy_is_interactive;
2436|
2437|       /* Whether we're considered to be at the beginning of a line.
2438|        * If so, '^' rules will be active on the next match, otherwise
2439|        * not.
2440|        */
2441|       int yy_at_bol;
2442|
2443|     int yy_bs_lineno; /**< The line count. */
2444|     int yy_bs_column; /**< The column count. */
2445|     
2446|       /* Whether to try to fill the input buffer when we reach the
2447|        * end of it.
2448|        */
2449|       int yy_fill_buffer;
2450|
2451|       int yy_buffer_status;
2452|
2453| #define YY_BUFFER_NEW 0
2454| #define YY_BUFFER_NORMAL 1
2455|       /* When an EOF's been seen but there's still some text to process
2456|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
2457|        * shouldn't try reading from the input source any more.  We might
2458|        * still have a bunch of tokens to match, though, because of
2459|        * possible backing-up.
2460|        *
2461|        * When we actually see the EOF, we change the status to "new"
2462|        * (via yyrestart()), so that the user can continue scanning by
2463|        * just pointing yyin at a new input file.
2464|        */
2465| #define YY_BUFFER_EOF_PENDING 2
2466|
2467|       };
2468| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
2469|
2470| /* Stack of input buffers. */
2471| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
2472| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
2473| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
2474|
2475| /* We provide macros for accessing buffer states in case in the
2476|  * future we want to put the buffer states in a more general
2477|  * "scanner state".
2478|  *
2479|  * Returns the top of the stack, or NULL.
2480|  */
2481| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
2482|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
2483|                           : NULL)
2484|
2485| /* Same as previous macro, but useful when we know that the buffer stack is not
2486|  * NULL or when we need an lvalue. For internal use only.
2487|  */
2488| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
2489|
2490| /* yy_hold_char holds the character lost when yytext is formed. */
2491| static char yy_hold_char;
2492| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
2493| yy_size_t yyleng;
2494|
2495| /* Points to current character in buffer. */
2496| static char *yy_c_buf_p = (char *) 0;
2497| static int yy_init = 0;               /* whether we need to initialize */
2498| static int yy_start = 0;      /* start state number */
2499|
2500| /* Flag which is used to allow yywrap()'s to do buffer switches
2501|  * instead of setting up a fresh yyin.  A bit of a hack ...
2502|  */
2503| static int yy_did_buffer_switch_on_eof;
2504|
2505| void yyrestart (FILE *input_file  );
2506| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
2507| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
2508| void yy_delete_buffer (YY_BUFFER_STATE b  );
2509| void yy_flush_buffer (YY_BUFFER_STATE b  );
2510| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
2511| void yypop_buffer_state (void );
2512|
2513| static void yyensure_buffer_stack (void );
2514| static void yy_load_buffer_state (void );
2515| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
2516|
2517| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
2518|
2519| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
2520| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
2521| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
2522|
2523| void *yyalloc (yy_size_t  );
2524| void *yyrealloc (void *,yy_size_t  );
2525| void yyfree (void *  );
2526|
2527| #define yy_new_buffer yy_create_buffer
2528|
2529| #define yy_set_interactive(is_interactive) \
2530|       { \
2531|       if ( ! YY_CURRENT_BUFFER ){ \
2532|         yyensure_buffer_stack (); \
2533|               YY_CURRENT_BUFFER_LVALUE =    \
2534|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
2535|       } \
2536|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
2537|       }
2538|
2539| #define yy_set_bol(at_bol) \
2540|       { \
2541|       if ( ! YY_CURRENT_BUFFER ){\
2542|         yyensure_buffer_stack (); \
2543|               YY_CURRENT_BUFFER_LVALUE =    \
2544|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
2545|       } \
2546|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
2547|       }
2548|
2549| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
2550|
2551| /* Begin user sect3 */
2552|
2553| typedef unsigned char YY_CHAR;
2554|
2555| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
2556|
2557| typedef int yy_state_type;
2558|
2559| extern int yylineno;
2560|
2561| int yylineno = 1;
2562|
2563| extern char *yytext;
2564| #define yytext_ptr yytext
2565|
2566| static yy_state_type yy_get_previous_state (void );
2567| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
2568| static int yy_get_next_buffer (void );
2569| static void yy_fatal_error (yyconst char msg[]  );
2570|
2571| /* Done after the current pattern has been matched and before the
2572|  * corresponding action - sets up yytext.
2573|  */
2574| #define YY_DO_BEFORE_ACTION \
2575|       (yytext_ptr) = yy_bp; \
2576|       (yytext_ptr) -= (yy_more_len); \
2577|       yyleng = (size_t) (yy_cp - (yytext_ptr)); \
2578|       (yy_hold_char) = *yy_cp; \
2579|       *yy_cp = '\0'; \
2580|       (yy_c_buf_p) = yy_cp;
2581|
2582| #define YY_NUM_RULES 8
2583| #define YY_END_OF_BUFFER 9
2584| /* This struct is not used in this scanner,
2585|    but its presence is necessary. */
2586| struct yy_trans_info
2587|       {
2588|       flex_int32_t yy_verify;
2589|       flex_int32_t yy_nxt;
2590|       };
2591| static yyconst flex_int16_t yy_acclist[23] =
2592|     {   0,
2593|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
2594|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
2595|         7,    8
2596|     } ;
2597|
2598| static yyconst flex_int16_t yy_accept[14] =
2599|     {   0,
2600|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
2601|        20,   23,   23
2602|     } ;
2603|
2604| static yyconst flex_int32_t yy_ec[256] =
2605|     {   0,
2606|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
2607|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2608|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2609|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2610|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2611|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2612|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2613|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2614|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2615|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
2616|
2617|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
2618|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2619|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2620|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2621|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2622|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2623|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2624|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2625|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2626|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2627|
2628|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2629|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2630|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2631|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2632|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2633|         1,    1,    1,    1,    1
2634|     } ;
2635|
2636| static yyconst flex_int32_t yy_meta[9] =
2637|     {   0,
2638|         1,    1,    1,    1,    1,    1,    1,    1
2639|     } ;
2640|
2641| static yyconst flex_int16_t yy_base[13] =
2642|     {   0,
2643|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
2644|        10,   10
2645|     } ;
2646|
2647| static yyconst flex_int16_t yy_def[13] =
2648|     {   0,
2649|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
2650|        12,    0
2651|     } ;
2652|
2653| static yyconst flex_int16_t yy_nxt[19] =
2654|     {   0,
2655|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
2656|        12,   12,   12,   12,   12,   12,   12,   12
2657|     } ;
2658|
2659| static yyconst flex_int16_t yy_chk[19] =
2660|     {   0,
2661|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
2662|        12,   12,   12,   12,   12,   12,   12,   12
2663|     } ;
2664|
2665| extern int yy_flex_debug;
2666| int yy_flex_debug = 0;
2667|
2668| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
2669| static char *yy_full_match;
2670| static int yy_lp;
2671| #define REJECT \
2672| { \
2673| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
2674| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
2675| ++(yy_lp); \
2676| goto find_rule; \
2677| }
2678|
2679| static int yy_more_flag = 0;
2680| static int yy_more_len = 0;
2681| #define yymore() ((yy_more_flag) = 1)
2682| #define YY_MORE_ADJ (yy_more_len)
2683| #define YY_RESTORE_YY_MORE_OFFSET
2684| char *yytext;
2685| #line 1 "conftest.l"
2686| #line 469 "lex.yy.c"
2687|
2688| #define INITIAL 0
2689|
2690| #ifndef YY_NO_UNISTD_H
2691| /* Special case for "unistd.h", since it is non-ANSI. We include it way
2692|  * down here because we want the user's section 1 to have been scanned first.
2693|  * The user has a chance to override it with an option.
2694|  */
2695| #include <unistd.h>
2696| #endif
2697|
2698| #ifndef YY_EXTRA_TYPE
2699| #define YY_EXTRA_TYPE void *
2700| #endif
2701|
2702| static int yy_init_globals (void );
2703|
2704| /* Accessor methods to globals.
2705|    These are made visible to non-reentrant scanners for convenience. */
2706|
2707| int yylex_destroy (void );
2708|
2709| int yyget_debug (void );
2710|
2711| void yyset_debug (int debug_flag  );
2712|
2713| YY_EXTRA_TYPE yyget_extra (void );
2714|
2715| void yyset_extra (YY_EXTRA_TYPE user_defined  );
2716|
2717| FILE *yyget_in (void );
2718|
2719| void yyset_in  (FILE * in_str  );
2720|
2721| FILE *yyget_out (void );
2722|
2723| void yyset_out  (FILE * out_str  );
2724|
2725| yy_size_t yyget_leng (void );
2726|
2727| char *yyget_text (void );
2728|
2729| int yyget_lineno (void );
2730|
2731| void yyset_lineno (int line_number  );
2732|
2733| /* Macros after this point can all be overridden by user definitions in
2734|  * section 1.
2735|  */
2736|
2737| #ifndef YY_SKIP_YYWRAP
2738| #ifdef __cplusplus
2739| extern "C" int yywrap (void );
2740| #else
2741| extern int yywrap (void );
2742| #endif
2743| #endif
2744|
2745|     static void yyunput (int c,char *buf_ptr  );
2746|     
2747| #ifndef yytext_ptr
2748| static void yy_flex_strncpy (char *,yyconst char *,int );
2749| #endif
2750|
2751| #ifdef YY_NEED_STRLEN
2752| static int yy_flex_strlen (yyconst char * );
2753| #endif
2754|
2755| #ifndef YY_NO_INPUT
2756|
2757| #ifdef __cplusplus
2758| static int yyinput (void );
2759| #else
2760| static int input (void );
2761| #endif
2762|
2763| #endif
2764|
2765| /* Amount of stuff to slurp up with each read. */
2766| #ifndef YY_READ_BUF_SIZE
2767| #define YY_READ_BUF_SIZE 8192
2768| #endif
2769|
2770| /* Copy whatever the last rule matched to the standard output. */
2771| #ifndef ECHO
2772| /* This used to be an fputs(), but since the string might contain NUL's,
2773|  * we now use fwrite().
2774|  */
2775| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
2776| #endif
2777|
2778| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
2779|  * is returned in "result".
2780|  */
2781| #ifndef YY_INPUT
2782| #define YY_INPUT(buf,result,max_size) \
2783|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
2784|               { \
2785|               int c = '*'; \
2786|               size_t n; \
2787|               for ( n = 0; n < max_size && \
2788|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
2789|                       buf[n] = (char) c; \
2790|               if ( c == '\n' ) \
2791|                       buf[n++] = (char) c; \
2792|               if ( c == EOF && ferror( yyin ) ) \
2793|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
2794|               result = n; \
2795|               } \
2796|       else \
2797|               { \
2798|               errno=0; \
2799|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
2800|                       { \
2801|                       if( errno != EINTR) \
2802|                               { \
2803|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
2804|                               break; \
2805|                               } \
2806|                       errno=0; \
2807|                       clearerr(yyin); \
2808|                       } \
2809|               }\
2810| \
2811|
2812| #endif
2813|
2814| /* No semi-colon after return; correct usage is to write "yyterminate();" -
2815|  * we don't want an extra ';' after the "return" because that will cause
2816|  * some compilers to complain about unreachable statements.
2817|  */
2818| #ifndef yyterminate
2819| #define yyterminate() return YY_NULL
2820| #endif
2821|
2822| /* Number of entries by which start-condition stack grows. */
2823| #ifndef YY_START_STACK_INCR
2824| #define YY_START_STACK_INCR 25
2825| #endif
2826|
2827| /* Report a fatal error. */
2828| #ifndef YY_FATAL_ERROR
2829| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2830| #endif
2831|
2832| /* end tables serialization structures and prototypes */
2833|
2834| /* Default declaration of generated scanner - a define so the user can
2835|  * easily add parameters.
2836|  */
2837| #ifndef YY_DECL
2838| #define YY_DECL_IS_OURS 1
2839|
2840| extern int yylex (void);
2841|
2842| #define YY_DECL int yylex (void)
2843| #endif /* !YY_DECL */
2844|
2845| /* Code executed at the beginning of each rule, after yytext and yyleng
2846|  * have been set up.
2847|  */
2848| #ifndef YY_USER_ACTION
2849| #define YY_USER_ACTION
2850| #endif
2851|
2852| /* Code executed at the end of each rule. */
2853| #ifndef YY_BREAK
2854| #define YY_BREAK break;
2855| #endif
2856|
2857| #define YY_RULE_SETUP \
2858|       YY_USER_ACTION
2859|
2860| /** The main scanner function which does all the work.
2861|  */
2862| YY_DECL
2863| {
2864|       register yy_state_type yy_current_state;
2865|       register char *yy_cp, *yy_bp;
2866|       register int yy_act;
2867|     
2868| #line 1 "conftest.l"
2869|
2870| #line 653 "lex.yy.c"
2871|
2872|       if ( !(yy_init) )
2873|               {
2874|               (yy_init) = 1;
2875|
2876| #ifdef YY_USER_INIT
2877|               YY_USER_INIT;
2878| #endif
2879|
2880|         /* Create the reject buffer large enough to save one state per allowed character. */
2881|         if ( ! (yy_state_buf) )
2882|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
2883|             if ( ! (yy_state_buf) )
2884|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
2885|
2886|               if ( ! (yy_start) )
2887|                       (yy_start) = 1; /* first start state */
2888|
2889|               if ( ! yyin )
2890|                       yyin = stdin;
2891|
2892|               if ( ! yyout )
2893|                       yyout = stdout;
2894|
2895|               if ( ! YY_CURRENT_BUFFER ) {
2896|                       yyensure_buffer_stack ();
2897|                       YY_CURRENT_BUFFER_LVALUE =
2898|                               yy_create_buffer(yyin,YY_BUF_SIZE );
2899|               }
2900|
2901|               yy_load_buffer_state( );
2902|               }
2903|
2904|       while ( 1 )             /* loops until end-of-file is reached */
2905|               {
2906|               (yy_more_len) = 0;
2907|               if ( (yy_more_flag) )
2908|                       {
2909|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
2910|                       (yy_more_flag) = 0;
2911|                       }
2912|               yy_cp = (yy_c_buf_p);
2913|
2914|               /* Support of yytext. */
2915|               *yy_cp = (yy_hold_char);
2916|
2917|               /* yy_bp points to the position in yy_ch_buf of the start of
2918|                * the current run.
2919|                */
2920|               yy_bp = yy_cp;
2921|
2922|               yy_current_state = (yy_start);
2923|
2924|               (yy_state_ptr) = (yy_state_buf);
2925|               *(yy_state_ptr)++ = yy_current_state;
2926|
2927| yy_match:
2928|               do
2929|                       {
2930|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
2931|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2932|                               {
2933|                               yy_current_state = (int) yy_def[yy_current_state];
2934|                               if ( yy_current_state >= 13 )
2935|                                       yy_c = yy_meta[(unsigned int) yy_c];
2936|                               }
2937|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2938|                       *(yy_state_ptr)++ = yy_current_state;
2939|                       ++yy_cp;
2940|                       }
2941|               while ( yy_base[yy_current_state] != 10 );
2942|
2943| yy_find_action:
2944|               yy_current_state = *--(yy_state_ptr);
2945|               (yy_lp) = yy_accept[yy_current_state];
2946| find_rule: /* we branch to this label when backing up */
2947|               for ( ; ; ) /* until we find what rule we matched */
2948|                       {
2949|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
2950|                               {
2951|                               yy_act = yy_acclist[(yy_lp)];
2952|                                       {
2953|                                       (yy_full_match) = yy_cp;
2954|                                       break;
2955|                                       }
2956|                               }
2957|                       --yy_cp;
2958|                       yy_current_state = *--(yy_state_ptr);
2959|                       (yy_lp) = yy_accept[yy_current_state];
2960|                       }
2961|
2962|               YY_DO_BEFORE_ACTION;
2963|
2964| do_action:    /* This label is used only to access EOF actions. */
2965|
2966|               switch ( yy_act )
2967|       { /* beginning of action switch */
2968| case 1:
2969| YY_RULE_SETUP
2970| #line 2 "conftest.l"
2971| { ECHO; }
2972|       YY_BREAK
2973| case 2:
2974| YY_RULE_SETUP
2975| #line 3 "conftest.l"
2976| { REJECT; }
2977|       YY_BREAK
2978| case 3:
2979| YY_RULE_SETUP
2980| #line 4 "conftest.l"
2981| { yymore (); }
2982|       YY_BREAK
2983| case 4:
2984| YY_RULE_SETUP
2985| #line 5 "conftest.l"
2986| { yyless (1); }
2987|       YY_BREAK
2988| case 5:
2989| YY_RULE_SETUP
2990| #line 6 "conftest.l"
2991| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
2992|     yyless ((input () != 0)); }
2993|       YY_BREAK
2994| case 6:
2995| YY_RULE_SETUP
2996| #line 8 "conftest.l"
2997| { unput (yytext[0]); }
2998|       YY_BREAK
2999| case 7:
3000| YY_RULE_SETUP
3001| #line 9 "conftest.l"
3002| { BEGIN INITIAL; }
3003|       YY_BREAK
3004| case 8:
3005| YY_RULE_SETUP
3006| #line 10 "conftest.l"
3007| ECHO;
3008|       YY_BREAK
3009| #line 792 "lex.yy.c"
3010|                       case YY_STATE_EOF(INITIAL):
3011|                               yyterminate();
3012|
3013|       case YY_END_OF_BUFFER:
3014|               {
3015|               /* Amount of text matched not including the EOB char. */
3016|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
3017|
3018|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
3019|               *yy_cp = (yy_hold_char);
3020|               YY_RESTORE_YY_MORE_OFFSET
3021|
3022|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
3023|                       {
3024|                       /* We're scanning a new file or input source.  It's
3025|                        * possible that this happened because the user
3026|                        * just pointed yyin at a new source and called
3027|                        * yylex().  If so, then we have to assure
3028|                        * consistency between YY_CURRENT_BUFFER and our
3029|                        * globals.  Here is the right place to do so, because
3030|                        * this is the first action (other than possibly a
3031|                        * back-up) that will match for the new input source.
3032|                        */
3033|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3034|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
3035|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
3036|                       }
3037|
3038|               /* Note that here we test for yy_c_buf_p "<=" to the position
3039|                * of the first EOB in the buffer, since yy_c_buf_p will
3040|                * already have been incremented past the NUL character
3041|                * (since all states make transitions on EOB to the
3042|                * end-of-buffer state).  Contrast this with the test
3043|                * in input().
3044|                */
3045|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3046|                       { /* This was really a NUL. */
3047|                       yy_state_type yy_next_state;
3048|
3049|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
3050|
3051|                       yy_current_state = yy_get_previous_state(  );
3052|
3053|                       /* Okay, we're now positioned to make the NUL
3054|                        * transition.  We couldn't have
3055|                        * yy_get_previous_state() go ahead and do it
3056|                        * for us because it doesn't know how to deal
3057|                        * with the possibility of jamming (and we don't
3058|                        * want to build jamming into it because then it
3059|                        * will run more slowly).
3060|                        */
3061|
3062|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
3063|
3064|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3065|
3066|                       if ( yy_next_state )
3067|                               {
3068|                               /* Consume the NUL. */
3069|                               yy_cp = ++(yy_c_buf_p);
3070|                               yy_current_state = yy_next_state;
3071|                               goto yy_match;
3072|                               }
3073|
3074|                       else
3075|                               {
3076|                               yy_cp = (yy_c_buf_p);
3077|                               goto yy_find_action;
3078|                               }
3079|                       }
3080|
3081|               else switch ( yy_get_next_buffer(  ) )
3082|                       {
3083|                       case EOB_ACT_END_OF_FILE:
3084|                               {
3085|                               (yy_did_buffer_switch_on_eof) = 0;
3086|
3087|                               if ( yywrap( ) )
3088|                                       {
3089|                                       /* Note: because we've taken care in
3090|                                        * yy_get_next_buffer() to have set up
3091|                                        * yytext, we can now set up
3092|                                        * yy_c_buf_p so that if some total
3093|                                        * hoser (like flex itself) wants to
3094|                                        * call the scanner after we return the
3095|                                        * YY_NULL, it'll still work - another
3096|                                        * YY_NULL will get returned.
3097|                                        */
3098|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
3099|
3100|                                       yy_act = YY_STATE_EOF(YY_START);
3101|                                       goto do_action;
3102|                                       }
3103|
3104|                               else
3105|                                       {
3106|                                       if ( ! (yy_did_buffer_switch_on_eof) )
3107|                                               YY_NEW_FILE;
3108|                                       }
3109|                               break;
3110|                               }
3111|
3112|                       case EOB_ACT_CONTINUE_SCAN:
3113|                               (yy_c_buf_p) =
3114|                                       (yytext_ptr) + yy_amount_of_matched_text;
3115|
3116|                               yy_current_state = yy_get_previous_state(  );
3117|
3118|                               yy_cp = (yy_c_buf_p);
3119|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3120|                               goto yy_match;
3121|
3122|                       case EOB_ACT_LAST_MATCH:
3123|                               (yy_c_buf_p) =
3124|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
3125|
3126|                               yy_current_state = yy_get_previous_state(  );
3127|
3128|                               yy_cp = (yy_c_buf_p);
3129|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3130|                               goto yy_find_action;
3131|                       }
3132|               break;
3133|               }
3134|
3135|       default:
3136|               YY_FATAL_ERROR(
3137|                       "fatal flex scanner internal error--no action found" );
3138|       } /* end of action switch */
3139|               } /* end of scanning one token */
3140| } /* end of yylex */
3141|
3142| /* yy_get_next_buffer - try to read in a new buffer
3143|  *
3144|  * Returns a code representing an action:
3145|  *    EOB_ACT_LAST_MATCH -
3146|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
3147|  *    EOB_ACT_END_OF_FILE - end of file
3148|  */
3149| static int yy_get_next_buffer (void)
3150| {
3151|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
3152|       register char *source = (yytext_ptr);
3153|       register int number_to_move, i;
3154|       int ret_val;
3155|
3156|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
3157|               YY_FATAL_ERROR(
3158|               "fatal flex scanner internal error--end of buffer missed" );
3159|
3160|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
3161|               { /* Don't try to fill the buffer, so this is an EOF. */
3162|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
3163|                       {
3164|                       /* We matched a single character, the EOB, so
3165|                        * treat this as a final EOF.
3166|                        */
3167|                       return EOB_ACT_END_OF_FILE;
3168|                       }
3169|
3170|               else
3171|                       {
3172|                       /* We matched some text prior to the EOB, first
3173|                        * process it.
3174|                        */
3175|                       return EOB_ACT_LAST_MATCH;
3176|                       }
3177|               }
3178|
3179|       /* Try to read more data. */
3180|
3181|       /* First move last chars to start of buffer. */
3182|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
3183|
3184|       for ( i = 0; i < number_to_move; ++i )
3185|               *(dest++) = *(source++);
3186|
3187|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
3188|               /* don't do the read, it's not guaranteed to return an EOF,
3189|                * just force an EOF
3190|                */
3191|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
3192|
3193|       else
3194|               {
3195|                       yy_size_t num_to_read =
3196|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
3197|
3198|               while ( num_to_read <= 0 )
3199|                       { /* Not enough room in the buffer - grow it. */
3200|
3201|                       YY_FATAL_ERROR(
3202| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
3203|
3204|                       }
3205|
3206|               if ( num_to_read > YY_READ_BUF_SIZE )
3207|                       num_to_read = YY_READ_BUF_SIZE;
3208|
3209|               /* Read in more data. */
3210|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
3211|                       (yy_n_chars), num_to_read );
3212|
3213|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3214|               }
3215|
3216|       if ( (yy_n_chars) == 0 )
3217|               {
3218|               if ( number_to_move == YY_MORE_ADJ )
3219|                       {
3220|                       ret_val = EOB_ACT_END_OF_FILE;
3221|                       yyrestart(yyin  );
3222|                       }
3223|
3224|               else
3225|                       {
3226|                       ret_val = EOB_ACT_LAST_MATCH;
3227|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
3228|                               YY_BUFFER_EOF_PENDING;
3229|                       }
3230|               }
3231|
3232|       else
3233|               ret_val = EOB_ACT_CONTINUE_SCAN;
3234|
3235|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
3236|               /* Extend the array by 50%, plus the number we really need. */
3237|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
3238|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
3239|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3240|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
3241|       }
3242|
3243|       (yy_n_chars) += number_to_move;
3244|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
3245|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
3246|
3247|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
3248|
3249|       return ret_val;
3250| }
3251|
3252| /* yy_get_previous_state - get the state just before the EOB char was reached */
3253|
3254|     static yy_state_type yy_get_previous_state (void)
3255| {
3256|       register yy_state_type yy_current_state;
3257|       register char *yy_cp;
3258|     
3259|       yy_current_state = (yy_start);
3260|
3261|       (yy_state_ptr) = (yy_state_buf);
3262|       *(yy_state_ptr)++ = yy_current_state;
3263|
3264|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
3265|               {
3266|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
3267|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3268|                       {
3269|                       yy_current_state = (int) yy_def[yy_current_state];
3270|                       if ( yy_current_state >= 13 )
3271|                               yy_c = yy_meta[(unsigned int) yy_c];
3272|                       }
3273|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3274|               *(yy_state_ptr)++ = yy_current_state;
3275|               }
3276|
3277|       return yy_current_state;
3278| }
3279|
3280| /* yy_try_NUL_trans - try to make a transition on the NUL character
3281|  *
3282|  * synopsis
3283|  *    next_state = yy_try_NUL_trans( current_state );
3284|  */
3285|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
3286| {
3287|       register int yy_is_jam;
3288|     
3289|       register YY_CHAR yy_c = 1;
3290|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3291|               {
3292|               yy_current_state = (int) yy_def[yy_current_state];
3293|               if ( yy_current_state >= 13 )
3294|                       yy_c = yy_meta[(unsigned int) yy_c];
3295|               }
3296|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3297|       yy_is_jam = (yy_current_state == 12);
3298|       if ( ! yy_is_jam )
3299|               *(yy_state_ptr)++ = yy_current_state;
3300|
3301|               return yy_is_jam ? 0 : yy_current_state;
3302| }
3303|
3304|     static void yyunput (int c, register char * yy_bp )
3305| {
3306|       register char *yy_cp;
3307|     
3308|     yy_cp = (yy_c_buf_p);
3309|
3310|       /* undo effects of setting up yytext */
3311|       *yy_cp = (yy_hold_char);
3312|
3313|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3314|               { /* need to shift things up to make room */
3315|               /* +2 for EOB chars. */
3316|               register yy_size_t number_to_move = (yy_n_chars) + 2;
3317|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
3318|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
3319|               register char *source =
3320|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
3321|
3322|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3323|                       *--dest = *--source;
3324|
3325|               yy_cp += (int) (dest - source);
3326|               yy_bp += (int) (dest - source);
3327|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
3328|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
3329|
3330|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3331|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
3332|               }
3333|
3334|       *--yy_cp = (char) c;
3335|
3336|       (yytext_ptr) = yy_bp;
3337|       (yy_hold_char) = *yy_cp;
3338|       (yy_c_buf_p) = yy_cp;
3339| }
3340|
3341| #ifndef YY_NO_INPUT
3342| #ifdef __cplusplus
3343|     static int yyinput (void)
3344| #else
3345|     static int input  (void)
3346| #endif
3347|
3348| {
3349|       int c;
3350|     
3351|       *(yy_c_buf_p) = (yy_hold_char);
3352|
3353|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
3354|               {
3355|               /* yy_c_buf_p now points to the character we want to return.
3356|                * If this occurs *before* the EOB characters, then it's a
3357|                * valid NUL; if not, then we've hit the end of the buffer.
3358|                */
3359|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3360|                       /* This was really a NUL. */
3361|                       *(yy_c_buf_p) = '\0';
3362|
3363|               else
3364|                       { /* need more input */
3365|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
3366|                       ++(yy_c_buf_p);
3367|
3368|                       switch ( yy_get_next_buffer(  ) )
3369|                               {
3370|                               case EOB_ACT_LAST_MATCH:
3371|                                       /* This happens because yy_g_n_b()
3372|                                        * sees that we've accumulated a
3373|                                        * token and flags that we need to
3374|                                        * try matching the token before
3375|                                        * proceeding.  But for input(),
3376|                                        * there's no matching to consider.
3377|                                        * So convert the EOB_ACT_LAST_MATCH
3378|                                        * to EOB_ACT_END_OF_FILE.
3379|                                        */
3380|
3381|                                       /* Reset buffer status. */
3382|                                       yyrestart(yyin );
3383|
3384|                                       /*FALLTHROUGH*/
3385|
3386|                               case EOB_ACT_END_OF_FILE:
3387|                                       {
3388|                                       if ( yywrap( ) )
3389|                                               return EOF;
3390|
3391|                                       if ( ! (yy_did_buffer_switch_on_eof) )
3392|                                               YY_NEW_FILE;
3393| #ifdef __cplusplus
3394|                                       return yyinput();
3395| #else
3396|                                       return input();
3397| #endif
3398|                                       }
3399|
3400|                               case EOB_ACT_CONTINUE_SCAN:
3401|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
3402|                                       break;
3403|                               }
3404|                       }
3405|               }
3406|
3407|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
3408|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
3409|       (yy_hold_char) = *++(yy_c_buf_p);
3410|
3411|       return c;
3412| }
3413| #endif        /* ifndef YY_NO_INPUT */
3414|
3415| /** Immediately switch to a different input stream.
3416|  * @param input_file A readable stream.
3417|  *
3418|  * @note This function does not reset the start condition to @c INITIAL .
3419|  */
3420|     void yyrestart  (FILE * input_file )
3421| {
3422|     
3423|       if ( ! YY_CURRENT_BUFFER ){
3424|         yyensure_buffer_stack ();
3425|               YY_CURRENT_BUFFER_LVALUE =
3426|             yy_create_buffer(yyin,YY_BUF_SIZE );
3427|       }
3428|
3429|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
3430|       yy_load_buffer_state( );
3431| }
3432|
3433| /** Switch to a different input buffer.
3434|  * @param new_buffer The new input buffer.
3435|  *
3436|  */
3437|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
3438| {
3439|     
3440|       /* TODO. We should be able to replace this entire function body
3441|        * with
3442|        *              yypop_buffer_state();
3443|        *              yypush_buffer_state(new_buffer);
3444|      */
3445|       yyensure_buffer_stack ();
3446|       if ( YY_CURRENT_BUFFER == new_buffer )
3447|               return;
3448|
3449|       if ( YY_CURRENT_BUFFER )
3450|               {
3451|               /* Flush out information for old buffer. */
3452|               *(yy_c_buf_p) = (yy_hold_char);
3453|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3454|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3455|               }
3456|
3457|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
3458|       yy_load_buffer_state( );
3459|
3460|       /* We don't actually know whether we did this switch during
3461|        * EOF (yywrap()) processing, but the only time this flag
3462|        * is looked at is after yywrap() is called, so it's safe
3463|        * to go ahead and always set it.
3464|        */
3465|       (yy_did_buffer_switch_on_eof) = 1;
3466| }
3467|
3468| static void yy_load_buffer_state  (void)
3469| {
3470|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3471|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3472|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3473|       (yy_hold_char) = *(yy_c_buf_p);
3474| }
3475|
3476| /** Allocate and initialize an input buffer state.
3477|  * @param file A readable stream.
3478|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
3479|  *
3480|  * @return the allocated buffer state.
3481|  */
3482|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
3483| {
3484|       YY_BUFFER_STATE b;
3485|     
3486|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
3487|       if ( ! b )
3488|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3489|
3490|       b->yy_buf_size = size;
3491|
3492|       /* yy_ch_buf has to be 2 characters longer than the size given because
3493|        * we need to put in 2 end-of-buffer characters.
3494|        */
3495|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
3496|       if ( ! b->yy_ch_buf )
3497|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3498|
3499|       b->yy_is_our_buffer = 1;
3500|
3501|       yy_init_buffer(b,file );
3502|
3503|       return b;
3504| }
3505|
3506| /** Destroy the buffer.
3507|  * @param b a buffer created with yy_create_buffer()
3508|  *
3509|  */
3510|     void yy_delete_buffer (YY_BUFFER_STATE  b )
3511| {
3512|     
3513|       if ( ! b )
3514|               return;
3515|
3516|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
3517|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
3518|
3519|       if ( b->yy_is_our_buffer )
3520|               yyfree((void *) b->yy_ch_buf  );
3521|
3522|       yyfree((void *) b  );
3523| }
3524|
3525| /* Initializes or reinitializes a buffer.
3526|  * This function is sometimes called more than once on the same buffer,
3527|  * such as during a yyrestart() or at EOF.
3528|  */
3529|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
3530|
3531| {
3532|       int oerrno = errno;
3533|     
3534|       yy_flush_buffer(b );
3535|
3536|       b->yy_input_file = file;
3537|       b->yy_fill_buffer = 1;
3538|
3539|     /* If b is the current buffer, then yy_init_buffer was _probably_
3540|      * called from yyrestart() or through yy_get_next_buffer.
3541|      * In that case, we don't want to reset the lineno or column.
3542|      */
3543|     if (b != YY_CURRENT_BUFFER){
3544|         b->yy_bs_lineno = 1;
3545|         b->yy_bs_column = 0;
3546|     }
3547|
3548|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
3549|     
3550|       errno = oerrno;
3551| }
3552|
3553| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
3554|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
3555|  *
3556|  */
3557|     void yy_flush_buffer (YY_BUFFER_STATE  b )
3558| {
3559|       if ( ! b )
3560|               return;
3561|
3562|       b->yy_n_chars = 0;
3563|
3564|       /* We always need two end-of-buffer characters.  The first causes
3565|        * a transition to the end-of-buffer state.  The second causes
3566|        * a jam in that state.
3567|        */
3568|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3569|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3570|
3571|       b->yy_buf_pos = &b->yy_ch_buf[0];
3572|
3573|       b->yy_at_bol = 1;
3574|       b->yy_buffer_status = YY_BUFFER_NEW;
3575|
3576|       if ( b == YY_CURRENT_BUFFER )
3577|               yy_load_buffer_state( );
3578| }
3579|
3580| /** Pushes the new state onto the stack. The new state becomes
3581|  *  the current state. This function will allocate the stack
3582|  *  if necessary.
3583|  *  @param new_buffer The new state.
3584|  * 
3585|  */
3586| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
3587| {
3588|       if (new_buffer == NULL)
3589|               return;
3590|
3591|       yyensure_buffer_stack();
3592|
3593|       /* This block is copied from yy_switch_to_buffer. */
3594|       if ( YY_CURRENT_BUFFER )
3595|               {
3596|               /* Flush out information for old buffer. */
3597|               *(yy_c_buf_p) = (yy_hold_char);
3598|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3599|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3600|               }
3601|
3602|       /* Only push if top exists. Otherwise, replace top. */
3603|       if (YY_CURRENT_BUFFER)
3604|               (yy_buffer_stack_top)++;
3605|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
3606|
3607|       /* copied from yy_switch_to_buffer. */
3608|       yy_load_buffer_state( );
3609|       (yy_did_buffer_switch_on_eof) = 1;
3610| }
3611|
3612| /** Removes and deletes the top of the stack, if present.
3613|  *  The next element becomes the new top.
3614|  * 
3615|  */
3616| void yypop_buffer_state (void)
3617| {
3618|       if (!YY_CURRENT_BUFFER)
3619|               return;
3620|
3621|       yy_delete_buffer(YY_CURRENT_BUFFER );
3622|       YY_CURRENT_BUFFER_LVALUE = NULL;
3623|       if ((yy_buffer_stack_top) > 0)
3624|               --(yy_buffer_stack_top);
3625|
3626|       if (YY_CURRENT_BUFFER) {
3627|               yy_load_buffer_state( );
3628|               (yy_did_buffer_switch_on_eof) = 1;
3629|       }
3630| }
3631|
3632| /* Allocates the stack if it does not exist.
3633|  *  Guarantees space for at least one push.
3634|  */
3635| static void yyensure_buffer_stack (void)
3636| {
3637|       yy_size_t num_to_alloc;
3638|     
3639|       if (!(yy_buffer_stack)) {
3640|
3641|               /* First allocation is just for 2 elements, since we don't know if this
3642|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
3643|                * immediate realloc on the next call.
3644|          */
3645|               num_to_alloc = 1;
3646|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
3647|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
3648|                                                               );
3649|               if ( ! (yy_buffer_stack) )
3650|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3651|                                                                 
3652|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3653|                               
3654|               (yy_buffer_stack_max) = num_to_alloc;
3655|               (yy_buffer_stack_top) = 0;
3656|               return;
3657|       }
3658|
3659|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3660|
3661|               /* Increase the buffer to prepare for a possible push. */
3662|               int grow_size = 8 /* arbitrary grow size */;
3663|
3664|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
3665|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
3666|                                                               ((yy_buffer_stack),
3667|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
3668|                                                               );
3669|               if ( ! (yy_buffer_stack) )
3670|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3671|
3672|               /* zero only the new slots.*/
3673|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3674|               (yy_buffer_stack_max) = num_to_alloc;
3675|       }
3676| }
3677|
3678| /** Setup the input buffer state to scan directly from a user-specified character buffer.
3679|  * @param base the character buffer
3680|  * @param size the size in bytes of the character buffer
3681|  *
3682|  * @return the newly allocated buffer state object.
3683|  */
3684| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
3685| {
3686|       YY_BUFFER_STATE b;
3687|     
3688|       if ( size < 2 ||
3689|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
3690|            base[size-1] != YY_END_OF_BUFFER_CHAR )
3691|               /* They forgot to leave room for the EOB's. */
3692|               return 0;
3693|
3694|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
3695|       if ( ! b )
3696|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3697|
3698|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
3699|       b->yy_buf_pos = b->yy_ch_buf = base;
3700|       b->yy_is_our_buffer = 0;
3701|       b->yy_input_file = 0;
3702|       b->yy_n_chars = b->yy_buf_size;
3703|       b->yy_is_interactive = 0;
3704|       b->yy_at_bol = 1;
3705|       b->yy_fill_buffer = 0;
3706|       b->yy_buffer_status = YY_BUFFER_NEW;
3707|
3708|       yy_switch_to_buffer(b  );
3709|
3710|       return b;
3711| }
3712|
3713| /** Setup the input buffer state to scan a string. The next call to yylex() will
3714|  * scan from a @e copy of @a str.
3715|  * @param yystr a NUL-terminated string to scan
3716|  *
3717|  * @return the newly allocated buffer state object.
3718|  * @note If you want to scan bytes that may contain NUL values, then use
3719|  *       yy_scan_bytes() instead.
3720|  */
3721| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
3722| {
3723|     
3724|       return yy_scan_bytes(yystr,strlen(yystr) );
3725| }
3726|
3727| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
3728|  * scan from a @e copy of @a bytes.
3729|  * @param yybytes the byte buffer to scan
3730|  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
3731|  *
3732|  * @return the newly allocated buffer state object.
3733|  */
3734| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
3735| {
3736|       YY_BUFFER_STATE b;
3737|       char *buf;
3738|       yy_size_t n;
3739|       int i;
3740|     
3741|       /* Get memory for full buffer, including space for trailing EOB's. */
3742|       n = _yybytes_len + 2;
3743|       buf = (char *) yyalloc(n  );
3744|       if ( ! buf )
3745|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3746|
3747|       for ( i = 0; i < _yybytes_len; ++i )
3748|               buf[i] = yybytes[i];
3749|
3750|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
3751|
3752|       b = yy_scan_buffer(buf,n );
3753|       if ( ! b )
3754|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3755|
3756|       /* It's okay to grow etc. this buffer, and we should throw it
3757|        * away when we're done.
3758|        */
3759|       b->yy_is_our_buffer = 1;
3760|
3761|       return b;
3762| }
3763|
3764| #ifndef YY_EXIT_FAILURE
3765| #define YY_EXIT_FAILURE 2
3766| #endif
3767|
3768| static void yy_fatal_error (yyconst char* msg )
3769| {
3770|       (void) fprintf( stderr, "%s\n", msg );
3771|       exit( YY_EXIT_FAILURE );
3772| }
3773|
3774| /* Redefine yyless() so it works in section 3 code. */
3775|
3776| #undef yyless
3777| #define yyless(n) \
3778|       do \
3779|               { \
3780|               /* Undo effects of setting up yytext. */ \
3781|         int yyless_macro_arg = (n); \
3782|         YY_LESS_LINENO(yyless_macro_arg);\
3783|               yytext[yyleng] = (yy_hold_char); \
3784|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
3785|               (yy_hold_char) = *(yy_c_buf_p); \
3786|               *(yy_c_buf_p) = '\0'; \
3787|               yyleng = yyless_macro_arg; \
3788|               } \
3789|       while ( 0 )
3790|
3791| /* Accessor  methods (get/set functions) to struct members. */
3792|
3793| /** Get the current line number.
3794|  *
3795|  */
3796| int yyget_lineno  (void)
3797| {
3798|         
3799|     return yylineno;
3800| }
3801|
3802| /** Get the input stream.
3803|  *
3804|  */
3805| FILE *yyget_in  (void)
3806| {
3807|         return yyin;
3808| }
3809|
3810| /** Get the output stream.
3811|  *
3812|  */
3813| FILE *yyget_out  (void)
3814| {
3815|         return yyout;
3816| }
3817|
3818| /** Get the length of the current token.
3819|  *
3820|  */
3821| yy_size_t yyget_leng  (void)
3822| {
3823|         return yyleng;
3824| }
3825|
3826| /** Get the current token.
3827|  *
3828|  */
3829|
3830| char *yyget_text  (void)
3831| {
3832|         return yytext;
3833| }
3834|
3835| /** Set the current line number.
3836|  * @param line_number
3837|  *
3838|  */
3839| void yyset_lineno (int  line_number )
3840| {
3841|     
3842|     yylineno = line_number;
3843| }
3844|
3845| /** Set the input stream. This does not discard the current
3846|  * input buffer.
3847|  * @param in_str A readable stream.
3848|  *
3849|  * @see yy_switch_to_buffer
3850|  */
3851| void yyset_in (FILE *  in_str )
3852| {
3853|         yyin = in_str ;
3854| }
3855|
3856| void yyset_out (FILE *  out_str )
3857| {
3858|         yyout = out_str ;
3859| }
3860|
3861| int yyget_debug  (void)
3862| {
3863|         return yy_flex_debug;
3864| }
3865|
3866| void yyset_debug (int  bdebug )
3867| {
3868|         yy_flex_debug = bdebug ;
3869| }
3870|
3871| static int yy_init_globals (void)
3872| {
3873|         /* Initialization is the same as for the non-reentrant scanner.
3874|      * This function is called from yylex_destroy(), so don't allocate here.
3875|      */
3876|
3877|     (yy_buffer_stack) = 0;
3878|     (yy_buffer_stack_top) = 0;
3879|     (yy_buffer_stack_max) = 0;
3880|     (yy_c_buf_p) = (char *) 0;
3881|     (yy_init) = 0;
3882|     (yy_start) = 0;
3883|
3884|     (yy_state_buf) = 0;
3885|     (yy_state_ptr) = 0;
3886|     (yy_full_match) = 0;
3887|     (yy_lp) = 0;
3888|
3889| /* Defined in main.c */
3890| #ifdef YY_STDINIT
3891|     yyin = stdin;
3892|     yyout = stdout;
3893| #else
3894|     yyin = (FILE *) 0;
3895|     yyout = (FILE *) 0;
3896| #endif
3897|
3898|     /* For future reference: Set errno on error, since we are called by
3899|      * yylex_init()
3900|      */
3901|     return 0;
3902| }
3903|
3904| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
3905| int yylex_destroy  (void)
3906| {
3907|     
3908|     /* Pop the buffer stack, destroying each element. */
3909|       while(YY_CURRENT_BUFFER){
3910|               yy_delete_buffer(YY_CURRENT_BUFFER  );
3911|               YY_CURRENT_BUFFER_LVALUE = NULL;
3912|               yypop_buffer_state();
3913|       }
3914|
3915|       /* Destroy the stack itself. */
3916|       yyfree((yy_buffer_stack) );
3917|       (yy_buffer_stack) = NULL;
3918|
3919|     yyfree ( (yy_state_buf) );
3920|     (yy_state_buf)  = NULL;
3921|
3922|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
3923|      * yylex() is called, initialization will occur. */
3924|     yy_init_globals( );
3925|
3926|     return 0;
3927| }
3928|
3929| /*
3930|  * Internal utility routines.
3931|  */
3932|
3933| #ifndef yytext_ptr
3934| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
3935| {
3936|       register int i;
3937|       for ( i = 0; i < n; ++i )
3938|               s1[i] = s2[i];
3939| }
3940| #endif
3941|
3942| #ifdef YY_NEED_STRLEN
3943| static int yy_flex_strlen (yyconst char * s )
3944| {
3945|       register int n;
3946|       for ( n = 0; s[n]; ++n )
3947|               ;
3948|
3949|       return n;
3950| }
3951| #endif
3952|
3953| void *yyalloc (yy_size_t  size )
3954| {
3955|       return (void *) malloc( size );
3956| }
3957|
3958| void *yyrealloc  (void * ptr, yy_size_t  size )
3959| {
3960|       /* The cast to (char *) in the following accommodates both
3961|        * implementations that use char* generic pointers, and those
3962|        * that use void* generic pointers.  It works with the latter
3963|        * because both ANSI C and C++ allow castless assignment from
3964|        * any pointer type to void*, and deal with argument conversions
3965|        * as though doing an assignment.
3966|        */
3967|       return (void *) realloc( (char *) ptr, size );
3968| }
3969|
3970| void yyfree (void * ptr )
3971| {
3972|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
3973| }
3974|
3975| #define YYTABLES_NAME "yytables"
3976|
3977| #line 10 "conftest.l"
3978|
3979|
3980| #ifdef YYTEXT_POINTER
3981| extern char *yytext;
3982| #endif
3983| int
3984| main (void)
3985| {
3986|   return ! yylex () + ! yywrap ();
3987| }
3988configure:6122: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -ll  >&5
3989ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cc7QEf25.o because Unknown instruction for architecture x86_64
3990collect2: ld returned 1 exit status
3991configure:6122: $? = 1
3992configure: failed program was:
3993| /* confdefs.h */
3994| #define PACKAGE_NAME "unbound"
3995| #define PACKAGE_TARNAME "unbound"
3996| #define PACKAGE_VERSION "1.5.4"
3997| #define PACKAGE_STRING "unbound 1.5.4"
3998| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
3999| #define PACKAGE_URL ""
4000| #define STDC_HEADERS 1
4001| #define HAVE_SYS_TYPES_H 1
4002| #define HAVE_SYS_STAT_H 1
4003| #define HAVE_STDLIB_H 1
4004| #define HAVE_STRING_H 1
4005| #define HAVE_MEMORY_H 1
4006| #define HAVE_STRINGS_H 1
4007| #define HAVE_INTTYPES_H 1
4008| #define HAVE_STDINT_H 1
4009| #define HAVE_UNISTD_H 1
4010| #define __EXTENSIONS__ 1
4011| #define _ALL_SOURCE 1
4012| #define _GNU_SOURCE 1
4013| #define _POSIX_PTHREAD_SEMANTICS 1
4014| #define _TANDEM_SOURCE 1
4015| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
4016| #define RUN_DIR "/opt/local/etc/unbound"
4017| #define CHROOT_DIR "/opt/local/etc/unbound"
4018| #define SHARE_DIR "/opt/local/etc/unbound"
4019| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
4020| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
4021| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
4022| #define UB_USERNAME "unbound"
4023| #define WINVER 0x0502
4024| #define RSRC_PACKAGE_VERSION 1,5,4,0
4025| #define HAVE_GETOPT_H 1
4026| #define HAVE_TIME_H 1
4027| #define HAVE_ATTR_FORMAT 1
4028| #define HAVE_ATTR_UNUSED 1
4029| /* end confdefs.h.  */
4030|
4031| #line 3 "lex.yy.c"
4032|
4033| #define  YY_INT_ALIGNED short int
4034|
4035| /* A lexical scanner generated by flex */
4036|
4037| #define FLEX_SCANNER
4038| #define YY_FLEX_MAJOR_VERSION 2
4039| #define YY_FLEX_MINOR_VERSION 5
4040| #define YY_FLEX_SUBMINOR_VERSION 37
4041| #if YY_FLEX_SUBMINOR_VERSION > 0
4042| #define FLEX_BETA
4043| #endif
4044|
4045| /* First, we deal with  platform-specific or compiler-specific issues. */
4046|
4047| /* begin standard C headers. */
4048| #include <stdio.h>
4049| #include <string.h>
4050| #include <errno.h>
4051| #include <stdlib.h>
4052|
4053| /* end standard C headers. */
4054|
4055| /* flex integer type definitions */
4056|
4057| #ifndef FLEXINT_H
4058| #define FLEXINT_H
4059|
4060| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
4061|
4062| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
4063|
4064| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
4065|  * if you want the limit (max/min) macros for int types.
4066|  */
4067| #ifndef __STDC_LIMIT_MACROS
4068| #define __STDC_LIMIT_MACROS 1
4069| #endif
4070|
4071| #include <inttypes.h>
4072| typedef int8_t flex_int8_t;
4073| typedef uint8_t flex_uint8_t;
4074| typedef int16_t flex_int16_t;
4075| typedef uint16_t flex_uint16_t;
4076| typedef int32_t flex_int32_t;
4077| typedef uint32_t flex_uint32_t;
4078| #else
4079| typedef signed char flex_int8_t;
4080| typedef short int flex_int16_t;
4081| typedef int flex_int32_t;
4082| typedef unsigned char flex_uint8_t;
4083| typedef unsigned short int flex_uint16_t;
4084| typedef unsigned int flex_uint32_t;
4085|
4086| /* Limits of integral types. */
4087| #ifndef INT8_MIN
4088| #define INT8_MIN               (-128)
4089| #endif
4090| #ifndef INT16_MIN
4091| #define INT16_MIN              (-32767-1)
4092| #endif
4093| #ifndef INT32_MIN
4094| #define INT32_MIN              (-2147483647-1)
4095| #endif
4096| #ifndef INT8_MAX
4097| #define INT8_MAX               (127)
4098| #endif
4099| #ifndef INT16_MAX
4100| #define INT16_MAX              (32767)
4101| #endif
4102| #ifndef INT32_MAX
4103| #define INT32_MAX              (2147483647)
4104| #endif
4105| #ifndef UINT8_MAX
4106| #define UINT8_MAX              (255U)
4107| #endif
4108| #ifndef UINT16_MAX
4109| #define UINT16_MAX             (65535U)
4110| #endif
4111| #ifndef UINT32_MAX
4112| #define UINT32_MAX             (4294967295U)
4113| #endif
4114|
4115| #endif /* ! C99 */
4116|
4117| #endif /* ! FLEXINT_H */
4118|
4119| #ifdef __cplusplus
4120|
4121| /* The "const" storage-class-modifier is valid. */
4122| #define YY_USE_CONST
4123|
4124| #else /* ! __cplusplus */
4125|
4126| /* C99 requires __STDC__ to be defined as 1. */
4127| #if defined (__STDC__)
4128|
4129| #define YY_USE_CONST
4130|
4131| #endif        /* defined (__STDC__) */
4132| #endif        /* ! __cplusplus */
4133|
4134| #ifdef YY_USE_CONST
4135| #define yyconst const
4136| #else
4137| #define yyconst
4138| #endif
4139|
4140| /* Returned upon end-of-file. */
4141| #define YY_NULL 0
4142|
4143| /* Promotes a possibly negative, possibly signed char to an unsigned
4144|  * integer for use as an array index.  If the signed char is negative,
4145|  * we want to instead treat it as an 8-bit unsigned char, hence the
4146|  * double cast.
4147|  */
4148| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
4149|
4150| /* Enter a start condition.  This macro really ought to take a parameter,
4151|  * but we do it the disgusting crufty way forced on us by the ()-less
4152|  * definition of BEGIN.
4153|  */
4154| #define BEGIN (yy_start) = 1 + 2 *
4155|
4156| /* Translate the current start state into a value that can be later handed
4157|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
4158|  * compatibility.
4159|  */
4160| #define YY_START (((yy_start) - 1) / 2)
4161| #define YYSTATE YY_START
4162|
4163| /* Action number for EOF rule of a given start state. */
4164| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
4165|
4166| /* Special action meaning "start processing a new file". */
4167| #define YY_NEW_FILE yyrestart(yyin  )
4168|
4169| #define YY_END_OF_BUFFER_CHAR 0
4170|
4171| /* Size of default input buffer. */
4172| #ifndef YY_BUF_SIZE
4173| #define YY_BUF_SIZE 16384
4174| #endif
4175|
4176| /* The state buf must be large enough to hold one state per character in the main buffer.
4177|  */
4178| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
4179|
4180| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
4181| #define YY_TYPEDEF_YY_BUFFER_STATE
4182| typedef struct yy_buffer_state *YY_BUFFER_STATE;
4183| #endif
4184|
4185| #ifndef YY_TYPEDEF_YY_SIZE_T
4186| #define YY_TYPEDEF_YY_SIZE_T
4187| typedef size_t yy_size_t;
4188| #endif
4189|
4190| extern yy_size_t yyleng;
4191|
4192| extern FILE *yyin, *yyout;
4193|
4194| #define EOB_ACT_CONTINUE_SCAN 0
4195| #define EOB_ACT_END_OF_FILE 1
4196| #define EOB_ACT_LAST_MATCH 2
4197|
4198|     #define YY_LESS_LINENO(n)
4199|     
4200| /* Return all but the first "n" matched characters back to the input stream. */
4201| #define yyless(n) \
4202|       do \
4203|               { \
4204|               /* Undo effects of setting up yytext. */ \
4205|         int yyless_macro_arg = (n); \
4206|         YY_LESS_LINENO(yyless_macro_arg);\
4207|               *yy_cp = (yy_hold_char); \
4208|               YY_RESTORE_YY_MORE_OFFSET \
4209|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
4210|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
4211|               } \
4212|       while ( 0 )
4213|
4214| #define unput(c) yyunput( c, (yytext_ptr)  )
4215|
4216| #ifndef YY_STRUCT_YY_BUFFER_STATE
4217| #define YY_STRUCT_YY_BUFFER_STATE
4218| struct yy_buffer_state
4219|       {
4220|       FILE *yy_input_file;
4221|
4222|       char *yy_ch_buf;                /* input buffer */
4223|       char *yy_buf_pos;               /* current position in input buffer */
4224|
4225|       /* Size of input buffer in bytes, not including room for EOB
4226|        * characters.
4227|        */
4228|       yy_size_t yy_buf_size;
4229|
4230|       /* Number of characters read into yy_ch_buf, not including EOB
4231|        * characters.
4232|        */
4233|       yy_size_t yy_n_chars;
4234|
4235|       /* Whether we "own" the buffer - i.e., we know we created it,
4236|        * and can realloc() it to grow it, and should free() it to
4237|        * delete it.
4238|        */
4239|       int yy_is_our_buffer;
4240|
4241|       /* Whether this is an "interactive" input source; if so, and
4242|        * if we're using stdio for input, then we want to use getc()
4243|        * instead of fread(), to make sure we stop fetching input after
4244|        * each newline.
4245|        */
4246|       int yy_is_interactive;
4247|
4248|       /* Whether we're considered to be at the beginning of a line.
4249|        * If so, '^' rules will be active on the next match, otherwise
4250|        * not.
4251|        */
4252|       int yy_at_bol;
4253|
4254|     int yy_bs_lineno; /**< The line count. */
4255|     int yy_bs_column; /**< The column count. */
4256|     
4257|       /* Whether to try to fill the input buffer when we reach the
4258|        * end of it.
4259|        */
4260|       int yy_fill_buffer;
4261|
4262|       int yy_buffer_status;
4263|
4264| #define YY_BUFFER_NEW 0
4265| #define YY_BUFFER_NORMAL 1
4266|       /* When an EOF's been seen but there's still some text to process
4267|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
4268|        * shouldn't try reading from the input source any more.  We might
4269|        * still have a bunch of tokens to match, though, because of
4270|        * possible backing-up.
4271|        *
4272|        * When we actually see the EOF, we change the status to "new"
4273|        * (via yyrestart()), so that the user can continue scanning by
4274|        * just pointing yyin at a new input file.
4275|        */
4276| #define YY_BUFFER_EOF_PENDING 2
4277|
4278|       };
4279| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
4280|
4281| /* Stack of input buffers. */
4282| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
4283| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
4284| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
4285|
4286| /* We provide macros for accessing buffer states in case in the
4287|  * future we want to put the buffer states in a more general
4288|  * "scanner state".
4289|  *
4290|  * Returns the top of the stack, or NULL.
4291|  */
4292| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
4293|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
4294|                           : NULL)
4295|
4296| /* Same as previous macro, but useful when we know that the buffer stack is not
4297|  * NULL or when we need an lvalue. For internal use only.
4298|  */
4299| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
4300|
4301| /* yy_hold_char holds the character lost when yytext is formed. */
4302| static char yy_hold_char;
4303| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
4304| yy_size_t yyleng;
4305|
4306| /* Points to current character in buffer. */
4307| static char *yy_c_buf_p = (char *) 0;
4308| static int yy_init = 0;               /* whether we need to initialize */
4309| static int yy_start = 0;      /* start state number */
4310|
4311| /* Flag which is used to allow yywrap()'s to do buffer switches
4312|  * instead of setting up a fresh yyin.  A bit of a hack ...
4313|  */
4314| static int yy_did_buffer_switch_on_eof;
4315|
4316| void yyrestart (FILE *input_file  );
4317| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
4318| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
4319| void yy_delete_buffer (YY_BUFFER_STATE b  );
4320| void yy_flush_buffer (YY_BUFFER_STATE b  );
4321| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
4322| void yypop_buffer_state (void );
4323|
4324| static void yyensure_buffer_stack (void );
4325| static void yy_load_buffer_state (void );
4326| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
4327|
4328| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
4329|
4330| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
4331| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
4332| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
4333|
4334| void *yyalloc (yy_size_t  );
4335| void *yyrealloc (void *,yy_size_t  );
4336| void yyfree (void *  );
4337|
4338| #define yy_new_buffer yy_create_buffer
4339|
4340| #define yy_set_interactive(is_interactive) \
4341|       { \
4342|       if ( ! YY_CURRENT_BUFFER ){ \
4343|         yyensure_buffer_stack (); \
4344|               YY_CURRENT_BUFFER_LVALUE =    \
4345|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
4346|       } \
4347|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
4348|       }
4349|
4350| #define yy_set_bol(at_bol) \
4351|       { \
4352|       if ( ! YY_CURRENT_BUFFER ){\
4353|         yyensure_buffer_stack (); \
4354|               YY_CURRENT_BUFFER_LVALUE =    \
4355|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
4356|       } \
4357|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
4358|       }
4359|
4360| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
4361|
4362| /* Begin user sect3 */
4363|
4364| typedef unsigned char YY_CHAR;
4365|
4366| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
4367|
4368| typedef int yy_state_type;
4369|
4370| extern int yylineno;
4371|
4372| int yylineno = 1;
4373|
4374| extern char *yytext;
4375| #define yytext_ptr yytext
4376|
4377| static yy_state_type yy_get_previous_state (void );
4378| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
4379| static int yy_get_next_buffer (void );
4380| static void yy_fatal_error (yyconst char msg[]  );
4381|
4382| /* Done after the current pattern has been matched and before the
4383|  * corresponding action - sets up yytext.
4384|  */
4385| #define YY_DO_BEFORE_ACTION \
4386|       (yytext_ptr) = yy_bp; \
4387|       (yytext_ptr) -= (yy_more_len); \
4388|       yyleng = (size_t) (yy_cp - (yytext_ptr)); \
4389|       (yy_hold_char) = *yy_cp; \
4390|       *yy_cp = '\0'; \
4391|       (yy_c_buf_p) = yy_cp;
4392|
4393| #define YY_NUM_RULES 8
4394| #define YY_END_OF_BUFFER 9
4395| /* This struct is not used in this scanner,
4396|    but its presence is necessary. */
4397| struct yy_trans_info
4398|       {
4399|       flex_int32_t yy_verify;
4400|       flex_int32_t yy_nxt;
4401|       };
4402| static yyconst flex_int16_t yy_acclist[23] =
4403|     {   0,
4404|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
4405|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
4406|         7,    8
4407|     } ;
4408|
4409| static yyconst flex_int16_t yy_accept[14] =
4410|     {   0,
4411|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
4412|        20,   23,   23
4413|     } ;
4414|
4415| static yyconst flex_int32_t yy_ec[256] =
4416|     {   0,
4417|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
4418|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4419|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4420|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4421|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4422|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4423|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4424|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4425|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4426|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
4427|
4428|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
4429|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4430|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4431|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4432|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4433|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4434|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4435|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4436|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4437|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4438|
4439|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4440|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4441|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4442|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4443|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
4444|         1,    1,    1,    1,    1
4445|     } ;
4446|
4447| static yyconst flex_int32_t yy_meta[9] =
4448|     {   0,
4449|         1,    1,    1,    1,    1,    1,    1,    1
4450|     } ;
4451|
4452| static yyconst flex_int16_t yy_base[13] =
4453|     {   0,
4454|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
4455|        10,   10
4456|     } ;
4457|
4458| static yyconst flex_int16_t yy_def[13] =
4459|     {   0,
4460|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
4461|        12,    0
4462|     } ;
4463|
4464| static yyconst flex_int16_t yy_nxt[19] =
4465|     {   0,
4466|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
4467|        12,   12,   12,   12,   12,   12,   12,   12
4468|     } ;
4469|
4470| static yyconst flex_int16_t yy_chk[19] =
4471|     {   0,
4472|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
4473|        12,   12,   12,   12,   12,   12,   12,   12
4474|     } ;
4475|
4476| extern int yy_flex_debug;
4477| int yy_flex_debug = 0;
4478|
4479| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
4480| static char *yy_full_match;
4481| static int yy_lp;
4482| #define REJECT \
4483| { \
4484| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
4485| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
4486| ++(yy_lp); \
4487| goto find_rule; \
4488| }
4489|
4490| static int yy_more_flag = 0;
4491| static int yy_more_len = 0;
4492| #define yymore() ((yy_more_flag) = 1)
4493| #define YY_MORE_ADJ (yy_more_len)
4494| #define YY_RESTORE_YY_MORE_OFFSET
4495| char *yytext;
4496| #line 1 "conftest.l"
4497| #line 469 "lex.yy.c"
4498|
4499| #define INITIAL 0
4500|
4501| #ifndef YY_NO_UNISTD_H
4502| /* Special case for "unistd.h", since it is non-ANSI. We include it way
4503|  * down here because we want the user's section 1 to have been scanned first.
4504|  * The user has a chance to override it with an option.
4505|  */
4506| #include <unistd.h>
4507| #endif
4508|
4509| #ifndef YY_EXTRA_TYPE
4510| #define YY_EXTRA_TYPE void *
4511| #endif
4512|
4513| static int yy_init_globals (void );
4514|
4515| /* Accessor methods to globals.
4516|    These are made visible to non-reentrant scanners for convenience. */
4517|
4518| int yylex_destroy (void );
4519|
4520| int yyget_debug (void );
4521|
4522| void yyset_debug (int debug_flag  );
4523|
4524| YY_EXTRA_TYPE yyget_extra (void );
4525|
4526| void yyset_extra (YY_EXTRA_TYPE user_defined  );
4527|
4528| FILE *yyget_in (void );
4529|
4530| void yyset_in  (FILE * in_str  );
4531|
4532| FILE *yyget_out (void );
4533|
4534| void yyset_out  (FILE * out_str  );
4535|
4536| yy_size_t yyget_leng (void );
4537|
4538| char *yyget_text (void );
4539|
4540| int yyget_lineno (void );
4541|
4542| void yyset_lineno (int line_number  );
4543|
4544| /* Macros after this point can all be overridden by user definitions in
4545|  * section 1.
4546|  */
4547|
4548| #ifndef YY_SKIP_YYWRAP
4549| #ifdef __cplusplus
4550| extern "C" int yywrap (void );
4551| #else
4552| extern int yywrap (void );
4553| #endif
4554| #endif
4555|
4556|     static void yyunput (int c,char *buf_ptr  );
4557|     
4558| #ifndef yytext_ptr
4559| static void yy_flex_strncpy (char *,yyconst char *,int );
4560| #endif
4561|
4562| #ifdef YY_NEED_STRLEN
4563| static int yy_flex_strlen (yyconst char * );
4564| #endif
4565|
4566| #ifndef YY_NO_INPUT
4567|
4568| #ifdef __cplusplus
4569| static int yyinput (void );
4570| #else
4571| static int input (void );
4572| #endif
4573|
4574| #endif
4575|
4576| /* Amount of stuff to slurp up with each read. */
4577| #ifndef YY_READ_BUF_SIZE
4578| #define YY_READ_BUF_SIZE 8192
4579| #endif
4580|
4581| /* Copy whatever the last rule matched to the standard output. */
4582| #ifndef ECHO
4583| /* This used to be an fputs(), but since the string might contain NUL's,
4584|  * we now use fwrite().
4585|  */
4586| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
4587| #endif
4588|
4589| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
4590|  * is returned in "result".
4591|  */
4592| #ifndef YY_INPUT
4593| #define YY_INPUT(buf,result,max_size) \
4594|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
4595|               { \
4596|               int c = '*'; \
4597|               size_t n; \
4598|               for ( n = 0; n < max_size && \
4599|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
4600|                       buf[n] = (char) c; \
4601|               if ( c == '\n' ) \
4602|                       buf[n++] = (char) c; \
4603|               if ( c == EOF && ferror( yyin ) ) \
4604|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
4605|               result = n; \
4606|               } \
4607|       else \
4608|               { \
4609|               errno=0; \
4610|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
4611|                       { \
4612|                       if( errno != EINTR) \
4613|                               { \
4614|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
4615|                               break; \
4616|                               } \
4617|                       errno=0; \
4618|                       clearerr(yyin); \
4619|                       } \
4620|               }\
4621| \
4622|
4623| #endif
4624|
4625| /* No semi-colon after return; correct usage is to write "yyterminate();" -
4626|  * we don't want an extra ';' after the "return" because that will cause
4627|  * some compilers to complain about unreachable statements.
4628|  */
4629| #ifndef yyterminate
4630| #define yyterminate() return YY_NULL
4631| #endif
4632|
4633| /* Number of entries by which start-condition stack grows. */
4634| #ifndef YY_START_STACK_INCR
4635| #define YY_START_STACK_INCR 25
4636| #endif
4637|
4638| /* Report a fatal error. */
4639| #ifndef YY_FATAL_ERROR
4640| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
4641| #endif
4642|
4643| /* end tables serialization structures and prototypes */
4644|
4645| /* Default declaration of generated scanner - a define so the user can
4646|  * easily add parameters.
4647|  */
4648| #ifndef YY_DECL
4649| #define YY_DECL_IS_OURS 1
4650|
4651| extern int yylex (void);
4652|
4653| #define YY_DECL int yylex (void)
4654| #endif /* !YY_DECL */
4655|
4656| /* Code executed at the beginning of each rule, after yytext and yyleng
4657|  * have been set up.
4658|  */
4659| #ifndef YY_USER_ACTION
4660| #define YY_USER_ACTION
4661| #endif
4662|
4663| /* Code executed at the end of each rule. */
4664| #ifndef YY_BREAK
4665| #define YY_BREAK break;
4666| #endif
4667|
4668| #define YY_RULE_SETUP \
4669|       YY_USER_ACTION
4670|
4671| /** The main scanner function which does all the work.
4672|  */
4673| YY_DECL
4674| {
4675|       register yy_state_type yy_current_state;
4676|       register char *yy_cp, *yy_bp;
4677|       register int yy_act;
4678|     
4679| #line 1 "conftest.l"
4680|
4681| #line 653 "lex.yy.c"
4682|
4683|       if ( !(yy_init) )
4684|               {
4685|               (yy_init) = 1;
4686|
4687| #ifdef YY_USER_INIT
4688|               YY_USER_INIT;
4689| #endif
4690|
4691|         /* Create the reject buffer large enough to save one state per allowed character. */
4692|         if ( ! (yy_state_buf) )
4693|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
4694|             if ( ! (yy_state_buf) )
4695|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
4696|
4697|               if ( ! (yy_start) )
4698|                       (yy_start) = 1; /* first start state */
4699|
4700|               if ( ! yyin )
4701|                       yyin = stdin;
4702|
4703|               if ( ! yyout )
4704|                       yyout = stdout;
4705|
4706|               if ( ! YY_CURRENT_BUFFER ) {
4707|                       yyensure_buffer_stack ();
4708|                       YY_CURRENT_BUFFER_LVALUE =
4709|                               yy_create_buffer(yyin,YY_BUF_SIZE );
4710|               }
4711|
4712|               yy_load_buffer_state( );
4713|               }
4714|
4715|       while ( 1 )             /* loops until end-of-file is reached */
4716|               {
4717|               (yy_more_len) = 0;
4718|               if ( (yy_more_flag) )
4719|                       {
4720|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
4721|                       (yy_more_flag) = 0;
4722|                       }
4723|               yy_cp = (yy_c_buf_p);
4724|
4725|               /* Support of yytext. */
4726|               *yy_cp = (yy_hold_char);
4727|
4728|               /* yy_bp points to the position in yy_ch_buf of the start of
4729|                * the current run.
4730|                */
4731|               yy_bp = yy_cp;
4732|
4733|               yy_current_state = (yy_start);
4734|
4735|               (yy_state_ptr) = (yy_state_buf);
4736|               *(yy_state_ptr)++ = yy_current_state;
4737|
4738| yy_match:
4739|               do
4740|                       {
4741|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
4742|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
4743|                               {
4744|                               yy_current_state = (int) yy_def[yy_current_state];
4745|                               if ( yy_current_state >= 13 )
4746|                                       yy_c = yy_meta[(unsigned int) yy_c];
4747|                               }
4748|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
4749|                       *(yy_state_ptr)++ = yy_current_state;
4750|                       ++yy_cp;
4751|                       }
4752|               while ( yy_base[yy_current_state] != 10 );
4753|
4754| yy_find_action:
4755|               yy_current_state = *--(yy_state_ptr);
4756|               (yy_lp) = yy_accept[yy_current_state];
4757| find_rule: /* we branch to this label when backing up */
4758|               for ( ; ; ) /* until we find what rule we matched */
4759|                       {
4760|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
4761|                               {
4762|                               yy_act = yy_acclist[(yy_lp)];
4763|                                       {
4764|                                       (yy_full_match) = yy_cp;
4765|                                       break;
4766|                                       }
4767|                               }
4768|                       --yy_cp;
4769|                       yy_current_state = *--(yy_state_ptr);
4770|                       (yy_lp) = yy_accept[yy_current_state];
4771|                       }
4772|
4773|               YY_DO_BEFORE_ACTION;
4774|
4775| do_action:    /* This label is used only to access EOF actions. */
4776|
4777|               switch ( yy_act )
4778|       { /* beginning of action switch */
4779| case 1:
4780| YY_RULE_SETUP
4781| #line 2 "conftest.l"
4782| { ECHO; }
4783|       YY_BREAK
4784| case 2:
4785| YY_RULE_SETUP
4786| #line 3 "conftest.l"
4787| { REJECT; }
4788|       YY_BREAK
4789| case 3:
4790| YY_RULE_SETUP
4791| #line 4 "conftest.l"
4792| { yymore (); }
4793|       YY_BREAK
4794| case 4:
4795| YY_RULE_SETUP
4796| #line 5 "conftest.l"
4797| { yyless (1); }
4798|       YY_BREAK
4799| case 5:
4800| YY_RULE_SETUP
4801| #line 6 "conftest.l"
4802| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4803|     yyless ((input () != 0)); }
4804|       YY_BREAK
4805| case 6:
4806| YY_RULE_SETUP
4807| #line 8 "conftest.l"
4808| { unput (yytext[0]); }
4809|       YY_BREAK
4810| case 7:
4811| YY_RULE_SETUP
4812| #line 9 "conftest.l"
4813| { BEGIN INITIAL; }
4814|       YY_BREAK
4815| case 8:
4816| YY_RULE_SETUP
4817| #line 10 "conftest.l"
4818| ECHO;
4819|       YY_BREAK
4820| #line 792 "lex.yy.c"
4821|                       case YY_STATE_EOF(INITIAL):
4822|                               yyterminate();
4823|
4824|       case YY_END_OF_BUFFER:
4825|               {
4826|               /* Amount of text matched not including the EOB char. */
4827|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
4828|
4829|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
4830|               *yy_cp = (yy_hold_char);
4831|               YY_RESTORE_YY_MORE_OFFSET
4832|
4833|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
4834|                       {
4835|                       /* We're scanning a new file or input source.  It's
4836|                        * possible that this happened because the user
4837|                        * just pointed yyin at a new source and called
4838|                        * yylex().  If so, then we have to assure
4839|                        * consistency between YY_CURRENT_BUFFER and our
4840|                        * globals.  Here is the right place to do so, because
4841|                        * this is the first action (other than possibly a
4842|                        * back-up) that will match for the new input source.
4843|                        */
4844|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
4845|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
4846|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
4847|                       }
4848|
4849|               /* Note that here we test for yy_c_buf_p "<=" to the position
4850|                * of the first EOB in the buffer, since yy_c_buf_p will
4851|                * already have been incremented past the NUL character
4852|                * (since all states make transitions on EOB to the
4853|                * end-of-buffer state).  Contrast this with the test
4854|                * in input().
4855|                */
4856|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
4857|                       { /* This was really a NUL. */
4858|                       yy_state_type yy_next_state;
4859|
4860|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
4861|
4862|                       yy_current_state = yy_get_previous_state(  );
4863|
4864|                       /* Okay, we're now positioned to make the NUL
4865|                        * transition.  We couldn't have
4866|                        * yy_get_previous_state() go ahead and do it
4867|                        * for us because it doesn't know how to deal
4868|                        * with the possibility of jamming (and we don't
4869|                        * want to build jamming into it because then it
4870|                        * will run more slowly).
4871|                        */
4872|
4873|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
4874|
4875|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4876|
4877|                       if ( yy_next_state )
4878|                               {
4879|                               /* Consume the NUL. */
4880|                               yy_cp = ++(yy_c_buf_p);
4881|                               yy_current_state = yy_next_state;
4882|                               goto yy_match;
4883|                               }
4884|
4885|                       else
4886|                               {
4887|                               yy_cp = (yy_c_buf_p);
4888|                               goto yy_find_action;
4889|                               }
4890|                       }
4891|
4892|               else switch ( yy_get_next_buffer(  ) )
4893|                       {
4894|                       case EOB_ACT_END_OF_FILE:
4895|                               {
4896|                               (yy_did_buffer_switch_on_eof) = 0;
4897|
4898|                               if ( yywrap( ) )
4899|                                       {
4900|                                       /* Note: because we've taken care in
4901|                                        * yy_get_next_buffer() to have set up
4902|                                        * yytext, we can now set up
4903|                                        * yy_c_buf_p so that if some total
4904|                                        * hoser (like flex itself) wants to
4905|                                        * call the scanner after we return the
4906|                                        * YY_NULL, it'll still work - another
4907|                                        * YY_NULL will get returned.
4908|                                        */
4909|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
4910|
4911|                                       yy_act = YY_STATE_EOF(YY_START);
4912|                                       goto do_action;
4913|                                       }
4914|
4915|                               else
4916|                                       {
4917|                                       if ( ! (yy_did_buffer_switch_on_eof) )
4918|                                               YY_NEW_FILE;
4919|                                       }
4920|                               break;
4921|                               }
4922|
4923|                       case EOB_ACT_CONTINUE_SCAN:
4924|                               (yy_c_buf_p) =
4925|                                       (yytext_ptr) + yy_amount_of_matched_text;
4926|
4927|                               yy_current_state = yy_get_previous_state(  );
4928|
4929|                               yy_cp = (yy_c_buf_p);
4930|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4931|                               goto yy_match;
4932|
4933|                       case EOB_ACT_LAST_MATCH:
4934|                               (yy_c_buf_p) =
4935|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
4936|
4937|                               yy_current_state = yy_get_previous_state(  );
4938|
4939|                               yy_cp = (yy_c_buf_p);
4940|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4941|                               goto yy_find_action;
4942|                       }
4943|               break;
4944|               }
4945|
4946|       default:
4947|               YY_FATAL_ERROR(
4948|                       "fatal flex scanner internal error--no action found" );
4949|       } /* end of action switch */
4950|               } /* end of scanning one token */
4951| } /* end of yylex */
4952|
4953| /* yy_get_next_buffer - try to read in a new buffer
4954|  *
4955|  * Returns a code representing an action:
4956|  *    EOB_ACT_LAST_MATCH -
4957|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
4958|  *    EOB_ACT_END_OF_FILE - end of file
4959|  */
4960| static int yy_get_next_buffer (void)
4961| {
4962|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
4963|       register char *source = (yytext_ptr);
4964|       register int number_to_move, i;
4965|       int ret_val;
4966|
4967|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
4968|               YY_FATAL_ERROR(
4969|               "fatal flex scanner internal error--end of buffer missed" );
4970|
4971|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
4972|               { /* Don't try to fill the buffer, so this is an EOF. */
4973|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
4974|                       {
4975|                       /* We matched a single character, the EOB, so
4976|                        * treat this as a final EOF.
4977|                        */
4978|                       return EOB_ACT_END_OF_FILE;
4979|                       }
4980|
4981|               else
4982|                       {
4983|                       /* We matched some text prior to the EOB, first
4984|                        * process it.
4985|                        */
4986|                       return EOB_ACT_LAST_MATCH;
4987|                       }
4988|               }
4989|
4990|       /* Try to read more data. */
4991|
4992|       /* First move last chars to start of buffer. */
4993|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
4994|
4995|       for ( i = 0; i < number_to_move; ++i )
4996|               *(dest++) = *(source++);
4997|
4998|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
4999|               /* don't do the read, it's not guaranteed to return an EOF,
5000|                * just force an EOF
5001|                */
5002|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
5003|
5004|       else
5005|               {
5006|                       yy_size_t num_to_read =
5007|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
5008|
5009|               while ( num_to_read <= 0 )
5010|                       { /* Not enough room in the buffer - grow it. */
5011|
5012|                       YY_FATAL_ERROR(
5013| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
5014|
5015|                       }
5016|
5017|               if ( num_to_read > YY_READ_BUF_SIZE )
5018|                       num_to_read = YY_READ_BUF_SIZE;
5019|
5020|               /* Read in more data. */
5021|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
5022|                       (yy_n_chars), num_to_read );
5023|
5024|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
5025|               }
5026|
5027|       if ( (yy_n_chars) == 0 )
5028|               {
5029|               if ( number_to_move == YY_MORE_ADJ )
5030|                       {
5031|                       ret_val = EOB_ACT_END_OF_FILE;
5032|                       yyrestart(yyin  );
5033|                       }
5034|
5035|               else
5036|                       {
5037|                       ret_val = EOB_ACT_LAST_MATCH;
5038|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
5039|                               YY_BUFFER_EOF_PENDING;
5040|                       }
5041|               }
5042|
5043|       else
5044|               ret_val = EOB_ACT_CONTINUE_SCAN;
5045|
5046|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
5047|               /* Extend the array by 50%, plus the number we really need. */
5048|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
5049|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
5050|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
5051|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
5052|       }
5053|
5054|       (yy_n_chars) += number_to_move;
5055|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
5056|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
5057|
5058|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
5059|
5060|       return ret_val;
5061| }
5062|
5063| /* yy_get_previous_state - get the state just before the EOB char was reached */
5064|
5065|     static yy_state_type yy_get_previous_state (void)
5066| {
5067|       register yy_state_type yy_current_state;
5068|       register char *yy_cp;
5069|     
5070|       yy_current_state = (yy_start);
5071|
5072|       (yy_state_ptr) = (yy_state_buf);
5073|       *(yy_state_ptr)++ = yy_current_state;
5074|
5075|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
5076|               {
5077|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
5078|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
5079|                       {
5080|                       yy_current_state = (int) yy_def[yy_current_state];
5081|                       if ( yy_current_state >= 13 )
5082|                               yy_c = yy_meta[(unsigned int) yy_c];
5083|                       }
5084|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
5085|               *(yy_state_ptr)++ = yy_current_state;
5086|               }
5087|
5088|       return yy_current_state;
5089| }
5090|
5091| /* yy_try_NUL_trans - try to make a transition on the NUL character
5092|  *
5093|  * synopsis
5094|  *    next_state = yy_try_NUL_trans( current_state );
5095|  */
5096|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
5097| {
5098|       register int yy_is_jam;
5099|     
5100|       register YY_CHAR yy_c = 1;
5101|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
5102|               {
5103|               yy_current_state = (int) yy_def[yy_current_state];
5104|               if ( yy_current_state >= 13 )
5105|                       yy_c = yy_meta[(unsigned int) yy_c];
5106|               }
5107|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
5108|       yy_is_jam = (yy_current_state == 12);
5109|       if ( ! yy_is_jam )
5110|               *(yy_state_ptr)++ = yy_current_state;
5111|
5112|               return yy_is_jam ? 0 : yy_current_state;
5113| }
5114|
5115|     static void yyunput (int c, register char * yy_bp )
5116| {
5117|       register char *yy_cp;
5118|     
5119|     yy_cp = (yy_c_buf_p);
5120|
5121|       /* undo effects of setting up yytext */
5122|       *yy_cp = (yy_hold_char);
5123|
5124|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
5125|               { /* need to shift things up to make room */
5126|               /* +2 for EOB chars. */
5127|               register yy_size_t number_to_move = (yy_n_chars) + 2;
5128|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
5129|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
5130|               register char *source =
5131|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
5132|
5133|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
5134|                       *--dest = *--source;
5135|
5136|               yy_cp += (int) (dest - source);
5137|               yy_bp += (int) (dest - source);
5138|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
5139|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
5140|
5141|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
5142|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
5143|               }
5144|
5145|       *--yy_cp = (char) c;
5146|
5147|       (yytext_ptr) = yy_bp;
5148|       (yy_hold_char) = *yy_cp;
5149|       (yy_c_buf_p) = yy_cp;
5150| }
5151|
5152| #ifndef YY_NO_INPUT
5153| #ifdef __cplusplus
5154|     static int yyinput (void)
5155| #else
5156|     static int input  (void)
5157| #endif
5158|
5159| {
5160|       int c;
5161|     
5162|       *(yy_c_buf_p) = (yy_hold_char);
5163|
5164|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
5165|               {
5166|               /* yy_c_buf_p now points to the character we want to return.
5167|                * If this occurs *before* the EOB characters, then it's a
5168|                * valid NUL; if not, then we've hit the end of the buffer.
5169|                */
5170|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
5171|                       /* This was really a NUL. */
5172|                       *(yy_c_buf_p) = '\0';
5173|
5174|               else
5175|                       { /* need more input */
5176|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
5177|                       ++(yy_c_buf_p);
5178|
5179|                       switch ( yy_get_next_buffer(  ) )
5180|                               {
5181|                               case EOB_ACT_LAST_MATCH:
5182|                                       /* This happens because yy_g_n_b()
5183|                                        * sees that we've accumulated a
5184|                                        * token and flags that we need to
5185|                                        * try matching the token before
5186|                                        * proceeding.  But for input(),
5187|                                        * there's no matching to consider.
5188|                                        * So convert the EOB_ACT_LAST_MATCH
5189|                                        * to EOB_ACT_END_OF_FILE.
5190|                                        */
5191|
5192|                                       /* Reset buffer status. */
5193|                                       yyrestart(yyin );
5194|
5195|                                       /*FALLTHROUGH*/
5196|
5197|                               case EOB_ACT_END_OF_FILE:
5198|                                       {
5199|                                       if ( yywrap( ) )
5200|                                               return EOF;
5201|
5202|                                       if ( ! (yy_did_buffer_switch_on_eof) )
5203|                                               YY_NEW_FILE;
5204| #ifdef __cplusplus
5205|                                       return yyinput();
5206| #else
5207|                                       return input();
5208| #endif
5209|                                       }
5210|
5211|                               case EOB_ACT_CONTINUE_SCAN:
5212|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
5213|                                       break;
5214|                               }
5215|                       }
5216|               }
5217|
5218|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
5219|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
5220|       (yy_hold_char) = *++(yy_c_buf_p);
5221|
5222|       return c;
5223| }
5224| #endif        /* ifndef YY_NO_INPUT */
5225|
5226| /** Immediately switch to a different input stream.
5227|  * @param input_file A readable stream.
5228|  *
5229|  * @note This function does not reset the start condition to @c INITIAL .
5230|  */
5231|     void yyrestart  (FILE * input_file )
5232| {
5233|     
5234|       if ( ! YY_CURRENT_BUFFER ){
5235|         yyensure_buffer_stack ();
5236|               YY_CURRENT_BUFFER_LVALUE =
5237|             yy_create_buffer(yyin,YY_BUF_SIZE );
5238|       }
5239|
5240|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
5241|       yy_load_buffer_state( );
5242| }
5243|
5244| /** Switch to a different input buffer.
5245|  * @param new_buffer The new input buffer.
5246|  *
5247|  */
5248|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
5249| {
5250|     
5251|       /* TODO. We should be able to replace this entire function body
5252|        * with
5253|        *              yypop_buffer_state();
5254|        *              yypush_buffer_state(new_buffer);
5255|      */
5256|       yyensure_buffer_stack ();
5257|       if ( YY_CURRENT_BUFFER == new_buffer )
5258|               return;
5259|
5260|       if ( YY_CURRENT_BUFFER )
5261|               {
5262|               /* Flush out information for old buffer. */
5263|               *(yy_c_buf_p) = (yy_hold_char);
5264|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
5265|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
5266|               }
5267|
5268|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
5269|       yy_load_buffer_state( );
5270|
5271|       /* We don't actually know whether we did this switch during
5272|        * EOF (yywrap()) processing, but the only time this flag
5273|        * is looked at is after yywrap() is called, so it's safe
5274|        * to go ahead and always set it.
5275|        */
5276|       (yy_did_buffer_switch_on_eof) = 1;
5277| }
5278|
5279| static void yy_load_buffer_state  (void)
5280| {
5281|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
5282|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
5283|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
5284|       (yy_hold_char) = *(yy_c_buf_p);
5285| }
5286|
5287| /** Allocate and initialize an input buffer state.
5288|  * @param file A readable stream.
5289|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
5290|  *
5291|  * @return the allocated buffer state.
5292|  */
5293|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
5294| {
5295|       YY_BUFFER_STATE b;
5296|     
5297|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
5298|       if ( ! b )
5299|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
5300|
5301|       b->yy_buf_size = size;
5302|
5303|       /* yy_ch_buf has to be 2 characters longer than the size given because
5304|        * we need to put in 2 end-of-buffer characters.
5305|        */
5306|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
5307|       if ( ! b->yy_ch_buf )
5308|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
5309|
5310|       b->yy_is_our_buffer = 1;
5311|
5312|       yy_init_buffer(b,file );
5313|
5314|       return b;
5315| }
5316|
5317| /** Destroy the buffer.
5318|  * @param b a buffer created with yy_create_buffer()
5319|  *
5320|  */
5321|     void yy_delete_buffer (YY_BUFFER_STATE  b )
5322| {
5323|     
5324|       if ( ! b )
5325|               return;
5326|
5327|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
5328|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
5329|
5330|       if ( b->yy_is_our_buffer )
5331|               yyfree((void *) b->yy_ch_buf  );
5332|
5333|       yyfree((void *) b  );
5334| }
5335|
5336| /* Initializes or reinitializes a buffer.
5337|  * This function is sometimes called more than once on the same buffer,
5338|  * such as during a yyrestart() or at EOF.
5339|  */
5340|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
5341|
5342| {
5343|       int oerrno = errno;
5344|     
5345|       yy_flush_buffer(b );
5346|
5347|       b->yy_input_file = file;
5348|       b->yy_fill_buffer = 1;
5349|
5350|     /* If b is the current buffer, then yy_init_buffer was _probably_
5351|      * called from yyrestart() or through yy_get_next_buffer.
5352|      * In that case, we don't want to reset the lineno or column.
5353|      */
5354|     if (b != YY_CURRENT_BUFFER){
5355|         b->yy_bs_lineno = 1;
5356|         b->yy_bs_column = 0;
5357|     }
5358|
5359|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
5360|     
5361|       errno = oerrno;
5362| }
5363|
5364| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
5365|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
5366|  *
5367|  */
5368|     void yy_flush_buffer (YY_BUFFER_STATE  b )
5369| {
5370|       if ( ! b )
5371|               return;
5372|
5373|       b->yy_n_chars = 0;
5374|
5375|       /* We always need two end-of-buffer characters.  The first causes
5376|        * a transition to the end-of-buffer state.  The second causes
5377|        * a jam in that state.
5378|        */
5379|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
5380|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
5381|
5382|       b->yy_buf_pos = &b->yy_ch_buf[0];
5383|
5384|       b->yy_at_bol = 1;
5385|       b->yy_buffer_status = YY_BUFFER_NEW;
5386|
5387|       if ( b == YY_CURRENT_BUFFER )
5388|               yy_load_buffer_state( );
5389| }
5390|
5391| /** Pushes the new state onto the stack. The new state becomes
5392|  *  the current state. This function will allocate the stack
5393|  *  if necessary.
5394|  *  @param new_buffer The new state.
5395|  * 
5396|  */
5397| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
5398| {
5399|       if (new_buffer == NULL)
5400|               return;
5401|
5402|       yyensure_buffer_stack();
5403|
5404|       /* This block is copied from yy_switch_to_buffer. */
5405|       if ( YY_CURRENT_BUFFER )
5406|               {
5407|               /* Flush out information for old buffer. */
5408|               *(yy_c_buf_p) = (yy_hold_char);
5409|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
5410|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
5411|               }
5412|
5413|       /* Only push if top exists. Otherwise, replace top. */
5414|       if (YY_CURRENT_BUFFER)
5415|               (yy_buffer_stack_top)++;
5416|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
5417|
5418|       /* copied from yy_switch_to_buffer. */
5419|       yy_load_buffer_state( );
5420|       (yy_did_buffer_switch_on_eof) = 1;
5421| }
5422|
5423| /** Removes and deletes the top of the stack, if present.
5424|  *  The next element becomes the new top.
5425|  * 
5426|  */
5427| void yypop_buffer_state (void)
5428| {
5429|       if (!YY_CURRENT_BUFFER)
5430|               return;
5431|
5432|       yy_delete_buffer(YY_CURRENT_BUFFER );
5433|       YY_CURRENT_BUFFER_LVALUE = NULL;
5434|       if ((yy_buffer_stack_top) > 0)
5435|               --(yy_buffer_stack_top);
5436|
5437|       if (YY_CURRENT_BUFFER) {
5438|               yy_load_buffer_state( );
5439|               (yy_did_buffer_switch_on_eof) = 1;
5440|       }
5441| }
5442|
5443| /* Allocates the stack if it does not exist.
5444|  *  Guarantees space for at least one push.
5445|  */
5446| static void yyensure_buffer_stack (void)
5447| {
5448|       yy_size_t num_to_alloc;
5449|     
5450|       if (!(yy_buffer_stack)) {
5451|
5452|               /* First allocation is just for 2 elements, since we don't know if this
5453|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
5454|                * immediate realloc on the next call.
5455|          */
5456|               num_to_alloc = 1;
5457|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
5458|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
5459|                                                               );
5460|               if ( ! (yy_buffer_stack) )
5461|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
5462|                                                                 
5463|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
5464|                               
5465|               (yy_buffer_stack_max) = num_to_alloc;
5466|               (yy_buffer_stack_top) = 0;
5467|               return;
5468|       }
5469|
5470|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
5471|
5472|               /* Increase the buffer to prepare for a possible push. */
5473|               int grow_size = 8 /* arbitrary grow size */;
5474|
5475|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
5476|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
5477|                                                               ((yy_buffer_stack),
5478|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
5479|                                                               );
5480|               if ( ! (yy_buffer_stack) )
5481|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
5482|
5483|               /* zero only the new slots.*/
5484|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
5485|               (yy_buffer_stack_max) = num_to_alloc;
5486|       }
5487| }
5488|
5489| /** Setup the input buffer state to scan directly from a user-specified character buffer.
5490|  * @param base the character buffer
5491|  * @param size the size in bytes of the character buffer
5492|  *
5493|  * @return the newly allocated buffer state object.
5494|  */
5495| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
5496| {
5497|       YY_BUFFER_STATE b;
5498|     
5499|       if ( size < 2 ||
5500|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
5501|            base[size-1] != YY_END_OF_BUFFER_CHAR )
5502|               /* They forgot to leave room for the EOB's. */
5503|               return 0;
5504|
5505|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
5506|       if ( ! b )
5507|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
5508|
5509|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
5510|       b->yy_buf_pos = b->yy_ch_buf = base;
5511|       b->yy_is_our_buffer = 0;
5512|       b->yy_input_file = 0;
5513|       b->yy_n_chars = b->yy_buf_size;
5514|       b->yy_is_interactive = 0;
5515|       b->yy_at_bol = 1;
5516|       b->yy_fill_buffer = 0;
5517|       b->yy_buffer_status = YY_BUFFER_NEW;
5518|
5519|       yy_switch_to_buffer(b  );
5520|
5521|       return b;
5522| }
5523|
5524| /** Setup the input buffer state to scan a string. The next call to yylex() will
5525|  * scan from a @e copy of @a str.
5526|  * @param yystr a NUL-terminated string to scan
5527|  *
5528|  * @return the newly allocated buffer state object.
5529|  * @note If you want to scan bytes that may contain NUL values, then use
5530|  *       yy_scan_bytes() instead.
5531|  */
5532| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
5533| {
5534|     
5535|       return yy_scan_bytes(yystr,strlen(yystr) );
5536| }
5537|
5538| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
5539|  * scan from a @e copy of @a bytes.
5540|  * @param yybytes the byte buffer to scan
5541|  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
5542|  *
5543|  * @return the newly allocated buffer state object.
5544|  */
5545| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
5546| {
5547|       YY_BUFFER_STATE b;
5548|       char *buf;
5549|       yy_size_t n;
5550|       int i;
5551|     
5552|       /* Get memory for full buffer, including space for trailing EOB's. */
5553|       n = _yybytes_len + 2;
5554|       buf = (char *) yyalloc(n  );
5555|       if ( ! buf )
5556|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
5557|
5558|       for ( i = 0; i < _yybytes_len; ++i )
5559|               buf[i] = yybytes[i];
5560|
5561|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
5562|
5563|       b = yy_scan_buffer(buf,n );
5564|       if ( ! b )
5565|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
5566|
5567|       /* It's okay to grow etc. this buffer, and we should throw it
5568|        * away when we're done.
5569|        */
5570|       b->yy_is_our_buffer = 1;
5571|
5572|       return b;
5573| }
5574|
5575| #ifndef YY_EXIT_FAILURE
5576| #define YY_EXIT_FAILURE 2
5577| #endif
5578|
5579| static void yy_fatal_error (yyconst char* msg )
5580| {
5581|       (void) fprintf( stderr, "%s\n", msg );
5582|       exit( YY_EXIT_FAILURE );
5583| }
5584|
5585| /* Redefine yyless() so it works in section 3 code. */
5586|
5587| #undef yyless
5588| #define yyless(n) \
5589|       do \
5590|               { \
5591|               /* Undo effects of setting up yytext. */ \
5592|         int yyless_macro_arg = (n); \
5593|         YY_LESS_LINENO(yyless_macro_arg);\
5594|               yytext[yyleng] = (yy_hold_char); \
5595|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
5596|               (yy_hold_char) = *(yy_c_buf_p); \
5597|               *(yy_c_buf_p) = '\0'; \
5598|               yyleng = yyless_macro_arg; \
5599|               } \
5600|       while ( 0 )
5601|
5602| /* Accessor  methods (get/set functions) to struct members. */
5603|
5604| /** Get the current line number.
5605|  *
5606|  */
5607| int yyget_lineno  (void)
5608| {
5609|         
5610|     return yylineno;
5611| }
5612|
5613| /** Get the input stream.
5614|  *
5615|  */
5616| FILE *yyget_in  (void)
5617| {
5618|         return yyin;
5619| }
5620|
5621| /** Get the output stream.
5622|  *
5623|  */
5624| FILE *yyget_out  (void)
5625| {
5626|         return yyout;
5627| }
5628|
5629| /** Get the length of the current token.
5630|  *
5631|  */
5632| yy_size_t yyget_leng  (void)
5633| {
5634|         return yyleng;
5635| }
5636|
5637| /** Get the current token.
5638|  *
5639|  */
5640|
5641| char *yyget_text  (void)
5642| {
5643|         return yytext;
5644| }
5645|
5646| /** Set the current line number.
5647|  * @param line_number
5648|  *
5649|  */
5650| void yyset_lineno (int  line_number )
5651| {
5652|     
5653|     yylineno = line_number;
5654| }
5655|
5656| /** Set the input stream. This does not discard the current
5657|  * input buffer.
5658|  * @param in_str A readable stream.
5659|  *
5660|  * @see yy_switch_to_buffer
5661|  */
5662| void yyset_in (FILE *  in_str )
5663| {
5664|         yyin = in_str ;
5665| }
5666|
5667| void yyset_out (FILE *  out_str )
5668| {
5669|         yyout = out_str ;
5670| }
5671|
5672| int yyget_debug  (void)
5673| {
5674|         return yy_flex_debug;
5675| }
5676|
5677| void yyset_debug (int  bdebug )
5678| {
5679|         yy_flex_debug = bdebug ;
5680| }
5681|
5682| static int yy_init_globals (void)
5683| {
5684|         /* Initialization is the same as for the non-reentrant scanner.
5685|      * This function is called from yylex_destroy(), so don't allocate here.
5686|      */
5687|
5688|     (yy_buffer_stack) = 0;
5689|     (yy_buffer_stack_top) = 0;
5690|     (yy_buffer_stack_max) = 0;
5691|     (yy_c_buf_p) = (char *) 0;
5692|     (yy_init) = 0;
5693|     (yy_start) = 0;
5694|
5695|     (yy_state_buf) = 0;
5696|     (yy_state_ptr) = 0;
5697|     (yy_full_match) = 0;
5698|     (yy_lp) = 0;
5699|
5700| /* Defined in main.c */
5701| #ifdef YY_STDINIT
5702|     yyin = stdin;
5703|     yyout = stdout;
5704| #else
5705|     yyin = (FILE *) 0;
5706|     yyout = (FILE *) 0;
5707| #endif
5708|
5709|     /* For future reference: Set errno on error, since we are called by
5710|      * yylex_init()
5711|      */
5712|     return 0;
5713| }
5714|
5715| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
5716| int yylex_destroy  (void)
5717| {
5718|     
5719|     /* Pop the buffer stack, destroying each element. */
5720|       while(YY_CURRENT_BUFFER){
5721|               yy_delete_buffer(YY_CURRENT_BUFFER  );
5722|               YY_CURRENT_BUFFER_LVALUE = NULL;
5723|               yypop_buffer_state();
5724|       }
5725|
5726|       /* Destroy the stack itself. */
5727|       yyfree((yy_buffer_stack) );
5728|       (yy_buffer_stack) = NULL;
5729|
5730|     yyfree ( (yy_state_buf) );
5731|     (yy_state_buf)  = NULL;
5732|
5733|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
5734|      * yylex() is called, initialization will occur. */
5735|     yy_init_globals( );
5736|
5737|     return 0;
5738| }
5739|
5740| /*
5741|  * Internal utility routines.
5742|  */
5743|
5744| #ifndef yytext_ptr
5745| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
5746| {
5747|       register int i;
5748|       for ( i = 0; i < n; ++i )
5749|               s1[i] = s2[i];
5750| }
5751| #endif
5752|
5753| #ifdef YY_NEED_STRLEN
5754| static int yy_flex_strlen (yyconst char * s )
5755| {
5756|       register int n;
5757|       for ( n = 0; s[n]; ++n )
5758|               ;
5759|
5760|       return n;
5761| }
5762| #endif
5763|
5764| void *yyalloc (yy_size_t  size )
5765| {
5766|       return (void *) malloc( size );
5767| }
5768|
5769| void *yyrealloc  (void * ptr, yy_size_t  size )
5770| {
5771|       /* The cast to (char *) in the following accommodates both
5772|        * implementations that use char* generic pointers, and those
5773|        * that use void* generic pointers.  It works with the latter
5774|        * because both ANSI C and C++ allow castless assignment from
5775|        * any pointer type to void*, and deal with argument conversions
5776|        * as though doing an assignment.
5777|        */
5778|       return (void *) realloc( (char *) ptr, size );
5779| }
5780|
5781| void yyfree (void * ptr )
5782| {
5783|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
5784| }
5785|
5786| #define YYTABLES_NAME "yytables"
5787|
5788| #line 10 "conftest.l"
5789|
5790|
5791| #ifdef YYTEXT_POINTER
5792| extern char *yytext;
5793| #endif
5794| int
5795| main (void)
5796| {
5797|   return ! yylex () + ! yywrap ();
5798| }
5799configure:6132: result: none needed
5800configure:6138: checking whether yytext is a pointer
5801configure:6155: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
5802ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cchYTtFo.o because Unknown instruction for architecture x86_64
5803collect2: ld returned 1 exit status
5804configure:6155: $? = 1
5805configure: failed program was:
5806| /* confdefs.h */
5807| #define PACKAGE_NAME "unbound"
5808| #define PACKAGE_TARNAME "unbound"
5809| #define PACKAGE_VERSION "1.5.4"
5810| #define PACKAGE_STRING "unbound 1.5.4"
5811| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
5812| #define PACKAGE_URL ""
5813| #define STDC_HEADERS 1
5814| #define HAVE_SYS_TYPES_H 1
5815| #define HAVE_SYS_STAT_H 1
5816| #define HAVE_STDLIB_H 1
5817| #define HAVE_STRING_H 1
5818| #define HAVE_MEMORY_H 1
5819| #define HAVE_STRINGS_H 1
5820| #define HAVE_INTTYPES_H 1
5821| #define HAVE_STDINT_H 1
5822| #define HAVE_UNISTD_H 1
5823| #define __EXTENSIONS__ 1
5824| #define _ALL_SOURCE 1
5825| #define _GNU_SOURCE 1
5826| #define _POSIX_PTHREAD_SEMANTICS 1
5827| #define _TANDEM_SOURCE 1
5828| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
5829| #define RUN_DIR "/opt/local/etc/unbound"
5830| #define CHROOT_DIR "/opt/local/etc/unbound"
5831| #define SHARE_DIR "/opt/local/etc/unbound"
5832| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
5833| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
5834| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
5835| #define UB_USERNAME "unbound"
5836| #define WINVER 0x0502
5837| #define RSRC_PACKAGE_VERSION 1,5,4,0
5838| #define HAVE_GETOPT_H 1
5839| #define HAVE_TIME_H 1
5840| #define HAVE_ATTR_FORMAT 1
5841| #define HAVE_ATTR_UNUSED 1
5842| /* end confdefs.h.  */
5843|
5844|   #define YYTEXT_POINTER 1
5845|
5846| #line 3 "lex.yy.c"
5847|
5848| #define  YY_INT_ALIGNED short int
5849|
5850| /* A lexical scanner generated by flex */
5851|
5852| #define FLEX_SCANNER
5853| #define YY_FLEX_MAJOR_VERSION 2
5854| #define YY_FLEX_MINOR_VERSION 5
5855| #define YY_FLEX_SUBMINOR_VERSION 37
5856| #if YY_FLEX_SUBMINOR_VERSION > 0
5857| #define FLEX_BETA
5858| #endif
5859|
5860| /* First, we deal with  platform-specific or compiler-specific issues. */
5861|
5862| /* begin standard C headers. */
5863| #include <stdio.h>
5864| #include <string.h>
5865| #include <errno.h>
5866| #include <stdlib.h>
5867|
5868| /* end standard C headers. */
5869|
5870| /* flex integer type definitions */
5871|
5872| #ifndef FLEXINT_H
5873| #define FLEXINT_H
5874|
5875| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
5876|
5877| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
5878|
5879| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
5880|  * if you want the limit (max/min) macros for int types.
5881|  */
5882| #ifndef __STDC_LIMIT_MACROS
5883| #define __STDC_LIMIT_MACROS 1
5884| #endif
5885|
5886| #include <inttypes.h>
5887| typedef int8_t flex_int8_t;
5888| typedef uint8_t flex_uint8_t;
5889| typedef int16_t flex_int16_t;
5890| typedef uint16_t flex_uint16_t;
5891| typedef int32_t flex_int32_t;
5892| typedef uint32_t flex_uint32_t;
5893| #else
5894| typedef signed char flex_int8_t;
5895| typedef short int flex_int16_t;
5896| typedef int flex_int32_t;
5897| typedef unsigned char flex_uint8_t;
5898| typedef unsigned short int flex_uint16_t;
5899| typedef unsigned int flex_uint32_t;
5900|
5901| /* Limits of integral types. */
5902| #ifndef INT8_MIN
5903| #define INT8_MIN               (-128)
5904| #endif
5905| #ifndef INT16_MIN
5906| #define INT16_MIN              (-32767-1)
5907| #endif
5908| #ifndef INT32_MIN
5909| #define INT32_MIN              (-2147483647-1)
5910| #endif
5911| #ifndef INT8_MAX
5912| #define INT8_MAX               (127)
5913| #endif
5914| #ifndef INT16_MAX
5915| #define INT16_MAX              (32767)
5916| #endif
5917| #ifndef INT32_MAX
5918| #define INT32_MAX              (2147483647)
5919| #endif
5920| #ifndef UINT8_MAX
5921| #define UINT8_MAX              (255U)
5922| #endif
5923| #ifndef UINT16_MAX
5924| #define UINT16_MAX             (65535U)
5925| #endif
5926| #ifndef UINT32_MAX
5927| #define UINT32_MAX             (4294967295U)
5928| #endif
5929|
5930| #endif /* ! C99 */
5931|
5932| #endif /* ! FLEXINT_H */
5933|
5934| #ifdef __cplusplus
5935|
5936| /* The "const" storage-class-modifier is valid. */
5937| #define YY_USE_CONST
5938|
5939| #else /* ! __cplusplus */
5940|
5941| /* C99 requires __STDC__ to be defined as 1. */
5942| #if defined (__STDC__)
5943|
5944| #define YY_USE_CONST
5945|
5946| #endif        /* defined (__STDC__) */
5947| #endif        /* ! __cplusplus */
5948|
5949| #ifdef YY_USE_CONST
5950| #define yyconst const
5951| #else
5952| #define yyconst
5953| #endif
5954|
5955| /* Returned upon end-of-file. */
5956| #define YY_NULL 0
5957|
5958| /* Promotes a possibly negative, possibly signed char to an unsigned
5959|  * integer for use as an array index.  If the signed char is negative,
5960|  * we want to instead treat it as an 8-bit unsigned char, hence the
5961|  * double cast.
5962|  */
5963| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
5964|
5965| /* Enter a start condition.  This macro really ought to take a parameter,
5966|  * but we do it the disgusting crufty way forced on us by the ()-less
5967|  * definition of BEGIN.
5968|  */
5969| #define BEGIN (yy_start) = 1 + 2 *
5970|
5971| /* Translate the current start state into a value that can be later handed
5972|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
5973|  * compatibility.
5974|  */
5975| #define YY_START (((yy_start) - 1) / 2)
5976| #define YYSTATE YY_START
5977|
5978| /* Action number for EOF rule of a given start state. */
5979| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
5980|
5981| /* Special action meaning "start processing a new file". */
5982| #define YY_NEW_FILE yyrestart(yyin  )
5983|
5984| #define YY_END_OF_BUFFER_CHAR 0
5985|
5986| /* Size of default input buffer. */
5987| #ifndef YY_BUF_SIZE
5988| #define YY_BUF_SIZE 16384
5989| #endif
5990|
5991| /* The state buf must be large enough to hold one state per character in the main buffer.
5992|  */
5993| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
5994|
5995| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
5996| #define YY_TYPEDEF_YY_BUFFER_STATE
5997| typedef struct yy_buffer_state *YY_BUFFER_STATE;
5998| #endif
5999|
6000| #ifndef YY_TYPEDEF_YY_SIZE_T
6001| #define YY_TYPEDEF_YY_SIZE_T
6002| typedef size_t yy_size_t;
6003| #endif
6004|
6005| extern yy_size_t yyleng;
6006|
6007| extern FILE *yyin, *yyout;
6008|
6009| #define EOB_ACT_CONTINUE_SCAN 0
6010| #define EOB_ACT_END_OF_FILE 1
6011| #define EOB_ACT_LAST_MATCH 2
6012|
6013|     #define YY_LESS_LINENO(n)
6014|     
6015| /* Return all but the first "n" matched characters back to the input stream. */
6016| #define yyless(n) \
6017|       do \
6018|               { \
6019|               /* Undo effects of setting up yytext. */ \
6020|         int yyless_macro_arg = (n); \
6021|         YY_LESS_LINENO(yyless_macro_arg);\
6022|               *yy_cp = (yy_hold_char); \
6023|               YY_RESTORE_YY_MORE_OFFSET \
6024|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
6025|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
6026|               } \
6027|       while ( 0 )
6028|
6029| #define unput(c) yyunput( c, (yytext_ptr)  )
6030|
6031| #ifndef YY_STRUCT_YY_BUFFER_STATE
6032| #define YY_STRUCT_YY_BUFFER_STATE
6033| struct yy_buffer_state
6034|       {
6035|       FILE *yy_input_file;
6036|
6037|       char *yy_ch_buf;                /* input buffer */
6038|       char *yy_buf_pos;               /* current position in input buffer */
6039|
6040|       /* Size of input buffer in bytes, not including room for EOB
6041|        * characters.
6042|        */
6043|       yy_size_t yy_buf_size;
6044|
6045|       /* Number of characters read into yy_ch_buf, not including EOB
6046|        * characters.
6047|        */
6048|       yy_size_t yy_n_chars;
6049|
6050|       /* Whether we "own" the buffer - i.e., we know we created it,
6051|        * and can realloc() it to grow it, and should free() it to
6052|        * delete it.
6053|        */
6054|       int yy_is_our_buffer;
6055|
6056|       /* Whether this is an "interactive" input source; if so, and
6057|        * if we're using stdio for input, then we want to use getc()
6058|        * instead of fread(), to make sure we stop fetching input after
6059|        * each newline.
6060|        */
6061|       int yy_is_interactive;
6062|
6063|       /* Whether we're considered to be at the beginning of a line.
6064|        * If so, '^' rules will be active on the next match, otherwise
6065|        * not.
6066|        */
6067|       int yy_at_bol;
6068|
6069|     int yy_bs_lineno; /**< The line count. */
6070|     int yy_bs_column; /**< The column count. */
6071|     
6072|       /* Whether to try to fill the input buffer when we reach the
6073|        * end of it.
6074|        */
6075|       int yy_fill_buffer;
6076|
6077|       int yy_buffer_status;
6078|
6079| #define YY_BUFFER_NEW 0
6080| #define YY_BUFFER_NORMAL 1
6081|       /* When an EOF's been seen but there's still some text to process
6082|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
6083|        * shouldn't try reading from the input source any more.  We might
6084|        * still have a bunch of tokens to match, though, because of
6085|        * possible backing-up.
6086|        *
6087|        * When we actually see the EOF, we change the status to "new"
6088|        * (via yyrestart()), so that the user can continue scanning by
6089|        * just pointing yyin at a new input file.
6090|        */
6091| #define YY_BUFFER_EOF_PENDING 2
6092|
6093|       };
6094| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
6095|
6096| /* Stack of input buffers. */
6097| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
6098| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
6099| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
6100|
6101| /* We provide macros for accessing buffer states in case in the
6102|  * future we want to put the buffer states in a more general
6103|  * "scanner state".
6104|  *
6105|  * Returns the top of the stack, or NULL.
6106|  */
6107| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
6108|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
6109|                           : NULL)
6110|
6111| /* Same as previous macro, but useful when we know that the buffer stack is not
6112|  * NULL or when we need an lvalue. For internal use only.
6113|  */
6114| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
6115|
6116| /* yy_hold_char holds the character lost when yytext is formed. */
6117| static char yy_hold_char;
6118| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
6119| yy_size_t yyleng;
6120|
6121| /* Points to current character in buffer. */
6122| static char *yy_c_buf_p = (char *) 0;
6123| static int yy_init = 0;               /* whether we need to initialize */
6124| static int yy_start = 0;      /* start state number */
6125|
6126| /* Flag which is used to allow yywrap()'s to do buffer switches
6127|  * instead of setting up a fresh yyin.  A bit of a hack ...
6128|  */
6129| static int yy_did_buffer_switch_on_eof;
6130|
6131| void yyrestart (FILE *input_file  );
6132| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
6133| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
6134| void yy_delete_buffer (YY_BUFFER_STATE b  );
6135| void yy_flush_buffer (YY_BUFFER_STATE b  );
6136| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
6137| void yypop_buffer_state (void );
6138|
6139| static void yyensure_buffer_stack (void );
6140| static void yy_load_buffer_state (void );
6141| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
6142|
6143| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
6144|
6145| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
6146| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
6147| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
6148|
6149| void *yyalloc (yy_size_t  );
6150| void *yyrealloc (void *,yy_size_t  );
6151| void yyfree (void *  );
6152|
6153| #define yy_new_buffer yy_create_buffer
6154|
6155| #define yy_set_interactive(is_interactive) \
6156|       { \
6157|       if ( ! YY_CURRENT_BUFFER ){ \
6158|         yyensure_buffer_stack (); \
6159|               YY_CURRENT_BUFFER_LVALUE =    \
6160|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
6161|       } \
6162|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
6163|       }
6164|
6165| #define yy_set_bol(at_bol) \
6166|       { \
6167|       if ( ! YY_CURRENT_BUFFER ){\
6168|         yyensure_buffer_stack (); \
6169|               YY_CURRENT_BUFFER_LVALUE =    \
6170|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
6171|       } \
6172|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
6173|       }
6174|
6175| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
6176|
6177| /* Begin user sect3 */
6178|
6179| typedef unsigned char YY_CHAR;
6180|
6181| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
6182|
6183| typedef int yy_state_type;
6184|
6185| extern int yylineno;
6186|
6187| int yylineno = 1;
6188|
6189| extern char *yytext;
6190| #define yytext_ptr yytext
6191|
6192| static yy_state_type yy_get_previous_state (void );
6193| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
6194| static int yy_get_next_buffer (void );
6195| static void yy_fatal_error (yyconst char msg[]  );
6196|
6197| /* Done after the current pattern has been matched and before the
6198|  * corresponding action - sets up yytext.
6199|  */
6200| #define YY_DO_BEFORE_ACTION \
6201|       (yytext_ptr) = yy_bp; \
6202|       (yytext_ptr) -= (yy_more_len); \
6203|       yyleng = (size_t) (yy_cp - (yytext_ptr)); \
6204|       (yy_hold_char) = *yy_cp; \
6205|       *yy_cp = '\0'; \
6206|       (yy_c_buf_p) = yy_cp;
6207|
6208| #define YY_NUM_RULES 8
6209| #define YY_END_OF_BUFFER 9
6210| /* This struct is not used in this scanner,
6211|    but its presence is necessary. */
6212| struct yy_trans_info
6213|       {
6214|       flex_int32_t yy_verify;
6215|       flex_int32_t yy_nxt;
6216|       };
6217| static yyconst flex_int16_t yy_acclist[23] =
6218|     {   0,
6219|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
6220|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
6221|         7,    8
6222|     } ;
6223|
6224| static yyconst flex_int16_t yy_accept[14] =
6225|     {   0,
6226|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
6227|        20,   23,   23
6228|     } ;
6229|
6230| static yyconst flex_int32_t yy_ec[256] =
6231|     {   0,
6232|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
6233|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6234|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6235|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6236|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6237|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6238|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6239|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6240|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6241|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
6242|
6243|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
6244|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6245|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6246|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6247|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6248|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6249|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6250|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6251|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6252|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6253|
6254|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6255|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6256|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6257|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6258|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
6259|         1,    1,    1,    1,    1
6260|     } ;
6261|
6262| static yyconst flex_int32_t yy_meta[9] =
6263|     {   0,
6264|         1,    1,    1,    1,    1,    1,    1,    1
6265|     } ;
6266|
6267| static yyconst flex_int16_t yy_base[13] =
6268|     {   0,
6269|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
6270|        10,   10
6271|     } ;
6272|
6273| static yyconst flex_int16_t yy_def[13] =
6274|     {   0,
6275|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
6276|        12,    0
6277|     } ;
6278|
6279| static yyconst flex_int16_t yy_nxt[19] =
6280|     {   0,
6281|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
6282|        12,   12,   12,   12,   12,   12,   12,   12
6283|     } ;
6284|
6285| static yyconst flex_int16_t yy_chk[19] =
6286|     {   0,
6287|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
6288|        12,   12,   12,   12,   12,   12,   12,   12
6289|     } ;
6290|
6291| extern int yy_flex_debug;
6292| int yy_flex_debug = 0;
6293|
6294| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
6295| static char *yy_full_match;
6296| static int yy_lp;
6297| #define REJECT \
6298| { \
6299| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
6300| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
6301| ++(yy_lp); \
6302| goto find_rule; \
6303| }
6304|
6305| static int yy_more_flag = 0;
6306| static int yy_more_len = 0;
6307| #define yymore() ((yy_more_flag) = 1)
6308| #define YY_MORE_ADJ (yy_more_len)
6309| #define YY_RESTORE_YY_MORE_OFFSET
6310| char *yytext;
6311| #line 1 "conftest.l"
6312| #line 469 "lex.yy.c"
6313|
6314| #define INITIAL 0
6315|
6316| #ifndef YY_NO_UNISTD_H
6317| /* Special case for "unistd.h", since it is non-ANSI. We include it way
6318|  * down here because we want the user's section 1 to have been scanned first.
6319|  * The user has a chance to override it with an option.
6320|  */
6321| #include <unistd.h>
6322| #endif
6323|
6324| #ifndef YY_EXTRA_TYPE
6325| #define YY_EXTRA_TYPE void *
6326| #endif
6327|
6328| static int yy_init_globals (void );
6329|
6330| /* Accessor methods to globals.
6331|    These are made visible to non-reentrant scanners for convenience. */
6332|
6333| int yylex_destroy (void );
6334|
6335| int yyget_debug (void );
6336|
6337| void yyset_debug (int debug_flag  );
6338|
6339| YY_EXTRA_TYPE yyget_extra (void );
6340|
6341| void yyset_extra (YY_EXTRA_TYPE user_defined  );
6342|
6343| FILE *yyget_in (void );
6344|
6345| void yyset_in  (FILE * in_str  );
6346|
6347| FILE *yyget_out (void );
6348|
6349| void yyset_out  (FILE * out_str  );
6350|
6351| yy_size_t yyget_leng (void );
6352|
6353| char *yyget_text (void );
6354|
6355| int yyget_lineno (void );
6356|
6357| void yyset_lineno (int line_number  );
6358|
6359| /* Macros after this point can all be overridden by user definitions in
6360|  * section 1.
6361|  */
6362|
6363| #ifndef YY_SKIP_YYWRAP
6364| #ifdef __cplusplus
6365| extern "C" int yywrap (void );
6366| #else
6367| extern int yywrap (void );
6368| #endif
6369| #endif
6370|
6371|     static void yyunput (int c,char *buf_ptr  );
6372|     
6373| #ifndef yytext_ptr
6374| static void yy_flex_strncpy (char *,yyconst char *,int );
6375| #endif
6376|
6377| #ifdef YY_NEED_STRLEN
6378| static int yy_flex_strlen (yyconst char * );
6379| #endif
6380|
6381| #ifndef YY_NO_INPUT
6382|
6383| #ifdef __cplusplus
6384| static int yyinput (void );
6385| #else
6386| static int input (void );
6387| #endif
6388|
6389| #endif
6390|
6391| /* Amount of stuff to slurp up with each read. */
6392| #ifndef YY_READ_BUF_SIZE
6393| #define YY_READ_BUF_SIZE 8192
6394| #endif
6395|
6396| /* Copy whatever the last rule matched to the standard output. */
6397| #ifndef ECHO
6398| /* This used to be an fputs(), but since the string might contain NUL's,
6399|  * we now use fwrite().
6400|  */
6401| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
6402| #endif
6403|
6404| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
6405|  * is returned in "result".
6406|  */
6407| #ifndef YY_INPUT
6408| #define YY_INPUT(buf,result,max_size) \
6409|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
6410|               { \
6411|               int c = '*'; \
6412|               size_t n; \
6413|               for ( n = 0; n < max_size && \
6414|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
6415|                       buf[n] = (char) c; \
6416|               if ( c == '\n' ) \
6417|                       buf[n++] = (char) c; \
6418|               if ( c == EOF && ferror( yyin ) ) \
6419|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
6420|               result = n; \
6421|               } \
6422|       else \
6423|               { \
6424|               errno=0; \
6425|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
6426|                       { \
6427|                       if( errno != EINTR) \
6428|                               { \
6429|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
6430|                               break; \
6431|                               } \
6432|                       errno=0; \
6433|                       clearerr(yyin); \
6434|                       } \
6435|               }\
6436| \
6437|
6438| #endif
6439|
6440| /* No semi-colon after return; correct usage is to write "yyterminate();" -
6441|  * we don't want an extra ';' after the "return" because that will cause
6442|  * some compilers to complain about unreachable statements.
6443|  */
6444| #ifndef yyterminate
6445| #define yyterminate() return YY_NULL
6446| #endif
6447|
6448| /* Number of entries by which start-condition stack grows. */
6449| #ifndef YY_START_STACK_INCR
6450| #define YY_START_STACK_INCR 25
6451| #endif
6452|
6453| /* Report a fatal error. */
6454| #ifndef YY_FATAL_ERROR
6455| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
6456| #endif
6457|
6458| /* end tables serialization structures and prototypes */
6459|
6460| /* Default declaration of generated scanner - a define so the user can
6461|  * easily add parameters.
6462|  */
6463| #ifndef YY_DECL
6464| #define YY_DECL_IS_OURS 1
6465|
6466| extern int yylex (void);
6467|
6468| #define YY_DECL int yylex (void)
6469| #endif /* !YY_DECL */
6470|
6471| /* Code executed at the beginning of each rule, after yytext and yyleng
6472|  * have been set up.
6473|  */
6474| #ifndef YY_USER_ACTION
6475| #define YY_USER_ACTION
6476| #endif
6477|
6478| /* Code executed at the end of each rule. */
6479| #ifndef YY_BREAK
6480| #define YY_BREAK break;
6481| #endif
6482|
6483| #define YY_RULE_SETUP \
6484|       YY_USER_ACTION
6485|
6486| /** The main scanner function which does all the work.
6487|  */
6488| YY_DECL
6489| {
6490|       register yy_state_type yy_current_state;
6491|       register char *yy_cp, *yy_bp;
6492|       register int yy_act;
6493|     
6494| #line 1 "conftest.l"
6495|
6496| #line 653 "lex.yy.c"
6497|
6498|       if ( !(yy_init) )
6499|               {
6500|               (yy_init) = 1;
6501|
6502| #ifdef YY_USER_INIT
6503|               YY_USER_INIT;
6504| #endif
6505|
6506|         /* Create the reject buffer large enough to save one state per allowed character. */
6507|         if ( ! (yy_state_buf) )
6508|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
6509|             if ( ! (yy_state_buf) )
6510|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
6511|
6512|               if ( ! (yy_start) )
6513|                       (yy_start) = 1; /* first start state */
6514|
6515|               if ( ! yyin )
6516|                       yyin = stdin;
6517|
6518|               if ( ! yyout )
6519|                       yyout = stdout;
6520|
6521|               if ( ! YY_CURRENT_BUFFER ) {
6522|                       yyensure_buffer_stack ();
6523|                       YY_CURRENT_BUFFER_LVALUE =
6524|                               yy_create_buffer(yyin,YY_BUF_SIZE );
6525|               }
6526|
6527|               yy_load_buffer_state( );
6528|               }
6529|
6530|       while ( 1 )             /* loops until end-of-file is reached */
6531|               {
6532|               (yy_more_len) = 0;
6533|               if ( (yy_more_flag) )
6534|                       {
6535|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
6536|                       (yy_more_flag) = 0;
6537|                       }
6538|               yy_cp = (yy_c_buf_p);
6539|
6540|               /* Support of yytext. */
6541|               *yy_cp = (yy_hold_char);
6542|
6543|               /* yy_bp points to the position in yy_ch_buf of the start of
6544|                * the current run.
6545|                */
6546|               yy_bp = yy_cp;
6547|
6548|               yy_current_state = (yy_start);
6549|
6550|               (yy_state_ptr) = (yy_state_buf);
6551|               *(yy_state_ptr)++ = yy_current_state;
6552|
6553| yy_match:
6554|               do
6555|                       {
6556|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
6557|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
6558|                               {
6559|                               yy_current_state = (int) yy_def[yy_current_state];
6560|                               if ( yy_current_state >= 13 )
6561|                                       yy_c = yy_meta[(unsigned int) yy_c];
6562|                               }
6563|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
6564|                       *(yy_state_ptr)++ = yy_current_state;
6565|                       ++yy_cp;
6566|                       }
6567|               while ( yy_base[yy_current_state] != 10 );
6568|
6569| yy_find_action:
6570|               yy_current_state = *--(yy_state_ptr);
6571|               (yy_lp) = yy_accept[yy_current_state];
6572| find_rule: /* we branch to this label when backing up */
6573|               for ( ; ; ) /* until we find what rule we matched */
6574|                       {
6575|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
6576|                               {
6577|                               yy_act = yy_acclist[(yy_lp)];
6578|                                       {
6579|                                       (yy_full_match) = yy_cp;
6580|                                       break;
6581|                                       }
6582|                               }
6583|                       --yy_cp;
6584|                       yy_current_state = *--(yy_state_ptr);
6585|                       (yy_lp) = yy_accept[yy_current_state];
6586|                       }
6587|
6588|               YY_DO_BEFORE_ACTION;
6589|
6590| do_action:    /* This label is used only to access EOF actions. */
6591|
6592|               switch ( yy_act )
6593|       { /* beginning of action switch */
6594| case 1:
6595| YY_RULE_SETUP
6596| #line 2 "conftest.l"
6597| { ECHO; }
6598|       YY_BREAK
6599| case 2:
6600| YY_RULE_SETUP
6601| #line 3 "conftest.l"
6602| { REJECT; }
6603|       YY_BREAK
6604| case 3:
6605| YY_RULE_SETUP
6606| #line 4 "conftest.l"
6607| { yymore (); }
6608|       YY_BREAK
6609| case 4:
6610| YY_RULE_SETUP
6611| #line 5 "conftest.l"
6612| { yyless (1); }
6613|       YY_BREAK
6614| case 5:
6615| YY_RULE_SETUP
6616| #line 6 "conftest.l"
6617| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
6618|     yyless ((input () != 0)); }
6619|       YY_BREAK
6620| case 6:
6621| YY_RULE_SETUP
6622| #line 8 "conftest.l"
6623| { unput (yytext[0]); }
6624|       YY_BREAK
6625| case 7:
6626| YY_RULE_SETUP
6627| #line 9 "conftest.l"
6628| { BEGIN INITIAL; }
6629|       YY_BREAK
6630| case 8:
6631| YY_RULE_SETUP
6632| #line 10 "conftest.l"
6633| ECHO;
6634|       YY_BREAK
6635| #line 792 "lex.yy.c"
6636|                       case YY_STATE_EOF(INITIAL):
6637|                               yyterminate();
6638|
6639|       case YY_END_OF_BUFFER:
6640|               {
6641|               /* Amount of text matched not including the EOB char. */
6642|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
6643|
6644|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
6645|               *yy_cp = (yy_hold_char);
6646|               YY_RESTORE_YY_MORE_OFFSET
6647|
6648|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
6649|                       {
6650|                       /* We're scanning a new file or input source.  It's
6651|                        * possible that this happened because the user
6652|                        * just pointed yyin at a new source and called
6653|                        * yylex().  If so, then we have to assure
6654|                        * consistency between YY_CURRENT_BUFFER and our
6655|                        * globals.  Here is the right place to do so, because
6656|                        * this is the first action (other than possibly a
6657|                        * back-up) that will match for the new input source.
6658|                        */
6659|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
6660|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
6661|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
6662|                       }
6663|
6664|               /* Note that here we test for yy_c_buf_p "<=" to the position
6665|                * of the first EOB in the buffer, since yy_c_buf_p will
6666|                * already have been incremented past the NUL character
6667|                * (since all states make transitions on EOB to the
6668|                * end-of-buffer state).  Contrast this with the test
6669|                * in input().
6670|                */
6671|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
6672|                       { /* This was really a NUL. */
6673|                       yy_state_type yy_next_state;
6674|
6675|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
6676|
6677|                       yy_current_state = yy_get_previous_state(  );
6678|
6679|                       /* Okay, we're now positioned to make the NUL
6680|                        * transition.  We couldn't have
6681|                        * yy_get_previous_state() go ahead and do it
6682|                        * for us because it doesn't know how to deal
6683|                        * with the possibility of jamming (and we don't
6684|                        * want to build jamming into it because then it
6685|                        * will run more slowly).
6686|                        */
6687|
6688|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
6689|
6690|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
6691|
6692|                       if ( yy_next_state )
6693|                               {
6694|                               /* Consume the NUL. */
6695|                               yy_cp = ++(yy_c_buf_p);
6696|                               yy_current_state = yy_next_state;
6697|                               goto yy_match;
6698|                               }
6699|
6700|                       else
6701|                               {
6702|                               yy_cp = (yy_c_buf_p);
6703|                               goto yy_find_action;
6704|                               }
6705|                       }
6706|
6707|               else switch ( yy_get_next_buffer(  ) )
6708|                       {
6709|                       case EOB_ACT_END_OF_FILE:
6710|                               {
6711|                               (yy_did_buffer_switch_on_eof) = 0;
6712|
6713|                               if ( yywrap( ) )
6714|                                       {
6715|                                       /* Note: because we've taken care in
6716|                                        * yy_get_next_buffer() to have set up
6717|                                        * yytext, we can now set up
6718|                                        * yy_c_buf_p so that if some total
6719|                                        * hoser (like flex itself) wants to
6720|                                        * call the scanner after we return the
6721|                                        * YY_NULL, it'll still work - another
6722|                                        * YY_NULL will get returned.
6723|                                        */
6724|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
6725|
6726|                                       yy_act = YY_STATE_EOF(YY_START);
6727|                                       goto do_action;
6728|                                       }
6729|
6730|                               else
6731|                                       {
6732|                                       if ( ! (yy_did_buffer_switch_on_eof) )
6733|                                               YY_NEW_FILE;
6734|                                       }
6735|                               break;
6736|                               }
6737|
6738|                       case EOB_ACT_CONTINUE_SCAN:
6739|                               (yy_c_buf_p) =
6740|                                       (yytext_ptr) + yy_amount_of_matched_text;
6741|
6742|                               yy_current_state = yy_get_previous_state(  );
6743|
6744|                               yy_cp = (yy_c_buf_p);
6745|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
6746|                               goto yy_match;
6747|
6748|                       case EOB_ACT_LAST_MATCH:
6749|                               (yy_c_buf_p) =
6750|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
6751|
6752|                               yy_current_state = yy_get_previous_state(  );
6753|
6754|                               yy_cp = (yy_c_buf_p);
6755|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
6756|                               goto yy_find_action;
6757|                       }
6758|               break;
6759|               }
6760|
6761|       default:
6762|               YY_FATAL_ERROR(
6763|                       "fatal flex scanner internal error--no action found" );
6764|       } /* end of action switch */
6765|               } /* end of scanning one token */
6766| } /* end of yylex */
6767|
6768| /* yy_get_next_buffer - try to read in a new buffer
6769|  *
6770|  * Returns a code representing an action:
6771|  *    EOB_ACT_LAST_MATCH -
6772|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
6773|  *    EOB_ACT_END_OF_FILE - end of file
6774|  */
6775| static int yy_get_next_buffer (void)
6776| {
6777|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
6778|       register char *source = (yytext_ptr);
6779|       register int number_to_move, i;
6780|       int ret_val;
6781|
6782|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
6783|               YY_FATAL_ERROR(
6784|               "fatal flex scanner internal error--end of buffer missed" );
6785|
6786|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
6787|               { /* Don't try to fill the buffer, so this is an EOF. */
6788|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
6789|                       {
6790|                       /* We matched a single character, the EOB, so
6791|                        * treat this as a final EOF.
6792|                        */
6793|                       return EOB_ACT_END_OF_FILE;
6794|                       }
6795|
6796|               else
6797|                       {
6798|                       /* We matched some text prior to the EOB, first
6799|                        * process it.
6800|                        */
6801|                       return EOB_ACT_LAST_MATCH;
6802|                       }
6803|               }
6804|
6805|       /* Try to read more data. */
6806|
6807|       /* First move last chars to start of buffer. */
6808|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
6809|
6810|       for ( i = 0; i < number_to_move; ++i )
6811|               *(dest++) = *(source++);
6812|
6813|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
6814|               /* don't do the read, it's not guaranteed to return an EOF,
6815|                * just force an EOF
6816|                */
6817|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
6818|
6819|       else
6820|               {
6821|                       yy_size_t num_to_read =
6822|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
6823|
6824|               while ( num_to_read <= 0 )
6825|                       { /* Not enough room in the buffer - grow it. */
6826|
6827|                       YY_FATAL_ERROR(
6828| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
6829|
6830|                       }
6831|
6832|               if ( num_to_read > YY_READ_BUF_SIZE )
6833|                       num_to_read = YY_READ_BUF_SIZE;
6834|
6835|               /* Read in more data. */
6836|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
6837|                       (yy_n_chars), num_to_read );
6838|
6839|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
6840|               }
6841|
6842|       if ( (yy_n_chars) == 0 )
6843|               {
6844|               if ( number_to_move == YY_MORE_ADJ )
6845|                       {
6846|                       ret_val = EOB_ACT_END_OF_FILE;
6847|                       yyrestart(yyin  );
6848|                       }
6849|
6850|               else
6851|                       {
6852|                       ret_val = EOB_ACT_LAST_MATCH;
6853|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
6854|                               YY_BUFFER_EOF_PENDING;
6855|                       }
6856|               }
6857|
6858|       else
6859|               ret_val = EOB_ACT_CONTINUE_SCAN;
6860|
6861|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
6862|               /* Extend the array by 50%, plus the number we really need. */
6863|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
6864|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
6865|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
6866|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
6867|       }
6868|
6869|       (yy_n_chars) += number_to_move;
6870|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
6871|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
6872|
6873|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
6874|
6875|       return ret_val;
6876| }
6877|
6878| /* yy_get_previous_state - get the state just before the EOB char was reached */
6879|
6880|     static yy_state_type yy_get_previous_state (void)
6881| {
6882|       register yy_state_type yy_current_state;
6883|       register char *yy_cp;
6884|     
6885|       yy_current_state = (yy_start);
6886|
6887|       (yy_state_ptr) = (yy_state_buf);
6888|       *(yy_state_ptr)++ = yy_current_state;
6889|
6890|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
6891|               {
6892|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
6893|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
6894|                       {
6895|                       yy_current_state = (int) yy_def[yy_current_state];
6896|                       if ( yy_current_state >= 13 )
6897|                               yy_c = yy_meta[(unsigned int) yy_c];
6898|                       }
6899|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
6900|               *(yy_state_ptr)++ = yy_current_state;
6901|               }
6902|
6903|       return yy_current_state;
6904| }
6905|
6906| /* yy_try_NUL_trans - try to make a transition on the NUL character
6907|  *
6908|  * synopsis
6909|  *    next_state = yy_try_NUL_trans( current_state );
6910|  */
6911|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
6912| {
6913|       register int yy_is_jam;
6914|     
6915|       register YY_CHAR yy_c = 1;
6916|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
6917|               {
6918|               yy_current_state = (int) yy_def[yy_current_state];
6919|               if ( yy_current_state >= 13 )
6920|                       yy_c = yy_meta[(unsigned int) yy_c];
6921|               }
6922|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
6923|       yy_is_jam = (yy_current_state == 12);
6924|       if ( ! yy_is_jam )
6925|               *(yy_state_ptr)++ = yy_current_state;
6926|
6927|               return yy_is_jam ? 0 : yy_current_state;
6928| }
6929|
6930|     static void yyunput (int c, register char * yy_bp )
6931| {
6932|       register char *yy_cp;
6933|     
6934|     yy_cp = (yy_c_buf_p);
6935|
6936|       /* undo effects of setting up yytext */
6937|       *yy_cp = (yy_hold_char);
6938|
6939|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
6940|               { /* need to shift things up to make room */
6941|               /* +2 for EOB chars. */
6942|               register yy_size_t number_to_move = (yy_n_chars) + 2;
6943|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
6944|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
6945|               register char *source =
6946|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
6947|
6948|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
6949|                       *--dest = *--source;
6950|
6951|               yy_cp += (int) (dest - source);
6952|               yy_bp += (int) (dest - source);
6953|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
6954|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
6955|
6956|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
6957|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
6958|               }
6959|
6960|       *--yy_cp = (char) c;
6961|
6962|       (yytext_ptr) = yy_bp;
6963|       (yy_hold_char) = *yy_cp;
6964|       (yy_c_buf_p) = yy_cp;
6965| }
6966|
6967| #ifndef YY_NO_INPUT
6968| #ifdef __cplusplus
6969|     static int yyinput (void)
6970| #else
6971|     static int input  (void)
6972| #endif
6973|
6974| {
6975|       int c;
6976|     
6977|       *(yy_c_buf_p) = (yy_hold_char);
6978|
6979|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
6980|               {
6981|               /* yy_c_buf_p now points to the character we want to return.
6982|                * If this occurs *before* the EOB characters, then it's a
6983|                * valid NUL; if not, then we've hit the end of the buffer.
6984|                */
6985|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
6986|                       /* This was really a NUL. */
6987|                       *(yy_c_buf_p) = '\0';
6988|
6989|               else
6990|                       { /* need more input */
6991|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
6992|                       ++(yy_c_buf_p);
6993|
6994|                       switch ( yy_get_next_buffer(  ) )
6995|                               {
6996|                               case EOB_ACT_LAST_MATCH:
6997|                                       /* This happens because yy_g_n_b()
6998|                                        * sees that we've accumulated a
6999|                                        * token and flags that we need to
7000|                                        * try matching the token before
7001|                                        * proceeding.  But for input(),
7002|                                        * there's no matching to consider.
7003|                                        * So convert the EOB_ACT_LAST_MATCH
7004|                                        * to EOB_ACT_END_OF_FILE.
7005|                                        */
7006|
7007|                                       /* Reset buffer status. */
7008|                                       yyrestart(yyin );
7009|
7010|                                       /*FALLTHROUGH*/
7011|
7012|                               case EOB_ACT_END_OF_FILE:
7013|                                       {
7014|                                       if ( yywrap( ) )
7015|                                               return EOF;
7016|
7017|                                       if ( ! (yy_did_buffer_switch_on_eof) )
7018|                                               YY_NEW_FILE;
7019| #ifdef __cplusplus
7020|                                       return yyinput();
7021| #else
7022|                                       return input();
7023| #endif
7024|                                       }
7025|
7026|                               case EOB_ACT_CONTINUE_SCAN:
7027|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
7028|                                       break;
7029|                               }
7030|                       }
7031|               }
7032|
7033|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
7034|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
7035|       (yy_hold_char) = *++(yy_c_buf_p);
7036|
7037|       return c;
7038| }
7039| #endif        /* ifndef YY_NO_INPUT */
7040|
7041| /** Immediately switch to a different input stream.
7042|  * @param input_file A readable stream.
7043|  *
7044|  * @note This function does not reset the start condition to @c INITIAL .
7045|  */
7046|     void yyrestart  (FILE * input_file )
7047| {
7048|     
7049|       if ( ! YY_CURRENT_BUFFER ){
7050|         yyensure_buffer_stack ();
7051|               YY_CURRENT_BUFFER_LVALUE =
7052|             yy_create_buffer(yyin,YY_BUF_SIZE );
7053|       }
7054|
7055|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
7056|       yy_load_buffer_state( );
7057| }
7058|
7059| /** Switch to a different input buffer.
7060|  * @param new_buffer The new input buffer.
7061|  *
7062|  */
7063|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
7064| {
7065|     
7066|       /* TODO. We should be able to replace this entire function body
7067|        * with
7068|        *              yypop_buffer_state();
7069|        *              yypush_buffer_state(new_buffer);
7070|      */
7071|       yyensure_buffer_stack ();
7072|       if ( YY_CURRENT_BUFFER == new_buffer )
7073|               return;
7074|
7075|       if ( YY_CURRENT_BUFFER )
7076|               {
7077|               /* Flush out information for old buffer. */
7078|               *(yy_c_buf_p) = (yy_hold_char);
7079|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
7080|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
7081|               }
7082|
7083|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
7084|       yy_load_buffer_state( );
7085|
7086|       /* We don't actually know whether we did this switch during
7087|        * EOF (yywrap()) processing, but the only time this flag
7088|        * is looked at is after yywrap() is called, so it's safe
7089|        * to go ahead and always set it.
7090|        */
7091|       (yy_did_buffer_switch_on_eof) = 1;
7092| }
7093|
7094| static void yy_load_buffer_state  (void)
7095| {
7096|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
7097|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
7098|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
7099|       (yy_hold_char) = *(yy_c_buf_p);
7100| }
7101|
7102| /** Allocate and initialize an input buffer state.
7103|  * @param file A readable stream.
7104|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
7105|  *
7106|  * @return the allocated buffer state.
7107|  */
7108|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
7109| {
7110|       YY_BUFFER_STATE b;
7111|     
7112|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
7113|       if ( ! b )
7114|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
7115|
7116|       b->yy_buf_size = size;
7117|
7118|       /* yy_ch_buf has to be 2 characters longer than the size given because
7119|        * we need to put in 2 end-of-buffer characters.
7120|        */
7121|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
7122|       if ( ! b->yy_ch_buf )
7123|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
7124|
7125|       b->yy_is_our_buffer = 1;
7126|
7127|       yy_init_buffer(b,file );
7128|
7129|       return b;
7130| }
7131|
7132| /** Destroy the buffer.
7133|  * @param b a buffer created with yy_create_buffer()
7134|  *
7135|  */
7136|     void yy_delete_buffer (YY_BUFFER_STATE  b )
7137| {
7138|     
7139|       if ( ! b )
7140|               return;
7141|
7142|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
7143|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
7144|
7145|       if ( b->yy_is_our_buffer )
7146|               yyfree((void *) b->yy_ch_buf  );
7147|
7148|       yyfree((void *) b  );
7149| }
7150|
7151| /* Initializes or reinitializes a buffer.
7152|  * This function is sometimes called more than once on the same buffer,
7153|  * such as during a yyrestart() or at EOF.
7154|  */
7155|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
7156|
7157| {
7158|       int oerrno = errno;
7159|     
7160|       yy_flush_buffer(b );
7161|
7162|       b->yy_input_file = file;
7163|       b->yy_fill_buffer = 1;
7164|
7165|     /* If b is the current buffer, then yy_init_buffer was _probably_
7166|      * called from yyrestart() or through yy_get_next_buffer.
7167|      * In that case, we don't want to reset the lineno or column.
7168|      */
7169|     if (b != YY_CURRENT_BUFFER){
7170|         b->yy_bs_lineno = 1;
7171|         b->yy_bs_column = 0;
7172|     }
7173|
7174|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
7175|     
7176|       errno = oerrno;
7177| }
7178|
7179| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
7180|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
7181|  *
7182|  */
7183|     void yy_flush_buffer (YY_BUFFER_STATE  b )
7184| {
7185|       if ( ! b )
7186|               return;
7187|
7188|       b->yy_n_chars = 0;
7189|
7190|       /* We always need two end-of-buffer characters.  The first causes
7191|        * a transition to the end-of-buffer state.  The second causes
7192|        * a jam in that state.
7193|        */
7194|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
7195|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
7196|
7197|       b->yy_buf_pos = &b->yy_ch_buf[0];
7198|
7199|       b->yy_at_bol = 1;
7200|       b->yy_buffer_status = YY_BUFFER_NEW;
7201|
7202|       if ( b == YY_CURRENT_BUFFER )
7203|               yy_load_buffer_state( );
7204| }
7205|
7206| /** Pushes the new state onto the stack. The new state becomes
7207|  *  the current state. This function will allocate the stack
7208|  *  if necessary.
7209|  *  @param new_buffer The new state.
7210|  * 
7211|  */
7212| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
7213| {
7214|       if (new_buffer == NULL)
7215|               return;
7216|
7217|       yyensure_buffer_stack();
7218|
7219|       /* This block is copied from yy_switch_to_buffer. */
7220|       if ( YY_CURRENT_BUFFER )
7221|               {
7222|               /* Flush out information for old buffer. */
7223|               *(yy_c_buf_p) = (yy_hold_char);
7224|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
7225|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
7226|               }
7227|
7228|       /* Only push if top exists. Otherwise, replace top. */
7229|       if (YY_CURRENT_BUFFER)
7230|               (yy_buffer_stack_top)++;
7231|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
7232|
7233|       /* copied from yy_switch_to_buffer. */
7234|       yy_load_buffer_state( );
7235|       (yy_did_buffer_switch_on_eof) = 1;
7236| }
7237|
7238| /** Removes and deletes the top of the stack, if present.
7239|  *  The next element becomes the new top.
7240|  * 
7241|  */
7242| void yypop_buffer_state (void)
7243| {
7244|       if (!YY_CURRENT_BUFFER)
7245|               return;
7246|
7247|       yy_delete_buffer(YY_CURRENT_BUFFER );
7248|       YY_CURRENT_BUFFER_LVALUE = NULL;
7249|       if ((yy_buffer_stack_top) > 0)
7250|               --(yy_buffer_stack_top);
7251|
7252|       if (YY_CURRENT_BUFFER) {
7253|               yy_load_buffer_state( );
7254|               (yy_did_buffer_switch_on_eof) = 1;
7255|       }
7256| }
7257|
7258| /* Allocates the stack if it does not exist.
7259|  *  Guarantees space for at least one push.
7260|  */
7261| static void yyensure_buffer_stack (void)
7262| {
7263|       yy_size_t num_to_alloc;
7264|     
7265|       if (!(yy_buffer_stack)) {
7266|
7267|               /* First allocation is just for 2 elements, since we don't know if this
7268|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
7269|                * immediate realloc on the next call.
7270|          */
7271|               num_to_alloc = 1;
7272|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
7273|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
7274|                                                               );
7275|               if ( ! (yy_buffer_stack) )
7276|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
7277|                                                                 
7278|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
7279|                               
7280|               (yy_buffer_stack_max) = num_to_alloc;
7281|               (yy_buffer_stack_top) = 0;
7282|               return;
7283|       }
7284|
7285|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
7286|
7287|               /* Increase the buffer to prepare for a possible push. */
7288|               int grow_size = 8 /* arbitrary grow size */;
7289|
7290|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
7291|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
7292|                                                               ((yy_buffer_stack),
7293|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
7294|                                                               );
7295|               if ( ! (yy_buffer_stack) )
7296|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
7297|
7298|               /* zero only the new slots.*/
7299|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
7300|               (yy_buffer_stack_max) = num_to_alloc;
7301|       }
7302| }
7303|
7304| /** Setup the input buffer state to scan directly from a user-specified character buffer.
7305|  * @param base the character buffer
7306|  * @param size the size in bytes of the character buffer
7307|  *
7308|  * @return the newly allocated buffer state object.
7309|  */
7310| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
7311| {
7312|       YY_BUFFER_STATE b;
7313|     
7314|       if ( size < 2 ||
7315|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
7316|            base[size-1] != YY_END_OF_BUFFER_CHAR )
7317|               /* They forgot to leave room for the EOB's. */
7318|               return 0;
7319|
7320|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
7321|       if ( ! b )
7322|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
7323|
7324|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
7325|       b->yy_buf_pos = b->yy_ch_buf = base;
7326|       b->yy_is_our_buffer = 0;
7327|       b->yy_input_file = 0;
7328|       b->yy_n_chars = b->yy_buf_size;
7329|       b->yy_is_interactive = 0;
7330|       b->yy_at_bol = 1;
7331|       b->yy_fill_buffer = 0;
7332|       b->yy_buffer_status = YY_BUFFER_NEW;
7333|
7334|       yy_switch_to_buffer(b  );
7335|
7336|       return b;
7337| }
7338|
7339| /** Setup the input buffer state to scan a string. The next call to yylex() will
7340|  * scan from a @e copy of @a str.
7341|  * @param yystr a NUL-terminated string to scan
7342|  *
7343|  * @return the newly allocated buffer state object.
7344|  * @note If you want to scan bytes that may contain NUL values, then use
7345|  *       yy_scan_bytes() instead.
7346|  */
7347| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
7348| {
7349|     
7350|       return yy_scan_bytes(yystr,strlen(yystr) );
7351| }
7352|
7353| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
7354|  * scan from a @e copy of @a bytes.
7355|  * @param yybytes the byte buffer to scan
7356|  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
7357|  *
7358|  * @return the newly allocated buffer state object.
7359|  */
7360| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
7361| {
7362|       YY_BUFFER_STATE b;
7363|       char *buf;
7364|       yy_size_t n;
7365|       int i;
7366|     
7367|       /* Get memory for full buffer, including space for trailing EOB's. */
7368|       n = _yybytes_len + 2;
7369|       buf = (char *) yyalloc(n  );
7370|       if ( ! buf )
7371|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
7372|
7373|       for ( i = 0; i < _yybytes_len; ++i )
7374|               buf[i] = yybytes[i];
7375|
7376|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
7377|
7378|       b = yy_scan_buffer(buf,n );
7379|       if ( ! b )
7380|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
7381|
7382|       /* It's okay to grow etc. this buffer, and we should throw it
7383|        * away when we're done.
7384|        */
7385|       b->yy_is_our_buffer = 1;
7386|
7387|       return b;
7388| }
7389|
7390| #ifndef YY_EXIT_FAILURE
7391| #define YY_EXIT_FAILURE 2
7392| #endif
7393|
7394| static void yy_fatal_error (yyconst char* msg )
7395| {
7396|       (void) fprintf( stderr, "%s\n", msg );
7397|       exit( YY_EXIT_FAILURE );
7398| }
7399|
7400| /* Redefine yyless() so it works in section 3 code. */
7401|
7402| #undef yyless
7403| #define yyless(n) \
7404|       do \
7405|               { \
7406|               /* Undo effects of setting up yytext. */ \
7407|         int yyless_macro_arg = (n); \
7408|         YY_LESS_LINENO(yyless_macro_arg);\
7409|               yytext[yyleng] = (yy_hold_char); \
7410|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
7411|               (yy_hold_char) = *(yy_c_buf_p); \
7412|               *(yy_c_buf_p) = '\0'; \
7413|               yyleng = yyless_macro_arg; \
7414|               } \
7415|       while ( 0 )
7416|
7417| /* Accessor  methods (get/set functions) to struct members. */
7418|
7419| /** Get the current line number.
7420|  *
7421|  */
7422| int yyget_lineno  (void)
7423| {
7424|         
7425|     return yylineno;
7426| }
7427|
7428| /** Get the input stream.
7429|  *
7430|  */
7431| FILE *yyget_in  (void)
7432| {
7433|         return yyin;
7434| }
7435|
7436| /** Get the output stream.
7437|  *
7438|  */
7439| FILE *yyget_out  (void)
7440| {
7441|         return yyout;
7442| }
7443|
7444| /** Get the length of the current token.
7445|  *
7446|  */
7447| yy_size_t yyget_leng  (void)
7448| {
7449|         return yyleng;
7450| }
7451|
7452| /** Get the current token.
7453|  *
7454|  */
7455|
7456| char *yyget_text  (void)
7457| {
7458|         return yytext;
7459| }
7460|
7461| /** Set the current line number.
7462|  * @param line_number
7463|  *
7464|  */
7465| void yyset_lineno (int  line_number )
7466| {
7467|     
7468|     yylineno = line_number;
7469| }
7470|
7471| /** Set the input stream. This does not discard the current
7472|  * input buffer.
7473|  * @param in_str A readable stream.
7474|  *
7475|  * @see yy_switch_to_buffer
7476|  */
7477| void yyset_in (FILE *  in_str )
7478| {
7479|         yyin = in_str ;
7480| }
7481|
7482| void yyset_out (FILE *  out_str )
7483| {
7484|         yyout = out_str ;
7485| }
7486|
7487| int yyget_debug  (void)
7488| {
7489|         return yy_flex_debug;
7490| }
7491|
7492| void yyset_debug (int  bdebug )
7493| {
7494|         yy_flex_debug = bdebug ;
7495| }
7496|
7497| static int yy_init_globals (void)
7498| {
7499|         /* Initialization is the same as for the non-reentrant scanner.
7500|      * This function is called from yylex_destroy(), so don't allocate here.
7501|      */
7502|
7503|     (yy_buffer_stack) = 0;
7504|     (yy_buffer_stack_top) = 0;
7505|     (yy_buffer_stack_max) = 0;
7506|     (yy_c_buf_p) = (char *) 0;
7507|     (yy_init) = 0;
7508|     (yy_start) = 0;
7509|
7510|     (yy_state_buf) = 0;
7511|     (yy_state_ptr) = 0;
7512|     (yy_full_match) = 0;
7513|     (yy_lp) = 0;
7514|
7515| /* Defined in main.c */
7516| #ifdef YY_STDINIT
7517|     yyin = stdin;
7518|     yyout = stdout;
7519| #else
7520|     yyin = (FILE *) 0;
7521|     yyout = (FILE *) 0;
7522| #endif
7523|
7524|     /* For future reference: Set errno on error, since we are called by
7525|      * yylex_init()
7526|      */
7527|     return 0;
7528| }
7529|
7530| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
7531| int yylex_destroy  (void)
7532| {
7533|     
7534|     /* Pop the buffer stack, destroying each element. */
7535|       while(YY_CURRENT_BUFFER){
7536|               yy_delete_buffer(YY_CURRENT_BUFFER  );
7537|               YY_CURRENT_BUFFER_LVALUE = NULL;
7538|               yypop_buffer_state();
7539|       }
7540|
7541|       /* Destroy the stack itself. */
7542|       yyfree((yy_buffer_stack) );
7543|       (yy_buffer_stack) = NULL;
7544|
7545|     yyfree ( (yy_state_buf) );
7546|     (yy_state_buf)  = NULL;
7547|
7548|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
7549|      * yylex() is called, initialization will occur. */
7550|     yy_init_globals( );
7551|
7552|     return 0;
7553| }
7554|
7555| /*
7556|  * Internal utility routines.
7557|  */
7558|
7559| #ifndef yytext_ptr
7560| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
7561| {
7562|       register int i;
7563|       for ( i = 0; i < n; ++i )
7564|               s1[i] = s2[i];
7565| }
7566| #endif
7567|
7568| #ifdef YY_NEED_STRLEN
7569| static int yy_flex_strlen (yyconst char * s )
7570| {
7571|       register int n;
7572|       for ( n = 0; s[n]; ++n )
7573|               ;
7574|
7575|       return n;
7576| }
7577| #endif
7578|
7579| void *yyalloc (yy_size_t  size )
7580| {
7581|       return (void *) malloc( size );
7582| }
7583|
7584| void *yyrealloc  (void * ptr, yy_size_t  size )
7585| {
7586|       /* The cast to (char *) in the following accommodates both
7587|        * implementations that use char* generic pointers, and those
7588|        * that use void* generic pointers.  It works with the latter
7589|        * because both ANSI C and C++ allow castless assignment from
7590|        * any pointer type to void*, and deal with argument conversions
7591|        * as though doing an assignment.
7592|        */
7593|       return (void *) realloc( (char *) ptr, size );
7594| }
7595|
7596| void yyfree (void * ptr )
7597| {
7598|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
7599| }
7600|
7601| #define YYTABLES_NAME "yytables"
7602|
7603| #line 10 "conftest.l"
7604|
7605|
7606| #ifdef YYTEXT_POINTER
7607| extern char *yytext;
7608| #endif
7609| int
7610| main (void)
7611| {
7612|   return ! yylex () + ! yywrap ();
7613| }
7614configure:6163: result: no
7615configure:6174: checking for yylex_destroy
7616configure:6180: result: yes
7617configure:6189: checking for bison
7618configure:6205: found /opt/local/bin/bison
7619configure:6216: result: bison -y
7620configure:6230: checking for doxygen
7621configure:6246: found /opt/local/bin/doxygen
7622configure:6257: result: doxygen
7623configure:6308: checking for strip
7624configure:6324: found /opt/local/bin/strip
7625configure:6335: result: strip
7626configure:6390: checking build system type
7627configure:6404: result: x86_64-apple-darwin10.8.0
7628configure:6424: checking host system type
7629configure:6437: result: x86_64-apple-darwin10.8.0
7630configure:6523: checking for ar
7631configure:6541: found /opt/local/bin/ar
7632configure:6553: result: /opt/local/bin/ar
7633configure:6625: checking how to print strings
7634configure:6652: result: printf
7635configure:6673: checking for a sed that does not truncate output
7636configure:6737: result: /opt/local/bin/gsed
7637configure:6755: checking for fgrep
7638configure:6817: result: /usr/bin/grep -F
7639configure:6852: checking for ld used by /usr/bin/llvm-gcc-4.2
7640configure:6919: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
7641configure:6926: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
7642configure:6941: result: no
7643configure:6953: checking for BSD- or MS-compatible name lister (nm)
7644configure:7002: result: /opt/local/bin/nm
7645configure:7132: checking the name lister (/opt/local/bin/nm) interface
7646configure:7139: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7647configure:7142: /opt/local/bin/nm "conftest.o"
7648configure:7145: output
7649configure:7152: result: BSD nm
7650configure:7155: checking whether ln -s works
7651configure:7159: result: yes
7652configure:7167: checking the maximum length of command line arguments
7653configure:7297: result: 196608
7654configure:7314: checking whether the shell understands some XSI constructs
7655configure:7324: result: yes
7656configure:7328: checking whether the shell understands "+="
7657configure:7334: result: yes
7658configure:7369: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
7659configure:7409: result: func_convert_file_noop
7660configure:7416: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
7661configure:7436: result: func_convert_file_noop
7662configure:7443: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files
7663configure:7450: result: -r
7664configure:7524: checking for objdump
7665configure:7554: result: no
7666configure:7583: checking how to recognize dependent libraries
7667configure:7785: result: pass_all
7668configure:7870: checking for dlltool
7669configure:7900: result: no
7670configure:7930: checking how to associate runtime and link libraries
7671configure:7957: result: printf %s\n
7672configure:8081: checking for archiver @FILE support
7673configure:8098: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7674configure:8098: $? = 0
7675configure:8101: /opt/local/bin/ar cru libconftest.a @conftest.lst >&5
7676ar: @conftest.lst: No such file or directory
7677configure:8104: $? = 1
7678configure:8124: result: no
7679configure:8182: checking for strip
7680configure:8209: result: strip
7681configure:8281: checking for ranlib
7682configure:8297: found /opt/local/bin/ranlib
7683configure:8308: result: ranlib
7684configure:8385: checking for gawk
7685configure:8401: found /opt/local/bin/gawk
7686configure:8412: result: gawk
7687configure:8452: checking command to parse /opt/local/bin/nm output from /usr/bin/llvm-gcc-4.2 object
7688configure:8572: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7689configure:8575: $? = 0
7690configure:8579: /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
7691configure:8582: $? = 0
7692cannot run sed -n -e 's/^.*[     ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d'
7693configure:8572: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7694configure:8575: $? = 0
7695configure:8579: /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
7696configure:8582: $? = 0
7697cannot run sed -n -e 's/^.*[     ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d'
7698configure:8686: result: failed
7699configure:8726: checking for sysroot
7700configure:8756: result: no
7701configure:9018: checking for mt
7702configure:9048: result: no
7703configure:9068: checking if : is a manifest tool
7704configure:9074: : '-?'
7705configure:9082: result: no
7706configure:9138: checking for dsymutil
7707configure:9154: found /usr/bin/dsymutil
7708configure:9165: result: dsymutil
7709configure:9230: checking for nmedit
7710configure:9246: found /opt/local/bin/nmedit
7711configure:9257: result: nmedit
7712configure:9322: checking for lipo
7713configure:9338: found /opt/local/bin/lipo
7714configure:9349: result: lipo
7715configure:9414: checking for otool
7716configure:9430: found /opt/local/bin/otool
7717configure:9441: result: otool
7718configure:9506: checking for otool64
7719configure:9536: result: no
7720configure:9581: checking for -single_module linker flag
7721/usr/bin/llvm-gcc-4.2 -pipe -Os -arch x86_64 -flto -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
7722configure:9614: result: yes
7723configure:9617: checking for -exported_symbols_list linker flag
7724configure:9637: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -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
7725configure:9637: $? = 0
7726configure:9647: result: yes
7727configure:9650: checking for -force_load linker flag
7728/usr/bin/llvm-gcc-4.2 -pipe -Os -arch x86_64 -flto -c -o conftest.o conftest.c
7729/opt/local/bin/ar cru libconftest.a conftest.o
7730ranlib libconftest.a
7731warning: ranlib: warning for library: libconftest.a the table of contents is empty (no object file members in the library define global symbols)
7732/usr/bin/llvm-gcc-4.2 -pipe -Os -arch x86_64 -flto -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a
7733configure:9682: result: yes
7734configure:9721: checking for dlfcn.h
7735configure:9721: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7736configure:9721: $? = 0
7737configure:9721: result: yes
7738configure:9929: checking for objdir
7739configure:9944: result: .libs
7740configure:10211: checking if /usr/bin/llvm-gcc-4.2 supports -fno-rtti -fno-exceptions
7741configure:10229: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
7742cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
7743configure:10233: $? = 0
7744configure:10246: result: no
7745configure:10573: checking for /usr/bin/llvm-gcc-4.2 option to produce PIC
7746configure:10580: result: -fno-common -DPIC
7747configure:10588: checking if /usr/bin/llvm-gcc-4.2 PIC flag -fno-common -DPIC works
7748configure:10606: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
7749configure:10610: $? = 0
7750configure:10623: result: yes
7751configure:10652: checking if /usr/bin/llvm-gcc-4.2 static flag -static works
7752configure:10680: result: no
7753configure:10695: checking if /usr/bin/llvm-gcc-4.2 supports -c -o file.o
7754configure:10716: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include -o out/conftest2.o conftest.c >&5
7755configure:10720: $? = 0
7756configure:10742: result: yes
7757configure:10750: checking if /usr/bin/llvm-gcc-4.2 supports -c -o file.o
7758configure:10797: result: yes
7759configure:10830: checking whether the /usr/bin/llvm-gcc-4.2 linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
7760configure:11983: result: yes
7761configure:12223: checking dynamic linker characteristics
7762configure:12960: result: darwin10.8.0 dyld
7763configure:13067: checking how to hardcode library paths into programs
7764configure:13092: result: immediate
7765configure:13632: checking whether stripping libraries is possible
7766configure:13646: result: yes
7767configure:13672: checking if libtool supports shared libraries
7768configure:13674: result: yes
7769configure:13677: checking whether to build shared libraries
7770configure:13698: result: yes
7771configure:13701: checking whether to build static libraries
7772configure:13705: result: yes
7773configure:13748: checking for stdarg.h
7774configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7775configure:13748: $? = 0
7776configure:13748: result: yes
7777configure:13748: checking for stdbool.h
7778configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7779configure:13748: $? = 0
7780configure:13748: result: yes
7781configure:13748: checking for netinet/in.h
7782configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7783configure:13748: $? = 0
7784configure:13748: result: yes
7785configure:13748: checking for sys/param.h
7786configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7787configure:13748: $? = 0
7788configure:13748: result: yes
7789configure:13748: checking for sys/socket.h
7790configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7791configure:13748: $? = 0
7792configure:13748: result: yes
7793configure:13748: checking for sys/un.h
7794configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7795configure:13748: $? = 0
7796configure:13748: result: yes
7797configure:13748: checking for sys/uio.h
7798configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7799configure:13748: $? = 0
7800configure:13748: result: yes
7801configure:13748: checking for sys/resource.h
7802configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7803configure:13748: $? = 0
7804configure:13748: result: yes
7805configure:13748: checking for arpa/inet.h
7806configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7807configure:13748: $? = 0
7808configure:13748: result: yes
7809configure:13748: checking for syslog.h
7810configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7811configure:13748: $? = 0
7812configure:13748: result: yes
7813configure:13748: checking for netdb.h
7814configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7815configure:13748: $? = 0
7816configure:13748: result: yes
7817configure:13748: checking for sys/wait.h
7818configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7819configure:13748: $? = 0
7820configure:13748: result: yes
7821configure:13748: checking for pwd.h
7822configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7823configure:13748: $? = 0
7824configure:13748: result: yes
7825configure:13748: checking for glob.h
7826configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7827configure:13748: $? = 0
7828configure:13748: result: yes
7829configure:13748: checking for grp.h
7830configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7831configure:13748: $? = 0
7832configure:13748: result: yes
7833configure:13748: checking for login_cap.h
7834configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7835conftest.c:90:23: error: login_cap.h: No such file or directory
7836configure:13748: $? = 1
7837configure: failed program was:
7838| /* confdefs.h */
7839| #define PACKAGE_NAME "unbound"
7840| #define PACKAGE_TARNAME "unbound"
7841| #define PACKAGE_VERSION "1.5.4"
7842| #define PACKAGE_STRING "unbound 1.5.4"
7843| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
7844| #define PACKAGE_URL ""
7845| #define STDC_HEADERS 1
7846| #define HAVE_SYS_TYPES_H 1
7847| #define HAVE_SYS_STAT_H 1
7848| #define HAVE_STDLIB_H 1
7849| #define HAVE_STRING_H 1
7850| #define HAVE_MEMORY_H 1
7851| #define HAVE_STRINGS_H 1
7852| #define HAVE_INTTYPES_H 1
7853| #define HAVE_STDINT_H 1
7854| #define HAVE_UNISTD_H 1
7855| #define __EXTENSIONS__ 1
7856| #define _ALL_SOURCE 1
7857| #define _GNU_SOURCE 1
7858| #define _POSIX_PTHREAD_SEMANTICS 1
7859| #define _TANDEM_SOURCE 1
7860| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7861| #define RUN_DIR "/opt/local/etc/unbound"
7862| #define CHROOT_DIR "/opt/local/etc/unbound"
7863| #define SHARE_DIR "/opt/local/etc/unbound"
7864| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7865| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
7866| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7867| #define UB_USERNAME "unbound"
7868| #define WINVER 0x0502
7869| #define RSRC_PACKAGE_VERSION 1,5,4,0
7870| #define HAVE_GETOPT_H 1
7871| #define HAVE_TIME_H 1
7872| #define HAVE_ATTR_FORMAT 1
7873| #define HAVE_ATTR_UNUSED 1
7874| #define LEX_HAS_YYLEX_DESTROY 1
7875| #define HAVE_DLFCN_H 1
7876| #define LT_OBJDIR ".libs/"
7877| #define HAVE_STDARG_H 1
7878| #define HAVE_STDBOOL_H 1
7879| #define HAVE_NETINET_IN_H 1
7880| #define HAVE_SYS_PARAM_H 1
7881| #define HAVE_SYS_SOCKET_H 1
7882| #define HAVE_SYS_UN_H 1
7883| #define HAVE_SYS_UIO_H 1
7884| #define HAVE_SYS_RESOURCE_H 1
7885| #define HAVE_ARPA_INET_H 1
7886| #define HAVE_SYSLOG_H 1
7887| #define HAVE_NETDB_H 1
7888| #define HAVE_SYS_WAIT_H 1
7889| #define HAVE_PWD_H 1
7890| #define HAVE_GLOB_H 1
7891| #define HAVE_GRP_H 1
7892| /* end confdefs.h.  */
7893| #include <stdio.h>
7894| #ifdef HAVE_SYS_TYPES_H
7895| # include <sys/types.h>
7896| #endif
7897| #ifdef HAVE_SYS_STAT_H
7898| # include <sys/stat.h>
7899| #endif
7900| #ifdef STDC_HEADERS
7901| # include <stdlib.h>
7902| # include <stddef.h>
7903| #else
7904| # ifdef HAVE_STDLIB_H
7905| #  include <stdlib.h>
7906| # endif
7907| #endif
7908| #ifdef HAVE_STRING_H
7909| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7910| #  include <memory.h>
7911| # endif
7912| # include <string.h>
7913| #endif
7914| #ifdef HAVE_STRINGS_H
7915| # include <strings.h>
7916| #endif
7917| #ifdef HAVE_INTTYPES_H
7918| # include <inttypes.h>
7919| #endif
7920| #ifdef HAVE_STDINT_H
7921| # include <stdint.h>
7922| #endif
7923| #ifdef HAVE_UNISTD_H
7924| # include <unistd.h>
7925| #endif
7926|
7927| #include <login_cap.h>
7928configure:13748: result: no
7929configure:13748: checking for winsock2.h
7930configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
7931conftest.c:90:22: error: winsock2.h: No such file or directory
7932configure:13748: $? = 1
7933configure: failed program was:
7934| /* confdefs.h */
7935| #define PACKAGE_NAME "unbound"
7936| #define PACKAGE_TARNAME "unbound"
7937| #define PACKAGE_VERSION "1.5.4"
7938| #define PACKAGE_STRING "unbound 1.5.4"
7939| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
7940| #define PACKAGE_URL ""
7941| #define STDC_HEADERS 1
7942| #define HAVE_SYS_TYPES_H 1
7943| #define HAVE_SYS_STAT_H 1
7944| #define HAVE_STDLIB_H 1
7945| #define HAVE_STRING_H 1
7946| #define HAVE_MEMORY_H 1
7947| #define HAVE_STRINGS_H 1
7948| #define HAVE_INTTYPES_H 1
7949| #define HAVE_STDINT_H 1
7950| #define HAVE_UNISTD_H 1
7951| #define __EXTENSIONS__ 1
7952| #define _ALL_SOURCE 1
7953| #define _GNU_SOURCE 1
7954| #define _POSIX_PTHREAD_SEMANTICS 1
7955| #define _TANDEM_SOURCE 1
7956| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
7957| #define RUN_DIR "/opt/local/etc/unbound"
7958| #define CHROOT_DIR "/opt/local/etc/unbound"
7959| #define SHARE_DIR "/opt/local/etc/unbound"
7960| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
7961| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
7962| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
7963| #define UB_USERNAME "unbound"
7964| #define WINVER 0x0502
7965| #define RSRC_PACKAGE_VERSION 1,5,4,0
7966| #define HAVE_GETOPT_H 1
7967| #define HAVE_TIME_H 1
7968| #define HAVE_ATTR_FORMAT 1
7969| #define HAVE_ATTR_UNUSED 1
7970| #define LEX_HAS_YYLEX_DESTROY 1
7971| #define HAVE_DLFCN_H 1
7972| #define LT_OBJDIR ".libs/"
7973| #define HAVE_STDARG_H 1
7974| #define HAVE_STDBOOL_H 1
7975| #define HAVE_NETINET_IN_H 1
7976| #define HAVE_SYS_PARAM_H 1
7977| #define HAVE_SYS_SOCKET_H 1
7978| #define HAVE_SYS_UN_H 1
7979| #define HAVE_SYS_UIO_H 1
7980| #define HAVE_SYS_RESOURCE_H 1
7981| #define HAVE_ARPA_INET_H 1
7982| #define HAVE_SYSLOG_H 1
7983| #define HAVE_NETDB_H 1
7984| #define HAVE_SYS_WAIT_H 1
7985| #define HAVE_PWD_H 1
7986| #define HAVE_GLOB_H 1
7987| #define HAVE_GRP_H 1
7988| /* end confdefs.h.  */
7989| #include <stdio.h>
7990| #ifdef HAVE_SYS_TYPES_H
7991| # include <sys/types.h>
7992| #endif
7993| #ifdef HAVE_SYS_STAT_H
7994| # include <sys/stat.h>
7995| #endif
7996| #ifdef STDC_HEADERS
7997| # include <stdlib.h>
7998| # include <stddef.h>
7999| #else
8000| # ifdef HAVE_STDLIB_H
8001| #  include <stdlib.h>
8002| # endif
8003| #endif
8004| #ifdef HAVE_STRING_H
8005| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8006| #  include <memory.h>
8007| # endif
8008| # include <string.h>
8009| #endif
8010| #ifdef HAVE_STRINGS_H
8011| # include <strings.h>
8012| #endif
8013| #ifdef HAVE_INTTYPES_H
8014| # include <inttypes.h>
8015| #endif
8016| #ifdef HAVE_STDINT_H
8017| # include <stdint.h>
8018| #endif
8019| #ifdef HAVE_UNISTD_H
8020| # include <unistd.h>
8021| #endif
8022|
8023| #include <winsock2.h>
8024configure:13748: result: no
8025configure:13748: checking for ws2tcpip.h
8026configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8027conftest.c:90:22: error: ws2tcpip.h: No such file or directory
8028configure:13748: $? = 1
8029configure: failed program was:
8030| /* confdefs.h */
8031| #define PACKAGE_NAME "unbound"
8032| #define PACKAGE_TARNAME "unbound"
8033| #define PACKAGE_VERSION "1.5.4"
8034| #define PACKAGE_STRING "unbound 1.5.4"
8035| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8036| #define PACKAGE_URL ""
8037| #define STDC_HEADERS 1
8038| #define HAVE_SYS_TYPES_H 1
8039| #define HAVE_SYS_STAT_H 1
8040| #define HAVE_STDLIB_H 1
8041| #define HAVE_STRING_H 1
8042| #define HAVE_MEMORY_H 1
8043| #define HAVE_STRINGS_H 1
8044| #define HAVE_INTTYPES_H 1
8045| #define HAVE_STDINT_H 1
8046| #define HAVE_UNISTD_H 1
8047| #define __EXTENSIONS__ 1
8048| #define _ALL_SOURCE 1
8049| #define _GNU_SOURCE 1
8050| #define _POSIX_PTHREAD_SEMANTICS 1
8051| #define _TANDEM_SOURCE 1
8052| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8053| #define RUN_DIR "/opt/local/etc/unbound"
8054| #define CHROOT_DIR "/opt/local/etc/unbound"
8055| #define SHARE_DIR "/opt/local/etc/unbound"
8056| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8057| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8058| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8059| #define UB_USERNAME "unbound"
8060| #define WINVER 0x0502
8061| #define RSRC_PACKAGE_VERSION 1,5,4,0
8062| #define HAVE_GETOPT_H 1
8063| #define HAVE_TIME_H 1
8064| #define HAVE_ATTR_FORMAT 1
8065| #define HAVE_ATTR_UNUSED 1
8066| #define LEX_HAS_YYLEX_DESTROY 1
8067| #define HAVE_DLFCN_H 1
8068| #define LT_OBJDIR ".libs/"
8069| #define HAVE_STDARG_H 1
8070| #define HAVE_STDBOOL_H 1
8071| #define HAVE_NETINET_IN_H 1
8072| #define HAVE_SYS_PARAM_H 1
8073| #define HAVE_SYS_SOCKET_H 1
8074| #define HAVE_SYS_UN_H 1
8075| #define HAVE_SYS_UIO_H 1
8076| #define HAVE_SYS_RESOURCE_H 1
8077| #define HAVE_ARPA_INET_H 1
8078| #define HAVE_SYSLOG_H 1
8079| #define HAVE_NETDB_H 1
8080| #define HAVE_SYS_WAIT_H 1
8081| #define HAVE_PWD_H 1
8082| #define HAVE_GLOB_H 1
8083| #define HAVE_GRP_H 1
8084| /* end confdefs.h.  */
8085| #include <stdio.h>
8086| #ifdef HAVE_SYS_TYPES_H
8087| # include <sys/types.h>
8088| #endif
8089| #ifdef HAVE_SYS_STAT_H
8090| # include <sys/stat.h>
8091| #endif
8092| #ifdef STDC_HEADERS
8093| # include <stdlib.h>
8094| # include <stddef.h>
8095| #else
8096| # ifdef HAVE_STDLIB_H
8097| #  include <stdlib.h>
8098| # endif
8099| #endif
8100| #ifdef HAVE_STRING_H
8101| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8102| #  include <memory.h>
8103| # endif
8104| # include <string.h>
8105| #endif
8106| #ifdef HAVE_STRINGS_H
8107| # include <strings.h>
8108| #endif
8109| #ifdef HAVE_INTTYPES_H
8110| # include <inttypes.h>
8111| #endif
8112| #ifdef HAVE_STDINT_H
8113| # include <stdint.h>
8114| #endif
8115| #ifdef HAVE_UNISTD_H
8116| # include <unistd.h>
8117| #endif
8118|
8119| #include <ws2tcpip.h>
8120configure:13748: result: no
8121configure:13748: checking for endian.h
8122configure:13748: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8123conftest.c:90:20: error: endian.h: No such file or directory
8124configure:13748: $? = 1
8125configure: failed program was:
8126| /* confdefs.h */
8127| #define PACKAGE_NAME "unbound"
8128| #define PACKAGE_TARNAME "unbound"
8129| #define PACKAGE_VERSION "1.5.4"
8130| #define PACKAGE_STRING "unbound 1.5.4"
8131| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8132| #define PACKAGE_URL ""
8133| #define STDC_HEADERS 1
8134| #define HAVE_SYS_TYPES_H 1
8135| #define HAVE_SYS_STAT_H 1
8136| #define HAVE_STDLIB_H 1
8137| #define HAVE_STRING_H 1
8138| #define HAVE_MEMORY_H 1
8139| #define HAVE_STRINGS_H 1
8140| #define HAVE_INTTYPES_H 1
8141| #define HAVE_STDINT_H 1
8142| #define HAVE_UNISTD_H 1
8143| #define __EXTENSIONS__ 1
8144| #define _ALL_SOURCE 1
8145| #define _GNU_SOURCE 1
8146| #define _POSIX_PTHREAD_SEMANTICS 1
8147| #define _TANDEM_SOURCE 1
8148| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8149| #define RUN_DIR "/opt/local/etc/unbound"
8150| #define CHROOT_DIR "/opt/local/etc/unbound"
8151| #define SHARE_DIR "/opt/local/etc/unbound"
8152| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8153| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8154| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8155| #define UB_USERNAME "unbound"
8156| #define WINVER 0x0502
8157| #define RSRC_PACKAGE_VERSION 1,5,4,0
8158| #define HAVE_GETOPT_H 1
8159| #define HAVE_TIME_H 1
8160| #define HAVE_ATTR_FORMAT 1
8161| #define HAVE_ATTR_UNUSED 1
8162| #define LEX_HAS_YYLEX_DESTROY 1
8163| #define HAVE_DLFCN_H 1
8164| #define LT_OBJDIR ".libs/"
8165| #define HAVE_STDARG_H 1
8166| #define HAVE_STDBOOL_H 1
8167| #define HAVE_NETINET_IN_H 1
8168| #define HAVE_SYS_PARAM_H 1
8169| #define HAVE_SYS_SOCKET_H 1
8170| #define HAVE_SYS_UN_H 1
8171| #define HAVE_SYS_UIO_H 1
8172| #define HAVE_SYS_RESOURCE_H 1
8173| #define HAVE_ARPA_INET_H 1
8174| #define HAVE_SYSLOG_H 1
8175| #define HAVE_NETDB_H 1
8176| #define HAVE_SYS_WAIT_H 1
8177| #define HAVE_PWD_H 1
8178| #define HAVE_GLOB_H 1
8179| #define HAVE_GRP_H 1
8180| /* end confdefs.h.  */
8181| #include <stdio.h>
8182| #ifdef HAVE_SYS_TYPES_H
8183| # include <sys/types.h>
8184| #endif
8185| #ifdef HAVE_SYS_STAT_H
8186| # include <sys/stat.h>
8187| #endif
8188| #ifdef STDC_HEADERS
8189| # include <stdlib.h>
8190| # include <stddef.h>
8191| #else
8192| # ifdef HAVE_STDLIB_H
8193| #  include <stdlib.h>
8194| # endif
8195| #endif
8196| #ifdef HAVE_STRING_H
8197| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8198| #  include <memory.h>
8199| # endif
8200| # include <string.h>
8201| #endif
8202| #ifdef HAVE_STRINGS_H
8203| # include <strings.h>
8204| #endif
8205| #ifdef HAVE_INTTYPES_H
8206| # include <inttypes.h>
8207| #endif
8208| #ifdef HAVE_STDINT_H
8209| # include <stdint.h>
8210| #endif
8211| #ifdef HAVE_UNISTD_H
8212| # include <unistd.h>
8213| #endif
8214|
8215| #include <endian.h>
8216configure:13748: result: no
8217configure:13762: checking for int8_t
8218configure:13762: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8219configure:13762: $? = 0
8220configure:13762: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8221conftest.c: In function 'main':
8222conftest.c:92: error: expected expression before ')' token
8223configure:13762: $? = 1
8224configure: failed program was:
8225| /* confdefs.h */
8226| #define PACKAGE_NAME "unbound"
8227| #define PACKAGE_TARNAME "unbound"
8228| #define PACKAGE_VERSION "1.5.4"
8229| #define PACKAGE_STRING "unbound 1.5.4"
8230| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8231| #define PACKAGE_URL ""
8232| #define STDC_HEADERS 1
8233| #define HAVE_SYS_TYPES_H 1
8234| #define HAVE_SYS_STAT_H 1
8235| #define HAVE_STDLIB_H 1
8236| #define HAVE_STRING_H 1
8237| #define HAVE_MEMORY_H 1
8238| #define HAVE_STRINGS_H 1
8239| #define HAVE_INTTYPES_H 1
8240| #define HAVE_STDINT_H 1
8241| #define HAVE_UNISTD_H 1
8242| #define __EXTENSIONS__ 1
8243| #define _ALL_SOURCE 1
8244| #define _GNU_SOURCE 1
8245| #define _POSIX_PTHREAD_SEMANTICS 1
8246| #define _TANDEM_SOURCE 1
8247| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8248| #define RUN_DIR "/opt/local/etc/unbound"
8249| #define CHROOT_DIR "/opt/local/etc/unbound"
8250| #define SHARE_DIR "/opt/local/etc/unbound"
8251| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8252| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8253| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8254| #define UB_USERNAME "unbound"
8255| #define WINVER 0x0502
8256| #define RSRC_PACKAGE_VERSION 1,5,4,0
8257| #define HAVE_GETOPT_H 1
8258| #define HAVE_TIME_H 1
8259| #define HAVE_ATTR_FORMAT 1
8260| #define HAVE_ATTR_UNUSED 1
8261| #define LEX_HAS_YYLEX_DESTROY 1
8262| #define HAVE_DLFCN_H 1
8263| #define LT_OBJDIR ".libs/"
8264| #define HAVE_STDARG_H 1
8265| #define HAVE_STDBOOL_H 1
8266| #define HAVE_NETINET_IN_H 1
8267| #define HAVE_SYS_PARAM_H 1
8268| #define HAVE_SYS_SOCKET_H 1
8269| #define HAVE_SYS_UN_H 1
8270| #define HAVE_SYS_UIO_H 1
8271| #define HAVE_SYS_RESOURCE_H 1
8272| #define HAVE_ARPA_INET_H 1
8273| #define HAVE_SYSLOG_H 1
8274| #define HAVE_NETDB_H 1
8275| #define HAVE_SYS_WAIT_H 1
8276| #define HAVE_PWD_H 1
8277| #define HAVE_GLOB_H 1
8278| #define HAVE_GRP_H 1
8279| /* end confdefs.h.  */
8280| #include <stdio.h>
8281| #ifdef HAVE_SYS_TYPES_H
8282| # include <sys/types.h>
8283| #endif
8284| #ifdef HAVE_SYS_STAT_H
8285| # include <sys/stat.h>
8286| #endif
8287| #ifdef STDC_HEADERS
8288| # include <stdlib.h>
8289| # include <stddef.h>
8290| #else
8291| # ifdef HAVE_STDLIB_H
8292| #  include <stdlib.h>
8293| # endif
8294| #endif
8295| #ifdef HAVE_STRING_H
8296| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8297| #  include <memory.h>
8298| # endif
8299| # include <string.h>
8300| #endif
8301| #ifdef HAVE_STRINGS_H
8302| # include <strings.h>
8303| #endif
8304| #ifdef HAVE_INTTYPES_H
8305| # include <inttypes.h>
8306| #endif
8307| #ifdef HAVE_STDINT_H
8308| # include <stdint.h>
8309| #endif
8310| #ifdef HAVE_UNISTD_H
8311| # include <unistd.h>
8312| #endif
8313| int
8314| main ()
8315| {
8316| if (sizeof ((int8_t)))
8317|           return 0;
8318|   ;
8319|   return 0;
8320| }
8321configure:13762: result: yes
8322configure:13773: checking for int16_t
8323configure:13773: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8324configure:13773: $? = 0
8325configure:13773: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8326conftest.c: In function 'main':
8327conftest.c:92: error: expected expression before ')' token
8328configure:13773: $? = 1
8329configure: failed program was:
8330| /* confdefs.h */
8331| #define PACKAGE_NAME "unbound"
8332| #define PACKAGE_TARNAME "unbound"
8333| #define PACKAGE_VERSION "1.5.4"
8334| #define PACKAGE_STRING "unbound 1.5.4"
8335| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8336| #define PACKAGE_URL ""
8337| #define STDC_HEADERS 1
8338| #define HAVE_SYS_TYPES_H 1
8339| #define HAVE_SYS_STAT_H 1
8340| #define HAVE_STDLIB_H 1
8341| #define HAVE_STRING_H 1
8342| #define HAVE_MEMORY_H 1
8343| #define HAVE_STRINGS_H 1
8344| #define HAVE_INTTYPES_H 1
8345| #define HAVE_STDINT_H 1
8346| #define HAVE_UNISTD_H 1
8347| #define __EXTENSIONS__ 1
8348| #define _ALL_SOURCE 1
8349| #define _GNU_SOURCE 1
8350| #define _POSIX_PTHREAD_SEMANTICS 1
8351| #define _TANDEM_SOURCE 1
8352| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8353| #define RUN_DIR "/opt/local/etc/unbound"
8354| #define CHROOT_DIR "/opt/local/etc/unbound"
8355| #define SHARE_DIR "/opt/local/etc/unbound"
8356| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8357| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8358| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8359| #define UB_USERNAME "unbound"
8360| #define WINVER 0x0502
8361| #define RSRC_PACKAGE_VERSION 1,5,4,0
8362| #define HAVE_GETOPT_H 1
8363| #define HAVE_TIME_H 1
8364| #define HAVE_ATTR_FORMAT 1
8365| #define HAVE_ATTR_UNUSED 1
8366| #define LEX_HAS_YYLEX_DESTROY 1
8367| #define HAVE_DLFCN_H 1
8368| #define LT_OBJDIR ".libs/"
8369| #define HAVE_STDARG_H 1
8370| #define HAVE_STDBOOL_H 1
8371| #define HAVE_NETINET_IN_H 1
8372| #define HAVE_SYS_PARAM_H 1
8373| #define HAVE_SYS_SOCKET_H 1
8374| #define HAVE_SYS_UN_H 1
8375| #define HAVE_SYS_UIO_H 1
8376| #define HAVE_SYS_RESOURCE_H 1
8377| #define HAVE_ARPA_INET_H 1
8378| #define HAVE_SYSLOG_H 1
8379| #define HAVE_NETDB_H 1
8380| #define HAVE_SYS_WAIT_H 1
8381| #define HAVE_PWD_H 1
8382| #define HAVE_GLOB_H 1
8383| #define HAVE_GRP_H 1
8384| /* end confdefs.h.  */
8385| #include <stdio.h>
8386| #ifdef HAVE_SYS_TYPES_H
8387| # include <sys/types.h>
8388| #endif
8389| #ifdef HAVE_SYS_STAT_H
8390| # include <sys/stat.h>
8391| #endif
8392| #ifdef STDC_HEADERS
8393| # include <stdlib.h>
8394| # include <stddef.h>
8395| #else
8396| # ifdef HAVE_STDLIB_H
8397| #  include <stdlib.h>
8398| # endif
8399| #endif
8400| #ifdef HAVE_STRING_H
8401| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8402| #  include <memory.h>
8403| # endif
8404| # include <string.h>
8405| #endif
8406| #ifdef HAVE_STRINGS_H
8407| # include <strings.h>
8408| #endif
8409| #ifdef HAVE_INTTYPES_H
8410| # include <inttypes.h>
8411| #endif
8412| #ifdef HAVE_STDINT_H
8413| # include <stdint.h>
8414| #endif
8415| #ifdef HAVE_UNISTD_H
8416| # include <unistd.h>
8417| #endif
8418| int
8419| main ()
8420| {
8421| if (sizeof ((int16_t)))
8422|           return 0;
8423|   ;
8424|   return 0;
8425| }
8426configure:13773: result: yes
8427configure:13784: checking for int32_t
8428configure:13784: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8429configure:13784: $? = 0
8430configure:13784: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8431conftest.c: In function 'main':
8432conftest.c:92: error: expected expression before ')' token
8433configure:13784: $? = 1
8434configure: failed program was:
8435| /* confdefs.h */
8436| #define PACKAGE_NAME "unbound"
8437| #define PACKAGE_TARNAME "unbound"
8438| #define PACKAGE_VERSION "1.5.4"
8439| #define PACKAGE_STRING "unbound 1.5.4"
8440| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8441| #define PACKAGE_URL ""
8442| #define STDC_HEADERS 1
8443| #define HAVE_SYS_TYPES_H 1
8444| #define HAVE_SYS_STAT_H 1
8445| #define HAVE_STDLIB_H 1
8446| #define HAVE_STRING_H 1
8447| #define HAVE_MEMORY_H 1
8448| #define HAVE_STRINGS_H 1
8449| #define HAVE_INTTYPES_H 1
8450| #define HAVE_STDINT_H 1
8451| #define HAVE_UNISTD_H 1
8452| #define __EXTENSIONS__ 1
8453| #define _ALL_SOURCE 1
8454| #define _GNU_SOURCE 1
8455| #define _POSIX_PTHREAD_SEMANTICS 1
8456| #define _TANDEM_SOURCE 1
8457| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8458| #define RUN_DIR "/opt/local/etc/unbound"
8459| #define CHROOT_DIR "/opt/local/etc/unbound"
8460| #define SHARE_DIR "/opt/local/etc/unbound"
8461| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8462| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8463| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8464| #define UB_USERNAME "unbound"
8465| #define WINVER 0x0502
8466| #define RSRC_PACKAGE_VERSION 1,5,4,0
8467| #define HAVE_GETOPT_H 1
8468| #define HAVE_TIME_H 1
8469| #define HAVE_ATTR_FORMAT 1
8470| #define HAVE_ATTR_UNUSED 1
8471| #define LEX_HAS_YYLEX_DESTROY 1
8472| #define HAVE_DLFCN_H 1
8473| #define LT_OBJDIR ".libs/"
8474| #define HAVE_STDARG_H 1
8475| #define HAVE_STDBOOL_H 1
8476| #define HAVE_NETINET_IN_H 1
8477| #define HAVE_SYS_PARAM_H 1
8478| #define HAVE_SYS_SOCKET_H 1
8479| #define HAVE_SYS_UN_H 1
8480| #define HAVE_SYS_UIO_H 1
8481| #define HAVE_SYS_RESOURCE_H 1
8482| #define HAVE_ARPA_INET_H 1
8483| #define HAVE_SYSLOG_H 1
8484| #define HAVE_NETDB_H 1
8485| #define HAVE_SYS_WAIT_H 1
8486| #define HAVE_PWD_H 1
8487| #define HAVE_GLOB_H 1
8488| #define HAVE_GRP_H 1
8489| /* end confdefs.h.  */
8490| #include <stdio.h>
8491| #ifdef HAVE_SYS_TYPES_H
8492| # include <sys/types.h>
8493| #endif
8494| #ifdef HAVE_SYS_STAT_H
8495| # include <sys/stat.h>
8496| #endif
8497| #ifdef STDC_HEADERS
8498| # include <stdlib.h>
8499| # include <stddef.h>
8500| #else
8501| # ifdef HAVE_STDLIB_H
8502| #  include <stdlib.h>
8503| # endif
8504| #endif
8505| #ifdef HAVE_STRING_H
8506| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8507| #  include <memory.h>
8508| # endif
8509| # include <string.h>
8510| #endif
8511| #ifdef HAVE_STRINGS_H
8512| # include <strings.h>
8513| #endif
8514| #ifdef HAVE_INTTYPES_H
8515| # include <inttypes.h>
8516| #endif
8517| #ifdef HAVE_STDINT_H
8518| # include <stdint.h>
8519| #endif
8520| #ifdef HAVE_UNISTD_H
8521| # include <unistd.h>
8522| #endif
8523| int
8524| main ()
8525| {
8526| if (sizeof ((int32_t)))
8527|           return 0;
8528|   ;
8529|   return 0;
8530| }
8531configure:13784: result: yes
8532configure:13795: checking for int64_t
8533configure:13795: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8534configure:13795: $? = 0
8535configure:13795: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8536conftest.c: In function 'main':
8537conftest.c:92: error: expected expression before ')' token
8538configure:13795: $? = 1
8539configure: failed program was:
8540| /* confdefs.h */
8541| #define PACKAGE_NAME "unbound"
8542| #define PACKAGE_TARNAME "unbound"
8543| #define PACKAGE_VERSION "1.5.4"
8544| #define PACKAGE_STRING "unbound 1.5.4"
8545| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8546| #define PACKAGE_URL ""
8547| #define STDC_HEADERS 1
8548| #define HAVE_SYS_TYPES_H 1
8549| #define HAVE_SYS_STAT_H 1
8550| #define HAVE_STDLIB_H 1
8551| #define HAVE_STRING_H 1
8552| #define HAVE_MEMORY_H 1
8553| #define HAVE_STRINGS_H 1
8554| #define HAVE_INTTYPES_H 1
8555| #define HAVE_STDINT_H 1
8556| #define HAVE_UNISTD_H 1
8557| #define __EXTENSIONS__ 1
8558| #define _ALL_SOURCE 1
8559| #define _GNU_SOURCE 1
8560| #define _POSIX_PTHREAD_SEMANTICS 1
8561| #define _TANDEM_SOURCE 1
8562| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8563| #define RUN_DIR "/opt/local/etc/unbound"
8564| #define CHROOT_DIR "/opt/local/etc/unbound"
8565| #define SHARE_DIR "/opt/local/etc/unbound"
8566| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8567| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8568| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8569| #define UB_USERNAME "unbound"
8570| #define WINVER 0x0502
8571| #define RSRC_PACKAGE_VERSION 1,5,4,0
8572| #define HAVE_GETOPT_H 1
8573| #define HAVE_TIME_H 1
8574| #define HAVE_ATTR_FORMAT 1
8575| #define HAVE_ATTR_UNUSED 1
8576| #define LEX_HAS_YYLEX_DESTROY 1
8577| #define HAVE_DLFCN_H 1
8578| #define LT_OBJDIR ".libs/"
8579| #define HAVE_STDARG_H 1
8580| #define HAVE_STDBOOL_H 1
8581| #define HAVE_NETINET_IN_H 1
8582| #define HAVE_SYS_PARAM_H 1
8583| #define HAVE_SYS_SOCKET_H 1
8584| #define HAVE_SYS_UN_H 1
8585| #define HAVE_SYS_UIO_H 1
8586| #define HAVE_SYS_RESOURCE_H 1
8587| #define HAVE_ARPA_INET_H 1
8588| #define HAVE_SYSLOG_H 1
8589| #define HAVE_NETDB_H 1
8590| #define HAVE_SYS_WAIT_H 1
8591| #define HAVE_PWD_H 1
8592| #define HAVE_GLOB_H 1
8593| #define HAVE_GRP_H 1
8594| /* end confdefs.h.  */
8595| #include <stdio.h>
8596| #ifdef HAVE_SYS_TYPES_H
8597| # include <sys/types.h>
8598| #endif
8599| #ifdef HAVE_SYS_STAT_H
8600| # include <sys/stat.h>
8601| #endif
8602| #ifdef STDC_HEADERS
8603| # include <stdlib.h>
8604| # include <stddef.h>
8605| #else
8606| # ifdef HAVE_STDLIB_H
8607| #  include <stdlib.h>
8608| # endif
8609| #endif
8610| #ifdef HAVE_STRING_H
8611| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8612| #  include <memory.h>
8613| # endif
8614| # include <string.h>
8615| #endif
8616| #ifdef HAVE_STRINGS_H
8617| # include <strings.h>
8618| #endif
8619| #ifdef HAVE_INTTYPES_H
8620| # include <inttypes.h>
8621| #endif
8622| #ifdef HAVE_STDINT_H
8623| # include <stdint.h>
8624| #endif
8625| #ifdef HAVE_UNISTD_H
8626| # include <unistd.h>
8627| #endif
8628| int
8629| main ()
8630| {
8631| if (sizeof ((int64_t)))
8632|           return 0;
8633|   ;
8634|   return 0;
8635| }
8636configure:13795: result: yes
8637configure:13806: checking for uint8_t
8638configure:13806: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8639configure:13806: $? = 0
8640configure:13806: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8641conftest.c: In function 'main':
8642conftest.c:92: error: expected expression before ')' token
8643configure:13806: $? = 1
8644configure: failed program was:
8645| /* confdefs.h */
8646| #define PACKAGE_NAME "unbound"
8647| #define PACKAGE_TARNAME "unbound"
8648| #define PACKAGE_VERSION "1.5.4"
8649| #define PACKAGE_STRING "unbound 1.5.4"
8650| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8651| #define PACKAGE_URL ""
8652| #define STDC_HEADERS 1
8653| #define HAVE_SYS_TYPES_H 1
8654| #define HAVE_SYS_STAT_H 1
8655| #define HAVE_STDLIB_H 1
8656| #define HAVE_STRING_H 1
8657| #define HAVE_MEMORY_H 1
8658| #define HAVE_STRINGS_H 1
8659| #define HAVE_INTTYPES_H 1
8660| #define HAVE_STDINT_H 1
8661| #define HAVE_UNISTD_H 1
8662| #define __EXTENSIONS__ 1
8663| #define _ALL_SOURCE 1
8664| #define _GNU_SOURCE 1
8665| #define _POSIX_PTHREAD_SEMANTICS 1
8666| #define _TANDEM_SOURCE 1
8667| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8668| #define RUN_DIR "/opt/local/etc/unbound"
8669| #define CHROOT_DIR "/opt/local/etc/unbound"
8670| #define SHARE_DIR "/opt/local/etc/unbound"
8671| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8672| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8673| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8674| #define UB_USERNAME "unbound"
8675| #define WINVER 0x0502
8676| #define RSRC_PACKAGE_VERSION 1,5,4,0
8677| #define HAVE_GETOPT_H 1
8678| #define HAVE_TIME_H 1
8679| #define HAVE_ATTR_FORMAT 1
8680| #define HAVE_ATTR_UNUSED 1
8681| #define LEX_HAS_YYLEX_DESTROY 1
8682| #define HAVE_DLFCN_H 1
8683| #define LT_OBJDIR ".libs/"
8684| #define HAVE_STDARG_H 1
8685| #define HAVE_STDBOOL_H 1
8686| #define HAVE_NETINET_IN_H 1
8687| #define HAVE_SYS_PARAM_H 1
8688| #define HAVE_SYS_SOCKET_H 1
8689| #define HAVE_SYS_UN_H 1
8690| #define HAVE_SYS_UIO_H 1
8691| #define HAVE_SYS_RESOURCE_H 1
8692| #define HAVE_ARPA_INET_H 1
8693| #define HAVE_SYSLOG_H 1
8694| #define HAVE_NETDB_H 1
8695| #define HAVE_SYS_WAIT_H 1
8696| #define HAVE_PWD_H 1
8697| #define HAVE_GLOB_H 1
8698| #define HAVE_GRP_H 1
8699| /* end confdefs.h.  */
8700| #include <stdio.h>
8701| #ifdef HAVE_SYS_TYPES_H
8702| # include <sys/types.h>
8703| #endif
8704| #ifdef HAVE_SYS_STAT_H
8705| # include <sys/stat.h>
8706| #endif
8707| #ifdef STDC_HEADERS
8708| # include <stdlib.h>
8709| # include <stddef.h>
8710| #else
8711| # ifdef HAVE_STDLIB_H
8712| #  include <stdlib.h>
8713| # endif
8714| #endif
8715| #ifdef HAVE_STRING_H
8716| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8717| #  include <memory.h>
8718| # endif
8719| # include <string.h>
8720| #endif
8721| #ifdef HAVE_STRINGS_H
8722| # include <strings.h>
8723| #endif
8724| #ifdef HAVE_INTTYPES_H
8725| # include <inttypes.h>
8726| #endif
8727| #ifdef HAVE_STDINT_H
8728| # include <stdint.h>
8729| #endif
8730| #ifdef HAVE_UNISTD_H
8731| # include <unistd.h>
8732| #endif
8733| int
8734| main ()
8735| {
8736| if (sizeof ((uint8_t)))
8737|           return 0;
8738|   ;
8739|   return 0;
8740| }
8741configure:13806: result: yes
8742configure:13817: checking for uint16_t
8743configure:13817: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8744configure:13817: $? = 0
8745configure:13817: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8746conftest.c: In function 'main':
8747conftest.c:92: error: expected expression before ')' token
8748configure:13817: $? = 1
8749configure: failed program was:
8750| /* confdefs.h */
8751| #define PACKAGE_NAME "unbound"
8752| #define PACKAGE_TARNAME "unbound"
8753| #define PACKAGE_VERSION "1.5.4"
8754| #define PACKAGE_STRING "unbound 1.5.4"
8755| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8756| #define PACKAGE_URL ""
8757| #define STDC_HEADERS 1
8758| #define HAVE_SYS_TYPES_H 1
8759| #define HAVE_SYS_STAT_H 1
8760| #define HAVE_STDLIB_H 1
8761| #define HAVE_STRING_H 1
8762| #define HAVE_MEMORY_H 1
8763| #define HAVE_STRINGS_H 1
8764| #define HAVE_INTTYPES_H 1
8765| #define HAVE_STDINT_H 1
8766| #define HAVE_UNISTD_H 1
8767| #define __EXTENSIONS__ 1
8768| #define _ALL_SOURCE 1
8769| #define _GNU_SOURCE 1
8770| #define _POSIX_PTHREAD_SEMANTICS 1
8771| #define _TANDEM_SOURCE 1
8772| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8773| #define RUN_DIR "/opt/local/etc/unbound"
8774| #define CHROOT_DIR "/opt/local/etc/unbound"
8775| #define SHARE_DIR "/opt/local/etc/unbound"
8776| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8777| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8778| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8779| #define UB_USERNAME "unbound"
8780| #define WINVER 0x0502
8781| #define RSRC_PACKAGE_VERSION 1,5,4,0
8782| #define HAVE_GETOPT_H 1
8783| #define HAVE_TIME_H 1
8784| #define HAVE_ATTR_FORMAT 1
8785| #define HAVE_ATTR_UNUSED 1
8786| #define LEX_HAS_YYLEX_DESTROY 1
8787| #define HAVE_DLFCN_H 1
8788| #define LT_OBJDIR ".libs/"
8789| #define HAVE_STDARG_H 1
8790| #define HAVE_STDBOOL_H 1
8791| #define HAVE_NETINET_IN_H 1
8792| #define HAVE_SYS_PARAM_H 1
8793| #define HAVE_SYS_SOCKET_H 1
8794| #define HAVE_SYS_UN_H 1
8795| #define HAVE_SYS_UIO_H 1
8796| #define HAVE_SYS_RESOURCE_H 1
8797| #define HAVE_ARPA_INET_H 1
8798| #define HAVE_SYSLOG_H 1
8799| #define HAVE_NETDB_H 1
8800| #define HAVE_SYS_WAIT_H 1
8801| #define HAVE_PWD_H 1
8802| #define HAVE_GLOB_H 1
8803| #define HAVE_GRP_H 1
8804| /* end confdefs.h.  */
8805| #include <stdio.h>
8806| #ifdef HAVE_SYS_TYPES_H
8807| # include <sys/types.h>
8808| #endif
8809| #ifdef HAVE_SYS_STAT_H
8810| # include <sys/stat.h>
8811| #endif
8812| #ifdef STDC_HEADERS
8813| # include <stdlib.h>
8814| # include <stddef.h>
8815| #else
8816| # ifdef HAVE_STDLIB_H
8817| #  include <stdlib.h>
8818| # endif
8819| #endif
8820| #ifdef HAVE_STRING_H
8821| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8822| #  include <memory.h>
8823| # endif
8824| # include <string.h>
8825| #endif
8826| #ifdef HAVE_STRINGS_H
8827| # include <strings.h>
8828| #endif
8829| #ifdef HAVE_INTTYPES_H
8830| # include <inttypes.h>
8831| #endif
8832| #ifdef HAVE_STDINT_H
8833| # include <stdint.h>
8834| #endif
8835| #ifdef HAVE_UNISTD_H
8836| # include <unistd.h>
8837| #endif
8838| int
8839| main ()
8840| {
8841| if (sizeof ((uint16_t)))
8842|           return 0;
8843|   ;
8844|   return 0;
8845| }
8846configure:13817: result: yes
8847configure:13828: checking for uint32_t
8848configure:13828: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8849configure:13828: $? = 0
8850configure:13828: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8851conftest.c: In function 'main':
8852conftest.c:92: error: expected expression before ')' token
8853configure:13828: $? = 1
8854configure: failed program was:
8855| /* confdefs.h */
8856| #define PACKAGE_NAME "unbound"
8857| #define PACKAGE_TARNAME "unbound"
8858| #define PACKAGE_VERSION "1.5.4"
8859| #define PACKAGE_STRING "unbound 1.5.4"
8860| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8861| #define PACKAGE_URL ""
8862| #define STDC_HEADERS 1
8863| #define HAVE_SYS_TYPES_H 1
8864| #define HAVE_SYS_STAT_H 1
8865| #define HAVE_STDLIB_H 1
8866| #define HAVE_STRING_H 1
8867| #define HAVE_MEMORY_H 1
8868| #define HAVE_STRINGS_H 1
8869| #define HAVE_INTTYPES_H 1
8870| #define HAVE_STDINT_H 1
8871| #define HAVE_UNISTD_H 1
8872| #define __EXTENSIONS__ 1
8873| #define _ALL_SOURCE 1
8874| #define _GNU_SOURCE 1
8875| #define _POSIX_PTHREAD_SEMANTICS 1
8876| #define _TANDEM_SOURCE 1
8877| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8878| #define RUN_DIR "/opt/local/etc/unbound"
8879| #define CHROOT_DIR "/opt/local/etc/unbound"
8880| #define SHARE_DIR "/opt/local/etc/unbound"
8881| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8882| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8883| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8884| #define UB_USERNAME "unbound"
8885| #define WINVER 0x0502
8886| #define RSRC_PACKAGE_VERSION 1,5,4,0
8887| #define HAVE_GETOPT_H 1
8888| #define HAVE_TIME_H 1
8889| #define HAVE_ATTR_FORMAT 1
8890| #define HAVE_ATTR_UNUSED 1
8891| #define LEX_HAS_YYLEX_DESTROY 1
8892| #define HAVE_DLFCN_H 1
8893| #define LT_OBJDIR ".libs/"
8894| #define HAVE_STDARG_H 1
8895| #define HAVE_STDBOOL_H 1
8896| #define HAVE_NETINET_IN_H 1
8897| #define HAVE_SYS_PARAM_H 1
8898| #define HAVE_SYS_SOCKET_H 1
8899| #define HAVE_SYS_UN_H 1
8900| #define HAVE_SYS_UIO_H 1
8901| #define HAVE_SYS_RESOURCE_H 1
8902| #define HAVE_ARPA_INET_H 1
8903| #define HAVE_SYSLOG_H 1
8904| #define HAVE_NETDB_H 1
8905| #define HAVE_SYS_WAIT_H 1
8906| #define HAVE_PWD_H 1
8907| #define HAVE_GLOB_H 1
8908| #define HAVE_GRP_H 1
8909| /* end confdefs.h.  */
8910| #include <stdio.h>
8911| #ifdef HAVE_SYS_TYPES_H
8912| # include <sys/types.h>
8913| #endif
8914| #ifdef HAVE_SYS_STAT_H
8915| # include <sys/stat.h>
8916| #endif
8917| #ifdef STDC_HEADERS
8918| # include <stdlib.h>
8919| # include <stddef.h>
8920| #else
8921| # ifdef HAVE_STDLIB_H
8922| #  include <stdlib.h>
8923| # endif
8924| #endif
8925| #ifdef HAVE_STRING_H
8926| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8927| #  include <memory.h>
8928| # endif
8929| # include <string.h>
8930| #endif
8931| #ifdef HAVE_STRINGS_H
8932| # include <strings.h>
8933| #endif
8934| #ifdef HAVE_INTTYPES_H
8935| # include <inttypes.h>
8936| #endif
8937| #ifdef HAVE_STDINT_H
8938| # include <stdint.h>
8939| #endif
8940| #ifdef HAVE_UNISTD_H
8941| # include <unistd.h>
8942| #endif
8943| int
8944| main ()
8945| {
8946| if (sizeof ((uint32_t)))
8947|           return 0;
8948|   ;
8949|   return 0;
8950| }
8951configure:13828: result: yes
8952configure:13839: checking for uint64_t
8953configure:13839: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8954configure:13839: $? = 0
8955configure:13839: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
8956conftest.c: In function 'main':
8957conftest.c:92: error: expected expression before ')' token
8958configure:13839: $? = 1
8959configure: failed program was:
8960| /* confdefs.h */
8961| #define PACKAGE_NAME "unbound"
8962| #define PACKAGE_TARNAME "unbound"
8963| #define PACKAGE_VERSION "1.5.4"
8964| #define PACKAGE_STRING "unbound 1.5.4"
8965| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
8966| #define PACKAGE_URL ""
8967| #define STDC_HEADERS 1
8968| #define HAVE_SYS_TYPES_H 1
8969| #define HAVE_SYS_STAT_H 1
8970| #define HAVE_STDLIB_H 1
8971| #define HAVE_STRING_H 1
8972| #define HAVE_MEMORY_H 1
8973| #define HAVE_STRINGS_H 1
8974| #define HAVE_INTTYPES_H 1
8975| #define HAVE_STDINT_H 1
8976| #define HAVE_UNISTD_H 1
8977| #define __EXTENSIONS__ 1
8978| #define _ALL_SOURCE 1
8979| #define _GNU_SOURCE 1
8980| #define _POSIX_PTHREAD_SEMANTICS 1
8981| #define _TANDEM_SOURCE 1
8982| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
8983| #define RUN_DIR "/opt/local/etc/unbound"
8984| #define CHROOT_DIR "/opt/local/etc/unbound"
8985| #define SHARE_DIR "/opt/local/etc/unbound"
8986| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
8987| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
8988| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
8989| #define UB_USERNAME "unbound"
8990| #define WINVER 0x0502
8991| #define RSRC_PACKAGE_VERSION 1,5,4,0
8992| #define HAVE_GETOPT_H 1
8993| #define HAVE_TIME_H 1
8994| #define HAVE_ATTR_FORMAT 1
8995| #define HAVE_ATTR_UNUSED 1
8996| #define LEX_HAS_YYLEX_DESTROY 1
8997| #define HAVE_DLFCN_H 1
8998| #define LT_OBJDIR ".libs/"
8999| #define HAVE_STDARG_H 1
9000| #define HAVE_STDBOOL_H 1
9001| #define HAVE_NETINET_IN_H 1
9002| #define HAVE_SYS_PARAM_H 1
9003| #define HAVE_SYS_SOCKET_H 1
9004| #define HAVE_SYS_UN_H 1
9005| #define HAVE_SYS_UIO_H 1
9006| #define HAVE_SYS_RESOURCE_H 1
9007| #define HAVE_ARPA_INET_H 1
9008| #define HAVE_SYSLOG_H 1
9009| #define HAVE_NETDB_H 1
9010| #define HAVE_SYS_WAIT_H 1
9011| #define HAVE_PWD_H 1
9012| #define HAVE_GLOB_H 1
9013| #define HAVE_GRP_H 1
9014| /* end confdefs.h.  */
9015| #include <stdio.h>
9016| #ifdef HAVE_SYS_TYPES_H
9017| # include <sys/types.h>
9018| #endif
9019| #ifdef HAVE_SYS_STAT_H
9020| # include <sys/stat.h>
9021| #endif
9022| #ifdef STDC_HEADERS
9023| # include <stdlib.h>
9024| # include <stddef.h>
9025| #else
9026| # ifdef HAVE_STDLIB_H
9027| #  include <stdlib.h>
9028| # endif
9029| #endif
9030| #ifdef HAVE_STRING_H
9031| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9032| #  include <memory.h>
9033| # endif
9034| # include <string.h>
9035| #endif
9036| #ifdef HAVE_STRINGS_H
9037| # include <strings.h>
9038| #endif
9039| #ifdef HAVE_INTTYPES_H
9040| # include <inttypes.h>
9041| #endif
9042| #ifdef HAVE_STDINT_H
9043| # include <stdint.h>
9044| #endif
9045| #ifdef HAVE_UNISTD_H
9046| # include <unistd.h>
9047| #endif
9048| int
9049| main ()
9050| {
9051| if (sizeof ((uint64_t)))
9052|           return 0;
9053|   ;
9054|   return 0;
9055| }
9056configure:13839: result: yes
9057configure:13850: checking for size_t
9058configure:13850: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9059configure:13850: $? = 0
9060configure:13850: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9061conftest.c: In function 'main':
9062conftest.c:92: error: expected expression before ')' token
9063configure:13850: $? = 1
9064configure: failed program was:
9065| /* confdefs.h */
9066| #define PACKAGE_NAME "unbound"
9067| #define PACKAGE_TARNAME "unbound"
9068| #define PACKAGE_VERSION "1.5.4"
9069| #define PACKAGE_STRING "unbound 1.5.4"
9070| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9071| #define PACKAGE_URL ""
9072| #define STDC_HEADERS 1
9073| #define HAVE_SYS_TYPES_H 1
9074| #define HAVE_SYS_STAT_H 1
9075| #define HAVE_STDLIB_H 1
9076| #define HAVE_STRING_H 1
9077| #define HAVE_MEMORY_H 1
9078| #define HAVE_STRINGS_H 1
9079| #define HAVE_INTTYPES_H 1
9080| #define HAVE_STDINT_H 1
9081| #define HAVE_UNISTD_H 1
9082| #define __EXTENSIONS__ 1
9083| #define _ALL_SOURCE 1
9084| #define _GNU_SOURCE 1
9085| #define _POSIX_PTHREAD_SEMANTICS 1
9086| #define _TANDEM_SOURCE 1
9087| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9088| #define RUN_DIR "/opt/local/etc/unbound"
9089| #define CHROOT_DIR "/opt/local/etc/unbound"
9090| #define SHARE_DIR "/opt/local/etc/unbound"
9091| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9092| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9093| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9094| #define UB_USERNAME "unbound"
9095| #define WINVER 0x0502
9096| #define RSRC_PACKAGE_VERSION 1,5,4,0
9097| #define HAVE_GETOPT_H 1
9098| #define HAVE_TIME_H 1
9099| #define HAVE_ATTR_FORMAT 1
9100| #define HAVE_ATTR_UNUSED 1
9101| #define LEX_HAS_YYLEX_DESTROY 1
9102| #define HAVE_DLFCN_H 1
9103| #define LT_OBJDIR ".libs/"
9104| #define HAVE_STDARG_H 1
9105| #define HAVE_STDBOOL_H 1
9106| #define HAVE_NETINET_IN_H 1
9107| #define HAVE_SYS_PARAM_H 1
9108| #define HAVE_SYS_SOCKET_H 1
9109| #define HAVE_SYS_UN_H 1
9110| #define HAVE_SYS_UIO_H 1
9111| #define HAVE_SYS_RESOURCE_H 1
9112| #define HAVE_ARPA_INET_H 1
9113| #define HAVE_SYSLOG_H 1
9114| #define HAVE_NETDB_H 1
9115| #define HAVE_SYS_WAIT_H 1
9116| #define HAVE_PWD_H 1
9117| #define HAVE_GLOB_H 1
9118| #define HAVE_GRP_H 1
9119| /* end confdefs.h.  */
9120| #include <stdio.h>
9121| #ifdef HAVE_SYS_TYPES_H
9122| # include <sys/types.h>
9123| #endif
9124| #ifdef HAVE_SYS_STAT_H
9125| # include <sys/stat.h>
9126| #endif
9127| #ifdef STDC_HEADERS
9128| # include <stdlib.h>
9129| # include <stddef.h>
9130| #else
9131| # ifdef HAVE_STDLIB_H
9132| #  include <stdlib.h>
9133| # endif
9134| #endif
9135| #ifdef HAVE_STRING_H
9136| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9137| #  include <memory.h>
9138| # endif
9139| # include <string.h>
9140| #endif
9141| #ifdef HAVE_STRINGS_H
9142| # include <strings.h>
9143| #endif
9144| #ifdef HAVE_INTTYPES_H
9145| # include <inttypes.h>
9146| #endif
9147| #ifdef HAVE_STDINT_H
9148| # include <stdint.h>
9149| #endif
9150| #ifdef HAVE_UNISTD_H
9151| # include <unistd.h>
9152| #endif
9153| int
9154| main ()
9155| {
9156| if (sizeof ((size_t)))
9157|           return 0;
9158|   ;
9159|   return 0;
9160| }
9161configure:13850: result: yes
9162configure:13861: checking for ssize_t
9163configure:13861: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9164configure:13861: $? = 0
9165configure:13861: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9166conftest.c: In function 'main':
9167conftest.c:92: error: expected expression before ')' token
9168configure:13861: $? = 1
9169configure: failed program was:
9170| /* confdefs.h */
9171| #define PACKAGE_NAME "unbound"
9172| #define PACKAGE_TARNAME "unbound"
9173| #define PACKAGE_VERSION "1.5.4"
9174| #define PACKAGE_STRING "unbound 1.5.4"
9175| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9176| #define PACKAGE_URL ""
9177| #define STDC_HEADERS 1
9178| #define HAVE_SYS_TYPES_H 1
9179| #define HAVE_SYS_STAT_H 1
9180| #define HAVE_STDLIB_H 1
9181| #define HAVE_STRING_H 1
9182| #define HAVE_MEMORY_H 1
9183| #define HAVE_STRINGS_H 1
9184| #define HAVE_INTTYPES_H 1
9185| #define HAVE_STDINT_H 1
9186| #define HAVE_UNISTD_H 1
9187| #define __EXTENSIONS__ 1
9188| #define _ALL_SOURCE 1
9189| #define _GNU_SOURCE 1
9190| #define _POSIX_PTHREAD_SEMANTICS 1
9191| #define _TANDEM_SOURCE 1
9192| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9193| #define RUN_DIR "/opt/local/etc/unbound"
9194| #define CHROOT_DIR "/opt/local/etc/unbound"
9195| #define SHARE_DIR "/opt/local/etc/unbound"
9196| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9197| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9198| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9199| #define UB_USERNAME "unbound"
9200| #define WINVER 0x0502
9201| #define RSRC_PACKAGE_VERSION 1,5,4,0
9202| #define HAVE_GETOPT_H 1
9203| #define HAVE_TIME_H 1
9204| #define HAVE_ATTR_FORMAT 1
9205| #define HAVE_ATTR_UNUSED 1
9206| #define LEX_HAS_YYLEX_DESTROY 1
9207| #define HAVE_DLFCN_H 1
9208| #define LT_OBJDIR ".libs/"
9209| #define HAVE_STDARG_H 1
9210| #define HAVE_STDBOOL_H 1
9211| #define HAVE_NETINET_IN_H 1
9212| #define HAVE_SYS_PARAM_H 1
9213| #define HAVE_SYS_SOCKET_H 1
9214| #define HAVE_SYS_UN_H 1
9215| #define HAVE_SYS_UIO_H 1
9216| #define HAVE_SYS_RESOURCE_H 1
9217| #define HAVE_ARPA_INET_H 1
9218| #define HAVE_SYSLOG_H 1
9219| #define HAVE_NETDB_H 1
9220| #define HAVE_SYS_WAIT_H 1
9221| #define HAVE_PWD_H 1
9222| #define HAVE_GLOB_H 1
9223| #define HAVE_GRP_H 1
9224| /* end confdefs.h.  */
9225| #include <stdio.h>
9226| #ifdef HAVE_SYS_TYPES_H
9227| # include <sys/types.h>
9228| #endif
9229| #ifdef HAVE_SYS_STAT_H
9230| # include <sys/stat.h>
9231| #endif
9232| #ifdef STDC_HEADERS
9233| # include <stdlib.h>
9234| # include <stddef.h>
9235| #else
9236| # ifdef HAVE_STDLIB_H
9237| #  include <stdlib.h>
9238| # endif
9239| #endif
9240| #ifdef HAVE_STRING_H
9241| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9242| #  include <memory.h>
9243| # endif
9244| # include <string.h>
9245| #endif
9246| #ifdef HAVE_STRINGS_H
9247| # include <strings.h>
9248| #endif
9249| #ifdef HAVE_INTTYPES_H
9250| # include <inttypes.h>
9251| #endif
9252| #ifdef HAVE_STDINT_H
9253| # include <stdint.h>
9254| #endif
9255| #ifdef HAVE_UNISTD_H
9256| # include <unistd.h>
9257| #endif
9258| int
9259| main ()
9260| {
9261| if (sizeof ((ssize_t)))
9262|           return 0;
9263|   ;
9264|   return 0;
9265| }
9266configure:13861: result: yes
9267configure:13872: checking for uid_t in sys/types.h
9268configure:13891: result: yes
9269configure:13902: checking for pid_t
9270configure:13902: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9271configure:13902: $? = 0
9272configure:13902: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9273conftest.c: In function 'main':
9274conftest.c:92: error: expected expression before ')' token
9275configure:13902: $? = 1
9276configure: failed program was:
9277| /* confdefs.h */
9278| #define PACKAGE_NAME "unbound"
9279| #define PACKAGE_TARNAME "unbound"
9280| #define PACKAGE_VERSION "1.5.4"
9281| #define PACKAGE_STRING "unbound 1.5.4"
9282| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9283| #define PACKAGE_URL ""
9284| #define STDC_HEADERS 1
9285| #define HAVE_SYS_TYPES_H 1
9286| #define HAVE_SYS_STAT_H 1
9287| #define HAVE_STDLIB_H 1
9288| #define HAVE_STRING_H 1
9289| #define HAVE_MEMORY_H 1
9290| #define HAVE_STRINGS_H 1
9291| #define HAVE_INTTYPES_H 1
9292| #define HAVE_STDINT_H 1
9293| #define HAVE_UNISTD_H 1
9294| #define __EXTENSIONS__ 1
9295| #define _ALL_SOURCE 1
9296| #define _GNU_SOURCE 1
9297| #define _POSIX_PTHREAD_SEMANTICS 1
9298| #define _TANDEM_SOURCE 1
9299| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9300| #define RUN_DIR "/opt/local/etc/unbound"
9301| #define CHROOT_DIR "/opt/local/etc/unbound"
9302| #define SHARE_DIR "/opt/local/etc/unbound"
9303| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9304| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9305| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9306| #define UB_USERNAME "unbound"
9307| #define WINVER 0x0502
9308| #define RSRC_PACKAGE_VERSION 1,5,4,0
9309| #define HAVE_GETOPT_H 1
9310| #define HAVE_TIME_H 1
9311| #define HAVE_ATTR_FORMAT 1
9312| #define HAVE_ATTR_UNUSED 1
9313| #define LEX_HAS_YYLEX_DESTROY 1
9314| #define HAVE_DLFCN_H 1
9315| #define LT_OBJDIR ".libs/"
9316| #define HAVE_STDARG_H 1
9317| #define HAVE_STDBOOL_H 1
9318| #define HAVE_NETINET_IN_H 1
9319| #define HAVE_SYS_PARAM_H 1
9320| #define HAVE_SYS_SOCKET_H 1
9321| #define HAVE_SYS_UN_H 1
9322| #define HAVE_SYS_UIO_H 1
9323| #define HAVE_SYS_RESOURCE_H 1
9324| #define HAVE_ARPA_INET_H 1
9325| #define HAVE_SYSLOG_H 1
9326| #define HAVE_NETDB_H 1
9327| #define HAVE_SYS_WAIT_H 1
9328| #define HAVE_PWD_H 1
9329| #define HAVE_GLOB_H 1
9330| #define HAVE_GRP_H 1
9331| /* end confdefs.h.  */
9332| #include <stdio.h>
9333| #ifdef HAVE_SYS_TYPES_H
9334| # include <sys/types.h>
9335| #endif
9336| #ifdef HAVE_SYS_STAT_H
9337| # include <sys/stat.h>
9338| #endif
9339| #ifdef STDC_HEADERS
9340| # include <stdlib.h>
9341| # include <stddef.h>
9342| #else
9343| # ifdef HAVE_STDLIB_H
9344| #  include <stdlib.h>
9345| # endif
9346| #endif
9347| #ifdef HAVE_STRING_H
9348| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9349| #  include <memory.h>
9350| # endif
9351| # include <string.h>
9352| #endif
9353| #ifdef HAVE_STRINGS_H
9354| # include <strings.h>
9355| #endif
9356| #ifdef HAVE_INTTYPES_H
9357| # include <inttypes.h>
9358| #endif
9359| #ifdef HAVE_STDINT_H
9360| # include <stdint.h>
9361| #endif
9362| #ifdef HAVE_UNISTD_H
9363| # include <unistd.h>
9364| #endif
9365| int
9366| main ()
9367| {
9368| if (sizeof ((pid_t)))
9369|           return 0;
9370|   ;
9371|   return 0;
9372| }
9373configure:13902: result: yes
9374configure:13913: checking for off_t
9375configure:13913: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9376configure:13913: $? = 0
9377configure:13913: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9378conftest.c: In function 'main':
9379conftest.c:92: error: expected expression before ')' token
9380configure:13913: $? = 1
9381configure: failed program was:
9382| /* confdefs.h */
9383| #define PACKAGE_NAME "unbound"
9384| #define PACKAGE_TARNAME "unbound"
9385| #define PACKAGE_VERSION "1.5.4"
9386| #define PACKAGE_STRING "unbound 1.5.4"
9387| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9388| #define PACKAGE_URL ""
9389| #define STDC_HEADERS 1
9390| #define HAVE_SYS_TYPES_H 1
9391| #define HAVE_SYS_STAT_H 1
9392| #define HAVE_STDLIB_H 1
9393| #define HAVE_STRING_H 1
9394| #define HAVE_MEMORY_H 1
9395| #define HAVE_STRINGS_H 1
9396| #define HAVE_INTTYPES_H 1
9397| #define HAVE_STDINT_H 1
9398| #define HAVE_UNISTD_H 1
9399| #define __EXTENSIONS__ 1
9400| #define _ALL_SOURCE 1
9401| #define _GNU_SOURCE 1
9402| #define _POSIX_PTHREAD_SEMANTICS 1
9403| #define _TANDEM_SOURCE 1
9404| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9405| #define RUN_DIR "/opt/local/etc/unbound"
9406| #define CHROOT_DIR "/opt/local/etc/unbound"
9407| #define SHARE_DIR "/opt/local/etc/unbound"
9408| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9409| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9410| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9411| #define UB_USERNAME "unbound"
9412| #define WINVER 0x0502
9413| #define RSRC_PACKAGE_VERSION 1,5,4,0
9414| #define HAVE_GETOPT_H 1
9415| #define HAVE_TIME_H 1
9416| #define HAVE_ATTR_FORMAT 1
9417| #define HAVE_ATTR_UNUSED 1
9418| #define LEX_HAS_YYLEX_DESTROY 1
9419| #define HAVE_DLFCN_H 1
9420| #define LT_OBJDIR ".libs/"
9421| #define HAVE_STDARG_H 1
9422| #define HAVE_STDBOOL_H 1
9423| #define HAVE_NETINET_IN_H 1
9424| #define HAVE_SYS_PARAM_H 1
9425| #define HAVE_SYS_SOCKET_H 1
9426| #define HAVE_SYS_UN_H 1
9427| #define HAVE_SYS_UIO_H 1
9428| #define HAVE_SYS_RESOURCE_H 1
9429| #define HAVE_ARPA_INET_H 1
9430| #define HAVE_SYSLOG_H 1
9431| #define HAVE_NETDB_H 1
9432| #define HAVE_SYS_WAIT_H 1
9433| #define HAVE_PWD_H 1
9434| #define HAVE_GLOB_H 1
9435| #define HAVE_GRP_H 1
9436| /* end confdefs.h.  */
9437| #include <stdio.h>
9438| #ifdef HAVE_SYS_TYPES_H
9439| # include <sys/types.h>
9440| #endif
9441| #ifdef HAVE_SYS_STAT_H
9442| # include <sys/stat.h>
9443| #endif
9444| #ifdef STDC_HEADERS
9445| # include <stdlib.h>
9446| # include <stddef.h>
9447| #else
9448| # ifdef HAVE_STDLIB_H
9449| #  include <stdlib.h>
9450| # endif
9451| #endif
9452| #ifdef HAVE_STRING_H
9453| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9454| #  include <memory.h>
9455| # endif
9456| # include <string.h>
9457| #endif
9458| #ifdef HAVE_STRINGS_H
9459| # include <strings.h>
9460| #endif
9461| #ifdef HAVE_INTTYPES_H
9462| # include <inttypes.h>
9463| #endif
9464| #ifdef HAVE_STDINT_H
9465| # include <stdint.h>
9466| #endif
9467| #ifdef HAVE_UNISTD_H
9468| # include <unistd.h>
9469| #endif
9470| int
9471| main ()
9472| {
9473| if (sizeof ((off_t)))
9474|           return 0;
9475|   ;
9476|   return 0;
9477| }
9478configure:13913: result: yes
9479configure:13924: checking for u_char
9480configure:13924: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9481configure:13924: $? = 0
9482configure:13924: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9483conftest.c: In function 'main':
9484conftest.c:98: error: expected expression before ')' token
9485configure:13924: $? = 1
9486configure: failed program was:
9487| /* confdefs.h */
9488| #define PACKAGE_NAME "unbound"
9489| #define PACKAGE_TARNAME "unbound"
9490| #define PACKAGE_VERSION "1.5.4"
9491| #define PACKAGE_STRING "unbound 1.5.4"
9492| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9493| #define PACKAGE_URL ""
9494| #define STDC_HEADERS 1
9495| #define HAVE_SYS_TYPES_H 1
9496| #define HAVE_SYS_STAT_H 1
9497| #define HAVE_STDLIB_H 1
9498| #define HAVE_STRING_H 1
9499| #define HAVE_MEMORY_H 1
9500| #define HAVE_STRINGS_H 1
9501| #define HAVE_INTTYPES_H 1
9502| #define HAVE_STDINT_H 1
9503| #define HAVE_UNISTD_H 1
9504| #define __EXTENSIONS__ 1
9505| #define _ALL_SOURCE 1
9506| #define _GNU_SOURCE 1
9507| #define _POSIX_PTHREAD_SEMANTICS 1
9508| #define _TANDEM_SOURCE 1
9509| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9510| #define RUN_DIR "/opt/local/etc/unbound"
9511| #define CHROOT_DIR "/opt/local/etc/unbound"
9512| #define SHARE_DIR "/opt/local/etc/unbound"
9513| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9514| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9515| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9516| #define UB_USERNAME "unbound"
9517| #define WINVER 0x0502
9518| #define RSRC_PACKAGE_VERSION 1,5,4,0
9519| #define HAVE_GETOPT_H 1
9520| #define HAVE_TIME_H 1
9521| #define HAVE_ATTR_FORMAT 1
9522| #define HAVE_ATTR_UNUSED 1
9523| #define LEX_HAS_YYLEX_DESTROY 1
9524| #define HAVE_DLFCN_H 1
9525| #define LT_OBJDIR ".libs/"
9526| #define HAVE_STDARG_H 1
9527| #define HAVE_STDBOOL_H 1
9528| #define HAVE_NETINET_IN_H 1
9529| #define HAVE_SYS_PARAM_H 1
9530| #define HAVE_SYS_SOCKET_H 1
9531| #define HAVE_SYS_UN_H 1
9532| #define HAVE_SYS_UIO_H 1
9533| #define HAVE_SYS_RESOURCE_H 1
9534| #define HAVE_ARPA_INET_H 1
9535| #define HAVE_SYSLOG_H 1
9536| #define HAVE_NETDB_H 1
9537| #define HAVE_SYS_WAIT_H 1
9538| #define HAVE_PWD_H 1
9539| #define HAVE_GLOB_H 1
9540| #define HAVE_GRP_H 1
9541| /* end confdefs.h.  */
9542|
9543| #include <stdio.h>
9544| #ifdef HAVE_SYS_TYPES_H
9545| # include <sys/types.h>
9546| #endif
9547| #ifdef HAVE_SYS_STAT_H
9548| # include <sys/stat.h>
9549| #endif
9550| #ifdef STDC_HEADERS
9551| # include <stdlib.h>
9552| # include <stddef.h>
9553| #else
9554| # ifdef HAVE_STDLIB_H
9555| #  include <stdlib.h>
9556| # endif
9557| #endif
9558| #ifdef HAVE_STRING_H
9559| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9560| #  include <memory.h>
9561| # endif
9562| # include <string.h>
9563| #endif
9564| #ifdef HAVE_STRINGS_H
9565| # include <strings.h>
9566| #endif
9567| #ifdef HAVE_INTTYPES_H
9568| # include <inttypes.h>
9569| #endif
9570| #ifdef HAVE_STDINT_H
9571| # include <stdint.h>
9572| #endif
9573| #ifdef HAVE_UNISTD_H
9574| # include <unistd.h>
9575| #endif
9576| #ifdef HAVE_WINSOCK2_H
9577| #  include <winsock2.h>
9578| #endif
9579|
9580|
9581| int
9582| main ()
9583| {
9584| if (sizeof ((u_char)))
9585|           return 0;
9586|   ;
9587|   return 0;
9588| }
9589configure:13924: result: yes
9590configure:13939: checking for rlim_t
9591configure:13939: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9592configure:13939: $? = 0
9593configure:13939: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9594conftest.c: In function 'main':
9595conftest.c:98: error: expected expression before ')' token
9596configure:13939: $? = 1
9597configure: failed program was:
9598| /* confdefs.h */
9599| #define PACKAGE_NAME "unbound"
9600| #define PACKAGE_TARNAME "unbound"
9601| #define PACKAGE_VERSION "1.5.4"
9602| #define PACKAGE_STRING "unbound 1.5.4"
9603| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9604| #define PACKAGE_URL ""
9605| #define STDC_HEADERS 1
9606| #define HAVE_SYS_TYPES_H 1
9607| #define HAVE_SYS_STAT_H 1
9608| #define HAVE_STDLIB_H 1
9609| #define HAVE_STRING_H 1
9610| #define HAVE_MEMORY_H 1
9611| #define HAVE_STRINGS_H 1
9612| #define HAVE_INTTYPES_H 1
9613| #define HAVE_STDINT_H 1
9614| #define HAVE_UNISTD_H 1
9615| #define __EXTENSIONS__ 1
9616| #define _ALL_SOURCE 1
9617| #define _GNU_SOURCE 1
9618| #define _POSIX_PTHREAD_SEMANTICS 1
9619| #define _TANDEM_SOURCE 1
9620| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9621| #define RUN_DIR "/opt/local/etc/unbound"
9622| #define CHROOT_DIR "/opt/local/etc/unbound"
9623| #define SHARE_DIR "/opt/local/etc/unbound"
9624| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9625| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9626| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9627| #define UB_USERNAME "unbound"
9628| #define WINVER 0x0502
9629| #define RSRC_PACKAGE_VERSION 1,5,4,0
9630| #define HAVE_GETOPT_H 1
9631| #define HAVE_TIME_H 1
9632| #define HAVE_ATTR_FORMAT 1
9633| #define HAVE_ATTR_UNUSED 1
9634| #define LEX_HAS_YYLEX_DESTROY 1
9635| #define HAVE_DLFCN_H 1
9636| #define LT_OBJDIR ".libs/"
9637| #define HAVE_STDARG_H 1
9638| #define HAVE_STDBOOL_H 1
9639| #define HAVE_NETINET_IN_H 1
9640| #define HAVE_SYS_PARAM_H 1
9641| #define HAVE_SYS_SOCKET_H 1
9642| #define HAVE_SYS_UN_H 1
9643| #define HAVE_SYS_UIO_H 1
9644| #define HAVE_SYS_RESOURCE_H 1
9645| #define HAVE_ARPA_INET_H 1
9646| #define HAVE_SYSLOG_H 1
9647| #define HAVE_NETDB_H 1
9648| #define HAVE_SYS_WAIT_H 1
9649| #define HAVE_PWD_H 1
9650| #define HAVE_GLOB_H 1
9651| #define HAVE_GRP_H 1
9652| /* end confdefs.h.  */
9653|
9654| #include <stdio.h>
9655| #ifdef HAVE_SYS_TYPES_H
9656| # include <sys/types.h>
9657| #endif
9658| #ifdef HAVE_SYS_STAT_H
9659| # include <sys/stat.h>
9660| #endif
9661| #ifdef STDC_HEADERS
9662| # include <stdlib.h>
9663| # include <stddef.h>
9664| #else
9665| # ifdef HAVE_STDLIB_H
9666| #  include <stdlib.h>
9667| # endif
9668| #endif
9669| #ifdef HAVE_STRING_H
9670| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9671| #  include <memory.h>
9672| # endif
9673| # include <string.h>
9674| #endif
9675| #ifdef HAVE_STRINGS_H
9676| # include <strings.h>
9677| #endif
9678| #ifdef HAVE_INTTYPES_H
9679| # include <inttypes.h>
9680| #endif
9681| #ifdef HAVE_STDINT_H
9682| # include <stdint.h>
9683| #endif
9684| #ifdef HAVE_UNISTD_H
9685| # include <unistd.h>
9686| #endif
9687| #ifdef HAVE_SYS_RESOURCE_H
9688| #  include <sys/resource.h>
9689| #endif
9690|
9691|
9692| int
9693| main ()
9694| {
9695| if (sizeof ((rlim_t)))
9696|           return 0;
9697|   ;
9698|   return 0;
9699| }
9700configure:13939: result: yes
9701configure:13955: checking for socklen_t
9702configure:13955: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9703configure:13955: $? = 0
9704configure:13955: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9705conftest.c: In function 'main':
9706conftest.c:101: error: expected expression before ')' token
9707configure:13955: $? = 1
9708configure: failed program was:
9709| /* confdefs.h */
9710| #define PACKAGE_NAME "unbound"
9711| #define PACKAGE_TARNAME "unbound"
9712| #define PACKAGE_VERSION "1.5.4"
9713| #define PACKAGE_STRING "unbound 1.5.4"
9714| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9715| #define PACKAGE_URL ""
9716| #define STDC_HEADERS 1
9717| #define HAVE_SYS_TYPES_H 1
9718| #define HAVE_SYS_STAT_H 1
9719| #define HAVE_STDLIB_H 1
9720| #define HAVE_STRING_H 1
9721| #define HAVE_MEMORY_H 1
9722| #define HAVE_STRINGS_H 1
9723| #define HAVE_INTTYPES_H 1
9724| #define HAVE_STDINT_H 1
9725| #define HAVE_UNISTD_H 1
9726| #define __EXTENSIONS__ 1
9727| #define _ALL_SOURCE 1
9728| #define _GNU_SOURCE 1
9729| #define _POSIX_PTHREAD_SEMANTICS 1
9730| #define _TANDEM_SOURCE 1
9731| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9732| #define RUN_DIR "/opt/local/etc/unbound"
9733| #define CHROOT_DIR "/opt/local/etc/unbound"
9734| #define SHARE_DIR "/opt/local/etc/unbound"
9735| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9736| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9737| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9738| #define UB_USERNAME "unbound"
9739| #define WINVER 0x0502
9740| #define RSRC_PACKAGE_VERSION 1,5,4,0
9741| #define HAVE_GETOPT_H 1
9742| #define HAVE_TIME_H 1
9743| #define HAVE_ATTR_FORMAT 1
9744| #define HAVE_ATTR_UNUSED 1
9745| #define LEX_HAS_YYLEX_DESTROY 1
9746| #define HAVE_DLFCN_H 1
9747| #define LT_OBJDIR ".libs/"
9748| #define HAVE_STDARG_H 1
9749| #define HAVE_STDBOOL_H 1
9750| #define HAVE_NETINET_IN_H 1
9751| #define HAVE_SYS_PARAM_H 1
9752| #define HAVE_SYS_SOCKET_H 1
9753| #define HAVE_SYS_UN_H 1
9754| #define HAVE_SYS_UIO_H 1
9755| #define HAVE_SYS_RESOURCE_H 1
9756| #define HAVE_ARPA_INET_H 1
9757| #define HAVE_SYSLOG_H 1
9758| #define HAVE_NETDB_H 1
9759| #define HAVE_SYS_WAIT_H 1
9760| #define HAVE_PWD_H 1
9761| #define HAVE_GLOB_H 1
9762| #define HAVE_GRP_H 1
9763| /* end confdefs.h.  */
9764|
9765| #include <stdio.h>
9766| #ifdef HAVE_SYS_TYPES_H
9767| # include <sys/types.h>
9768| #endif
9769| #ifdef HAVE_SYS_STAT_H
9770| # include <sys/stat.h>
9771| #endif
9772| #ifdef STDC_HEADERS
9773| # include <stdlib.h>
9774| # include <stddef.h>
9775| #else
9776| # ifdef HAVE_STDLIB_H
9777| #  include <stdlib.h>
9778| # endif
9779| #endif
9780| #ifdef HAVE_STRING_H
9781| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9782| #  include <memory.h>
9783| # endif
9784| # include <string.h>
9785| #endif
9786| #ifdef HAVE_STRINGS_H
9787| # include <strings.h>
9788| #endif
9789| #ifdef HAVE_INTTYPES_H
9790| # include <inttypes.h>
9791| #endif
9792| #ifdef HAVE_STDINT_H
9793| # include <stdint.h>
9794| #endif
9795| #ifdef HAVE_UNISTD_H
9796| # include <unistd.h>
9797| #endif
9798| #ifdef HAVE_SYS_SOCKET_H
9799| #  include <sys/socket.h>
9800| #endif
9801| #ifdef HAVE_WS2TCPIP_H
9802| #  include <ws2tcpip.h>
9803| #endif
9804|
9805|
9806| int
9807| main ()
9808| {
9809| if (sizeof ((socklen_t)))
9810|           return 0;
9811|   ;
9812|   return 0;
9813| }
9814configure:13955: result: yes
9815configure:13973: checking for in_addr_t
9816configure:13973: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9817configure:13973: $? = 0
9818configure:13973: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9819conftest.c: In function 'main':
9820conftest.c:101: error: expected expression before ')' token
9821configure:13973: $? = 1
9822configure: failed program was:
9823| /* confdefs.h */
9824| #define PACKAGE_NAME "unbound"
9825| #define PACKAGE_TARNAME "unbound"
9826| #define PACKAGE_VERSION "1.5.4"
9827| #define PACKAGE_STRING "unbound 1.5.4"
9828| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9829| #define PACKAGE_URL ""
9830| #define STDC_HEADERS 1
9831| #define HAVE_SYS_TYPES_H 1
9832| #define HAVE_SYS_STAT_H 1
9833| #define HAVE_STDLIB_H 1
9834| #define HAVE_STRING_H 1
9835| #define HAVE_MEMORY_H 1
9836| #define HAVE_STRINGS_H 1
9837| #define HAVE_INTTYPES_H 1
9838| #define HAVE_STDINT_H 1
9839| #define HAVE_UNISTD_H 1
9840| #define __EXTENSIONS__ 1
9841| #define _ALL_SOURCE 1
9842| #define _GNU_SOURCE 1
9843| #define _POSIX_PTHREAD_SEMANTICS 1
9844| #define _TANDEM_SOURCE 1
9845| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9846| #define RUN_DIR "/opt/local/etc/unbound"
9847| #define CHROOT_DIR "/opt/local/etc/unbound"
9848| #define SHARE_DIR "/opt/local/etc/unbound"
9849| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9850| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9851| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9852| #define UB_USERNAME "unbound"
9853| #define WINVER 0x0502
9854| #define RSRC_PACKAGE_VERSION 1,5,4,0
9855| #define HAVE_GETOPT_H 1
9856| #define HAVE_TIME_H 1
9857| #define HAVE_ATTR_FORMAT 1
9858| #define HAVE_ATTR_UNUSED 1
9859| #define LEX_HAS_YYLEX_DESTROY 1
9860| #define HAVE_DLFCN_H 1
9861| #define LT_OBJDIR ".libs/"
9862| #define HAVE_STDARG_H 1
9863| #define HAVE_STDBOOL_H 1
9864| #define HAVE_NETINET_IN_H 1
9865| #define HAVE_SYS_PARAM_H 1
9866| #define HAVE_SYS_SOCKET_H 1
9867| #define HAVE_SYS_UN_H 1
9868| #define HAVE_SYS_UIO_H 1
9869| #define HAVE_SYS_RESOURCE_H 1
9870| #define HAVE_ARPA_INET_H 1
9871| #define HAVE_SYSLOG_H 1
9872| #define HAVE_NETDB_H 1
9873| #define HAVE_SYS_WAIT_H 1
9874| #define HAVE_PWD_H 1
9875| #define HAVE_GLOB_H 1
9876| #define HAVE_GRP_H 1
9877| /* end confdefs.h.  */
9878|
9879| #include <stdio.h>
9880| #ifdef HAVE_SYS_TYPES_H
9881| # include <sys/types.h>
9882| #endif
9883| #ifdef HAVE_SYS_STAT_H
9884| # include <sys/stat.h>
9885| #endif
9886| #ifdef STDC_HEADERS
9887| # include <stdlib.h>
9888| # include <stddef.h>
9889| #else
9890| # ifdef HAVE_STDLIB_H
9891| #  include <stdlib.h>
9892| # endif
9893| #endif
9894| #ifdef HAVE_STRING_H
9895| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9896| #  include <memory.h>
9897| # endif
9898| # include <string.h>
9899| #endif
9900| #ifdef HAVE_STRINGS_H
9901| # include <strings.h>
9902| #endif
9903| #ifdef HAVE_INTTYPES_H
9904| # include <inttypes.h>
9905| #endif
9906| #ifdef HAVE_STDINT_H
9907| # include <stdint.h>
9908| #endif
9909| #ifdef HAVE_UNISTD_H
9910| # include <unistd.h>
9911| #endif
9912| #ifdef HAVE_SYS_TYPES_H
9913| # include <sys/types.h>
9914| #endif
9915| #ifdef HAVE_NETINET_IN_H
9916| # include <netinet/in.h>
9917| #endif
9918|
9919|
9920| int
9921| main ()
9922| {
9923| if (sizeof ((in_addr_t)))
9924|           return 0;
9925|   ;
9926|   return 0;
9927| }
9928configure:13973: result: yes
9929configure:13991: checking for in_port_t
9930configure:13991: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9931configure:13991: $? = 0
9932configure:13991: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
9933conftest.c: In function 'main':
9934conftest.c:101: error: expected expression before ')' token
9935configure:13991: $? = 1
9936configure: failed program was:
9937| /* confdefs.h */
9938| #define PACKAGE_NAME "unbound"
9939| #define PACKAGE_TARNAME "unbound"
9940| #define PACKAGE_VERSION "1.5.4"
9941| #define PACKAGE_STRING "unbound 1.5.4"
9942| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
9943| #define PACKAGE_URL ""
9944| #define STDC_HEADERS 1
9945| #define HAVE_SYS_TYPES_H 1
9946| #define HAVE_SYS_STAT_H 1
9947| #define HAVE_STDLIB_H 1
9948| #define HAVE_STRING_H 1
9949| #define HAVE_MEMORY_H 1
9950| #define HAVE_STRINGS_H 1
9951| #define HAVE_INTTYPES_H 1
9952| #define HAVE_STDINT_H 1
9953| #define HAVE_UNISTD_H 1
9954| #define __EXTENSIONS__ 1
9955| #define _ALL_SOURCE 1
9956| #define _GNU_SOURCE 1
9957| #define _POSIX_PTHREAD_SEMANTICS 1
9958| #define _TANDEM_SOURCE 1
9959| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
9960| #define RUN_DIR "/opt/local/etc/unbound"
9961| #define CHROOT_DIR "/opt/local/etc/unbound"
9962| #define SHARE_DIR "/opt/local/etc/unbound"
9963| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
9964| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
9965| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
9966| #define UB_USERNAME "unbound"
9967| #define WINVER 0x0502
9968| #define RSRC_PACKAGE_VERSION 1,5,4,0
9969| #define HAVE_GETOPT_H 1
9970| #define HAVE_TIME_H 1
9971| #define HAVE_ATTR_FORMAT 1
9972| #define HAVE_ATTR_UNUSED 1
9973| #define LEX_HAS_YYLEX_DESTROY 1
9974| #define HAVE_DLFCN_H 1
9975| #define LT_OBJDIR ".libs/"
9976| #define HAVE_STDARG_H 1
9977| #define HAVE_STDBOOL_H 1
9978| #define HAVE_NETINET_IN_H 1
9979| #define HAVE_SYS_PARAM_H 1
9980| #define HAVE_SYS_SOCKET_H 1
9981| #define HAVE_SYS_UN_H 1
9982| #define HAVE_SYS_UIO_H 1
9983| #define HAVE_SYS_RESOURCE_H 1
9984| #define HAVE_ARPA_INET_H 1
9985| #define HAVE_SYSLOG_H 1
9986| #define HAVE_NETDB_H 1
9987| #define HAVE_SYS_WAIT_H 1
9988| #define HAVE_PWD_H 1
9989| #define HAVE_GLOB_H 1
9990| #define HAVE_GRP_H 1
9991| /* end confdefs.h.  */
9992|
9993| #include <stdio.h>
9994| #ifdef HAVE_SYS_TYPES_H
9995| # include <sys/types.h>
9996| #endif
9997| #ifdef HAVE_SYS_STAT_H
9998| # include <sys/stat.h>
9999| #endif
10000| #ifdef STDC_HEADERS
10001| # include <stdlib.h>
10002| # include <stddef.h>
10003| #else
10004| # ifdef HAVE_STDLIB_H
10005| #  include <stdlib.h>
10006| # endif
10007| #endif
10008| #ifdef HAVE_STRING_H
10009| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10010| #  include <memory.h>
10011| # endif
10012| # include <string.h>
10013| #endif
10014| #ifdef HAVE_STRINGS_H
10015| # include <strings.h>
10016| #endif
10017| #ifdef HAVE_INTTYPES_H
10018| # include <inttypes.h>
10019| #endif
10020| #ifdef HAVE_STDINT_H
10021| # include <stdint.h>
10022| #endif
10023| #ifdef HAVE_UNISTD_H
10024| # include <unistd.h>
10025| #endif
10026| #ifdef HAVE_SYS_TYPES_H
10027| # include <sys/types.h>
10028| #endif
10029| #ifdef HAVE_NETINET_IN_H
10030| # include <netinet/in.h>
10031| #endif
10032|
10033|
10034| int
10035| main ()
10036| {
10037| if (sizeof ((in_port_t)))
10038|           return 0;
10039|   ;
10040|   return 0;
10041| }
10042configure:13991: result: yes
10043configure:14009: checking if memcmp compares unsigned
10044configure:14040: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10045configure:14040: $? = 0
10046configure:14040: ./conftest
10047configure:14040: $? = 0
10048configure:14041: result: yes
10049configure:14066: checking size of time_t
10050configure:14071: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10051ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccJS2uni.o because Unknown instruction for architecture x86_64
10052collect2: ld returned 1 exit status
10053configure:14071: $? = 1
10054configure: program exited with status 1
10055configure: failed program was:
10056| /* confdefs.h */
10057| #define PACKAGE_NAME "unbound"
10058| #define PACKAGE_TARNAME "unbound"
10059| #define PACKAGE_VERSION "1.5.4"
10060| #define PACKAGE_STRING "unbound 1.5.4"
10061| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10062| #define PACKAGE_URL ""
10063| #define STDC_HEADERS 1
10064| #define HAVE_SYS_TYPES_H 1
10065| #define HAVE_SYS_STAT_H 1
10066| #define HAVE_STDLIB_H 1
10067| #define HAVE_STRING_H 1
10068| #define HAVE_MEMORY_H 1
10069| #define HAVE_STRINGS_H 1
10070| #define HAVE_INTTYPES_H 1
10071| #define HAVE_STDINT_H 1
10072| #define HAVE_UNISTD_H 1
10073| #define __EXTENSIONS__ 1
10074| #define _ALL_SOURCE 1
10075| #define _GNU_SOURCE 1
10076| #define _POSIX_PTHREAD_SEMANTICS 1
10077| #define _TANDEM_SOURCE 1
10078| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10079| #define RUN_DIR "/opt/local/etc/unbound"
10080| #define CHROOT_DIR "/opt/local/etc/unbound"
10081| #define SHARE_DIR "/opt/local/etc/unbound"
10082| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10083| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10084| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10085| #define UB_USERNAME "unbound"
10086| #define WINVER 0x0502
10087| #define RSRC_PACKAGE_VERSION 1,5,4,0
10088| #define HAVE_GETOPT_H 1
10089| #define HAVE_TIME_H 1
10090| #define HAVE_ATTR_FORMAT 1
10091| #define HAVE_ATTR_UNUSED 1
10092| #define LEX_HAS_YYLEX_DESTROY 1
10093| #define HAVE_DLFCN_H 1
10094| #define LT_OBJDIR ".libs/"
10095| #define HAVE_STDARG_H 1
10096| #define HAVE_STDBOOL_H 1
10097| #define HAVE_NETINET_IN_H 1
10098| #define HAVE_SYS_PARAM_H 1
10099| #define HAVE_SYS_SOCKET_H 1
10100| #define HAVE_SYS_UN_H 1
10101| #define HAVE_SYS_UIO_H 1
10102| #define HAVE_SYS_RESOURCE_H 1
10103| #define HAVE_ARPA_INET_H 1
10104| #define HAVE_SYSLOG_H 1
10105| #define HAVE_NETDB_H 1
10106| #define HAVE_SYS_WAIT_H 1
10107| #define HAVE_PWD_H 1
10108| #define HAVE_GLOB_H 1
10109| #define HAVE_GRP_H 1
10110| /* end confdefs.h.  */
10111|
10112| #include <stdio.h>
10113| #ifdef HAVE_SYS_TYPES_H
10114| # include <sys/types.h>
10115| #endif
10116| #ifdef HAVE_SYS_STAT_H
10117| # include <sys/stat.h>
10118| #endif
10119| #ifdef STDC_HEADERS
10120| # include <stdlib.h>
10121| # include <stddef.h>
10122| #else
10123| # ifdef HAVE_STDLIB_H
10124| #  include <stdlib.h>
10125| # endif
10126| #endif
10127| #ifdef HAVE_STRING_H
10128| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10129| #  include <memory.h>
10130| # endif
10131| # include <string.h>
10132| #endif
10133| #ifdef HAVE_STRINGS_H
10134| # include <strings.h>
10135| #endif
10136| #ifdef HAVE_INTTYPES_H
10137| # include <inttypes.h>
10138| #endif
10139| #ifdef HAVE_STDINT_H
10140| # include <stdint.h>
10141| #endif
10142| #ifdef HAVE_UNISTD_H
10143| # include <unistd.h>
10144| #endif
10145| #ifdef TIME_WITH_SYS_TIME
10146| # include <sys/time.h>
10147| # include <time.h>
10148| #else
10149| # ifdef HAVE_SYS_TIME_H
10150| #  include <sys/time.h>
10151| # else
10152| #  include <time.h>
10153| # endif
10154| #endif
10155|
10156|
10157| static long int longval () { return (long int) (sizeof (time_t)); }
10158| static unsigned long int ulongval () { return (long int) (sizeof (time_t)); }
10159| #include <stdio.h>
10160| #include <stdlib.h>
10161| int
10162| main ()
10163| {
10164|
10165|   FILE *f = fopen ("conftest.val", "w");
10166|   if (! f)
10167|     return 1;
10168|   if (((long int) (sizeof (time_t))) < 0)
10169|     {
10170|       long int i = longval ();
10171|       if (i != ((long int) (sizeof (time_t))))
10172|       return 1;
10173|       fprintf (f, "%ld", i);
10174|     }
10175|   else
10176|     {
10177|       unsigned long int i = ulongval ();
10178|       if (i != ((long int) (sizeof (time_t))))
10179|       return 1;
10180|       fprintf (f, "%lu", i);
10181|     }
10182|   /* Do not output a trailing newline, as this causes \r\n confusion
10183|      on some platforms.  */
10184|   return ferror (f) || fclose (f) != 0;
10185|
10186|   ;
10187|   return 0;
10188| }
10189configure:14098: result: 0
10190configure:14126: checking for library containing inet_pton
10191configure:14157: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10192ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccQO18Yv.o because Unknown instruction for architecture x86_64
10193collect2: ld returned 1 exit status
10194configure:14157: $? = 1
10195configure: failed program was:
10196| /* confdefs.h */
10197| #define PACKAGE_NAME "unbound"
10198| #define PACKAGE_TARNAME "unbound"
10199| #define PACKAGE_VERSION "1.5.4"
10200| #define PACKAGE_STRING "unbound 1.5.4"
10201| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10202| #define PACKAGE_URL ""
10203| #define STDC_HEADERS 1
10204| #define HAVE_SYS_TYPES_H 1
10205| #define HAVE_SYS_STAT_H 1
10206| #define HAVE_STDLIB_H 1
10207| #define HAVE_STRING_H 1
10208| #define HAVE_MEMORY_H 1
10209| #define HAVE_STRINGS_H 1
10210| #define HAVE_INTTYPES_H 1
10211| #define HAVE_STDINT_H 1
10212| #define HAVE_UNISTD_H 1
10213| #define __EXTENSIONS__ 1
10214| #define _ALL_SOURCE 1
10215| #define _GNU_SOURCE 1
10216| #define _POSIX_PTHREAD_SEMANTICS 1
10217| #define _TANDEM_SOURCE 1
10218| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10219| #define RUN_DIR "/opt/local/etc/unbound"
10220| #define CHROOT_DIR "/opt/local/etc/unbound"
10221| #define SHARE_DIR "/opt/local/etc/unbound"
10222| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10223| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10224| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10225| #define UB_USERNAME "unbound"
10226| #define WINVER 0x0502
10227| #define RSRC_PACKAGE_VERSION 1,5,4,0
10228| #define HAVE_GETOPT_H 1
10229| #define HAVE_TIME_H 1
10230| #define HAVE_ATTR_FORMAT 1
10231| #define HAVE_ATTR_UNUSED 1
10232| #define LEX_HAS_YYLEX_DESTROY 1
10233| #define HAVE_DLFCN_H 1
10234| #define LT_OBJDIR ".libs/"
10235| #define HAVE_STDARG_H 1
10236| #define HAVE_STDBOOL_H 1
10237| #define HAVE_NETINET_IN_H 1
10238| #define HAVE_SYS_PARAM_H 1
10239| #define HAVE_SYS_SOCKET_H 1
10240| #define HAVE_SYS_UN_H 1
10241| #define HAVE_SYS_UIO_H 1
10242| #define HAVE_SYS_RESOURCE_H 1
10243| #define HAVE_ARPA_INET_H 1
10244| #define HAVE_SYSLOG_H 1
10245| #define HAVE_NETDB_H 1
10246| #define HAVE_SYS_WAIT_H 1
10247| #define HAVE_PWD_H 1
10248| #define HAVE_GLOB_H 1
10249| #define HAVE_GRP_H 1
10250| #define SIZEOF_TIME_T 0
10251| /* end confdefs.h.  */
10252|
10253| /* Override any GCC internal prototype to avoid an error.
10254|    Use char because int might match the return type of a GCC
10255|    builtin and then its argument prototype would still apply.  */
10256| #ifdef __cplusplus
10257| extern "C"
10258| #endif
10259| char inet_pton ();
10260| int
10261| main ()
10262| {
10263| return inet_pton ();
10264|   ;
10265|   return 0;
10266| }
10267configure:14157: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lnsl   >&5
10268ld: library not found for -lnsl
10269collect2: ld returned 1 exit status
10270configure:14157: $? = 1
10271configure: failed program was:
10272| /* confdefs.h */
10273| #define PACKAGE_NAME "unbound"
10274| #define PACKAGE_TARNAME "unbound"
10275| #define PACKAGE_VERSION "1.5.4"
10276| #define PACKAGE_STRING "unbound 1.5.4"
10277| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10278| #define PACKAGE_URL ""
10279| #define STDC_HEADERS 1
10280| #define HAVE_SYS_TYPES_H 1
10281| #define HAVE_SYS_STAT_H 1
10282| #define HAVE_STDLIB_H 1
10283| #define HAVE_STRING_H 1
10284| #define HAVE_MEMORY_H 1
10285| #define HAVE_STRINGS_H 1
10286| #define HAVE_INTTYPES_H 1
10287| #define HAVE_STDINT_H 1
10288| #define HAVE_UNISTD_H 1
10289| #define __EXTENSIONS__ 1
10290| #define _ALL_SOURCE 1
10291| #define _GNU_SOURCE 1
10292| #define _POSIX_PTHREAD_SEMANTICS 1
10293| #define _TANDEM_SOURCE 1
10294| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10295| #define RUN_DIR "/opt/local/etc/unbound"
10296| #define CHROOT_DIR "/opt/local/etc/unbound"
10297| #define SHARE_DIR "/opt/local/etc/unbound"
10298| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10299| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10300| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10301| #define UB_USERNAME "unbound"
10302| #define WINVER 0x0502
10303| #define RSRC_PACKAGE_VERSION 1,5,4,0
10304| #define HAVE_GETOPT_H 1
10305| #define HAVE_TIME_H 1
10306| #define HAVE_ATTR_FORMAT 1
10307| #define HAVE_ATTR_UNUSED 1
10308| #define LEX_HAS_YYLEX_DESTROY 1
10309| #define HAVE_DLFCN_H 1
10310| #define LT_OBJDIR ".libs/"
10311| #define HAVE_STDARG_H 1
10312| #define HAVE_STDBOOL_H 1
10313| #define HAVE_NETINET_IN_H 1
10314| #define HAVE_SYS_PARAM_H 1
10315| #define HAVE_SYS_SOCKET_H 1
10316| #define HAVE_SYS_UN_H 1
10317| #define HAVE_SYS_UIO_H 1
10318| #define HAVE_SYS_RESOURCE_H 1
10319| #define HAVE_ARPA_INET_H 1
10320| #define HAVE_SYSLOG_H 1
10321| #define HAVE_NETDB_H 1
10322| #define HAVE_SYS_WAIT_H 1
10323| #define HAVE_PWD_H 1
10324| #define HAVE_GLOB_H 1
10325| #define HAVE_GRP_H 1
10326| #define SIZEOF_TIME_T 0
10327| /* end confdefs.h.  */
10328|
10329| /* Override any GCC internal prototype to avoid an error.
10330|    Use char because int might match the return type of a GCC
10331|    builtin and then its argument prototype would still apply.  */
10332| #ifdef __cplusplus
10333| extern "C"
10334| #endif
10335| char inet_pton ();
10336| int
10337| main ()
10338| {
10339| return inet_pton ();
10340|   ;
10341|   return 0;
10342| }
10343configure:14174: result: no
10344configure:14182: checking for library containing socket
10345configure:14213: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10346ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cc77amgS.o because Unknown instruction for architecture x86_64
10347collect2: ld returned 1 exit status
10348configure:14213: $? = 1
10349configure: failed program was:
10350| /* confdefs.h */
10351| #define PACKAGE_NAME "unbound"
10352| #define PACKAGE_TARNAME "unbound"
10353| #define PACKAGE_VERSION "1.5.4"
10354| #define PACKAGE_STRING "unbound 1.5.4"
10355| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10356| #define PACKAGE_URL ""
10357| #define STDC_HEADERS 1
10358| #define HAVE_SYS_TYPES_H 1
10359| #define HAVE_SYS_STAT_H 1
10360| #define HAVE_STDLIB_H 1
10361| #define HAVE_STRING_H 1
10362| #define HAVE_MEMORY_H 1
10363| #define HAVE_STRINGS_H 1
10364| #define HAVE_INTTYPES_H 1
10365| #define HAVE_STDINT_H 1
10366| #define HAVE_UNISTD_H 1
10367| #define __EXTENSIONS__ 1
10368| #define _ALL_SOURCE 1
10369| #define _GNU_SOURCE 1
10370| #define _POSIX_PTHREAD_SEMANTICS 1
10371| #define _TANDEM_SOURCE 1
10372| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10373| #define RUN_DIR "/opt/local/etc/unbound"
10374| #define CHROOT_DIR "/opt/local/etc/unbound"
10375| #define SHARE_DIR "/opt/local/etc/unbound"
10376| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10377| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10378| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10379| #define UB_USERNAME "unbound"
10380| #define WINVER 0x0502
10381| #define RSRC_PACKAGE_VERSION 1,5,4,0
10382| #define HAVE_GETOPT_H 1
10383| #define HAVE_TIME_H 1
10384| #define HAVE_ATTR_FORMAT 1
10385| #define HAVE_ATTR_UNUSED 1
10386| #define LEX_HAS_YYLEX_DESTROY 1
10387| #define HAVE_DLFCN_H 1
10388| #define LT_OBJDIR ".libs/"
10389| #define HAVE_STDARG_H 1
10390| #define HAVE_STDBOOL_H 1
10391| #define HAVE_NETINET_IN_H 1
10392| #define HAVE_SYS_PARAM_H 1
10393| #define HAVE_SYS_SOCKET_H 1
10394| #define HAVE_SYS_UN_H 1
10395| #define HAVE_SYS_UIO_H 1
10396| #define HAVE_SYS_RESOURCE_H 1
10397| #define HAVE_ARPA_INET_H 1
10398| #define HAVE_SYSLOG_H 1
10399| #define HAVE_NETDB_H 1
10400| #define HAVE_SYS_WAIT_H 1
10401| #define HAVE_PWD_H 1
10402| #define HAVE_GLOB_H 1
10403| #define HAVE_GRP_H 1
10404| #define SIZEOF_TIME_T 0
10405| /* end confdefs.h.  */
10406|
10407| /* Override any GCC internal prototype to avoid an error.
10408|    Use char because int might match the return type of a GCC
10409|    builtin and then its argument prototype would still apply.  */
10410| #ifdef __cplusplus
10411| extern "C"
10412| #endif
10413| char socket ();
10414| int
10415| main ()
10416| {
10417| return socket ();
10418|   ;
10419|   return 0;
10420| }
10421configure:14213: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lsocket   >&5
10422ld: library not found for -lsocket
10423collect2: ld returned 1 exit status
10424configure:14213: $? = 1
10425configure: failed program was:
10426| /* confdefs.h */
10427| #define PACKAGE_NAME "unbound"
10428| #define PACKAGE_TARNAME "unbound"
10429| #define PACKAGE_VERSION "1.5.4"
10430| #define PACKAGE_STRING "unbound 1.5.4"
10431| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10432| #define PACKAGE_URL ""
10433| #define STDC_HEADERS 1
10434| #define HAVE_SYS_TYPES_H 1
10435| #define HAVE_SYS_STAT_H 1
10436| #define HAVE_STDLIB_H 1
10437| #define HAVE_STRING_H 1
10438| #define HAVE_MEMORY_H 1
10439| #define HAVE_STRINGS_H 1
10440| #define HAVE_INTTYPES_H 1
10441| #define HAVE_STDINT_H 1
10442| #define HAVE_UNISTD_H 1
10443| #define __EXTENSIONS__ 1
10444| #define _ALL_SOURCE 1
10445| #define _GNU_SOURCE 1
10446| #define _POSIX_PTHREAD_SEMANTICS 1
10447| #define _TANDEM_SOURCE 1
10448| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10449| #define RUN_DIR "/opt/local/etc/unbound"
10450| #define CHROOT_DIR "/opt/local/etc/unbound"
10451| #define SHARE_DIR "/opt/local/etc/unbound"
10452| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10453| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10454| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10455| #define UB_USERNAME "unbound"
10456| #define WINVER 0x0502
10457| #define RSRC_PACKAGE_VERSION 1,5,4,0
10458| #define HAVE_GETOPT_H 1
10459| #define HAVE_TIME_H 1
10460| #define HAVE_ATTR_FORMAT 1
10461| #define HAVE_ATTR_UNUSED 1
10462| #define LEX_HAS_YYLEX_DESTROY 1
10463| #define HAVE_DLFCN_H 1
10464| #define LT_OBJDIR ".libs/"
10465| #define HAVE_STDARG_H 1
10466| #define HAVE_STDBOOL_H 1
10467| #define HAVE_NETINET_IN_H 1
10468| #define HAVE_SYS_PARAM_H 1
10469| #define HAVE_SYS_SOCKET_H 1
10470| #define HAVE_SYS_UN_H 1
10471| #define HAVE_SYS_UIO_H 1
10472| #define HAVE_SYS_RESOURCE_H 1
10473| #define HAVE_ARPA_INET_H 1
10474| #define HAVE_SYSLOG_H 1
10475| #define HAVE_NETDB_H 1
10476| #define HAVE_SYS_WAIT_H 1
10477| #define HAVE_PWD_H 1
10478| #define HAVE_GLOB_H 1
10479| #define HAVE_GRP_H 1
10480| #define SIZEOF_TIME_T 0
10481| /* end confdefs.h.  */
10482|
10483| /* Override any GCC internal prototype to avoid an error.
10484|    Use char because int might match the return type of a GCC
10485|    builtin and then its argument prototype would still apply.  */
10486| #ifdef __cplusplus
10487| extern "C"
10488| #endif
10489| char socket ();
10490| int
10491| main ()
10492| {
10493| return socket ();
10494|   ;
10495|   return 0;
10496| }
10497configure:14230: result: no
10498configure:14244: checking for unistd.h
10499configure:14244: result: yes
10500configure:14254: checking for working chown
10501configure:14287: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10502ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccb2TUsk.o because Invalid ALLOCA record for architecture x86_64
10503collect2: ld returned 1 exit status
10504configure:14287: $? = 1
10505configure: program exited with status 1
10506configure: failed program was:
10507| /* confdefs.h */
10508| #define PACKAGE_NAME "unbound"
10509| #define PACKAGE_TARNAME "unbound"
10510| #define PACKAGE_VERSION "1.5.4"
10511| #define PACKAGE_STRING "unbound 1.5.4"
10512| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10513| #define PACKAGE_URL ""
10514| #define STDC_HEADERS 1
10515| #define HAVE_SYS_TYPES_H 1
10516| #define HAVE_SYS_STAT_H 1
10517| #define HAVE_STDLIB_H 1
10518| #define HAVE_STRING_H 1
10519| #define HAVE_MEMORY_H 1
10520| #define HAVE_STRINGS_H 1
10521| #define HAVE_INTTYPES_H 1
10522| #define HAVE_STDINT_H 1
10523| #define HAVE_UNISTD_H 1
10524| #define __EXTENSIONS__ 1
10525| #define _ALL_SOURCE 1
10526| #define _GNU_SOURCE 1
10527| #define _POSIX_PTHREAD_SEMANTICS 1
10528| #define _TANDEM_SOURCE 1
10529| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10530| #define RUN_DIR "/opt/local/etc/unbound"
10531| #define CHROOT_DIR "/opt/local/etc/unbound"
10532| #define SHARE_DIR "/opt/local/etc/unbound"
10533| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10534| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10535| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10536| #define UB_USERNAME "unbound"
10537| #define WINVER 0x0502
10538| #define RSRC_PACKAGE_VERSION 1,5,4,0
10539| #define HAVE_GETOPT_H 1
10540| #define HAVE_TIME_H 1
10541| #define HAVE_ATTR_FORMAT 1
10542| #define HAVE_ATTR_UNUSED 1
10543| #define LEX_HAS_YYLEX_DESTROY 1
10544| #define HAVE_DLFCN_H 1
10545| #define LT_OBJDIR ".libs/"
10546| #define HAVE_STDARG_H 1
10547| #define HAVE_STDBOOL_H 1
10548| #define HAVE_NETINET_IN_H 1
10549| #define HAVE_SYS_PARAM_H 1
10550| #define HAVE_SYS_SOCKET_H 1
10551| #define HAVE_SYS_UN_H 1
10552| #define HAVE_SYS_UIO_H 1
10553| #define HAVE_SYS_RESOURCE_H 1
10554| #define HAVE_ARPA_INET_H 1
10555| #define HAVE_SYSLOG_H 1
10556| #define HAVE_NETDB_H 1
10557| #define HAVE_SYS_WAIT_H 1
10558| #define HAVE_PWD_H 1
10559| #define HAVE_GLOB_H 1
10560| #define HAVE_GRP_H 1
10561| #define SIZEOF_TIME_T 0
10562| #define HAVE_UNISTD_H 1
10563| /* end confdefs.h.  */
10564| #include <stdio.h>
10565| #ifdef HAVE_SYS_TYPES_H
10566| # include <sys/types.h>
10567| #endif
10568| #ifdef HAVE_SYS_STAT_H
10569| # include <sys/stat.h>
10570| #endif
10571| #ifdef STDC_HEADERS
10572| # include <stdlib.h>
10573| # include <stddef.h>
10574| #else
10575| # ifdef HAVE_STDLIB_H
10576| #  include <stdlib.h>
10577| # endif
10578| #endif
10579| #ifdef HAVE_STRING_H
10580| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10581| #  include <memory.h>
10582| # endif
10583| # include <string.h>
10584| #endif
10585| #ifdef HAVE_STRINGS_H
10586| # include <strings.h>
10587| #endif
10588| #ifdef HAVE_INTTYPES_H
10589| # include <inttypes.h>
10590| #endif
10591| #ifdef HAVE_STDINT_H
10592| # include <stdint.h>
10593| #endif
10594| #ifdef HAVE_UNISTD_H
10595| # include <unistd.h>
10596| #endif
10597| #include <fcntl.h>
10598|
10599| int
10600| main ()
10601| {
10602|   char *f = "conftest.chown";
10603|   struct stat before, after;
10604|
10605|   if (creat (f, 0600) < 0)
10606|     return 1;
10607|   if (stat (f, &before) < 0)
10608|     return 1;
10609|   if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
10610|     return 1;
10611|   if (stat (f, &after) < 0)
10612|     return 1;
10613|   return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
10614|
10615|   ;
10616|   return 0;
10617| }
10618configure:14299: result: no
10619configure:14309: checking vfork.h usability
10620configure:14309: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
10621conftest.c:91:19: error: vfork.h: No such file or directory
10622configure:14309: $? = 1
10623configure: failed program was:
10624| /* confdefs.h */
10625| #define PACKAGE_NAME "unbound"
10626| #define PACKAGE_TARNAME "unbound"
10627| #define PACKAGE_VERSION "1.5.4"
10628| #define PACKAGE_STRING "unbound 1.5.4"
10629| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10630| #define PACKAGE_URL ""
10631| #define STDC_HEADERS 1
10632| #define HAVE_SYS_TYPES_H 1
10633| #define HAVE_SYS_STAT_H 1
10634| #define HAVE_STDLIB_H 1
10635| #define HAVE_STRING_H 1
10636| #define HAVE_MEMORY_H 1
10637| #define HAVE_STRINGS_H 1
10638| #define HAVE_INTTYPES_H 1
10639| #define HAVE_STDINT_H 1
10640| #define HAVE_UNISTD_H 1
10641| #define __EXTENSIONS__ 1
10642| #define _ALL_SOURCE 1
10643| #define _GNU_SOURCE 1
10644| #define _POSIX_PTHREAD_SEMANTICS 1
10645| #define _TANDEM_SOURCE 1
10646| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10647| #define RUN_DIR "/opt/local/etc/unbound"
10648| #define CHROOT_DIR "/opt/local/etc/unbound"
10649| #define SHARE_DIR "/opt/local/etc/unbound"
10650| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10651| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10652| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10653| #define UB_USERNAME "unbound"
10654| #define WINVER 0x0502
10655| #define RSRC_PACKAGE_VERSION 1,5,4,0
10656| #define HAVE_GETOPT_H 1
10657| #define HAVE_TIME_H 1
10658| #define HAVE_ATTR_FORMAT 1
10659| #define HAVE_ATTR_UNUSED 1
10660| #define LEX_HAS_YYLEX_DESTROY 1
10661| #define HAVE_DLFCN_H 1
10662| #define LT_OBJDIR ".libs/"
10663| #define HAVE_STDARG_H 1
10664| #define HAVE_STDBOOL_H 1
10665| #define HAVE_NETINET_IN_H 1
10666| #define HAVE_SYS_PARAM_H 1
10667| #define HAVE_SYS_SOCKET_H 1
10668| #define HAVE_SYS_UN_H 1
10669| #define HAVE_SYS_UIO_H 1
10670| #define HAVE_SYS_RESOURCE_H 1
10671| #define HAVE_ARPA_INET_H 1
10672| #define HAVE_SYSLOG_H 1
10673| #define HAVE_NETDB_H 1
10674| #define HAVE_SYS_WAIT_H 1
10675| #define HAVE_PWD_H 1
10676| #define HAVE_GLOB_H 1
10677| #define HAVE_GRP_H 1
10678| #define SIZEOF_TIME_T 0
10679| #define HAVE_UNISTD_H 1
10680| /* end confdefs.h.  */
10681| #include <stdio.h>
10682| #ifdef HAVE_SYS_TYPES_H
10683| # include <sys/types.h>
10684| #endif
10685| #ifdef HAVE_SYS_STAT_H
10686| # include <sys/stat.h>
10687| #endif
10688| #ifdef STDC_HEADERS
10689| # include <stdlib.h>
10690| # include <stddef.h>
10691| #else
10692| # ifdef HAVE_STDLIB_H
10693| #  include <stdlib.h>
10694| # endif
10695| #endif
10696| #ifdef HAVE_STRING_H
10697| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10698| #  include <memory.h>
10699| # endif
10700| # include <string.h>
10701| #endif
10702| #ifdef HAVE_STRINGS_H
10703| # include <strings.h>
10704| #endif
10705| #ifdef HAVE_INTTYPES_H
10706| # include <inttypes.h>
10707| #endif
10708| #ifdef HAVE_STDINT_H
10709| # include <stdint.h>
10710| #endif
10711| #ifdef HAVE_UNISTD_H
10712| # include <unistd.h>
10713| #endif
10714| #include <vfork.h>
10715configure:14309: result: no
10716configure:14309: checking vfork.h presence
10717configure:14309: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include conftest.c
10718conftest.c:58:19: error: vfork.h: No such file or directory
10719configure:14309: $? = 1
10720configure: failed program was:
10721| /* confdefs.h */
10722| #define PACKAGE_NAME "unbound"
10723| #define PACKAGE_TARNAME "unbound"
10724| #define PACKAGE_VERSION "1.5.4"
10725| #define PACKAGE_STRING "unbound 1.5.4"
10726| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10727| #define PACKAGE_URL ""
10728| #define STDC_HEADERS 1
10729| #define HAVE_SYS_TYPES_H 1
10730| #define HAVE_SYS_STAT_H 1
10731| #define HAVE_STDLIB_H 1
10732| #define HAVE_STRING_H 1
10733| #define HAVE_MEMORY_H 1
10734| #define HAVE_STRINGS_H 1
10735| #define HAVE_INTTYPES_H 1
10736| #define HAVE_STDINT_H 1
10737| #define HAVE_UNISTD_H 1
10738| #define __EXTENSIONS__ 1
10739| #define _ALL_SOURCE 1
10740| #define _GNU_SOURCE 1
10741| #define _POSIX_PTHREAD_SEMANTICS 1
10742| #define _TANDEM_SOURCE 1
10743| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10744| #define RUN_DIR "/opt/local/etc/unbound"
10745| #define CHROOT_DIR "/opt/local/etc/unbound"
10746| #define SHARE_DIR "/opt/local/etc/unbound"
10747| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10748| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10749| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10750| #define UB_USERNAME "unbound"
10751| #define WINVER 0x0502
10752| #define RSRC_PACKAGE_VERSION 1,5,4,0
10753| #define HAVE_GETOPT_H 1
10754| #define HAVE_TIME_H 1
10755| #define HAVE_ATTR_FORMAT 1
10756| #define HAVE_ATTR_UNUSED 1
10757| #define LEX_HAS_YYLEX_DESTROY 1
10758| #define HAVE_DLFCN_H 1
10759| #define LT_OBJDIR ".libs/"
10760| #define HAVE_STDARG_H 1
10761| #define HAVE_STDBOOL_H 1
10762| #define HAVE_NETINET_IN_H 1
10763| #define HAVE_SYS_PARAM_H 1
10764| #define HAVE_SYS_SOCKET_H 1
10765| #define HAVE_SYS_UN_H 1
10766| #define HAVE_SYS_UIO_H 1
10767| #define HAVE_SYS_RESOURCE_H 1
10768| #define HAVE_ARPA_INET_H 1
10769| #define HAVE_SYSLOG_H 1
10770| #define HAVE_NETDB_H 1
10771| #define HAVE_SYS_WAIT_H 1
10772| #define HAVE_PWD_H 1
10773| #define HAVE_GLOB_H 1
10774| #define HAVE_GRP_H 1
10775| #define SIZEOF_TIME_T 0
10776| #define HAVE_UNISTD_H 1
10777| /* end confdefs.h.  */
10778| #include <vfork.h>
10779configure:14309: result: no
10780configure:14309: checking for vfork.h
10781configure:14309: result: no
10782configure:14322: checking for fork
10783configure:14322: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10784conftest.c:81: warning: conflicting types for built-in function 'fork'
10785ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccFIgfP7.o because Unknown instruction for architecture x86_64
10786collect2: ld returned 1 exit status
10787configure:14322: $? = 1
10788configure: failed program was:
10789| /* confdefs.h */
10790| #define PACKAGE_NAME "unbound"
10791| #define PACKAGE_TARNAME "unbound"
10792| #define PACKAGE_VERSION "1.5.4"
10793| #define PACKAGE_STRING "unbound 1.5.4"
10794| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10795| #define PACKAGE_URL ""
10796| #define STDC_HEADERS 1
10797| #define HAVE_SYS_TYPES_H 1
10798| #define HAVE_SYS_STAT_H 1
10799| #define HAVE_STDLIB_H 1
10800| #define HAVE_STRING_H 1
10801| #define HAVE_MEMORY_H 1
10802| #define HAVE_STRINGS_H 1
10803| #define HAVE_INTTYPES_H 1
10804| #define HAVE_STDINT_H 1
10805| #define HAVE_UNISTD_H 1
10806| #define __EXTENSIONS__ 1
10807| #define _ALL_SOURCE 1
10808| #define _GNU_SOURCE 1
10809| #define _POSIX_PTHREAD_SEMANTICS 1
10810| #define _TANDEM_SOURCE 1
10811| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10812| #define RUN_DIR "/opt/local/etc/unbound"
10813| #define CHROOT_DIR "/opt/local/etc/unbound"
10814| #define SHARE_DIR "/opt/local/etc/unbound"
10815| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10816| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10817| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10818| #define UB_USERNAME "unbound"
10819| #define WINVER 0x0502
10820| #define RSRC_PACKAGE_VERSION 1,5,4,0
10821| #define HAVE_GETOPT_H 1
10822| #define HAVE_TIME_H 1
10823| #define HAVE_ATTR_FORMAT 1
10824| #define HAVE_ATTR_UNUSED 1
10825| #define LEX_HAS_YYLEX_DESTROY 1
10826| #define HAVE_DLFCN_H 1
10827| #define LT_OBJDIR ".libs/"
10828| #define HAVE_STDARG_H 1
10829| #define HAVE_STDBOOL_H 1
10830| #define HAVE_NETINET_IN_H 1
10831| #define HAVE_SYS_PARAM_H 1
10832| #define HAVE_SYS_SOCKET_H 1
10833| #define HAVE_SYS_UN_H 1
10834| #define HAVE_SYS_UIO_H 1
10835| #define HAVE_SYS_RESOURCE_H 1
10836| #define HAVE_ARPA_INET_H 1
10837| #define HAVE_SYSLOG_H 1
10838| #define HAVE_NETDB_H 1
10839| #define HAVE_SYS_WAIT_H 1
10840| #define HAVE_PWD_H 1
10841| #define HAVE_GLOB_H 1
10842| #define HAVE_GRP_H 1
10843| #define SIZEOF_TIME_T 0
10844| #define HAVE_UNISTD_H 1
10845| /* end confdefs.h.  */
10846| /* Define fork to an innocuous variant, in case <limits.h> declares fork.
10847|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10848| #define fork innocuous_fork
10849|
10850| /* System header to define __stub macros and hopefully few prototypes,
10851|     which can conflict with char fork (); below.
10852|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10853|     <limits.h> exists even on freestanding compilers.  */
10854|
10855| #ifdef __STDC__
10856| # include <limits.h>
10857| #else
10858| # include <assert.h>
10859| #endif
10860|
10861| #undef fork
10862|
10863| /* Override any GCC internal prototype to avoid an error.
10864|    Use char because int might match the return type of a GCC
10865|    builtin and then its argument prototype would still apply.  */
10866| #ifdef __cplusplus
10867| extern "C"
10868| #endif
10869| char fork ();
10870| /* The GNU C library defines this for functions which it implements
10871|     to always fail with ENOSYS.  Some functions are actually named
10872|     something starting with __ and the normal name is an alias.  */
10873| #if defined __stub_fork || defined __stub___fork
10874| choke me
10875| #endif
10876|
10877| int
10878| main ()
10879| {
10880| return fork ();
10881|   ;
10882|   return 0;
10883| }
10884configure:14322: result: no
10885configure:14322: checking for vfork
10886configure:14322: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
10887ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccDnRc3R.o because Unknown instruction for architecture x86_64
10888collect2: ld returned 1 exit status
10889configure:14322: $? = 1
10890configure: failed program was:
10891| /* confdefs.h */
10892| #define PACKAGE_NAME "unbound"
10893| #define PACKAGE_TARNAME "unbound"
10894| #define PACKAGE_VERSION "1.5.4"
10895| #define PACKAGE_STRING "unbound 1.5.4"
10896| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10897| #define PACKAGE_URL ""
10898| #define STDC_HEADERS 1
10899| #define HAVE_SYS_TYPES_H 1
10900| #define HAVE_SYS_STAT_H 1
10901| #define HAVE_STDLIB_H 1
10902| #define HAVE_STRING_H 1
10903| #define HAVE_MEMORY_H 1
10904| #define HAVE_STRINGS_H 1
10905| #define HAVE_INTTYPES_H 1
10906| #define HAVE_STDINT_H 1
10907| #define HAVE_UNISTD_H 1
10908| #define __EXTENSIONS__ 1
10909| #define _ALL_SOURCE 1
10910| #define _GNU_SOURCE 1
10911| #define _POSIX_PTHREAD_SEMANTICS 1
10912| #define _TANDEM_SOURCE 1
10913| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
10914| #define RUN_DIR "/opt/local/etc/unbound"
10915| #define CHROOT_DIR "/opt/local/etc/unbound"
10916| #define SHARE_DIR "/opt/local/etc/unbound"
10917| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
10918| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
10919| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
10920| #define UB_USERNAME "unbound"
10921| #define WINVER 0x0502
10922| #define RSRC_PACKAGE_VERSION 1,5,4,0
10923| #define HAVE_GETOPT_H 1
10924| #define HAVE_TIME_H 1
10925| #define HAVE_ATTR_FORMAT 1
10926| #define HAVE_ATTR_UNUSED 1
10927| #define LEX_HAS_YYLEX_DESTROY 1
10928| #define HAVE_DLFCN_H 1
10929| #define LT_OBJDIR ".libs/"
10930| #define HAVE_STDARG_H 1
10931| #define HAVE_STDBOOL_H 1
10932| #define HAVE_NETINET_IN_H 1
10933| #define HAVE_SYS_PARAM_H 1
10934| #define HAVE_SYS_SOCKET_H 1
10935| #define HAVE_SYS_UN_H 1
10936| #define HAVE_SYS_UIO_H 1
10937| #define HAVE_SYS_RESOURCE_H 1
10938| #define HAVE_ARPA_INET_H 1
10939| #define HAVE_SYSLOG_H 1
10940| #define HAVE_NETDB_H 1
10941| #define HAVE_SYS_WAIT_H 1
10942| #define HAVE_PWD_H 1
10943| #define HAVE_GLOB_H 1
10944| #define HAVE_GRP_H 1
10945| #define SIZEOF_TIME_T 0
10946| #define HAVE_UNISTD_H 1
10947| /* end confdefs.h.  */
10948| /* Define vfork to an innocuous variant, in case <limits.h> declares vfork.
10949|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10950| #define vfork innocuous_vfork
10951|
10952| /* System header to define __stub macros and hopefully few prototypes,
10953|     which can conflict with char vfork (); below.
10954|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10955|     <limits.h> exists even on freestanding compilers.  */
10956|
10957| #ifdef __STDC__
10958| # include <limits.h>
10959| #else
10960| # include <assert.h>
10961| #endif
10962|
10963| #undef vfork
10964|
10965| /* Override any GCC internal prototype to avoid an error.
10966|    Use char because int might match the return type of a GCC
10967|    builtin and then its argument prototype would still apply.  */
10968| #ifdef __cplusplus
10969| extern "C"
10970| #endif
10971| char vfork ();
10972| /* The GNU C library defines this for functions which it implements
10973|     to always fail with ENOSYS.  Some functions are actually named
10974|     something starting with __ and the normal name is an alias.  */
10975| #if defined __stub_vfork || defined __stub___vfork
10976| choke me
10977| #endif
10978|
10979| int
10980| main ()
10981| {
10982| return vfork ();
10983|   ;
10984|   return 0;
10985| }
10986configure:14322: result: no
10987configure:14520: checking return type of signal handlers
10988configure:14538: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
10989conftest.c: In function 'main':
10990conftest.c:65: error: void value not ignored as it ought to be
10991configure:14538: $? = 1
10992configure: failed program was:
10993| /* confdefs.h */
10994| #define PACKAGE_NAME "unbound"
10995| #define PACKAGE_TARNAME "unbound"
10996| #define PACKAGE_VERSION "1.5.4"
10997| #define PACKAGE_STRING "unbound 1.5.4"
10998| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
10999| #define PACKAGE_URL ""
11000| #define STDC_HEADERS 1
11001| #define HAVE_SYS_TYPES_H 1
11002| #define HAVE_SYS_STAT_H 1
11003| #define HAVE_STDLIB_H 1
11004| #define HAVE_STRING_H 1
11005| #define HAVE_MEMORY_H 1
11006| #define HAVE_STRINGS_H 1
11007| #define HAVE_INTTYPES_H 1
11008| #define HAVE_STDINT_H 1
11009| #define HAVE_UNISTD_H 1
11010| #define __EXTENSIONS__ 1
11011| #define _ALL_SOURCE 1
11012| #define _GNU_SOURCE 1
11013| #define _POSIX_PTHREAD_SEMANTICS 1
11014| #define _TANDEM_SOURCE 1
11015| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11016| #define RUN_DIR "/opt/local/etc/unbound"
11017| #define CHROOT_DIR "/opt/local/etc/unbound"
11018| #define SHARE_DIR "/opt/local/etc/unbound"
11019| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11020| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11021| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11022| #define UB_USERNAME "unbound"
11023| #define WINVER 0x0502
11024| #define RSRC_PACKAGE_VERSION 1,5,4,0
11025| #define HAVE_GETOPT_H 1
11026| #define HAVE_TIME_H 1
11027| #define HAVE_ATTR_FORMAT 1
11028| #define HAVE_ATTR_UNUSED 1
11029| #define LEX_HAS_YYLEX_DESTROY 1
11030| #define HAVE_DLFCN_H 1
11031| #define LT_OBJDIR ".libs/"
11032| #define HAVE_STDARG_H 1
11033| #define HAVE_STDBOOL_H 1
11034| #define HAVE_NETINET_IN_H 1
11035| #define HAVE_SYS_PARAM_H 1
11036| #define HAVE_SYS_SOCKET_H 1
11037| #define HAVE_SYS_UN_H 1
11038| #define HAVE_SYS_UIO_H 1
11039| #define HAVE_SYS_RESOURCE_H 1
11040| #define HAVE_ARPA_INET_H 1
11041| #define HAVE_SYSLOG_H 1
11042| #define HAVE_NETDB_H 1
11043| #define HAVE_SYS_WAIT_H 1
11044| #define HAVE_PWD_H 1
11045| #define HAVE_GLOB_H 1
11046| #define HAVE_GRP_H 1
11047| #define SIZEOF_TIME_T 0
11048| #define HAVE_UNISTD_H 1
11049| #define vfork fork
11050| /* end confdefs.h.  */
11051| #include <sys/types.h>
11052| #include <signal.h>
11053|
11054| int
11055| main ()
11056| {
11057| return *(signal (0, 0)) (0) == 1;
11058|   ;
11059|   return 0;
11060| }
11061configure:14545: result: void
11062configure:14553: checking for _LARGEFILE_SOURCE value needed for large files
11063configure:14572: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
11064ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccOCe22X.o because Unknown instruction for architecture x86_64
11065collect2: ld returned 1 exit status
11066configure:14572: $? = 1
11067configure: failed program was:
11068| /* confdefs.h */
11069| #define PACKAGE_NAME "unbound"
11070| #define PACKAGE_TARNAME "unbound"
11071| #define PACKAGE_VERSION "1.5.4"
11072| #define PACKAGE_STRING "unbound 1.5.4"
11073| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11074| #define PACKAGE_URL ""
11075| #define STDC_HEADERS 1
11076| #define HAVE_SYS_TYPES_H 1
11077| #define HAVE_SYS_STAT_H 1
11078| #define HAVE_STDLIB_H 1
11079| #define HAVE_STRING_H 1
11080| #define HAVE_MEMORY_H 1
11081| #define HAVE_STRINGS_H 1
11082| #define HAVE_INTTYPES_H 1
11083| #define HAVE_STDINT_H 1
11084| #define HAVE_UNISTD_H 1
11085| #define __EXTENSIONS__ 1
11086| #define _ALL_SOURCE 1
11087| #define _GNU_SOURCE 1
11088| #define _POSIX_PTHREAD_SEMANTICS 1
11089| #define _TANDEM_SOURCE 1
11090| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11091| #define RUN_DIR "/opt/local/etc/unbound"
11092| #define CHROOT_DIR "/opt/local/etc/unbound"
11093| #define SHARE_DIR "/opt/local/etc/unbound"
11094| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11095| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11096| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11097| #define UB_USERNAME "unbound"
11098| #define WINVER 0x0502
11099| #define RSRC_PACKAGE_VERSION 1,5,4,0
11100| #define HAVE_GETOPT_H 1
11101| #define HAVE_TIME_H 1
11102| #define HAVE_ATTR_FORMAT 1
11103| #define HAVE_ATTR_UNUSED 1
11104| #define LEX_HAS_YYLEX_DESTROY 1
11105| #define HAVE_DLFCN_H 1
11106| #define LT_OBJDIR ".libs/"
11107| #define HAVE_STDARG_H 1
11108| #define HAVE_STDBOOL_H 1
11109| #define HAVE_NETINET_IN_H 1
11110| #define HAVE_SYS_PARAM_H 1
11111| #define HAVE_SYS_SOCKET_H 1
11112| #define HAVE_SYS_UN_H 1
11113| #define HAVE_SYS_UIO_H 1
11114| #define HAVE_SYS_RESOURCE_H 1
11115| #define HAVE_ARPA_INET_H 1
11116| #define HAVE_SYSLOG_H 1
11117| #define HAVE_NETDB_H 1
11118| #define HAVE_SYS_WAIT_H 1
11119| #define HAVE_PWD_H 1
11120| #define HAVE_GLOB_H 1
11121| #define HAVE_GRP_H 1
11122| #define SIZEOF_TIME_T 0
11123| #define HAVE_UNISTD_H 1
11124| #define vfork fork
11125| #define RETSIGTYPE void
11126| /* end confdefs.h.  */
11127| #include <sys/types.h> /* for off_t */
11128|      #include <stdio.h>
11129| int
11130| main ()
11131| {
11132| int (*fp) (FILE *, off_t, int) = fseeko;
11133|      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11134|   ;
11135|   return 0;
11136| }
11137configure:14591: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
11138ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccc0vLkw.o because Unknown instruction for architecture x86_64
11139collect2: ld returned 1 exit status
11140configure:14591: $? = 1
11141configure: failed program was:
11142| /* confdefs.h */
11143| #define PACKAGE_NAME "unbound"
11144| #define PACKAGE_TARNAME "unbound"
11145| #define PACKAGE_VERSION "1.5.4"
11146| #define PACKAGE_STRING "unbound 1.5.4"
11147| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11148| #define PACKAGE_URL ""
11149| #define STDC_HEADERS 1
11150| #define HAVE_SYS_TYPES_H 1
11151| #define HAVE_SYS_STAT_H 1
11152| #define HAVE_STDLIB_H 1
11153| #define HAVE_STRING_H 1
11154| #define HAVE_MEMORY_H 1
11155| #define HAVE_STRINGS_H 1
11156| #define HAVE_INTTYPES_H 1
11157| #define HAVE_STDINT_H 1
11158| #define HAVE_UNISTD_H 1
11159| #define __EXTENSIONS__ 1
11160| #define _ALL_SOURCE 1
11161| #define _GNU_SOURCE 1
11162| #define _POSIX_PTHREAD_SEMANTICS 1
11163| #define _TANDEM_SOURCE 1
11164| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11165| #define RUN_DIR "/opt/local/etc/unbound"
11166| #define CHROOT_DIR "/opt/local/etc/unbound"
11167| #define SHARE_DIR "/opt/local/etc/unbound"
11168| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11169| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11170| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11171| #define UB_USERNAME "unbound"
11172| #define WINVER 0x0502
11173| #define RSRC_PACKAGE_VERSION 1,5,4,0
11174| #define HAVE_GETOPT_H 1
11175| #define HAVE_TIME_H 1
11176| #define HAVE_ATTR_FORMAT 1
11177| #define HAVE_ATTR_UNUSED 1
11178| #define LEX_HAS_YYLEX_DESTROY 1
11179| #define HAVE_DLFCN_H 1
11180| #define LT_OBJDIR ".libs/"
11181| #define HAVE_STDARG_H 1
11182| #define HAVE_STDBOOL_H 1
11183| #define HAVE_NETINET_IN_H 1
11184| #define HAVE_SYS_PARAM_H 1
11185| #define HAVE_SYS_SOCKET_H 1
11186| #define HAVE_SYS_UN_H 1
11187| #define HAVE_SYS_UIO_H 1
11188| #define HAVE_SYS_RESOURCE_H 1
11189| #define HAVE_ARPA_INET_H 1
11190| #define HAVE_SYSLOG_H 1
11191| #define HAVE_NETDB_H 1
11192| #define HAVE_SYS_WAIT_H 1
11193| #define HAVE_PWD_H 1
11194| #define HAVE_GLOB_H 1
11195| #define HAVE_GRP_H 1
11196| #define SIZEOF_TIME_T 0
11197| #define HAVE_UNISTD_H 1
11198| #define vfork fork
11199| #define RETSIGTYPE void
11200| /* end confdefs.h.  */
11201| #define _LARGEFILE_SOURCE 1
11202| #include <sys/types.h> /* for off_t */
11203|      #include <stdio.h>
11204| int
11205| main ()
11206| {
11207| int (*fp) (FILE *, off_t, int) = fseeko;
11208|      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11209|   ;
11210|   return 0;
11211| }
11212configure:14600: result: unknown
11213configure:14629: checking for special C compiler options needed for large files
11214configure:14674: result: no
11215configure:14680: checking for _FILE_OFFSET_BITS value needed for large files
11216configure:14705: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
11217configure:14705: $? = 0
11218configure:14737: result: no
11219configure:14825: checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for /usr/bin/llvm-gcc-4.2
11220configure:14867: result: no
11221configure:14886: checking if nonblocking sockets work
11222configure:15027: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
11223ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccbqsKX2.o because Invalid ALLOCA record for architecture x86_64
11224collect2: ld returned 1 exit status
11225configure:15027: $? = 1
11226configure: program exited with status 1
11227configure: failed program was:
11228| /* confdefs.h */
11229| #define PACKAGE_NAME "unbound"
11230| #define PACKAGE_TARNAME "unbound"
11231| #define PACKAGE_VERSION "1.5.4"
11232| #define PACKAGE_STRING "unbound 1.5.4"
11233| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11234| #define PACKAGE_URL ""
11235| #define STDC_HEADERS 1
11236| #define HAVE_SYS_TYPES_H 1
11237| #define HAVE_SYS_STAT_H 1
11238| #define HAVE_STDLIB_H 1
11239| #define HAVE_STRING_H 1
11240| #define HAVE_MEMORY_H 1
11241| #define HAVE_STRINGS_H 1
11242| #define HAVE_INTTYPES_H 1
11243| #define HAVE_STDINT_H 1
11244| #define HAVE_UNISTD_H 1
11245| #define __EXTENSIONS__ 1
11246| #define _ALL_SOURCE 1
11247| #define _GNU_SOURCE 1
11248| #define _POSIX_PTHREAD_SEMANTICS 1
11249| #define _TANDEM_SOURCE 1
11250| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11251| #define RUN_DIR "/opt/local/etc/unbound"
11252| #define CHROOT_DIR "/opt/local/etc/unbound"
11253| #define SHARE_DIR "/opt/local/etc/unbound"
11254| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11255| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11256| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11257| #define UB_USERNAME "unbound"
11258| #define WINVER 0x0502
11259| #define RSRC_PACKAGE_VERSION 1,5,4,0
11260| #define HAVE_GETOPT_H 1
11261| #define HAVE_TIME_H 1
11262| #define HAVE_ATTR_FORMAT 1
11263| #define HAVE_ATTR_UNUSED 1
11264| #define LEX_HAS_YYLEX_DESTROY 1
11265| #define HAVE_DLFCN_H 1
11266| #define LT_OBJDIR ".libs/"
11267| #define HAVE_STDARG_H 1
11268| #define HAVE_STDBOOL_H 1
11269| #define HAVE_NETINET_IN_H 1
11270| #define HAVE_SYS_PARAM_H 1
11271| #define HAVE_SYS_SOCKET_H 1
11272| #define HAVE_SYS_UN_H 1
11273| #define HAVE_SYS_UIO_H 1
11274| #define HAVE_SYS_RESOURCE_H 1
11275| #define HAVE_ARPA_INET_H 1
11276| #define HAVE_SYSLOG_H 1
11277| #define HAVE_NETDB_H 1
11278| #define HAVE_SYS_WAIT_H 1
11279| #define HAVE_PWD_H 1
11280| #define HAVE_GLOB_H 1
11281| #define HAVE_GRP_H 1
11282| #define SIZEOF_TIME_T 0
11283| #define HAVE_UNISTD_H 1
11284| #define vfork fork
11285| #define RETSIGTYPE void
11286| /* end confdefs.h.  */
11287|
11288|
11289| #include <stdio.h>
11290| #include <string.h>
11291| #include <stdlib.h>
11292| #include <fcntl.h>
11293| #include <errno.h>
11294| #ifdef HAVE_SYS_TYPES_H
11295| #include <sys/types.h>
11296| #endif
11297| #ifdef HAVE_SYS_SOCKET_H
11298| #include <sys/socket.h>
11299| #endif
11300| #ifdef HAVE_NETINET_IN_H
11301| #include <netinet/in.h>
11302| #endif
11303| #ifdef HAVE_ARPA_INET_H
11304| #include <arpa/inet.h>
11305| #endif
11306| #ifdef HAVE_UNISTD_H
11307| #include <unistd.h>
11308| #endif
11309| #ifdef HAVE_TIME_H
11310| #include <time.h>
11311| #endif
11312|
11313| int main(void)
11314| {
11315|       int port;
11316|       int sfd, cfd;
11317|       int num = 10;
11318|       int i, p;
11319|       struct sockaddr_in a;
11320|       /* test if select and nonblocking reads work well together */
11321|       /* open port.
11322|          fork child to send 10 messages.
11323|          select to read.
11324|          then try to nonblocking read the 10 messages
11325|          then, nonblocking read must give EAGAIN
11326|       */
11327|
11328|       port = 12345 + (time(0)%32);
11329|       sfd = socket(PF_INET, SOCK_DGRAM, 0);
11330|       if(sfd == -1) {
11331|               perror("socket");
11332|               return 1;
11333|       }
11334|       memset(&a, 0, sizeof(a));
11335|       a.sin_family = AF_INET;
11336|       a.sin_port = htons(port);
11337|       a.sin_addr.s_addr = inet_addr("127.0.0.1");
11338|       if(bind(sfd, (struct sockaddr*)&a, sizeof(a)) < 0) {
11339|               perror("bind");
11340|               return 1;
11341|       }
11342|       if(fcntl(sfd, F_SETFL, O_NONBLOCK) == -1) {
11343|               perror("fcntl");
11344|               return 1;
11345|       }
11346|
11347|       cfd = socket(PF_INET, SOCK_DGRAM, 0);
11348|       if(cfd == -1) {
11349|               perror("client socket");
11350|               return 1;
11351|       }
11352|       a.sin_port = 0;
11353|       if(bind(cfd, (struct sockaddr*)&a, sizeof(a)) < 0) {
11354|               perror("client bind");
11355|               return 1;
11356|       }
11357|       a.sin_port = htons(port);
11358|
11359|       /* no handler, causes exit in 10 seconds */
11360|       alarm(10);
11361|
11362|       /* send and receive on the socket */
11363|       if((p=fork()) == 0) {
11364|               for(i=0; i<num; i++) {
11365|                       if(sendto(cfd, &i, sizeof(i), 0,
11366|                               (struct sockaddr*)&a, sizeof(a)) < 0) {
11367|                               perror("sendto");
11368|                               return 1;
11369|                       }
11370|               }
11371|       } else {
11372|               /* parent */
11373|               fd_set rset;
11374|               int x;
11375|               if(p == -1) {
11376|                       perror("fork");
11377|                       return 1;
11378|               }
11379|               FD_ZERO(&rset);
11380|               FD_SET(sfd, &rset);
11381|               if(select(sfd+1, &rset, NULL, NULL, NULL) < 1) {
11382|                       perror("select");
11383|                       return 1;
11384|               }
11385|               i = 0;
11386|               while(i < num) {
11387|                       if(recv(sfd, &x, sizeof(x), 0) != sizeof(x)) {
11388|                               if(errno == EAGAIN)
11389|                                       continue;
11390|                               perror("recv");
11391|                               return 1;
11392|                       }
11393|                       i++;
11394|               }
11395|               /* now we want to get EAGAIN: nonblocking goodness */
11396|               errno = 0;
11397|               recv(sfd, &x, sizeof(x), 0);
11398|               if(errno != EAGAIN) {
11399|                       perror("trying to recv again");
11400|                       return 1;
11401|               }
11402|               /* EAGAIN encountered */
11403|       }
11404|
11405|       close(sfd);
11406|       close(cfd);
11407|       return 0;
11408| }
11409|
11410configure:15034: result: no
11411configure:15048: checking whether mkdir has one arg
11412configure:15072: /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64 -flto -I/opt/local/include conftest.c >&5
11413conftest.c: In function 'main':
11414conftest.c:75: error: too few arguments to function 'mkdir'
11415configure:15072: $? = 1
11416configure: failed program was:
11417| /* confdefs.h */
11418| #define PACKAGE_NAME "unbound"
11419| #define PACKAGE_TARNAME "unbound"
11420| #define PACKAGE_VERSION "1.5.4"
11421| #define PACKAGE_STRING "unbound 1.5.4"
11422| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11423| #define PACKAGE_URL ""
11424| #define STDC_HEADERS 1
11425| #define HAVE_SYS_TYPES_H 1
11426| #define HAVE_SYS_STAT_H 1
11427| #define HAVE_STDLIB_H 1
11428| #define HAVE_STRING_H 1
11429| #define HAVE_MEMORY_H 1
11430| #define HAVE_STRINGS_H 1
11431| #define HAVE_INTTYPES_H 1
11432| #define HAVE_STDINT_H 1
11433| #define HAVE_UNISTD_H 1
11434| #define __EXTENSIONS__ 1
11435| #define _ALL_SOURCE 1
11436| #define _GNU_SOURCE 1
11437| #define _POSIX_PTHREAD_SEMANTICS 1
11438| #define _TANDEM_SOURCE 1
11439| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11440| #define RUN_DIR "/opt/local/etc/unbound"
11441| #define CHROOT_DIR "/opt/local/etc/unbound"
11442| #define SHARE_DIR "/opt/local/etc/unbound"
11443| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11444| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11445| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11446| #define UB_USERNAME "unbound"
11447| #define WINVER 0x0502
11448| #define RSRC_PACKAGE_VERSION 1,5,4,0
11449| #define HAVE_GETOPT_H 1
11450| #define HAVE_TIME_H 1
11451| #define HAVE_ATTR_FORMAT 1
11452| #define HAVE_ATTR_UNUSED 1
11453| #define LEX_HAS_YYLEX_DESTROY 1
11454| #define HAVE_DLFCN_H 1
11455| #define LT_OBJDIR ".libs/"
11456| #define HAVE_STDARG_H 1
11457| #define HAVE_STDBOOL_H 1
11458| #define HAVE_NETINET_IN_H 1
11459| #define HAVE_SYS_PARAM_H 1
11460| #define HAVE_SYS_SOCKET_H 1
11461| #define HAVE_SYS_UN_H 1
11462| #define HAVE_SYS_UIO_H 1
11463| #define HAVE_SYS_RESOURCE_H 1
11464| #define HAVE_ARPA_INET_H 1
11465| #define HAVE_SYSLOG_H 1
11466| #define HAVE_NETDB_H 1
11467| #define HAVE_SYS_WAIT_H 1
11468| #define HAVE_PWD_H 1
11469| #define HAVE_GLOB_H 1
11470| #define HAVE_GRP_H 1
11471| #define SIZEOF_TIME_T 0
11472| #define HAVE_UNISTD_H 1
11473| #define vfork fork
11474| #define RETSIGTYPE void
11475| #define NONBLOCKING_IS_BROKEN 1
11476| /* end confdefs.h.  */
11477|
11478| #include <stdio.h>
11479| #include <unistd.h>
11480| #ifdef HAVE_WINSOCK2_H
11481| #include <winsock2.h>
11482| #endif
11483| #ifdef HAVE_SYS_STAT_H
11484| #include <sys/stat.h>
11485| #endif
11486|
11487| int
11488| main ()
11489| {
11490|
11491|       (void)mkdir("directory");
11492|
11493|   ;
11494|   return 0;
11495| }
11496configure:15080: result: no
11497configure:15088: checking for strptime
11498configure:15088: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
11499ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccbEfAL0.o because Unknown instruction for architecture x86_64
11500collect2: ld returned 1 exit status
11501configure:15088: $? = 1
11502configure: failed program was:
11503| /* confdefs.h */
11504| #define PACKAGE_NAME "unbound"
11505| #define PACKAGE_TARNAME "unbound"
11506| #define PACKAGE_VERSION "1.5.4"
11507| #define PACKAGE_STRING "unbound 1.5.4"
11508| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11509| #define PACKAGE_URL ""
11510| #define STDC_HEADERS 1
11511| #define HAVE_SYS_TYPES_H 1
11512| #define HAVE_SYS_STAT_H 1
11513| #define HAVE_STDLIB_H 1
11514| #define HAVE_STRING_H 1
11515| #define HAVE_MEMORY_H 1
11516| #define HAVE_STRINGS_H 1
11517| #define HAVE_INTTYPES_H 1
11518| #define HAVE_STDINT_H 1
11519| #define HAVE_UNISTD_H 1
11520| #define __EXTENSIONS__ 1
11521| #define _ALL_SOURCE 1
11522| #define _GNU_SOURCE 1
11523| #define _POSIX_PTHREAD_SEMANTICS 1
11524| #define _TANDEM_SOURCE 1
11525| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11526| #define RUN_DIR "/opt/local/etc/unbound"
11527| #define CHROOT_DIR "/opt/local/etc/unbound"
11528| #define SHARE_DIR "/opt/local/etc/unbound"
11529| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11530| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11531| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11532| #define UB_USERNAME "unbound"
11533| #define WINVER 0x0502
11534| #define RSRC_PACKAGE_VERSION 1,5,4,0
11535| #define HAVE_GETOPT_H 1
11536| #define HAVE_TIME_H 1
11537| #define HAVE_ATTR_FORMAT 1
11538| #define HAVE_ATTR_UNUSED 1
11539| #define LEX_HAS_YYLEX_DESTROY 1
11540| #define HAVE_DLFCN_H 1
11541| #define LT_OBJDIR ".libs/"
11542| #define HAVE_STDARG_H 1
11543| #define HAVE_STDBOOL_H 1
11544| #define HAVE_NETINET_IN_H 1
11545| #define HAVE_SYS_PARAM_H 1
11546| #define HAVE_SYS_SOCKET_H 1
11547| #define HAVE_SYS_UN_H 1
11548| #define HAVE_SYS_UIO_H 1
11549| #define HAVE_SYS_RESOURCE_H 1
11550| #define HAVE_ARPA_INET_H 1
11551| #define HAVE_SYSLOG_H 1
11552| #define HAVE_NETDB_H 1
11553| #define HAVE_SYS_WAIT_H 1
11554| #define HAVE_PWD_H 1
11555| #define HAVE_GLOB_H 1
11556| #define HAVE_GRP_H 1
11557| #define SIZEOF_TIME_T 0
11558| #define HAVE_UNISTD_H 1
11559| #define vfork fork
11560| #define RETSIGTYPE void
11561| #define NONBLOCKING_IS_BROKEN 1
11562| /* end confdefs.h.  */
11563| /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
11564|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11565| #define strptime innocuous_strptime
11566|
11567| /* System header to define __stub macros and hopefully few prototypes,
11568|     which can conflict with char strptime (); below.
11569|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11570|     <limits.h> exists even on freestanding compilers.  */
11571|
11572| #ifdef __STDC__
11573| # include <limits.h>
11574| #else
11575| # include <assert.h>
11576| #endif
11577|
11578| #undef strptime
11579|
11580| /* Override any GCC internal prototype to avoid an error.
11581|    Use char because int might match the return type of a GCC
11582|    builtin and then its argument prototype would still apply.  */
11583| #ifdef __cplusplus
11584| extern "C"
11585| #endif
11586| char strptime ();
11587| /* The GNU C library defines this for functions which it implements
11588|     to always fail with ENOSYS.  Some functions are actually named
11589|     something starting with __ and the normal name is an alias.  */
11590| #if defined __stub_strptime || defined __stub___strptime
11591| choke me
11592| #endif
11593|
11594| int
11595| main ()
11596| {
11597| return strptime ();
11598|   ;
11599|   return 0;
11600| }
11601configure:15088: result: no
11602configure:15187: checking for GNU libc compatible malloc
11603configure:15221: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
11604configure:15221: $? = 0
11605configure:15221: ./conftest
11606configure:15221: $? = 1
11607configure: program exited with status 1
11608configure: failed program was:
11609| /* confdefs.h */
11610| #define PACKAGE_NAME "unbound"
11611| #define PACKAGE_TARNAME "unbound"
11612| #define PACKAGE_VERSION "1.5.4"
11613| #define PACKAGE_STRING "unbound 1.5.4"
11614| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11615| #define PACKAGE_URL ""
11616| #define STDC_HEADERS 1
11617| #define HAVE_SYS_TYPES_H 1
11618| #define HAVE_SYS_STAT_H 1
11619| #define HAVE_STDLIB_H 1
11620| #define HAVE_STRING_H 1
11621| #define HAVE_MEMORY_H 1
11622| #define HAVE_STRINGS_H 1
11623| #define HAVE_INTTYPES_H 1
11624| #define HAVE_STDINT_H 1
11625| #define HAVE_UNISTD_H 1
11626| #define __EXTENSIONS__ 1
11627| #define _ALL_SOURCE 1
11628| #define _GNU_SOURCE 1
11629| #define _POSIX_PTHREAD_SEMANTICS 1
11630| #define _TANDEM_SOURCE 1
11631| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11632| #define RUN_DIR "/opt/local/etc/unbound"
11633| #define CHROOT_DIR "/opt/local/etc/unbound"
11634| #define SHARE_DIR "/opt/local/etc/unbound"
11635| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11636| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11637| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11638| #define UB_USERNAME "unbound"
11639| #define WINVER 0x0502
11640| #define RSRC_PACKAGE_VERSION 1,5,4,0
11641| #define HAVE_GETOPT_H 1
11642| #define HAVE_TIME_H 1
11643| #define HAVE_ATTR_FORMAT 1
11644| #define HAVE_ATTR_UNUSED 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_SYS_PARAM_H 1
11652| #define HAVE_SYS_SOCKET_H 1
11653| #define HAVE_SYS_UN_H 1
11654| #define HAVE_SYS_UIO_H 1
11655| #define HAVE_SYS_RESOURCE_H 1
11656| #define HAVE_ARPA_INET_H 1
11657| #define HAVE_SYSLOG_H 1
11658| #define HAVE_NETDB_H 1
11659| #define HAVE_SYS_WAIT_H 1
11660| #define HAVE_PWD_H 1
11661| #define HAVE_GLOB_H 1
11662| #define HAVE_GRP_H 1
11663| #define SIZEOF_TIME_T 0
11664| #define HAVE_UNISTD_H 1
11665| #define vfork fork
11666| #define RETSIGTYPE void
11667| #define NONBLOCKING_IS_BROKEN 1
11668| /* end confdefs.h.  */
11669| #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11670| #include <stdlib.h>
11671| #else
11672| char *malloc ();
11673| #endif
11674|
11675| int
11676| main ()
11677| {
11678|  if(malloc(0) != 0) return 1;
11679|   ;
11680|   return 0;
11681| }
11682|
11683configure:15236: result: yes
11684configure:15434: checking whether pthreads work with -pthread
11685configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -pthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
11686ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cc9jB4kc.o because Invalid ALLOCA record for architecture x86_64
11687collect2: ld returned 1 exit status
11688configure:15522: $? = 1
11689configure: failed program was:
11690| /* confdefs.h */
11691| #define PACKAGE_NAME "unbound"
11692| #define PACKAGE_TARNAME "unbound"
11693| #define PACKAGE_VERSION "1.5.4"
11694| #define PACKAGE_STRING "unbound 1.5.4"
11695| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11696| #define PACKAGE_URL ""
11697| #define STDC_HEADERS 1
11698| #define HAVE_SYS_TYPES_H 1
11699| #define HAVE_SYS_STAT_H 1
11700| #define HAVE_STDLIB_H 1
11701| #define HAVE_STRING_H 1
11702| #define HAVE_MEMORY_H 1
11703| #define HAVE_STRINGS_H 1
11704| #define HAVE_INTTYPES_H 1
11705| #define HAVE_STDINT_H 1
11706| #define HAVE_UNISTD_H 1
11707| #define __EXTENSIONS__ 1
11708| #define _ALL_SOURCE 1
11709| #define _GNU_SOURCE 1
11710| #define _POSIX_PTHREAD_SEMANTICS 1
11711| #define _TANDEM_SOURCE 1
11712| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11713| #define RUN_DIR "/opt/local/etc/unbound"
11714| #define CHROOT_DIR "/opt/local/etc/unbound"
11715| #define SHARE_DIR "/opt/local/etc/unbound"
11716| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11717| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11718| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11719| #define UB_USERNAME "unbound"
11720| #define WINVER 0x0502
11721| #define RSRC_PACKAGE_VERSION 1,5,4,0
11722| #define HAVE_GETOPT_H 1
11723| #define HAVE_TIME_H 1
11724| #define HAVE_ATTR_FORMAT 1
11725| #define HAVE_ATTR_UNUSED 1
11726| #define LEX_HAS_YYLEX_DESTROY 1
11727| #define HAVE_DLFCN_H 1
11728| #define LT_OBJDIR ".libs/"
11729| #define HAVE_STDARG_H 1
11730| #define HAVE_STDBOOL_H 1
11731| #define HAVE_NETINET_IN_H 1
11732| #define HAVE_SYS_PARAM_H 1
11733| #define HAVE_SYS_SOCKET_H 1
11734| #define HAVE_SYS_UN_H 1
11735| #define HAVE_SYS_UIO_H 1
11736| #define HAVE_SYS_RESOURCE_H 1
11737| #define HAVE_ARPA_INET_H 1
11738| #define HAVE_SYSLOG_H 1
11739| #define HAVE_NETDB_H 1
11740| #define HAVE_SYS_WAIT_H 1
11741| #define HAVE_PWD_H 1
11742| #define HAVE_GLOB_H 1
11743| #define HAVE_GRP_H 1
11744| #define SIZEOF_TIME_T 0
11745| #define HAVE_UNISTD_H 1
11746| #define vfork fork
11747| #define RETSIGTYPE void
11748| #define NONBLOCKING_IS_BROKEN 1
11749| #define HAVE_MALLOC 1
11750| /* end confdefs.h.  */
11751| #include <pthread.h>
11752|                         static void routine(void *a) { *((int*)a) = 0; }
11753|                         static void *start_routine(void *a) { return a; }
11754| int
11755| main ()
11756| {
11757| pthread_t th; pthread_attr_t attr;
11758|                         pthread_create(&th, 0, start_routine, 0);
11759|                         pthread_join(th, 0);
11760|                         pthread_attr_init(&attr);
11761|                         pthread_cleanup_push(routine, 0);
11762|                         pthread_cleanup_pop(0) /* ; */
11763|   ;
11764|   return 0;
11765| }
11766configure:15531: result: no
11767configure:15484: checking for the pthreads library -lpthreads
11768configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto  -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lpthreads  >&5
11769ld: library not found for -lpthreads
11770collect2: ld returned 1 exit status
11771configure:15522: $? = 1
11772configure: failed program was:
11773| /* confdefs.h */
11774| #define PACKAGE_NAME "unbound"
11775| #define PACKAGE_TARNAME "unbound"
11776| #define PACKAGE_VERSION "1.5.4"
11777| #define PACKAGE_STRING "unbound 1.5.4"
11778| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11779| #define PACKAGE_URL ""
11780| #define STDC_HEADERS 1
11781| #define HAVE_SYS_TYPES_H 1
11782| #define HAVE_SYS_STAT_H 1
11783| #define HAVE_STDLIB_H 1
11784| #define HAVE_STRING_H 1
11785| #define HAVE_MEMORY_H 1
11786| #define HAVE_STRINGS_H 1
11787| #define HAVE_INTTYPES_H 1
11788| #define HAVE_STDINT_H 1
11789| #define HAVE_UNISTD_H 1
11790| #define __EXTENSIONS__ 1
11791| #define _ALL_SOURCE 1
11792| #define _GNU_SOURCE 1
11793| #define _POSIX_PTHREAD_SEMANTICS 1
11794| #define _TANDEM_SOURCE 1
11795| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11796| #define RUN_DIR "/opt/local/etc/unbound"
11797| #define CHROOT_DIR "/opt/local/etc/unbound"
11798| #define SHARE_DIR "/opt/local/etc/unbound"
11799| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11800| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11801| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11802| #define UB_USERNAME "unbound"
11803| #define WINVER 0x0502
11804| #define RSRC_PACKAGE_VERSION 1,5,4,0
11805| #define HAVE_GETOPT_H 1
11806| #define HAVE_TIME_H 1
11807| #define HAVE_ATTR_FORMAT 1
11808| #define HAVE_ATTR_UNUSED 1
11809| #define LEX_HAS_YYLEX_DESTROY 1
11810| #define HAVE_DLFCN_H 1
11811| #define LT_OBJDIR ".libs/"
11812| #define HAVE_STDARG_H 1
11813| #define HAVE_STDBOOL_H 1
11814| #define HAVE_NETINET_IN_H 1
11815| #define HAVE_SYS_PARAM_H 1
11816| #define HAVE_SYS_SOCKET_H 1
11817| #define HAVE_SYS_UN_H 1
11818| #define HAVE_SYS_UIO_H 1
11819| #define HAVE_SYS_RESOURCE_H 1
11820| #define HAVE_ARPA_INET_H 1
11821| #define HAVE_SYSLOG_H 1
11822| #define HAVE_NETDB_H 1
11823| #define HAVE_SYS_WAIT_H 1
11824| #define HAVE_PWD_H 1
11825| #define HAVE_GLOB_H 1
11826| #define HAVE_GRP_H 1
11827| #define SIZEOF_TIME_T 0
11828| #define HAVE_UNISTD_H 1
11829| #define vfork fork
11830| #define RETSIGTYPE void
11831| #define NONBLOCKING_IS_BROKEN 1
11832| #define HAVE_MALLOC 1
11833| /* end confdefs.h.  */
11834| #include <pthread.h>
11835|                         static void routine(void *a) { *((int*)a) = 0; }
11836|                         static void *start_routine(void *a) { return a; }
11837| int
11838| main ()
11839| {
11840| pthread_t th; pthread_attr_t attr;
11841|                         pthread_create(&th, 0, start_routine, 0);
11842|                         pthread_join(th, 0);
11843|                         pthread_attr_init(&attr);
11844|                         pthread_cleanup_push(routine, 0);
11845|                         pthread_cleanup_pop(0) /* ; */
11846|   ;
11847|   return 0;
11848| }
11849configure:15531: result: no
11850configure:15429: checking whether pthreads work without any flags
11851configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto  -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
11852ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccnMCYuS.o because Invalid ALLOCA record for architecture x86_64
11853collect2: ld returned 1 exit status
11854configure:15522: $? = 1
11855configure: failed program was:
11856| /* confdefs.h */
11857| #define PACKAGE_NAME "unbound"
11858| #define PACKAGE_TARNAME "unbound"
11859| #define PACKAGE_VERSION "1.5.4"
11860| #define PACKAGE_STRING "unbound 1.5.4"
11861| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11862| #define PACKAGE_URL ""
11863| #define STDC_HEADERS 1
11864| #define HAVE_SYS_TYPES_H 1
11865| #define HAVE_SYS_STAT_H 1
11866| #define HAVE_STDLIB_H 1
11867| #define HAVE_STRING_H 1
11868| #define HAVE_MEMORY_H 1
11869| #define HAVE_STRINGS_H 1
11870| #define HAVE_INTTYPES_H 1
11871| #define HAVE_STDINT_H 1
11872| #define HAVE_UNISTD_H 1
11873| #define __EXTENSIONS__ 1
11874| #define _ALL_SOURCE 1
11875| #define _GNU_SOURCE 1
11876| #define _POSIX_PTHREAD_SEMANTICS 1
11877| #define _TANDEM_SOURCE 1
11878| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11879| #define RUN_DIR "/opt/local/etc/unbound"
11880| #define CHROOT_DIR "/opt/local/etc/unbound"
11881| #define SHARE_DIR "/opt/local/etc/unbound"
11882| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11883| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11884| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11885| #define UB_USERNAME "unbound"
11886| #define WINVER 0x0502
11887| #define RSRC_PACKAGE_VERSION 1,5,4,0
11888| #define HAVE_GETOPT_H 1
11889| #define HAVE_TIME_H 1
11890| #define HAVE_ATTR_FORMAT 1
11891| #define HAVE_ATTR_UNUSED 1
11892| #define LEX_HAS_YYLEX_DESTROY 1
11893| #define HAVE_DLFCN_H 1
11894| #define LT_OBJDIR ".libs/"
11895| #define HAVE_STDARG_H 1
11896| #define HAVE_STDBOOL_H 1
11897| #define HAVE_NETINET_IN_H 1
11898| #define HAVE_SYS_PARAM_H 1
11899| #define HAVE_SYS_SOCKET_H 1
11900| #define HAVE_SYS_UN_H 1
11901| #define HAVE_SYS_UIO_H 1
11902| #define HAVE_SYS_RESOURCE_H 1
11903| #define HAVE_ARPA_INET_H 1
11904| #define HAVE_SYSLOG_H 1
11905| #define HAVE_NETDB_H 1
11906| #define HAVE_SYS_WAIT_H 1
11907| #define HAVE_PWD_H 1
11908| #define HAVE_GLOB_H 1
11909| #define HAVE_GRP_H 1
11910| #define SIZEOF_TIME_T 0
11911| #define HAVE_UNISTD_H 1
11912| #define vfork fork
11913| #define RETSIGTYPE void
11914| #define NONBLOCKING_IS_BROKEN 1
11915| #define HAVE_MALLOC 1
11916| /* end confdefs.h.  */
11917| #include <pthread.h>
11918|                         static void routine(void *a) { *((int*)a) = 0; }
11919|                         static void *start_routine(void *a) { return a; }
11920| int
11921| main ()
11922| {
11923| pthread_t th; pthread_attr_t attr;
11924|                         pthread_create(&th, 0, start_routine, 0);
11925|                         pthread_join(th, 0);
11926|                         pthread_attr_init(&attr);
11927|                         pthread_cleanup_push(routine, 0);
11928|                         pthread_cleanup_pop(0) /* ; */
11929|   ;
11930|   return 0;
11931| }
11932configure:15531: result: no
11933configure:15434: checking whether pthreads work with -Kthread
11934configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -Kthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
11935ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccrw1I7F.o because Invalid ALLOCA record for architecture x86_64
11936collect2: ld returned 1 exit status
11937configure:15522: $? = 1
11938configure: failed program was:
11939| /* confdefs.h */
11940| #define PACKAGE_NAME "unbound"
11941| #define PACKAGE_TARNAME "unbound"
11942| #define PACKAGE_VERSION "1.5.4"
11943| #define PACKAGE_STRING "unbound 1.5.4"
11944| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
11945| #define PACKAGE_URL ""
11946| #define STDC_HEADERS 1
11947| #define HAVE_SYS_TYPES_H 1
11948| #define HAVE_SYS_STAT_H 1
11949| #define HAVE_STDLIB_H 1
11950| #define HAVE_STRING_H 1
11951| #define HAVE_MEMORY_H 1
11952| #define HAVE_STRINGS_H 1
11953| #define HAVE_INTTYPES_H 1
11954| #define HAVE_STDINT_H 1
11955| #define HAVE_UNISTD_H 1
11956| #define __EXTENSIONS__ 1
11957| #define _ALL_SOURCE 1
11958| #define _GNU_SOURCE 1
11959| #define _POSIX_PTHREAD_SEMANTICS 1
11960| #define _TANDEM_SOURCE 1
11961| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
11962| #define RUN_DIR "/opt/local/etc/unbound"
11963| #define CHROOT_DIR "/opt/local/etc/unbound"
11964| #define SHARE_DIR "/opt/local/etc/unbound"
11965| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
11966| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
11967| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
11968| #define UB_USERNAME "unbound"
11969| #define WINVER 0x0502
11970| #define RSRC_PACKAGE_VERSION 1,5,4,0
11971| #define HAVE_GETOPT_H 1
11972| #define HAVE_TIME_H 1
11973| #define HAVE_ATTR_FORMAT 1
11974| #define HAVE_ATTR_UNUSED 1
11975| #define LEX_HAS_YYLEX_DESTROY 1
11976| #define HAVE_DLFCN_H 1
11977| #define LT_OBJDIR ".libs/"
11978| #define HAVE_STDARG_H 1
11979| #define HAVE_STDBOOL_H 1
11980| #define HAVE_NETINET_IN_H 1
11981| #define HAVE_SYS_PARAM_H 1
11982| #define HAVE_SYS_SOCKET_H 1
11983| #define HAVE_SYS_UN_H 1
11984| #define HAVE_SYS_UIO_H 1
11985| #define HAVE_SYS_RESOURCE_H 1
11986| #define HAVE_ARPA_INET_H 1
11987| #define HAVE_SYSLOG_H 1
11988| #define HAVE_NETDB_H 1
11989| #define HAVE_SYS_WAIT_H 1
11990| #define HAVE_PWD_H 1
11991| #define HAVE_GLOB_H 1
11992| #define HAVE_GRP_H 1
11993| #define SIZEOF_TIME_T 0
11994| #define HAVE_UNISTD_H 1
11995| #define vfork fork
11996| #define RETSIGTYPE void
11997| #define NONBLOCKING_IS_BROKEN 1
11998| #define HAVE_MALLOC 1
11999| /* end confdefs.h.  */
12000| #include <pthread.h>
12001|                         static void routine(void *a) { *((int*)a) = 0; }
12002|                         static void *start_routine(void *a) { return a; }
12003| int
12004| main ()
12005| {
12006| pthread_t th; pthread_attr_t attr;
12007|                         pthread_create(&th, 0, start_routine, 0);
12008|                         pthread_join(th, 0);
12009|                         pthread_attr_init(&attr);
12010|                         pthread_cleanup_push(routine, 0);
12011|                         pthread_cleanup_pop(0) /* ; */
12012|   ;
12013|   return 0;
12014| }
12015configure:15531: result: no
12016configure:15434: checking whether pthreads work with -kthread
12017configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -kthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12018ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccURk2yP.o because Invalid ALLOCA record for architecture x86_64
12019collect2: ld returned 1 exit status
12020configure:15522: $? = 1
12021configure: failed program was:
12022| /* confdefs.h */
12023| #define PACKAGE_NAME "unbound"
12024| #define PACKAGE_TARNAME "unbound"
12025| #define PACKAGE_VERSION "1.5.4"
12026| #define PACKAGE_STRING "unbound 1.5.4"
12027| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12028| #define PACKAGE_URL ""
12029| #define STDC_HEADERS 1
12030| #define HAVE_SYS_TYPES_H 1
12031| #define HAVE_SYS_STAT_H 1
12032| #define HAVE_STDLIB_H 1
12033| #define HAVE_STRING_H 1
12034| #define HAVE_MEMORY_H 1
12035| #define HAVE_STRINGS_H 1
12036| #define HAVE_INTTYPES_H 1
12037| #define HAVE_STDINT_H 1
12038| #define HAVE_UNISTD_H 1
12039| #define __EXTENSIONS__ 1
12040| #define _ALL_SOURCE 1
12041| #define _GNU_SOURCE 1
12042| #define _POSIX_PTHREAD_SEMANTICS 1
12043| #define _TANDEM_SOURCE 1
12044| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12045| #define RUN_DIR "/opt/local/etc/unbound"
12046| #define CHROOT_DIR "/opt/local/etc/unbound"
12047| #define SHARE_DIR "/opt/local/etc/unbound"
12048| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12049| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12050| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12051| #define UB_USERNAME "unbound"
12052| #define WINVER 0x0502
12053| #define RSRC_PACKAGE_VERSION 1,5,4,0
12054| #define HAVE_GETOPT_H 1
12055| #define HAVE_TIME_H 1
12056| #define HAVE_ATTR_FORMAT 1
12057| #define HAVE_ATTR_UNUSED 1
12058| #define LEX_HAS_YYLEX_DESTROY 1
12059| #define HAVE_DLFCN_H 1
12060| #define LT_OBJDIR ".libs/"
12061| #define HAVE_STDARG_H 1
12062| #define HAVE_STDBOOL_H 1
12063| #define HAVE_NETINET_IN_H 1
12064| #define HAVE_SYS_PARAM_H 1
12065| #define HAVE_SYS_SOCKET_H 1
12066| #define HAVE_SYS_UN_H 1
12067| #define HAVE_SYS_UIO_H 1
12068| #define HAVE_SYS_RESOURCE_H 1
12069| #define HAVE_ARPA_INET_H 1
12070| #define HAVE_SYSLOG_H 1
12071| #define HAVE_NETDB_H 1
12072| #define HAVE_SYS_WAIT_H 1
12073| #define HAVE_PWD_H 1
12074| #define HAVE_GLOB_H 1
12075| #define HAVE_GRP_H 1
12076| #define SIZEOF_TIME_T 0
12077| #define HAVE_UNISTD_H 1
12078| #define vfork fork
12079| #define RETSIGTYPE void
12080| #define NONBLOCKING_IS_BROKEN 1
12081| #define HAVE_MALLOC 1
12082| /* end confdefs.h.  */
12083| #include <pthread.h>
12084|                         static void routine(void *a) { *((int*)a) = 0; }
12085|                         static void *start_routine(void *a) { return a; }
12086| int
12087| main ()
12088| {
12089| pthread_t th; pthread_attr_t attr;
12090|                         pthread_create(&th, 0, start_routine, 0);
12091|                         pthread_join(th, 0);
12092|                         pthread_attr_init(&attr);
12093|                         pthread_cleanup_push(routine, 0);
12094|                         pthread_cleanup_pop(0) /* ; */
12095|   ;
12096|   return 0;
12097| }
12098configure:15531: result: no
12099configure:15484: checking for the pthreads library -llthread
12100configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto  -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llthread  >&5
12101ld: library not found for -llthread
12102collect2: ld returned 1 exit status
12103configure:15522: $? = 1
12104configure: failed program was:
12105| /* confdefs.h */
12106| #define PACKAGE_NAME "unbound"
12107| #define PACKAGE_TARNAME "unbound"
12108| #define PACKAGE_VERSION "1.5.4"
12109| #define PACKAGE_STRING "unbound 1.5.4"
12110| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12111| #define PACKAGE_URL ""
12112| #define STDC_HEADERS 1
12113| #define HAVE_SYS_TYPES_H 1
12114| #define HAVE_SYS_STAT_H 1
12115| #define HAVE_STDLIB_H 1
12116| #define HAVE_STRING_H 1
12117| #define HAVE_MEMORY_H 1
12118| #define HAVE_STRINGS_H 1
12119| #define HAVE_INTTYPES_H 1
12120| #define HAVE_STDINT_H 1
12121| #define HAVE_UNISTD_H 1
12122| #define __EXTENSIONS__ 1
12123| #define _ALL_SOURCE 1
12124| #define _GNU_SOURCE 1
12125| #define _POSIX_PTHREAD_SEMANTICS 1
12126| #define _TANDEM_SOURCE 1
12127| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12128| #define RUN_DIR "/opt/local/etc/unbound"
12129| #define CHROOT_DIR "/opt/local/etc/unbound"
12130| #define SHARE_DIR "/opt/local/etc/unbound"
12131| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12132| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12133| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12134| #define UB_USERNAME "unbound"
12135| #define WINVER 0x0502
12136| #define RSRC_PACKAGE_VERSION 1,5,4,0
12137| #define HAVE_GETOPT_H 1
12138| #define HAVE_TIME_H 1
12139| #define HAVE_ATTR_FORMAT 1
12140| #define HAVE_ATTR_UNUSED 1
12141| #define LEX_HAS_YYLEX_DESTROY 1
12142| #define HAVE_DLFCN_H 1
12143| #define LT_OBJDIR ".libs/"
12144| #define HAVE_STDARG_H 1
12145| #define HAVE_STDBOOL_H 1
12146| #define HAVE_NETINET_IN_H 1
12147| #define HAVE_SYS_PARAM_H 1
12148| #define HAVE_SYS_SOCKET_H 1
12149| #define HAVE_SYS_UN_H 1
12150| #define HAVE_SYS_UIO_H 1
12151| #define HAVE_SYS_RESOURCE_H 1
12152| #define HAVE_ARPA_INET_H 1
12153| #define HAVE_SYSLOG_H 1
12154| #define HAVE_NETDB_H 1
12155| #define HAVE_SYS_WAIT_H 1
12156| #define HAVE_PWD_H 1
12157| #define HAVE_GLOB_H 1
12158| #define HAVE_GRP_H 1
12159| #define SIZEOF_TIME_T 0
12160| #define HAVE_UNISTD_H 1
12161| #define vfork fork
12162| #define RETSIGTYPE void
12163| #define NONBLOCKING_IS_BROKEN 1
12164| #define HAVE_MALLOC 1
12165| /* end confdefs.h.  */
12166| #include <pthread.h>
12167|                         static void routine(void *a) { *((int*)a) = 0; }
12168|                         static void *start_routine(void *a) { return a; }
12169| int
12170| main ()
12171| {
12172| pthread_t th; pthread_attr_t attr;
12173|                         pthread_create(&th, 0, start_routine, 0);
12174|                         pthread_join(th, 0);
12175|                         pthread_attr_init(&attr);
12176|                         pthread_cleanup_push(routine, 0);
12177|                         pthread_cleanup_pop(0) /* ; */
12178|   ;
12179|   return 0;
12180| }
12181configure:15531: result: no
12182configure:15434: checking whether pthreads work with -pthread
12183configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -pthread -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12184ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccDglvfT.o because Invalid ALLOCA record for architecture x86_64
12185collect2: ld returned 1 exit status
12186configure:15522: $? = 1
12187configure: failed program was:
12188| /* confdefs.h */
12189| #define PACKAGE_NAME "unbound"
12190| #define PACKAGE_TARNAME "unbound"
12191| #define PACKAGE_VERSION "1.5.4"
12192| #define PACKAGE_STRING "unbound 1.5.4"
12193| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12194| #define PACKAGE_URL ""
12195| #define STDC_HEADERS 1
12196| #define HAVE_SYS_TYPES_H 1
12197| #define HAVE_SYS_STAT_H 1
12198| #define HAVE_STDLIB_H 1
12199| #define HAVE_STRING_H 1
12200| #define HAVE_MEMORY_H 1
12201| #define HAVE_STRINGS_H 1
12202| #define HAVE_INTTYPES_H 1
12203| #define HAVE_STDINT_H 1
12204| #define HAVE_UNISTD_H 1
12205| #define __EXTENSIONS__ 1
12206| #define _ALL_SOURCE 1
12207| #define _GNU_SOURCE 1
12208| #define _POSIX_PTHREAD_SEMANTICS 1
12209| #define _TANDEM_SOURCE 1
12210| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12211| #define RUN_DIR "/opt/local/etc/unbound"
12212| #define CHROOT_DIR "/opt/local/etc/unbound"
12213| #define SHARE_DIR "/opt/local/etc/unbound"
12214| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12215| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12216| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12217| #define UB_USERNAME "unbound"
12218| #define WINVER 0x0502
12219| #define RSRC_PACKAGE_VERSION 1,5,4,0
12220| #define HAVE_GETOPT_H 1
12221| #define HAVE_TIME_H 1
12222| #define HAVE_ATTR_FORMAT 1
12223| #define HAVE_ATTR_UNUSED 1
12224| #define LEX_HAS_YYLEX_DESTROY 1
12225| #define HAVE_DLFCN_H 1
12226| #define LT_OBJDIR ".libs/"
12227| #define HAVE_STDARG_H 1
12228| #define HAVE_STDBOOL_H 1
12229| #define HAVE_NETINET_IN_H 1
12230| #define HAVE_SYS_PARAM_H 1
12231| #define HAVE_SYS_SOCKET_H 1
12232| #define HAVE_SYS_UN_H 1
12233| #define HAVE_SYS_UIO_H 1
12234| #define HAVE_SYS_RESOURCE_H 1
12235| #define HAVE_ARPA_INET_H 1
12236| #define HAVE_SYSLOG_H 1
12237| #define HAVE_NETDB_H 1
12238| #define HAVE_SYS_WAIT_H 1
12239| #define HAVE_PWD_H 1
12240| #define HAVE_GLOB_H 1
12241| #define HAVE_GRP_H 1
12242| #define SIZEOF_TIME_T 0
12243| #define HAVE_UNISTD_H 1
12244| #define vfork fork
12245| #define RETSIGTYPE void
12246| #define NONBLOCKING_IS_BROKEN 1
12247| #define HAVE_MALLOC 1
12248| /* end confdefs.h.  */
12249| #include <pthread.h>
12250|                         static void routine(void *a) { *((int*)a) = 0; }
12251|                         static void *start_routine(void *a) { return a; }
12252| int
12253| main ()
12254| {
12255| pthread_t th; pthread_attr_t attr;
12256|                         pthread_create(&th, 0, start_routine, 0);
12257|                         pthread_join(th, 0);
12258|                         pthread_attr_init(&attr);
12259|                         pthread_cleanup_push(routine, 0);
12260|                         pthread_cleanup_pop(0) /* ; */
12261|   ;
12262|   return 0;
12263| }
12264configure:15531: result: no
12265configure:15434: checking whether pthreads work with -pthreads
12266configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -pthreads -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12267ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/cckbTemE.o because Invalid ALLOCA record for architecture x86_64
12268collect2: ld returned 1 exit status
12269configure:15522: $? = 1
12270configure: failed program was:
12271| /* confdefs.h */
12272| #define PACKAGE_NAME "unbound"
12273| #define PACKAGE_TARNAME "unbound"
12274| #define PACKAGE_VERSION "1.5.4"
12275| #define PACKAGE_STRING "unbound 1.5.4"
12276| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12277| #define PACKAGE_URL ""
12278| #define STDC_HEADERS 1
12279| #define HAVE_SYS_TYPES_H 1
12280| #define HAVE_SYS_STAT_H 1
12281| #define HAVE_STDLIB_H 1
12282| #define HAVE_STRING_H 1
12283| #define HAVE_MEMORY_H 1
12284| #define HAVE_STRINGS_H 1
12285| #define HAVE_INTTYPES_H 1
12286| #define HAVE_STDINT_H 1
12287| #define HAVE_UNISTD_H 1
12288| #define __EXTENSIONS__ 1
12289| #define _ALL_SOURCE 1
12290| #define _GNU_SOURCE 1
12291| #define _POSIX_PTHREAD_SEMANTICS 1
12292| #define _TANDEM_SOURCE 1
12293| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12294| #define RUN_DIR "/opt/local/etc/unbound"
12295| #define CHROOT_DIR "/opt/local/etc/unbound"
12296| #define SHARE_DIR "/opt/local/etc/unbound"
12297| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12298| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12299| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12300| #define UB_USERNAME "unbound"
12301| #define WINVER 0x0502
12302| #define RSRC_PACKAGE_VERSION 1,5,4,0
12303| #define HAVE_GETOPT_H 1
12304| #define HAVE_TIME_H 1
12305| #define HAVE_ATTR_FORMAT 1
12306| #define HAVE_ATTR_UNUSED 1
12307| #define LEX_HAS_YYLEX_DESTROY 1
12308| #define HAVE_DLFCN_H 1
12309| #define LT_OBJDIR ".libs/"
12310| #define HAVE_STDARG_H 1
12311| #define HAVE_STDBOOL_H 1
12312| #define HAVE_NETINET_IN_H 1
12313| #define HAVE_SYS_PARAM_H 1
12314| #define HAVE_SYS_SOCKET_H 1
12315| #define HAVE_SYS_UN_H 1
12316| #define HAVE_SYS_UIO_H 1
12317| #define HAVE_SYS_RESOURCE_H 1
12318| #define HAVE_ARPA_INET_H 1
12319| #define HAVE_SYSLOG_H 1
12320| #define HAVE_NETDB_H 1
12321| #define HAVE_SYS_WAIT_H 1
12322| #define HAVE_PWD_H 1
12323| #define HAVE_GLOB_H 1
12324| #define HAVE_GRP_H 1
12325| #define SIZEOF_TIME_T 0
12326| #define HAVE_UNISTD_H 1
12327| #define vfork fork
12328| #define RETSIGTYPE void
12329| #define NONBLOCKING_IS_BROKEN 1
12330| #define HAVE_MALLOC 1
12331| /* end confdefs.h.  */
12332| #include <pthread.h>
12333|                         static void routine(void *a) { *((int*)a) = 0; }
12334|                         static void *start_routine(void *a) { return a; }
12335| int
12336| main ()
12337| {
12338| pthread_t th; pthread_attr_t attr;
12339|                         pthread_create(&th, 0, start_routine, 0);
12340|                         pthread_join(th, 0);
12341|                         pthread_attr_init(&attr);
12342|                         pthread_cleanup_push(routine, 0);
12343|                         pthread_cleanup_pop(0) /* ; */
12344|   ;
12345|   return 0;
12346| }
12347configure:15531: result: no
12348configure:15434: checking whether pthreads work with -mthreads
12349configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -mthreads -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12350cc1: error: unrecognized command line option "-mthreads"
12351configure:15522: $? = 1
12352configure: failed program was:
12353| /* confdefs.h */
12354| #define PACKAGE_NAME "unbound"
12355| #define PACKAGE_TARNAME "unbound"
12356| #define PACKAGE_VERSION "1.5.4"
12357| #define PACKAGE_STRING "unbound 1.5.4"
12358| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12359| #define PACKAGE_URL ""
12360| #define STDC_HEADERS 1
12361| #define HAVE_SYS_TYPES_H 1
12362| #define HAVE_SYS_STAT_H 1
12363| #define HAVE_STDLIB_H 1
12364| #define HAVE_STRING_H 1
12365| #define HAVE_MEMORY_H 1
12366| #define HAVE_STRINGS_H 1
12367| #define HAVE_INTTYPES_H 1
12368| #define HAVE_STDINT_H 1
12369| #define HAVE_UNISTD_H 1
12370| #define __EXTENSIONS__ 1
12371| #define _ALL_SOURCE 1
12372| #define _GNU_SOURCE 1
12373| #define _POSIX_PTHREAD_SEMANTICS 1
12374| #define _TANDEM_SOURCE 1
12375| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12376| #define RUN_DIR "/opt/local/etc/unbound"
12377| #define CHROOT_DIR "/opt/local/etc/unbound"
12378| #define SHARE_DIR "/opt/local/etc/unbound"
12379| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12380| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12381| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12382| #define UB_USERNAME "unbound"
12383| #define WINVER 0x0502
12384| #define RSRC_PACKAGE_VERSION 1,5,4,0
12385| #define HAVE_GETOPT_H 1
12386| #define HAVE_TIME_H 1
12387| #define HAVE_ATTR_FORMAT 1
12388| #define HAVE_ATTR_UNUSED 1
12389| #define LEX_HAS_YYLEX_DESTROY 1
12390| #define HAVE_DLFCN_H 1
12391| #define LT_OBJDIR ".libs/"
12392| #define HAVE_STDARG_H 1
12393| #define HAVE_STDBOOL_H 1
12394| #define HAVE_NETINET_IN_H 1
12395| #define HAVE_SYS_PARAM_H 1
12396| #define HAVE_SYS_SOCKET_H 1
12397| #define HAVE_SYS_UN_H 1
12398| #define HAVE_SYS_UIO_H 1
12399| #define HAVE_SYS_RESOURCE_H 1
12400| #define HAVE_ARPA_INET_H 1
12401| #define HAVE_SYSLOG_H 1
12402| #define HAVE_NETDB_H 1
12403| #define HAVE_SYS_WAIT_H 1
12404| #define HAVE_PWD_H 1
12405| #define HAVE_GLOB_H 1
12406| #define HAVE_GRP_H 1
12407| #define SIZEOF_TIME_T 0
12408| #define HAVE_UNISTD_H 1
12409| #define vfork fork
12410| #define RETSIGTYPE void
12411| #define NONBLOCKING_IS_BROKEN 1
12412| #define HAVE_MALLOC 1
12413| /* end confdefs.h.  */
12414| #include <pthread.h>
12415|                         static void routine(void *a) { *((int*)a) = 0; }
12416|                         static void *start_routine(void *a) { return a; }
12417| int
12418| main ()
12419| {
12420| pthread_t th; pthread_attr_t attr;
12421|                         pthread_create(&th, 0, start_routine, 0);
12422|                         pthread_join(th, 0);
12423|                         pthread_attr_init(&attr);
12424|                         pthread_cleanup_push(routine, 0);
12425|                         pthread_cleanup_pop(0) /* ; */
12426|   ;
12427|   return 0;
12428| }
12429configure:15531: result: no
12430configure:15484: checking for the pthreads library -lpthread
12431configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto  -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lpthread  >&5
12432ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccbzlpee.o because Invalid ALLOCA record for architecture x86_64
12433collect2: ld returned 1 exit status
12434configure:15522: $? = 1
12435configure: failed program was:
12436| /* confdefs.h */
12437| #define PACKAGE_NAME "unbound"
12438| #define PACKAGE_TARNAME "unbound"
12439| #define PACKAGE_VERSION "1.5.4"
12440| #define PACKAGE_STRING "unbound 1.5.4"
12441| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12442| #define PACKAGE_URL ""
12443| #define STDC_HEADERS 1
12444| #define HAVE_SYS_TYPES_H 1
12445| #define HAVE_SYS_STAT_H 1
12446| #define HAVE_STDLIB_H 1
12447| #define HAVE_STRING_H 1
12448| #define HAVE_MEMORY_H 1
12449| #define HAVE_STRINGS_H 1
12450| #define HAVE_INTTYPES_H 1
12451| #define HAVE_STDINT_H 1
12452| #define HAVE_UNISTD_H 1
12453| #define __EXTENSIONS__ 1
12454| #define _ALL_SOURCE 1
12455| #define _GNU_SOURCE 1
12456| #define _POSIX_PTHREAD_SEMANTICS 1
12457| #define _TANDEM_SOURCE 1
12458| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12459| #define RUN_DIR "/opt/local/etc/unbound"
12460| #define CHROOT_DIR "/opt/local/etc/unbound"
12461| #define SHARE_DIR "/opt/local/etc/unbound"
12462| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12463| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12464| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12465| #define UB_USERNAME "unbound"
12466| #define WINVER 0x0502
12467| #define RSRC_PACKAGE_VERSION 1,5,4,0
12468| #define HAVE_GETOPT_H 1
12469| #define HAVE_TIME_H 1
12470| #define HAVE_ATTR_FORMAT 1
12471| #define HAVE_ATTR_UNUSED 1
12472| #define LEX_HAS_YYLEX_DESTROY 1
12473| #define HAVE_DLFCN_H 1
12474| #define LT_OBJDIR ".libs/"
12475| #define HAVE_STDARG_H 1
12476| #define HAVE_STDBOOL_H 1
12477| #define HAVE_NETINET_IN_H 1
12478| #define HAVE_SYS_PARAM_H 1
12479| #define HAVE_SYS_SOCKET_H 1
12480| #define HAVE_SYS_UN_H 1
12481| #define HAVE_SYS_UIO_H 1
12482| #define HAVE_SYS_RESOURCE_H 1
12483| #define HAVE_ARPA_INET_H 1
12484| #define HAVE_SYSLOG_H 1
12485| #define HAVE_NETDB_H 1
12486| #define HAVE_SYS_WAIT_H 1
12487| #define HAVE_PWD_H 1
12488| #define HAVE_GLOB_H 1
12489| #define HAVE_GRP_H 1
12490| #define SIZEOF_TIME_T 0
12491| #define HAVE_UNISTD_H 1
12492| #define vfork fork
12493| #define RETSIGTYPE void
12494| #define NONBLOCKING_IS_BROKEN 1
12495| #define HAVE_MALLOC 1
12496| /* end confdefs.h.  */
12497| #include <pthread.h>
12498|                         static void routine(void *a) { *((int*)a) = 0; }
12499|                         static void *start_routine(void *a) { return a; }
12500| int
12501| main ()
12502| {
12503| pthread_t th; pthread_attr_t attr;
12504|                         pthread_create(&th, 0, start_routine, 0);
12505|                         pthread_join(th, 0);
12506|                         pthread_attr_init(&attr);
12507|                         pthread_cleanup_push(routine, 0);
12508|                         pthread_cleanup_pop(0) /* ; */
12509|   ;
12510|   return 0;
12511| }
12512configure:15531: result: no
12513configure:15434: checking whether pthreads work with --thread-safe
12514configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto --thread-safe -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12515cc1: error: unrecognized command line option "-fthread-safe"
12516configure:15522: $? = 1
12517configure: failed program was:
12518| /* confdefs.h */
12519| #define PACKAGE_NAME "unbound"
12520| #define PACKAGE_TARNAME "unbound"
12521| #define PACKAGE_VERSION "1.5.4"
12522| #define PACKAGE_STRING "unbound 1.5.4"
12523| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12524| #define PACKAGE_URL ""
12525| #define STDC_HEADERS 1
12526| #define HAVE_SYS_TYPES_H 1
12527| #define HAVE_SYS_STAT_H 1
12528| #define HAVE_STDLIB_H 1
12529| #define HAVE_STRING_H 1
12530| #define HAVE_MEMORY_H 1
12531| #define HAVE_STRINGS_H 1
12532| #define HAVE_INTTYPES_H 1
12533| #define HAVE_STDINT_H 1
12534| #define HAVE_UNISTD_H 1
12535| #define __EXTENSIONS__ 1
12536| #define _ALL_SOURCE 1
12537| #define _GNU_SOURCE 1
12538| #define _POSIX_PTHREAD_SEMANTICS 1
12539| #define _TANDEM_SOURCE 1
12540| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12541| #define RUN_DIR "/opt/local/etc/unbound"
12542| #define CHROOT_DIR "/opt/local/etc/unbound"
12543| #define SHARE_DIR "/opt/local/etc/unbound"
12544| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12545| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12546| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12547| #define UB_USERNAME "unbound"
12548| #define WINVER 0x0502
12549| #define RSRC_PACKAGE_VERSION 1,5,4,0
12550| #define HAVE_GETOPT_H 1
12551| #define HAVE_TIME_H 1
12552| #define HAVE_ATTR_FORMAT 1
12553| #define HAVE_ATTR_UNUSED 1
12554| #define LEX_HAS_YYLEX_DESTROY 1
12555| #define HAVE_DLFCN_H 1
12556| #define LT_OBJDIR ".libs/"
12557| #define HAVE_STDARG_H 1
12558| #define HAVE_STDBOOL_H 1
12559| #define HAVE_NETINET_IN_H 1
12560| #define HAVE_SYS_PARAM_H 1
12561| #define HAVE_SYS_SOCKET_H 1
12562| #define HAVE_SYS_UN_H 1
12563| #define HAVE_SYS_UIO_H 1
12564| #define HAVE_SYS_RESOURCE_H 1
12565| #define HAVE_ARPA_INET_H 1
12566| #define HAVE_SYSLOG_H 1
12567| #define HAVE_NETDB_H 1
12568| #define HAVE_SYS_WAIT_H 1
12569| #define HAVE_PWD_H 1
12570| #define HAVE_GLOB_H 1
12571| #define HAVE_GRP_H 1
12572| #define SIZEOF_TIME_T 0
12573| #define HAVE_UNISTD_H 1
12574| #define vfork fork
12575| #define RETSIGTYPE void
12576| #define NONBLOCKING_IS_BROKEN 1
12577| #define HAVE_MALLOC 1
12578| /* end confdefs.h.  */
12579| #include <pthread.h>
12580|                         static void routine(void *a) { *((int*)a) = 0; }
12581|                         static void *start_routine(void *a) { return a; }
12582| int
12583| main ()
12584| {
12585| pthread_t th; pthread_attr_t attr;
12586|                         pthread_create(&th, 0, start_routine, 0);
12587|                         pthread_join(th, 0);
12588|                         pthread_attr_init(&attr);
12589|                         pthread_cleanup_push(routine, 0);
12590|                         pthread_cleanup_pop(0) /* ; */
12591|   ;
12592|   return 0;
12593| }
12594configure:15531: result: no
12595configure:15434: checking whether pthreads work with -mt
12596configure:15522: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -mt -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c   >&5
12597cc1: error: unrecognized command line option "-mt"
12598configure:15522: $? = 1
12599configure: failed program was:
12600| /* confdefs.h */
12601| #define PACKAGE_NAME "unbound"
12602| #define PACKAGE_TARNAME "unbound"
12603| #define PACKAGE_VERSION "1.5.4"
12604| #define PACKAGE_STRING "unbound 1.5.4"
12605| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12606| #define PACKAGE_URL ""
12607| #define STDC_HEADERS 1
12608| #define HAVE_SYS_TYPES_H 1
12609| #define HAVE_SYS_STAT_H 1
12610| #define HAVE_STDLIB_H 1
12611| #define HAVE_STRING_H 1
12612| #define HAVE_MEMORY_H 1
12613| #define HAVE_STRINGS_H 1
12614| #define HAVE_INTTYPES_H 1
12615| #define HAVE_STDINT_H 1
12616| #define HAVE_UNISTD_H 1
12617| #define __EXTENSIONS__ 1
12618| #define _ALL_SOURCE 1
12619| #define _GNU_SOURCE 1
12620| #define _POSIX_PTHREAD_SEMANTICS 1
12621| #define _TANDEM_SOURCE 1
12622| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12623| #define RUN_DIR "/opt/local/etc/unbound"
12624| #define CHROOT_DIR "/opt/local/etc/unbound"
12625| #define SHARE_DIR "/opt/local/etc/unbound"
12626| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12627| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12628| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12629| #define UB_USERNAME "unbound"
12630| #define WINVER 0x0502
12631| #define RSRC_PACKAGE_VERSION 1,5,4,0
12632| #define HAVE_GETOPT_H 1
12633| #define HAVE_TIME_H 1
12634| #define HAVE_ATTR_FORMAT 1
12635| #define HAVE_ATTR_UNUSED 1
12636| #define LEX_HAS_YYLEX_DESTROY 1
12637| #define HAVE_DLFCN_H 1
12638| #define LT_OBJDIR ".libs/"
12639| #define HAVE_STDARG_H 1
12640| #define HAVE_STDBOOL_H 1
12641| #define HAVE_NETINET_IN_H 1
12642| #define HAVE_SYS_PARAM_H 1
12643| #define HAVE_SYS_SOCKET_H 1
12644| #define HAVE_SYS_UN_H 1
12645| #define HAVE_SYS_UIO_H 1
12646| #define HAVE_SYS_RESOURCE_H 1
12647| #define HAVE_ARPA_INET_H 1
12648| #define HAVE_SYSLOG_H 1
12649| #define HAVE_NETDB_H 1
12650| #define HAVE_SYS_WAIT_H 1
12651| #define HAVE_PWD_H 1
12652| #define HAVE_GLOB_H 1
12653| #define HAVE_GRP_H 1
12654| #define SIZEOF_TIME_T 0
12655| #define HAVE_UNISTD_H 1
12656| #define vfork fork
12657| #define RETSIGTYPE void
12658| #define NONBLOCKING_IS_BROKEN 1
12659| #define HAVE_MALLOC 1
12660| /* end confdefs.h.  */
12661| #include <pthread.h>
12662|                         static void routine(void *a) { *((int*)a) = 0; }
12663|                         static void *start_routine(void *a) { return a; }
12664| int
12665| main ()
12666| {
12667| pthread_t th; pthread_attr_t attr;
12668|                         pthread_create(&th, 0, start_routine, 0);
12669|                         pthread_join(th, 0);
12670|                         pthread_attr_init(&attr);
12671|                         pthread_cleanup_push(routine, 0);
12672|                         pthread_cleanup_pop(0) /* ; */
12673|   ;
12674|   return 0;
12675| }
12676configure:15531: result: no
12677configure:15442: checking for pthread-config
12678configure:15470: result: no
12679configure:16337: checking for SSL
12680configure:16361: result: found in /opt/local
12681configure:16376: checking for HMAC_CTX_init in -lcrypto
12682configure:16394: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -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
12683ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccYrP6Cm.o because Unknown instruction for architecture x86_64
12684collect2: ld returned 1 exit status
12685configure:16394: $? = 1
12686configure: failed program was:
12687| /* confdefs.h */
12688| #define PACKAGE_NAME "unbound"
12689| #define PACKAGE_TARNAME "unbound"
12690| #define PACKAGE_VERSION "1.5.4"
12691| #define PACKAGE_STRING "unbound 1.5.4"
12692| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12693| #define PACKAGE_URL ""
12694| #define STDC_HEADERS 1
12695| #define HAVE_SYS_TYPES_H 1
12696| #define HAVE_SYS_STAT_H 1
12697| #define HAVE_STDLIB_H 1
12698| #define HAVE_STRING_H 1
12699| #define HAVE_MEMORY_H 1
12700| #define HAVE_STRINGS_H 1
12701| #define HAVE_INTTYPES_H 1
12702| #define HAVE_STDINT_H 1
12703| #define HAVE_UNISTD_H 1
12704| #define __EXTENSIONS__ 1
12705| #define _ALL_SOURCE 1
12706| #define _GNU_SOURCE 1
12707| #define _POSIX_PTHREAD_SEMANTICS 1
12708| #define _TANDEM_SOURCE 1
12709| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12710| #define RUN_DIR "/opt/local/etc/unbound"
12711| #define CHROOT_DIR "/opt/local/etc/unbound"
12712| #define SHARE_DIR "/opt/local/etc/unbound"
12713| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12714| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12715| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12716| #define UB_USERNAME "unbound"
12717| #define WINVER 0x0502
12718| #define RSRC_PACKAGE_VERSION 1,5,4,0
12719| #define HAVE_GETOPT_H 1
12720| #define HAVE_TIME_H 1
12721| #define HAVE_ATTR_FORMAT 1
12722| #define HAVE_ATTR_UNUSED 1
12723| #define LEX_HAS_YYLEX_DESTROY 1
12724| #define HAVE_DLFCN_H 1
12725| #define LT_OBJDIR ".libs/"
12726| #define HAVE_STDARG_H 1
12727| #define HAVE_STDBOOL_H 1
12728| #define HAVE_NETINET_IN_H 1
12729| #define HAVE_SYS_PARAM_H 1
12730| #define HAVE_SYS_SOCKET_H 1
12731| #define HAVE_SYS_UN_H 1
12732| #define HAVE_SYS_UIO_H 1
12733| #define HAVE_SYS_RESOURCE_H 1
12734| #define HAVE_ARPA_INET_H 1
12735| #define HAVE_SYSLOG_H 1
12736| #define HAVE_NETDB_H 1
12737| #define HAVE_SYS_WAIT_H 1
12738| #define HAVE_PWD_H 1
12739| #define HAVE_GLOB_H 1
12740| #define HAVE_GRP_H 1
12741| #define SIZEOF_TIME_T 0
12742| #define HAVE_UNISTD_H 1
12743| #define vfork fork
12744| #define RETSIGTYPE void
12745| #define NONBLOCKING_IS_BROKEN 1
12746| #define HAVE_MALLOC 1
12747| #define HAVE_SSL /**/
12748| /* end confdefs.h.  */
12749|
12750| int
12751| main ()
12752| {
12753|
12754|                 int HMAC_CTX_init(void);
12755|                 (void)HMAC_CTX_init();
12756|
12757|   ;
12758|   return 0;
12759| }
12760configure:16404: result: no
12761configure:16411: checking if -lcrypto needs -lgdi32
12762configure:16427: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -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 -lgdi32 >&5
12763ld: library not found for -lgdi32
12764collect2: ld returned 1 exit status
12765configure:16427: $? = 1
12766configure: failed program was:
12767| /* confdefs.h */
12768| #define PACKAGE_NAME "unbound"
12769| #define PACKAGE_TARNAME "unbound"
12770| #define PACKAGE_VERSION "1.5.4"
12771| #define PACKAGE_STRING "unbound 1.5.4"
12772| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12773| #define PACKAGE_URL ""
12774| #define STDC_HEADERS 1
12775| #define HAVE_SYS_TYPES_H 1
12776| #define HAVE_SYS_STAT_H 1
12777| #define HAVE_STDLIB_H 1
12778| #define HAVE_STRING_H 1
12779| #define HAVE_MEMORY_H 1
12780| #define HAVE_STRINGS_H 1
12781| #define HAVE_INTTYPES_H 1
12782| #define HAVE_STDINT_H 1
12783| #define HAVE_UNISTD_H 1
12784| #define __EXTENSIONS__ 1
12785| #define _ALL_SOURCE 1
12786| #define _GNU_SOURCE 1
12787| #define _POSIX_PTHREAD_SEMANTICS 1
12788| #define _TANDEM_SOURCE 1
12789| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12790| #define RUN_DIR "/opt/local/etc/unbound"
12791| #define CHROOT_DIR "/opt/local/etc/unbound"
12792| #define SHARE_DIR "/opt/local/etc/unbound"
12793| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12794| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12795| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12796| #define UB_USERNAME "unbound"
12797| #define WINVER 0x0502
12798| #define RSRC_PACKAGE_VERSION 1,5,4,0
12799| #define HAVE_GETOPT_H 1
12800| #define HAVE_TIME_H 1
12801| #define HAVE_ATTR_FORMAT 1
12802| #define HAVE_ATTR_UNUSED 1
12803| #define LEX_HAS_YYLEX_DESTROY 1
12804| #define HAVE_DLFCN_H 1
12805| #define LT_OBJDIR ".libs/"
12806| #define HAVE_STDARG_H 1
12807| #define HAVE_STDBOOL_H 1
12808| #define HAVE_NETINET_IN_H 1
12809| #define HAVE_SYS_PARAM_H 1
12810| #define HAVE_SYS_SOCKET_H 1
12811| #define HAVE_SYS_UN_H 1
12812| #define HAVE_SYS_UIO_H 1
12813| #define HAVE_SYS_RESOURCE_H 1
12814| #define HAVE_ARPA_INET_H 1
12815| #define HAVE_SYSLOG_H 1
12816| #define HAVE_NETDB_H 1
12817| #define HAVE_SYS_WAIT_H 1
12818| #define HAVE_PWD_H 1
12819| #define HAVE_GLOB_H 1
12820| #define HAVE_GRP_H 1
12821| #define SIZEOF_TIME_T 0
12822| #define HAVE_UNISTD_H 1
12823| #define vfork fork
12824| #define RETSIGTYPE void
12825| #define NONBLOCKING_IS_BROKEN 1
12826| #define HAVE_MALLOC 1
12827| #define HAVE_SSL /**/
12828| /* end confdefs.h.  */
12829|
12830| int
12831| main ()
12832| {
12833|
12834|                     int HMAC_CTX_init(void);
12835|                     (void)HMAC_CTX_init();
12836|
12837|   ;
12838|   return 0;
12839| }
12840configure:16437: result: no
12841configure:16443: checking if -lcrypto needs -ldl
12842configure:16459: /usr/bin/llvm-gcc-4.2 -o conftest -pipe -Os -arch x86_64 -flto -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 -ldl >&5
12843ld: lto: could not merge in /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_unbound/unbound/work/.tmp/ccpgjMhl.o because Unknown instruction for architecture x86_64
12844collect2: ld returned 1 exit status
12845configure:16459: $? = 1
12846configure: failed program was:
12847| /* confdefs.h */
12848| #define PACKAGE_NAME "unbound"
12849| #define PACKAGE_TARNAME "unbound"
12850| #define PACKAGE_VERSION "1.5.4"
12851| #define PACKAGE_STRING "unbound 1.5.4"
12852| #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
12853| #define PACKAGE_URL ""
12854| #define STDC_HEADERS 1
12855| #define HAVE_SYS_TYPES_H 1
12856| #define HAVE_SYS_STAT_H 1
12857| #define HAVE_STDLIB_H 1
12858| #define HAVE_STRING_H 1
12859| #define HAVE_MEMORY_H 1
12860| #define HAVE_STRINGS_H 1
12861| #define HAVE_INTTYPES_H 1
12862| #define HAVE_STDINT_H 1
12863| #define HAVE_UNISTD_H 1
12864| #define __EXTENSIONS__ 1
12865| #define _ALL_SOURCE 1
12866| #define _GNU_SOURCE 1
12867| #define _POSIX_PTHREAD_SEMANTICS 1
12868| #define _TANDEM_SOURCE 1
12869| #define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
12870| #define RUN_DIR "/opt/local/etc/unbound"
12871| #define CHROOT_DIR "/opt/local/etc/unbound"
12872| #define SHARE_DIR "/opt/local/etc/unbound"
12873| #define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
12874| #define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
12875| #define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
12876| #define UB_USERNAME "unbound"
12877| #define WINVER 0x0502
12878| #define RSRC_PACKAGE_VERSION 1,5,4,0
12879| #define HAVE_GETOPT_H 1
12880| #define HAVE_TIME_H 1
12881| #define HAVE_ATTR_FORMAT 1
12882| #define HAVE_ATTR_UNUSED 1
12883| #define LEX_HAS_YYLEX_DESTROY 1
12884| #define HAVE_DLFCN_H 1
12885| #define LT_OBJDIR ".libs/"
12886| #define HAVE_STDARG_H 1
12887| #define HAVE_STDBOOL_H 1
12888| #define HAVE_NETINET_IN_H 1
12889| #define HAVE_SYS_PARAM_H 1
12890| #define HAVE_SYS_SOCKET_H 1
12891| #define HAVE_SYS_UN_H 1
12892| #define HAVE_SYS_UIO_H 1
12893| #define HAVE_SYS_RESOURCE_H 1
12894| #define HAVE_ARPA_INET_H 1
12895| #define HAVE_SYSLOG_H 1
12896| #define HAVE_NETDB_H 1
12897| #define HAVE_SYS_WAIT_H 1
12898| #define HAVE_PWD_H 1
12899| #define HAVE_GLOB_H 1
12900| #define HAVE_GRP_H 1
12901| #define SIZEOF_TIME_T 0
12902| #define HAVE_UNISTD_H 1
12903| #define vfork fork
12904| #define RETSIGTYPE void
12905| #define NONBLOCKING_IS_BROKEN 1
12906| #define HAVE_MALLOC 1
12907| #define HAVE_SSL /**/
12908| /* end confdefs.h.  */
12909|
12910| int
12911| main ()
12912| {
12913|
12914|                         int HMAC_CTX_init(void);
12915|                         (void)HMAC_CTX_init();
12916|
12917|   ;
12918|   return 0;
12919| }
12920configure:16469: result: no
12921configure:16471: error: OpenSSL found in /opt/local, but version 0.9.7 or higher is required
12922
12923## ---------------- ##
12924## Cache variables. ##
12925## ---------------- ##
12926
12927ac_cv_build=x86_64-apple-darwin10.8.0
12928ac_cv_c_compiler_gnu=yes
12929ac_cv_c_const=yes
12930ac_cv_c_format_attribute=yes
12931ac_cv_c_inline=inline
12932ac_cv_c_unused_attribute=yes
12933ac_cv_env_CC_set=set
12934ac_cv_env_CC_value=/usr/bin/llvm-gcc-4.2
12935ac_cv_env_CFLAGS_set=set
12936ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
12937ac_cv_env_CPPFLAGS_set=set
12938ac_cv_env_CPPFLAGS_value=-I/opt/local/include
12939ac_cv_env_CPP_set=
12940ac_cv_env_CPP_value=
12941ac_cv_env_LDFLAGS_set=set
12942ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
12943ac_cv_env_LIBS_set=
12944ac_cv_env_LIBS_value=
12945ac_cv_env_PYTHON_VERSION_set=
12946ac_cv_env_PYTHON_VERSION_value=
12947ac_cv_env_YACC_set=
12948ac_cv_env_YACC_value=
12949ac_cv_env_YFLAGS_set=
12950ac_cv_env_YFLAGS_value=
12951ac_cv_env_build_alias_set=
12952ac_cv_env_build_alias_value=
12953ac_cv_env_host_alias_set=
12954ac_cv_env_host_alias_value=
12955ac_cv_env_target_alias_set=
12956ac_cv_env_target_alias_value=
12957ac_cv_func_chown_works=no
12958ac_cv_func_fork=no
12959ac_cv_func_fork_works=no
12960ac_cv_func_strptime=no
12961ac_cv_func_vfork=no
12962ac_cv_func_vfork_works=no
12963ac_cv_header_arpa_inet_h=yes
12964ac_cv_header_dlfcn_h=yes
12965ac_cv_header_endian_h=no
12966ac_cv_header_getopt_h=yes
12967ac_cv_header_glob_h=yes
12968ac_cv_header_grp_h=yes
12969ac_cv_header_inttypes_h=yes
12970ac_cv_header_login_cap_h=no
12971ac_cv_header_memory_h=yes
12972ac_cv_header_minix_config_h=no
12973ac_cv_header_netdb_h=yes
12974ac_cv_header_netinet_in_h=yes
12975ac_cv_header_pwd_h=yes
12976ac_cv_header_stdarg_h=yes
12977ac_cv_header_stdbool_h=yes
12978ac_cv_header_stdc=yes
12979ac_cv_header_stdint_h=yes
12980ac_cv_header_stdlib_h=yes
12981ac_cv_header_string_h=yes
12982ac_cv_header_strings_h=yes
12983ac_cv_header_sys_param_h=yes
12984ac_cv_header_sys_resource_h=yes
12985ac_cv_header_sys_socket_h=yes
12986ac_cv_header_sys_stat_h=yes
12987ac_cv_header_sys_types_h=yes
12988ac_cv_header_sys_uio_h=yes
12989ac_cv_header_sys_un_h=yes
12990ac_cv_header_sys_wait_h=yes
12991ac_cv_header_syslog_h=yes
12992ac_cv_header_time_h=yes
12993ac_cv_header_unistd_h=yes
12994ac_cv_header_vfork_h=no
12995ac_cv_header_winsock2_h=no
12996ac_cv_header_ws2tcpip_h=no
12997ac_cv_host=x86_64-apple-darwin10.8.0
12998ac_cv_lib_lex='none needed'
12999ac_cv_objext=o
13000ac_cv_path_EGREP='/usr/bin/grep -E'
13001ac_cv_path_FGREP='/usr/bin/grep -F'
13002ac_cv_path_GREP=/usr/bin/grep
13003ac_cv_path_SED=/opt/local/bin/gsed
13004ac_cv_path_ac_pt_AR=/opt/local/bin/ar
13005ac_cv_prog_AWK=gawk
13006ac_cv_prog_CPP='/usr/bin/llvm-gcc-4.2 -E'
13007ac_cv_prog_LEX=flex
13008ac_cv_prog_YACC='bison -y'
13009ac_cv_prog_ac_ct_CC=/usr/bin/llvm-gcc-4.2
13010ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
13011ac_cv_prog_ac_ct_LIPO=lipo
13012ac_cv_prog_ac_ct_NMEDIT=nmedit
13013ac_cv_prog_ac_ct_OTOOL=otool
13014ac_cv_prog_ac_ct_RANLIB=ranlib
13015ac_cv_prog_ac_ct_STRIP=strip
13016ac_cv_prog_ax_pthread_config=no
13017ac_cv_prog_cc_c89=
13018ac_cv_prog_cc_g=yes
13019ac_cv_prog_doxygen=doxygen
13020ac_cv_prog_lex_root=lex.yy
13021ac_cv_prog_lex_yytext_pointer=no
13022ac_cv_safe_to_define___extensions__=yes
13023ac_cv_search_inet_pton=no
13024ac_cv_search_socket=no
13025ac_cv_sizeof_time_t=0
13026ac_cv_sys_file_offset_bits=no
13027ac_cv_sys_largefile_CC=no
13028ac_cv_sys_largefile_source=unknown
13029ac_cv_type_in_addr_t=yes
13030ac_cv_type_in_port_t=yes
13031ac_cv_type_int16_t=yes
13032ac_cv_type_int32_t=yes
13033ac_cv_type_int64_t=yes
13034ac_cv_type_int8_t=yes
13035ac_cv_type_off_t=yes
13036ac_cv_type_pid_t=yes
13037ac_cv_type_rlim_t=yes
13038ac_cv_type_signal=void
13039ac_cv_type_size_t=yes
13040ac_cv_type_socklen_t=yes
13041ac_cv_type_ssize_t=yes
13042ac_cv_type_u_char=yes
13043ac_cv_type_uid_t=yes
13044ac_cv_type_uint16_t=yes
13045ac_cv_type_uint32_t=yes
13046ac_cv_type_uint64_t=yes
13047ac_cv_type_uint8_t=yes
13048lt_cv_apple_cc_single_mod=yes
13049lt_cv_ar_at_file=no
13050lt_cv_deplibs_check_method=pass_all
13051lt_cv_file_magic_cmd='$MAGIC_CMD'
13052lt_cv_file_magic_test_file=
13053lt_cv_ld_exported_symbols_list=yes
13054lt_cv_ld_force_load=yes
13055lt_cv_ld_reload_flag=-r
13056lt_cv_nm_interface='BSD nm'
13057lt_cv_objdir=.libs
13058lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
13059lt_cv_path_NM=/opt/local/bin/nm
13060lt_cv_path_mainfest_tool=no
13061lt_cv_prog_compiler_c_o=yes
13062lt_cv_prog_compiler_pic='-fno-common -DPIC'
13063lt_cv_prog_compiler_pic_works=yes
13064lt_cv_prog_compiler_rtti_exceptions=no
13065lt_cv_prog_compiler_static_works=no
13066lt_cv_prog_gnu_ld=no
13067lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
13068lt_cv_sys_global_symbol_pipe=
13069lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
13070lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
13071lt_cv_sys_global_symbol_to_cdecl=
13072lt_cv_sys_max_cmd_len=196608
13073lt_cv_to_host_file_cmd=func_convert_file_noop
13074lt_cv_to_tool_file_cmd=func_convert_file_noop
13075
13076## ----------------- ##
13077## Output variables. ##
13078## ----------------- ##
13079
13080ALLTARGET=''
13081AR='/opt/local/bin/ar'
13082AWK='gawk'
13083CC='/usr/bin/llvm-gcc-4.2'
13084CFLAGS='-pipe -Os -arch x86_64 -flto'
13085CHECKLOCK_OBJ=''
13086COMMON_OBJ_ALL_SYMBOLS=''
13087CONFIG_DATE='20150712'
13088CPP='/usr/bin/llvm-gcc-4.2 -E'
13089CPPFLAGS='-I/opt/local/include -I/opt/local/include'
13090DEFS=''
13091DEPFLAG='-MM'
13092DLLTOOL='false'
13093DNSTAP_OBJ=''
13094DNSTAP_SRC=''
13095DSYMUTIL='dsymutil'
13096DUMPBIN=''
13097ECHO_C='\c'
13098ECHO_N=''
13099ECHO_T=''
13100EGREP='/usr/bin/grep -E'
13101ENABLE_DNSTAP=''
13102EXEEXT=''
13103EXTRALINK=''
13104FGREP='/usr/bin/grep -F'
13105GREP='/usr/bin/grep'
13106HAVE_SSL='yes'
13107INSTALLTARGET=''
13108LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld'
13109LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib'
13110LEX='flex'
13111LEXLIB=''
13112LEX_OUTPUT_ROOT='lex.yy'
13113LIBOBJS=' strptime.o'
13114LIBOBJ_WITHOUT_CTIME=''
13115LIBOBJ_WITHOUT_CTIMEARC4=''
13116LIBS=' -lcrypto -ldl'
13117LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13118LIBUNBOUND_AGE='3'
13119LIBUNBOUND_CURRENT='5'
13120LIBUNBOUND_REVISION='7'
13121LIPO='lipo'
13122LN_S='ln -s'
13123LTLIBOBJS=''
13124MANIFEST_TOOL=':'
13125NETBSD_LINTFLAGS=''
13126NM='/opt/local/bin/nm'
13127NMEDIT='nmedit'
13128OBJDUMP='false'
13129OBJEXT='o'
13130OTOOL64=':'
13131OTOOL='otool'
13132PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl'
13133PACKAGE_NAME='unbound'
13134PACKAGE_STRING='unbound 1.5.4'
13135PACKAGE_TARNAME='unbound'
13136PACKAGE_URL=''
13137PACKAGE_VERSION='1.5.4'
13138PATH_SEPARATOR=':'
13139PROTOC_C=''
13140PTHREAD_CC='/usr/bin/llvm-gcc-4.2'
13141PTHREAD_CFLAGS=''
13142PTHREAD_LIBS=''
13143PYTHON=''
13144PYTHONMOD_HEADER=''
13145PYTHONMOD_INSTALL=''
13146PYTHONMOD_OBJ=''
13147PYTHONMOD_UNINSTALL=''
13148PYTHON_CPPFLAGS=''
13149PYTHON_LDFLAGS=''
13150PYTHON_SITE_PKG=''
13151PYTHON_VERSION=''
13152PYUNBOUND_INSTALL=''
13153PYUNBOUND_OBJ=''
13154PYUNBOUND_TARGET=''
13155PYUNBOUND_UNINSTALL=''
13156PY_MAJOR_VERSION=''
13157RANLIB='ranlib'
13158RUNTIME_PATH=' -R/opt/local/lib'
13159SED='/opt/local/bin/gsed'
13160SHELL='/bin/sh'
13161SOURCEDETERMINE=''
13162SOURCEFILE=''
13163STRIP='strip'
13164SWIG=''
13165SWIG_LIB=''
13166UBSYMS=''
13167UNBOUND_CHROOT_DIR='/opt/local/etc/unbound'
13168UNBOUND_EVENT_INSTALL=''
13169UNBOUND_EVENT_UNINSTALL=''
13170UNBOUND_PIDFILE='/opt/local/var/run/unbound/unbound.pid'
13171UNBOUND_ROOTCERT_FILE='/opt/local/etc/unbound/icannbundle.pem'
13172UNBOUND_ROOTKEY_FILE='/opt/local/var/run/unbound/root.key'
13173UNBOUND_RUN_DIR='/opt/local/etc/unbound'
13174UNBOUND_SHARE_DIR='/opt/local/etc/unbound'
13175UNBOUND_USERNAME='unbound'
13176UNBOUND_VERSION_MAJOR='1'
13177UNBOUND_VERSION_MICRO='4'
13178UNBOUND_VERSION_MINOR='5'
13179WINAPPS=''
13180WINDRES=''
13181WIN_CHECKCONF_OBJ_LINK=''
13182WIN_CONTROL_OBJ_LINK=''
13183WIN_DAEMON_OBJ=''
13184WIN_DAEMON_OBJ_LINK=''
13185WIN_DAEMON_SRC=''
13186WIN_HOST_OBJ_LINK=''
13187WIN_UBANCHOR_OBJ_LINK=''
13188WITH_PYTHONMODULE=''
13189WITH_PYUNBOUND=''
13190YACC='bison -y'
13191YFLAGS=''
13192ac_ct_AR=''
13193ac_ct_CC='/usr/bin/llvm-gcc-4.2'
13194ac_ct_DUMPBIN=''
13195ax_pthread_config='no'
13196bindir='${exec_prefix}/bin'
13197build='x86_64-apple-darwin10.8.0'
13198build_alias=''
13199build_cpu='x86_64'
13200build_os='darwin10.8.0'
13201build_vendor='apple'
13202datadir='${datarootdir}'
13203datarootdir='${prefix}/share'
13204date=''
13205debug_enabled=''
13206docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
13207doxygen='doxygen'
13208dvidir='${docdir}'
13209exec_prefix='NONE'
13210host='x86_64-apple-darwin10.8.0'
13211host_alias=''
13212host_cpu='x86_64'
13213host_os='darwin10.8.0'
13214host_vendor='apple'
13215htmldir='${docdir}'
13216includedir='${prefix}/include'
13217infodir='${datarootdir}/info'
13218libdir='${exec_prefix}/lib'
13219libexecdir='${exec_prefix}/libexec'
13220libtool='./libtool'
13221localedir='${datarootdir}/locale'
13222localstatedir='${prefix}/var'
13223mandir='${datarootdir}/man'
13224oldincludedir='/usr/include'
13225opt_dnstap_socket_path=''
13226pdfdir='${docdir}'
13227prefix='/opt/local'
13228program_transform_name='s,x,x,'
13229psdir='${docdir}'
13230sbindir='${exec_prefix}/sbin'
13231sharedstatedir='${prefix}/com'
13232staticexe=''
13233swig=''
13234sysconfdir='${prefix}/etc'
13235target_alias=''
13236ub_conf_dir='/opt/local/etc/unbound'
13237ub_conf_file='/opt/local/etc/unbound/unbound.conf'
13238version=''
13239
13240## ----------- ##
13241## confdefs.h. ##
13242## ----------- ##
13243
13244/* confdefs.h */
13245#define PACKAGE_NAME "unbound"
13246#define PACKAGE_TARNAME "unbound"
13247#define PACKAGE_VERSION "1.5.4"
13248#define PACKAGE_STRING "unbound 1.5.4"
13249#define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl"
13250#define PACKAGE_URL ""
13251#define STDC_HEADERS 1
13252#define HAVE_SYS_TYPES_H 1
13253#define HAVE_SYS_STAT_H 1
13254#define HAVE_STDLIB_H 1
13255#define HAVE_STRING_H 1
13256#define HAVE_MEMORY_H 1
13257#define HAVE_STRINGS_H 1
13258#define HAVE_INTTYPES_H 1
13259#define HAVE_STDINT_H 1
13260#define HAVE_UNISTD_H 1
13261#define __EXTENSIONS__ 1
13262#define _ALL_SOURCE 1
13263#define _GNU_SOURCE 1
13264#define _POSIX_PTHREAD_SEMANTICS 1
13265#define _TANDEM_SOURCE 1
13266#define CONFIGFILE "/opt/local/etc/unbound/unbound.conf"
13267#define RUN_DIR "/opt/local/etc/unbound"
13268#define CHROOT_DIR "/opt/local/etc/unbound"
13269#define SHARE_DIR "/opt/local/etc/unbound"
13270#define PIDFILE "/opt/local/var/run/unbound/unbound.pid"
13271#define ROOT_ANCHOR_FILE "/opt/local/var/run/unbound/root.key"
13272#define ROOT_CERT_FILE "/opt/local/etc/unbound/icannbundle.pem"
13273#define UB_USERNAME "unbound"
13274#define WINVER 0x0502
13275#define RSRC_PACKAGE_VERSION 1,5,4,0
13276#define HAVE_GETOPT_H 1
13277#define HAVE_TIME_H 1
13278#define HAVE_ATTR_FORMAT 1
13279#define HAVE_ATTR_UNUSED 1
13280#define LEX_HAS_YYLEX_DESTROY 1
13281#define HAVE_DLFCN_H 1
13282#define LT_OBJDIR ".libs/"
13283#define HAVE_STDARG_H 1
13284#define HAVE_STDBOOL_H 1
13285#define HAVE_NETINET_IN_H 1
13286#define HAVE_SYS_PARAM_H 1
13287#define HAVE_SYS_SOCKET_H 1
13288#define HAVE_SYS_UN_H 1
13289#define HAVE_SYS_UIO_H 1
13290#define HAVE_SYS_RESOURCE_H 1
13291#define HAVE_ARPA_INET_H 1
13292#define HAVE_SYSLOG_H 1
13293#define HAVE_NETDB_H 1
13294#define HAVE_SYS_WAIT_H 1
13295#define HAVE_PWD_H 1
13296#define HAVE_GLOB_H 1
13297#define HAVE_GRP_H 1
13298#define SIZEOF_TIME_T 0
13299#define HAVE_UNISTD_H 1
13300#define vfork fork
13301#define RETSIGTYPE void
13302#define NONBLOCKING_IS_BROKEN 1
13303#define HAVE_MALLOC 1
13304#define HAVE_SSL /**/
13305
13306configure: exit 1