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