Guest User

Untitled

a guest
Oct 9th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 451.21 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 ClamAV configure 0.102.0, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = f5388724aeb2
  14. uname -m = x86_64
  15. uname -r = 4.9.184-linuxkit
  16. uname -s = Linux
  17. uname -v = #1 SMP Tue Jul 2 22:58:16 UTC 2019
  18.  
  19. /usr/bin/uname -p = x86_64
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = x86_64
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /usr/local/sbin
  31. PATH: /usr/local/bin
  32. PATH: /usr/sbin
  33. PATH: /usr/bin
  34. PATH: /sbin
  35. PATH: /bin
  36.  
  37.  
  38. ## ----------- ##
  39. ## Core tests. ##
  40. ## ----------- ##
  41.  
  42. configure:3022: checking for g++
  43. configure:3038: found /usr/bin/g++
  44. configure:3049: result: g++
  45. configure:3076: checking for C++ compiler version
  46. configure:3085: g++ --version >&5
  47. g++ (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6)
  48. Copyright (C) 2017 Free Software Foundation, Inc.
  49. This is free software; see the source for copying conditions. There is NO
  50. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  51.  
  52. configure:3096: $? = 0
  53. configure:3085: g++ -v >&5
  54. Using built-in specs.
  55. COLLECT_GCC=g++
  56. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
  57. Target: x86_64-redhat-linux
  58. Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-libsanitizer --enable-gnu-indirect-function --enable-libcilkrts --enable-libatomic --enable-libquadmath --enable-libitm --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
  59. Thread model: posix
  60. gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)
  61. configure:3096: $? = 0
  62. configure:3085: g++ -V >&5
  63. g++: error: unrecognized command line option '-V'
  64. g++: fatal error: no input files
  65. compilation terminated.
  66. configure:3096: $? = 1
  67. configure:3085: g++ -qversion >&5
  68. g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
  69. g++: fatal error: no input files
  70. compilation terminated.
  71. configure:3096: $? = 1
  72. configure:3116: checking whether the C++ compiler works
  73. configure:3138: g++ conftest.cpp >&5
  74. configure:3142: $? = 0
  75. configure:3190: result: yes
  76. configure:3193: checking for C++ compiler default output file name
  77. configure:3195: result: a.out
  78. configure:3201: checking for suffix of executables
  79. configure:3208: g++ -o conftest conftest.cpp >&5
  80. configure:3212: $? = 0
  81. configure:3234: result:
  82. configure:3256: checking whether we are cross compiling
  83. configure:3264: g++ -o conftest conftest.cpp >&5
  84. configure:3268: $? = 0
  85. configure:3275: ./conftest
  86. configure:3279: $? = 0
  87. configure:3294: result: no
  88. configure:3299: checking for suffix of object files
  89. configure:3321: g++ -c conftest.cpp >&5
  90. configure:3325: $? = 0
  91. configure:3346: result: o
  92. configure:3350: checking whether we are using the GNU C++ compiler
  93. configure:3369: g++ -c conftest.cpp >&5
  94. configure:3369: $? = 0
  95. configure:3378: result: yes
  96. configure:3387: checking whether g++ accepts -g
  97. configure:3407: g++ -c -g conftest.cpp >&5
  98. configure:3407: $? = 0
  99. configure:3448: result: yes
  100. configure:3482: checking build system type
  101. configure:3496: result: x86_64-pc-linux-gnu
  102. configure:3516: checking host system type
  103. configure:3529: result: x86_64-pc-linux-gnu
  104. configure:3549: checking target system type
  105. configure:3562: result: x86_64-pc-linux-gnu
  106. configure:3646: result: creating target.h - canonical system defines
  107. configure:3793: checking for a BSD-compatible install
  108. configure:3861: result: /usr/bin/install -c
  109. configure:3872: checking whether build environment is sane
  110. configure:3927: result: yes
  111. configure:4078: checking for a thread-safe mkdir -p
  112. configure:4117: result: /usr/bin/mkdir -p
  113. configure:4124: checking for gawk
  114. configure:4140: found /usr/bin/gawk
  115. configure:4151: result: gawk
  116. configure:4162: checking whether make sets $(MAKE)
  117. configure:4184: result: yes
  118. configure:4214: checking for style of include used by make
  119. configure:4242: result: GNU
  120. configure:4276: checking whether make supports nested variables
  121. configure:4293: result: yes
  122. configure:4373: checking whether UID '1000' is supported by ustar format
  123. configure:4376: result: yes
  124. configure:4383: checking whether GID '1001' is supported by ustar format
  125. configure:4386: result: yes
  126. configure:4394: checking how to create a ustar tar archive
  127. configure:4405: tar --version
  128. tar (GNU tar) 1.26
  129. Copyright (C) 2011 Free Software Foundation, Inc.
  130. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
  131. This is free software: you are free to change and redistribute it.
  132. There is NO WARRANTY, to the extent permitted by law.
  133.  
  134. Written by John Gilmore and Jay Fenlason.
  135. configure:4408: $? = 0
  136. configure:4448: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
  137. configure:4451: $? = 0
  138. configure:4455: tar -xf - <conftest.tar
  139. configure:4458: $? = 0
  140. configure:4460: cat conftest.dir/file
  141. GrepMe
  142. configure:4463: $? = 0
  143. configure:4476: result: gnutar
  144. configure:4485: checking dependency style of g++
  145. configure:4596: result: gcc3
  146. configure:4665: checking whether make supports nested variables
  147. configure:4682: result: yes
  148. configure:4742: checking for gcc
  149. configure:4758: found /usr/bin/gcc
  150. configure:4769: result: gcc
  151. configure:4998: checking for C compiler version
  152. configure:5007: gcc --version >&5
  153. gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6)
  154. Copyright (C) 2017 Free Software Foundation, Inc.
  155. This is free software; see the source for copying conditions. There is NO
  156. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  157.  
  158. configure:5018: $? = 0
  159. configure:5007: gcc -v >&5
  160. Using built-in specs.
  161. COLLECT_GCC=gcc
  162. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
  163. Target: x86_64-redhat-linux
  164. Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-libsanitizer --enable-gnu-indirect-function --enable-libcilkrts --enable-libatomic --enable-libquadmath --enable-libitm --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
  165. Thread model: posix
  166. gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)
  167. configure:5018: $? = 0
  168. configure:5007: gcc -V >&5
  169. gcc: error: unrecognized command line option '-V'
  170. gcc: fatal error: no input files
  171. compilation terminated.
  172. configure:5018: $? = 1
  173. configure:5007: gcc -qversion >&5
  174. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  175. gcc: fatal error: no input files
  176. compilation terminated.
  177. configure:5018: $? = 1
  178. configure:5022: checking whether we are using the GNU C compiler
  179. configure:5041: gcc -c conftest.c >&5
  180. configure:5041: $? = 0
  181. configure:5050: result: yes
  182. configure:5059: checking whether gcc accepts -g
  183. configure:5079: gcc -c -g conftest.c >&5
  184. configure:5079: $? = 0
  185. configure:5120: result: yes
  186. configure:5137: checking for gcc option to accept ISO C89
  187. configure:5200: gcc -c -g -O2 conftest.c >&5
  188. configure:5200: $? = 0
  189. configure:5213: result: none needed
  190. configure:5238: checking whether gcc understands -c and -o together
  191. configure:5260: gcc -c conftest.c -o conftest2.o
  192. configure:5263: $? = 0
  193. configure:5260: gcc -c conftest.c -o conftest2.o
  194. configure:5263: $? = 0
  195. configure:5275: result: yes
  196. configure:5294: checking dependency style of gcc
  197. configure:5405: result: gcc3
  198. configure:5470: checking for ar
  199. configure:5486: found /usr/bin/ar
  200. configure:5497: result: ar
  201. configure:5523: checking the archiver (ar) interface
  202. configure:5539: gcc -c -g -O2 conftest.c >&5
  203. configure:5539: $? = 0
  204. configure:5541: ar cru libconftest.a conftest.o >&5
  205. configure:5544: $? = 0
  206. configure:5572: result: ar
  207. configure:5601: checking how to run the C preprocessor
  208. configure:5632: gcc -E conftest.c
  209. configure:5632: $? = 0
  210. configure:5646: gcc -E conftest.c
  211. conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
  212. #include <ac_nonexistent.h>
  213. ^~~~~~~~~~~~~~~~~~
  214. compilation terminated.
  215. configure:5646: $? = 1
  216. configure: failed program was:
  217. | /* confdefs.h */
  218. | #define PACKAGE_NAME "ClamAV"
  219. | #define PACKAGE_TARNAME "clamav"
  220. | #define PACKAGE_VERSION "0.102.0"
  221. | #define PACKAGE_STRING "ClamAV 0.102.0"
  222. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  223. | #define PACKAGE_URL "https://www.clamav.net/"
  224. | #define PACKAGE PACKAGE_NAME
  225. | /* end confdefs.h. */
  226. | #include <ac_nonexistent.h>
  227. configure:5671: result: gcc -E
  228. configure:5691: gcc -E conftest.c
  229. configure:5691: $? = 0
  230. configure:5705: gcc -E conftest.c
  231. conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
  232. #include <ac_nonexistent.h>
  233. ^~~~~~~~~~~~~~~~~~
  234. compilation terminated.
  235. configure:5705: $? = 1
  236. configure: failed program was:
  237. | /* confdefs.h */
  238. | #define PACKAGE_NAME "ClamAV"
  239. | #define PACKAGE_TARNAME "clamav"
  240. | #define PACKAGE_VERSION "0.102.0"
  241. | #define PACKAGE_STRING "ClamAV 0.102.0"
  242. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  243. | #define PACKAGE_URL "https://www.clamav.net/"
  244. | #define PACKAGE PACKAGE_NAME
  245. | /* end confdefs.h. */
  246. | #include <ac_nonexistent.h>
  247. configure:5734: checking for grep that handles long lines and -e
  248. configure:5792: result: /usr/bin/grep
  249. configure:5797: checking for egrep
  250. configure:5859: result: /usr/bin/grep -E
  251. configure:5864: checking for ANSI C header files
  252. configure:5884: gcc -c -g -O2 conftest.c >&5
  253. configure:5884: $? = 0
  254. configure:5957: gcc -o conftest -g -O2 conftest.c >&5
  255. configure:5957: $? = 0
  256. configure:5957: ./conftest
  257. configure:5957: $? = 0
  258. configure:5968: result: yes
  259. configure:5981: checking for sys/types.h
  260. configure:5981: gcc -c -g -O2 conftest.c >&5
  261. configure:5981: $? = 0
  262. configure:5981: result: yes
  263. configure:5981: checking for sys/stat.h
  264. configure:5981: gcc -c -g -O2 conftest.c >&5
  265. configure:5981: $? = 0
  266. configure:5981: result: yes
  267. configure:5981: checking for stdlib.h
  268. configure:5981: gcc -c -g -O2 conftest.c >&5
  269. configure:5981: $? = 0
  270. configure:5981: result: yes
  271. configure:5981: checking for string.h
  272. configure:5981: gcc -c -g -O2 conftest.c >&5
  273. configure:5981: $? = 0
  274. configure:5981: result: yes
  275. configure:5981: checking for memory.h
  276. configure:5981: gcc -c -g -O2 conftest.c >&5
  277. configure:5981: $? = 0
  278. configure:5981: result: yes
  279. configure:5981: checking for strings.h
  280. configure:5981: gcc -c -g -O2 conftest.c >&5
  281. configure:5981: $? = 0
  282. configure:5981: result: yes
  283. configure:5981: checking for inttypes.h
  284. configure:5981: gcc -c -g -O2 conftest.c >&5
  285. configure:5981: $? = 0
  286. configure:5981: result: yes
  287. configure:5981: checking for stdint.h
  288. configure:5981: gcc -c -g -O2 conftest.c >&5
  289. configure:5981: $? = 0
  290. configure:5981: result: yes
  291. configure:5981: checking for unistd.h
  292. configure:5981: gcc -c -g -O2 conftest.c >&5
  293. configure:5981: $? = 0
  294. configure:5981: result: yes
  295. configure:5994: checking minix/config.h usability
  296. configure:5994: gcc -c -g -O2 conftest.c >&5
  297. conftest.c:53:10: fatal error: minix/config.h: No such file or directory
  298. #include <minix/config.h>
  299. ^~~~~~~~~~~~~~~~
  300. compilation terminated.
  301. configure:5994: $? = 1
  302. configure: failed program was:
  303. | /* confdefs.h */
  304. | #define PACKAGE_NAME "ClamAV"
  305. | #define PACKAGE_TARNAME "clamav"
  306. | #define PACKAGE_VERSION "0.102.0"
  307. | #define PACKAGE_STRING "ClamAV 0.102.0"
  308. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  309. | #define PACKAGE_URL "https://www.clamav.net/"
  310. | #define PACKAGE PACKAGE_NAME
  311. | #define STDC_HEADERS 1
  312. | #define HAVE_SYS_TYPES_H 1
  313. | #define HAVE_SYS_STAT_H 1
  314. | #define HAVE_STDLIB_H 1
  315. | #define HAVE_STRING_H 1
  316. | #define HAVE_MEMORY_H 1
  317. | #define HAVE_STRINGS_H 1
  318. | #define HAVE_INTTYPES_H 1
  319. | #define HAVE_STDINT_H 1
  320. | #define HAVE_UNISTD_H 1
  321. | /* end confdefs.h. */
  322. | #include <stdio.h>
  323. | #ifdef HAVE_SYS_TYPES_H
  324. | # include <sys/types.h>
  325. | #endif
  326. | #ifdef HAVE_SYS_STAT_H
  327. | # include <sys/stat.h>
  328. | #endif
  329. | #ifdef STDC_HEADERS
  330. | # include <stdlib.h>
  331. | # include <stddef.h>
  332. | #else
  333. | # ifdef HAVE_STDLIB_H
  334. | # include <stdlib.h>
  335. | # endif
  336. | #endif
  337. | #ifdef HAVE_STRING_H
  338. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  339. | # include <memory.h>
  340. | # endif
  341. | # include <string.h>
  342. | #endif
  343. | #ifdef HAVE_STRINGS_H
  344. | # include <strings.h>
  345. | #endif
  346. | #ifdef HAVE_INTTYPES_H
  347. | # include <inttypes.h>
  348. | #endif
  349. | #ifdef HAVE_STDINT_H
  350. | # include <stdint.h>
  351. | #endif
  352. | #ifdef HAVE_UNISTD_H
  353. | # include <unistd.h>
  354. | #endif
  355. | #include <minix/config.h>
  356. configure:5994: result: no
  357. configure:5994: checking minix/config.h presence
  358. configure:5994: gcc -E conftest.c
  359. conftest.c:20:10: fatal error: minix/config.h: No such file or directory
  360. #include <minix/config.h>
  361. ^~~~~~~~~~~~~~~~
  362. compilation terminated.
  363. configure:5994: $? = 1
  364. configure: failed program was:
  365. | /* confdefs.h */
  366. | #define PACKAGE_NAME "ClamAV"
  367. | #define PACKAGE_TARNAME "clamav"
  368. | #define PACKAGE_VERSION "0.102.0"
  369. | #define PACKAGE_STRING "ClamAV 0.102.0"
  370. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  371. | #define PACKAGE_URL "https://www.clamav.net/"
  372. | #define PACKAGE PACKAGE_NAME
  373. | #define STDC_HEADERS 1
  374. | #define HAVE_SYS_TYPES_H 1
  375. | #define HAVE_SYS_STAT_H 1
  376. | #define HAVE_STDLIB_H 1
  377. | #define HAVE_STRING_H 1
  378. | #define HAVE_MEMORY_H 1
  379. | #define HAVE_STRINGS_H 1
  380. | #define HAVE_INTTYPES_H 1
  381. | #define HAVE_STDINT_H 1
  382. | #define HAVE_UNISTD_H 1
  383. | /* end confdefs.h. */
  384. | #include <minix/config.h>
  385. configure:5994: result: no
  386. configure:5994: checking for minix/config.h
  387. configure:5994: result: no
  388. configure:6015: checking whether it is safe to define __EXTENSIONS__
  389. configure:6033: gcc -c -g -O2 conftest.c >&5
  390. configure:6033: $? = 0
  391. configure:6040: result: yes
  392. configure:6171: checking how to print strings
  393. configure:6198: result: printf
  394. configure:6219: checking for a sed that does not truncate output
  395. configure:6283: result: /usr/bin/sed
  396. configure:6301: checking for fgrep
  397. configure:6363: result: /usr/bin/grep -F
  398. configure:6398: checking for ld used by gcc
  399. configure:6465: result: /usr/bin/ld
  400. configure:6472: checking if the linker (/usr/bin/ld) is GNU ld
  401. configure:6487: result: yes
  402. configure:6499: checking for BSD- or MS-compatible name lister (nm)
  403. configure:6553: result: /usr/bin/nm -B
  404. configure:6683: checking the name lister (/usr/bin/nm -B) interface
  405. configure:6690: gcc -c -g -O2 conftest.c >&5
  406. configure:6693: /usr/bin/nm -B "conftest.o"
  407. configure:6696: output
  408. 0000000000000000 B some_variable
  409. configure:6703: result: BSD nm
  410. configure:6706: checking whether ln -s works
  411. configure:6710: result: yes
  412. configure:6718: checking the maximum length of command line arguments
  413. configure:6849: result: 1572864
  414. configure:6897: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
  415. configure:6937: result: func_convert_file_noop
  416. configure:6944: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
  417. configure:6964: result: func_convert_file_noop
  418. configure:6971: checking for /usr/bin/ld option to reload object files
  419. configure:6978: result: -r
  420. configure:7052: checking for objdump
  421. configure:7068: found /usr/bin/objdump
  422. configure:7079: result: objdump
  423. configure:7111: checking how to recognize dependent libraries
  424. configure:7311: result: pass_all
  425. configure:7396: checking for dlltool
  426. configure:7426: result: no
  427. configure:7456: checking how to associate runtime and link libraries
  428. configure:7483: result: printf %s\n
  429. configure:7607: checking for archiver @FILE support
  430. configure:7624: gcc -c -g -O2 conftest.c >&5
  431. configure:7624: $? = 0
  432. configure:7627: ar cru libconftest.a @conftest.lst >&5
  433. configure:7630: $? = 0
  434. configure:7635: ar cru libconftest.a @conftest.lst >&5
  435. ar: conftest.o: No such file or directory
  436. configure:7638: $? = 1
  437. configure:7650: result: @
  438. configure:7708: checking for strip
  439. configure:7724: found /usr/bin/strip
  440. configure:7735: result: strip
  441. configure:7807: checking for ranlib
  442. configure:7823: found /usr/bin/ranlib
  443. configure:7834: result: ranlib
  444. configure:7936: checking command to parse /usr/bin/nm -B output from gcc object
  445. configure:8089: gcc -c -g -O2 conftest.c >&5
  446. configure:8092: $? = 0
  447. configure:8096: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  448. configure:8099: $? = 0
  449. configure:8165: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
  450. configure:8168: $? = 0
  451. configure:8206: result: ok
  452. configure:8253: checking for sysroot
  453. configure:8283: result: no
  454. configure:8290: checking for a working dd
  455. configure:8328: result: /usr/bin/dd
  456. configure:8332: checking how to truncate binary pipes
  457. configure:8347: result: /usr/bin/dd bs=4096 count=1
  458. configure:8483: gcc -c -g -O2 conftest.c >&5
  459. configure:8486: $? = 0
  460. configure:8676: checking for mt
  461. configure:8706: result: no
  462. configure:8726: checking if : is a manifest tool
  463. configure:8732: : '-?'
  464. configure:8740: result: no
  465. configure:9414: checking for dlfcn.h
  466. configure:9414: gcc -c -g -O2 conftest.c >&5
  467. configure:9414: $? = 0
  468. configure:9414: result: yes
  469. configure:9679: checking for objdir
  470. configure:9694: result: .libs
  471. configure:9958: checking if gcc supports -fno-rtti -fno-exceptions
  472. configure:9976: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
  473. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
  474. configure:9980: $? = 0
  475. configure:9993: result: no
  476. configure:10351: checking for gcc option to produce PIC
  477. configure:10358: result: -fPIC -DPIC
  478. configure:10366: checking if gcc PIC flag -fPIC -DPIC works
  479. configure:10384: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
  480. configure:10388: $? = 0
  481. configure:10401: result: yes
  482. configure:10430: checking if gcc static flag -static works
  483. configure:10458: result: no
  484. configure:10473: checking if gcc supports -c -o file.o
  485. configure:10494: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
  486. configure:10498: $? = 0
  487. configure:10520: result: yes
  488. configure:10528: checking if gcc supports -c -o file.o
  489. configure:10575: result: yes
  490. configure:10608: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  491. configure:11871: result: yes
  492. configure:11908: checking whether -lc should be explicitly linked in
  493. configure:11916: gcc -c -g -O2 conftest.c >&5
  494. configure:11919: $? = 0
  495. configure:11934: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
  496. configure:11937: $? = 0
  497. configure:11951: result: no
  498. configure:12111: checking dynamic linker characteristics
  499. configure:12692: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
  500. configure:12692: $? = 0
  501. configure:12941: result: GNU/Linux ld.so
  502. configure:13063: checking how to hardcode library paths into programs
  503. configure:13088: result: immediate
  504. configure:13190: checking for shl_load
  505. configure:13190: gcc -o conftest -g -O2 conftest.c >&5
  506. /tmp/ccOpPCGA.o: In function `main':
  507. /tmp/conftest.c:67: undefined reference to `shl_load'
  508. collect2: error: ld returned 1 exit status
  509. configure:13190: $? = 1
  510. configure: failed program was:
  511. | /* confdefs.h */
  512. | #define PACKAGE_NAME "ClamAV"
  513. | #define PACKAGE_TARNAME "clamav"
  514. | #define PACKAGE_VERSION "0.102.0"
  515. | #define PACKAGE_STRING "ClamAV 0.102.0"
  516. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  517. | #define PACKAGE_URL "https://www.clamav.net/"
  518. | #define PACKAGE PACKAGE_NAME
  519. | #define STDC_HEADERS 1
  520. | #define HAVE_SYS_TYPES_H 1
  521. | #define HAVE_SYS_STAT_H 1
  522. | #define HAVE_STDLIB_H 1
  523. | #define HAVE_STRING_H 1
  524. | #define HAVE_MEMORY_H 1
  525. | #define HAVE_STRINGS_H 1
  526. | #define HAVE_INTTYPES_H 1
  527. | #define HAVE_STDINT_H 1
  528. | #define HAVE_UNISTD_H 1
  529. | #define __EXTENSIONS__ 1
  530. | #define _ALL_SOURCE 1
  531. | #define _GNU_SOURCE 1
  532. | #define _POSIX_PTHREAD_SEMANTICS 1
  533. | #define _TANDEM_SOURCE 1
  534. | #define LIBCLAMAV_FULLVER "9.0.4"
  535. | #define LIBCLAMAV_MAJORVER 9
  536. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  537. | #define LIBFRESHCLAM_MAJORVER 2
  538. | #define VERSION "0.102.0"
  539. | #define VERSION_SUFFIX ""
  540. | #define HAVE_DLFCN_H 1
  541. | #define LT_OBJDIR ".libs/"
  542. | /* end confdefs.h. */
  543. | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  544. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  545. | #define shl_load innocuous_shl_load
  546. |
  547. | /* System header to define __stub macros and hopefully few prototypes,
  548. | which can conflict with char shl_load (); below.
  549. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  550. | <limits.h> exists even on freestanding compilers. */
  551. |
  552. | #ifdef __STDC__
  553. | # include <limits.h>
  554. | #else
  555. | # include <assert.h>
  556. | #endif
  557. |
  558. | #undef shl_load
  559. |
  560. | /* Override any GCC internal prototype to avoid an error.
  561. | Use char because int might match the return type of a GCC
  562. | builtin and then its argument prototype would still apply. */
  563. | #ifdef __cplusplus
  564. | extern "C"
  565. | #endif
  566. | char shl_load ();
  567. | /* The GNU C library defines this for functions which it implements
  568. | to always fail with ENOSYS. Some functions are actually named
  569. | something starting with __ and the normal name is an alias. */
  570. | #if defined __stub_shl_load || defined __stub___shl_load
  571. | choke me
  572. | #endif
  573. |
  574. | int
  575. | main ()
  576. | {
  577. | return shl_load ();
  578. | ;
  579. | return 0;
  580. | }
  581. configure:13190: result: no
  582. configure:13194: checking for shl_load in -ldld
  583. configure:13219: gcc -o conftest -g -O2 conftest.c -ldld >&5
  584. /usr/bin/ld: cannot find -ldld
  585. collect2: error: ld returned 1 exit status
  586. configure:13219: $? = 1
  587. configure: failed program was:
  588. | /* confdefs.h */
  589. | #define PACKAGE_NAME "ClamAV"
  590. | #define PACKAGE_TARNAME "clamav"
  591. | #define PACKAGE_VERSION "0.102.0"
  592. | #define PACKAGE_STRING "ClamAV 0.102.0"
  593. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  594. | #define PACKAGE_URL "https://www.clamav.net/"
  595. | #define PACKAGE PACKAGE_NAME
  596. | #define STDC_HEADERS 1
  597. | #define HAVE_SYS_TYPES_H 1
  598. | #define HAVE_SYS_STAT_H 1
  599. | #define HAVE_STDLIB_H 1
  600. | #define HAVE_STRING_H 1
  601. | #define HAVE_MEMORY_H 1
  602. | #define HAVE_STRINGS_H 1
  603. | #define HAVE_INTTYPES_H 1
  604. | #define HAVE_STDINT_H 1
  605. | #define HAVE_UNISTD_H 1
  606. | #define __EXTENSIONS__ 1
  607. | #define _ALL_SOURCE 1
  608. | #define _GNU_SOURCE 1
  609. | #define _POSIX_PTHREAD_SEMANTICS 1
  610. | #define _TANDEM_SOURCE 1
  611. | #define LIBCLAMAV_FULLVER "9.0.4"
  612. | #define LIBCLAMAV_MAJORVER 9
  613. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  614. | #define LIBFRESHCLAM_MAJORVER 2
  615. | #define VERSION "0.102.0"
  616. | #define VERSION_SUFFIX ""
  617. | #define HAVE_DLFCN_H 1
  618. | #define LT_OBJDIR ".libs/"
  619. | /* end confdefs.h. */
  620. |
  621. | /* Override any GCC internal prototype to avoid an error.
  622. | Use char because int might match the return type of a GCC
  623. | builtin and then its argument prototype would still apply. */
  624. | #ifdef __cplusplus
  625. | extern "C"
  626. | #endif
  627. | char shl_load ();
  628. | int
  629. | main ()
  630. | {
  631. | return shl_load ();
  632. | ;
  633. | return 0;
  634. | }
  635. configure:13228: result: no
  636. configure:13233: checking for dlopen
  637. configure:13233: gcc -o conftest -g -O2 conftest.c >&5
  638. /tmp/ccE5RdSJ.o: In function `main':
  639. /tmp/conftest.c:67: undefined reference to `dlopen'
  640. collect2: error: ld returned 1 exit status
  641. configure:13233: $? = 1
  642. configure: failed program was:
  643. | /* confdefs.h */
  644. | #define PACKAGE_NAME "ClamAV"
  645. | #define PACKAGE_TARNAME "clamav"
  646. | #define PACKAGE_VERSION "0.102.0"
  647. | #define PACKAGE_STRING "ClamAV 0.102.0"
  648. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  649. | #define PACKAGE_URL "https://www.clamav.net/"
  650. | #define PACKAGE PACKAGE_NAME
  651. | #define STDC_HEADERS 1
  652. | #define HAVE_SYS_TYPES_H 1
  653. | #define HAVE_SYS_STAT_H 1
  654. | #define HAVE_STDLIB_H 1
  655. | #define HAVE_STRING_H 1
  656. | #define HAVE_MEMORY_H 1
  657. | #define HAVE_STRINGS_H 1
  658. | #define HAVE_INTTYPES_H 1
  659. | #define HAVE_STDINT_H 1
  660. | #define HAVE_UNISTD_H 1
  661. | #define __EXTENSIONS__ 1
  662. | #define _ALL_SOURCE 1
  663. | #define _GNU_SOURCE 1
  664. | #define _POSIX_PTHREAD_SEMANTICS 1
  665. | #define _TANDEM_SOURCE 1
  666. | #define LIBCLAMAV_FULLVER "9.0.4"
  667. | #define LIBCLAMAV_MAJORVER 9
  668. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  669. | #define LIBFRESHCLAM_MAJORVER 2
  670. | #define VERSION "0.102.0"
  671. | #define VERSION_SUFFIX ""
  672. | #define HAVE_DLFCN_H 1
  673. | #define LT_OBJDIR ".libs/"
  674. | /* end confdefs.h. */
  675. | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  676. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  677. | #define dlopen innocuous_dlopen
  678. |
  679. | /* System header to define __stub macros and hopefully few prototypes,
  680. | which can conflict with char dlopen (); below.
  681. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  682. | <limits.h> exists even on freestanding compilers. */
  683. |
  684. | #ifdef __STDC__
  685. | # include <limits.h>
  686. | #else
  687. | # include <assert.h>
  688. | #endif
  689. |
  690. | #undef dlopen
  691. |
  692. | /* Override any GCC internal prototype to avoid an error.
  693. | Use char because int might match the return type of a GCC
  694. | builtin and then its argument prototype would still apply. */
  695. | #ifdef __cplusplus
  696. | extern "C"
  697. | #endif
  698. | char dlopen ();
  699. | /* The GNU C library defines this for functions which it implements
  700. | to always fail with ENOSYS. Some functions are actually named
  701. | something starting with __ and the normal name is an alias. */
  702. | #if defined __stub_dlopen || defined __stub___dlopen
  703. | choke me
  704. | #endif
  705. |
  706. | int
  707. | main ()
  708. | {
  709. | return dlopen ();
  710. | ;
  711. | return 0;
  712. | }
  713. configure:13233: result: no
  714. configure:13237: checking for dlopen in -ldl
  715. configure:13262: gcc -o conftest -g -O2 conftest.c -ldl >&5
  716. configure:13262: $? = 0
  717. configure:13271: result: yes
  718. configure:13390: checking whether a program can dlopen itself
  719. configure:13470: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
  720. configure:13473: $? = 0
  721. configure:13491: result: yes
  722. configure:13496: checking whether a statically linked program can dlopen itself
  723. configure:13576: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
  724. configure:13579: $? = 0
  725. configure:13597: result: yes
  726. configure:13636: checking whether stripping libraries is possible
  727. configure:13641: result: yes
  728. configure:13676: checking if libtool supports shared libraries
  729. configure:13678: result: yes
  730. configure:13681: checking whether to build shared libraries
  731. configure:13706: result: yes
  732. configure:13709: checking whether to build static libraries
  733. configure:13713: result: no
  734. configure:13736: checking how to run the C++ preprocessor
  735. configure:13763: g++ -E conftest.cpp
  736. configure:13763: $? = 0
  737. configure:13777: g++ -E conftest.cpp
  738. conftest.cpp:33:10: fatal error: ac_nonexistent.h: No such file or directory
  739. #include <ac_nonexistent.h>
  740. ^~~~~~~~~~~~~~~~~~
  741. compilation terminated.
  742. configure:13777: $? = 1
  743. configure: failed program was:
  744. | /* confdefs.h */
  745. | #define PACKAGE_NAME "ClamAV"
  746. | #define PACKAGE_TARNAME "clamav"
  747. | #define PACKAGE_VERSION "0.102.0"
  748. | #define PACKAGE_STRING "ClamAV 0.102.0"
  749. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  750. | #define PACKAGE_URL "https://www.clamav.net/"
  751. | #define PACKAGE PACKAGE_NAME
  752. | #define STDC_HEADERS 1
  753. | #define HAVE_SYS_TYPES_H 1
  754. | #define HAVE_SYS_STAT_H 1
  755. | #define HAVE_STDLIB_H 1
  756. | #define HAVE_STRING_H 1
  757. | #define HAVE_MEMORY_H 1
  758. | #define HAVE_STRINGS_H 1
  759. | #define HAVE_INTTYPES_H 1
  760. | #define HAVE_STDINT_H 1
  761. | #define HAVE_UNISTD_H 1
  762. | #define __EXTENSIONS__ 1
  763. | #define _ALL_SOURCE 1
  764. | #define _GNU_SOURCE 1
  765. | #define _POSIX_PTHREAD_SEMANTICS 1
  766. | #define _TANDEM_SOURCE 1
  767. | #define LIBCLAMAV_FULLVER "9.0.4"
  768. | #define LIBCLAMAV_MAJORVER 9
  769. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  770. | #define LIBFRESHCLAM_MAJORVER 2
  771. | #define VERSION "0.102.0"
  772. | #define VERSION_SUFFIX ""
  773. | #define HAVE_DLFCN_H 1
  774. | #define LT_OBJDIR ".libs/"
  775. | /* end confdefs.h. */
  776. | #include <ac_nonexistent.h>
  777. configure:13802: result: g++ -E
  778. configure:13822: g++ -E conftest.cpp
  779. configure:13822: $? = 0
  780. configure:13836: g++ -E conftest.cpp
  781. conftest.cpp:33:10: fatal error: ac_nonexistent.h: No such file or directory
  782. #include <ac_nonexistent.h>
  783. ^~~~~~~~~~~~~~~~~~
  784. compilation terminated.
  785. configure:13836: $? = 1
  786. configure: failed program was:
  787. | /* confdefs.h */
  788. | #define PACKAGE_NAME "ClamAV"
  789. | #define PACKAGE_TARNAME "clamav"
  790. | #define PACKAGE_VERSION "0.102.0"
  791. | #define PACKAGE_STRING "ClamAV 0.102.0"
  792. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  793. | #define PACKAGE_URL "https://www.clamav.net/"
  794. | #define PACKAGE PACKAGE_NAME
  795. | #define STDC_HEADERS 1
  796. | #define HAVE_SYS_TYPES_H 1
  797. | #define HAVE_SYS_STAT_H 1
  798. | #define HAVE_STDLIB_H 1
  799. | #define HAVE_STRING_H 1
  800. | #define HAVE_MEMORY_H 1
  801. | #define HAVE_STRINGS_H 1
  802. | #define HAVE_INTTYPES_H 1
  803. | #define HAVE_STDINT_H 1
  804. | #define HAVE_UNISTD_H 1
  805. | #define __EXTENSIONS__ 1
  806. | #define _ALL_SOURCE 1
  807. | #define _GNU_SOURCE 1
  808. | #define _POSIX_PTHREAD_SEMANTICS 1
  809. | #define _TANDEM_SOURCE 1
  810. | #define LIBCLAMAV_FULLVER "9.0.4"
  811. | #define LIBCLAMAV_MAJORVER 9
  812. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  813. | #define LIBFRESHCLAM_MAJORVER 2
  814. | #define VERSION "0.102.0"
  815. | #define VERSION_SUFFIX ""
  816. | #define HAVE_DLFCN_H 1
  817. | #define LT_OBJDIR ".libs/"
  818. | /* end confdefs.h. */
  819. | #include <ac_nonexistent.h>
  820. configure:13998: checking for ld used by g++
  821. configure:14065: result: /usr/bin/ld -m elf_x86_64
  822. configure:14072: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
  823. configure:14087: result: yes
  824. configure:14142: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  825. configure:15215: result: yes
  826. configure:15251: g++ -c -g -O2 conftest.cpp >&5
  827. configure:15254: $? = 0
  828. configure:15735: checking for g++ option to produce PIC
  829. configure:15742: result: -fPIC -DPIC
  830. configure:15750: checking if g++ PIC flag -fPIC -DPIC works
  831. configure:15768: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
  832. configure:15772: $? = 0
  833. configure:15785: result: yes
  834. configure:15808: checking if g++ static flag -static works
  835. configure:15836: result: no
  836. configure:15848: checking if g++ supports -c -o file.o
  837. configure:15869: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
  838. configure:15873: $? = 0
  839. configure:15895: result: yes
  840. configure:15900: checking if g++ supports -c -o file.o
  841. configure:15947: result: yes
  842. configure:15977: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  843. configure:16020: result: yes
  844. configure:16161: checking dynamic linker characteristics
  845. configure:16918: result: GNU/Linux ld.so
  846. configure:16983: checking how to hardcode library paths into programs
  847. configure:17008: result: immediate
  848. configure:17069: checking what extension is used for runtime loadable modules
  849. configure:17081: result: .so
  850. configure:17105: checking what variable specifies run-time module search path
  851. configure:17112: result: LD_LIBRARY_PATH
  852. configure:17122: checking for the default library search path
  853. configure:17129: result: /lib /usr/lib /usr/lib64/dyninst
  854. configure:17160: checking for library containing dlopen
  855. configure:17191: gcc -o conftest -g -O2 conftest.c >&5
  856. /tmp/ccLxauyr.o: In function `main':
  857. /tmp/conftest.c:47: undefined reference to `dlopen'
  858. collect2: error: ld returned 1 exit status
  859. configure:17191: $? = 1
  860. configure: failed program was:
  861. | /* confdefs.h */
  862. | #define PACKAGE_NAME "ClamAV"
  863. | #define PACKAGE_TARNAME "clamav"
  864. | #define PACKAGE_VERSION "0.102.0"
  865. | #define PACKAGE_STRING "ClamAV 0.102.0"
  866. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  867. | #define PACKAGE_URL "https://www.clamav.net/"
  868. | #define PACKAGE PACKAGE_NAME
  869. | #define STDC_HEADERS 1
  870. | #define HAVE_SYS_TYPES_H 1
  871. | #define HAVE_SYS_STAT_H 1
  872. | #define HAVE_STDLIB_H 1
  873. | #define HAVE_STRING_H 1
  874. | #define HAVE_MEMORY_H 1
  875. | #define HAVE_STRINGS_H 1
  876. | #define HAVE_INTTYPES_H 1
  877. | #define HAVE_STDINT_H 1
  878. | #define HAVE_UNISTD_H 1
  879. | #define __EXTENSIONS__ 1
  880. | #define _ALL_SOURCE 1
  881. | #define _GNU_SOURCE 1
  882. | #define _POSIX_PTHREAD_SEMANTICS 1
  883. | #define _TANDEM_SOURCE 1
  884. | #define LIBCLAMAV_FULLVER "9.0.4"
  885. | #define LIBCLAMAV_MAJORVER 9
  886. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  887. | #define LIBFRESHCLAM_MAJORVER 2
  888. | #define VERSION "0.102.0"
  889. | #define VERSION_SUFFIX ""
  890. | #define HAVE_DLFCN_H 1
  891. | #define LT_OBJDIR ".libs/"
  892. | #define LT_MODULE_EXT ".so"
  893. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  894. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  895. | /* end confdefs.h. */
  896. |
  897. | /* Override any GCC internal prototype to avoid an error.
  898. | Use char because int might match the return type of a GCC
  899. | builtin and then its argument prototype would still apply. */
  900. | #ifdef __cplusplus
  901. | extern "C"
  902. | #endif
  903. | char dlopen ();
  904. | int
  905. | main ()
  906. | {
  907. | return dlopen ();
  908. | ;
  909. | return 0;
  910. | }
  911. configure:17191: gcc -o conftest -g -O2 conftest.c -ldl >&5
  912. configure:17191: $? = 0
  913. configure:17208: result: -ldl
  914. configure:17298: checking for dlerror
  915. configure:17298: gcc -o conftest -g -O2 conftest.c -ldl -ldl >&5
  916. configure:17298: $? = 0
  917. configure:17298: result: yes
  918. configure:17312: checking for shl_load
  919. configure:17312: result: no
  920. configure:17319: checking for shl_load in -ldld
  921. configure:17353: result: no
  922. configure:17399: checking for dld_link in -ldld
  923. configure:17424: gcc -o conftest -g -O2 conftest.c -ldld -ldl >&5
  924. /usr/bin/ld: cannot find -ldld
  925. collect2: error: ld returned 1 exit status
  926. configure:17424: $? = 1
  927. configure: failed program was:
  928. | /* confdefs.h */
  929. | #define PACKAGE_NAME "ClamAV"
  930. | #define PACKAGE_TARNAME "clamav"
  931. | #define PACKAGE_VERSION "0.102.0"
  932. | #define PACKAGE_STRING "ClamAV 0.102.0"
  933. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  934. | #define PACKAGE_URL "https://www.clamav.net/"
  935. | #define PACKAGE PACKAGE_NAME
  936. | #define STDC_HEADERS 1
  937. | #define HAVE_SYS_TYPES_H 1
  938. | #define HAVE_SYS_STAT_H 1
  939. | #define HAVE_STDLIB_H 1
  940. | #define HAVE_STRING_H 1
  941. | #define HAVE_MEMORY_H 1
  942. | #define HAVE_STRINGS_H 1
  943. | #define HAVE_INTTYPES_H 1
  944. | #define HAVE_STDINT_H 1
  945. | #define HAVE_UNISTD_H 1
  946. | #define __EXTENSIONS__ 1
  947. | #define _ALL_SOURCE 1
  948. | #define _GNU_SOURCE 1
  949. | #define _POSIX_PTHREAD_SEMANTICS 1
  950. | #define _TANDEM_SOURCE 1
  951. | #define LIBCLAMAV_FULLVER "9.0.4"
  952. | #define LIBCLAMAV_MAJORVER 9
  953. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  954. | #define LIBFRESHCLAM_MAJORVER 2
  955. | #define VERSION "0.102.0"
  956. | #define VERSION_SUFFIX ""
  957. | #define HAVE_DLFCN_H 1
  958. | #define LT_OBJDIR ".libs/"
  959. | #define LT_MODULE_EXT ".so"
  960. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  961. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  962. | #define HAVE_LIBDL 1
  963. | #define HAVE_DLERROR 1
  964. | /* end confdefs.h. */
  965. |
  966. | /* Override any GCC internal prototype to avoid an error.
  967. | Use char because int might match the return type of a GCC
  968. | builtin and then its argument prototype would still apply. */
  969. | #ifdef __cplusplus
  970. | extern "C"
  971. | #endif
  972. | char dld_link ();
  973. | int
  974. | main ()
  975. | {
  976. | return dld_link ();
  977. | ;
  978. | return 0;
  979. | }
  980. configure:17433: result: no
  981. configure:17468: checking for _ prefix in compiled symbols
  982. configure:17478: gcc -c -g -O2 conftest.c >&5
  983. configure:17481: $? = 0
  984. configure:17485: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  985. configure:17488: $? = 0
  986. configure:17510: result: no
  987. configure:17627: checking whether deplibs are loaded by dlopen
  988. configure:17724: result: yes
  989. configure:17735: checking for argz.h
  990. configure:17735: gcc -c -g -O2 conftest.c >&5
  991. configure:17735: $? = 0
  992. configure:17735: result: yes
  993. configure:17747: checking for error_t
  994. configure:17747: gcc -c -g -O2 conftest.c >&5
  995. configure:17747: $? = 0
  996. configure:17747: gcc -c -g -O2 conftest.c >&5
  997. conftest.c: In function 'main':
  998. conftest.c:47:22: error: expected expression before ')' token
  999. if (sizeof ((error_t)))
  1000. ^
  1001. configure:17747: $? = 1
  1002. configure: failed program was:
  1003. | /* confdefs.h */
  1004. | #define PACKAGE_NAME "ClamAV"
  1005. | #define PACKAGE_TARNAME "clamav"
  1006. | #define PACKAGE_VERSION "0.102.0"
  1007. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1008. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1009. | #define PACKAGE_URL "https://www.clamav.net/"
  1010. | #define PACKAGE PACKAGE_NAME
  1011. | #define STDC_HEADERS 1
  1012. | #define HAVE_SYS_TYPES_H 1
  1013. | #define HAVE_SYS_STAT_H 1
  1014. | #define HAVE_STDLIB_H 1
  1015. | #define HAVE_STRING_H 1
  1016. | #define HAVE_MEMORY_H 1
  1017. | #define HAVE_STRINGS_H 1
  1018. | #define HAVE_INTTYPES_H 1
  1019. | #define HAVE_STDINT_H 1
  1020. | #define HAVE_UNISTD_H 1
  1021. | #define __EXTENSIONS__ 1
  1022. | #define _ALL_SOURCE 1
  1023. | #define _GNU_SOURCE 1
  1024. | #define _POSIX_PTHREAD_SEMANTICS 1
  1025. | #define _TANDEM_SOURCE 1
  1026. | #define LIBCLAMAV_FULLVER "9.0.4"
  1027. | #define LIBCLAMAV_MAJORVER 9
  1028. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1029. | #define LIBFRESHCLAM_MAJORVER 2
  1030. | #define VERSION "0.102.0"
  1031. | #define VERSION_SUFFIX ""
  1032. | #define HAVE_DLFCN_H 1
  1033. | #define LT_OBJDIR ".libs/"
  1034. | #define LT_MODULE_EXT ".so"
  1035. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1036. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1037. | #define HAVE_LIBDL 1
  1038. | #define HAVE_DLERROR 1
  1039. | #define HAVE_LIBDLLOADER 1
  1040. | #define HAVE_ARGZ_H 1
  1041. | /* end confdefs.h. */
  1042. | #if defined(HAVE_ARGZ_H)
  1043. | # include <argz.h>
  1044. | #endif
  1045. |
  1046. | int
  1047. | main ()
  1048. | {
  1049. | if (sizeof ((error_t)))
  1050. | return 0;
  1051. | ;
  1052. | return 0;
  1053. | }
  1054. configure:17747: result: yes
  1055. configure:17773: checking for argz_add
  1056. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1057. configure:17773: $? = 0
  1058. configure:17773: result: yes
  1059. configure:17773: checking for argz_append
  1060. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1061. configure:17773: $? = 0
  1062. configure:17773: result: yes
  1063. configure:17773: checking for argz_count
  1064. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1065. configure:17773: $? = 0
  1066. configure:17773: result: yes
  1067. configure:17773: checking for argz_create_sep
  1068. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1069. configure:17773: $? = 0
  1070. configure:17773: result: yes
  1071. configure:17773: checking for argz_insert
  1072. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1073. configure:17773: $? = 0
  1074. configure:17773: result: yes
  1075. configure:17773: checking for argz_next
  1076. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1077. configure:17773: $? = 0
  1078. configure:17773: result: yes
  1079. configure:17773: checking for argz_stringify
  1080. configure:17773: gcc -o conftest -g -O2 conftest.c >&5
  1081. configure:17773: $? = 0
  1082. configure:17773: result: yes
  1083. configure:17789: checking if argz actually works
  1084. configure:17820: result: yes
  1085. configure:17837: checking whether libtool supports -dlopen/-dlpreopen
  1086. configure:17849: result: yes
  1087. configure:17878: checking for ltdl.h
  1088. configure:17878: gcc -c -g -O2 conftest.c >&5
  1089. configure:17878: $? = 0
  1090. configure:17878: result: yes
  1091. configure:17882: checking whether lt_dlinterface_register is declared
  1092. configure:17882: gcc -c -g -O2 conftest.c >&5
  1093. configure:17882: $? = 0
  1094. configure:17882: result: yes
  1095. configure:17886: checking for lt_dladvise_preload in -lltdl
  1096. configure:17911: gcc -o conftest -g -O2 conftest.c -lltdl >&5
  1097. configure:17911: $? = 0
  1098. configure:17920: result: yes
  1099. configure:18015: checking where to find libltdl headers
  1100. configure:18017: result:
  1101. configure:18019: checking where to find libltdl library
  1102. configure:18021: result: -lltdl
  1103. configure:18069: checking for unistd.h
  1104. configure:18069: result: yes
  1105. configure:18069: checking for dl.h
  1106. configure:18069: gcc -c -g -O2 conftest.c >&5
  1107. conftest.c:86:10: fatal error: dl.h: No such file or directory
  1108. #include <dl.h>
  1109. ^~~~~~
  1110. compilation terminated.
  1111. configure:18069: $? = 1
  1112. configure: failed program was:
  1113. | /* confdefs.h */
  1114. | #define PACKAGE_NAME "ClamAV"
  1115. | #define PACKAGE_TARNAME "clamav"
  1116. | #define PACKAGE_VERSION "0.102.0"
  1117. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1118. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1119. | #define PACKAGE_URL "https://www.clamav.net/"
  1120. | #define PACKAGE PACKAGE_NAME
  1121. | #define STDC_HEADERS 1
  1122. | #define HAVE_SYS_TYPES_H 1
  1123. | #define HAVE_SYS_STAT_H 1
  1124. | #define HAVE_STDLIB_H 1
  1125. | #define HAVE_STRING_H 1
  1126. | #define HAVE_MEMORY_H 1
  1127. | #define HAVE_STRINGS_H 1
  1128. | #define HAVE_INTTYPES_H 1
  1129. | #define HAVE_STDINT_H 1
  1130. | #define HAVE_UNISTD_H 1
  1131. | #define __EXTENSIONS__ 1
  1132. | #define _ALL_SOURCE 1
  1133. | #define _GNU_SOURCE 1
  1134. | #define _POSIX_PTHREAD_SEMANTICS 1
  1135. | #define _TANDEM_SOURCE 1
  1136. | #define LIBCLAMAV_FULLVER "9.0.4"
  1137. | #define LIBCLAMAV_MAJORVER 9
  1138. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1139. | #define LIBFRESHCLAM_MAJORVER 2
  1140. | #define VERSION "0.102.0"
  1141. | #define VERSION_SUFFIX ""
  1142. | #define HAVE_DLFCN_H 1
  1143. | #define LT_OBJDIR ".libs/"
  1144. | #define LT_MODULE_EXT ".so"
  1145. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1146. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1147. | #define HAVE_LIBDL 1
  1148. | #define HAVE_DLERROR 1
  1149. | #define HAVE_LIBDLLOADER 1
  1150. | #define HAVE_ARGZ_H 1
  1151. | #define HAVE_ERROR_T 1
  1152. | #define HAVE_ARGZ_ADD 1
  1153. | #define HAVE_ARGZ_APPEND 1
  1154. | #define HAVE_ARGZ_COUNT 1
  1155. | #define HAVE_ARGZ_CREATE_SEP 1
  1156. | #define HAVE_ARGZ_INSERT 1
  1157. | #define HAVE_ARGZ_NEXT 1
  1158. | #define HAVE_ARGZ_STRINGIFY 1
  1159. | #define HAVE_WORKING_ARGZ 1
  1160. | #define HAVE_PRELOADED_SYMBOLS 1
  1161. | #define HAVE_LTDL 1
  1162. | #define HAVE_UNISTD_H 1
  1163. | /* end confdefs.h. */
  1164. | #include <stdio.h>
  1165. | #ifdef HAVE_SYS_TYPES_H
  1166. | # include <sys/types.h>
  1167. | #endif
  1168. | #ifdef HAVE_SYS_STAT_H
  1169. | # include <sys/stat.h>
  1170. | #endif
  1171. | #ifdef STDC_HEADERS
  1172. | # include <stdlib.h>
  1173. | # include <stddef.h>
  1174. | #else
  1175. | # ifdef HAVE_STDLIB_H
  1176. | # include <stdlib.h>
  1177. | # endif
  1178. | #endif
  1179. | #ifdef HAVE_STRING_H
  1180. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1181. | # include <memory.h>
  1182. | # endif
  1183. | # include <string.h>
  1184. | #endif
  1185. | #ifdef HAVE_STRINGS_H
  1186. | # include <strings.h>
  1187. | #endif
  1188. | #ifdef HAVE_INTTYPES_H
  1189. | # include <inttypes.h>
  1190. | #endif
  1191. | #ifdef HAVE_STDINT_H
  1192. | # include <stdint.h>
  1193. | #endif
  1194. | #ifdef HAVE_UNISTD_H
  1195. | # include <unistd.h>
  1196. | #endif
  1197. |
  1198. | #include <dl.h>
  1199. configure:18069: result: no
  1200. configure:18069: checking for sys/dl.h
  1201. configure:18069: gcc -c -g -O2 conftest.c >&5
  1202. conftest.c:86:10: fatal error: sys/dl.h: No such file or directory
  1203. #include <sys/dl.h>
  1204. ^~~~~~~~~~
  1205. compilation terminated.
  1206. configure:18069: $? = 1
  1207. configure: failed program was:
  1208. | /* confdefs.h */
  1209. | #define PACKAGE_NAME "ClamAV"
  1210. | #define PACKAGE_TARNAME "clamav"
  1211. | #define PACKAGE_VERSION "0.102.0"
  1212. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1213. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1214. | #define PACKAGE_URL "https://www.clamav.net/"
  1215. | #define PACKAGE PACKAGE_NAME
  1216. | #define STDC_HEADERS 1
  1217. | #define HAVE_SYS_TYPES_H 1
  1218. | #define HAVE_SYS_STAT_H 1
  1219. | #define HAVE_STDLIB_H 1
  1220. | #define HAVE_STRING_H 1
  1221. | #define HAVE_MEMORY_H 1
  1222. | #define HAVE_STRINGS_H 1
  1223. | #define HAVE_INTTYPES_H 1
  1224. | #define HAVE_STDINT_H 1
  1225. | #define HAVE_UNISTD_H 1
  1226. | #define __EXTENSIONS__ 1
  1227. | #define _ALL_SOURCE 1
  1228. | #define _GNU_SOURCE 1
  1229. | #define _POSIX_PTHREAD_SEMANTICS 1
  1230. | #define _TANDEM_SOURCE 1
  1231. | #define LIBCLAMAV_FULLVER "9.0.4"
  1232. | #define LIBCLAMAV_MAJORVER 9
  1233. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1234. | #define LIBFRESHCLAM_MAJORVER 2
  1235. | #define VERSION "0.102.0"
  1236. | #define VERSION_SUFFIX ""
  1237. | #define HAVE_DLFCN_H 1
  1238. | #define LT_OBJDIR ".libs/"
  1239. | #define LT_MODULE_EXT ".so"
  1240. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1241. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1242. | #define HAVE_LIBDL 1
  1243. | #define HAVE_DLERROR 1
  1244. | #define HAVE_LIBDLLOADER 1
  1245. | #define HAVE_ARGZ_H 1
  1246. | #define HAVE_ERROR_T 1
  1247. | #define HAVE_ARGZ_ADD 1
  1248. | #define HAVE_ARGZ_APPEND 1
  1249. | #define HAVE_ARGZ_COUNT 1
  1250. | #define HAVE_ARGZ_CREATE_SEP 1
  1251. | #define HAVE_ARGZ_INSERT 1
  1252. | #define HAVE_ARGZ_NEXT 1
  1253. | #define HAVE_ARGZ_STRINGIFY 1
  1254. | #define HAVE_WORKING_ARGZ 1
  1255. | #define HAVE_PRELOADED_SYMBOLS 1
  1256. | #define HAVE_LTDL 1
  1257. | #define HAVE_UNISTD_H 1
  1258. | /* end confdefs.h. */
  1259. | #include <stdio.h>
  1260. | #ifdef HAVE_SYS_TYPES_H
  1261. | # include <sys/types.h>
  1262. | #endif
  1263. | #ifdef HAVE_SYS_STAT_H
  1264. | # include <sys/stat.h>
  1265. | #endif
  1266. | #ifdef STDC_HEADERS
  1267. | # include <stdlib.h>
  1268. | # include <stddef.h>
  1269. | #else
  1270. | # ifdef HAVE_STDLIB_H
  1271. | # include <stdlib.h>
  1272. | # endif
  1273. | #endif
  1274. | #ifdef HAVE_STRING_H
  1275. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1276. | # include <memory.h>
  1277. | # endif
  1278. | # include <string.h>
  1279. | #endif
  1280. | #ifdef HAVE_STRINGS_H
  1281. | # include <strings.h>
  1282. | #endif
  1283. | #ifdef HAVE_INTTYPES_H
  1284. | # include <inttypes.h>
  1285. | #endif
  1286. | #ifdef HAVE_STDINT_H
  1287. | # include <stdint.h>
  1288. | #endif
  1289. | #ifdef HAVE_UNISTD_H
  1290. | # include <unistd.h>
  1291. | #endif
  1292. |
  1293. | #include <sys/dl.h>
  1294. configure:18069: result: no
  1295. configure:18069: checking for dld.h
  1296. configure:18069: gcc -c -g -O2 conftest.c >&5
  1297. conftest.c:86:10: fatal error: dld.h: No such file or directory
  1298. #include <dld.h>
  1299. ^~~~~~~
  1300. compilation terminated.
  1301. configure:18069: $? = 1
  1302. configure: failed program was:
  1303. | /* confdefs.h */
  1304. | #define PACKAGE_NAME "ClamAV"
  1305. | #define PACKAGE_TARNAME "clamav"
  1306. | #define PACKAGE_VERSION "0.102.0"
  1307. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1308. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1309. | #define PACKAGE_URL "https://www.clamav.net/"
  1310. | #define PACKAGE PACKAGE_NAME
  1311. | #define STDC_HEADERS 1
  1312. | #define HAVE_SYS_TYPES_H 1
  1313. | #define HAVE_SYS_STAT_H 1
  1314. | #define HAVE_STDLIB_H 1
  1315. | #define HAVE_STRING_H 1
  1316. | #define HAVE_MEMORY_H 1
  1317. | #define HAVE_STRINGS_H 1
  1318. | #define HAVE_INTTYPES_H 1
  1319. | #define HAVE_STDINT_H 1
  1320. | #define HAVE_UNISTD_H 1
  1321. | #define __EXTENSIONS__ 1
  1322. | #define _ALL_SOURCE 1
  1323. | #define _GNU_SOURCE 1
  1324. | #define _POSIX_PTHREAD_SEMANTICS 1
  1325. | #define _TANDEM_SOURCE 1
  1326. | #define LIBCLAMAV_FULLVER "9.0.4"
  1327. | #define LIBCLAMAV_MAJORVER 9
  1328. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1329. | #define LIBFRESHCLAM_MAJORVER 2
  1330. | #define VERSION "0.102.0"
  1331. | #define VERSION_SUFFIX ""
  1332. | #define HAVE_DLFCN_H 1
  1333. | #define LT_OBJDIR ".libs/"
  1334. | #define LT_MODULE_EXT ".so"
  1335. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1336. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1337. | #define HAVE_LIBDL 1
  1338. | #define HAVE_DLERROR 1
  1339. | #define HAVE_LIBDLLOADER 1
  1340. | #define HAVE_ARGZ_H 1
  1341. | #define HAVE_ERROR_T 1
  1342. | #define HAVE_ARGZ_ADD 1
  1343. | #define HAVE_ARGZ_APPEND 1
  1344. | #define HAVE_ARGZ_COUNT 1
  1345. | #define HAVE_ARGZ_CREATE_SEP 1
  1346. | #define HAVE_ARGZ_INSERT 1
  1347. | #define HAVE_ARGZ_NEXT 1
  1348. | #define HAVE_ARGZ_STRINGIFY 1
  1349. | #define HAVE_WORKING_ARGZ 1
  1350. | #define HAVE_PRELOADED_SYMBOLS 1
  1351. | #define HAVE_LTDL 1
  1352. | #define HAVE_UNISTD_H 1
  1353. | /* end confdefs.h. */
  1354. | #include <stdio.h>
  1355. | #ifdef HAVE_SYS_TYPES_H
  1356. | # include <sys/types.h>
  1357. | #endif
  1358. | #ifdef HAVE_SYS_STAT_H
  1359. | # include <sys/stat.h>
  1360. | #endif
  1361. | #ifdef STDC_HEADERS
  1362. | # include <stdlib.h>
  1363. | # include <stddef.h>
  1364. | #else
  1365. | # ifdef HAVE_STDLIB_H
  1366. | # include <stdlib.h>
  1367. | # endif
  1368. | #endif
  1369. | #ifdef HAVE_STRING_H
  1370. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1371. | # include <memory.h>
  1372. | # endif
  1373. | # include <string.h>
  1374. | #endif
  1375. | #ifdef HAVE_STRINGS_H
  1376. | # include <strings.h>
  1377. | #endif
  1378. | #ifdef HAVE_INTTYPES_H
  1379. | # include <inttypes.h>
  1380. | #endif
  1381. | #ifdef HAVE_STDINT_H
  1382. | # include <stdint.h>
  1383. | #endif
  1384. | #ifdef HAVE_UNISTD_H
  1385. | # include <unistd.h>
  1386. | #endif
  1387. |
  1388. | #include <dld.h>
  1389. configure:18069: result: no
  1390. configure:18069: checking for mach-o/dyld.h
  1391. configure:18069: gcc -c -g -O2 conftest.c >&5
  1392. conftest.c:86:10: fatal error: mach-o/dyld.h: No such file or directory
  1393. #include <mach-o/dyld.h>
  1394. ^~~~~~~~~~~~~~~
  1395. compilation terminated.
  1396. configure:18069: $? = 1
  1397. configure: failed program was:
  1398. | /* confdefs.h */
  1399. | #define PACKAGE_NAME "ClamAV"
  1400. | #define PACKAGE_TARNAME "clamav"
  1401. | #define PACKAGE_VERSION "0.102.0"
  1402. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1403. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1404. | #define PACKAGE_URL "https://www.clamav.net/"
  1405. | #define PACKAGE PACKAGE_NAME
  1406. | #define STDC_HEADERS 1
  1407. | #define HAVE_SYS_TYPES_H 1
  1408. | #define HAVE_SYS_STAT_H 1
  1409. | #define HAVE_STDLIB_H 1
  1410. | #define HAVE_STRING_H 1
  1411. | #define HAVE_MEMORY_H 1
  1412. | #define HAVE_STRINGS_H 1
  1413. | #define HAVE_INTTYPES_H 1
  1414. | #define HAVE_STDINT_H 1
  1415. | #define HAVE_UNISTD_H 1
  1416. | #define __EXTENSIONS__ 1
  1417. | #define _ALL_SOURCE 1
  1418. | #define _GNU_SOURCE 1
  1419. | #define _POSIX_PTHREAD_SEMANTICS 1
  1420. | #define _TANDEM_SOURCE 1
  1421. | #define LIBCLAMAV_FULLVER "9.0.4"
  1422. | #define LIBCLAMAV_MAJORVER 9
  1423. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1424. | #define LIBFRESHCLAM_MAJORVER 2
  1425. | #define VERSION "0.102.0"
  1426. | #define VERSION_SUFFIX ""
  1427. | #define HAVE_DLFCN_H 1
  1428. | #define LT_OBJDIR ".libs/"
  1429. | #define LT_MODULE_EXT ".so"
  1430. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1431. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1432. | #define HAVE_LIBDL 1
  1433. | #define HAVE_DLERROR 1
  1434. | #define HAVE_LIBDLLOADER 1
  1435. | #define HAVE_ARGZ_H 1
  1436. | #define HAVE_ERROR_T 1
  1437. | #define HAVE_ARGZ_ADD 1
  1438. | #define HAVE_ARGZ_APPEND 1
  1439. | #define HAVE_ARGZ_COUNT 1
  1440. | #define HAVE_ARGZ_CREATE_SEP 1
  1441. | #define HAVE_ARGZ_INSERT 1
  1442. | #define HAVE_ARGZ_NEXT 1
  1443. | #define HAVE_ARGZ_STRINGIFY 1
  1444. | #define HAVE_WORKING_ARGZ 1
  1445. | #define HAVE_PRELOADED_SYMBOLS 1
  1446. | #define HAVE_LTDL 1
  1447. | #define HAVE_UNISTD_H 1
  1448. | /* end confdefs.h. */
  1449. | #include <stdio.h>
  1450. | #ifdef HAVE_SYS_TYPES_H
  1451. | # include <sys/types.h>
  1452. | #endif
  1453. | #ifdef HAVE_SYS_STAT_H
  1454. | # include <sys/stat.h>
  1455. | #endif
  1456. | #ifdef STDC_HEADERS
  1457. | # include <stdlib.h>
  1458. | # include <stddef.h>
  1459. | #else
  1460. | # ifdef HAVE_STDLIB_H
  1461. | # include <stdlib.h>
  1462. | # endif
  1463. | #endif
  1464. | #ifdef HAVE_STRING_H
  1465. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1466. | # include <memory.h>
  1467. | # endif
  1468. | # include <string.h>
  1469. | #endif
  1470. | #ifdef HAVE_STRINGS_H
  1471. | # include <strings.h>
  1472. | #endif
  1473. | #ifdef HAVE_INTTYPES_H
  1474. | # include <inttypes.h>
  1475. | #endif
  1476. | #ifdef HAVE_STDINT_H
  1477. | # include <stdint.h>
  1478. | #endif
  1479. | #ifdef HAVE_UNISTD_H
  1480. | # include <unistd.h>
  1481. | #endif
  1482. |
  1483. | #include <mach-o/dyld.h>
  1484. configure:18069: result: no
  1485. configure:18069: checking for dirent.h
  1486. configure:18069: gcc -c -g -O2 conftest.c >&5
  1487. configure:18069: $? = 0
  1488. configure:18069: result: yes
  1489. configure:18084: checking for closedir
  1490. configure:18084: gcc -o conftest -g -O2 conftest.c >&5
  1491. configure:18084: $? = 0
  1492. configure:18084: result: yes
  1493. configure:18084: checking for opendir
  1494. configure:18084: gcc -o conftest -g -O2 conftest.c >&5
  1495. configure:18084: $? = 0
  1496. configure:18084: result: yes
  1497. configure:18084: checking for readdir
  1498. configure:18084: gcc -o conftest -g -O2 conftest.c >&5
  1499. configure:18084: $? = 0
  1500. configure:18084: result: yes
  1501. configure:18101: checking for strlcat
  1502. configure:18101: gcc -o conftest -g -O2 conftest.c >&5
  1503. /tmp/ccYHW7UP.o: In function `main':
  1504. /tmp/conftest.c:90: undefined reference to `strlcat'
  1505. collect2: error: ld returned 1 exit status
  1506. configure:18101: $? = 1
  1507. configure: failed program was:
  1508. | /* confdefs.h */
  1509. | #define PACKAGE_NAME "ClamAV"
  1510. | #define PACKAGE_TARNAME "clamav"
  1511. | #define PACKAGE_VERSION "0.102.0"
  1512. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1513. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1514. | #define PACKAGE_URL "https://www.clamav.net/"
  1515. | #define PACKAGE PACKAGE_NAME
  1516. | #define STDC_HEADERS 1
  1517. | #define HAVE_SYS_TYPES_H 1
  1518. | #define HAVE_SYS_STAT_H 1
  1519. | #define HAVE_STDLIB_H 1
  1520. | #define HAVE_STRING_H 1
  1521. | #define HAVE_MEMORY_H 1
  1522. | #define HAVE_STRINGS_H 1
  1523. | #define HAVE_INTTYPES_H 1
  1524. | #define HAVE_STDINT_H 1
  1525. | #define HAVE_UNISTD_H 1
  1526. | #define __EXTENSIONS__ 1
  1527. | #define _ALL_SOURCE 1
  1528. | #define _GNU_SOURCE 1
  1529. | #define _POSIX_PTHREAD_SEMANTICS 1
  1530. | #define _TANDEM_SOURCE 1
  1531. | #define LIBCLAMAV_FULLVER "9.0.4"
  1532. | #define LIBCLAMAV_MAJORVER 9
  1533. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1534. | #define LIBFRESHCLAM_MAJORVER 2
  1535. | #define VERSION "0.102.0"
  1536. | #define VERSION_SUFFIX ""
  1537. | #define HAVE_DLFCN_H 1
  1538. | #define LT_OBJDIR ".libs/"
  1539. | #define LT_MODULE_EXT ".so"
  1540. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1541. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1542. | #define HAVE_LIBDL 1
  1543. | #define HAVE_DLERROR 1
  1544. | #define HAVE_LIBDLLOADER 1
  1545. | #define HAVE_ARGZ_H 1
  1546. | #define HAVE_ERROR_T 1
  1547. | #define HAVE_ARGZ_ADD 1
  1548. | #define HAVE_ARGZ_APPEND 1
  1549. | #define HAVE_ARGZ_COUNT 1
  1550. | #define HAVE_ARGZ_CREATE_SEP 1
  1551. | #define HAVE_ARGZ_INSERT 1
  1552. | #define HAVE_ARGZ_NEXT 1
  1553. | #define HAVE_ARGZ_STRINGIFY 1
  1554. | #define HAVE_WORKING_ARGZ 1
  1555. | #define HAVE_PRELOADED_SYMBOLS 1
  1556. | #define HAVE_LTDL 1
  1557. | #define HAVE_UNISTD_H 1
  1558. | #define HAVE_DIRENT_H 1
  1559. | #define HAVE_CLOSEDIR 1
  1560. | #define HAVE_OPENDIR 1
  1561. | #define HAVE_READDIR 1
  1562. | /* end confdefs.h. */
  1563. | /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
  1564. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1565. | #define strlcat innocuous_strlcat
  1566. |
  1567. | /* System header to define __stub macros and hopefully few prototypes,
  1568. | which can conflict with char strlcat (); below.
  1569. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1570. | <limits.h> exists even on freestanding compilers. */
  1571. |
  1572. | #ifdef __STDC__
  1573. | # include <limits.h>
  1574. | #else
  1575. | # include <assert.h>
  1576. | #endif
  1577. |
  1578. | #undef strlcat
  1579. |
  1580. | /* Override any GCC internal prototype to avoid an error.
  1581. | Use char because int might match the return type of a GCC
  1582. | builtin and then its argument prototype would still apply. */
  1583. | #ifdef __cplusplus
  1584. | extern "C"
  1585. | #endif
  1586. | char strlcat ();
  1587. | /* The GNU C library defines this for functions which it implements
  1588. | to always fail with ENOSYS. Some functions are actually named
  1589. | something starting with __ and the normal name is an alias. */
  1590. | #if defined __stub_strlcat || defined __stub___strlcat
  1591. | choke me
  1592. | #endif
  1593. |
  1594. | int
  1595. | main ()
  1596. | {
  1597. | return strlcat ();
  1598. | ;
  1599. | return 0;
  1600. | }
  1601. configure:18101: result: no
  1602. configure:18101: checking for strlcpy
  1603. configure:18101: gcc -o conftest -g -O2 conftest.c >&5
  1604. /tmp/ccrWkOnR.o: In function `main':
  1605. /tmp/conftest.c:90: undefined reference to `strlcpy'
  1606. collect2: error: ld returned 1 exit status
  1607. configure:18101: $? = 1
  1608. configure: failed program was:
  1609. | /* confdefs.h */
  1610. | #define PACKAGE_NAME "ClamAV"
  1611. | #define PACKAGE_TARNAME "clamav"
  1612. | #define PACKAGE_VERSION "0.102.0"
  1613. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1614. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1615. | #define PACKAGE_URL "https://www.clamav.net/"
  1616. | #define PACKAGE PACKAGE_NAME
  1617. | #define STDC_HEADERS 1
  1618. | #define HAVE_SYS_TYPES_H 1
  1619. | #define HAVE_SYS_STAT_H 1
  1620. | #define HAVE_STDLIB_H 1
  1621. | #define HAVE_STRING_H 1
  1622. | #define HAVE_MEMORY_H 1
  1623. | #define HAVE_STRINGS_H 1
  1624. | #define HAVE_INTTYPES_H 1
  1625. | #define HAVE_STDINT_H 1
  1626. | #define HAVE_UNISTD_H 1
  1627. | #define __EXTENSIONS__ 1
  1628. | #define _ALL_SOURCE 1
  1629. | #define _GNU_SOURCE 1
  1630. | #define _POSIX_PTHREAD_SEMANTICS 1
  1631. | #define _TANDEM_SOURCE 1
  1632. | #define LIBCLAMAV_FULLVER "9.0.4"
  1633. | #define LIBCLAMAV_MAJORVER 9
  1634. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1635. | #define LIBFRESHCLAM_MAJORVER 2
  1636. | #define VERSION "0.102.0"
  1637. | #define VERSION_SUFFIX ""
  1638. | #define HAVE_DLFCN_H 1
  1639. | #define LT_OBJDIR ".libs/"
  1640. | #define LT_MODULE_EXT ".so"
  1641. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1642. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1643. | #define HAVE_LIBDL 1
  1644. | #define HAVE_DLERROR 1
  1645. | #define HAVE_LIBDLLOADER 1
  1646. | #define HAVE_ARGZ_H 1
  1647. | #define HAVE_ERROR_T 1
  1648. | #define HAVE_ARGZ_ADD 1
  1649. | #define HAVE_ARGZ_APPEND 1
  1650. | #define HAVE_ARGZ_COUNT 1
  1651. | #define HAVE_ARGZ_CREATE_SEP 1
  1652. | #define HAVE_ARGZ_INSERT 1
  1653. | #define HAVE_ARGZ_NEXT 1
  1654. | #define HAVE_ARGZ_STRINGIFY 1
  1655. | #define HAVE_WORKING_ARGZ 1
  1656. | #define HAVE_PRELOADED_SYMBOLS 1
  1657. | #define HAVE_LTDL 1
  1658. | #define HAVE_UNISTD_H 1
  1659. | #define HAVE_DIRENT_H 1
  1660. | #define HAVE_CLOSEDIR 1
  1661. | #define HAVE_OPENDIR 1
  1662. | #define HAVE_READDIR 1
  1663. | /* end confdefs.h. */
  1664. | /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
  1665. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1666. | #define strlcpy innocuous_strlcpy
  1667. |
  1668. | /* System header to define __stub macros and hopefully few prototypes,
  1669. | which can conflict with char strlcpy (); below.
  1670. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1671. | <limits.h> exists even on freestanding compilers. */
  1672. |
  1673. | #ifdef __STDC__
  1674. | # include <limits.h>
  1675. | #else
  1676. | # include <assert.h>
  1677. | #endif
  1678. |
  1679. | #undef strlcpy
  1680. |
  1681. | /* Override any GCC internal prototype to avoid an error.
  1682. | Use char because int might match the return type of a GCC
  1683. | builtin and then its argument prototype would still apply. */
  1684. | #ifdef __cplusplus
  1685. | extern "C"
  1686. | #endif
  1687. | char strlcpy ();
  1688. | /* The GNU C library defines this for functions which it implements
  1689. | to always fail with ENOSYS. Some functions are actually named
  1690. | something starting with __ and the normal name is an alias. */
  1691. | #if defined __stub_strlcpy || defined __stub___strlcpy
  1692. | choke me
  1693. | #endif
  1694. |
  1695. | int
  1696. | main ()
  1697. | {
  1698. | return strlcpy ();
  1699. | ;
  1700. | return 0;
  1701. | }
  1702. configure:18101: result: no
  1703. configure:18197: checking for pkg-config
  1704. configure:18215: found /usr/bin/pkg-config
  1705. configure:18227: result: /usr/bin/pkg-config
  1706. configure:18252: checking pkg-config is at least version 0.16
  1707. configure:18255: result: yes
  1708. configure:18341: checking for gcc
  1709. configure:18368: result: gcc
  1710. configure:18597: checking for C compiler version
  1711. configure:18606: gcc --version >&5
  1712. gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6)
  1713. Copyright (C) 2017 Free Software Foundation, Inc.
  1714. This is free software; see the source for copying conditions. There is NO
  1715. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1716.  
  1717. configure:18617: $? = 0
  1718. configure:18606: gcc -v >&5
  1719. Using built-in specs.
  1720. COLLECT_GCC=gcc
  1721. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
  1722. Target: x86_64-redhat-linux
  1723. Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-libsanitizer --enable-gnu-indirect-function --enable-libcilkrts --enable-libatomic --enable-libquadmath --enable-libitm --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
  1724. Thread model: posix
  1725. gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)
  1726. configure:18617: $? = 0
  1727. configure:18606: gcc -V >&5
  1728. gcc: error: unrecognized command line option '-V'
  1729. gcc: fatal error: no input files
  1730. compilation terminated.
  1731. configure:18617: $? = 1
  1732. configure:18606: gcc -qversion >&5
  1733. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  1734. gcc: fatal error: no input files
  1735. compilation terminated.
  1736. configure:18617: $? = 1
  1737. configure:18621: checking whether we are using the GNU C compiler
  1738. configure:18649: result: yes
  1739. configure:18658: checking whether gcc accepts -g
  1740. configure:18719: result: yes
  1741. configure:18736: checking for gcc option to accept ISO C89
  1742. configure:18812: result: none needed
  1743. configure:18837: checking whether gcc understands -c and -o together
  1744. configure:18874: result: yes
  1745. configure:18893: checking dependency style of gcc
  1746. configure:19004: result: gcc3
  1747. configure:19023: checking for flex
  1748. configure:19039: found /usr/bin/flex
  1749. configure:19050: result: flex
  1750. configure:19088: flex conftest.l
  1751. configure:19092: $? = 0
  1752. configure:19094: checking lex output file root
  1753. configure:19108: result: lex.yy
  1754. configure:19113: checking lex library
  1755. configure:19127: gcc -o conftest -g -O2 conftest.c >&5
  1756. /tmp/cckNSb10.o: In function `input':
  1757. /tmp/lex.yy.c:1170: undefined reference to `yywrap'
  1758. /tmp/cckNSb10.o: In function `yylex':
  1759. /tmp/lex.yy.c:869: undefined reference to `yywrap'
  1760. /tmp/cckNSb10.o: In function `main':
  1761. /tmp/conftest.l:18: undefined reference to `yywrap'
  1762. collect2: error: ld returned 1 exit status
  1763. configure:19127: $? = 1
  1764. configure: failed program was:
  1765. | /* confdefs.h */
  1766. | #define PACKAGE_NAME "ClamAV"
  1767. | #define PACKAGE_TARNAME "clamav"
  1768. | #define PACKAGE_VERSION "0.102.0"
  1769. | #define PACKAGE_STRING "ClamAV 0.102.0"
  1770. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  1771. | #define PACKAGE_URL "https://www.clamav.net/"
  1772. | #define PACKAGE PACKAGE_NAME
  1773. | #define STDC_HEADERS 1
  1774. | #define HAVE_SYS_TYPES_H 1
  1775. | #define HAVE_SYS_STAT_H 1
  1776. | #define HAVE_STDLIB_H 1
  1777. | #define HAVE_STRING_H 1
  1778. | #define HAVE_MEMORY_H 1
  1779. | #define HAVE_STRINGS_H 1
  1780. | #define HAVE_INTTYPES_H 1
  1781. | #define HAVE_STDINT_H 1
  1782. | #define HAVE_UNISTD_H 1
  1783. | #define __EXTENSIONS__ 1
  1784. | #define _ALL_SOURCE 1
  1785. | #define _GNU_SOURCE 1
  1786. | #define _POSIX_PTHREAD_SEMANTICS 1
  1787. | #define _TANDEM_SOURCE 1
  1788. | #define LIBCLAMAV_FULLVER "9.0.4"
  1789. | #define LIBCLAMAV_MAJORVER 9
  1790. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  1791. | #define LIBFRESHCLAM_MAJORVER 2
  1792. | #define VERSION "0.102.0"
  1793. | #define VERSION_SUFFIX ""
  1794. | #define HAVE_DLFCN_H 1
  1795. | #define LT_OBJDIR ".libs/"
  1796. | #define LT_MODULE_EXT ".so"
  1797. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  1798. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  1799. | #define HAVE_LIBDL 1
  1800. | #define HAVE_DLERROR 1
  1801. | #define HAVE_LIBDLLOADER 1
  1802. | #define HAVE_ARGZ_H 1
  1803. | #define HAVE_ERROR_T 1
  1804. | #define HAVE_ARGZ_ADD 1
  1805. | #define HAVE_ARGZ_APPEND 1
  1806. | #define HAVE_ARGZ_COUNT 1
  1807. | #define HAVE_ARGZ_CREATE_SEP 1
  1808. | #define HAVE_ARGZ_INSERT 1
  1809. | #define HAVE_ARGZ_NEXT 1
  1810. | #define HAVE_ARGZ_STRINGIFY 1
  1811. | #define HAVE_WORKING_ARGZ 1
  1812. | #define HAVE_PRELOADED_SYMBOLS 1
  1813. | #define HAVE_LTDL 1
  1814. | #define HAVE_UNISTD_H 1
  1815. | #define HAVE_DIRENT_H 1
  1816. | #define HAVE_CLOSEDIR 1
  1817. | #define HAVE_OPENDIR 1
  1818. | #define HAVE_READDIR 1
  1819. | #define LT_LIBEXT "a"
  1820. | #define LT_LIBPREFIX "lib"
  1821. | /* end confdefs.h. */
  1822. |
  1823. | #line 3 "lex.yy.c"
  1824. |
  1825. | #define YY_INT_ALIGNED short int
  1826. |
  1827. | /* A lexical scanner generated by flex */
  1828. |
  1829. | #define FLEX_SCANNER
  1830. | #define YY_FLEX_MAJOR_VERSION 2
  1831. | #define YY_FLEX_MINOR_VERSION 5
  1832. | #define YY_FLEX_SUBMINOR_VERSION 37
  1833. | #if YY_FLEX_SUBMINOR_VERSION > 0
  1834. | #define FLEX_BETA
  1835. | #endif
  1836. |
  1837. | /* First, we deal with platform-specific or compiler-specific issues. */
  1838. |
  1839. | /* begin standard C headers. */
  1840. | #include <stdio.h>
  1841. | #include <string.h>
  1842. | #include <errno.h>
  1843. | #include <stdlib.h>
  1844. |
  1845. | /* end standard C headers. */
  1846. |
  1847. | /* flex integer type definitions */
  1848. |
  1849. | #ifndef FLEXINT_H
  1850. | #define FLEXINT_H
  1851. |
  1852. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  1853. |
  1854. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1855. |
  1856. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  1857. | * if you want the limit (max/min) macros for int types.
  1858. | */
  1859. | #ifndef __STDC_LIMIT_MACROS
  1860. | #define __STDC_LIMIT_MACROS 1
  1861. | #endif
  1862. |
  1863. | #include <inttypes.h>
  1864. | typedef int8_t flex_int8_t;
  1865. | typedef uint8_t flex_uint8_t;
  1866. | typedef int16_t flex_int16_t;
  1867. | typedef uint16_t flex_uint16_t;
  1868. | typedef int32_t flex_int32_t;
  1869. | typedef uint32_t flex_uint32_t;
  1870. | #else
  1871. | typedef signed char flex_int8_t;
  1872. | typedef short int flex_int16_t;
  1873. | typedef int flex_int32_t;
  1874. | typedef unsigned char flex_uint8_t;
  1875. | typedef unsigned short int flex_uint16_t;
  1876. | typedef unsigned int flex_uint32_t;
  1877. |
  1878. | /* Limits of integral types. */
  1879. | #ifndef INT8_MIN
  1880. | #define INT8_MIN (-128)
  1881. | #endif
  1882. | #ifndef INT16_MIN
  1883. | #define INT16_MIN (-32767-1)
  1884. | #endif
  1885. | #ifndef INT32_MIN
  1886. | #define INT32_MIN (-2147483647-1)
  1887. | #endif
  1888. | #ifndef INT8_MAX
  1889. | #define INT8_MAX (127)
  1890. | #endif
  1891. | #ifndef INT16_MAX
  1892. | #define INT16_MAX (32767)
  1893. | #endif
  1894. | #ifndef INT32_MAX
  1895. | #define INT32_MAX (2147483647)
  1896. | #endif
  1897. | #ifndef UINT8_MAX
  1898. | #define UINT8_MAX (255U)
  1899. | #endif
  1900. | #ifndef UINT16_MAX
  1901. | #define UINT16_MAX (65535U)
  1902. | #endif
  1903. | #ifndef UINT32_MAX
  1904. | #define UINT32_MAX (4294967295U)
  1905. | #endif
  1906. |
  1907. | #endif /* ! C99 */
  1908. |
  1909. | #endif /* ! FLEXINT_H */
  1910. |
  1911. | #ifdef __cplusplus
  1912. |
  1913. | /* The "const" storage-class-modifier is valid. */
  1914. | #define YY_USE_CONST
  1915. |
  1916. | #else /* ! __cplusplus */
  1917. |
  1918. | /* C99 requires __STDC__ to be defined as 1. */
  1919. | #if defined (__STDC__)
  1920. |
  1921. | #define YY_USE_CONST
  1922. |
  1923. | #endif /* defined (__STDC__) */
  1924. | #endif /* ! __cplusplus */
  1925. |
  1926. | #ifdef YY_USE_CONST
  1927. | #define yyconst const
  1928. | #else
  1929. | #define yyconst
  1930. | #endif
  1931. |
  1932. | /* Returned upon end-of-file. */
  1933. | #define YY_NULL 0
  1934. |
  1935. | /* Promotes a possibly negative, possibly signed char to an unsigned
  1936. | * integer for use as an array index. If the signed char is negative,
  1937. | * we want to instead treat it as an 8-bit unsigned char, hence the
  1938. | * double cast.
  1939. | */
  1940. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  1941. |
  1942. | /* Enter a start condition. This macro really ought to take a parameter,
  1943. | * but we do it the disgusting crufty way forced on us by the ()-less
  1944. | * definition of BEGIN.
  1945. | */
  1946. | #define BEGIN (yy_start) = 1 + 2 *
  1947. |
  1948. | /* Translate the current start state into a value that can be later handed
  1949. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  1950. | * compatibility.
  1951. | */
  1952. | #define YY_START (((yy_start) - 1) / 2)
  1953. | #define YYSTATE YY_START
  1954. |
  1955. | /* Action number for EOF rule of a given start state. */
  1956. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  1957. |
  1958. | /* Special action meaning "start processing a new file". */
  1959. | #define YY_NEW_FILE yyrestart(yyin )
  1960. |
  1961. | #define YY_END_OF_BUFFER_CHAR 0
  1962. |
  1963. | /* Size of default input buffer. */
  1964. | #ifndef YY_BUF_SIZE
  1965. | #define YY_BUF_SIZE 16384
  1966. | #endif
  1967. |
  1968. | /* The state buf must be large enough to hold one state per character in the main buffer.
  1969. | */
  1970. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  1971. |
  1972. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  1973. | #define YY_TYPEDEF_YY_BUFFER_STATE
  1974. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  1975. | #endif
  1976. |
  1977. | #ifndef YY_TYPEDEF_YY_SIZE_T
  1978. | #define YY_TYPEDEF_YY_SIZE_T
  1979. | typedef size_t yy_size_t;
  1980. | #endif
  1981. |
  1982. | extern yy_size_t yyleng;
  1983. |
  1984. | extern FILE *yyin, *yyout;
  1985. |
  1986. | #define EOB_ACT_CONTINUE_SCAN 0
  1987. | #define EOB_ACT_END_OF_FILE 1
  1988. | #define EOB_ACT_LAST_MATCH 2
  1989. |
  1990. | #define YY_LESS_LINENO(n)
  1991. |
  1992. | /* Return all but the first "n" matched characters back to the input stream. */
  1993. | #define yyless(n) \
  1994. | do \
  1995. | { \
  1996. | /* Undo effects of setting up yytext. */ \
  1997. | int yyless_macro_arg = (n); \
  1998. | YY_LESS_LINENO(yyless_macro_arg);\
  1999. | *yy_cp = (yy_hold_char); \
  2000. | YY_RESTORE_YY_MORE_OFFSET \
  2001. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  2002. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  2003. | } \
  2004. | while ( 0 )
  2005. |
  2006. | #define unput(c) yyunput( c, (yytext_ptr) )
  2007. |
  2008. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  2009. | #define YY_STRUCT_YY_BUFFER_STATE
  2010. | struct yy_buffer_state
  2011. | {
  2012. | FILE *yy_input_file;
  2013. |
  2014. | char *yy_ch_buf; /* input buffer */
  2015. | char *yy_buf_pos; /* current position in input buffer */
  2016. |
  2017. | /* Size of input buffer in bytes, not including room for EOB
  2018. | * characters.
  2019. | */
  2020. | yy_size_t yy_buf_size;
  2021. |
  2022. | /* Number of characters read into yy_ch_buf, not including EOB
  2023. | * characters.
  2024. | */
  2025. | yy_size_t yy_n_chars;
  2026. |
  2027. | /* Whether we "own" the buffer - i.e., we know we created it,
  2028. | * and can realloc() it to grow it, and should free() it to
  2029. | * delete it.
  2030. | */
  2031. | int yy_is_our_buffer;
  2032. |
  2033. | /* Whether this is an "interactive" input source; if so, and
  2034. | * if we're using stdio for input, then we want to use getc()
  2035. | * instead of fread(), to make sure we stop fetching input after
  2036. | * each newline.
  2037. | */
  2038. | int yy_is_interactive;
  2039. |
  2040. | /* Whether we're considered to be at the beginning of a line.
  2041. | * If so, '^' rules will be active on the next match, otherwise
  2042. | * not.
  2043. | */
  2044. | int yy_at_bol;
  2045. |
  2046. | int yy_bs_lineno; /**< The line count. */
  2047. | int yy_bs_column; /**< The column count. */
  2048. |
  2049. | /* Whether to try to fill the input buffer when we reach the
  2050. | * end of it.
  2051. | */
  2052. | int yy_fill_buffer;
  2053. |
  2054. | int yy_buffer_status;
  2055. |
  2056. | #define YY_BUFFER_NEW 0
  2057. | #define YY_BUFFER_NORMAL 1
  2058. | /* When an EOF's been seen but there's still some text to process
  2059. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  2060. | * shouldn't try reading from the input source any more. We might
  2061. | * still have a bunch of tokens to match, though, because of
  2062. | * possible backing-up.
  2063. | *
  2064. | * When we actually see the EOF, we change the status to "new"
  2065. | * (via yyrestart()), so that the user can continue scanning by
  2066. | * just pointing yyin at a new input file.
  2067. | */
  2068. | #define YY_BUFFER_EOF_PENDING 2
  2069. |
  2070. | };
  2071. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  2072. |
  2073. | /* Stack of input buffers. */
  2074. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  2075. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  2076. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  2077. |
  2078. | /* We provide macros for accessing buffer states in case in the
  2079. | * future we want to put the buffer states in a more general
  2080. | * "scanner state".
  2081. | *
  2082. | * Returns the top of the stack, or NULL.
  2083. | */
  2084. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  2085. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  2086. | : NULL)
  2087. |
  2088. | /* Same as previous macro, but useful when we know that the buffer stack is not
  2089. | * NULL or when we need an lvalue. For internal use only.
  2090. | */
  2091. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  2092. |
  2093. | /* yy_hold_char holds the character lost when yytext is formed. */
  2094. | static char yy_hold_char;
  2095. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  2096. | yy_size_t yyleng;
  2097. |
  2098. | /* Points to current character in buffer. */
  2099. | static char *yy_c_buf_p = (char *) 0;
  2100. | static int yy_init = 0; /* whether we need to initialize */
  2101. | static int yy_start = 0; /* start state number */
  2102. |
  2103. | /* Flag which is used to allow yywrap()'s to do buffer switches
  2104. | * instead of setting up a fresh yyin. A bit of a hack ...
  2105. | */
  2106. | static int yy_did_buffer_switch_on_eof;
  2107. |
  2108. | void yyrestart (FILE *input_file );
  2109. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  2110. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  2111. | void yy_delete_buffer (YY_BUFFER_STATE b );
  2112. | void yy_flush_buffer (YY_BUFFER_STATE b );
  2113. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  2114. | void yypop_buffer_state (void );
  2115. |
  2116. | static void yyensure_buffer_stack (void );
  2117. | static void yy_load_buffer_state (void );
  2118. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  2119. |
  2120. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  2121. |
  2122. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  2123. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  2124. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  2125. |
  2126. | void *yyalloc (yy_size_t );
  2127. | void *yyrealloc (void *,yy_size_t );
  2128. | void yyfree (void * );
  2129. |
  2130. | #define yy_new_buffer yy_create_buffer
  2131. |
  2132. | #define yy_set_interactive(is_interactive) \
  2133. | { \
  2134. | if ( ! YY_CURRENT_BUFFER ){ \
  2135. | yyensure_buffer_stack (); \
  2136. | YY_CURRENT_BUFFER_LVALUE = \
  2137. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  2138. | } \
  2139. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  2140. | }
  2141. |
  2142. | #define yy_set_bol(at_bol) \
  2143. | { \
  2144. | if ( ! YY_CURRENT_BUFFER ){\
  2145. | yyensure_buffer_stack (); \
  2146. | YY_CURRENT_BUFFER_LVALUE = \
  2147. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  2148. | } \
  2149. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  2150. | }
  2151. |
  2152. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  2153. |
  2154. | /* Begin user sect3 */
  2155. |
  2156. | typedef unsigned char YY_CHAR;
  2157. |
  2158. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  2159. |
  2160. | typedef int yy_state_type;
  2161. |
  2162. | extern int yylineno;
  2163. |
  2164. | int yylineno = 1;
  2165. |
  2166. | extern char *yytext;
  2167. | #define yytext_ptr yytext
  2168. |
  2169. | static yy_state_type yy_get_previous_state (void );
  2170. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  2171. | static int yy_get_next_buffer (void );
  2172. | static void yy_fatal_error (yyconst char msg[] );
  2173. |
  2174. | /* Done after the current pattern has been matched and before the
  2175. | * corresponding action - sets up yytext.
  2176. | */
  2177. | #define YY_DO_BEFORE_ACTION \
  2178. | (yytext_ptr) = yy_bp; \
  2179. | (yytext_ptr) -= (yy_more_len); \
  2180. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  2181. | (yy_hold_char) = *yy_cp; \
  2182. | *yy_cp = '\0'; \
  2183. | (yy_c_buf_p) = yy_cp;
  2184. |
  2185. | #define YY_NUM_RULES 8
  2186. | #define YY_END_OF_BUFFER 9
  2187. | /* This struct is not used in this scanner,
  2188. | but its presence is necessary. */
  2189. | struct yy_trans_info
  2190. | {
  2191. | flex_int32_t yy_verify;
  2192. | flex_int32_t yy_nxt;
  2193. | };
  2194. | static yyconst flex_int16_t yy_acclist[23] =
  2195. | { 0,
  2196. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  2197. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  2198. | 7, 8
  2199. | } ;
  2200. |
  2201. | static yyconst flex_int16_t yy_accept[14] =
  2202. | { 0,
  2203. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  2204. | 20, 23, 23
  2205. | } ;
  2206. |
  2207. | static yyconst flex_int32_t yy_ec[256] =
  2208. | { 0,
  2209. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  2210. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2211. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2212. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2213. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2214. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2215. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2216. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2217. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2218. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  2219. |
  2220. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  2221. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2222. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2223. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2224. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2225. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2226. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2227. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2228. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2229. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2230. |
  2231. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2232. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2233. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2234. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2235. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2236. | 1, 1, 1, 1, 1
  2237. | } ;
  2238. |
  2239. | static yyconst flex_int32_t yy_meta[9] =
  2240. | { 0,
  2241. | 1, 1, 1, 1, 1, 1, 1, 1
  2242. | } ;
  2243. |
  2244. | static yyconst flex_int16_t yy_base[13] =
  2245. | { 0,
  2246. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  2247. | 10, 10
  2248. | } ;
  2249. |
  2250. | static yyconst flex_int16_t yy_def[13] =
  2251. | { 0,
  2252. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  2253. | 12, 0
  2254. | } ;
  2255. |
  2256. | static yyconst flex_int16_t yy_nxt[19] =
  2257. | { 0,
  2258. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  2259. | 12, 12, 12, 12, 12, 12, 12, 12
  2260. | } ;
  2261. |
  2262. | static yyconst flex_int16_t yy_chk[19] =
  2263. | { 0,
  2264. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  2265. | 12, 12, 12, 12, 12, 12, 12, 12
  2266. | } ;
  2267. |
  2268. | extern int yy_flex_debug;
  2269. | int yy_flex_debug = 0;
  2270. |
  2271. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  2272. | static char *yy_full_match;
  2273. | static int yy_lp;
  2274. | #define REJECT \
  2275. | { \
  2276. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  2277. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  2278. | ++(yy_lp); \
  2279. | goto find_rule; \
  2280. | }
  2281. |
  2282. | static int yy_more_flag = 0;
  2283. | static int yy_more_len = 0;
  2284. | #define yymore() ((yy_more_flag) = 1)
  2285. | #define YY_MORE_ADJ (yy_more_len)
  2286. | #define YY_RESTORE_YY_MORE_OFFSET
  2287. | char *yytext;
  2288. | #line 1 "conftest.l"
  2289. | #line 469 "lex.yy.c"
  2290. |
  2291. | #define INITIAL 0
  2292. |
  2293. | #ifndef YY_NO_UNISTD_H
  2294. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  2295. | * down here because we want the user's section 1 to have been scanned first.
  2296. | * The user has a chance to override it with an option.
  2297. | */
  2298. | #include <unistd.h>
  2299. | #endif
  2300. |
  2301. | #ifndef YY_EXTRA_TYPE
  2302. | #define YY_EXTRA_TYPE void *
  2303. | #endif
  2304. |
  2305. | static int yy_init_globals (void );
  2306. |
  2307. | /* Accessor methods to globals.
  2308. | These are made visible to non-reentrant scanners for convenience. */
  2309. |
  2310. | int yylex_destroy (void );
  2311. |
  2312. | int yyget_debug (void );
  2313. |
  2314. | void yyset_debug (int debug_flag );
  2315. |
  2316. | YY_EXTRA_TYPE yyget_extra (void );
  2317. |
  2318. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  2319. |
  2320. | FILE *yyget_in (void );
  2321. |
  2322. | void yyset_in (FILE * in_str );
  2323. |
  2324. | FILE *yyget_out (void );
  2325. |
  2326. | void yyset_out (FILE * out_str );
  2327. |
  2328. | yy_size_t yyget_leng (void );
  2329. |
  2330. | char *yyget_text (void );
  2331. |
  2332. | int yyget_lineno (void );
  2333. |
  2334. | void yyset_lineno (int line_number );
  2335. |
  2336. | /* Macros after this point can all be overridden by user definitions in
  2337. | * section 1.
  2338. | */
  2339. |
  2340. | #ifndef YY_SKIP_YYWRAP
  2341. | #ifdef __cplusplus
  2342. | extern "C" int yywrap (void );
  2343. | #else
  2344. | extern int yywrap (void );
  2345. | #endif
  2346. | #endif
  2347. |
  2348. | static void yyunput (int c,char *buf_ptr );
  2349. |
  2350. | #ifndef yytext_ptr
  2351. | static void yy_flex_strncpy (char *,yyconst char *,int );
  2352. | #endif
  2353. |
  2354. | #ifdef YY_NEED_STRLEN
  2355. | static int yy_flex_strlen (yyconst char * );
  2356. | #endif
  2357. |
  2358. | #ifndef YY_NO_INPUT
  2359. |
  2360. | #ifdef __cplusplus
  2361. | static int yyinput (void );
  2362. | #else
  2363. | static int input (void );
  2364. | #endif
  2365. |
  2366. | #endif
  2367. |
  2368. | /* Amount of stuff to slurp up with each read. */
  2369. | #ifndef YY_READ_BUF_SIZE
  2370. | #define YY_READ_BUF_SIZE 8192
  2371. | #endif
  2372. |
  2373. | /* Copy whatever the last rule matched to the standard output. */
  2374. | #ifndef ECHO
  2375. | /* This used to be an fputs(), but since the string might contain NUL's,
  2376. | * we now use fwrite().
  2377. | */
  2378. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  2379. | #endif
  2380. |
  2381. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  2382. | * is returned in "result".
  2383. | */
  2384. | #ifndef YY_INPUT
  2385. | #define YY_INPUT(buf,result,max_size) \
  2386. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  2387. | { \
  2388. | int c = '*'; \
  2389. | size_t n; \
  2390. | for ( n = 0; n < max_size && \
  2391. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  2392. | buf[n] = (char) c; \
  2393. | if ( c == '\n' ) \
  2394. | buf[n++] = (char) c; \
  2395. | if ( c == EOF && ferror( yyin ) ) \
  2396. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2397. | result = n; \
  2398. | } \
  2399. | else \
  2400. | { \
  2401. | errno=0; \
  2402. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  2403. | { \
  2404. | if( errno != EINTR) \
  2405. | { \
  2406. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2407. | break; \
  2408. | } \
  2409. | errno=0; \
  2410. | clearerr(yyin); \
  2411. | } \
  2412. | }\
  2413. | \
  2414. |
  2415. | #endif
  2416. |
  2417. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  2418. | * we don't want an extra ';' after the "return" because that will cause
  2419. | * some compilers to complain about unreachable statements.
  2420. | */
  2421. | #ifndef yyterminate
  2422. | #define yyterminate() return YY_NULL
  2423. | #endif
  2424. |
  2425. | /* Number of entries by which start-condition stack grows. */
  2426. | #ifndef YY_START_STACK_INCR
  2427. | #define YY_START_STACK_INCR 25
  2428. | #endif
  2429. |
  2430. | /* Report a fatal error. */
  2431. | #ifndef YY_FATAL_ERROR
  2432. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  2433. | #endif
  2434. |
  2435. | /* end tables serialization structures and prototypes */
  2436. |
  2437. | /* Default declaration of generated scanner - a define so the user can
  2438. | * easily add parameters.
  2439. | */
  2440. | #ifndef YY_DECL
  2441. | #define YY_DECL_IS_OURS 1
  2442. |
  2443. | extern int yylex (void);
  2444. |
  2445. | #define YY_DECL int yylex (void)
  2446. | #endif /* !YY_DECL */
  2447. |
  2448. | /* Code executed at the beginning of each rule, after yytext and yyleng
  2449. | * have been set up.
  2450. | */
  2451. | #ifndef YY_USER_ACTION
  2452. | #define YY_USER_ACTION
  2453. | #endif
  2454. |
  2455. | /* Code executed at the end of each rule. */
  2456. | #ifndef YY_BREAK
  2457. | #define YY_BREAK break;
  2458. | #endif
  2459. |
  2460. | #define YY_RULE_SETUP \
  2461. | YY_USER_ACTION
  2462. |
  2463. | /** The main scanner function which does all the work.
  2464. | */
  2465. | YY_DECL
  2466. | {
  2467. | register yy_state_type yy_current_state;
  2468. | register char *yy_cp, *yy_bp;
  2469. | register int yy_act;
  2470. |
  2471. | #line 1 "conftest.l"
  2472. |
  2473. | #line 653 "lex.yy.c"
  2474. |
  2475. | if ( !(yy_init) )
  2476. | {
  2477. | (yy_init) = 1;
  2478. |
  2479. | #ifdef YY_USER_INIT
  2480. | YY_USER_INIT;
  2481. | #endif
  2482. |
  2483. | /* Create the reject buffer large enough to save one state per allowed character. */
  2484. | if ( ! (yy_state_buf) )
  2485. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  2486. | if ( ! (yy_state_buf) )
  2487. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  2488. |
  2489. | if ( ! (yy_start) )
  2490. | (yy_start) = 1; /* first start state */
  2491. |
  2492. | if ( ! yyin )
  2493. | yyin = stdin;
  2494. |
  2495. | if ( ! yyout )
  2496. | yyout = stdout;
  2497. |
  2498. | if ( ! YY_CURRENT_BUFFER ) {
  2499. | yyensure_buffer_stack ();
  2500. | YY_CURRENT_BUFFER_LVALUE =
  2501. | yy_create_buffer(yyin,YY_BUF_SIZE );
  2502. | }
  2503. |
  2504. | yy_load_buffer_state( );
  2505. | }
  2506. |
  2507. | while ( 1 ) /* loops until end-of-file is reached */
  2508. | {
  2509. | (yy_more_len) = 0;
  2510. | if ( (yy_more_flag) )
  2511. | {
  2512. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  2513. | (yy_more_flag) = 0;
  2514. | }
  2515. | yy_cp = (yy_c_buf_p);
  2516. |
  2517. | /* Support of yytext. */
  2518. | *yy_cp = (yy_hold_char);
  2519. |
  2520. | /* yy_bp points to the position in yy_ch_buf of the start of
  2521. | * the current run.
  2522. | */
  2523. | yy_bp = yy_cp;
  2524. |
  2525. | yy_current_state = (yy_start);
  2526. |
  2527. | (yy_state_ptr) = (yy_state_buf);
  2528. | *(yy_state_ptr)++ = yy_current_state;
  2529. |
  2530. | yy_match:
  2531. | do
  2532. | {
  2533. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  2534. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2535. | {
  2536. | yy_current_state = (int) yy_def[yy_current_state];
  2537. | if ( yy_current_state >= 13 )
  2538. | yy_c = yy_meta[(unsigned int) yy_c];
  2539. | }
  2540. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2541. | *(yy_state_ptr)++ = yy_current_state;
  2542. | ++yy_cp;
  2543. | }
  2544. | while ( yy_base[yy_current_state] != 10 );
  2545. |
  2546. | yy_find_action:
  2547. | yy_current_state = *--(yy_state_ptr);
  2548. | (yy_lp) = yy_accept[yy_current_state];
  2549. | find_rule: /* we branch to this label when backing up */
  2550. | for ( ; ; ) /* until we find what rule we matched */
  2551. | {
  2552. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  2553. | {
  2554. | yy_act = yy_acclist[(yy_lp)];
  2555. | {
  2556. | (yy_full_match) = yy_cp;
  2557. | break;
  2558. | }
  2559. | }
  2560. | --yy_cp;
  2561. | yy_current_state = *--(yy_state_ptr);
  2562. | (yy_lp) = yy_accept[yy_current_state];
  2563. | }
  2564. |
  2565. | YY_DO_BEFORE_ACTION;
  2566. |
  2567. | do_action: /* This label is used only to access EOF actions. */
  2568. |
  2569. | switch ( yy_act )
  2570. | { /* beginning of action switch */
  2571. | case 1:
  2572. | YY_RULE_SETUP
  2573. | #line 2 "conftest.l"
  2574. | { ECHO; }
  2575. | YY_BREAK
  2576. | case 2:
  2577. | YY_RULE_SETUP
  2578. | #line 3 "conftest.l"
  2579. | { REJECT; }
  2580. | YY_BREAK
  2581. | case 3:
  2582. | YY_RULE_SETUP
  2583. | #line 4 "conftest.l"
  2584. | { yymore (); }
  2585. | YY_BREAK
  2586. | case 4:
  2587. | YY_RULE_SETUP
  2588. | #line 5 "conftest.l"
  2589. | { yyless (1); }
  2590. | YY_BREAK
  2591. | case 5:
  2592. | YY_RULE_SETUP
  2593. | #line 6 "conftest.l"
  2594. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  2595. | yyless ((input () != 0)); }
  2596. | YY_BREAK
  2597. | case 6:
  2598. | YY_RULE_SETUP
  2599. | #line 8 "conftest.l"
  2600. | { unput (yytext[0]); }
  2601. | YY_BREAK
  2602. | case 7:
  2603. | YY_RULE_SETUP
  2604. | #line 9 "conftest.l"
  2605. | { BEGIN INITIAL; }
  2606. | YY_BREAK
  2607. | case 8:
  2608. | YY_RULE_SETUP
  2609. | #line 10 "conftest.l"
  2610. | ECHO;
  2611. | YY_BREAK
  2612. | #line 792 "lex.yy.c"
  2613. | case YY_STATE_EOF(INITIAL):
  2614. | yyterminate();
  2615. |
  2616. | case YY_END_OF_BUFFER:
  2617. | {
  2618. | /* Amount of text matched not including the EOB char. */
  2619. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  2620. |
  2621. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  2622. | *yy_cp = (yy_hold_char);
  2623. | YY_RESTORE_YY_MORE_OFFSET
  2624. |
  2625. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  2626. | {
  2627. | /* We're scanning a new file or input source. It's
  2628. | * possible that this happened because the user
  2629. | * just pointed yyin at a new source and called
  2630. | * yylex(). If so, then we have to assure
  2631. | * consistency between YY_CURRENT_BUFFER and our
  2632. | * globals. Here is the right place to do so, because
  2633. | * this is the first action (other than possibly a
  2634. | * back-up) that will match for the new input source.
  2635. | */
  2636. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  2637. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  2638. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  2639. | }
  2640. |
  2641. | /* Note that here we test for yy_c_buf_p "<=" to the position
  2642. | * of the first EOB in the buffer, since yy_c_buf_p will
  2643. | * already have been incremented past the NUL character
  2644. | * (since all states make transitions on EOB to the
  2645. | * end-of-buffer state). Contrast this with the test
  2646. | * in input().
  2647. | */
  2648. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  2649. | { /* This was really a NUL. */
  2650. | yy_state_type yy_next_state;
  2651. |
  2652. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  2653. |
  2654. | yy_current_state = yy_get_previous_state( );
  2655. |
  2656. | /* Okay, we're now positioned to make the NUL
  2657. | * transition. We couldn't have
  2658. | * yy_get_previous_state() go ahead and do it
  2659. | * for us because it doesn't know how to deal
  2660. | * with the possibility of jamming (and we don't
  2661. | * want to build jamming into it because then it
  2662. | * will run more slowly).
  2663. | */
  2664. |
  2665. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  2666. |
  2667. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2668. |
  2669. | if ( yy_next_state )
  2670. | {
  2671. | /* Consume the NUL. */
  2672. | yy_cp = ++(yy_c_buf_p);
  2673. | yy_current_state = yy_next_state;
  2674. | goto yy_match;
  2675. | }
  2676. |
  2677. | else
  2678. | {
  2679. | yy_cp = (yy_c_buf_p);
  2680. | goto yy_find_action;
  2681. | }
  2682. | }
  2683. |
  2684. | else switch ( yy_get_next_buffer( ) )
  2685. | {
  2686. | case EOB_ACT_END_OF_FILE:
  2687. | {
  2688. | (yy_did_buffer_switch_on_eof) = 0;
  2689. |
  2690. | if ( yywrap( ) )
  2691. | {
  2692. | /* Note: because we've taken care in
  2693. | * yy_get_next_buffer() to have set up
  2694. | * yytext, we can now set up
  2695. | * yy_c_buf_p so that if some total
  2696. | * hoser (like flex itself) wants to
  2697. | * call the scanner after we return the
  2698. | * YY_NULL, it'll still work - another
  2699. | * YY_NULL will get returned.
  2700. | */
  2701. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  2702. |
  2703. | yy_act = YY_STATE_EOF(YY_START);
  2704. | goto do_action;
  2705. | }
  2706. |
  2707. | else
  2708. | {
  2709. | if ( ! (yy_did_buffer_switch_on_eof) )
  2710. | YY_NEW_FILE;
  2711. | }
  2712. | break;
  2713. | }
  2714. |
  2715. | case EOB_ACT_CONTINUE_SCAN:
  2716. | (yy_c_buf_p) =
  2717. | (yytext_ptr) + yy_amount_of_matched_text;
  2718. |
  2719. | yy_current_state = yy_get_previous_state( );
  2720. |
  2721. | yy_cp = (yy_c_buf_p);
  2722. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2723. | goto yy_match;
  2724. |
  2725. | case EOB_ACT_LAST_MATCH:
  2726. | (yy_c_buf_p) =
  2727. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  2728. |
  2729. | yy_current_state = yy_get_previous_state( );
  2730. |
  2731. | yy_cp = (yy_c_buf_p);
  2732. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2733. | goto yy_find_action;
  2734. | }
  2735. | break;
  2736. | }
  2737. |
  2738. | default:
  2739. | YY_FATAL_ERROR(
  2740. | "fatal flex scanner internal error--no action found" );
  2741. | } /* end of action switch */
  2742. | } /* end of scanning one token */
  2743. | } /* end of yylex */
  2744. |
  2745. | /* yy_get_next_buffer - try to read in a new buffer
  2746. | *
  2747. | * Returns a code representing an action:
  2748. | * EOB_ACT_LAST_MATCH -
  2749. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  2750. | * EOB_ACT_END_OF_FILE - end of file
  2751. | */
  2752. | static int yy_get_next_buffer (void)
  2753. | {
  2754. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  2755. | register char *source = (yytext_ptr);
  2756. | register int number_to_move, i;
  2757. | int ret_val;
  2758. |
  2759. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  2760. | YY_FATAL_ERROR(
  2761. | "fatal flex scanner internal error--end of buffer missed" );
  2762. |
  2763. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  2764. | { /* Don't try to fill the buffer, so this is an EOF. */
  2765. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  2766. | {
  2767. | /* We matched a single character, the EOB, so
  2768. | * treat this as a final EOF.
  2769. | */
  2770. | return EOB_ACT_END_OF_FILE;
  2771. | }
  2772. |
  2773. | else
  2774. | {
  2775. | /* We matched some text prior to the EOB, first
  2776. | * process it.
  2777. | */
  2778. | return EOB_ACT_LAST_MATCH;
  2779. | }
  2780. | }
  2781. |
  2782. | /* Try to read more data. */
  2783. |
  2784. | /* First move last chars to start of buffer. */
  2785. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  2786. |
  2787. | for ( i = 0; i < number_to_move; ++i )
  2788. | *(dest++) = *(source++);
  2789. |
  2790. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  2791. | /* don't do the read, it's not guaranteed to return an EOF,
  2792. | * just force an EOF
  2793. | */
  2794. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  2795. |
  2796. | else
  2797. | {
  2798. | yy_size_t num_to_read =
  2799. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  2800. |
  2801. | while ( num_to_read <= 0 )
  2802. | { /* Not enough room in the buffer - grow it. */
  2803. |
  2804. | YY_FATAL_ERROR(
  2805. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  2806. |
  2807. | }
  2808. |
  2809. | if ( num_to_read > YY_READ_BUF_SIZE )
  2810. | num_to_read = YY_READ_BUF_SIZE;
  2811. |
  2812. | /* Read in more data. */
  2813. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  2814. | (yy_n_chars), num_to_read );
  2815. |
  2816. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  2817. | }
  2818. |
  2819. | if ( (yy_n_chars) == 0 )
  2820. | {
  2821. | if ( number_to_move == YY_MORE_ADJ )
  2822. | {
  2823. | ret_val = EOB_ACT_END_OF_FILE;
  2824. | yyrestart(yyin );
  2825. | }
  2826. |
  2827. | else
  2828. | {
  2829. | ret_val = EOB_ACT_LAST_MATCH;
  2830. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  2831. | YY_BUFFER_EOF_PENDING;
  2832. | }
  2833. | }
  2834. |
  2835. | else
  2836. | ret_val = EOB_ACT_CONTINUE_SCAN;
  2837. |
  2838. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  2839. | /* Extend the array by 50%, plus the number we really need. */
  2840. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  2841. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  2842. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  2843. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  2844. | }
  2845. |
  2846. | (yy_n_chars) += number_to_move;
  2847. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  2848. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  2849. |
  2850. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  2851. |
  2852. | return ret_val;
  2853. | }
  2854. |
  2855. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  2856. |
  2857. | static yy_state_type yy_get_previous_state (void)
  2858. | {
  2859. | register yy_state_type yy_current_state;
  2860. | register char *yy_cp;
  2861. |
  2862. | yy_current_state = (yy_start);
  2863. |
  2864. | (yy_state_ptr) = (yy_state_buf);
  2865. | *(yy_state_ptr)++ = yy_current_state;
  2866. |
  2867. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  2868. | {
  2869. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  2870. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2871. | {
  2872. | yy_current_state = (int) yy_def[yy_current_state];
  2873. | if ( yy_current_state >= 13 )
  2874. | yy_c = yy_meta[(unsigned int) yy_c];
  2875. | }
  2876. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2877. | *(yy_state_ptr)++ = yy_current_state;
  2878. | }
  2879. |
  2880. | return yy_current_state;
  2881. | }
  2882. |
  2883. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  2884. | *
  2885. | * synopsis
  2886. | * next_state = yy_try_NUL_trans( current_state );
  2887. | */
  2888. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  2889. | {
  2890. | register int yy_is_jam;
  2891. |
  2892. | register YY_CHAR yy_c = 1;
  2893. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2894. | {
  2895. | yy_current_state = (int) yy_def[yy_current_state];
  2896. | if ( yy_current_state >= 13 )
  2897. | yy_c = yy_meta[(unsigned int) yy_c];
  2898. | }
  2899. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2900. | yy_is_jam = (yy_current_state == 12);
  2901. | if ( ! yy_is_jam )
  2902. | *(yy_state_ptr)++ = yy_current_state;
  2903. |
  2904. | return yy_is_jam ? 0 : yy_current_state;
  2905. | }
  2906. |
  2907. | static void yyunput (int c, register char * yy_bp )
  2908. | {
  2909. | register char *yy_cp;
  2910. |
  2911. | yy_cp = (yy_c_buf_p);
  2912. |
  2913. | /* undo effects of setting up yytext */
  2914. | *yy_cp = (yy_hold_char);
  2915. |
  2916. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  2917. | { /* need to shift things up to make room */
  2918. | /* +2 for EOB chars. */
  2919. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  2920. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  2921. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  2922. | register char *source =
  2923. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  2924. |
  2925. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  2926. | *--dest = *--source;
  2927. |
  2928. | yy_cp += (int) (dest - source);
  2929. | yy_bp += (int) (dest - source);
  2930. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  2931. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  2932. |
  2933. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  2934. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  2935. | }
  2936. |
  2937. | *--yy_cp = (char) c;
  2938. |
  2939. | (yytext_ptr) = yy_bp;
  2940. | (yy_hold_char) = *yy_cp;
  2941. | (yy_c_buf_p) = yy_cp;
  2942. | }
  2943. |
  2944. | #ifndef YY_NO_INPUT
  2945. | #ifdef __cplusplus
  2946. | static int yyinput (void)
  2947. | #else
  2948. | static int input (void)
  2949. | #endif
  2950. |
  2951. | {
  2952. | int c;
  2953. |
  2954. | *(yy_c_buf_p) = (yy_hold_char);
  2955. |
  2956. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  2957. | {
  2958. | /* yy_c_buf_p now points to the character we want to return.
  2959. | * If this occurs *before* the EOB characters, then it's a
  2960. | * valid NUL; if not, then we've hit the end of the buffer.
  2961. | */
  2962. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  2963. | /* This was really a NUL. */
  2964. | *(yy_c_buf_p) = '\0';
  2965. |
  2966. | else
  2967. | { /* need more input */
  2968. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  2969. | ++(yy_c_buf_p);
  2970. |
  2971. | switch ( yy_get_next_buffer( ) )
  2972. | {
  2973. | case EOB_ACT_LAST_MATCH:
  2974. | /* This happens because yy_g_n_b()
  2975. | * sees that we've accumulated a
  2976. | * token and flags that we need to
  2977. | * try matching the token before
  2978. | * proceeding. But for input(),
  2979. | * there's no matching to consider.
  2980. | * So convert the EOB_ACT_LAST_MATCH
  2981. | * to EOB_ACT_END_OF_FILE.
  2982. | */
  2983. |
  2984. | /* Reset buffer status. */
  2985. | yyrestart(yyin );
  2986. |
  2987. | /*FALLTHROUGH*/
  2988. |
  2989. | case EOB_ACT_END_OF_FILE:
  2990. | {
  2991. | if ( yywrap( ) )
  2992. | return EOF;
  2993. |
  2994. | if ( ! (yy_did_buffer_switch_on_eof) )
  2995. | YY_NEW_FILE;
  2996. | #ifdef __cplusplus
  2997. | return yyinput();
  2998. | #else
  2999. | return input();
  3000. | #endif
  3001. | }
  3002. |
  3003. | case EOB_ACT_CONTINUE_SCAN:
  3004. | (yy_c_buf_p) = (yytext_ptr) + offset;
  3005. | break;
  3006. | }
  3007. | }
  3008. | }
  3009. |
  3010. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  3011. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  3012. | (yy_hold_char) = *++(yy_c_buf_p);
  3013. |
  3014. | return c;
  3015. | }
  3016. | #endif /* ifndef YY_NO_INPUT */
  3017. |
  3018. | /** Immediately switch to a different input stream.
  3019. | * @param input_file A readable stream.
  3020. | *
  3021. | * @note This function does not reset the start condition to @c INITIAL .
  3022. | */
  3023. | void yyrestart (FILE * input_file )
  3024. | {
  3025. |
  3026. | if ( ! YY_CURRENT_BUFFER ){
  3027. | yyensure_buffer_stack ();
  3028. | YY_CURRENT_BUFFER_LVALUE =
  3029. | yy_create_buffer(yyin,YY_BUF_SIZE );
  3030. | }
  3031. |
  3032. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  3033. | yy_load_buffer_state( );
  3034. | }
  3035. |
  3036. | /** Switch to a different input buffer.
  3037. | * @param new_buffer The new input buffer.
  3038. | *
  3039. | */
  3040. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  3041. | {
  3042. |
  3043. | /* TODO. We should be able to replace this entire function body
  3044. | * with
  3045. | * yypop_buffer_state();
  3046. | * yypush_buffer_state(new_buffer);
  3047. | */
  3048. | yyensure_buffer_stack ();
  3049. | if ( YY_CURRENT_BUFFER == new_buffer )
  3050. | return;
  3051. |
  3052. | if ( YY_CURRENT_BUFFER )
  3053. | {
  3054. | /* Flush out information for old buffer. */
  3055. | *(yy_c_buf_p) = (yy_hold_char);
  3056. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3057. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3058. | }
  3059. |
  3060. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3061. | yy_load_buffer_state( );
  3062. |
  3063. | /* We don't actually know whether we did this switch during
  3064. | * EOF (yywrap()) processing, but the only time this flag
  3065. | * is looked at is after yywrap() is called, so it's safe
  3066. | * to go ahead and always set it.
  3067. | */
  3068. | (yy_did_buffer_switch_on_eof) = 1;
  3069. | }
  3070. |
  3071. | static void yy_load_buffer_state (void)
  3072. | {
  3073. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3074. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  3075. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  3076. | (yy_hold_char) = *(yy_c_buf_p);
  3077. | }
  3078. |
  3079. | /** Allocate and initialize an input buffer state.
  3080. | * @param file A readable stream.
  3081. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  3082. | *
  3083. | * @return the allocated buffer state.
  3084. | */
  3085. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  3086. | {
  3087. | YY_BUFFER_STATE b;
  3088. |
  3089. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  3090. | if ( ! b )
  3091. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3092. |
  3093. | b->yy_buf_size = size;
  3094. |
  3095. | /* yy_ch_buf has to be 2 characters longer than the size given because
  3096. | * we need to put in 2 end-of-buffer characters.
  3097. | */
  3098. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  3099. | if ( ! b->yy_ch_buf )
  3100. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3101. |
  3102. | b->yy_is_our_buffer = 1;
  3103. |
  3104. | yy_init_buffer(b,file );
  3105. |
  3106. | return b;
  3107. | }
  3108. |
  3109. | /** Destroy the buffer.
  3110. | * @param b a buffer created with yy_create_buffer()
  3111. | *
  3112. | */
  3113. | void yy_delete_buffer (YY_BUFFER_STATE b )
  3114. | {
  3115. |
  3116. | if ( ! b )
  3117. | return;
  3118. |
  3119. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  3120. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  3121. |
  3122. | if ( b->yy_is_our_buffer )
  3123. | yyfree((void *) b->yy_ch_buf );
  3124. |
  3125. | yyfree((void *) b );
  3126. | }
  3127. |
  3128. | /* Initializes or reinitializes a buffer.
  3129. | * This function is sometimes called more than once on the same buffer,
  3130. | * such as during a yyrestart() or at EOF.
  3131. | */
  3132. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  3133. |
  3134. | {
  3135. | int oerrno = errno;
  3136. |
  3137. | yy_flush_buffer(b );
  3138. |
  3139. | b->yy_input_file = file;
  3140. | b->yy_fill_buffer = 1;
  3141. |
  3142. | /* If b is the current buffer, then yy_init_buffer was _probably_
  3143. | * called from yyrestart() or through yy_get_next_buffer.
  3144. | * In that case, we don't want to reset the lineno or column.
  3145. | */
  3146. | if (b != YY_CURRENT_BUFFER){
  3147. | b->yy_bs_lineno = 1;
  3148. | b->yy_bs_column = 0;
  3149. | }
  3150. |
  3151. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  3152. |
  3153. | errno = oerrno;
  3154. | }
  3155. |
  3156. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  3157. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  3158. | *
  3159. | */
  3160. | void yy_flush_buffer (YY_BUFFER_STATE b )
  3161. | {
  3162. | if ( ! b )
  3163. | return;
  3164. |
  3165. | b->yy_n_chars = 0;
  3166. |
  3167. | /* We always need two end-of-buffer characters. The first causes
  3168. | * a transition to the end-of-buffer state. The second causes
  3169. | * a jam in that state.
  3170. | */
  3171. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  3172. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  3173. |
  3174. | b->yy_buf_pos = &b->yy_ch_buf[0];
  3175. |
  3176. | b->yy_at_bol = 1;
  3177. | b->yy_buffer_status = YY_BUFFER_NEW;
  3178. |
  3179. | if ( b == YY_CURRENT_BUFFER )
  3180. | yy_load_buffer_state( );
  3181. | }
  3182. |
  3183. | /** Pushes the new state onto the stack. The new state becomes
  3184. | * the current state. This function will allocate the stack
  3185. | * if necessary.
  3186. | * @param new_buffer The new state.
  3187. | *
  3188. | */
  3189. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  3190. | {
  3191. | if (new_buffer == NULL)
  3192. | return;
  3193. |
  3194. | yyensure_buffer_stack();
  3195. |
  3196. | /* This block is copied from yy_switch_to_buffer. */
  3197. | if ( YY_CURRENT_BUFFER )
  3198. | {
  3199. | /* Flush out information for old buffer. */
  3200. | *(yy_c_buf_p) = (yy_hold_char);
  3201. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3202. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3203. | }
  3204. |
  3205. | /* Only push if top exists. Otherwise, replace top. */
  3206. | if (YY_CURRENT_BUFFER)
  3207. | (yy_buffer_stack_top)++;
  3208. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3209. |
  3210. | /* copied from yy_switch_to_buffer. */
  3211. | yy_load_buffer_state( );
  3212. | (yy_did_buffer_switch_on_eof) = 1;
  3213. | }
  3214. |
  3215. | /** Removes and deletes the top of the stack, if present.
  3216. | * The next element becomes the new top.
  3217. | *
  3218. | */
  3219. | void yypop_buffer_state (void)
  3220. | {
  3221. | if (!YY_CURRENT_BUFFER)
  3222. | return;
  3223. |
  3224. | yy_delete_buffer(YY_CURRENT_BUFFER );
  3225. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3226. | if ((yy_buffer_stack_top) > 0)
  3227. | --(yy_buffer_stack_top);
  3228. |
  3229. | if (YY_CURRENT_BUFFER) {
  3230. | yy_load_buffer_state( );
  3231. | (yy_did_buffer_switch_on_eof) = 1;
  3232. | }
  3233. | }
  3234. |
  3235. | /* Allocates the stack if it does not exist.
  3236. | * Guarantees space for at least one push.
  3237. | */
  3238. | static void yyensure_buffer_stack (void)
  3239. | {
  3240. | yy_size_t num_to_alloc;
  3241. |
  3242. | if (!(yy_buffer_stack)) {
  3243. |
  3244. | /* First allocation is just for 2 elements, since we don't know if this
  3245. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  3246. | * immediate realloc on the next call.
  3247. | */
  3248. | num_to_alloc = 1;
  3249. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  3250. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  3251. | );
  3252. | if ( ! (yy_buffer_stack) )
  3253. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3254. |
  3255. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  3256. |
  3257. | (yy_buffer_stack_max) = num_to_alloc;
  3258. | (yy_buffer_stack_top) = 0;
  3259. | return;
  3260. | }
  3261. |
  3262. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  3263. |
  3264. | /* Increase the buffer to prepare for a possible push. */
  3265. | int grow_size = 8 /* arbitrary grow size */;
  3266. |
  3267. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  3268. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  3269. | ((yy_buffer_stack),
  3270. | num_to_alloc * sizeof(struct yy_buffer_state*)
  3271. | );
  3272. | if ( ! (yy_buffer_stack) )
  3273. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3274. |
  3275. | /* zero only the new slots.*/
  3276. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  3277. | (yy_buffer_stack_max) = num_to_alloc;
  3278. | }
  3279. | }
  3280. |
  3281. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  3282. | * @param base the character buffer
  3283. | * @param size the size in bytes of the character buffer
  3284. | *
  3285. | * @return the newly allocated buffer state object.
  3286. | */
  3287. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  3288. | {
  3289. | YY_BUFFER_STATE b;
  3290. |
  3291. | if ( size < 2 ||
  3292. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  3293. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  3294. | /* They forgot to leave room for the EOB's. */
  3295. | return 0;
  3296. |
  3297. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  3298. | if ( ! b )
  3299. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  3300. |
  3301. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  3302. | b->yy_buf_pos = b->yy_ch_buf = base;
  3303. | b->yy_is_our_buffer = 0;
  3304. | b->yy_input_file = 0;
  3305. | b->yy_n_chars = b->yy_buf_size;
  3306. | b->yy_is_interactive = 0;
  3307. | b->yy_at_bol = 1;
  3308. | b->yy_fill_buffer = 0;
  3309. | b->yy_buffer_status = YY_BUFFER_NEW;
  3310. |
  3311. | yy_switch_to_buffer(b );
  3312. |
  3313. | return b;
  3314. | }
  3315. |
  3316. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  3317. | * scan from a @e copy of @a str.
  3318. | * @param yystr a NUL-terminated string to scan
  3319. | *
  3320. | * @return the newly allocated buffer state object.
  3321. | * @note If you want to scan bytes that may contain NUL values, then use
  3322. | * yy_scan_bytes() instead.
  3323. | */
  3324. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  3325. | {
  3326. |
  3327. | return yy_scan_bytes(yystr,strlen(yystr) );
  3328. | }
  3329. |
  3330. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  3331. | * scan from a @e copy of @a bytes.
  3332. | * @param yybytes the byte buffer to scan
  3333. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  3334. | *
  3335. | * @return the newly allocated buffer state object.
  3336. | */
  3337. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  3338. | {
  3339. | YY_BUFFER_STATE b;
  3340. | char *buf;
  3341. | yy_size_t n;
  3342. | int i;
  3343. |
  3344. | /* Get memory for full buffer, including space for trailing EOB's. */
  3345. | n = _yybytes_len + 2;
  3346. | buf = (char *) yyalloc(n );
  3347. | if ( ! buf )
  3348. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  3349. |
  3350. | for ( i = 0; i < _yybytes_len; ++i )
  3351. | buf[i] = yybytes[i];
  3352. |
  3353. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  3354. |
  3355. | b = yy_scan_buffer(buf,n );
  3356. | if ( ! b )
  3357. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  3358. |
  3359. | /* It's okay to grow etc. this buffer, and we should throw it
  3360. | * away when we're done.
  3361. | */
  3362. | b->yy_is_our_buffer = 1;
  3363. |
  3364. | return b;
  3365. | }
  3366. |
  3367. | #ifndef YY_EXIT_FAILURE
  3368. | #define YY_EXIT_FAILURE 2
  3369. | #endif
  3370. |
  3371. | static void yy_fatal_error (yyconst char* msg )
  3372. | {
  3373. | (void) fprintf( stderr, "%s\n", msg );
  3374. | exit( YY_EXIT_FAILURE );
  3375. | }
  3376. |
  3377. | /* Redefine yyless() so it works in section 3 code. */
  3378. |
  3379. | #undef yyless
  3380. | #define yyless(n) \
  3381. | do \
  3382. | { \
  3383. | /* Undo effects of setting up yytext. */ \
  3384. | int yyless_macro_arg = (n); \
  3385. | YY_LESS_LINENO(yyless_macro_arg);\
  3386. | yytext[yyleng] = (yy_hold_char); \
  3387. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  3388. | (yy_hold_char) = *(yy_c_buf_p); \
  3389. | *(yy_c_buf_p) = '\0'; \
  3390. | yyleng = yyless_macro_arg; \
  3391. | } \
  3392. | while ( 0 )
  3393. |
  3394. | /* Accessor methods (get/set functions) to struct members. */
  3395. |
  3396. | /** Get the current line number.
  3397. | *
  3398. | */
  3399. | int yyget_lineno (void)
  3400. | {
  3401. |
  3402. | return yylineno;
  3403. | }
  3404. |
  3405. | /** Get the input stream.
  3406. | *
  3407. | */
  3408. | FILE *yyget_in (void)
  3409. | {
  3410. | return yyin;
  3411. | }
  3412. |
  3413. | /** Get the output stream.
  3414. | *
  3415. | */
  3416. | FILE *yyget_out (void)
  3417. | {
  3418. | return yyout;
  3419. | }
  3420. |
  3421. | /** Get the length of the current token.
  3422. | *
  3423. | */
  3424. | yy_size_t yyget_leng (void)
  3425. | {
  3426. | return yyleng;
  3427. | }
  3428. |
  3429. | /** Get the current token.
  3430. | *
  3431. | */
  3432. |
  3433. | char *yyget_text (void)
  3434. | {
  3435. | return yytext;
  3436. | }
  3437. |
  3438. | /** Set the current line number.
  3439. | * @param line_number
  3440. | *
  3441. | */
  3442. | void yyset_lineno (int line_number )
  3443. | {
  3444. |
  3445. | yylineno = line_number;
  3446. | }
  3447. |
  3448. | /** Set the input stream. This does not discard the current
  3449. | * input buffer.
  3450. | * @param in_str A readable stream.
  3451. | *
  3452. | * @see yy_switch_to_buffer
  3453. | */
  3454. | void yyset_in (FILE * in_str )
  3455. | {
  3456. | yyin = in_str ;
  3457. | }
  3458. |
  3459. | void yyset_out (FILE * out_str )
  3460. | {
  3461. | yyout = out_str ;
  3462. | }
  3463. |
  3464. | int yyget_debug (void)
  3465. | {
  3466. | return yy_flex_debug;
  3467. | }
  3468. |
  3469. | void yyset_debug (int bdebug )
  3470. | {
  3471. | yy_flex_debug = bdebug ;
  3472. | }
  3473. |
  3474. | static int yy_init_globals (void)
  3475. | {
  3476. | /* Initialization is the same as for the non-reentrant scanner.
  3477. | * This function is called from yylex_destroy(), so don't allocate here.
  3478. | */
  3479. |
  3480. | (yy_buffer_stack) = 0;
  3481. | (yy_buffer_stack_top) = 0;
  3482. | (yy_buffer_stack_max) = 0;
  3483. | (yy_c_buf_p) = (char *) 0;
  3484. | (yy_init) = 0;
  3485. | (yy_start) = 0;
  3486. |
  3487. | (yy_state_buf) = 0;
  3488. | (yy_state_ptr) = 0;
  3489. | (yy_full_match) = 0;
  3490. | (yy_lp) = 0;
  3491. |
  3492. | /* Defined in main.c */
  3493. | #ifdef YY_STDINIT
  3494. | yyin = stdin;
  3495. | yyout = stdout;
  3496. | #else
  3497. | yyin = (FILE *) 0;
  3498. | yyout = (FILE *) 0;
  3499. | #endif
  3500. |
  3501. | /* For future reference: Set errno on error, since we are called by
  3502. | * yylex_init()
  3503. | */
  3504. | return 0;
  3505. | }
  3506. |
  3507. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  3508. | int yylex_destroy (void)
  3509. | {
  3510. |
  3511. | /* Pop the buffer stack, destroying each element. */
  3512. | while(YY_CURRENT_BUFFER){
  3513. | yy_delete_buffer(YY_CURRENT_BUFFER );
  3514. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3515. | yypop_buffer_state();
  3516. | }
  3517. |
  3518. | /* Destroy the stack itself. */
  3519. | yyfree((yy_buffer_stack) );
  3520. | (yy_buffer_stack) = NULL;
  3521. |
  3522. | yyfree ( (yy_state_buf) );
  3523. | (yy_state_buf) = NULL;
  3524. |
  3525. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  3526. | * yylex() is called, initialization will occur. */
  3527. | yy_init_globals( );
  3528. |
  3529. | return 0;
  3530. | }
  3531. |
  3532. | /*
  3533. | * Internal utility routines.
  3534. | */
  3535. |
  3536. | #ifndef yytext_ptr
  3537. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  3538. | {
  3539. | register int i;
  3540. | for ( i = 0; i < n; ++i )
  3541. | s1[i] = s2[i];
  3542. | }
  3543. | #endif
  3544. |
  3545. | #ifdef YY_NEED_STRLEN
  3546. | static int yy_flex_strlen (yyconst char * s )
  3547. | {
  3548. | register int n;
  3549. | for ( n = 0; s[n]; ++n )
  3550. | ;
  3551. |
  3552. | return n;
  3553. | }
  3554. | #endif
  3555. |
  3556. | void *yyalloc (yy_size_t size )
  3557. | {
  3558. | return (void *) malloc( size );
  3559. | }
  3560. |
  3561. | void *yyrealloc (void * ptr, yy_size_t size )
  3562. | {
  3563. | /* The cast to (char *) in the following accommodates both
  3564. | * implementations that use char* generic pointers, and those
  3565. | * that use void* generic pointers. It works with the latter
  3566. | * because both ANSI C and C++ allow castless assignment from
  3567. | * any pointer type to void*, and deal with argument conversions
  3568. | * as though doing an assignment.
  3569. | */
  3570. | return (void *) realloc( (char *) ptr, size );
  3571. | }
  3572. |
  3573. | void yyfree (void * ptr )
  3574. | {
  3575. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  3576. | }
  3577. |
  3578. | #define YYTABLES_NAME "yytables"
  3579. |
  3580. | #line 10 "conftest.l"
  3581. |
  3582. |
  3583. | #ifdef YYTEXT_POINTER
  3584. | extern char *yytext;
  3585. | #endif
  3586. | int
  3587. | main (void)
  3588. | {
  3589. | return ! yylex () + ! yywrap ();
  3590. | }
  3591. configure:19127: gcc -o conftest -g -O2 conftest.c -lfl >&5
  3592. /usr/bin/ld: cannot find -lfl
  3593. collect2: error: ld returned 1 exit status
  3594. configure:19127: $? = 1
  3595. configure: failed program was:
  3596. | /* confdefs.h */
  3597. | #define PACKAGE_NAME "ClamAV"
  3598. | #define PACKAGE_TARNAME "clamav"
  3599. | #define PACKAGE_VERSION "0.102.0"
  3600. | #define PACKAGE_STRING "ClamAV 0.102.0"
  3601. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  3602. | #define PACKAGE_URL "https://www.clamav.net/"
  3603. | #define PACKAGE PACKAGE_NAME
  3604. | #define STDC_HEADERS 1
  3605. | #define HAVE_SYS_TYPES_H 1
  3606. | #define HAVE_SYS_STAT_H 1
  3607. | #define HAVE_STDLIB_H 1
  3608. | #define HAVE_STRING_H 1
  3609. | #define HAVE_MEMORY_H 1
  3610. | #define HAVE_STRINGS_H 1
  3611. | #define HAVE_INTTYPES_H 1
  3612. | #define HAVE_STDINT_H 1
  3613. | #define HAVE_UNISTD_H 1
  3614. | #define __EXTENSIONS__ 1
  3615. | #define _ALL_SOURCE 1
  3616. | #define _GNU_SOURCE 1
  3617. | #define _POSIX_PTHREAD_SEMANTICS 1
  3618. | #define _TANDEM_SOURCE 1
  3619. | #define LIBCLAMAV_FULLVER "9.0.4"
  3620. | #define LIBCLAMAV_MAJORVER 9
  3621. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  3622. | #define LIBFRESHCLAM_MAJORVER 2
  3623. | #define VERSION "0.102.0"
  3624. | #define VERSION_SUFFIX ""
  3625. | #define HAVE_DLFCN_H 1
  3626. | #define LT_OBJDIR ".libs/"
  3627. | #define LT_MODULE_EXT ".so"
  3628. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  3629. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  3630. | #define HAVE_LIBDL 1
  3631. | #define HAVE_DLERROR 1
  3632. | #define HAVE_LIBDLLOADER 1
  3633. | #define HAVE_ARGZ_H 1
  3634. | #define HAVE_ERROR_T 1
  3635. | #define HAVE_ARGZ_ADD 1
  3636. | #define HAVE_ARGZ_APPEND 1
  3637. | #define HAVE_ARGZ_COUNT 1
  3638. | #define HAVE_ARGZ_CREATE_SEP 1
  3639. | #define HAVE_ARGZ_INSERT 1
  3640. | #define HAVE_ARGZ_NEXT 1
  3641. | #define HAVE_ARGZ_STRINGIFY 1
  3642. | #define HAVE_WORKING_ARGZ 1
  3643. | #define HAVE_PRELOADED_SYMBOLS 1
  3644. | #define HAVE_LTDL 1
  3645. | #define HAVE_UNISTD_H 1
  3646. | #define HAVE_DIRENT_H 1
  3647. | #define HAVE_CLOSEDIR 1
  3648. | #define HAVE_OPENDIR 1
  3649. | #define HAVE_READDIR 1
  3650. | #define LT_LIBEXT "a"
  3651. | #define LT_LIBPREFIX "lib"
  3652. | /* end confdefs.h. */
  3653. |
  3654. | #line 3 "lex.yy.c"
  3655. |
  3656. | #define YY_INT_ALIGNED short int
  3657. |
  3658. | /* A lexical scanner generated by flex */
  3659. |
  3660. | #define FLEX_SCANNER
  3661. | #define YY_FLEX_MAJOR_VERSION 2
  3662. | #define YY_FLEX_MINOR_VERSION 5
  3663. | #define YY_FLEX_SUBMINOR_VERSION 37
  3664. | #if YY_FLEX_SUBMINOR_VERSION > 0
  3665. | #define FLEX_BETA
  3666. | #endif
  3667. |
  3668. | /* First, we deal with platform-specific or compiler-specific issues. */
  3669. |
  3670. | /* begin standard C headers. */
  3671. | #include <stdio.h>
  3672. | #include <string.h>
  3673. | #include <errno.h>
  3674. | #include <stdlib.h>
  3675. |
  3676. | /* end standard C headers. */
  3677. |
  3678. | /* flex integer type definitions */
  3679. |
  3680. | #ifndef FLEXINT_H
  3681. | #define FLEXINT_H
  3682. |
  3683. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  3684. |
  3685. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  3686. |
  3687. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  3688. | * if you want the limit (max/min) macros for int types.
  3689. | */
  3690. | #ifndef __STDC_LIMIT_MACROS
  3691. | #define __STDC_LIMIT_MACROS 1
  3692. | #endif
  3693. |
  3694. | #include <inttypes.h>
  3695. | typedef int8_t flex_int8_t;
  3696. | typedef uint8_t flex_uint8_t;
  3697. | typedef int16_t flex_int16_t;
  3698. | typedef uint16_t flex_uint16_t;
  3699. | typedef int32_t flex_int32_t;
  3700. | typedef uint32_t flex_uint32_t;
  3701. | #else
  3702. | typedef signed char flex_int8_t;
  3703. | typedef short int flex_int16_t;
  3704. | typedef int flex_int32_t;
  3705. | typedef unsigned char flex_uint8_t;
  3706. | typedef unsigned short int flex_uint16_t;
  3707. | typedef unsigned int flex_uint32_t;
  3708. |
  3709. | /* Limits of integral types. */
  3710. | #ifndef INT8_MIN
  3711. | #define INT8_MIN (-128)
  3712. | #endif
  3713. | #ifndef INT16_MIN
  3714. | #define INT16_MIN (-32767-1)
  3715. | #endif
  3716. | #ifndef INT32_MIN
  3717. | #define INT32_MIN (-2147483647-1)
  3718. | #endif
  3719. | #ifndef INT8_MAX
  3720. | #define INT8_MAX (127)
  3721. | #endif
  3722. | #ifndef INT16_MAX
  3723. | #define INT16_MAX (32767)
  3724. | #endif
  3725. | #ifndef INT32_MAX
  3726. | #define INT32_MAX (2147483647)
  3727. | #endif
  3728. | #ifndef UINT8_MAX
  3729. | #define UINT8_MAX (255U)
  3730. | #endif
  3731. | #ifndef UINT16_MAX
  3732. | #define UINT16_MAX (65535U)
  3733. | #endif
  3734. | #ifndef UINT32_MAX
  3735. | #define UINT32_MAX (4294967295U)
  3736. | #endif
  3737. |
  3738. | #endif /* ! C99 */
  3739. |
  3740. | #endif /* ! FLEXINT_H */
  3741. |
  3742. | #ifdef __cplusplus
  3743. |
  3744. | /* The "const" storage-class-modifier is valid. */
  3745. | #define YY_USE_CONST
  3746. |
  3747. | #else /* ! __cplusplus */
  3748. |
  3749. | /* C99 requires __STDC__ to be defined as 1. */
  3750. | #if defined (__STDC__)
  3751. |
  3752. | #define YY_USE_CONST
  3753. |
  3754. | #endif /* defined (__STDC__) */
  3755. | #endif /* ! __cplusplus */
  3756. |
  3757. | #ifdef YY_USE_CONST
  3758. | #define yyconst const
  3759. | #else
  3760. | #define yyconst
  3761. | #endif
  3762. |
  3763. | /* Returned upon end-of-file. */
  3764. | #define YY_NULL 0
  3765. |
  3766. | /* Promotes a possibly negative, possibly signed char to an unsigned
  3767. | * integer for use as an array index. If the signed char is negative,
  3768. | * we want to instead treat it as an 8-bit unsigned char, hence the
  3769. | * double cast.
  3770. | */
  3771. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  3772. |
  3773. | /* Enter a start condition. This macro really ought to take a parameter,
  3774. | * but we do it the disgusting crufty way forced on us by the ()-less
  3775. | * definition of BEGIN.
  3776. | */
  3777. | #define BEGIN (yy_start) = 1 + 2 *
  3778. |
  3779. | /* Translate the current start state into a value that can be later handed
  3780. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  3781. | * compatibility.
  3782. | */
  3783. | #define YY_START (((yy_start) - 1) / 2)
  3784. | #define YYSTATE YY_START
  3785. |
  3786. | /* Action number for EOF rule of a given start state. */
  3787. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  3788. |
  3789. | /* Special action meaning "start processing a new file". */
  3790. | #define YY_NEW_FILE yyrestart(yyin )
  3791. |
  3792. | #define YY_END_OF_BUFFER_CHAR 0
  3793. |
  3794. | /* Size of default input buffer. */
  3795. | #ifndef YY_BUF_SIZE
  3796. | #define YY_BUF_SIZE 16384
  3797. | #endif
  3798. |
  3799. | /* The state buf must be large enough to hold one state per character in the main buffer.
  3800. | */
  3801. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  3802. |
  3803. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  3804. | #define YY_TYPEDEF_YY_BUFFER_STATE
  3805. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  3806. | #endif
  3807. |
  3808. | #ifndef YY_TYPEDEF_YY_SIZE_T
  3809. | #define YY_TYPEDEF_YY_SIZE_T
  3810. | typedef size_t yy_size_t;
  3811. | #endif
  3812. |
  3813. | extern yy_size_t yyleng;
  3814. |
  3815. | extern FILE *yyin, *yyout;
  3816. |
  3817. | #define EOB_ACT_CONTINUE_SCAN 0
  3818. | #define EOB_ACT_END_OF_FILE 1
  3819. | #define EOB_ACT_LAST_MATCH 2
  3820. |
  3821. | #define YY_LESS_LINENO(n)
  3822. |
  3823. | /* Return all but the first "n" matched characters back to the input stream. */
  3824. | #define yyless(n) \
  3825. | do \
  3826. | { \
  3827. | /* Undo effects of setting up yytext. */ \
  3828. | int yyless_macro_arg = (n); \
  3829. | YY_LESS_LINENO(yyless_macro_arg);\
  3830. | *yy_cp = (yy_hold_char); \
  3831. | YY_RESTORE_YY_MORE_OFFSET \
  3832. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  3833. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  3834. | } \
  3835. | while ( 0 )
  3836. |
  3837. | #define unput(c) yyunput( c, (yytext_ptr) )
  3838. |
  3839. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  3840. | #define YY_STRUCT_YY_BUFFER_STATE
  3841. | struct yy_buffer_state
  3842. | {
  3843. | FILE *yy_input_file;
  3844. |
  3845. | char *yy_ch_buf; /* input buffer */
  3846. | char *yy_buf_pos; /* current position in input buffer */
  3847. |
  3848. | /* Size of input buffer in bytes, not including room for EOB
  3849. | * characters.
  3850. | */
  3851. | yy_size_t yy_buf_size;
  3852. |
  3853. | /* Number of characters read into yy_ch_buf, not including EOB
  3854. | * characters.
  3855. | */
  3856. | yy_size_t yy_n_chars;
  3857. |
  3858. | /* Whether we "own" the buffer - i.e., we know we created it,
  3859. | * and can realloc() it to grow it, and should free() it to
  3860. | * delete it.
  3861. | */
  3862. | int yy_is_our_buffer;
  3863. |
  3864. | /* Whether this is an "interactive" input source; if so, and
  3865. | * if we're using stdio for input, then we want to use getc()
  3866. | * instead of fread(), to make sure we stop fetching input after
  3867. | * each newline.
  3868. | */
  3869. | int yy_is_interactive;
  3870. |
  3871. | /* Whether we're considered to be at the beginning of a line.
  3872. | * If so, '^' rules will be active on the next match, otherwise
  3873. | * not.
  3874. | */
  3875. | int yy_at_bol;
  3876. |
  3877. | int yy_bs_lineno; /**< The line count. */
  3878. | int yy_bs_column; /**< The column count. */
  3879. |
  3880. | /* Whether to try to fill the input buffer when we reach the
  3881. | * end of it.
  3882. | */
  3883. | int yy_fill_buffer;
  3884. |
  3885. | int yy_buffer_status;
  3886. |
  3887. | #define YY_BUFFER_NEW 0
  3888. | #define YY_BUFFER_NORMAL 1
  3889. | /* When an EOF's been seen but there's still some text to process
  3890. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  3891. | * shouldn't try reading from the input source any more. We might
  3892. | * still have a bunch of tokens to match, though, because of
  3893. | * possible backing-up.
  3894. | *
  3895. | * When we actually see the EOF, we change the status to "new"
  3896. | * (via yyrestart()), so that the user can continue scanning by
  3897. | * just pointing yyin at a new input file.
  3898. | */
  3899. | #define YY_BUFFER_EOF_PENDING 2
  3900. |
  3901. | };
  3902. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  3903. |
  3904. | /* Stack of input buffers. */
  3905. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  3906. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  3907. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  3908. |
  3909. | /* We provide macros for accessing buffer states in case in the
  3910. | * future we want to put the buffer states in a more general
  3911. | * "scanner state".
  3912. | *
  3913. | * Returns the top of the stack, or NULL.
  3914. | */
  3915. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  3916. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  3917. | : NULL)
  3918. |
  3919. | /* Same as previous macro, but useful when we know that the buffer stack is not
  3920. | * NULL or when we need an lvalue. For internal use only.
  3921. | */
  3922. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  3923. |
  3924. | /* yy_hold_char holds the character lost when yytext is formed. */
  3925. | static char yy_hold_char;
  3926. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  3927. | yy_size_t yyleng;
  3928. |
  3929. | /* Points to current character in buffer. */
  3930. | static char *yy_c_buf_p = (char *) 0;
  3931. | static int yy_init = 0; /* whether we need to initialize */
  3932. | static int yy_start = 0; /* start state number */
  3933. |
  3934. | /* Flag which is used to allow yywrap()'s to do buffer switches
  3935. | * instead of setting up a fresh yyin. A bit of a hack ...
  3936. | */
  3937. | static int yy_did_buffer_switch_on_eof;
  3938. |
  3939. | void yyrestart (FILE *input_file );
  3940. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  3941. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  3942. | void yy_delete_buffer (YY_BUFFER_STATE b );
  3943. | void yy_flush_buffer (YY_BUFFER_STATE b );
  3944. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  3945. | void yypop_buffer_state (void );
  3946. |
  3947. | static void yyensure_buffer_stack (void );
  3948. | static void yy_load_buffer_state (void );
  3949. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  3950. |
  3951. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  3952. |
  3953. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  3954. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  3955. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  3956. |
  3957. | void *yyalloc (yy_size_t );
  3958. | void *yyrealloc (void *,yy_size_t );
  3959. | void yyfree (void * );
  3960. |
  3961. | #define yy_new_buffer yy_create_buffer
  3962. |
  3963. | #define yy_set_interactive(is_interactive) \
  3964. | { \
  3965. | if ( ! YY_CURRENT_BUFFER ){ \
  3966. | yyensure_buffer_stack (); \
  3967. | YY_CURRENT_BUFFER_LVALUE = \
  3968. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  3969. | } \
  3970. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  3971. | }
  3972. |
  3973. | #define yy_set_bol(at_bol) \
  3974. | { \
  3975. | if ( ! YY_CURRENT_BUFFER ){\
  3976. | yyensure_buffer_stack (); \
  3977. | YY_CURRENT_BUFFER_LVALUE = \
  3978. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  3979. | } \
  3980. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  3981. | }
  3982. |
  3983. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  3984. |
  3985. | /* Begin user sect3 */
  3986. |
  3987. | typedef unsigned char YY_CHAR;
  3988. |
  3989. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  3990. |
  3991. | typedef int yy_state_type;
  3992. |
  3993. | extern int yylineno;
  3994. |
  3995. | int yylineno = 1;
  3996. |
  3997. | extern char *yytext;
  3998. | #define yytext_ptr yytext
  3999. |
  4000. | static yy_state_type yy_get_previous_state (void );
  4001. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  4002. | static int yy_get_next_buffer (void );
  4003. | static void yy_fatal_error (yyconst char msg[] );
  4004. |
  4005. | /* Done after the current pattern has been matched and before the
  4006. | * corresponding action - sets up yytext.
  4007. | */
  4008. | #define YY_DO_BEFORE_ACTION \
  4009. | (yytext_ptr) = yy_bp; \
  4010. | (yytext_ptr) -= (yy_more_len); \
  4011. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  4012. | (yy_hold_char) = *yy_cp; \
  4013. | *yy_cp = '\0'; \
  4014. | (yy_c_buf_p) = yy_cp;
  4015. |
  4016. | #define YY_NUM_RULES 8
  4017. | #define YY_END_OF_BUFFER 9
  4018. | /* This struct is not used in this scanner,
  4019. | but its presence is necessary. */
  4020. | struct yy_trans_info
  4021. | {
  4022. | flex_int32_t yy_verify;
  4023. | flex_int32_t yy_nxt;
  4024. | };
  4025. | static yyconst flex_int16_t yy_acclist[23] =
  4026. | { 0,
  4027. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  4028. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  4029. | 7, 8
  4030. | } ;
  4031. |
  4032. | static yyconst flex_int16_t yy_accept[14] =
  4033. | { 0,
  4034. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  4035. | 20, 23, 23
  4036. | } ;
  4037. |
  4038. | static yyconst flex_int32_t yy_ec[256] =
  4039. | { 0,
  4040. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  4041. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4042. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4043. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4044. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4045. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4046. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4047. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4048. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4049. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  4050. |
  4051. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  4052. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4053. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4054. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4055. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4056. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4057. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4058. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4059. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4060. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4061. |
  4062. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4063. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4064. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4065. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4066. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4067. | 1, 1, 1, 1, 1
  4068. | } ;
  4069. |
  4070. | static yyconst flex_int32_t yy_meta[9] =
  4071. | { 0,
  4072. | 1, 1, 1, 1, 1, 1, 1, 1
  4073. | } ;
  4074. |
  4075. | static yyconst flex_int16_t yy_base[13] =
  4076. | { 0,
  4077. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  4078. | 10, 10
  4079. | } ;
  4080. |
  4081. | static yyconst flex_int16_t yy_def[13] =
  4082. | { 0,
  4083. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  4084. | 12, 0
  4085. | } ;
  4086. |
  4087. | static yyconst flex_int16_t yy_nxt[19] =
  4088. | { 0,
  4089. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  4090. | 12, 12, 12, 12, 12, 12, 12, 12
  4091. | } ;
  4092. |
  4093. | static yyconst flex_int16_t yy_chk[19] =
  4094. | { 0,
  4095. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  4096. | 12, 12, 12, 12, 12, 12, 12, 12
  4097. | } ;
  4098. |
  4099. | extern int yy_flex_debug;
  4100. | int yy_flex_debug = 0;
  4101. |
  4102. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  4103. | static char *yy_full_match;
  4104. | static int yy_lp;
  4105. | #define REJECT \
  4106. | { \
  4107. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  4108. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  4109. | ++(yy_lp); \
  4110. | goto find_rule; \
  4111. | }
  4112. |
  4113. | static int yy_more_flag = 0;
  4114. | static int yy_more_len = 0;
  4115. | #define yymore() ((yy_more_flag) = 1)
  4116. | #define YY_MORE_ADJ (yy_more_len)
  4117. | #define YY_RESTORE_YY_MORE_OFFSET
  4118. | char *yytext;
  4119. | #line 1 "conftest.l"
  4120. | #line 469 "lex.yy.c"
  4121. |
  4122. | #define INITIAL 0
  4123. |
  4124. | #ifndef YY_NO_UNISTD_H
  4125. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  4126. | * down here because we want the user's section 1 to have been scanned first.
  4127. | * The user has a chance to override it with an option.
  4128. | */
  4129. | #include <unistd.h>
  4130. | #endif
  4131. |
  4132. | #ifndef YY_EXTRA_TYPE
  4133. | #define YY_EXTRA_TYPE void *
  4134. | #endif
  4135. |
  4136. | static int yy_init_globals (void );
  4137. |
  4138. | /* Accessor methods to globals.
  4139. | These are made visible to non-reentrant scanners for convenience. */
  4140. |
  4141. | int yylex_destroy (void );
  4142. |
  4143. | int yyget_debug (void );
  4144. |
  4145. | void yyset_debug (int debug_flag );
  4146. |
  4147. | YY_EXTRA_TYPE yyget_extra (void );
  4148. |
  4149. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  4150. |
  4151. | FILE *yyget_in (void );
  4152. |
  4153. | void yyset_in (FILE * in_str );
  4154. |
  4155. | FILE *yyget_out (void );
  4156. |
  4157. | void yyset_out (FILE * out_str );
  4158. |
  4159. | yy_size_t yyget_leng (void );
  4160. |
  4161. | char *yyget_text (void );
  4162. |
  4163. | int yyget_lineno (void );
  4164. |
  4165. | void yyset_lineno (int line_number );
  4166. |
  4167. | /* Macros after this point can all be overridden by user definitions in
  4168. | * section 1.
  4169. | */
  4170. |
  4171. | #ifndef YY_SKIP_YYWRAP
  4172. | #ifdef __cplusplus
  4173. | extern "C" int yywrap (void );
  4174. | #else
  4175. | extern int yywrap (void );
  4176. | #endif
  4177. | #endif
  4178. |
  4179. | static void yyunput (int c,char *buf_ptr );
  4180. |
  4181. | #ifndef yytext_ptr
  4182. | static void yy_flex_strncpy (char *,yyconst char *,int );
  4183. | #endif
  4184. |
  4185. | #ifdef YY_NEED_STRLEN
  4186. | static int yy_flex_strlen (yyconst char * );
  4187. | #endif
  4188. |
  4189. | #ifndef YY_NO_INPUT
  4190. |
  4191. | #ifdef __cplusplus
  4192. | static int yyinput (void );
  4193. | #else
  4194. | static int input (void );
  4195. | #endif
  4196. |
  4197. | #endif
  4198. |
  4199. | /* Amount of stuff to slurp up with each read. */
  4200. | #ifndef YY_READ_BUF_SIZE
  4201. | #define YY_READ_BUF_SIZE 8192
  4202. | #endif
  4203. |
  4204. | /* Copy whatever the last rule matched to the standard output. */
  4205. | #ifndef ECHO
  4206. | /* This used to be an fputs(), but since the string might contain NUL's,
  4207. | * we now use fwrite().
  4208. | */
  4209. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  4210. | #endif
  4211. |
  4212. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  4213. | * is returned in "result".
  4214. | */
  4215. | #ifndef YY_INPUT
  4216. | #define YY_INPUT(buf,result,max_size) \
  4217. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  4218. | { \
  4219. | int c = '*'; \
  4220. | size_t n; \
  4221. | for ( n = 0; n < max_size && \
  4222. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  4223. | buf[n] = (char) c; \
  4224. | if ( c == '\n' ) \
  4225. | buf[n++] = (char) c; \
  4226. | if ( c == EOF && ferror( yyin ) ) \
  4227. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4228. | result = n; \
  4229. | } \
  4230. | else \
  4231. | { \
  4232. | errno=0; \
  4233. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  4234. | { \
  4235. | if( errno != EINTR) \
  4236. | { \
  4237. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4238. | break; \
  4239. | } \
  4240. | errno=0; \
  4241. | clearerr(yyin); \
  4242. | } \
  4243. | }\
  4244. | \
  4245. |
  4246. | #endif
  4247. |
  4248. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  4249. | * we don't want an extra ';' after the "return" because that will cause
  4250. | * some compilers to complain about unreachable statements.
  4251. | */
  4252. | #ifndef yyterminate
  4253. | #define yyterminate() return YY_NULL
  4254. | #endif
  4255. |
  4256. | /* Number of entries by which start-condition stack grows. */
  4257. | #ifndef YY_START_STACK_INCR
  4258. | #define YY_START_STACK_INCR 25
  4259. | #endif
  4260. |
  4261. | /* Report a fatal error. */
  4262. | #ifndef YY_FATAL_ERROR
  4263. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  4264. | #endif
  4265. |
  4266. | /* end tables serialization structures and prototypes */
  4267. |
  4268. | /* Default declaration of generated scanner - a define so the user can
  4269. | * easily add parameters.
  4270. | */
  4271. | #ifndef YY_DECL
  4272. | #define YY_DECL_IS_OURS 1
  4273. |
  4274. | extern int yylex (void);
  4275. |
  4276. | #define YY_DECL int yylex (void)
  4277. | #endif /* !YY_DECL */
  4278. |
  4279. | /* Code executed at the beginning of each rule, after yytext and yyleng
  4280. | * have been set up.
  4281. | */
  4282. | #ifndef YY_USER_ACTION
  4283. | #define YY_USER_ACTION
  4284. | #endif
  4285. |
  4286. | /* Code executed at the end of each rule. */
  4287. | #ifndef YY_BREAK
  4288. | #define YY_BREAK break;
  4289. | #endif
  4290. |
  4291. | #define YY_RULE_SETUP \
  4292. | YY_USER_ACTION
  4293. |
  4294. | /** The main scanner function which does all the work.
  4295. | */
  4296. | YY_DECL
  4297. | {
  4298. | register yy_state_type yy_current_state;
  4299. | register char *yy_cp, *yy_bp;
  4300. | register int yy_act;
  4301. |
  4302. | #line 1 "conftest.l"
  4303. |
  4304. | #line 653 "lex.yy.c"
  4305. |
  4306. | if ( !(yy_init) )
  4307. | {
  4308. | (yy_init) = 1;
  4309. |
  4310. | #ifdef YY_USER_INIT
  4311. | YY_USER_INIT;
  4312. | #endif
  4313. |
  4314. | /* Create the reject buffer large enough to save one state per allowed character. */
  4315. | if ( ! (yy_state_buf) )
  4316. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  4317. | if ( ! (yy_state_buf) )
  4318. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  4319. |
  4320. | if ( ! (yy_start) )
  4321. | (yy_start) = 1; /* first start state */
  4322. |
  4323. | if ( ! yyin )
  4324. | yyin = stdin;
  4325. |
  4326. | if ( ! yyout )
  4327. | yyout = stdout;
  4328. |
  4329. | if ( ! YY_CURRENT_BUFFER ) {
  4330. | yyensure_buffer_stack ();
  4331. | YY_CURRENT_BUFFER_LVALUE =
  4332. | yy_create_buffer(yyin,YY_BUF_SIZE );
  4333. | }
  4334. |
  4335. | yy_load_buffer_state( );
  4336. | }
  4337. |
  4338. | while ( 1 ) /* loops until end-of-file is reached */
  4339. | {
  4340. | (yy_more_len) = 0;
  4341. | if ( (yy_more_flag) )
  4342. | {
  4343. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  4344. | (yy_more_flag) = 0;
  4345. | }
  4346. | yy_cp = (yy_c_buf_p);
  4347. |
  4348. | /* Support of yytext. */
  4349. | *yy_cp = (yy_hold_char);
  4350. |
  4351. | /* yy_bp points to the position in yy_ch_buf of the start of
  4352. | * the current run.
  4353. | */
  4354. | yy_bp = yy_cp;
  4355. |
  4356. | yy_current_state = (yy_start);
  4357. |
  4358. | (yy_state_ptr) = (yy_state_buf);
  4359. | *(yy_state_ptr)++ = yy_current_state;
  4360. |
  4361. | yy_match:
  4362. | do
  4363. | {
  4364. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  4365. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  4366. | {
  4367. | yy_current_state = (int) yy_def[yy_current_state];
  4368. | if ( yy_current_state >= 13 )
  4369. | yy_c = yy_meta[(unsigned int) yy_c];
  4370. | }
  4371. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  4372. | *(yy_state_ptr)++ = yy_current_state;
  4373. | ++yy_cp;
  4374. | }
  4375. | while ( yy_base[yy_current_state] != 10 );
  4376. |
  4377. | yy_find_action:
  4378. | yy_current_state = *--(yy_state_ptr);
  4379. | (yy_lp) = yy_accept[yy_current_state];
  4380. | find_rule: /* we branch to this label when backing up */
  4381. | for ( ; ; ) /* until we find what rule we matched */
  4382. | {
  4383. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  4384. | {
  4385. | yy_act = yy_acclist[(yy_lp)];
  4386. | {
  4387. | (yy_full_match) = yy_cp;
  4388. | break;
  4389. | }
  4390. | }
  4391. | --yy_cp;
  4392. | yy_current_state = *--(yy_state_ptr);
  4393. | (yy_lp) = yy_accept[yy_current_state];
  4394. | }
  4395. |
  4396. | YY_DO_BEFORE_ACTION;
  4397. |
  4398. | do_action: /* This label is used only to access EOF actions. */
  4399. |
  4400. | switch ( yy_act )
  4401. | { /* beginning of action switch */
  4402. | case 1:
  4403. | YY_RULE_SETUP
  4404. | #line 2 "conftest.l"
  4405. | { ECHO; }
  4406. | YY_BREAK
  4407. | case 2:
  4408. | YY_RULE_SETUP
  4409. | #line 3 "conftest.l"
  4410. | { REJECT; }
  4411. | YY_BREAK
  4412. | case 3:
  4413. | YY_RULE_SETUP
  4414. | #line 4 "conftest.l"
  4415. | { yymore (); }
  4416. | YY_BREAK
  4417. | case 4:
  4418. | YY_RULE_SETUP
  4419. | #line 5 "conftest.l"
  4420. | { yyless (1); }
  4421. | YY_BREAK
  4422. | case 5:
  4423. | YY_RULE_SETUP
  4424. | #line 6 "conftest.l"
  4425. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  4426. | yyless ((input () != 0)); }
  4427. | YY_BREAK
  4428. | case 6:
  4429. | YY_RULE_SETUP
  4430. | #line 8 "conftest.l"
  4431. | { unput (yytext[0]); }
  4432. | YY_BREAK
  4433. | case 7:
  4434. | YY_RULE_SETUP
  4435. | #line 9 "conftest.l"
  4436. | { BEGIN INITIAL; }
  4437. | YY_BREAK
  4438. | case 8:
  4439. | YY_RULE_SETUP
  4440. | #line 10 "conftest.l"
  4441. | ECHO;
  4442. | YY_BREAK
  4443. | #line 792 "lex.yy.c"
  4444. | case YY_STATE_EOF(INITIAL):
  4445. | yyterminate();
  4446. |
  4447. | case YY_END_OF_BUFFER:
  4448. | {
  4449. | /* Amount of text matched not including the EOB char. */
  4450. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  4451. |
  4452. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  4453. | *yy_cp = (yy_hold_char);
  4454. | YY_RESTORE_YY_MORE_OFFSET
  4455. |
  4456. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  4457. | {
  4458. | /* We're scanning a new file or input source. It's
  4459. | * possible that this happened because the user
  4460. | * just pointed yyin at a new source and called
  4461. | * yylex(). If so, then we have to assure
  4462. | * consistency between YY_CURRENT_BUFFER and our
  4463. | * globals. Here is the right place to do so, because
  4464. | * this is the first action (other than possibly a
  4465. | * back-up) that will match for the new input source.
  4466. | */
  4467. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  4468. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  4469. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  4470. | }
  4471. |
  4472. | /* Note that here we test for yy_c_buf_p "<=" to the position
  4473. | * of the first EOB in the buffer, since yy_c_buf_p will
  4474. | * already have been incremented past the NUL character
  4475. | * (since all states make transitions on EOB to the
  4476. | * end-of-buffer state). Contrast this with the test
  4477. | * in input().
  4478. | */
  4479. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  4480. | { /* This was really a NUL. */
  4481. | yy_state_type yy_next_state;
  4482. |
  4483. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  4484. |
  4485. | yy_current_state = yy_get_previous_state( );
  4486. |
  4487. | /* Okay, we're now positioned to make the NUL
  4488. | * transition. We couldn't have
  4489. | * yy_get_previous_state() go ahead and do it
  4490. | * for us because it doesn't know how to deal
  4491. | * with the possibility of jamming (and we don't
  4492. | * want to build jamming into it because then it
  4493. | * will run more slowly).
  4494. | */
  4495. |
  4496. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  4497. |
  4498. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4499. |
  4500. | if ( yy_next_state )
  4501. | {
  4502. | /* Consume the NUL. */
  4503. | yy_cp = ++(yy_c_buf_p);
  4504. | yy_current_state = yy_next_state;
  4505. | goto yy_match;
  4506. | }
  4507. |
  4508. | else
  4509. | {
  4510. | yy_cp = (yy_c_buf_p);
  4511. | goto yy_find_action;
  4512. | }
  4513. | }
  4514. |
  4515. | else switch ( yy_get_next_buffer( ) )
  4516. | {
  4517. | case EOB_ACT_END_OF_FILE:
  4518. | {
  4519. | (yy_did_buffer_switch_on_eof) = 0;
  4520. |
  4521. | if ( yywrap( ) )
  4522. | {
  4523. | /* Note: because we've taken care in
  4524. | * yy_get_next_buffer() to have set up
  4525. | * yytext, we can now set up
  4526. | * yy_c_buf_p so that if some total
  4527. | * hoser (like flex itself) wants to
  4528. | * call the scanner after we return the
  4529. | * YY_NULL, it'll still work - another
  4530. | * YY_NULL will get returned.
  4531. | */
  4532. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  4533. |
  4534. | yy_act = YY_STATE_EOF(YY_START);
  4535. | goto do_action;
  4536. | }
  4537. |
  4538. | else
  4539. | {
  4540. | if ( ! (yy_did_buffer_switch_on_eof) )
  4541. | YY_NEW_FILE;
  4542. | }
  4543. | break;
  4544. | }
  4545. |
  4546. | case EOB_ACT_CONTINUE_SCAN:
  4547. | (yy_c_buf_p) =
  4548. | (yytext_ptr) + yy_amount_of_matched_text;
  4549. |
  4550. | yy_current_state = yy_get_previous_state( );
  4551. |
  4552. | yy_cp = (yy_c_buf_p);
  4553. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4554. | goto yy_match;
  4555. |
  4556. | case EOB_ACT_LAST_MATCH:
  4557. | (yy_c_buf_p) =
  4558. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  4559. |
  4560. | yy_current_state = yy_get_previous_state( );
  4561. |
  4562. | yy_cp = (yy_c_buf_p);
  4563. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4564. | goto yy_find_action;
  4565. | }
  4566. | break;
  4567. | }
  4568. |
  4569. | default:
  4570. | YY_FATAL_ERROR(
  4571. | "fatal flex scanner internal error--no action found" );
  4572. | } /* end of action switch */
  4573. | } /* end of scanning one token */
  4574. | } /* end of yylex */
  4575. |
  4576. | /* yy_get_next_buffer - try to read in a new buffer
  4577. | *
  4578. | * Returns a code representing an action:
  4579. | * EOB_ACT_LAST_MATCH -
  4580. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  4581. | * EOB_ACT_END_OF_FILE - end of file
  4582. | */
  4583. | static int yy_get_next_buffer (void)
  4584. | {
  4585. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  4586. | register char *source = (yytext_ptr);
  4587. | register int number_to_move, i;
  4588. | int ret_val;
  4589. |
  4590. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  4591. | YY_FATAL_ERROR(
  4592. | "fatal flex scanner internal error--end of buffer missed" );
  4593. |
  4594. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  4595. | { /* Don't try to fill the buffer, so this is an EOF. */
  4596. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  4597. | {
  4598. | /* We matched a single character, the EOB, so
  4599. | * treat this as a final EOF.
  4600. | */
  4601. | return EOB_ACT_END_OF_FILE;
  4602. | }
  4603. |
  4604. | else
  4605. | {
  4606. | /* We matched some text prior to the EOB, first
  4607. | * process it.
  4608. | */
  4609. | return EOB_ACT_LAST_MATCH;
  4610. | }
  4611. | }
  4612. |
  4613. | /* Try to read more data. */
  4614. |
  4615. | /* First move last chars to start of buffer. */
  4616. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  4617. |
  4618. | for ( i = 0; i < number_to_move; ++i )
  4619. | *(dest++) = *(source++);
  4620. |
  4621. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  4622. | /* don't do the read, it's not guaranteed to return an EOF,
  4623. | * just force an EOF
  4624. | */
  4625. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  4626. |
  4627. | else
  4628. | {
  4629. | yy_size_t num_to_read =
  4630. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  4631. |
  4632. | while ( num_to_read <= 0 )
  4633. | { /* Not enough room in the buffer - grow it. */
  4634. |
  4635. | YY_FATAL_ERROR(
  4636. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  4637. |
  4638. | }
  4639. |
  4640. | if ( num_to_read > YY_READ_BUF_SIZE )
  4641. | num_to_read = YY_READ_BUF_SIZE;
  4642. |
  4643. | /* Read in more data. */
  4644. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  4645. | (yy_n_chars), num_to_read );
  4646. |
  4647. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  4648. | }
  4649. |
  4650. | if ( (yy_n_chars) == 0 )
  4651. | {
  4652. | if ( number_to_move == YY_MORE_ADJ )
  4653. | {
  4654. | ret_val = EOB_ACT_END_OF_FILE;
  4655. | yyrestart(yyin );
  4656. | }
  4657. |
  4658. | else
  4659. | {
  4660. | ret_val = EOB_ACT_LAST_MATCH;
  4661. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  4662. | YY_BUFFER_EOF_PENDING;
  4663. | }
  4664. | }
  4665. |
  4666. | else
  4667. | ret_val = EOB_ACT_CONTINUE_SCAN;
  4668. |
  4669. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  4670. | /* Extend the array by 50%, plus the number we really need. */
  4671. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  4672. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  4673. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  4674. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  4675. | }
  4676. |
  4677. | (yy_n_chars) += number_to_move;
  4678. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  4679. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  4680. |
  4681. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  4682. |
  4683. | return ret_val;
  4684. | }
  4685. |
  4686. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  4687. |
  4688. | static yy_state_type yy_get_previous_state (void)
  4689. | {
  4690. | register yy_state_type yy_current_state;
  4691. | register char *yy_cp;
  4692. |
  4693. | yy_current_state = (yy_start);
  4694. |
  4695. | (yy_state_ptr) = (yy_state_buf);
  4696. | *(yy_state_ptr)++ = yy_current_state;
  4697. |
  4698. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  4699. | {
  4700. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  4701. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  4702. | {
  4703. | yy_current_state = (int) yy_def[yy_current_state];
  4704. | if ( yy_current_state >= 13 )
  4705. | yy_c = yy_meta[(unsigned int) yy_c];
  4706. | }
  4707. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  4708. | *(yy_state_ptr)++ = yy_current_state;
  4709. | }
  4710. |
  4711. | return yy_current_state;
  4712. | }
  4713. |
  4714. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  4715. | *
  4716. | * synopsis
  4717. | * next_state = yy_try_NUL_trans( current_state );
  4718. | */
  4719. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  4720. | {
  4721. | register int yy_is_jam;
  4722. |
  4723. | register YY_CHAR yy_c = 1;
  4724. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  4725. | {
  4726. | yy_current_state = (int) yy_def[yy_current_state];
  4727. | if ( yy_current_state >= 13 )
  4728. | yy_c = yy_meta[(unsigned int) yy_c];
  4729. | }
  4730. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  4731. | yy_is_jam = (yy_current_state == 12);
  4732. | if ( ! yy_is_jam )
  4733. | *(yy_state_ptr)++ = yy_current_state;
  4734. |
  4735. | return yy_is_jam ? 0 : yy_current_state;
  4736. | }
  4737. |
  4738. | static void yyunput (int c, register char * yy_bp )
  4739. | {
  4740. | register char *yy_cp;
  4741. |
  4742. | yy_cp = (yy_c_buf_p);
  4743. |
  4744. | /* undo effects of setting up yytext */
  4745. | *yy_cp = (yy_hold_char);
  4746. |
  4747. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  4748. | { /* need to shift things up to make room */
  4749. | /* +2 for EOB chars. */
  4750. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  4751. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  4752. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  4753. | register char *source =
  4754. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  4755. |
  4756. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  4757. | *--dest = *--source;
  4758. |
  4759. | yy_cp += (int) (dest - source);
  4760. | yy_bp += (int) (dest - source);
  4761. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  4762. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  4763. |
  4764. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  4765. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  4766. | }
  4767. |
  4768. | *--yy_cp = (char) c;
  4769. |
  4770. | (yytext_ptr) = yy_bp;
  4771. | (yy_hold_char) = *yy_cp;
  4772. | (yy_c_buf_p) = yy_cp;
  4773. | }
  4774. |
  4775. | #ifndef YY_NO_INPUT
  4776. | #ifdef __cplusplus
  4777. | static int yyinput (void)
  4778. | #else
  4779. | static int input (void)
  4780. | #endif
  4781. |
  4782. | {
  4783. | int c;
  4784. |
  4785. | *(yy_c_buf_p) = (yy_hold_char);
  4786. |
  4787. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  4788. | {
  4789. | /* yy_c_buf_p now points to the character we want to return.
  4790. | * If this occurs *before* the EOB characters, then it's a
  4791. | * valid NUL; if not, then we've hit the end of the buffer.
  4792. | */
  4793. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  4794. | /* This was really a NUL. */
  4795. | *(yy_c_buf_p) = '\0';
  4796. |
  4797. | else
  4798. | { /* need more input */
  4799. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  4800. | ++(yy_c_buf_p);
  4801. |
  4802. | switch ( yy_get_next_buffer( ) )
  4803. | {
  4804. | case EOB_ACT_LAST_MATCH:
  4805. | /* This happens because yy_g_n_b()
  4806. | * sees that we've accumulated a
  4807. | * token and flags that we need to
  4808. | * try matching the token before
  4809. | * proceeding. But for input(),
  4810. | * there's no matching to consider.
  4811. | * So convert the EOB_ACT_LAST_MATCH
  4812. | * to EOB_ACT_END_OF_FILE.
  4813. | */
  4814. |
  4815. | /* Reset buffer status. */
  4816. | yyrestart(yyin );
  4817. |
  4818. | /*FALLTHROUGH*/
  4819. |
  4820. | case EOB_ACT_END_OF_FILE:
  4821. | {
  4822. | if ( yywrap( ) )
  4823. | return EOF;
  4824. |
  4825. | if ( ! (yy_did_buffer_switch_on_eof) )
  4826. | YY_NEW_FILE;
  4827. | #ifdef __cplusplus
  4828. | return yyinput();
  4829. | #else
  4830. | return input();
  4831. | #endif
  4832. | }
  4833. |
  4834. | case EOB_ACT_CONTINUE_SCAN:
  4835. | (yy_c_buf_p) = (yytext_ptr) + offset;
  4836. | break;
  4837. | }
  4838. | }
  4839. | }
  4840. |
  4841. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  4842. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  4843. | (yy_hold_char) = *++(yy_c_buf_p);
  4844. |
  4845. | return c;
  4846. | }
  4847. | #endif /* ifndef YY_NO_INPUT */
  4848. |
  4849. | /** Immediately switch to a different input stream.
  4850. | * @param input_file A readable stream.
  4851. | *
  4852. | * @note This function does not reset the start condition to @c INITIAL .
  4853. | */
  4854. | void yyrestart (FILE * input_file )
  4855. | {
  4856. |
  4857. | if ( ! YY_CURRENT_BUFFER ){
  4858. | yyensure_buffer_stack ();
  4859. | YY_CURRENT_BUFFER_LVALUE =
  4860. | yy_create_buffer(yyin,YY_BUF_SIZE );
  4861. | }
  4862. |
  4863. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  4864. | yy_load_buffer_state( );
  4865. | }
  4866. |
  4867. | /** Switch to a different input buffer.
  4868. | * @param new_buffer The new input buffer.
  4869. | *
  4870. | */
  4871. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  4872. | {
  4873. |
  4874. | /* TODO. We should be able to replace this entire function body
  4875. | * with
  4876. | * yypop_buffer_state();
  4877. | * yypush_buffer_state(new_buffer);
  4878. | */
  4879. | yyensure_buffer_stack ();
  4880. | if ( YY_CURRENT_BUFFER == new_buffer )
  4881. | return;
  4882. |
  4883. | if ( YY_CURRENT_BUFFER )
  4884. | {
  4885. | /* Flush out information for old buffer. */
  4886. | *(yy_c_buf_p) = (yy_hold_char);
  4887. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  4888. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  4889. | }
  4890. |
  4891. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  4892. | yy_load_buffer_state( );
  4893. |
  4894. | /* We don't actually know whether we did this switch during
  4895. | * EOF (yywrap()) processing, but the only time this flag
  4896. | * is looked at is after yywrap() is called, so it's safe
  4897. | * to go ahead and always set it.
  4898. | */
  4899. | (yy_did_buffer_switch_on_eof) = 1;
  4900. | }
  4901. |
  4902. | static void yy_load_buffer_state (void)
  4903. | {
  4904. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  4905. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  4906. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  4907. | (yy_hold_char) = *(yy_c_buf_p);
  4908. | }
  4909. |
  4910. | /** Allocate and initialize an input buffer state.
  4911. | * @param file A readable stream.
  4912. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  4913. | *
  4914. | * @return the allocated buffer state.
  4915. | */
  4916. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  4917. | {
  4918. | YY_BUFFER_STATE b;
  4919. |
  4920. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  4921. | if ( ! b )
  4922. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  4923. |
  4924. | b->yy_buf_size = size;
  4925. |
  4926. | /* yy_ch_buf has to be 2 characters longer than the size given because
  4927. | * we need to put in 2 end-of-buffer characters.
  4928. | */
  4929. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  4930. | if ( ! b->yy_ch_buf )
  4931. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  4932. |
  4933. | b->yy_is_our_buffer = 1;
  4934. |
  4935. | yy_init_buffer(b,file );
  4936. |
  4937. | return b;
  4938. | }
  4939. |
  4940. | /** Destroy the buffer.
  4941. | * @param b a buffer created with yy_create_buffer()
  4942. | *
  4943. | */
  4944. | void yy_delete_buffer (YY_BUFFER_STATE b )
  4945. | {
  4946. |
  4947. | if ( ! b )
  4948. | return;
  4949. |
  4950. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  4951. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  4952. |
  4953. | if ( b->yy_is_our_buffer )
  4954. | yyfree((void *) b->yy_ch_buf );
  4955. |
  4956. | yyfree((void *) b );
  4957. | }
  4958. |
  4959. | /* Initializes or reinitializes a buffer.
  4960. | * This function is sometimes called more than once on the same buffer,
  4961. | * such as during a yyrestart() or at EOF.
  4962. | */
  4963. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  4964. |
  4965. | {
  4966. | int oerrno = errno;
  4967. |
  4968. | yy_flush_buffer(b );
  4969. |
  4970. | b->yy_input_file = file;
  4971. | b->yy_fill_buffer = 1;
  4972. |
  4973. | /* If b is the current buffer, then yy_init_buffer was _probably_
  4974. | * called from yyrestart() or through yy_get_next_buffer.
  4975. | * In that case, we don't want to reset the lineno or column.
  4976. | */
  4977. | if (b != YY_CURRENT_BUFFER){
  4978. | b->yy_bs_lineno = 1;
  4979. | b->yy_bs_column = 0;
  4980. | }
  4981. |
  4982. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  4983. |
  4984. | errno = oerrno;
  4985. | }
  4986. |
  4987. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  4988. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  4989. | *
  4990. | */
  4991. | void yy_flush_buffer (YY_BUFFER_STATE b )
  4992. | {
  4993. | if ( ! b )
  4994. | return;
  4995. |
  4996. | b->yy_n_chars = 0;
  4997. |
  4998. | /* We always need two end-of-buffer characters. The first causes
  4999. | * a transition to the end-of-buffer state. The second causes
  5000. | * a jam in that state.
  5001. | */
  5002. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  5003. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  5004. |
  5005. | b->yy_buf_pos = &b->yy_ch_buf[0];
  5006. |
  5007. | b->yy_at_bol = 1;
  5008. | b->yy_buffer_status = YY_BUFFER_NEW;
  5009. |
  5010. | if ( b == YY_CURRENT_BUFFER )
  5011. | yy_load_buffer_state( );
  5012. | }
  5013. |
  5014. | /** Pushes the new state onto the stack. The new state becomes
  5015. | * the current state. This function will allocate the stack
  5016. | * if necessary.
  5017. | * @param new_buffer The new state.
  5018. | *
  5019. | */
  5020. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  5021. | {
  5022. | if (new_buffer == NULL)
  5023. | return;
  5024. |
  5025. | yyensure_buffer_stack();
  5026. |
  5027. | /* This block is copied from yy_switch_to_buffer. */
  5028. | if ( YY_CURRENT_BUFFER )
  5029. | {
  5030. | /* Flush out information for old buffer. */
  5031. | *(yy_c_buf_p) = (yy_hold_char);
  5032. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5033. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5034. | }
  5035. |
  5036. | /* Only push if top exists. Otherwise, replace top. */
  5037. | if (YY_CURRENT_BUFFER)
  5038. | (yy_buffer_stack_top)++;
  5039. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5040. |
  5041. | /* copied from yy_switch_to_buffer. */
  5042. | yy_load_buffer_state( );
  5043. | (yy_did_buffer_switch_on_eof) = 1;
  5044. | }
  5045. |
  5046. | /** Removes and deletes the top of the stack, if present.
  5047. | * The next element becomes the new top.
  5048. | *
  5049. | */
  5050. | void yypop_buffer_state (void)
  5051. | {
  5052. | if (!YY_CURRENT_BUFFER)
  5053. | return;
  5054. |
  5055. | yy_delete_buffer(YY_CURRENT_BUFFER );
  5056. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5057. | if ((yy_buffer_stack_top) > 0)
  5058. | --(yy_buffer_stack_top);
  5059. |
  5060. | if (YY_CURRENT_BUFFER) {
  5061. | yy_load_buffer_state( );
  5062. | (yy_did_buffer_switch_on_eof) = 1;
  5063. | }
  5064. | }
  5065. |
  5066. | /* Allocates the stack if it does not exist.
  5067. | * Guarantees space for at least one push.
  5068. | */
  5069. | static void yyensure_buffer_stack (void)
  5070. | {
  5071. | yy_size_t num_to_alloc;
  5072. |
  5073. | if (!(yy_buffer_stack)) {
  5074. |
  5075. | /* First allocation is just for 2 elements, since we don't know if this
  5076. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  5077. | * immediate realloc on the next call.
  5078. | */
  5079. | num_to_alloc = 1;
  5080. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  5081. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  5082. | );
  5083. | if ( ! (yy_buffer_stack) )
  5084. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5085. |
  5086. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  5087. |
  5088. | (yy_buffer_stack_max) = num_to_alloc;
  5089. | (yy_buffer_stack_top) = 0;
  5090. | return;
  5091. | }
  5092. |
  5093. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  5094. |
  5095. | /* Increase the buffer to prepare for a possible push. */
  5096. | int grow_size = 8 /* arbitrary grow size */;
  5097. |
  5098. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  5099. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  5100. | ((yy_buffer_stack),
  5101. | num_to_alloc * sizeof(struct yy_buffer_state*)
  5102. | );
  5103. | if ( ! (yy_buffer_stack) )
  5104. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5105. |
  5106. | /* zero only the new slots.*/
  5107. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  5108. | (yy_buffer_stack_max) = num_to_alloc;
  5109. | }
  5110. | }
  5111. |
  5112. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  5113. | * @param base the character buffer
  5114. | * @param size the size in bytes of the character buffer
  5115. | *
  5116. | * @return the newly allocated buffer state object.
  5117. | */
  5118. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  5119. | {
  5120. | YY_BUFFER_STATE b;
  5121. |
  5122. | if ( size < 2 ||
  5123. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  5124. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  5125. | /* They forgot to leave room for the EOB's. */
  5126. | return 0;
  5127. |
  5128. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  5129. | if ( ! b )
  5130. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  5131. |
  5132. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  5133. | b->yy_buf_pos = b->yy_ch_buf = base;
  5134. | b->yy_is_our_buffer = 0;
  5135. | b->yy_input_file = 0;
  5136. | b->yy_n_chars = b->yy_buf_size;
  5137. | b->yy_is_interactive = 0;
  5138. | b->yy_at_bol = 1;
  5139. | b->yy_fill_buffer = 0;
  5140. | b->yy_buffer_status = YY_BUFFER_NEW;
  5141. |
  5142. | yy_switch_to_buffer(b );
  5143. |
  5144. | return b;
  5145. | }
  5146. |
  5147. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  5148. | * scan from a @e copy of @a str.
  5149. | * @param yystr a NUL-terminated string to scan
  5150. | *
  5151. | * @return the newly allocated buffer state object.
  5152. | * @note If you want to scan bytes that may contain NUL values, then use
  5153. | * yy_scan_bytes() instead.
  5154. | */
  5155. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  5156. | {
  5157. |
  5158. | return yy_scan_bytes(yystr,strlen(yystr) );
  5159. | }
  5160. |
  5161. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  5162. | * scan from a @e copy of @a bytes.
  5163. | * @param yybytes the byte buffer to scan
  5164. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  5165. | *
  5166. | * @return the newly allocated buffer state object.
  5167. | */
  5168. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  5169. | {
  5170. | YY_BUFFER_STATE b;
  5171. | char *buf;
  5172. | yy_size_t n;
  5173. | int i;
  5174. |
  5175. | /* Get memory for full buffer, including space for trailing EOB's. */
  5176. | n = _yybytes_len + 2;
  5177. | buf = (char *) yyalloc(n );
  5178. | if ( ! buf )
  5179. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  5180. |
  5181. | for ( i = 0; i < _yybytes_len; ++i )
  5182. | buf[i] = yybytes[i];
  5183. |
  5184. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  5185. |
  5186. | b = yy_scan_buffer(buf,n );
  5187. | if ( ! b )
  5188. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  5189. |
  5190. | /* It's okay to grow etc. this buffer, and we should throw it
  5191. | * away when we're done.
  5192. | */
  5193. | b->yy_is_our_buffer = 1;
  5194. |
  5195. | return b;
  5196. | }
  5197. |
  5198. | #ifndef YY_EXIT_FAILURE
  5199. | #define YY_EXIT_FAILURE 2
  5200. | #endif
  5201. |
  5202. | static void yy_fatal_error (yyconst char* msg )
  5203. | {
  5204. | (void) fprintf( stderr, "%s\n", msg );
  5205. | exit( YY_EXIT_FAILURE );
  5206. | }
  5207. |
  5208. | /* Redefine yyless() so it works in section 3 code. */
  5209. |
  5210. | #undef yyless
  5211. | #define yyless(n) \
  5212. | do \
  5213. | { \
  5214. | /* Undo effects of setting up yytext. */ \
  5215. | int yyless_macro_arg = (n); \
  5216. | YY_LESS_LINENO(yyless_macro_arg);\
  5217. | yytext[yyleng] = (yy_hold_char); \
  5218. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  5219. | (yy_hold_char) = *(yy_c_buf_p); \
  5220. | *(yy_c_buf_p) = '\0'; \
  5221. | yyleng = yyless_macro_arg; \
  5222. | } \
  5223. | while ( 0 )
  5224. |
  5225. | /* Accessor methods (get/set functions) to struct members. */
  5226. |
  5227. | /** Get the current line number.
  5228. | *
  5229. | */
  5230. | int yyget_lineno (void)
  5231. | {
  5232. |
  5233. | return yylineno;
  5234. | }
  5235. |
  5236. | /** Get the input stream.
  5237. | *
  5238. | */
  5239. | FILE *yyget_in (void)
  5240. | {
  5241. | return yyin;
  5242. | }
  5243. |
  5244. | /** Get the output stream.
  5245. | *
  5246. | */
  5247. | FILE *yyget_out (void)
  5248. | {
  5249. | return yyout;
  5250. | }
  5251. |
  5252. | /** Get the length of the current token.
  5253. | *
  5254. | */
  5255. | yy_size_t yyget_leng (void)
  5256. | {
  5257. | return yyleng;
  5258. | }
  5259. |
  5260. | /** Get the current token.
  5261. | *
  5262. | */
  5263. |
  5264. | char *yyget_text (void)
  5265. | {
  5266. | return yytext;
  5267. | }
  5268. |
  5269. | /** Set the current line number.
  5270. | * @param line_number
  5271. | *
  5272. | */
  5273. | void yyset_lineno (int line_number )
  5274. | {
  5275. |
  5276. | yylineno = line_number;
  5277. | }
  5278. |
  5279. | /** Set the input stream. This does not discard the current
  5280. | * input buffer.
  5281. | * @param in_str A readable stream.
  5282. | *
  5283. | * @see yy_switch_to_buffer
  5284. | */
  5285. | void yyset_in (FILE * in_str )
  5286. | {
  5287. | yyin = in_str ;
  5288. | }
  5289. |
  5290. | void yyset_out (FILE * out_str )
  5291. | {
  5292. | yyout = out_str ;
  5293. | }
  5294. |
  5295. | int yyget_debug (void)
  5296. | {
  5297. | return yy_flex_debug;
  5298. | }
  5299. |
  5300. | void yyset_debug (int bdebug )
  5301. | {
  5302. | yy_flex_debug = bdebug ;
  5303. | }
  5304. |
  5305. | static int yy_init_globals (void)
  5306. | {
  5307. | /* Initialization is the same as for the non-reentrant scanner.
  5308. | * This function is called from yylex_destroy(), so don't allocate here.
  5309. | */
  5310. |
  5311. | (yy_buffer_stack) = 0;
  5312. | (yy_buffer_stack_top) = 0;
  5313. | (yy_buffer_stack_max) = 0;
  5314. | (yy_c_buf_p) = (char *) 0;
  5315. | (yy_init) = 0;
  5316. | (yy_start) = 0;
  5317. |
  5318. | (yy_state_buf) = 0;
  5319. | (yy_state_ptr) = 0;
  5320. | (yy_full_match) = 0;
  5321. | (yy_lp) = 0;
  5322. |
  5323. | /* Defined in main.c */
  5324. | #ifdef YY_STDINIT
  5325. | yyin = stdin;
  5326. | yyout = stdout;
  5327. | #else
  5328. | yyin = (FILE *) 0;
  5329. | yyout = (FILE *) 0;
  5330. | #endif
  5331. |
  5332. | /* For future reference: Set errno on error, since we are called by
  5333. | * yylex_init()
  5334. | */
  5335. | return 0;
  5336. | }
  5337. |
  5338. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  5339. | int yylex_destroy (void)
  5340. | {
  5341. |
  5342. | /* Pop the buffer stack, destroying each element. */
  5343. | while(YY_CURRENT_BUFFER){
  5344. | yy_delete_buffer(YY_CURRENT_BUFFER );
  5345. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5346. | yypop_buffer_state();
  5347. | }
  5348. |
  5349. | /* Destroy the stack itself. */
  5350. | yyfree((yy_buffer_stack) );
  5351. | (yy_buffer_stack) = NULL;
  5352. |
  5353. | yyfree ( (yy_state_buf) );
  5354. | (yy_state_buf) = NULL;
  5355. |
  5356. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  5357. | * yylex() is called, initialization will occur. */
  5358. | yy_init_globals( );
  5359. |
  5360. | return 0;
  5361. | }
  5362. |
  5363. | /*
  5364. | * Internal utility routines.
  5365. | */
  5366. |
  5367. | #ifndef yytext_ptr
  5368. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  5369. | {
  5370. | register int i;
  5371. | for ( i = 0; i < n; ++i )
  5372. | s1[i] = s2[i];
  5373. | }
  5374. | #endif
  5375. |
  5376. | #ifdef YY_NEED_STRLEN
  5377. | static int yy_flex_strlen (yyconst char * s )
  5378. | {
  5379. | register int n;
  5380. | for ( n = 0; s[n]; ++n )
  5381. | ;
  5382. |
  5383. | return n;
  5384. | }
  5385. | #endif
  5386. |
  5387. | void *yyalloc (yy_size_t size )
  5388. | {
  5389. | return (void *) malloc( size );
  5390. | }
  5391. |
  5392. | void *yyrealloc (void * ptr, yy_size_t size )
  5393. | {
  5394. | /* The cast to (char *) in the following accommodates both
  5395. | * implementations that use char* generic pointers, and those
  5396. | * that use void* generic pointers. It works with the latter
  5397. | * because both ANSI C and C++ allow castless assignment from
  5398. | * any pointer type to void*, and deal with argument conversions
  5399. | * as though doing an assignment.
  5400. | */
  5401. | return (void *) realloc( (char *) ptr, size );
  5402. | }
  5403. |
  5404. | void yyfree (void * ptr )
  5405. | {
  5406. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  5407. | }
  5408. |
  5409. | #define YYTABLES_NAME "yytables"
  5410. |
  5411. | #line 10 "conftest.l"
  5412. |
  5413. |
  5414. | #ifdef YYTEXT_POINTER
  5415. | extern char *yytext;
  5416. | #endif
  5417. | int
  5418. | main (void)
  5419. | {
  5420. | return ! yylex () + ! yywrap ();
  5421. | }
  5422. configure:19127: gcc -o conftest -g -O2 conftest.c -ll >&5
  5423. /usr/bin/ld: cannot find -ll
  5424. collect2: error: ld returned 1 exit status
  5425. configure:19127: $? = 1
  5426. configure: failed program was:
  5427. | /* confdefs.h */
  5428. | #define PACKAGE_NAME "ClamAV"
  5429. | #define PACKAGE_TARNAME "clamav"
  5430. | #define PACKAGE_VERSION "0.102.0"
  5431. | #define PACKAGE_STRING "ClamAV 0.102.0"
  5432. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  5433. | #define PACKAGE_URL "https://www.clamav.net/"
  5434. | #define PACKAGE PACKAGE_NAME
  5435. | #define STDC_HEADERS 1
  5436. | #define HAVE_SYS_TYPES_H 1
  5437. | #define HAVE_SYS_STAT_H 1
  5438. | #define HAVE_STDLIB_H 1
  5439. | #define HAVE_STRING_H 1
  5440. | #define HAVE_MEMORY_H 1
  5441. | #define HAVE_STRINGS_H 1
  5442. | #define HAVE_INTTYPES_H 1
  5443. | #define HAVE_STDINT_H 1
  5444. | #define HAVE_UNISTD_H 1
  5445. | #define __EXTENSIONS__ 1
  5446. | #define _ALL_SOURCE 1
  5447. | #define _GNU_SOURCE 1
  5448. | #define _POSIX_PTHREAD_SEMANTICS 1
  5449. | #define _TANDEM_SOURCE 1
  5450. | #define LIBCLAMAV_FULLVER "9.0.4"
  5451. | #define LIBCLAMAV_MAJORVER 9
  5452. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  5453. | #define LIBFRESHCLAM_MAJORVER 2
  5454. | #define VERSION "0.102.0"
  5455. | #define VERSION_SUFFIX ""
  5456. | #define HAVE_DLFCN_H 1
  5457. | #define LT_OBJDIR ".libs/"
  5458. | #define LT_MODULE_EXT ".so"
  5459. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  5460. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  5461. | #define HAVE_LIBDL 1
  5462. | #define HAVE_DLERROR 1
  5463. | #define HAVE_LIBDLLOADER 1
  5464. | #define HAVE_ARGZ_H 1
  5465. | #define HAVE_ERROR_T 1
  5466. | #define HAVE_ARGZ_ADD 1
  5467. | #define HAVE_ARGZ_APPEND 1
  5468. | #define HAVE_ARGZ_COUNT 1
  5469. | #define HAVE_ARGZ_CREATE_SEP 1
  5470. | #define HAVE_ARGZ_INSERT 1
  5471. | #define HAVE_ARGZ_NEXT 1
  5472. | #define HAVE_ARGZ_STRINGIFY 1
  5473. | #define HAVE_WORKING_ARGZ 1
  5474. | #define HAVE_PRELOADED_SYMBOLS 1
  5475. | #define HAVE_LTDL 1
  5476. | #define HAVE_UNISTD_H 1
  5477. | #define HAVE_DIRENT_H 1
  5478. | #define HAVE_CLOSEDIR 1
  5479. | #define HAVE_OPENDIR 1
  5480. | #define HAVE_READDIR 1
  5481. | #define LT_LIBEXT "a"
  5482. | #define LT_LIBPREFIX "lib"
  5483. | /* end confdefs.h. */
  5484. |
  5485. | #line 3 "lex.yy.c"
  5486. |
  5487. | #define YY_INT_ALIGNED short int
  5488. |
  5489. | /* A lexical scanner generated by flex */
  5490. |
  5491. | #define FLEX_SCANNER
  5492. | #define YY_FLEX_MAJOR_VERSION 2
  5493. | #define YY_FLEX_MINOR_VERSION 5
  5494. | #define YY_FLEX_SUBMINOR_VERSION 37
  5495. | #if YY_FLEX_SUBMINOR_VERSION > 0
  5496. | #define FLEX_BETA
  5497. | #endif
  5498. |
  5499. | /* First, we deal with platform-specific or compiler-specific issues. */
  5500. |
  5501. | /* begin standard C headers. */
  5502. | #include <stdio.h>
  5503. | #include <string.h>
  5504. | #include <errno.h>
  5505. | #include <stdlib.h>
  5506. |
  5507. | /* end standard C headers. */
  5508. |
  5509. | /* flex integer type definitions */
  5510. |
  5511. | #ifndef FLEXINT_H
  5512. | #define FLEXINT_H
  5513. |
  5514. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  5515. |
  5516. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  5517. |
  5518. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  5519. | * if you want the limit (max/min) macros for int types.
  5520. | */
  5521. | #ifndef __STDC_LIMIT_MACROS
  5522. | #define __STDC_LIMIT_MACROS 1
  5523. | #endif
  5524. |
  5525. | #include <inttypes.h>
  5526. | typedef int8_t flex_int8_t;
  5527. | typedef uint8_t flex_uint8_t;
  5528. | typedef int16_t flex_int16_t;
  5529. | typedef uint16_t flex_uint16_t;
  5530. | typedef int32_t flex_int32_t;
  5531. | typedef uint32_t flex_uint32_t;
  5532. | #else
  5533. | typedef signed char flex_int8_t;
  5534. | typedef short int flex_int16_t;
  5535. | typedef int flex_int32_t;
  5536. | typedef unsigned char flex_uint8_t;
  5537. | typedef unsigned short int flex_uint16_t;
  5538. | typedef unsigned int flex_uint32_t;
  5539. |
  5540. | /* Limits of integral types. */
  5541. | #ifndef INT8_MIN
  5542. | #define INT8_MIN (-128)
  5543. | #endif
  5544. | #ifndef INT16_MIN
  5545. | #define INT16_MIN (-32767-1)
  5546. | #endif
  5547. | #ifndef INT32_MIN
  5548. | #define INT32_MIN (-2147483647-1)
  5549. | #endif
  5550. | #ifndef INT8_MAX
  5551. | #define INT8_MAX (127)
  5552. | #endif
  5553. | #ifndef INT16_MAX
  5554. | #define INT16_MAX (32767)
  5555. | #endif
  5556. | #ifndef INT32_MAX
  5557. | #define INT32_MAX (2147483647)
  5558. | #endif
  5559. | #ifndef UINT8_MAX
  5560. | #define UINT8_MAX (255U)
  5561. | #endif
  5562. | #ifndef UINT16_MAX
  5563. | #define UINT16_MAX (65535U)
  5564. | #endif
  5565. | #ifndef UINT32_MAX
  5566. | #define UINT32_MAX (4294967295U)
  5567. | #endif
  5568. |
  5569. | #endif /* ! C99 */
  5570. |
  5571. | #endif /* ! FLEXINT_H */
  5572. |
  5573. | #ifdef __cplusplus
  5574. |
  5575. | /* The "const" storage-class-modifier is valid. */
  5576. | #define YY_USE_CONST
  5577. |
  5578. | #else /* ! __cplusplus */
  5579. |
  5580. | /* C99 requires __STDC__ to be defined as 1. */
  5581. | #if defined (__STDC__)
  5582. |
  5583. | #define YY_USE_CONST
  5584. |
  5585. | #endif /* defined (__STDC__) */
  5586. | #endif /* ! __cplusplus */
  5587. |
  5588. | #ifdef YY_USE_CONST
  5589. | #define yyconst const
  5590. | #else
  5591. | #define yyconst
  5592. | #endif
  5593. |
  5594. | /* Returned upon end-of-file. */
  5595. | #define YY_NULL 0
  5596. |
  5597. | /* Promotes a possibly negative, possibly signed char to an unsigned
  5598. | * integer for use as an array index. If the signed char is negative,
  5599. | * we want to instead treat it as an 8-bit unsigned char, hence the
  5600. | * double cast.
  5601. | */
  5602. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  5603. |
  5604. | /* Enter a start condition. This macro really ought to take a parameter,
  5605. | * but we do it the disgusting crufty way forced on us by the ()-less
  5606. | * definition of BEGIN.
  5607. | */
  5608. | #define BEGIN (yy_start) = 1 + 2 *
  5609. |
  5610. | /* Translate the current start state into a value that can be later handed
  5611. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  5612. | * compatibility.
  5613. | */
  5614. | #define YY_START (((yy_start) - 1) / 2)
  5615. | #define YYSTATE YY_START
  5616. |
  5617. | /* Action number for EOF rule of a given start state. */
  5618. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  5619. |
  5620. | /* Special action meaning "start processing a new file". */
  5621. | #define YY_NEW_FILE yyrestart(yyin )
  5622. |
  5623. | #define YY_END_OF_BUFFER_CHAR 0
  5624. |
  5625. | /* Size of default input buffer. */
  5626. | #ifndef YY_BUF_SIZE
  5627. | #define YY_BUF_SIZE 16384
  5628. | #endif
  5629. |
  5630. | /* The state buf must be large enough to hold one state per character in the main buffer.
  5631. | */
  5632. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  5633. |
  5634. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  5635. | #define YY_TYPEDEF_YY_BUFFER_STATE
  5636. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  5637. | #endif
  5638. |
  5639. | #ifndef YY_TYPEDEF_YY_SIZE_T
  5640. | #define YY_TYPEDEF_YY_SIZE_T
  5641. | typedef size_t yy_size_t;
  5642. | #endif
  5643. |
  5644. | extern yy_size_t yyleng;
  5645. |
  5646. | extern FILE *yyin, *yyout;
  5647. |
  5648. | #define EOB_ACT_CONTINUE_SCAN 0
  5649. | #define EOB_ACT_END_OF_FILE 1
  5650. | #define EOB_ACT_LAST_MATCH 2
  5651. |
  5652. | #define YY_LESS_LINENO(n)
  5653. |
  5654. | /* Return all but the first "n" matched characters back to the input stream. */
  5655. | #define yyless(n) \
  5656. | do \
  5657. | { \
  5658. | /* Undo effects of setting up yytext. */ \
  5659. | int yyless_macro_arg = (n); \
  5660. | YY_LESS_LINENO(yyless_macro_arg);\
  5661. | *yy_cp = (yy_hold_char); \
  5662. | YY_RESTORE_YY_MORE_OFFSET \
  5663. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  5664. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  5665. | } \
  5666. | while ( 0 )
  5667. |
  5668. | #define unput(c) yyunput( c, (yytext_ptr) )
  5669. |
  5670. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  5671. | #define YY_STRUCT_YY_BUFFER_STATE
  5672. | struct yy_buffer_state
  5673. | {
  5674. | FILE *yy_input_file;
  5675. |
  5676. | char *yy_ch_buf; /* input buffer */
  5677. | char *yy_buf_pos; /* current position in input buffer */
  5678. |
  5679. | /* Size of input buffer in bytes, not including room for EOB
  5680. | * characters.
  5681. | */
  5682. | yy_size_t yy_buf_size;
  5683. |
  5684. | /* Number of characters read into yy_ch_buf, not including EOB
  5685. | * characters.
  5686. | */
  5687. | yy_size_t yy_n_chars;
  5688. |
  5689. | /* Whether we "own" the buffer - i.e., we know we created it,
  5690. | * and can realloc() it to grow it, and should free() it to
  5691. | * delete it.
  5692. | */
  5693. | int yy_is_our_buffer;
  5694. |
  5695. | /* Whether this is an "interactive" input source; if so, and
  5696. | * if we're using stdio for input, then we want to use getc()
  5697. | * instead of fread(), to make sure we stop fetching input after
  5698. | * each newline.
  5699. | */
  5700. | int yy_is_interactive;
  5701. |
  5702. | /* Whether we're considered to be at the beginning of a line.
  5703. | * If so, '^' rules will be active on the next match, otherwise
  5704. | * not.
  5705. | */
  5706. | int yy_at_bol;
  5707. |
  5708. | int yy_bs_lineno; /**< The line count. */
  5709. | int yy_bs_column; /**< The column count. */
  5710. |
  5711. | /* Whether to try to fill the input buffer when we reach the
  5712. | * end of it.
  5713. | */
  5714. | int yy_fill_buffer;
  5715. |
  5716. | int yy_buffer_status;
  5717. |
  5718. | #define YY_BUFFER_NEW 0
  5719. | #define YY_BUFFER_NORMAL 1
  5720. | /* When an EOF's been seen but there's still some text to process
  5721. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  5722. | * shouldn't try reading from the input source any more. We might
  5723. | * still have a bunch of tokens to match, though, because of
  5724. | * possible backing-up.
  5725. | *
  5726. | * When we actually see the EOF, we change the status to "new"
  5727. | * (via yyrestart()), so that the user can continue scanning by
  5728. | * just pointing yyin at a new input file.
  5729. | */
  5730. | #define YY_BUFFER_EOF_PENDING 2
  5731. |
  5732. | };
  5733. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  5734. |
  5735. | /* Stack of input buffers. */
  5736. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  5737. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  5738. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  5739. |
  5740. | /* We provide macros for accessing buffer states in case in the
  5741. | * future we want to put the buffer states in a more general
  5742. | * "scanner state".
  5743. | *
  5744. | * Returns the top of the stack, or NULL.
  5745. | */
  5746. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  5747. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  5748. | : NULL)
  5749. |
  5750. | /* Same as previous macro, but useful when we know that the buffer stack is not
  5751. | * NULL or when we need an lvalue. For internal use only.
  5752. | */
  5753. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  5754. |
  5755. | /* yy_hold_char holds the character lost when yytext is formed. */
  5756. | static char yy_hold_char;
  5757. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  5758. | yy_size_t yyleng;
  5759. |
  5760. | /* Points to current character in buffer. */
  5761. | static char *yy_c_buf_p = (char *) 0;
  5762. | static int yy_init = 0; /* whether we need to initialize */
  5763. | static int yy_start = 0; /* start state number */
  5764. |
  5765. | /* Flag which is used to allow yywrap()'s to do buffer switches
  5766. | * instead of setting up a fresh yyin. A bit of a hack ...
  5767. | */
  5768. | static int yy_did_buffer_switch_on_eof;
  5769. |
  5770. | void yyrestart (FILE *input_file );
  5771. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  5772. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  5773. | void yy_delete_buffer (YY_BUFFER_STATE b );
  5774. | void yy_flush_buffer (YY_BUFFER_STATE b );
  5775. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  5776. | void yypop_buffer_state (void );
  5777. |
  5778. | static void yyensure_buffer_stack (void );
  5779. | static void yy_load_buffer_state (void );
  5780. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  5781. |
  5782. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  5783. |
  5784. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  5785. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  5786. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  5787. |
  5788. | void *yyalloc (yy_size_t );
  5789. | void *yyrealloc (void *,yy_size_t );
  5790. | void yyfree (void * );
  5791. |
  5792. | #define yy_new_buffer yy_create_buffer
  5793. |
  5794. | #define yy_set_interactive(is_interactive) \
  5795. | { \
  5796. | if ( ! YY_CURRENT_BUFFER ){ \
  5797. | yyensure_buffer_stack (); \
  5798. | YY_CURRENT_BUFFER_LVALUE = \
  5799. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  5800. | } \
  5801. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  5802. | }
  5803. |
  5804. | #define yy_set_bol(at_bol) \
  5805. | { \
  5806. | if ( ! YY_CURRENT_BUFFER ){\
  5807. | yyensure_buffer_stack (); \
  5808. | YY_CURRENT_BUFFER_LVALUE = \
  5809. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  5810. | } \
  5811. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  5812. | }
  5813. |
  5814. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  5815. |
  5816. | /* Begin user sect3 */
  5817. |
  5818. | typedef unsigned char YY_CHAR;
  5819. |
  5820. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  5821. |
  5822. | typedef int yy_state_type;
  5823. |
  5824. | extern int yylineno;
  5825. |
  5826. | int yylineno = 1;
  5827. |
  5828. | extern char *yytext;
  5829. | #define yytext_ptr yytext
  5830. |
  5831. | static yy_state_type yy_get_previous_state (void );
  5832. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  5833. | static int yy_get_next_buffer (void );
  5834. | static void yy_fatal_error (yyconst char msg[] );
  5835. |
  5836. | /* Done after the current pattern has been matched and before the
  5837. | * corresponding action - sets up yytext.
  5838. | */
  5839. | #define YY_DO_BEFORE_ACTION \
  5840. | (yytext_ptr) = yy_bp; \
  5841. | (yytext_ptr) -= (yy_more_len); \
  5842. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  5843. | (yy_hold_char) = *yy_cp; \
  5844. | *yy_cp = '\0'; \
  5845. | (yy_c_buf_p) = yy_cp;
  5846. |
  5847. | #define YY_NUM_RULES 8
  5848. | #define YY_END_OF_BUFFER 9
  5849. | /* This struct is not used in this scanner,
  5850. | but its presence is necessary. */
  5851. | struct yy_trans_info
  5852. | {
  5853. | flex_int32_t yy_verify;
  5854. | flex_int32_t yy_nxt;
  5855. | };
  5856. | static yyconst flex_int16_t yy_acclist[23] =
  5857. | { 0,
  5858. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  5859. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  5860. | 7, 8
  5861. | } ;
  5862. |
  5863. | static yyconst flex_int16_t yy_accept[14] =
  5864. | { 0,
  5865. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  5866. | 20, 23, 23
  5867. | } ;
  5868. |
  5869. | static yyconst flex_int32_t yy_ec[256] =
  5870. | { 0,
  5871. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  5872. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5873. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5874. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5875. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5876. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5877. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5878. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5879. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5880. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  5881. |
  5882. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  5883. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5884. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5885. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5886. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5887. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5888. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5889. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5890. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5891. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5892. |
  5893. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5894. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5895. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5896. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5897. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5898. | 1, 1, 1, 1, 1
  5899. | } ;
  5900. |
  5901. | static yyconst flex_int32_t yy_meta[9] =
  5902. | { 0,
  5903. | 1, 1, 1, 1, 1, 1, 1, 1
  5904. | } ;
  5905. |
  5906. | static yyconst flex_int16_t yy_base[13] =
  5907. | { 0,
  5908. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  5909. | 10, 10
  5910. | } ;
  5911. |
  5912. | static yyconst flex_int16_t yy_def[13] =
  5913. | { 0,
  5914. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  5915. | 12, 0
  5916. | } ;
  5917. |
  5918. | static yyconst flex_int16_t yy_nxt[19] =
  5919. | { 0,
  5920. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  5921. | 12, 12, 12, 12, 12, 12, 12, 12
  5922. | } ;
  5923. |
  5924. | static yyconst flex_int16_t yy_chk[19] =
  5925. | { 0,
  5926. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  5927. | 12, 12, 12, 12, 12, 12, 12, 12
  5928. | } ;
  5929. |
  5930. | extern int yy_flex_debug;
  5931. | int yy_flex_debug = 0;
  5932. |
  5933. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  5934. | static char *yy_full_match;
  5935. | static int yy_lp;
  5936. | #define REJECT \
  5937. | { \
  5938. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  5939. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  5940. | ++(yy_lp); \
  5941. | goto find_rule; \
  5942. | }
  5943. |
  5944. | static int yy_more_flag = 0;
  5945. | static int yy_more_len = 0;
  5946. | #define yymore() ((yy_more_flag) = 1)
  5947. | #define YY_MORE_ADJ (yy_more_len)
  5948. | #define YY_RESTORE_YY_MORE_OFFSET
  5949. | char *yytext;
  5950. | #line 1 "conftest.l"
  5951. | #line 469 "lex.yy.c"
  5952. |
  5953. | #define INITIAL 0
  5954. |
  5955. | #ifndef YY_NO_UNISTD_H
  5956. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  5957. | * down here because we want the user's section 1 to have been scanned first.
  5958. | * The user has a chance to override it with an option.
  5959. | */
  5960. | #include <unistd.h>
  5961. | #endif
  5962. |
  5963. | #ifndef YY_EXTRA_TYPE
  5964. | #define YY_EXTRA_TYPE void *
  5965. | #endif
  5966. |
  5967. | static int yy_init_globals (void );
  5968. |
  5969. | /* Accessor methods to globals.
  5970. | These are made visible to non-reentrant scanners for convenience. */
  5971. |
  5972. | int yylex_destroy (void );
  5973. |
  5974. | int yyget_debug (void );
  5975. |
  5976. | void yyset_debug (int debug_flag );
  5977. |
  5978. | YY_EXTRA_TYPE yyget_extra (void );
  5979. |
  5980. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  5981. |
  5982. | FILE *yyget_in (void );
  5983. |
  5984. | void yyset_in (FILE * in_str );
  5985. |
  5986. | FILE *yyget_out (void );
  5987. |
  5988. | void yyset_out (FILE * out_str );
  5989. |
  5990. | yy_size_t yyget_leng (void );
  5991. |
  5992. | char *yyget_text (void );
  5993. |
  5994. | int yyget_lineno (void );
  5995. |
  5996. | void yyset_lineno (int line_number );
  5997. |
  5998. | /* Macros after this point can all be overridden by user definitions in
  5999. | * section 1.
  6000. | */
  6001. |
  6002. | #ifndef YY_SKIP_YYWRAP
  6003. | #ifdef __cplusplus
  6004. | extern "C" int yywrap (void );
  6005. | #else
  6006. | extern int yywrap (void );
  6007. | #endif
  6008. | #endif
  6009. |
  6010. | static void yyunput (int c,char *buf_ptr );
  6011. |
  6012. | #ifndef yytext_ptr
  6013. | static void yy_flex_strncpy (char *,yyconst char *,int );
  6014. | #endif
  6015. |
  6016. | #ifdef YY_NEED_STRLEN
  6017. | static int yy_flex_strlen (yyconst char * );
  6018. | #endif
  6019. |
  6020. | #ifndef YY_NO_INPUT
  6021. |
  6022. | #ifdef __cplusplus
  6023. | static int yyinput (void );
  6024. | #else
  6025. | static int input (void );
  6026. | #endif
  6027. |
  6028. | #endif
  6029. |
  6030. | /* Amount of stuff to slurp up with each read. */
  6031. | #ifndef YY_READ_BUF_SIZE
  6032. | #define YY_READ_BUF_SIZE 8192
  6033. | #endif
  6034. |
  6035. | /* Copy whatever the last rule matched to the standard output. */
  6036. | #ifndef ECHO
  6037. | /* This used to be an fputs(), but since the string might contain NUL's,
  6038. | * we now use fwrite().
  6039. | */
  6040. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  6041. | #endif
  6042. |
  6043. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  6044. | * is returned in "result".
  6045. | */
  6046. | #ifndef YY_INPUT
  6047. | #define YY_INPUT(buf,result,max_size) \
  6048. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  6049. | { \
  6050. | int c = '*'; \
  6051. | size_t n; \
  6052. | for ( n = 0; n < max_size && \
  6053. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  6054. | buf[n] = (char) c; \
  6055. | if ( c == '\n' ) \
  6056. | buf[n++] = (char) c; \
  6057. | if ( c == EOF && ferror( yyin ) ) \
  6058. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6059. | result = n; \
  6060. | } \
  6061. | else \
  6062. | { \
  6063. | errno=0; \
  6064. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  6065. | { \
  6066. | if( errno != EINTR) \
  6067. | { \
  6068. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6069. | break; \
  6070. | } \
  6071. | errno=0; \
  6072. | clearerr(yyin); \
  6073. | } \
  6074. | }\
  6075. | \
  6076. |
  6077. | #endif
  6078. |
  6079. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  6080. | * we don't want an extra ';' after the "return" because that will cause
  6081. | * some compilers to complain about unreachable statements.
  6082. | */
  6083. | #ifndef yyterminate
  6084. | #define yyterminate() return YY_NULL
  6085. | #endif
  6086. |
  6087. | /* Number of entries by which start-condition stack grows. */
  6088. | #ifndef YY_START_STACK_INCR
  6089. | #define YY_START_STACK_INCR 25
  6090. | #endif
  6091. |
  6092. | /* Report a fatal error. */
  6093. | #ifndef YY_FATAL_ERROR
  6094. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  6095. | #endif
  6096. |
  6097. | /* end tables serialization structures and prototypes */
  6098. |
  6099. | /* Default declaration of generated scanner - a define so the user can
  6100. | * easily add parameters.
  6101. | */
  6102. | #ifndef YY_DECL
  6103. | #define YY_DECL_IS_OURS 1
  6104. |
  6105. | extern int yylex (void);
  6106. |
  6107. | #define YY_DECL int yylex (void)
  6108. | #endif /* !YY_DECL */
  6109. |
  6110. | /* Code executed at the beginning of each rule, after yytext and yyleng
  6111. | * have been set up.
  6112. | */
  6113. | #ifndef YY_USER_ACTION
  6114. | #define YY_USER_ACTION
  6115. | #endif
  6116. |
  6117. | /* Code executed at the end of each rule. */
  6118. | #ifndef YY_BREAK
  6119. | #define YY_BREAK break;
  6120. | #endif
  6121. |
  6122. | #define YY_RULE_SETUP \
  6123. | YY_USER_ACTION
  6124. |
  6125. | /** The main scanner function which does all the work.
  6126. | */
  6127. | YY_DECL
  6128. | {
  6129. | register yy_state_type yy_current_state;
  6130. | register char *yy_cp, *yy_bp;
  6131. | register int yy_act;
  6132. |
  6133. | #line 1 "conftest.l"
  6134. |
  6135. | #line 653 "lex.yy.c"
  6136. |
  6137. | if ( !(yy_init) )
  6138. | {
  6139. | (yy_init) = 1;
  6140. |
  6141. | #ifdef YY_USER_INIT
  6142. | YY_USER_INIT;
  6143. | #endif
  6144. |
  6145. | /* Create the reject buffer large enough to save one state per allowed character. */
  6146. | if ( ! (yy_state_buf) )
  6147. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  6148. | if ( ! (yy_state_buf) )
  6149. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  6150. |
  6151. | if ( ! (yy_start) )
  6152. | (yy_start) = 1; /* first start state */
  6153. |
  6154. | if ( ! yyin )
  6155. | yyin = stdin;
  6156. |
  6157. | if ( ! yyout )
  6158. | yyout = stdout;
  6159. |
  6160. | if ( ! YY_CURRENT_BUFFER ) {
  6161. | yyensure_buffer_stack ();
  6162. | YY_CURRENT_BUFFER_LVALUE =
  6163. | yy_create_buffer(yyin,YY_BUF_SIZE );
  6164. | }
  6165. |
  6166. | yy_load_buffer_state( );
  6167. | }
  6168. |
  6169. | while ( 1 ) /* loops until end-of-file is reached */
  6170. | {
  6171. | (yy_more_len) = 0;
  6172. | if ( (yy_more_flag) )
  6173. | {
  6174. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  6175. | (yy_more_flag) = 0;
  6176. | }
  6177. | yy_cp = (yy_c_buf_p);
  6178. |
  6179. | /* Support of yytext. */
  6180. | *yy_cp = (yy_hold_char);
  6181. |
  6182. | /* yy_bp points to the position in yy_ch_buf of the start of
  6183. | * the current run.
  6184. | */
  6185. | yy_bp = yy_cp;
  6186. |
  6187. | yy_current_state = (yy_start);
  6188. |
  6189. | (yy_state_ptr) = (yy_state_buf);
  6190. | *(yy_state_ptr)++ = yy_current_state;
  6191. |
  6192. | yy_match:
  6193. | do
  6194. | {
  6195. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  6196. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6197. | {
  6198. | yy_current_state = (int) yy_def[yy_current_state];
  6199. | if ( yy_current_state >= 13 )
  6200. | yy_c = yy_meta[(unsigned int) yy_c];
  6201. | }
  6202. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6203. | *(yy_state_ptr)++ = yy_current_state;
  6204. | ++yy_cp;
  6205. | }
  6206. | while ( yy_base[yy_current_state] != 10 );
  6207. |
  6208. | yy_find_action:
  6209. | yy_current_state = *--(yy_state_ptr);
  6210. | (yy_lp) = yy_accept[yy_current_state];
  6211. | find_rule: /* we branch to this label when backing up */
  6212. | for ( ; ; ) /* until we find what rule we matched */
  6213. | {
  6214. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  6215. | {
  6216. | yy_act = yy_acclist[(yy_lp)];
  6217. | {
  6218. | (yy_full_match) = yy_cp;
  6219. | break;
  6220. | }
  6221. | }
  6222. | --yy_cp;
  6223. | yy_current_state = *--(yy_state_ptr);
  6224. | (yy_lp) = yy_accept[yy_current_state];
  6225. | }
  6226. |
  6227. | YY_DO_BEFORE_ACTION;
  6228. |
  6229. | do_action: /* This label is used only to access EOF actions. */
  6230. |
  6231. | switch ( yy_act )
  6232. | { /* beginning of action switch */
  6233. | case 1:
  6234. | YY_RULE_SETUP
  6235. | #line 2 "conftest.l"
  6236. | { ECHO; }
  6237. | YY_BREAK
  6238. | case 2:
  6239. | YY_RULE_SETUP
  6240. | #line 3 "conftest.l"
  6241. | { REJECT; }
  6242. | YY_BREAK
  6243. | case 3:
  6244. | YY_RULE_SETUP
  6245. | #line 4 "conftest.l"
  6246. | { yymore (); }
  6247. | YY_BREAK
  6248. | case 4:
  6249. | YY_RULE_SETUP
  6250. | #line 5 "conftest.l"
  6251. | { yyless (1); }
  6252. | YY_BREAK
  6253. | case 5:
  6254. | YY_RULE_SETUP
  6255. | #line 6 "conftest.l"
  6256. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  6257. | yyless ((input () != 0)); }
  6258. | YY_BREAK
  6259. | case 6:
  6260. | YY_RULE_SETUP
  6261. | #line 8 "conftest.l"
  6262. | { unput (yytext[0]); }
  6263. | YY_BREAK
  6264. | case 7:
  6265. | YY_RULE_SETUP
  6266. | #line 9 "conftest.l"
  6267. | { BEGIN INITIAL; }
  6268. | YY_BREAK
  6269. | case 8:
  6270. | YY_RULE_SETUP
  6271. | #line 10 "conftest.l"
  6272. | ECHO;
  6273. | YY_BREAK
  6274. | #line 792 "lex.yy.c"
  6275. | case YY_STATE_EOF(INITIAL):
  6276. | yyterminate();
  6277. |
  6278. | case YY_END_OF_BUFFER:
  6279. | {
  6280. | /* Amount of text matched not including the EOB char. */
  6281. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  6282. |
  6283. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  6284. | *yy_cp = (yy_hold_char);
  6285. | YY_RESTORE_YY_MORE_OFFSET
  6286. |
  6287. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  6288. | {
  6289. | /* We're scanning a new file or input source. It's
  6290. | * possible that this happened because the user
  6291. | * just pointed yyin at a new source and called
  6292. | * yylex(). If so, then we have to assure
  6293. | * consistency between YY_CURRENT_BUFFER and our
  6294. | * globals. Here is the right place to do so, because
  6295. | * this is the first action (other than possibly a
  6296. | * back-up) that will match for the new input source.
  6297. | */
  6298. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  6299. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  6300. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  6301. | }
  6302. |
  6303. | /* Note that here we test for yy_c_buf_p "<=" to the position
  6304. | * of the first EOB in the buffer, since yy_c_buf_p will
  6305. | * already have been incremented past the NUL character
  6306. | * (since all states make transitions on EOB to the
  6307. | * end-of-buffer state). Contrast this with the test
  6308. | * in input().
  6309. | */
  6310. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6311. | { /* This was really a NUL. */
  6312. | yy_state_type yy_next_state;
  6313. |
  6314. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  6315. |
  6316. | yy_current_state = yy_get_previous_state( );
  6317. |
  6318. | /* Okay, we're now positioned to make the NUL
  6319. | * transition. We couldn't have
  6320. | * yy_get_previous_state() go ahead and do it
  6321. | * for us because it doesn't know how to deal
  6322. | * with the possibility of jamming (and we don't
  6323. | * want to build jamming into it because then it
  6324. | * will run more slowly).
  6325. | */
  6326. |
  6327. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  6328. |
  6329. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6330. |
  6331. | if ( yy_next_state )
  6332. | {
  6333. | /* Consume the NUL. */
  6334. | yy_cp = ++(yy_c_buf_p);
  6335. | yy_current_state = yy_next_state;
  6336. | goto yy_match;
  6337. | }
  6338. |
  6339. | else
  6340. | {
  6341. | yy_cp = (yy_c_buf_p);
  6342. | goto yy_find_action;
  6343. | }
  6344. | }
  6345. |
  6346. | else switch ( yy_get_next_buffer( ) )
  6347. | {
  6348. | case EOB_ACT_END_OF_FILE:
  6349. | {
  6350. | (yy_did_buffer_switch_on_eof) = 0;
  6351. |
  6352. | if ( yywrap( ) )
  6353. | {
  6354. | /* Note: because we've taken care in
  6355. | * yy_get_next_buffer() to have set up
  6356. | * yytext, we can now set up
  6357. | * yy_c_buf_p so that if some total
  6358. | * hoser (like flex itself) wants to
  6359. | * call the scanner after we return the
  6360. | * YY_NULL, it'll still work - another
  6361. | * YY_NULL will get returned.
  6362. | */
  6363. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  6364. |
  6365. | yy_act = YY_STATE_EOF(YY_START);
  6366. | goto do_action;
  6367. | }
  6368. |
  6369. | else
  6370. | {
  6371. | if ( ! (yy_did_buffer_switch_on_eof) )
  6372. | YY_NEW_FILE;
  6373. | }
  6374. | break;
  6375. | }
  6376. |
  6377. | case EOB_ACT_CONTINUE_SCAN:
  6378. | (yy_c_buf_p) =
  6379. | (yytext_ptr) + yy_amount_of_matched_text;
  6380. |
  6381. | yy_current_state = yy_get_previous_state( );
  6382. |
  6383. | yy_cp = (yy_c_buf_p);
  6384. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6385. | goto yy_match;
  6386. |
  6387. | case EOB_ACT_LAST_MATCH:
  6388. | (yy_c_buf_p) =
  6389. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  6390. |
  6391. | yy_current_state = yy_get_previous_state( );
  6392. |
  6393. | yy_cp = (yy_c_buf_p);
  6394. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6395. | goto yy_find_action;
  6396. | }
  6397. | break;
  6398. | }
  6399. |
  6400. | default:
  6401. | YY_FATAL_ERROR(
  6402. | "fatal flex scanner internal error--no action found" );
  6403. | } /* end of action switch */
  6404. | } /* end of scanning one token */
  6405. | } /* end of yylex */
  6406. |
  6407. | /* yy_get_next_buffer - try to read in a new buffer
  6408. | *
  6409. | * Returns a code representing an action:
  6410. | * EOB_ACT_LAST_MATCH -
  6411. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  6412. | * EOB_ACT_END_OF_FILE - end of file
  6413. | */
  6414. | static int yy_get_next_buffer (void)
  6415. | {
  6416. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  6417. | register char *source = (yytext_ptr);
  6418. | register int number_to_move, i;
  6419. | int ret_val;
  6420. |
  6421. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  6422. | YY_FATAL_ERROR(
  6423. | "fatal flex scanner internal error--end of buffer missed" );
  6424. |
  6425. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  6426. | { /* Don't try to fill the buffer, so this is an EOF. */
  6427. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  6428. | {
  6429. | /* We matched a single character, the EOB, so
  6430. | * treat this as a final EOF.
  6431. | */
  6432. | return EOB_ACT_END_OF_FILE;
  6433. | }
  6434. |
  6435. | else
  6436. | {
  6437. | /* We matched some text prior to the EOB, first
  6438. | * process it.
  6439. | */
  6440. | return EOB_ACT_LAST_MATCH;
  6441. | }
  6442. | }
  6443. |
  6444. | /* Try to read more data. */
  6445. |
  6446. | /* First move last chars to start of buffer. */
  6447. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  6448. |
  6449. | for ( i = 0; i < number_to_move; ++i )
  6450. | *(dest++) = *(source++);
  6451. |
  6452. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  6453. | /* don't do the read, it's not guaranteed to return an EOF,
  6454. | * just force an EOF
  6455. | */
  6456. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  6457. |
  6458. | else
  6459. | {
  6460. | yy_size_t num_to_read =
  6461. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  6462. |
  6463. | while ( num_to_read <= 0 )
  6464. | { /* Not enough room in the buffer - grow it. */
  6465. |
  6466. | YY_FATAL_ERROR(
  6467. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  6468. |
  6469. | }
  6470. |
  6471. | if ( num_to_read > YY_READ_BUF_SIZE )
  6472. | num_to_read = YY_READ_BUF_SIZE;
  6473. |
  6474. | /* Read in more data. */
  6475. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  6476. | (yy_n_chars), num_to_read );
  6477. |
  6478. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6479. | }
  6480. |
  6481. | if ( (yy_n_chars) == 0 )
  6482. | {
  6483. | if ( number_to_move == YY_MORE_ADJ )
  6484. | {
  6485. | ret_val = EOB_ACT_END_OF_FILE;
  6486. | yyrestart(yyin );
  6487. | }
  6488. |
  6489. | else
  6490. | {
  6491. | ret_val = EOB_ACT_LAST_MATCH;
  6492. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  6493. | YY_BUFFER_EOF_PENDING;
  6494. | }
  6495. | }
  6496. |
  6497. | else
  6498. | ret_val = EOB_ACT_CONTINUE_SCAN;
  6499. |
  6500. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  6501. | /* Extend the array by 50%, plus the number we really need. */
  6502. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  6503. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  6504. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6505. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  6506. | }
  6507. |
  6508. | (yy_n_chars) += number_to_move;
  6509. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  6510. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  6511. |
  6512. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  6513. |
  6514. | return ret_val;
  6515. | }
  6516. |
  6517. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  6518. |
  6519. | static yy_state_type yy_get_previous_state (void)
  6520. | {
  6521. | register yy_state_type yy_current_state;
  6522. | register char *yy_cp;
  6523. |
  6524. | yy_current_state = (yy_start);
  6525. |
  6526. | (yy_state_ptr) = (yy_state_buf);
  6527. | *(yy_state_ptr)++ = yy_current_state;
  6528. |
  6529. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  6530. | {
  6531. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  6532. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6533. | {
  6534. | yy_current_state = (int) yy_def[yy_current_state];
  6535. | if ( yy_current_state >= 13 )
  6536. | yy_c = yy_meta[(unsigned int) yy_c];
  6537. | }
  6538. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6539. | *(yy_state_ptr)++ = yy_current_state;
  6540. | }
  6541. |
  6542. | return yy_current_state;
  6543. | }
  6544. |
  6545. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  6546. | *
  6547. | * synopsis
  6548. | * next_state = yy_try_NUL_trans( current_state );
  6549. | */
  6550. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  6551. | {
  6552. | register int yy_is_jam;
  6553. |
  6554. | register YY_CHAR yy_c = 1;
  6555. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6556. | {
  6557. | yy_current_state = (int) yy_def[yy_current_state];
  6558. | if ( yy_current_state >= 13 )
  6559. | yy_c = yy_meta[(unsigned int) yy_c];
  6560. | }
  6561. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6562. | yy_is_jam = (yy_current_state == 12);
  6563. | if ( ! yy_is_jam )
  6564. | *(yy_state_ptr)++ = yy_current_state;
  6565. |
  6566. | return yy_is_jam ? 0 : yy_current_state;
  6567. | }
  6568. |
  6569. | static void yyunput (int c, register char * yy_bp )
  6570. | {
  6571. | register char *yy_cp;
  6572. |
  6573. | yy_cp = (yy_c_buf_p);
  6574. |
  6575. | /* undo effects of setting up yytext */
  6576. | *yy_cp = (yy_hold_char);
  6577. |
  6578. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6579. | { /* need to shift things up to make room */
  6580. | /* +2 for EOB chars. */
  6581. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  6582. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  6583. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  6584. | register char *source =
  6585. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  6586. |
  6587. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6588. | *--dest = *--source;
  6589. |
  6590. | yy_cp += (int) (dest - source);
  6591. | yy_bp += (int) (dest - source);
  6592. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  6593. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  6594. |
  6595. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6596. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  6597. | }
  6598. |
  6599. | *--yy_cp = (char) c;
  6600. |
  6601. | (yytext_ptr) = yy_bp;
  6602. | (yy_hold_char) = *yy_cp;
  6603. | (yy_c_buf_p) = yy_cp;
  6604. | }
  6605. |
  6606. | #ifndef YY_NO_INPUT
  6607. | #ifdef __cplusplus
  6608. | static int yyinput (void)
  6609. | #else
  6610. | static int input (void)
  6611. | #endif
  6612. |
  6613. | {
  6614. | int c;
  6615. |
  6616. | *(yy_c_buf_p) = (yy_hold_char);
  6617. |
  6618. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  6619. | {
  6620. | /* yy_c_buf_p now points to the character we want to return.
  6621. | * If this occurs *before* the EOB characters, then it's a
  6622. | * valid NUL; if not, then we've hit the end of the buffer.
  6623. | */
  6624. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6625. | /* This was really a NUL. */
  6626. | *(yy_c_buf_p) = '\0';
  6627. |
  6628. | else
  6629. | { /* need more input */
  6630. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  6631. | ++(yy_c_buf_p);
  6632. |
  6633. | switch ( yy_get_next_buffer( ) )
  6634. | {
  6635. | case EOB_ACT_LAST_MATCH:
  6636. | /* This happens because yy_g_n_b()
  6637. | * sees that we've accumulated a
  6638. | * token and flags that we need to
  6639. | * try matching the token before
  6640. | * proceeding. But for input(),
  6641. | * there's no matching to consider.
  6642. | * So convert the EOB_ACT_LAST_MATCH
  6643. | * to EOB_ACT_END_OF_FILE.
  6644. | */
  6645. |
  6646. | /* Reset buffer status. */
  6647. | yyrestart(yyin );
  6648. |
  6649. | /*FALLTHROUGH*/
  6650. |
  6651. | case EOB_ACT_END_OF_FILE:
  6652. | {
  6653. | if ( yywrap( ) )
  6654. | return EOF;
  6655. |
  6656. | if ( ! (yy_did_buffer_switch_on_eof) )
  6657. | YY_NEW_FILE;
  6658. | #ifdef __cplusplus
  6659. | return yyinput();
  6660. | #else
  6661. | return input();
  6662. | #endif
  6663. | }
  6664. |
  6665. | case EOB_ACT_CONTINUE_SCAN:
  6666. | (yy_c_buf_p) = (yytext_ptr) + offset;
  6667. | break;
  6668. | }
  6669. | }
  6670. | }
  6671. |
  6672. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  6673. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  6674. | (yy_hold_char) = *++(yy_c_buf_p);
  6675. |
  6676. | return c;
  6677. | }
  6678. | #endif /* ifndef YY_NO_INPUT */
  6679. |
  6680. | /** Immediately switch to a different input stream.
  6681. | * @param input_file A readable stream.
  6682. | *
  6683. | * @note This function does not reset the start condition to @c INITIAL .
  6684. | */
  6685. | void yyrestart (FILE * input_file )
  6686. | {
  6687. |
  6688. | if ( ! YY_CURRENT_BUFFER ){
  6689. | yyensure_buffer_stack ();
  6690. | YY_CURRENT_BUFFER_LVALUE =
  6691. | yy_create_buffer(yyin,YY_BUF_SIZE );
  6692. | }
  6693. |
  6694. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  6695. | yy_load_buffer_state( );
  6696. | }
  6697. |
  6698. | /** Switch to a different input buffer.
  6699. | * @param new_buffer The new input buffer.
  6700. | *
  6701. | */
  6702. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  6703. | {
  6704. |
  6705. | /* TODO. We should be able to replace this entire function body
  6706. | * with
  6707. | * yypop_buffer_state();
  6708. | * yypush_buffer_state(new_buffer);
  6709. | */
  6710. | yyensure_buffer_stack ();
  6711. | if ( YY_CURRENT_BUFFER == new_buffer )
  6712. | return;
  6713. |
  6714. | if ( YY_CURRENT_BUFFER )
  6715. | {
  6716. | /* Flush out information for old buffer. */
  6717. | *(yy_c_buf_p) = (yy_hold_char);
  6718. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  6719. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6720. | }
  6721. |
  6722. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  6723. | yy_load_buffer_state( );
  6724. |
  6725. | /* We don't actually know whether we did this switch during
  6726. | * EOF (yywrap()) processing, but the only time this flag
  6727. | * is looked at is after yywrap() is called, so it's safe
  6728. | * to go ahead and always set it.
  6729. | */
  6730. | (yy_did_buffer_switch_on_eof) = 1;
  6731. | }
  6732. |
  6733. | static void yy_load_buffer_state (void)
  6734. | {
  6735. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  6736. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  6737. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  6738. | (yy_hold_char) = *(yy_c_buf_p);
  6739. | }
  6740. |
  6741. | /** Allocate and initialize an input buffer state.
  6742. | * @param file A readable stream.
  6743. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  6744. | *
  6745. | * @return the allocated buffer state.
  6746. | */
  6747. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  6748. | {
  6749. | YY_BUFFER_STATE b;
  6750. |
  6751. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  6752. | if ( ! b )
  6753. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  6754. |
  6755. | b->yy_buf_size = size;
  6756. |
  6757. | /* yy_ch_buf has to be 2 characters longer than the size given because
  6758. | * we need to put in 2 end-of-buffer characters.
  6759. | */
  6760. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  6761. | if ( ! b->yy_ch_buf )
  6762. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  6763. |
  6764. | b->yy_is_our_buffer = 1;
  6765. |
  6766. | yy_init_buffer(b,file );
  6767. |
  6768. | return b;
  6769. | }
  6770. |
  6771. | /** Destroy the buffer.
  6772. | * @param b a buffer created with yy_create_buffer()
  6773. | *
  6774. | */
  6775. | void yy_delete_buffer (YY_BUFFER_STATE b )
  6776. | {
  6777. |
  6778. | if ( ! b )
  6779. | return;
  6780. |
  6781. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  6782. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  6783. |
  6784. | if ( b->yy_is_our_buffer )
  6785. | yyfree((void *) b->yy_ch_buf );
  6786. |
  6787. | yyfree((void *) b );
  6788. | }
  6789. |
  6790. | /* Initializes or reinitializes a buffer.
  6791. | * This function is sometimes called more than once on the same buffer,
  6792. | * such as during a yyrestart() or at EOF.
  6793. | */
  6794. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  6795. |
  6796. | {
  6797. | int oerrno = errno;
  6798. |
  6799. | yy_flush_buffer(b );
  6800. |
  6801. | b->yy_input_file = file;
  6802. | b->yy_fill_buffer = 1;
  6803. |
  6804. | /* If b is the current buffer, then yy_init_buffer was _probably_
  6805. | * called from yyrestart() or through yy_get_next_buffer.
  6806. | * In that case, we don't want to reset the lineno or column.
  6807. | */
  6808. | if (b != YY_CURRENT_BUFFER){
  6809. | b->yy_bs_lineno = 1;
  6810. | b->yy_bs_column = 0;
  6811. | }
  6812. |
  6813. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  6814. |
  6815. | errno = oerrno;
  6816. | }
  6817. |
  6818. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  6819. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  6820. | *
  6821. | */
  6822. | void yy_flush_buffer (YY_BUFFER_STATE b )
  6823. | {
  6824. | if ( ! b )
  6825. | return;
  6826. |
  6827. | b->yy_n_chars = 0;
  6828. |
  6829. | /* We always need two end-of-buffer characters. The first causes
  6830. | * a transition to the end-of-buffer state. The second causes
  6831. | * a jam in that state.
  6832. | */
  6833. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  6834. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  6835. |
  6836. | b->yy_buf_pos = &b->yy_ch_buf[0];
  6837. |
  6838. | b->yy_at_bol = 1;
  6839. | b->yy_buffer_status = YY_BUFFER_NEW;
  6840. |
  6841. | if ( b == YY_CURRENT_BUFFER )
  6842. | yy_load_buffer_state( );
  6843. | }
  6844. |
  6845. | /** Pushes the new state onto the stack. The new state becomes
  6846. | * the current state. This function will allocate the stack
  6847. | * if necessary.
  6848. | * @param new_buffer The new state.
  6849. | *
  6850. | */
  6851. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  6852. | {
  6853. | if (new_buffer == NULL)
  6854. | return;
  6855. |
  6856. | yyensure_buffer_stack();
  6857. |
  6858. | /* This block is copied from yy_switch_to_buffer. */
  6859. | if ( YY_CURRENT_BUFFER )
  6860. | {
  6861. | /* Flush out information for old buffer. */
  6862. | *(yy_c_buf_p) = (yy_hold_char);
  6863. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  6864. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6865. | }
  6866. |
  6867. | /* Only push if top exists. Otherwise, replace top. */
  6868. | if (YY_CURRENT_BUFFER)
  6869. | (yy_buffer_stack_top)++;
  6870. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  6871. |
  6872. | /* copied from yy_switch_to_buffer. */
  6873. | yy_load_buffer_state( );
  6874. | (yy_did_buffer_switch_on_eof) = 1;
  6875. | }
  6876. |
  6877. | /** Removes and deletes the top of the stack, if present.
  6878. | * The next element becomes the new top.
  6879. | *
  6880. | */
  6881. | void yypop_buffer_state (void)
  6882. | {
  6883. | if (!YY_CURRENT_BUFFER)
  6884. | return;
  6885. |
  6886. | yy_delete_buffer(YY_CURRENT_BUFFER );
  6887. | YY_CURRENT_BUFFER_LVALUE = NULL;
  6888. | if ((yy_buffer_stack_top) > 0)
  6889. | --(yy_buffer_stack_top);
  6890. |
  6891. | if (YY_CURRENT_BUFFER) {
  6892. | yy_load_buffer_state( );
  6893. | (yy_did_buffer_switch_on_eof) = 1;
  6894. | }
  6895. | }
  6896. |
  6897. | /* Allocates the stack if it does not exist.
  6898. | * Guarantees space for at least one push.
  6899. | */
  6900. | static void yyensure_buffer_stack (void)
  6901. | {
  6902. | yy_size_t num_to_alloc;
  6903. |
  6904. | if (!(yy_buffer_stack)) {
  6905. |
  6906. | /* First allocation is just for 2 elements, since we don't know if this
  6907. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  6908. | * immediate realloc on the next call.
  6909. | */
  6910. | num_to_alloc = 1;
  6911. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  6912. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  6913. | );
  6914. | if ( ! (yy_buffer_stack) )
  6915. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6916. |
  6917. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  6918. |
  6919. | (yy_buffer_stack_max) = num_to_alloc;
  6920. | (yy_buffer_stack_top) = 0;
  6921. | return;
  6922. | }
  6923. |
  6924. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  6925. |
  6926. | /* Increase the buffer to prepare for a possible push. */
  6927. | int grow_size = 8 /* arbitrary grow size */;
  6928. |
  6929. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  6930. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  6931. | ((yy_buffer_stack),
  6932. | num_to_alloc * sizeof(struct yy_buffer_state*)
  6933. | );
  6934. | if ( ! (yy_buffer_stack) )
  6935. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6936. |
  6937. | /* zero only the new slots.*/
  6938. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  6939. | (yy_buffer_stack_max) = num_to_alloc;
  6940. | }
  6941. | }
  6942. |
  6943. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  6944. | * @param base the character buffer
  6945. | * @param size the size in bytes of the character buffer
  6946. | *
  6947. | * @return the newly allocated buffer state object.
  6948. | */
  6949. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  6950. | {
  6951. | YY_BUFFER_STATE b;
  6952. |
  6953. | if ( size < 2 ||
  6954. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  6955. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  6956. | /* They forgot to leave room for the EOB's. */
  6957. | return 0;
  6958. |
  6959. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  6960. | if ( ! b )
  6961. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  6962. |
  6963. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  6964. | b->yy_buf_pos = b->yy_ch_buf = base;
  6965. | b->yy_is_our_buffer = 0;
  6966. | b->yy_input_file = 0;
  6967. | b->yy_n_chars = b->yy_buf_size;
  6968. | b->yy_is_interactive = 0;
  6969. | b->yy_at_bol = 1;
  6970. | b->yy_fill_buffer = 0;
  6971. | b->yy_buffer_status = YY_BUFFER_NEW;
  6972. |
  6973. | yy_switch_to_buffer(b );
  6974. |
  6975. | return b;
  6976. | }
  6977. |
  6978. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  6979. | * scan from a @e copy of @a str.
  6980. | * @param yystr a NUL-terminated string to scan
  6981. | *
  6982. | * @return the newly allocated buffer state object.
  6983. | * @note If you want to scan bytes that may contain NUL values, then use
  6984. | * yy_scan_bytes() instead.
  6985. | */
  6986. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  6987. | {
  6988. |
  6989. | return yy_scan_bytes(yystr,strlen(yystr) );
  6990. | }
  6991. |
  6992. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  6993. | * scan from a @e copy of @a bytes.
  6994. | * @param yybytes the byte buffer to scan
  6995. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  6996. | *
  6997. | * @return the newly allocated buffer state object.
  6998. | */
  6999. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  7000. | {
  7001. | YY_BUFFER_STATE b;
  7002. | char *buf;
  7003. | yy_size_t n;
  7004. | int i;
  7005. |
  7006. | /* Get memory for full buffer, including space for trailing EOB's. */
  7007. | n = _yybytes_len + 2;
  7008. | buf = (char *) yyalloc(n );
  7009. | if ( ! buf )
  7010. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  7011. |
  7012. | for ( i = 0; i < _yybytes_len; ++i )
  7013. | buf[i] = yybytes[i];
  7014. |
  7015. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  7016. |
  7017. | b = yy_scan_buffer(buf,n );
  7018. | if ( ! b )
  7019. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  7020. |
  7021. | /* It's okay to grow etc. this buffer, and we should throw it
  7022. | * away when we're done.
  7023. | */
  7024. | b->yy_is_our_buffer = 1;
  7025. |
  7026. | return b;
  7027. | }
  7028. |
  7029. | #ifndef YY_EXIT_FAILURE
  7030. | #define YY_EXIT_FAILURE 2
  7031. | #endif
  7032. |
  7033. | static void yy_fatal_error (yyconst char* msg )
  7034. | {
  7035. | (void) fprintf( stderr, "%s\n", msg );
  7036. | exit( YY_EXIT_FAILURE );
  7037. | }
  7038. |
  7039. | /* Redefine yyless() so it works in section 3 code. */
  7040. |
  7041. | #undef yyless
  7042. | #define yyless(n) \
  7043. | do \
  7044. | { \
  7045. | /* Undo effects of setting up yytext. */ \
  7046. | int yyless_macro_arg = (n); \
  7047. | YY_LESS_LINENO(yyless_macro_arg);\
  7048. | yytext[yyleng] = (yy_hold_char); \
  7049. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  7050. | (yy_hold_char) = *(yy_c_buf_p); \
  7051. | *(yy_c_buf_p) = '\0'; \
  7052. | yyleng = yyless_macro_arg; \
  7053. | } \
  7054. | while ( 0 )
  7055. |
  7056. | /* Accessor methods (get/set functions) to struct members. */
  7057. |
  7058. | /** Get the current line number.
  7059. | *
  7060. | */
  7061. | int yyget_lineno (void)
  7062. | {
  7063. |
  7064. | return yylineno;
  7065. | }
  7066. |
  7067. | /** Get the input stream.
  7068. | *
  7069. | */
  7070. | FILE *yyget_in (void)
  7071. | {
  7072. | return yyin;
  7073. | }
  7074. |
  7075. | /** Get the output stream.
  7076. | *
  7077. | */
  7078. | FILE *yyget_out (void)
  7079. | {
  7080. | return yyout;
  7081. | }
  7082. |
  7083. | /** Get the length of the current token.
  7084. | *
  7085. | */
  7086. | yy_size_t yyget_leng (void)
  7087. | {
  7088. | return yyleng;
  7089. | }
  7090. |
  7091. | /** Get the current token.
  7092. | *
  7093. | */
  7094. |
  7095. | char *yyget_text (void)
  7096. | {
  7097. | return yytext;
  7098. | }
  7099. |
  7100. | /** Set the current line number.
  7101. | * @param line_number
  7102. | *
  7103. | */
  7104. | void yyset_lineno (int line_number )
  7105. | {
  7106. |
  7107. | yylineno = line_number;
  7108. | }
  7109. |
  7110. | /** Set the input stream. This does not discard the current
  7111. | * input buffer.
  7112. | * @param in_str A readable stream.
  7113. | *
  7114. | * @see yy_switch_to_buffer
  7115. | */
  7116. | void yyset_in (FILE * in_str )
  7117. | {
  7118. | yyin = in_str ;
  7119. | }
  7120. |
  7121. | void yyset_out (FILE * out_str )
  7122. | {
  7123. | yyout = out_str ;
  7124. | }
  7125. |
  7126. | int yyget_debug (void)
  7127. | {
  7128. | return yy_flex_debug;
  7129. | }
  7130. |
  7131. | void yyset_debug (int bdebug )
  7132. | {
  7133. | yy_flex_debug = bdebug ;
  7134. | }
  7135. |
  7136. | static int yy_init_globals (void)
  7137. | {
  7138. | /* Initialization is the same as for the non-reentrant scanner.
  7139. | * This function is called from yylex_destroy(), so don't allocate here.
  7140. | */
  7141. |
  7142. | (yy_buffer_stack) = 0;
  7143. | (yy_buffer_stack_top) = 0;
  7144. | (yy_buffer_stack_max) = 0;
  7145. | (yy_c_buf_p) = (char *) 0;
  7146. | (yy_init) = 0;
  7147. | (yy_start) = 0;
  7148. |
  7149. | (yy_state_buf) = 0;
  7150. | (yy_state_ptr) = 0;
  7151. | (yy_full_match) = 0;
  7152. | (yy_lp) = 0;
  7153. |
  7154. | /* Defined in main.c */
  7155. | #ifdef YY_STDINIT
  7156. | yyin = stdin;
  7157. | yyout = stdout;
  7158. | #else
  7159. | yyin = (FILE *) 0;
  7160. | yyout = (FILE *) 0;
  7161. | #endif
  7162. |
  7163. | /* For future reference: Set errno on error, since we are called by
  7164. | * yylex_init()
  7165. | */
  7166. | return 0;
  7167. | }
  7168. |
  7169. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  7170. | int yylex_destroy (void)
  7171. | {
  7172. |
  7173. | /* Pop the buffer stack, destroying each element. */
  7174. | while(YY_CURRENT_BUFFER){
  7175. | yy_delete_buffer(YY_CURRENT_BUFFER );
  7176. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7177. | yypop_buffer_state();
  7178. | }
  7179. |
  7180. | /* Destroy the stack itself. */
  7181. | yyfree((yy_buffer_stack) );
  7182. | (yy_buffer_stack) = NULL;
  7183. |
  7184. | yyfree ( (yy_state_buf) );
  7185. | (yy_state_buf) = NULL;
  7186. |
  7187. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  7188. | * yylex() is called, initialization will occur. */
  7189. | yy_init_globals( );
  7190. |
  7191. | return 0;
  7192. | }
  7193. |
  7194. | /*
  7195. | * Internal utility routines.
  7196. | */
  7197. |
  7198. | #ifndef yytext_ptr
  7199. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  7200. | {
  7201. | register int i;
  7202. | for ( i = 0; i < n; ++i )
  7203. | s1[i] = s2[i];
  7204. | }
  7205. | #endif
  7206. |
  7207. | #ifdef YY_NEED_STRLEN
  7208. | static int yy_flex_strlen (yyconst char * s )
  7209. | {
  7210. | register int n;
  7211. | for ( n = 0; s[n]; ++n )
  7212. | ;
  7213. |
  7214. | return n;
  7215. | }
  7216. | #endif
  7217. |
  7218. | void *yyalloc (yy_size_t size )
  7219. | {
  7220. | return (void *) malloc( size );
  7221. | }
  7222. |
  7223. | void *yyrealloc (void * ptr, yy_size_t size )
  7224. | {
  7225. | /* The cast to (char *) in the following accommodates both
  7226. | * implementations that use char* generic pointers, and those
  7227. | * that use void* generic pointers. It works with the latter
  7228. | * because both ANSI C and C++ allow castless assignment from
  7229. | * any pointer type to void*, and deal with argument conversions
  7230. | * as though doing an assignment.
  7231. | */
  7232. | return (void *) realloc( (char *) ptr, size );
  7233. | }
  7234. |
  7235. | void yyfree (void * ptr )
  7236. | {
  7237. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  7238. | }
  7239. |
  7240. | #define YYTABLES_NAME "yytables"
  7241. |
  7242. | #line 10 "conftest.l"
  7243. |
  7244. |
  7245. | #ifdef YYTEXT_POINTER
  7246. | extern char *yytext;
  7247. | #endif
  7248. | int
  7249. | main (void)
  7250. | {
  7251. | return ! yylex () + ! yywrap ();
  7252. | }
  7253. configure:19137: result: none needed
  7254. configure:19143: checking whether yytext is a pointer
  7255. configure:19160: gcc -o conftest -g -O2 conftest.c >&5
  7256. /tmp/ccNDlvOA.o: In function `input':
  7257. /tmp/lex.yy.c:1170: undefined reference to `yywrap'
  7258. /tmp/ccNDlvOA.o: In function `yylex':
  7259. /tmp/lex.yy.c:869: undefined reference to `yywrap'
  7260. /tmp/ccNDlvOA.o: In function `main':
  7261. /tmp/conftest.l:18: undefined reference to `yywrap'
  7262. collect2: error: ld returned 1 exit status
  7263. configure:19160: $? = 1
  7264. configure: failed program was:
  7265. | /* confdefs.h */
  7266. | #define PACKAGE_NAME "ClamAV"
  7267. | #define PACKAGE_TARNAME "clamav"
  7268. | #define PACKAGE_VERSION "0.102.0"
  7269. | #define PACKAGE_STRING "ClamAV 0.102.0"
  7270. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  7271. | #define PACKAGE_URL "https://www.clamav.net/"
  7272. | #define PACKAGE PACKAGE_NAME
  7273. | #define STDC_HEADERS 1
  7274. | #define HAVE_SYS_TYPES_H 1
  7275. | #define HAVE_SYS_STAT_H 1
  7276. | #define HAVE_STDLIB_H 1
  7277. | #define HAVE_STRING_H 1
  7278. | #define HAVE_MEMORY_H 1
  7279. | #define HAVE_STRINGS_H 1
  7280. | #define HAVE_INTTYPES_H 1
  7281. | #define HAVE_STDINT_H 1
  7282. | #define HAVE_UNISTD_H 1
  7283. | #define __EXTENSIONS__ 1
  7284. | #define _ALL_SOURCE 1
  7285. | #define _GNU_SOURCE 1
  7286. | #define _POSIX_PTHREAD_SEMANTICS 1
  7287. | #define _TANDEM_SOURCE 1
  7288. | #define LIBCLAMAV_FULLVER "9.0.4"
  7289. | #define LIBCLAMAV_MAJORVER 9
  7290. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  7291. | #define LIBFRESHCLAM_MAJORVER 2
  7292. | #define VERSION "0.102.0"
  7293. | #define VERSION_SUFFIX ""
  7294. | #define HAVE_DLFCN_H 1
  7295. | #define LT_OBJDIR ".libs/"
  7296. | #define LT_MODULE_EXT ".so"
  7297. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  7298. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  7299. | #define HAVE_LIBDL 1
  7300. | #define HAVE_DLERROR 1
  7301. | #define HAVE_LIBDLLOADER 1
  7302. | #define HAVE_ARGZ_H 1
  7303. | #define HAVE_ERROR_T 1
  7304. | #define HAVE_ARGZ_ADD 1
  7305. | #define HAVE_ARGZ_APPEND 1
  7306. | #define HAVE_ARGZ_COUNT 1
  7307. | #define HAVE_ARGZ_CREATE_SEP 1
  7308. | #define HAVE_ARGZ_INSERT 1
  7309. | #define HAVE_ARGZ_NEXT 1
  7310. | #define HAVE_ARGZ_STRINGIFY 1
  7311. | #define HAVE_WORKING_ARGZ 1
  7312. | #define HAVE_PRELOADED_SYMBOLS 1
  7313. | #define HAVE_LTDL 1
  7314. | #define HAVE_UNISTD_H 1
  7315. | #define HAVE_DIRENT_H 1
  7316. | #define HAVE_CLOSEDIR 1
  7317. | #define HAVE_OPENDIR 1
  7318. | #define HAVE_READDIR 1
  7319. | #define LT_LIBEXT "a"
  7320. | #define LT_LIBPREFIX "lib"
  7321. | /* end confdefs.h. */
  7322. |
  7323. | #define YYTEXT_POINTER 1
  7324. |
  7325. | #line 3 "lex.yy.c"
  7326. |
  7327. | #define YY_INT_ALIGNED short int
  7328. |
  7329. | /* A lexical scanner generated by flex */
  7330. |
  7331. | #define FLEX_SCANNER
  7332. | #define YY_FLEX_MAJOR_VERSION 2
  7333. | #define YY_FLEX_MINOR_VERSION 5
  7334. | #define YY_FLEX_SUBMINOR_VERSION 37
  7335. | #if YY_FLEX_SUBMINOR_VERSION > 0
  7336. | #define FLEX_BETA
  7337. | #endif
  7338. |
  7339. | /* First, we deal with platform-specific or compiler-specific issues. */
  7340. |
  7341. | /* begin standard C headers. */
  7342. | #include <stdio.h>
  7343. | #include <string.h>
  7344. | #include <errno.h>
  7345. | #include <stdlib.h>
  7346. |
  7347. | /* end standard C headers. */
  7348. |
  7349. | /* flex integer type definitions */
  7350. |
  7351. | #ifndef FLEXINT_H
  7352. | #define FLEXINT_H
  7353. |
  7354. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  7355. |
  7356. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  7357. |
  7358. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  7359. | * if you want the limit (max/min) macros for int types.
  7360. | */
  7361. | #ifndef __STDC_LIMIT_MACROS
  7362. | #define __STDC_LIMIT_MACROS 1
  7363. | #endif
  7364. |
  7365. | #include <inttypes.h>
  7366. | typedef int8_t flex_int8_t;
  7367. | typedef uint8_t flex_uint8_t;
  7368. | typedef int16_t flex_int16_t;
  7369. | typedef uint16_t flex_uint16_t;
  7370. | typedef int32_t flex_int32_t;
  7371. | typedef uint32_t flex_uint32_t;
  7372. | #else
  7373. | typedef signed char flex_int8_t;
  7374. | typedef short int flex_int16_t;
  7375. | typedef int flex_int32_t;
  7376. | typedef unsigned char flex_uint8_t;
  7377. | typedef unsigned short int flex_uint16_t;
  7378. | typedef unsigned int flex_uint32_t;
  7379. |
  7380. | /* Limits of integral types. */
  7381. | #ifndef INT8_MIN
  7382. | #define INT8_MIN (-128)
  7383. | #endif
  7384. | #ifndef INT16_MIN
  7385. | #define INT16_MIN (-32767-1)
  7386. | #endif
  7387. | #ifndef INT32_MIN
  7388. | #define INT32_MIN (-2147483647-1)
  7389. | #endif
  7390. | #ifndef INT8_MAX
  7391. | #define INT8_MAX (127)
  7392. | #endif
  7393. | #ifndef INT16_MAX
  7394. | #define INT16_MAX (32767)
  7395. | #endif
  7396. | #ifndef INT32_MAX
  7397. | #define INT32_MAX (2147483647)
  7398. | #endif
  7399. | #ifndef UINT8_MAX
  7400. | #define UINT8_MAX (255U)
  7401. | #endif
  7402. | #ifndef UINT16_MAX
  7403. | #define UINT16_MAX (65535U)
  7404. | #endif
  7405. | #ifndef UINT32_MAX
  7406. | #define UINT32_MAX (4294967295U)
  7407. | #endif
  7408. |
  7409. | #endif /* ! C99 */
  7410. |
  7411. | #endif /* ! FLEXINT_H */
  7412. |
  7413. | #ifdef __cplusplus
  7414. |
  7415. | /* The "const" storage-class-modifier is valid. */
  7416. | #define YY_USE_CONST
  7417. |
  7418. | #else /* ! __cplusplus */
  7419. |
  7420. | /* C99 requires __STDC__ to be defined as 1. */
  7421. | #if defined (__STDC__)
  7422. |
  7423. | #define YY_USE_CONST
  7424. |
  7425. | #endif /* defined (__STDC__) */
  7426. | #endif /* ! __cplusplus */
  7427. |
  7428. | #ifdef YY_USE_CONST
  7429. | #define yyconst const
  7430. | #else
  7431. | #define yyconst
  7432. | #endif
  7433. |
  7434. | /* Returned upon end-of-file. */
  7435. | #define YY_NULL 0
  7436. |
  7437. | /* Promotes a possibly negative, possibly signed char to an unsigned
  7438. | * integer for use as an array index. If the signed char is negative,
  7439. | * we want to instead treat it as an 8-bit unsigned char, hence the
  7440. | * double cast.
  7441. | */
  7442. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  7443. |
  7444. | /* Enter a start condition. This macro really ought to take a parameter,
  7445. | * but we do it the disgusting crufty way forced on us by the ()-less
  7446. | * definition of BEGIN.
  7447. | */
  7448. | #define BEGIN (yy_start) = 1 + 2 *
  7449. |
  7450. | /* Translate the current start state into a value that can be later handed
  7451. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  7452. | * compatibility.
  7453. | */
  7454. | #define YY_START (((yy_start) - 1) / 2)
  7455. | #define YYSTATE YY_START
  7456. |
  7457. | /* Action number for EOF rule of a given start state. */
  7458. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  7459. |
  7460. | /* Special action meaning "start processing a new file". */
  7461. | #define YY_NEW_FILE yyrestart(yyin )
  7462. |
  7463. | #define YY_END_OF_BUFFER_CHAR 0
  7464. |
  7465. | /* Size of default input buffer. */
  7466. | #ifndef YY_BUF_SIZE
  7467. | #define YY_BUF_SIZE 16384
  7468. | #endif
  7469. |
  7470. | /* The state buf must be large enough to hold one state per character in the main buffer.
  7471. | */
  7472. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  7473. |
  7474. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  7475. | #define YY_TYPEDEF_YY_BUFFER_STATE
  7476. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  7477. | #endif
  7478. |
  7479. | #ifndef YY_TYPEDEF_YY_SIZE_T
  7480. | #define YY_TYPEDEF_YY_SIZE_T
  7481. | typedef size_t yy_size_t;
  7482. | #endif
  7483. |
  7484. | extern yy_size_t yyleng;
  7485. |
  7486. | extern FILE *yyin, *yyout;
  7487. |
  7488. | #define EOB_ACT_CONTINUE_SCAN 0
  7489. | #define EOB_ACT_END_OF_FILE 1
  7490. | #define EOB_ACT_LAST_MATCH 2
  7491. |
  7492. | #define YY_LESS_LINENO(n)
  7493. |
  7494. | /* Return all but the first "n" matched characters back to the input stream. */
  7495. | #define yyless(n) \
  7496. | do \
  7497. | { \
  7498. | /* Undo effects of setting up yytext. */ \
  7499. | int yyless_macro_arg = (n); \
  7500. | YY_LESS_LINENO(yyless_macro_arg);\
  7501. | *yy_cp = (yy_hold_char); \
  7502. | YY_RESTORE_YY_MORE_OFFSET \
  7503. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  7504. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  7505. | } \
  7506. | while ( 0 )
  7507. |
  7508. | #define unput(c) yyunput( c, (yytext_ptr) )
  7509. |
  7510. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  7511. | #define YY_STRUCT_YY_BUFFER_STATE
  7512. | struct yy_buffer_state
  7513. | {
  7514. | FILE *yy_input_file;
  7515. |
  7516. | char *yy_ch_buf; /* input buffer */
  7517. | char *yy_buf_pos; /* current position in input buffer */
  7518. |
  7519. | /* Size of input buffer in bytes, not including room for EOB
  7520. | * characters.
  7521. | */
  7522. | yy_size_t yy_buf_size;
  7523. |
  7524. | /* Number of characters read into yy_ch_buf, not including EOB
  7525. | * characters.
  7526. | */
  7527. | yy_size_t yy_n_chars;
  7528. |
  7529. | /* Whether we "own" the buffer - i.e., we know we created it,
  7530. | * and can realloc() it to grow it, and should free() it to
  7531. | * delete it.
  7532. | */
  7533. | int yy_is_our_buffer;
  7534. |
  7535. | /* Whether this is an "interactive" input source; if so, and
  7536. | * if we're using stdio for input, then we want to use getc()
  7537. | * instead of fread(), to make sure we stop fetching input after
  7538. | * each newline.
  7539. | */
  7540. | int yy_is_interactive;
  7541. |
  7542. | /* Whether we're considered to be at the beginning of a line.
  7543. | * If so, '^' rules will be active on the next match, otherwise
  7544. | * not.
  7545. | */
  7546. | int yy_at_bol;
  7547. |
  7548. | int yy_bs_lineno; /**< The line count. */
  7549. | int yy_bs_column; /**< The column count. */
  7550. |
  7551. | /* Whether to try to fill the input buffer when we reach the
  7552. | * end of it.
  7553. | */
  7554. | int yy_fill_buffer;
  7555. |
  7556. | int yy_buffer_status;
  7557. |
  7558. | #define YY_BUFFER_NEW 0
  7559. | #define YY_BUFFER_NORMAL 1
  7560. | /* When an EOF's been seen but there's still some text to process
  7561. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  7562. | * shouldn't try reading from the input source any more. We might
  7563. | * still have a bunch of tokens to match, though, because of
  7564. | * possible backing-up.
  7565. | *
  7566. | * When we actually see the EOF, we change the status to "new"
  7567. | * (via yyrestart()), so that the user can continue scanning by
  7568. | * just pointing yyin at a new input file.
  7569. | */
  7570. | #define YY_BUFFER_EOF_PENDING 2
  7571. |
  7572. | };
  7573. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  7574. |
  7575. | /* Stack of input buffers. */
  7576. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  7577. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  7578. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  7579. |
  7580. | /* We provide macros for accessing buffer states in case in the
  7581. | * future we want to put the buffer states in a more general
  7582. | * "scanner state".
  7583. | *
  7584. | * Returns the top of the stack, or NULL.
  7585. | */
  7586. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  7587. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  7588. | : NULL)
  7589. |
  7590. | /* Same as previous macro, but useful when we know that the buffer stack is not
  7591. | * NULL or when we need an lvalue. For internal use only.
  7592. | */
  7593. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  7594. |
  7595. | /* yy_hold_char holds the character lost when yytext is formed. */
  7596. | static char yy_hold_char;
  7597. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  7598. | yy_size_t yyleng;
  7599. |
  7600. | /* Points to current character in buffer. */
  7601. | static char *yy_c_buf_p = (char *) 0;
  7602. | static int yy_init = 0; /* whether we need to initialize */
  7603. | static int yy_start = 0; /* start state number */
  7604. |
  7605. | /* Flag which is used to allow yywrap()'s to do buffer switches
  7606. | * instead of setting up a fresh yyin. A bit of a hack ...
  7607. | */
  7608. | static int yy_did_buffer_switch_on_eof;
  7609. |
  7610. | void yyrestart (FILE *input_file );
  7611. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  7612. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  7613. | void yy_delete_buffer (YY_BUFFER_STATE b );
  7614. | void yy_flush_buffer (YY_BUFFER_STATE b );
  7615. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  7616. | void yypop_buffer_state (void );
  7617. |
  7618. | static void yyensure_buffer_stack (void );
  7619. | static void yy_load_buffer_state (void );
  7620. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  7621. |
  7622. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  7623. |
  7624. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  7625. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  7626. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  7627. |
  7628. | void *yyalloc (yy_size_t );
  7629. | void *yyrealloc (void *,yy_size_t );
  7630. | void yyfree (void * );
  7631. |
  7632. | #define yy_new_buffer yy_create_buffer
  7633. |
  7634. | #define yy_set_interactive(is_interactive) \
  7635. | { \
  7636. | if ( ! YY_CURRENT_BUFFER ){ \
  7637. | yyensure_buffer_stack (); \
  7638. | YY_CURRENT_BUFFER_LVALUE = \
  7639. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  7640. | } \
  7641. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  7642. | }
  7643. |
  7644. | #define yy_set_bol(at_bol) \
  7645. | { \
  7646. | if ( ! YY_CURRENT_BUFFER ){\
  7647. | yyensure_buffer_stack (); \
  7648. | YY_CURRENT_BUFFER_LVALUE = \
  7649. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  7650. | } \
  7651. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  7652. | }
  7653. |
  7654. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  7655. |
  7656. | /* Begin user sect3 */
  7657. |
  7658. | typedef unsigned char YY_CHAR;
  7659. |
  7660. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  7661. |
  7662. | typedef int yy_state_type;
  7663. |
  7664. | extern int yylineno;
  7665. |
  7666. | int yylineno = 1;
  7667. |
  7668. | extern char *yytext;
  7669. | #define yytext_ptr yytext
  7670. |
  7671. | static yy_state_type yy_get_previous_state (void );
  7672. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  7673. | static int yy_get_next_buffer (void );
  7674. | static void yy_fatal_error (yyconst char msg[] );
  7675. |
  7676. | /* Done after the current pattern has been matched and before the
  7677. | * corresponding action - sets up yytext.
  7678. | */
  7679. | #define YY_DO_BEFORE_ACTION \
  7680. | (yytext_ptr) = yy_bp; \
  7681. | (yytext_ptr) -= (yy_more_len); \
  7682. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  7683. | (yy_hold_char) = *yy_cp; \
  7684. | *yy_cp = '\0'; \
  7685. | (yy_c_buf_p) = yy_cp;
  7686. |
  7687. | #define YY_NUM_RULES 8
  7688. | #define YY_END_OF_BUFFER 9
  7689. | /* This struct is not used in this scanner,
  7690. | but its presence is necessary. */
  7691. | struct yy_trans_info
  7692. | {
  7693. | flex_int32_t yy_verify;
  7694. | flex_int32_t yy_nxt;
  7695. | };
  7696. | static yyconst flex_int16_t yy_acclist[23] =
  7697. | { 0,
  7698. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  7699. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  7700. | 7, 8
  7701. | } ;
  7702. |
  7703. | static yyconst flex_int16_t yy_accept[14] =
  7704. | { 0,
  7705. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  7706. | 20, 23, 23
  7707. | } ;
  7708. |
  7709. | static yyconst flex_int32_t yy_ec[256] =
  7710. | { 0,
  7711. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  7712. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7713. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7714. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7715. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7716. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7717. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7718. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7719. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7720. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  7721. |
  7722. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  7723. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7724. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7725. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7726. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7727. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7728. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7729. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7730. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7731. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7732. |
  7733. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7734. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7735. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7736. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7737. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7738. | 1, 1, 1, 1, 1
  7739. | } ;
  7740. |
  7741. | static yyconst flex_int32_t yy_meta[9] =
  7742. | { 0,
  7743. | 1, 1, 1, 1, 1, 1, 1, 1
  7744. | } ;
  7745. |
  7746. | static yyconst flex_int16_t yy_base[13] =
  7747. | { 0,
  7748. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  7749. | 10, 10
  7750. | } ;
  7751. |
  7752. | static yyconst flex_int16_t yy_def[13] =
  7753. | { 0,
  7754. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  7755. | 12, 0
  7756. | } ;
  7757. |
  7758. | static yyconst flex_int16_t yy_nxt[19] =
  7759. | { 0,
  7760. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  7761. | 12, 12, 12, 12, 12, 12, 12, 12
  7762. | } ;
  7763. |
  7764. | static yyconst flex_int16_t yy_chk[19] =
  7765. | { 0,
  7766. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  7767. | 12, 12, 12, 12, 12, 12, 12, 12
  7768. | } ;
  7769. |
  7770. | extern int yy_flex_debug;
  7771. | int yy_flex_debug = 0;
  7772. |
  7773. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  7774. | static char *yy_full_match;
  7775. | static int yy_lp;
  7776. | #define REJECT \
  7777. | { \
  7778. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  7779. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  7780. | ++(yy_lp); \
  7781. | goto find_rule; \
  7782. | }
  7783. |
  7784. | static int yy_more_flag = 0;
  7785. | static int yy_more_len = 0;
  7786. | #define yymore() ((yy_more_flag) = 1)
  7787. | #define YY_MORE_ADJ (yy_more_len)
  7788. | #define YY_RESTORE_YY_MORE_OFFSET
  7789. | char *yytext;
  7790. | #line 1 "conftest.l"
  7791. | #line 469 "lex.yy.c"
  7792. |
  7793. | #define INITIAL 0
  7794. |
  7795. | #ifndef YY_NO_UNISTD_H
  7796. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  7797. | * down here because we want the user's section 1 to have been scanned first.
  7798. | * The user has a chance to override it with an option.
  7799. | */
  7800. | #include <unistd.h>
  7801. | #endif
  7802. |
  7803. | #ifndef YY_EXTRA_TYPE
  7804. | #define YY_EXTRA_TYPE void *
  7805. | #endif
  7806. |
  7807. | static int yy_init_globals (void );
  7808. |
  7809. | /* Accessor methods to globals.
  7810. | These are made visible to non-reentrant scanners for convenience. */
  7811. |
  7812. | int yylex_destroy (void );
  7813. |
  7814. | int yyget_debug (void );
  7815. |
  7816. | void yyset_debug (int debug_flag );
  7817. |
  7818. | YY_EXTRA_TYPE yyget_extra (void );
  7819. |
  7820. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  7821. |
  7822. | FILE *yyget_in (void );
  7823. |
  7824. | void yyset_in (FILE * in_str );
  7825. |
  7826. | FILE *yyget_out (void );
  7827. |
  7828. | void yyset_out (FILE * out_str );
  7829. |
  7830. | yy_size_t yyget_leng (void );
  7831. |
  7832. | char *yyget_text (void );
  7833. |
  7834. | int yyget_lineno (void );
  7835. |
  7836. | void yyset_lineno (int line_number );
  7837. |
  7838. | /* Macros after this point can all be overridden by user definitions in
  7839. | * section 1.
  7840. | */
  7841. |
  7842. | #ifndef YY_SKIP_YYWRAP
  7843. | #ifdef __cplusplus
  7844. | extern "C" int yywrap (void );
  7845. | #else
  7846. | extern int yywrap (void );
  7847. | #endif
  7848. | #endif
  7849. |
  7850. | static void yyunput (int c,char *buf_ptr );
  7851. |
  7852. | #ifndef yytext_ptr
  7853. | static void yy_flex_strncpy (char *,yyconst char *,int );
  7854. | #endif
  7855. |
  7856. | #ifdef YY_NEED_STRLEN
  7857. | static int yy_flex_strlen (yyconst char * );
  7858. | #endif
  7859. |
  7860. | #ifndef YY_NO_INPUT
  7861. |
  7862. | #ifdef __cplusplus
  7863. | static int yyinput (void );
  7864. | #else
  7865. | static int input (void );
  7866. | #endif
  7867. |
  7868. | #endif
  7869. |
  7870. | /* Amount of stuff to slurp up with each read. */
  7871. | #ifndef YY_READ_BUF_SIZE
  7872. | #define YY_READ_BUF_SIZE 8192
  7873. | #endif
  7874. |
  7875. | /* Copy whatever the last rule matched to the standard output. */
  7876. | #ifndef ECHO
  7877. | /* This used to be an fputs(), but since the string might contain NUL's,
  7878. | * we now use fwrite().
  7879. | */
  7880. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  7881. | #endif
  7882. |
  7883. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  7884. | * is returned in "result".
  7885. | */
  7886. | #ifndef YY_INPUT
  7887. | #define YY_INPUT(buf,result,max_size) \
  7888. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  7889. | { \
  7890. | int c = '*'; \
  7891. | size_t n; \
  7892. | for ( n = 0; n < max_size && \
  7893. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  7894. | buf[n] = (char) c; \
  7895. | if ( c == '\n' ) \
  7896. | buf[n++] = (char) c; \
  7897. | if ( c == EOF && ferror( yyin ) ) \
  7898. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  7899. | result = n; \
  7900. | } \
  7901. | else \
  7902. | { \
  7903. | errno=0; \
  7904. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  7905. | { \
  7906. | if( errno != EINTR) \
  7907. | { \
  7908. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  7909. | break; \
  7910. | } \
  7911. | errno=0; \
  7912. | clearerr(yyin); \
  7913. | } \
  7914. | }\
  7915. | \
  7916. |
  7917. | #endif
  7918. |
  7919. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  7920. | * we don't want an extra ';' after the "return" because that will cause
  7921. | * some compilers to complain about unreachable statements.
  7922. | */
  7923. | #ifndef yyterminate
  7924. | #define yyterminate() return YY_NULL
  7925. | #endif
  7926. |
  7927. | /* Number of entries by which start-condition stack grows. */
  7928. | #ifndef YY_START_STACK_INCR
  7929. | #define YY_START_STACK_INCR 25
  7930. | #endif
  7931. |
  7932. | /* Report a fatal error. */
  7933. | #ifndef YY_FATAL_ERROR
  7934. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  7935. | #endif
  7936. |
  7937. | /* end tables serialization structures and prototypes */
  7938. |
  7939. | /* Default declaration of generated scanner - a define so the user can
  7940. | * easily add parameters.
  7941. | */
  7942. | #ifndef YY_DECL
  7943. | #define YY_DECL_IS_OURS 1
  7944. |
  7945. | extern int yylex (void);
  7946. |
  7947. | #define YY_DECL int yylex (void)
  7948. | #endif /* !YY_DECL */
  7949. |
  7950. | /* Code executed at the beginning of each rule, after yytext and yyleng
  7951. | * have been set up.
  7952. | */
  7953. | #ifndef YY_USER_ACTION
  7954. | #define YY_USER_ACTION
  7955. | #endif
  7956. |
  7957. | /* Code executed at the end of each rule. */
  7958. | #ifndef YY_BREAK
  7959. | #define YY_BREAK break;
  7960. | #endif
  7961. |
  7962. | #define YY_RULE_SETUP \
  7963. | YY_USER_ACTION
  7964. |
  7965. | /** The main scanner function which does all the work.
  7966. | */
  7967. | YY_DECL
  7968. | {
  7969. | register yy_state_type yy_current_state;
  7970. | register char *yy_cp, *yy_bp;
  7971. | register int yy_act;
  7972. |
  7973. | #line 1 "conftest.l"
  7974. |
  7975. | #line 653 "lex.yy.c"
  7976. |
  7977. | if ( !(yy_init) )
  7978. | {
  7979. | (yy_init) = 1;
  7980. |
  7981. | #ifdef YY_USER_INIT
  7982. | YY_USER_INIT;
  7983. | #endif
  7984. |
  7985. | /* Create the reject buffer large enough to save one state per allowed character. */
  7986. | if ( ! (yy_state_buf) )
  7987. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  7988. | if ( ! (yy_state_buf) )
  7989. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  7990. |
  7991. | if ( ! (yy_start) )
  7992. | (yy_start) = 1; /* first start state */
  7993. |
  7994. | if ( ! yyin )
  7995. | yyin = stdin;
  7996. |
  7997. | if ( ! yyout )
  7998. | yyout = stdout;
  7999. |
  8000. | if ( ! YY_CURRENT_BUFFER ) {
  8001. | yyensure_buffer_stack ();
  8002. | YY_CURRENT_BUFFER_LVALUE =
  8003. | yy_create_buffer(yyin,YY_BUF_SIZE );
  8004. | }
  8005. |
  8006. | yy_load_buffer_state( );
  8007. | }
  8008. |
  8009. | while ( 1 ) /* loops until end-of-file is reached */
  8010. | {
  8011. | (yy_more_len) = 0;
  8012. | if ( (yy_more_flag) )
  8013. | {
  8014. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  8015. | (yy_more_flag) = 0;
  8016. | }
  8017. | yy_cp = (yy_c_buf_p);
  8018. |
  8019. | /* Support of yytext. */
  8020. | *yy_cp = (yy_hold_char);
  8021. |
  8022. | /* yy_bp points to the position in yy_ch_buf of the start of
  8023. | * the current run.
  8024. | */
  8025. | yy_bp = yy_cp;
  8026. |
  8027. | yy_current_state = (yy_start);
  8028. |
  8029. | (yy_state_ptr) = (yy_state_buf);
  8030. | *(yy_state_ptr)++ = yy_current_state;
  8031. |
  8032. | yy_match:
  8033. | do
  8034. | {
  8035. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  8036. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  8037. | {
  8038. | yy_current_state = (int) yy_def[yy_current_state];
  8039. | if ( yy_current_state >= 13 )
  8040. | yy_c = yy_meta[(unsigned int) yy_c];
  8041. | }
  8042. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  8043. | *(yy_state_ptr)++ = yy_current_state;
  8044. | ++yy_cp;
  8045. | }
  8046. | while ( yy_base[yy_current_state] != 10 );
  8047. |
  8048. | yy_find_action:
  8049. | yy_current_state = *--(yy_state_ptr);
  8050. | (yy_lp) = yy_accept[yy_current_state];
  8051. | find_rule: /* we branch to this label when backing up */
  8052. | for ( ; ; ) /* until we find what rule we matched */
  8053. | {
  8054. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  8055. | {
  8056. | yy_act = yy_acclist[(yy_lp)];
  8057. | {
  8058. | (yy_full_match) = yy_cp;
  8059. | break;
  8060. | }
  8061. | }
  8062. | --yy_cp;
  8063. | yy_current_state = *--(yy_state_ptr);
  8064. | (yy_lp) = yy_accept[yy_current_state];
  8065. | }
  8066. |
  8067. | YY_DO_BEFORE_ACTION;
  8068. |
  8069. | do_action: /* This label is used only to access EOF actions. */
  8070. |
  8071. | switch ( yy_act )
  8072. | { /* beginning of action switch */
  8073. | case 1:
  8074. | YY_RULE_SETUP
  8075. | #line 2 "conftest.l"
  8076. | { ECHO; }
  8077. | YY_BREAK
  8078. | case 2:
  8079. | YY_RULE_SETUP
  8080. | #line 3 "conftest.l"
  8081. | { REJECT; }
  8082. | YY_BREAK
  8083. | case 3:
  8084. | YY_RULE_SETUP
  8085. | #line 4 "conftest.l"
  8086. | { yymore (); }
  8087. | YY_BREAK
  8088. | case 4:
  8089. | YY_RULE_SETUP
  8090. | #line 5 "conftest.l"
  8091. | { yyless (1); }
  8092. | YY_BREAK
  8093. | case 5:
  8094. | YY_RULE_SETUP
  8095. | #line 6 "conftest.l"
  8096. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  8097. | yyless ((input () != 0)); }
  8098. | YY_BREAK
  8099. | case 6:
  8100. | YY_RULE_SETUP
  8101. | #line 8 "conftest.l"
  8102. | { unput (yytext[0]); }
  8103. | YY_BREAK
  8104. | case 7:
  8105. | YY_RULE_SETUP
  8106. | #line 9 "conftest.l"
  8107. | { BEGIN INITIAL; }
  8108. | YY_BREAK
  8109. | case 8:
  8110. | YY_RULE_SETUP
  8111. | #line 10 "conftest.l"
  8112. | ECHO;
  8113. | YY_BREAK
  8114. | #line 792 "lex.yy.c"
  8115. | case YY_STATE_EOF(INITIAL):
  8116. | yyterminate();
  8117. |
  8118. | case YY_END_OF_BUFFER:
  8119. | {
  8120. | /* Amount of text matched not including the EOB char. */
  8121. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  8122. |
  8123. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  8124. | *yy_cp = (yy_hold_char);
  8125. | YY_RESTORE_YY_MORE_OFFSET
  8126. |
  8127. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  8128. | {
  8129. | /* We're scanning a new file or input source. It's
  8130. | * possible that this happened because the user
  8131. | * just pointed yyin at a new source and called
  8132. | * yylex(). If so, then we have to assure
  8133. | * consistency between YY_CURRENT_BUFFER and our
  8134. | * globals. Here is the right place to do so, because
  8135. | * this is the first action (other than possibly a
  8136. | * back-up) that will match for the new input source.
  8137. | */
  8138. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  8139. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  8140. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  8141. | }
  8142. |
  8143. | /* Note that here we test for yy_c_buf_p "<=" to the position
  8144. | * of the first EOB in the buffer, since yy_c_buf_p will
  8145. | * already have been incremented past the NUL character
  8146. | * (since all states make transitions on EOB to the
  8147. | * end-of-buffer state). Contrast this with the test
  8148. | * in input().
  8149. | */
  8150. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  8151. | { /* This was really a NUL. */
  8152. | yy_state_type yy_next_state;
  8153. |
  8154. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  8155. |
  8156. | yy_current_state = yy_get_previous_state( );
  8157. |
  8158. | /* Okay, we're now positioned to make the NUL
  8159. | * transition. We couldn't have
  8160. | * yy_get_previous_state() go ahead and do it
  8161. | * for us because it doesn't know how to deal
  8162. | * with the possibility of jamming (and we don't
  8163. | * want to build jamming into it because then it
  8164. | * will run more slowly).
  8165. | */
  8166. |
  8167. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  8168. |
  8169. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  8170. |
  8171. | if ( yy_next_state )
  8172. | {
  8173. | /* Consume the NUL. */
  8174. | yy_cp = ++(yy_c_buf_p);
  8175. | yy_current_state = yy_next_state;
  8176. | goto yy_match;
  8177. | }
  8178. |
  8179. | else
  8180. | {
  8181. | yy_cp = (yy_c_buf_p);
  8182. | goto yy_find_action;
  8183. | }
  8184. | }
  8185. |
  8186. | else switch ( yy_get_next_buffer( ) )
  8187. | {
  8188. | case EOB_ACT_END_OF_FILE:
  8189. | {
  8190. | (yy_did_buffer_switch_on_eof) = 0;
  8191. |
  8192. | if ( yywrap( ) )
  8193. | {
  8194. | /* Note: because we've taken care in
  8195. | * yy_get_next_buffer() to have set up
  8196. | * yytext, we can now set up
  8197. | * yy_c_buf_p so that if some total
  8198. | * hoser (like flex itself) wants to
  8199. | * call the scanner after we return the
  8200. | * YY_NULL, it'll still work - another
  8201. | * YY_NULL will get returned.
  8202. | */
  8203. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  8204. |
  8205. | yy_act = YY_STATE_EOF(YY_START);
  8206. | goto do_action;
  8207. | }
  8208. |
  8209. | else
  8210. | {
  8211. | if ( ! (yy_did_buffer_switch_on_eof) )
  8212. | YY_NEW_FILE;
  8213. | }
  8214. | break;
  8215. | }
  8216. |
  8217. | case EOB_ACT_CONTINUE_SCAN:
  8218. | (yy_c_buf_p) =
  8219. | (yytext_ptr) + yy_amount_of_matched_text;
  8220. |
  8221. | yy_current_state = yy_get_previous_state( );
  8222. |
  8223. | yy_cp = (yy_c_buf_p);
  8224. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  8225. | goto yy_match;
  8226. |
  8227. | case EOB_ACT_LAST_MATCH:
  8228. | (yy_c_buf_p) =
  8229. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  8230. |
  8231. | yy_current_state = yy_get_previous_state( );
  8232. |
  8233. | yy_cp = (yy_c_buf_p);
  8234. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  8235. | goto yy_find_action;
  8236. | }
  8237. | break;
  8238. | }
  8239. |
  8240. | default:
  8241. | YY_FATAL_ERROR(
  8242. | "fatal flex scanner internal error--no action found" );
  8243. | } /* end of action switch */
  8244. | } /* end of scanning one token */
  8245. | } /* end of yylex */
  8246. |
  8247. | /* yy_get_next_buffer - try to read in a new buffer
  8248. | *
  8249. | * Returns a code representing an action:
  8250. | * EOB_ACT_LAST_MATCH -
  8251. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  8252. | * EOB_ACT_END_OF_FILE - end of file
  8253. | */
  8254. | static int yy_get_next_buffer (void)
  8255. | {
  8256. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  8257. | register char *source = (yytext_ptr);
  8258. | register int number_to_move, i;
  8259. | int ret_val;
  8260. |
  8261. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  8262. | YY_FATAL_ERROR(
  8263. | "fatal flex scanner internal error--end of buffer missed" );
  8264. |
  8265. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  8266. | { /* Don't try to fill the buffer, so this is an EOF. */
  8267. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  8268. | {
  8269. | /* We matched a single character, the EOB, so
  8270. | * treat this as a final EOF.
  8271. | */
  8272. | return EOB_ACT_END_OF_FILE;
  8273. | }
  8274. |
  8275. | else
  8276. | {
  8277. | /* We matched some text prior to the EOB, first
  8278. | * process it.
  8279. | */
  8280. | return EOB_ACT_LAST_MATCH;
  8281. | }
  8282. | }
  8283. |
  8284. | /* Try to read more data. */
  8285. |
  8286. | /* First move last chars to start of buffer. */
  8287. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  8288. |
  8289. | for ( i = 0; i < number_to_move; ++i )
  8290. | *(dest++) = *(source++);
  8291. |
  8292. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  8293. | /* don't do the read, it's not guaranteed to return an EOF,
  8294. | * just force an EOF
  8295. | */
  8296. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  8297. |
  8298. | else
  8299. | {
  8300. | yy_size_t num_to_read =
  8301. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  8302. |
  8303. | while ( num_to_read <= 0 )
  8304. | { /* Not enough room in the buffer - grow it. */
  8305. |
  8306. | YY_FATAL_ERROR(
  8307. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  8308. |
  8309. | }
  8310. |
  8311. | if ( num_to_read > YY_READ_BUF_SIZE )
  8312. | num_to_read = YY_READ_BUF_SIZE;
  8313. |
  8314. | /* Read in more data. */
  8315. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  8316. | (yy_n_chars), num_to_read );
  8317. |
  8318. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  8319. | }
  8320. |
  8321. | if ( (yy_n_chars) == 0 )
  8322. | {
  8323. | if ( number_to_move == YY_MORE_ADJ )
  8324. | {
  8325. | ret_val = EOB_ACT_END_OF_FILE;
  8326. | yyrestart(yyin );
  8327. | }
  8328. |
  8329. | else
  8330. | {
  8331. | ret_val = EOB_ACT_LAST_MATCH;
  8332. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  8333. | YY_BUFFER_EOF_PENDING;
  8334. | }
  8335. | }
  8336. |
  8337. | else
  8338. | ret_val = EOB_ACT_CONTINUE_SCAN;
  8339. |
  8340. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  8341. | /* Extend the array by 50%, plus the number we really need. */
  8342. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  8343. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  8344. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  8345. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  8346. | }
  8347. |
  8348. | (yy_n_chars) += number_to_move;
  8349. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  8350. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  8351. |
  8352. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  8353. |
  8354. | return ret_val;
  8355. | }
  8356. |
  8357. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  8358. |
  8359. | static yy_state_type yy_get_previous_state (void)
  8360. | {
  8361. | register yy_state_type yy_current_state;
  8362. | register char *yy_cp;
  8363. |
  8364. | yy_current_state = (yy_start);
  8365. |
  8366. | (yy_state_ptr) = (yy_state_buf);
  8367. | *(yy_state_ptr)++ = yy_current_state;
  8368. |
  8369. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  8370. | {
  8371. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  8372. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  8373. | {
  8374. | yy_current_state = (int) yy_def[yy_current_state];
  8375. | if ( yy_current_state >= 13 )
  8376. | yy_c = yy_meta[(unsigned int) yy_c];
  8377. | }
  8378. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  8379. | *(yy_state_ptr)++ = yy_current_state;
  8380. | }
  8381. |
  8382. | return yy_current_state;
  8383. | }
  8384. |
  8385. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  8386. | *
  8387. | * synopsis
  8388. | * next_state = yy_try_NUL_trans( current_state );
  8389. | */
  8390. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  8391. | {
  8392. | register int yy_is_jam;
  8393. |
  8394. | register YY_CHAR yy_c = 1;
  8395. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  8396. | {
  8397. | yy_current_state = (int) yy_def[yy_current_state];
  8398. | if ( yy_current_state >= 13 )
  8399. | yy_c = yy_meta[(unsigned int) yy_c];
  8400. | }
  8401. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  8402. | yy_is_jam = (yy_current_state == 12);
  8403. | if ( ! yy_is_jam )
  8404. | *(yy_state_ptr)++ = yy_current_state;
  8405. |
  8406. | return yy_is_jam ? 0 : yy_current_state;
  8407. | }
  8408. |
  8409. | static void yyunput (int c, register char * yy_bp )
  8410. | {
  8411. | register char *yy_cp;
  8412. |
  8413. | yy_cp = (yy_c_buf_p);
  8414. |
  8415. | /* undo effects of setting up yytext */
  8416. | *yy_cp = (yy_hold_char);
  8417. |
  8418. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  8419. | { /* need to shift things up to make room */
  8420. | /* +2 for EOB chars. */
  8421. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  8422. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  8423. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  8424. | register char *source =
  8425. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  8426. |
  8427. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  8428. | *--dest = *--source;
  8429. |
  8430. | yy_cp += (int) (dest - source);
  8431. | yy_bp += (int) (dest - source);
  8432. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  8433. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  8434. |
  8435. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  8436. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  8437. | }
  8438. |
  8439. | *--yy_cp = (char) c;
  8440. |
  8441. | (yytext_ptr) = yy_bp;
  8442. | (yy_hold_char) = *yy_cp;
  8443. | (yy_c_buf_p) = yy_cp;
  8444. | }
  8445. |
  8446. | #ifndef YY_NO_INPUT
  8447. | #ifdef __cplusplus
  8448. | static int yyinput (void)
  8449. | #else
  8450. | static int input (void)
  8451. | #endif
  8452. |
  8453. | {
  8454. | int c;
  8455. |
  8456. | *(yy_c_buf_p) = (yy_hold_char);
  8457. |
  8458. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  8459. | {
  8460. | /* yy_c_buf_p now points to the character we want to return.
  8461. | * If this occurs *before* the EOB characters, then it's a
  8462. | * valid NUL; if not, then we've hit the end of the buffer.
  8463. | */
  8464. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  8465. | /* This was really a NUL. */
  8466. | *(yy_c_buf_p) = '\0';
  8467. |
  8468. | else
  8469. | { /* need more input */
  8470. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  8471. | ++(yy_c_buf_p);
  8472. |
  8473. | switch ( yy_get_next_buffer( ) )
  8474. | {
  8475. | case EOB_ACT_LAST_MATCH:
  8476. | /* This happens because yy_g_n_b()
  8477. | * sees that we've accumulated a
  8478. | * token and flags that we need to
  8479. | * try matching the token before
  8480. | * proceeding. But for input(),
  8481. | * there's no matching to consider.
  8482. | * So convert the EOB_ACT_LAST_MATCH
  8483. | * to EOB_ACT_END_OF_FILE.
  8484. | */
  8485. |
  8486. | /* Reset buffer status. */
  8487. | yyrestart(yyin );
  8488. |
  8489. | /*FALLTHROUGH*/
  8490. |
  8491. | case EOB_ACT_END_OF_FILE:
  8492. | {
  8493. | if ( yywrap( ) )
  8494. | return EOF;
  8495. |
  8496. | if ( ! (yy_did_buffer_switch_on_eof) )
  8497. | YY_NEW_FILE;
  8498. | #ifdef __cplusplus
  8499. | return yyinput();
  8500. | #else
  8501. | return input();
  8502. | #endif
  8503. | }
  8504. |
  8505. | case EOB_ACT_CONTINUE_SCAN:
  8506. | (yy_c_buf_p) = (yytext_ptr) + offset;
  8507. | break;
  8508. | }
  8509. | }
  8510. | }
  8511. |
  8512. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  8513. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  8514. | (yy_hold_char) = *++(yy_c_buf_p);
  8515. |
  8516. | return c;
  8517. | }
  8518. | #endif /* ifndef YY_NO_INPUT */
  8519. |
  8520. | /** Immediately switch to a different input stream.
  8521. | * @param input_file A readable stream.
  8522. | *
  8523. | * @note This function does not reset the start condition to @c INITIAL .
  8524. | */
  8525. | void yyrestart (FILE * input_file )
  8526. | {
  8527. |
  8528. | if ( ! YY_CURRENT_BUFFER ){
  8529. | yyensure_buffer_stack ();
  8530. | YY_CURRENT_BUFFER_LVALUE =
  8531. | yy_create_buffer(yyin,YY_BUF_SIZE );
  8532. | }
  8533. |
  8534. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  8535. | yy_load_buffer_state( );
  8536. | }
  8537. |
  8538. | /** Switch to a different input buffer.
  8539. | * @param new_buffer The new input buffer.
  8540. | *
  8541. | */
  8542. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  8543. | {
  8544. |
  8545. | /* TODO. We should be able to replace this entire function body
  8546. | * with
  8547. | * yypop_buffer_state();
  8548. | * yypush_buffer_state(new_buffer);
  8549. | */
  8550. | yyensure_buffer_stack ();
  8551. | if ( YY_CURRENT_BUFFER == new_buffer )
  8552. | return;
  8553. |
  8554. | if ( YY_CURRENT_BUFFER )
  8555. | {
  8556. | /* Flush out information for old buffer. */
  8557. | *(yy_c_buf_p) = (yy_hold_char);
  8558. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  8559. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  8560. | }
  8561. |
  8562. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  8563. | yy_load_buffer_state( );
  8564. |
  8565. | /* We don't actually know whether we did this switch during
  8566. | * EOF (yywrap()) processing, but the only time this flag
  8567. | * is looked at is after yywrap() is called, so it's safe
  8568. | * to go ahead and always set it.
  8569. | */
  8570. | (yy_did_buffer_switch_on_eof) = 1;
  8571. | }
  8572. |
  8573. | static void yy_load_buffer_state (void)
  8574. | {
  8575. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  8576. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  8577. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  8578. | (yy_hold_char) = *(yy_c_buf_p);
  8579. | }
  8580. |
  8581. | /** Allocate and initialize an input buffer state.
  8582. | * @param file A readable stream.
  8583. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  8584. | *
  8585. | * @return the allocated buffer state.
  8586. | */
  8587. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  8588. | {
  8589. | YY_BUFFER_STATE b;
  8590. |
  8591. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  8592. | if ( ! b )
  8593. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  8594. |
  8595. | b->yy_buf_size = size;
  8596. |
  8597. | /* yy_ch_buf has to be 2 characters longer than the size given because
  8598. | * we need to put in 2 end-of-buffer characters.
  8599. | */
  8600. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  8601. | if ( ! b->yy_ch_buf )
  8602. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  8603. |
  8604. | b->yy_is_our_buffer = 1;
  8605. |
  8606. | yy_init_buffer(b,file );
  8607. |
  8608. | return b;
  8609. | }
  8610. |
  8611. | /** Destroy the buffer.
  8612. | * @param b a buffer created with yy_create_buffer()
  8613. | *
  8614. | */
  8615. | void yy_delete_buffer (YY_BUFFER_STATE b )
  8616. | {
  8617. |
  8618. | if ( ! b )
  8619. | return;
  8620. |
  8621. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  8622. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  8623. |
  8624. | if ( b->yy_is_our_buffer )
  8625. | yyfree((void *) b->yy_ch_buf );
  8626. |
  8627. | yyfree((void *) b );
  8628. | }
  8629. |
  8630. | /* Initializes or reinitializes a buffer.
  8631. | * This function is sometimes called more than once on the same buffer,
  8632. | * such as during a yyrestart() or at EOF.
  8633. | */
  8634. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  8635. |
  8636. | {
  8637. | int oerrno = errno;
  8638. |
  8639. | yy_flush_buffer(b );
  8640. |
  8641. | b->yy_input_file = file;
  8642. | b->yy_fill_buffer = 1;
  8643. |
  8644. | /* If b is the current buffer, then yy_init_buffer was _probably_
  8645. | * called from yyrestart() or through yy_get_next_buffer.
  8646. | * In that case, we don't want to reset the lineno or column.
  8647. | */
  8648. | if (b != YY_CURRENT_BUFFER){
  8649. | b->yy_bs_lineno = 1;
  8650. | b->yy_bs_column = 0;
  8651. | }
  8652. |
  8653. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  8654. |
  8655. | errno = oerrno;
  8656. | }
  8657. |
  8658. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  8659. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  8660. | *
  8661. | */
  8662. | void yy_flush_buffer (YY_BUFFER_STATE b )
  8663. | {
  8664. | if ( ! b )
  8665. | return;
  8666. |
  8667. | b->yy_n_chars = 0;
  8668. |
  8669. | /* We always need two end-of-buffer characters. The first causes
  8670. | * a transition to the end-of-buffer state. The second causes
  8671. | * a jam in that state.
  8672. | */
  8673. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  8674. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  8675. |
  8676. | b->yy_buf_pos = &b->yy_ch_buf[0];
  8677. |
  8678. | b->yy_at_bol = 1;
  8679. | b->yy_buffer_status = YY_BUFFER_NEW;
  8680. |
  8681. | if ( b == YY_CURRENT_BUFFER )
  8682. | yy_load_buffer_state( );
  8683. | }
  8684. |
  8685. | /** Pushes the new state onto the stack. The new state becomes
  8686. | * the current state. This function will allocate the stack
  8687. | * if necessary.
  8688. | * @param new_buffer The new state.
  8689. | *
  8690. | */
  8691. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  8692. | {
  8693. | if (new_buffer == NULL)
  8694. | return;
  8695. |
  8696. | yyensure_buffer_stack();
  8697. |
  8698. | /* This block is copied from yy_switch_to_buffer. */
  8699. | if ( YY_CURRENT_BUFFER )
  8700. | {
  8701. | /* Flush out information for old buffer. */
  8702. | *(yy_c_buf_p) = (yy_hold_char);
  8703. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  8704. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  8705. | }
  8706. |
  8707. | /* Only push if top exists. Otherwise, replace top. */
  8708. | if (YY_CURRENT_BUFFER)
  8709. | (yy_buffer_stack_top)++;
  8710. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  8711. |
  8712. | /* copied from yy_switch_to_buffer. */
  8713. | yy_load_buffer_state( );
  8714. | (yy_did_buffer_switch_on_eof) = 1;
  8715. | }
  8716. |
  8717. | /** Removes and deletes the top of the stack, if present.
  8718. | * The next element becomes the new top.
  8719. | *
  8720. | */
  8721. | void yypop_buffer_state (void)
  8722. | {
  8723. | if (!YY_CURRENT_BUFFER)
  8724. | return;
  8725. |
  8726. | yy_delete_buffer(YY_CURRENT_BUFFER );
  8727. | YY_CURRENT_BUFFER_LVALUE = NULL;
  8728. | if ((yy_buffer_stack_top) > 0)
  8729. | --(yy_buffer_stack_top);
  8730. |
  8731. | if (YY_CURRENT_BUFFER) {
  8732. | yy_load_buffer_state( );
  8733. | (yy_did_buffer_switch_on_eof) = 1;
  8734. | }
  8735. | }
  8736. |
  8737. | /* Allocates the stack if it does not exist.
  8738. | * Guarantees space for at least one push.
  8739. | */
  8740. | static void yyensure_buffer_stack (void)
  8741. | {
  8742. | yy_size_t num_to_alloc;
  8743. |
  8744. | if (!(yy_buffer_stack)) {
  8745. |
  8746. | /* First allocation is just for 2 elements, since we don't know if this
  8747. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  8748. | * immediate realloc on the next call.
  8749. | */
  8750. | num_to_alloc = 1;
  8751. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  8752. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  8753. | );
  8754. | if ( ! (yy_buffer_stack) )
  8755. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  8756. |
  8757. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  8758. |
  8759. | (yy_buffer_stack_max) = num_to_alloc;
  8760. | (yy_buffer_stack_top) = 0;
  8761. | return;
  8762. | }
  8763. |
  8764. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  8765. |
  8766. | /* Increase the buffer to prepare for a possible push. */
  8767. | int grow_size = 8 /* arbitrary grow size */;
  8768. |
  8769. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  8770. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  8771. | ((yy_buffer_stack),
  8772. | num_to_alloc * sizeof(struct yy_buffer_state*)
  8773. | );
  8774. | if ( ! (yy_buffer_stack) )
  8775. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  8776. |
  8777. | /* zero only the new slots.*/
  8778. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  8779. | (yy_buffer_stack_max) = num_to_alloc;
  8780. | }
  8781. | }
  8782. |
  8783. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  8784. | * @param base the character buffer
  8785. | * @param size the size in bytes of the character buffer
  8786. | *
  8787. | * @return the newly allocated buffer state object.
  8788. | */
  8789. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  8790. | {
  8791. | YY_BUFFER_STATE b;
  8792. |
  8793. | if ( size < 2 ||
  8794. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  8795. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  8796. | /* They forgot to leave room for the EOB's. */
  8797. | return 0;
  8798. |
  8799. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  8800. | if ( ! b )
  8801. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  8802. |
  8803. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  8804. | b->yy_buf_pos = b->yy_ch_buf = base;
  8805. | b->yy_is_our_buffer = 0;
  8806. | b->yy_input_file = 0;
  8807. | b->yy_n_chars = b->yy_buf_size;
  8808. | b->yy_is_interactive = 0;
  8809. | b->yy_at_bol = 1;
  8810. | b->yy_fill_buffer = 0;
  8811. | b->yy_buffer_status = YY_BUFFER_NEW;
  8812. |
  8813. | yy_switch_to_buffer(b );
  8814. |
  8815. | return b;
  8816. | }
  8817. |
  8818. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  8819. | * scan from a @e copy of @a str.
  8820. | * @param yystr a NUL-terminated string to scan
  8821. | *
  8822. | * @return the newly allocated buffer state object.
  8823. | * @note If you want to scan bytes that may contain NUL values, then use
  8824. | * yy_scan_bytes() instead.
  8825. | */
  8826. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  8827. | {
  8828. |
  8829. | return yy_scan_bytes(yystr,strlen(yystr) );
  8830. | }
  8831. |
  8832. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  8833. | * scan from a @e copy of @a bytes.
  8834. | * @param yybytes the byte buffer to scan
  8835. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  8836. | *
  8837. | * @return the newly allocated buffer state object.
  8838. | */
  8839. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  8840. | {
  8841. | YY_BUFFER_STATE b;
  8842. | char *buf;
  8843. | yy_size_t n;
  8844. | int i;
  8845. |
  8846. | /* Get memory for full buffer, including space for trailing EOB's. */
  8847. | n = _yybytes_len + 2;
  8848. | buf = (char *) yyalloc(n );
  8849. | if ( ! buf )
  8850. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  8851. |
  8852. | for ( i = 0; i < _yybytes_len; ++i )
  8853. | buf[i] = yybytes[i];
  8854. |
  8855. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  8856. |
  8857. | b = yy_scan_buffer(buf,n );
  8858. | if ( ! b )
  8859. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  8860. |
  8861. | /* It's okay to grow etc. this buffer, and we should throw it
  8862. | * away when we're done.
  8863. | */
  8864. | b->yy_is_our_buffer = 1;
  8865. |
  8866. | return b;
  8867. | }
  8868. |
  8869. | #ifndef YY_EXIT_FAILURE
  8870. | #define YY_EXIT_FAILURE 2
  8871. | #endif
  8872. |
  8873. | static void yy_fatal_error (yyconst char* msg )
  8874. | {
  8875. | (void) fprintf( stderr, "%s\n", msg );
  8876. | exit( YY_EXIT_FAILURE );
  8877. | }
  8878. |
  8879. | /* Redefine yyless() so it works in section 3 code. */
  8880. |
  8881. | #undef yyless
  8882. | #define yyless(n) \
  8883. | do \
  8884. | { \
  8885. | /* Undo effects of setting up yytext. */ \
  8886. | int yyless_macro_arg = (n); \
  8887. | YY_LESS_LINENO(yyless_macro_arg);\
  8888. | yytext[yyleng] = (yy_hold_char); \
  8889. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  8890. | (yy_hold_char) = *(yy_c_buf_p); \
  8891. | *(yy_c_buf_p) = '\0'; \
  8892. | yyleng = yyless_macro_arg; \
  8893. | } \
  8894. | while ( 0 )
  8895. |
  8896. | /* Accessor methods (get/set functions) to struct members. */
  8897. |
  8898. | /** Get the current line number.
  8899. | *
  8900. | */
  8901. | int yyget_lineno (void)
  8902. | {
  8903. |
  8904. | return yylineno;
  8905. | }
  8906. |
  8907. | /** Get the input stream.
  8908. | *
  8909. | */
  8910. | FILE *yyget_in (void)
  8911. | {
  8912. | return yyin;
  8913. | }
  8914. |
  8915. | /** Get the output stream.
  8916. | *
  8917. | */
  8918. | FILE *yyget_out (void)
  8919. | {
  8920. | return yyout;
  8921. | }
  8922. |
  8923. | /** Get the length of the current token.
  8924. | *
  8925. | */
  8926. | yy_size_t yyget_leng (void)
  8927. | {
  8928. | return yyleng;
  8929. | }
  8930. |
  8931. | /** Get the current token.
  8932. | *
  8933. | */
  8934. |
  8935. | char *yyget_text (void)
  8936. | {
  8937. | return yytext;
  8938. | }
  8939. |
  8940. | /** Set the current line number.
  8941. | * @param line_number
  8942. | *
  8943. | */
  8944. | void yyset_lineno (int line_number )
  8945. | {
  8946. |
  8947. | yylineno = line_number;
  8948. | }
  8949. |
  8950. | /** Set the input stream. This does not discard the current
  8951. | * input buffer.
  8952. | * @param in_str A readable stream.
  8953. | *
  8954. | * @see yy_switch_to_buffer
  8955. | */
  8956. | void yyset_in (FILE * in_str )
  8957. | {
  8958. | yyin = in_str ;
  8959. | }
  8960. |
  8961. | void yyset_out (FILE * out_str )
  8962. | {
  8963. | yyout = out_str ;
  8964. | }
  8965. |
  8966. | int yyget_debug (void)
  8967. | {
  8968. | return yy_flex_debug;
  8969. | }
  8970. |
  8971. | void yyset_debug (int bdebug )
  8972. | {
  8973. | yy_flex_debug = bdebug ;
  8974. | }
  8975. |
  8976. | static int yy_init_globals (void)
  8977. | {
  8978. | /* Initialization is the same as for the non-reentrant scanner.
  8979. | * This function is called from yylex_destroy(), so don't allocate here.
  8980. | */
  8981. |
  8982. | (yy_buffer_stack) = 0;
  8983. | (yy_buffer_stack_top) = 0;
  8984. | (yy_buffer_stack_max) = 0;
  8985. | (yy_c_buf_p) = (char *) 0;
  8986. | (yy_init) = 0;
  8987. | (yy_start) = 0;
  8988. |
  8989. | (yy_state_buf) = 0;
  8990. | (yy_state_ptr) = 0;
  8991. | (yy_full_match) = 0;
  8992. | (yy_lp) = 0;
  8993. |
  8994. | /* Defined in main.c */
  8995. | #ifdef YY_STDINIT
  8996. | yyin = stdin;
  8997. | yyout = stdout;
  8998. | #else
  8999. | yyin = (FILE *) 0;
  9000. | yyout = (FILE *) 0;
  9001. | #endif
  9002. |
  9003. | /* For future reference: Set errno on error, since we are called by
  9004. | * yylex_init()
  9005. | */
  9006. | return 0;
  9007. | }
  9008. |
  9009. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  9010. | int yylex_destroy (void)
  9011. | {
  9012. |
  9013. | /* Pop the buffer stack, destroying each element. */
  9014. | while(YY_CURRENT_BUFFER){
  9015. | yy_delete_buffer(YY_CURRENT_BUFFER );
  9016. | YY_CURRENT_BUFFER_LVALUE = NULL;
  9017. | yypop_buffer_state();
  9018. | }
  9019. |
  9020. | /* Destroy the stack itself. */
  9021. | yyfree((yy_buffer_stack) );
  9022. | (yy_buffer_stack) = NULL;
  9023. |
  9024. | yyfree ( (yy_state_buf) );
  9025. | (yy_state_buf) = NULL;
  9026. |
  9027. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  9028. | * yylex() is called, initialization will occur. */
  9029. | yy_init_globals( );
  9030. |
  9031. | return 0;
  9032. | }
  9033. |
  9034. | /*
  9035. | * Internal utility routines.
  9036. | */
  9037. |
  9038. | #ifndef yytext_ptr
  9039. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  9040. | {
  9041. | register int i;
  9042. | for ( i = 0; i < n; ++i )
  9043. | s1[i] = s2[i];
  9044. | }
  9045. | #endif
  9046. |
  9047. | #ifdef YY_NEED_STRLEN
  9048. | static int yy_flex_strlen (yyconst char * s )
  9049. | {
  9050. | register int n;
  9051. | for ( n = 0; s[n]; ++n )
  9052. | ;
  9053. |
  9054. | return n;
  9055. | }
  9056. | #endif
  9057. |
  9058. | void *yyalloc (yy_size_t size )
  9059. | {
  9060. | return (void *) malloc( size );
  9061. | }
  9062. |
  9063. | void *yyrealloc (void * ptr, yy_size_t size )
  9064. | {
  9065. | /* The cast to (char *) in the following accommodates both
  9066. | * implementations that use char* generic pointers, and those
  9067. | * that use void* generic pointers. It works with the latter
  9068. | * because both ANSI C and C++ allow castless assignment from
  9069. | * any pointer type to void*, and deal with argument conversions
  9070. | * as though doing an assignment.
  9071. | */
  9072. | return (void *) realloc( (char *) ptr, size );
  9073. | }
  9074. |
  9075. | void yyfree (void * ptr )
  9076. | {
  9077. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  9078. | }
  9079. |
  9080. | #define YYTABLES_NAME "yytables"
  9081. |
  9082. | #line 10 "conftest.l"
  9083. |
  9084. |
  9085. | #ifdef YYTEXT_POINTER
  9086. | extern char *yytext;
  9087. | #endif
  9088. | int
  9089. | main (void)
  9090. | {
  9091. | return ! yylex () + ! yywrap ();
  9092. | }
  9093. configure:19168: result: no
  9094. configure:19185: checking for bison
  9095. configure:19201: found /usr/bin/bison
  9096. configure:19212: result: bison -y
  9097. configure:19225: checking whether ln -s works
  9098. configure:19229: result: yes
  9099. configure:19236: checking whether make sets $(MAKE)
  9100. configure:19258: result: yes
  9101. configure:19357: checking for cos in -lm
  9102. configure:19382: gcc -o conftest -g -O2 conftest.c -lm >&5
  9103. conftest.c:65:6: warning: conflicting types for built-in function 'cos' [-Wbuiltin-declaration-mismatch]
  9104. char cos ();
  9105. ^~~
  9106. configure:19382: $? = 0
  9107. configure:19391: result: yes
  9108. configure:19405: checking for stdint.h
  9109. configure:19405: result: yes
  9110. configure:19405: checking for unistd.h
  9111. configure:19405: result: yes
  9112. configure:19405: checking sys/int_types.h usability
  9113. configure:19405: gcc -c -g -O2 conftest.c >&5
  9114. conftest.c:93:10: fatal error: sys/int_types.h: No such file or directory
  9115. #include <sys/int_types.h>
  9116. ^~~~~~~~~~~~~~~~~
  9117. compilation terminated.
  9118. configure:19405: $? = 1
  9119. configure: failed program was:
  9120. | /* confdefs.h */
  9121. | #define PACKAGE_NAME "ClamAV"
  9122. | #define PACKAGE_TARNAME "clamav"
  9123. | #define PACKAGE_VERSION "0.102.0"
  9124. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9125. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9126. | #define PACKAGE_URL "https://www.clamav.net/"
  9127. | #define PACKAGE PACKAGE_NAME
  9128. | #define STDC_HEADERS 1
  9129. | #define HAVE_SYS_TYPES_H 1
  9130. | #define HAVE_SYS_STAT_H 1
  9131. | #define HAVE_STDLIB_H 1
  9132. | #define HAVE_STRING_H 1
  9133. | #define HAVE_MEMORY_H 1
  9134. | #define HAVE_STRINGS_H 1
  9135. | #define HAVE_INTTYPES_H 1
  9136. | #define HAVE_STDINT_H 1
  9137. | #define HAVE_UNISTD_H 1
  9138. | #define __EXTENSIONS__ 1
  9139. | #define _ALL_SOURCE 1
  9140. | #define _GNU_SOURCE 1
  9141. | #define _POSIX_PTHREAD_SEMANTICS 1
  9142. | #define _TANDEM_SOURCE 1
  9143. | #define LIBCLAMAV_FULLVER "9.0.4"
  9144. | #define LIBCLAMAV_MAJORVER 9
  9145. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9146. | #define LIBFRESHCLAM_MAJORVER 2
  9147. | #define VERSION "0.102.0"
  9148. | #define VERSION_SUFFIX ""
  9149. | #define HAVE_DLFCN_H 1
  9150. | #define LT_OBJDIR ".libs/"
  9151. | #define LT_MODULE_EXT ".so"
  9152. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9153. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9154. | #define HAVE_LIBDL 1
  9155. | #define HAVE_DLERROR 1
  9156. | #define HAVE_LIBDLLOADER 1
  9157. | #define HAVE_ARGZ_H 1
  9158. | #define HAVE_ERROR_T 1
  9159. | #define HAVE_ARGZ_ADD 1
  9160. | #define HAVE_ARGZ_APPEND 1
  9161. | #define HAVE_ARGZ_COUNT 1
  9162. | #define HAVE_ARGZ_CREATE_SEP 1
  9163. | #define HAVE_ARGZ_INSERT 1
  9164. | #define HAVE_ARGZ_NEXT 1
  9165. | #define HAVE_ARGZ_STRINGIFY 1
  9166. | #define HAVE_WORKING_ARGZ 1
  9167. | #define HAVE_PRELOADED_SYMBOLS 1
  9168. | #define HAVE_LTDL 1
  9169. | #define HAVE_UNISTD_H 1
  9170. | #define HAVE_DIRENT_H 1
  9171. | #define HAVE_CLOSEDIR 1
  9172. | #define HAVE_OPENDIR 1
  9173. | #define HAVE_READDIR 1
  9174. | #define LT_LIBEXT "a"
  9175. | #define LT_LIBPREFIX "lib"
  9176. | #define HAVE_STDINT_H 1
  9177. | #define HAVE_UNISTD_H 1
  9178. | /* end confdefs.h. */
  9179. | #include <stdio.h>
  9180. | #ifdef HAVE_SYS_TYPES_H
  9181. | # include <sys/types.h>
  9182. | #endif
  9183. | #ifdef HAVE_SYS_STAT_H
  9184. | # include <sys/stat.h>
  9185. | #endif
  9186. | #ifdef STDC_HEADERS
  9187. | # include <stdlib.h>
  9188. | # include <stddef.h>
  9189. | #else
  9190. | # ifdef HAVE_STDLIB_H
  9191. | # include <stdlib.h>
  9192. | # endif
  9193. | #endif
  9194. | #ifdef HAVE_STRING_H
  9195. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9196. | # include <memory.h>
  9197. | # endif
  9198. | # include <string.h>
  9199. | #endif
  9200. | #ifdef HAVE_STRINGS_H
  9201. | # include <strings.h>
  9202. | #endif
  9203. | #ifdef HAVE_INTTYPES_H
  9204. | # include <inttypes.h>
  9205. | #endif
  9206. | #ifdef HAVE_STDINT_H
  9207. | # include <stdint.h>
  9208. | #endif
  9209. | #ifdef HAVE_UNISTD_H
  9210. | # include <unistd.h>
  9211. | #endif
  9212. | #include <sys/int_types.h>
  9213. configure:19405: result: no
  9214. configure:19405: checking sys/int_types.h presence
  9215. configure:19405: gcc -E conftest.c
  9216. conftest.c:60:10: fatal error: sys/int_types.h: No such file or directory
  9217. #include <sys/int_types.h>
  9218. ^~~~~~~~~~~~~~~~~
  9219. compilation terminated.
  9220. configure:19405: $? = 1
  9221. configure: failed program was:
  9222. | /* confdefs.h */
  9223. | #define PACKAGE_NAME "ClamAV"
  9224. | #define PACKAGE_TARNAME "clamav"
  9225. | #define PACKAGE_VERSION "0.102.0"
  9226. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9227. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9228. | #define PACKAGE_URL "https://www.clamav.net/"
  9229. | #define PACKAGE PACKAGE_NAME
  9230. | #define STDC_HEADERS 1
  9231. | #define HAVE_SYS_TYPES_H 1
  9232. | #define HAVE_SYS_STAT_H 1
  9233. | #define HAVE_STDLIB_H 1
  9234. | #define HAVE_STRING_H 1
  9235. | #define HAVE_MEMORY_H 1
  9236. | #define HAVE_STRINGS_H 1
  9237. | #define HAVE_INTTYPES_H 1
  9238. | #define HAVE_STDINT_H 1
  9239. | #define HAVE_UNISTD_H 1
  9240. | #define __EXTENSIONS__ 1
  9241. | #define _ALL_SOURCE 1
  9242. | #define _GNU_SOURCE 1
  9243. | #define _POSIX_PTHREAD_SEMANTICS 1
  9244. | #define _TANDEM_SOURCE 1
  9245. | #define LIBCLAMAV_FULLVER "9.0.4"
  9246. | #define LIBCLAMAV_MAJORVER 9
  9247. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9248. | #define LIBFRESHCLAM_MAJORVER 2
  9249. | #define VERSION "0.102.0"
  9250. | #define VERSION_SUFFIX ""
  9251. | #define HAVE_DLFCN_H 1
  9252. | #define LT_OBJDIR ".libs/"
  9253. | #define LT_MODULE_EXT ".so"
  9254. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9255. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9256. | #define HAVE_LIBDL 1
  9257. | #define HAVE_DLERROR 1
  9258. | #define HAVE_LIBDLLOADER 1
  9259. | #define HAVE_ARGZ_H 1
  9260. | #define HAVE_ERROR_T 1
  9261. | #define HAVE_ARGZ_ADD 1
  9262. | #define HAVE_ARGZ_APPEND 1
  9263. | #define HAVE_ARGZ_COUNT 1
  9264. | #define HAVE_ARGZ_CREATE_SEP 1
  9265. | #define HAVE_ARGZ_INSERT 1
  9266. | #define HAVE_ARGZ_NEXT 1
  9267. | #define HAVE_ARGZ_STRINGIFY 1
  9268. | #define HAVE_WORKING_ARGZ 1
  9269. | #define HAVE_PRELOADED_SYMBOLS 1
  9270. | #define HAVE_LTDL 1
  9271. | #define HAVE_UNISTD_H 1
  9272. | #define HAVE_DIRENT_H 1
  9273. | #define HAVE_CLOSEDIR 1
  9274. | #define HAVE_OPENDIR 1
  9275. | #define HAVE_READDIR 1
  9276. | #define LT_LIBEXT "a"
  9277. | #define LT_LIBPREFIX "lib"
  9278. | #define HAVE_STDINT_H 1
  9279. | #define HAVE_UNISTD_H 1
  9280. | /* end confdefs.h. */
  9281. | #include <sys/int_types.h>
  9282. configure:19405: result: no
  9283. configure:19405: checking for sys/int_types.h
  9284. configure:19405: result: no
  9285. configure:19405: checking for dlfcn.h
  9286. configure:19405: result: yes
  9287. configure:19405: checking for inttypes.h
  9288. configure:19405: result: yes
  9289. configure:19405: checking sys/inttypes.h usability
  9290. configure:19405: gcc -c -g -O2 conftest.c >&5
  9291. conftest.c:95:10: fatal error: sys/inttypes.h: No such file or directory
  9292. #include <sys/inttypes.h>
  9293. ^~~~~~~~~~~~~~~~
  9294. compilation terminated.
  9295. configure:19405: $? = 1
  9296. configure: failed program was:
  9297. | /* confdefs.h */
  9298. | #define PACKAGE_NAME "ClamAV"
  9299. | #define PACKAGE_TARNAME "clamav"
  9300. | #define PACKAGE_VERSION "0.102.0"
  9301. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9302. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9303. | #define PACKAGE_URL "https://www.clamav.net/"
  9304. | #define PACKAGE PACKAGE_NAME
  9305. | #define STDC_HEADERS 1
  9306. | #define HAVE_SYS_TYPES_H 1
  9307. | #define HAVE_SYS_STAT_H 1
  9308. | #define HAVE_STDLIB_H 1
  9309. | #define HAVE_STRING_H 1
  9310. | #define HAVE_MEMORY_H 1
  9311. | #define HAVE_STRINGS_H 1
  9312. | #define HAVE_INTTYPES_H 1
  9313. | #define HAVE_STDINT_H 1
  9314. | #define HAVE_UNISTD_H 1
  9315. | #define __EXTENSIONS__ 1
  9316. | #define _ALL_SOURCE 1
  9317. | #define _GNU_SOURCE 1
  9318. | #define _POSIX_PTHREAD_SEMANTICS 1
  9319. | #define _TANDEM_SOURCE 1
  9320. | #define LIBCLAMAV_FULLVER "9.0.4"
  9321. | #define LIBCLAMAV_MAJORVER 9
  9322. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9323. | #define LIBFRESHCLAM_MAJORVER 2
  9324. | #define VERSION "0.102.0"
  9325. | #define VERSION_SUFFIX ""
  9326. | #define HAVE_DLFCN_H 1
  9327. | #define LT_OBJDIR ".libs/"
  9328. | #define LT_MODULE_EXT ".so"
  9329. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9330. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9331. | #define HAVE_LIBDL 1
  9332. | #define HAVE_DLERROR 1
  9333. | #define HAVE_LIBDLLOADER 1
  9334. | #define HAVE_ARGZ_H 1
  9335. | #define HAVE_ERROR_T 1
  9336. | #define HAVE_ARGZ_ADD 1
  9337. | #define HAVE_ARGZ_APPEND 1
  9338. | #define HAVE_ARGZ_COUNT 1
  9339. | #define HAVE_ARGZ_CREATE_SEP 1
  9340. | #define HAVE_ARGZ_INSERT 1
  9341. | #define HAVE_ARGZ_NEXT 1
  9342. | #define HAVE_ARGZ_STRINGIFY 1
  9343. | #define HAVE_WORKING_ARGZ 1
  9344. | #define HAVE_PRELOADED_SYMBOLS 1
  9345. | #define HAVE_LTDL 1
  9346. | #define HAVE_UNISTD_H 1
  9347. | #define HAVE_DIRENT_H 1
  9348. | #define HAVE_CLOSEDIR 1
  9349. | #define HAVE_OPENDIR 1
  9350. | #define HAVE_READDIR 1
  9351. | #define LT_LIBEXT "a"
  9352. | #define LT_LIBPREFIX "lib"
  9353. | #define HAVE_STDINT_H 1
  9354. | #define HAVE_UNISTD_H 1
  9355. | #define HAVE_DLFCN_H 1
  9356. | #define HAVE_INTTYPES_H 1
  9357. | /* end confdefs.h. */
  9358. | #include <stdio.h>
  9359. | #ifdef HAVE_SYS_TYPES_H
  9360. | # include <sys/types.h>
  9361. | #endif
  9362. | #ifdef HAVE_SYS_STAT_H
  9363. | # include <sys/stat.h>
  9364. | #endif
  9365. | #ifdef STDC_HEADERS
  9366. | # include <stdlib.h>
  9367. | # include <stddef.h>
  9368. | #else
  9369. | # ifdef HAVE_STDLIB_H
  9370. | # include <stdlib.h>
  9371. | # endif
  9372. | #endif
  9373. | #ifdef HAVE_STRING_H
  9374. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9375. | # include <memory.h>
  9376. | # endif
  9377. | # include <string.h>
  9378. | #endif
  9379. | #ifdef HAVE_STRINGS_H
  9380. | # include <strings.h>
  9381. | #endif
  9382. | #ifdef HAVE_INTTYPES_H
  9383. | # include <inttypes.h>
  9384. | #endif
  9385. | #ifdef HAVE_STDINT_H
  9386. | # include <stdint.h>
  9387. | #endif
  9388. | #ifdef HAVE_UNISTD_H
  9389. | # include <unistd.h>
  9390. | #endif
  9391. | #include <sys/inttypes.h>
  9392. configure:19405: result: no
  9393. configure:19405: checking sys/inttypes.h presence
  9394. configure:19405: gcc -E conftest.c
  9395. conftest.c:62:10: fatal error: sys/inttypes.h: No such file or directory
  9396. #include <sys/inttypes.h>
  9397. ^~~~~~~~~~~~~~~~
  9398. compilation terminated.
  9399. configure:19405: $? = 1
  9400. configure: failed program was:
  9401. | /* confdefs.h */
  9402. | #define PACKAGE_NAME "ClamAV"
  9403. | #define PACKAGE_TARNAME "clamav"
  9404. | #define PACKAGE_VERSION "0.102.0"
  9405. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9406. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9407. | #define PACKAGE_URL "https://www.clamav.net/"
  9408. | #define PACKAGE PACKAGE_NAME
  9409. | #define STDC_HEADERS 1
  9410. | #define HAVE_SYS_TYPES_H 1
  9411. | #define HAVE_SYS_STAT_H 1
  9412. | #define HAVE_STDLIB_H 1
  9413. | #define HAVE_STRING_H 1
  9414. | #define HAVE_MEMORY_H 1
  9415. | #define HAVE_STRINGS_H 1
  9416. | #define HAVE_INTTYPES_H 1
  9417. | #define HAVE_STDINT_H 1
  9418. | #define HAVE_UNISTD_H 1
  9419. | #define __EXTENSIONS__ 1
  9420. | #define _ALL_SOURCE 1
  9421. | #define _GNU_SOURCE 1
  9422. | #define _POSIX_PTHREAD_SEMANTICS 1
  9423. | #define _TANDEM_SOURCE 1
  9424. | #define LIBCLAMAV_FULLVER "9.0.4"
  9425. | #define LIBCLAMAV_MAJORVER 9
  9426. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9427. | #define LIBFRESHCLAM_MAJORVER 2
  9428. | #define VERSION "0.102.0"
  9429. | #define VERSION_SUFFIX ""
  9430. | #define HAVE_DLFCN_H 1
  9431. | #define LT_OBJDIR ".libs/"
  9432. | #define LT_MODULE_EXT ".so"
  9433. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9434. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9435. | #define HAVE_LIBDL 1
  9436. | #define HAVE_DLERROR 1
  9437. | #define HAVE_LIBDLLOADER 1
  9438. | #define HAVE_ARGZ_H 1
  9439. | #define HAVE_ERROR_T 1
  9440. | #define HAVE_ARGZ_ADD 1
  9441. | #define HAVE_ARGZ_APPEND 1
  9442. | #define HAVE_ARGZ_COUNT 1
  9443. | #define HAVE_ARGZ_CREATE_SEP 1
  9444. | #define HAVE_ARGZ_INSERT 1
  9445. | #define HAVE_ARGZ_NEXT 1
  9446. | #define HAVE_ARGZ_STRINGIFY 1
  9447. | #define HAVE_WORKING_ARGZ 1
  9448. | #define HAVE_PRELOADED_SYMBOLS 1
  9449. | #define HAVE_LTDL 1
  9450. | #define HAVE_UNISTD_H 1
  9451. | #define HAVE_DIRENT_H 1
  9452. | #define HAVE_CLOSEDIR 1
  9453. | #define HAVE_OPENDIR 1
  9454. | #define HAVE_READDIR 1
  9455. | #define LT_LIBEXT "a"
  9456. | #define LT_LIBPREFIX "lib"
  9457. | #define HAVE_STDINT_H 1
  9458. | #define HAVE_UNISTD_H 1
  9459. | #define HAVE_DLFCN_H 1
  9460. | #define HAVE_INTTYPES_H 1
  9461. | /* end confdefs.h. */
  9462. | #include <sys/inttypes.h>
  9463. configure:19405: result: no
  9464. configure:19405: checking for sys/inttypes.h
  9465. configure:19405: result: no
  9466. configure:19405: checking sys/times.h usability
  9467. configure:19405: gcc -c -g -O2 conftest.c >&5
  9468. configure:19405: $? = 0
  9469. configure:19405: result: yes
  9470. configure:19405: checking sys/times.h presence
  9471. configure:19405: gcc -E conftest.c
  9472. configure:19405: $? = 0
  9473. configure:19405: result: yes
  9474. configure:19405: checking for sys/times.h
  9475. configure:19405: result: yes
  9476. configure:19405: checking for memory.h
  9477. configure:19405: result: yes
  9478. configure:19405: checking ndir.h usability
  9479. configure:19405: gcc -c -g -O2 conftest.c >&5
  9480. conftest.c:97:10: fatal error: ndir.h: No such file or directory
  9481. #include <ndir.h>
  9482. ^~~~~~~~
  9483. compilation terminated.
  9484. configure:19405: $? = 1
  9485. configure: failed program was:
  9486. | /* confdefs.h */
  9487. | #define PACKAGE_NAME "ClamAV"
  9488. | #define PACKAGE_TARNAME "clamav"
  9489. | #define PACKAGE_VERSION "0.102.0"
  9490. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9491. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9492. | #define PACKAGE_URL "https://www.clamav.net/"
  9493. | #define PACKAGE PACKAGE_NAME
  9494. | #define STDC_HEADERS 1
  9495. | #define HAVE_SYS_TYPES_H 1
  9496. | #define HAVE_SYS_STAT_H 1
  9497. | #define HAVE_STDLIB_H 1
  9498. | #define HAVE_STRING_H 1
  9499. | #define HAVE_MEMORY_H 1
  9500. | #define HAVE_STRINGS_H 1
  9501. | #define HAVE_INTTYPES_H 1
  9502. | #define HAVE_STDINT_H 1
  9503. | #define HAVE_UNISTD_H 1
  9504. | #define __EXTENSIONS__ 1
  9505. | #define _ALL_SOURCE 1
  9506. | #define _GNU_SOURCE 1
  9507. | #define _POSIX_PTHREAD_SEMANTICS 1
  9508. | #define _TANDEM_SOURCE 1
  9509. | #define LIBCLAMAV_FULLVER "9.0.4"
  9510. | #define LIBCLAMAV_MAJORVER 9
  9511. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9512. | #define LIBFRESHCLAM_MAJORVER 2
  9513. | #define VERSION "0.102.0"
  9514. | #define VERSION_SUFFIX ""
  9515. | #define HAVE_DLFCN_H 1
  9516. | #define LT_OBJDIR ".libs/"
  9517. | #define LT_MODULE_EXT ".so"
  9518. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9519. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9520. | #define HAVE_LIBDL 1
  9521. | #define HAVE_DLERROR 1
  9522. | #define HAVE_LIBDLLOADER 1
  9523. | #define HAVE_ARGZ_H 1
  9524. | #define HAVE_ERROR_T 1
  9525. | #define HAVE_ARGZ_ADD 1
  9526. | #define HAVE_ARGZ_APPEND 1
  9527. | #define HAVE_ARGZ_COUNT 1
  9528. | #define HAVE_ARGZ_CREATE_SEP 1
  9529. | #define HAVE_ARGZ_INSERT 1
  9530. | #define HAVE_ARGZ_NEXT 1
  9531. | #define HAVE_ARGZ_STRINGIFY 1
  9532. | #define HAVE_WORKING_ARGZ 1
  9533. | #define HAVE_PRELOADED_SYMBOLS 1
  9534. | #define HAVE_LTDL 1
  9535. | #define HAVE_UNISTD_H 1
  9536. | #define HAVE_DIRENT_H 1
  9537. | #define HAVE_CLOSEDIR 1
  9538. | #define HAVE_OPENDIR 1
  9539. | #define HAVE_READDIR 1
  9540. | #define LT_LIBEXT "a"
  9541. | #define LT_LIBPREFIX "lib"
  9542. | #define HAVE_STDINT_H 1
  9543. | #define HAVE_UNISTD_H 1
  9544. | #define HAVE_DLFCN_H 1
  9545. | #define HAVE_INTTYPES_H 1
  9546. | #define HAVE_SYS_TIMES_H 1
  9547. | #define HAVE_MEMORY_H 1
  9548. | /* end confdefs.h. */
  9549. | #include <stdio.h>
  9550. | #ifdef HAVE_SYS_TYPES_H
  9551. | # include <sys/types.h>
  9552. | #endif
  9553. | #ifdef HAVE_SYS_STAT_H
  9554. | # include <sys/stat.h>
  9555. | #endif
  9556. | #ifdef STDC_HEADERS
  9557. | # include <stdlib.h>
  9558. | # include <stddef.h>
  9559. | #else
  9560. | # ifdef HAVE_STDLIB_H
  9561. | # include <stdlib.h>
  9562. | # endif
  9563. | #endif
  9564. | #ifdef HAVE_STRING_H
  9565. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9566. | # include <memory.h>
  9567. | # endif
  9568. | # include <string.h>
  9569. | #endif
  9570. | #ifdef HAVE_STRINGS_H
  9571. | # include <strings.h>
  9572. | #endif
  9573. | #ifdef HAVE_INTTYPES_H
  9574. | # include <inttypes.h>
  9575. | #endif
  9576. | #ifdef HAVE_STDINT_H
  9577. | # include <stdint.h>
  9578. | #endif
  9579. | #ifdef HAVE_UNISTD_H
  9580. | # include <unistd.h>
  9581. | #endif
  9582. | #include <ndir.h>
  9583. configure:19405: result: no
  9584. configure:19405: checking ndir.h presence
  9585. configure:19405: gcc -E conftest.c
  9586. conftest.c:64:10: fatal error: ndir.h: No such file or directory
  9587. #include <ndir.h>
  9588. ^~~~~~~~
  9589. compilation terminated.
  9590. configure:19405: $? = 1
  9591. configure: failed program was:
  9592. | /* confdefs.h */
  9593. | #define PACKAGE_NAME "ClamAV"
  9594. | #define PACKAGE_TARNAME "clamav"
  9595. | #define PACKAGE_VERSION "0.102.0"
  9596. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9597. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9598. | #define PACKAGE_URL "https://www.clamav.net/"
  9599. | #define PACKAGE PACKAGE_NAME
  9600. | #define STDC_HEADERS 1
  9601. | #define HAVE_SYS_TYPES_H 1
  9602. | #define HAVE_SYS_STAT_H 1
  9603. | #define HAVE_STDLIB_H 1
  9604. | #define HAVE_STRING_H 1
  9605. | #define HAVE_MEMORY_H 1
  9606. | #define HAVE_STRINGS_H 1
  9607. | #define HAVE_INTTYPES_H 1
  9608. | #define HAVE_STDINT_H 1
  9609. | #define HAVE_UNISTD_H 1
  9610. | #define __EXTENSIONS__ 1
  9611. | #define _ALL_SOURCE 1
  9612. | #define _GNU_SOURCE 1
  9613. | #define _POSIX_PTHREAD_SEMANTICS 1
  9614. | #define _TANDEM_SOURCE 1
  9615. | #define LIBCLAMAV_FULLVER "9.0.4"
  9616. | #define LIBCLAMAV_MAJORVER 9
  9617. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9618. | #define LIBFRESHCLAM_MAJORVER 2
  9619. | #define VERSION "0.102.0"
  9620. | #define VERSION_SUFFIX ""
  9621. | #define HAVE_DLFCN_H 1
  9622. | #define LT_OBJDIR ".libs/"
  9623. | #define LT_MODULE_EXT ".so"
  9624. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9625. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9626. | #define HAVE_LIBDL 1
  9627. | #define HAVE_DLERROR 1
  9628. | #define HAVE_LIBDLLOADER 1
  9629. | #define HAVE_ARGZ_H 1
  9630. | #define HAVE_ERROR_T 1
  9631. | #define HAVE_ARGZ_ADD 1
  9632. | #define HAVE_ARGZ_APPEND 1
  9633. | #define HAVE_ARGZ_COUNT 1
  9634. | #define HAVE_ARGZ_CREATE_SEP 1
  9635. | #define HAVE_ARGZ_INSERT 1
  9636. | #define HAVE_ARGZ_NEXT 1
  9637. | #define HAVE_ARGZ_STRINGIFY 1
  9638. | #define HAVE_WORKING_ARGZ 1
  9639. | #define HAVE_PRELOADED_SYMBOLS 1
  9640. | #define HAVE_LTDL 1
  9641. | #define HAVE_UNISTD_H 1
  9642. | #define HAVE_DIRENT_H 1
  9643. | #define HAVE_CLOSEDIR 1
  9644. | #define HAVE_OPENDIR 1
  9645. | #define HAVE_READDIR 1
  9646. | #define LT_LIBEXT "a"
  9647. | #define LT_LIBPREFIX "lib"
  9648. | #define HAVE_STDINT_H 1
  9649. | #define HAVE_UNISTD_H 1
  9650. | #define HAVE_DLFCN_H 1
  9651. | #define HAVE_INTTYPES_H 1
  9652. | #define HAVE_SYS_TIMES_H 1
  9653. | #define HAVE_MEMORY_H 1
  9654. | /* end confdefs.h. */
  9655. | #include <ndir.h>
  9656. configure:19405: result: no
  9657. configure:19405: checking for ndir.h
  9658. configure:19405: result: no
  9659. configure:19405: checking for stdlib.h
  9660. configure:19405: result: yes
  9661. configure:19405: checking for strings.h
  9662. configure:19405: result: yes
  9663. configure:19405: checking for string.h
  9664. configure:19405: result: yes
  9665. configure:19405: checking sys/mman.h usability
  9666. configure:19405: gcc -c -g -O2 conftest.c >&5
  9667. configure:19405: $? = 0
  9668. configure:19405: result: yes
  9669. configure:19405: checking sys/mman.h presence
  9670. configure:19405: gcc -E conftest.c
  9671. configure:19405: $? = 0
  9672. configure:19405: result: yes
  9673. configure:19405: checking for sys/mman.h
  9674. configure:19405: result: yes
  9675. configure:19405: checking sys/param.h usability
  9676. configure:19405: gcc -c -g -O2 conftest.c >&5
  9677. configure:19405: $? = 0
  9678. configure:19405: result: yes
  9679. configure:19405: checking sys/param.h presence
  9680. configure:19405: gcc -E conftest.c
  9681. configure:19405: $? = 0
  9682. configure:19405: result: yes
  9683. configure:19405: checking for sys/param.h
  9684. configure:19405: result: yes
  9685. configure:19405: checking for sys/stat.h
  9686. configure:19405: result: yes
  9687. configure:19405: checking for sys/types.h
  9688. configure:19405: result: yes
  9689. configure:19405: checking malloc.h usability
  9690. configure:19405: gcc -c -g -O2 conftest.c >&5
  9691. configure:19405: $? = 0
  9692. configure:19405: result: yes
  9693. configure:19405: checking malloc.h presence
  9694. configure:19405: gcc -E conftest.c
  9695. configure:19405: $? = 0
  9696. configure:19405: result: yes
  9697. configure:19405: checking for malloc.h
  9698. configure:19405: result: yes
  9699. configure:19405: checking poll.h usability
  9700. configure:19405: gcc -c -g -O2 conftest.c >&5
  9701. configure:19405: $? = 0
  9702. configure:19405: result: yes
  9703. configure:19405: checking poll.h presence
  9704. configure:19405: gcc -E conftest.c
  9705. configure:19405: $? = 0
  9706. configure:19405: result: yes
  9707. configure:19405: checking for poll.h
  9708. configure:19405: result: yes
  9709. configure:19405: checking limits.h usability
  9710. configure:19405: gcc -c -g -O2 conftest.c >&5
  9711. configure:19405: $? = 0
  9712. configure:19405: result: yes
  9713. configure:19405: checking limits.h presence
  9714. configure:19405: gcc -E conftest.c
  9715. configure:19405: $? = 0
  9716. configure:19405: result: yes
  9717. configure:19405: checking for limits.h
  9718. configure:19405: result: yes
  9719. configure:19405: checking sys/filio.h usability
  9720. configure:19405: gcc -c -g -O2 conftest.c >&5
  9721. conftest.c:107:10: fatal error: sys/filio.h: No such file or directory
  9722. #include <sys/filio.h>
  9723. ^~~~~~~~~~~~~
  9724. compilation terminated.
  9725. configure:19405: $? = 1
  9726. configure: failed program was:
  9727. | /* confdefs.h */
  9728. | #define PACKAGE_NAME "ClamAV"
  9729. | #define PACKAGE_TARNAME "clamav"
  9730. | #define PACKAGE_VERSION "0.102.0"
  9731. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9732. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9733. | #define PACKAGE_URL "https://www.clamav.net/"
  9734. | #define PACKAGE PACKAGE_NAME
  9735. | #define STDC_HEADERS 1
  9736. | #define HAVE_SYS_TYPES_H 1
  9737. | #define HAVE_SYS_STAT_H 1
  9738. | #define HAVE_STDLIB_H 1
  9739. | #define HAVE_STRING_H 1
  9740. | #define HAVE_MEMORY_H 1
  9741. | #define HAVE_STRINGS_H 1
  9742. | #define HAVE_INTTYPES_H 1
  9743. | #define HAVE_STDINT_H 1
  9744. | #define HAVE_UNISTD_H 1
  9745. | #define __EXTENSIONS__ 1
  9746. | #define _ALL_SOURCE 1
  9747. | #define _GNU_SOURCE 1
  9748. | #define _POSIX_PTHREAD_SEMANTICS 1
  9749. | #define _TANDEM_SOURCE 1
  9750. | #define LIBCLAMAV_FULLVER "9.0.4"
  9751. | #define LIBCLAMAV_MAJORVER 9
  9752. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9753. | #define LIBFRESHCLAM_MAJORVER 2
  9754. | #define VERSION "0.102.0"
  9755. | #define VERSION_SUFFIX ""
  9756. | #define HAVE_DLFCN_H 1
  9757. | #define LT_OBJDIR ".libs/"
  9758. | #define LT_MODULE_EXT ".so"
  9759. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9760. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9761. | #define HAVE_LIBDL 1
  9762. | #define HAVE_DLERROR 1
  9763. | #define HAVE_LIBDLLOADER 1
  9764. | #define HAVE_ARGZ_H 1
  9765. | #define HAVE_ERROR_T 1
  9766. | #define HAVE_ARGZ_ADD 1
  9767. | #define HAVE_ARGZ_APPEND 1
  9768. | #define HAVE_ARGZ_COUNT 1
  9769. | #define HAVE_ARGZ_CREATE_SEP 1
  9770. | #define HAVE_ARGZ_INSERT 1
  9771. | #define HAVE_ARGZ_NEXT 1
  9772. | #define HAVE_ARGZ_STRINGIFY 1
  9773. | #define HAVE_WORKING_ARGZ 1
  9774. | #define HAVE_PRELOADED_SYMBOLS 1
  9775. | #define HAVE_LTDL 1
  9776. | #define HAVE_UNISTD_H 1
  9777. | #define HAVE_DIRENT_H 1
  9778. | #define HAVE_CLOSEDIR 1
  9779. | #define HAVE_OPENDIR 1
  9780. | #define HAVE_READDIR 1
  9781. | #define LT_LIBEXT "a"
  9782. | #define LT_LIBPREFIX "lib"
  9783. | #define HAVE_STDINT_H 1
  9784. | #define HAVE_UNISTD_H 1
  9785. | #define HAVE_DLFCN_H 1
  9786. | #define HAVE_INTTYPES_H 1
  9787. | #define HAVE_SYS_TIMES_H 1
  9788. | #define HAVE_MEMORY_H 1
  9789. | #define HAVE_STDLIB_H 1
  9790. | #define HAVE_STRINGS_H 1
  9791. | #define HAVE_STRING_H 1
  9792. | #define HAVE_SYS_MMAN_H 1
  9793. | #define HAVE_SYS_PARAM_H 1
  9794. | #define HAVE_SYS_STAT_H 1
  9795. | #define HAVE_SYS_TYPES_H 1
  9796. | #define HAVE_MALLOC_H 1
  9797. | #define HAVE_POLL_H 1
  9798. | #define HAVE_LIMITS_H 1
  9799. | /* end confdefs.h. */
  9800. | #include <stdio.h>
  9801. | #ifdef HAVE_SYS_TYPES_H
  9802. | # include <sys/types.h>
  9803. | #endif
  9804. | #ifdef HAVE_SYS_STAT_H
  9805. | # include <sys/stat.h>
  9806. | #endif
  9807. | #ifdef STDC_HEADERS
  9808. | # include <stdlib.h>
  9809. | # include <stddef.h>
  9810. | #else
  9811. | # ifdef HAVE_STDLIB_H
  9812. | # include <stdlib.h>
  9813. | # endif
  9814. | #endif
  9815. | #ifdef HAVE_STRING_H
  9816. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9817. | # include <memory.h>
  9818. | # endif
  9819. | # include <string.h>
  9820. | #endif
  9821. | #ifdef HAVE_STRINGS_H
  9822. | # include <strings.h>
  9823. | #endif
  9824. | #ifdef HAVE_INTTYPES_H
  9825. | # include <inttypes.h>
  9826. | #endif
  9827. | #ifdef HAVE_STDINT_H
  9828. | # include <stdint.h>
  9829. | #endif
  9830. | #ifdef HAVE_UNISTD_H
  9831. | # include <unistd.h>
  9832. | #endif
  9833. | #include <sys/filio.h>
  9834. configure:19405: result: no
  9835. configure:19405: checking sys/filio.h presence
  9836. configure:19405: gcc -E conftest.c
  9837. conftest.c:74:10: fatal error: sys/filio.h: No such file or directory
  9838. #include <sys/filio.h>
  9839. ^~~~~~~~~~~~~
  9840. compilation terminated.
  9841. configure:19405: $? = 1
  9842. configure: failed program was:
  9843. | /* confdefs.h */
  9844. | #define PACKAGE_NAME "ClamAV"
  9845. | #define PACKAGE_TARNAME "clamav"
  9846. | #define PACKAGE_VERSION "0.102.0"
  9847. | #define PACKAGE_STRING "ClamAV 0.102.0"
  9848. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  9849. | #define PACKAGE_URL "https://www.clamav.net/"
  9850. | #define PACKAGE PACKAGE_NAME
  9851. | #define STDC_HEADERS 1
  9852. | #define HAVE_SYS_TYPES_H 1
  9853. | #define HAVE_SYS_STAT_H 1
  9854. | #define HAVE_STDLIB_H 1
  9855. | #define HAVE_STRING_H 1
  9856. | #define HAVE_MEMORY_H 1
  9857. | #define HAVE_STRINGS_H 1
  9858. | #define HAVE_INTTYPES_H 1
  9859. | #define HAVE_STDINT_H 1
  9860. | #define HAVE_UNISTD_H 1
  9861. | #define __EXTENSIONS__ 1
  9862. | #define _ALL_SOURCE 1
  9863. | #define _GNU_SOURCE 1
  9864. | #define _POSIX_PTHREAD_SEMANTICS 1
  9865. | #define _TANDEM_SOURCE 1
  9866. | #define LIBCLAMAV_FULLVER "9.0.4"
  9867. | #define LIBCLAMAV_MAJORVER 9
  9868. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  9869. | #define LIBFRESHCLAM_MAJORVER 2
  9870. | #define VERSION "0.102.0"
  9871. | #define VERSION_SUFFIX ""
  9872. | #define HAVE_DLFCN_H 1
  9873. | #define LT_OBJDIR ".libs/"
  9874. | #define LT_MODULE_EXT ".so"
  9875. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  9876. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  9877. | #define HAVE_LIBDL 1
  9878. | #define HAVE_DLERROR 1
  9879. | #define HAVE_LIBDLLOADER 1
  9880. | #define HAVE_ARGZ_H 1
  9881. | #define HAVE_ERROR_T 1
  9882. | #define HAVE_ARGZ_ADD 1
  9883. | #define HAVE_ARGZ_APPEND 1
  9884. | #define HAVE_ARGZ_COUNT 1
  9885. | #define HAVE_ARGZ_CREATE_SEP 1
  9886. | #define HAVE_ARGZ_INSERT 1
  9887. | #define HAVE_ARGZ_NEXT 1
  9888. | #define HAVE_ARGZ_STRINGIFY 1
  9889. | #define HAVE_WORKING_ARGZ 1
  9890. | #define HAVE_PRELOADED_SYMBOLS 1
  9891. | #define HAVE_LTDL 1
  9892. | #define HAVE_UNISTD_H 1
  9893. | #define HAVE_DIRENT_H 1
  9894. | #define HAVE_CLOSEDIR 1
  9895. | #define HAVE_OPENDIR 1
  9896. | #define HAVE_READDIR 1
  9897. | #define LT_LIBEXT "a"
  9898. | #define LT_LIBPREFIX "lib"
  9899. | #define HAVE_STDINT_H 1
  9900. | #define HAVE_UNISTD_H 1
  9901. | #define HAVE_DLFCN_H 1
  9902. | #define HAVE_INTTYPES_H 1
  9903. | #define HAVE_SYS_TIMES_H 1
  9904. | #define HAVE_MEMORY_H 1
  9905. | #define HAVE_STDLIB_H 1
  9906. | #define HAVE_STRINGS_H 1
  9907. | #define HAVE_STRING_H 1
  9908. | #define HAVE_SYS_MMAN_H 1
  9909. | #define HAVE_SYS_PARAM_H 1
  9910. | #define HAVE_SYS_STAT_H 1
  9911. | #define HAVE_SYS_TYPES_H 1
  9912. | #define HAVE_MALLOC_H 1
  9913. | #define HAVE_POLL_H 1
  9914. | #define HAVE_LIMITS_H 1
  9915. | /* end confdefs.h. */
  9916. | #include <sys/filio.h>
  9917. configure:19405: result: no
  9918. configure:19405: checking for sys/filio.h
  9919. configure:19405: result: no
  9920. configure:19405: checking sys/uio.h usability
  9921. configure:19405: gcc -c -g -O2 conftest.c >&5
  9922. configure:19405: $? = 0
  9923. configure:19405: result: yes
  9924. configure:19405: checking sys/uio.h presence
  9925. configure:19405: gcc -E conftest.c
  9926. configure:19405: $? = 0
  9927. configure:19405: result: yes
  9928. configure:19405: checking for sys/uio.h
  9929. configure:19405: result: yes
  9930. configure:19405: checking termios.h usability
  9931. configure:19405: gcc -c -g -O2 conftest.c >&5
  9932. configure:19405: $? = 0
  9933. configure:19405: result: yes
  9934. configure:19405: checking termios.h presence
  9935. configure:19405: gcc -E conftest.c
  9936. configure:19405: $? = 0
  9937. configure:19405: result: yes
  9938. configure:19405: checking for termios.h
  9939. configure:19405: result: yes
  9940. configure:19405: checking stdbool.h usability
  9941. configure:19405: gcc -c -g -O2 conftest.c >&5
  9942. configure:19405: $? = 0
  9943. configure:19405: result: yes
  9944. configure:19405: checking stdbool.h presence
  9945. configure:19405: gcc -E conftest.c
  9946. configure:19405: $? = 0
  9947. configure:19405: result: yes
  9948. configure:19405: checking for stdbool.h
  9949. configure:19405: result: yes
  9950. configure:19405: checking pwd.h usability
  9951. configure:19405: gcc -c -g -O2 conftest.c >&5
  9952. configure:19405: $? = 0
  9953. configure:19405: result: yes
  9954. configure:19405: checking pwd.h presence
  9955. configure:19405: gcc -E conftest.c
  9956. configure:19405: $? = 0
  9957. configure:19405: result: yes
  9958. configure:19405: checking for pwd.h
  9959. configure:19405: result: yes
  9960. configure:19405: checking grp.h usability
  9961. configure:19405: gcc -c -g -O2 conftest.c >&5
  9962. configure:19405: $? = 0
  9963. configure:19405: result: yes
  9964. configure:19405: checking grp.h presence
  9965. configure:19405: gcc -E conftest.c
  9966. configure:19405: $? = 0
  9967. configure:19405: result: yes
  9968. configure:19405: checking for grp.h
  9969. configure:19405: result: yes
  9970. configure:19405: checking sys/queue.h usability
  9971. configure:19405: gcc -c -g -O2 conftest.c >&5
  9972. configure:19405: $? = 0
  9973. configure:19405: result: yes
  9974. configure:19405: checking sys/queue.h presence
  9975. configure:19405: gcc -E conftest.c
  9976. configure:19405: $? = 0
  9977. configure:19405: result: yes
  9978. configure:19405: checking for sys/queue.h
  9979. configure:19405: result: yes
  9980. configure:19405: checking sys/cdefs.h usability
  9981. configure:19405: gcc -c -g -O2 conftest.c >&5
  9982. configure:19405: $? = 0
  9983. configure:19405: result: yes
  9984. configure:19405: checking sys/cdefs.h presence
  9985. configure:19405: gcc -E conftest.c
  9986. configure:19405: $? = 0
  9987. configure:19405: result: yes
  9988. configure:19405: checking for sys/cdefs.h
  9989. configure:19405: result: yes
  9990. configure:19415: checking syslog.h usability
  9991. configure:19415: gcc -c -g -O2 conftest.c >&5
  9992. configure:19415: $? = 0
  9993. configure:19415: result: yes
  9994. configure:19415: checking syslog.h presence
  9995. configure:19415: gcc -E conftest.c
  9996. configure:19415: $? = 0
  9997. configure:19415: result: yes
  9998. configure:19415: checking for syslog.h
  9999. configure:19415: result: yes
  10000. configure:19425: checking pthread.h usability
  10001. configure:19425: gcc -c -g -O2 conftest.c >&5
  10002. configure:19425: $? = 0
  10003. configure:19425: result: yes
  10004. configure:19425: checking pthread.h presence
  10005. configure:19425: gcc -E conftest.c
  10006. configure:19425: $? = 0
  10007. configure:19425: result: yes
  10008. configure:19425: checking for pthread.h
  10009. configure:19425: result: yes
  10010. configure:19452: checking for multiarch libdir
  10011. configure:19468: result: ${exec_prefix}/lib64
  10012. configure:19484: checking for C/C++ restrict keyword
  10013. configure:19509: gcc -c -g -O2 conftest.c >&5
  10014. configure:19509: $? = 0
  10015. configure:19517: result: __restrict
  10016. configure:19530: checking for an ANSI C-conforming const
  10017. configure:19596: gcc -c -g -O2 conftest.c >&5
  10018. configure:19596: $? = 0
  10019. configure:19603: result: yes
  10020. configure:19611: checking for inline
  10021. configure:19627: gcc -c -g -O2 conftest.c >&5
  10022. configure:19627: $? = 0
  10023. configure:19635: result: inline
  10024. configure:19653: checking whether byte ordering is bigendian
  10025. configure:19668: gcc -c -g -O2 conftest.c >&5
  10026. conftest.c:87:9: error: unknown type name 'not'
  10027. not a universal capable compiler
  10028. ^~~
  10029. conftest.c:87:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
  10030. not a universal capable compiler
  10031. ^~~~~~~~~
  10032. conftest.c:87:15: error: unknown type name 'universal'
  10033. configure:19668: $? = 1
  10034. configure: failed program was:
  10035. | /* confdefs.h */
  10036. | #define PACKAGE_NAME "ClamAV"
  10037. | #define PACKAGE_TARNAME "clamav"
  10038. | #define PACKAGE_VERSION "0.102.0"
  10039. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10040. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10041. | #define PACKAGE_URL "https://www.clamav.net/"
  10042. | #define PACKAGE PACKAGE_NAME
  10043. | #define STDC_HEADERS 1
  10044. | #define HAVE_SYS_TYPES_H 1
  10045. | #define HAVE_SYS_STAT_H 1
  10046. | #define HAVE_STDLIB_H 1
  10047. | #define HAVE_STRING_H 1
  10048. | #define HAVE_MEMORY_H 1
  10049. | #define HAVE_STRINGS_H 1
  10050. | #define HAVE_INTTYPES_H 1
  10051. | #define HAVE_STDINT_H 1
  10052. | #define HAVE_UNISTD_H 1
  10053. | #define __EXTENSIONS__ 1
  10054. | #define _ALL_SOURCE 1
  10055. | #define _GNU_SOURCE 1
  10056. | #define _POSIX_PTHREAD_SEMANTICS 1
  10057. | #define _TANDEM_SOURCE 1
  10058. | #define LIBCLAMAV_FULLVER "9.0.4"
  10059. | #define LIBCLAMAV_MAJORVER 9
  10060. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10061. | #define LIBFRESHCLAM_MAJORVER 2
  10062. | #define VERSION "0.102.0"
  10063. | #define VERSION_SUFFIX ""
  10064. | #define HAVE_DLFCN_H 1
  10065. | #define LT_OBJDIR ".libs/"
  10066. | #define LT_MODULE_EXT ".so"
  10067. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10068. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10069. | #define HAVE_LIBDL 1
  10070. | #define HAVE_DLERROR 1
  10071. | #define HAVE_LIBDLLOADER 1
  10072. | #define HAVE_ARGZ_H 1
  10073. | #define HAVE_ERROR_T 1
  10074. | #define HAVE_ARGZ_ADD 1
  10075. | #define HAVE_ARGZ_APPEND 1
  10076. | #define HAVE_ARGZ_COUNT 1
  10077. | #define HAVE_ARGZ_CREATE_SEP 1
  10078. | #define HAVE_ARGZ_INSERT 1
  10079. | #define HAVE_ARGZ_NEXT 1
  10080. | #define HAVE_ARGZ_STRINGIFY 1
  10081. | #define HAVE_WORKING_ARGZ 1
  10082. | #define HAVE_PRELOADED_SYMBOLS 1
  10083. | #define HAVE_LTDL 1
  10084. | #define HAVE_UNISTD_H 1
  10085. | #define HAVE_DIRENT_H 1
  10086. | #define HAVE_CLOSEDIR 1
  10087. | #define HAVE_OPENDIR 1
  10088. | #define HAVE_READDIR 1
  10089. | #define LT_LIBEXT "a"
  10090. | #define LT_LIBPREFIX "lib"
  10091. | #define HAVE_STDINT_H 1
  10092. | #define HAVE_UNISTD_H 1
  10093. | #define HAVE_DLFCN_H 1
  10094. | #define HAVE_INTTYPES_H 1
  10095. | #define HAVE_SYS_TIMES_H 1
  10096. | #define HAVE_MEMORY_H 1
  10097. | #define HAVE_STDLIB_H 1
  10098. | #define HAVE_STRINGS_H 1
  10099. | #define HAVE_STRING_H 1
  10100. | #define HAVE_SYS_MMAN_H 1
  10101. | #define HAVE_SYS_PARAM_H 1
  10102. | #define HAVE_SYS_STAT_H 1
  10103. | #define HAVE_SYS_TYPES_H 1
  10104. | #define HAVE_MALLOC_H 1
  10105. | #define HAVE_POLL_H 1
  10106. | #define HAVE_LIMITS_H 1
  10107. | #define HAVE_SYS_UIO_H 1
  10108. | #define HAVE_TERMIOS_H 1
  10109. | #define HAVE_STDBOOL_H 1
  10110. | #define HAVE_PWD_H 1
  10111. | #define HAVE_GRP_H 1
  10112. | #define HAVE_SYS_QUEUE_H 1
  10113. | #define HAVE_SYS_CDEFS_H 1
  10114. | #define USE_SYSLOG 1
  10115. | #define HAVE_PTHREAD_H 1
  10116. | #define SCANBUFF 131072
  10117. | #define FILEBUFF 8192
  10118. | #define restrict __restrict
  10119. | /* end confdefs.h. */
  10120. | #ifndef __APPLE_CC__
  10121. | not a universal capable compiler
  10122. | #endif
  10123. | typedef int dummy;
  10124. |
  10125. configure:19713: gcc -c -g -O2 conftest.c >&5
  10126. configure:19713: $? = 0
  10127. configure:19731: gcc -c -g -O2 conftest.c >&5
  10128. conftest.c: In function 'main':
  10129. conftest.c:93:4: error: unknown type name 'not'; did you mean 'ino_t'?
  10130. not big endian
  10131. ^~~
  10132. ino_t
  10133. conftest.c:93:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
  10134. not big endian
  10135. ^~~~~~
  10136. configure:19731: $? = 1
  10137. configure: failed program was:
  10138. | /* confdefs.h */
  10139. | #define PACKAGE_NAME "ClamAV"
  10140. | #define PACKAGE_TARNAME "clamav"
  10141. | #define PACKAGE_VERSION "0.102.0"
  10142. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10143. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10144. | #define PACKAGE_URL "https://www.clamav.net/"
  10145. | #define PACKAGE PACKAGE_NAME
  10146. | #define STDC_HEADERS 1
  10147. | #define HAVE_SYS_TYPES_H 1
  10148. | #define HAVE_SYS_STAT_H 1
  10149. | #define HAVE_STDLIB_H 1
  10150. | #define HAVE_STRING_H 1
  10151. | #define HAVE_MEMORY_H 1
  10152. | #define HAVE_STRINGS_H 1
  10153. | #define HAVE_INTTYPES_H 1
  10154. | #define HAVE_STDINT_H 1
  10155. | #define HAVE_UNISTD_H 1
  10156. | #define __EXTENSIONS__ 1
  10157. | #define _ALL_SOURCE 1
  10158. | #define _GNU_SOURCE 1
  10159. | #define _POSIX_PTHREAD_SEMANTICS 1
  10160. | #define _TANDEM_SOURCE 1
  10161. | #define LIBCLAMAV_FULLVER "9.0.4"
  10162. | #define LIBCLAMAV_MAJORVER 9
  10163. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10164. | #define LIBFRESHCLAM_MAJORVER 2
  10165. | #define VERSION "0.102.0"
  10166. | #define VERSION_SUFFIX ""
  10167. | #define HAVE_DLFCN_H 1
  10168. | #define LT_OBJDIR ".libs/"
  10169. | #define LT_MODULE_EXT ".so"
  10170. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10171. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10172. | #define HAVE_LIBDL 1
  10173. | #define HAVE_DLERROR 1
  10174. | #define HAVE_LIBDLLOADER 1
  10175. | #define HAVE_ARGZ_H 1
  10176. | #define HAVE_ERROR_T 1
  10177. | #define HAVE_ARGZ_ADD 1
  10178. | #define HAVE_ARGZ_APPEND 1
  10179. | #define HAVE_ARGZ_COUNT 1
  10180. | #define HAVE_ARGZ_CREATE_SEP 1
  10181. | #define HAVE_ARGZ_INSERT 1
  10182. | #define HAVE_ARGZ_NEXT 1
  10183. | #define HAVE_ARGZ_STRINGIFY 1
  10184. | #define HAVE_WORKING_ARGZ 1
  10185. | #define HAVE_PRELOADED_SYMBOLS 1
  10186. | #define HAVE_LTDL 1
  10187. | #define HAVE_UNISTD_H 1
  10188. | #define HAVE_DIRENT_H 1
  10189. | #define HAVE_CLOSEDIR 1
  10190. | #define HAVE_OPENDIR 1
  10191. | #define HAVE_READDIR 1
  10192. | #define LT_LIBEXT "a"
  10193. | #define LT_LIBPREFIX "lib"
  10194. | #define HAVE_STDINT_H 1
  10195. | #define HAVE_UNISTD_H 1
  10196. | #define HAVE_DLFCN_H 1
  10197. | #define HAVE_INTTYPES_H 1
  10198. | #define HAVE_SYS_TIMES_H 1
  10199. | #define HAVE_MEMORY_H 1
  10200. | #define HAVE_STDLIB_H 1
  10201. | #define HAVE_STRINGS_H 1
  10202. | #define HAVE_STRING_H 1
  10203. | #define HAVE_SYS_MMAN_H 1
  10204. | #define HAVE_SYS_PARAM_H 1
  10205. | #define HAVE_SYS_STAT_H 1
  10206. | #define HAVE_SYS_TYPES_H 1
  10207. | #define HAVE_MALLOC_H 1
  10208. | #define HAVE_POLL_H 1
  10209. | #define HAVE_LIMITS_H 1
  10210. | #define HAVE_SYS_UIO_H 1
  10211. | #define HAVE_TERMIOS_H 1
  10212. | #define HAVE_STDBOOL_H 1
  10213. | #define HAVE_PWD_H 1
  10214. | #define HAVE_GRP_H 1
  10215. | #define HAVE_SYS_QUEUE_H 1
  10216. | #define HAVE_SYS_CDEFS_H 1
  10217. | #define USE_SYSLOG 1
  10218. | #define HAVE_PTHREAD_H 1
  10219. | #define SCANBUFF 131072
  10220. | #define FILEBUFF 8192
  10221. | #define restrict __restrict
  10222. | /* end confdefs.h. */
  10223. | #include <sys/types.h>
  10224. | #include <sys/param.h>
  10225. |
  10226. | int
  10227. | main ()
  10228. | {
  10229. | #if BYTE_ORDER != BIG_ENDIAN
  10230. | not big endian
  10231. | #endif
  10232. |
  10233. | ;
  10234. | return 0;
  10235. | }
  10236. configure:19859: result: no
  10237. configure:19890: checking for a supported version of gcc
  10238. configure:19900: result: ok (7)
  10239. configure:19934: checking for gcc bug PR27603
  10240. configure:19960: gcc -o conftest -g -O2 conftest.c >&5
  10241. configure:19960: $? = 0
  10242. configure:19960: ./conftest
  10243. configure:19960: $? = 0
  10244. configure:19961: result: ok, bug not present
  10245. configure:19971: checking for gcc bug PR26763-2
  10246. configure:19999: gcc -o conftest -g -O2 conftest.c >&5
  10247. configure:19999: $? = 0
  10248. configure:19999: ./conftest
  10249. configure:19999: $? = 0
  10250. configure:20000: result: ok, bug not present
  10251. configure:20010: checking for valid code generation of CLI_ISCONTAINED
  10252. configure:20077: gcc -o conftest -g -O2 conftest.c >&5
  10253. configure:20077: $? = 0
  10254. configure:20077: ./conftest
  10255. configure:20077: $? = 0
  10256. configure:20078: result: ok, bug not present
  10257. configure:20088: checking for gcc bug PR28045
  10258. configure:20119: gcc -o conftest -g -O2 conftest.c >&5
  10259. configure:20119: $? = 0
  10260. configure:20119: ./conftest
  10261. configure:20119: $? = 0
  10262. configure:20120: result: ok, bug not present
  10263. configure:20130: checking for gcc bug PR37573
  10264. configure:20215: gcc -o conftest -g -O2 conftest.c >&5
  10265. configure:20215: $? = 0
  10266. configure:20215: ./conftest
  10267. configure:20215: $? = 0
  10268. configure:20216: result: ok, bug not present
  10269. configure:20232: checking for off_t
  10270. configure:20232: gcc -c -g -O2 conftest.c >&5
  10271. configure:20232: $? = 0
  10272. configure:20232: gcc -c -g -O2 conftest.c >&5
  10273. conftest.c: In function 'main':
  10274. conftest.c:122:20: error: expected expression before ')' token
  10275. if (sizeof ((off_t)))
  10276. ^
  10277. configure:20232: $? = 1
  10278. configure: failed program was:
  10279. | /* confdefs.h */
  10280. | #define PACKAGE_NAME "ClamAV"
  10281. | #define PACKAGE_TARNAME "clamav"
  10282. | #define PACKAGE_VERSION "0.102.0"
  10283. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10284. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10285. | #define PACKAGE_URL "https://www.clamav.net/"
  10286. | #define PACKAGE PACKAGE_NAME
  10287. | #define STDC_HEADERS 1
  10288. | #define HAVE_SYS_TYPES_H 1
  10289. | #define HAVE_SYS_STAT_H 1
  10290. | #define HAVE_STDLIB_H 1
  10291. | #define HAVE_STRING_H 1
  10292. | #define HAVE_MEMORY_H 1
  10293. | #define HAVE_STRINGS_H 1
  10294. | #define HAVE_INTTYPES_H 1
  10295. | #define HAVE_STDINT_H 1
  10296. | #define HAVE_UNISTD_H 1
  10297. | #define __EXTENSIONS__ 1
  10298. | #define _ALL_SOURCE 1
  10299. | #define _GNU_SOURCE 1
  10300. | #define _POSIX_PTHREAD_SEMANTICS 1
  10301. | #define _TANDEM_SOURCE 1
  10302. | #define LIBCLAMAV_FULLVER "9.0.4"
  10303. | #define LIBCLAMAV_MAJORVER 9
  10304. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10305. | #define LIBFRESHCLAM_MAJORVER 2
  10306. | #define VERSION "0.102.0"
  10307. | #define VERSION_SUFFIX ""
  10308. | #define HAVE_DLFCN_H 1
  10309. | #define LT_OBJDIR ".libs/"
  10310. | #define LT_MODULE_EXT ".so"
  10311. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10312. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10313. | #define HAVE_LIBDL 1
  10314. | #define HAVE_DLERROR 1
  10315. | #define HAVE_LIBDLLOADER 1
  10316. | #define HAVE_ARGZ_H 1
  10317. | #define HAVE_ERROR_T 1
  10318. | #define HAVE_ARGZ_ADD 1
  10319. | #define HAVE_ARGZ_APPEND 1
  10320. | #define HAVE_ARGZ_COUNT 1
  10321. | #define HAVE_ARGZ_CREATE_SEP 1
  10322. | #define HAVE_ARGZ_INSERT 1
  10323. | #define HAVE_ARGZ_NEXT 1
  10324. | #define HAVE_ARGZ_STRINGIFY 1
  10325. | #define HAVE_WORKING_ARGZ 1
  10326. | #define HAVE_PRELOADED_SYMBOLS 1
  10327. | #define HAVE_LTDL 1
  10328. | #define HAVE_UNISTD_H 1
  10329. | #define HAVE_DIRENT_H 1
  10330. | #define HAVE_CLOSEDIR 1
  10331. | #define HAVE_OPENDIR 1
  10332. | #define HAVE_READDIR 1
  10333. | #define LT_LIBEXT "a"
  10334. | #define LT_LIBPREFIX "lib"
  10335. | #define HAVE_STDINT_H 1
  10336. | #define HAVE_UNISTD_H 1
  10337. | #define HAVE_DLFCN_H 1
  10338. | #define HAVE_INTTYPES_H 1
  10339. | #define HAVE_SYS_TIMES_H 1
  10340. | #define HAVE_MEMORY_H 1
  10341. | #define HAVE_STDLIB_H 1
  10342. | #define HAVE_STRINGS_H 1
  10343. | #define HAVE_STRING_H 1
  10344. | #define HAVE_SYS_MMAN_H 1
  10345. | #define HAVE_SYS_PARAM_H 1
  10346. | #define HAVE_SYS_STAT_H 1
  10347. | #define HAVE_SYS_TYPES_H 1
  10348. | #define HAVE_MALLOC_H 1
  10349. | #define HAVE_POLL_H 1
  10350. | #define HAVE_LIMITS_H 1
  10351. | #define HAVE_SYS_UIO_H 1
  10352. | #define HAVE_TERMIOS_H 1
  10353. | #define HAVE_STDBOOL_H 1
  10354. | #define HAVE_PWD_H 1
  10355. | #define HAVE_GRP_H 1
  10356. | #define HAVE_SYS_QUEUE_H 1
  10357. | #define HAVE_SYS_CDEFS_H 1
  10358. | #define USE_SYSLOG 1
  10359. | #define HAVE_PTHREAD_H 1
  10360. | #define SCANBUFF 131072
  10361. | #define FILEBUFF 8192
  10362. | #define restrict __restrict
  10363. | /* end confdefs.h. */
  10364. | #include <stdio.h>
  10365. | #ifdef HAVE_SYS_TYPES_H
  10366. | # include <sys/types.h>
  10367. | #endif
  10368. | #ifdef HAVE_SYS_STAT_H
  10369. | # include <sys/stat.h>
  10370. | #endif
  10371. | #ifdef STDC_HEADERS
  10372. | # include <stdlib.h>
  10373. | # include <stddef.h>
  10374. | #else
  10375. | # ifdef HAVE_STDLIB_H
  10376. | # include <stdlib.h>
  10377. | # endif
  10378. | #endif
  10379. | #ifdef HAVE_STRING_H
  10380. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10381. | # include <memory.h>
  10382. | # endif
  10383. | # include <string.h>
  10384. | #endif
  10385. | #ifdef HAVE_STRINGS_H
  10386. | # include <strings.h>
  10387. | #endif
  10388. | #ifdef HAVE_INTTYPES_H
  10389. | # include <inttypes.h>
  10390. | #endif
  10391. | #ifdef HAVE_STDINT_H
  10392. | # include <stdint.h>
  10393. | #endif
  10394. | #ifdef HAVE_UNISTD_H
  10395. | # include <unistd.h>
  10396. | #endif
  10397. | int
  10398. | main ()
  10399. | {
  10400. | if (sizeof ((off_t)))
  10401. | return 0;
  10402. | ;
  10403. | return 0;
  10404. | }
  10405. configure:20232: result: yes
  10406. configure:20243: checking size of short
  10407. configure:20263: gcc -c -g -O2 conftest.c >&5
  10408. conftest.c: In function 'main':
  10409. conftest.c:93:20: error: duplicate case value
  10410. switch (0) case 0: case (sizeof (short) == 4):;
  10411. ^~~~
  10412. conftest.c:93:12: note: previously used here
  10413. switch (0) case 0: case (sizeof (short) == 4):;
  10414. ^~~~
  10415. configure:20263: $? = 1
  10416. configure: failed program was:
  10417. | /* confdefs.h */
  10418. | #define PACKAGE_NAME "ClamAV"
  10419. | #define PACKAGE_TARNAME "clamav"
  10420. | #define PACKAGE_VERSION "0.102.0"
  10421. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10422. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10423. | #define PACKAGE_URL "https://www.clamav.net/"
  10424. | #define PACKAGE PACKAGE_NAME
  10425. | #define STDC_HEADERS 1
  10426. | #define HAVE_SYS_TYPES_H 1
  10427. | #define HAVE_SYS_STAT_H 1
  10428. | #define HAVE_STDLIB_H 1
  10429. | #define HAVE_STRING_H 1
  10430. | #define HAVE_MEMORY_H 1
  10431. | #define HAVE_STRINGS_H 1
  10432. | #define HAVE_INTTYPES_H 1
  10433. | #define HAVE_STDINT_H 1
  10434. | #define HAVE_UNISTD_H 1
  10435. | #define __EXTENSIONS__ 1
  10436. | #define _ALL_SOURCE 1
  10437. | #define _GNU_SOURCE 1
  10438. | #define _POSIX_PTHREAD_SEMANTICS 1
  10439. | #define _TANDEM_SOURCE 1
  10440. | #define LIBCLAMAV_FULLVER "9.0.4"
  10441. | #define LIBCLAMAV_MAJORVER 9
  10442. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10443. | #define LIBFRESHCLAM_MAJORVER 2
  10444. | #define VERSION "0.102.0"
  10445. | #define VERSION_SUFFIX ""
  10446. | #define HAVE_DLFCN_H 1
  10447. | #define LT_OBJDIR ".libs/"
  10448. | #define LT_MODULE_EXT ".so"
  10449. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10450. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10451. | #define HAVE_LIBDL 1
  10452. | #define HAVE_DLERROR 1
  10453. | #define HAVE_LIBDLLOADER 1
  10454. | #define HAVE_ARGZ_H 1
  10455. | #define HAVE_ERROR_T 1
  10456. | #define HAVE_ARGZ_ADD 1
  10457. | #define HAVE_ARGZ_APPEND 1
  10458. | #define HAVE_ARGZ_COUNT 1
  10459. | #define HAVE_ARGZ_CREATE_SEP 1
  10460. | #define HAVE_ARGZ_INSERT 1
  10461. | #define HAVE_ARGZ_NEXT 1
  10462. | #define HAVE_ARGZ_STRINGIFY 1
  10463. | #define HAVE_WORKING_ARGZ 1
  10464. | #define HAVE_PRELOADED_SYMBOLS 1
  10465. | #define HAVE_LTDL 1
  10466. | #define HAVE_UNISTD_H 1
  10467. | #define HAVE_DIRENT_H 1
  10468. | #define HAVE_CLOSEDIR 1
  10469. | #define HAVE_OPENDIR 1
  10470. | #define HAVE_READDIR 1
  10471. | #define LT_LIBEXT "a"
  10472. | #define LT_LIBPREFIX "lib"
  10473. | #define HAVE_STDINT_H 1
  10474. | #define HAVE_UNISTD_H 1
  10475. | #define HAVE_DLFCN_H 1
  10476. | #define HAVE_INTTYPES_H 1
  10477. | #define HAVE_SYS_TIMES_H 1
  10478. | #define HAVE_MEMORY_H 1
  10479. | #define HAVE_STDLIB_H 1
  10480. | #define HAVE_STRINGS_H 1
  10481. | #define HAVE_STRING_H 1
  10482. | #define HAVE_SYS_MMAN_H 1
  10483. | #define HAVE_SYS_PARAM_H 1
  10484. | #define HAVE_SYS_STAT_H 1
  10485. | #define HAVE_SYS_TYPES_H 1
  10486. | #define HAVE_MALLOC_H 1
  10487. | #define HAVE_POLL_H 1
  10488. | #define HAVE_LIMITS_H 1
  10489. | #define HAVE_SYS_UIO_H 1
  10490. | #define HAVE_TERMIOS_H 1
  10491. | #define HAVE_STDBOOL_H 1
  10492. | #define HAVE_PWD_H 1
  10493. | #define HAVE_GRP_H 1
  10494. | #define HAVE_SYS_QUEUE_H 1
  10495. | #define HAVE_SYS_CDEFS_H 1
  10496. | #define USE_SYSLOG 1
  10497. | #define HAVE_PTHREAD_H 1
  10498. | #define SCANBUFF 131072
  10499. | #define FILEBUFF 8192
  10500. | #define restrict __restrict
  10501. | /* end confdefs.h. */
  10502. | #include "confdefs.h"
  10503. | #include <sys/types.h>
  10504. |
  10505. |
  10506. | int
  10507. | main ()
  10508. | {
  10509. | switch (0) case 0: case (sizeof (short) == 4):;
  10510. | ;
  10511. | return 0;
  10512. | }
  10513. configure:20263: gcc -c -g -O2 conftest.c >&5
  10514. conftest.c: In function 'main':
  10515. conftest.c:93:20: error: duplicate case value
  10516. switch (0) case 0: case (sizeof (short) == 8):;
  10517. ^~~~
  10518. conftest.c:93:12: note: previously used here
  10519. switch (0) case 0: case (sizeof (short) == 8):;
  10520. ^~~~
  10521. configure:20263: $? = 1
  10522. configure: failed program was:
  10523. | /* confdefs.h */
  10524. | #define PACKAGE_NAME "ClamAV"
  10525. | #define PACKAGE_TARNAME "clamav"
  10526. | #define PACKAGE_VERSION "0.102.0"
  10527. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10528. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10529. | #define PACKAGE_URL "https://www.clamav.net/"
  10530. | #define PACKAGE PACKAGE_NAME
  10531. | #define STDC_HEADERS 1
  10532. | #define HAVE_SYS_TYPES_H 1
  10533. | #define HAVE_SYS_STAT_H 1
  10534. | #define HAVE_STDLIB_H 1
  10535. | #define HAVE_STRING_H 1
  10536. | #define HAVE_MEMORY_H 1
  10537. | #define HAVE_STRINGS_H 1
  10538. | #define HAVE_INTTYPES_H 1
  10539. | #define HAVE_STDINT_H 1
  10540. | #define HAVE_UNISTD_H 1
  10541. | #define __EXTENSIONS__ 1
  10542. | #define _ALL_SOURCE 1
  10543. | #define _GNU_SOURCE 1
  10544. | #define _POSIX_PTHREAD_SEMANTICS 1
  10545. | #define _TANDEM_SOURCE 1
  10546. | #define LIBCLAMAV_FULLVER "9.0.4"
  10547. | #define LIBCLAMAV_MAJORVER 9
  10548. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10549. | #define LIBFRESHCLAM_MAJORVER 2
  10550. | #define VERSION "0.102.0"
  10551. | #define VERSION_SUFFIX ""
  10552. | #define HAVE_DLFCN_H 1
  10553. | #define LT_OBJDIR ".libs/"
  10554. | #define LT_MODULE_EXT ".so"
  10555. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10556. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10557. | #define HAVE_LIBDL 1
  10558. | #define HAVE_DLERROR 1
  10559. | #define HAVE_LIBDLLOADER 1
  10560. | #define HAVE_ARGZ_H 1
  10561. | #define HAVE_ERROR_T 1
  10562. | #define HAVE_ARGZ_ADD 1
  10563. | #define HAVE_ARGZ_APPEND 1
  10564. | #define HAVE_ARGZ_COUNT 1
  10565. | #define HAVE_ARGZ_CREATE_SEP 1
  10566. | #define HAVE_ARGZ_INSERT 1
  10567. | #define HAVE_ARGZ_NEXT 1
  10568. | #define HAVE_ARGZ_STRINGIFY 1
  10569. | #define HAVE_WORKING_ARGZ 1
  10570. | #define HAVE_PRELOADED_SYMBOLS 1
  10571. | #define HAVE_LTDL 1
  10572. | #define HAVE_UNISTD_H 1
  10573. | #define HAVE_DIRENT_H 1
  10574. | #define HAVE_CLOSEDIR 1
  10575. | #define HAVE_OPENDIR 1
  10576. | #define HAVE_READDIR 1
  10577. | #define LT_LIBEXT "a"
  10578. | #define LT_LIBPREFIX "lib"
  10579. | #define HAVE_STDINT_H 1
  10580. | #define HAVE_UNISTD_H 1
  10581. | #define HAVE_DLFCN_H 1
  10582. | #define HAVE_INTTYPES_H 1
  10583. | #define HAVE_SYS_TIMES_H 1
  10584. | #define HAVE_MEMORY_H 1
  10585. | #define HAVE_STDLIB_H 1
  10586. | #define HAVE_STRINGS_H 1
  10587. | #define HAVE_STRING_H 1
  10588. | #define HAVE_SYS_MMAN_H 1
  10589. | #define HAVE_SYS_PARAM_H 1
  10590. | #define HAVE_SYS_STAT_H 1
  10591. | #define HAVE_SYS_TYPES_H 1
  10592. | #define HAVE_MALLOC_H 1
  10593. | #define HAVE_POLL_H 1
  10594. | #define HAVE_LIMITS_H 1
  10595. | #define HAVE_SYS_UIO_H 1
  10596. | #define HAVE_TERMIOS_H 1
  10597. | #define HAVE_STDBOOL_H 1
  10598. | #define HAVE_PWD_H 1
  10599. | #define HAVE_GRP_H 1
  10600. | #define HAVE_SYS_QUEUE_H 1
  10601. | #define HAVE_SYS_CDEFS_H 1
  10602. | #define USE_SYSLOG 1
  10603. | #define HAVE_PTHREAD_H 1
  10604. | #define SCANBUFF 131072
  10605. | #define FILEBUFF 8192
  10606. | #define restrict __restrict
  10607. | /* end confdefs.h. */
  10608. | #include "confdefs.h"
  10609. | #include <sys/types.h>
  10610. |
  10611. |
  10612. | int
  10613. | main ()
  10614. | {
  10615. | switch (0) case 0: case (sizeof (short) == 8):;
  10616. | ;
  10617. | return 0;
  10618. | }
  10619. configure:20263: gcc -c -g -O2 conftest.c >&5
  10620. conftest.c: In function 'main':
  10621. conftest.c:93:20: error: duplicate case value
  10622. switch (0) case 0: case (sizeof (short) == 1):;
  10623. ^~~~
  10624. conftest.c:93:12: note: previously used here
  10625. switch (0) case 0: case (sizeof (short) == 1):;
  10626. ^~~~
  10627. configure:20263: $? = 1
  10628. configure: failed program was:
  10629. | /* confdefs.h */
  10630. | #define PACKAGE_NAME "ClamAV"
  10631. | #define PACKAGE_TARNAME "clamav"
  10632. | #define PACKAGE_VERSION "0.102.0"
  10633. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10634. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10635. | #define PACKAGE_URL "https://www.clamav.net/"
  10636. | #define PACKAGE PACKAGE_NAME
  10637. | #define STDC_HEADERS 1
  10638. | #define HAVE_SYS_TYPES_H 1
  10639. | #define HAVE_SYS_STAT_H 1
  10640. | #define HAVE_STDLIB_H 1
  10641. | #define HAVE_STRING_H 1
  10642. | #define HAVE_MEMORY_H 1
  10643. | #define HAVE_STRINGS_H 1
  10644. | #define HAVE_INTTYPES_H 1
  10645. | #define HAVE_STDINT_H 1
  10646. | #define HAVE_UNISTD_H 1
  10647. | #define __EXTENSIONS__ 1
  10648. | #define _ALL_SOURCE 1
  10649. | #define _GNU_SOURCE 1
  10650. | #define _POSIX_PTHREAD_SEMANTICS 1
  10651. | #define _TANDEM_SOURCE 1
  10652. | #define LIBCLAMAV_FULLVER "9.0.4"
  10653. | #define LIBCLAMAV_MAJORVER 9
  10654. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10655. | #define LIBFRESHCLAM_MAJORVER 2
  10656. | #define VERSION "0.102.0"
  10657. | #define VERSION_SUFFIX ""
  10658. | #define HAVE_DLFCN_H 1
  10659. | #define LT_OBJDIR ".libs/"
  10660. | #define LT_MODULE_EXT ".so"
  10661. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10662. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10663. | #define HAVE_LIBDL 1
  10664. | #define HAVE_DLERROR 1
  10665. | #define HAVE_LIBDLLOADER 1
  10666. | #define HAVE_ARGZ_H 1
  10667. | #define HAVE_ERROR_T 1
  10668. | #define HAVE_ARGZ_ADD 1
  10669. | #define HAVE_ARGZ_APPEND 1
  10670. | #define HAVE_ARGZ_COUNT 1
  10671. | #define HAVE_ARGZ_CREATE_SEP 1
  10672. | #define HAVE_ARGZ_INSERT 1
  10673. | #define HAVE_ARGZ_NEXT 1
  10674. | #define HAVE_ARGZ_STRINGIFY 1
  10675. | #define HAVE_WORKING_ARGZ 1
  10676. | #define HAVE_PRELOADED_SYMBOLS 1
  10677. | #define HAVE_LTDL 1
  10678. | #define HAVE_UNISTD_H 1
  10679. | #define HAVE_DIRENT_H 1
  10680. | #define HAVE_CLOSEDIR 1
  10681. | #define HAVE_OPENDIR 1
  10682. | #define HAVE_READDIR 1
  10683. | #define LT_LIBEXT "a"
  10684. | #define LT_LIBPREFIX "lib"
  10685. | #define HAVE_STDINT_H 1
  10686. | #define HAVE_UNISTD_H 1
  10687. | #define HAVE_DLFCN_H 1
  10688. | #define HAVE_INTTYPES_H 1
  10689. | #define HAVE_SYS_TIMES_H 1
  10690. | #define HAVE_MEMORY_H 1
  10691. | #define HAVE_STDLIB_H 1
  10692. | #define HAVE_STRINGS_H 1
  10693. | #define HAVE_STRING_H 1
  10694. | #define HAVE_SYS_MMAN_H 1
  10695. | #define HAVE_SYS_PARAM_H 1
  10696. | #define HAVE_SYS_STAT_H 1
  10697. | #define HAVE_SYS_TYPES_H 1
  10698. | #define HAVE_MALLOC_H 1
  10699. | #define HAVE_POLL_H 1
  10700. | #define HAVE_LIMITS_H 1
  10701. | #define HAVE_SYS_UIO_H 1
  10702. | #define HAVE_TERMIOS_H 1
  10703. | #define HAVE_STDBOOL_H 1
  10704. | #define HAVE_PWD_H 1
  10705. | #define HAVE_GRP_H 1
  10706. | #define HAVE_SYS_QUEUE_H 1
  10707. | #define HAVE_SYS_CDEFS_H 1
  10708. | #define USE_SYSLOG 1
  10709. | #define HAVE_PTHREAD_H 1
  10710. | #define SCANBUFF 131072
  10711. | #define FILEBUFF 8192
  10712. | #define restrict __restrict
  10713. | /* end confdefs.h. */
  10714. | #include "confdefs.h"
  10715. | #include <sys/types.h>
  10716. |
  10717. |
  10718. | int
  10719. | main ()
  10720. | {
  10721. | switch (0) case 0: case (sizeof (short) == 1):;
  10722. | ;
  10723. | return 0;
  10724. | }
  10725. configure:20263: gcc -c -g -O2 conftest.c >&5
  10726. configure:20263: $? = 0
  10727. configure:20275: result: 2
  10728. configure:20283: checking size of int
  10729. configure:20303: gcc -c -g -O2 conftest.c >&5
  10730. configure:20303: $? = 0
  10731. configure:20315: result: 4
  10732. configure:20323: checking size of long
  10733. configure:20343: gcc -c -g -O2 conftest.c >&5
  10734. conftest.c: In function 'main':
  10735. conftest.c:95:20: error: duplicate case value
  10736. switch (0) case 0: case (sizeof (long) == 4):;
  10737. ^~~~
  10738. conftest.c:95:12: note: previously used here
  10739. switch (0) case 0: case (sizeof (long) == 4):;
  10740. ^~~~
  10741. configure:20343: $? = 1
  10742. configure: failed program was:
  10743. | /* confdefs.h */
  10744. | #define PACKAGE_NAME "ClamAV"
  10745. | #define PACKAGE_TARNAME "clamav"
  10746. | #define PACKAGE_VERSION "0.102.0"
  10747. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10748. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10749. | #define PACKAGE_URL "https://www.clamav.net/"
  10750. | #define PACKAGE PACKAGE_NAME
  10751. | #define STDC_HEADERS 1
  10752. | #define HAVE_SYS_TYPES_H 1
  10753. | #define HAVE_SYS_STAT_H 1
  10754. | #define HAVE_STDLIB_H 1
  10755. | #define HAVE_STRING_H 1
  10756. | #define HAVE_MEMORY_H 1
  10757. | #define HAVE_STRINGS_H 1
  10758. | #define HAVE_INTTYPES_H 1
  10759. | #define HAVE_STDINT_H 1
  10760. | #define HAVE_UNISTD_H 1
  10761. | #define __EXTENSIONS__ 1
  10762. | #define _ALL_SOURCE 1
  10763. | #define _GNU_SOURCE 1
  10764. | #define _POSIX_PTHREAD_SEMANTICS 1
  10765. | #define _TANDEM_SOURCE 1
  10766. | #define LIBCLAMAV_FULLVER "9.0.4"
  10767. | #define LIBCLAMAV_MAJORVER 9
  10768. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10769. | #define LIBFRESHCLAM_MAJORVER 2
  10770. | #define VERSION "0.102.0"
  10771. | #define VERSION_SUFFIX ""
  10772. | #define HAVE_DLFCN_H 1
  10773. | #define LT_OBJDIR ".libs/"
  10774. | #define LT_MODULE_EXT ".so"
  10775. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10776. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10777. | #define HAVE_LIBDL 1
  10778. | #define HAVE_DLERROR 1
  10779. | #define HAVE_LIBDLLOADER 1
  10780. | #define HAVE_ARGZ_H 1
  10781. | #define HAVE_ERROR_T 1
  10782. | #define HAVE_ARGZ_ADD 1
  10783. | #define HAVE_ARGZ_APPEND 1
  10784. | #define HAVE_ARGZ_COUNT 1
  10785. | #define HAVE_ARGZ_CREATE_SEP 1
  10786. | #define HAVE_ARGZ_INSERT 1
  10787. | #define HAVE_ARGZ_NEXT 1
  10788. | #define HAVE_ARGZ_STRINGIFY 1
  10789. | #define HAVE_WORKING_ARGZ 1
  10790. | #define HAVE_PRELOADED_SYMBOLS 1
  10791. | #define HAVE_LTDL 1
  10792. | #define HAVE_UNISTD_H 1
  10793. | #define HAVE_DIRENT_H 1
  10794. | #define HAVE_CLOSEDIR 1
  10795. | #define HAVE_OPENDIR 1
  10796. | #define HAVE_READDIR 1
  10797. | #define LT_LIBEXT "a"
  10798. | #define LT_LIBPREFIX "lib"
  10799. | #define HAVE_STDINT_H 1
  10800. | #define HAVE_UNISTD_H 1
  10801. | #define HAVE_DLFCN_H 1
  10802. | #define HAVE_INTTYPES_H 1
  10803. | #define HAVE_SYS_TIMES_H 1
  10804. | #define HAVE_MEMORY_H 1
  10805. | #define HAVE_STDLIB_H 1
  10806. | #define HAVE_STRINGS_H 1
  10807. | #define HAVE_STRING_H 1
  10808. | #define HAVE_SYS_MMAN_H 1
  10809. | #define HAVE_SYS_PARAM_H 1
  10810. | #define HAVE_SYS_STAT_H 1
  10811. | #define HAVE_SYS_TYPES_H 1
  10812. | #define HAVE_MALLOC_H 1
  10813. | #define HAVE_POLL_H 1
  10814. | #define HAVE_LIMITS_H 1
  10815. | #define HAVE_SYS_UIO_H 1
  10816. | #define HAVE_TERMIOS_H 1
  10817. | #define HAVE_STDBOOL_H 1
  10818. | #define HAVE_PWD_H 1
  10819. | #define HAVE_GRP_H 1
  10820. | #define HAVE_SYS_QUEUE_H 1
  10821. | #define HAVE_SYS_CDEFS_H 1
  10822. | #define USE_SYSLOG 1
  10823. | #define HAVE_PTHREAD_H 1
  10824. | #define SCANBUFF 131072
  10825. | #define FILEBUFF 8192
  10826. | #define restrict __restrict
  10827. | #define SIZEOF_SHORT 2
  10828. | #define SIZEOF_INT 4
  10829. | /* end confdefs.h. */
  10830. | #include "confdefs.h"
  10831. | #include <sys/types.h>
  10832. |
  10833. |
  10834. | int
  10835. | main ()
  10836. | {
  10837. | switch (0) case 0: case (sizeof (long) == 4):;
  10838. | ;
  10839. | return 0;
  10840. | }
  10841. configure:20343: gcc -c -g -O2 conftest.c >&5
  10842. configure:20343: $? = 0
  10843. configure:20355: result: 8
  10844. configure:20363: checking size of long long
  10845. configure:20383: gcc -c -g -O2 conftest.c >&5
  10846. conftest.c: In function 'main':
  10847. conftest.c:96:20: error: duplicate case value
  10848. switch (0) case 0: case (sizeof (long long) == 4):;
  10849. ^~~~
  10850. conftest.c:96:12: note: previously used here
  10851. switch (0) case 0: case (sizeof (long long) == 4):;
  10852. ^~~~
  10853. configure:20383: $? = 1
  10854. configure: failed program was:
  10855. | /* confdefs.h */
  10856. | #define PACKAGE_NAME "ClamAV"
  10857. | #define PACKAGE_TARNAME "clamav"
  10858. | #define PACKAGE_VERSION "0.102.0"
  10859. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10860. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10861. | #define PACKAGE_URL "https://www.clamav.net/"
  10862. | #define PACKAGE PACKAGE_NAME
  10863. | #define STDC_HEADERS 1
  10864. | #define HAVE_SYS_TYPES_H 1
  10865. | #define HAVE_SYS_STAT_H 1
  10866. | #define HAVE_STDLIB_H 1
  10867. | #define HAVE_STRING_H 1
  10868. | #define HAVE_MEMORY_H 1
  10869. | #define HAVE_STRINGS_H 1
  10870. | #define HAVE_INTTYPES_H 1
  10871. | #define HAVE_STDINT_H 1
  10872. | #define HAVE_UNISTD_H 1
  10873. | #define __EXTENSIONS__ 1
  10874. | #define _ALL_SOURCE 1
  10875. | #define _GNU_SOURCE 1
  10876. | #define _POSIX_PTHREAD_SEMANTICS 1
  10877. | #define _TANDEM_SOURCE 1
  10878. | #define LIBCLAMAV_FULLVER "9.0.4"
  10879. | #define LIBCLAMAV_MAJORVER 9
  10880. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10881. | #define LIBFRESHCLAM_MAJORVER 2
  10882. | #define VERSION "0.102.0"
  10883. | #define VERSION_SUFFIX ""
  10884. | #define HAVE_DLFCN_H 1
  10885. | #define LT_OBJDIR ".libs/"
  10886. | #define LT_MODULE_EXT ".so"
  10887. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  10888. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  10889. | #define HAVE_LIBDL 1
  10890. | #define HAVE_DLERROR 1
  10891. | #define HAVE_LIBDLLOADER 1
  10892. | #define HAVE_ARGZ_H 1
  10893. | #define HAVE_ERROR_T 1
  10894. | #define HAVE_ARGZ_ADD 1
  10895. | #define HAVE_ARGZ_APPEND 1
  10896. | #define HAVE_ARGZ_COUNT 1
  10897. | #define HAVE_ARGZ_CREATE_SEP 1
  10898. | #define HAVE_ARGZ_INSERT 1
  10899. | #define HAVE_ARGZ_NEXT 1
  10900. | #define HAVE_ARGZ_STRINGIFY 1
  10901. | #define HAVE_WORKING_ARGZ 1
  10902. | #define HAVE_PRELOADED_SYMBOLS 1
  10903. | #define HAVE_LTDL 1
  10904. | #define HAVE_UNISTD_H 1
  10905. | #define HAVE_DIRENT_H 1
  10906. | #define HAVE_CLOSEDIR 1
  10907. | #define HAVE_OPENDIR 1
  10908. | #define HAVE_READDIR 1
  10909. | #define LT_LIBEXT "a"
  10910. | #define LT_LIBPREFIX "lib"
  10911. | #define HAVE_STDINT_H 1
  10912. | #define HAVE_UNISTD_H 1
  10913. | #define HAVE_DLFCN_H 1
  10914. | #define HAVE_INTTYPES_H 1
  10915. | #define HAVE_SYS_TIMES_H 1
  10916. | #define HAVE_MEMORY_H 1
  10917. | #define HAVE_STDLIB_H 1
  10918. | #define HAVE_STRINGS_H 1
  10919. | #define HAVE_STRING_H 1
  10920. | #define HAVE_SYS_MMAN_H 1
  10921. | #define HAVE_SYS_PARAM_H 1
  10922. | #define HAVE_SYS_STAT_H 1
  10923. | #define HAVE_SYS_TYPES_H 1
  10924. | #define HAVE_MALLOC_H 1
  10925. | #define HAVE_POLL_H 1
  10926. | #define HAVE_LIMITS_H 1
  10927. | #define HAVE_SYS_UIO_H 1
  10928. | #define HAVE_TERMIOS_H 1
  10929. | #define HAVE_STDBOOL_H 1
  10930. | #define HAVE_PWD_H 1
  10931. | #define HAVE_GRP_H 1
  10932. | #define HAVE_SYS_QUEUE_H 1
  10933. | #define HAVE_SYS_CDEFS_H 1
  10934. | #define USE_SYSLOG 1
  10935. | #define HAVE_PTHREAD_H 1
  10936. | #define SCANBUFF 131072
  10937. | #define FILEBUFF 8192
  10938. | #define restrict __restrict
  10939. | #define SIZEOF_SHORT 2
  10940. | #define SIZEOF_INT 4
  10941. | #define SIZEOF_LONG 8
  10942. | /* end confdefs.h. */
  10943. | #include "confdefs.h"
  10944. | #include <sys/types.h>
  10945. |
  10946. |
  10947. | int
  10948. | main ()
  10949. | {
  10950. | switch (0) case 0: case (sizeof (long long) == 4):;
  10951. | ;
  10952. | return 0;
  10953. | }
  10954. configure:20383: gcc -c -g -O2 conftest.c >&5
  10955. configure:20383: $? = 0
  10956. configure:20395: result: 8
  10957. configure:20403: checking size of void *
  10958. configure:20423: gcc -c -g -O2 conftest.c >&5
  10959. conftest.c: In function 'main':
  10960. conftest.c:97:20: error: duplicate case value
  10961. switch (0) case 0: case (sizeof (void *) == 4):;
  10962. ^~~~
  10963. conftest.c:97:12: note: previously used here
  10964. switch (0) case 0: case (sizeof (void *) == 4):;
  10965. ^~~~
  10966. configure:20423: $? = 1
  10967. configure: failed program was:
  10968. | /* confdefs.h */
  10969. | #define PACKAGE_NAME "ClamAV"
  10970. | #define PACKAGE_TARNAME "clamav"
  10971. | #define PACKAGE_VERSION "0.102.0"
  10972. | #define PACKAGE_STRING "ClamAV 0.102.0"
  10973. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  10974. | #define PACKAGE_URL "https://www.clamav.net/"
  10975. | #define PACKAGE PACKAGE_NAME
  10976. | #define STDC_HEADERS 1
  10977. | #define HAVE_SYS_TYPES_H 1
  10978. | #define HAVE_SYS_STAT_H 1
  10979. | #define HAVE_STDLIB_H 1
  10980. | #define HAVE_STRING_H 1
  10981. | #define HAVE_MEMORY_H 1
  10982. | #define HAVE_STRINGS_H 1
  10983. | #define HAVE_INTTYPES_H 1
  10984. | #define HAVE_STDINT_H 1
  10985. | #define HAVE_UNISTD_H 1
  10986. | #define __EXTENSIONS__ 1
  10987. | #define _ALL_SOURCE 1
  10988. | #define _GNU_SOURCE 1
  10989. | #define _POSIX_PTHREAD_SEMANTICS 1
  10990. | #define _TANDEM_SOURCE 1
  10991. | #define LIBCLAMAV_FULLVER "9.0.4"
  10992. | #define LIBCLAMAV_MAJORVER 9
  10993. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  10994. | #define LIBFRESHCLAM_MAJORVER 2
  10995. | #define VERSION "0.102.0"
  10996. | #define VERSION_SUFFIX ""
  10997. | #define HAVE_DLFCN_H 1
  10998. | #define LT_OBJDIR ".libs/"
  10999. | #define LT_MODULE_EXT ".so"
  11000. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11001. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11002. | #define HAVE_LIBDL 1
  11003. | #define HAVE_DLERROR 1
  11004. | #define HAVE_LIBDLLOADER 1
  11005. | #define HAVE_ARGZ_H 1
  11006. | #define HAVE_ERROR_T 1
  11007. | #define HAVE_ARGZ_ADD 1
  11008. | #define HAVE_ARGZ_APPEND 1
  11009. | #define HAVE_ARGZ_COUNT 1
  11010. | #define HAVE_ARGZ_CREATE_SEP 1
  11011. | #define HAVE_ARGZ_INSERT 1
  11012. | #define HAVE_ARGZ_NEXT 1
  11013. | #define HAVE_ARGZ_STRINGIFY 1
  11014. | #define HAVE_WORKING_ARGZ 1
  11015. | #define HAVE_PRELOADED_SYMBOLS 1
  11016. | #define HAVE_LTDL 1
  11017. | #define HAVE_UNISTD_H 1
  11018. | #define HAVE_DIRENT_H 1
  11019. | #define HAVE_CLOSEDIR 1
  11020. | #define HAVE_OPENDIR 1
  11021. | #define HAVE_READDIR 1
  11022. | #define LT_LIBEXT "a"
  11023. | #define LT_LIBPREFIX "lib"
  11024. | #define HAVE_STDINT_H 1
  11025. | #define HAVE_UNISTD_H 1
  11026. | #define HAVE_DLFCN_H 1
  11027. | #define HAVE_INTTYPES_H 1
  11028. | #define HAVE_SYS_TIMES_H 1
  11029. | #define HAVE_MEMORY_H 1
  11030. | #define HAVE_STDLIB_H 1
  11031. | #define HAVE_STRINGS_H 1
  11032. | #define HAVE_STRING_H 1
  11033. | #define HAVE_SYS_MMAN_H 1
  11034. | #define HAVE_SYS_PARAM_H 1
  11035. | #define HAVE_SYS_STAT_H 1
  11036. | #define HAVE_SYS_TYPES_H 1
  11037. | #define HAVE_MALLOC_H 1
  11038. | #define HAVE_POLL_H 1
  11039. | #define HAVE_LIMITS_H 1
  11040. | #define HAVE_SYS_UIO_H 1
  11041. | #define HAVE_TERMIOS_H 1
  11042. | #define HAVE_STDBOOL_H 1
  11043. | #define HAVE_PWD_H 1
  11044. | #define HAVE_GRP_H 1
  11045. | #define HAVE_SYS_QUEUE_H 1
  11046. | #define HAVE_SYS_CDEFS_H 1
  11047. | #define USE_SYSLOG 1
  11048. | #define HAVE_PTHREAD_H 1
  11049. | #define SCANBUFF 131072
  11050. | #define FILEBUFF 8192
  11051. | #define restrict __restrict
  11052. | #define SIZEOF_SHORT 2
  11053. | #define SIZEOF_INT 4
  11054. | #define SIZEOF_LONG 8
  11055. | #define SIZEOF_LONG_LONG 8
  11056. | /* end confdefs.h. */
  11057. | #include "confdefs.h"
  11058. | #include <sys/types.h>
  11059. |
  11060. |
  11061. | int
  11062. | main ()
  11063. | {
  11064. | switch (0) case 0: case (sizeof (void *) == 4):;
  11065. | ;
  11066. | return 0;
  11067. | }
  11068. configure:20423: gcc -c -g -O2 conftest.c >&5
  11069. configure:20423: $? = 0
  11070. configure:20435: result: 8
  11071. configure:20444: checking for ld --version-script
  11072. configure:20473: gcc -g -O2 -fPIC -DPIC -shared
  11073. -o conftest.so conftest.c
  11074. -Wl,--version-script,conftest.map
  11075. 1>&5
  11076. configure:20476: $? = 0
  11077. configure:20500: result: yes
  11078. configure:20554: checking whether uname(2) is POSIX
  11079. configure:20570: gcc -o conftest -g -O2 conftest.c >&5
  11080. configure:20570: $? = 0
  11081. configure:20570: ./conftest
  11082. configure:20570: $? = 0
  11083. configure:20582: result: yes
  11084. configure:20591: checking for bind in -lsocket
  11085. configure:20616: gcc -o conftest -g -O2 conftest.c -lsocket >&5
  11086. /usr/bin/ld: cannot find -lsocket
  11087. collect2: error: ld returned 1 exit status
  11088. configure:20616: $? = 1
  11089. configure: failed program was:
  11090. | /* confdefs.h */
  11091. | #define PACKAGE_NAME "ClamAV"
  11092. | #define PACKAGE_TARNAME "clamav"
  11093. | #define PACKAGE_VERSION "0.102.0"
  11094. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11095. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11096. | #define PACKAGE_URL "https://www.clamav.net/"
  11097. | #define PACKAGE PACKAGE_NAME
  11098. | #define STDC_HEADERS 1
  11099. | #define HAVE_SYS_TYPES_H 1
  11100. | #define HAVE_SYS_STAT_H 1
  11101. | #define HAVE_STDLIB_H 1
  11102. | #define HAVE_STRING_H 1
  11103. | #define HAVE_MEMORY_H 1
  11104. | #define HAVE_STRINGS_H 1
  11105. | #define HAVE_INTTYPES_H 1
  11106. | #define HAVE_STDINT_H 1
  11107. | #define HAVE_UNISTD_H 1
  11108. | #define __EXTENSIONS__ 1
  11109. | #define _ALL_SOURCE 1
  11110. | #define _GNU_SOURCE 1
  11111. | #define _POSIX_PTHREAD_SEMANTICS 1
  11112. | #define _TANDEM_SOURCE 1
  11113. | #define LIBCLAMAV_FULLVER "9.0.4"
  11114. | #define LIBCLAMAV_MAJORVER 9
  11115. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11116. | #define LIBFRESHCLAM_MAJORVER 2
  11117. | #define VERSION "0.102.0"
  11118. | #define VERSION_SUFFIX ""
  11119. | #define HAVE_DLFCN_H 1
  11120. | #define LT_OBJDIR ".libs/"
  11121. | #define LT_MODULE_EXT ".so"
  11122. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11123. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11124. | #define HAVE_LIBDL 1
  11125. | #define HAVE_DLERROR 1
  11126. | #define HAVE_LIBDLLOADER 1
  11127. | #define HAVE_ARGZ_H 1
  11128. | #define HAVE_ERROR_T 1
  11129. | #define HAVE_ARGZ_ADD 1
  11130. | #define HAVE_ARGZ_APPEND 1
  11131. | #define HAVE_ARGZ_COUNT 1
  11132. | #define HAVE_ARGZ_CREATE_SEP 1
  11133. | #define HAVE_ARGZ_INSERT 1
  11134. | #define HAVE_ARGZ_NEXT 1
  11135. | #define HAVE_ARGZ_STRINGIFY 1
  11136. | #define HAVE_WORKING_ARGZ 1
  11137. | #define HAVE_PRELOADED_SYMBOLS 1
  11138. | #define HAVE_LTDL 1
  11139. | #define HAVE_UNISTD_H 1
  11140. | #define HAVE_DIRENT_H 1
  11141. | #define HAVE_CLOSEDIR 1
  11142. | #define HAVE_OPENDIR 1
  11143. | #define HAVE_READDIR 1
  11144. | #define LT_LIBEXT "a"
  11145. | #define LT_LIBPREFIX "lib"
  11146. | #define HAVE_STDINT_H 1
  11147. | #define HAVE_UNISTD_H 1
  11148. | #define HAVE_DLFCN_H 1
  11149. | #define HAVE_INTTYPES_H 1
  11150. | #define HAVE_SYS_TIMES_H 1
  11151. | #define HAVE_MEMORY_H 1
  11152. | #define HAVE_STDLIB_H 1
  11153. | #define HAVE_STRINGS_H 1
  11154. | #define HAVE_STRING_H 1
  11155. | #define HAVE_SYS_MMAN_H 1
  11156. | #define HAVE_SYS_PARAM_H 1
  11157. | #define HAVE_SYS_STAT_H 1
  11158. | #define HAVE_SYS_TYPES_H 1
  11159. | #define HAVE_MALLOC_H 1
  11160. | #define HAVE_POLL_H 1
  11161. | #define HAVE_LIMITS_H 1
  11162. | #define HAVE_SYS_UIO_H 1
  11163. | #define HAVE_TERMIOS_H 1
  11164. | #define HAVE_STDBOOL_H 1
  11165. | #define HAVE_PWD_H 1
  11166. | #define HAVE_GRP_H 1
  11167. | #define HAVE_SYS_QUEUE_H 1
  11168. | #define HAVE_SYS_CDEFS_H 1
  11169. | #define USE_SYSLOG 1
  11170. | #define HAVE_PTHREAD_H 1
  11171. | #define SCANBUFF 131072
  11172. | #define FILEBUFF 8192
  11173. | #define restrict __restrict
  11174. | #define SIZEOF_SHORT 2
  11175. | #define SIZEOF_INT 4
  11176. | #define SIZEOF_LONG 8
  11177. | #define SIZEOF_LONG_LONG 8
  11178. | #define SIZEOF_VOID_P 8
  11179. | #define HAVE_UNAME_SYSCALL 1
  11180. | /* end confdefs.h. */
  11181. |
  11182. | /* Override any GCC internal prototype to avoid an error.
  11183. | Use char because int might match the return type of a GCC
  11184. | builtin and then its argument prototype would still apply. */
  11185. | #ifdef __cplusplus
  11186. | extern "C"
  11187. | #endif
  11188. | char bind ();
  11189. | int
  11190. | main ()
  11191. | {
  11192. | return bind ();
  11193. | ;
  11194. | return 0;
  11195. | }
  11196. configure:20625: result: no
  11197. configure:20631: checking for library containing gethostent
  11198. configure:20662: gcc -o conftest -g -O2 conftest.c >&5
  11199. configure:20662: $? = 0
  11200. configure:20679: result: none required
  11201. configure:20694: checking for poll
  11202. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11203. configure:20694: $? = 0
  11204. configure:20694: result: yes
  11205. configure:20694: checking for setsid
  11206. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11207. configure:20694: $? = 0
  11208. configure:20694: result: yes
  11209. configure:20694: checking for memcpy
  11210. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11211. conftest.c:117:6: warning: conflicting types for built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
  11212. char memcpy ();
  11213. ^~~~~~
  11214. configure:20694: $? = 0
  11215. configure:20694: result: yes
  11216. configure:20694: checking for snprintf
  11217. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11218. conftest.c:118:6: warning: conflicting types for built-in function 'snprintf' [-Wbuiltin-declaration-mismatch]
  11219. char snprintf ();
  11220. ^~~~~~~~
  11221. configure:20694: $? = 0
  11222. configure:20694: result: yes
  11223. configure:20694: checking for vsnprintf
  11224. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11225. conftest.c:119:6: warning: conflicting types for built-in function 'vsnprintf' [-Wbuiltin-declaration-mismatch]
  11226. char vsnprintf ();
  11227. ^~~~~~~~~
  11228. configure:20694: $? = 0
  11229. configure:20694: result: yes
  11230. configure:20694: checking for strerror_r
  11231. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11232. configure:20694: $? = 0
  11233. configure:20694: result: yes
  11234. configure:20694: checking for strlcpy
  11235. configure:20694: result: no
  11236. configure:20694: checking for strlcat
  11237. configure:20694: result: no
  11238. configure:20694: checking for strcasestr
  11239. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11240. configure:20694: $? = 0
  11241. configure:20694: result: yes
  11242. configure:20694: checking for inet_ntop
  11243. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11244. configure:20694: $? = 0
  11245. configure:20694: result: yes
  11246. configure:20694: checking for setgroups
  11247. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11248. configure:20694: $? = 0
  11249. configure:20694: result: yes
  11250. configure:20694: checking for initgroups
  11251. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11252. configure:20694: $? = 0
  11253. configure:20694: result: yes
  11254. configure:20694: checking for ctime_r
  11255. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11256. configure:20694: $? = 0
  11257. configure:20694: result: yes
  11258. configure:20694: checking for mkstemp
  11259. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11260. configure:20694: $? = 0
  11261. configure:20694: result: yes
  11262. configure:20694: checking for mallinfo
  11263. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11264. configure:20694: $? = 0
  11265. configure:20694: result: yes
  11266. configure:20694: checking for madvise
  11267. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11268. configure:20694: $? = 0
  11269. configure:20694: result: yes
  11270. configure:20694: checking for getnameinfo
  11271. configure:20694: gcc -o conftest -g -O2 conftest.c >&5
  11272. configure:20694: $? = 0
  11273. configure:20694: result: yes
  11274. configure:20740: checking for strndup
  11275. configure:20740: gcc -o conftest -g -O2 conftest.c >&5
  11276. conftest.c:130:6: warning: conflicting types for built-in function 'strndup' [-Wbuiltin-declaration-mismatch]
  11277. char strndup ();
  11278. ^~~~~~~
  11279. configure:20740: $? = 0
  11280. configure:20740: result: yes
  11281. configure:20751: checking for strnlen
  11282. configure:20751: gcc -o conftest -g -O2 conftest.c >&5
  11283. configure:20751: $? = 0
  11284. configure:20751: result: yes
  11285. configure:20762: checking for strnstr
  11286. configure:20762: gcc -o conftest -g -O2 conftest.c >&5
  11287. /tmp/ccS3dRhc.o: In function `main':
  11288. /tmp/conftest.c:143: undefined reference to `strnstr'
  11289. collect2: error: ld returned 1 exit status
  11290. configure:20762: $? = 1
  11291. configure: failed program was:
  11292. | /* confdefs.h */
  11293. | #define PACKAGE_NAME "ClamAV"
  11294. | #define PACKAGE_TARNAME "clamav"
  11295. | #define PACKAGE_VERSION "0.102.0"
  11296. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11297. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11298. | #define PACKAGE_URL "https://www.clamav.net/"
  11299. | #define PACKAGE PACKAGE_NAME
  11300. | #define STDC_HEADERS 1
  11301. | #define HAVE_SYS_TYPES_H 1
  11302. | #define HAVE_SYS_STAT_H 1
  11303. | #define HAVE_STDLIB_H 1
  11304. | #define HAVE_STRING_H 1
  11305. | #define HAVE_MEMORY_H 1
  11306. | #define HAVE_STRINGS_H 1
  11307. | #define HAVE_INTTYPES_H 1
  11308. | #define HAVE_STDINT_H 1
  11309. | #define HAVE_UNISTD_H 1
  11310. | #define __EXTENSIONS__ 1
  11311. | #define _ALL_SOURCE 1
  11312. | #define _GNU_SOURCE 1
  11313. | #define _POSIX_PTHREAD_SEMANTICS 1
  11314. | #define _TANDEM_SOURCE 1
  11315. | #define LIBCLAMAV_FULLVER "9.0.4"
  11316. | #define LIBCLAMAV_MAJORVER 9
  11317. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11318. | #define LIBFRESHCLAM_MAJORVER 2
  11319. | #define VERSION "0.102.0"
  11320. | #define VERSION_SUFFIX ""
  11321. | #define HAVE_DLFCN_H 1
  11322. | #define LT_OBJDIR ".libs/"
  11323. | #define LT_MODULE_EXT ".so"
  11324. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11325. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11326. | #define HAVE_LIBDL 1
  11327. | #define HAVE_DLERROR 1
  11328. | #define HAVE_LIBDLLOADER 1
  11329. | #define HAVE_ARGZ_H 1
  11330. | #define HAVE_ERROR_T 1
  11331. | #define HAVE_ARGZ_ADD 1
  11332. | #define HAVE_ARGZ_APPEND 1
  11333. | #define HAVE_ARGZ_COUNT 1
  11334. | #define HAVE_ARGZ_CREATE_SEP 1
  11335. | #define HAVE_ARGZ_INSERT 1
  11336. | #define HAVE_ARGZ_NEXT 1
  11337. | #define HAVE_ARGZ_STRINGIFY 1
  11338. | #define HAVE_WORKING_ARGZ 1
  11339. | #define HAVE_PRELOADED_SYMBOLS 1
  11340. | #define HAVE_LTDL 1
  11341. | #define HAVE_UNISTD_H 1
  11342. | #define HAVE_DIRENT_H 1
  11343. | #define HAVE_CLOSEDIR 1
  11344. | #define HAVE_OPENDIR 1
  11345. | #define HAVE_READDIR 1
  11346. | #define LT_LIBEXT "a"
  11347. | #define LT_LIBPREFIX "lib"
  11348. | #define HAVE_STDINT_H 1
  11349. | #define HAVE_UNISTD_H 1
  11350. | #define HAVE_DLFCN_H 1
  11351. | #define HAVE_INTTYPES_H 1
  11352. | #define HAVE_SYS_TIMES_H 1
  11353. | #define HAVE_MEMORY_H 1
  11354. | #define HAVE_STDLIB_H 1
  11355. | #define HAVE_STRINGS_H 1
  11356. | #define HAVE_STRING_H 1
  11357. | #define HAVE_SYS_MMAN_H 1
  11358. | #define HAVE_SYS_PARAM_H 1
  11359. | #define HAVE_SYS_STAT_H 1
  11360. | #define HAVE_SYS_TYPES_H 1
  11361. | #define HAVE_MALLOC_H 1
  11362. | #define HAVE_POLL_H 1
  11363. | #define HAVE_LIMITS_H 1
  11364. | #define HAVE_SYS_UIO_H 1
  11365. | #define HAVE_TERMIOS_H 1
  11366. | #define HAVE_STDBOOL_H 1
  11367. | #define HAVE_PWD_H 1
  11368. | #define HAVE_GRP_H 1
  11369. | #define HAVE_SYS_QUEUE_H 1
  11370. | #define HAVE_SYS_CDEFS_H 1
  11371. | #define USE_SYSLOG 1
  11372. | #define HAVE_PTHREAD_H 1
  11373. | #define SCANBUFF 131072
  11374. | #define FILEBUFF 8192
  11375. | #define restrict __restrict
  11376. | #define SIZEOF_SHORT 2
  11377. | #define SIZEOF_INT 4
  11378. | #define SIZEOF_LONG 8
  11379. | #define SIZEOF_LONG_LONG 8
  11380. | #define SIZEOF_VOID_P 8
  11381. | #define HAVE_UNAME_SYSCALL 1
  11382. | #define HAVE_POLL 1
  11383. | #define HAVE_SETSID 1
  11384. | #define HAVE_MEMCPY 1
  11385. | #define HAVE_SNPRINTF 1
  11386. | #define HAVE_VSNPRINTF 1
  11387. | #define HAVE_STRERROR_R 1
  11388. | #define HAVE_STRCASESTR 1
  11389. | #define HAVE_INET_NTOP 1
  11390. | #define HAVE_SETGROUPS 1
  11391. | #define HAVE_INITGROUPS 1
  11392. | #define HAVE_CTIME_R 1
  11393. | #define HAVE_MKSTEMP 1
  11394. | #define HAVE_MALLINFO 1
  11395. | #define HAVE_MADVISE 1
  11396. | #define HAVE_GETNAMEINFO 1
  11397. | #define HAVE_STRNDUP 1
  11398. | #define HAVE_STRNLEN 1
  11399. | /* end confdefs.h. */
  11400. | /* Define strnstr to an innocuous variant, in case <limits.h> declares strnstr.
  11401. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11402. | #define strnstr innocuous_strnstr
  11403. |
  11404. | /* System header to define __stub macros and hopefully few prototypes,
  11405. | which can conflict with char strnstr (); below.
  11406. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11407. | <limits.h> exists even on freestanding compilers. */
  11408. |
  11409. | #ifdef __STDC__
  11410. | # include <limits.h>
  11411. | #else
  11412. | # include <assert.h>
  11413. | #endif
  11414. |
  11415. | #undef strnstr
  11416. |
  11417. | /* Override any GCC internal prototype to avoid an error.
  11418. | Use char because int might match the return type of a GCC
  11419. | builtin and then its argument prototype would still apply. */
  11420. | #ifdef __cplusplus
  11421. | extern "C"
  11422. | #endif
  11423. | char strnstr ();
  11424. | /* The GNU C library defines this for functions which it implements
  11425. | to always fail with ENOSYS. Some functions are actually named
  11426. | something starting with __ and the normal name is an alias. */
  11427. | #if defined __stub_strnstr || defined __stub___strnstr
  11428. | choke me
  11429. | #endif
  11430. |
  11431. | int
  11432. | main ()
  11433. | {
  11434. | return strnstr ();
  11435. | ;
  11436. | return 0;
  11437. | }
  11438. configure:20762: result: no
  11439. configure:20771: checking for _LARGEFILE_SOURCE value needed for large files
  11440. configure:20790: gcc -o conftest -g -O2 conftest.c >&5
  11441. configure:20790: $? = 0
  11442. configure:20818: result: no
  11443. configure:20841: checking for working mmap
  11444. configure:20918: gcc -o conftest -g -O2 conftest.c >&5
  11445. configure:20918: $? = 0
  11446. configure:20918: ./conftest
  11447. configure:20918: $? = 0
  11448. configure:20928: result: yes
  11449. configure:20939: checking for sysconf(_SC_PAGESIZE)
  11450. configure:20960: gcc -o conftest -g -O2 conftest.c >&5
  11451. configure:20960: $? = 0
  11452. configure:20969: result: yes
  11453. configure:20977: checking for getpagesize()
  11454. configure:20997: gcc -o conftest -g -O2 conftest.c >&5
  11455. configure:20997: $? = 0
  11456. configure:21006: result: yes
  11457. configure:21016: checking for MAP_ANON(YMOUS)
  11458. configure:21034: gcc -o conftest -g -O2 conftest.c >&5
  11459. configure:21034: $? = 0
  11460. configure:21067: result: MAP_ANONYMOUS
  11461. configure:21080: checking for enable_extended_FILE_stdio
  11462. configure:21080: gcc -o conftest -g -O2 conftest.c >&5
  11463. /tmp/ccsf9zvx.o: In function `main':
  11464. /tmp/conftest.c:148: undefined reference to `enable_extended_FILE_stdio'
  11465. collect2: error: ld returned 1 exit status
  11466. configure:21080: $? = 1
  11467. configure: failed program was:
  11468. | /* confdefs.h */
  11469. | #define PACKAGE_NAME "ClamAV"
  11470. | #define PACKAGE_TARNAME "clamav"
  11471. | #define PACKAGE_VERSION "0.102.0"
  11472. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11473. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11474. | #define PACKAGE_URL "https://www.clamav.net/"
  11475. | #define PACKAGE PACKAGE_NAME
  11476. | #define STDC_HEADERS 1
  11477. | #define HAVE_SYS_TYPES_H 1
  11478. | #define HAVE_SYS_STAT_H 1
  11479. | #define HAVE_STDLIB_H 1
  11480. | #define HAVE_STRING_H 1
  11481. | #define HAVE_MEMORY_H 1
  11482. | #define HAVE_STRINGS_H 1
  11483. | #define HAVE_INTTYPES_H 1
  11484. | #define HAVE_STDINT_H 1
  11485. | #define HAVE_UNISTD_H 1
  11486. | #define __EXTENSIONS__ 1
  11487. | #define _ALL_SOURCE 1
  11488. | #define _GNU_SOURCE 1
  11489. | #define _POSIX_PTHREAD_SEMANTICS 1
  11490. | #define _TANDEM_SOURCE 1
  11491. | #define LIBCLAMAV_FULLVER "9.0.4"
  11492. | #define LIBCLAMAV_MAJORVER 9
  11493. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11494. | #define LIBFRESHCLAM_MAJORVER 2
  11495. | #define VERSION "0.102.0"
  11496. | #define VERSION_SUFFIX ""
  11497. | #define HAVE_DLFCN_H 1
  11498. | #define LT_OBJDIR ".libs/"
  11499. | #define LT_MODULE_EXT ".so"
  11500. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11501. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11502. | #define HAVE_LIBDL 1
  11503. | #define HAVE_DLERROR 1
  11504. | #define HAVE_LIBDLLOADER 1
  11505. | #define HAVE_ARGZ_H 1
  11506. | #define HAVE_ERROR_T 1
  11507. | #define HAVE_ARGZ_ADD 1
  11508. | #define HAVE_ARGZ_APPEND 1
  11509. | #define HAVE_ARGZ_COUNT 1
  11510. | #define HAVE_ARGZ_CREATE_SEP 1
  11511. | #define HAVE_ARGZ_INSERT 1
  11512. | #define HAVE_ARGZ_NEXT 1
  11513. | #define HAVE_ARGZ_STRINGIFY 1
  11514. | #define HAVE_WORKING_ARGZ 1
  11515. | #define HAVE_PRELOADED_SYMBOLS 1
  11516. | #define HAVE_LTDL 1
  11517. | #define HAVE_UNISTD_H 1
  11518. | #define HAVE_DIRENT_H 1
  11519. | #define HAVE_CLOSEDIR 1
  11520. | #define HAVE_OPENDIR 1
  11521. | #define HAVE_READDIR 1
  11522. | #define LT_LIBEXT "a"
  11523. | #define LT_LIBPREFIX "lib"
  11524. | #define HAVE_STDINT_H 1
  11525. | #define HAVE_UNISTD_H 1
  11526. | #define HAVE_DLFCN_H 1
  11527. | #define HAVE_INTTYPES_H 1
  11528. | #define HAVE_SYS_TIMES_H 1
  11529. | #define HAVE_MEMORY_H 1
  11530. | #define HAVE_STDLIB_H 1
  11531. | #define HAVE_STRINGS_H 1
  11532. | #define HAVE_STRING_H 1
  11533. | #define HAVE_SYS_MMAN_H 1
  11534. | #define HAVE_SYS_PARAM_H 1
  11535. | #define HAVE_SYS_STAT_H 1
  11536. | #define HAVE_SYS_TYPES_H 1
  11537. | #define HAVE_MALLOC_H 1
  11538. | #define HAVE_POLL_H 1
  11539. | #define HAVE_LIMITS_H 1
  11540. | #define HAVE_SYS_UIO_H 1
  11541. | #define HAVE_TERMIOS_H 1
  11542. | #define HAVE_STDBOOL_H 1
  11543. | #define HAVE_PWD_H 1
  11544. | #define HAVE_GRP_H 1
  11545. | #define HAVE_SYS_QUEUE_H 1
  11546. | #define HAVE_SYS_CDEFS_H 1
  11547. | #define USE_SYSLOG 1
  11548. | #define HAVE_PTHREAD_H 1
  11549. | #define SCANBUFF 131072
  11550. | #define FILEBUFF 8192
  11551. | #define restrict __restrict
  11552. | #define SIZEOF_SHORT 2
  11553. | #define SIZEOF_INT 4
  11554. | #define SIZEOF_LONG 8
  11555. | #define SIZEOF_LONG_LONG 8
  11556. | #define SIZEOF_VOID_P 8
  11557. | #define HAVE_UNAME_SYSCALL 1
  11558. | #define HAVE_POLL 1
  11559. | #define HAVE_SETSID 1
  11560. | #define HAVE_MEMCPY 1
  11561. | #define HAVE_SNPRINTF 1
  11562. | #define HAVE_VSNPRINTF 1
  11563. | #define HAVE_STRERROR_R 1
  11564. | #define HAVE_STRCASESTR 1
  11565. | #define HAVE_INET_NTOP 1
  11566. | #define HAVE_SETGROUPS 1
  11567. | #define HAVE_INITGROUPS 1
  11568. | #define HAVE_CTIME_R 1
  11569. | #define HAVE_MKSTEMP 1
  11570. | #define HAVE_MALLINFO 1
  11571. | #define HAVE_MADVISE 1
  11572. | #define HAVE_GETNAMEINFO 1
  11573. | #define HAVE_STRNDUP 1
  11574. | #define HAVE_STRNLEN 1
  11575. | #define HAVE_FSEEKO 1
  11576. | #define HAVE_MMAP 1
  11577. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  11578. | #define HAVE_GETPAGESIZE 1
  11579. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  11580. | /* end confdefs.h. */
  11581. | /* Define enable_extended_FILE_stdio to an innocuous variant, in case <limits.h> declares enable_extended_FILE_stdio.
  11582. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11583. | #define enable_extended_FILE_stdio innocuous_enable_extended_FILE_stdio
  11584. |
  11585. | /* System header to define __stub macros and hopefully few prototypes,
  11586. | which can conflict with char enable_extended_FILE_stdio (); below.
  11587. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11588. | <limits.h> exists even on freestanding compilers. */
  11589. |
  11590. | #ifdef __STDC__
  11591. | # include <limits.h>
  11592. | #else
  11593. | # include <assert.h>
  11594. | #endif
  11595. |
  11596. | #undef enable_extended_FILE_stdio
  11597. |
  11598. | /* Override any GCC internal prototype to avoid an error.
  11599. | Use char because int might match the return type of a GCC
  11600. | builtin and then its argument prototype would still apply. */
  11601. | #ifdef __cplusplus
  11602. | extern "C"
  11603. | #endif
  11604. | char enable_extended_FILE_stdio ();
  11605. | /* The GNU C library defines this for functions which it implements
  11606. | to always fail with ENOSYS. Some functions are actually named
  11607. | something starting with __ and the normal name is an alias. */
  11608. | #if defined __stub_enable_extended_FILE_stdio || defined __stub___enable_extended_FILE_stdio
  11609. | choke me
  11610. | #endif
  11611. |
  11612. | int
  11613. | main ()
  11614. | {
  11615. | return enable_extended_FILE_stdio ();
  11616. | ;
  11617. | return 0;
  11618. | }
  11619. configure:21080: result: no
  11620. configure:21092: checking for timegm
  11621. configure:21092: gcc -o conftest -g -O2 conftest.c >&5
  11622. configure:21092: $? = 0
  11623. configure:21092: result: yes
  11624. configure:21103: checking for sysctlbyname
  11625. configure:21103: gcc -o conftest -g -O2 conftest.c >&5
  11626. /tmp/ccaTREgF.o: In function `main':
  11627. /tmp/conftest.c:149: undefined reference to `sysctlbyname'
  11628. collect2: error: ld returned 1 exit status
  11629. configure:21103: $? = 1
  11630. configure: failed program was:
  11631. | /* confdefs.h */
  11632. | #define PACKAGE_NAME "ClamAV"
  11633. | #define PACKAGE_TARNAME "clamav"
  11634. | #define PACKAGE_VERSION "0.102.0"
  11635. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11636. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11637. | #define PACKAGE_URL "https://www.clamav.net/"
  11638. | #define PACKAGE PACKAGE_NAME
  11639. | #define STDC_HEADERS 1
  11640. | #define HAVE_SYS_TYPES_H 1
  11641. | #define HAVE_SYS_STAT_H 1
  11642. | #define HAVE_STDLIB_H 1
  11643. | #define HAVE_STRING_H 1
  11644. | #define HAVE_MEMORY_H 1
  11645. | #define HAVE_STRINGS_H 1
  11646. | #define HAVE_INTTYPES_H 1
  11647. | #define HAVE_STDINT_H 1
  11648. | #define HAVE_UNISTD_H 1
  11649. | #define __EXTENSIONS__ 1
  11650. | #define _ALL_SOURCE 1
  11651. | #define _GNU_SOURCE 1
  11652. | #define _POSIX_PTHREAD_SEMANTICS 1
  11653. | #define _TANDEM_SOURCE 1
  11654. | #define LIBCLAMAV_FULLVER "9.0.4"
  11655. | #define LIBCLAMAV_MAJORVER 9
  11656. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11657. | #define LIBFRESHCLAM_MAJORVER 2
  11658. | #define VERSION "0.102.0"
  11659. | #define VERSION_SUFFIX ""
  11660. | #define HAVE_DLFCN_H 1
  11661. | #define LT_OBJDIR ".libs/"
  11662. | #define LT_MODULE_EXT ".so"
  11663. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11664. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11665. | #define HAVE_LIBDL 1
  11666. | #define HAVE_DLERROR 1
  11667. | #define HAVE_LIBDLLOADER 1
  11668. | #define HAVE_ARGZ_H 1
  11669. | #define HAVE_ERROR_T 1
  11670. | #define HAVE_ARGZ_ADD 1
  11671. | #define HAVE_ARGZ_APPEND 1
  11672. | #define HAVE_ARGZ_COUNT 1
  11673. | #define HAVE_ARGZ_CREATE_SEP 1
  11674. | #define HAVE_ARGZ_INSERT 1
  11675. | #define HAVE_ARGZ_NEXT 1
  11676. | #define HAVE_ARGZ_STRINGIFY 1
  11677. | #define HAVE_WORKING_ARGZ 1
  11678. | #define HAVE_PRELOADED_SYMBOLS 1
  11679. | #define HAVE_LTDL 1
  11680. | #define HAVE_UNISTD_H 1
  11681. | #define HAVE_DIRENT_H 1
  11682. | #define HAVE_CLOSEDIR 1
  11683. | #define HAVE_OPENDIR 1
  11684. | #define HAVE_READDIR 1
  11685. | #define LT_LIBEXT "a"
  11686. | #define LT_LIBPREFIX "lib"
  11687. | #define HAVE_STDINT_H 1
  11688. | #define HAVE_UNISTD_H 1
  11689. | #define HAVE_DLFCN_H 1
  11690. | #define HAVE_INTTYPES_H 1
  11691. | #define HAVE_SYS_TIMES_H 1
  11692. | #define HAVE_MEMORY_H 1
  11693. | #define HAVE_STDLIB_H 1
  11694. | #define HAVE_STRINGS_H 1
  11695. | #define HAVE_STRING_H 1
  11696. | #define HAVE_SYS_MMAN_H 1
  11697. | #define HAVE_SYS_PARAM_H 1
  11698. | #define HAVE_SYS_STAT_H 1
  11699. | #define HAVE_SYS_TYPES_H 1
  11700. | #define HAVE_MALLOC_H 1
  11701. | #define HAVE_POLL_H 1
  11702. | #define HAVE_LIMITS_H 1
  11703. | #define HAVE_SYS_UIO_H 1
  11704. | #define HAVE_TERMIOS_H 1
  11705. | #define HAVE_STDBOOL_H 1
  11706. | #define HAVE_PWD_H 1
  11707. | #define HAVE_GRP_H 1
  11708. | #define HAVE_SYS_QUEUE_H 1
  11709. | #define HAVE_SYS_CDEFS_H 1
  11710. | #define USE_SYSLOG 1
  11711. | #define HAVE_PTHREAD_H 1
  11712. | #define SCANBUFF 131072
  11713. | #define FILEBUFF 8192
  11714. | #define restrict __restrict
  11715. | #define SIZEOF_SHORT 2
  11716. | #define SIZEOF_INT 4
  11717. | #define SIZEOF_LONG 8
  11718. | #define SIZEOF_LONG_LONG 8
  11719. | #define SIZEOF_VOID_P 8
  11720. | #define HAVE_UNAME_SYSCALL 1
  11721. | #define HAVE_POLL 1
  11722. | #define HAVE_SETSID 1
  11723. | #define HAVE_MEMCPY 1
  11724. | #define HAVE_SNPRINTF 1
  11725. | #define HAVE_VSNPRINTF 1
  11726. | #define HAVE_STRERROR_R 1
  11727. | #define HAVE_STRCASESTR 1
  11728. | #define HAVE_INET_NTOP 1
  11729. | #define HAVE_SETGROUPS 1
  11730. | #define HAVE_INITGROUPS 1
  11731. | #define HAVE_CTIME_R 1
  11732. | #define HAVE_MKSTEMP 1
  11733. | #define HAVE_MALLINFO 1
  11734. | #define HAVE_MADVISE 1
  11735. | #define HAVE_GETNAMEINFO 1
  11736. | #define HAVE_STRNDUP 1
  11737. | #define HAVE_STRNLEN 1
  11738. | #define HAVE_FSEEKO 1
  11739. | #define HAVE_MMAP 1
  11740. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  11741. | #define HAVE_GETPAGESIZE 1
  11742. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  11743. | #define HAVE_TIMEGM 1
  11744. | /* end confdefs.h. */
  11745. | /* Define sysctlbyname to an innocuous variant, in case <limits.h> declares sysctlbyname.
  11746. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11747. | #define sysctlbyname innocuous_sysctlbyname
  11748. |
  11749. | /* System header to define __stub macros and hopefully few prototypes,
  11750. | which can conflict with char sysctlbyname (); below.
  11751. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11752. | <limits.h> exists even on freestanding compilers. */
  11753. |
  11754. | #ifdef __STDC__
  11755. | # include <limits.h>
  11756. | #else
  11757. | # include <assert.h>
  11758. | #endif
  11759. |
  11760. | #undef sysctlbyname
  11761. |
  11762. | /* Override any GCC internal prototype to avoid an error.
  11763. | Use char because int might match the return type of a GCC
  11764. | builtin and then its argument prototype would still apply. */
  11765. | #ifdef __cplusplus
  11766. | extern "C"
  11767. | #endif
  11768. | char sysctlbyname ();
  11769. | /* The GNU C library defines this for functions which it implements
  11770. | to always fail with ENOSYS. Some functions are actually named
  11771. | something starting with __ and the normal name is an alias. */
  11772. | #if defined __stub_sysctlbyname || defined __stub___sysctlbyname
  11773. | choke me
  11774. | #endif
  11775. |
  11776. | int
  11777. | main ()
  11778. | {
  11779. | return sysctlbyname ();
  11780. | ;
  11781. | return 0;
  11782. | }
  11783. configure:21103: result: no
  11784. configure:21157: checking for CHECK
  11785. configure:21164: $PKG_CONFIG --exists --print-errors "check"
  11786. Package check was not found in the pkg-config search path.
  11787. Perhaps you should add the directory containing `check.pc'
  11788. to the PKG_CONFIG_PATH environment variable
  11789. No package 'check' found
  11790. configure:21167: $? = 1
  11791. configure:21181: $PKG_CONFIG --exists --print-errors "check"
  11792. Package check was not found in the pkg-config search path.
  11793. Perhaps you should add the directory containing `check.pc'
  11794. to the PKG_CONFIG_PATH environment variable
  11795. No package 'check' found
  11796. configure:21184: $? = 1
  11797. configure:21198: result: no
  11798. No package 'check' found
  11799. configure:21278: checking for ld used by GCC
  11800. configure:21342: result: /usr/bin/ld -m elf_x86_64
  11801. configure:21349: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
  11802. configure:21362: result: yes
  11803. configure:21369: checking for shared library run path origin
  11804. configure:21382: result: done
  11805. configure:21860: checking check.h usability
  11806. configure:21860: gcc -c -g -O2 conftest.c >&5
  11807. conftest.c:149:10: fatal error: check.h: No such file or directory
  11808. #include <check.h>
  11809. ^~~~~~~~~
  11810. compilation terminated.
  11811. configure:21860: $? = 1
  11812. configure: failed program was:
  11813. | /* confdefs.h */
  11814. | #define PACKAGE_NAME "ClamAV"
  11815. | #define PACKAGE_TARNAME "clamav"
  11816. | #define PACKAGE_VERSION "0.102.0"
  11817. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11818. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11819. | #define PACKAGE_URL "https://www.clamav.net/"
  11820. | #define PACKAGE PACKAGE_NAME
  11821. | #define STDC_HEADERS 1
  11822. | #define HAVE_SYS_TYPES_H 1
  11823. | #define HAVE_SYS_STAT_H 1
  11824. | #define HAVE_STDLIB_H 1
  11825. | #define HAVE_STRING_H 1
  11826. | #define HAVE_MEMORY_H 1
  11827. | #define HAVE_STRINGS_H 1
  11828. | #define HAVE_INTTYPES_H 1
  11829. | #define HAVE_STDINT_H 1
  11830. | #define HAVE_UNISTD_H 1
  11831. | #define __EXTENSIONS__ 1
  11832. | #define _ALL_SOURCE 1
  11833. | #define _GNU_SOURCE 1
  11834. | #define _POSIX_PTHREAD_SEMANTICS 1
  11835. | #define _TANDEM_SOURCE 1
  11836. | #define LIBCLAMAV_FULLVER "9.0.4"
  11837. | #define LIBCLAMAV_MAJORVER 9
  11838. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11839. | #define LIBFRESHCLAM_MAJORVER 2
  11840. | #define VERSION "0.102.0"
  11841. | #define VERSION_SUFFIX ""
  11842. | #define HAVE_DLFCN_H 1
  11843. | #define LT_OBJDIR ".libs/"
  11844. | #define LT_MODULE_EXT ".so"
  11845. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  11846. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  11847. | #define HAVE_LIBDL 1
  11848. | #define HAVE_DLERROR 1
  11849. | #define HAVE_LIBDLLOADER 1
  11850. | #define HAVE_ARGZ_H 1
  11851. | #define HAVE_ERROR_T 1
  11852. | #define HAVE_ARGZ_ADD 1
  11853. | #define HAVE_ARGZ_APPEND 1
  11854. | #define HAVE_ARGZ_COUNT 1
  11855. | #define HAVE_ARGZ_CREATE_SEP 1
  11856. | #define HAVE_ARGZ_INSERT 1
  11857. | #define HAVE_ARGZ_NEXT 1
  11858. | #define HAVE_ARGZ_STRINGIFY 1
  11859. | #define HAVE_WORKING_ARGZ 1
  11860. | #define HAVE_PRELOADED_SYMBOLS 1
  11861. | #define HAVE_LTDL 1
  11862. | #define HAVE_UNISTD_H 1
  11863. | #define HAVE_DIRENT_H 1
  11864. | #define HAVE_CLOSEDIR 1
  11865. | #define HAVE_OPENDIR 1
  11866. | #define HAVE_READDIR 1
  11867. | #define LT_LIBEXT "a"
  11868. | #define LT_LIBPREFIX "lib"
  11869. | #define HAVE_STDINT_H 1
  11870. | #define HAVE_UNISTD_H 1
  11871. | #define HAVE_DLFCN_H 1
  11872. | #define HAVE_INTTYPES_H 1
  11873. | #define HAVE_SYS_TIMES_H 1
  11874. | #define HAVE_MEMORY_H 1
  11875. | #define HAVE_STDLIB_H 1
  11876. | #define HAVE_STRINGS_H 1
  11877. | #define HAVE_STRING_H 1
  11878. | #define HAVE_SYS_MMAN_H 1
  11879. | #define HAVE_SYS_PARAM_H 1
  11880. | #define HAVE_SYS_STAT_H 1
  11881. | #define HAVE_SYS_TYPES_H 1
  11882. | #define HAVE_MALLOC_H 1
  11883. | #define HAVE_POLL_H 1
  11884. | #define HAVE_LIMITS_H 1
  11885. | #define HAVE_SYS_UIO_H 1
  11886. | #define HAVE_TERMIOS_H 1
  11887. | #define HAVE_STDBOOL_H 1
  11888. | #define HAVE_PWD_H 1
  11889. | #define HAVE_GRP_H 1
  11890. | #define HAVE_SYS_QUEUE_H 1
  11891. | #define HAVE_SYS_CDEFS_H 1
  11892. | #define USE_SYSLOG 1
  11893. | #define HAVE_PTHREAD_H 1
  11894. | #define SCANBUFF 131072
  11895. | #define FILEBUFF 8192
  11896. | #define restrict __restrict
  11897. | #define SIZEOF_SHORT 2
  11898. | #define SIZEOF_INT 4
  11899. | #define SIZEOF_LONG 8
  11900. | #define SIZEOF_LONG_LONG 8
  11901. | #define SIZEOF_VOID_P 8
  11902. | #define HAVE_UNAME_SYSCALL 1
  11903. | #define HAVE_POLL 1
  11904. | #define HAVE_SETSID 1
  11905. | #define HAVE_MEMCPY 1
  11906. | #define HAVE_SNPRINTF 1
  11907. | #define HAVE_VSNPRINTF 1
  11908. | #define HAVE_STRERROR_R 1
  11909. | #define HAVE_STRCASESTR 1
  11910. | #define HAVE_INET_NTOP 1
  11911. | #define HAVE_SETGROUPS 1
  11912. | #define HAVE_INITGROUPS 1
  11913. | #define HAVE_CTIME_R 1
  11914. | #define HAVE_MKSTEMP 1
  11915. | #define HAVE_MALLINFO 1
  11916. | #define HAVE_MADVISE 1
  11917. | #define HAVE_GETNAMEINFO 1
  11918. | #define HAVE_STRNDUP 1
  11919. | #define HAVE_STRNLEN 1
  11920. | #define HAVE_FSEEKO 1
  11921. | #define HAVE_MMAP 1
  11922. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  11923. | #define HAVE_GETPAGESIZE 1
  11924. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  11925. | #define HAVE_TIMEGM 1
  11926. | #define USE_MPOOL 1
  11927. | /* end confdefs.h. */
  11928. | #include <stdio.h>
  11929. | #ifdef HAVE_SYS_TYPES_H
  11930. | # include <sys/types.h>
  11931. | #endif
  11932. | #ifdef HAVE_SYS_STAT_H
  11933. | # include <sys/stat.h>
  11934. | #endif
  11935. | #ifdef STDC_HEADERS
  11936. | # include <stdlib.h>
  11937. | # include <stddef.h>
  11938. | #else
  11939. | # ifdef HAVE_STDLIB_H
  11940. | # include <stdlib.h>
  11941. | # endif
  11942. | #endif
  11943. | #ifdef HAVE_STRING_H
  11944. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11945. | # include <memory.h>
  11946. | # endif
  11947. | # include <string.h>
  11948. | #endif
  11949. | #ifdef HAVE_STRINGS_H
  11950. | # include <strings.h>
  11951. | #endif
  11952. | #ifdef HAVE_INTTYPES_H
  11953. | # include <inttypes.h>
  11954. | #endif
  11955. | #ifdef HAVE_STDINT_H
  11956. | # include <stdint.h>
  11957. | #endif
  11958. | #ifdef HAVE_UNISTD_H
  11959. | # include <unistd.h>
  11960. | #endif
  11961. | #include <check.h>
  11962. configure:21860: result: no
  11963. configure:21860: checking check.h presence
  11964. configure:21860: gcc -E conftest.c
  11965. conftest.c:116:10: fatal error: check.h: No such file or directory
  11966. #include <check.h>
  11967. ^~~~~~~~~
  11968. compilation terminated.
  11969. configure:21860: $? = 1
  11970. configure: failed program was:
  11971. | /* confdefs.h */
  11972. | #define PACKAGE_NAME "ClamAV"
  11973. | #define PACKAGE_TARNAME "clamav"
  11974. | #define PACKAGE_VERSION "0.102.0"
  11975. | #define PACKAGE_STRING "ClamAV 0.102.0"
  11976. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  11977. | #define PACKAGE_URL "https://www.clamav.net/"
  11978. | #define PACKAGE PACKAGE_NAME
  11979. | #define STDC_HEADERS 1
  11980. | #define HAVE_SYS_TYPES_H 1
  11981. | #define HAVE_SYS_STAT_H 1
  11982. | #define HAVE_STDLIB_H 1
  11983. | #define HAVE_STRING_H 1
  11984. | #define HAVE_MEMORY_H 1
  11985. | #define HAVE_STRINGS_H 1
  11986. | #define HAVE_INTTYPES_H 1
  11987. | #define HAVE_STDINT_H 1
  11988. | #define HAVE_UNISTD_H 1
  11989. | #define __EXTENSIONS__ 1
  11990. | #define _ALL_SOURCE 1
  11991. | #define _GNU_SOURCE 1
  11992. | #define _POSIX_PTHREAD_SEMANTICS 1
  11993. | #define _TANDEM_SOURCE 1
  11994. | #define LIBCLAMAV_FULLVER "9.0.4"
  11995. | #define LIBCLAMAV_MAJORVER 9
  11996. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  11997. | #define LIBFRESHCLAM_MAJORVER 2
  11998. | #define VERSION "0.102.0"
  11999. | #define VERSION_SUFFIX ""
  12000. | #define HAVE_DLFCN_H 1
  12001. | #define LT_OBJDIR ".libs/"
  12002. | #define LT_MODULE_EXT ".so"
  12003. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12004. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12005. | #define HAVE_LIBDL 1
  12006. | #define HAVE_DLERROR 1
  12007. | #define HAVE_LIBDLLOADER 1
  12008. | #define HAVE_ARGZ_H 1
  12009. | #define HAVE_ERROR_T 1
  12010. | #define HAVE_ARGZ_ADD 1
  12011. | #define HAVE_ARGZ_APPEND 1
  12012. | #define HAVE_ARGZ_COUNT 1
  12013. | #define HAVE_ARGZ_CREATE_SEP 1
  12014. | #define HAVE_ARGZ_INSERT 1
  12015. | #define HAVE_ARGZ_NEXT 1
  12016. | #define HAVE_ARGZ_STRINGIFY 1
  12017. | #define HAVE_WORKING_ARGZ 1
  12018. | #define HAVE_PRELOADED_SYMBOLS 1
  12019. | #define HAVE_LTDL 1
  12020. | #define HAVE_UNISTD_H 1
  12021. | #define HAVE_DIRENT_H 1
  12022. | #define HAVE_CLOSEDIR 1
  12023. | #define HAVE_OPENDIR 1
  12024. | #define HAVE_READDIR 1
  12025. | #define LT_LIBEXT "a"
  12026. | #define LT_LIBPREFIX "lib"
  12027. | #define HAVE_STDINT_H 1
  12028. | #define HAVE_UNISTD_H 1
  12029. | #define HAVE_DLFCN_H 1
  12030. | #define HAVE_INTTYPES_H 1
  12031. | #define HAVE_SYS_TIMES_H 1
  12032. | #define HAVE_MEMORY_H 1
  12033. | #define HAVE_STDLIB_H 1
  12034. | #define HAVE_STRINGS_H 1
  12035. | #define HAVE_STRING_H 1
  12036. | #define HAVE_SYS_MMAN_H 1
  12037. | #define HAVE_SYS_PARAM_H 1
  12038. | #define HAVE_SYS_STAT_H 1
  12039. | #define HAVE_SYS_TYPES_H 1
  12040. | #define HAVE_MALLOC_H 1
  12041. | #define HAVE_POLL_H 1
  12042. | #define HAVE_LIMITS_H 1
  12043. | #define HAVE_SYS_UIO_H 1
  12044. | #define HAVE_TERMIOS_H 1
  12045. | #define HAVE_STDBOOL_H 1
  12046. | #define HAVE_PWD_H 1
  12047. | #define HAVE_GRP_H 1
  12048. | #define HAVE_SYS_QUEUE_H 1
  12049. | #define HAVE_SYS_CDEFS_H 1
  12050. | #define USE_SYSLOG 1
  12051. | #define HAVE_PTHREAD_H 1
  12052. | #define SCANBUFF 131072
  12053. | #define FILEBUFF 8192
  12054. | #define restrict __restrict
  12055. | #define SIZEOF_SHORT 2
  12056. | #define SIZEOF_INT 4
  12057. | #define SIZEOF_LONG 8
  12058. | #define SIZEOF_LONG_LONG 8
  12059. | #define SIZEOF_VOID_P 8
  12060. | #define HAVE_UNAME_SYSCALL 1
  12061. | #define HAVE_POLL 1
  12062. | #define HAVE_SETSID 1
  12063. | #define HAVE_MEMCPY 1
  12064. | #define HAVE_SNPRINTF 1
  12065. | #define HAVE_VSNPRINTF 1
  12066. | #define HAVE_STRERROR_R 1
  12067. | #define HAVE_STRCASESTR 1
  12068. | #define HAVE_INET_NTOP 1
  12069. | #define HAVE_SETGROUPS 1
  12070. | #define HAVE_INITGROUPS 1
  12071. | #define HAVE_CTIME_R 1
  12072. | #define HAVE_MKSTEMP 1
  12073. | #define HAVE_MALLINFO 1
  12074. | #define HAVE_MADVISE 1
  12075. | #define HAVE_GETNAMEINFO 1
  12076. | #define HAVE_STRNDUP 1
  12077. | #define HAVE_STRNLEN 1
  12078. | #define HAVE_FSEEKO 1
  12079. | #define HAVE_MMAP 1
  12080. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  12081. | #define HAVE_GETPAGESIZE 1
  12082. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  12083. | #define HAVE_TIMEGM 1
  12084. | #define USE_MPOOL 1
  12085. | /* end confdefs.h. */
  12086. | #include <check.h>
  12087. configure:21860: result: no
  12088. configure:21860: checking for check.h
  12089. configure:21860: result: no
  12090. configure:21904: unable to compile/link with check
  12091. configure:22125: checking for libxml2 installation
  12092. configure:22160: result: /usr
  12093. configure:22175: checking for xml2-config
  12094. configure:22193: found /usr/bin/xml2-config
  12095. configure:22205: result: /usr/bin/xml2-config
  12096. configure:22252: checking for xmlreader.h in /usr/include/libxml2/libxml/xmlreader.h
  12097. configure:22259: result: found
  12098. configure:22270: checking for xmlTextReaderRead in -lxml2
  12099. configure:22295: gcc -o conftest -g -O2 -I/usr/include/libxml2 -lxml2 -lz -lm -ldl conftest.c -lxml2 -lxml2 -lz -lm -ldl >&5
  12100. configure:22295: $? = 0
  12101. configure:22304: result: yes
  12102. configure:22325: Compiling and linking with libxml2 from /usr
  12103. configure:22350: checking for OpenSSL installation
  12104. configure:22368: result: /usr
  12105. configure:22410: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lz >&5
  12106. configure:22410: $? = 0
  12107. configure:22419: checking for CRYPTO_free in -lcrypto
  12108. configure:22444: gcc -o conftest -g -O2 conftest.c -lcrypto -lcrypto -lz -lssl -lcrypto -lz >&5
  12109. configure:22444: $? = 0
  12110. configure:22453: result: yes
  12111. configure:22462: checking for X509_VERIFY_PARAM_new in -lssl
  12112. configure:22487: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lz -lssl -lcrypto -lz >&5
  12113. configure:22487: $? = 0
  12114. configure:22496: result: yes
  12115. configure:22516: checking for libjson installation
  12116. configure:22550: result: /usr
  12117. configure:22579: checking for library containing json_object_object_get_ex
  12118. configure:22610: gcc -o conftest -g -O2 conftest.c >&5
  12119. /tmp/ccjBfxie.o: In function `main':
  12120. /tmp/conftest.c:129: undefined reference to `json_object_object_get_ex'
  12121. collect2: error: ld returned 1 exit status
  12122. configure:22610: $? = 1
  12123. configure: failed program was:
  12124. | /* confdefs.h */
  12125. | #define PACKAGE_NAME "ClamAV"
  12126. | #define PACKAGE_TARNAME "clamav"
  12127. | #define PACKAGE_VERSION "0.102.0"
  12128. | #define PACKAGE_STRING "ClamAV 0.102.0"
  12129. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  12130. | #define PACKAGE_URL "https://www.clamav.net/"
  12131. | #define PACKAGE PACKAGE_NAME
  12132. | #define STDC_HEADERS 1
  12133. | #define HAVE_SYS_TYPES_H 1
  12134. | #define HAVE_SYS_STAT_H 1
  12135. | #define HAVE_STDLIB_H 1
  12136. | #define HAVE_STRING_H 1
  12137. | #define HAVE_MEMORY_H 1
  12138. | #define HAVE_STRINGS_H 1
  12139. | #define HAVE_INTTYPES_H 1
  12140. | #define HAVE_STDINT_H 1
  12141. | #define HAVE_UNISTD_H 1
  12142. | #define __EXTENSIONS__ 1
  12143. | #define _ALL_SOURCE 1
  12144. | #define _GNU_SOURCE 1
  12145. | #define _POSIX_PTHREAD_SEMANTICS 1
  12146. | #define _TANDEM_SOURCE 1
  12147. | #define LIBCLAMAV_FULLVER "9.0.4"
  12148. | #define LIBCLAMAV_MAJORVER 9
  12149. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  12150. | #define LIBFRESHCLAM_MAJORVER 2
  12151. | #define VERSION "0.102.0"
  12152. | #define VERSION_SUFFIX ""
  12153. | #define HAVE_DLFCN_H 1
  12154. | #define LT_OBJDIR ".libs/"
  12155. | #define LT_MODULE_EXT ".so"
  12156. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12157. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12158. | #define HAVE_LIBDL 1
  12159. | #define HAVE_DLERROR 1
  12160. | #define HAVE_LIBDLLOADER 1
  12161. | #define HAVE_ARGZ_H 1
  12162. | #define HAVE_ERROR_T 1
  12163. | #define HAVE_ARGZ_ADD 1
  12164. | #define HAVE_ARGZ_APPEND 1
  12165. | #define HAVE_ARGZ_COUNT 1
  12166. | #define HAVE_ARGZ_CREATE_SEP 1
  12167. | #define HAVE_ARGZ_INSERT 1
  12168. | #define HAVE_ARGZ_NEXT 1
  12169. | #define HAVE_ARGZ_STRINGIFY 1
  12170. | #define HAVE_WORKING_ARGZ 1
  12171. | #define HAVE_PRELOADED_SYMBOLS 1
  12172. | #define HAVE_LTDL 1
  12173. | #define HAVE_UNISTD_H 1
  12174. | #define HAVE_DIRENT_H 1
  12175. | #define HAVE_CLOSEDIR 1
  12176. | #define HAVE_OPENDIR 1
  12177. | #define HAVE_READDIR 1
  12178. | #define LT_LIBEXT "a"
  12179. | #define LT_LIBPREFIX "lib"
  12180. | #define HAVE_STDINT_H 1
  12181. | #define HAVE_UNISTD_H 1
  12182. | #define HAVE_DLFCN_H 1
  12183. | #define HAVE_INTTYPES_H 1
  12184. | #define HAVE_SYS_TIMES_H 1
  12185. | #define HAVE_MEMORY_H 1
  12186. | #define HAVE_STDLIB_H 1
  12187. | #define HAVE_STRINGS_H 1
  12188. | #define HAVE_STRING_H 1
  12189. | #define HAVE_SYS_MMAN_H 1
  12190. | #define HAVE_SYS_PARAM_H 1
  12191. | #define HAVE_SYS_STAT_H 1
  12192. | #define HAVE_SYS_TYPES_H 1
  12193. | #define HAVE_MALLOC_H 1
  12194. | #define HAVE_POLL_H 1
  12195. | #define HAVE_LIMITS_H 1
  12196. | #define HAVE_SYS_UIO_H 1
  12197. | #define HAVE_TERMIOS_H 1
  12198. | #define HAVE_STDBOOL_H 1
  12199. | #define HAVE_PWD_H 1
  12200. | #define HAVE_GRP_H 1
  12201. | #define HAVE_SYS_QUEUE_H 1
  12202. | #define HAVE_SYS_CDEFS_H 1
  12203. | #define USE_SYSLOG 1
  12204. | #define HAVE_PTHREAD_H 1
  12205. | #define SCANBUFF 131072
  12206. | #define FILEBUFF 8192
  12207. | #define restrict __restrict
  12208. | #define SIZEOF_SHORT 2
  12209. | #define SIZEOF_INT 4
  12210. | #define SIZEOF_LONG 8
  12211. | #define SIZEOF_LONG_LONG 8
  12212. | #define SIZEOF_VOID_P 8
  12213. | #define HAVE_UNAME_SYSCALL 1
  12214. | #define HAVE_POLL 1
  12215. | #define HAVE_SETSID 1
  12216. | #define HAVE_MEMCPY 1
  12217. | #define HAVE_SNPRINTF 1
  12218. | #define HAVE_VSNPRINTF 1
  12219. | #define HAVE_STRERROR_R 1
  12220. | #define HAVE_STRCASESTR 1
  12221. | #define HAVE_INET_NTOP 1
  12222. | #define HAVE_SETGROUPS 1
  12223. | #define HAVE_INITGROUPS 1
  12224. | #define HAVE_CTIME_R 1
  12225. | #define HAVE_MKSTEMP 1
  12226. | #define HAVE_MALLINFO 1
  12227. | #define HAVE_MADVISE 1
  12228. | #define HAVE_GETNAMEINFO 1
  12229. | #define HAVE_STRNDUP 1
  12230. | #define HAVE_STRNLEN 1
  12231. | #define HAVE_FSEEKO 1
  12232. | #define HAVE_MMAP 1
  12233. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  12234. | #define HAVE_GETPAGESIZE 1
  12235. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  12236. | #define HAVE_TIMEGM 1
  12237. | #define USE_MPOOL 1
  12238. | #define HAVE_LIBXML2 1
  12239. | #define HAVE_LIBSSL 1
  12240. | /* end confdefs.h. */
  12241. |
  12242. | /* Override any GCC internal prototype to avoid an error.
  12243. | Use char because int might match the return type of a GCC
  12244. | builtin and then its argument prototype would still apply. */
  12245. | #ifdef __cplusplus
  12246. | extern "C"
  12247. | #endif
  12248. | char json_object_object_get_ex ();
  12249. | int
  12250. | main ()
  12251. | {
  12252. | return json_object_object_get_ex ();
  12253. | ;
  12254. | return 0;
  12255. | }
  12256. configure:22610: gcc -o conftest -g -O2 conftest.c -ljson-c >&5
  12257. configure:22610: $? = 0
  12258. configure:22627: result: -ljson-c
  12259. configure:22736: checking for pcre2-config
  12260. configure:22754: found /usr/bin/pcre2-config
  12261. configure:22766: result: /usr/bin/pcre2-config
  12262. configure:22923: checking pcre-config version
  12263. configure:22931: result: 10.23
  12264. configure:22952: checking for CVE-2017-7186
  12265. configure:22956: WARNING: The installed pcre2 version may contain security bugs. Please upgrade to 10.30 or later: http://www.pcre.org.
  12266. configure:22981: CFLAGS from pcre-config:
  12267. configure:22983: LIBS from pcre-config: -lpcre2-8
  12268. configure:23076: Compiling and linking with pcre2 from /usr
  12269. configure:23191: checking whether to enable maintainer-specific portions of Makefiles
  12270. configure:23200: result: no
  12271. configure:23230: checking for ZLIB
  12272. configure:23237: $PKG_CONFIG --exists --print-errors "zlib"
  12273. configure:23240: $? = 0
  12274. configure:23254: $PKG_CONFIG --exists --print-errors "zlib"
  12275. configure:23257: $? = 0
  12276. configure:23295: result: yes
  12277. configure:23528: checking how to link with libbz2
  12278. configure:23988: result: -lbz2
  12279. configure:24029: checking for BZ2_bzDecompressInit in -lbz2
  12280. configure:24054: gcc -o conftest -g -O2 conftest.c -lbz2 >&5
  12281. configure:24054: $? = 0
  12282. configure:24063: result: yes
  12283. configure:24076: checking bzlib.h usability
  12284. configure:24076: gcc -c -g -O2 conftest.c >&5
  12285. configure:24076: $? = 0
  12286. configure:24076: result: yes
  12287. configure:24076: checking bzlib.h presence
  12288. configure:24076: gcc -E conftest.c
  12289. configure:24076: $? = 0
  12290. configure:24076: result: yes
  12291. configure:24076: checking for bzlib.h
  12292. configure:24076: result: yes
  12293. configure:24078: checking for CVE-2008-1372
  12294. configure:24152: gcc -o conftest -g -O2 conftest.c -lbz2 >&5
  12295. configure:24152: $? = 0
  12296. configure:24152: ./conftest
  12297. configure:24152: $? = 0
  12298. configure:24170: result: ok
  12299. configure:24209: checking for CVE-2010-0405
  12300. configure:24286: gcc -o conftest -g -O2 conftest.c -lbz2 >&5
  12301. configure:24286: $? = 0
  12302. configure:24286: ./conftest
  12303. configure:24286: $? = 0
  12304. configure:24304: result: ok
  12305. configure:24382: checking for getaddrinfo
  12306. configure:24411: gcc -o conftest -g -O2 conftest.c >&5
  12307. configure:24411: $? = 0
  12308. configure:24411: ./conftest
  12309. configure:24411: $? = 0
  12310. configure:24423: result: yes
  12311. configure:24435: checking for SYSTEMD
  12312. configure:24442: $PKG_CONFIG --exists --print-errors "libsystemd"
  12313. configure:24445: $? = 0
  12314. configure:24459: $PKG_CONFIG --exists --print-errors "libsystemd"
  12315. configure:24462: $? = 0
  12316. configure:24648: result: yes
  12317. configure:24689: result: checking for systemd system unit installation directory... /usr/lib/systemd/system
  12318. configure:25348: checking ncurses/ncurses.h usability
  12319. configure:25348: gcc -c -g -O2 conftest.c >&5
  12320. configure:25348: $? = 0
  12321. configure:25348: result: yes
  12322. configure:25348: checking ncurses/ncurses.h presence
  12323. configure:25348: gcc -E conftest.c
  12324. configure:25348: $? = 0
  12325. configure:25348: result: yes
  12326. configure:25348: checking for ncurses/ncurses.h
  12327. configure:25348: result: yes
  12328. configure:25362: checking linking with ncurses
  12329. configure:25375: gcc -o conftest -g -O2 conftest.c -lncurses >&5
  12330. configure:25375: $? = 0
  12331. configure:25380: result: ok
  12332. configure:25399: Compiling and linking with ncurses by using -lncurses
  12333. configure:26518: checking for llvm-config
  12334. configure:26551: result: no
  12335. configure:26936: checking for ctime_r
  12336. configure:26956: gcc -c -g -O2 conftest.c >&5
  12337. conftest.c: In function 'main':
  12338. conftest.c:137:2: error: too many arguments to function 'ctime_r'
  12339. ctime_r(&t, buf, 30);
  12340. ^~~~~~~
  12341. In file included from conftest.c:129:0:
  12342. /usr/include/time.h:153:14: note: declared here
  12343. extern char *ctime_r (const time_t *__restrict __timer,
  12344. ^~~~~~~
  12345. configure:26956: $? = 1
  12346. configure: failed program was:
  12347. | /* confdefs.h */
  12348. | #define PACKAGE_NAME "ClamAV"
  12349. | #define PACKAGE_TARNAME "clamav"
  12350. | #define PACKAGE_VERSION "0.102.0"
  12351. | #define PACKAGE_STRING "ClamAV 0.102.0"
  12352. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  12353. | #define PACKAGE_URL "https://www.clamav.net/"
  12354. | #define PACKAGE PACKAGE_NAME
  12355. | #define STDC_HEADERS 1
  12356. | #define HAVE_SYS_TYPES_H 1
  12357. | #define HAVE_SYS_STAT_H 1
  12358. | #define HAVE_STDLIB_H 1
  12359. | #define HAVE_STRING_H 1
  12360. | #define HAVE_MEMORY_H 1
  12361. | #define HAVE_STRINGS_H 1
  12362. | #define HAVE_INTTYPES_H 1
  12363. | #define HAVE_STDINT_H 1
  12364. | #define HAVE_UNISTD_H 1
  12365. | #define __EXTENSIONS__ 1
  12366. | #define _ALL_SOURCE 1
  12367. | #define _GNU_SOURCE 1
  12368. | #define _POSIX_PTHREAD_SEMANTICS 1
  12369. | #define _TANDEM_SOURCE 1
  12370. | #define LIBCLAMAV_FULLVER "9.0.4"
  12371. | #define LIBCLAMAV_MAJORVER 9
  12372. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  12373. | #define LIBFRESHCLAM_MAJORVER 2
  12374. | #define VERSION "0.102.0"
  12375. | #define VERSION_SUFFIX ""
  12376. | #define HAVE_DLFCN_H 1
  12377. | #define LT_OBJDIR ".libs/"
  12378. | #define LT_MODULE_EXT ".so"
  12379. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12380. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12381. | #define HAVE_LIBDL 1
  12382. | #define HAVE_DLERROR 1
  12383. | #define HAVE_LIBDLLOADER 1
  12384. | #define HAVE_ARGZ_H 1
  12385. | #define HAVE_ERROR_T 1
  12386. | #define HAVE_ARGZ_ADD 1
  12387. | #define HAVE_ARGZ_APPEND 1
  12388. | #define HAVE_ARGZ_COUNT 1
  12389. | #define HAVE_ARGZ_CREATE_SEP 1
  12390. | #define HAVE_ARGZ_INSERT 1
  12391. | #define HAVE_ARGZ_NEXT 1
  12392. | #define HAVE_ARGZ_STRINGIFY 1
  12393. | #define HAVE_WORKING_ARGZ 1
  12394. | #define HAVE_PRELOADED_SYMBOLS 1
  12395. | #define HAVE_LTDL 1
  12396. | #define HAVE_UNISTD_H 1
  12397. | #define HAVE_DIRENT_H 1
  12398. | #define HAVE_CLOSEDIR 1
  12399. | #define HAVE_OPENDIR 1
  12400. | #define HAVE_READDIR 1
  12401. | #define LT_LIBEXT "a"
  12402. | #define LT_LIBPREFIX "lib"
  12403. | #define HAVE_STDINT_H 1
  12404. | #define HAVE_UNISTD_H 1
  12405. | #define HAVE_DLFCN_H 1
  12406. | #define HAVE_INTTYPES_H 1
  12407. | #define HAVE_SYS_TIMES_H 1
  12408. | #define HAVE_MEMORY_H 1
  12409. | #define HAVE_STDLIB_H 1
  12410. | #define HAVE_STRINGS_H 1
  12411. | #define HAVE_STRING_H 1
  12412. | #define HAVE_SYS_MMAN_H 1
  12413. | #define HAVE_SYS_PARAM_H 1
  12414. | #define HAVE_SYS_STAT_H 1
  12415. | #define HAVE_SYS_TYPES_H 1
  12416. | #define HAVE_MALLOC_H 1
  12417. | #define HAVE_POLL_H 1
  12418. | #define HAVE_LIMITS_H 1
  12419. | #define HAVE_SYS_UIO_H 1
  12420. | #define HAVE_TERMIOS_H 1
  12421. | #define HAVE_STDBOOL_H 1
  12422. | #define HAVE_PWD_H 1
  12423. | #define HAVE_GRP_H 1
  12424. | #define HAVE_SYS_QUEUE_H 1
  12425. | #define HAVE_SYS_CDEFS_H 1
  12426. | #define USE_SYSLOG 1
  12427. | #define HAVE_PTHREAD_H 1
  12428. | #define SCANBUFF 131072
  12429. | #define FILEBUFF 8192
  12430. | #define restrict __restrict
  12431. | #define SIZEOF_SHORT 2
  12432. | #define SIZEOF_INT 4
  12433. | #define SIZEOF_LONG 8
  12434. | #define SIZEOF_LONG_LONG 8
  12435. | #define SIZEOF_VOID_P 8
  12436. | #define HAVE_UNAME_SYSCALL 1
  12437. | #define HAVE_POLL 1
  12438. | #define HAVE_SETSID 1
  12439. | #define HAVE_MEMCPY 1
  12440. | #define HAVE_SNPRINTF 1
  12441. | #define HAVE_VSNPRINTF 1
  12442. | #define HAVE_STRERROR_R 1
  12443. | #define HAVE_STRCASESTR 1
  12444. | #define HAVE_INET_NTOP 1
  12445. | #define HAVE_SETGROUPS 1
  12446. | #define HAVE_INITGROUPS 1
  12447. | #define HAVE_CTIME_R 1
  12448. | #define HAVE_MKSTEMP 1
  12449. | #define HAVE_MALLINFO 1
  12450. | #define HAVE_MADVISE 1
  12451. | #define HAVE_GETNAMEINFO 1
  12452. | #define HAVE_STRNDUP 1
  12453. | #define HAVE_STRNLEN 1
  12454. | #define HAVE_FSEEKO 1
  12455. | #define HAVE_MMAP 1
  12456. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  12457. | #define HAVE_GETPAGESIZE 1
  12458. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  12459. | #define HAVE_TIMEGM 1
  12460. | #define USE_MPOOL 1
  12461. | #define HAVE_LIBXML2 1
  12462. | #define HAVE_LIBSSL 1
  12463. | #define HAVE_JSON 1
  12464. | #define HAVE_PCRE 1
  12465. | #define USING_PCRE2 1
  12466. | #define HAVE_BZLIB_H 1
  12467. | #define HAVE_GETADDRINFO 1
  12468. | #define HAVE_SYSTEMD /**/
  12469. | #define HAVE_LIBNCURSES 1
  12470. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  12471. | #define HAVE_YARA 1
  12472. | #define C_LINUX 1
  12473. | /* end confdefs.h. */
  12474. |
  12475. | #include <time.h>
  12476. |
  12477. | int
  12478. | main ()
  12479. | {
  12480. |
  12481. | char buf[31];
  12482. | time_t t;
  12483. | ctime_r(&t, buf, 30);
  12484. |
  12485. | ;
  12486. | return 0;
  12487. | }
  12488. configure:26973: result: yes, and it takes 2 arguments
  12489. configure:26981: checking for recvmsg
  12490. configure:26981: gcc -o conftest -g -O2 conftest.c >&5
  12491. configure:26981: $? = 0
  12492. configure:26981: result: yes
  12493. configure:26981: checking for sendmsg
  12494. configure:26981: gcc -o conftest -g -O2 conftest.c >&5
  12495. configure:26981: $? = 0
  12496. configure:26981: result: yes
  12497. configure:26990: checking for msg_control field in struct msghdr
  12498. configure:27023: gcc -c -g -O2 conftest.c >&5
  12499. configure:27023: $? = 0
  12500. configure:27031: result: yes
  12501. configure:27034: checking BSD 4.4 / RFC2292 style fd passing
  12502. configure:27203: gcc -o conftest -g -O2 conftest.c >&5
  12503. configure:27203: $? = 0
  12504. configure:27203: ./conftest
  12505. configure:27203: $? = 0
  12506. configure:27394: result: yes
  12507. configure:27430: checking for pthread.h
  12508. configure:27430: result: yes
  12509. configure:27449: checking whether in_port_t is defined
  12510. configure:27465: gcc -c -g -O2 conftest.c >&5
  12511. configure:27465: $? = 0
  12512. configure:27467: result: yes
  12513. configure:27479: checking for in_addr_t definition
  12514. configure:27495: gcc -c -g -O2 conftest.c >&5
  12515. configure:27495: $? = 0
  12516. configure:27497: result: yes
  12517. configure:27516: checking for sched_yield
  12518. configure:27516: gcc -o conftest -g -O2 conftest.c -lpthread >&5
  12519. configure:27516: $? = 0
  12520. configure:27516: result: yes
  12521. configure:27516: checking for pthread_yield
  12522. configure:27516: gcc -o conftest -g -O2 conftest.c -lpthread >&5
  12523. configure:27516: $? = 0
  12524. configure:27516: result: yes
  12525. configure:27537: checking for socklen_t
  12526. configure:27561: gcc -c -g -O2 conftest.c >&5
  12527. configure:27561: $? = 0
  12528. configure:27570: result: yes
  12529. configure:27618: checking for structure packing via __attribute__((packed))
  12530. configure:27639: gcc -c -g -O2 conftest.c >&5
  12531. configure:27639: $? = 0
  12532. configure:27648: result: yes
  12533. configure:27732: checking for type aligning via __attribute__((aligned))
  12534. configure:27749: gcc -c -g -O2 conftest.c >&5
  12535. configure:27749: $? = 0
  12536. configure:27758: result: yes
  12537. configure:27777: checking that structure packing works
  12538. configure:27834: gcc -o conftest -g -O2 conftest.c >&5
  12539. conftest.c:152:8: warning: 'packed' attribute ignored for field of type 'char' [-Wattributes]
  12540. struct { char c __attribute__((packed)); long l __attribute__((packed)); } s;
  12541. ^
  12542. configure:27834: $? = 0
  12543. configure:27834: ./conftest
  12544. configure:27834: $? = 0
  12545. configure:27846: result: yes
  12546. configure:27853: checking for fd_set
  12547. configure:27870: result: yes, found in sys/select.h
  12548. configure:27906: checking default FD_SETSIZE value
  12549. configure:27939: gcc -o conftest -g -O2 conftest.c >&5
  12550. configure:27939: $? = 0
  12551. configure:27939: ./conftest
  12552. configure:27939: $? = 0
  12553. configure:27948: result: 1024
  12554. configure:27956: checking stat64
  12555. configure:27982: gcc -o conftest -g -O2 conftest.c >&5
  12556. configure:27982: $? = 0
  12557. configure:27982: ./conftest
  12558. configure:27982: $? = 0
  12559. configure:27998: result: yes
  12560. configure:28001: checking whether signed right shift is sign extended
  12561. configure:28010: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12562. configure:28010: $? = 0
  12563. configure:28010: ./conftest
  12564. configure:28010: $? = 0
  12565. configure:28024: result: yes
  12566. configure:28027: checking LFS safe fts implementation
  12567. configure:28041: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12568. configure:28041: $? = 0
  12569. configure:28047: result: yes
  12570. configure:28576: checking for iconv
  12571. configure:28600: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12572. configure:28600: $? = 0
  12573. configure:28634: result: yes
  12574. configure:28637: checking for working iconv
  12575. configure:28778: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12576. configure:28778: $? = 0
  12577. configure:28778: ./conftest
  12578. configure:28778: $? = 0
  12579. configure:28790: result: yes
  12580. configure:28818: checking for iconv declaration
  12581. configure:28847: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12582. configure:28847: $? = 0
  12583. configure:28858: result:
  12584. extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  12585. configure:28873: checking for iconv.h
  12586. configure:28873: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12587. configure:28873: $? = 0
  12588. configure:28873: result: yes
  12589. configure:28887: checking localcharset.h usability
  12590. configure:28887: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12591. conftest.c:182:10: fatal error: localcharset.h: No such file or directory
  12592. #include <localcharset.h>
  12593. ^~~~~~~~~~~~~~~~
  12594. compilation terminated.
  12595. configure:28887: $? = 1
  12596. configure: failed program was:
  12597. | /* confdefs.h */
  12598. | #define PACKAGE_NAME "ClamAV"
  12599. | #define PACKAGE_TARNAME "clamav"
  12600. | #define PACKAGE_VERSION "0.102.0"
  12601. | #define PACKAGE_STRING "ClamAV 0.102.0"
  12602. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  12603. | #define PACKAGE_URL "https://www.clamav.net/"
  12604. | #define PACKAGE PACKAGE_NAME
  12605. | #define STDC_HEADERS 1
  12606. | #define HAVE_SYS_TYPES_H 1
  12607. | #define HAVE_SYS_STAT_H 1
  12608. | #define HAVE_STDLIB_H 1
  12609. | #define HAVE_STRING_H 1
  12610. | #define HAVE_MEMORY_H 1
  12611. | #define HAVE_STRINGS_H 1
  12612. | #define HAVE_INTTYPES_H 1
  12613. | #define HAVE_STDINT_H 1
  12614. | #define HAVE_UNISTD_H 1
  12615. | #define __EXTENSIONS__ 1
  12616. | #define _ALL_SOURCE 1
  12617. | #define _GNU_SOURCE 1
  12618. | #define _POSIX_PTHREAD_SEMANTICS 1
  12619. | #define _TANDEM_SOURCE 1
  12620. | #define LIBCLAMAV_FULLVER "9.0.4"
  12621. | #define LIBCLAMAV_MAJORVER 9
  12622. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  12623. | #define LIBFRESHCLAM_MAJORVER 2
  12624. | #define VERSION "0.102.0"
  12625. | #define VERSION_SUFFIX ""
  12626. | #define HAVE_DLFCN_H 1
  12627. | #define LT_OBJDIR ".libs/"
  12628. | #define LT_MODULE_EXT ".so"
  12629. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12630. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12631. | #define HAVE_LIBDL 1
  12632. | #define HAVE_DLERROR 1
  12633. | #define HAVE_LIBDLLOADER 1
  12634. | #define HAVE_ARGZ_H 1
  12635. | #define HAVE_ERROR_T 1
  12636. | #define HAVE_ARGZ_ADD 1
  12637. | #define HAVE_ARGZ_APPEND 1
  12638. | #define HAVE_ARGZ_COUNT 1
  12639. | #define HAVE_ARGZ_CREATE_SEP 1
  12640. | #define HAVE_ARGZ_INSERT 1
  12641. | #define HAVE_ARGZ_NEXT 1
  12642. | #define HAVE_ARGZ_STRINGIFY 1
  12643. | #define HAVE_WORKING_ARGZ 1
  12644. | #define HAVE_PRELOADED_SYMBOLS 1
  12645. | #define HAVE_LTDL 1
  12646. | #define HAVE_UNISTD_H 1
  12647. | #define HAVE_DIRENT_H 1
  12648. | #define HAVE_CLOSEDIR 1
  12649. | #define HAVE_OPENDIR 1
  12650. | #define HAVE_READDIR 1
  12651. | #define LT_LIBEXT "a"
  12652. | #define LT_LIBPREFIX "lib"
  12653. | #define HAVE_STDINT_H 1
  12654. | #define HAVE_UNISTD_H 1
  12655. | #define HAVE_DLFCN_H 1
  12656. | #define HAVE_INTTYPES_H 1
  12657. | #define HAVE_SYS_TIMES_H 1
  12658. | #define HAVE_MEMORY_H 1
  12659. | #define HAVE_STDLIB_H 1
  12660. | #define HAVE_STRINGS_H 1
  12661. | #define HAVE_STRING_H 1
  12662. | #define HAVE_SYS_MMAN_H 1
  12663. | #define HAVE_SYS_PARAM_H 1
  12664. | #define HAVE_SYS_STAT_H 1
  12665. | #define HAVE_SYS_TYPES_H 1
  12666. | #define HAVE_MALLOC_H 1
  12667. | #define HAVE_POLL_H 1
  12668. | #define HAVE_LIMITS_H 1
  12669. | #define HAVE_SYS_UIO_H 1
  12670. | #define HAVE_TERMIOS_H 1
  12671. | #define HAVE_STDBOOL_H 1
  12672. | #define HAVE_PWD_H 1
  12673. | #define HAVE_GRP_H 1
  12674. | #define HAVE_SYS_QUEUE_H 1
  12675. | #define HAVE_SYS_CDEFS_H 1
  12676. | #define USE_SYSLOG 1
  12677. | #define HAVE_PTHREAD_H 1
  12678. | #define SCANBUFF 131072
  12679. | #define FILEBUFF 8192
  12680. | #define restrict __restrict
  12681. | #define SIZEOF_SHORT 2
  12682. | #define SIZEOF_INT 4
  12683. | #define SIZEOF_LONG 8
  12684. | #define SIZEOF_LONG_LONG 8
  12685. | #define SIZEOF_VOID_P 8
  12686. | #define HAVE_UNAME_SYSCALL 1
  12687. | #define HAVE_POLL 1
  12688. | #define HAVE_SETSID 1
  12689. | #define HAVE_MEMCPY 1
  12690. | #define HAVE_SNPRINTF 1
  12691. | #define HAVE_VSNPRINTF 1
  12692. | #define HAVE_STRERROR_R 1
  12693. | #define HAVE_STRCASESTR 1
  12694. | #define HAVE_INET_NTOP 1
  12695. | #define HAVE_SETGROUPS 1
  12696. | #define HAVE_INITGROUPS 1
  12697. | #define HAVE_CTIME_R 1
  12698. | #define HAVE_MKSTEMP 1
  12699. | #define HAVE_MALLINFO 1
  12700. | #define HAVE_MADVISE 1
  12701. | #define HAVE_GETNAMEINFO 1
  12702. | #define HAVE_STRNDUP 1
  12703. | #define HAVE_STRNLEN 1
  12704. | #define HAVE_FSEEKO 1
  12705. | #define HAVE_MMAP 1
  12706. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  12707. | #define HAVE_GETPAGESIZE 1
  12708. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  12709. | #define HAVE_TIMEGM 1
  12710. | #define USE_MPOOL 1
  12711. | #define HAVE_LIBXML2 1
  12712. | #define HAVE_LIBSSL 1
  12713. | #define HAVE_JSON 1
  12714. | #define HAVE_PCRE 1
  12715. | #define USING_PCRE2 1
  12716. | #define HAVE_BZLIB_H 1
  12717. | #define HAVE_GETADDRINFO 1
  12718. | #define HAVE_SYSTEMD /**/
  12719. | #define HAVE_LIBNCURSES 1
  12720. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  12721. | #define HAVE_YARA 1
  12722. | #define C_LINUX 1
  12723. | #define HAVE_CTIME_R_2 1
  12724. | #define HAVE_RECVMSG 1
  12725. | #define HAVE_SENDMSG 1
  12726. | #define HAVE_FD_PASSING 1
  12727. | #define HAVE_IN_PORT_T 1
  12728. | #define HAVE_IN_ADDR_T 1
  12729. | #define HAVE_SCHED_YIELD 1
  12730. | #define HAVE_PTHREAD_YIELD 1
  12731. | #define BUILD_CLAMD 1
  12732. | #define CL_THREAD_SAFE 1
  12733. | #define _REENTRANT 1
  12734. | #define HAVE_ATTRIB_PACKED 1
  12735. | #define HAVE_ATTRIB_ALIGNED 1
  12736. | #define HAVE_SYS_SELECT_H 1
  12737. | #define DEFAULT_FD_SETSIZE 1024
  12738. | #define HAVE_STAT64 1
  12739. | #define HAVE_SAR 1
  12740. | #define HAVE_SYSTEM_LFS_FTS 1
  12741. | #define HAVE_ICONV 1
  12742. | #define ICONV_CONST
  12743. | #define HAVE_ICONV_H 1
  12744. | /* end confdefs.h. */
  12745. | #include <stdio.h>
  12746. | #ifdef HAVE_SYS_TYPES_H
  12747. | # include <sys/types.h>
  12748. | #endif
  12749. | #ifdef HAVE_SYS_STAT_H
  12750. | # include <sys/stat.h>
  12751. | #endif
  12752. | #ifdef STDC_HEADERS
  12753. | # include <stdlib.h>
  12754. | # include <stddef.h>
  12755. | #else
  12756. | # ifdef HAVE_STDLIB_H
  12757. | # include <stdlib.h>
  12758. | # endif
  12759. | #endif
  12760. | #ifdef HAVE_STRING_H
  12761. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12762. | # include <memory.h>
  12763. | # endif
  12764. | # include <string.h>
  12765. | #endif
  12766. | #ifdef HAVE_STRINGS_H
  12767. | # include <strings.h>
  12768. | #endif
  12769. | #ifdef HAVE_INTTYPES_H
  12770. | # include <inttypes.h>
  12771. | #endif
  12772. | #ifdef HAVE_STDINT_H
  12773. | # include <stdint.h>
  12774. | #endif
  12775. | #ifdef HAVE_UNISTD_H
  12776. | # include <unistd.h>
  12777. | #endif
  12778. | #include <localcharset.h>
  12779. configure:28887: result: no
  12780. configure:28887: checking localcharset.h presence
  12781. configure:28887: gcc -E conftest.c
  12782. conftest.c:149:10: fatal error: localcharset.h: No such file or directory
  12783. #include <localcharset.h>
  12784. ^~~~~~~~~~~~~~~~
  12785. compilation terminated.
  12786. configure:28887: $? = 1
  12787. configure: failed program was:
  12788. | /* confdefs.h */
  12789. | #define PACKAGE_NAME "ClamAV"
  12790. | #define PACKAGE_TARNAME "clamav"
  12791. | #define PACKAGE_VERSION "0.102.0"
  12792. | #define PACKAGE_STRING "ClamAV 0.102.0"
  12793. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  12794. | #define PACKAGE_URL "https://www.clamav.net/"
  12795. | #define PACKAGE PACKAGE_NAME
  12796. | #define STDC_HEADERS 1
  12797. | #define HAVE_SYS_TYPES_H 1
  12798. | #define HAVE_SYS_STAT_H 1
  12799. | #define HAVE_STDLIB_H 1
  12800. | #define HAVE_STRING_H 1
  12801. | #define HAVE_MEMORY_H 1
  12802. | #define HAVE_STRINGS_H 1
  12803. | #define HAVE_INTTYPES_H 1
  12804. | #define HAVE_STDINT_H 1
  12805. | #define HAVE_UNISTD_H 1
  12806. | #define __EXTENSIONS__ 1
  12807. | #define _ALL_SOURCE 1
  12808. | #define _GNU_SOURCE 1
  12809. | #define _POSIX_PTHREAD_SEMANTICS 1
  12810. | #define _TANDEM_SOURCE 1
  12811. | #define LIBCLAMAV_FULLVER "9.0.4"
  12812. | #define LIBCLAMAV_MAJORVER 9
  12813. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  12814. | #define LIBFRESHCLAM_MAJORVER 2
  12815. | #define VERSION "0.102.0"
  12816. | #define VERSION_SUFFIX ""
  12817. | #define HAVE_DLFCN_H 1
  12818. | #define LT_OBJDIR ".libs/"
  12819. | #define LT_MODULE_EXT ".so"
  12820. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12821. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12822. | #define HAVE_LIBDL 1
  12823. | #define HAVE_DLERROR 1
  12824. | #define HAVE_LIBDLLOADER 1
  12825. | #define HAVE_ARGZ_H 1
  12826. | #define HAVE_ERROR_T 1
  12827. | #define HAVE_ARGZ_ADD 1
  12828. | #define HAVE_ARGZ_APPEND 1
  12829. | #define HAVE_ARGZ_COUNT 1
  12830. | #define HAVE_ARGZ_CREATE_SEP 1
  12831. | #define HAVE_ARGZ_INSERT 1
  12832. | #define HAVE_ARGZ_NEXT 1
  12833. | #define HAVE_ARGZ_STRINGIFY 1
  12834. | #define HAVE_WORKING_ARGZ 1
  12835. | #define HAVE_PRELOADED_SYMBOLS 1
  12836. | #define HAVE_LTDL 1
  12837. | #define HAVE_UNISTD_H 1
  12838. | #define HAVE_DIRENT_H 1
  12839. | #define HAVE_CLOSEDIR 1
  12840. | #define HAVE_OPENDIR 1
  12841. | #define HAVE_READDIR 1
  12842. | #define LT_LIBEXT "a"
  12843. | #define LT_LIBPREFIX "lib"
  12844. | #define HAVE_STDINT_H 1
  12845. | #define HAVE_UNISTD_H 1
  12846. | #define HAVE_DLFCN_H 1
  12847. | #define HAVE_INTTYPES_H 1
  12848. | #define HAVE_SYS_TIMES_H 1
  12849. | #define HAVE_MEMORY_H 1
  12850. | #define HAVE_STDLIB_H 1
  12851. | #define HAVE_STRINGS_H 1
  12852. | #define HAVE_STRING_H 1
  12853. | #define HAVE_SYS_MMAN_H 1
  12854. | #define HAVE_SYS_PARAM_H 1
  12855. | #define HAVE_SYS_STAT_H 1
  12856. | #define HAVE_SYS_TYPES_H 1
  12857. | #define HAVE_MALLOC_H 1
  12858. | #define HAVE_POLL_H 1
  12859. | #define HAVE_LIMITS_H 1
  12860. | #define HAVE_SYS_UIO_H 1
  12861. | #define HAVE_TERMIOS_H 1
  12862. | #define HAVE_STDBOOL_H 1
  12863. | #define HAVE_PWD_H 1
  12864. | #define HAVE_GRP_H 1
  12865. | #define HAVE_SYS_QUEUE_H 1
  12866. | #define HAVE_SYS_CDEFS_H 1
  12867. | #define USE_SYSLOG 1
  12868. | #define HAVE_PTHREAD_H 1
  12869. | #define SCANBUFF 131072
  12870. | #define FILEBUFF 8192
  12871. | #define restrict __restrict
  12872. | #define SIZEOF_SHORT 2
  12873. | #define SIZEOF_INT 4
  12874. | #define SIZEOF_LONG 8
  12875. | #define SIZEOF_LONG_LONG 8
  12876. | #define SIZEOF_VOID_P 8
  12877. | #define HAVE_UNAME_SYSCALL 1
  12878. | #define HAVE_POLL 1
  12879. | #define HAVE_SETSID 1
  12880. | #define HAVE_MEMCPY 1
  12881. | #define HAVE_SNPRINTF 1
  12882. | #define HAVE_VSNPRINTF 1
  12883. | #define HAVE_STRERROR_R 1
  12884. | #define HAVE_STRCASESTR 1
  12885. | #define HAVE_INET_NTOP 1
  12886. | #define HAVE_SETGROUPS 1
  12887. | #define HAVE_INITGROUPS 1
  12888. | #define HAVE_CTIME_R 1
  12889. | #define HAVE_MKSTEMP 1
  12890. | #define HAVE_MALLINFO 1
  12891. | #define HAVE_MADVISE 1
  12892. | #define HAVE_GETNAMEINFO 1
  12893. | #define HAVE_STRNDUP 1
  12894. | #define HAVE_STRNLEN 1
  12895. | #define HAVE_FSEEKO 1
  12896. | #define HAVE_MMAP 1
  12897. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  12898. | #define HAVE_GETPAGESIZE 1
  12899. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  12900. | #define HAVE_TIMEGM 1
  12901. | #define USE_MPOOL 1
  12902. | #define HAVE_LIBXML2 1
  12903. | #define HAVE_LIBSSL 1
  12904. | #define HAVE_JSON 1
  12905. | #define HAVE_PCRE 1
  12906. | #define USING_PCRE2 1
  12907. | #define HAVE_BZLIB_H 1
  12908. | #define HAVE_GETADDRINFO 1
  12909. | #define HAVE_SYSTEMD /**/
  12910. | #define HAVE_LIBNCURSES 1
  12911. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  12912. | #define HAVE_YARA 1
  12913. | #define C_LINUX 1
  12914. | #define HAVE_CTIME_R_2 1
  12915. | #define HAVE_RECVMSG 1
  12916. | #define HAVE_SENDMSG 1
  12917. | #define HAVE_FD_PASSING 1
  12918. | #define HAVE_IN_PORT_T 1
  12919. | #define HAVE_IN_ADDR_T 1
  12920. | #define HAVE_SCHED_YIELD 1
  12921. | #define HAVE_PTHREAD_YIELD 1
  12922. | #define BUILD_CLAMD 1
  12923. | #define CL_THREAD_SAFE 1
  12924. | #define _REENTRANT 1
  12925. | #define HAVE_ATTRIB_PACKED 1
  12926. | #define HAVE_ATTRIB_ALIGNED 1
  12927. | #define HAVE_SYS_SELECT_H 1
  12928. | #define DEFAULT_FD_SETSIZE 1024
  12929. | #define HAVE_STAT64 1
  12930. | #define HAVE_SAR 1
  12931. | #define HAVE_SYSTEM_LFS_FTS 1
  12932. | #define HAVE_ICONV 1
  12933. | #define ICONV_CONST
  12934. | #define HAVE_ICONV_H 1
  12935. | /* end confdefs.h. */
  12936. | #include <localcharset.h>
  12937. configure:28887: result: no
  12938. configure:28887: checking for localcharset.h
  12939. configure:28887: result: no
  12940. configure:28901: checking for locale_charset
  12941. configure:28901: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  12942. /tmp/ccxJ2WO0.o: In function `main':
  12943. /tmp/conftest.c:183: undefined reference to `locale_charset'
  12944. collect2: error: ld returned 1 exit status
  12945. configure:28901: $? = 1
  12946. configure: failed program was:
  12947. | /* confdefs.h */
  12948. | #define PACKAGE_NAME "ClamAV"
  12949. | #define PACKAGE_TARNAME "clamav"
  12950. | #define PACKAGE_VERSION "0.102.0"
  12951. | #define PACKAGE_STRING "ClamAV 0.102.0"
  12952. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  12953. | #define PACKAGE_URL "https://www.clamav.net/"
  12954. | #define PACKAGE PACKAGE_NAME
  12955. | #define STDC_HEADERS 1
  12956. | #define HAVE_SYS_TYPES_H 1
  12957. | #define HAVE_SYS_STAT_H 1
  12958. | #define HAVE_STDLIB_H 1
  12959. | #define HAVE_STRING_H 1
  12960. | #define HAVE_MEMORY_H 1
  12961. | #define HAVE_STRINGS_H 1
  12962. | #define HAVE_INTTYPES_H 1
  12963. | #define HAVE_STDINT_H 1
  12964. | #define HAVE_UNISTD_H 1
  12965. | #define __EXTENSIONS__ 1
  12966. | #define _ALL_SOURCE 1
  12967. | #define _GNU_SOURCE 1
  12968. | #define _POSIX_PTHREAD_SEMANTICS 1
  12969. | #define _TANDEM_SOURCE 1
  12970. | #define LIBCLAMAV_FULLVER "9.0.4"
  12971. | #define LIBCLAMAV_MAJORVER 9
  12972. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  12973. | #define LIBFRESHCLAM_MAJORVER 2
  12974. | #define VERSION "0.102.0"
  12975. | #define VERSION_SUFFIX ""
  12976. | #define HAVE_DLFCN_H 1
  12977. | #define LT_OBJDIR ".libs/"
  12978. | #define LT_MODULE_EXT ".so"
  12979. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  12980. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  12981. | #define HAVE_LIBDL 1
  12982. | #define HAVE_DLERROR 1
  12983. | #define HAVE_LIBDLLOADER 1
  12984. | #define HAVE_ARGZ_H 1
  12985. | #define HAVE_ERROR_T 1
  12986. | #define HAVE_ARGZ_ADD 1
  12987. | #define HAVE_ARGZ_APPEND 1
  12988. | #define HAVE_ARGZ_COUNT 1
  12989. | #define HAVE_ARGZ_CREATE_SEP 1
  12990. | #define HAVE_ARGZ_INSERT 1
  12991. | #define HAVE_ARGZ_NEXT 1
  12992. | #define HAVE_ARGZ_STRINGIFY 1
  12993. | #define HAVE_WORKING_ARGZ 1
  12994. | #define HAVE_PRELOADED_SYMBOLS 1
  12995. | #define HAVE_LTDL 1
  12996. | #define HAVE_UNISTD_H 1
  12997. | #define HAVE_DIRENT_H 1
  12998. | #define HAVE_CLOSEDIR 1
  12999. | #define HAVE_OPENDIR 1
  13000. | #define HAVE_READDIR 1
  13001. | #define LT_LIBEXT "a"
  13002. | #define LT_LIBPREFIX "lib"
  13003. | #define HAVE_STDINT_H 1
  13004. | #define HAVE_UNISTD_H 1
  13005. | #define HAVE_DLFCN_H 1
  13006. | #define HAVE_INTTYPES_H 1
  13007. | #define HAVE_SYS_TIMES_H 1
  13008. | #define HAVE_MEMORY_H 1
  13009. | #define HAVE_STDLIB_H 1
  13010. | #define HAVE_STRINGS_H 1
  13011. | #define HAVE_STRING_H 1
  13012. | #define HAVE_SYS_MMAN_H 1
  13013. | #define HAVE_SYS_PARAM_H 1
  13014. | #define HAVE_SYS_STAT_H 1
  13015. | #define HAVE_SYS_TYPES_H 1
  13016. | #define HAVE_MALLOC_H 1
  13017. | #define HAVE_POLL_H 1
  13018. | #define HAVE_LIMITS_H 1
  13019. | #define HAVE_SYS_UIO_H 1
  13020. | #define HAVE_TERMIOS_H 1
  13021. | #define HAVE_STDBOOL_H 1
  13022. | #define HAVE_PWD_H 1
  13023. | #define HAVE_GRP_H 1
  13024. | #define HAVE_SYS_QUEUE_H 1
  13025. | #define HAVE_SYS_CDEFS_H 1
  13026. | #define USE_SYSLOG 1
  13027. | #define HAVE_PTHREAD_H 1
  13028. | #define SCANBUFF 131072
  13029. | #define FILEBUFF 8192
  13030. | #define restrict __restrict
  13031. | #define SIZEOF_SHORT 2
  13032. | #define SIZEOF_INT 4
  13033. | #define SIZEOF_LONG 8
  13034. | #define SIZEOF_LONG_LONG 8
  13035. | #define SIZEOF_VOID_P 8
  13036. | #define HAVE_UNAME_SYSCALL 1
  13037. | #define HAVE_POLL 1
  13038. | #define HAVE_SETSID 1
  13039. | #define HAVE_MEMCPY 1
  13040. | #define HAVE_SNPRINTF 1
  13041. | #define HAVE_VSNPRINTF 1
  13042. | #define HAVE_STRERROR_R 1
  13043. | #define HAVE_STRCASESTR 1
  13044. | #define HAVE_INET_NTOP 1
  13045. | #define HAVE_SETGROUPS 1
  13046. | #define HAVE_INITGROUPS 1
  13047. | #define HAVE_CTIME_R 1
  13048. | #define HAVE_MKSTEMP 1
  13049. | #define HAVE_MALLINFO 1
  13050. | #define HAVE_MADVISE 1
  13051. | #define HAVE_GETNAMEINFO 1
  13052. | #define HAVE_STRNDUP 1
  13053. | #define HAVE_STRNLEN 1
  13054. | #define HAVE_FSEEKO 1
  13055. | #define HAVE_MMAP 1
  13056. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  13057. | #define HAVE_GETPAGESIZE 1
  13058. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  13059. | #define HAVE_TIMEGM 1
  13060. | #define USE_MPOOL 1
  13061. | #define HAVE_LIBXML2 1
  13062. | #define HAVE_LIBSSL 1
  13063. | #define HAVE_JSON 1
  13064. | #define HAVE_PCRE 1
  13065. | #define USING_PCRE2 1
  13066. | #define HAVE_BZLIB_H 1
  13067. | #define HAVE_GETADDRINFO 1
  13068. | #define HAVE_SYSTEMD /**/
  13069. | #define HAVE_LIBNCURSES 1
  13070. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  13071. | #define HAVE_YARA 1
  13072. | #define C_LINUX 1
  13073. | #define HAVE_CTIME_R_2 1
  13074. | #define HAVE_RECVMSG 1
  13075. | #define HAVE_SENDMSG 1
  13076. | #define HAVE_FD_PASSING 1
  13077. | #define HAVE_IN_PORT_T 1
  13078. | #define HAVE_IN_ADDR_T 1
  13079. | #define HAVE_SCHED_YIELD 1
  13080. | #define HAVE_PTHREAD_YIELD 1
  13081. | #define BUILD_CLAMD 1
  13082. | #define CL_THREAD_SAFE 1
  13083. | #define _REENTRANT 1
  13084. | #define HAVE_ATTRIB_PACKED 1
  13085. | #define HAVE_ATTRIB_ALIGNED 1
  13086. | #define HAVE_SYS_SELECT_H 1
  13087. | #define DEFAULT_FD_SETSIZE 1024
  13088. | #define HAVE_STAT64 1
  13089. | #define HAVE_SAR 1
  13090. | #define HAVE_SYSTEM_LFS_FTS 1
  13091. | #define HAVE_ICONV 1
  13092. | #define ICONV_CONST
  13093. | #define HAVE_ICONV_H 1
  13094. | /* end confdefs.h. */
  13095. | /* Define locale_charset to an innocuous variant, in case <limits.h> declares locale_charset.
  13096. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13097. | #define locale_charset innocuous_locale_charset
  13098. |
  13099. | /* System header to define __stub macros and hopefully few prototypes,
  13100. | which can conflict with char locale_charset (); below.
  13101. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13102. | <limits.h> exists even on freestanding compilers. */
  13103. |
  13104. | #ifdef __STDC__
  13105. | # include <limits.h>
  13106. | #else
  13107. | # include <assert.h>
  13108. | #endif
  13109. |
  13110. | #undef locale_charset
  13111. |
  13112. | /* Override any GCC internal prototype to avoid an error.
  13113. | Use char because int might match the return type of a GCC
  13114. | builtin and then its argument prototype would still apply. */
  13115. | #ifdef __cplusplus
  13116. | extern "C"
  13117. | #endif
  13118. | char locale_charset ();
  13119. | /* The GNU C library defines this for functions which it implements
  13120. | to always fail with ENOSYS. Some functions are actually named
  13121. | something starting with __ and the normal name is an alias. */
  13122. | #if defined __stub_locale_charset || defined __stub___locale_charset
  13123. | choke me
  13124. | #endif
  13125. |
  13126. | int
  13127. | main ()
  13128. | {
  13129. | return locale_charset ();
  13130. | ;
  13131. | return 0;
  13132. | }
  13133. configure:28901: result: no
  13134. configure:28913: checking for locale_charset in -lcharset
  13135. configure:28938: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcharset >&5
  13136. /usr/bin/ld: cannot find -lcharset
  13137. collect2: error: ld returned 1 exit status
  13138. configure:28938: $? = 1
  13139. configure: failed program was:
  13140. | /* confdefs.h */
  13141. | #define PACKAGE_NAME "ClamAV"
  13142. | #define PACKAGE_TARNAME "clamav"
  13143. | #define PACKAGE_VERSION "0.102.0"
  13144. | #define PACKAGE_STRING "ClamAV 0.102.0"
  13145. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  13146. | #define PACKAGE_URL "https://www.clamav.net/"
  13147. | #define PACKAGE PACKAGE_NAME
  13148. | #define STDC_HEADERS 1
  13149. | #define HAVE_SYS_TYPES_H 1
  13150. | #define HAVE_SYS_STAT_H 1
  13151. | #define HAVE_STDLIB_H 1
  13152. | #define HAVE_STRING_H 1
  13153. | #define HAVE_MEMORY_H 1
  13154. | #define HAVE_STRINGS_H 1
  13155. | #define HAVE_INTTYPES_H 1
  13156. | #define HAVE_STDINT_H 1
  13157. | #define HAVE_UNISTD_H 1
  13158. | #define __EXTENSIONS__ 1
  13159. | #define _ALL_SOURCE 1
  13160. | #define _GNU_SOURCE 1
  13161. | #define _POSIX_PTHREAD_SEMANTICS 1
  13162. | #define _TANDEM_SOURCE 1
  13163. | #define LIBCLAMAV_FULLVER "9.0.4"
  13164. | #define LIBCLAMAV_MAJORVER 9
  13165. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  13166. | #define LIBFRESHCLAM_MAJORVER 2
  13167. | #define VERSION "0.102.0"
  13168. | #define VERSION_SUFFIX ""
  13169. | #define HAVE_DLFCN_H 1
  13170. | #define LT_OBJDIR ".libs/"
  13171. | #define LT_MODULE_EXT ".so"
  13172. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  13173. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  13174. | #define HAVE_LIBDL 1
  13175. | #define HAVE_DLERROR 1
  13176. | #define HAVE_LIBDLLOADER 1
  13177. | #define HAVE_ARGZ_H 1
  13178. | #define HAVE_ERROR_T 1
  13179. | #define HAVE_ARGZ_ADD 1
  13180. | #define HAVE_ARGZ_APPEND 1
  13181. | #define HAVE_ARGZ_COUNT 1
  13182. | #define HAVE_ARGZ_CREATE_SEP 1
  13183. | #define HAVE_ARGZ_INSERT 1
  13184. | #define HAVE_ARGZ_NEXT 1
  13185. | #define HAVE_ARGZ_STRINGIFY 1
  13186. | #define HAVE_WORKING_ARGZ 1
  13187. | #define HAVE_PRELOADED_SYMBOLS 1
  13188. | #define HAVE_LTDL 1
  13189. | #define HAVE_UNISTD_H 1
  13190. | #define HAVE_DIRENT_H 1
  13191. | #define HAVE_CLOSEDIR 1
  13192. | #define HAVE_OPENDIR 1
  13193. | #define HAVE_READDIR 1
  13194. | #define LT_LIBEXT "a"
  13195. | #define LT_LIBPREFIX "lib"
  13196. | #define HAVE_STDINT_H 1
  13197. | #define HAVE_UNISTD_H 1
  13198. | #define HAVE_DLFCN_H 1
  13199. | #define HAVE_INTTYPES_H 1
  13200. | #define HAVE_SYS_TIMES_H 1
  13201. | #define HAVE_MEMORY_H 1
  13202. | #define HAVE_STDLIB_H 1
  13203. | #define HAVE_STRINGS_H 1
  13204. | #define HAVE_STRING_H 1
  13205. | #define HAVE_SYS_MMAN_H 1
  13206. | #define HAVE_SYS_PARAM_H 1
  13207. | #define HAVE_SYS_STAT_H 1
  13208. | #define HAVE_SYS_TYPES_H 1
  13209. | #define HAVE_MALLOC_H 1
  13210. | #define HAVE_POLL_H 1
  13211. | #define HAVE_LIMITS_H 1
  13212. | #define HAVE_SYS_UIO_H 1
  13213. | #define HAVE_TERMIOS_H 1
  13214. | #define HAVE_STDBOOL_H 1
  13215. | #define HAVE_PWD_H 1
  13216. | #define HAVE_GRP_H 1
  13217. | #define HAVE_SYS_QUEUE_H 1
  13218. | #define HAVE_SYS_CDEFS_H 1
  13219. | #define USE_SYSLOG 1
  13220. | #define HAVE_PTHREAD_H 1
  13221. | #define SCANBUFF 131072
  13222. | #define FILEBUFF 8192
  13223. | #define restrict __restrict
  13224. | #define SIZEOF_SHORT 2
  13225. | #define SIZEOF_INT 4
  13226. | #define SIZEOF_LONG 8
  13227. | #define SIZEOF_LONG_LONG 8
  13228. | #define SIZEOF_VOID_P 8
  13229. | #define HAVE_UNAME_SYSCALL 1
  13230. | #define HAVE_POLL 1
  13231. | #define HAVE_SETSID 1
  13232. | #define HAVE_MEMCPY 1
  13233. | #define HAVE_SNPRINTF 1
  13234. | #define HAVE_VSNPRINTF 1
  13235. | #define HAVE_STRERROR_R 1
  13236. | #define HAVE_STRCASESTR 1
  13237. | #define HAVE_INET_NTOP 1
  13238. | #define HAVE_SETGROUPS 1
  13239. | #define HAVE_INITGROUPS 1
  13240. | #define HAVE_CTIME_R 1
  13241. | #define HAVE_MKSTEMP 1
  13242. | #define HAVE_MALLINFO 1
  13243. | #define HAVE_MADVISE 1
  13244. | #define HAVE_GETNAMEINFO 1
  13245. | #define HAVE_STRNDUP 1
  13246. | #define HAVE_STRNLEN 1
  13247. | #define HAVE_FSEEKO 1
  13248. | #define HAVE_MMAP 1
  13249. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  13250. | #define HAVE_GETPAGESIZE 1
  13251. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  13252. | #define HAVE_TIMEGM 1
  13253. | #define USE_MPOOL 1
  13254. | #define HAVE_LIBXML2 1
  13255. | #define HAVE_LIBSSL 1
  13256. | #define HAVE_JSON 1
  13257. | #define HAVE_PCRE 1
  13258. | #define USING_PCRE2 1
  13259. | #define HAVE_BZLIB_H 1
  13260. | #define HAVE_GETADDRINFO 1
  13261. | #define HAVE_SYSTEMD /**/
  13262. | #define HAVE_LIBNCURSES 1
  13263. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  13264. | #define HAVE_YARA 1
  13265. | #define C_LINUX 1
  13266. | #define HAVE_CTIME_R_2 1
  13267. | #define HAVE_RECVMSG 1
  13268. | #define HAVE_SENDMSG 1
  13269. | #define HAVE_FD_PASSING 1
  13270. | #define HAVE_IN_PORT_T 1
  13271. | #define HAVE_IN_ADDR_T 1
  13272. | #define HAVE_SCHED_YIELD 1
  13273. | #define HAVE_PTHREAD_YIELD 1
  13274. | #define BUILD_CLAMD 1
  13275. | #define CL_THREAD_SAFE 1
  13276. | #define _REENTRANT 1
  13277. | #define HAVE_ATTRIB_PACKED 1
  13278. | #define HAVE_ATTRIB_ALIGNED 1
  13279. | #define HAVE_SYS_SELECT_H 1
  13280. | #define DEFAULT_FD_SETSIZE 1024
  13281. | #define HAVE_STAT64 1
  13282. | #define HAVE_SAR 1
  13283. | #define HAVE_SYSTEM_LFS_FTS 1
  13284. | #define HAVE_ICONV 1
  13285. | #define ICONV_CONST
  13286. | #define HAVE_ICONV_H 1
  13287. | /* end confdefs.h. */
  13288. |
  13289. | /* Override any GCC internal prototype to avoid an error.
  13290. | Use char because int might match the return type of a GCC
  13291. | builtin and then its argument prototype would still apply. */
  13292. | #ifdef __cplusplus
  13293. | extern "C"
  13294. | #endif
  13295. | char locale_charset ();
  13296. | int
  13297. | main ()
  13298. | {
  13299. | return locale_charset ();
  13300. | ;
  13301. | return 0;
  13302. | }
  13303. configure:28947: result: no
  13304. configure:29053: checking for IPv6 support
  13305. configure:29087: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  13306. conftest.c: In function 'main':
  13307. conftest.c:164:4: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
  13308. memset(&hints, 0, sizeof(hints));
  13309. ^~~~~~
  13310. conftest.c:164:4: warning: incompatible implicit declaration of built-in function 'memset'
  13311. conftest.c:164:4: note: include '<string.h>' or provide a declaration of 'memset'
  13312. configure:29087: $? = 0
  13313. configure:29087: ./conftest
  13314. configure:29087: $? = 0
  13315. configure:29099: result: yes
  13316. configure:29120: checking for resolv.h
  13317. configure:29120: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  13318. configure:29120: $? = 0
  13319. configure:29120: result: yes
  13320. configure:29128: checking for dn_expand in std libs
  13321. configure:29145: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  13322. /tmp/ccRPkFP4.o: In function `main':
  13323. /tmp/conftest.c:156: undefined reference to `__dn_expand'
  13324. collect2: error: ld returned 1 exit status
  13325. configure:29145: $? = 1
  13326. configure: failed program was:
  13327. | /* confdefs.h */
  13328. | #define PACKAGE_NAME "ClamAV"
  13329. | #define PACKAGE_TARNAME "clamav"
  13330. | #define PACKAGE_VERSION "0.102.0"
  13331. | #define PACKAGE_STRING "ClamAV 0.102.0"
  13332. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  13333. | #define PACKAGE_URL "https://www.clamav.net/"
  13334. | #define PACKAGE PACKAGE_NAME
  13335. | #define STDC_HEADERS 1
  13336. | #define HAVE_SYS_TYPES_H 1
  13337. | #define HAVE_SYS_STAT_H 1
  13338. | #define HAVE_STDLIB_H 1
  13339. | #define HAVE_STRING_H 1
  13340. | #define HAVE_MEMORY_H 1
  13341. | #define HAVE_STRINGS_H 1
  13342. | #define HAVE_INTTYPES_H 1
  13343. | #define HAVE_STDINT_H 1
  13344. | #define HAVE_UNISTD_H 1
  13345. | #define __EXTENSIONS__ 1
  13346. | #define _ALL_SOURCE 1
  13347. | #define _GNU_SOURCE 1
  13348. | #define _POSIX_PTHREAD_SEMANTICS 1
  13349. | #define _TANDEM_SOURCE 1
  13350. | #define LIBCLAMAV_FULLVER "9.0.4"
  13351. | #define LIBCLAMAV_MAJORVER 9
  13352. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  13353. | #define LIBFRESHCLAM_MAJORVER 2
  13354. | #define VERSION "0.102.0"
  13355. | #define VERSION_SUFFIX ""
  13356. | #define HAVE_DLFCN_H 1
  13357. | #define LT_OBJDIR ".libs/"
  13358. | #define LT_MODULE_EXT ".so"
  13359. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  13360. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  13361. | #define HAVE_LIBDL 1
  13362. | #define HAVE_DLERROR 1
  13363. | #define HAVE_LIBDLLOADER 1
  13364. | #define HAVE_ARGZ_H 1
  13365. | #define HAVE_ERROR_T 1
  13366. | #define HAVE_ARGZ_ADD 1
  13367. | #define HAVE_ARGZ_APPEND 1
  13368. | #define HAVE_ARGZ_COUNT 1
  13369. | #define HAVE_ARGZ_CREATE_SEP 1
  13370. | #define HAVE_ARGZ_INSERT 1
  13371. | #define HAVE_ARGZ_NEXT 1
  13372. | #define HAVE_ARGZ_STRINGIFY 1
  13373. | #define HAVE_WORKING_ARGZ 1
  13374. | #define HAVE_PRELOADED_SYMBOLS 1
  13375. | #define HAVE_LTDL 1
  13376. | #define HAVE_UNISTD_H 1
  13377. | #define HAVE_DIRENT_H 1
  13378. | #define HAVE_CLOSEDIR 1
  13379. | #define HAVE_OPENDIR 1
  13380. | #define HAVE_READDIR 1
  13381. | #define LT_LIBEXT "a"
  13382. | #define LT_LIBPREFIX "lib"
  13383. | #define HAVE_STDINT_H 1
  13384. | #define HAVE_UNISTD_H 1
  13385. | #define HAVE_DLFCN_H 1
  13386. | #define HAVE_INTTYPES_H 1
  13387. | #define HAVE_SYS_TIMES_H 1
  13388. | #define HAVE_MEMORY_H 1
  13389. | #define HAVE_STDLIB_H 1
  13390. | #define HAVE_STRINGS_H 1
  13391. | #define HAVE_STRING_H 1
  13392. | #define HAVE_SYS_MMAN_H 1
  13393. | #define HAVE_SYS_PARAM_H 1
  13394. | #define HAVE_SYS_STAT_H 1
  13395. | #define HAVE_SYS_TYPES_H 1
  13396. | #define HAVE_MALLOC_H 1
  13397. | #define HAVE_POLL_H 1
  13398. | #define HAVE_LIMITS_H 1
  13399. | #define HAVE_SYS_UIO_H 1
  13400. | #define HAVE_TERMIOS_H 1
  13401. | #define HAVE_STDBOOL_H 1
  13402. | #define HAVE_PWD_H 1
  13403. | #define HAVE_GRP_H 1
  13404. | #define HAVE_SYS_QUEUE_H 1
  13405. | #define HAVE_SYS_CDEFS_H 1
  13406. | #define USE_SYSLOG 1
  13407. | #define HAVE_PTHREAD_H 1
  13408. | #define SCANBUFF 131072
  13409. | #define FILEBUFF 8192
  13410. | #define restrict __restrict
  13411. | #define SIZEOF_SHORT 2
  13412. | #define SIZEOF_INT 4
  13413. | #define SIZEOF_LONG 8
  13414. | #define SIZEOF_LONG_LONG 8
  13415. | #define SIZEOF_VOID_P 8
  13416. | #define HAVE_UNAME_SYSCALL 1
  13417. | #define HAVE_POLL 1
  13418. | #define HAVE_SETSID 1
  13419. | #define HAVE_MEMCPY 1
  13420. | #define HAVE_SNPRINTF 1
  13421. | #define HAVE_VSNPRINTF 1
  13422. | #define HAVE_STRERROR_R 1
  13423. | #define HAVE_STRCASESTR 1
  13424. | #define HAVE_INET_NTOP 1
  13425. | #define HAVE_SETGROUPS 1
  13426. | #define HAVE_INITGROUPS 1
  13427. | #define HAVE_CTIME_R 1
  13428. | #define HAVE_MKSTEMP 1
  13429. | #define HAVE_MALLINFO 1
  13430. | #define HAVE_MADVISE 1
  13431. | #define HAVE_GETNAMEINFO 1
  13432. | #define HAVE_STRNDUP 1
  13433. | #define HAVE_STRNLEN 1
  13434. | #define HAVE_FSEEKO 1
  13435. | #define HAVE_MMAP 1
  13436. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  13437. | #define HAVE_GETPAGESIZE 1
  13438. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  13439. | #define HAVE_TIMEGM 1
  13440. | #define USE_MPOOL 1
  13441. | #define HAVE_LIBXML2 1
  13442. | #define HAVE_LIBSSL 1
  13443. | #define HAVE_JSON 1
  13444. | #define HAVE_PCRE 1
  13445. | #define USING_PCRE2 1
  13446. | #define HAVE_BZLIB_H 1
  13447. | #define HAVE_GETADDRINFO 1
  13448. | #define HAVE_SYSTEMD /**/
  13449. | #define HAVE_LIBNCURSES 1
  13450. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  13451. | #define HAVE_YARA 1
  13452. | #define C_LINUX 1
  13453. | #define HAVE_CTIME_R_2 1
  13454. | #define HAVE_RECVMSG 1
  13455. | #define HAVE_SENDMSG 1
  13456. | #define HAVE_FD_PASSING 1
  13457. | #define HAVE_IN_PORT_T 1
  13458. | #define HAVE_IN_ADDR_T 1
  13459. | #define HAVE_SCHED_YIELD 1
  13460. | #define HAVE_PTHREAD_YIELD 1
  13461. | #define BUILD_CLAMD 1
  13462. | #define CL_THREAD_SAFE 1
  13463. | #define _REENTRANT 1
  13464. | #define HAVE_ATTRIB_PACKED 1
  13465. | #define HAVE_ATTRIB_ALIGNED 1
  13466. | #define HAVE_SYS_SELECT_H 1
  13467. | #define DEFAULT_FD_SETSIZE 1024
  13468. | #define HAVE_STAT64 1
  13469. | #define HAVE_SAR 1
  13470. | #define HAVE_SYSTEM_LFS_FTS 1
  13471. | #define HAVE_ICONV 1
  13472. | #define ICONV_CONST
  13473. | #define HAVE_ICONV_H 1
  13474. | #define DATADIR "/usr/local/share/clamav"
  13475. | #define SUPPORT_IPv6 1
  13476. | /* end confdefs.h. */
  13477. |
  13478. | #include <sys/types.h>
  13479. | #include <netinet/in.h>
  13480. | #include <arpa/nameser.h>
  13481. | #include <resolv.h>
  13482. | int main() { return (long)dn_expand; }
  13483. |
  13484. configure:29155: result: no
  13485. configure:29160: checking for dn_expand in -lresolv
  13486. configure:29177: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lresolv >&5
  13487. configure:29177: $? = 0
  13488. configure:29187: result: yes
  13489. configure:29220: checking whether setpgrp takes no argument
  13490. configure:29242: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  13491. conftest.c: In function 'main':
  13492. conftest.c:191:10: error: too many arguments to function 'setpgrp'
  13493. return setpgrp (1,1) != -1;
  13494. ^~~~~~~
  13495. In file included from conftest.c:183:0:
  13496. /usr/include/unistd.h:663:12: note: declared here
  13497. extern int setpgrp (void) __THROW;
  13498. ^~~~~~~
  13499. configure:29242: $? = 1
  13500. configure: program exited with status 1
  13501. configure: failed program was:
  13502. | /* confdefs.h */
  13503. | #define PACKAGE_NAME "ClamAV"
  13504. | #define PACKAGE_TARNAME "clamav"
  13505. | #define PACKAGE_VERSION "0.102.0"
  13506. | #define PACKAGE_STRING "ClamAV 0.102.0"
  13507. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  13508. | #define PACKAGE_URL "https://www.clamav.net/"
  13509. | #define PACKAGE PACKAGE_NAME
  13510. | #define STDC_HEADERS 1
  13511. | #define HAVE_SYS_TYPES_H 1
  13512. | #define HAVE_SYS_STAT_H 1
  13513. | #define HAVE_STDLIB_H 1
  13514. | #define HAVE_STRING_H 1
  13515. | #define HAVE_MEMORY_H 1
  13516. | #define HAVE_STRINGS_H 1
  13517. | #define HAVE_INTTYPES_H 1
  13518. | #define HAVE_STDINT_H 1
  13519. | #define HAVE_UNISTD_H 1
  13520. | #define __EXTENSIONS__ 1
  13521. | #define _ALL_SOURCE 1
  13522. | #define _GNU_SOURCE 1
  13523. | #define _POSIX_PTHREAD_SEMANTICS 1
  13524. | #define _TANDEM_SOURCE 1
  13525. | #define LIBCLAMAV_FULLVER "9.0.4"
  13526. | #define LIBCLAMAV_MAJORVER 9
  13527. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  13528. | #define LIBFRESHCLAM_MAJORVER 2
  13529. | #define VERSION "0.102.0"
  13530. | #define VERSION_SUFFIX ""
  13531. | #define HAVE_DLFCN_H 1
  13532. | #define LT_OBJDIR ".libs/"
  13533. | #define LT_MODULE_EXT ".so"
  13534. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  13535. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  13536. | #define HAVE_LIBDL 1
  13537. | #define HAVE_DLERROR 1
  13538. | #define HAVE_LIBDLLOADER 1
  13539. | #define HAVE_ARGZ_H 1
  13540. | #define HAVE_ERROR_T 1
  13541. | #define HAVE_ARGZ_ADD 1
  13542. | #define HAVE_ARGZ_APPEND 1
  13543. | #define HAVE_ARGZ_COUNT 1
  13544. | #define HAVE_ARGZ_CREATE_SEP 1
  13545. | #define HAVE_ARGZ_INSERT 1
  13546. | #define HAVE_ARGZ_NEXT 1
  13547. | #define HAVE_ARGZ_STRINGIFY 1
  13548. | #define HAVE_WORKING_ARGZ 1
  13549. | #define HAVE_PRELOADED_SYMBOLS 1
  13550. | #define HAVE_LTDL 1
  13551. | #define HAVE_UNISTD_H 1
  13552. | #define HAVE_DIRENT_H 1
  13553. | #define HAVE_CLOSEDIR 1
  13554. | #define HAVE_OPENDIR 1
  13555. | #define HAVE_READDIR 1
  13556. | #define LT_LIBEXT "a"
  13557. | #define LT_LIBPREFIX "lib"
  13558. | #define HAVE_STDINT_H 1
  13559. | #define HAVE_UNISTD_H 1
  13560. | #define HAVE_DLFCN_H 1
  13561. | #define HAVE_INTTYPES_H 1
  13562. | #define HAVE_SYS_TIMES_H 1
  13563. | #define HAVE_MEMORY_H 1
  13564. | #define HAVE_STDLIB_H 1
  13565. | #define HAVE_STRINGS_H 1
  13566. | #define HAVE_STRING_H 1
  13567. | #define HAVE_SYS_MMAN_H 1
  13568. | #define HAVE_SYS_PARAM_H 1
  13569. | #define HAVE_SYS_STAT_H 1
  13570. | #define HAVE_SYS_TYPES_H 1
  13571. | #define HAVE_MALLOC_H 1
  13572. | #define HAVE_POLL_H 1
  13573. | #define HAVE_LIMITS_H 1
  13574. | #define HAVE_SYS_UIO_H 1
  13575. | #define HAVE_TERMIOS_H 1
  13576. | #define HAVE_STDBOOL_H 1
  13577. | #define HAVE_PWD_H 1
  13578. | #define HAVE_GRP_H 1
  13579. | #define HAVE_SYS_QUEUE_H 1
  13580. | #define HAVE_SYS_CDEFS_H 1
  13581. | #define USE_SYSLOG 1
  13582. | #define HAVE_PTHREAD_H 1
  13583. | #define SCANBUFF 131072
  13584. | #define FILEBUFF 8192
  13585. | #define restrict __restrict
  13586. | #define SIZEOF_SHORT 2
  13587. | #define SIZEOF_INT 4
  13588. | #define SIZEOF_LONG 8
  13589. | #define SIZEOF_LONG_LONG 8
  13590. | #define SIZEOF_VOID_P 8
  13591. | #define HAVE_UNAME_SYSCALL 1
  13592. | #define HAVE_POLL 1
  13593. | #define HAVE_SETSID 1
  13594. | #define HAVE_MEMCPY 1
  13595. | #define HAVE_SNPRINTF 1
  13596. | #define HAVE_VSNPRINTF 1
  13597. | #define HAVE_STRERROR_R 1
  13598. | #define HAVE_STRCASESTR 1
  13599. | #define HAVE_INET_NTOP 1
  13600. | #define HAVE_SETGROUPS 1
  13601. | #define HAVE_INITGROUPS 1
  13602. | #define HAVE_CTIME_R 1
  13603. | #define HAVE_MKSTEMP 1
  13604. | #define HAVE_MALLINFO 1
  13605. | #define HAVE_MADVISE 1
  13606. | #define HAVE_GETNAMEINFO 1
  13607. | #define HAVE_STRNDUP 1
  13608. | #define HAVE_STRNLEN 1
  13609. | #define HAVE_FSEEKO 1
  13610. | #define HAVE_MMAP 1
  13611. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  13612. | #define HAVE_GETPAGESIZE 1
  13613. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  13614. | #define HAVE_TIMEGM 1
  13615. | #define USE_MPOOL 1
  13616. | #define HAVE_LIBXML2 1
  13617. | #define HAVE_LIBSSL 1
  13618. | #define HAVE_JSON 1
  13619. | #define HAVE_PCRE 1
  13620. | #define USING_PCRE2 1
  13621. | #define HAVE_BZLIB_H 1
  13622. | #define HAVE_GETADDRINFO 1
  13623. | #define HAVE_SYSTEMD /**/
  13624. | #define HAVE_LIBNCURSES 1
  13625. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  13626. | #define HAVE_YARA 1
  13627. | #define C_LINUX 1
  13628. | #define HAVE_CTIME_R_2 1
  13629. | #define HAVE_RECVMSG 1
  13630. | #define HAVE_SENDMSG 1
  13631. | #define HAVE_FD_PASSING 1
  13632. | #define HAVE_IN_PORT_T 1
  13633. | #define HAVE_IN_ADDR_T 1
  13634. | #define HAVE_SCHED_YIELD 1
  13635. | #define HAVE_PTHREAD_YIELD 1
  13636. | #define BUILD_CLAMD 1
  13637. | #define CL_THREAD_SAFE 1
  13638. | #define _REENTRANT 1
  13639. | #define HAVE_ATTRIB_PACKED 1
  13640. | #define HAVE_ATTRIB_ALIGNED 1
  13641. | #define HAVE_SYS_SELECT_H 1
  13642. | #define DEFAULT_FD_SETSIZE 1024
  13643. | #define HAVE_STAT64 1
  13644. | #define HAVE_SAR 1
  13645. | #define HAVE_SYSTEM_LFS_FTS 1
  13646. | #define HAVE_ICONV 1
  13647. | #define ICONV_CONST
  13648. | #define HAVE_ICONV_H 1
  13649. | #define DATADIR "/usr/local/share/clamav"
  13650. | #define SUPPORT_IPv6 1
  13651. | #define HAVE_RESOLV_H 1
  13652. | /* end confdefs.h. */
  13653. | #include <stdio.h>
  13654. | #ifdef HAVE_SYS_TYPES_H
  13655. | # include <sys/types.h>
  13656. | #endif
  13657. | #ifdef HAVE_SYS_STAT_H
  13658. | # include <sys/stat.h>
  13659. | #endif
  13660. | #ifdef STDC_HEADERS
  13661. | # include <stdlib.h>
  13662. | # include <stddef.h>
  13663. | #else
  13664. | # ifdef HAVE_STDLIB_H
  13665. | # include <stdlib.h>
  13666. | # endif
  13667. | #endif
  13668. | #ifdef HAVE_STRING_H
  13669. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13670. | # include <memory.h>
  13671. | # endif
  13672. | # include <string.h>
  13673. | #endif
  13674. | #ifdef HAVE_STRINGS_H
  13675. | # include <strings.h>
  13676. | #endif
  13677. | #ifdef HAVE_INTTYPES_H
  13678. | # include <inttypes.h>
  13679. | #endif
  13680. | #ifdef HAVE_STDINT_H
  13681. | # include <stdint.h>
  13682. | #endif
  13683. | #ifdef HAVE_UNISTD_H
  13684. | # include <unistd.h>
  13685. | #endif
  13686. | int
  13687. | main ()
  13688. | {
  13689. | /* If this system has a BSD-style setpgrp which takes arguments,
  13690. | setpgrp(1, 1) will fail with ESRCH and return -1, in that case
  13691. | exit successfully. */
  13692. | return setpgrp (1,1) != -1;
  13693. | ;
  13694. | return 0;
  13695. | }
  13696. configure:29252: result: yes
  13697. configure:29879: checking for libcurl installation
  13698. configure:29913: result: /usr
  13699. configure:29936: checking for gawk
  13700. configure:29963: result: gawk
  13701. configure:29978: checking for curl-config
  13702. configure:29996: found /usr/bin/curl-config
  13703. configure:30009: result: /usr/bin/curl-config
  13704. configure:30031: checking for curl_easy_init in -lcurl
  13705. configure:30057: gcc -o conftest -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -lcurl -lssl -lcrypto -lz conftest.c -lcurl -lcurl
  13706. >&5
  13707. configure:30057: $? = 0
  13708. configure:30066: result: yes
  13709. configure:30145: checking for special C compiler options needed for large files
  13710. configure:30190: result: no
  13711. configure:30196: checking for _FILE_OFFSET_BITS value needed for large files
  13712. configure:30221: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  13713. configure:30221: $? = 0
  13714. configure:30253: result: no
  13715. configure:30396: checking for gcc
  13716. configure:30412: found /usr/bin/gcc
  13717. configure:30423: result: gcc
  13718. configure:30448: checking for Objective C compiler version
  13719. configure:30457: gcc --version >&5
  13720. gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6)
  13721. Copyright (C) 2017 Free Software Foundation, Inc.
  13722. This is free software; see the source for copying conditions. There is NO
  13723. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13724.  
  13725. configure:30468: $? = 0
  13726. configure:30457: gcc -v >&5
  13727. Using built-in specs.
  13728. COLLECT_GCC=gcc
  13729. COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
  13730. Target: x86_64-redhat-linux
  13731. Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-libsanitizer --enable-gnu-indirect-function --enable-libcilkrts --enable-libatomic --enable-libquadmath --enable-libitm --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
  13732. Thread model: posix
  13733. gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)
  13734. configure:30468: $? = 0
  13735. configure:30457: gcc -V >&5
  13736. gcc: error: unrecognized command line option '-V'
  13737. gcc: fatal error: no input files
  13738. compilation terminated.
  13739. configure:30468: $? = 1
  13740. configure:30457: gcc -qversion >&5
  13741. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  13742. gcc: fatal error: no input files
  13743. compilation terminated.
  13744. configure:30468: $? = 1
  13745. configure:30472: checking whether we are using the GNU Objective C compiler
  13746. configure:30491: gcc -c conftest.m >&5
  13747. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  13748. configure:30491: $? = 1
  13749. configure: failed program was:
  13750. | /* confdefs.h */
  13751. | #define PACKAGE_NAME "ClamAV"
  13752. | #define PACKAGE_TARNAME "clamav"
  13753. | #define PACKAGE_VERSION "0.102.0"
  13754. | #define PACKAGE_STRING "ClamAV 0.102.0"
  13755. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  13756. | #define PACKAGE_URL "https://www.clamav.net/"
  13757. | #define PACKAGE PACKAGE_NAME
  13758. | #define STDC_HEADERS 1
  13759. | #define HAVE_SYS_TYPES_H 1
  13760. | #define HAVE_SYS_STAT_H 1
  13761. | #define HAVE_STDLIB_H 1
  13762. | #define HAVE_STRING_H 1
  13763. | #define HAVE_MEMORY_H 1
  13764. | #define HAVE_STRINGS_H 1
  13765. | #define HAVE_INTTYPES_H 1
  13766. | #define HAVE_STDINT_H 1
  13767. | #define HAVE_UNISTD_H 1
  13768. | #define __EXTENSIONS__ 1
  13769. | #define _ALL_SOURCE 1
  13770. | #define _GNU_SOURCE 1
  13771. | #define _POSIX_PTHREAD_SEMANTICS 1
  13772. | #define _TANDEM_SOURCE 1
  13773. | #define LIBCLAMAV_FULLVER "9.0.4"
  13774. | #define LIBCLAMAV_MAJORVER 9
  13775. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  13776. | #define LIBFRESHCLAM_MAJORVER 2
  13777. | #define VERSION "0.102.0"
  13778. | #define VERSION_SUFFIX ""
  13779. | #define HAVE_DLFCN_H 1
  13780. | #define LT_OBJDIR ".libs/"
  13781. | #define LT_MODULE_EXT ".so"
  13782. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  13783. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  13784. | #define HAVE_LIBDL 1
  13785. | #define HAVE_DLERROR 1
  13786. | #define HAVE_LIBDLLOADER 1
  13787. | #define HAVE_ARGZ_H 1
  13788. | #define HAVE_ERROR_T 1
  13789. | #define HAVE_ARGZ_ADD 1
  13790. | #define HAVE_ARGZ_APPEND 1
  13791. | #define HAVE_ARGZ_COUNT 1
  13792. | #define HAVE_ARGZ_CREATE_SEP 1
  13793. | #define HAVE_ARGZ_INSERT 1
  13794. | #define HAVE_ARGZ_NEXT 1
  13795. | #define HAVE_ARGZ_STRINGIFY 1
  13796. | #define HAVE_WORKING_ARGZ 1
  13797. | #define HAVE_PRELOADED_SYMBOLS 1
  13798. | #define HAVE_LTDL 1
  13799. | #define HAVE_UNISTD_H 1
  13800. | #define HAVE_DIRENT_H 1
  13801. | #define HAVE_CLOSEDIR 1
  13802. | #define HAVE_OPENDIR 1
  13803. | #define HAVE_READDIR 1
  13804. | #define LT_LIBEXT "a"
  13805. | #define LT_LIBPREFIX "lib"
  13806. | #define HAVE_STDINT_H 1
  13807. | #define HAVE_UNISTD_H 1
  13808. | #define HAVE_DLFCN_H 1
  13809. | #define HAVE_INTTYPES_H 1
  13810. | #define HAVE_SYS_TIMES_H 1
  13811. | #define HAVE_MEMORY_H 1
  13812. | #define HAVE_STDLIB_H 1
  13813. | #define HAVE_STRINGS_H 1
  13814. | #define HAVE_STRING_H 1
  13815. | #define HAVE_SYS_MMAN_H 1
  13816. | #define HAVE_SYS_PARAM_H 1
  13817. | #define HAVE_SYS_STAT_H 1
  13818. | #define HAVE_SYS_TYPES_H 1
  13819. | #define HAVE_MALLOC_H 1
  13820. | #define HAVE_POLL_H 1
  13821. | #define HAVE_LIMITS_H 1
  13822. | #define HAVE_SYS_UIO_H 1
  13823. | #define HAVE_TERMIOS_H 1
  13824. | #define HAVE_STDBOOL_H 1
  13825. | #define HAVE_PWD_H 1
  13826. | #define HAVE_GRP_H 1
  13827. | #define HAVE_SYS_QUEUE_H 1
  13828. | #define HAVE_SYS_CDEFS_H 1
  13829. | #define USE_SYSLOG 1
  13830. | #define HAVE_PTHREAD_H 1
  13831. | #define SCANBUFF 131072
  13832. | #define FILEBUFF 8192
  13833. | #define restrict __restrict
  13834. | #define SIZEOF_SHORT 2
  13835. | #define SIZEOF_INT 4
  13836. | #define SIZEOF_LONG 8
  13837. | #define SIZEOF_LONG_LONG 8
  13838. | #define SIZEOF_VOID_P 8
  13839. | #define HAVE_UNAME_SYSCALL 1
  13840. | #define HAVE_POLL 1
  13841. | #define HAVE_SETSID 1
  13842. | #define HAVE_MEMCPY 1
  13843. | #define HAVE_SNPRINTF 1
  13844. | #define HAVE_VSNPRINTF 1
  13845. | #define HAVE_STRERROR_R 1
  13846. | #define HAVE_STRCASESTR 1
  13847. | #define HAVE_INET_NTOP 1
  13848. | #define HAVE_SETGROUPS 1
  13849. | #define HAVE_INITGROUPS 1
  13850. | #define HAVE_CTIME_R 1
  13851. | #define HAVE_MKSTEMP 1
  13852. | #define HAVE_MALLINFO 1
  13853. | #define HAVE_MADVISE 1
  13854. | #define HAVE_GETNAMEINFO 1
  13855. | #define HAVE_STRNDUP 1
  13856. | #define HAVE_STRNLEN 1
  13857. | #define HAVE_FSEEKO 1
  13858. | #define HAVE_MMAP 1
  13859. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  13860. | #define HAVE_GETPAGESIZE 1
  13861. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  13862. | #define HAVE_TIMEGM 1
  13863. | #define USE_MPOOL 1
  13864. | #define HAVE_LIBXML2 1
  13865. | #define HAVE_LIBSSL 1
  13866. | #define HAVE_JSON 1
  13867. | #define HAVE_PCRE 1
  13868. | #define USING_PCRE2 1
  13869. | #define HAVE_BZLIB_H 1
  13870. | #define HAVE_GETADDRINFO 1
  13871. | #define HAVE_SYSTEMD /**/
  13872. | #define HAVE_LIBNCURSES 1
  13873. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  13874. | #define HAVE_YARA 1
  13875. | #define C_LINUX 1
  13876. | #define HAVE_CTIME_R_2 1
  13877. | #define HAVE_RECVMSG 1
  13878. | #define HAVE_SENDMSG 1
  13879. | #define HAVE_FD_PASSING 1
  13880. | #define HAVE_IN_PORT_T 1
  13881. | #define HAVE_IN_ADDR_T 1
  13882. | #define HAVE_SCHED_YIELD 1
  13883. | #define HAVE_PTHREAD_YIELD 1
  13884. | #define BUILD_CLAMD 1
  13885. | #define CL_THREAD_SAFE 1
  13886. | #define _REENTRANT 1
  13887. | #define HAVE_ATTRIB_PACKED 1
  13888. | #define HAVE_ATTRIB_ALIGNED 1
  13889. | #define HAVE_SYS_SELECT_H 1
  13890. | #define DEFAULT_FD_SETSIZE 1024
  13891. | #define HAVE_STAT64 1
  13892. | #define HAVE_SAR 1
  13893. | #define HAVE_SYSTEM_LFS_FTS 1
  13894. | #define HAVE_ICONV 1
  13895. | #define ICONV_CONST
  13896. | #define HAVE_ICONV_H 1
  13897. | #define DATADIR "/usr/local/share/clamav"
  13898. | #define SUPPORT_IPv6 1
  13899. | #define HAVE_RESOLV_H 1
  13900. | #define SETPGRP_VOID 1
  13901. | #define CLAMAVUSER "clamav"
  13902. | #define CLAMAVGROUP "clamav"
  13903. | #define NDEBUG 1
  13904. | #define CONFDIR "/usr/local/etc"
  13905. | /* end confdefs.h. */
  13906. |
  13907. | int
  13908. | main ()
  13909. | {
  13910. | #ifndef __GNUC__
  13911. | choke me
  13912. | #endif
  13913. |
  13914. | ;
  13915. | return 0;
  13916. | }
  13917. configure:30500: result: no
  13918. configure:30509: checking whether gcc accepts -g
  13919. configure:30529: gcc -c -g conftest.m >&5
  13920. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  13921. configure:30529: $? = 1
  13922. configure: failed program was:
  13923. | /* confdefs.h */
  13924. | #define PACKAGE_NAME "ClamAV"
  13925. | #define PACKAGE_TARNAME "clamav"
  13926. | #define PACKAGE_VERSION "0.102.0"
  13927. | #define PACKAGE_STRING "ClamAV 0.102.0"
  13928. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  13929. | #define PACKAGE_URL "https://www.clamav.net/"
  13930. | #define PACKAGE PACKAGE_NAME
  13931. | #define STDC_HEADERS 1
  13932. | #define HAVE_SYS_TYPES_H 1
  13933. | #define HAVE_SYS_STAT_H 1
  13934. | #define HAVE_STDLIB_H 1
  13935. | #define HAVE_STRING_H 1
  13936. | #define HAVE_MEMORY_H 1
  13937. | #define HAVE_STRINGS_H 1
  13938. | #define HAVE_INTTYPES_H 1
  13939. | #define HAVE_STDINT_H 1
  13940. | #define HAVE_UNISTD_H 1
  13941. | #define __EXTENSIONS__ 1
  13942. | #define _ALL_SOURCE 1
  13943. | #define _GNU_SOURCE 1
  13944. | #define _POSIX_PTHREAD_SEMANTICS 1
  13945. | #define _TANDEM_SOURCE 1
  13946. | #define LIBCLAMAV_FULLVER "9.0.4"
  13947. | #define LIBCLAMAV_MAJORVER 9
  13948. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  13949. | #define LIBFRESHCLAM_MAJORVER 2
  13950. | #define VERSION "0.102.0"
  13951. | #define VERSION_SUFFIX ""
  13952. | #define HAVE_DLFCN_H 1
  13953. | #define LT_OBJDIR ".libs/"
  13954. | #define LT_MODULE_EXT ".so"
  13955. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  13956. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  13957. | #define HAVE_LIBDL 1
  13958. | #define HAVE_DLERROR 1
  13959. | #define HAVE_LIBDLLOADER 1
  13960. | #define HAVE_ARGZ_H 1
  13961. | #define HAVE_ERROR_T 1
  13962. | #define HAVE_ARGZ_ADD 1
  13963. | #define HAVE_ARGZ_APPEND 1
  13964. | #define HAVE_ARGZ_COUNT 1
  13965. | #define HAVE_ARGZ_CREATE_SEP 1
  13966. | #define HAVE_ARGZ_INSERT 1
  13967. | #define HAVE_ARGZ_NEXT 1
  13968. | #define HAVE_ARGZ_STRINGIFY 1
  13969. | #define HAVE_WORKING_ARGZ 1
  13970. | #define HAVE_PRELOADED_SYMBOLS 1
  13971. | #define HAVE_LTDL 1
  13972. | #define HAVE_UNISTD_H 1
  13973. | #define HAVE_DIRENT_H 1
  13974. | #define HAVE_CLOSEDIR 1
  13975. | #define HAVE_OPENDIR 1
  13976. | #define HAVE_READDIR 1
  13977. | #define LT_LIBEXT "a"
  13978. | #define LT_LIBPREFIX "lib"
  13979. | #define HAVE_STDINT_H 1
  13980. | #define HAVE_UNISTD_H 1
  13981. | #define HAVE_DLFCN_H 1
  13982. | #define HAVE_INTTYPES_H 1
  13983. | #define HAVE_SYS_TIMES_H 1
  13984. | #define HAVE_MEMORY_H 1
  13985. | #define HAVE_STDLIB_H 1
  13986. | #define HAVE_STRINGS_H 1
  13987. | #define HAVE_STRING_H 1
  13988. | #define HAVE_SYS_MMAN_H 1
  13989. | #define HAVE_SYS_PARAM_H 1
  13990. | #define HAVE_SYS_STAT_H 1
  13991. | #define HAVE_SYS_TYPES_H 1
  13992. | #define HAVE_MALLOC_H 1
  13993. | #define HAVE_POLL_H 1
  13994. | #define HAVE_LIMITS_H 1
  13995. | #define HAVE_SYS_UIO_H 1
  13996. | #define HAVE_TERMIOS_H 1
  13997. | #define HAVE_STDBOOL_H 1
  13998. | #define HAVE_PWD_H 1
  13999. | #define HAVE_GRP_H 1
  14000. | #define HAVE_SYS_QUEUE_H 1
  14001. | #define HAVE_SYS_CDEFS_H 1
  14002. | #define USE_SYSLOG 1
  14003. | #define HAVE_PTHREAD_H 1
  14004. | #define SCANBUFF 131072
  14005. | #define FILEBUFF 8192
  14006. | #define restrict __restrict
  14007. | #define SIZEOF_SHORT 2
  14008. | #define SIZEOF_INT 4
  14009. | #define SIZEOF_LONG 8
  14010. | #define SIZEOF_LONG_LONG 8
  14011. | #define SIZEOF_VOID_P 8
  14012. | #define HAVE_UNAME_SYSCALL 1
  14013. | #define HAVE_POLL 1
  14014. | #define HAVE_SETSID 1
  14015. | #define HAVE_MEMCPY 1
  14016. | #define HAVE_SNPRINTF 1
  14017. | #define HAVE_VSNPRINTF 1
  14018. | #define HAVE_STRERROR_R 1
  14019. | #define HAVE_STRCASESTR 1
  14020. | #define HAVE_INET_NTOP 1
  14021. | #define HAVE_SETGROUPS 1
  14022. | #define HAVE_INITGROUPS 1
  14023. | #define HAVE_CTIME_R 1
  14024. | #define HAVE_MKSTEMP 1
  14025. | #define HAVE_MALLINFO 1
  14026. | #define HAVE_MADVISE 1
  14027. | #define HAVE_GETNAMEINFO 1
  14028. | #define HAVE_STRNDUP 1
  14029. | #define HAVE_STRNLEN 1
  14030. | #define HAVE_FSEEKO 1
  14031. | #define HAVE_MMAP 1
  14032. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  14033. | #define HAVE_GETPAGESIZE 1
  14034. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  14035. | #define HAVE_TIMEGM 1
  14036. | #define USE_MPOOL 1
  14037. | #define HAVE_LIBXML2 1
  14038. | #define HAVE_LIBSSL 1
  14039. | #define HAVE_JSON 1
  14040. | #define HAVE_PCRE 1
  14041. | #define USING_PCRE2 1
  14042. | #define HAVE_BZLIB_H 1
  14043. | #define HAVE_GETADDRINFO 1
  14044. | #define HAVE_SYSTEMD /**/
  14045. | #define HAVE_LIBNCURSES 1
  14046. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  14047. | #define HAVE_YARA 1
  14048. | #define C_LINUX 1
  14049. | #define HAVE_CTIME_R_2 1
  14050. | #define HAVE_RECVMSG 1
  14051. | #define HAVE_SENDMSG 1
  14052. | #define HAVE_FD_PASSING 1
  14053. | #define HAVE_IN_PORT_T 1
  14054. | #define HAVE_IN_ADDR_T 1
  14055. | #define HAVE_SCHED_YIELD 1
  14056. | #define HAVE_PTHREAD_YIELD 1
  14057. | #define BUILD_CLAMD 1
  14058. | #define CL_THREAD_SAFE 1
  14059. | #define _REENTRANT 1
  14060. | #define HAVE_ATTRIB_PACKED 1
  14061. | #define HAVE_ATTRIB_ALIGNED 1
  14062. | #define HAVE_SYS_SELECT_H 1
  14063. | #define DEFAULT_FD_SETSIZE 1024
  14064. | #define HAVE_STAT64 1
  14065. | #define HAVE_SAR 1
  14066. | #define HAVE_SYSTEM_LFS_FTS 1
  14067. | #define HAVE_ICONV 1
  14068. | #define ICONV_CONST
  14069. | #define HAVE_ICONV_H 1
  14070. | #define DATADIR "/usr/local/share/clamav"
  14071. | #define SUPPORT_IPv6 1
  14072. | #define HAVE_RESOLV_H 1
  14073. | #define SETPGRP_VOID 1
  14074. | #define CLAMAVUSER "clamav"
  14075. | #define CLAMAVGROUP "clamav"
  14076. | #define NDEBUG 1
  14077. | #define CONFDIR "/usr/local/etc"
  14078. | /* end confdefs.h. */
  14079. |
  14080. | int
  14081. | main ()
  14082. | {
  14083. |
  14084. | ;
  14085. | return 0;
  14086. | }
  14087. configure:30544: gcc -c conftest.m >&5
  14088. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  14089. configure:30544: $? = 1
  14090. configure: failed program was:
  14091. | /* confdefs.h */
  14092. | #define PACKAGE_NAME "ClamAV"
  14093. | #define PACKAGE_TARNAME "clamav"
  14094. | #define PACKAGE_VERSION "0.102.0"
  14095. | #define PACKAGE_STRING "ClamAV 0.102.0"
  14096. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  14097. | #define PACKAGE_URL "https://www.clamav.net/"
  14098. | #define PACKAGE PACKAGE_NAME
  14099. | #define STDC_HEADERS 1
  14100. | #define HAVE_SYS_TYPES_H 1
  14101. | #define HAVE_SYS_STAT_H 1
  14102. | #define HAVE_STDLIB_H 1
  14103. | #define HAVE_STRING_H 1
  14104. | #define HAVE_MEMORY_H 1
  14105. | #define HAVE_STRINGS_H 1
  14106. | #define HAVE_INTTYPES_H 1
  14107. | #define HAVE_STDINT_H 1
  14108. | #define HAVE_UNISTD_H 1
  14109. | #define __EXTENSIONS__ 1
  14110. | #define _ALL_SOURCE 1
  14111. | #define _GNU_SOURCE 1
  14112. | #define _POSIX_PTHREAD_SEMANTICS 1
  14113. | #define _TANDEM_SOURCE 1
  14114. | #define LIBCLAMAV_FULLVER "9.0.4"
  14115. | #define LIBCLAMAV_MAJORVER 9
  14116. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  14117. | #define LIBFRESHCLAM_MAJORVER 2
  14118. | #define VERSION "0.102.0"
  14119. | #define VERSION_SUFFIX ""
  14120. | #define HAVE_DLFCN_H 1
  14121. | #define LT_OBJDIR ".libs/"
  14122. | #define LT_MODULE_EXT ".so"
  14123. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  14124. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  14125. | #define HAVE_LIBDL 1
  14126. | #define HAVE_DLERROR 1
  14127. | #define HAVE_LIBDLLOADER 1
  14128. | #define HAVE_ARGZ_H 1
  14129. | #define HAVE_ERROR_T 1
  14130. | #define HAVE_ARGZ_ADD 1
  14131. | #define HAVE_ARGZ_APPEND 1
  14132. | #define HAVE_ARGZ_COUNT 1
  14133. | #define HAVE_ARGZ_CREATE_SEP 1
  14134. | #define HAVE_ARGZ_INSERT 1
  14135. | #define HAVE_ARGZ_NEXT 1
  14136. | #define HAVE_ARGZ_STRINGIFY 1
  14137. | #define HAVE_WORKING_ARGZ 1
  14138. | #define HAVE_PRELOADED_SYMBOLS 1
  14139. | #define HAVE_LTDL 1
  14140. | #define HAVE_UNISTD_H 1
  14141. | #define HAVE_DIRENT_H 1
  14142. | #define HAVE_CLOSEDIR 1
  14143. | #define HAVE_OPENDIR 1
  14144. | #define HAVE_READDIR 1
  14145. | #define LT_LIBEXT "a"
  14146. | #define LT_LIBPREFIX "lib"
  14147. | #define HAVE_STDINT_H 1
  14148. | #define HAVE_UNISTD_H 1
  14149. | #define HAVE_DLFCN_H 1
  14150. | #define HAVE_INTTYPES_H 1
  14151. | #define HAVE_SYS_TIMES_H 1
  14152. | #define HAVE_MEMORY_H 1
  14153. | #define HAVE_STDLIB_H 1
  14154. | #define HAVE_STRINGS_H 1
  14155. | #define HAVE_STRING_H 1
  14156. | #define HAVE_SYS_MMAN_H 1
  14157. | #define HAVE_SYS_PARAM_H 1
  14158. | #define HAVE_SYS_STAT_H 1
  14159. | #define HAVE_SYS_TYPES_H 1
  14160. | #define HAVE_MALLOC_H 1
  14161. | #define HAVE_POLL_H 1
  14162. | #define HAVE_LIMITS_H 1
  14163. | #define HAVE_SYS_UIO_H 1
  14164. | #define HAVE_TERMIOS_H 1
  14165. | #define HAVE_STDBOOL_H 1
  14166. | #define HAVE_PWD_H 1
  14167. | #define HAVE_GRP_H 1
  14168. | #define HAVE_SYS_QUEUE_H 1
  14169. | #define HAVE_SYS_CDEFS_H 1
  14170. | #define USE_SYSLOG 1
  14171. | #define HAVE_PTHREAD_H 1
  14172. | #define SCANBUFF 131072
  14173. | #define FILEBUFF 8192
  14174. | #define restrict __restrict
  14175. | #define SIZEOF_SHORT 2
  14176. | #define SIZEOF_INT 4
  14177. | #define SIZEOF_LONG 8
  14178. | #define SIZEOF_LONG_LONG 8
  14179. | #define SIZEOF_VOID_P 8
  14180. | #define HAVE_UNAME_SYSCALL 1
  14181. | #define HAVE_POLL 1
  14182. | #define HAVE_SETSID 1
  14183. | #define HAVE_MEMCPY 1
  14184. | #define HAVE_SNPRINTF 1
  14185. | #define HAVE_VSNPRINTF 1
  14186. | #define HAVE_STRERROR_R 1
  14187. | #define HAVE_STRCASESTR 1
  14188. | #define HAVE_INET_NTOP 1
  14189. | #define HAVE_SETGROUPS 1
  14190. | #define HAVE_INITGROUPS 1
  14191. | #define HAVE_CTIME_R 1
  14192. | #define HAVE_MKSTEMP 1
  14193. | #define HAVE_MALLINFO 1
  14194. | #define HAVE_MADVISE 1
  14195. | #define HAVE_GETNAMEINFO 1
  14196. | #define HAVE_STRNDUP 1
  14197. | #define HAVE_STRNLEN 1
  14198. | #define HAVE_FSEEKO 1
  14199. | #define HAVE_MMAP 1
  14200. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  14201. | #define HAVE_GETPAGESIZE 1
  14202. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  14203. | #define HAVE_TIMEGM 1
  14204. | #define USE_MPOOL 1
  14205. | #define HAVE_LIBXML2 1
  14206. | #define HAVE_LIBSSL 1
  14207. | #define HAVE_JSON 1
  14208. | #define HAVE_PCRE 1
  14209. | #define USING_PCRE2 1
  14210. | #define HAVE_BZLIB_H 1
  14211. | #define HAVE_GETADDRINFO 1
  14212. | #define HAVE_SYSTEMD /**/
  14213. | #define HAVE_LIBNCURSES 1
  14214. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  14215. | #define HAVE_YARA 1
  14216. | #define C_LINUX 1
  14217. | #define HAVE_CTIME_R_2 1
  14218. | #define HAVE_RECVMSG 1
  14219. | #define HAVE_SENDMSG 1
  14220. | #define HAVE_FD_PASSING 1
  14221. | #define HAVE_IN_PORT_T 1
  14222. | #define HAVE_IN_ADDR_T 1
  14223. | #define HAVE_SCHED_YIELD 1
  14224. | #define HAVE_PTHREAD_YIELD 1
  14225. | #define BUILD_CLAMD 1
  14226. | #define CL_THREAD_SAFE 1
  14227. | #define _REENTRANT 1
  14228. | #define HAVE_ATTRIB_PACKED 1
  14229. | #define HAVE_ATTRIB_ALIGNED 1
  14230. | #define HAVE_SYS_SELECT_H 1
  14231. | #define DEFAULT_FD_SETSIZE 1024
  14232. | #define HAVE_STAT64 1
  14233. | #define HAVE_SAR 1
  14234. | #define HAVE_SYSTEM_LFS_FTS 1
  14235. | #define HAVE_ICONV 1
  14236. | #define ICONV_CONST
  14237. | #define HAVE_ICONV_H 1
  14238. | #define DATADIR "/usr/local/share/clamav"
  14239. | #define SUPPORT_IPv6 1
  14240. | #define HAVE_RESOLV_H 1
  14241. | #define SETPGRP_VOID 1
  14242. | #define CLAMAVUSER "clamav"
  14243. | #define CLAMAVGROUP "clamav"
  14244. | #define NDEBUG 1
  14245. | #define CONFDIR "/usr/local/etc"
  14246. | /* end confdefs.h. */
  14247. |
  14248. | int
  14249. | main ()
  14250. | {
  14251. |
  14252. | ;
  14253. | return 0;
  14254. | }
  14255. configure:30560: gcc -c -g conftest.m >&5
  14256. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  14257. configure:30560: $? = 1
  14258. configure: failed program was:
  14259. | /* confdefs.h */
  14260. | #define PACKAGE_NAME "ClamAV"
  14261. | #define PACKAGE_TARNAME "clamav"
  14262. | #define PACKAGE_VERSION "0.102.0"
  14263. | #define PACKAGE_STRING "ClamAV 0.102.0"
  14264. | #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  14265. | #define PACKAGE_URL "https://www.clamav.net/"
  14266. | #define PACKAGE PACKAGE_NAME
  14267. | #define STDC_HEADERS 1
  14268. | #define HAVE_SYS_TYPES_H 1
  14269. | #define HAVE_SYS_STAT_H 1
  14270. | #define HAVE_STDLIB_H 1
  14271. | #define HAVE_STRING_H 1
  14272. | #define HAVE_MEMORY_H 1
  14273. | #define HAVE_STRINGS_H 1
  14274. | #define HAVE_INTTYPES_H 1
  14275. | #define HAVE_STDINT_H 1
  14276. | #define HAVE_UNISTD_H 1
  14277. | #define __EXTENSIONS__ 1
  14278. | #define _ALL_SOURCE 1
  14279. | #define _GNU_SOURCE 1
  14280. | #define _POSIX_PTHREAD_SEMANTICS 1
  14281. | #define _TANDEM_SOURCE 1
  14282. | #define LIBCLAMAV_FULLVER "9.0.4"
  14283. | #define LIBCLAMAV_MAJORVER 9
  14284. | #define LIBFRESHCLAM_FULLVER "2.0.0"
  14285. | #define LIBFRESHCLAM_MAJORVER 2
  14286. | #define VERSION "0.102.0"
  14287. | #define VERSION_SUFFIX ""
  14288. | #define HAVE_DLFCN_H 1
  14289. | #define LT_OBJDIR ".libs/"
  14290. | #define LT_MODULE_EXT ".so"
  14291. | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  14292. | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  14293. | #define HAVE_LIBDL 1
  14294. | #define HAVE_DLERROR 1
  14295. | #define HAVE_LIBDLLOADER 1
  14296. | #define HAVE_ARGZ_H 1
  14297. | #define HAVE_ERROR_T 1
  14298. | #define HAVE_ARGZ_ADD 1
  14299. | #define HAVE_ARGZ_APPEND 1
  14300. | #define HAVE_ARGZ_COUNT 1
  14301. | #define HAVE_ARGZ_CREATE_SEP 1
  14302. | #define HAVE_ARGZ_INSERT 1
  14303. | #define HAVE_ARGZ_NEXT 1
  14304. | #define HAVE_ARGZ_STRINGIFY 1
  14305. | #define HAVE_WORKING_ARGZ 1
  14306. | #define HAVE_PRELOADED_SYMBOLS 1
  14307. | #define HAVE_LTDL 1
  14308. | #define HAVE_UNISTD_H 1
  14309. | #define HAVE_DIRENT_H 1
  14310. | #define HAVE_CLOSEDIR 1
  14311. | #define HAVE_OPENDIR 1
  14312. | #define HAVE_READDIR 1
  14313. | #define LT_LIBEXT "a"
  14314. | #define LT_LIBPREFIX "lib"
  14315. | #define HAVE_STDINT_H 1
  14316. | #define HAVE_UNISTD_H 1
  14317. | #define HAVE_DLFCN_H 1
  14318. | #define HAVE_INTTYPES_H 1
  14319. | #define HAVE_SYS_TIMES_H 1
  14320. | #define HAVE_MEMORY_H 1
  14321. | #define HAVE_STDLIB_H 1
  14322. | #define HAVE_STRINGS_H 1
  14323. | #define HAVE_STRING_H 1
  14324. | #define HAVE_SYS_MMAN_H 1
  14325. | #define HAVE_SYS_PARAM_H 1
  14326. | #define HAVE_SYS_STAT_H 1
  14327. | #define HAVE_SYS_TYPES_H 1
  14328. | #define HAVE_MALLOC_H 1
  14329. | #define HAVE_POLL_H 1
  14330. | #define HAVE_LIMITS_H 1
  14331. | #define HAVE_SYS_UIO_H 1
  14332. | #define HAVE_TERMIOS_H 1
  14333. | #define HAVE_STDBOOL_H 1
  14334. | #define HAVE_PWD_H 1
  14335. | #define HAVE_GRP_H 1
  14336. | #define HAVE_SYS_QUEUE_H 1
  14337. | #define HAVE_SYS_CDEFS_H 1
  14338. | #define USE_SYSLOG 1
  14339. | #define HAVE_PTHREAD_H 1
  14340. | #define SCANBUFF 131072
  14341. | #define FILEBUFF 8192
  14342. | #define restrict __restrict
  14343. | #define SIZEOF_SHORT 2
  14344. | #define SIZEOF_INT 4
  14345. | #define SIZEOF_LONG 8
  14346. | #define SIZEOF_LONG_LONG 8
  14347. | #define SIZEOF_VOID_P 8
  14348. | #define HAVE_UNAME_SYSCALL 1
  14349. | #define HAVE_POLL 1
  14350. | #define HAVE_SETSID 1
  14351. | #define HAVE_MEMCPY 1
  14352. | #define HAVE_SNPRINTF 1
  14353. | #define HAVE_VSNPRINTF 1
  14354. | #define HAVE_STRERROR_R 1
  14355. | #define HAVE_STRCASESTR 1
  14356. | #define HAVE_INET_NTOP 1
  14357. | #define HAVE_SETGROUPS 1
  14358. | #define HAVE_INITGROUPS 1
  14359. | #define HAVE_CTIME_R 1
  14360. | #define HAVE_MKSTEMP 1
  14361. | #define HAVE_MALLINFO 1
  14362. | #define HAVE_MADVISE 1
  14363. | #define HAVE_GETNAMEINFO 1
  14364. | #define HAVE_STRNDUP 1
  14365. | #define HAVE_STRNLEN 1
  14366. | #define HAVE_FSEEKO 1
  14367. | #define HAVE_MMAP 1
  14368. | #define HAVE_SYSCONF_SC_PAGESIZE 1
  14369. | #define HAVE_GETPAGESIZE 1
  14370. | #define ANONYMOUS_MAP MAP_ANONYMOUS
  14371. | #define HAVE_TIMEGM 1
  14372. | #define USE_MPOOL 1
  14373. | #define HAVE_LIBXML2 1
  14374. | #define HAVE_LIBSSL 1
  14375. | #define HAVE_JSON 1
  14376. | #define HAVE_PCRE 1
  14377. | #define USING_PCRE2 1
  14378. | #define HAVE_BZLIB_H 1
  14379. | #define HAVE_GETADDRINFO 1
  14380. | #define HAVE_SYSTEMD /**/
  14381. | #define HAVE_LIBNCURSES 1
  14382. | #define CURSES_INCLUDE <ncurses/ncurses.h>
  14383. | #define HAVE_YARA 1
  14384. | #define C_LINUX 1
  14385. | #define HAVE_CTIME_R_2 1
  14386. | #define HAVE_RECVMSG 1
  14387. | #define HAVE_SENDMSG 1
  14388. | #define HAVE_FD_PASSING 1
  14389. | #define HAVE_IN_PORT_T 1
  14390. | #define HAVE_IN_ADDR_T 1
  14391. | #define HAVE_SCHED_YIELD 1
  14392. | #define HAVE_PTHREAD_YIELD 1
  14393. | #define BUILD_CLAMD 1
  14394. | #define CL_THREAD_SAFE 1
  14395. | #define _REENTRANT 1
  14396. | #define HAVE_ATTRIB_PACKED 1
  14397. | #define HAVE_ATTRIB_ALIGNED 1
  14398. | #define HAVE_SYS_SELECT_H 1
  14399. | #define DEFAULT_FD_SETSIZE 1024
  14400. | #define HAVE_STAT64 1
  14401. | #define HAVE_SAR 1
  14402. | #define HAVE_SYSTEM_LFS_FTS 1
  14403. | #define HAVE_ICONV 1
  14404. | #define ICONV_CONST
  14405. | #define HAVE_ICONV_H 1
  14406. | #define DATADIR "/usr/local/share/clamav"
  14407. | #define SUPPORT_IPv6 1
  14408. | #define HAVE_RESOLV_H 1
  14409. | #define SETPGRP_VOID 1
  14410. | #define CLAMAVUSER "clamav"
  14411. | #define CLAMAVGROUP "clamav"
  14412. | #define NDEBUG 1
  14413. | #define CONFDIR "/usr/local/etc"
  14414. | /* end confdefs.h. */
  14415. |
  14416. | int
  14417. | main ()
  14418. | {
  14419. |
  14420. | ;
  14421. | return 0;
  14422. | }
  14423. configure:30570: result: no
  14424. configure:30595: checking dependency style of gcc
  14425. configure:30704: result: gcc3
  14426. configure:30800: checking for sys/int_types.h
  14427. configure:30800: result: no
  14428. configure:30806: checking for inttypes.h
  14429. configure:30806: result: yes
  14430. configure:31026: checking that generated files are newer than configure
  14431. configure:31032: result: done
  14432. configure:31185: creating ./config.status
  14433.  
  14434. ## ---------------------- ##
  14435. ## Running config.status. ##
  14436. ## ---------------------- ##
  14437.  
  14438. This file was extended by ClamAV config.status 0.102.0, which was
  14439. generated by GNU Autoconf 2.69. Invocation command line was
  14440.  
  14441. CONFIG_FILES =
  14442. CONFIG_HEADERS =
  14443. CONFIG_LINKS =
  14444. CONFIG_COMMANDS =
  14445. $ ./config.status
  14446.  
  14447. on f5388724aeb2
  14448.  
  14449. config.status:1509: creating libltdl/Makefile
  14450. config.status:1509: creating Makefile
  14451. config.status:1509: creating clamav-config
  14452. config.status:1509: creating libclamav.pc
  14453. config.status:1509: creating platform.h
  14454. config.status:1509: creating clamav-types.h
  14455. config.status:1509: creating clamav-version.h
  14456. config.status:1509: creating clamscan/Makefile
  14457. config.status:1509: creating database/Makefile
  14458. config.status:1509: creating docs/Makefile
  14459. config.status:1509: creating clamd/Makefile
  14460. config.status:1509: creating clamd/clamav-daemon.service
  14461. config.status:1509: creating clamd/clamav-daemon.socket
  14462. config.status:1509: creating clamdscan/Makefile
  14463. config.status:1509: creating clamsubmit/Makefile
  14464. config.status:1509: creating clamav-milter/Makefile
  14465. config.status:1509: creating freshclam/clamav-freshclam.service
  14466. config.status:1509: creating freshclam/Makefile
  14467. config.status:1509: creating sigtool/Makefile
  14468. config.status:1509: creating clamconf/Makefile
  14469. config.status:1509: creating etc/Makefile
  14470. config.status:1509: creating test/Makefile
  14471. config.status:1509: creating unit_tests/Makefile
  14472. config.status:1509: creating fuzz/Makefile
  14473. config.status:1509: creating clamdtop/Makefile
  14474. config.status:1509: creating clambc/Makefile
  14475. config.status:1509: creating libfreshclam/Makefile
  14476. config.status:1509: creating docs/man/clamav-milter.8
  14477. config.status:1509: creating docs/man/clamav-milter.conf.5
  14478. config.status:1509: creating docs/man/clambc.1
  14479. config.status:1509: creating docs/man/clamconf.1
  14480. config.status:1509: creating docs/man/clamd.8
  14481. config.status:1509: creating docs/man/clamd.conf.5
  14482. config.status:1509: creating docs/man/clamdscan.1
  14483. config.status:1509: creating docs/man/clamscan.1
  14484. config.status:1509: creating docs/man/freshclam.1
  14485. config.status:1509: creating docs/man/freshclam.conf.5
  14486. config.status:1509: creating docs/man/sigtool.1
  14487. config.status:1509: creating docs/man/clamdtop.1
  14488. config.status:1509: creating docs/man/clamsubmit.1
  14489. config.status:1509: creating clamonacc/Makefile
  14490. config.status:1509: creating clamav-config.h
  14491. config.status:1509: creating libclammspack/config.h
  14492. config.status:1738: executing depfiles commands
  14493. config.status:1738: executing libtool commands
  14494. configure:33928: checking that generated files are newer than configure
  14495. configure:33934: result: done
  14496. configure:34103: creating ./config.status
  14497.  
  14498. ## ---------------------- ##
  14499. ## Running config.status. ##
  14500. ## ---------------------- ##
  14501.  
  14502. This file was extended by ClamAV config.status 0.102.0, which was
  14503. generated by GNU Autoconf 2.69. Invocation command line was
  14504.  
  14505. CONFIG_FILES =
  14506. CONFIG_HEADERS =
  14507. CONFIG_LINKS =
  14508. CONFIG_COMMANDS =
  14509. $ ./config.status
  14510.  
  14511. on f5388724aeb2
  14512.  
  14513. config.status:1511: creating libltdl/Makefile
  14514. config.status:1511: creating Makefile
  14515. config.status:1511: creating clamav-config
  14516. config.status:1511: creating libclamav.pc
  14517. config.status:1511: creating platform.h
  14518. config.status:1511: creating clamav-types.h
  14519. config.status:1511: creating clamav-version.h
  14520. config.status:1511: creating clamscan/Makefile
  14521. config.status:1511: creating database/Makefile
  14522. config.status:1511: creating docs/Makefile
  14523. config.status:1511: creating clamd/Makefile
  14524. config.status:1511: creating clamd/clamav-daemon.service
  14525. config.status:1511: creating clamd/clamav-daemon.socket
  14526. config.status:1511: creating clamdscan/Makefile
  14527. config.status:1511: creating clamsubmit/Makefile
  14528. config.status:1511: creating clamav-milter/Makefile
  14529. config.status:1511: creating freshclam/clamav-freshclam.service
  14530. config.status:1511: creating freshclam/Makefile
  14531. config.status:1511: creating sigtool/Makefile
  14532. config.status:1511: creating clamconf/Makefile
  14533. config.status:1511: creating etc/Makefile
  14534. config.status:1511: creating test/Makefile
  14535. config.status:1511: creating unit_tests/Makefile
  14536. config.status:1511: creating fuzz/Makefile
  14537. config.status:1511: creating clamdtop/Makefile
  14538. config.status:1511: creating clambc/Makefile
  14539. config.status:1511: creating libfreshclam/Makefile
  14540. config.status:1511: creating docs/man/clamav-milter.8
  14541. config.status:1511: creating docs/man/clamav-milter.conf.5
  14542. config.status:1511: creating docs/man/clambc.1
  14543. config.status:1511: creating docs/man/clamconf.1
  14544. config.status:1511: creating docs/man/clamd.8
  14545. config.status:1511: creating docs/man/clamd.conf.5
  14546. config.status:1511: creating docs/man/clamdscan.1
  14547. config.status:1511: creating docs/man/clamscan.1
  14548. config.status:1511: creating docs/man/freshclam.1
  14549. config.status:1511: creating docs/man/freshclam.conf.5
  14550. config.status:1511: creating docs/man/sigtool.1
  14551. config.status:1511: creating docs/man/clamdtop.1
  14552. config.status:1511: creating docs/man/clamsubmit.1
  14553. config.status:1511: creating clamonacc/Makefile
  14554. config.status:1511: creating libclamav/Makefile
  14555. config.status:1511: creating clamav-config.h
  14556. config.status:1692: clamav-config.h is unchanged
  14557. config.status:1511: creating libclammspack/config.h
  14558. config.status:1692: libclammspack/config.h is unchanged
  14559. config.status:1740: executing depfiles commands
  14560. config.status:1740: executing libtool commands
  14561. configure:36704: Summary of detected features follows
  14562. configure:36712: Summary of miscellaneous features
  14563. configure:36815: Summary of optional tools
  14564. configure:36940: Summary of engine performance features
  14565. configure:37032: Summary of engine detection features
  14566.  
  14567. ## ---------------- ##
  14568. ## Cache variables. ##
  14569. ## ---------------- ##
  14570.  
  14571. ac_cv_build=x86_64-pc-linux-gnu
  14572. ac_cv_c_bigendian=no
  14573. ac_cv_c_can_get_pagesize=yes
  14574. ac_cv_c_compiler_gnu=yes
  14575. ac_cv_c_const=yes
  14576. ac_cv_c_cve_2008_1372=ok
  14577. ac_cv_c_cve_2010_0405=ok
  14578. ac_cv_c_getpagesize=yes
  14579. ac_cv_c_inline=inline
  14580. ac_cv_c_mmap_anonymous=MAP_ANONYMOUS
  14581. ac_cv_c_mmap_private=yes
  14582. ac_cv_c_restrict=__restrict
  14583. ac_cv_c_sysconf_sc_pagesize=yes
  14584. ac_cv_ctime_args=2
  14585. ac_cv_cxx_compiler_gnu=yes
  14586. ac_cv_env_CCC_set=
  14587. ac_cv_env_CCC_value=
  14588. ac_cv_env_CC_set=
  14589. ac_cv_env_CC_value=
  14590. ac_cv_env_CFLAGS_set=
  14591. ac_cv_env_CFLAGS_value=
  14592. ac_cv_env_CHECK_CFLAGS_set=
  14593. ac_cv_env_CHECK_CFLAGS_value=
  14594. ac_cv_env_CHECK_LIBS_set=
  14595. ac_cv_env_CHECK_LIBS_value=
  14596. ac_cv_env_CPPFLAGS_set=
  14597. ac_cv_env_CPPFLAGS_value=
  14598. ac_cv_env_CPP_set=
  14599. ac_cv_env_CPP_value=
  14600. ac_cv_env_CXXCPP_set=
  14601. ac_cv_env_CXXCPP_value=
  14602. ac_cv_env_CXXFLAGS_set=
  14603. ac_cv_env_CXXFLAGS_value=
  14604. ac_cv_env_CXX_set=
  14605. ac_cv_env_CXX_value=
  14606. ac_cv_env_LDFLAGS_set=
  14607. ac_cv_env_LDFLAGS_value=
  14608. ac_cv_env_LIBMSPACK_CFLAGS_set=
  14609. ac_cv_env_LIBMSPACK_CFLAGS_value=
  14610. ac_cv_env_LIBMSPACK_LIBS_set=
  14611. ac_cv_env_LIBMSPACK_LIBS_value=
  14612. ac_cv_env_LIBS_set=
  14613. ac_cv_env_LIBS_value=
  14614. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  14615. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  14616. ac_cv_env_OBJCFLAGS_set=
  14617. ac_cv_env_OBJCFLAGS_value=
  14618. ac_cv_env_OBJC_set=
  14619. ac_cv_env_OBJC_value=
  14620. ac_cv_env_PKG_CONFIG_LIBDIR_set=
  14621. ac_cv_env_PKG_CONFIG_LIBDIR_value=
  14622. ac_cv_env_PKG_CONFIG_PATH_set=
  14623. ac_cv_env_PKG_CONFIG_PATH_value=
  14624. ac_cv_env_PKG_CONFIG_set=
  14625. ac_cv_env_PKG_CONFIG_value=
  14626. ac_cv_env_SYSTEMD_CFLAGS_set=
  14627. ac_cv_env_SYSTEMD_CFLAGS_value=
  14628. ac_cv_env_SYSTEMD_LIBS_set=
  14629. ac_cv_env_SYSTEMD_LIBS_value=
  14630. ac_cv_env_YACC_set=
  14631. ac_cv_env_YACC_value=
  14632. ac_cv_env_YFLAGS_set=
  14633. ac_cv_env_YFLAGS_value=
  14634. ac_cv_env_ZLIB_CFLAGS_set=
  14635. ac_cv_env_ZLIB_CFLAGS_value=
  14636. ac_cv_env_ZLIB_LIBS_set=
  14637. ac_cv_env_ZLIB_LIBS_value=
  14638. ac_cv_env_build_alias_set=
  14639. ac_cv_env_build_alias_value=
  14640. ac_cv_env_host_alias_set=
  14641. ac_cv_env_host_alias_value=
  14642. ac_cv_env_target_alias_set=
  14643. ac_cv_env_target_alias_value=
  14644. ac_cv_findlib_CHECK_inc=
  14645. ac_cv_findlib_CHECK_libs=
  14646. ac_cv_findlib_CHECK_ltlibs=
  14647. ac_cv_findlib_NCURSES_inc=
  14648. ac_cv_findlib_NCURSES_libs=-lncurses
  14649. ac_cv_findlib_NCURSES_ltlibs=-lncurses
  14650. ac_cv_func_argz_add=yes
  14651. ac_cv_func_argz_append=yes
  14652. ac_cv_func_argz_count=yes
  14653. ac_cv_func_argz_create_sep=yes
  14654. ac_cv_func_argz_insert=yes
  14655. ac_cv_func_argz_next=yes
  14656. ac_cv_func_argz_stringify=yes
  14657. ac_cv_func_closedir=yes
  14658. ac_cv_func_ctime_r=yes
  14659. ac_cv_func_dlerror=yes
  14660. ac_cv_func_dlopen=no
  14661. ac_cv_func_enable_extended_FILE_stdio=no
  14662. ac_cv_func_getnameinfo=yes
  14663. ac_cv_func_inet_ntop=yes
  14664. ac_cv_func_initgroups=yes
  14665. ac_cv_func_locale_charset=no
  14666. ac_cv_func_madvise=yes
  14667. ac_cv_func_mallinfo=yes
  14668. ac_cv_func_memcpy=yes
  14669. ac_cv_func_mkstemp=yes
  14670. ac_cv_func_opendir=yes
  14671. ac_cv_func_poll=yes
  14672. ac_cv_func_pthread_yield=yes
  14673. ac_cv_func_readdir=yes
  14674. ac_cv_func_recvmsg=yes
  14675. ac_cv_func_sched_yield=yes
  14676. ac_cv_func_sendmsg=yes
  14677. ac_cv_func_setgroups=yes
  14678. ac_cv_func_setpgrp_void=yes
  14679. ac_cv_func_setsid=yes
  14680. ac_cv_func_shl_load=no
  14681. ac_cv_func_snprintf=yes
  14682. ac_cv_func_strcasestr=yes
  14683. ac_cv_func_strerror_r=yes
  14684. ac_cv_func_strlcat=no
  14685. ac_cv_func_strlcpy=no
  14686. ac_cv_func_strndup=yes
  14687. ac_cv_func_strnlen=yes
  14688. ac_cv_func_strnstr=no
  14689. ac_cv_func_sysctlbyname=no
  14690. ac_cv_func_timegm=yes
  14691. ac_cv_func_vsnprintf=yes
  14692. ac_cv_have_control_in_msghdr=yes
  14693. ac_cv_have_decl_lt_dlinterface_register=yes
  14694. ac_cv_have_lresolv=' -lresolv'
  14695. ac_cv_have_lresolv_lresolv=yes
  14696. ac_cv_have_lresolv_std=no
  14697. ac_cv_header_argz_h=yes
  14698. ac_cv_header_bzlib_h=yes
  14699. ac_cv_header_check_h=no
  14700. ac_cv_header_dirent_h=yes
  14701. ac_cv_header_dl_h=no
  14702. ac_cv_header_dld_h=no
  14703. ac_cv_header_dlfcn_h=yes
  14704. ac_cv_header_grp_h=yes
  14705. ac_cv_header_iconv_h=yes
  14706. ac_cv_header_inttypes_h=yes
  14707. ac_cv_header_limits_h=yes
  14708. ac_cv_header_localcharset_h=no
  14709. ac_cv_header_ltdl_h=yes
  14710. ac_cv_header_mach_o_dyld_h=no
  14711. ac_cv_header_malloc_h=yes
  14712. ac_cv_header_memory_h=yes
  14713. ac_cv_header_minix_config_h=no
  14714. ac_cv_header_ncurses_ncurses_h=yes
  14715. ac_cv_header_ndir_h=no
  14716. ac_cv_header_poll_h=yes
  14717. ac_cv_header_pthread_h=yes
  14718. ac_cv_header_pwd_h=yes
  14719. ac_cv_header_resolv_h=yes
  14720. ac_cv_header_stdbool_h=yes
  14721. ac_cv_header_stdc=yes
  14722. ac_cv_header_stdint_h=yes
  14723. ac_cv_header_stdlib_h=yes
  14724. ac_cv_header_string_h=yes
  14725. ac_cv_header_strings_h=yes
  14726. ac_cv_header_sys_cdefs_h=yes
  14727. ac_cv_header_sys_dl_h=no
  14728. ac_cv_header_sys_filio_h=no
  14729. ac_cv_header_sys_int_types_h=no
  14730. ac_cv_header_sys_inttypes_h=no
  14731. ac_cv_header_sys_mman_h=yes
  14732. ac_cv_header_sys_param_h=yes
  14733. ac_cv_header_sys_queue_h=yes
  14734. ac_cv_header_sys_stat_h=yes
  14735. ac_cv_header_sys_times_h=yes
  14736. ac_cv_header_sys_types_h=yes
  14737. ac_cv_header_sys_uio_h=yes
  14738. ac_cv_header_syslog_h=yes
  14739. ac_cv_header_termios_h=yes
  14740. ac_cv_header_unistd_h=yes
  14741. ac_cv_host=x86_64-pc-linux-gnu
  14742. ac_cv_ld_version_script=yes
  14743. ac_cv_lib_bz2_BZ2_bzDecompressInit=yes
  14744. ac_cv_lib_charset_locale_charset=no
  14745. ac_cv_lib_crypto_CRYPTO_free=yes
  14746. ac_cv_lib_curl_curl_easy_init=yes
  14747. ac_cv_lib_dl_dlopen=yes
  14748. ac_cv_lib_dld_dld_link=no
  14749. ac_cv_lib_dld_shl_load=no
  14750. ac_cv_lib_lex='none needed'
  14751. ac_cv_lib_ltdl_lt_dladvise_preload=yes
  14752. ac_cv_lib_m_cos=yes
  14753. ac_cv_lib_socket_bind=no
  14754. ac_cv_lib_ssl_X509_VERIFY_PARAM_new=yes
  14755. ac_cv_lib_xml2_xmlTextReaderRead=yes
  14756. ac_cv_libbz2_cppflags=
  14757. ac_cv_libbz2_libs=-lbz2
  14758. ac_cv_libbz2_ltlibs=-lbz2
  14759. ac_cv_libbz2_prefix=
  14760. ac_cv_objc_compiler_gnu=no
  14761. ac_cv_objext=o
  14762. ac_cv_path_EGREP='/usr/bin/grep -E'
  14763. ac_cv_path_FGREP='/usr/bin/grep -F'
  14764. ac_cv_path_GREP=/usr/bin/grep
  14765. ac_cv_path_SED=/usr/bin/sed
  14766. ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
  14767. ac_cv_path_curl_config=/usr/bin/curl-config
  14768. ac_cv_path_install='/usr/bin/install -c'
  14769. ac_cv_path_lt_DD=/usr/bin/dd
  14770. ac_cv_path_mkdir=/usr/bin/mkdir
  14771. ac_cv_path_pcreconfig=/usr/bin/pcre2-config
  14772. ac_cv_path_xmlconfig=/usr/bin/xml2-config
  14773. ac_cv_prog_AWK=gawk
  14774. ac_cv_prog_CPP='gcc -E'
  14775. ac_cv_prog_CXXCPP='g++ -E'
  14776. ac_cv_prog_LEX=flex
  14777. ac_cv_prog_YACC='bison -y'
  14778. ac_cv_prog_ac_ct_AR=ar
  14779. ac_cv_prog_ac_ct_CC=gcc
  14780. ac_cv_prog_ac_ct_CXX=g++
  14781. ac_cv_prog_ac_ct_OBJC=gcc
  14782. ac_cv_prog_ac_ct_OBJDUMP=objdump
  14783. ac_cv_prog_ac_ct_RANLIB=ranlib
  14784. ac_cv_prog_ac_ct_STRIP=strip
  14785. ac_cv_prog_cc_c89=
  14786. ac_cv_prog_cc_g=yes
  14787. ac_cv_prog_cxx_g=yes
  14788. ac_cv_prog_lex_root=lex.yy
  14789. ac_cv_prog_lex_yytext_pointer=no
  14790. ac_cv_prog_make_make_set=yes
  14791. ac_cv_prog_objc_g=no
  14792. ac_cv_safe_to_define___extensions__=yes
  14793. ac_cv_search_dlopen=-ldl
  14794. ac_cv_search_gethostent='none required'
  14795. ac_cv_search_json_object_object_get_ex=-ljson-c
  14796. ac_cv_sizeof_int=4
  14797. ac_cv_sizeof_long=8
  14798. ac_cv_sizeof_long_long=8
  14799. ac_cv_sizeof_short=2
  14800. ac_cv_sizeof_void_p=8
  14801. ac_cv_socklen_t=yes
  14802. ac_cv_sys_file_offset_bits=no
  14803. ac_cv_sys_largefile_CC=no
  14804. ac_cv_sys_largefile_source=no
  14805. ac_cv_target=x86_64-pc-linux-gnu
  14806. ac_cv_type_error_t=yes
  14807. ac_cv_type_off_t=yes
  14808. acl_cv_hardcode_direct=no
  14809. acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  14810. acl_cv_hardcode_libdir_separator=
  14811. acl_cv_hardcode_minus_L=no
  14812. acl_cv_libext=a
  14813. acl_cv_libname_spec='lib$name'
  14814. acl_cv_library_names_spec='$libname$shrext'
  14815. acl_cv_path_LD='/usr/bin/ld -m elf_x86_64'
  14816. acl_cv_prog_gnu_ld=yes
  14817. acl_cv_rpath=done
  14818. acl_cv_shlibext=so
  14819. acl_cv_wl=-Wl,
  14820. am_cv_CC_dependencies_compiler_type=gcc3
  14821. am_cv_CXX_dependencies_compiler_type=gcc3
  14822. am_cv_OBJC_dependencies_compiler_type=gcc3
  14823. am_cv_ar_interface=ar
  14824. am_cv_func_iconv=yes
  14825. am_cv_func_iconv_works=yes
  14826. am_cv_lib_iconv=no
  14827. am_cv_make_support_nested_variables=yes
  14828. am_cv_prog_cc_c_o=yes
  14829. am_cv_prog_tar_ustar=gnutar
  14830. am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
  14831. am_cv_proto_iconv_arg1=
  14832. ax_cv_uname_syscall=yes
  14833. have_cv_attrib_aligned=yes
  14834. have_cv_attrib_packed=yes
  14835. have_cv_gai=yes
  14836. have_cv_ipv6=yes
  14837. have_cv_struct_pack=yes
  14838. libltdl_cv_lib_dl_dlopen=yes
  14839. libltdl_cv_preloaded_symbols=yes
  14840. libltdl_cv_shlibext=.so
  14841. libltdl_cv_shrext=.so
  14842. lt_cv_ar_at_file=@
  14843. lt_cv_archive_cmds_need_lc=no
  14844. lt_cv_deplibs_check_method=pass_all
  14845. lt_cv_dlopen=dlopen
  14846. lt_cv_dlopen_libs=-ldl
  14847. lt_cv_dlopen_self=yes
  14848. lt_cv_dlopen_self_static=yes
  14849. lt_cv_file_magic_cmd='$MAGIC_CMD'
  14850. lt_cv_file_magic_test_file=
  14851. lt_cv_ld_reload_flag=-r
  14852. lt_cv_module_path_var=LD_LIBRARY_PATH
  14853. lt_cv_nm_interface='BSD nm'
  14854. lt_cv_objdir=.libs
  14855. lt_cv_path_LD=/usr/bin/ld
  14856. lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
  14857. lt_cv_path_NM='/usr/bin/nm -B'
  14858. lt_cv_path_mainfest_tool=no
  14859. lt_cv_prog_compiler_c_o=yes
  14860. lt_cv_prog_compiler_c_o_CXX=yes
  14861. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  14862. lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
  14863. lt_cv_prog_compiler_pic_works=yes
  14864. lt_cv_prog_compiler_pic_works_CXX=yes
  14865. lt_cv_prog_compiler_rtti_exceptions=no
  14866. lt_cv_prog_compiler_static_works=no
  14867. lt_cv_prog_compiler_static_works_CXX=no
  14868. lt_cv_prog_gnu_ld=yes
  14869. lt_cv_prog_gnu_ldcxx=yes
  14870. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  14871. lt_cv_shlibpath_overrides_runpath=no
  14872. lt_cv_sys_argz_works=yes
  14873. lt_cv_sys_dlopen_deplibs=yes
  14874. lt_cv_sys_dlsearch_path='/lib /usr/lib /usr/lib64/dyninst '
  14875. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  14876. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
  14877. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
  14878. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  14879. lt_cv_sys_global_symbol_to_import=
  14880. lt_cv_sys_max_cmd_len=1572864
  14881. lt_cv_sys_symbol_underscore=no
  14882. lt_cv_to_host_file_cmd=func_convert_file_noop
  14883. lt_cv_to_tool_file_cmd=func_convert_file_noop
  14884. lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
  14885. pkg_cv_SYSTEMD_CFLAGS=' '
  14886. pkg_cv_SYSTEMD_LIBS='-lsystemd '
  14887. pkg_cv_ZLIB_CFLAGS=' '
  14888. pkg_cv_ZLIB_LIBS='-lz '
  14889.  
  14890. ## ----------------- ##
  14891. ## Output variables. ##
  14892. ## ----------------- ##
  14893.  
  14894. ACLOCAL='${SHELL} /tmp/config/missing aclocal-1.15'
  14895. AMDEPBACKSLASH='\'
  14896. AMDEP_FALSE='#'
  14897. AMDEP_TRUE=''
  14898. AMTAR='$${TAR-tar}'
  14899. AM_BACKSLASH='\'
  14900. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  14901. AM_DEFAULT_VERBOSITY='0'
  14902. AM_V='$(V)'
  14903. AR='ar'
  14904. AUTOCONF='${SHELL} /tmp/config/missing autoconf'
  14905. AUTOHEADER='${SHELL} /tmp/config/missing autoheader'
  14906. AUTOMAKE='${SHELL} /tmp/config/missing automake-1.15'
  14907. AWK='gawk'
  14908. BUILD_CLAMD_FALSE='#'
  14909. BUILD_CLAMD_TRUE=''
  14910. BUILD_CLAMONACC_FALSE='#'
  14911. BUILD_CLAMONACC_TRUE=''
  14912. BUILD_CONFIGURE_FLAGS=''
  14913. BUILD_LIBCLAMAV_ONLY_FALSE=''
  14914. BUILD_LIBCLAMAV_ONLY_TRUE='#'
  14915. CC='gcc'
  14916. CCDEPMODE='depmode=gcc3'
  14917. CFGDIR='/usr/local/etc'
  14918. CFLAGS='-g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
  14919. CHECK_CFLAGS=''
  14920. CHECK_CPPFLAGS=''
  14921. CHECK_LIBS=''
  14922. CLAMAVGROUP=''
  14923. CLAMAVUSER=''
  14924. CLAMAV_MILTER_CPPFLAGS=''
  14925. CLAMAV_MILTER_LIBS=''
  14926. CLAMBC_CPPFLAGS=''
  14927. CLAMBC_LIBS=''
  14928. CLAMCONF_CPPFLAGS=''
  14929. CLAMCONF_LIBS=''
  14930. CLAMDSCAN_CPPFLAGS=''
  14931. CLAMDSCAN_LIBS=''
  14932. CLAMDTOP_CPPFLAGS=''
  14933. CLAMDTOP_LIBS=''
  14934. CLAMD_CPPFLAGS=''
  14935. CLAMD_LIBS=' -lsystemd '
  14936. CLAMMEM_CPPFLAGS=''
  14937. CLAMMEM_LIBS=''
  14938. CLAMONACC_CPPFLAGS=''
  14939. CLAMONACC_LIBS=''
  14940. CLAMSCAN_CPPFLAGS=''
  14941. CLAMSCAN_LIBS=''
  14942. CLAMSUBMIT_CFLAGS=' '
  14943. CLAMSUBMIT_LIBS=' -lcurl'
  14944. CONVENIENCE_LTDL_FALSE='#'
  14945. CONVENIENCE_LTDL_TRUE=''
  14946. CPP='gcc -E'
  14947. CPPFLAGS=''
  14948. CURL_CPPFLAGS=''
  14949. CURL_LDFLAGS=''
  14950. CURL_LIBS='-lcurl'
  14951. CURSES_CPPFLAGS=''
  14952. CURSES_LIBS='-lncurses'
  14953. CXX='g++'
  14954. CXXCPP='g++ -E'
  14955. CXXDEPMODE='depmode=gcc3'
  14956. CXXFLAGS='-g -O2'
  14957. CYGPATH_W='echo'
  14958. DBDIR='/usr/local/share/clamav'
  14959. DEFINE_SF32_PREFIX='#define _SF32_PREFIX ""'
  14960. DEFINE_SF64_PREFIX='#define _SF64_PREFIX "l"'
  14961. DEFS='-DHAVE_CONFIG_H'
  14962. DEPDIR='.deps'
  14963. DLLTOOL='false'
  14964. DSYMUTIL=''
  14965. DUMPBIN=''
  14966. ECHO_C=''
  14967. ECHO_N='-n'
  14968. ECHO_T=''
  14969. EGREP='/usr/bin/grep -E'
  14970. ENABLE_CLAMSUBMIT_FALSE='#'
  14971. ENABLE_CLAMSUBMIT_TRUE=''
  14972. ENABLE_COVERAGE_FALSE=''
  14973. ENABLE_COVERAGE_TRUE='#'
  14974. ENABLE_FUZZ_FALSE=''
  14975. ENABLE_FUZZ_TRUE='#'
  14976. ENABLE_LLVM_FALSE=''
  14977. ENABLE_LLVM_TRUE='#'
  14978. ENABLE_UNRAR_FALSE='#'
  14979. ENABLE_UNRAR_TRUE=''
  14980. ENABLE_YARA_FALSE='#'
  14981. ENABLE_YARA_TRUE=''
  14982. EXEEXT=''
  14983. FGREP='/usr/bin/grep -F'
  14984. FRESHCLAM_CPPFLAGS=' '
  14985. FRESHCLAM_LIBS=' -lresolv -lcurl'
  14986. GCOV=''
  14987. GENERATE_WARNING='Warning: This file is generated with ./configure. Do not edit!'
  14988. GENHTML=''
  14989. GETENT=''
  14990. GPERF='${SHELL} /tmp/config/missing gperf'
  14991. GREP='/usr/bin/grep'
  14992. HAVE_CURSES_FALSE='#'
  14993. HAVE_CURSES_TRUE=''
  14994. HAVE_LIBBZ2_FALSE='#'
  14995. HAVE_LIBBZ2_TRUE=''
  14996. HAVE_LIBCHECK_FALSE=''
  14997. HAVE_LIBCHECK_TRUE='#'
  14998. HAVE_LIBXML2_FALSE=''
  14999. HAVE_LIBXML2_TRUE='#'
  15000. HAVE_MILTER_FALSE=''
  15001. HAVE_MILTER_TRUE='#'
  15002. HAVE_STRNI=''
  15003. HAVE_YARA=''
  15004. INCLTDL=''
  15005. INSTALL_DATA='${INSTALL} -m 644'
  15006. INSTALL_LTDL_FALSE=''
  15007. INSTALL_LTDL_TRUE='#'
  15008. INSTALL_PROGRAM='${INSTALL}'
  15009. INSTALL_SCRIPT='${INSTALL}'
  15010. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  15011. INSTALL_SYSTEMD_UNITS_FALSE='#'
  15012. INSTALL_SYSTEMD_UNITS_TRUE=''
  15013. INT16_DEF=''
  15014. INT32_DEF=''
  15015. INT64_DEF=''
  15016. INT8_DEF=''
  15017. INT_TYPES_HEADER='#include <inttypes.h>'
  15018. JSON_CPPFLAGS='-I/usr/include/json-c'
  15019. JSON_LDFLAGS=''
  15020. JSON_LIBS='-ljson-c '
  15021. LCOV=''
  15022. LD='/usr/bin/ld -m elf_x86_64'
  15023. LDFLAGS=''
  15024. LEX='flex'
  15025. LEXLIB=''
  15026. LEX_OUTPUT_ROOT='lex.yy'
  15027. LIBADD_DL='-ldl '
  15028. LIBADD_DLD_LINK=''
  15029. LIBADD_DLOPEN='-ldl'
  15030. LIBADD_SHL_LOAD=''
  15031. LIBBZ2='-lbz2'
  15032. LIBBZ2_PREFIX=''
  15033. LIBCLAMAV_CPPFLAGS=''
  15034. LIBCLAMAV_LIBS=' -lbz2'
  15035. LIBCLAMAV_VERSION='9:4:0'
  15036. LIBCLAMAV_VERSION_NUM='0x090400'
  15037. LIBCLAMSHARED_CPPFLAGS=''
  15038. LIBFRESHCLAM_VERSION='2:0:0'
  15039. LIBFRESHCLAM_VERSION_NUM='0x020000'
  15040. LIBICONV=''
  15041. LIBLTDL='-lltdl'
  15042. LIBM='-lm'
  15043. LIBMSPACK_CFLAGS=''
  15044. LIBMSPACK_LIBS=''
  15045. LIBOBJS=''
  15046. LIBPRELUDE_CFLAGS=''
  15047. LIBPRELUDE_CONFIG=''
  15048. LIBPRELUDE_CONFIG_PREFIX=''
  15049. LIBPRELUDE_LDFLAGS=''
  15050. LIBPRELUDE_LIBS=''
  15051. LIBPRELUDE_PREFIX=''
  15052. LIBPRELUDE_PTHREAD_CFLAGS=''
  15053. LIBS=''
  15054. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  15055. LINUX_FALSE='#'
  15056. LINUX_TRUE=''
  15057. LIPO=''
  15058. LN_S='ln -s'
  15059. LTDLDEPS=''
  15060. LTDLINCL=''
  15061. LTDLOPEN='libltdl'
  15062. LTLIBBZ2='-lbz2'
  15063. LTLIBICONV=''
  15064. LTLIBOBJS=''
  15065. LT_ARGZ_H=''
  15066. LT_CONFIG_H='clamav-config.h'
  15067. LT_DLLOADERS=' dlopen.la'
  15068. LT_DLPREOPEN='-dlpreopen dlopen.la '
  15069. LT_SYS_LIBRARY_PATH=''
  15070. MACOS_FALSE=''
  15071. MACOS_TRUE='#'
  15072. MAINT='#'
  15073. MAINTAINER_MODE_FALSE=''
  15074. MAINTAINER_MODE_TRUE='#'
  15075. MAKEINFO='${SHELL} /tmp/config/missing makeinfo'
  15076. MANIFEST_TOOL=':'
  15077. MKDIR_P='/usr/bin/mkdir -p'
  15078. NM='/usr/bin/nm -B'
  15079. NMEDIT=''
  15080. OBJC='gcc'
  15081. OBJCDEPMODE='depmode=gcc3'
  15082. OBJCFLAGS=''
  15083. OBJDUMP='objdump'
  15084. OBJEXT='o'
  15085. OTOOL64=''
  15086. OTOOL=''
  15087. PACKAGE='clamav'
  15088. PACKAGE_BUGREPORT='https://bugzilla.clamav.net/'
  15089. PACKAGE_NAME='ClamAV'
  15090. PACKAGE_STRING='ClamAV 0.102.0'
  15091. PACKAGE_TARNAME='clamav'
  15092. PACKAGE_URL='https://www.clamav.net/'
  15093. PACKAGE_VERSION='0.102.0'
  15094. PACKAGE_VERSION_NUM='0x006600'
  15095. PATH_SEPARATOR=':'
  15096. PCRE_CPPFLAGS=''
  15097. PCRE_LIBS='-lpcre2-8'
  15098. PKG_CONFIG='/usr/bin/pkg-config'
  15099. PKG_CONFIG_LIBDIR=''
  15100. PKG_CONFIG_PATH=''
  15101. RANLIB='ranlib'
  15102. SED='/usr/bin/sed'
  15103. SET_MAKE=''
  15104. SHELL='/bin/sh'
  15105. SIGTOOL_CPPFLAGS=''
  15106. SSL_CPPFLAGS=''
  15107. SSL_LDFLAGS=''
  15108. SSL_LIBS=' -lssl -lcrypto -lz'
  15109. STRIP='strip'
  15110. SYSTEMD_CFLAGS=' '
  15111. SYSTEMD_LIBS='-lsystemd '
  15112. SYSTEM_LFS_FTS_FALSE='#'
  15113. SYSTEM_LFS_FTS_TRUE=''
  15114. THREAD_LIBS='-lpthread'
  15115. TH_SAFE='-thread-safe'
  15116. UINT16_DEF=''
  15117. UINT32_DEF=''
  15118. UINT64_DEF=''
  15119. UINT8_DEF=''
  15120. USE_INTERNAL_MSPACK_FALSE='#'
  15121. USE_INTERNAL_MSPACK_TRUE=''
  15122. VERSION='0.102.0'
  15123. VERSIONSCRIPTFLAG='--version-script'
  15124. VERSIONSCRIPT_FALSE='#'
  15125. VERSIONSCRIPT_TRUE=''
  15126. WERR_CFLAGS=''
  15127. WERR_CFLAGS_MILTER=''
  15128. WINDOWS_FALSE=''
  15129. WINDOWS_TRUE='#'
  15130. XML_CPPFLAGS='-I/usr/include/libxml2'
  15131. XML_LIBS='-lxml2 -lz -lm -ldl'
  15132. YACC='bison -y'
  15133. YFLAGS=''
  15134. ZLIB_CFLAGS=' '
  15135. ZLIB_LIBS='-lz '
  15136. ac_ct_AR='ar'
  15137. ac_ct_CC='gcc'
  15138. ac_ct_CXX='g++'
  15139. ac_ct_DUMPBIN=''
  15140. ac_ct_OBJC='gcc'
  15141. am__EXEEXT_FALSE=''
  15142. am__EXEEXT_TRUE='#'
  15143. am__fastdepCC_FALSE='#'
  15144. am__fastdepCC_TRUE=''
  15145. am__fastdepCXX_FALSE='#'
  15146. am__fastdepCXX_TRUE=''
  15147. am__fastdepOBJC_FALSE='#'
  15148. am__fastdepOBJC_TRUE=''
  15149. am__include='include'
  15150. am__isrc=''
  15151. am__leading_dot='.'
  15152. am__nodep='_no'
  15153. am__quote=''
  15154. am__tar='tar --format=ustar -chf - "$$tardir"'
  15155. am__untar='tar -xf -'
  15156. bindir='${exec_prefix}/bin'
  15157. build='x86_64-pc-linux-gnu'
  15158. build_alias=''
  15159. build_cpu='x86_64'
  15160. build_os='linux-gnu'
  15161. build_vendor='pc'
  15162. curl_config='/usr/bin/curl-config'
  15163. datadir='${datarootdir}'
  15164. datarootdir='${prefix}/share'
  15165. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  15166. dvidir='${docdir}'
  15167. exec_prefix='${prefix}'
  15168. host='x86_64-pc-linux-gnu'
  15169. host_alias=''
  15170. host_cpu='x86_64'
  15171. host_os='linux-gnu'
  15172. host_vendor='pc'
  15173. htmldir='${docdir}'
  15174. includedir='${prefix}/include'
  15175. infodir='${datarootdir}/info'
  15176. install_sh='${SHELL} /tmp/config/install-sh'
  15177. libdir='${exec_prefix}/lib64'
  15178. libexecdir='${exec_prefix}/libexec'
  15179. llvmconfig=''
  15180. localedir='${datarootdir}/locale'
  15181. localstatedir='${prefix}/var'
  15182. ltdl_LIBOBJS=' lt__strl.o'
  15183. ltdl_LTLIBOBJS=' lt__strl.lo'
  15184. mandir='${datarootdir}/man'
  15185. mkdir_p='$(MKDIR_P)'
  15186. oldincludedir='/usr/include'
  15187. pcreconfig='/usr/bin/pcre2-config'
  15188. pdfdir='${docdir}'
  15189. prefix='/usr/local'
  15190. program_transform_name='s,x,x,'
  15191. psdir='${docdir}'
  15192. runstatedir='${localstatedir}/run'
  15193. sbindir='${exec_prefix}/sbin'
  15194. sharedstatedir='${prefix}/com'
  15195. subdirs=''
  15196. sys_symbol_underscore='no'
  15197. sysconfdir='${prefix}/etc'
  15198. systemdsystemunitdir='/usr/lib/systemd/system'
  15199. target='x86_64-pc-linux-gnu'
  15200. target_alias=''
  15201. target_cpu='x86_64'
  15202. target_os='linux-gnu'
  15203. target_vendor='pc'
  15204. xmlconfig='/usr/bin/xml2-config'
  15205.  
  15206. ## ----------- ##
  15207. ## confdefs.h. ##
  15208. ## ----------- ##
  15209.  
  15210. /* confdefs.h */
  15211. #define PACKAGE_NAME "ClamAV"
  15212. #define PACKAGE_TARNAME "clamav"
  15213. #define PACKAGE_VERSION "0.102.0"
  15214. #define PACKAGE_STRING "ClamAV 0.102.0"
  15215. #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
  15216. #define PACKAGE_URL "https://www.clamav.net/"
  15217. #define PACKAGE PACKAGE_NAME
  15218. #define STDC_HEADERS 1
  15219. #define HAVE_SYS_TYPES_H 1
  15220. #define HAVE_SYS_STAT_H 1
  15221. #define HAVE_STDLIB_H 1
  15222. #define HAVE_STRING_H 1
  15223. #define HAVE_MEMORY_H 1
  15224. #define HAVE_STRINGS_H 1
  15225. #define HAVE_INTTYPES_H 1
  15226. #define HAVE_STDINT_H 1
  15227. #define HAVE_UNISTD_H 1
  15228. #define __EXTENSIONS__ 1
  15229. #define _ALL_SOURCE 1
  15230. #define _GNU_SOURCE 1
  15231. #define _POSIX_PTHREAD_SEMANTICS 1
  15232. #define _TANDEM_SOURCE 1
  15233. #define LIBCLAMAV_FULLVER "9.0.4"
  15234. #define LIBCLAMAV_MAJORVER 9
  15235. #define LIBFRESHCLAM_FULLVER "2.0.0"
  15236. #define LIBFRESHCLAM_MAJORVER 2
  15237. #define VERSION "0.102.0"
  15238. #define VERSION_SUFFIX ""
  15239. #define HAVE_DLFCN_H 1
  15240. #define LT_OBJDIR ".libs/"
  15241. #define LT_MODULE_EXT ".so"
  15242. #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
  15243. #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/dyninst"
  15244. #define HAVE_LIBDL 1
  15245. #define HAVE_DLERROR 1
  15246. #define HAVE_LIBDLLOADER 1
  15247. #define HAVE_ARGZ_H 1
  15248. #define HAVE_ERROR_T 1
  15249. #define HAVE_ARGZ_ADD 1
  15250. #define HAVE_ARGZ_APPEND 1
  15251. #define HAVE_ARGZ_COUNT 1
  15252. #define HAVE_ARGZ_CREATE_SEP 1
  15253. #define HAVE_ARGZ_INSERT 1
  15254. #define HAVE_ARGZ_NEXT 1
  15255. #define HAVE_ARGZ_STRINGIFY 1
  15256. #define HAVE_WORKING_ARGZ 1
  15257. #define HAVE_PRELOADED_SYMBOLS 1
  15258. #define HAVE_LTDL 1
  15259. #define HAVE_UNISTD_H 1
  15260. #define HAVE_DIRENT_H 1
  15261. #define HAVE_CLOSEDIR 1
  15262. #define HAVE_OPENDIR 1
  15263. #define HAVE_READDIR 1
  15264. #define LT_LIBEXT "a"
  15265. #define LT_LIBPREFIX "lib"
  15266. #define HAVE_STDINT_H 1
  15267. #define HAVE_UNISTD_H 1
  15268. #define HAVE_DLFCN_H 1
  15269. #define HAVE_INTTYPES_H 1
  15270. #define HAVE_SYS_TIMES_H 1
  15271. #define HAVE_MEMORY_H 1
  15272. #define HAVE_STDLIB_H 1
  15273. #define HAVE_STRINGS_H 1
  15274. #define HAVE_STRING_H 1
  15275. #define HAVE_SYS_MMAN_H 1
  15276. #define HAVE_SYS_PARAM_H 1
  15277. #define HAVE_SYS_STAT_H 1
  15278. #define HAVE_SYS_TYPES_H 1
  15279. #define HAVE_MALLOC_H 1
  15280. #define HAVE_POLL_H 1
  15281. #define HAVE_LIMITS_H 1
  15282. #define HAVE_SYS_UIO_H 1
  15283. #define HAVE_TERMIOS_H 1
  15284. #define HAVE_STDBOOL_H 1
  15285. #define HAVE_PWD_H 1
  15286. #define HAVE_GRP_H 1
  15287. #define HAVE_SYS_QUEUE_H 1
  15288. #define HAVE_SYS_CDEFS_H 1
  15289. #define USE_SYSLOG 1
  15290. #define HAVE_PTHREAD_H 1
  15291. #define SCANBUFF 131072
  15292. #define FILEBUFF 8192
  15293. #define restrict __restrict
  15294. #define SIZEOF_SHORT 2
  15295. #define SIZEOF_INT 4
  15296. #define SIZEOF_LONG 8
  15297. #define SIZEOF_LONG_LONG 8
  15298. #define SIZEOF_VOID_P 8
  15299. #define HAVE_UNAME_SYSCALL 1
  15300. #define HAVE_POLL 1
  15301. #define HAVE_SETSID 1
  15302. #define HAVE_MEMCPY 1
  15303. #define HAVE_SNPRINTF 1
  15304. #define HAVE_VSNPRINTF 1
  15305. #define HAVE_STRERROR_R 1
  15306. #define HAVE_STRCASESTR 1
  15307. #define HAVE_INET_NTOP 1
  15308. #define HAVE_SETGROUPS 1
  15309. #define HAVE_INITGROUPS 1
  15310. #define HAVE_CTIME_R 1
  15311. #define HAVE_MKSTEMP 1
  15312. #define HAVE_MALLINFO 1
  15313. #define HAVE_MADVISE 1
  15314. #define HAVE_GETNAMEINFO 1
  15315. #define HAVE_STRNDUP 1
  15316. #define HAVE_STRNLEN 1
  15317. #define HAVE_FSEEKO 1
  15318. #define HAVE_MMAP 1
  15319. #define HAVE_SYSCONF_SC_PAGESIZE 1
  15320. #define HAVE_GETPAGESIZE 1
  15321. #define ANONYMOUS_MAP MAP_ANONYMOUS
  15322. #define HAVE_TIMEGM 1
  15323. #define USE_MPOOL 1
  15324. #define HAVE_LIBXML2 1
  15325. #define HAVE_LIBSSL 1
  15326. #define HAVE_JSON 1
  15327. #define HAVE_PCRE 1
  15328. #define USING_PCRE2 1
  15329. #define HAVE_BZLIB_H 1
  15330. #define HAVE_GETADDRINFO 1
  15331. #define HAVE_SYSTEMD /**/
  15332. #define HAVE_LIBNCURSES 1
  15333. #define CURSES_INCLUDE <ncurses/ncurses.h>
  15334. #define HAVE_YARA 1
  15335. #define C_LINUX 1
  15336. #define HAVE_CTIME_R_2 1
  15337. #define HAVE_RECVMSG 1
  15338. #define HAVE_SENDMSG 1
  15339. #define HAVE_FD_PASSING 1
  15340. #define HAVE_IN_PORT_T 1
  15341. #define HAVE_IN_ADDR_T 1
  15342. #define HAVE_SCHED_YIELD 1
  15343. #define HAVE_PTHREAD_YIELD 1
  15344. #define BUILD_CLAMD 1
  15345. #define CL_THREAD_SAFE 1
  15346. #define _REENTRANT 1
  15347. #define HAVE_ATTRIB_PACKED 1
  15348. #define HAVE_ATTRIB_ALIGNED 1
  15349. #define HAVE_SYS_SELECT_H 1
  15350. #define DEFAULT_FD_SETSIZE 1024
  15351. #define HAVE_STAT64 1
  15352. #define HAVE_SAR 1
  15353. #define HAVE_SYSTEM_LFS_FTS 1
  15354. #define HAVE_ICONV 1
  15355. #define ICONV_CONST
  15356. #define HAVE_ICONV_H 1
  15357. #define DATADIR "/usr/local/share/clamav"
  15358. #define SUPPORT_IPv6 1
  15359. #define HAVE_RESOLV_H 1
  15360. #define SETPGRP_VOID 1
  15361. #define CLAMAVUSER "clamav"
  15362. #define CLAMAVGROUP "clamav"
  15363. #define NDEBUG 1
  15364. #define CONFDIR "/usr/local/etc"
  15365.  
  15366. configure: exit 0
Add Comment
Please, Sign In to add comment