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