--- embedaddon/ipsec-tools/config.log 2012/02/21 22:39:10 1.1.1.1 +++ embedaddon/ipsec-tools/config.log 2013/07/22 12:28:06 1.1.1.1.2.3 @@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes It was created by ipsec-tools configure 0.8.0, which was generated by GNU Autoconf 2.67. Invocation command line was - $ ./configure --enable-shared --sysconfdir=/usr/local/etc/racoon --localstatedir=/var/db --with-pkgversion=freebsd-0.8.0 --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=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd10.0 + $ ./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 ## --------- ## ## Platform. ## @@ -14,7 +14,7 @@ hostname = elwix.aitnet.org uname -m = i386 uname -r = 10.0-CURRENT uname -s = FreeBSD -uname -v = FreeBSD 10.0-CURRENT #15: Wed Jan 11 15:00:02 EET 2012 root@elwix.aitnet.org:/usr/obj/usr/src/sys/GENERIC +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 /usr/bin/uname -p = i386 /bin/uname -X = unknown @@ -27,6 +27,23 @@ uname -v = FreeBSD 10.0-CURRENT #15: Wed Jan 11 15:00: /usr/bin/oslevel = unknown /bin/universe = unknown +PATH: /home/misho/work/elwix/build/1.9/arch/i386/world/elwix/pkg/bin +PATH: /home/misho/work/elwix/build/1.9/arch/i386/world/elwix/pkg/sbin +PATH: /elwix/pkg/bin +PATH: /elwix/pkg/sbin +PATH: /home/misho/work/elwix/build/1.9/arch/i386/pkg/bin +PATH: /home/misho/work/elwix/build/1.9/arch/i386/pkg/sbin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/sbin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/games +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/bin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/sbin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/bin +PATH: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/games +PATH: /sbin +PATH: /bin +PATH: /usr/sbin +PATH: /usr/bin PATH: /home/misho/bin PATH: /bin PATH: /sbin @@ -38,8 +55,8 @@ PATH: /usr/pkg/sbin PATH: /usr/games PATH: /usr/local/bin PATH: /usr/local/sbin -PATH: /opt/ccm/bin -PATH: /exports/home/misho/work/burner/bin +PATH: /elwix/pkg/bin +PATH: /elwix/pkg/sbin ## ----------- ## @@ -47,7 +64,7 @@ PATH: /exports/home/misho/work/burner/bin ## ----------- ## configure:2529: checking for a BSD-compatible install -configure:2597: result: /usr/bin/install -c -o root -g wheel +configure:2597: result: /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin/install -c configure:2608: checking whether build environment is sane configure:2658: result: yes configure:2799: checking for a thread-safe mkdir -p @@ -58,103 +75,98 @@ configure:2878: result: gawk configure:2889: checking whether make sets $(MAKE) configure:2911: result: yes configure:3072: checking for gcc -configure:3099: result: cc +configure:3099: result: cc configure:3328: checking for C compiler version -configure:3337: cc --version >&5 -cc (GCC) 4.2.1 20070831 patched [FreeBSD] -Copyright (C) 2007 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - +configure:3337: cc --version >&5 +FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 +Target: i386-unknown-freebsd10.0 +Thread model: posix configure:3348: $? = 0 -configure:3337: cc -v >&5 -Using built-in specs. -Target: i386-undermydesk-freebsd -Configured with: FreeBSD/i386 system compiler +configure:3337: cc -v >&5 +FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 +Target: i386-unknown-freebsd10.0 Thread model: posix -gcc version 4.2.1 20070831 patched [FreeBSD] configure:3348: $? = 0 -configure:3337: cc -V >&5 -cc: '-V' option must have argument +configure:3337: cc -V >&5 +cc: error: argument to '-V' is missing (expected 1 value) +cc: error: no input files configure:3348: $? = 1 -configure:3337: cc -qversion >&5 -cc: unrecognized option '-qversion' -cc: No input files specified +configure:3337: cc -qversion >&5 +cc: error: no input files configure:3348: $? = 1 configure:3368: checking whether the C compiler works -configure:3390: cc -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:3390: cc conftest.c >&5 configure:3394: $? = 0 configure:3442: result: yes configure:3445: checking for C compiler default output file name configure:3447: result: a.out configure:3453: checking for suffix of executables -configure:3460: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:3460: cc -o conftest conftest.c >&5 configure:3464: $? = 0 configure:3486: result: configure:3508: checking whether we are cross compiling -configure:3516: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:3516: cc -o conftest conftest.c >&5 configure:3520: $? = 0 configure:3527: ./conftest configure:3531: $? = 0 configure:3546: result: no configure:3551: checking for suffix of object files -configure:3573: cc -c -pipe -g conftest.c >&5 +configure:3573: cc -c conftest.c >&5 configure:3577: $? = 0 configure:3598: result: o configure:3602: checking whether we are using the GNU C compiler -configure:3621: cc -c -pipe -g conftest.c >&5 +configure:3621: cc -c conftest.c >&5 configure:3621: $? = 0 configure:3630: result: yes -configure:3639: checking whether cc accepts -g -configure:3659: cc -c -g conftest.c >&5 +configure:3639: checking whether cc accepts -g +configure:3659: cc -c -g conftest.c >&5 configure:3659: $? = 0 configure:3700: result: yes -configure:3717: checking for cc option to accept ISO C89 -configure:3781: cc -c -pipe -g conftest.c >&5 +configure:3717: checking for cc option to accept ISO C89 +configure:3781: cc -c -g -O2 conftest.c >&5 configure:3781: $? = 0 configure:3794: result: none needed configure:3825: checking for style of include used by make configure:3853: result: GNU -configure:3878: checking dependency style of cc +configure:3878: checking dependency style of cc configure:3988: result: gcc3 configure:4051: checking for gcc -configure:4078: result: cc +configure:4078: result: cc configure:4307: checking for C compiler version -configure:4316: cc --version >&5 -cc (GCC) 4.2.1 20070831 patched [FreeBSD] -Copyright (C) 2007 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - +configure:4316: cc --version >&5 +FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 +Target: i386-unknown-freebsd10.0 +Thread model: posix configure:4327: $? = 0 -configure:4316: cc -v >&5 -Using built-in specs. -Target: i386-undermydesk-freebsd -Configured with: FreeBSD/i386 system compiler +configure:4316: cc -v >&5 +FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 +Target: i386-unknown-freebsd10.0 Thread model: posix -gcc version 4.2.1 20070831 patched [FreeBSD] configure:4327: $? = 0 -configure:4316: cc -V >&5 -cc: '-V' option must have argument +configure:4316: cc -V >&5 +cc: error: argument to '-V' is missing (expected 1 value) +cc: error: no input files configure:4327: $? = 1 -configure:4316: cc -qversion >&5 -cc: unrecognized option '-qversion' -cc: No input files specified +configure:4316: cc -qversion >&5 +cc: error: no input files configure:4327: $? = 1 configure:4331: checking whether we are using the GNU C compiler configure:4359: result: yes -configure:4368: checking whether cc accepts -g +configure:4368: checking whether cc accepts -g configure:4429: result: yes -configure:4446: checking for cc option to accept ISO C89 +configure:4446: checking for cc option to accept ISO C89 configure:4523: result: none needed -configure:4545: checking dependency style of cc +configure:4545: checking dependency style of cc configure:4655: result: gcc3 configure:4679: checking how to run the C preprocessor -configure:4749: result: cpp -configure:4769: cpp conftest.c +configure:4749: result: cpp +configure:4769: cpp conftest.c configure:4769: $? = 0 -configure:4783: cpp conftest.c -conftest.c:11:28: error: ac_nonexistent.h: No such file or directory +configure:4783: cpp conftest.c +conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. configure:4783: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -173,136 +185,133 @@ configure:4870: result: /usr/bin/grep configure:4875: checking for egrep configure:4937: result: /usr/bin/grep -E configure:4942: checking for ANSI C header files -configure:4962: cc -c -pipe -g conftest.c >&5 +configure:4962: cc -c -g -O2 conftest.c >&5 configure:4962: $? = 0 -configure:5035: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:5035: cc -o conftest -g -O2 conftest.c >&5 configure:5035: $? = 0 configure:5035: ./conftest configure:5035: $? = 0 configure:5046: result: yes configure:5083: checking build system type -configure:5097: result: i386-portbld-freebsd10.0 +configure:5097: result: i386-elwix-freebsd configure:5117: checking host system type -configure:5130: result: i386-portbld-freebsd10.0 +configure:5130: result: i386-elwix-freebsd configure:5150: checking for a sed that does not truncate output configure:5214: result: /usr/bin/sed configure:5232: checking for fgrep configure:5294: result: /usr/bin/grep -F -configure:5329: checking for ld used by cc -configure:5396: result: /usr/bin/ld -configure:5403: checking if the linker (/usr/bin/ld) is GNU ld +configure:5329: checking for ld used by cc +configure:5396: result: ld +configure:5403: checking if the linker (ld) is GNU ld configure:5418: result: yes configure:5430: checking for BSD- or MS-compatible name lister (nm) -configure:5479: result: /usr/bin/nm -B -configure:5597: checking the name lister (/usr/bin/nm -B) interface -configure:5604: cc -c -pipe -g conftest.c >&5 -configure:5607: /usr/bin/nm -B "conftest.o" +configure:5479: result: nm +configure:5597: checking the name lister (nm) interface +configure:5604: cc -c -g -O2 conftest.c >&5 +configure:5607: nm "conftest.o" configure:5610: output 00000000 B some_variable configure:5617: result: BSD nm configure:5620: checking whether ln -s works configure:5624: result: yes configure:5632: checking the maximum length of command line arguments -configure:5752: result: 262144 +configure:5752: result: 196608 configure:5769: checking whether the shell understands some XSI constructs configure:5779: result: yes configure:5783: checking whether the shell understands "+=" configure:5789: result: no -configure:5824: checking for /usr/bin/ld option to reload object files +configure:5824: checking for ld option to reload object files configure:5831: result: -r configure:5900: checking for objdump -configure:5916: found /usr/bin/objdump +configure:5916: found /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/bin/objdump configure:5927: result: objdump configure:5959: checking how to recognize dependent libraries configure:6155: result: pass_all configure:6215: checking for ar -configure:6231: found /usr/bin/ar configure:6242: result: ar configure:6320: checking for strip -configure:6336: found /usr/bin/strip +configure:6336: found /home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/bin/strip configure:6347: result: strip configure:6419: checking for ranlib -configure:6435: found /usr/bin/ranlib configure:6446: result: ranlib -configure:6536: checking command to parse /usr/bin/nm -B output from cc object -configure:6654: cc -c -pipe -g conftest.c >&5 +configure:6536: checking command to parse nm output from cc object +configure:6654: cc -c -g -O2 conftest.c >&5 configure:6657: $? = 0 -configure:6661: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm +configure:6661: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6664: $? = 0 -configure:6718: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c conftstm.o >&5 +configure:6718: cc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6721: $? = 0 configure:6759: result: ok configure:7567: checking for sys/types.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for sys/stat.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for stdlib.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for string.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for memory.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for strings.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for inttypes.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for stdint.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7567: checking for unistd.h -configure:7567: cc -c -pipe -g conftest.c >&5 +configure:7567: cc -c -g -O2 conftest.c >&5 configure:7567: $? = 0 configure:7567: result: yes configure:7581: checking for dlfcn.h -configure:7581: cc -c -pipe -g conftest.c >&5 +configure:7581: cc -c -g -O2 conftest.c >&5 configure:7581: $? = 0 configure:7581: result: yes configure:7735: checking for objdir configure:7750: result: .libs -configure:8042: checking if cc supports -fno-rtti -fno-exceptions -configure:8060: cc -c -pipe -g -fno-rtti -fno-exceptions conftest.c >&5 -cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C +configure:8042: checking if cc supports -fno-rtti -fno-exceptions +configure:8060: cc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 configure:8064: $? = 0 -configure:8077: result: no -configure:8097: checking for cc option to produce PIC +configure:8077: result: yes +configure:8097: checking for cc option to produce PIC configure:8369: result: -fPIC -DPIC -configure:8381: checking if cc PIC flag -fPIC -DPIC works -configure:8399: cc -c -pipe -g -fPIC -DPIC -DPIC conftest.c >&5 +configure:8381: checking if cc PIC flag -fPIC -DPIC works +configure:8399: cc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8403: $? = 0 configure:8416: result: yes -configure:8440: checking if cc static flag -static works +configure:8440: checking if cc static flag -static works configure:8468: result: yes -configure:8483: checking if cc supports -c -o file.o -configure:8504: cc -c -pipe -g -o out/conftest2.o conftest.c >&5 +configure:8483: checking if cc supports -c -o file.o +configure:8504: cc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8508: $? = 0 configure:8530: result: yes -configure:8538: checking if cc supports -c -o file.o +configure:8538: checking if cc supports -c -o file.o configure:8585: result: yes -configure:8618: checking whether the cc linker (/usr/bin/ld) supports shared libraries +configure:8618: checking whether the cc linker (ld) supports shared libraries configure:9609: result: yes configure:9646: checking whether -lc should be explicitly linked in -configure:9651: cc -c -pipe -g conftest.c >&5 +configure:9651: cc -c -g -O2 conftest.c >&5 configure:9654: $? = 0 -configure:9669: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 +configure:9669: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:9672: $? = 0 configure:9684: result: no configure:9848: checking dynamic linker characteristics -configure:10511: result: freebsd10.0 ld.so +configure:10511: result: freebsd ld.so configure:10613: checking how to hardcode library paths into programs configure:10638: result: immediate configure:11158: checking whether stripping libraries is possible @@ -324,16 +333,14 @@ configure:11381: $? = 0 configure:11383: checking lex output file root configure:11397: result: lex.yy configure:11402: checking lex library -configure:11416: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 -conftest.l: In function 'yylex': -conftest.l:6: warning: comparison between pointer and integer -conftest.l:6: warning: assignment makes pointer from integer without a cast -/tmp//cclOoT7I.o: In function `yylex': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/lex.yy.c:752: undefined reference to `yywrap' -/tmp//cclOoT7I.o: In function `input': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/lex.yy.c:1108: undefined reference to `yywrap' -/tmp//cclOoT7I.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.l:16: undefined reference to `yywrap' +configure:11416: cc -o conftest -g -O2 conftest.c >&5 +/tmp/conftest-Y4GjDq.o: In function `yylex': +/home/misho/work/embedaddon/ipsec-tools/lex.yy.c:883: undefined reference to `yywrap' +/tmp/conftest-Y4GjDq.o: In function `input': +/home/misho/work/embedaddon/ipsec-tools/lex.yy.c:1186: undefined reference to `yywrap' +/tmp/conftest-Y4GjDq.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.l:17: undefined reference to `yywrap' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:11416: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -358,78 +365,127 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ +| +| #line 3 "lex.yy.c" +| +| #define YY_INT_ALIGNED short int +| | /* A lexical scanner generated by flex */ | -| /* Scanner skeleton version: -| * $Header: /usr/local/www/users/anoncvs/cvs/embedaddon/ipsec-tools/config.log,v 1.1.1.1 2012/02/21 22:39:10 misho Exp $ -| * $FreeBSD: src/usr.bin/lex/flex.skl,v 1.13 2010/10/24 15:31:41 uqs Exp $ -| */ +| #define FLEX_SCANNER +| #define YY_FLEX_MAJOR_VERSION 2 +| #define YY_FLEX_MINOR_VERSION 5 +| #define YY_FLEX_SUBMINOR_VERSION 37 +| #if YY_FLEX_SUBMINOR_VERSION > 0 +| #define FLEX_BETA +| #endif | +| /* First, we deal with platform-specific or compiler-specific issues. */ +| | #if defined(__FreeBSD__) +| #ifndef __STDC_LIMIT_MACROS +| #define __STDC_LIMIT_MACROS +| #endif | #include +| #include | #else -| #define __unused -| #define __dead2 +| #define __dead2 | #endif | -| #define FLEX_SCANNER -| #define YY_FLEX_MAJOR_VERSION 2 -| #define YY_FLEX_MINOR_VERSION 5 -| +| /* begin standard C headers. */ | #include +| #include +| #include +| #include | +| /* end standard C headers. */ | -| /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -| #ifdef c_plusplus -| #ifndef __cplusplus -| #define __cplusplus +| /* flex integer type definitions */ +| +| #ifndef FLEXINT_H +| #define FLEXINT_H +| +| /* C99 systems have . Non-C99 systems may or may not. */ +| +| #if defined(__FreeBSD__) || \ +| (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) +| +| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, +| * if you want the limit (max/min) macros for int types. +| */ +| #ifndef __STDC_LIMIT_MACROS +| #define __STDC_LIMIT_MACROS 1 | #endif -| #endif | +| #include +| typedef int8_t flex_int8_t; +| typedef uint8_t flex_uint8_t; +| typedef int16_t flex_int16_t; +| typedef uint16_t flex_uint16_t; +| typedef int32_t flex_int32_t; +| typedef uint32_t flex_uint32_t; +| #else +| typedef signed char flex_int8_t; +| typedef short int flex_int16_t; +| typedef int flex_int32_t; +| typedef unsigned char flex_uint8_t; +| typedef unsigned short int flex_uint16_t; +| typedef unsigned int flex_uint32_t; | -| #ifdef __cplusplus +| /* Limits of integral types. */ +| #ifndef INT8_MIN +| #define INT8_MIN (-128) +| #endif +| #ifndef INT16_MIN +| #define INT16_MIN (-32767-1) +| #endif +| #ifndef INT32_MIN +| #define INT32_MIN (-2147483647-1) +| #endif +| #ifndef INT8_MAX +| #define INT8_MAX (127) +| #endif +| #ifndef INT16_MAX +| #define INT16_MAX (32767) +| #endif +| #ifndef INT32_MAX +| #define INT32_MAX (2147483647) +| #endif +| #ifndef UINT8_MAX +| #define UINT8_MAX (255U) +| #endif +| #ifndef UINT16_MAX +| #define UINT16_MAX (65535U) +| #endif +| #ifndef UINT32_MAX +| #define UINT32_MAX (4294967295U) +| #endif | -| #include -| #include +| #endif /* ! C99 */ | -| /* Use prototypes in function declarations. */ -| #define YY_USE_PROTOS +| #endif /* ! FLEXINT_H */ | +| #ifdef __cplusplus +| | /* The "const" storage-class-modifier is valid. */ | #define YY_USE_CONST | | #else /* ! __cplusplus */ | -| #if __STDC__ +| /* C99 requires __STDC__ to be defined as 1. */ +| #if defined (__STDC__) | -| #define YY_USE_PROTOS | #define YY_USE_CONST | -| #endif /* __STDC__ */ +| #endif /* defined (__STDC__) */ | #endif /* ! __cplusplus */ | -| #ifdef __TURBOC__ -| #pragma warn -rch -| #pragma warn -use -| #include -| #include -| #define YY_USE_CONST -| #define YY_USE_PROTOS -| #endif -| | #ifdef YY_USE_CONST | #define yyconst const | #else | #define yyconst | #endif | -| -| #ifdef YY_USE_PROTOS -| #define YY_PROTO(proto) proto -| #else -| #define YY_PROTO(proto) () -| #endif -| | /* Returned upon end-of-file. */ | #define YY_NULL 0 | @@ -444,71 +500,70 @@ configure: failed program was: | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ -| #define BEGIN yy_start = 1 + 2 * +| #define BEGIN (yy_start) = 1 + 2 * | | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ -| #define YY_START ((yy_start - 1) / 2) +| #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | | /* Special action meaning "start processing a new file". */ -| #define YY_NEW_FILE yyrestart( yyin ) +| #define YY_NEW_FILE yyrestart(yyin ) | | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ +| #ifndef YY_BUF_SIZE | #define YY_BUF_SIZE 16384 +| #endif | +| /* The state buf must be large enough to hold one state per character in the main buffer. +| */ +| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) +| +| #ifndef YY_TYPEDEF_YY_BUFFER_STATE +| #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; +| #endif | -| extern int yyleng; +| #ifndef YY_TYPEDEF_YY_SIZE_T +| #define YY_TYPEDEF_YY_SIZE_T +| typedef size_t yy_size_t; +| #endif +| +| extern yy_size_t yyleng; +| | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | -| /* The funky do-while in the following #define is used to turn the definition -| * int a single C statement (which needs a semi-colon terminator). This -| * avoids problems with code like: -| * -| * if ( condition_holds ) -| * yyless( 5 ); -| * else -| * do_something_else(); -| * -| * Prior to using the do-while the compiler would get upset at the -| * "else" because it interpreted the "if" statement as being all -| * done when it reached the ';' after the yyless() call. -| */ -| -| /* Return all but the first 'n' matched characters back to the input stream. */ -| +| #define YY_LESS_LINENO(n) +| +| /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ -| *yy_cp = yy_hold_char; \ +| int yyless_macro_arg = (n); \ +| YY_LESS_LINENO(yyless_macro_arg);\ +| *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ -| yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ +| (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | -| #define unput(c) yyunput( c, yytext_ptr ) +| #define unput(c) yyunput( c, (yytext_ptr) ) | -| /* The following is because we cannot portably get our hands on size_t -| * (without autoconf's help, which isn't available because we want -| * flex-generated scanners to compile on their own). -| */ -| typedef unsigned int yy_size_t; -| -| +| #ifndef YY_STRUCT_YY_BUFFER_STATE +| #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; @@ -524,7 +579,7 @@ configure: failed program was: | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ -| int yy_n_chars; +| yy_size_t yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to @@ -545,12 +600,16 @@ configure: failed program was: | */ | int yy_at_bol; | +| int yy_bs_lineno; /**< The line count. */ +| int yy_bs_column; /**< The column count. */ +| | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; +| | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process @@ -564,28 +623,39 @@ configure: failed program was: | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 +| | }; +| #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | -| static YY_BUFFER_STATE yy_current_buffer = 0; +| /* Stack of input buffers. */ +| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". +| * +| * Returns the top of the stack, or NULL. | */ -| #define YY_CURRENT_BUFFER yy_current_buffer +| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ +| ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ +| : NULL) +| #define yy_current_buffer YY_CURRENT_BUFFER | +| /* Same as previous macro, but useful when we know that the buffer stack is not +| * NULL or when we need an lvalue. For internal use only. +| */ +| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; +| static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +| yy_size_t yyleng; | -| static int yy_n_chars; /* number of characters read into yy_ch_buf */ -| -| -| int yyleng; -| | /* Points to current character in buffer. */ | static char *yy_c_buf_p = (char *) 0; -| static int yy_init = 1; /* whether we need to initialize */ +| static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches @@ -593,82 +663,106 @@ configure: failed program was: | */ | static int yy_did_buffer_switch_on_eof; | -| void yyrestart YY_PROTO(( FILE *input_file )); +| void yyrestart (FILE *input_file ); +| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +| void yy_delete_buffer (YY_BUFFER_STATE b ); +| void yy_flush_buffer (YY_BUFFER_STATE b ); +| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +| void yypop_buffer_state (void ); | -| void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -| void yy_load_buffer_state YY_PROTO(( void )); -| YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -| void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -| void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -| void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -| #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) +| static void yyensure_buffer_stack (void ); +| static void yy_load_buffer_state (void ); +| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | -| YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -| YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -| YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); +| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | -| static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -| static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) __unused; -| static void yy_flex_free YY_PROTO(( void * )); +| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); | +| void *yyalloc (yy_size_t ); +| void *yyrealloc (void *,yy_size_t ); +| void yyfree (void * ); +| | #define yy_new_buffer yy_create_buffer | | #define yy_set_interactive(is_interactive) \ | { \ -| if ( ! yy_current_buffer ) \ -| yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ -| yy_current_buffer->yy_is_interactive = is_interactive; \ +| if ( ! YY_CURRENT_BUFFER ){ \ +| yyensure_buffer_stack (); \ +| YY_CURRENT_BUFFER_LVALUE = \ +| yy_create_buffer(yyin,YY_BUF_SIZE ); \ +| } \ +| YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | | #define yy_set_bol(at_bol) \ | { \ -| if ( ! yy_current_buffer ) \ -| yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ -| yy_current_buffer->yy_at_bol = at_bol; \ +| if ( ! YY_CURRENT_BUFFER ){\ +| yyensure_buffer_stack (); \ +| YY_CURRENT_BUFFER_LVALUE = \ +| yy_create_buffer(yyin,YY_BUF_SIZE ); \ +| } \ +| YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | -| #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) +| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | +| /* Begin user sect3 */ | -| #define YY_USES_REJECT | typedef unsigned char YY_CHAR; +| | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; +| | typedef int yy_state_type; +| +| extern int yylineno; +| +| int yylineno = 1; +| | extern char *yytext; | #define yytext_ptr yytext | -| static yy_state_type yy_get_previous_state YY_PROTO(( void )); -| static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -| static int yy_get_next_buffer YY_PROTO(( void )); -| static void yy_fatal_error YY_PROTO(( yyconst char msg[] )) __dead2; +| static yy_state_type yy_get_previous_state (void ); +| static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +| static int yy_get_next_buffer (void ); +| static void yy_fatal_error (yyconst char msg[] ) __dead2; | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ -| yytext_ptr = yy_bp; \ -| yytext_ptr -= yy_more_len; \ -| yyleng = (int) (yy_cp - yytext_ptr); \ -| yy_hold_char = *yy_cp; \ +| (yytext_ptr) = yy_bp; \ +| (yytext_ptr) -= (yy_more_len); \ +| yyleng = (size_t) (yy_cp - (yytext_ptr)); \ +| (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ -| yy_c_buf_p = yy_cp; +| (yy_c_buf_p) = yy_cp; | | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 -| static yyconst short int yy_acclist[23] = +| /* This struct is not used in this scanner, +| but its presence is necessary. */ +| struct yy_trans_info +| { +| flex_int32_t yy_verify; +| flex_int32_t yy_nxt; +| }; +| static yyconst flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | -| static yyconst short int yy_accept[14] = +| static yyconst flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | -| static yyconst int yy_ec[256] = +| static yyconst flex_int32_t yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -700,134 +794,148 @@ configure: failed program was: | 1, 1, 1, 1, 1 | } ; | -| static yyconst int yy_meta[9] = +| static yyconst flex_int32_t yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | -| static yyconst short int yy_base[13] = +| static yyconst flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | -| static yyconst short int yy_def[13] = +| static yyconst flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | -| static yyconst short int yy_nxt[19] = +| static yyconst flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | -| static yyconst short int yy_chk[19] = +| static yyconst flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | -| static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; +| extern int yy_flex_debug; +| int yy_flex_debug = 0; +| +| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ -| *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ -| yy_cp = yy_full_match; /* restore poss. backed-over text */ \ -| ++yy_lp; \ +| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ +| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ +| ++(yy_lp); \ | goto find_rule; \ | } +| | static int yy_more_flag = 0; | static int yy_more_len = 0; -| #define yymore() (yy_more_flag = 1) -| #define YY_MORE_ADJ yy_more_len +| #define yymore() ((yy_more_flag) = 1) +| #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" +| #line 481 "lex.yy.c" +| | #define INITIAL 0 -| #line 391 "lex.yy.c" | +| #ifndef YY_NO_UNISTD_H +| /* Special case for "unistd.h", since it is non-ANSI. We include it way +| * down here because we want the user's section 1 to have been scanned first. +| * The user has a chance to override it with an option. +| */ +| #include +| #endif +| +| #ifndef YY_EXTRA_TYPE +| #define YY_EXTRA_TYPE void * +| #endif +| +| static int yy_init_globals (void ); +| +| /* Accessor methods to globals. +| These are made visible to non-reentrant scanners for convenience. */ +| +| int yylex_destroy (void ); +| +| int yyget_debug (void ); +| +| void yyset_debug (int debug_flag ); +| +| YY_EXTRA_TYPE yyget_extra (void ); +| +| void yyset_extra (YY_EXTRA_TYPE user_defined ); +| +| FILE *yyget_in (void ); +| +| void yyset_in (FILE * in_str ); +| +| FILE *yyget_out (void ); +| +| void yyset_out (FILE * out_str ); +| +| yy_size_t yyget_leng (void ); +| +| char *yyget_text (void ); +| +| int yyget_lineno (void ); +| +| void yyset_lineno (int line_number ); +| | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus -| extern "C" int yywrap YY_PROTO(( void )); +| extern "C" int yywrap (void ); | #else -| extern int yywrap YY_PROTO(( void )); +| extern int yywrap (void ); | #endif | #endif | | #ifndef YY_NO_UNPUT -| static void yyunput YY_PROTO(( int c, char *buf_ptr )); +| static void yyunput (int c,char *buf_ptr ); | #endif -| +| | #ifndef yytext_ptr -| static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); +| static void yy_flex_strncpy (char *,yyconst char *,int ); | #endif | | #ifdef YY_NEED_STRLEN -| static int yy_flex_strlen YY_PROTO(( yyconst char * )); +| static int yy_flex_strlen (yyconst char * ); | #endif | | #ifndef YY_NO_INPUT +| | #ifdef __cplusplus -| static int yyinput YY_PROTO(( void )); +| static int yyinput (void ); | #else -| static int input YY_PROTO(( void )); +| static int input (void ); | #endif -| #endif | -| #if YY_STACK_USED -| static int yy_start_stack_ptr = 0; -| static int yy_start_stack_depth = 0; -| static int *yy_start_stack = 0; -| #ifndef YY_NO_PUSH_STATE -| static void yy_push_state YY_PROTO(( int new_state )); | #endif -| #ifndef YY_NO_POP_STATE -| static void yy_pop_state YY_PROTO(( void )); -| #endif -| #ifndef YY_NO_TOP_STATE -| static int yy_top_state YY_PROTO(( void )); -| #endif | -| #else -| #define YY_NO_PUSH_STATE 1 -| #define YY_NO_POP_STATE 1 -| #define YY_NO_TOP_STATE 1 -| #endif -| -| #ifdef YY_MALLOC_DECL -| YY_MALLOC_DECL -| #else -| #if __STDC__ -| #ifndef __cplusplus -| #include -| #endif -| #else -| /* Just try to get by without declaring the routines. This will fail -| * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) -| * or sizeof(void*) != sizeof(int). -| */ -| #endif -| #endif -| | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #define YY_READ_BUF_SIZE 8192 | #endif | | /* Copy whatever the last rule matched to the standard output. */ -| | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ -| #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) +| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -835,9 +943,10 @@ configure: failed program was: | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ -| if ( yy_current_buffer->yy_is_interactive ) \ +| if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ -| int c = '*', n; \ +| int c = '*'; \ +| size_t n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ @@ -847,9 +956,22 @@ configure: failed program was: | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ -| else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ -| && ferror( yyin ) ) \ -| YY_FATAL_ERROR( "input in flex scanner failed" ); +| else \ +| { \ +| errno=0; \ +| while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ +| { \ +| if( errno != EINTR) \ +| { \ +| YY_FATAL_ERROR( "input in flex scanner failed" ); \ +| break; \ +| } \ +| errno=0; \ +| clearerr(yyin); \ +| } \ +| }\ +| \ +| | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - @@ -870,13 +992,19 @@ configure: failed program was: | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | +| /* end tables serialization structures and prototypes */ +| | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL -| #define YY_DECL int yylex YY_PROTO(( void )) -| #endif +| #define YY_DECL_IS_OURS 1 | +| extern int yylex (void); +| +| #define YY_DECL int yylex (void) +| #endif /* !YY_DECL */ +| | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ @@ -892,65 +1020,77 @@ configure: failed program was: | #define YY_RULE_SETUP \ | YY_USER_ACTION | +| /** The main scanner function which does all the work. +| */ | YY_DECL -| { +| { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; -| +| | #line 1 "conftest.l" | -| #line 544 "lex.yy.c" +| #line 667 "lex.yy.c" | -| if ( yy_init ) +| if ( !(yy_init) ) | { -| yy_init = 0; +| (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | -| if ( ! yy_start ) -| yy_start = 1; /* first start state */ +| /* Create the reject buffer large enough to save one state per allowed character. */ +| if ( ! (yy_state_buf) ) +| (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); +| if ( ! (yy_state_buf) ) +| YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | +| if ( ! (yy_start) ) +| (yy_start) = 1; /* first start state */ +| | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | -| if ( ! yy_current_buffer ) -| yy_current_buffer = -| yy_create_buffer( yyin, YY_BUF_SIZE ); +| if ( ! YY_CURRENT_BUFFER ) { +| yyensure_buffer_stack (); +| YY_CURRENT_BUFFER_LVALUE = +| yy_create_buffer(yyin,YY_BUF_SIZE ); +| } | -| yy_load_buffer_state(); +| yy_load_buffer_state( ); | } | | while ( 1 ) /* loops until end-of-file is reached */ | { -| yy_more_len = 0; -| if ( yy_more_flag ) +| (yy_more_len) = 0; +| if ( (yy_more_flag) ) | { -| yy_more_len = yy_c_buf_p - yytext_ptr; -| yy_more_flag = 0; +| (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); +| (yy_more_flag) = 0; | } -| yy_cp = yy_c_buf_p; +| yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ -| *yy_cp = yy_hold_char; +| *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | -| yy_current_state = yy_start; -| yy_state_ptr = yy_state_buf; -| *yy_state_ptr++ = yy_current_state; +| yy_current_state = (yy_start); +| +| (yy_state_ptr) = (yy_state_buf); +| *(yy_state_ptr)++ = yy_current_state; +| | yy_match: | do | { -| YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; +| YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; @@ -958,37 +1098,35 @@ configure: failed program was: | yy_c = yy_meta[(unsigned int) yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -| *yy_state_ptr++ = yy_current_state; +| *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: -| yy_current_state = *--yy_state_ptr; -| yy_lp = yy_accept[yy_current_state]; +| yy_current_state = *--(yy_state_ptr); +| (yy_lp) = yy_accept[yy_current_state]; | goto find_rule; /* avoid `defined but not used' warning */ | find_rule: /* we branch to this label when backing up */ | for ( ; ; ) /* until we find what rule we matched */ | { -| if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) +| if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { -| yy_act = yy_acclist[yy_lp]; +| yy_act = yy_acclist[(yy_lp)]; | { -| yy_full_match = yy_cp; +| (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; -| yy_current_state = *--yy_state_ptr; -| yy_lp = yy_accept[yy_current_state]; +| yy_current_state = *--(yy_state_ptr); +| (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | -| | do_action: /* This label is used only to access EOF actions. */ | -| | switch ( yy_act ) | { /* beginning of action switch */ | case 1: @@ -1031,33 +1169,33 @@ configure: failed program was: | #line 9 "conftest.l" | ECHO; | YY_BREAK -| #line 675 "lex.yy.c" +| #line 806 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ -| int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; +| int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ -| *yy_cp = yy_hold_char; +| *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | -| if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) +| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure -| * consistency between yy_current_buffer and our +| * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ -| yy_n_chars = yy_current_buffer->yy_n_chars; -| yy_current_buffer->yy_input_file = yyin; -| yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; +| YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; +| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position @@ -1067,13 +1205,13 @@ configure: failed program was: | * end-of-buffer state). Contrast this with the test | * in input(). | */ -| if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) +| if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | -| yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; +| (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | -| yy_current_state = yy_get_previous_state(); +| yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have @@ -1086,30 +1224,30 @@ configure: failed program was: | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | -| yy_bp = yytext_ptr + YY_MORE_ADJ; +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ -| yy_cp = ++yy_c_buf_p; +| yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { -| yy_cp = yy_c_buf_p; +| yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | -| else switch ( yy_get_next_buffer() ) +| else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { -| yy_did_buffer_switch_on_eof = 0; +| (yy_did_buffer_switch_on_eof) = 0; | -| if ( yywrap() ) +| if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up @@ -1120,7 +1258,7 @@ configure: failed program was: | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ -| yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; +| (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; @@ -1128,30 +1266,30 @@ configure: failed program was: | | else | { -| if ( ! yy_did_buffer_switch_on_eof ) +| if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: -| yy_c_buf_p = -| yytext_ptr + yy_amount_of_matched_text; +| (yy_c_buf_p) = +| (yytext_ptr) + yy_amount_of_matched_text; | -| yy_current_state = yy_get_previous_state(); +| yy_current_state = yy_get_previous_state( ); | -| yy_cp = yy_c_buf_p; -| yy_bp = yytext_ptr + YY_MORE_ADJ; +| yy_cp = (yy_c_buf_p); +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: -| yy_c_buf_p = -| &yy_current_buffer->yy_ch_buf[yy_n_chars]; +| (yy_c_buf_p) = +| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | -| yy_current_state = yy_get_previous_state(); +| yy_current_state = yy_get_previous_state( ); | -| yy_cp = yy_c_buf_p; -| yy_bp = yytext_ptr + YY_MORE_ADJ; +| yy_cp = (yy_c_buf_p); +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; @@ -1162,9 +1300,8 @@ configure: failed program was: | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ -| } /* end of yylex */ +| } /* end of yylex */ | -| | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: @@ -1172,25 +1309,20 @@ configure: failed program was: | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ -| -| #ifdef YY_USE_PROTOS -| static int yy_get_next_buffer(void) -| #else -| static int yy_get_next_buffer() -| #endif -| { -| char *dest = yy_current_buffer->yy_ch_buf; -| char *source = yytext_ptr; +| static int yy_get_next_buffer (void) +| { +| char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; +| char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | -| if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) +| if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | -| if ( yy_current_buffer->yy_fill_buffer == 0 ) +| if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ -| if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) +| if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. @@ -1210,86 +1342,52 @@ configure: failed program was: | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ -| number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; +| number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | -| if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) +| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ -| yy_current_buffer->yy_n_chars = yy_n_chars = 0; +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { -| int num_to_read = -| yy_current_buffer->yy_buf_size - number_to_move - 1; +| yy_size_t num_to_read = +| YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ -| #ifdef YY_USES_REJECT +| | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -| #else | -| /* just a shorter name for the current buffer */ -| YY_BUFFER_STATE b = yy_current_buffer; -| -| int yy_c_buf_p_offset = -| (int) (yy_c_buf_p - b->yy_ch_buf); -| -| if ( b->yy_is_our_buffer ) -| { -| int new_size = b->yy_buf_size * 2; -| -| if ( new_size <= 0 ) -| b->yy_buf_size += b->yy_buf_size / 8; -| else -| b->yy_buf_size *= 2; -| -| b->yy_ch_buf = (char *) -| /* Include room in for 2 EOB chars. */ -| yy_flex_realloc( (void *) b->yy_ch_buf, -| b->yy_buf_size + 2 ); -| } -| else -| /* Can't grow it, we don't own it. */ -| b->yy_ch_buf = 0; -| -| if ( ! b->yy_ch_buf ) -| YY_FATAL_ERROR( -| "fatal error - scanner input buffer overflow" ); -| -| yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; -| -| num_to_read = yy_current_buffer->yy_buf_size - -| number_to_move - 1; -| #endif | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ -| YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), -| yy_n_chars, num_to_read ); +| YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), +| (yy_n_chars), num_to_read ); | -| yy_current_buffer->yy_n_chars = yy_n_chars; +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | -| if ( yy_n_chars == 0 ) +| if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; -| yyrestart( yyin ); +| yyrestart(yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; -| yy_current_buffer->yy_buffer_status = +| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } @@ -1297,32 +1395,36 @@ configure: failed program was: | else | ret_val = EOB_ACT_CONTINUE_SCAN; | -| yy_n_chars += number_to_move; -| yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; -| yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; +| if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { +| /* Extend the array by 50%, plus the number we really need. */ +| yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); +| if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); +| } | -| yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; +| (yy_n_chars) += number_to_move; +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | +| (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; +| | return ret_val; -| } +| } | -| | /* yy_get_previous_state - get the state just before the EOB char was reached */ | -| #ifdef YY_USE_PROTOS -| static yy_state_type yy_get_previous_state(void) -| #else -| static yy_state_type yy_get_previous_state() -| #endif -| { +| static yy_state_type yy_get_previous_state (void) +| { | yy_state_type yy_current_state; | char *yy_cp; +| +| yy_current_state = (yy_start); | -| yy_current_state = yy_start; -| yy_state_ptr = yy_state_buf; -| *yy_state_ptr++ = yy_current_state; +| (yy_state_ptr) = (yy_state_buf); +| *(yy_state_ptr)++ = yy_current_state; | -| for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) +| for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) @@ -1332,28 +1434,21 @@ configure: failed program was: | yy_c = yy_meta[(unsigned int) yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -| *yy_state_ptr++ = yy_current_state; +| *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; -| } +| } | -| | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ -| -| #ifdef YY_USE_PROTOS -| static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -| #else -| static yy_state_type yy_try_NUL_trans( yy_current_state ) -| yy_state_type yy_current_state; -| #endif -| { +| static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +| { | int yy_is_jam; -| +| | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { @@ -1364,88 +1459,78 @@ configure: failed program was: | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) -| *yy_state_ptr++ = yy_current_state; +| *(yy_state_ptr)++ = yy_current_state; | -| return yy_is_jam ? 0 : yy_current_state; -| } +| return yy_is_jam ? 0 : yy_current_state; +| } | -| | #ifndef YY_NO_UNPUT -| #ifdef YY_USE_PROTOS -| static void yyunput( int c, char *yy_bp ) -| #else -| static void yyunput( c, yy_bp ) -| int c; -| char *yy_bp; -| #endif -| { -| char *yy_cp = yy_c_buf_p; +| static void yyunput (int c, char * yy_bp ) +| { +| char *yy_cp; +| +| yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ -| *yy_cp = yy_hold_char; +| *yy_cp = (yy_hold_char); | -| if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) +| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ -| int number_to_move = yy_n_chars + 2; -| char *dest = &yy_current_buffer->yy_ch_buf[ -| yy_current_buffer->yy_buf_size + 2]; +| yy_size_t number_to_move = (yy_n_chars) + 2; +| char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ +| YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = -| &yy_current_buffer->yy_ch_buf[number_to_move]; +| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | -| while ( source > yy_current_buffer->yy_ch_buf ) +| while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); -| yy_current_buffer->yy_n_chars = -| yy_n_chars = yy_current_buffer->yy_buf_size; +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | -| if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) +| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | -| -| yytext_ptr = yy_bp; -| yy_hold_char = *yy_cp; -| yy_c_buf_p = yy_cp; -| } +| (yytext_ptr) = yy_bp; +| (yy_hold_char) = *yy_cp; +| (yy_c_buf_p) = yy_cp; +| } | #endif /* ifndef YY_NO_UNPUT */ | -| | #ifndef YY_NO_INPUT | #ifdef __cplusplus -| static int yyinput() +| static int yyinput (void) | #else -| #ifdef YY_USE_PROTOS -| static int input(void) -| #else -| static int input() +| static int input (void) | #endif -| #endif -| { +| +| { | int c; +| +| *(yy_c_buf_p) = (yy_hold_char); | -| *yy_c_buf_p = yy_hold_char; -| -| if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) +| if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ -| if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) +| if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ -| *yy_c_buf_p = '\0'; +| *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ -| int offset = yy_c_buf_p - yytext_ptr; -| ++yy_c_buf_p; +| yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); +| ++(yy_c_buf_p); | -| switch ( yy_get_next_buffer() ) +| switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() @@ -1459,16 +1544,16 @@ configure: failed program was: | */ | | /* Reset buffer status. */ -| yyrestart( yyin ); +| yyrestart(yyin ); | -| /* fall through */ +| /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { -| if ( yywrap() ) +| if ( yywrap( ) ) | return EOF; | -| if ( ! yy_did_buffer_switch_on_eof ) +| if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); @@ -1478,91 +1563,92 @@ configure: failed program was: | } | | case EOB_ACT_CONTINUE_SCAN: -| yy_c_buf_p = yytext_ptr + offset; +| (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | -| c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ -| *yy_c_buf_p = '\0'; /* preserve yytext */ -| yy_hold_char = *++yy_c_buf_p; +| c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ +| *(yy_c_buf_p) = '\0'; /* preserve yytext */ +| (yy_hold_char) = *++(yy_c_buf_p); | -| | return c; -| } +| } | #endif /* ifndef YY_NO_INPUT */ | -| -| #ifdef YY_USE_PROTOS -| void yyrestart( FILE *input_file ) -| #else -| void yyrestart( input_file ) -| FILE *input_file; -| #endif -| { -| if ( ! yy_current_buffer ) -| yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); -| -| yy_init_buffer( yy_current_buffer, input_file ); -| yy_load_buffer_state(); +| /** Immediately switch to a different input stream. +| * @param input_file A readable stream. +| * +| * @note This function does not reset the start condition to @c INITIAL . +| */ +| void yyrestart (FILE * input_file ) +| { +| +| if ( ! YY_CURRENT_BUFFER ){ +| yyensure_buffer_stack (); +| YY_CURRENT_BUFFER_LVALUE = +| yy_create_buffer(yyin,YY_BUF_SIZE ); | } | +| yy_init_buffer(YY_CURRENT_BUFFER,input_file ); +| yy_load_buffer_state( ); +| } | -| #ifdef YY_USE_PROTOS -| void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -| #else -| void yy_switch_to_buffer( new_buffer ) -| YY_BUFFER_STATE new_buffer; -| #endif -| { -| if ( yy_current_buffer == new_buffer ) +| /** Switch to a different input buffer. +| * @param new_buffer The new input buffer. +| * +| */ +| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +| { +| +| /* TODO. We should be able to replace this entire function body +| * with +| * yypop_buffer_state(); +| * yypush_buffer_state(new_buffer); +| */ +| yyensure_buffer_stack (); +| if ( YY_CURRENT_BUFFER == new_buffer ) | return; | -| if ( yy_current_buffer ) +| if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ -| *yy_c_buf_p = yy_hold_char; -| yy_current_buffer->yy_buf_pos = yy_c_buf_p; -| yy_current_buffer->yy_n_chars = yy_n_chars; +| *(yy_c_buf_p) = (yy_hold_char); +| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | -| yy_current_buffer = new_buffer; -| yy_load_buffer_state(); +| YY_CURRENT_BUFFER_LVALUE = new_buffer; +| yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ -| yy_did_buffer_switch_on_eof = 1; -| } +| (yy_did_buffer_switch_on_eof) = 1; +| } | +| static void yy_load_buffer_state (void) +| { +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; +| (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; +| yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; +| (yy_hold_char) = *(yy_c_buf_p); +| } | -| #ifdef YY_USE_PROTOS -| void yy_load_buffer_state( void ) -| #else -| void yy_load_buffer_state() -| #endif -| { -| yy_n_chars = yy_current_buffer->yy_n_chars; -| yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; -| yyin = yy_current_buffer->yy_input_file; -| yy_hold_char = *yy_c_buf_p; -| } -| -| -| #ifdef YY_USE_PROTOS -| YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -| #else -| YY_BUFFER_STATE yy_create_buffer( file, size ) -| FILE *file; -| int size; -| #endif -| { +| /** Allocate and initialize an input buffer state. +| * @param file A readable stream. +| * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. +| * +| * @return the allocated buffer state. +| */ +| YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +| { | YY_BUFFER_STATE b; -| -| b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); +| +| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | @@ -1571,80 +1657,71 @@ configure: failed program was: | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ -| b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); +| b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | -| yy_init_buffer( b, file ); +| yy_init_buffer(b,file ); | | return b; -| } +| } | -| -| #ifdef YY_USE_PROTOS -| void yy_delete_buffer( YY_BUFFER_STATE b ) -| #else -| void yy_delete_buffer( b ) -| YY_BUFFER_STATE b; -| #endif -| { +| /** Destroy the buffer. +| * @param b a buffer created with yy_create_buffer() +| * +| */ +| void yy_delete_buffer (YY_BUFFER_STATE b ) +| { +| | if ( ! b ) | return; | -| if ( b == yy_current_buffer ) -| yy_current_buffer = (YY_BUFFER_STATE) 0; +| if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ +| YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) -| yy_flex_free( (void *) b->yy_ch_buf ); +| yyfree((void *) b->yy_ch_buf ); | -| yy_flex_free( (void *) b ); -| } +| yyfree((void *) b ); +| } | +| /* Initializes or reinitializes a buffer. +| * This function is sometimes called more than once on the same buffer, +| * such as during a yyrestart() or at EOF. +| */ +| static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | -| #ifndef YY_ALWAYS_INTERACTIVE -| #ifndef YY_NEVER_INTERACTIVE -| extern int isatty YY_PROTO(( int )); -| #endif -| #endif +| { +| int oerrno = errno; +| +| yy_flush_buffer(b ); | -| #ifdef YY_USE_PROTOS -| void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -| #else -| void yy_init_buffer( b, file ) -| YY_BUFFER_STATE b; -| FILE *file; -| #endif -| -| -| { -| yy_flush_buffer( b ); -| | b->yy_input_file = file; | b->yy_fill_buffer = 1; | -| #if YY_ALWAYS_INTERACTIVE -| b->yy_is_interactive = 1; -| #else -| #if YY_NEVER_INTERACTIVE -| b->yy_is_interactive = 0; -| #else -| b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -| #endif -| #endif -| } +| /* If b is the current buffer, then yy_init_buffer was _probably_ +| * called from yyrestart() or through yy_get_next_buffer. +| * In that case, we don't want to reset the lineno or column. +| */ +| if (b != YY_CURRENT_BUFFER){ +| b->yy_bs_lineno = 1; +| b->yy_bs_column = 0; +| } | +| b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; +| +| errno = oerrno; +| } | -| #ifdef YY_USE_PROTOS -| void yy_flush_buffer( YY_BUFFER_STATE b ) -| #else -| void yy_flush_buffer( b ) -| YY_BUFFER_STATE b; -| #endif -| -| { -| if ( ! b ) +| /** Discard all buffered characters. On the next scan, YY_INPUT will be called. +| * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. +| * +| */ +| void yy_flush_buffer (YY_BUFFER_STATE b ) +| { +| if ( ! b ) | return; | | b->yy_n_chars = 0; @@ -1661,29 +1738,125 @@ configure: failed program was: | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | -| if ( b == yy_current_buffer ) -| yy_load_buffer_state(); +| if ( b == YY_CURRENT_BUFFER ) +| yy_load_buffer_state( ); +| } +| +| /** Pushes the new state onto the stack. The new state becomes +| * the current state. This function will allocate the stack +| * if necessary. +| * @param new_buffer The new state. +| * +| */ +| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +| { +| if (new_buffer == NULL) +| return; +| +| yyensure_buffer_stack(); +| +| /* This block is copied from yy_switch_to_buffer. */ +| if ( YY_CURRENT_BUFFER ) +| { +| /* Flush out information for old buffer. */ +| *(yy_c_buf_p) = (yy_hold_char); +| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); +| } +| +| /* Only push if top exists. Otherwise, replace top. */ +| if (YY_CURRENT_BUFFER) +| (yy_buffer_stack_top)++; +| YY_CURRENT_BUFFER_LVALUE = new_buffer; +| +| /* copied from yy_switch_to_buffer. */ +| yy_load_buffer_state( ); +| (yy_did_buffer_switch_on_eof) = 1; +| } +| +| /** Removes and deletes the top of the stack, if present. +| * The next element becomes the new top. +| * +| */ +| void yypop_buffer_state (void) +| { +| if (!YY_CURRENT_BUFFER) +| return; +| +| yy_delete_buffer(YY_CURRENT_BUFFER ); +| YY_CURRENT_BUFFER_LVALUE = NULL; +| if ((yy_buffer_stack_top) > 0) +| --(yy_buffer_stack_top); +| +| if (YY_CURRENT_BUFFER) { +| yy_load_buffer_state( ); +| (yy_did_buffer_switch_on_eof) = 1; | } +| } | +| /* Allocates the stack if it does not exist. +| * Guarantees space for at least one push. +| */ +| static void yyensure_buffer_stack (void) +| { +| yy_size_t num_to_alloc; +| +| if (!(yy_buffer_stack)) { | -| #ifndef YY_NO_SCAN_BUFFER -| #ifdef YY_USE_PROTOS -| YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -| #else -| YY_BUFFER_STATE yy_scan_buffer( base, size ) -| char *base; -| yy_size_t size; -| #endif -| { -| YY_BUFFER_STATE b; +| /* First allocation is just for 2 elements, since we don't know if this +| * scanner will even need a stack. We use 2 instead of 1 to avoid an +| * immediate realloc on the next call. +| */ +| num_to_alloc = 1; +| (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc +| (num_to_alloc * sizeof(struct yy_buffer_state*) +| ); +| if ( ! (yy_buffer_stack) ) +| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); +| +| memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); +| +| (yy_buffer_stack_max) = num_to_alloc; +| (yy_buffer_stack_top) = 0; +| return; +| } | +| if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ +| +| /* Increase the buffer to prepare for a possible push. */ +| int grow_size = 8 /* arbitrary grow size */; +| +| num_to_alloc = (yy_buffer_stack_max) + grow_size; +| (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc +| ((yy_buffer_stack), +| num_to_alloc * sizeof(struct yy_buffer_state*) +| ); +| if ( ! (yy_buffer_stack) ) +| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); +| +| /* zero only the new slots.*/ +| memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); +| (yy_buffer_stack_max) = num_to_alloc; +| } +| } +| +| /** Setup the input buffer state to scan directly from a user-specified character buffer. +| * @param base the character buffer +| * @param size the size in bytes of the character buffer +| * +| * @return the newly allocated buffer state object. +| */ +| YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +| { +| YY_BUFFER_STATE b; +| | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return 0; | -| b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); +| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | @@ -1697,56 +1870,51 @@ configure: failed program was: | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | -| yy_switch_to_buffer( b ); +| yy_switch_to_buffer(b ); | | return b; -| } -| #endif +| } | +| /** Setup the input buffer state to scan a string. The next call to yylex() will +| * scan from a @e copy of @a str. +| * @param yystr a NUL-terminated string to scan +| * +| * @return the newly allocated buffer state object. +| * @note If you want to scan bytes that may contain NUL values, then use +| * yy_scan_bytes() instead. +| */ +| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) +| { +| +| return yy_scan_bytes(yystr,strlen(yystr) ); +| } | -| #ifndef YY_NO_SCAN_STRING -| #ifdef YY_USE_PROTOS -| YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -| #else -| YY_BUFFER_STATE yy_scan_string( yy_str ) -| yyconst char *yy_str; -| #endif -| { -| int len; -| for ( len = 0; yy_str[len]; ++len ) -| ; -| -| return yy_scan_bytes( yy_str, len ); -| } -| #endif -| -| -| #ifndef YY_NO_SCAN_BYTES -| #ifdef YY_USE_PROTOS -| YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -| #else -| YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -| yyconst char *bytes; -| int len; -| #endif -| { +| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will +| * scan from a @e copy of @a bytes. +| * @param yybytes the byte buffer to scan +| * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. +| * +| * @return the newly allocated buffer state object. +| */ +| YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +| { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; -| int i; -| +| yy_size_t i; +| | /* Get memory for full buffer, including space for trailing EOB's. */ -| n = len + 2; -| buf = (char *) yy_flex_alloc( n ); +| n = _yybytes_len + 2; +| buf = (char *) yyalloc(n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | -| for ( i = 0; i < len; ++i ) -| buf[i] = bytes[i]; +| for ( i = 0; i < _yybytes_len; ++i ) +| buf[i] = yybytes[i]; | -| buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; +| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | -| b = yy_scan_buffer( buf, n ); +| b = yy_scan_buffer(buf,n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | @@ -1756,156 +1924,204 @@ configure: failed program was: | b->yy_is_our_buffer = 1; | | return b; -| } +| } +| +| #ifndef YY_EXIT_FAILURE +| #define YY_EXIT_FAILURE 2 | #endif | +| static void yy_fatal_error (yyconst char* msg ) +| { +| (void) fprintf( stderr, "%s\n", msg ); +| exit( YY_EXIT_FAILURE ); +| } | -| #ifndef YY_NO_PUSH_STATE -| #ifdef YY_USE_PROTOS -| static void yy_push_state( int new_state ) -| #else -| static void yy_push_state( new_state ) -| int new_state; -| #endif -| { -| if ( yy_start_stack_ptr >= yy_start_stack_depth ) -| { -| yy_size_t new_size; +| /* Redefine yyless() so it works in section 3 code. */ | -| yy_start_stack_depth += YY_START_STACK_INCR; -| new_size = yy_start_stack_depth * sizeof( int ); +| #undef yyless +| #define yyless(n) \ +| do \ +| { \ +| /* Undo effects of setting up yytext. */ \ +| int yyless_macro_arg = (n); \ +| YY_LESS_LINENO(yyless_macro_arg);\ +| yytext[yyleng] = (yy_hold_char); \ +| (yy_c_buf_p) = yytext + yyless_macro_arg; \ +| (yy_hold_char) = *(yy_c_buf_p); \ +| *(yy_c_buf_p) = '\0'; \ +| yyleng = yyless_macro_arg; \ +| } \ +| while ( 0 ) | -| if ( ! yy_start_stack ) -| yy_start_stack = (int *) yy_flex_alloc( new_size ); +| /* Accessor methods (get/set functions) to struct members. */ | -| else -| yy_start_stack = (int *) yy_flex_realloc( -| (void *) yy_start_stack, new_size ); +| /** Get the current line number. +| * +| */ +| int yyget_lineno (void) +| { +| +| return yylineno; +| } | -| if ( ! yy_start_stack ) -| YY_FATAL_ERROR( -| "out of memory expanding start-condition stack" ); -| } +| /** Get the input stream. +| * +| */ +| FILE *yyget_in (void) +| { +| return yyin; +| } | -| yy_start_stack[yy_start_stack_ptr++] = YY_START; +| /** Get the output stream. +| * +| */ +| FILE *yyget_out (void) +| { +| return yyout; +| } | -| BEGIN(new_state); -| } -| #endif +| /** Get the length of the current token. +| * +| */ +| yy_size_t yyget_leng (void) +| { +| return yyleng; +| } | +| /** Get the current token. +| * +| */ | -| #ifndef YY_NO_POP_STATE -| #ifdef YY_USE_PROTOS -| static void yy_pop_state(void) -| #else -| static void yy_pop_state() -| #endif -| { -| if ( --yy_start_stack_ptr < 0 ) -| YY_FATAL_ERROR( "start-condition stack underflow" ); +| char *yyget_text (void) +| { +| return yytext; +| } | -| BEGIN(yy_start_stack[yy_start_stack_ptr]); -| } -| #endif +| /** Set the current line number. +| * @param line_number +| * +| */ +| void yyset_lineno (int line_number ) +| { +| +| yylineno = line_number; +| } | +| /** Set the input stream. This does not discard the current +| * input buffer. +| * @param in_str A readable stream. +| * +| * @see yy_switch_to_buffer +| */ +| void yyset_in (FILE * in_str ) +| { +| yyin = in_str ; +| } | -| #ifndef YY_NO_TOP_STATE -| #ifdef YY_USE_PROTOS -| static int yy_top_state(void) -| #else -| static int yy_top_state() -| #endif -| { -| return yy_start_stack[yy_start_stack_ptr - 1]; -| } -| #endif +| void yyset_out (FILE * out_str ) +| { +| yyout = out_str ; +| } | -| #ifndef YY_EXIT_FAILURE -| #define YY_EXIT_FAILURE 2 -| #endif +| int yyget_debug (void) +| { +| return yy_flex_debug; +| } | -| #ifdef YY_USE_PROTOS -| static void yy_fatal_error( yyconst char msg[] ) +| void yyset_debug (int bdebug ) +| { +| yy_flex_debug = bdebug ; +| } +| +| static int yy_init_globals (void) +| { +| /* Initialization is the same as for the non-reentrant scanner. +| * This function is called from yylex_destroy(), so don't allocate here. +| */ +| +| (yy_buffer_stack) = 0; +| (yy_buffer_stack_top) = 0; +| (yy_buffer_stack_max) = 0; +| (yy_c_buf_p) = (char *) 0; +| (yy_init) = 0; +| (yy_start) = 0; +| +| (yy_state_buf) = 0; +| (yy_state_ptr) = 0; +| (yy_full_match) = 0; +| (yy_lp) = 0; +| +| /* Defined in main.c */ +| #ifdef YY_STDINIT +| yyin = stdin; +| yyout = stdout; | #else -| static void yy_fatal_error( msg ) -| char msg[]; +| yyin = (FILE *) 0; +| yyout = (FILE *) 0; | #endif -| { -| (void) fprintf( stderr, "%s\n", msg ); -| exit( YY_EXIT_FAILURE ); -| } | +| /* For future reference: Set errno on error, since we are called by +| * yylex_init() +| */ +| return 0; +| } | +| /* yylex_destroy is for both reentrant and non-reentrant scanners. */ +| int yylex_destroy (void) +| { +| +| /* Pop the buffer stack, destroying each element. */ +| while(YY_CURRENT_BUFFER){ +| yy_delete_buffer(YY_CURRENT_BUFFER ); +| YY_CURRENT_BUFFER_LVALUE = NULL; +| yypop_buffer_state(); +| } | -| /* Redefine yyless() so it works in section 3 code. */ +| /* Destroy the stack itself. */ +| yyfree((yy_buffer_stack) ); +| (yy_buffer_stack) = NULL; | -| #undef yyless -| #define yyless(n) \ -| do \ -| { \ -| /* Undo effects of setting up yytext. */ \ -| yytext[yyleng] = yy_hold_char; \ -| yy_c_buf_p = yytext + n; \ -| yy_hold_char = *yy_c_buf_p; \ -| *yy_c_buf_p = '\0'; \ -| yyleng = n; \ -| } \ -| while ( 0 ) +| yyfree ( (yy_state_buf) ); +| (yy_state_buf) = NULL; | +| /* Reset the globals. This is important in a non-reentrant scanner so the next time +| * yylex() is called, initialization will occur. */ +| yy_init_globals( ); | -| /* Internal utility routines. */ +| return 0; +| } | +| /* +| * Internal utility routines. +| */ +| | #ifndef yytext_ptr -| #ifdef YY_USE_PROTOS -| static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -| #else -| static void yy_flex_strncpy( s1, s2, n ) -| char *s1; -| yyconst char *s2; -| int n; -| #endif -| { +| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +| { | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; -| } +| } | #endif | | #ifdef YY_NEED_STRLEN -| #ifdef YY_USE_PROTOS -| static int yy_flex_strlen( yyconst char *s ) -| #else -| static int yy_flex_strlen( s ) -| yyconst char *s; -| #endif -| { +| static int yy_flex_strlen (yyconst char * s ) +| { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; -| } +| } | #endif | -| -| #ifdef YY_USE_PROTOS -| static void *yy_flex_alloc( yy_size_t size ) -| #else -| static void *yy_flex_alloc( size ) -| yy_size_t size; -| #endif -| { +| void *yyalloc (yy_size_t size ) +| { | return (void *) malloc( size ); -| } +| } | -| #ifdef YY_USE_PROTOS -| static void *yy_flex_realloc( void *ptr, yy_size_t size ) -| #else -| static void *yy_flex_realloc( ptr, size ) -| void *ptr; -| yy_size_t size; -| #endif -| { +| void *yyrealloc (void * ptr, yy_size_t size ) +| { | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter @@ -1914,27 +2130,18 @@ configure: failed program was: | * as though doing an assignment. | */ | return (void *) realloc( (char *) ptr, size ); -| } +| } | -| #ifdef YY_USE_PROTOS -| static void yy_flex_free( void *ptr ) -| #else -| static void yy_flex_free( ptr ) -| void *ptr; -| #endif -| { -| free( ptr ); -| } +| void yyfree (void * ptr ) +| { +| free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +| } | -| #if YY_MAIN -| int main() -| { -| yylex(); -| return 0; -| } -| #endif +| #define YYTABLES_NAME "yytables" +| | #line 9 "conftest.l" | +| | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif @@ -1943,34 +2150,31 @@ configure: failed program was: | { | return ! yylex () + ! yywrap (); | } -configure:11416: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lfl >&5 -conftest.l: In function 'yylex': -conftest.l:6: warning: comparison between pointer and integer -conftest.l:6: warning: assignment makes pointer from integer without a cast +configure:11416: cc -o conftest -g -O2 conftest.c -lfl >&5 configure:11416: $? = 0 configure:11426: result: -lfl configure:11432: checking whether yytext is a pointer -configure:11448: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lfl >&5 -conftest.l: In function 'yylex': -conftest.l:6: warning: comparison between pointer and integer -conftest.l:6: warning: assignment makes pointer from integer without a cast +configure:11448: cc -o conftest -g -O2 conftest.c -lfl >&5 configure:11448: $? = 0 configure:11456: result: yes configure:11470: checking for egrep configure:11532: result: /usr/bin/grep -E configure:11559: checking net/pfkeyv2.h usability -configure:11559: cc -c -pipe -g conftest.c >&5 +configure:11559: cc -c -g -O2 conftest.c >&5 configure:11559: $? = 0 configure:11559: result: yes configure:11559: checking net/pfkeyv2.h presence -configure:11559: cpp conftest.c +configure:11559: cpp conftest.c configure:11559: $? = 0 configure:11559: result: yes configure:11559: checking for net/pfkeyv2.h configure:11559: result: yes configure:11567: checking netinet/ipsec.h usability -configure:11567: cc -c -pipe -g conftest.c >&5 -conftest.c:57:27: error: netinet/ipsec.h: No such file or directory +configure:11567: cc -c -g -O2 conftest.c >&5 +conftest.c:57:10: fatal error: 'netinet/ipsec.h' file not found +#include + ^ +1 error generated. configure:11567: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2032,8 +2236,11 @@ configure: failed program was: | #include configure:11567: result: no configure:11567: checking netinet/ipsec.h presence -configure:11567: cpp conftest.c -conftest.c:24:27: error: netinet/ipsec.h: No such file or directory +configure:11567: cpp conftest.c +conftest.c:24:10: fatal error: 'netinet/ipsec.h' file not found +#include + ^ +1 error generated. configure:11567: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2064,8 +2271,11 @@ configure:11567: result: no configure:11567: checking for netinet/ipsec.h configure:11567: result: no configure:11575: checking netinet6/ipsec.h usability -configure:11575: cc -c -pipe -g conftest.c >&5 -conftest.c:57:28: error: netinet6/ipsec.h: No such file or directory +configure:11575: cc -c -g -O2 conftest.c >&5 +conftest.c:57:10: fatal error: 'netinet6/ipsec.h' file not found +#include + ^ +1 error generated. configure:11575: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2127,8 +2337,11 @@ configure: failed program was: | #include configure:11575: result: no configure:11575: checking netinet6/ipsec.h presence -configure:11575: cpp conftest.c -conftest.c:24:28: error: netinet6/ipsec.h: No such file or directory +configure:11575: cpp conftest.c +conftest.c:24:10: fatal error: 'netinet6/ipsec.h' file not found +#include + ^ +1 error generated. configure:11575: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2159,11 +2372,11 @@ configure:11575: result: no configure:11575: checking for netinet6/ipsec.h configure:11575: result: no configure:11583: checking netipsec/ipsec.h usability -configure:11583: cc -c -pipe -g conftest.c >&5 +configure:11583: cc -c -g -O2 conftest.c >&5 configure:11583: $? = 0 configure:11583: result: yes configure:11583: checking netipsec/ipsec.h presence -configure:11583: cpp conftest.c +configure:11583: cpp conftest.c configure:11583: $? = 0 configure:11583: result: yes configure:11583: checking for netipsec/ipsec.h @@ -2171,25 +2384,25 @@ configure:11583: result: yes configure:11681: checking for ANSI C header files configure:11785: result: yes configure:11793: checking for sys/wait.h that is POSIX.1 compatible -configure:11819: cc -c -pipe -g conftest.c >&5 +configure:11819: cc -c -g -O2 conftest.c >&5 configure:11819: $? = 0 configure:11826: result: yes configure:11837: checking limits.h usability -configure:11837: cc -c -pipe -g conftest.c >&5 +configure:11837: cc -c -g -O2 conftest.c >&5 configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking limits.h presence -configure:11837: cpp conftest.c +configure:11837: cpp conftest.c configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking for limits.h configure:11837: result: yes configure:11837: checking sys/time.h usability -configure:11837: cc -c -pipe -g conftest.c >&5 +configure:11837: cc -c -g -O2 conftest.c >&5 configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking sys/time.h presence -configure:11837: cpp conftest.c +configure:11837: cpp conftest.c configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking for sys/time.h @@ -2197,20 +2410,25 @@ configure:11837: result: yes configure:11837: checking for unistd.h configure:11837: result: yes configure:11837: checking stdarg.h usability -configure:11837: cc -c -pipe -g conftest.c >&5 +configure:11837: cc -c -g -O2 conftest.c >&5 configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking stdarg.h presence -configure:11837: cpp conftest.c +configure:11837: cpp conftest.c configure:11837: $? = 0 configure:11837: result: yes configure:11837: checking for stdarg.h configure:11837: result: yes configure:11837: checking varargs.h usability -configure:11837: cc -c -pipe -g conftest.c >&5 +configure:11837: cc -c -g -O2 conftest.c >&5 In file included from conftest.c:64: -/usr/include/varargs.h:34:2: error: #error " is obsolete with this version of GCC." -/usr/include/varargs.h:35:2: error: #error "Change your code to use instead." +/home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:34:2: error: " is obsolete with this version of GCC." +#error " is obsolete with this version of GCC." + ^ +/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 instead." +#error "Change your code to use instead." + ^ +2 errors generated. configure:11837: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2279,10 +2497,15 @@ configure: failed program was: | #include configure:11837: result: no configure:11837: checking varargs.h presence -configure:11837: cpp conftest.c +configure:11837: cpp conftest.c In file included from conftest.c:31: -/usr/include/varargs.h:34:2: error: #error " is obsolete with this version of GCC." -/usr/include/varargs.h:35:2: error: #error "Change your code to use instead." +/home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/usr/include/varargs.h:34:2: error: " is obsolete with this version of GCC." +#error " is obsolete with this version of GCC." + ^ +/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 instead." +#error "Change your code to use instead." + ^ +2 errors generated. configure:11837: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2320,8 +2543,11 @@ configure:11837: result: no configure:11837: checking for varargs.h configure:11837: result: no configure:11849: checking shadow.h usability -configure:11849: cc -c -pipe -g conftest.c >&5 -conftest.c:64:20: error: shadow.h: No such file or directory +configure:11849: cc -c -g -O2 conftest.c >&5 +conftest.c:64:10: fatal error: 'shadow.h' file not found +#include + ^ +1 error generated. configure:11849: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2390,8 +2616,11 @@ configure: failed program was: | #include configure:11849: result: no configure:11849: checking shadow.h presence -configure:11849: cpp conftest.c -conftest.c:31:20: error: shadow.h: No such file or directory +configure:11849: cpp conftest.c +conftest.c:31:10: fatal error: 'shadow.h' file not found +#include + ^ +1 error generated. configure:11849: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2429,15 +2658,17 @@ configure:11849: result: no configure:11849: checking for shadow.h configure:11849: result: no configure:11861: checking for an ANSI C-conforming const -configure:11926: cc -c -pipe -g conftest.c >&5 +configure:11926: cc -c -g -O2 conftest.c >&5 configure:11926: $? = 0 configure:11933: result: yes configure:11941: checking for pid_t -configure:11941: cc -c -pipe -g conftest.c >&5 +configure:11941: cc -c -g -O2 conftest.c >&5 configure:11941: $? = 0 -configure:11941: cc -c -pipe -g conftest.c >&5 -conftest.c: In function 'main': -conftest.c:67: error: expected expression before ')' token +configure:11941: cc -c -g -O2 conftest.c >&5 +conftest.c:67:20: error: expected expression +if (sizeof ((pid_t))) + ^ +1 error generated. configure:11941: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2513,11 +2744,13 @@ configure: failed program was: | } configure:11941: result: yes configure:11952: checking for size_t -configure:11952: cc -c -pipe -g conftest.c >&5 +configure:11952: cc -c -g -O2 conftest.c >&5 configure:11952: $? = 0 -configure:11952: cc -c -pipe -g conftest.c >&5 -conftest.c: In function 'main': -conftest.c:67: error: expected expression before ')' token +configure:11952: cc -c -g -O2 conftest.c >&5 +conftest.c:67:21: error: expected expression +if (sizeof ((size_t))) + ^ +1 error generated. configure:11952: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2593,23 +2826,25 @@ configure: failed program was: | } configure:11952: result: yes configure:11963: checking whether time.h and sys/time.h may both be included -configure:11983: cc -c -pipe -g conftest.c >&5 +configure:11983: cc -c -g -O2 conftest.c >&5 configure:11983: $? = 0 configure:11990: result: yes configure:11998: checking whether struct tm is in sys/time.h or time.h -configure:12018: cc -c -pipe -g conftest.c >&5 +configure:12018: cc -c -g -O2 conftest.c >&5 configure:12018: $? = 0 configure:12025: result: time.h configure:12035: checking for working memcmp -configure:12078: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12078: cc -o conftest -g -O2 conftest.c >&5 configure:12078: $? = 0 configure:12078: ./conftest configure:12078: $? = 0 configure:12088: result: yes configure:12097: checking return type of signal handlers -configure:12115: cc -c -pipe -g conftest.c >&5 -conftest.c: In function 'main': -conftest.c:38: error: void value not ignored as it ought to be +configure:12115: cc -c -g -O2 conftest.c >&5 +conftest.c:38:8: error: indirection requires pointer operand ('void' invalid) +return *(signal (0, 0)) (0) == 1; + ^~~~~~~~~~~~~~~~~~~~ +1 error generated. configure:12115: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2655,14 +2890,19 @@ configure: failed program was: | } configure:12122: result: void configure:12132: checking for vprintf -configure:12132: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 -conftest.c:56: warning: conflicting types for built-in function 'vprintf' +configure:12132: cc -o conftest -g -O2 conftest.c >&5 +conftest.c:56:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration] +char vprintf (); + ^ +conftest.c:56:6: note: 'vprintf' is a builtin with type 'int (const char *, __builtin_va_list)' +1 warning generated. configure:12132: $? = 0 configure:12132: result: yes configure:12138: checking for _doprnt -configure:12138: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 -/tmp//ccbE4AYH.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.c:68: undefined reference to `_doprnt' +configure:12138: cc -o conftest -g -O2 conftest.c >&5 +/tmp/conftest-AyrKbt.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.c:68: undefined reference to `_doprnt' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:12138: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2738,75 +2978,98 @@ configure: failed program was: | } configure:12138: result: no configure:12152: checking for gettimeofday -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for select -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for socket -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for strerror -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 +conftest.c:60:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] +char strerror (); + ^ +conftest.c:60:6: note: 'strerror' is a builtin with type 'char *(int)' +1 warning generated. configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for strtol -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for strtoul -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for strlcpy -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 +conftest.c:63:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration] +char strlcpy (); + ^ +conftest.c:63:6: note: 'strlcpy' is a builtin with type 'unsigned int (char *, const char *, unsigned int)' +1 warning generated. configure:12152: $? = 0 configure:12152: result: yes configure:12152: checking for strlcat -configure:12152: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 +configure:12152: cc -o conftest -g -O2 conftest.c >&5 +conftest.c:64:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration] +char strlcat (); + ^ +conftest.c:64:6: note: 'strlcat' is a builtin with type 'unsigned int (char *, const char *, unsigned int)' +1 warning generated. configure:12152: $? = 0 configure:12152: result: yes configure:12161: checking for strdup -configure:12161: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c >&5 -conftest.c:65: warning: conflicting types for built-in function 'strdup' +configure:12161: cc -o conftest -g -O2 conftest.c >&5 +conftest.c:65:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] +char strdup (); + ^ +conftest.c:65:6: note: 'strdup' is a builtin with type 'char *(const char *)' +1 warning generated. configure:12161: $? = 0 configure:12161: result: yes configure:12178: checking for an implementation of va_copy() -configure:12206: cc -o conftest -Wall -O2 -rpath=/usr/lib:/usr/local/lib conftest.c >&5 -conftest.c: In function 'func': -conftest.c:49: warning: implicit declaration of function 'exit' -conftest.c:49: warning: incompatible implicit declaration of built-in function 'exit' +configure:12206: cc -o conftest -Wall -O2 conftest.c >&5 +conftest.c:49:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' + exit (1); + ^ +conftest.c:49:5: note: please include the header or explicitly provide a declaration for 'exit' +1 warning generated. configure:12206: $? = 0 configure:12206: ./conftest configure:12206: $? = 0 configure:12217: result: yes configure:12286: checking if printf accepts %z -configure:12305: cc -c -pipe -g -Wall -Werror conftest.c >&5 +configure:12305: cc -c -g -O2 -Wall -Werror conftest.c >&5 configure:12305: $? = 0 configure:12306: result: yes configure:12321: checking if __func__ is available -configure:12335: cc -c -pipe -g conftest.c >&5 -conftest.c: In function 'main': -conftest.c:49: warning: initialization discards qualifiers from pointer target type +configure:12335: cc -c -g -O2 conftest.c >&5 +conftest.c:49:7: warning: initializing 'char *' with an expression of type 'const char [5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] +char *x = __func__; + ^ ~~~~~~~~ +1 warning generated. configure:12335: $? = 0 configure:12339: result: yes configure:12348: checking if readline support is requested configure:12358: result: yes configure:12363: checking readline/readline.h usability -configure:12363: cc -c -pipe -g conftest.c >&5 +configure:12363: cc -c -g -O2 conftest.c >&5 configure:12363: $? = 0 configure:12363: result: yes configure:12363: checking readline/readline.h presence -configure:12363: cpp conftest.c +configure:12363: cpp conftest.c configure:12363: $? = 0 configure:12363: result: yes configure:12363: checking for readline/readline.h configure:12363: result: yes configure:12365: checking for readline in -lreadline -configure:12390: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lreadline >&5 +configure:12390: cc -o conftest -g -O2 conftest.c -lreadline >&5 configure:12390: $? = 0 configure:12399: result: yes configure:12416: checking if --with-flex option is specified @@ -2816,25 +3079,25 @@ configure:12439: result: default configure:12447: checking if --with-openssl option is specified configure:12455: result: default configure:12462: checking openssl version -configure:12479: cc -c -pipe -g conftest.c >&5 +configure:12479: cc -c -g -O2 conftest.c >&5 configure:12479: $? = 0 configure:12480: result: ok configure:12492: checking openssl/engine.h usability -configure:12492: cc -c -pipe -g conftest.c >&5 +configure:12492: cc -c -g -O2 conftest.c >&5 configure:12492: $? = 0 configure:12492: result: yes configure:12492: checking openssl/engine.h presence -configure:12492: cpp conftest.c +configure:12492: cpp conftest.c configure:12492: $? = 0 configure:12492: result: yes configure:12492: checking for openssl/engine.h configure:12492: result: yes configure:12506: checking openssl/aes.h usability -configure:12506: cc -c -pipe -g conftest.c >&5 +configure:12506: cc -c -g -O2 conftest.c >&5 configure:12506: $? = 0 configure:12506: result: yes configure:12506: checking openssl/aes.h presence -configure:12506: cpp conftest.c +configure:12506: cpp conftest.c configure:12506: $? = 0 configure:12506: result: yes configure:12506: checking for openssl/aes.h @@ -2842,8 +3105,11 @@ configure:12506: result: yes configure:12520: checking sha2 support configure:12525: result: yes configure:12527: checking openssl/sha2.h usability -configure:12527: cc -c -pipe -g conftest.c >&5 -conftest.c:82:26: error: openssl/sha2.h: No such file or directory +configure:12527: cc -c -g -O2 conftest.c >&5 +conftest.c:82:10: fatal error: 'openssl/sha2.h' file not found +#include + ^ +1 error generated. configure:12527: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2930,8 +3196,11 @@ configure: failed program was: | #include configure:12527: result: no configure:12527: checking openssl/sha2.h presence -configure:12527: cpp conftest.c -conftest.c:49:26: error: openssl/sha2.h: No such file or directory +configure:12527: cpp conftest.c +conftest.c:49:10: fatal error: 'openssl/sha2.h' file not found +#include + ^ +1 error generated. configure:12527: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -2987,15 +3256,15 @@ configure:12527: result: no configure:12527: checking for openssl/sha2.h configure:12527: result: no configure:12532: checking if sha2 is defined in openssl/sha.h -configure:12552: cc -c -pipe -g conftest.c >&5 +configure:12552: cc -c -g -O2 conftest.c >&5 configure:12552: $? = 0 configure:12554: result: yes configure:12584: checking openssl/camellia.h usability -configure:12584: cc -c -pipe -g conftest.c >&5 +configure:12584: cc -c -g -O2 conftest.c >&5 configure:12584: $? = 0 configure:12584: result: yes configure:12584: checking openssl/camellia.h presence -configure:12584: cpp conftest.c +configure:12584: cpp conftest.c configure:12584: $? = 0 configure:12584: result: yes configure:12584: checking for openssl/camellia.h @@ -3007,9 +3276,10 @@ configure:12624: result: no configure:12683: checking if --enable-idea option is specified configure:12692: result: no configure:12753: checking for crypto containing MD5_Init -configure:12778: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lreadline >&5 -/tmp//ccyfNMeR.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.c:63: undefined reference to `MD5_Init' +configure:12778: cc -o conftest -g -O2 conftest.c -lreadline >&5 +/tmp/conftest-4NNxkF.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.c:63: undefined reference to `MD5_Init' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:12778: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3078,13 +3348,14 @@ configure: failed program was: | ; | return 0; | } -configure:12800: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lcrypto -lreadline >&5 +configure:12800: cc -o conftest -g -O2 conftest.c -lcrypto -lreadline >&5 configure:12800: $? = 0 configure:12811: result: -lcrypto configure:12822: checking for util containing login -configure:12847: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lcrypto -lreadline >&5 -/tmp//cc2KImoG.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.c:63: undefined reference to `login' +configure:12847: cc -o conftest -g -O2 conftest.c -lcrypto -lreadline >&5 +/tmp/conftest-WNJKEm.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.c:63: undefined reference to `login' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:12847: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3153,9 +3424,10 @@ configure: failed program was: | ; | return 0; | } -configure:12869: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lutil -lcrypto -lreadline >&5 -/tmp//ccWB803B.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.c:63: undefined reference to `login' +configure:12869: cc -o conftest -g -O2 conftest.c -lutil -lcrypto -lreadline >&5 +/tmp/conftest-MhNFPO.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.c:63: undefined reference to `login' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:12869: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3234,9 +3506,10 @@ configure:13126: result: yes configure:13144: checking if --with-libradius option is specified configure:13154: result: yes configure:13162: checking for radius containing rad_create_request -configure:13187: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lcrypto -lreadline -lcrypt -lcrypt >&5 -/tmp//ccPVOoma.o: In function `main': -/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/conftest.c:65: undefined reference to `rad_create_request' +configure:13187: cc -o conftest -g -O2 conftest.c -lcrypto -lreadline -lcrypt -lcrypt >&5 +/tmp/conftest-QU6Gz2.o: In function `main': +/home/misho/work/embedaddon/ipsec-tools/conftest.c:65: undefined reference to `rad_create_request' +cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:13187: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3307,11 +3580,12 @@ configure: failed program was: | ; | return 0; | } -configure:13209: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt >&5 +configure:13209: cc -o conftest -g -O2 conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt >&5 configure:13209: $? = 0 configure:13220: result: -lradius configure:13336: checking for rad_create_request -configure:13336: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +configure:13336: cc -o conftest -g -O2 conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +cc: warning: argument unused during compilation: '-R/lib' configure:13336: $? = 0 configure:13336: result: yes configure:13347: checking if --with-libpam option is specified @@ -3332,18 +3606,19 @@ configure:14031: result: no configure:14035: checking whether to enable ipv6 configure:14045: result: yes configure:14095: checking for advanced API support -configure:14112: cc -c -pipe -g conftest.c >&5 +configure:14112: cc -c -g -O2 conftest.c >&5 configure:14112: $? = 0 configure:14113: result: yes configure:14126: checking getaddrinfo bug -configure:14226: cc -o conftest -Wall -O2 -rpath=/usr/lib:/usr/local/lib conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +configure:14226: cc -o conftest -Wall -O2 conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +cc: warning: argument unused during compilation: '-R/lib' configure:14226: $? = 0 configure:14226: ./conftest configure:14226: $? = 0 configure:14227: result: good configure:14249: checking kernel NAT-Traversal support configure:14272: checking for struct sadb_x_nat_t_type.sadb_x_nat_t_type_len -configure:14272: cc -c -pipe -g conftest.c >&5 +configure:14272: cc -c -g -O2 conftest.c >&5 configure:14272: $? = 0 configure:14272: result: yes configure:14284: result: yes @@ -3356,12 +3631,11 @@ configure:14380: result: no configure:14383: checking whether we support FWD policy configure:14416: result: no configure:14421: checking for ipsec_policy_t -configure:14421: cc -c -pipe -g conftest.c >&5 -conftest.c:66:36: error: netinet6/ipsec.h: No such file or directory -conftest.c: In function 'main': -conftest.c:72: error: 'ipsec_policy_t' undeclared (first use in this function) -conftest.c:72: error: (Each undeclared identifier is reported only once -conftest.c:72: error: for each function it appears in.) +configure:14421: cc -c -g -O2 conftest.c >&5 +conftest.c:66:18: fatal error: 'netinet6/ipsec.h' file not found + #include + ^ +1 error generated. configure:14421: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3444,8 +3718,11 @@ configure:14421: result: no configure:14436: checking kernel Security Context support configure:14457: result: no configure:14460: checking selinux/selinux.h usability -configure:14460: cc -c -pipe -g conftest.c >&5 -conftest.c:97:29: error: selinux/selinux.h: No such file or directory +configure:14460: cc -c -g -O2 conftest.c >&5 +conftest.c:97:10: fatal error: 'selinux/selinux.h' file not found +#include + ^ +1 error generated. configure:14460: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3547,8 +3824,11 @@ configure: failed program was: | #include configure:14460: result: no configure:14460: checking selinux/selinux.h presence -configure:14460: cpp conftest.c -conftest.c:64:29: error: selinux/selinux.h: No such file or directory +configure:14460: cpp conftest.c +conftest.c:64:10: fatal error: 'selinux/selinux.h' file not found +#include + ^ +1 error generated. configure:14460: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3621,11 +3901,12 @@ configure:14460: result: no configure:14510: checking whether to support Security Context configure:14520: result: no configure:14541: checking for rt containing clock_gettime -configure:14566: cc -o conftest -pipe -g -rpath=/usr/lib:/usr/local/lib conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +configure:14566: cc -o conftest -g -O2 conftest.c -lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius >&5 +cc: warning: argument unused during compilation: '-R/lib' configure:14566: $? = 0 configure:14599: result: none required configure:14608: checking for monotonic system clock -configure:14621: cc -c -pipe -g conftest.c >&5 +configure:14621: cc -c -g -O2 conftest.c >&5 configure:14621: $? = 0 configure:14625: result: yes configure:14773: creating ./config.status @@ -3658,27 +3939,28 @@ config.status:1137: creating rpm/Makefile config.status:1137: creating rpm/suse/Makefile config.status:1137: creating rpm/suse/ipsec-tools.spec config.status:1137: creating config.h +config.status:1317: config.h is unchanged config.status:1365: executing depfiles commands config.status:1365: executing libtool commands -configure:16997: WARNING: unrecognized options: --with-pkgversion, --enable-debug +configure:16997: WARNING: unrecognized options: --enable-debug ## ---------------- ## ## Cache variables. ## ## ---------------- ## -ac_cv_build=i386-portbld-freebsd10.0 +ac_cv_build=i386-elwix-freebsd ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set=set -ac_cv_env_CC_value=cc -ac_cv_env_CFLAGS_set=set -ac_cv_env_CFLAGS_value='-pipe -g' -ac_cv_env_CPPFLAGS_set=set +ac_cv_env_CC_value='cc ' +ac_cv_env_CFLAGS_set='' +ac_cv_env_CFLAGS_value='' +ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set=set -ac_cv_env_CPP_value=cpp -ac_cv_env_LDFLAGS_set=set -ac_cv_env_LDFLAGS_value=' -rpath=/usr/lib:/usr/local/lib' +ac_cv_env_CPP_value='cpp ' +ac_cv_env_LDFLAGS_set='' +ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_YACC_set='' @@ -3686,7 +3968,7 @@ ac_cv_env_YACC_value='' ac_cv_env_YFLAGS_set='' ac_cv_env_YFLAGS_value='' ac_cv_env_build_alias_set=set -ac_cv_env_build_alias_value=i386-portbld-freebsd10.0 +ac_cv_env_build_alias_value=i386-elwix-freebsd ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' @@ -3732,7 +4014,7 @@ ac_cv_header_sys_wait_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_header_varargs_h=no -ac_cv_host=i386-portbld-freebsd10.0 +ac_cv_host=i386-elwix-freebsd ac_cv_lib_lex=-lfl ac_cv_lib_readline_readline=yes ac_cv_member_struct_sadb_x_nat_t_type_sadb_x_nat_t_type_len=yes @@ -3742,12 +4024,13 @@ ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_KRB5_CONFIG=/usr/bin/krb5-config ac_cv_path_SED=/usr/bin/sed +ac_cv_path_install='/home/misho/work/elwix/build/1.9/obj/i386/home/fbsd_work.src/src/tmp/legacy/usr/bin/install -c' ac_cv_prog_AWK=gawk -ac_cv_prog_CPP=cpp +ac_cv_prog_CPP='cpp ' ac_cv_prog_LEX=flex ac_cv_prog_YACC='bison -y' ac_cv_prog_ac_ct_AR=ar -ac_cv_prog_ac_ct_CC=cc +ac_cv_prog_ac_ct_CC='cc ' ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip @@ -3774,38 +4057,38 @@ lt_cv_file_magic_test_file='' lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs -lt_cv_path_LD=/usr/bin/ld -lt_cv_path_NM='/usr/bin/nm -B' +lt_cv_path_LD=ld +lt_cv_path_NM=nm lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes -lt_cv_prog_compiler_rtti_exceptions=no +lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\' 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'\' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\' -lt_cv_sys_max_cmd_len=262144 +lt_cv_sys_max_cmd_len=196608 ## ----------------- ## ## Output variables. ## ## ----------------- ## -ACLOCAL='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run aclocal-1.11' +ACLOCAL='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' -AMTAR='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run tar' +AMTAR='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run tar' AR='ar' -AUTOCONF='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoconf' -AUTOHEADER='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoheader' -AUTOMAKE='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run automake-1.11' +AUTOCONF='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run autoconf' +AUTOHEADER='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run autoheader' +AUTOMAKE='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run automake-1.11' AWK='gawk' -CC='cc' +CC='cc ' CCDEPMODE='depmode=gcc3' -CFLAGS='-pipe -g -Wall -Werror -Wno-unused' +CFLAGS='-g -O2 -Wall -Werror -Wno-unused' CONFIGURE_AMFLAGS='' -CPP='cpp' +CPP='cpp ' CPPFLAGS=' -I${top_srcdir}/src/racoon/missing' CRYPTOBJS='' CYGPATH_W='echo' @@ -3825,15 +4108,15 @@ GLIBC_BUGS='' GREP='/usr/bin/grep' HYBRID_OBJS='isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o' INCLUDE_GLIBC='' -INSTALL_DATA='install -o root -g wheel -m 444' +INSTALL_DATA='${INSTALL} -m 644' INSTALL_OPTS='' -INSTALL_PROGRAM='install -o root -g wheel -m 555' -INSTALL_SCRIPT='install -o root -g wheel -m 555' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' KERNEL_INCLUDE='' KRB5_CONFIG='/usr/bin/krb5-config' -LD='/usr/bin/ld' -LDFLAGS=' -rpath=/usr/lib:/usr/local/lib' +LD='ld' +LDFLAGS='' LEX='flex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' @@ -3843,10 +4126,10 @@ LIBTOOL='$(SHELL) /usr/local/bin/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' -MAKEINFO='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run makeinfo' +MAKEINFO='${SHELL} /home/misho/work/embedaddon/ipsec-tools/missing --run makeinfo' MKDIR_P='./install-sh -c -d' NATT_OBJS='nattraversal.o' -NM='/usr/bin/nm -B' +NM='nm' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' @@ -3870,7 +4153,7 @@ STRIP='strip' VERSION='0.8.0' YACC='bison -y' YFLAGS='' -ac_ct_CC='cc' +ac_ct_CC='cc ' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' @@ -3883,41 +4166,41 @@ am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' -build='i386-portbld-freebsd10.0' -build_alias='i386-portbld-freebsd10.0' +build='i386-elwix-freebsd' +build_alias='i386-elwix-freebsd' build_cpu='i386' -build_os='freebsd10.0' -build_vendor='portbld' +build_os='freebsd' +build_vendor='elwix' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' -host='i386-portbld-freebsd10.0' +host='i386-elwix-freebsd' host_alias='' host_cpu='i386' -host_os='freebsd10.0' -host_vendor='portbld' +host_os='freebsd' +host_vendor='elwix' htmldir='${docdir}' include_racoondir='${prefix}/include/racoon' includedir='${prefix}/include' -infodir='/usr/local/info' -install_sh='${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/install-sh' +infodir='${datarootdir}/info' +install_sh='${SHELL} /home/misho/work/embedaddon/ipsec-tools/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' -localstatedir='/var/db' +localstatedir='/var/run' lt_ECHO='echo' -mandir='/usr/local/man' +mandir='${datarootdir}/man' mkdir_p='$(top_builddir)/./install-sh -c -d' oldincludedir='/usr/include' pdfdir='${docdir}' -prefix='/usr/local' +prefix='/home/misho/work/elwix/build/1.9/arch/i386/pkg' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' -sysconfdir='/usr/local/etc/racoon' +sysconfdir='/etc/racoon' target_alias='' ## ----------- ##