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