Advertisement
Guest User

Untitled

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