Annotation of embedaddon/ipsec-tools/config.log, revision 1.1.1.1.2.3.2.1
1.1 misho 1: This file contains any messages produced by compilers while
2: running configure, to aid debugging if configure makes a mistake.
3:
1.1.1.1.2.3.2 1(misho 4:4): It was created by ipsec-tools configure 0.8.1, which was
5:4): generated by GNU Autoconf 2.69. Invocation command line was
1.1 misho 6:
1.1.1.1.2.3.2 1(misho 7:4): $ ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run --enable-debug --enable-ipv6 --enable-adminport --enable-stats --enable-dpd --enable-natt=yes --enable-frag --enable-hybrid --without-libpam --disable-gssapi --with-libradius --without-libldap --disable-samode-unspec --disable-rc5 --disable-idea --prefix /home/misho/work/elwix/build/2.2_x86/arch/i386/pkg --build i386-elwix-freebsd
1.1 misho 8:
9: ## --------- ##
10: ## Platform. ##
11: ## --------- ##
12:
13: hostname = elwix.aitnet.org
14: uname -m = i386
1.1.1.1.2.3.2 1(misho 15:4): uname -r = 11.0-CURRENT
1.1 misho 16: uname -s = FreeBSD
1.1.1.1.2.3.2 1(misho 17:4): uname -v = FreeBSD 11.0-CURRENT #10: Wed Jul 30 00:37:41 EEST 2014 root@elwix.aitnet.org:/usr/obj/usr/src/sys/GENERIC
1.1 misho 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 = unknown
26: /bin/machine = unknown
27: /usr/bin/oslevel = unknown
28: /bin/universe = unknown
29:
1.1.1.1.2.3.2 1(misho 30:4): PATH: /home/misho/work/elwix/build/2.2_x86/arch/i386/world/elwix/pkg/bin
31:4): PATH: /home/misho/work/elwix/build/2.2_x86/arch/i386/world/elwix/pkg/sbin
1.1.1.1.2.3 misho 32: PATH: /elwix/pkg/bin
33: PATH: /elwix/pkg/sbin
1.1.1.1.2.3.2 1(misho 34:4): PATH: /home/misho/work/elwix/build/2.2_x86/arch/i386/pkg/bin
35:4): PATH: /home/misho/work/elwix/build/2.2_x86/arch/i386/pkg/sbin
36:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/sbin
37:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin
38:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/games
39:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/bin
40:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/sbin
41:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/bin
42:4): PATH: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/games
1.1.1.1.2.3 misho 43: PATH: /sbin
44: PATH: /bin
45: PATH: /usr/sbin
46: PATH: /usr/bin
1.1 misho 47: PATH: /home/misho/bin
48: PATH: /bin
49: PATH: /sbin
50: PATH: /usr/bin
51: PATH: /usr/sbin
52: PATH: /usr/X11R6/bin
53: PATH: /usr/pkg/bin
54: PATH: /usr/pkg/sbin
55: PATH: /usr/games
56: PATH: /usr/local/bin
57: PATH: /usr/local/sbin
1.1.1.1.2.1 misho 58: PATH: /elwix/pkg/bin
59: PATH: /elwix/pkg/sbin
1.1 misho 60:
61:
62: ## ----------- ##
63: ## Core tests. ##
64: ## ----------- ##
65:
1.1.1.1.2.3.2 1(misho 66:4): configure:2432: checking for a BSD-compatible install
67:4): configure:2500: result: /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin/install -c
68:4): configure:2511: checking whether build environment is sane
69:4): configure:2566: result: yes
70:4): configure:2604: WARNING: 'missing' script is too old or missing
71:4): configure:2717: checking for a thread-safe mkdir -p
72:4): configure:2756: result: ./install-sh -c -d
73:4): configure:2763: checking for gawk
74:4): configure:2779: found /usr/X11R6/bin/gawk
75:4): configure:2790: result: gawk
76:4): configure:2801: checking whether make sets $(MAKE)
77:4): configure:2823: result: yes
78:4): configure:2852: checking whether make supports nested variables
79:4): configure:2869: result: yes
80:4): configure:3075: checking for gcc
81:4): configure:3102: result: cc
82:4): configure:3331: checking for C compiler version
83:4): configure:3340: cc --version >&5
84:4): FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
85:4): Target: i386-unknown-freebsd11.0
1.1.1.1.2.3 misho 86: Thread model: posix
1.1.1.1.2.3.2 1(misho 87:4): configure:3351: $? = 0
88:4): configure:3340: cc -v >&5
89:4): FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
90:4): Target: i386-unknown-freebsd11.0
1.1 misho 91: Thread model: posix
1.1.1.1.2.3.2 1(misho 92:4): Selected GCC installation:
93:4): configure:3351: $? = 0
94:4): configure:3340: cc -V >&5
1.1.1.1.2.3 misho 95: cc: error: argument to '-V' is missing (expected 1 value)
96: cc: error: no input files
1.1.1.1.2.3.2 1(misho 97:4): configure:3351: $? = 1
98:4): configure:3340: cc -qversion >&5
99:4): cc: error: unknown argument: '-qversion'
1.1.1.1.2.3 misho 100: cc: error: no input files
1.1.1.1.2.3.2 1(misho 101:4): configure:3351: $? = 1
102:4): configure:3371: checking whether the C compiler works
103:4): configure:3393: cc conftest.c >&5
104:4): configure:3397: $? = 0
105:4): configure:3445: result: yes
106:4): configure:3448: checking for C compiler default output file name
107:4): configure:3450: result: a.out
108:4): configure:3456: checking for suffix of executables
109:4): configure:3463: cc -o conftest conftest.c >&5
110:4): configure:3467: $? = 0
111:4): configure:3489: result:
112:4): configure:3511: checking whether we are cross compiling
113:4): configure:3519: cc -o conftest conftest.c >&5
114:4): configure:3523: $? = 0
115:4): configure:3530: ./conftest
116:4): configure:3534: $? = 0
117:4): configure:3549: result: no
118:4): configure:3554: checking for suffix of object files
119:4): configure:3576: cc -c conftest.c >&5
120:4): configure:3580: $? = 0
121:4): configure:3601: result: o
122:4): configure:3605: checking whether we are using the GNU C compiler
123:4): configure:3624: cc -c conftest.c >&5
124:4): configure:3624: $? = 0
125:4): configure:3633: result: yes
126:4): configure:3642: checking whether cc accepts -g
127:4): configure:3662: cc -c -g conftest.c >&5
128:4): configure:3662: $? = 0
129:4): configure:3703: result: yes
130:4): configure:3720: checking for cc option to accept ISO C89
131:4): configure:3783: cc -c -g -O2 conftest.c >&5
132:4): configure:3783: $? = 0
133:4): configure:3796: result: none needed
134:4): configure:3821: checking whether cc understands -c and -o together
135:4): configure:3843: cc -c conftest.c -o conftest2.o
136:4): configure:3846: $? = 0
137:4): configure:3843: cc -c conftest.c -o conftest2.o
138:4): configure:3846: $? = 0
139:4): configure:3858: result: yes
140:4): configure:3886: checking for style of include used by make
141:4): configure:3914: result: GNU
142:4): configure:3940: checking dependency style of cc
143:4): configure:4051: result: gcc3
144:4): configure:4072: checking how to run the C preprocessor
145:4): configure:4142: result: cpp
146:4): configure:4162: cpp conftest.c
147:4): configure:4162: $? = 0
148:4): configure:4176: cpp conftest.c
1.1.1.1.2.3 misho 149: conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
150: #include <ac_nonexistent.h>
151: ^
152: 1 error generated.
1.1.1.1.2.3.2 1(misho 153:4): configure:4176: $? = 1
1.1 misho 154: configure: failed program was:
155: | /* confdefs.h */
156: | #define PACKAGE_NAME "ipsec-tools"
157: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 158:4): | #define PACKAGE_VERSION "0.8.1"
159:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 160: | #define PACKAGE_BUGREPORT ""
161: | #define PACKAGE_URL ""
162: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 163:4): | #define VERSION "0.8.1"
1.1 misho 164: | /* end confdefs.h. */
165: | #include <ac_nonexistent.h>
1.1.1.1.2.3.2 1(misho 166:4): configure:4205: checking for grep that handles long lines and -e
167:4): configure:4263: result: /usr/bin/grep
168:4): configure:4268: checking for egrep
169:4): configure:4330: result: /usr/bin/grep -E
170:4): configure:4335: checking for ANSI C header files
171:4): configure:4355: cc -c -g -O2 conftest.c >&5
172:4): configure:4355: $? = 0
173:4): configure:4428: cc -o conftest -g -O2 conftest.c >&5
174:4): configure:4428: $? = 0
175:4): configure:4428: ./conftest
176:4): configure:4428: $? = 0
177:4): configure:4439: result: yes
178:4): configure:4476: checking build system type
179:4): configure:4490: result: i386-elwix-freebsd
180:4): configure:4510: checking host system type
181:4): configure:4523: result: i386-elwix-freebsd
182:4): configure:4564: checking how to print strings
183:4): configure:4591: result: printf
184:4): configure:4612: checking for a sed that does not truncate output
185:4): configure:4676: result: /usr/bin/sed
186:4): configure:4694: checking for fgrep
187:4): configure:4756: result: /usr/bin/grep -F
188:4): configure:4791: checking for ld used by cc
189:4): configure:4858: result: ld
190:4): configure:4865: checking if the linker (ld) is GNU ld
191:4): configure:4880: result: yes
192:4): configure:4892: checking for BSD- or MS-compatible name lister (nm)
193:4): configure:4941: result: nm
194:4): configure:5071: checking the name lister (nm) interface
195:4): configure:5078: cc -c -g -O2 conftest.c >&5
196:4): configure:5081: nm "conftest.o"
197:4): configure:5084: output
1.1 misho 198: 00000000 B some_variable
1.1.1.1.2.3.2 1(misho 199:4): configure:5091: result: BSD nm
200:4): configure:5094: checking whether ln -s works
201:4): configure:5098: result: yes
202:4): configure:5106: checking the maximum length of command line arguments
203:4): configure:5236: result: 196608
204:4): configure:5253: checking whether the shell understands some XSI constructs
205:4): configure:5263: result: yes
206:4): configure:5267: checking whether the shell understands "+="
207:4): configure:5273: result: no
208:4): configure:5308: checking how to convert i386-elwix-freebsd file names to i386-elwix-freebsd format
209:4): configure:5348: result: func_convert_file_noop
210:4): configure:5355: checking how to convert i386-elwix-freebsd file names to toolchain format
211:4): configure:5375: result: func_convert_file_noop
212:4): configure:5382: checking for ld option to reload object files
213:4): configure:5389: result: -r
214:4): configure:5463: checking for objdump
215:4): configure:5479: found /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/bin/objdump
216:4): configure:5490: result: objdump
217:4): configure:5522: checking how to recognize dependent libraries
218:4): configure:5724: result: pass_all
219:4): configure:5809: checking for dlltool
220:4): configure:5839: result: no
221:4): configure:5869: checking how to associate runtime and link libraries
222:4): configure:5896: result: printf %s\n
223:4): configure:6020: checking for archiver @FILE support
224:4): configure:6037: cc -c -g -O2 conftest.c >&5
225:4): configure:6037: $? = 0
226:4): configure:6040: ar cru libconftest.a @conftest.lst >&5
227:4): ar: warning: can't open file: @conftest.lst: No such file or directory
228:4): configure:6043: $? = 0
229:4): configure:6048: ar cru libconftest.a @conftest.lst >&5
230:4): ar: warning: can't open file: @conftest.lst: No such file or directory
231:4): configure:6051: $? = 0
232:4): configure:6063: result: no
233:4): configure:6121: checking for strip
234:4): configure:6137: found /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/bin/strip
235:4): configure:6148: result: strip
236:4): configure:6220: checking for ranlib
237:4): configure:6247: result: ranlib
238:4): configure:6349: checking command to parse nm output from cc object
239:4): configure:6469: cc -c -g -O2 conftest.c >&5
240:4): configure:6472: $? = 0
241:4): configure:6476: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
242:4): configure:6479: $? = 0
243:4): configure:6545: cc -o conftest -g -O2 conftest.c conftstm.o >&5
244:4): configure:6548: $? = 0
245:4): configure:6586: result: ok
246:4): configure:6623: checking for sysroot
247:4): configure:6653: result: no
248:4): configure:6909: checking for mt
249:4): configure:6925: found /usr/bin/mt
250:4): configure:6936: result: mt
251:4): configure:6959: checking if mt is a manifest tool
252:4): configure:6965: mt '-?'
253:4): mt: illegal option -- ?
254:4): usage: mt [-f device] command [count]
255:4): configure:6973: result: no
256:4): configure:7615: checking for sys/types.h
257:4): configure:7615: cc -c -g -O2 conftest.c >&5
258:4): configure:7615: $? = 0
259:4): configure:7615: result: yes
260:4): configure:7615: checking for sys/stat.h
261:4): configure:7615: cc -c -g -O2 conftest.c >&5
262:4): configure:7615: $? = 0
263:4): configure:7615: result: yes
264:4): configure:7615: checking for stdlib.h
265:4): configure:7615: cc -c -g -O2 conftest.c >&5
266:4): configure:7615: $? = 0
267:4): configure:7615: result: yes
268:4): configure:7615: checking for string.h
269:4): configure:7615: cc -c -g -O2 conftest.c >&5
270:4): configure:7615: $? = 0
271:4): configure:7615: result: yes
272:4): configure:7615: checking for memory.h
273:4): configure:7615: cc -c -g -O2 conftest.c >&5
274:4): configure:7615: $? = 0
275:4): configure:7615: result: yes
276:4): configure:7615: checking for strings.h
277:4): configure:7615: cc -c -g -O2 conftest.c >&5
278:4): configure:7615: $? = 0
279:4): configure:7615: result: yes
280:4): configure:7615: checking for inttypes.h
281:4): configure:7615: cc -c -g -O2 conftest.c >&5
282:4): configure:7615: $? = 0
283:4): configure:7615: result: yes
284:4): configure:7615: checking for stdint.h
285:4): configure:7615: cc -c -g -O2 conftest.c >&5
286:4): configure:7615: $? = 0
287:4): configure:7615: result: yes
288:4): configure:7615: checking for unistd.h
289:4): configure:7615: cc -c -g -O2 conftest.c >&5
290:4): configure:7615: $? = 0
291:4): configure:7615: result: yes
292:4): configure:7629: checking for dlfcn.h
293:4): configure:7629: cc -c -g -O2 conftest.c >&5
294:4): configure:7629: $? = 0
295:4): configure:7629: result: yes
296:4): configure:7805: checking for objdir
297:4): configure:7820: result: .libs
298:4): configure:8087: checking if cc supports -fno-rtti -fno-exceptions
299:4): configure:8105: cc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
300:4): configure:8109: $? = 0
301:4): configure:8122: result: yes
302:4): configure:8449: checking for cc option to produce PIC
303:4): configure:8456: result: -fPIC -DPIC
304:4): configure:8464: checking if cc PIC flag -fPIC -DPIC works
305:4): configure:8482: cc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
306:4): configure:8486: $? = 0
307:4): configure:8499: result: yes
308:4): configure:8528: checking if cc static flag -static works
309:4): configure:8556: result: yes
310:4): configure:8571: checking if cc supports -c -o file.o
311:4): configure:8592: cc -c -g -O2 -o out/conftest2.o conftest.c >&5
312:4): configure:8596: $? = 0
313:4): configure:8618: result: yes
314:4): configure:8626: checking if cc supports -c -o file.o
315:4): configure:8673: result: yes
316:4): configure:8706: checking whether the cc linker (ld) supports shared libraries
317:4): configure:9859: result: yes
318:4): configure:9896: checking whether -lc should be explicitly linked in
319:4): configure:9904: cc -c -g -O2 conftest.c >&5
320:4): configure:9907: $? = 0
321:4): configure:9922: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
322:4): configure:9925: $? = 0
323:4): configure:9939: result: no
324:4): configure:10099: checking dynamic linker characteristics
325:4): configure:10832: result: freebsd ld.so
326:4): configure:10939: checking how to hardcode library paths into programs
327:4): configure:10964: result: immediate
328:4): configure:11504: checking whether stripping libraries is possible
329:4): configure:11509: result: yes
330:4): configure:11544: checking if libtool supports shared libraries
331:4): configure:11546: result: yes
332:4): configure:11549: checking whether to build shared libraries
333:4): configure:11570: result: yes
334:4): configure:11573: checking whether to build static libraries
335:4): configure:11577: result: yes
336:4): configure:11618: checking for bison
337:4): configure:11634: found /usr/X11R6/bin/bison
338:4): configure:11645: result: bison -y
339:4): configure:11661: checking for flex
340:4): configure:11677: found /usr/bin/flex
341:4): configure:11688: result: flex
342:4): configure:11726: flex conftest.l
343:4): configure:11730: $? = 0
344:4): configure:11732: checking lex output file root
345:4): configure:11746: result: lex.yy
346:4): configure:11751: checking lex library
347:4): configure:11765: cc -o conftest -g -O2 conftest.c >&5
348:4): /tmp/conftest-789f42.o: In function `yylex':
349:4): /home/misho/work/embedaddon/ipsec-tools/lex.yy.c:884: undefined reference to `yywrap'
350:4): /tmp/conftest-789f42.o: In function `input':
351:4): /home/misho/work/embedaddon/ipsec-tools/lex.yy.c:1187: undefined reference to `yywrap'
352:4): /tmp/conftest-789f42.o: In function `main':
353:4): /home/misho/work/embedaddon/ipsec-tools/conftest.l:18: undefined reference to `yywrap'
1.1.1.1.2.3 misho 354: cc: error: linker command failed with exit code 1 (use -v to see invocation)
1.1.1.1.2.3.2 1(misho 355:4): configure:11765: $? = 1
1.1 misho 356: configure: failed program was:
357: | /* confdefs.h */
358: | #define PACKAGE_NAME "ipsec-tools"
359: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 360:4): | #define PACKAGE_VERSION "0.8.1"
361:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 362: | #define PACKAGE_BUGREPORT ""
363: | #define PACKAGE_URL ""
364: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 365:4): | #define VERSION "0.8.1"
1.1 misho 366: | #define STDC_HEADERS 1
367: | #define HAVE_SYS_TYPES_H 1
368: | #define HAVE_SYS_STAT_H 1
369: | #define HAVE_STDLIB_H 1
370: | #define HAVE_STRING_H 1
371: | #define HAVE_MEMORY_H 1
372: | #define HAVE_STRINGS_H 1
373: | #define HAVE_INTTYPES_H 1
374: | #define HAVE_STDINT_H 1
375: | #define HAVE_UNISTD_H 1
376: | #define HAVE_DLFCN_H 1
377: | #define LT_OBJDIR ".libs/"
378: | /* end confdefs.h. */
1.1.1.1.2.2 misho 379: |
380: | #line 3 "lex.yy.c"
381: |
382: | #define YY_INT_ALIGNED short int
383: |
1.1 misho 384: | /* A lexical scanner generated by flex */
385: |
1.1.1.1.2.2 misho 386: | #define FLEX_SCANNER
387: | #define YY_FLEX_MAJOR_VERSION 2
388: | #define YY_FLEX_MINOR_VERSION 5
389: | #define YY_FLEX_SUBMINOR_VERSION 37
390: | #if YY_FLEX_SUBMINOR_VERSION > 0
391: | #define FLEX_BETA
392: | #endif
393: |
394: | /* First, we deal with platform-specific or compiler-specific issues. */
1.1 misho 395: |
396: | #if defined(__FreeBSD__)
1.1.1.1.2.2 misho 397: | #ifndef __STDC_LIMIT_MACROS
398: | #define __STDC_LIMIT_MACROS
399: | #endif
1.1 misho 400: | #include <sys/cdefs.h>
1.1.1.1.2.2 misho 401: | #include <stdint.h>
1.1 misho 402: | #else
1.1.1.1.2.2 misho 403: | #define __dead2
1.1 misho 404: | #endif
405: |
1.1.1.1.2.2 misho 406: | /* begin standard C headers. */
1.1 misho 407: | #include <stdio.h>
1.1.1.1.2.2 misho 408: | #include <string.h>
409: | #include <errno.h>
410: | #include <stdlib.h>
1.1 misho 411: |
1.1.1.1.2.2 misho 412: | /* end standard C headers. */
1.1 misho 413: |
1.1.1.1.2.2 misho 414: | /* flex integer type definitions */
415: |
416: | #ifndef FLEXINT_H
417: | #define FLEXINT_H
418: |
419: | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
420: |
421: | #if defined(__FreeBSD__) || \
422: | (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
423: |
424: | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
425: | * if you want the limit (max/min) macros for int types.
426: | */
427: | #ifndef __STDC_LIMIT_MACROS
428: | #define __STDC_LIMIT_MACROS 1
1.1 misho 429: | #endif
430: |
1.1.1.1.2.2 misho 431: | #include <inttypes.h>
432: | typedef int8_t flex_int8_t;
433: | typedef uint8_t flex_uint8_t;
434: | typedef int16_t flex_int16_t;
435: | typedef uint16_t flex_uint16_t;
436: | typedef int32_t flex_int32_t;
437: | typedef uint32_t flex_uint32_t;
438: | #else
439: | typedef signed char flex_int8_t;
440: | typedef short int flex_int16_t;
441: | typedef int flex_int32_t;
442: | typedef unsigned char flex_uint8_t;
443: | typedef unsigned short int flex_uint16_t;
444: | typedef unsigned int flex_uint32_t;
1.1 misho 445: |
1.1.1.1.2.2 misho 446: | /* Limits of integral types. */
447: | #ifndef INT8_MIN
448: | #define INT8_MIN (-128)
449: | #endif
450: | #ifndef INT16_MIN
451: | #define INT16_MIN (-32767-1)
452: | #endif
453: | #ifndef INT32_MIN
454: | #define INT32_MIN (-2147483647-1)
455: | #endif
456: | #ifndef INT8_MAX
457: | #define INT8_MAX (127)
458: | #endif
459: | #ifndef INT16_MAX
460: | #define INT16_MAX (32767)
461: | #endif
462: | #ifndef INT32_MAX
463: | #define INT32_MAX (2147483647)
464: | #endif
465: | #ifndef UINT8_MAX
466: | #define UINT8_MAX (255U)
467: | #endif
468: | #ifndef UINT16_MAX
469: | #define UINT16_MAX (65535U)
470: | #endif
471: | #ifndef UINT32_MAX
472: | #define UINT32_MAX (4294967295U)
473: | #endif
1.1 misho 474: |
1.1.1.1.2.2 misho 475: | #endif /* ! C99 */
476: |
477: | #endif /* ! FLEXINT_H */
1.1 misho 478: |
1.1.1.1.2.2 misho 479: | #ifdef __cplusplus
1.1 misho 480: |
481: | /* The "const" storage-class-modifier is valid. */
482: | #define YY_USE_CONST
483: |
484: | #else /* ! __cplusplus */
485: |
1.1.1.1.2.2 misho 486: | /* C99 requires __STDC__ to be defined as 1. */
487: | #if defined (__STDC__)
1.1 misho 488: |
489: | #define YY_USE_CONST
490: |
1.1.1.1.2.2 misho 491: | #endif /* defined (__STDC__) */
1.1 misho 492: | #endif /* ! __cplusplus */
493: |
494: | #ifdef YY_USE_CONST
495: | #define yyconst const
496: | #else
497: | #define yyconst
498: | #endif
499: |
500: | /* Returned upon end-of-file. */
501: | #define YY_NULL 0
502: |
503: | /* Promotes a possibly negative, possibly signed char to an unsigned
504: | * integer for use as an array index. If the signed char is negative,
505: | * we want to instead treat it as an 8-bit unsigned char, hence the
506: | * double cast.
507: | */
508: | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
509: |
510: | /* Enter a start condition. This macro really ought to take a parameter,
511: | * but we do it the disgusting crufty way forced on us by the ()-less
512: | * definition of BEGIN.
513: | */
1.1.1.1.2.2 misho 514: | #define BEGIN (yy_start) = 1 + 2 *
1.1 misho 515: |
516: | /* Translate the current start state into a value that can be later handed
517: | * to BEGIN to return to the state. The YYSTATE alias is for lex
518: | * compatibility.
519: | */
1.1.1.1.2.2 misho 520: | #define YY_START (((yy_start) - 1) / 2)
1.1 misho 521: | #define YYSTATE YY_START
522: |
523: | /* Action number for EOF rule of a given start state. */
524: | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
525: |
526: | /* Special action meaning "start processing a new file". */
1.1.1.1.2.2 misho 527: | #define YY_NEW_FILE yyrestart(yyin )
1.1 misho 528: |
529: | #define YY_END_OF_BUFFER_CHAR 0
530: |
531: | /* Size of default input buffer. */
1.1.1.1.2.2 misho 532: | #ifndef YY_BUF_SIZE
1.1 misho 533: | #define YY_BUF_SIZE 16384
1.1.1.1.2.2 misho 534: | #endif
535: |
536: | /* The state buf must be large enough to hold one state per character in the main buffer.
537: | */
538: | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
1.1 misho 539: |
1.1.1.1.2.2 misho 540: | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
541: | #define YY_TYPEDEF_YY_BUFFER_STATE
1.1 misho 542: | typedef struct yy_buffer_state *YY_BUFFER_STATE;
1.1.1.1.2.2 misho 543: | #endif
544: |
545: | #ifndef YY_TYPEDEF_YY_SIZE_T
546: | #define YY_TYPEDEF_YY_SIZE_T
547: | typedef size_t yy_size_t;
548: | #endif
549: |
550: | extern yy_size_t yyleng;
1.1 misho 551: |
552: | extern FILE *yyin, *yyout;
553: |
554: | #define EOB_ACT_CONTINUE_SCAN 0
555: | #define EOB_ACT_END_OF_FILE 1
556: | #define EOB_ACT_LAST_MATCH 2
557: |
1.1.1.1.2.2 misho 558: | #define YY_LESS_LINENO(n)
559: |
560: | /* Return all but the first "n" matched characters back to the input stream. */
1.1 misho 561: | #define yyless(n) \
562: | do \
563: | { \
564: | /* Undo effects of setting up yytext. */ \
1.1.1.1.2.2 misho 565: | int yyless_macro_arg = (n); \
566: | YY_LESS_LINENO(yyless_macro_arg);\
567: | *yy_cp = (yy_hold_char); \
1.1 misho 568: | YY_RESTORE_YY_MORE_OFFSET \
1.1.1.1.2.2 misho 569: | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
1.1 misho 570: | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
571: | } \
572: | while ( 0 )
573: |
1.1.1.1.2.2 misho 574: | #define unput(c) yyunput( c, (yytext_ptr) )
1.1 misho 575: |
1.1.1.1.2.2 misho 576: | #ifndef YY_STRUCT_YY_BUFFER_STATE
577: | #define YY_STRUCT_YY_BUFFER_STATE
1.1 misho 578: | struct yy_buffer_state
579: | {
580: | FILE *yy_input_file;
581: |
582: | char *yy_ch_buf; /* input buffer */
583: | char *yy_buf_pos; /* current position in input buffer */
584: |
585: | /* Size of input buffer in bytes, not including room for EOB
586: | * characters.
587: | */
588: | yy_size_t yy_buf_size;
589: |
590: | /* Number of characters read into yy_ch_buf, not including EOB
591: | * characters.
592: | */
1.1.1.1.2.2 misho 593: | yy_size_t yy_n_chars;
1.1 misho 594: |
595: | /* Whether we "own" the buffer - i.e., we know we created it,
596: | * and can realloc() it to grow it, and should free() it to
597: | * delete it.
598: | */
599: | int yy_is_our_buffer;
600: |
601: | /* Whether this is an "interactive" input source; if so, and
602: | * if we're using stdio for input, then we want to use getc()
603: | * instead of fread(), to make sure we stop fetching input after
604: | * each newline.
605: | */
606: | int yy_is_interactive;
607: |
608: | /* Whether we're considered to be at the beginning of a line.
609: | * If so, '^' rules will be active on the next match, otherwise
610: | * not.
611: | */
612: | int yy_at_bol;
613: |
1.1.1.1.2.2 misho 614: | int yy_bs_lineno; /**< The line count. */
615: | int yy_bs_column; /**< The column count. */
616: |
1.1 misho 617: | /* Whether to try to fill the input buffer when we reach the
618: | * end of it.
619: | */
620: | int yy_fill_buffer;
621: |
622: | int yy_buffer_status;
1.1.1.1.2.2 misho 623: |
1.1 misho 624: | #define YY_BUFFER_NEW 0
625: | #define YY_BUFFER_NORMAL 1
626: | /* When an EOF's been seen but there's still some text to process
627: | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
628: | * shouldn't try reading from the input source any more. We might
629: | * still have a bunch of tokens to match, though, because of
630: | * possible backing-up.
631: | *
632: | * When we actually see the EOF, we change the status to "new"
633: | * (via yyrestart()), so that the user can continue scanning by
634: | * just pointing yyin at a new input file.
635: | */
636: | #define YY_BUFFER_EOF_PENDING 2
1.1.1.1.2.2 misho 637: |
1.1 misho 638: | };
1.1.1.1.2.2 misho 639: | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
1.1 misho 640: |
1.1.1.1.2.2 misho 641: | /* Stack of input buffers. */
642: | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
643: | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
644: | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
1.1 misho 645: |
646: | /* We provide macros for accessing buffer states in case in the
647: | * future we want to put the buffer states in a more general
648: | * "scanner state".
1.1.1.1.2.2 misho 649: | *
650: | * Returns the top of the stack, or NULL.
1.1 misho 651: | */
1.1.1.1.2.2 misho 652: | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
653: | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
654: | : NULL)
655: | #define yy_current_buffer YY_CURRENT_BUFFER
1.1 misho 656: |
1.1.1.1.2.2 misho 657: | /* Same as previous macro, but useful when we know that the buffer stack is not
658: | * NULL or when we need an lvalue. For internal use only.
659: | */
660: | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
1.1 misho 661: |
662: | /* yy_hold_char holds the character lost when yytext is formed. */
663: | static char yy_hold_char;
1.1.1.1.2.2 misho 664: | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
665: | yy_size_t yyleng;
1.1 misho 666: |
667: | /* Points to current character in buffer. */
668: | static char *yy_c_buf_p = (char *) 0;
1.1.1.1.2.2 misho 669: | static int yy_init = 0; /* whether we need to initialize */
1.1 misho 670: | static int yy_start = 0; /* start state number */
671: |
672: | /* Flag which is used to allow yywrap()'s to do buffer switches
673: | * instead of setting up a fresh yyin. A bit of a hack ...
674: | */
675: | static int yy_did_buffer_switch_on_eof;
676: |
1.1.1.1.2.2 misho 677: | void yyrestart (FILE *input_file );
678: | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
679: | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
680: | void yy_delete_buffer (YY_BUFFER_STATE b );
681: | void yy_flush_buffer (YY_BUFFER_STATE b );
682: | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
683: | void yypop_buffer_state (void );
684: |
685: | static void yyensure_buffer_stack (void );
686: | static void yy_load_buffer_state (void );
687: | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
688: |
689: | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
690: |
691: | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
692: | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
693: | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
694: |
695: | void *yyalloc (yy_size_t );
696: | void *yyrealloc (void *,yy_size_t );
697: | void yyfree (void * );
1.1 misho 698: |
699: | #define yy_new_buffer yy_create_buffer
700: |
701: | #define yy_set_interactive(is_interactive) \
702: | { \
1.1.1.1.2.2 misho 703: | if ( ! YY_CURRENT_BUFFER ){ \
704: | yyensure_buffer_stack (); \
705: | YY_CURRENT_BUFFER_LVALUE = \
706: | yy_create_buffer(yyin,YY_BUF_SIZE ); \
707: | } \
708: | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
1.1 misho 709: | }
710: |
711: | #define yy_set_bol(at_bol) \
712: | { \
1.1.1.1.2.2 misho 713: | if ( ! YY_CURRENT_BUFFER ){\
714: | yyensure_buffer_stack (); \
715: | YY_CURRENT_BUFFER_LVALUE = \
716: | yy_create_buffer(yyin,YY_BUF_SIZE ); \
717: | } \
718: | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
1.1 misho 719: | }
720: |
1.1.1.1.2.2 misho 721: | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
1.1 misho 722: |
1.1.1.1.2.2 misho 723: | /* Begin user sect3 */
1.1 misho 724: |
725: | typedef unsigned char YY_CHAR;
1.1.1.1.2.2 misho 726: |
1.1 misho 727: | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
1.1.1.1.2.2 misho 728: |
1.1 misho 729: | typedef int yy_state_type;
1.1.1.1.2.2 misho 730: |
731: | extern int yylineno;
732: |
733: | int yylineno = 1;
734: |
1.1 misho 735: | extern char *yytext;
736: | #define yytext_ptr yytext
737: |
1.1.1.1.2.2 misho 738: | static yy_state_type yy_get_previous_state (void );
739: | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
740: | static int yy_get_next_buffer (void );
741: | static void yy_fatal_error (yyconst char msg[] ) __dead2;
1.1 misho 742: |
743: | /* Done after the current pattern has been matched and before the
744: | * corresponding action - sets up yytext.
745: | */
746: | #define YY_DO_BEFORE_ACTION \
1.1.1.1.2.2 misho 747: | (yytext_ptr) = yy_bp; \
748: | (yytext_ptr) -= (yy_more_len); \
749: | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
750: | (yy_hold_char) = *yy_cp; \
1.1 misho 751: | *yy_cp = '\0'; \
1.1.1.1.2.2 misho 752: | (yy_c_buf_p) = yy_cp;
1.1 misho 753: |
754: | #define YY_NUM_RULES 8
755: | #define YY_END_OF_BUFFER 9
1.1.1.1.2.2 misho 756: | /* This struct is not used in this scanner,
757: | but its presence is necessary. */
758: | struct yy_trans_info
759: | {
760: | flex_int32_t yy_verify;
761: | flex_int32_t yy_nxt;
762: | };
763: | static yyconst flex_int16_t yy_acclist[23] =
1.1 misho 764: | { 0,
765: | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
766: | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
767: | 7, 8
768: | } ;
769: |
1.1.1.1.2.2 misho 770: | static yyconst flex_int16_t yy_accept[14] =
1.1 misho 771: | { 0,
772: | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
773: | 20, 23, 23
774: | } ;
775: |
1.1.1.1.2.2 misho 776: | static yyconst flex_int32_t yy_ec[256] =
1.1 misho 777: | { 0,
778: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
779: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
780: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
781: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
782: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
783: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
784: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
785: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
786: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
787: | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
788: |
789: | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
790: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
791: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
792: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
793: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
794: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
795: | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
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: |
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, 1, 1, 1, 1,
805: | 1, 1, 1, 1, 1
806: | } ;
807: |
1.1.1.1.2.2 misho 808: | static yyconst flex_int32_t yy_meta[9] =
1.1 misho 809: | { 0,
810: | 1, 1, 1, 1, 1, 1, 1, 1
811: | } ;
812: |
1.1.1.1.2.2 misho 813: | static yyconst flex_int16_t yy_base[13] =
1.1 misho 814: | { 0,
815: | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
816: | 10, 10
817: | } ;
818: |
1.1.1.1.2.2 misho 819: | static yyconst flex_int16_t yy_def[13] =
1.1 misho 820: | { 0,
821: | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
822: | 12, 0
823: | } ;
824: |
1.1.1.1.2.2 misho 825: | static yyconst flex_int16_t yy_nxt[19] =
1.1 misho 826: | { 0,
827: | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
828: | 12, 12, 12, 12, 12, 12, 12, 12
829: | } ;
830: |
1.1.1.1.2.2 misho 831: | static yyconst flex_int16_t yy_chk[19] =
1.1 misho 832: | { 0,
833: | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
834: | 12, 12, 12, 12, 12, 12, 12, 12
835: | } ;
836: |
1.1.1.1.2.2 misho 837: | extern int yy_flex_debug;
838: | int yy_flex_debug = 0;
839: |
840: | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
1.1 misho 841: | static char *yy_full_match;
842: | static int yy_lp;
843: | #define REJECT \
844: | { \
1.1.1.1.2.2 misho 845: | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
846: | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
847: | ++(yy_lp); \
1.1 misho 848: | goto find_rule; \
849: | }
1.1.1.1.2.2 misho 850: |
1.1 misho 851: | static int yy_more_flag = 0;
852: | static int yy_more_len = 0;
1.1.1.1.2.2 misho 853: | #define yymore() ((yy_more_flag) = 1)
854: | #define YY_MORE_ADJ (yy_more_len)
1.1 misho 855: | #define YY_RESTORE_YY_MORE_OFFSET
856: | char *yytext;
857: | #line 1 "conftest.l"
1.1.1.1.2.2 misho 858: | #line 481 "lex.yy.c"
859: |
1.1 misho 860: | #define INITIAL 0
1.1.1.1.2.2 misho 861: |
862: | #ifndef YY_NO_UNISTD_H
863: | /* Special case for "unistd.h", since it is non-ANSI. We include it way
864: | * down here because we want the user's section 1 to have been scanned first.
865: | * The user has a chance to override it with an option.
866: | */
867: | #include <unistd.h>
868: | #endif
869: |
870: | #ifndef YY_EXTRA_TYPE
871: | #define YY_EXTRA_TYPE void *
872: | #endif
873: |
874: | static int yy_init_globals (void );
875: |
876: | /* Accessor methods to globals.
877: | These are made visible to non-reentrant scanners for convenience. */
878: |
879: | int yylex_destroy (void );
880: |
881: | int yyget_debug (void );
882: |
883: | void yyset_debug (int debug_flag );
884: |
885: | YY_EXTRA_TYPE yyget_extra (void );
886: |
887: | void yyset_extra (YY_EXTRA_TYPE user_defined );
888: |
889: | FILE *yyget_in (void );
890: |
891: | void yyset_in (FILE * in_str );
892: |
893: | FILE *yyget_out (void );
894: |
895: | void yyset_out (FILE * out_str );
896: |
897: | yy_size_t yyget_leng (void );
898: |
899: | char *yyget_text (void );
900: |
901: | int yyget_lineno (void );
902: |
903: | void yyset_lineno (int line_number );
1.1 misho 904: |
905: | /* Macros after this point can all be overridden by user definitions in
906: | * section 1.
907: | */
908: |
909: | #ifndef YY_SKIP_YYWRAP
910: | #ifdef __cplusplus
1.1.1.1.2.2 misho 911: | extern "C" int yywrap (void );
1.1 misho 912: | #else
1.1.1.1.2.2 misho 913: | extern int yywrap (void );
1.1 misho 914: | #endif
915: | #endif
916: |
917: | #ifndef YY_NO_UNPUT
1.1.1.1.2.2 misho 918: | static void yyunput (int c,char *buf_ptr );
1.1 misho 919: | #endif
1.1.1.1.2.2 misho 920: |
1.1 misho 921: | #ifndef yytext_ptr
1.1.1.1.2.2 misho 922: | static void yy_flex_strncpy (char *,yyconst char *,int );
1.1 misho 923: | #endif
924: |
925: | #ifdef YY_NEED_STRLEN
1.1.1.1.2.2 misho 926: | static int yy_flex_strlen (yyconst char * );
1.1 misho 927: | #endif
928: |
929: | #ifndef YY_NO_INPUT
930: |
1.1.1.1.2.2 misho 931: | #ifdef __cplusplus
932: | static int yyinput (void );
1.1 misho 933: | #else
1.1.1.1.2.2 misho 934: | static int input (void );
1.1 misho 935: | #endif
936: |
937: | #endif
938: |
939: | /* Amount of stuff to slurp up with each read. */
940: | #ifndef YY_READ_BUF_SIZE
941: | #define YY_READ_BUF_SIZE 8192
942: | #endif
943: |
944: | /* Copy whatever the last rule matched to the standard output. */
945: | #ifndef ECHO
946: | /* This used to be an fputs(), but since the string might contain NUL's,
947: | * we now use fwrite().
948: | */
1.1.1.1.2.2 misho 949: | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
1.1 misho 950: | #endif
951: |
952: | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
953: | * is returned in "result".
954: | */
955: | #ifndef YY_INPUT
956: | #define YY_INPUT(buf,result,max_size) \
1.1.1.1.2.2 misho 957: | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1.1 misho 958: | { \
1.1.1.1.2.2 misho 959: | int c = '*'; \
960: | size_t n; \
1.1 misho 961: | for ( n = 0; n < max_size && \
962: | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
963: | buf[n] = (char) c; \
964: | if ( c == '\n' ) \
965: | buf[n++] = (char) c; \
966: | if ( c == EOF && ferror( yyin ) ) \
967: | YY_FATAL_ERROR( "input in flex scanner failed" ); \
968: | result = n; \
969: | } \
1.1.1.1.2.2 misho 970: | else \
971: | { \
972: | errno=0; \
973: | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
974: | { \
975: | if( errno != EINTR) \
976: | { \
977: | YY_FATAL_ERROR( "input in flex scanner failed" ); \
978: | break; \
979: | } \
980: | errno=0; \
981: | clearerr(yyin); \
982: | } \
983: | }\
984: | \
985: |
1.1 misho 986: | #endif
987: |
988: | /* No semi-colon after return; correct usage is to write "yyterminate();" -
989: | * we don't want an extra ';' after the "return" because that will cause
990: | * some compilers to complain about unreachable statements.
991: | */
992: | #ifndef yyterminate
993: | #define yyterminate() return YY_NULL
994: | #endif
995: |
996: | /* Number of entries by which start-condition stack grows. */
997: | #ifndef YY_START_STACK_INCR
998: | #define YY_START_STACK_INCR 25
999: | #endif
1000: |
1001: | /* Report a fatal error. */
1002: | #ifndef YY_FATAL_ERROR
1003: | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1004: | #endif
1005: |
1.1.1.1.2.2 misho 1006: | /* end tables serialization structures and prototypes */
1007: |
1.1 misho 1008: | /* Default declaration of generated scanner - a define so the user can
1009: | * easily add parameters.
1010: | */
1011: | #ifndef YY_DECL
1.1.1.1.2.2 misho 1012: | #define YY_DECL_IS_OURS 1
1013: |
1014: | extern int yylex (void);
1015: |
1016: | #define YY_DECL int yylex (void)
1017: | #endif /* !YY_DECL */
1.1 misho 1018: |
1019: | /* Code executed at the beginning of each rule, after yytext and yyleng
1020: | * have been set up.
1021: | */
1022: | #ifndef YY_USER_ACTION
1023: | #define YY_USER_ACTION
1024: | #endif
1025: |
1026: | /* Code executed at the end of each rule. */
1027: | #ifndef YY_BREAK
1028: | #define YY_BREAK break;
1029: | #endif
1030: |
1031: | #define YY_RULE_SETUP \
1032: | YY_USER_ACTION
1033: |
1.1.1.1.2.2 misho 1034: | /** The main scanner function which does all the work.
1035: | */
1.1 misho 1036: | YY_DECL
1.1.1.1.2.2 misho 1037: | {
1.1 misho 1038: | yy_state_type yy_current_state;
1039: | char *yy_cp, *yy_bp;
1040: | int yy_act;
1.1.1.1.2.2 misho 1041: |
1.1 misho 1042: | #line 1 "conftest.l"
1043: |
1.1.1.1.2.2 misho 1044: | #line 667 "lex.yy.c"
1.1 misho 1045: |
1.1.1.1.2.2 misho 1046: | if ( !(yy_init) )
1.1 misho 1047: | {
1.1.1.1.2.2 misho 1048: | (yy_init) = 1;
1.1 misho 1049: |
1050: | #ifdef YY_USER_INIT
1051: | YY_USER_INIT;
1052: | #endif
1053: |
1.1.1.1.2.2 misho 1054: | /* Create the reject buffer large enough to save one state per allowed character. */
1055: | if ( ! (yy_state_buf) )
1056: | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
1057: | if ( ! (yy_state_buf) )
1058: | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1059: |
1060: | if ( ! (yy_start) )
1061: | (yy_start) = 1; /* first start state */
1.1 misho 1062: |
1063: | if ( ! yyin )
1064: | yyin = stdin;
1065: |
1066: | if ( ! yyout )
1067: | yyout = stdout;
1068: |
1.1.1.1.2.2 misho 1069: | if ( ! YY_CURRENT_BUFFER ) {
1070: | yyensure_buffer_stack ();
1071: | YY_CURRENT_BUFFER_LVALUE =
1072: | yy_create_buffer(yyin,YY_BUF_SIZE );
1073: | }
1.1 misho 1074: |
1.1.1.1.2.2 misho 1075: | yy_load_buffer_state( );
1.1 misho 1076: | }
1077: |
1078: | while ( 1 ) /* loops until end-of-file is reached */
1079: | {
1.1.1.1.2.2 misho 1080: | (yy_more_len) = 0;
1081: | if ( (yy_more_flag) )
1.1 misho 1082: | {
1.1.1.1.2.2 misho 1083: | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
1084: | (yy_more_flag) = 0;
1.1 misho 1085: | }
1.1.1.1.2.2 misho 1086: | yy_cp = (yy_c_buf_p);
1.1 misho 1087: |
1088: | /* Support of yytext. */
1.1.1.1.2.2 misho 1089: | *yy_cp = (yy_hold_char);
1.1 misho 1090: |
1091: | /* yy_bp points to the position in yy_ch_buf of the start of
1092: | * the current run.
1093: | */
1094: | yy_bp = yy_cp;
1095: |
1.1.1.1.2.2 misho 1096: | yy_current_state = (yy_start);
1097: |
1098: | (yy_state_ptr) = (yy_state_buf);
1099: | *(yy_state_ptr)++ = yy_current_state;
1100: |
1.1 misho 1101: | yy_match:
1102: | do
1103: | {
1.1.1.1.2.2 misho 1104: | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1.1 misho 1105: | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1106: | {
1107: | yy_current_state = (int) yy_def[yy_current_state];
1108: | if ( yy_current_state >= 13 )
1109: | yy_c = yy_meta[(unsigned int) yy_c];
1110: | }
1111: | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1.1.1.1.2.2 misho 1112: | *(yy_state_ptr)++ = yy_current_state;
1.1 misho 1113: | ++yy_cp;
1114: | }
1115: | while ( yy_base[yy_current_state] != 10 );
1116: |
1117: | yy_find_action:
1.1.1.1.2.2 misho 1118: | yy_current_state = *--(yy_state_ptr);
1119: | (yy_lp) = yy_accept[yy_current_state];
1.1 misho 1120: | goto find_rule; /* avoid `defined but not used' warning */
1121: | find_rule: /* we branch to this label when backing up */
1122: | for ( ; ; ) /* until we find what rule we matched */
1123: | {
1.1.1.1.2.2 misho 1124: | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1.1 misho 1125: | {
1.1.1.1.2.2 misho 1126: | yy_act = yy_acclist[(yy_lp)];
1.1 misho 1127: | {
1.1.1.1.2.2 misho 1128: | (yy_full_match) = yy_cp;
1.1 misho 1129: | break;
1130: | }
1131: | }
1132: | --yy_cp;
1.1.1.1.2.2 misho 1133: | yy_current_state = *--(yy_state_ptr);
1134: | (yy_lp) = yy_accept[yy_current_state];
1.1 misho 1135: | }
1136: |
1137: | YY_DO_BEFORE_ACTION;
1138: |
1139: | do_action: /* This label is used only to access EOF actions. */
1140: |
1141: | switch ( yy_act )
1142: | { /* beginning of action switch */
1143: | case 1:
1144: | YY_RULE_SETUP
1145: | #line 2 "conftest.l"
1146: | { ECHO; }
1147: | YY_BREAK
1148: | case 2:
1149: | YY_RULE_SETUP
1150: | #line 3 "conftest.l"
1151: | { REJECT; }
1152: | YY_BREAK
1153: | case 3:
1154: | YY_RULE_SETUP
1155: | #line 4 "conftest.l"
1156: | { yymore (); }
1157: | YY_BREAK
1158: | case 4:
1159: | YY_RULE_SETUP
1160: | #line 5 "conftest.l"
1161: | { yyless (1); }
1162: | YY_BREAK
1163: | case 5:
1164: | YY_RULE_SETUP
1165: | #line 6 "conftest.l"
1.1.1.1.2.3.2 1(misho 1166:4): | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
1167:4): | yyless ((input () != 0)); }
1.1 misho 1168: | YY_BREAK
1169: | case 6:
1170: | YY_RULE_SETUP
1.1.1.1.2.3.2 1(misho 1171:4): | #line 8 "conftest.l"
1.1 misho 1172: | { unput (yytext[0]); }
1173: | YY_BREAK
1174: | case 7:
1175: | YY_RULE_SETUP
1.1.1.1.2.3.2 1(misho 1176:4): | #line 9 "conftest.l"
1.1 misho 1177: | { BEGIN INITIAL; }
1178: | YY_BREAK
1179: | case 8:
1180: | YY_RULE_SETUP
1.1.1.1.2.3.2 1(misho 1181:4): | #line 10 "conftest.l"
1.1 misho 1182: | ECHO;
1183: | YY_BREAK
1.1.1.1.2.3.2 1(misho 1184:4): | #line 807 "lex.yy.c"
1.1 misho 1185: | case YY_STATE_EOF(INITIAL):
1186: | yyterminate();
1187: |
1188: | case YY_END_OF_BUFFER:
1189: | {
1190: | /* Amount of text matched not including the EOB char. */
1.1.1.1.2.2 misho 1191: | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1.1 misho 1192: |
1193: | /* Undo the effects of YY_DO_BEFORE_ACTION. */
1.1.1.1.2.2 misho 1194: | *yy_cp = (yy_hold_char);
1.1 misho 1195: | YY_RESTORE_YY_MORE_OFFSET
1196: |
1.1.1.1.2.2 misho 1197: | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1.1 misho 1198: | {
1199: | /* We're scanning a new file or input source. It's
1200: | * possible that this happened because the user
1201: | * just pointed yyin at a new source and called
1202: | * yylex(). If so, then we have to assure
1.1.1.1.2.2 misho 1203: | * consistency between YY_CURRENT_BUFFER and our
1.1 misho 1204: | * globals. Here is the right place to do so, because
1205: | * this is the first action (other than possibly a
1206: | * back-up) that will match for the new input source.
1207: | */
1.1.1.1.2.2 misho 1208: | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1209: | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1210: | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1.1 misho 1211: | }
1212: |
1213: | /* Note that here we test for yy_c_buf_p "<=" to the position
1214: | * of the first EOB in the buffer, since yy_c_buf_p will
1215: | * already have been incremented past the NUL character
1216: | * (since all states make transitions on EOB to the
1217: | * end-of-buffer state). Contrast this with the test
1218: | * in input().
1219: | */
1.1.1.1.2.2 misho 1220: | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1.1 misho 1221: | { /* This was really a NUL. */
1222: | yy_state_type yy_next_state;
1223: |
1.1.1.1.2.2 misho 1224: | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1.1 misho 1225: |
1.1.1.1.2.2 misho 1226: | yy_current_state = yy_get_previous_state( );
1.1 misho 1227: |
1228: | /* Okay, we're now positioned to make the NUL
1229: | * transition. We couldn't have
1230: | * yy_get_previous_state() go ahead and do it
1231: | * for us because it doesn't know how to deal
1232: | * with the possibility of jamming (and we don't
1233: | * want to build jamming into it because then it
1234: | * will run more slowly).
1235: | */
1236: |
1237: | yy_next_state = yy_try_NUL_trans( yy_current_state );
1238: |
1.1.1.1.2.2 misho 1239: | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1.1 misho 1240: |
1241: | if ( yy_next_state )
1242: | {
1243: | /* Consume the NUL. */
1.1.1.1.2.2 misho 1244: | yy_cp = ++(yy_c_buf_p);
1.1 misho 1245: | yy_current_state = yy_next_state;
1246: | goto yy_match;
1247: | }
1248: |
1249: | else
1250: | {
1.1.1.1.2.2 misho 1251: | yy_cp = (yy_c_buf_p);
1.1 misho 1252: | goto yy_find_action;
1253: | }
1254: | }
1255: |
1.1.1.1.2.2 misho 1256: | else switch ( yy_get_next_buffer( ) )
1.1 misho 1257: | {
1258: | case EOB_ACT_END_OF_FILE:
1259: | {
1.1.1.1.2.2 misho 1260: | (yy_did_buffer_switch_on_eof) = 0;
1.1 misho 1261: |
1.1.1.1.2.2 misho 1262: | if ( yywrap( ) )
1.1 misho 1263: | {
1264: | /* Note: because we've taken care in
1265: | * yy_get_next_buffer() to have set up
1266: | * yytext, we can now set up
1267: | * yy_c_buf_p so that if some total
1268: | * hoser (like flex itself) wants to
1269: | * call the scanner after we return the
1270: | * YY_NULL, it'll still work - another
1271: | * YY_NULL will get returned.
1272: | */
1.1.1.1.2.2 misho 1273: | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1.1 misho 1274: |
1275: | yy_act = YY_STATE_EOF(YY_START);
1276: | goto do_action;
1277: | }
1278: |
1279: | else
1280: | {
1.1.1.1.2.2 misho 1281: | if ( ! (yy_did_buffer_switch_on_eof) )
1.1 misho 1282: | YY_NEW_FILE;
1283: | }
1284: | break;
1285: | }
1286: |
1287: | case EOB_ACT_CONTINUE_SCAN:
1.1.1.1.2.2 misho 1288: | (yy_c_buf_p) =
1289: | (yytext_ptr) + yy_amount_of_matched_text;
1.1 misho 1290: |
1.1.1.1.2.2 misho 1291: | yy_current_state = yy_get_previous_state( );
1.1 misho 1292: |
1.1.1.1.2.2 misho 1293: | yy_cp = (yy_c_buf_p);
1294: | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1.1 misho 1295: | goto yy_match;
1296: |
1297: | case EOB_ACT_LAST_MATCH:
1.1.1.1.2.2 misho 1298: | (yy_c_buf_p) =
1299: | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1.1 misho 1300: |
1.1.1.1.2.2 misho 1301: | yy_current_state = yy_get_previous_state( );
1.1 misho 1302: |
1.1.1.1.2.2 misho 1303: | yy_cp = (yy_c_buf_p);
1304: | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1.1 misho 1305: | goto yy_find_action;
1306: | }
1307: | break;
1308: | }
1309: |
1310: | default:
1311: | YY_FATAL_ERROR(
1312: | "fatal flex scanner internal error--no action found" );
1313: | } /* end of action switch */
1314: | } /* end of scanning one token */
1.1.1.1.2.2 misho 1315: | } /* end of yylex */
1.1 misho 1316: |
1317: | /* yy_get_next_buffer - try to read in a new buffer
1318: | *
1319: | * Returns a code representing an action:
1320: | * EOB_ACT_LAST_MATCH -
1321: | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1322: | * EOB_ACT_END_OF_FILE - end of file
1323: | */
1.1.1.1.2.2 misho 1324: | static int yy_get_next_buffer (void)
1325: | {
1326: | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1327: | char *source = (yytext_ptr);
1.1 misho 1328: | int number_to_move, i;
1329: | int ret_val;
1330: |
1.1.1.1.2.2 misho 1331: | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1.1 misho 1332: | YY_FATAL_ERROR(
1333: | "fatal flex scanner internal error--end of buffer missed" );
1334: |
1.1.1.1.2.2 misho 1335: | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1.1 misho 1336: | { /* Don't try to fill the buffer, so this is an EOF. */
1.1.1.1.2.2 misho 1337: | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1.1 misho 1338: | {
1339: | /* We matched a single character, the EOB, so
1340: | * treat this as a final EOF.
1341: | */
1342: | return EOB_ACT_END_OF_FILE;
1343: | }
1344: |
1345: | else
1346: | {
1347: | /* We matched some text prior to the EOB, first
1348: | * process it.
1349: | */
1350: | return EOB_ACT_LAST_MATCH;
1351: | }
1352: | }
1353: |
1354: | /* Try to read more data. */
1355: |
1356: | /* First move last chars to start of buffer. */
1.1.1.1.2.2 misho 1357: | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1.1 misho 1358: |
1359: | for ( i = 0; i < number_to_move; ++i )
1360: | *(dest++) = *(source++);
1361: |
1.1.1.1.2.2 misho 1362: | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1.1 misho 1363: | /* don't do the read, it's not guaranteed to return an EOF,
1364: | * just force an EOF
1365: | */
1.1.1.1.2.2 misho 1366: | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1.1 misho 1367: |
1368: | else
1369: | {
1.1.1.1.2.2 misho 1370: | yy_size_t num_to_read =
1371: | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1.1 misho 1372: |
1373: | while ( num_to_read <= 0 )
1374: | { /* Not enough room in the buffer - grow it. */
1.1.1.1.2.2 misho 1375: |
1.1 misho 1376: | YY_FATAL_ERROR(
1377: | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1378: |
1379: | }
1380: |
1381: | if ( num_to_read > YY_READ_BUF_SIZE )
1382: | num_to_read = YY_READ_BUF_SIZE;
1383: |
1384: | /* Read in more data. */
1.1.1.1.2.2 misho 1385: | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1386: | (yy_n_chars), num_to_read );
1.1 misho 1387: |
1.1.1.1.2.2 misho 1388: | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1.1 misho 1389: | }
1390: |
1.1.1.1.2.2 misho 1391: | if ( (yy_n_chars) == 0 )
1.1 misho 1392: | {
1393: | if ( number_to_move == YY_MORE_ADJ )
1394: | {
1395: | ret_val = EOB_ACT_END_OF_FILE;
1.1.1.1.2.2 misho 1396: | yyrestart(yyin );
1.1 misho 1397: | }
1398: |
1399: | else
1400: | {
1401: | ret_val = EOB_ACT_LAST_MATCH;
1.1.1.1.2.2 misho 1402: | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1.1 misho 1403: | YY_BUFFER_EOF_PENDING;
1404: | }
1405: | }
1406: |
1407: | else
1408: | ret_val = EOB_ACT_CONTINUE_SCAN;
1409: |
1.1.1.1.2.2 misho 1410: | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1411: | /* Extend the array by 50%, plus the number we really need. */
1412: | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1413: | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
1414: | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1415: | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1416: | }
1.1 misho 1417: |
1.1.1.1.2.2 misho 1418: | (yy_n_chars) += number_to_move;
1419: | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1420: | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1.1 misho 1421: |
1.1.1.1.2.2 misho 1422: | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1.1 misho 1423: |
1.1.1.1.2.2 misho 1424: | return ret_val;
1425: | }
1.1 misho 1426: |
1427: | /* yy_get_previous_state - get the state just before the EOB char was reached */
1428: |
1.1.1.1.2.2 misho 1429: | static yy_state_type yy_get_previous_state (void)
1430: | {
1.1 misho 1431: | yy_state_type yy_current_state;
1432: | char *yy_cp;
1.1.1.1.2.2 misho 1433: |
1434: | yy_current_state = (yy_start);
1.1 misho 1435: |
1.1.1.1.2.2 misho 1436: | (yy_state_ptr) = (yy_state_buf);
1437: | *(yy_state_ptr)++ = yy_current_state;
1.1 misho 1438: |
1.1.1.1.2.2 misho 1439: | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1.1 misho 1440: | {
1441: | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1442: | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1443: | {
1444: | yy_current_state = (int) yy_def[yy_current_state];
1445: | if ( yy_current_state >= 13 )
1446: | yy_c = yy_meta[(unsigned int) yy_c];
1447: | }
1448: | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1.1.1.1.2.2 misho 1449: | *(yy_state_ptr)++ = yy_current_state;
1.1 misho 1450: | }
1451: |
1452: | return yy_current_state;
1.1.1.1.2.2 misho 1453: | }
1.1 misho 1454: |
1455: | /* yy_try_NUL_trans - try to make a transition on the NUL character
1456: | *
1457: | * synopsis
1458: | * next_state = yy_try_NUL_trans( current_state );
1459: | */
1.1.1.1.2.2 misho 1460: | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1461: | {
1.1 misho 1462: | int yy_is_jam;
1.1.1.1.2.2 misho 1463: |
1.1 misho 1464: | YY_CHAR yy_c = 1;
1465: | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1466: | {
1467: | yy_current_state = (int) yy_def[yy_current_state];
1468: | if ( yy_current_state >= 13 )
1469: | yy_c = yy_meta[(unsigned int) yy_c];
1470: | }
1471: | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1472: | yy_is_jam = (yy_current_state == 12);
1473: | if ( ! yy_is_jam )
1.1.1.1.2.2 misho 1474: | *(yy_state_ptr)++ = yy_current_state;
1.1 misho 1475: |
1.1.1.1.2.2 misho 1476: | return yy_is_jam ? 0 : yy_current_state;
1477: | }
1.1 misho 1478: |
1479: | #ifndef YY_NO_UNPUT
1.1.1.1.2.2 misho 1480: | static void yyunput (int c, char * yy_bp )
1481: | {
1482: | char *yy_cp;
1483: |
1484: | yy_cp = (yy_c_buf_p);
1.1 misho 1485: |
1486: | /* undo effects of setting up yytext */
1.1.1.1.2.2 misho 1487: | *yy_cp = (yy_hold_char);
1.1 misho 1488: |
1.1.1.1.2.2 misho 1489: | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1.1 misho 1490: | { /* need to shift things up to make room */
1491: | /* +2 for EOB chars. */
1.1.1.1.2.2 misho 1492: | yy_size_t number_to_move = (yy_n_chars) + 2;
1493: | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1494: | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1.1 misho 1495: | char *source =
1.1.1.1.2.2 misho 1496: | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1.1 misho 1497: |
1.1.1.1.2.2 misho 1498: | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1.1 misho 1499: | *--dest = *--source;
1500: |
1501: | yy_cp += (int) (dest - source);
1502: | yy_bp += (int) (dest - source);
1.1.1.1.2.2 misho 1503: | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1504: | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1.1 misho 1505: |
1.1.1.1.2.2 misho 1506: | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1.1 misho 1507: | YY_FATAL_ERROR( "flex scanner push-back overflow" );
1508: | }
1509: |
1510: | *--yy_cp = (char) c;
1511: |
1.1.1.1.2.2 misho 1512: | (yytext_ptr) = yy_bp;
1513: | (yy_hold_char) = *yy_cp;
1514: | (yy_c_buf_p) = yy_cp;
1515: | }
1.1 misho 1516: | #endif /* ifndef YY_NO_UNPUT */
1517: |
1518: | #ifndef YY_NO_INPUT
1519: | #ifdef __cplusplus
1.1.1.1.2.2 misho 1520: | static int yyinput (void)
1.1 misho 1521: | #else
1.1.1.1.2.2 misho 1522: | static int input (void)
1.1 misho 1523: | #endif
1524: |
1.1.1.1.2.2 misho 1525: | {
1526: | int c;
1527: |
1528: | *(yy_c_buf_p) = (yy_hold_char);
1.1 misho 1529: |
1.1.1.1.2.2 misho 1530: | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1.1 misho 1531: | {
1532: | /* yy_c_buf_p now points to the character we want to return.
1533: | * If this occurs *before* the EOB characters, then it's a
1534: | * valid NUL; if not, then we've hit the end of the buffer.
1535: | */
1.1.1.1.2.2 misho 1536: | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1.1 misho 1537: | /* This was really a NUL. */
1.1.1.1.2.2 misho 1538: | *(yy_c_buf_p) = '\0';
1.1 misho 1539: |
1540: | else
1541: | { /* need more input */
1.1.1.1.2.2 misho 1542: | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
1543: | ++(yy_c_buf_p);
1.1 misho 1544: |
1.1.1.1.2.2 misho 1545: | switch ( yy_get_next_buffer( ) )
1.1 misho 1546: | {
1547: | case EOB_ACT_LAST_MATCH:
1548: | /* This happens because yy_g_n_b()
1549: | * sees that we've accumulated a
1550: | * token and flags that we need to
1551: | * try matching the token before
1552: | * proceeding. But for input(),
1553: | * there's no matching to consider.
1554: | * So convert the EOB_ACT_LAST_MATCH
1555: | * to EOB_ACT_END_OF_FILE.
1556: | */
1557: |
1558: | /* Reset buffer status. */
1.1.1.1.2.2 misho 1559: | yyrestart(yyin );
1.1 misho 1560: |
1.1.1.1.2.2 misho 1561: | /*FALLTHROUGH*/
1.1 misho 1562: |
1563: | case EOB_ACT_END_OF_FILE:
1564: | {
1.1.1.1.2.2 misho 1565: | if ( yywrap( ) )
1.1 misho 1566: | return EOF;
1567: |
1.1.1.1.2.2 misho 1568: | if ( ! (yy_did_buffer_switch_on_eof) )
1.1 misho 1569: | YY_NEW_FILE;
1570: | #ifdef __cplusplus
1571: | return yyinput();
1572: | #else
1573: | return input();
1574: | #endif
1575: | }
1576: |
1577: | case EOB_ACT_CONTINUE_SCAN:
1.1.1.1.2.2 misho 1578: | (yy_c_buf_p) = (yytext_ptr) + offset;
1.1 misho 1579: | break;
1580: | }
1581: | }
1582: | }
1583: |
1.1.1.1.2.2 misho 1584: | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1585: | *(yy_c_buf_p) = '\0'; /* preserve yytext */
1586: | (yy_hold_char) = *++(yy_c_buf_p);
1.1 misho 1587: |
1588: | return c;
1.1.1.1.2.2 misho 1589: | }
1.1 misho 1590: | #endif /* ifndef YY_NO_INPUT */
1591: |
1.1.1.1.2.2 misho 1592: | /** Immediately switch to a different input stream.
1593: | * @param input_file A readable stream.
1594: | *
1595: | * @note This function does not reset the start condition to @c INITIAL .
1596: | */
1597: | void yyrestart (FILE * input_file )
1598: | {
1599: |
1600: | if ( ! YY_CURRENT_BUFFER ){
1601: | yyensure_buffer_stack ();
1602: | YY_CURRENT_BUFFER_LVALUE =
1603: | yy_create_buffer(yyin,YY_BUF_SIZE );
1.1 misho 1604: | }
1605: |
1.1.1.1.2.2 misho 1606: | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
1607: | yy_load_buffer_state( );
1608: | }
1.1 misho 1609: |
1.1.1.1.2.2 misho 1610: | /** Switch to a different input buffer.
1611: | * @param new_buffer The new input buffer.
1612: | *
1613: | */
1614: | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1615: | {
1616: |
1617: | /* TODO. We should be able to replace this entire function body
1618: | * with
1619: | * yypop_buffer_state();
1620: | * yypush_buffer_state(new_buffer);
1621: | */
1622: | yyensure_buffer_stack ();
1623: | if ( YY_CURRENT_BUFFER == new_buffer )
1.1 misho 1624: | return;
1625: |
1.1.1.1.2.2 misho 1626: | if ( YY_CURRENT_BUFFER )
1.1 misho 1627: | {
1628: | /* Flush out information for old buffer. */
1.1.1.1.2.2 misho 1629: | *(yy_c_buf_p) = (yy_hold_char);
1630: | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1631: | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1.1 misho 1632: | }
1633: |
1.1.1.1.2.2 misho 1634: | YY_CURRENT_BUFFER_LVALUE = new_buffer;
1635: | yy_load_buffer_state( );
1.1 misho 1636: |
1637: | /* We don't actually know whether we did this switch during
1638: | * EOF (yywrap()) processing, but the only time this flag
1639: | * is looked at is after yywrap() is called, so it's safe
1640: | * to go ahead and always set it.
1641: | */
1.1.1.1.2.2 misho 1642: | (yy_did_buffer_switch_on_eof) = 1;
1643: | }
1.1 misho 1644: |
1.1.1.1.2.2 misho 1645: | static void yy_load_buffer_state (void)
1646: | {
1647: | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1648: | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1649: | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1650: | (yy_hold_char) = *(yy_c_buf_p);
1651: | }
1.1 misho 1652: |
1.1.1.1.2.2 misho 1653: | /** Allocate and initialize an input buffer state.
1654: | * @param file A readable stream.
1655: | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1656: | *
1657: | * @return the allocated buffer state.
1658: | */
1659: | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1660: | {
1.1 misho 1661: | YY_BUFFER_STATE b;
1.1.1.1.2.2 misho 1662: |
1663: | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
1.1 misho 1664: | if ( ! b )
1665: | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1666: |
1667: | b->yy_buf_size = size;
1668: |
1669: | /* yy_ch_buf has to be 2 characters longer than the size given because
1670: | * we need to put in 2 end-of-buffer characters.
1671: | */
1.1.1.1.2.2 misho 1672: | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
1.1 misho 1673: | if ( ! b->yy_ch_buf )
1674: | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1675: |
1676: | b->yy_is_our_buffer = 1;
1677: |
1.1.1.1.2.2 misho 1678: | yy_init_buffer(b,file );
1.1 misho 1679: |
1680: | return b;
1.1.1.1.2.2 misho 1681: | }
1.1 misho 1682: |
1.1.1.1.2.2 misho 1683: | /** Destroy the buffer.
1684: | * @param b a buffer created with yy_create_buffer()
1685: | *
1686: | */
1687: | void yy_delete_buffer (YY_BUFFER_STATE b )
1688: | {
1689: |
1.1 misho 1690: | if ( ! b )
1691: | return;
1692: |
1.1.1.1.2.2 misho 1693: | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1694: | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1.1 misho 1695: |
1696: | if ( b->yy_is_our_buffer )
1.1.1.1.2.2 misho 1697: | yyfree((void *) b->yy_ch_buf );
1.1 misho 1698: |
1.1.1.1.2.2 misho 1699: | yyfree((void *) b );
1700: | }
1.1 misho 1701: |
1.1.1.1.2.2 misho 1702: | /* Initializes or reinitializes a buffer.
1703: | * This function is sometimes called more than once on the same buffer,
1704: | * such as during a yyrestart() or at EOF.
1705: | */
1706: | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
1.1 misho 1707: |
1.1.1.1.2.2 misho 1708: | {
1709: | int oerrno = errno;
1710: |
1711: | yy_flush_buffer(b );
1.1 misho 1712: |
1713: | b->yy_input_file = file;
1714: | b->yy_fill_buffer = 1;
1715: |
1.1.1.1.2.2 misho 1716: | /* If b is the current buffer, then yy_init_buffer was _probably_
1717: | * called from yyrestart() or through yy_get_next_buffer.
1718: | * In that case, we don't want to reset the lineno or column.
1719: | */
1720: | if (b != YY_CURRENT_BUFFER){
1721: | b->yy_bs_lineno = 1;
1722: | b->yy_bs_column = 0;
1723: | }
1724: |
1725: | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1726: |
1727: | errno = oerrno;
1728: | }
1.1 misho 1729: |
1.1.1.1.2.2 misho 1730: | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1731: | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1732: | *
1733: | */
1734: | void yy_flush_buffer (YY_BUFFER_STATE b )
1735: | {
1736: | if ( ! b )
1.1 misho 1737: | return;
1738: |
1739: | b->yy_n_chars = 0;
1740: |
1741: | /* We always need two end-of-buffer characters. The first causes
1742: | * a transition to the end-of-buffer state. The second causes
1743: | * a jam in that state.
1744: | */
1745: | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1746: | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1747: |
1748: | b->yy_buf_pos = &b->yy_ch_buf[0];
1749: |
1750: | b->yy_at_bol = 1;
1751: | b->yy_buffer_status = YY_BUFFER_NEW;
1752: |
1.1.1.1.2.2 misho 1753: | if ( b == YY_CURRENT_BUFFER )
1754: | yy_load_buffer_state( );
1755: | }
1756: |
1757: | /** Pushes the new state onto the stack. The new state becomes
1758: | * the current state. This function will allocate the stack
1759: | * if necessary.
1760: | * @param new_buffer The new state.
1761: | *
1762: | */
1763: | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1764: | {
1765: | if (new_buffer == NULL)
1766: | return;
1767: |
1768: | yyensure_buffer_stack();
1769: |
1770: | /* This block is copied from yy_switch_to_buffer. */
1771: | if ( YY_CURRENT_BUFFER )
1772: | {
1773: | /* Flush out information for old buffer. */
1774: | *(yy_c_buf_p) = (yy_hold_char);
1775: | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1776: | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1777: | }
1778: |
1779: | /* Only push if top exists. Otherwise, replace top. */
1780: | if (YY_CURRENT_BUFFER)
1781: | (yy_buffer_stack_top)++;
1782: | YY_CURRENT_BUFFER_LVALUE = new_buffer;
1783: |
1784: | /* copied from yy_switch_to_buffer. */
1785: | yy_load_buffer_state( );
1786: | (yy_did_buffer_switch_on_eof) = 1;
1787: | }
1788: |
1789: | /** Removes and deletes the top of the stack, if present.
1790: | * The next element becomes the new top.
1791: | *
1792: | */
1793: | void yypop_buffer_state (void)
1794: | {
1795: | if (!YY_CURRENT_BUFFER)
1796: | return;
1797: |
1798: | yy_delete_buffer(YY_CURRENT_BUFFER );
1799: | YY_CURRENT_BUFFER_LVALUE = NULL;
1800: | if ((yy_buffer_stack_top) > 0)
1801: | --(yy_buffer_stack_top);
1802: |
1803: | if (YY_CURRENT_BUFFER) {
1804: | yy_load_buffer_state( );
1805: | (yy_did_buffer_switch_on_eof) = 1;
1806: | }
1807: | }
1808: |
1809: | /* Allocates the stack if it does not exist.
1810: | * Guarantees space for at least one push.
1811: | */
1812: | static void yyensure_buffer_stack (void)
1813: | {
1814: | yy_size_t num_to_alloc;
1815: |
1816: | if (!(yy_buffer_stack)) {
1817: |
1818: | /* First allocation is just for 2 elements, since we don't know if this
1819: | * scanner will even need a stack. We use 2 instead of 1 to avoid an
1820: | * immediate realloc on the next call.
1821: | */
1822: | num_to_alloc = 1;
1823: | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1824: | (num_to_alloc * sizeof(struct yy_buffer_state*)
1825: | );
1826: | if ( ! (yy_buffer_stack) )
1827: | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1828: |
1829: | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1830: |
1831: | (yy_buffer_stack_max) = num_to_alloc;
1832: | (yy_buffer_stack_top) = 0;
1833: | return;
1.1 misho 1834: | }
1835: |
1.1.1.1.2.2 misho 1836: | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1.1 misho 1837: |
1.1.1.1.2.2 misho 1838: | /* Increase the buffer to prepare for a possible push. */
1839: | int grow_size = 8 /* arbitrary grow size */;
1.1 misho 1840: |
1.1.1.1.2.2 misho 1841: | num_to_alloc = (yy_buffer_stack_max) + grow_size;
1842: | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1843: | ((yy_buffer_stack),
1844: | num_to_alloc * sizeof(struct yy_buffer_state*)
1845: | );
1846: | if ( ! (yy_buffer_stack) )
1847: | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1848: |
1849: | /* zero only the new slots.*/
1850: | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1851: | (yy_buffer_stack_max) = num_to_alloc;
1852: | }
1853: | }
1854: |
1855: | /** Setup the input buffer state to scan directly from a user-specified character buffer.
1856: | * @param base the character buffer
1857: | * @param size the size in bytes of the character buffer
1858: | *
1859: | * @return the newly allocated buffer state object.
1860: | */
1861: | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
1862: | {
1863: | YY_BUFFER_STATE b;
1864: |
1.1 misho 1865: | if ( size < 2 ||
1866: | base[size-2] != YY_END_OF_BUFFER_CHAR ||
1867: | base[size-1] != YY_END_OF_BUFFER_CHAR )
1868: | /* They forgot to leave room for the EOB's. */
1869: | return 0;
1870: |
1.1.1.1.2.2 misho 1871: | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
1.1 misho 1872: | if ( ! b )
1873: | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1874: |
1875: | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
1876: | b->yy_buf_pos = b->yy_ch_buf = base;
1877: | b->yy_is_our_buffer = 0;
1878: | b->yy_input_file = 0;
1879: | b->yy_n_chars = b->yy_buf_size;
1880: | b->yy_is_interactive = 0;
1881: | b->yy_at_bol = 1;
1882: | b->yy_fill_buffer = 0;
1883: | b->yy_buffer_status = YY_BUFFER_NEW;
1884: |
1.1.1.1.2.2 misho 1885: | yy_switch_to_buffer(b );
1.1 misho 1886: |
1887: | return b;
1.1.1.1.2.2 misho 1888: | }
1.1 misho 1889: |
1.1.1.1.2.2 misho 1890: | /** Setup the input buffer state to scan a string. The next call to yylex() will
1891: | * scan from a @e copy of @a str.
1892: | * @param yystr a NUL-terminated string to scan
1893: | *
1894: | * @return the newly allocated buffer state object.
1895: | * @note If you want to scan bytes that may contain NUL values, then use
1896: | * yy_scan_bytes() instead.
1897: | */
1898: | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
1899: | {
1900: |
1901: | return yy_scan_bytes(yystr,strlen(yystr) );
1902: | }
1.1 misho 1903: |
1.1.1.1.2.2 misho 1904: | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1905: | * scan from a @e copy of @a bytes.
1906: | * @param yybytes the byte buffer to scan
1907: | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
1908: | *
1909: | * @return the newly allocated buffer state object.
1910: | */
1911: | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
1912: | {
1.1 misho 1913: | YY_BUFFER_STATE b;
1914: | char *buf;
1915: | yy_size_t n;
1.1.1.1.2.2 misho 1916: | yy_size_t i;
1917: |
1.1 misho 1918: | /* Get memory for full buffer, including space for trailing EOB's. */
1.1.1.1.2.2 misho 1919: | n = _yybytes_len + 2;
1920: | buf = (char *) yyalloc(n );
1.1 misho 1921: | if ( ! buf )
1922: | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1923: |
1.1.1.1.2.2 misho 1924: | for ( i = 0; i < _yybytes_len; ++i )
1925: | buf[i] = yybytes[i];
1.1 misho 1926: |
1.1.1.1.2.2 misho 1927: | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1.1 misho 1928: |
1.1.1.1.2.2 misho 1929: | b = yy_scan_buffer(buf,n );
1.1 misho 1930: | if ( ! b )
1931: | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1932: |
1933: | /* It's okay to grow etc. this buffer, and we should throw it
1934: | * away when we're done.
1935: | */
1936: | b->yy_is_our_buffer = 1;
1937: |
1938: | return b;
1.1.1.1.2.2 misho 1939: | }
1.1 misho 1940: |
1.1.1.1.2.2 misho 1941: | #ifndef YY_EXIT_FAILURE
1942: | #define YY_EXIT_FAILURE 2
1.1 misho 1943: | #endif
1944: |
1.1.1.1.2.2 misho 1945: | static void yy_fatal_error (yyconst char* msg )
1946: | {
1947: | (void) fprintf( stderr, "%s\n", msg );
1948: | exit( YY_EXIT_FAILURE );
1949: | }
1950: |
1951: | /* Redefine yyless() so it works in section 3 code. */
1.1 misho 1952: |
1.1.1.1.2.2 misho 1953: | #undef yyless
1954: | #define yyless(n) \
1955: | do \
1956: | { \
1957: | /* Undo effects of setting up yytext. */ \
1958: | int yyless_macro_arg = (n); \
1959: | YY_LESS_LINENO(yyless_macro_arg);\
1960: | yytext[yyleng] = (yy_hold_char); \
1961: | (yy_c_buf_p) = yytext + yyless_macro_arg; \
1962: | (yy_hold_char) = *(yy_c_buf_p); \
1963: | *(yy_c_buf_p) = '\0'; \
1964: | yyleng = yyless_macro_arg; \
1965: | } \
1966: | while ( 0 )
1.1 misho 1967: |
1.1.1.1.2.2 misho 1968: | /* Accessor methods (get/set functions) to struct members. */
1.1 misho 1969: |
1.1.1.1.2.2 misho 1970: | /** Get the current line number.
1971: | *
1972: | */
1973: | int yyget_lineno (void)
1974: | {
1975: |
1976: | return yylineno;
1977: | }
1.1 misho 1978: |
1.1.1.1.2.2 misho 1979: | /** Get the input stream.
1980: | *
1981: | */
1982: | FILE *yyget_in (void)
1983: | {
1984: | return yyin;
1985: | }
1.1 misho 1986: |
1.1.1.1.2.2 misho 1987: | /** Get the output stream.
1988: | *
1989: | */
1990: | FILE *yyget_out (void)
1991: | {
1992: | return yyout;
1993: | }
1.1 misho 1994: |
1.1.1.1.2.2 misho 1995: | /** Get the length of the current token.
1996: | *
1997: | */
1998: | yy_size_t yyget_leng (void)
1999: | {
2000: | return yyleng;
2001: | }
1.1 misho 2002: |
1.1.1.1.2.2 misho 2003: | /** Get the current token.
2004: | *
2005: | */
1.1 misho 2006: |
1.1.1.1.2.2 misho 2007: | char *yyget_text (void)
2008: | {
2009: | return yytext;
2010: | }
1.1 misho 2011: |
1.1.1.1.2.2 misho 2012: | /** Set the current line number.
2013: | * @param line_number
2014: | *
2015: | */
2016: | void yyset_lineno (int line_number )
2017: | {
2018: |
2019: | yylineno = line_number;
2020: | }
1.1 misho 2021: |
1.1.1.1.2.2 misho 2022: | /** Set the input stream. This does not discard the current
2023: | * input buffer.
2024: | * @param in_str A readable stream.
2025: | *
2026: | * @see yy_switch_to_buffer
2027: | */
2028: | void yyset_in (FILE * in_str )
2029: | {
2030: | yyin = in_str ;
2031: | }
1.1 misho 2032: |
1.1.1.1.2.2 misho 2033: | void yyset_out (FILE * out_str )
2034: | {
2035: | yyout = out_str ;
2036: | }
1.1 misho 2037: |
1.1.1.1.2.2 misho 2038: | int yyget_debug (void)
2039: | {
2040: | return yy_flex_debug;
2041: | }
1.1 misho 2042: |
1.1.1.1.2.2 misho 2043: | void yyset_debug (int bdebug )
2044: | {
2045: | yy_flex_debug = bdebug ;
2046: | }
1.1 misho 2047: |
1.1.1.1.2.2 misho 2048: | static int yy_init_globals (void)
2049: | {
2050: | /* Initialization is the same as for the non-reentrant scanner.
2051: | * This function is called from yylex_destroy(), so don't allocate here.
2052: | */
2053: |
2054: | (yy_buffer_stack) = 0;
2055: | (yy_buffer_stack_top) = 0;
2056: | (yy_buffer_stack_max) = 0;
2057: | (yy_c_buf_p) = (char *) 0;
2058: | (yy_init) = 0;
2059: | (yy_start) = 0;
2060: |
2061: | (yy_state_buf) = 0;
2062: | (yy_state_ptr) = 0;
2063: | (yy_full_match) = 0;
2064: | (yy_lp) = 0;
2065: |
2066: | /* Defined in main.c */
2067: | #ifdef YY_STDINIT
2068: | yyin = stdin;
2069: | yyout = stdout;
2070: | #else
2071: | yyin = (FILE *) 0;
2072: | yyout = (FILE *) 0;
2073: | #endif
2074: |
2075: | /* For future reference: Set errno on error, since we are called by
2076: | * yylex_init()
2077: | */
2078: | return 0;
2079: | }
1.1 misho 2080: |
1.1.1.1.2.2 misho 2081: | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2082: | int yylex_destroy (void)
2083: | {
2084: |
2085: | /* Pop the buffer stack, destroying each element. */
2086: | while(YY_CURRENT_BUFFER){
2087: | yy_delete_buffer(YY_CURRENT_BUFFER );
2088: | YY_CURRENT_BUFFER_LVALUE = NULL;
2089: | yypop_buffer_state();
2090: | }
1.1 misho 2091: |
1.1.1.1.2.2 misho 2092: | /* Destroy the stack itself. */
2093: | yyfree((yy_buffer_stack) );
2094: | (yy_buffer_stack) = NULL;
2095: |
2096: | yyfree ( (yy_state_buf) );
2097: | (yy_state_buf) = NULL;
2098: |
2099: | /* Reset the globals. This is important in a non-reentrant scanner so the next time
2100: | * yylex() is called, initialization will occur. */
2101: | yy_init_globals( );
1.1 misho 2102: |
1.1.1.1.2.2 misho 2103: | return 0;
2104: | }
1.1 misho 2105: |
1.1.1.1.2.2 misho 2106: | /*
2107: | * Internal utility routines.
2108: | */
1.1 misho 2109: |
2110: | #ifndef yytext_ptr
1.1.1.1.2.2 misho 2111: | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2112: | {
1.1 misho 2113: | int i;
2114: | for ( i = 0; i < n; ++i )
2115: | s1[i] = s2[i];
1.1.1.1.2.2 misho 2116: | }
1.1 misho 2117: | #endif
2118: |
2119: | #ifdef YY_NEED_STRLEN
1.1.1.1.2.2 misho 2120: | static int yy_flex_strlen (yyconst char * s )
2121: | {
1.1 misho 2122: | int n;
2123: | for ( n = 0; s[n]; ++n )
2124: | ;
2125: |
2126: | return n;
1.1.1.1.2.2 misho 2127: | }
1.1 misho 2128: | #endif
2129: |
1.1.1.1.2.2 misho 2130: | void *yyalloc (yy_size_t size )
2131: | {
1.1 misho 2132: | return (void *) malloc( size );
1.1.1.1.2.2 misho 2133: | }
1.1 misho 2134: |
1.1.1.1.2.2 misho 2135: | void *yyrealloc (void * ptr, yy_size_t size )
2136: | {
1.1 misho 2137: | /* The cast to (char *) in the following accommodates both
2138: | * implementations that use char* generic pointers, and those
2139: | * that use void* generic pointers. It works with the latter
2140: | * because both ANSI C and C++ allow castless assignment from
2141: | * any pointer type to void*, and deal with argument conversions
2142: | * as though doing an assignment.
2143: | */
2144: | return (void *) realloc( (char *) ptr, size );
1.1.1.1.2.2 misho 2145: | }
1.1 misho 2146: |
1.1.1.1.2.2 misho 2147: | void yyfree (void * ptr )
2148: | {
2149: | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2150: | }
2151: |
2152: | #define YYTABLES_NAME "yytables"
1.1 misho 2153: |
1.1.1.1.2.3.2 1(misho 2154:4): | #line 10 "conftest.l"
1.1 misho 2155: |
1.1.1.1.2.2 misho 2156: |
1.1 misho 2157: | #ifdef YYTEXT_POINTER
2158: | extern char *yytext;
2159: | #endif
2160: | int
2161: | main (void)
2162: | {
2163: | return ! yylex () + ! yywrap ();
2164: | }
1.1.1.1.2.3.2 1(misho 2165:4): configure:11765: cc -o conftest -g -O2 conftest.c -lfl >&5
2166:4): configure:11765: $? = 0
2167:4): configure:11775: result: -lfl
2168:4): configure:11781: checking whether yytext is a pointer
2169:4): configure:11798: cc -o conftest -g -O2 conftest.c -lfl >&5
2170:4): configure:11798: $? = 0
2171:4): configure:11806: result: yes
2172:4): configure:11820: checking for egrep
2173:4): configure:11882: result: /usr/bin/grep -E
2174:4): configure:11909: checking net/pfkeyv2.h usability
2175:4): configure:11909: cc -c -g -O2 conftest.c >&5
2176:4): configure:11909: $? = 0
2177:4): configure:11909: result: yes
2178:4): configure:11909: checking net/pfkeyv2.h presence
2179:4): configure:11909: cpp conftest.c
2180:4): configure:11909: $? = 0
2181:4): configure:11909: result: yes
2182:4): configure:11909: checking for net/pfkeyv2.h
2183:4): configure:11909: result: yes
2184:4): configure:11917: checking netinet/ipsec.h usability
2185:4): configure:11917: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2186: conftest.c:57:10: fatal error: 'netinet/ipsec.h' file not found
2187: #include <netinet/ipsec.h>
2188: ^
2189: 1 error generated.
1.1.1.1.2.3.2 1(misho 2190:4): configure:11917: $? = 1
1.1 misho 2191: configure: failed program was:
2192: | /* confdefs.h */
2193: | #define PACKAGE_NAME "ipsec-tools"
2194: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2195:4): | #define PACKAGE_VERSION "0.8.1"
2196:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2197: | #define PACKAGE_BUGREPORT ""
2198: | #define PACKAGE_URL ""
2199: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2200:4): | #define VERSION "0.8.1"
1.1 misho 2201: | #define STDC_HEADERS 1
2202: | #define HAVE_SYS_TYPES_H 1
2203: | #define HAVE_SYS_STAT_H 1
2204: | #define HAVE_STDLIB_H 1
2205: | #define HAVE_STRING_H 1
2206: | #define HAVE_MEMORY_H 1
2207: | #define HAVE_STRINGS_H 1
2208: | #define HAVE_INTTYPES_H 1
2209: | #define HAVE_STDINT_H 1
2210: | #define HAVE_UNISTD_H 1
2211: | #define HAVE_DLFCN_H 1
2212: | #define LT_OBJDIR ".libs/"
2213: | #define YYTEXT_POINTER 1
2214: | /* end confdefs.h. */
2215: | #include <stdio.h>
2216: | #ifdef HAVE_SYS_TYPES_H
2217: | # include <sys/types.h>
2218: | #endif
2219: | #ifdef HAVE_SYS_STAT_H
2220: | # include <sys/stat.h>
2221: | #endif
2222: | #ifdef STDC_HEADERS
2223: | # include <stdlib.h>
2224: | # include <stddef.h>
2225: | #else
2226: | # ifdef HAVE_STDLIB_H
2227: | # include <stdlib.h>
2228: | # endif
2229: | #endif
2230: | #ifdef HAVE_STRING_H
2231: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2232: | # include <memory.h>
2233: | # endif
2234: | # include <string.h>
2235: | #endif
2236: | #ifdef HAVE_STRINGS_H
2237: | # include <strings.h>
2238: | #endif
2239: | #ifdef HAVE_INTTYPES_H
2240: | # include <inttypes.h>
2241: | #endif
2242: | #ifdef HAVE_STDINT_H
2243: | # include <stdint.h>
2244: | #endif
2245: | #ifdef HAVE_UNISTD_H
2246: | # include <unistd.h>
2247: | #endif
2248: | #include <netinet/ipsec.h>
1.1.1.1.2.3.2 1(misho 2249:4): configure:11917: result: no
2250:4): configure:11917: checking netinet/ipsec.h presence
2251:4): configure:11917: cpp conftest.c
1.1.1.1.2.3 misho 2252: conftest.c:24:10: fatal error: 'netinet/ipsec.h' file not found
2253: #include <netinet/ipsec.h>
2254: ^
2255: 1 error generated.
1.1.1.1.2.3.2 1(misho 2256:4): configure:11917: $? = 1
1.1 misho 2257: configure: failed program was:
2258: | /* confdefs.h */
2259: | #define PACKAGE_NAME "ipsec-tools"
2260: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2261:4): | #define PACKAGE_VERSION "0.8.1"
2262:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2263: | #define PACKAGE_BUGREPORT ""
2264: | #define PACKAGE_URL ""
2265: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2266:4): | #define VERSION "0.8.1"
1.1 misho 2267: | #define STDC_HEADERS 1
2268: | #define HAVE_SYS_TYPES_H 1
2269: | #define HAVE_SYS_STAT_H 1
2270: | #define HAVE_STDLIB_H 1
2271: | #define HAVE_STRING_H 1
2272: | #define HAVE_MEMORY_H 1
2273: | #define HAVE_STRINGS_H 1
2274: | #define HAVE_INTTYPES_H 1
2275: | #define HAVE_STDINT_H 1
2276: | #define HAVE_UNISTD_H 1
2277: | #define HAVE_DLFCN_H 1
2278: | #define LT_OBJDIR ".libs/"
2279: | #define YYTEXT_POINTER 1
2280: | /* end confdefs.h. */
2281: | #include <netinet/ipsec.h>
1.1.1.1.2.3.2 1(misho 2282:4): configure:11917: result: no
2283:4): configure:11917: checking for netinet/ipsec.h
2284:4): configure:11917: result: no
2285:4): configure:11925: checking netinet6/ipsec.h usability
2286:4): configure:11925: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2287: conftest.c:57:10: fatal error: 'netinet6/ipsec.h' file not found
2288: #include <netinet6/ipsec.h>
2289: ^
2290: 1 error generated.
1.1.1.1.2.3.2 1(misho 2291:4): configure:11925: $? = 1
1.1 misho 2292: configure: failed program was:
2293: | /* confdefs.h */
2294: | #define PACKAGE_NAME "ipsec-tools"
2295: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2296:4): | #define PACKAGE_VERSION "0.8.1"
2297:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2298: | #define PACKAGE_BUGREPORT ""
2299: | #define PACKAGE_URL ""
2300: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2301:4): | #define VERSION "0.8.1"
1.1 misho 2302: | #define STDC_HEADERS 1
2303: | #define HAVE_SYS_TYPES_H 1
2304: | #define HAVE_SYS_STAT_H 1
2305: | #define HAVE_STDLIB_H 1
2306: | #define HAVE_STRING_H 1
2307: | #define HAVE_MEMORY_H 1
2308: | #define HAVE_STRINGS_H 1
2309: | #define HAVE_INTTYPES_H 1
2310: | #define HAVE_STDINT_H 1
2311: | #define HAVE_UNISTD_H 1
2312: | #define HAVE_DLFCN_H 1
2313: | #define LT_OBJDIR ".libs/"
2314: | #define YYTEXT_POINTER 1
2315: | /* end confdefs.h. */
2316: | #include <stdio.h>
2317: | #ifdef HAVE_SYS_TYPES_H
2318: | # include <sys/types.h>
2319: | #endif
2320: | #ifdef HAVE_SYS_STAT_H
2321: | # include <sys/stat.h>
2322: | #endif
2323: | #ifdef STDC_HEADERS
2324: | # include <stdlib.h>
2325: | # include <stddef.h>
2326: | #else
2327: | # ifdef HAVE_STDLIB_H
2328: | # include <stdlib.h>
2329: | # endif
2330: | #endif
2331: | #ifdef HAVE_STRING_H
2332: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2333: | # include <memory.h>
2334: | # endif
2335: | # include <string.h>
2336: | #endif
2337: | #ifdef HAVE_STRINGS_H
2338: | # include <strings.h>
2339: | #endif
2340: | #ifdef HAVE_INTTYPES_H
2341: | # include <inttypes.h>
2342: | #endif
2343: | #ifdef HAVE_STDINT_H
2344: | # include <stdint.h>
2345: | #endif
2346: | #ifdef HAVE_UNISTD_H
2347: | # include <unistd.h>
2348: | #endif
2349: | #include <netinet6/ipsec.h>
1.1.1.1.2.3.2 1(misho 2350:4): configure:11925: result: no
2351:4): configure:11925: checking netinet6/ipsec.h presence
2352:4): configure:11925: cpp conftest.c
1.1.1.1.2.3 misho 2353: conftest.c:24:10: fatal error: 'netinet6/ipsec.h' file not found
2354: #include <netinet6/ipsec.h>
2355: ^
2356: 1 error generated.
1.1.1.1.2.3.2 1(misho 2357:4): configure:11925: $? = 1
1.1 misho 2358: configure: failed program was:
2359: | /* confdefs.h */
2360: | #define PACKAGE_NAME "ipsec-tools"
2361: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2362:4): | #define PACKAGE_VERSION "0.8.1"
2363:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2364: | #define PACKAGE_BUGREPORT ""
2365: | #define PACKAGE_URL ""
2366: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2367:4): | #define VERSION "0.8.1"
1.1 misho 2368: | #define STDC_HEADERS 1
2369: | #define HAVE_SYS_TYPES_H 1
2370: | #define HAVE_SYS_STAT_H 1
2371: | #define HAVE_STDLIB_H 1
2372: | #define HAVE_STRING_H 1
2373: | #define HAVE_MEMORY_H 1
2374: | #define HAVE_STRINGS_H 1
2375: | #define HAVE_INTTYPES_H 1
2376: | #define HAVE_STDINT_H 1
2377: | #define HAVE_UNISTD_H 1
2378: | #define HAVE_DLFCN_H 1
2379: | #define LT_OBJDIR ".libs/"
2380: | #define YYTEXT_POINTER 1
2381: | /* end confdefs.h. */
2382: | #include <netinet6/ipsec.h>
1.1.1.1.2.3.2 1(misho 2383:4): configure:11925: result: no
2384:4): configure:11925: checking for netinet6/ipsec.h
2385:4): configure:11925: result: no
2386:4): configure:11933: checking netipsec/ipsec.h usability
2387:4): configure:11933: cc -c -g -O2 conftest.c >&5
2388:4): configure:11933: $? = 0
2389:4): configure:11933: result: yes
2390:4): configure:11933: checking netipsec/ipsec.h presence
2391:4): configure:11933: cpp conftest.c
2392:4): configure:11933: $? = 0
2393:4): configure:11933: result: yes
2394:4): configure:11933: checking for netipsec/ipsec.h
2395:4): configure:11933: result: yes
2396:4): configure:12031: checking for ANSI C header files
2397:4): configure:12135: result: yes
2398:4): configure:12143: checking for sys/wait.h that is POSIX.1 compatible
2399:4): configure:12169: cc -c -g -O2 conftest.c >&5
2400:4): configure:12169: $? = 0
2401:4): configure:12176: result: yes
2402:4): configure:12187: checking limits.h usability
2403:4): configure:12187: cc -c -g -O2 conftest.c >&5
2404:4): configure:12187: $? = 0
2405:4): configure:12187: result: yes
2406:4): configure:12187: checking limits.h presence
2407:4): configure:12187: cpp conftest.c
2408:4): configure:12187: $? = 0
2409:4): configure:12187: result: yes
2410:4): configure:12187: checking for limits.h
2411:4): configure:12187: result: yes
2412:4): configure:12187: checking sys/time.h usability
2413:4): configure:12187: cc -c -g -O2 conftest.c >&5
2414:4): configure:12187: $? = 0
2415:4): configure:12187: result: yes
2416:4): configure:12187: checking sys/time.h presence
2417:4): configure:12187: cpp conftest.c
2418:4): configure:12187: $? = 0
2419:4): configure:12187: result: yes
2420:4): configure:12187: checking for sys/time.h
2421:4): configure:12187: result: yes
2422:4): configure:12187: checking for unistd.h
2423:4): configure:12187: result: yes
2424:4): configure:12187: checking stdarg.h usability
2425:4): configure:12187: cc -c -g -O2 conftest.c >&5
2426:4): configure:12187: $? = 0
2427:4): configure:12187: result: yes
2428:4): configure:12187: checking stdarg.h presence
2429:4): configure:12187: cpp conftest.c
2430:4): configure:12187: $? = 0
2431:4): configure:12187: result: yes
2432:4): configure:12187: checking for stdarg.h
2433:4): configure:12187: result: yes
2434:4): configure:12187: checking varargs.h usability
2435:4): configure:12187: cc -c -g -O2 conftest.c >&5
1.1 misho 2436: In file included from conftest.c:64:
1.1.1.1.2.3.2 1(misho 2437:4): /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:34:2: error: "<varargs.h> is obsolete with this version of GCC."
1.1.1.1.2.3 misho 2438: #error "<varargs.h> is obsolete with this version of GCC."
2439: ^
1.1.1.1.2.3.2 1(misho 2440:4): /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:35:2: error: "Change your code to use <stdarg.h> instead."
1.1.1.1.2.3 misho 2441: #error "Change your code to use <stdarg.h> instead."
2442: ^
2443: 2 errors generated.
1.1.1.1.2.3.2 1(misho 2444:4): configure:12187: $? = 1
1.1 misho 2445: configure: failed program was:
2446: | /* confdefs.h */
2447: | #define PACKAGE_NAME "ipsec-tools"
2448: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2449:4): | #define PACKAGE_VERSION "0.8.1"
2450:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2451: | #define PACKAGE_BUGREPORT ""
2452: | #define PACKAGE_URL ""
2453: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2454:4): | #define VERSION "0.8.1"
1.1 misho 2455: | #define STDC_HEADERS 1
2456: | #define HAVE_SYS_TYPES_H 1
2457: | #define HAVE_SYS_STAT_H 1
2458: | #define HAVE_STDLIB_H 1
2459: | #define HAVE_STRING_H 1
2460: | #define HAVE_MEMORY_H 1
2461: | #define HAVE_STRINGS_H 1
2462: | #define HAVE_INTTYPES_H 1
2463: | #define HAVE_STDINT_H 1
2464: | #define HAVE_UNISTD_H 1
2465: | #define HAVE_DLFCN_H 1
2466: | #define LT_OBJDIR ".libs/"
2467: | #define YYTEXT_POINTER 1
2468: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2469: | #define STDC_HEADERS 1
2470: | #define HAVE_SYS_WAIT_H 1
2471: | #define HAVE_LIMITS_H 1
2472: | #define HAVE_SYS_TIME_H 1
2473: | #define HAVE_UNISTD_H 1
2474: | #define HAVE_STDARG_H 1
2475: | /* end confdefs.h. */
2476: | #include <stdio.h>
2477: | #ifdef HAVE_SYS_TYPES_H
2478: | # include <sys/types.h>
2479: | #endif
2480: | #ifdef HAVE_SYS_STAT_H
2481: | # include <sys/stat.h>
2482: | #endif
2483: | #ifdef STDC_HEADERS
2484: | # include <stdlib.h>
2485: | # include <stddef.h>
2486: | #else
2487: | # ifdef HAVE_STDLIB_H
2488: | # include <stdlib.h>
2489: | # endif
2490: | #endif
2491: | #ifdef HAVE_STRING_H
2492: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2493: | # include <memory.h>
2494: | # endif
2495: | # include <string.h>
2496: | #endif
2497: | #ifdef HAVE_STRINGS_H
2498: | # include <strings.h>
2499: | #endif
2500: | #ifdef HAVE_INTTYPES_H
2501: | # include <inttypes.h>
2502: | #endif
2503: | #ifdef HAVE_STDINT_H
2504: | # include <stdint.h>
2505: | #endif
2506: | #ifdef HAVE_UNISTD_H
2507: | # include <unistd.h>
2508: | #endif
2509: | #include <varargs.h>
1.1.1.1.2.3.2 1(misho 2510:4): configure:12187: result: no
2511:4): configure:12187: checking varargs.h presence
2512:4): configure:12187: cpp conftest.c
1.1 misho 2513: In file included from conftest.c:31:
1.1.1.1.2.3.2 1(misho 2514:4): /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:34:2: error: "<varargs.h> is obsolete with this version of GCC."
1.1.1.1.2.3 misho 2515: #error "<varargs.h> is obsolete with this version of GCC."
2516: ^
1.1.1.1.2.3.2 1(misho 2517:4): /home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:35:2: error: "Change your code to use <stdarg.h> instead."
1.1.1.1.2.3 misho 2518: #error "Change your code to use <stdarg.h> instead."
2519: ^
2520: 2 errors generated.
1.1.1.1.2.3.2 1(misho 2521:4): configure:12187: $? = 1
1.1 misho 2522: configure: failed program was:
2523: | /* confdefs.h */
2524: | #define PACKAGE_NAME "ipsec-tools"
2525: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2526:4): | #define PACKAGE_VERSION "0.8.1"
2527:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2528: | #define PACKAGE_BUGREPORT ""
2529: | #define PACKAGE_URL ""
2530: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2531:4): | #define VERSION "0.8.1"
1.1 misho 2532: | #define STDC_HEADERS 1
2533: | #define HAVE_SYS_TYPES_H 1
2534: | #define HAVE_SYS_STAT_H 1
2535: | #define HAVE_STDLIB_H 1
2536: | #define HAVE_STRING_H 1
2537: | #define HAVE_MEMORY_H 1
2538: | #define HAVE_STRINGS_H 1
2539: | #define HAVE_INTTYPES_H 1
2540: | #define HAVE_STDINT_H 1
2541: | #define HAVE_UNISTD_H 1
2542: | #define HAVE_DLFCN_H 1
2543: | #define LT_OBJDIR ".libs/"
2544: | #define YYTEXT_POINTER 1
2545: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2546: | #define STDC_HEADERS 1
2547: | #define HAVE_SYS_WAIT_H 1
2548: | #define HAVE_LIMITS_H 1
2549: | #define HAVE_SYS_TIME_H 1
2550: | #define HAVE_UNISTD_H 1
2551: | #define HAVE_STDARG_H 1
2552: | /* end confdefs.h. */
2553: | #include <varargs.h>
1.1.1.1.2.3.2 1(misho 2554:4): configure:12187: result: no
2555:4): configure:12187: checking for varargs.h
2556:4): configure:12187: result: no
2557:4): configure:12199: checking shadow.h usability
2558:4): configure:12199: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2559: conftest.c:64:10: fatal error: 'shadow.h' file not found
2560: #include <shadow.h>
2561: ^
2562: 1 error generated.
1.1.1.1.2.3.2 1(misho 2563:4): configure:12199: $? = 1
1.1 misho 2564: configure: failed program was:
2565: | /* confdefs.h */
2566: | #define PACKAGE_NAME "ipsec-tools"
2567: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2568:4): | #define PACKAGE_VERSION "0.8.1"
2569:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2570: | #define PACKAGE_BUGREPORT ""
2571: | #define PACKAGE_URL ""
2572: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2573:4): | #define VERSION "0.8.1"
1.1 misho 2574: | #define STDC_HEADERS 1
2575: | #define HAVE_SYS_TYPES_H 1
2576: | #define HAVE_SYS_STAT_H 1
2577: | #define HAVE_STDLIB_H 1
2578: | #define HAVE_STRING_H 1
2579: | #define HAVE_MEMORY_H 1
2580: | #define HAVE_STRINGS_H 1
2581: | #define HAVE_INTTYPES_H 1
2582: | #define HAVE_STDINT_H 1
2583: | #define HAVE_UNISTD_H 1
2584: | #define HAVE_DLFCN_H 1
2585: | #define LT_OBJDIR ".libs/"
2586: | #define YYTEXT_POINTER 1
2587: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2588: | #define STDC_HEADERS 1
2589: | #define HAVE_SYS_WAIT_H 1
2590: | #define HAVE_LIMITS_H 1
2591: | #define HAVE_SYS_TIME_H 1
2592: | #define HAVE_UNISTD_H 1
2593: | #define HAVE_STDARG_H 1
2594: | /* end confdefs.h. */
2595: | #include <stdio.h>
2596: | #ifdef HAVE_SYS_TYPES_H
2597: | # include <sys/types.h>
2598: | #endif
2599: | #ifdef HAVE_SYS_STAT_H
2600: | # include <sys/stat.h>
2601: | #endif
2602: | #ifdef STDC_HEADERS
2603: | # include <stdlib.h>
2604: | # include <stddef.h>
2605: | #else
2606: | # ifdef HAVE_STDLIB_H
2607: | # include <stdlib.h>
2608: | # endif
2609: | #endif
2610: | #ifdef HAVE_STRING_H
2611: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2612: | # include <memory.h>
2613: | # endif
2614: | # include <string.h>
2615: | #endif
2616: | #ifdef HAVE_STRINGS_H
2617: | # include <strings.h>
2618: | #endif
2619: | #ifdef HAVE_INTTYPES_H
2620: | # include <inttypes.h>
2621: | #endif
2622: | #ifdef HAVE_STDINT_H
2623: | # include <stdint.h>
2624: | #endif
2625: | #ifdef HAVE_UNISTD_H
2626: | # include <unistd.h>
2627: | #endif
2628: | #include <shadow.h>
1.1.1.1.2.3.2 1(misho 2629:4): configure:12199: result: no
2630:4): configure:12199: checking shadow.h presence
2631:4): configure:12199: cpp conftest.c
1.1.1.1.2.3 misho 2632: conftest.c:31:10: fatal error: 'shadow.h' file not found
2633: #include <shadow.h>
2634: ^
2635: 1 error generated.
1.1.1.1.2.3.2 1(misho 2636:4): configure:12199: $? = 1
1.1 misho 2637: configure: failed program was:
2638: | /* confdefs.h */
2639: | #define PACKAGE_NAME "ipsec-tools"
2640: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2641:4): | #define PACKAGE_VERSION "0.8.1"
2642:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2643: | #define PACKAGE_BUGREPORT ""
2644: | #define PACKAGE_URL ""
2645: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2646:4): | #define VERSION "0.8.1"
1.1 misho 2647: | #define STDC_HEADERS 1
2648: | #define HAVE_SYS_TYPES_H 1
2649: | #define HAVE_SYS_STAT_H 1
2650: | #define HAVE_STDLIB_H 1
2651: | #define HAVE_STRING_H 1
2652: | #define HAVE_MEMORY_H 1
2653: | #define HAVE_STRINGS_H 1
2654: | #define HAVE_INTTYPES_H 1
2655: | #define HAVE_STDINT_H 1
2656: | #define HAVE_UNISTD_H 1
2657: | #define HAVE_DLFCN_H 1
2658: | #define LT_OBJDIR ".libs/"
2659: | #define YYTEXT_POINTER 1
2660: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2661: | #define STDC_HEADERS 1
2662: | #define HAVE_SYS_WAIT_H 1
2663: | #define HAVE_LIMITS_H 1
2664: | #define HAVE_SYS_TIME_H 1
2665: | #define HAVE_UNISTD_H 1
2666: | #define HAVE_STDARG_H 1
2667: | /* end confdefs.h. */
2668: | #include <shadow.h>
1.1.1.1.2.3.2 1(misho 2669:4): configure:12199: result: no
2670:4): configure:12199: checking for shadow.h
2671:4): configure:12199: result: no
2672:4): configure:12211: checking for an ANSI C-conforming const
2673:4): configure:12277: cc -c -g -O2 conftest.c >&5
2674:4): configure:12277: $? = 0
2675:4): configure:12284: result: yes
2676:4): configure:12292: checking for pid_t
2677:4): configure:12292: cc -c -g -O2 conftest.c >&5
2678:4): configure:12292: $? = 0
2679:4): configure:12292: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2680: conftest.c:67:20: error: expected expression
2681: if (sizeof ((pid_t)))
2682: ^
2683: 1 error generated.
1.1.1.1.2.3.2 1(misho 2684:4): configure:12292: $? = 1
1.1 misho 2685: configure: failed program was:
2686: | /* confdefs.h */
2687: | #define PACKAGE_NAME "ipsec-tools"
2688: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2689:4): | #define PACKAGE_VERSION "0.8.1"
2690:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2691: | #define PACKAGE_BUGREPORT ""
2692: | #define PACKAGE_URL ""
2693: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2694:4): | #define VERSION "0.8.1"
1.1 misho 2695: | #define STDC_HEADERS 1
2696: | #define HAVE_SYS_TYPES_H 1
2697: | #define HAVE_SYS_STAT_H 1
2698: | #define HAVE_STDLIB_H 1
2699: | #define HAVE_STRING_H 1
2700: | #define HAVE_MEMORY_H 1
2701: | #define HAVE_STRINGS_H 1
2702: | #define HAVE_INTTYPES_H 1
2703: | #define HAVE_STDINT_H 1
2704: | #define HAVE_UNISTD_H 1
2705: | #define HAVE_DLFCN_H 1
2706: | #define LT_OBJDIR ".libs/"
2707: | #define YYTEXT_POINTER 1
2708: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2709: | #define STDC_HEADERS 1
2710: | #define HAVE_SYS_WAIT_H 1
2711: | #define HAVE_LIMITS_H 1
2712: | #define HAVE_SYS_TIME_H 1
2713: | #define HAVE_UNISTD_H 1
2714: | #define HAVE_STDARG_H 1
2715: | /* end confdefs.h. */
2716: | #include <stdio.h>
2717: | #ifdef HAVE_SYS_TYPES_H
2718: | # include <sys/types.h>
2719: | #endif
2720: | #ifdef HAVE_SYS_STAT_H
2721: | # include <sys/stat.h>
2722: | #endif
2723: | #ifdef STDC_HEADERS
2724: | # include <stdlib.h>
2725: | # include <stddef.h>
2726: | #else
2727: | # ifdef HAVE_STDLIB_H
2728: | # include <stdlib.h>
2729: | # endif
2730: | #endif
2731: | #ifdef HAVE_STRING_H
2732: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2733: | # include <memory.h>
2734: | # endif
2735: | # include <string.h>
2736: | #endif
2737: | #ifdef HAVE_STRINGS_H
2738: | # include <strings.h>
2739: | #endif
2740: | #ifdef HAVE_INTTYPES_H
2741: | # include <inttypes.h>
2742: | #endif
2743: | #ifdef HAVE_STDINT_H
2744: | # include <stdint.h>
2745: | #endif
2746: | #ifdef HAVE_UNISTD_H
2747: | # include <unistd.h>
2748: | #endif
2749: | int
2750: | main ()
2751: | {
2752: | if (sizeof ((pid_t)))
2753: | return 0;
2754: | ;
2755: | return 0;
2756: | }
1.1.1.1.2.3.2 1(misho 2757:4): configure:12292: result: yes
2758:4): configure:12303: checking for size_t
2759:4): configure:12303: cc -c -g -O2 conftest.c >&5
2760:4): configure:12303: $? = 0
2761:4): configure:12303: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2762: conftest.c:67:21: error: expected expression
2763: if (sizeof ((size_t)))
2764: ^
2765: 1 error generated.
1.1.1.1.2.3.2 1(misho 2766:4): configure:12303: $? = 1
1.1 misho 2767: configure: failed program was:
2768: | /* confdefs.h */
2769: | #define PACKAGE_NAME "ipsec-tools"
2770: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2771:4): | #define PACKAGE_VERSION "0.8.1"
2772:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2773: | #define PACKAGE_BUGREPORT ""
2774: | #define PACKAGE_URL ""
2775: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2776:4): | #define VERSION "0.8.1"
1.1 misho 2777: | #define STDC_HEADERS 1
2778: | #define HAVE_SYS_TYPES_H 1
2779: | #define HAVE_SYS_STAT_H 1
2780: | #define HAVE_STDLIB_H 1
2781: | #define HAVE_STRING_H 1
2782: | #define HAVE_MEMORY_H 1
2783: | #define HAVE_STRINGS_H 1
2784: | #define HAVE_INTTYPES_H 1
2785: | #define HAVE_STDINT_H 1
2786: | #define HAVE_UNISTD_H 1
2787: | #define HAVE_DLFCN_H 1
2788: | #define LT_OBJDIR ".libs/"
2789: | #define YYTEXT_POINTER 1
2790: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2791: | #define STDC_HEADERS 1
2792: | #define HAVE_SYS_WAIT_H 1
2793: | #define HAVE_LIMITS_H 1
2794: | #define HAVE_SYS_TIME_H 1
2795: | #define HAVE_UNISTD_H 1
2796: | #define HAVE_STDARG_H 1
2797: | /* end confdefs.h. */
2798: | #include <stdio.h>
2799: | #ifdef HAVE_SYS_TYPES_H
2800: | # include <sys/types.h>
2801: | #endif
2802: | #ifdef HAVE_SYS_STAT_H
2803: | # include <sys/stat.h>
2804: | #endif
2805: | #ifdef STDC_HEADERS
2806: | # include <stdlib.h>
2807: | # include <stddef.h>
2808: | #else
2809: | # ifdef HAVE_STDLIB_H
2810: | # include <stdlib.h>
2811: | # endif
2812: | #endif
2813: | #ifdef HAVE_STRING_H
2814: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2815: | # include <memory.h>
2816: | # endif
2817: | # include <string.h>
2818: | #endif
2819: | #ifdef HAVE_STRINGS_H
2820: | # include <strings.h>
2821: | #endif
2822: | #ifdef HAVE_INTTYPES_H
2823: | # include <inttypes.h>
2824: | #endif
2825: | #ifdef HAVE_STDINT_H
2826: | # include <stdint.h>
2827: | #endif
2828: | #ifdef HAVE_UNISTD_H
2829: | # include <unistd.h>
2830: | #endif
2831: | int
2832: | main ()
2833: | {
2834: | if (sizeof ((size_t)))
2835: | return 0;
2836: | ;
2837: | return 0;
2838: | }
1.1.1.1.2.3.2 1(misho 2839:4): configure:12303: result: yes
2840:4): configure:12314: checking whether time.h and sys/time.h may both be included
2841:4): configure:12334: cc -c -g -O2 conftest.c >&5
2842:4): configure:12334: $? = 0
2843:4): configure:12341: result: yes
2844:4): configure:12349: checking whether struct tm is in sys/time.h or time.h
2845:4): configure:12369: cc -c -g -O2 conftest.c >&5
2846:4): configure:12369: $? = 0
2847:4): configure:12376: result: time.h
2848:4): configure:12386: checking for working memcmp
2849:4): configure:12429: cc -o conftest -g -O2 conftest.c >&5
2850:4): configure:12429: $? = 0
2851:4): configure:12429: ./conftest
2852:4): configure:12429: $? = 0
2853:4): configure:12439: result: yes
2854:4): configure:12448: checking return type of signal handlers
2855:4): configure:12466: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2856: conftest.c:38:8: error: indirection requires pointer operand ('void' invalid)
2857: return *(signal (0, 0)) (0) == 1;
2858: ^~~~~~~~~~~~~~~~~~~~
2859: 1 error generated.
1.1.1.1.2.3.2 1(misho 2860:4): configure:12466: $? = 1
1.1 misho 2861: configure: failed program was:
2862: | /* confdefs.h */
2863: | #define PACKAGE_NAME "ipsec-tools"
2864: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2865:4): | #define PACKAGE_VERSION "0.8.1"
2866:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2867: | #define PACKAGE_BUGREPORT ""
2868: | #define PACKAGE_URL ""
2869: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2870:4): | #define VERSION "0.8.1"
1.1 misho 2871: | #define STDC_HEADERS 1
2872: | #define HAVE_SYS_TYPES_H 1
2873: | #define HAVE_SYS_STAT_H 1
2874: | #define HAVE_STDLIB_H 1
2875: | #define HAVE_STRING_H 1
2876: | #define HAVE_MEMORY_H 1
2877: | #define HAVE_STRINGS_H 1
2878: | #define HAVE_INTTYPES_H 1
2879: | #define HAVE_STDINT_H 1
2880: | #define HAVE_UNISTD_H 1
2881: | #define HAVE_DLFCN_H 1
2882: | #define LT_OBJDIR ".libs/"
2883: | #define YYTEXT_POINTER 1
2884: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2885: | #define STDC_HEADERS 1
2886: | #define HAVE_SYS_WAIT_H 1
2887: | #define HAVE_LIMITS_H 1
2888: | #define HAVE_SYS_TIME_H 1
2889: | #define HAVE_UNISTD_H 1
2890: | #define HAVE_STDARG_H 1
2891: | #define TIME_WITH_SYS_TIME 1
2892: | /* end confdefs.h. */
2893: | #include <sys/types.h>
2894: | #include <signal.h>
2895: |
2896: | int
2897: | main ()
2898: | {
2899: | return *(signal (0, 0)) (0) == 1;
2900: | ;
2901: | return 0;
2902: | }
1.1.1.1.2.3.2 1(misho 2903:4): configure:12473: result: void
2904:4): configure:12483: checking for vprintf
2905:4): configure:12483: cc -o conftest -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 2906: conftest.c:56:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
2907: char vprintf ();
2908: ^
2909: conftest.c:56:6: note: 'vprintf' is a builtin with type 'int (const char *, __builtin_va_list)'
2910: 1 warning generated.
1.1.1.1.2.3.2 1(misho 2911:4): configure:12483: $? = 0
2912:4): configure:12483: result: yes
2913:4): configure:12489: checking for _doprnt
2914:4): configure:12489: cc -o conftest -g -O2 conftest.c >&5
2915:4): /tmp/conftest-9329dc.o: In function `main':
1.1.1.1.2.1 misho 2916: /home/misho/work/embedaddon/ipsec-tools/conftest.c:68: undefined reference to `_doprnt'
1.1.1.1.2.3 misho 2917: cc: error: linker command failed with exit code 1 (use -v to see invocation)
1.1.1.1.2.3.2 1(misho 2918:4): configure:12489: $? = 1
1.1 misho 2919: configure: failed program was:
2920: | /* confdefs.h */
2921: | #define PACKAGE_NAME "ipsec-tools"
2922: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2923:4): | #define PACKAGE_VERSION "0.8.1"
2924:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 2925: | #define PACKAGE_BUGREPORT ""
2926: | #define PACKAGE_URL ""
2927: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 2928:4): | #define VERSION "0.8.1"
1.1 misho 2929: | #define STDC_HEADERS 1
2930: | #define HAVE_SYS_TYPES_H 1
2931: | #define HAVE_SYS_STAT_H 1
2932: | #define HAVE_STDLIB_H 1
2933: | #define HAVE_STRING_H 1
2934: | #define HAVE_MEMORY_H 1
2935: | #define HAVE_STRINGS_H 1
2936: | #define HAVE_INTTYPES_H 1
2937: | #define HAVE_STDINT_H 1
2938: | #define HAVE_UNISTD_H 1
2939: | #define HAVE_DLFCN_H 1
2940: | #define LT_OBJDIR ".libs/"
2941: | #define YYTEXT_POINTER 1
2942: | #define PATH_IPSEC_H <netipsec/ipsec.h>
2943: | #define STDC_HEADERS 1
2944: | #define HAVE_SYS_WAIT_H 1
2945: | #define HAVE_LIMITS_H 1
2946: | #define HAVE_SYS_TIME_H 1
2947: | #define HAVE_UNISTD_H 1
2948: | #define HAVE_STDARG_H 1
2949: | #define TIME_WITH_SYS_TIME 1
2950: | #define RETSIGTYPE void
2951: | #define HAVE_VPRINTF 1
2952: | /* end confdefs.h. */
2953: | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
2954: | For example, HP-UX 11i <limits.h> declares gettimeofday. */
2955: | #define _doprnt innocuous__doprnt
2956: |
2957: | /* System header to define __stub macros and hopefully few prototypes,
2958: | which can conflict with char _doprnt (); below.
2959: | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2960: | <limits.h> exists even on freestanding compilers. */
2961: |
2962: | #ifdef __STDC__
2963: | # include <limits.h>
2964: | #else
2965: | # include <assert.h>
2966: | #endif
2967: |
2968: | #undef _doprnt
2969: |
2970: | /* Override any GCC internal prototype to avoid an error.
2971: | Use char because int might match the return type of a GCC
2972: | builtin and then its argument prototype would still apply. */
2973: | #ifdef __cplusplus
2974: | extern "C"
2975: | #endif
2976: | char _doprnt ();
2977: | /* The GNU C library defines this for functions which it implements
2978: | to always fail with ENOSYS. Some functions are actually named
2979: | something starting with __ and the normal name is an alias. */
2980: | #if defined __stub__doprnt || defined __stub____doprnt
2981: | choke me
2982: | #endif
2983: |
2984: | int
2985: | main ()
2986: | {
2987: | return _doprnt ();
2988: | ;
2989: | return 0;
2990: | }
1.1.1.1.2.3.2 1(misho 2991:4): configure:12489: result: no
2992:4): configure:12503: checking for gettimeofday
2993:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
2994:4): configure:12503: $? = 0
2995:4): configure:12503: result: yes
2996:4): configure:12503: checking for select
2997:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
2998:4): configure:12503: $? = 0
2999:4): configure:12503: result: yes
3000:4): configure:12503: checking for socket
3001:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
3002:4): configure:12503: $? = 0
3003:4): configure:12503: result: yes
3004:4): configure:12503: checking for strerror
3005:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 3006: conftest.c:60:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
3007: char strerror ();
3008: ^
3009: conftest.c:60:6: note: 'strerror' is a builtin with type 'char *(int)'
3010: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3011:4): configure:12503: $? = 0
3012:4): configure:12503: result: yes
3013:4): configure:12503: checking for strtol
3014:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
3015:4): configure:12503: $? = 0
3016:4): configure:12503: result: yes
3017:4): configure:12503: checking for strtoul
3018:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
3019:4): configure:12503: $? = 0
3020:4): configure:12503: result: yes
3021:4): configure:12503: checking for strlcpy
3022:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 3023: conftest.c:63:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
3024: char strlcpy ();
3025: ^
3026: conftest.c:63:6: note: 'strlcpy' is a builtin with type 'unsigned int (char *, const char *, unsigned int)'
3027: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3028:4): configure:12503: $? = 0
3029:4): configure:12503: result: yes
3030:4): configure:12503: checking for strlcat
3031:4): configure:12503: cc -o conftest -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 3032: conftest.c:64:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
3033: char strlcat ();
3034: ^
3035: conftest.c:64:6: note: 'strlcat' is a builtin with type 'unsigned int (char *, const char *, unsigned int)'
3036: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3037:4): configure:12503: $? = 0
3038:4): configure:12503: result: yes
3039:4): configure:12512: checking for strdup
3040:4): configure:12512: cc -o conftest -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 3041: conftest.c:65:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
3042: char strdup ();
3043: ^
3044: conftest.c:65:6: note: 'strdup' is a builtin with type 'char *(const char *)'
3045: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3046:4): configure:12512: $? = 0
3047:4): configure:12512: result: yes
3048:4): configure:12529: checking for an implementation of va_copy()
3049:4): configure:12557: cc -o conftest -Wall -O2 conftest.c >&5
1.1.1.1.2.3 misho 3050: conftest.c:49:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
3051: exit (1);
3052: ^
3053: conftest.c:49:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
3054: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3055:4): configure:12557: $? = 0
3056:4): configure:12557: ./conftest
3057:4): configure:12557: $? = 0
3058:4): configure:12568: result: yes
3059:4): configure:12637: checking if printf accepts %z
3060:4): configure:12656: cc -c -g -O2 -Wall -Werror conftest.c >&5
3061:4): configure:12656: $? = 0
3062:4): configure:12657: result: yes
3063:4): configure:12672: checking if __func__ is available
3064:4): configure:12686: cc -c -g -O2 conftest.c >&5
1.1.1.1.2.3 misho 3065: conftest.c:49:7: warning: initializing 'char *' with an expression of type 'const char [5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
3066: char *x = __func__;
3067: ^ ~~~~~~~~
3068: 1 warning generated.
1.1.1.1.2.3.2 1(misho 3069:4): configure:12686: $? = 0
3070:4): configure:12690: result: yes
3071:4): configure:12699: checking if readline support is requested
3072:4): configure:12709: result: yes
3073:4): configure:12714: checking readline/readline.h usability
3074:4): configure:12714: cc -c -g -O2 conftest.c >&5
3075:4): conftest.c:78:10: fatal error: 'readline/readline.h' file not found
3076:4): #include <readline/readline.h>
1.1.1.1.2.3 misho 3077: ^
3078: 1 error generated.
1.1.1.1.2.3.2 1(misho 3079:4): configure:12714: $? = 1
1.1 misho 3080: configure: failed program was:
3081: | /* confdefs.h */
3082: | #define PACKAGE_NAME "ipsec-tools"
3083: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3084:4): | #define PACKAGE_VERSION "0.8.1"
3085:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3086: | #define PACKAGE_BUGREPORT ""
3087: | #define PACKAGE_URL ""
3088: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3089:4): | #define VERSION "0.8.1"
1.1 misho 3090: | #define STDC_HEADERS 1
3091: | #define HAVE_SYS_TYPES_H 1
3092: | #define HAVE_SYS_STAT_H 1
3093: | #define HAVE_STDLIB_H 1
3094: | #define HAVE_STRING_H 1
3095: | #define HAVE_MEMORY_H 1
3096: | #define HAVE_STRINGS_H 1
3097: | #define HAVE_INTTYPES_H 1
3098: | #define HAVE_STDINT_H 1
3099: | #define HAVE_UNISTD_H 1
3100: | #define HAVE_DLFCN_H 1
3101: | #define LT_OBJDIR ".libs/"
3102: | #define YYTEXT_POINTER 1
3103: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3104: | #define STDC_HEADERS 1
3105: | #define HAVE_SYS_WAIT_H 1
3106: | #define HAVE_LIMITS_H 1
3107: | #define HAVE_SYS_TIME_H 1
3108: | #define HAVE_UNISTD_H 1
3109: | #define HAVE_STDARG_H 1
3110: | #define TIME_WITH_SYS_TIME 1
3111: | #define RETSIGTYPE void
3112: | #define HAVE_VPRINTF 1
3113: | #define HAVE_GETTIMEOFDAY 1
3114: | #define HAVE_SELECT 1
3115: | #define HAVE_SOCKET 1
3116: | #define HAVE_STRERROR 1
3117: | #define HAVE_STRTOL 1
3118: | #define HAVE_STRTOUL 1
3119: | #define HAVE_STRLCPY 1
3120: | #define HAVE_STRLCAT 1
3121: | #define HAVE_STRDUP 1
3122: | #define VA_COPY va_copy
3123: | #define HAVE_FUNC_MACRO /**/
3124: | /* end confdefs.h. */
3125: | #include <stdio.h>
3126: | #ifdef HAVE_SYS_TYPES_H
3127: | # include <sys/types.h>
3128: | #endif
3129: | #ifdef HAVE_SYS_STAT_H
3130: | # include <sys/stat.h>
3131: | #endif
3132: | #ifdef STDC_HEADERS
3133: | # include <stdlib.h>
3134: | # include <stddef.h>
3135: | #else
3136: | # ifdef HAVE_STDLIB_H
3137: | # include <stdlib.h>
3138: | # endif
3139: | #endif
3140: | #ifdef HAVE_STRING_H
3141: | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3142: | # include <memory.h>
3143: | # endif
3144: | # include <string.h>
3145: | #endif
3146: | #ifdef HAVE_STRINGS_H
3147: | # include <strings.h>
3148: | #endif
3149: | #ifdef HAVE_INTTYPES_H
3150: | # include <inttypes.h>
3151: | #endif
3152: | #ifdef HAVE_STDINT_H
3153: | # include <stdint.h>
3154: | #endif
3155: | #ifdef HAVE_UNISTD_H
3156: | # include <unistd.h>
3157: | #endif
1.1.1.1.2.3.2 1(misho 3158:4): | #include <readline/readline.h>
3159:4): configure:12714: result: no
3160:4): configure:12714: checking readline/readline.h presence
3161:4): configure:12714: cpp conftest.c
3162:4): conftest.c:45:10: fatal error: 'readline/readline.h' file not found
3163:4): #include <readline/readline.h>
3164:4): ^
3165:4): 1 error generated.
3166:4): configure:12714: $? = 1
3167:4): configure: failed program was:
3168:4): | /* confdefs.h */
3169:4): | #define PACKAGE_NAME "ipsec-tools"
3170:4): | #define PACKAGE_TARNAME "ipsec-tools"
3171:4): | #define PACKAGE_VERSION "0.8.1"
3172:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
3173:4): | #define PACKAGE_BUGREPORT ""
3174:4): | #define PACKAGE_URL ""
3175:4): | #define PACKAGE "ipsec-tools"
3176:4): | #define VERSION "0.8.1"
3177:4): | #define STDC_HEADERS 1
3178:4): | #define HAVE_SYS_TYPES_H 1
3179:4): | #define HAVE_SYS_STAT_H 1
3180:4): | #define HAVE_STDLIB_H 1
3181:4): | #define HAVE_STRING_H 1
3182:4): | #define HAVE_MEMORY_H 1
3183:4): | #define HAVE_STRINGS_H 1
3184:4): | #define HAVE_INTTYPES_H 1
3185:4): | #define HAVE_STDINT_H 1
3186:4): | #define HAVE_UNISTD_H 1
3187:4): | #define HAVE_DLFCN_H 1
3188:4): | #define LT_OBJDIR ".libs/"
3189:4): | #define YYTEXT_POINTER 1
3190:4): | #define PATH_IPSEC_H <netipsec/ipsec.h>
3191:4): | #define STDC_HEADERS 1
3192:4): | #define HAVE_SYS_WAIT_H 1
3193:4): | #define HAVE_LIMITS_H 1
3194:4): | #define HAVE_SYS_TIME_H 1
3195:4): | #define HAVE_UNISTD_H 1
3196:4): | #define HAVE_STDARG_H 1
3197:4): | #define TIME_WITH_SYS_TIME 1
3198:4): | #define RETSIGTYPE void
3199:4): | #define HAVE_VPRINTF 1
3200:4): | #define HAVE_GETTIMEOFDAY 1
3201:4): | #define HAVE_SELECT 1
3202:4): | #define HAVE_SOCKET 1
3203:4): | #define HAVE_STRERROR 1
3204:4): | #define HAVE_STRTOL 1
3205:4): | #define HAVE_STRTOUL 1
3206:4): | #define HAVE_STRLCPY 1
3207:4): | #define HAVE_STRLCAT 1
3208:4): | #define HAVE_STRDUP 1
3209:4): | #define VA_COPY va_copy
3210:4): | #define HAVE_FUNC_MACRO /**/
3211:4): | /* end confdefs.h. */
3212:4): | #include <readline/readline.h>
3213:4): configure:12714: result: no
3214:4): configure:12714: checking for readline/readline.h
3215:4): configure:12714: result: no
3216:4): configure:12767: checking if --with-flex option is specified
3217:4): configure:12775: result: dirdefault
3218:4): configure:12782: checking if --with-flexlib option is specified
3219:4): configure:12790: result: default
3220:4): configure:12798: checking if --with-openssl option is specified
3221:4): configure:12806: result: default
3222:4): configure:12813: checking openssl version
3223:4): configure:12830: cc -c -g -O2 conftest.c >&5
3224:4): configure:12830: $? = 0
3225:4): configure:12831: result: ok
3226:4): configure:12843: checking openssl/engine.h usability
3227:4): configure:12843: cc -c -g -O2 conftest.c >&5
3228:4): configure:12843: $? = 0
3229:4): configure:12843: result: yes
3230:4): configure:12843: checking openssl/engine.h presence
3231:4): configure:12843: cpp conftest.c
3232:4): configure:12843: $? = 0
3233:4): configure:12843: result: yes
3234:4): configure:12843: checking for openssl/engine.h
3235:4): configure:12843: result: yes
3236:4): configure:12857: checking openssl/aes.h usability
3237:4): configure:12857: cc -c -g -O2 conftest.c >&5
3238:4): configure:12857: $? = 0
3239:4): configure:12857: result: yes
3240:4): configure:12857: checking openssl/aes.h presence
3241:4): configure:12857: cpp conftest.c
3242:4): configure:12857: $? = 0
3243:4): configure:12857: result: yes
3244:4): configure:12857: checking for openssl/aes.h
3245:4): configure:12857: result: yes
3246:4): configure:12871: checking sha2 support
3247:4): configure:12876: result: yes
3248:4): configure:12878: checking openssl/sha2.h usability
3249:4): configure:12878: cc -c -g -O2 conftest.c >&5
3250:4): conftest.c:81:10: fatal error: 'openssl/sha2.h' file not found
1.1.1.1.2.3 misho 3251: #include <openssl/sha2.h>
3252: ^
3253: 1 error generated.
1.1.1.1.2.3.2 1(misho 3254:4): configure:12878: $? = 1
1.1 misho 3255: configure: failed program was:
3256: | /* confdefs.h */
3257: | #define PACKAGE_NAME "ipsec-tools"
3258: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3259:4): | #define PACKAGE_VERSION "0.8.1"
3260:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3261: | #define PACKAGE_BUGREPORT ""
3262: | #define PACKAGE_URL ""
3263: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3264:4): | #define VERSION "0.8.1"
1.1 misho 3265: | #define STDC_HEADERS 1
3266: | #define HAVE_SYS_TYPES_H 1
3267: | #define HAVE_SYS_STAT_H 1
3268: | #define HAVE_STDLIB_H 1
3269: | #define HAVE_STRING_H 1
3270: | #define HAVE_MEMORY_H 1
3271: | #define HAVE_STRINGS_H 1
3272: | #define HAVE_INTTYPES_H 1
3273: | #define HAVE_STDINT_H 1
3274: | #define HAVE_UNISTD_H 1
3275: | #define HAVE_DLFCN_H 1
3276: | #define LT_OBJDIR ".libs/"
3277: | #define YYTEXT_POINTER 1
3278: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3279: | #define STDC_HEADERS 1
3280: | #define HAVE_SYS_WAIT_H 1
3281: | #define HAVE_LIMITS_H 1
3282: | #define HAVE_SYS_TIME_H 1
3283: | #define HAVE_UNISTD_H 1
3284: | #define HAVE_STDARG_H 1
3285: | #define TIME_WITH_SYS_TIME 1
3286: | #define RETSIGTYPE void
3287: | #define HAVE_VPRINTF 1
3288: | #define HAVE_GETTIMEOFDAY 1
3289: | #define HAVE_SELECT 1
3290: | #define HAVE_SOCKET 1
3291: | #define HAVE_STRERROR 1
3292: | #define HAVE_STRTOL 1
3293: | #define HAVE_STRTOUL 1
3294: | #define HAVE_STRLCPY 1
3295: | #define HAVE_STRLCAT 1
3296: | #define HAVE_STRDUP 1
3297: | #define VA_COPY va_copy
3298: | #define HAVE_FUNC_MACRO /**/
3299: | #define HAVE_OPENSSL_ENGINE_H 1
3300: | #define HAVE_OPENSSL_AES_H 1
3301: | #define WITH_SHA2 /**/
3302: | /* end confdefs.h. */
1.1.1.1.2.3.2 1(misho 3303:4): | #include <stdio.h>
3304:4): | #ifdef HAVE_SYS_TYPES_H
3305:4): | # include <sys/types.h>
3306:4): | #endif
3307:4): | #ifdef HAVE_SYS_STAT_H
3308:4): | # include <sys/stat.h>
3309:4): | #endif
3310:4): | #ifdef STDC_HEADERS
3311:4): | # include <stdlib.h>
3312:4): | # include <stddef.h>
3313:4): | #else
3314:4): | # ifdef HAVE_STDLIB_H
3315:4): | # include <stdlib.h>
3316:4): | # endif
3317:4): | #endif
3318:4): | #ifdef HAVE_STRING_H
3319:4): | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3320:4): | # include <memory.h>
3321:4): | # endif
3322:4): | # include <string.h>
3323:4): | #endif
3324:4): | #ifdef HAVE_STRINGS_H
3325:4): | # include <strings.h>
3326:4): | #endif
3327:4): | #ifdef HAVE_INTTYPES_H
3328:4): | # include <inttypes.h>
3329:4): | #endif
3330:4): | #ifdef HAVE_STDINT_H
3331:4): | # include <stdint.h>
3332:4): | #endif
3333:4): | #ifdef HAVE_UNISTD_H
3334:4): | # include <unistd.h>
3335:4): | #endif
1.1 misho 3336: | #include <openssl/sha2.h>
1.1.1.1.2.3.2 1(misho 3337:4): configure:12878: result: no
3338:4): configure:12878: checking openssl/sha2.h presence
3339:4): configure:12878: cpp conftest.c
3340:4): conftest.c:48:10: fatal error: 'openssl/sha2.h' file not found
3341:4): #include <openssl/sha2.h>
3342:4): ^
3343:4): 1 error generated.
3344:4): configure:12878: $? = 1
1.1 misho 3345: configure: failed program was:
3346: | /* confdefs.h */
3347: | #define PACKAGE_NAME "ipsec-tools"
3348: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3349:4): | #define PACKAGE_VERSION "0.8.1"
3350:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3351: | #define PACKAGE_BUGREPORT ""
3352: | #define PACKAGE_URL ""
3353: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3354:4): | #define VERSION "0.8.1"
1.1 misho 3355: | #define STDC_HEADERS 1
3356: | #define HAVE_SYS_TYPES_H 1
3357: | #define HAVE_SYS_STAT_H 1
3358: | #define HAVE_STDLIB_H 1
3359: | #define HAVE_STRING_H 1
3360: | #define HAVE_MEMORY_H 1
3361: | #define HAVE_STRINGS_H 1
3362: | #define HAVE_INTTYPES_H 1
3363: | #define HAVE_STDINT_H 1
3364: | #define HAVE_UNISTD_H 1
3365: | #define HAVE_DLFCN_H 1
3366: | #define LT_OBJDIR ".libs/"
3367: | #define YYTEXT_POINTER 1
3368: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3369: | #define STDC_HEADERS 1
3370: | #define HAVE_SYS_WAIT_H 1
3371: | #define HAVE_LIMITS_H 1
3372: | #define HAVE_SYS_TIME_H 1
3373: | #define HAVE_UNISTD_H 1
3374: | #define HAVE_STDARG_H 1
3375: | #define TIME_WITH_SYS_TIME 1
3376: | #define RETSIGTYPE void
3377: | #define HAVE_VPRINTF 1
3378: | #define HAVE_GETTIMEOFDAY 1
3379: | #define HAVE_SELECT 1
3380: | #define HAVE_SOCKET 1
3381: | #define HAVE_STRERROR 1
3382: | #define HAVE_STRTOL 1
3383: | #define HAVE_STRTOUL 1
3384: | #define HAVE_STRLCPY 1
3385: | #define HAVE_STRLCAT 1
3386: | #define HAVE_STRDUP 1
3387: | #define VA_COPY va_copy
3388: | #define HAVE_FUNC_MACRO /**/
3389: | #define HAVE_OPENSSL_ENGINE_H 1
3390: | #define HAVE_OPENSSL_AES_H 1
3391: | #define WITH_SHA2 /**/
3392: | /* end confdefs.h. */
1.1.1.1.2.3.2 1(misho 3393:4): | #include <openssl/sha2.h>
3394:4): configure:12878: result: no
3395:4): configure:12878: checking for openssl/sha2.h
3396:4): configure:12878: result: no
3397:4): configure:12883: checking if sha2 is defined in openssl/sha.h
3398:4): configure:12903: cc -c -g -O2 conftest.c >&5
3399:4): configure:12903: $? = 0
3400:4): configure:12905: result: yes
3401:4): configure:12935: checking openssl/camellia.h usability
3402:4): configure:12935: cc -c -g -O2 conftest.c >&5
3403:4): configure:12935: $? = 0
3404:4): configure:12935: result: yes
3405:4): configure:12935: checking openssl/camellia.h presence
3406:4): configure:12935: cpp conftest.c
3407:4): configure:12935: $? = 0
3408:4): configure:12935: result: yes
3409:4): configure:12935: checking for openssl/camellia.h
3410:4): configure:12935: result: yes
3411:4): configure:12948: checking if --enable-adminport option is specified
3412:4): configure:12962: result: yes
3413:4): configure:12966: checking if --enable-rc5 option is specified
3414:4): configure:12975: result: no
3415:4): configure:13034: checking if --enable-idea option is specified
3416:4): configure:13043: result: no
3417:4): configure:13104: checking for crypto containing MD5_Init
3418:4): configure:13129: cc -o conftest -g -O2 conftest.c >&5
3419:4): /tmp/conftest-a754bb.o: In function `main':
3420:4): /home/misho/work/embedaddon/ipsec-tools/conftest.c:62: undefined reference to `MD5_Init'
1.1.1.1.2.3 misho 3421: cc: error: linker command failed with exit code 1 (use -v to see invocation)
1.1.1.1.2.3.2 1(misho 3422:4): configure:13129: $? = 1
1.1 misho 3423: configure: failed program was:
3424: | /* confdefs.h */
3425: | #define PACKAGE_NAME "ipsec-tools"
3426: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3427:4): | #define PACKAGE_VERSION "0.8.1"
3428:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3429: | #define PACKAGE_BUGREPORT ""
3430: | #define PACKAGE_URL ""
3431: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3432:4): | #define VERSION "0.8.1"
1.1 misho 3433: | #define STDC_HEADERS 1
3434: | #define HAVE_SYS_TYPES_H 1
3435: | #define HAVE_SYS_STAT_H 1
3436: | #define HAVE_STDLIB_H 1
3437: | #define HAVE_STRING_H 1
3438: | #define HAVE_MEMORY_H 1
3439: | #define HAVE_STRINGS_H 1
3440: | #define HAVE_INTTYPES_H 1
3441: | #define HAVE_STDINT_H 1
3442: | #define HAVE_UNISTD_H 1
3443: | #define HAVE_DLFCN_H 1
3444: | #define LT_OBJDIR ".libs/"
3445: | #define YYTEXT_POINTER 1
3446: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3447: | #define STDC_HEADERS 1
3448: | #define HAVE_SYS_WAIT_H 1
3449: | #define HAVE_LIMITS_H 1
3450: | #define HAVE_SYS_TIME_H 1
3451: | #define HAVE_UNISTD_H 1
3452: | #define HAVE_STDARG_H 1
3453: | #define TIME_WITH_SYS_TIME 1
3454: | #define RETSIGTYPE void
3455: | #define HAVE_VPRINTF 1
3456: | #define HAVE_GETTIMEOFDAY 1
3457: | #define HAVE_SELECT 1
3458: | #define HAVE_SOCKET 1
3459: | #define HAVE_STRERROR 1
3460: | #define HAVE_STRTOL 1
3461: | #define HAVE_STRTOUL 1
3462: | #define HAVE_STRLCPY 1
3463: | #define HAVE_STRLCAT 1
3464: | #define HAVE_STRDUP 1
3465: | #define VA_COPY va_copy
3466: | #define HAVE_FUNC_MACRO /**/
3467: | #define HAVE_OPENSSL_ENGINE_H 1
3468: | #define HAVE_OPENSSL_AES_H 1
3469: | #define WITH_SHA2 /**/
3470: | #define HAVE_SHA2_IN_SHA_H /**/
3471: | #define HAVE_OPENSSL_CAMELLIA_H 1
3472: | #define ENABLE_ADMINPORT /**/
3473: | /* end confdefs.h. */
3474: |
3475: | /* Override any GCC internal prototype to avoid an error.
3476: | Use char because int might match the return type of a GCC
3477: | builtin and then its argument prototype would still apply. */
3478: | #ifdef __cplusplus
3479: | extern "C"
3480: | #endif
1.1.1.1.2.3.2 1(misho 3481:4): | char MD5_Init ();
1.1 misho 3482: | int
3483: | main ()
3484: | {
1.1.1.1.2.3.2 1(misho 3485:4): | return MD5_Init ();
1.1 misho 3486: | ;
3487: | return 0;
3488: | }
1.1.1.1.2.3.2 1(misho 3489:4): configure:13151: cc -o conftest -g -O2 conftest.c -lcrypto >&5
3490:4): configure:13151: $? = 0
3491:4): configure:13162: result: -lcrypto
3492:4): configure:13173: checking for util containing login
3493:4): configure:13198: cc -o conftest -g -O2 conftest.c -lcrypto >&5
3494:4): /tmp/conftest-2d993c.o: In function `main':
3495:4): /home/misho/work/embedaddon/ipsec-tools/conftest.c:62: undefined reference to `login'
1.1.1.1.2.3 misho 3496: cc: error: linker command failed with exit code 1 (use -v to see invocation)
1.1.1.1.2.3.2 1(misho 3497:4): configure:13198: $? = 1
1.1 misho 3498: configure: failed program was:
3499: | /* confdefs.h */
3500: | #define PACKAGE_NAME "ipsec-tools"
3501: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3502:4): | #define PACKAGE_VERSION "0.8.1"
3503:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3504: | #define PACKAGE_BUGREPORT ""
3505: | #define PACKAGE_URL ""
3506: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3507:4): | #define VERSION "0.8.1"
1.1 misho 3508: | #define STDC_HEADERS 1
3509: | #define HAVE_SYS_TYPES_H 1
3510: | #define HAVE_SYS_STAT_H 1
3511: | #define HAVE_STDLIB_H 1
3512: | #define HAVE_STRING_H 1
3513: | #define HAVE_MEMORY_H 1
3514: | #define HAVE_STRINGS_H 1
3515: | #define HAVE_INTTYPES_H 1
3516: | #define HAVE_STDINT_H 1
3517: | #define HAVE_UNISTD_H 1
3518: | #define HAVE_DLFCN_H 1
3519: | #define LT_OBJDIR ".libs/"
3520: | #define YYTEXT_POINTER 1
3521: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3522: | #define STDC_HEADERS 1
3523: | #define HAVE_SYS_WAIT_H 1
3524: | #define HAVE_LIMITS_H 1
3525: | #define HAVE_SYS_TIME_H 1
3526: | #define HAVE_UNISTD_H 1
3527: | #define HAVE_STDARG_H 1
3528: | #define TIME_WITH_SYS_TIME 1
3529: | #define RETSIGTYPE void
3530: | #define HAVE_VPRINTF 1
3531: | #define HAVE_GETTIMEOFDAY 1
3532: | #define HAVE_SELECT 1
3533: | #define HAVE_SOCKET 1
3534: | #define HAVE_STRERROR 1
3535: | #define HAVE_STRTOL 1
3536: | #define HAVE_STRTOUL 1
3537: | #define HAVE_STRLCPY 1
3538: | #define HAVE_STRLCAT 1
3539: | #define HAVE_STRDUP 1
3540: | #define VA_COPY va_copy
3541: | #define HAVE_FUNC_MACRO /**/
3542: | #define HAVE_OPENSSL_ENGINE_H 1
3543: | #define HAVE_OPENSSL_AES_H 1
3544: | #define WITH_SHA2 /**/
3545: | #define HAVE_SHA2_IN_SHA_H /**/
3546: | #define HAVE_OPENSSL_CAMELLIA_H 1
3547: | #define ENABLE_ADMINPORT /**/
3548: | /* end confdefs.h. */
3549: |
3550: | /* Override any GCC internal prototype to avoid an error.
3551: | Use char because int might match the return type of a GCC
3552: | builtin and then its argument prototype would still apply. */
3553: | #ifdef __cplusplus
3554: | extern "C"
3555: | #endif
3556: | char login ();
3557: | int
3558: | main ()
3559: | {
3560: | return login ();
3561: | ;
3562: | return 0;
3563: | }
1.1.1.1.2.3.2 1(misho 3564:4): configure:13220: cc -o conftest -g -O2 conftest.c -lutil -lcrypto >&5
3565:4): /tmp/conftest-a7456e.o: In function `main':
3566:4): /home/misho/work/embedaddon/ipsec-tools/conftest.c:62: undefined reference to `login'
1.1.1.1.2.3 misho 3567: cc: error: linker command failed with exit code 1 (use -v to see invocation)
1.1.1.1.2.3.2 1(misho 3568:4): configure:13220: $? = 1
1.1 misho 3569: configure: failed program was:
3570: | /* confdefs.h */
3571: | #define PACKAGE_NAME "ipsec-tools"
3572: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3573:4): | #define PACKAGE_VERSION "0.8.1"
3574:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3575: | #define PACKAGE_BUGREPORT ""
3576: | #define PACKAGE_URL ""
3577: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3578:4): | #define VERSION "0.8.1"
1.1 misho 3579: | #define STDC_HEADERS 1
3580: | #define HAVE_SYS_TYPES_H 1
3581: | #define HAVE_SYS_STAT_H 1
3582: | #define HAVE_STDLIB_H 1
3583: | #define HAVE_STRING_H 1
3584: | #define HAVE_MEMORY_H 1
3585: | #define HAVE_STRINGS_H 1
3586: | #define HAVE_INTTYPES_H 1
3587: | #define HAVE_STDINT_H 1
3588: | #define HAVE_UNISTD_H 1
3589: | #define HAVE_DLFCN_H 1
3590: | #define LT_OBJDIR ".libs/"
3591: | #define YYTEXT_POINTER 1
3592: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3593: | #define STDC_HEADERS 1
3594: | #define HAVE_SYS_WAIT_H 1
3595: | #define HAVE_LIMITS_H 1
3596: | #define HAVE_SYS_TIME_H 1
3597: | #define HAVE_UNISTD_H 1
3598: | #define HAVE_STDARG_H 1
3599: | #define TIME_WITH_SYS_TIME 1
3600: | #define RETSIGTYPE void
3601: | #define HAVE_VPRINTF 1
3602: | #define HAVE_GETTIMEOFDAY 1
3603: | #define HAVE_SELECT 1
3604: | #define HAVE_SOCKET 1
3605: | #define HAVE_STRERROR 1
3606: | #define HAVE_STRTOL 1
3607: | #define HAVE_STRTOUL 1
3608: | #define HAVE_STRLCPY 1
3609: | #define HAVE_STRLCAT 1
3610: | #define HAVE_STRDUP 1
3611: | #define VA_COPY va_copy
3612: | #define HAVE_FUNC_MACRO /**/
3613: | #define HAVE_OPENSSL_ENGINE_H 1
3614: | #define HAVE_OPENSSL_AES_H 1
3615: | #define WITH_SHA2 /**/
3616: | #define HAVE_SHA2_IN_SHA_H /**/
3617: | #define HAVE_OPENSSL_CAMELLIA_H 1
3618: | #define ENABLE_ADMINPORT /**/
3619: | /* end confdefs.h. */
3620: |
3621: | /* Override any GCC internal prototype to avoid an error.
3622: | Use char because int might match the return type of a GCC
3623: | builtin and then its argument prototype would still apply. */
3624: | #ifdef __cplusplus
3625: | extern "C"
3626: | #endif
1.1.1.1.2.3.2 1(misho 3627:4): | char login ();
1.1 misho 3628: | int
3629: | main ()
3630: | {
1.1.1.1.2.3.2 1(misho 3631:4): | return login ();
1.1 misho 3632: | ;
3633: | return 0;
3634: | }
1.1.1.1.2.3.2 1(misho 3635:4): configure:13231: result: no
3636:4): configure:13241: checking if --with-libiconv option is specified
3637:4): configure:13251: result: no
3638:4): configure:13441: checking if --enable-hybrid option is specified
3639:4): configure:13450: result: yes
3640:4): configure:13468: checking if --enable-frag option is specified
3641:4): configure:13477: result: yes
3642:4): configure:13495: checking if --with-libradius option is specified
3643:4): configure:13505: result: yes
3644:4): configure:13513: checking for radius containing rad_create_request
3645:4): configure:13538: cc -o conftest -g -O2 conftest.c -lcrypto -lcrypt -lcrypt >&5
3646:4): /tmp/conftest-691a4d.o: In function `main':
3647:4): /home/misho/work/embedaddon/ipsec-tools/conftest.c:64: undefined reference to `rad_create_request'
3648:4): cc: error: linker command failed with exit code 1 (use -v to see invocation)
3649:4): configure:13538: $? = 1
1.1 misho 3650: configure: failed program was:
3651: | /* confdefs.h */
3652: | #define PACKAGE_NAME "ipsec-tools"
3653: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3654:4): | #define PACKAGE_VERSION "0.8.1"
3655:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3656: | #define PACKAGE_BUGREPORT ""
3657: | #define PACKAGE_URL ""
3658: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3659:4): | #define VERSION "0.8.1"
1.1 misho 3660: | #define STDC_HEADERS 1
3661: | #define HAVE_SYS_TYPES_H 1
3662: | #define HAVE_SYS_STAT_H 1
3663: | #define HAVE_STDLIB_H 1
3664: | #define HAVE_STRING_H 1
3665: | #define HAVE_MEMORY_H 1
3666: | #define HAVE_STRINGS_H 1
3667: | #define HAVE_INTTYPES_H 1
3668: | #define HAVE_STDINT_H 1
3669: | #define HAVE_UNISTD_H 1
3670: | #define HAVE_DLFCN_H 1
3671: | #define LT_OBJDIR ".libs/"
3672: | #define YYTEXT_POINTER 1
3673: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3674: | #define STDC_HEADERS 1
3675: | #define HAVE_SYS_WAIT_H 1
3676: | #define HAVE_LIMITS_H 1
3677: | #define HAVE_SYS_TIME_H 1
3678: | #define HAVE_UNISTD_H 1
3679: | #define HAVE_STDARG_H 1
3680: | #define TIME_WITH_SYS_TIME 1
3681: | #define RETSIGTYPE void
3682: | #define HAVE_VPRINTF 1
3683: | #define HAVE_GETTIMEOFDAY 1
3684: | #define HAVE_SELECT 1
3685: | #define HAVE_SOCKET 1
3686: | #define HAVE_STRERROR 1
3687: | #define HAVE_STRTOL 1
3688: | #define HAVE_STRTOUL 1
3689: | #define HAVE_STRLCPY 1
3690: | #define HAVE_STRLCAT 1
3691: | #define HAVE_STRDUP 1
3692: | #define VA_COPY va_copy
3693: | #define HAVE_FUNC_MACRO /**/
3694: | #define HAVE_OPENSSL_ENGINE_H 1
3695: | #define HAVE_OPENSSL_AES_H 1
3696: | #define WITH_SHA2 /**/
3697: | #define HAVE_SHA2_IN_SHA_H /**/
3698: | #define HAVE_OPENSSL_CAMELLIA_H 1
3699: | #define ENABLE_ADMINPORT /**/
3700: | #define ENABLE_HYBRID /**/
3701: | #define ENABLE_FRAG /**/
3702: | /* end confdefs.h. */
3703: |
1.1.1.1.2.3.2 1(misho 3704:4): | /* Override any GCC internal prototype to avoid an error.
3705:4): | Use char because int might match the return type of a GCC
3706:4): | builtin and then its argument prototype would still apply. */
3707:4): | #ifdef __cplusplus
3708:4): | extern "C"
3709:4): | #endif
3710:4): | char rad_create_request ();
1.1 misho 3711: | int
3712: | main ()
3713: | {
1.1.1.1.2.3.2 1(misho 3714:4): | return rad_create_request ();
1.1 misho 3715: | ;
3716: | return 0;
3717: | }
1.1.1.1.2.3.2 1(misho 3718:4): configure:13560: cc -o conftest -g -O2 conftest.c -lradius -lcrypto -lcrypt -lcrypt >&5
3719:4): configure:13560: $? = 0
3720:4): configure:13571: result: -lradius
3721:4): configure:13687: checking for rad_create_request
3722:4): configure:13687: cc -o conftest -g -O2 conftest.c -lradius -lcrypto -lcrypt -lcrypt -L/lib -R/lib -lradius >&5
3723:4): cc: error: unknown argument: '-R/lib'
3724:4): configure:13687: $? = 1
1.1 misho 3725: configure: failed program was:
3726: | /* confdefs.h */
3727: | #define PACKAGE_NAME "ipsec-tools"
3728: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3729:4): | #define PACKAGE_VERSION "0.8.1"
3730:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3731: | #define PACKAGE_BUGREPORT ""
3732: | #define PACKAGE_URL ""
3733: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3734:4): | #define VERSION "0.8.1"
1.1 misho 3735: | #define STDC_HEADERS 1
3736: | #define HAVE_SYS_TYPES_H 1
3737: | #define HAVE_SYS_STAT_H 1
3738: | #define HAVE_STDLIB_H 1
3739: | #define HAVE_STRING_H 1
3740: | #define HAVE_MEMORY_H 1
3741: | #define HAVE_STRINGS_H 1
3742: | #define HAVE_INTTYPES_H 1
3743: | #define HAVE_STDINT_H 1
3744: | #define HAVE_UNISTD_H 1
3745: | #define HAVE_DLFCN_H 1
3746: | #define LT_OBJDIR ".libs/"
3747: | #define YYTEXT_POINTER 1
3748: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3749: | #define STDC_HEADERS 1
3750: | #define HAVE_SYS_WAIT_H 1
3751: | #define HAVE_LIMITS_H 1
3752: | #define HAVE_SYS_TIME_H 1
3753: | #define HAVE_UNISTD_H 1
3754: | #define HAVE_STDARG_H 1
3755: | #define TIME_WITH_SYS_TIME 1
3756: | #define RETSIGTYPE void
3757: | #define HAVE_VPRINTF 1
3758: | #define HAVE_GETTIMEOFDAY 1
3759: | #define HAVE_SELECT 1
3760: | #define HAVE_SOCKET 1
3761: | #define HAVE_STRERROR 1
3762: | #define HAVE_STRTOL 1
3763: | #define HAVE_STRTOUL 1
3764: | #define HAVE_STRLCPY 1
3765: | #define HAVE_STRLCAT 1
3766: | #define HAVE_STRDUP 1
3767: | #define VA_COPY va_copy
3768: | #define HAVE_FUNC_MACRO /**/
3769: | #define HAVE_OPENSSL_ENGINE_H 1
3770: | #define HAVE_OPENSSL_AES_H 1
3771: | #define WITH_SHA2 /**/
3772: | #define HAVE_SHA2_IN_SHA_H /**/
3773: | #define HAVE_OPENSSL_CAMELLIA_H 1
3774: | #define ENABLE_ADMINPORT /**/
3775: | #define ENABLE_HYBRID /**/
3776: | #define ENABLE_FRAG /**/
3777: | #define HAVE_LIBRADIUS /**/
3778: | /* end confdefs.h. */
1.1.1.1.2.3.2 1(misho 3779:4): | /* Define rad_create_request to an innocuous variant, in case <limits.h> declares rad_create_request.
3780:4): | For example, HP-UX 11i <limits.h> declares gettimeofday. */
3781:4): | #define rad_create_request innocuous_rad_create_request
3782:4): |
3783:4): | /* System header to define __stub macros and hopefully few prototypes,
3784:4): | which can conflict with char rad_create_request (); below.
3785:4): | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3786:4): | <limits.h> exists even on freestanding compilers. */
3787:4): |
3788:4): | #ifdef __STDC__
3789:4): | # include <limits.h>
1.1 misho 3790: | #else
1.1.1.1.2.3.2 1(misho 3791:4): | # include <assert.h>
1.1 misho 3792: | #endif
1.1.1.1.2.3.2 1(misho 3793:4): |
3794:4): | #undef rad_create_request
3795:4): |
3796:4): | /* Override any GCC internal prototype to avoid an error.
3797:4): | Use char because int might match the return type of a GCC
3798:4): | builtin and then its argument prototype would still apply. */
3799:4): | #ifdef __cplusplus
3800:4): | extern "C"
1.1 misho 3801: | #endif
1.1.1.1.2.3.2 1(misho 3802:4): | char rad_create_request ();
3803:4): | /* The GNU C library defines this for functions which it implements
3804:4): | to always fail with ENOSYS. Some functions are actually named
3805:4): | something starting with __ and the normal name is an alias. */
3806:4): | #if defined __stub_rad_create_request || defined __stub___rad_create_request
3807:4): | choke me
1.1 misho 3808: | #endif
1.1.1.1.2.3.2 1(misho 3809:4): |
3810:4): | int
3811:4): | main ()
3812:4): | {
3813:4): | return rad_create_request ();
3814:4): | ;
3815:4): | return 0;
3816:4): | }
3817:4): configure:13687: result: no
3818:4): configure:13698: checking if --with-libpam option is specified
3819:4): configure:13708: result: no
3820:4): configure:13901: checking if --with-libldap option is specified
3821:4): configure:13911: result: no
3822:4): configure:14129: checking if --enable-gssapi option is specified
3823:4): configure:14138: result: no
3824:4): configure:14142: checking for krb5-config
3825:4): configure:14160: found /usr/bin/krb5-config
3826:4): configure:14173: result: /usr/bin/krb5-config
3827:4): configure:14321: checking if --enable-stats option is specified
3828:4): configure:14335: result: yes
3829:4): configure:14338: checking if --enable-dpd option is specified
3830:4): configure:14352: result: yes
3831:4): configure:14355: checking if --enable-samode-unspec option is specified
3832:4): configure:14382: result: no
3833:4): configure:14386: checking whether to enable ipv6
3834:4): configure:14396: result: yes
3835:4): configure:14446: checking for advanced API support
3836:4): configure:14463: cc -c -g -O2 conftest.c >&5
3837:4): configure:14463: $? = 0
3838:4): configure:14464: result: yes
3839:4): configure:14477: checking getaddrinfo bug
3840:4): configure:14577: cc -o conftest -Wall -O2 conftest.c -lradius -lcrypto -lcrypt -lcrypt -L/lib -R/lib -lradius >&5
3841:4): cc: error: unknown argument: '-R/lib'
3842:4): configure:14577: $? = 1
3843:4): configure: program exited with status 1
1.1 misho 3844: configure: failed program was:
3845: | /* confdefs.h */
3846: | #define PACKAGE_NAME "ipsec-tools"
3847: | #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3848:4): | #define PACKAGE_VERSION "0.8.1"
3849:4): | #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 3850: | #define PACKAGE_BUGREPORT ""
3851: | #define PACKAGE_URL ""
3852: | #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 3853:4): | #define VERSION "0.8.1"
1.1 misho 3854: | #define STDC_HEADERS 1
3855: | #define HAVE_SYS_TYPES_H 1
3856: | #define HAVE_SYS_STAT_H 1
3857: | #define HAVE_STDLIB_H 1
3858: | #define HAVE_STRING_H 1
3859: | #define HAVE_MEMORY_H 1
3860: | #define HAVE_STRINGS_H 1
3861: | #define HAVE_INTTYPES_H 1
3862: | #define HAVE_STDINT_H 1
3863: | #define HAVE_UNISTD_H 1
3864: | #define HAVE_DLFCN_H 1
3865: | #define LT_OBJDIR ".libs/"
3866: | #define YYTEXT_POINTER 1
3867: | #define PATH_IPSEC_H <netipsec/ipsec.h>
3868: | #define STDC_HEADERS 1
3869: | #define HAVE_SYS_WAIT_H 1
3870: | #define HAVE_LIMITS_H 1
3871: | #define HAVE_SYS_TIME_H 1
3872: | #define HAVE_UNISTD_H 1
3873: | #define HAVE_STDARG_H 1
3874: | #define TIME_WITH_SYS_TIME 1
3875: | #define RETSIGTYPE void
3876: | #define HAVE_VPRINTF 1
3877: | #define HAVE_GETTIMEOFDAY 1
3878: | #define HAVE_SELECT 1
3879: | #define HAVE_SOCKET 1
3880: | #define HAVE_STRERROR 1
3881: | #define HAVE_STRTOL 1
3882: | #define HAVE_STRTOUL 1
3883: | #define HAVE_STRLCPY 1
3884: | #define HAVE_STRLCAT 1
3885: | #define HAVE_STRDUP 1
3886: | #define VA_COPY va_copy
3887: | #define HAVE_FUNC_MACRO /**/
3888: | #define HAVE_OPENSSL_ENGINE_H 1
3889: | #define HAVE_OPENSSL_AES_H 1
3890: | #define WITH_SHA2 /**/
3891: | #define HAVE_SHA2_IN_SHA_H /**/
3892: | #define HAVE_OPENSSL_CAMELLIA_H 1
3893: | #define ENABLE_ADMINPORT /**/
3894: | #define ENABLE_HYBRID /**/
3895: | #define ENABLE_FRAG /**/
3896: | #define HAVE_LIBRADIUS /**/
3897: | #define ENABLE_STATS /**/
3898: | #define ENABLE_DPD /**/
3899: | #define INET6 /**/
3900: | #define INET6_ADVAPI /**/
3901: | /* end confdefs.h. */
1.1.1.1.2.3.2 1(misho 3902:4): |
3903:4): | #include <sys/types.h>
3904:4): | #include <sys/socket.h>
3905:4): | #include <netdb.h>
3906:4): | #include <stdlib.h>
3907:4): | #include <string.h>
3908:4): | #include <netinet/in.h>
3909:4): |
3910:4): | int main()
3911:4): | {
3912:4): | int passive, gaierr, inet4 = 0, inet6 = 0;
3913:4): | struct addrinfo hints, *ai, *aitop;
3914:4): | char straddr[INET6_ADDRSTRLEN], strport[16];
3915:4): |
3916:4): | for (passive = 0; passive <= 1; passive++) {
3917:4): | memset(&hints, 0, sizeof(hints));
3918:4): | hints.ai_family = AF_UNSPEC;
3919:4): | hints.ai_flags = passive ? AI_PASSIVE : 0;
3920:4): | hints.ai_protocol = IPPROTO_TCP;
3921:4): | hints.ai_socktype = SOCK_STREAM;
3922:4): | if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
3923:4): | (void)gai_strerror(gaierr);
3924:4): | goto bad;
3925:4): | }
3926:4): | for (ai = aitop; ai; ai = ai->ai_next) {
3927:4): | if (ai->ai_addr == NULL ||
3928:4): | ai->ai_addrlen == 0 ||
3929:4): | getnameinfo(ai->ai_addr, ai->ai_addrlen,
3930:4): | straddr, sizeof(straddr), strport, sizeof(strport),
3931:4): | NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
3932:4): | goto bad;
3933:4): | }
3934:4): | switch (ai->ai_family) {
3935:4): | case AF_INET:
3936:4): | if (strcmp(strport, "54321") != 0) {
3937:4): | goto bad;
3938:4): | }
3939:4): | if (passive) {
3940:4): | if (strcmp(straddr, "0.0.0.0") != 0) {
3941:4): | goto bad;
3942:4): | }
3943:4): | } else {
3944:4): | if (strcmp(straddr, "127.0.0.1") != 0) {
3945:4): | goto bad;
3946:4): | }
3947:4): | }
3948:4): | inet4++;
3949:4): | break;
3950:4): | case AF_INET6:
3951:4): | if (strcmp(strport, "54321") != 0) {
3952:4): | goto bad;
3953:4): | }
3954:4): | if (passive) {
3955:4): | if (strcmp(straddr, "::") != 0) {
3956:4): | goto bad;
3957:4): | }
3958:4): | } else {
3959:4): | if (strcmp(straddr, "::1") != 0) {
3960:4): | goto bad;
3961:4): | }
3962:4): | }
3963:4): | inet6++;
3964:4): | break;
3965:4): | case AF_UNSPEC:
3966:4): | goto bad;
3967:4): | break;
3968:4): | default:
3969:4): | /* another family support? */
3970:4): | break;
3971:4): | }
3972:4): | }
3973:4): | }
3974:4): |
3975:4): | if (!(inet4 == 0 || inet4 == 2))
3976:4): | goto bad;
3977:4): | if (!(inet6 == 0 || inet6 == 2))
3978:4): | goto bad;
3979:4): |
3980:4): | if (aitop)
3981:4): | freeaddrinfo(aitop);
3982:4): | exit(0);
3983:4): |
3984:4): | bad:
3985:4): | if (aitop)
3986:4): | freeaddrinfo(aitop);
3987:4): | exit(1);
3988:4): | }
3989:4): |
3990:4): configure:14582: result: buggy
3991:4): configure:14594: error: Broken getaddrinfo() is no longer supported. Aborting.
1.1 misho 3992:
3993: ## ---------------- ##
3994: ## Cache variables. ##
3995: ## ---------------- ##
3996:
1.1.1.1.2.3 misho 3997: ac_cv_build=i386-elwix-freebsd
1.1 misho 3998: ac_cv_c_compiler_gnu=yes
3999: ac_cv_c_const=yes
1.1.1.1.2.3 misho 4000: ac_cv_env_CC_set=set
4001: ac_cv_env_CC_value='cc '
1.1.1.1.2.1 misho 4002: ac_cv_env_CFLAGS_set=''
4003: ac_cv_env_CFLAGS_value=''
4004: ac_cv_env_CPPFLAGS_set=''
1.1 misho 4005: ac_cv_env_CPPFLAGS_value=''
1.1.1.1.2.3 misho 4006: ac_cv_env_CPP_set=set
4007: ac_cv_env_CPP_value='cpp '
1.1.1.1.2.1 misho 4008: ac_cv_env_LDFLAGS_set=''
4009: ac_cv_env_LDFLAGS_value=''
1.1 misho 4010: ac_cv_env_LIBS_set=''
4011: ac_cv_env_LIBS_value=''
4012: ac_cv_env_YACC_set=''
4013: ac_cv_env_YACC_value=''
4014: ac_cv_env_YFLAGS_set=''
4015: ac_cv_env_YFLAGS_value=''
1.1.1.1.2.3 misho 4016: ac_cv_env_build_alias_set=set
4017: ac_cv_env_build_alias_value=i386-elwix-freebsd
1.1 misho 4018: ac_cv_env_host_alias_set=''
4019: ac_cv_env_host_alias_value=''
4020: ac_cv_env_target_alias_set=''
4021: ac_cv_env_target_alias_value=''
4022: ac_cv_func__doprnt=no
4023: ac_cv_func_gettimeofday=yes
4024: ac_cv_func_memcmp_working=yes
1.1.1.1.2.3.2 1(misho 4025:4): ac_cv_func_rad_create_request=no
1.1 misho 4026: ac_cv_func_select=yes
4027: ac_cv_func_socket=yes
4028: ac_cv_func_strdup=yes
4029: ac_cv_func_strerror=yes
4030: ac_cv_func_strlcat=yes
4031: ac_cv_func_strlcpy=yes
4032: ac_cv_func_strtol=yes
4033: ac_cv_func_strtoul=yes
4034: ac_cv_func_vprintf=yes
4035: ac_cv_header_dlfcn_h=yes
4036: ac_cv_header_inttypes_h=yes
4037: ac_cv_header_limits_h=yes
4038: ac_cv_header_memory_h=yes
4039: ac_cv_header_net_pfkeyv2_h=yes
4040: ac_cv_header_netinet6_ipsec_h=no
4041: ac_cv_header_netinet_ipsec_h=no
4042: ac_cv_header_netipsec_ipsec_h=yes
4043: ac_cv_header_openssl_aes_h=yes
4044: ac_cv_header_openssl_camellia_h=yes
4045: ac_cv_header_openssl_engine_h=yes
4046: ac_cv_header_openssl_sha2_h=no
1.1.1.1.2.3.2 1(misho 4047:4): ac_cv_header_readline_readline_h=no
1.1 misho 4048: ac_cv_header_shadow_h=no
4049: ac_cv_header_stdarg_h=yes
4050: ac_cv_header_stdc=yes
4051: ac_cv_header_stdint_h=yes
4052: ac_cv_header_stdlib_h=yes
4053: ac_cv_header_string_h=yes
4054: ac_cv_header_strings_h=yes
4055: ac_cv_header_sys_stat_h=yes
4056: ac_cv_header_sys_time_h=yes
4057: ac_cv_header_sys_types_h=yes
4058: ac_cv_header_sys_wait_h=yes
4059: ac_cv_header_time=yes
4060: ac_cv_header_unistd_h=yes
4061: ac_cv_header_varargs_h=no
1.1.1.1.2.3 misho 4062: ac_cv_host=i386-elwix-freebsd
1.1 misho 4063: ac_cv_lib_lex=-lfl
4064: ac_cv_objext=o
4065: ac_cv_path_EGREP='/usr/bin/grep -E'
4066: ac_cv_path_FGREP='/usr/bin/grep -F'
4067: ac_cv_path_GREP=/usr/bin/grep
4068: ac_cv_path_KRB5_CONFIG=/usr/bin/krb5-config
4069: ac_cv_path_SED=/usr/bin/sed
1.1.1.1.2.3.2 1(misho 4070:4): ac_cv_path_install='/home/misho/work/elwix/build/2.2_x86/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin/install -c'
1.1 misho 4071: ac_cv_prog_AWK=gawk
1.1.1.1.2.3 misho 4072: ac_cv_prog_CPP='cpp '
1.1 misho 4073: ac_cv_prog_LEX=flex
4074: ac_cv_prog_YACC='bison -y'
1.1.1.1.2.3 misho 4075: ac_cv_prog_ac_ct_CC='cc '
1.1.1.1.2.3.2 1(misho 4076:4): ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
1.1 misho 4077: ac_cv_prog_ac_ct_OBJDUMP=objdump
4078: ac_cv_prog_ac_ct_RANLIB=ranlib
4079: ac_cv_prog_ac_ct_STRIP=strip
4080: ac_cv_prog_cc_c89=''
4081: ac_cv_prog_cc_g=yes
4082: ac_cv_prog_lex_root=lex.yy
4083: ac_cv_prog_lex_yytext_pointer=yes
4084: ac_cv_prog_make_make_set=yes
4085: ac_cv_search_MD5_Init=-lcrypto
4086: ac_cv_search_login=no
4087: ac_cv_search_rad_create_request=-lradius
4088: ac_cv_struct_tm=time.h
4089: ac_cv_type_pid_t=yes
4090: ac_cv_type_signal=void
4091: ac_cv_type_size_t=yes
4092: ac_cv_va_copy=yes
4093: am_cv_CC_dependencies_compiler_type=gcc3
1.1.1.1.2.3.2 1(misho 4094:4): am_cv_make_support_nested_variables=yes
4095:4): am_cv_prog_cc_c_o=yes
4096:4): lt_cv_ar_at_file=no
4097:4): lt_cv_archive_cmds_need_lc=no
1.1 misho 4098: lt_cv_deplibs_check_method=pass_all
4099: lt_cv_file_magic_cmd='$MAGIC_CMD'
4100: lt_cv_file_magic_test_file=''
4101: lt_cv_ld_reload_flag=-r
4102: lt_cv_nm_interface='BSD nm'
4103: lt_cv_objdir=.libs
1.1.1.1.2.3 misho 4104: lt_cv_path_LD=ld
4105: lt_cv_path_NM=nm
1.1.1.1.2.3.2 1(misho 4106:4): lt_cv_path_mainfest_tool=no
1.1 misho 4107: lt_cv_prog_compiler_c_o=yes
1.1.1.1.2.3.2 1(misho 4108:4): lt_cv_prog_compiler_pic='-fPIC -DPIC'
1.1 misho 4109: lt_cv_prog_compiler_pic_works=yes
1.1.1.1.2.3 misho 4110: lt_cv_prog_compiler_rtti_exceptions=yes
1.1 misho 4111: lt_cv_prog_compiler_static_works=yes
4112: lt_cv_prog_gnu_ld=yes
1.1.1.1.2.3.2 1(misho 4113:4): lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
4114:4): lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'
4115:4): lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'
4116:4): lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'
1.1 misho 4117: lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'
1.1.1.1.2.1 misho 4118: lt_cv_sys_max_cmd_len=196608
1.1.1.1.2.3.2 1(misho 4119:4): lt_cv_to_host_file_cmd=func_convert_file_noop
4120:4): lt_cv_to_tool_file_cmd=func_convert_file_noop
1.1 misho 4121:
4122: ## ----------------- ##
4123: ## Output variables. ##
4124: ## ----------------- ##
4125:
1.1.1.1.2.3.2 1(misho 4126:4): ACLOCAL='aclocal-1.14'
1.1 misho 4127: AMDEPBACKSLASH='\'
4128: AMDEP_FALSE='#'
4129: AMDEP_TRUE=''
1.1.1.1.2.3.2 1(misho 4130:4): AMTAR='$${TAR-tar}'
4131:4): AM_BACKSLASH='\'
4132:4): AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4133:4): AM_DEFAULT_VERBOSITY='1'
4134:4): AM_V='$(V)'
1.1 misho 4135: AR='ar'
1.1.1.1.2.3.2 1(misho 4136:4): AUTOCONF='autoconf'
4137:4): AUTOHEADER='autoheader'
4138:4): AUTOMAKE='automake-1.14'
1.1 misho 4139: AWK='gawk'
1.1.1.1.2.3 misho 4140: CC='cc '
1.1 misho 4141: CCDEPMODE='depmode=gcc3'
1.1.1.1.2.3.2 1(misho 4142:4): CFLAGS='-g -O2'
1.1 misho 4143: CONFIGURE_AMFLAGS=''
1.1.1.1.2.3 misho 4144: CPP='cpp '
1.1.1.1.2.3.2 1(misho 4145:4): CPPFLAGS=''
1.1 misho 4146: CRYPTOBJS=''
4147: CYGPATH_W='echo'
1.1.1.1.2.3.2 1(misho 4148:4): DEFS=''
1.1 misho 4149: DEPDIR='.deps'
1.1.1.1.2.3.2 1(misho 4150:4): DLLTOOL='false'
1.1 misho 4151: DSYMUTIL=''
4152: DUMPBIN=''
4153: ECHO_C=''
4154: ECHO_N='-n'
4155: ECHO_T=''
4156: EGREP='/usr/bin/grep -E'
4157: EXEEXT=''
4158: EXTRA_CRYPTO=''
4159: FGREP='/usr/bin/grep -F'
4160: FRAG_OBJS='isakmp_frag.o'
4161: GLIBC_BUGS=''
4162: GREP='/usr/bin/grep'
4163: HYBRID_OBJS='isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o'
4164: INCLUDE_GLIBC=''
1.1.1.1.2.1 misho 4165: INSTALL_DATA='${INSTALL} -m 644'
1.1 misho 4166: INSTALL_OPTS=''
1.1.1.1.2.1 misho 4167: INSTALL_PROGRAM='${INSTALL}'
4168: INSTALL_SCRIPT='${INSTALL}'
1.1 misho 4169: INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
4170: KERNEL_INCLUDE=''
4171: KRB5_CONFIG='/usr/bin/krb5-config'
1.1.1.1.2.3 misho 4172: LD='ld'
1.1.1.1.2.1 misho 4173: LDFLAGS=''
1.1 misho 4174: LEX='flex'
4175: LEXLIB='-lfl'
4176: LEX_OUTPUT_ROOT='lex.yy'
4177: LIBOBJS=''
1.1.1.1.2.3.2 1(misho 4178:4): LIBS='-lradius -lcrypto -lcrypt -lcrypt -L/lib -R/lib -lradius'
4179:4): LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.1 misho 4180: LIPO=''
4181: LN_S='ln -s'
4182: LTLIBOBJS=''
1.1.1.1.2.3.2 1(misho 4183:4): MAKEINFO='makeinfo'
4184:4): MANIFEST_TOOL=':'
1.1 misho 4185: MKDIR_P='./install-sh -c -d'
1.1.1.1.2.3.2 1(misho 4186:4): NATT_OBJS=''
1.1.1.1.2.3 misho 4187: NM='nm'
1.1 misho 4188: NMEDIT=''
4189: OBJDUMP='objdump'
4190: OBJEXT='o'
4191: OTOOL64=''
4192: OTOOL=''
4193: PACKAGE='ipsec-tools'
4194: PACKAGE_BUGREPORT=''
4195: PACKAGE_NAME='ipsec-tools'
1.1.1.1.2.3.2 1(misho 4196:4): PACKAGE_STRING='ipsec-tools 0.8.1'
1.1 misho 4197: PACKAGE_TARNAME='ipsec-tools'
4198: PACKAGE_URL=''
1.1.1.1.2.3.2 1(misho 4199:4): PACKAGE_VERSION='0.8.1'
1.1 misho 4200: PATH_SEPARATOR=':'
4201: RANLIB='ranlib'
4202: RPM=''
4203: SECCTX_OBJS=''
4204: SED='/usr/bin/sed'
4205: SET_MAKE=''
4206: SHELL='/bin/sh'
4207: STRIP='strip'
1.1.1.1.2.3.2 1(misho 4208:4): VERSION='0.8.1'
1.1 misho 4209: YACC='bison -y'
4210: YFLAGS=''
1.1.1.1.2.3.2 1(misho 4211:4): ac_ct_AR=''
1.1.1.1.2.3 misho 4212: ac_ct_CC='cc '
1.1 misho 4213: ac_ct_DUMPBIN=''
4214: am__EXEEXT_FALSE=''
1.1.1.1.2.3.2 1(misho 4215:4): am__EXEEXT_TRUE=''
1.1 misho 4216: am__fastdepCC_FALSE='#'
4217: am__fastdepCC_TRUE=''
4218: am__include='include'
4219: am__isrc=''
4220: am__leading_dot='.'
1.1.1.1.2.3.2 1(misho 4221:4): am__nodep='_no'
1.1 misho 4222: am__quote=''
1.1.1.1.2.3.2 1(misho 4223:4): am__tar='$${TAR-tar} chof - "$$tardir"'
4224:4): am__untar='$${TAR-tar} xf -'
1.1 misho 4225: bindir='${exec_prefix}/bin'
1.1.1.1.2.3 misho 4226: build='i386-elwix-freebsd'
4227: build_alias='i386-elwix-freebsd'
1.1 misho 4228: build_cpu='i386'
1.1.1.1.2.3 misho 4229: build_os='freebsd'
4230: build_vendor='elwix'
1.1 misho 4231: datadir='${datarootdir}'
4232: datarootdir='${prefix}/share'
4233: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
4234: dvidir='${docdir}'
1.1.1.1.2.3.2 1(misho 4235:4): exec_prefix='NONE'
1.1.1.1.2.3 misho 4236: host='i386-elwix-freebsd'
1.1 misho 4237: host_alias=''
4238: host_cpu='i386'
1.1.1.1.2.3 misho 4239: host_os='freebsd'
4240: host_vendor='elwix'
1.1 misho 4241: htmldir='${docdir}'
1.1.1.1.2.3.2 1(misho 4242:4): include_racoondir=''
1.1 misho 4243: includedir='${prefix}/include'
1.1.1.1.2.1 misho 4244: infodir='${datarootdir}/info'
4245: install_sh='${SHELL} /home/misho/work/embedaddon/ipsec-tools/install-sh'
1.1 misho 4246: libdir='${exec_prefix}/lib'
4247: libexecdir='${exec_prefix}/libexec'
4248: localedir='${datarootdir}/locale'
1.1.1.1.2.1 misho 4249: localstatedir='/var/run'
4250: mandir='${datarootdir}/man'
1.1.1.1.2.3.2 1(misho 4251:4): mkdir_p='$(MKDIR_P)'
1.1 misho 4252: oldincludedir='/usr/include'
4253: pdfdir='${docdir}'
1.1.1.1.2.3.2 1(misho 4254:4): prefix='/home/misho/work/elwix/build/2.2_x86/arch/i386/pkg'
1.1 misho 4255: program_transform_name='s,x,x,'
4256: psdir='${docdir}'
4257: sbindir='${exec_prefix}/sbin'
4258: sharedstatedir='${prefix}/com'
1.1.1.1.2.1 misho 4259: sysconfdir='/etc/racoon'
1.1 misho 4260: target_alias=''
4261:
4262: ## ----------- ##
4263: ## confdefs.h. ##
4264: ## ----------- ##
4265:
4266: /* confdefs.h */
4267: #define PACKAGE_NAME "ipsec-tools"
4268: #define PACKAGE_TARNAME "ipsec-tools"
1.1.1.1.2.3.2 1(misho 4269:4): #define PACKAGE_VERSION "0.8.1"
4270:4): #define PACKAGE_STRING "ipsec-tools 0.8.1"
1.1 misho 4271: #define PACKAGE_BUGREPORT ""
4272: #define PACKAGE_URL ""
4273: #define PACKAGE "ipsec-tools"
1.1.1.1.2.3.2 1(misho 4274:4): #define VERSION "0.8.1"
1.1 misho 4275: #define STDC_HEADERS 1
4276: #define HAVE_SYS_TYPES_H 1
4277: #define HAVE_SYS_STAT_H 1
4278: #define HAVE_STDLIB_H 1
4279: #define HAVE_STRING_H 1
4280: #define HAVE_MEMORY_H 1
4281: #define HAVE_STRINGS_H 1
4282: #define HAVE_INTTYPES_H 1
4283: #define HAVE_STDINT_H 1
4284: #define HAVE_UNISTD_H 1
4285: #define HAVE_DLFCN_H 1
4286: #define LT_OBJDIR ".libs/"
4287: #define YYTEXT_POINTER 1
4288: #define PATH_IPSEC_H <netipsec/ipsec.h>
4289: #define STDC_HEADERS 1
4290: #define HAVE_SYS_WAIT_H 1
4291: #define HAVE_LIMITS_H 1
4292: #define HAVE_SYS_TIME_H 1
4293: #define HAVE_UNISTD_H 1
4294: #define HAVE_STDARG_H 1
4295: #define TIME_WITH_SYS_TIME 1
4296: #define RETSIGTYPE void
4297: #define HAVE_VPRINTF 1
4298: #define HAVE_GETTIMEOFDAY 1
4299: #define HAVE_SELECT 1
4300: #define HAVE_SOCKET 1
4301: #define HAVE_STRERROR 1
4302: #define HAVE_STRTOL 1
4303: #define HAVE_STRTOUL 1
4304: #define HAVE_STRLCPY 1
4305: #define HAVE_STRLCAT 1
4306: #define HAVE_STRDUP 1
4307: #define VA_COPY va_copy
4308: #define HAVE_FUNC_MACRO /**/
4309: #define HAVE_OPENSSL_ENGINE_H 1
4310: #define HAVE_OPENSSL_AES_H 1
4311: #define WITH_SHA2 /**/
4312: #define HAVE_SHA2_IN_SHA_H /**/
4313: #define HAVE_OPENSSL_CAMELLIA_H 1
4314: #define ENABLE_ADMINPORT /**/
4315: #define ENABLE_HYBRID /**/
4316: #define ENABLE_FRAG /**/
4317: #define HAVE_LIBRADIUS /**/
4318: #define ENABLE_STATS /**/
4319: #define ENABLE_DPD /**/
4320: #define INET6 /**/
4321: #define INET6_ADVAPI /**/
4322:
1.1.1.1.2.3.2 1(misho 4323:4): configure: exit 1
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>