Advertisement
Guest User

Untitled

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