Guest User

Untitled

a guest
Jun 11th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 470.65 KB | None | 0 0
  1.  
  2. This file contains any messages produced by compilers while
  3. running configure, to aid debugging if configure makes a mistake.
  4.  
  5. It was created by OLA configure 0.10.6, which was
  6. generated by GNU Autoconf 2.69. Invocation command line was
  7.  
  8. $ ./configure
  9.  
  10. ## --------- ##
  11. ## Platform. ##
  12. ## --------- ##
  13.  
  14. hostname = uwbclient01
  15. uname -m = x86_64
  16. uname -r = 4.13.0-43-generic
  17. uname -s = Linux
  18. uname -v = #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018
  19.  
  20. /usr/bin/uname -p = unknown
  21. /bin/uname -X = unknown
  22.  
  23. /bin/arch = unknown
  24. /usr/bin/arch -k = unknown
  25. /usr/convex/getsysinfo = unknown
  26. /usr/bin/hostinfo = unknown
  27. /bin/machine = unknown
  28. /usr/bin/oslevel = unknown
  29. /bin/universe = unknown
  30.  
  31. PATH: /opt/ros/kinetic/bin
  32. PATH: /home/uwbclient01/bin
  33. PATH: /home/uwbclient01/.local/bin
  34. PATH: /usr/local/sbin
  35. PATH: /usr/local/bin
  36. PATH: /usr/sbin
  37. PATH: /usr/bin
  38. PATH: /sbin
  39. PATH: /bin
  40. PATH: /usr/games
  41. PATH: /usr/local/games
  42. PATH: /snap/bin
  43.  
  44.  
  45. ## ----------- ##
  46. ## Core tests. ##
  47. ## ----------- ##
  48.  
  49. configure:3225: checking for a BSD-compatible install
  50. configure:3293: result: /usr/bin/install -c
  51. configure:3304: checking whether build environment is sane
  52. configure:3359: result: yes
  53. configure:3510: checking for a thread-safe mkdir -p
  54. configure:3549: result: /bin/mkdir -p
  55. configure:3556: checking for gawk
  56. configure:3586: result: no
  57. configure:3556: checking for mawk
  58. configure:3572: found /usr/bin/mawk
  59. configure:3583: result: mawk
  60. configure:3594: checking whether make sets $(MAKE)
  61. configure:3616: result: yes
  62. configure:3645: checking whether make supports nested variables
  63. configure:3662: result: yes
  64. configure:3865: checking for g++
  65. configure:3881: found /usr/bin/g++
  66. configure:3892: result: g++
  67. configure:3919: checking for C++ compiler version
  68. configure:3928: g++ --version >&5
  69. g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
  70. Copyright (C) 2015 Free Software Foundation, Inc.
  71. This is free software; see the source for copying conditions. There is NO
  72. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  73.  
  74. configure:3939: $? = 0
  75. configure:3928: g++ -v >&5
  76. Using built-in specs.
  77. COLLECT_GCC=g++
  78. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
  79. Target: x86_64-linux-gnu
  80. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
  81. --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
  82. --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin
  83. --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
  84. --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror
  85. --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
  86. --target=x86_64-linux-gnu
  87. Thread model: posix
  88. gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
  89. configure:3939: $? = 0
  90. configure:3928: g++ -V >&5
  91. g++: error: unrecognized command line option '-V'
  92. g++: fatal error: no input files
  93. compilation terminated.
  94. configure:3939: $? = 1
  95. configure:3928: g++ -qversion >&5
  96. g++: error: unrecognized command line option '-qversion'
  97. g++: fatal error: no input files
  98. compilation terminated.
  99. configure:3939: $? = 1
  100. configure:3959: checking whether the C++ compiler works
  101. configure:3981: g++ conftest.cpp >&5
  102. configure:3985: $? = 0
  103. configure:4033: result: yes
  104. configure:4036: checking for C++ compiler default output file name
  105. configure:4038: result: a.out
  106. configure:4044: checking for suffix of executables
  107. configure:4051: g++ -o conftest conftest.cpp >&5
  108. configure:4055: $? = 0
  109. configure:4077: result:
  110. configure:4099: checking whether we are cross compiling
  111. configure:4107: g++ -o conftest conftest.cpp >&5
  112. configure:4111: $? = 0
  113. configure:4118: ./conftest
  114. configure:4122: $? = 0
  115. configure:4137: result: no
  116. configure:4142: checking for suffix of object files
  117. configure:4164: g++ -c conftest.cpp >&5
  118. configure:4168: $? = 0
  119. configure:4189: result: o
  120. configure:4193: checking whether we are using the GNU C++ compiler
  121. configure:4212: g++ -c conftest.cpp >&5
  122. configure:4212: $? = 0
  123. configure:4221: result: yes
  124. configure:4230: checking whether g++ accepts -g
  125. configure:4250: g++ -c -g conftest.cpp >&5
  126. configure:4250: $? = 0
  127. configure:4291: result: yes
  128. configure:4325: checking for style of include used by make
  129. configure:4353: result: GNU
  130. configure:4379: checking dependency style of g++
  131. configure:4490: result: gcc3
  132. configure:4509: checking for gawk
  133. configure:4536: result: mawk
  134. configure:4595: checking for gcc
  135. configure:4611: found /usr/bin/gcc
  136. configure:4622: result: gcc
  137. configure:4851: checking for C compiler version
  138. configure:4860: gcc --version >&5
  139. gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
  140. Copyright (C) 2015 Free Software Foundation, Inc.
  141. This is free software; see the source for copying conditions. There is NO
  142. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  143.  
  144. configure:4871: $? = 0
  145. configure:4860: gcc -v >&5
  146. Using built-in specs.
  147. COLLECT_GCC=gcc
  148. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
  149. Target: x86_64-linux-gnu
  150. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
  151. --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
  152. --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin
  153. --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
  154. --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror
  155. --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
  156. --target=x86_64-linux-gnu
  157. Thread model: posix
  158. gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
  159. configure:4871: $? = 0
  160. configure:4860: gcc -V >&5
  161. gcc: error: unrecognized command line option '-V'
  162. gcc: fatal error: no input files
  163. compilation terminated.
  164. configure:4871: $? = 1
  165. configure:4860: gcc -qversion >&5
  166. gcc: error: unrecognized command line option '-qversion'
  167. gcc: fatal error: no input files
  168. compilation terminated.
  169. configure:4871: $? = 1
  170. configure:4875: checking whether we are using the GNU C compiler
  171. configure:4894: gcc -c conftest.c >&5
  172. configure:4894: $? = 0
  173. configure:4903: result: yes
  174. configure:4912: checking whether gcc accepts -g
  175. configure:4932: gcc -c -g conftest.c >&5
  176. configure:4932: $? = 0
  177. configure:4973: result: yes
  178. configure:4990: checking for gcc option to accept ISO C89
  179. configure:5053: gcc -c -g -O2 conftest.c >&5
  180. configure:5053: $? = 0
  181. configure:5066: result: none needed
  182. configure:5091: checking whether gcc understands -c and -o together
  183. configure:5113: gcc -c conftest.c -o conftest2.o
  184. configure:5116: $? = 0
  185. configure:5113: gcc -c conftest.c -o conftest2.o
  186. configure:5116: $? = 0
  187. configure:5128: result: yes
  188. configure:5147: checking dependency style of gcc
  189. configure:5258: result: gcc3
  190. configure:5278: checking how to run the C preprocessor
  191. configure:5309: gcc -E conftest.c
  192. configure:5309: $? = 0
  193. configure:5323: gcc -E conftest.c
  194. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  195. compilation terminated.
  196. configure:5323: $? = 1
  197. configure: failed program was:
  198. | /* confdefs.h */
  199. | #define PACKAGE_NAME "OLA"
  200. | #define PACKAGE_TARNAME "ola"
  201. | #define PACKAGE_VERSION "0.10.6"
  202. | #define PACKAGE_STRING "OLA 0.10.6"
  203. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  204. | #define PACKAGE_URL ""
  205. | #define PACKAGE "ola"
  206. | #define VERSION "0.10.6"
  207. | /* end confdefs.h. */
  208. | #include <ac_nonexistent.h>
  209. configure:5348: result: gcc -E
  210. configure:5368: gcc -E conftest.c
  211. configure:5368: $? = 0
  212. configure:5382: gcc -E conftest.c
  213. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  214. compilation terminated.
  215. configure:5382: $? = 1
  216. configure: failed program was:
  217. | /* confdefs.h */
  218. | #define PACKAGE_NAME "OLA"
  219. | #define PACKAGE_TARNAME "ola"
  220. | #define PACKAGE_VERSION "0.10.6"
  221. | #define PACKAGE_STRING "OLA 0.10.6"
  222. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  223. | #define PACKAGE_URL ""
  224. | #define PACKAGE "ola"
  225. | #define VERSION "0.10.6"
  226. | /* end confdefs.h. */
  227. | #include <ac_nonexistent.h>
  228. configure:5411: checking whether ln -s works
  229. configure:5415: result: yes
  230. configure:5422: checking whether make sets $(MAKE)
  231. configure:5444: result: yes
  232. configure:5456: checking for -std=gnu++98 support
  233. configure:5475: g++ -c -g -O2 -std=gnu++98 -Wall -Werror conftest.cpp >&5
  234. configure:5475: $? = 0
  235. configure:5485: result: yes
  236. configure:5498: checking for -std=gnu++11 support
  237. configure:5516: g++ -c -g -O2 -std=gnu++11 -Wall -Werror conftest.cpp >&5
  238. configure:5516: $? = 0
  239. configure:5526: result: yes
  240. configure:5593: checking for pkg-config
  241. configure:5611: found /usr/bin/pkg-config
  242. configure:5623: result: /usr/bin/pkg-config
  243. configure:5648: checking pkg-config is at least version 0.9.0
  244. configure:5651: result: yes
  245. configure:5667: checking for CPPUNIT1
  246. configure:5674: $PKG_CONFIG --exists --print-errors "cppunit < 1.14.0"
  247. configure:5677: $? = 0
  248. configure:5690: $PKG_CONFIG --exists --print-errors "cppunit < 1.14.0"
  249. configure:5693: $? = 0
  250. configure:5866: result: yes
  251. configure:5892: checking for dirent.h that defines DIR
  252. configure:5911: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  253. configure:5911: $? = 0
  254. configure:5919: result: yes
  255. configure:5932: checking for library containing opendir
  256. configure:5963: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  257. configure:5963: $? = 0
  258. configure:5980: result: none required
  259. configure:6050: checking for sys/types.h
  260. configure:6050: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  261. configure:6050: $? = 0
  262. configure:6050: result: yes
  263. configure:6050: checking for netinet/in.h
  264. configure:6050: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  265. configure:6050: $? = 0
  266. configure:6050: result: yes
  267. configure:6050: checking for arpa/nameser.h
  268. configure:6050: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  269. configure:6050: $? = 0
  270. configure:6050: result: yes
  271. configure:6050: checking for netdb.h
  272. configure:6050: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  273. configure:6050: $? = 0
  274. configure:6050: result: yes
  275. configure:6050: checking for resolv.h
  276. configure:6050: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  277. configure:6050: $? = 0
  278. configure:6050: result: yes
  279. configure:6078: checking how to run the C++ preprocessor
  280. configure:6105: g++ -E conftest.cpp
  281. configure:6105: $? = 0
  282. configure:6119: g++ -E conftest.cpp
  283. conftest.cpp:17:28: fatal error: ac_nonexistent.h: No such file or directory
  284. compilation terminated.
  285. configure:6119: $? = 1
  286. configure: failed program was:
  287. | /* confdefs.h */
  288. | #define PACKAGE_NAME "OLA"
  289. | #define PACKAGE_TARNAME "ola"
  290. | #define PACKAGE_VERSION "0.10.6"
  291. | #define PACKAGE_STRING "OLA 0.10.6"
  292. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  293. | #define PACKAGE_URL ""
  294. | #define PACKAGE "ola"
  295. | #define VERSION "0.10.6"
  296. | #define HAVE_DIRENT_H 1
  297. | #define HAVE_SYS_TYPES_H 1
  298. | #define HAVE_NETINET_IN_H 1
  299. | #define HAVE_ARPA_NAMESER_H 1
  300. | #define HAVE_NETDB_H 1
  301. | #define HAVE_RESOLV_H 1
  302. | /* end confdefs.h. */
  303. | #include <ac_nonexistent.h>
  304. configure:6144: result: g++ -E
  305. configure:6164: g++ -E conftest.cpp
  306. configure:6164: $? = 0
  307. configure:6178: g++ -E conftest.cpp
  308. conftest.cpp:17:28: fatal error: ac_nonexistent.h: No such file or directory
  309. compilation terminated.
  310. configure:6178: $? = 1
  311. configure: failed program was:
  312. | /* confdefs.h */
  313. | #define PACKAGE_NAME "OLA"
  314. | #define PACKAGE_TARNAME "ola"
  315. | #define PACKAGE_VERSION "0.10.6"
  316. | #define PACKAGE_STRING "OLA 0.10.6"
  317. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  318. | #define PACKAGE_URL ""
  319. | #define PACKAGE "ola"
  320. | #define VERSION "0.10.6"
  321. | #define HAVE_DIRENT_H 1
  322. | #define HAVE_SYS_TYPES_H 1
  323. | #define HAVE_NETINET_IN_H 1
  324. | #define HAVE_ARPA_NAMESER_H 1
  325. | #define HAVE_NETDB_H 1
  326. | #define HAVE_RESOLV_H 1
  327. | /* end confdefs.h. */
  328. | #include <ac_nonexistent.h>
  329. configure:6207: checking for grep that handles long lines and -e
  330. configure:6265: result: /bin/grep
  331. configure:6270: checking for egrep
  332. configure:6332: result: /bin/grep -E
  333. configure:6337: checking for ANSI C header files
  334. configure:6357: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  335. configure:6357: $? = 0
  336. configure:6430: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  337. configure:6430: $? = 0
  338. configure:6430: ./conftest
  339. configure:6430: $? = 0
  340. configure:6441: result: yes
  341. configure:6455: checking for sys/types.h
  342. configure:6455: result: yes
  343. configure:6455: checking for sys/stat.h
  344. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  345. configure:6455: $? = 0
  346. configure:6455: result: yes
  347. configure:6455: checking for stdlib.h
  348. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  349. configure:6455: $? = 0
  350. configure:6455: result: yes
  351. configure:6455: checking for string.h
  352. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  353. configure:6455: $? = 0
  354. configure:6455: result: yes
  355. configure:6455: checking for memory.h
  356. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  357. configure:6455: $? = 0
  358. configure:6455: result: yes
  359. configure:6455: checking for strings.h
  360. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  361. configure:6455: $? = 0
  362. configure:6455: result: yes
  363. configure:6455: checking for inttypes.h
  364. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  365. configure:6455: $? = 0
  366. configure:6455: result: yes
  367. configure:6455: checking for stdint.h
  368. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  369. configure:6455: $? = 0
  370. configure:6455: result: yes
  371. configure:6455: checking for unistd.h
  372. configure:6455: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  373. configure:6455: $? = 0
  374. configure:6455: result: yes
  375. configure:6469: checking errno.h usability
  376. configure:6469: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  377. configure:6469: $? = 0
  378. configure:6469: result: yes
  379. configure:6469: checking errno.h presence
  380. configure:6469: g++ -E conftest.cpp
  381. configure:6469: $? = 0
  382. configure:6469: result: yes
  383. configure:6469: checking for errno.h
  384. configure:6469: result: yes
  385. configure:6488: checking arpa/inet.h usability
  386. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  387. configure:6488: $? = 0
  388. configure:6488: result: yes
  389. configure:6488: checking arpa/inet.h presence
  390. configure:6488: g++ -E conftest.cpp
  391. configure:6488: $? = 0
  392. configure:6488: result: yes
  393. configure:6488: checking for arpa/inet.h
  394. configure:6488: result: yes
  395. configure:6488: checking bits/sockaddr.h usability
  396. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  397. configure:6488: $? = 0
  398. configure:6488: result: yes
  399. configure:6488: checking bits/sockaddr.h presence
  400. configure:6488: g++ -E conftest.cpp
  401. configure:6488: $? = 0
  402. configure:6488: result: yes
  403. configure:6488: checking for bits/sockaddr.h
  404. configure:6488: result: yes
  405. configure:6488: checking fcntl.h usability
  406. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  407. configure:6488: $? = 0
  408. configure:6488: result: yes
  409. configure:6488: checking fcntl.h presence
  410. configure:6488: g++ -E conftest.cpp
  411. configure:6488: $? = 0
  412. configure:6488: result: yes
  413. configure:6488: checking for fcntl.h
  414. configure:6488: result: yes
  415. configure:6488: checking float.h usability
  416. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  417. configure:6488: $? = 0
  418. configure:6488: result: yes
  419. configure:6488: checking float.h presence
  420. configure:6488: g++ -E conftest.cpp
  421. configure:6488: $? = 0
  422. configure:6488: result: yes
  423. configure:6488: checking for float.h
  424. configure:6488: result: yes
  425. configure:6488: checking limits.h usability
  426. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  427. configure:6488: $? = 0
  428. configure:6488: result: yes
  429. configure:6488: checking limits.h presence
  430. configure:6488: g++ -E conftest.cpp
  431. configure:6488: $? = 0
  432. configure:6488: result: yes
  433. configure:6488: checking for limits.h
  434. configure:6488: result: yes
  435. configure:6488: checking malloc.h usability
  436. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  437. configure:6488: $? = 0
  438. configure:6488: result: yes
  439. configure:6488: checking malloc.h presence
  440. configure:6488: g++ -E conftest.cpp
  441. configure:6488: $? = 0
  442. configure:6488: result: yes
  443. configure:6488: checking for malloc.h
  444. configure:6488: result: yes
  445. configure:6488: checking for netinet/in.h
  446. configure:6488: result: yes
  447. configure:6488: checking for stdint.h
  448. configure:6488: result: yes
  449. configure:6488: checking for stdlib.h
  450. configure:6488: result: yes
  451. configure:6488: checking for string.h
  452. configure:6488: result: yes
  453. configure:6488: checking for strings.h
  454. configure:6488: result: yes
  455. configure:6488: checking sys/file.h usability
  456. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  457. configure:6488: $? = 0
  458. configure:6488: result: yes
  459. configure:6488: checking sys/file.h presence
  460. configure:6488: g++ -E conftest.cpp
  461. configure:6488: $? = 0
  462. configure:6488: result: yes
  463. configure:6488: checking for sys/file.h
  464. configure:6488: result: yes
  465. configure:6488: checking sys/ioctl.h usability
  466. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  467. configure:6488: $? = 0
  468. configure:6488: result: yes
  469. configure:6488: checking sys/ioctl.h presence
  470. configure:6488: g++ -E conftest.cpp
  471. configure:6488: $? = 0
  472. configure:6488: result: yes
  473. configure:6488: checking for sys/ioctl.h
  474. configure:6488: result: yes
  475. configure:6488: checking sys/socket.h usability
  476. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  477. configure:6488: $? = 0
  478. configure:6488: result: yes
  479. configure:6488: checking sys/socket.h presence
  480. configure:6488: g++ -E conftest.cpp
  481. configure:6488: $? = 0
  482. configure:6488: result: yes
  483. configure:6488: checking for sys/socket.h
  484. configure:6488: result: yes
  485. configure:6488: checking sys/time.h usability
  486. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  487. configure:6488: $? = 0
  488. configure:6488: result: yes
  489. configure:6488: checking sys/time.h presence
  490. configure:6488: g++ -E conftest.cpp
  491. configure:6488: $? = 0
  492. configure:6488: result: yes
  493. configure:6488: checking for sys/time.h
  494. configure:6488: result: yes
  495. configure:6488: checking sys/timeb.h usability
  496. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  497. configure:6488: $? = 0
  498. configure:6488: result: yes
  499. configure:6488: checking sys/timeb.h presence
  500. configure:6488: g++ -E conftest.cpp
  501. configure:6488: $? = 0
  502. configure:6488: result: yes
  503. configure:6488: checking for sys/timeb.h
  504. configure:6488: result: yes
  505. configure:6488: checking syslog.h usability
  506. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  507. configure:6488: $? = 0
  508. configure:6488: result: yes
  509. configure:6488: checking syslog.h presence
  510. configure:6488: g++ -E conftest.cpp
  511. configure:6488: $? = 0
  512. configure:6488: result: yes
  513. configure:6488: checking for syslog.h
  514. configure:6488: result: yes
  515. configure:6488: checking termios.h usability
  516. configure:6488: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  517. configure:6488: $? = 0
  518. configure:6488: result: yes
  519. configure:6488: checking termios.h presence
  520. configure:6488: g++ -E conftest.cpp
  521. configure:6488: $? = 0
  522. configure:6488: result: yes
  523. configure:6488: checking for termios.h
  524. configure:6488: result: yes
  525. configure:6488: checking for unistd.h
  526. configure:6488: result: yes
  527. configure:6503: checking asm/termios.h usability
  528. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  529. configure:6503: $? = 0
  530. configure:6503: result: yes
  531. configure:6503: checking asm/termios.h presence
  532. configure:6503: g++ -E conftest.cpp
  533. configure:6503: $? = 0
  534. configure:6503: result: yes
  535. configure:6503: checking for asm/termios.h
  536. configure:6503: result: yes
  537. configure:6503: checking assert.h usability
  538. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  539. configure:6503: $? = 0
  540. configure:6503: result: yes
  541. configure:6503: checking assert.h presence
  542. configure:6503: g++ -E conftest.cpp
  543. configure:6503: $? = 0
  544. configure:6503: result: yes
  545. configure:6503: checking for assert.h
  546. configure:6503: result: yes
  547. configure:6503: checking dlfcn.h usability
  548. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  549. configure:6503: $? = 0
  550. configure:6503: result: yes
  551. configure:6503: checking dlfcn.h presence
  552. configure:6503: g++ -E conftest.cpp
  553. configure:6503: $? = 0
  554. configure:6503: result: yes
  555. configure:6503: checking for dlfcn.h
  556. configure:6503: result: yes
  557. configure:6503: checking endian.h usability
  558. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  559. configure:6503: $? = 0
  560. configure:6503: result: yes
  561. configure:6503: checking endian.h presence
  562. configure:6503: g++ -E conftest.cpp
  563. configure:6503: $? = 0
  564. configure:6503: result: yes
  565. configure:6503: checking for endian.h
  566. configure:6503: result: yes
  567. configure:6503: checking execinfo.h usability
  568. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  569. configure:6503: $? = 0
  570. configure:6503: result: yes
  571. configure:6503: checking execinfo.h presence
  572. configure:6503: g++ -E conftest.cpp
  573. configure:6503: $? = 0
  574. configure:6503: result: yes
  575. configure:6503: checking for execinfo.h
  576. configure:6503: result: yes
  577. configure:6503: checking linux/if_packet.h usability
  578. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  579. configure:6503: $? = 0
  580. configure:6503: result: yes
  581. configure:6503: checking linux/if_packet.h presence
  582. configure:6503: g++ -E conftest.cpp
  583. configure:6503: $? = 0
  584. configure:6503: result: yes
  585. configure:6503: checking for linux/if_packet.h
  586. configure:6503: result: yes
  587. configure:6503: checking math.h usability
  588. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  589. configure:6503: $? = 0
  590. configure:6503: result: yes
  591. configure:6503: checking math.h presence
  592. configure:6503: g++ -E conftest.cpp
  593. configure:6503: $? = 0
  594. configure:6503: result: yes
  595. configure:6503: checking for math.h
  596. configure:6503: result: yes
  597. configure:6503: checking net/ethernet.h usability
  598. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  599. configure:6503: $? = 0
  600. configure:6503: result: yes
  601. configure:6503: checking net/ethernet.h presence
  602. configure:6503: g++ -E conftest.cpp
  603. configure:6503: $? = 0
  604. configure:6503: result: yes
  605. configure:6503: checking for net/ethernet.h
  606. configure:6503: result: yes
  607. configure:6503: checking stropts.h usability
  608. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  609. configure:6503: $? = 0
  610. configure:6503: result: yes
  611. configure:6503: checking stropts.h presence
  612. configure:6503: g++ -E conftest.cpp
  613. configure:6503: $? = 0
  614. configure:6503: result: yes
  615. configure:6503: checking for stropts.h
  616. configure:6503: result: yes
  617. configure:6503: checking sys/param.h usability
  618. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  619. configure:6503: $? = 0
  620. configure:6503: result: yes
  621. configure:6503: checking sys/param.h presence
  622. configure:6503: g++ -E conftest.cpp
  623. configure:6503: $? = 0
  624. configure:6503: result: yes
  625. configure:6503: checking for sys/param.h
  626. configure:6503: result: yes
  627. configure:6503: checking for sys/types.h
  628. configure:6503: result: yes
  629. configure:6503: checking sys/uio.h usability
  630. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  631. configure:6503: $? = 0
  632. configure:6503: result: yes
  633. configure:6503: checking sys/uio.h presence
  634. configure:6503: g++ -E conftest.cpp
  635. configure:6503: $? = 0
  636. configure:6503: result: yes
  637. configure:6503: checking for sys/uio.h
  638. configure:6503: result: yes
  639. configure:6503: checking sysexits.h usability
  640. configure:6503: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  641. configure:6503: $? = 0
  642. configure:6503: result: yes
  643. configure:6503: checking sysexits.h presence
  644. configure:6503: g++ -E conftest.cpp
  645. configure:6503: $? = 0
  646. configure:6503: result: yes
  647. configure:6503: checking for sysexits.h
  648. configure:6503: result: yes
  649. configure:6515: checking winsock2.h usability
  650. configure:6515: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  651. conftest.cpp:93:22: fatal error: winsock2.h: No such file or directory
  652. compilation terminated.
  653. configure:6515: $? = 1
  654. configure: failed program was:
  655. | /* confdefs.h */
  656. | #define PACKAGE_NAME "OLA"
  657. | #define PACKAGE_TARNAME "ola"
  658. | #define PACKAGE_VERSION "0.10.6"
  659. | #define PACKAGE_STRING "OLA 0.10.6"
  660. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  661. | #define PACKAGE_URL ""
  662. | #define PACKAGE "ola"
  663. | #define VERSION "0.10.6"
  664. | #define HAVE_DIRENT_H 1
  665. | #define HAVE_SYS_TYPES_H 1
  666. | #define HAVE_NETINET_IN_H 1
  667. | #define HAVE_ARPA_NAMESER_H 1
  668. | #define HAVE_NETDB_H 1
  669. | #define HAVE_RESOLV_H 1
  670. | #define STDC_HEADERS 1
  671. | #define HAVE_SYS_TYPES_H 1
  672. | #define HAVE_SYS_STAT_H 1
  673. | #define HAVE_STDLIB_H 1
  674. | #define HAVE_STRING_H 1
  675. | #define HAVE_MEMORY_H 1
  676. | #define HAVE_STRINGS_H 1
  677. | #define HAVE_INTTYPES_H 1
  678. | #define HAVE_STDINT_H 1
  679. | #define HAVE_UNISTD_H 1
  680. | #define HAVE_ERRNO_H 1
  681. | #define HAVE_ARPA_INET_H 1
  682. | #define HAVE_BITS_SOCKADDR_H 1
  683. | #define HAVE_FCNTL_H 1
  684. | #define HAVE_FLOAT_H 1
  685. | #define HAVE_LIMITS_H 1
  686. | #define HAVE_MALLOC_H 1
  687. | #define HAVE_NETINET_IN_H 1
  688. | #define HAVE_STDINT_H 1
  689. | #define HAVE_STDLIB_H 1
  690. | #define HAVE_STRING_H 1
  691. | #define HAVE_STRINGS_H 1
  692. | #define HAVE_SYS_FILE_H 1
  693. | #define HAVE_SYS_IOCTL_H 1
  694. | #define HAVE_SYS_SOCKET_H 1
  695. | #define HAVE_SYS_TIME_H 1
  696. | #define HAVE_SYS_TIMEB_H 1
  697. | #define HAVE_SYSLOG_H 1
  698. | #define HAVE_TERMIOS_H 1
  699. | #define HAVE_UNISTD_H 1
  700. | #define HAVE_ASM_TERMIOS_H 1
  701. | #define HAVE_ASSERT_H 1
  702. | #define HAVE_DLFCN_H 1
  703. | #define HAVE_ENDIAN_H 1
  704. | #define HAVE_EXECINFO_H 1
  705. | #define HAVE_LINUX_IF_PACKET_H 1
  706. | #define HAVE_MATH_H 1
  707. | #define HAVE_NET_ETHERNET_H 1
  708. | #define HAVE_STROPTS_H 1
  709. | #define HAVE_SYS_PARAM_H 1
  710. | #define HAVE_SYS_TYPES_H 1
  711. | #define HAVE_SYS_UIO_H 1
  712. | #define HAVE_SYSEXITS_H 1
  713. | /* end confdefs.h. */
  714. | #include <stdio.h>
  715. | #ifdef HAVE_SYS_TYPES_H
  716. | # include <sys/types.h>
  717. | #endif
  718. | #ifdef HAVE_SYS_STAT_H
  719. | # include <sys/stat.h>
  720. | #endif
  721. | #ifdef STDC_HEADERS
  722. | # include <stdlib.h>
  723. | # include <stddef.h>
  724. | #else
  725. | # ifdef HAVE_STDLIB_H
  726. | # include <stdlib.h>
  727. | # endif
  728. | #endif
  729. | #ifdef HAVE_STRING_H
  730. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  731. | # include <memory.h>
  732. | # endif
  733. | # include <string.h>
  734. | #endif
  735. | #ifdef HAVE_STRINGS_H
  736. | # include <strings.h>
  737. | #endif
  738. | #ifdef HAVE_INTTYPES_H
  739. | # include <inttypes.h>
  740. | #endif
  741. | #ifdef HAVE_STDINT_H
  742. | # include <stdint.h>
  743. | #endif
  744. | #ifdef HAVE_UNISTD_H
  745. | # include <unistd.h>
  746. | #endif
  747. | #include <winsock2.h>
  748. configure:6515: result: no
  749. configure:6515: checking winsock2.h presence
  750. configure:6515: g++ -E conftest.cpp
  751. conftest.cpp:60:22: fatal error: winsock2.h: No such file or directory
  752. compilation terminated.
  753. configure:6515: $? = 1
  754. configure: failed program was:
  755. | /* confdefs.h */
  756. | #define PACKAGE_NAME "OLA"
  757. | #define PACKAGE_TARNAME "ola"
  758. | #define PACKAGE_VERSION "0.10.6"
  759. | #define PACKAGE_STRING "OLA 0.10.6"
  760. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  761. | #define PACKAGE_URL ""
  762. | #define PACKAGE "ola"
  763. | #define VERSION "0.10.6"
  764. | #define HAVE_DIRENT_H 1
  765. | #define HAVE_SYS_TYPES_H 1
  766. | #define HAVE_NETINET_IN_H 1
  767. | #define HAVE_ARPA_NAMESER_H 1
  768. | #define HAVE_NETDB_H 1
  769. | #define HAVE_RESOLV_H 1
  770. | #define STDC_HEADERS 1
  771. | #define HAVE_SYS_TYPES_H 1
  772. | #define HAVE_SYS_STAT_H 1
  773. | #define HAVE_STDLIB_H 1
  774. | #define HAVE_STRING_H 1
  775. | #define HAVE_MEMORY_H 1
  776. | #define HAVE_STRINGS_H 1
  777. | #define HAVE_INTTYPES_H 1
  778. | #define HAVE_STDINT_H 1
  779. | #define HAVE_UNISTD_H 1
  780. | #define HAVE_ERRNO_H 1
  781. | #define HAVE_ARPA_INET_H 1
  782. | #define HAVE_BITS_SOCKADDR_H 1
  783. | #define HAVE_FCNTL_H 1
  784. | #define HAVE_FLOAT_H 1
  785. | #define HAVE_LIMITS_H 1
  786. | #define HAVE_MALLOC_H 1
  787. | #define HAVE_NETINET_IN_H 1
  788. | #define HAVE_STDINT_H 1
  789. | #define HAVE_STDLIB_H 1
  790. | #define HAVE_STRING_H 1
  791. | #define HAVE_STRINGS_H 1
  792. | #define HAVE_SYS_FILE_H 1
  793. | #define HAVE_SYS_IOCTL_H 1
  794. | #define HAVE_SYS_SOCKET_H 1
  795. | #define HAVE_SYS_TIME_H 1
  796. | #define HAVE_SYS_TIMEB_H 1
  797. | #define HAVE_SYSLOG_H 1
  798. | #define HAVE_TERMIOS_H 1
  799. | #define HAVE_UNISTD_H 1
  800. | #define HAVE_ASM_TERMIOS_H 1
  801. | #define HAVE_ASSERT_H 1
  802. | #define HAVE_DLFCN_H 1
  803. | #define HAVE_ENDIAN_H 1
  804. | #define HAVE_EXECINFO_H 1
  805. | #define HAVE_LINUX_IF_PACKET_H 1
  806. | #define HAVE_MATH_H 1
  807. | #define HAVE_NET_ETHERNET_H 1
  808. | #define HAVE_STROPTS_H 1
  809. | #define HAVE_SYS_PARAM_H 1
  810. | #define HAVE_SYS_TYPES_H 1
  811. | #define HAVE_SYS_UIO_H 1
  812. | #define HAVE_SYSEXITS_H 1
  813. | /* end confdefs.h. */
  814. | #include <winsock2.h>
  815. configure:6515: result: no
  816. configure:6515: checking for winsock2.h
  817. configure:6515: result: no
  818. configure:6527: checking random usability
  819. configure:6527: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  820. In file included from /usr/include/c++/5/random:35:0,
  821. from conftest.cpp:93:
  822. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11
  823. or -std=gnu++11 compiler options.
  824. #error This file requires compiler and library support \
  825. ^
  826. configure:6527: $? = 1
  827. configure: failed program was:
  828. | /* confdefs.h */
  829. | #define PACKAGE_NAME "OLA"
  830. | #define PACKAGE_TARNAME "ola"
  831. | #define PACKAGE_VERSION "0.10.6"
  832. | #define PACKAGE_STRING "OLA 0.10.6"
  833. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  834. | #define PACKAGE_URL ""
  835. | #define PACKAGE "ola"
  836. | #define VERSION "0.10.6"
  837. | #define HAVE_DIRENT_H 1
  838. | #define HAVE_SYS_TYPES_H 1
  839. | #define HAVE_NETINET_IN_H 1
  840. | #define HAVE_ARPA_NAMESER_H 1
  841. | #define HAVE_NETDB_H 1
  842. | #define HAVE_RESOLV_H 1
  843. | #define STDC_HEADERS 1
  844. | #define HAVE_SYS_TYPES_H 1
  845. | #define HAVE_SYS_STAT_H 1
  846. | #define HAVE_STDLIB_H 1
  847. | #define HAVE_STRING_H 1
  848. | #define HAVE_MEMORY_H 1
  849. | #define HAVE_STRINGS_H 1
  850. | #define HAVE_INTTYPES_H 1
  851. | #define HAVE_STDINT_H 1
  852. | #define HAVE_UNISTD_H 1
  853. | #define HAVE_ERRNO_H 1
  854. | #define HAVE_ARPA_INET_H 1
  855. | #define HAVE_BITS_SOCKADDR_H 1
  856. | #define HAVE_FCNTL_H 1
  857. | #define HAVE_FLOAT_H 1
  858. | #define HAVE_LIMITS_H 1
  859. | #define HAVE_MALLOC_H 1
  860. | #define HAVE_NETINET_IN_H 1
  861. | #define HAVE_STDINT_H 1
  862. | #define HAVE_STDLIB_H 1
  863. | #define HAVE_STRING_H 1
  864. | #define HAVE_STRINGS_H 1
  865. | #define HAVE_SYS_FILE_H 1
  866. | #define HAVE_SYS_IOCTL_H 1
  867. | #define HAVE_SYS_SOCKET_H 1
  868. | #define HAVE_SYS_TIME_H 1
  869. | #define HAVE_SYS_TIMEB_H 1
  870. | #define HAVE_SYSLOG_H 1
  871. | #define HAVE_TERMIOS_H 1
  872. | #define HAVE_UNISTD_H 1
  873. | #define HAVE_ASM_TERMIOS_H 1
  874. | #define HAVE_ASSERT_H 1
  875. | #define HAVE_DLFCN_H 1
  876. | #define HAVE_ENDIAN_H 1
  877. | #define HAVE_EXECINFO_H 1
  878. | #define HAVE_LINUX_IF_PACKET_H 1
  879. | #define HAVE_MATH_H 1
  880. | #define HAVE_NET_ETHERNET_H 1
  881. | #define HAVE_STROPTS_H 1
  882. | #define HAVE_SYS_PARAM_H 1
  883. | #define HAVE_SYS_TYPES_H 1
  884. | #define HAVE_SYS_UIO_H 1
  885. | #define HAVE_SYSEXITS_H 1
  886. | /* end confdefs.h. */
  887. | #include <stdio.h>
  888. | #ifdef HAVE_SYS_TYPES_H
  889. | # include <sys/types.h>
  890. | #endif
  891. | #ifdef HAVE_SYS_STAT_H
  892. | # include <sys/stat.h>
  893. | #endif
  894. | #ifdef STDC_HEADERS
  895. | # include <stdlib.h>
  896. | # include <stddef.h>
  897. | #else
  898. | # ifdef HAVE_STDLIB_H
  899. | # include <stdlib.h>
  900. | # endif
  901. | #endif
  902. | #ifdef HAVE_STRING_H
  903. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  904. | # include <memory.h>
  905. | # endif
  906. | # include <string.h>
  907. | #endif
  908. | #ifdef HAVE_STRINGS_H
  909. | # include <strings.h>
  910. | #endif
  911. | #ifdef HAVE_INTTYPES_H
  912. | # include <inttypes.h>
  913. | #endif
  914. | #ifdef HAVE_STDINT_H
  915. | # include <stdint.h>
  916. | #endif
  917. | #ifdef HAVE_UNISTD_H
  918. | # include <unistd.h>
  919. | #endif
  920. | #include <random>
  921. configure:6527: result: no
  922. configure:6527: checking random presence
  923. configure:6527: g++ -E conftest.cpp
  924. In file included from /usr/include/c++/5/random:35:0,
  925. from conftest.cpp:60:
  926. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11
  927. or -std=gnu++11 compiler options.
  928. #error This file requires compiler and library support \
  929. ^
  930. configure:6527: $? = 1
  931. configure: failed program was:
  932. | /* confdefs.h */
  933. | #define PACKAGE_NAME "OLA"
  934. | #define PACKAGE_TARNAME "ola"
  935. | #define PACKAGE_VERSION "0.10.6"
  936. | #define PACKAGE_STRING "OLA 0.10.6"
  937. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  938. | #define PACKAGE_URL ""
  939. | #define PACKAGE "ola"
  940. | #define VERSION "0.10.6"
  941. | #define HAVE_DIRENT_H 1
  942. | #define HAVE_SYS_TYPES_H 1
  943. | #define HAVE_NETINET_IN_H 1
  944. | #define HAVE_ARPA_NAMESER_H 1
  945. | #define HAVE_NETDB_H 1
  946. | #define HAVE_RESOLV_H 1
  947. | #define STDC_HEADERS 1
  948. | #define HAVE_SYS_TYPES_H 1
  949. | #define HAVE_SYS_STAT_H 1
  950. | #define HAVE_STDLIB_H 1
  951. | #define HAVE_STRING_H 1
  952. | #define HAVE_MEMORY_H 1
  953. | #define HAVE_STRINGS_H 1
  954. | #define HAVE_INTTYPES_H 1
  955. | #define HAVE_STDINT_H 1
  956. | #define HAVE_UNISTD_H 1
  957. | #define HAVE_ERRNO_H 1
  958. | #define HAVE_ARPA_INET_H 1
  959. | #define HAVE_BITS_SOCKADDR_H 1
  960. | #define HAVE_FCNTL_H 1
  961. | #define HAVE_FLOAT_H 1
  962. | #define HAVE_LIMITS_H 1
  963. | #define HAVE_MALLOC_H 1
  964. | #define HAVE_NETINET_IN_H 1
  965. | #define HAVE_STDINT_H 1
  966. | #define HAVE_STDLIB_H 1
  967. | #define HAVE_STRING_H 1
  968. | #define HAVE_STRINGS_H 1
  969. | #define HAVE_SYS_FILE_H 1
  970. | #define HAVE_SYS_IOCTL_H 1
  971. | #define HAVE_SYS_SOCKET_H 1
  972. | #define HAVE_SYS_TIME_H 1
  973. | #define HAVE_SYS_TIMEB_H 1
  974. | #define HAVE_SYSLOG_H 1
  975. | #define HAVE_TERMIOS_H 1
  976. | #define HAVE_UNISTD_H 1
  977. | #define HAVE_ASM_TERMIOS_H 1
  978. | #define HAVE_ASSERT_H 1
  979. | #define HAVE_DLFCN_H 1
  980. | #define HAVE_ENDIAN_H 1
  981. | #define HAVE_EXECINFO_H 1
  982. | #define HAVE_LINUX_IF_PACKET_H 1
  983. | #define HAVE_MATH_H 1
  984. | #define HAVE_NET_ETHERNET_H 1
  985. | #define HAVE_STROPTS_H 1
  986. | #define HAVE_SYS_PARAM_H 1
  987. | #define HAVE_SYS_TYPES_H 1
  988. | #define HAVE_SYS_UIO_H 1
  989. | #define HAVE_SYSEXITS_H 1
  990. | /* end confdefs.h. */
  991. | #include <random>
  992. configure:6527: result: no
  993. configure:6527: checking for random
  994. configure:6527: result: no
  995. configure:6541: checking for sys/sysctl.h
  996. configure:6541: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  997. configure:6541: $? = 0
  998. configure:6541: result: yes
  999. configure:6561: checking for net/if.h
  1000. configure:6561: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1001. configure:6561: $? = 0
  1002. configure:6561: result: yes
  1003. configure:6561: checking for net/if_arp.h
  1004. configure:6561: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1005. configure:6561: $? = 0
  1006. configure:6561: result: yes
  1007. configure:6561: checking for net/route.h
  1008. configure:6561: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1009. configure:6561: $? = 0
  1010. configure:6561: result: yes
  1011. configure:6582: checking for net/if_ether.h
  1012. configure:6582: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1013. conftest.cpp:69:26: fatal error: net/if_ether.h: No such file or directory
  1014. compilation terminated.
  1015. configure:6582: $? = 1
  1016. configure: failed program was:
  1017. | /* confdefs.h */
  1018. | #define PACKAGE_NAME "OLA"
  1019. | #define PACKAGE_TARNAME "ola"
  1020. | #define PACKAGE_VERSION "0.10.6"
  1021. | #define PACKAGE_STRING "OLA 0.10.6"
  1022. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1023. | #define PACKAGE_URL ""
  1024. | #define PACKAGE "ola"
  1025. | #define VERSION "0.10.6"
  1026. | #define HAVE_DIRENT_H 1
  1027. | #define HAVE_SYS_TYPES_H 1
  1028. | #define HAVE_NETINET_IN_H 1
  1029. | #define HAVE_ARPA_NAMESER_H 1
  1030. | #define HAVE_NETDB_H 1
  1031. | #define HAVE_RESOLV_H 1
  1032. | #define STDC_HEADERS 1
  1033. | #define HAVE_SYS_TYPES_H 1
  1034. | #define HAVE_SYS_STAT_H 1
  1035. | #define HAVE_STDLIB_H 1
  1036. | #define HAVE_STRING_H 1
  1037. | #define HAVE_MEMORY_H 1
  1038. | #define HAVE_STRINGS_H 1
  1039. | #define HAVE_INTTYPES_H 1
  1040. | #define HAVE_STDINT_H 1
  1041. | #define HAVE_UNISTD_H 1
  1042. | #define HAVE_ERRNO_H 1
  1043. | #define HAVE_ARPA_INET_H 1
  1044. | #define HAVE_BITS_SOCKADDR_H 1
  1045. | #define HAVE_FCNTL_H 1
  1046. | #define HAVE_FLOAT_H 1
  1047. | #define HAVE_LIMITS_H 1
  1048. | #define HAVE_MALLOC_H 1
  1049. | #define HAVE_NETINET_IN_H 1
  1050. | #define HAVE_STDINT_H 1
  1051. | #define HAVE_STDLIB_H 1
  1052. | #define HAVE_STRING_H 1
  1053. | #define HAVE_STRINGS_H 1
  1054. | #define HAVE_SYS_FILE_H 1
  1055. | #define HAVE_SYS_IOCTL_H 1
  1056. | #define HAVE_SYS_SOCKET_H 1
  1057. | #define HAVE_SYS_TIME_H 1
  1058. | #define HAVE_SYS_TIMEB_H 1
  1059. | #define HAVE_SYSLOG_H 1
  1060. | #define HAVE_TERMIOS_H 1
  1061. | #define HAVE_UNISTD_H 1
  1062. | #define HAVE_ASM_TERMIOS_H 1
  1063. | #define HAVE_ASSERT_H 1
  1064. | #define HAVE_DLFCN_H 1
  1065. | #define HAVE_ENDIAN_H 1
  1066. | #define HAVE_EXECINFO_H 1
  1067. | #define HAVE_LINUX_IF_PACKET_H 1
  1068. | #define HAVE_MATH_H 1
  1069. | #define HAVE_NET_ETHERNET_H 1
  1070. | #define HAVE_STROPTS_H 1
  1071. | #define HAVE_SYS_PARAM_H 1
  1072. | #define HAVE_SYS_TYPES_H 1
  1073. | #define HAVE_SYS_UIO_H 1
  1074. | #define HAVE_SYSEXITS_H 1
  1075. | #define HAVE_SYS_SYSCTL_H 1
  1076. | #define HAVE_NET_IF_H 1
  1077. | #define HAVE_NET_IF_ARP_H 1
  1078. | #define HAVE_NET_ROUTE_H 1
  1079. | /* end confdefs.h. */
  1080. | #ifdef HAVE_NET_IF_H
  1081. | #include <net/if.h>
  1082. | #endif
  1083. |
  1084. |
  1085. | #include <net/if_ether.h>
  1086. configure:6582: result: no
  1087. configure:6600: checking for netinet/if_ether.h
  1088. configure:6600: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1089. configure:6600: $? = 0
  1090. configure:6600: result: yes
  1091. configure:6631: checking for linux/netlink.h
  1092. configure:6631: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1093. configure:6631: $? = 0
  1094. configure:6631: result: yes
  1095. configure:6631: checking for linux/rtnetlink.h
  1096. configure:6631: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1097. configure:6631: $? = 0
  1098. configure:6631: result: yes
  1099. configure:6647: checking for stdbool.h that conforms to C99
  1100. configure:6714: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1101. configure:6714: $? = 0
  1102. configure:6721: result: yes
  1103. configure:6723: checking for _Bool
  1104. configure:6723: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1105. conftest.cpp: In function 'int main()':
  1106. conftest.cpp:103:13: error: '_Bool' was not declared in this scope
  1107. if (sizeof (_Bool))
  1108. ^
  1109. configure:6723: $? = 1
  1110. configure: failed program was:
  1111. | /* confdefs.h */
  1112. | #define PACKAGE_NAME "OLA"
  1113. | #define PACKAGE_TARNAME "ola"
  1114. | #define PACKAGE_VERSION "0.10.6"
  1115. | #define PACKAGE_STRING "OLA 0.10.6"
  1116. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1117. | #define PACKAGE_URL ""
  1118. | #define PACKAGE "ola"
  1119. | #define VERSION "0.10.6"
  1120. | #define HAVE_DIRENT_H 1
  1121. | #define HAVE_SYS_TYPES_H 1
  1122. | #define HAVE_NETINET_IN_H 1
  1123. | #define HAVE_ARPA_NAMESER_H 1
  1124. | #define HAVE_NETDB_H 1
  1125. | #define HAVE_RESOLV_H 1
  1126. | #define STDC_HEADERS 1
  1127. | #define HAVE_SYS_TYPES_H 1
  1128. | #define HAVE_SYS_STAT_H 1
  1129. | #define HAVE_STDLIB_H 1
  1130. | #define HAVE_STRING_H 1
  1131. | #define HAVE_MEMORY_H 1
  1132. | #define HAVE_STRINGS_H 1
  1133. | #define HAVE_INTTYPES_H 1
  1134. | #define HAVE_STDINT_H 1
  1135. | #define HAVE_UNISTD_H 1
  1136. | #define HAVE_ERRNO_H 1
  1137. | #define HAVE_ARPA_INET_H 1
  1138. | #define HAVE_BITS_SOCKADDR_H 1
  1139. | #define HAVE_FCNTL_H 1
  1140. | #define HAVE_FLOAT_H 1
  1141. | #define HAVE_LIMITS_H 1
  1142. | #define HAVE_MALLOC_H 1
  1143. | #define HAVE_NETINET_IN_H 1
  1144. | #define HAVE_STDINT_H 1
  1145. | #define HAVE_STDLIB_H 1
  1146. | #define HAVE_STRING_H 1
  1147. | #define HAVE_STRINGS_H 1
  1148. | #define HAVE_SYS_FILE_H 1
  1149. | #define HAVE_SYS_IOCTL_H 1
  1150. | #define HAVE_SYS_SOCKET_H 1
  1151. | #define HAVE_SYS_TIME_H 1
  1152. | #define HAVE_SYS_TIMEB_H 1
  1153. | #define HAVE_SYSLOG_H 1
  1154. | #define HAVE_TERMIOS_H 1
  1155. | #define HAVE_UNISTD_H 1
  1156. | #define HAVE_ASM_TERMIOS_H 1
  1157. | #define HAVE_ASSERT_H 1
  1158. | #define HAVE_DLFCN_H 1
  1159. | #define HAVE_ENDIAN_H 1
  1160. | #define HAVE_EXECINFO_H 1
  1161. | #define HAVE_LINUX_IF_PACKET_H 1
  1162. | #define HAVE_MATH_H 1
  1163. | #define HAVE_NET_ETHERNET_H 1
  1164. | #define HAVE_STROPTS_H 1
  1165. | #define HAVE_SYS_PARAM_H 1
  1166. | #define HAVE_SYS_TYPES_H 1
  1167. | #define HAVE_SYS_UIO_H 1
  1168. | #define HAVE_SYSEXITS_H 1
  1169. | #define HAVE_SYS_SYSCTL_H 1
  1170. | #define HAVE_NET_IF_H 1
  1171. | #define HAVE_NET_IF_ARP_H 1
  1172. | #define HAVE_NET_ROUTE_H 1
  1173. | #define HAVE_NETINET_IF_ETHER_H 1
  1174. | #define HAVE_LINUX_NETLINK_H 1
  1175. | #define HAVE_LINUX_RTNETLINK_H 1
  1176. | /* end confdefs.h. */
  1177. | #include <stdio.h>
  1178. | #ifdef HAVE_SYS_TYPES_H
  1179. | # include <sys/types.h>
  1180. | #endif
  1181. | #ifdef HAVE_SYS_STAT_H
  1182. | # include <sys/stat.h>
  1183. | #endif
  1184. | #ifdef STDC_HEADERS
  1185. | # include <stdlib.h>
  1186. | # include <stddef.h>
  1187. | #else
  1188. | # ifdef HAVE_STDLIB_H
  1189. | # include <stdlib.h>
  1190. | # endif
  1191. | #endif
  1192. | #ifdef HAVE_STRING_H
  1193. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1194. | # include <memory.h>
  1195. | # endif
  1196. | # include <string.h>
  1197. | #endif
  1198. | #ifdef HAVE_STRINGS_H
  1199. | # include <strings.h>
  1200. | #endif
  1201. | #ifdef HAVE_INTTYPES_H
  1202. | # include <inttypes.h>
  1203. | #endif
  1204. | #ifdef HAVE_STDINT_H
  1205. | # include <stdint.h>
  1206. | #endif
  1207. | #ifdef HAVE_UNISTD_H
  1208. | # include <unistd.h>
  1209. | #endif
  1210. | int
  1211. | main ()
  1212. | {
  1213. | if (sizeof (_Bool))
  1214. | return 0;
  1215. | ;
  1216. | return 0;
  1217. | }
  1218. configure:6723: result: no
  1219. configure:6740: checking for uid_t in sys/types.h
  1220. configure:6759: result: yes
  1221. configure:6770: checking for inline
  1222. configure:6786: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1223. configure:6786: $? = 0
  1224. configure:6794: result: inline
  1225. configure:6812: checking for int16_t
  1226. configure:6812: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1227. configure:6812: $? = 0
  1228. configure:6812: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1229. conftest.cpp: In function 'int main()':
  1230. conftest.cpp:106:58: error: size of array 'test_array' is negative
  1231. < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
  1232. ^
  1233. configure:6812: $? = 1
  1234. configure: failed program was:
  1235. | /* confdefs.h */
  1236. | #define PACKAGE_NAME "OLA"
  1237. | #define PACKAGE_TARNAME "ola"
  1238. | #define PACKAGE_VERSION "0.10.6"
  1239. | #define PACKAGE_STRING "OLA 0.10.6"
  1240. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1241. | #define PACKAGE_URL ""
  1242. | #define PACKAGE "ola"
  1243. | #define VERSION "0.10.6"
  1244. | #define HAVE_DIRENT_H 1
  1245. | #define HAVE_SYS_TYPES_H 1
  1246. | #define HAVE_NETINET_IN_H 1
  1247. | #define HAVE_ARPA_NAMESER_H 1
  1248. | #define HAVE_NETDB_H 1
  1249. | #define HAVE_RESOLV_H 1
  1250. | #define STDC_HEADERS 1
  1251. | #define HAVE_SYS_TYPES_H 1
  1252. | #define HAVE_SYS_STAT_H 1
  1253. | #define HAVE_STDLIB_H 1
  1254. | #define HAVE_STRING_H 1
  1255. | #define HAVE_MEMORY_H 1
  1256. | #define HAVE_STRINGS_H 1
  1257. | #define HAVE_INTTYPES_H 1
  1258. | #define HAVE_STDINT_H 1
  1259. | #define HAVE_UNISTD_H 1
  1260. | #define HAVE_ERRNO_H 1
  1261. | #define HAVE_ARPA_INET_H 1
  1262. | #define HAVE_BITS_SOCKADDR_H 1
  1263. | #define HAVE_FCNTL_H 1
  1264. | #define HAVE_FLOAT_H 1
  1265. | #define HAVE_LIMITS_H 1
  1266. | #define HAVE_MALLOC_H 1
  1267. | #define HAVE_NETINET_IN_H 1
  1268. | #define HAVE_STDINT_H 1
  1269. | #define HAVE_STDLIB_H 1
  1270. | #define HAVE_STRING_H 1
  1271. | #define HAVE_STRINGS_H 1
  1272. | #define HAVE_SYS_FILE_H 1
  1273. | #define HAVE_SYS_IOCTL_H 1
  1274. | #define HAVE_SYS_SOCKET_H 1
  1275. | #define HAVE_SYS_TIME_H 1
  1276. | #define HAVE_SYS_TIMEB_H 1
  1277. | #define HAVE_SYSLOG_H 1
  1278. | #define HAVE_TERMIOS_H 1
  1279. | #define HAVE_UNISTD_H 1
  1280. | #define HAVE_ASM_TERMIOS_H 1
  1281. | #define HAVE_ASSERT_H 1
  1282. | #define HAVE_DLFCN_H 1
  1283. | #define HAVE_ENDIAN_H 1
  1284. | #define HAVE_EXECINFO_H 1
  1285. | #define HAVE_LINUX_IF_PACKET_H 1
  1286. | #define HAVE_MATH_H 1
  1287. | #define HAVE_NET_ETHERNET_H 1
  1288. | #define HAVE_STROPTS_H 1
  1289. | #define HAVE_SYS_PARAM_H 1
  1290. | #define HAVE_SYS_TYPES_H 1
  1291. | #define HAVE_SYS_UIO_H 1
  1292. | #define HAVE_SYSEXITS_H 1
  1293. | #define HAVE_SYS_SYSCTL_H 1
  1294. | #define HAVE_NET_IF_H 1
  1295. | #define HAVE_NET_IF_ARP_H 1
  1296. | #define HAVE_NET_ROUTE_H 1
  1297. | #define HAVE_NETINET_IF_ETHER_H 1
  1298. | #define HAVE_LINUX_NETLINK_H 1
  1299. | #define HAVE_LINUX_RTNETLINK_H 1
  1300. | #define HAVE_STDBOOL_H 1
  1301. | /* end confdefs.h. */
  1302. | #include <stdio.h>
  1303. | #ifdef HAVE_SYS_TYPES_H
  1304. | # include <sys/types.h>
  1305. | #endif
  1306. | #ifdef HAVE_SYS_STAT_H
  1307. | # include <sys/stat.h>
  1308. | #endif
  1309. | #ifdef STDC_HEADERS
  1310. | # include <stdlib.h>
  1311. | # include <stddef.h>
  1312. | #else
  1313. | # ifdef HAVE_STDLIB_H
  1314. | # include <stdlib.h>
  1315. | # endif
  1316. | #endif
  1317. | #ifdef HAVE_STRING_H
  1318. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1319. | # include <memory.h>
  1320. | # endif
  1321. | # include <string.h>
  1322. | #endif
  1323. | #ifdef HAVE_STRINGS_H
  1324. | # include <strings.h>
  1325. | #endif
  1326. | #ifdef HAVE_INTTYPES_H
  1327. | # include <inttypes.h>
  1328. | #endif
  1329. | #ifdef HAVE_STDINT_H
  1330. | # include <stdint.h>
  1331. | #endif
  1332. | #ifdef HAVE_UNISTD_H
  1333. | # include <unistd.h>
  1334. | #endif
  1335. | enum { N = 16 / 2 - 1 };
  1336. | int
  1337. | main ()
  1338. | {
  1339. | static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
  1340. | < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
  1341. | test_array [0] = 0;
  1342. | return test_array [0];
  1343. |
  1344. | ;
  1345. | return 0;
  1346. | }
  1347. configure:6812: result: yes
  1348. configure:6823: checking for int32_t
  1349. configure:6823: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1350. configure:6823: $? = 0
  1351. configure:6823: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1352. conftest.cpp: In function 'int main()':
  1353. conftest.cpp:106:53: warning: integer overflow in expression [-Woverflow]
  1354. < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
  1355. ^
  1356. conftest.cpp:106:58: error: size of array 'test_array' is negative
  1357. < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
  1358. ^
  1359. configure:6823: $? = 1
  1360. configure: failed program was:
  1361. | /* confdefs.h */
  1362. | #define PACKAGE_NAME "OLA"
  1363. | #define PACKAGE_TARNAME "ola"
  1364. | #define PACKAGE_VERSION "0.10.6"
  1365. | #define PACKAGE_STRING "OLA 0.10.6"
  1366. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1367. | #define PACKAGE_URL ""
  1368. | #define PACKAGE "ola"
  1369. | #define VERSION "0.10.6"
  1370. | #define HAVE_DIRENT_H 1
  1371. | #define HAVE_SYS_TYPES_H 1
  1372. | #define HAVE_NETINET_IN_H 1
  1373. | #define HAVE_ARPA_NAMESER_H 1
  1374. | #define HAVE_NETDB_H 1
  1375. | #define HAVE_RESOLV_H 1
  1376. | #define STDC_HEADERS 1
  1377. | #define HAVE_SYS_TYPES_H 1
  1378. | #define HAVE_SYS_STAT_H 1
  1379. | #define HAVE_STDLIB_H 1
  1380. | #define HAVE_STRING_H 1
  1381. | #define HAVE_MEMORY_H 1
  1382. | #define HAVE_STRINGS_H 1
  1383. | #define HAVE_INTTYPES_H 1
  1384. | #define HAVE_STDINT_H 1
  1385. | #define HAVE_UNISTD_H 1
  1386. | #define HAVE_ERRNO_H 1
  1387. | #define HAVE_ARPA_INET_H 1
  1388. | #define HAVE_BITS_SOCKADDR_H 1
  1389. | #define HAVE_FCNTL_H 1
  1390. | #define HAVE_FLOAT_H 1
  1391. | #define HAVE_LIMITS_H 1
  1392. | #define HAVE_MALLOC_H 1
  1393. | #define HAVE_NETINET_IN_H 1
  1394. | #define HAVE_STDINT_H 1
  1395. | #define HAVE_STDLIB_H 1
  1396. | #define HAVE_STRING_H 1
  1397. | #define HAVE_STRINGS_H 1
  1398. | #define HAVE_SYS_FILE_H 1
  1399. | #define HAVE_SYS_IOCTL_H 1
  1400. | #define HAVE_SYS_SOCKET_H 1
  1401. | #define HAVE_SYS_TIME_H 1
  1402. | #define HAVE_SYS_TIMEB_H 1
  1403. | #define HAVE_SYSLOG_H 1
  1404. | #define HAVE_TERMIOS_H 1
  1405. | #define HAVE_UNISTD_H 1
  1406. | #define HAVE_ASM_TERMIOS_H 1
  1407. | #define HAVE_ASSERT_H 1
  1408. | #define HAVE_DLFCN_H 1
  1409. | #define HAVE_ENDIAN_H 1
  1410. | #define HAVE_EXECINFO_H 1
  1411. | #define HAVE_LINUX_IF_PACKET_H 1
  1412. | #define HAVE_MATH_H 1
  1413. | #define HAVE_NET_ETHERNET_H 1
  1414. | #define HAVE_STROPTS_H 1
  1415. | #define HAVE_SYS_PARAM_H 1
  1416. | #define HAVE_SYS_TYPES_H 1
  1417. | #define HAVE_SYS_UIO_H 1
  1418. | #define HAVE_SYSEXITS_H 1
  1419. | #define HAVE_SYS_SYSCTL_H 1
  1420. | #define HAVE_NET_IF_H 1
  1421. | #define HAVE_NET_IF_ARP_H 1
  1422. | #define HAVE_NET_ROUTE_H 1
  1423. | #define HAVE_NETINET_IF_ETHER_H 1
  1424. | #define HAVE_LINUX_NETLINK_H 1
  1425. | #define HAVE_LINUX_RTNETLINK_H 1
  1426. | #define HAVE_STDBOOL_H 1
  1427. | /* end confdefs.h. */
  1428. | #include <stdio.h>
  1429. | #ifdef HAVE_SYS_TYPES_H
  1430. | # include <sys/types.h>
  1431. | #endif
  1432. | #ifdef HAVE_SYS_STAT_H
  1433. | # include <sys/stat.h>
  1434. | #endif
  1435. | #ifdef STDC_HEADERS
  1436. | # include <stdlib.h>
  1437. | # include <stddef.h>
  1438. | #else
  1439. | # ifdef HAVE_STDLIB_H
  1440. | # include <stdlib.h>
  1441. | # endif
  1442. | #endif
  1443. | #ifdef HAVE_STRING_H
  1444. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1445. | # include <memory.h>
  1446. | # endif
  1447. | # include <string.h>
  1448. | #endif
  1449. | #ifdef HAVE_STRINGS_H
  1450. | # include <strings.h>
  1451. | #endif
  1452. | #ifdef HAVE_INTTYPES_H
  1453. | # include <inttypes.h>
  1454. | #endif
  1455. | #ifdef HAVE_STDINT_H
  1456. | # include <stdint.h>
  1457. | #endif
  1458. | #ifdef HAVE_UNISTD_H
  1459. | # include <unistd.h>
  1460. | #endif
  1461. | enum { N = 32 / 2 - 1 };
  1462. | int
  1463. | main ()
  1464. | {
  1465. | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
  1466. | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
  1467. | test_array [0] = 0;
  1468. | return test_array [0];
  1469. |
  1470. | ;
  1471. | return 0;
  1472. | }
  1473. configure:6823: result: yes
  1474. configure:6834: checking for int64_t
  1475. configure:6834: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1476. configure:6834: $? = 0
  1477. configure:6834: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1478. conftest.cpp: In function 'int main()':
  1479. conftest.cpp:106:53: warning: integer overflow in expression [-Woverflow]
  1480. < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
  1481. ^
  1482. conftest.cpp:106:58: error: size of array 'test_array' is negative
  1483. < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
  1484. ^
  1485. configure:6834: $? = 1
  1486. configure: failed program was:
  1487. | /* confdefs.h */
  1488. | #define PACKAGE_NAME "OLA"
  1489. | #define PACKAGE_TARNAME "ola"
  1490. | #define PACKAGE_VERSION "0.10.6"
  1491. | #define PACKAGE_STRING "OLA 0.10.6"
  1492. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1493. | #define PACKAGE_URL ""
  1494. | #define PACKAGE "ola"
  1495. | #define VERSION "0.10.6"
  1496. | #define HAVE_DIRENT_H 1
  1497. | #define HAVE_SYS_TYPES_H 1
  1498. | #define HAVE_NETINET_IN_H 1
  1499. | #define HAVE_ARPA_NAMESER_H 1
  1500. | #define HAVE_NETDB_H 1
  1501. | #define HAVE_RESOLV_H 1
  1502. | #define STDC_HEADERS 1
  1503. | #define HAVE_SYS_TYPES_H 1
  1504. | #define HAVE_SYS_STAT_H 1
  1505. | #define HAVE_STDLIB_H 1
  1506. | #define HAVE_STRING_H 1
  1507. | #define HAVE_MEMORY_H 1
  1508. | #define HAVE_STRINGS_H 1
  1509. | #define HAVE_INTTYPES_H 1
  1510. | #define HAVE_STDINT_H 1
  1511. | #define HAVE_UNISTD_H 1
  1512. | #define HAVE_ERRNO_H 1
  1513. | #define HAVE_ARPA_INET_H 1
  1514. | #define HAVE_BITS_SOCKADDR_H 1
  1515. | #define HAVE_FCNTL_H 1
  1516. | #define HAVE_FLOAT_H 1
  1517. | #define HAVE_LIMITS_H 1
  1518. | #define HAVE_MALLOC_H 1
  1519. | #define HAVE_NETINET_IN_H 1
  1520. | #define HAVE_STDINT_H 1
  1521. | #define HAVE_STDLIB_H 1
  1522. | #define HAVE_STRING_H 1
  1523. | #define HAVE_STRINGS_H 1
  1524. | #define HAVE_SYS_FILE_H 1
  1525. | #define HAVE_SYS_IOCTL_H 1
  1526. | #define HAVE_SYS_SOCKET_H 1
  1527. | #define HAVE_SYS_TIME_H 1
  1528. | #define HAVE_SYS_TIMEB_H 1
  1529. | #define HAVE_SYSLOG_H 1
  1530. | #define HAVE_TERMIOS_H 1
  1531. | #define HAVE_UNISTD_H 1
  1532. | #define HAVE_ASM_TERMIOS_H 1
  1533. | #define HAVE_ASSERT_H 1
  1534. | #define HAVE_DLFCN_H 1
  1535. | #define HAVE_ENDIAN_H 1
  1536. | #define HAVE_EXECINFO_H 1
  1537. | #define HAVE_LINUX_IF_PACKET_H 1
  1538. | #define HAVE_MATH_H 1
  1539. | #define HAVE_NET_ETHERNET_H 1
  1540. | #define HAVE_STROPTS_H 1
  1541. | #define HAVE_SYS_PARAM_H 1
  1542. | #define HAVE_SYS_TYPES_H 1
  1543. | #define HAVE_SYS_UIO_H 1
  1544. | #define HAVE_SYSEXITS_H 1
  1545. | #define HAVE_SYS_SYSCTL_H 1
  1546. | #define HAVE_NET_IF_H 1
  1547. | #define HAVE_NET_IF_ARP_H 1
  1548. | #define HAVE_NET_ROUTE_H 1
  1549. | #define HAVE_NETINET_IF_ETHER_H 1
  1550. | #define HAVE_LINUX_NETLINK_H 1
  1551. | #define HAVE_LINUX_RTNETLINK_H 1
  1552. | #define HAVE_STDBOOL_H 1
  1553. | /* end confdefs.h. */
  1554. | #include <stdio.h>
  1555. | #ifdef HAVE_SYS_TYPES_H
  1556. | # include <sys/types.h>
  1557. | #endif
  1558. | #ifdef HAVE_SYS_STAT_H
  1559. | # include <sys/stat.h>
  1560. | #endif
  1561. | #ifdef STDC_HEADERS
  1562. | # include <stdlib.h>
  1563. | # include <stddef.h>
  1564. | #else
  1565. | # ifdef HAVE_STDLIB_H
  1566. | # include <stdlib.h>
  1567. | # endif
  1568. | #endif
  1569. | #ifdef HAVE_STRING_H
  1570. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1571. | # include <memory.h>
  1572. | # endif
  1573. | # include <string.h>
  1574. | #endif
  1575. | #ifdef HAVE_STRINGS_H
  1576. | # include <strings.h>
  1577. | #endif
  1578. | #ifdef HAVE_INTTYPES_H
  1579. | # include <inttypes.h>
  1580. | #endif
  1581. | #ifdef HAVE_STDINT_H
  1582. | # include <stdint.h>
  1583. | #endif
  1584. | #ifdef HAVE_UNISTD_H
  1585. | # include <unistd.h>
  1586. | #endif
  1587. | enum { N = 64 / 2 - 1 };
  1588. | int
  1589. | main ()
  1590. | {
  1591. | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
  1592. | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
  1593. | test_array [0] = 0;
  1594. | return test_array [0];
  1595. |
  1596. | ;
  1597. | return 0;
  1598. | }
  1599. configure:6834: result: yes
  1600. configure:6845: checking for int8_t
  1601. configure:6845: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1602. configure:6845: $? = 0
  1603. configure:6845: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1604. conftest.cpp: In function 'int main()':
  1605. conftest.cpp:106:56: error: size of array 'test_array' is negative
  1606. < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
  1607. ^
  1608. configure:6845: $? = 1
  1609. configure: failed program was:
  1610. | /* confdefs.h */
  1611. | #define PACKAGE_NAME "OLA"
  1612. | #define PACKAGE_TARNAME "ola"
  1613. | #define PACKAGE_VERSION "0.10.6"
  1614. | #define PACKAGE_STRING "OLA 0.10.6"
  1615. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1616. | #define PACKAGE_URL ""
  1617. | #define PACKAGE "ola"
  1618. | #define VERSION "0.10.6"
  1619. | #define HAVE_DIRENT_H 1
  1620. | #define HAVE_SYS_TYPES_H 1
  1621. | #define HAVE_NETINET_IN_H 1
  1622. | #define HAVE_ARPA_NAMESER_H 1
  1623. | #define HAVE_NETDB_H 1
  1624. | #define HAVE_RESOLV_H 1
  1625. | #define STDC_HEADERS 1
  1626. | #define HAVE_SYS_TYPES_H 1
  1627. | #define HAVE_SYS_STAT_H 1
  1628. | #define HAVE_STDLIB_H 1
  1629. | #define HAVE_STRING_H 1
  1630. | #define HAVE_MEMORY_H 1
  1631. | #define HAVE_STRINGS_H 1
  1632. | #define HAVE_INTTYPES_H 1
  1633. | #define HAVE_STDINT_H 1
  1634. | #define HAVE_UNISTD_H 1
  1635. | #define HAVE_ERRNO_H 1
  1636. | #define HAVE_ARPA_INET_H 1
  1637. | #define HAVE_BITS_SOCKADDR_H 1
  1638. | #define HAVE_FCNTL_H 1
  1639. | #define HAVE_FLOAT_H 1
  1640. | #define HAVE_LIMITS_H 1
  1641. | #define HAVE_MALLOC_H 1
  1642. | #define HAVE_NETINET_IN_H 1
  1643. | #define HAVE_STDINT_H 1
  1644. | #define HAVE_STDLIB_H 1
  1645. | #define HAVE_STRING_H 1
  1646. | #define HAVE_STRINGS_H 1
  1647. | #define HAVE_SYS_FILE_H 1
  1648. | #define HAVE_SYS_IOCTL_H 1
  1649. | #define HAVE_SYS_SOCKET_H 1
  1650. | #define HAVE_SYS_TIME_H 1
  1651. | #define HAVE_SYS_TIMEB_H 1
  1652. | #define HAVE_SYSLOG_H 1
  1653. | #define HAVE_TERMIOS_H 1
  1654. | #define HAVE_UNISTD_H 1
  1655. | #define HAVE_ASM_TERMIOS_H 1
  1656. | #define HAVE_ASSERT_H 1
  1657. | #define HAVE_DLFCN_H 1
  1658. | #define HAVE_ENDIAN_H 1
  1659. | #define HAVE_EXECINFO_H 1
  1660. | #define HAVE_LINUX_IF_PACKET_H 1
  1661. | #define HAVE_MATH_H 1
  1662. | #define HAVE_NET_ETHERNET_H 1
  1663. | #define HAVE_STROPTS_H 1
  1664. | #define HAVE_SYS_PARAM_H 1
  1665. | #define HAVE_SYS_TYPES_H 1
  1666. | #define HAVE_SYS_UIO_H 1
  1667. | #define HAVE_SYSEXITS_H 1
  1668. | #define HAVE_SYS_SYSCTL_H 1
  1669. | #define HAVE_NET_IF_H 1
  1670. | #define HAVE_NET_IF_ARP_H 1
  1671. | #define HAVE_NET_ROUTE_H 1
  1672. | #define HAVE_NETINET_IF_ETHER_H 1
  1673. | #define HAVE_LINUX_NETLINK_H 1
  1674. | #define HAVE_LINUX_RTNETLINK_H 1
  1675. | #define HAVE_STDBOOL_H 1
  1676. | /* end confdefs.h. */
  1677. | #include <stdio.h>
  1678. | #ifdef HAVE_SYS_TYPES_H
  1679. | # include <sys/types.h>
  1680. | #endif
  1681. | #ifdef HAVE_SYS_STAT_H
  1682. | # include <sys/stat.h>
  1683. | #endif
  1684. | #ifdef STDC_HEADERS
  1685. | # include <stdlib.h>
  1686. | # include <stddef.h>
  1687. | #else
  1688. | # ifdef HAVE_STDLIB_H
  1689. | # include <stdlib.h>
  1690. | # endif
  1691. | #endif
  1692. | #ifdef HAVE_STRING_H
  1693. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1694. | # include <memory.h>
  1695. | # endif
  1696. | # include <string.h>
  1697. | #endif
  1698. | #ifdef HAVE_STRINGS_H
  1699. | # include <strings.h>
  1700. | #endif
  1701. | #ifdef HAVE_INTTYPES_H
  1702. | # include <inttypes.h>
  1703. | #endif
  1704. | #ifdef HAVE_STDINT_H
  1705. | # include <stdint.h>
  1706. | #endif
  1707. | #ifdef HAVE_UNISTD_H
  1708. | # include <unistd.h>
  1709. | #endif
  1710. | enum { N = 8 / 2 - 1 };
  1711. | int
  1712. | main ()
  1713. | {
  1714. | static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
  1715. | < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
  1716. | test_array [0] = 0;
  1717. | return test_array [0];
  1718. |
  1719. | ;
  1720. | return 0;
  1721. | }
  1722. configure:6845: result: yes
  1723. configure:6856: checking for pid_t
  1724. configure:6856: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1725. configure:6856: $? = 0
  1726. configure:6856: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1727. conftest.cpp: In function 'int main()':
  1728. conftest.cpp:104:19: error: expected primary-expression before ')' token
  1729. if (sizeof ((pid_t)))
  1730. ^
  1731. configure:6856: $? = 1
  1732. configure: failed program was:
  1733. | /* confdefs.h */
  1734. | #define PACKAGE_NAME "OLA"
  1735. | #define PACKAGE_TARNAME "ola"
  1736. | #define PACKAGE_VERSION "0.10.6"
  1737. | #define PACKAGE_STRING "OLA 0.10.6"
  1738. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1739. | #define PACKAGE_URL ""
  1740. | #define PACKAGE "ola"
  1741. | #define VERSION "0.10.6"
  1742. | #define HAVE_DIRENT_H 1
  1743. | #define HAVE_SYS_TYPES_H 1
  1744. | #define HAVE_NETINET_IN_H 1
  1745. | #define HAVE_ARPA_NAMESER_H 1
  1746. | #define HAVE_NETDB_H 1
  1747. | #define HAVE_RESOLV_H 1
  1748. | #define STDC_HEADERS 1
  1749. | #define HAVE_SYS_TYPES_H 1
  1750. | #define HAVE_SYS_STAT_H 1
  1751. | #define HAVE_STDLIB_H 1
  1752. | #define HAVE_STRING_H 1
  1753. | #define HAVE_MEMORY_H 1
  1754. | #define HAVE_STRINGS_H 1
  1755. | #define HAVE_INTTYPES_H 1
  1756. | #define HAVE_STDINT_H 1
  1757. | #define HAVE_UNISTD_H 1
  1758. | #define HAVE_ERRNO_H 1
  1759. | #define HAVE_ARPA_INET_H 1
  1760. | #define HAVE_BITS_SOCKADDR_H 1
  1761. | #define HAVE_FCNTL_H 1
  1762. | #define HAVE_FLOAT_H 1
  1763. | #define HAVE_LIMITS_H 1
  1764. | #define HAVE_MALLOC_H 1
  1765. | #define HAVE_NETINET_IN_H 1
  1766. | #define HAVE_STDINT_H 1
  1767. | #define HAVE_STDLIB_H 1
  1768. | #define HAVE_STRING_H 1
  1769. | #define HAVE_STRINGS_H 1
  1770. | #define HAVE_SYS_FILE_H 1
  1771. | #define HAVE_SYS_IOCTL_H 1
  1772. | #define HAVE_SYS_SOCKET_H 1
  1773. | #define HAVE_SYS_TIME_H 1
  1774. | #define HAVE_SYS_TIMEB_H 1
  1775. | #define HAVE_SYSLOG_H 1
  1776. | #define HAVE_TERMIOS_H 1
  1777. | #define HAVE_UNISTD_H 1
  1778. | #define HAVE_ASM_TERMIOS_H 1
  1779. | #define HAVE_ASSERT_H 1
  1780. | #define HAVE_DLFCN_H 1
  1781. | #define HAVE_ENDIAN_H 1
  1782. | #define HAVE_EXECINFO_H 1
  1783. | #define HAVE_LINUX_IF_PACKET_H 1
  1784. | #define HAVE_MATH_H 1
  1785. | #define HAVE_NET_ETHERNET_H 1
  1786. | #define HAVE_STROPTS_H 1
  1787. | #define HAVE_SYS_PARAM_H 1
  1788. | #define HAVE_SYS_TYPES_H 1
  1789. | #define HAVE_SYS_UIO_H 1
  1790. | #define HAVE_SYSEXITS_H 1
  1791. | #define HAVE_SYS_SYSCTL_H 1
  1792. | #define HAVE_NET_IF_H 1
  1793. | #define HAVE_NET_IF_ARP_H 1
  1794. | #define HAVE_NET_ROUTE_H 1
  1795. | #define HAVE_NETINET_IF_ETHER_H 1
  1796. | #define HAVE_LINUX_NETLINK_H 1
  1797. | #define HAVE_LINUX_RTNETLINK_H 1
  1798. | #define HAVE_STDBOOL_H 1
  1799. | /* end confdefs.h. */
  1800. | #include <stdio.h>
  1801. | #ifdef HAVE_SYS_TYPES_H
  1802. | # include <sys/types.h>
  1803. | #endif
  1804. | #ifdef HAVE_SYS_STAT_H
  1805. | # include <sys/stat.h>
  1806. | #endif
  1807. | #ifdef STDC_HEADERS
  1808. | # include <stdlib.h>
  1809. | # include <stddef.h>
  1810. | #else
  1811. | # ifdef HAVE_STDLIB_H
  1812. | # include <stdlib.h>
  1813. | # endif
  1814. | #endif
  1815. | #ifdef HAVE_STRING_H
  1816. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1817. | # include <memory.h>
  1818. | # endif
  1819. | # include <string.h>
  1820. | #endif
  1821. | #ifdef HAVE_STRINGS_H
  1822. | # include <strings.h>
  1823. | #endif
  1824. | #ifdef HAVE_INTTYPES_H
  1825. | # include <inttypes.h>
  1826. | #endif
  1827. | #ifdef HAVE_STDINT_H
  1828. | # include <stdint.h>
  1829. | #endif
  1830. | #ifdef HAVE_UNISTD_H
  1831. | # include <unistd.h>
  1832. | #endif
  1833. | int
  1834. | main ()
  1835. | {
  1836. | if (sizeof ((pid_t)))
  1837. | return 0;
  1838. | ;
  1839. | return 0;
  1840. | }
  1841. configure:6856: result: yes
  1842. configure:6867: checking for C/C++ restrict keyword
  1843. configure:6892: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1844. configure:6892: $? = 0
  1845. configure:6900: result: __restrict
  1846. configure:6913: checking for size_t
  1847. configure:6913: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1848. configure:6913: $? = 0
  1849. configure:6913: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1850. conftest.cpp: In function 'int main()':
  1851. conftest.cpp:105:20: error: expected primary-expression before ')' token
  1852. if (sizeof ((size_t)))
  1853. ^
  1854. configure:6913: $? = 1
  1855. configure: failed program was:
  1856. | /* confdefs.h */
  1857. | #define PACKAGE_NAME "OLA"
  1858. | #define PACKAGE_TARNAME "ola"
  1859. | #define PACKAGE_VERSION "0.10.6"
  1860. | #define PACKAGE_STRING "OLA 0.10.6"
  1861. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1862. | #define PACKAGE_URL ""
  1863. | #define PACKAGE "ola"
  1864. | #define VERSION "0.10.6"
  1865. | #define HAVE_DIRENT_H 1
  1866. | #define HAVE_SYS_TYPES_H 1
  1867. | #define HAVE_NETINET_IN_H 1
  1868. | #define HAVE_ARPA_NAMESER_H 1
  1869. | #define HAVE_NETDB_H 1
  1870. | #define HAVE_RESOLV_H 1
  1871. | #define STDC_HEADERS 1
  1872. | #define HAVE_SYS_TYPES_H 1
  1873. | #define HAVE_SYS_STAT_H 1
  1874. | #define HAVE_STDLIB_H 1
  1875. | #define HAVE_STRING_H 1
  1876. | #define HAVE_MEMORY_H 1
  1877. | #define HAVE_STRINGS_H 1
  1878. | #define HAVE_INTTYPES_H 1
  1879. | #define HAVE_STDINT_H 1
  1880. | #define HAVE_UNISTD_H 1
  1881. | #define HAVE_ERRNO_H 1
  1882. | #define HAVE_ARPA_INET_H 1
  1883. | #define HAVE_BITS_SOCKADDR_H 1
  1884. | #define HAVE_FCNTL_H 1
  1885. | #define HAVE_FLOAT_H 1
  1886. | #define HAVE_LIMITS_H 1
  1887. | #define HAVE_MALLOC_H 1
  1888. | #define HAVE_NETINET_IN_H 1
  1889. | #define HAVE_STDINT_H 1
  1890. | #define HAVE_STDLIB_H 1
  1891. | #define HAVE_STRING_H 1
  1892. | #define HAVE_STRINGS_H 1
  1893. | #define HAVE_SYS_FILE_H 1
  1894. | #define HAVE_SYS_IOCTL_H 1
  1895. | #define HAVE_SYS_SOCKET_H 1
  1896. | #define HAVE_SYS_TIME_H 1
  1897. | #define HAVE_SYS_TIMEB_H 1
  1898. | #define HAVE_SYSLOG_H 1
  1899. | #define HAVE_TERMIOS_H 1
  1900. | #define HAVE_UNISTD_H 1
  1901. | #define HAVE_ASM_TERMIOS_H 1
  1902. | #define HAVE_ASSERT_H 1
  1903. | #define HAVE_DLFCN_H 1
  1904. | #define HAVE_ENDIAN_H 1
  1905. | #define HAVE_EXECINFO_H 1
  1906. | #define HAVE_LINUX_IF_PACKET_H 1
  1907. | #define HAVE_MATH_H 1
  1908. | #define HAVE_NET_ETHERNET_H 1
  1909. | #define HAVE_STROPTS_H 1
  1910. | #define HAVE_SYS_PARAM_H 1
  1911. | #define HAVE_SYS_TYPES_H 1
  1912. | #define HAVE_SYS_UIO_H 1
  1913. | #define HAVE_SYSEXITS_H 1
  1914. | #define HAVE_SYS_SYSCTL_H 1
  1915. | #define HAVE_NET_IF_H 1
  1916. | #define HAVE_NET_IF_ARP_H 1
  1917. | #define HAVE_NET_ROUTE_H 1
  1918. | #define HAVE_NETINET_IF_ETHER_H 1
  1919. | #define HAVE_LINUX_NETLINK_H 1
  1920. | #define HAVE_LINUX_RTNETLINK_H 1
  1921. | #define HAVE_STDBOOL_H 1
  1922. | #define restrict __restrict
  1923. | /* end confdefs.h. */
  1924. | #include <stdio.h>
  1925. | #ifdef HAVE_SYS_TYPES_H
  1926. | # include <sys/types.h>
  1927. | #endif
  1928. | #ifdef HAVE_SYS_STAT_H
  1929. | # include <sys/stat.h>
  1930. | #endif
  1931. | #ifdef STDC_HEADERS
  1932. | # include <stdlib.h>
  1933. | # include <stddef.h>
  1934. | #else
  1935. | # ifdef HAVE_STDLIB_H
  1936. | # include <stdlib.h>
  1937. | # endif
  1938. | #endif
  1939. | #ifdef HAVE_STRING_H
  1940. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1941. | # include <memory.h>
  1942. | # endif
  1943. | # include <string.h>
  1944. | #endif
  1945. | #ifdef HAVE_STRINGS_H
  1946. | # include <strings.h>
  1947. | #endif
  1948. | #ifdef HAVE_INTTYPES_H
  1949. | # include <inttypes.h>
  1950. | #endif
  1951. | #ifdef HAVE_STDINT_H
  1952. | # include <stdint.h>
  1953. | #endif
  1954. | #ifdef HAVE_UNISTD_H
  1955. | # include <unistd.h>
  1956. | #endif
  1957. | int
  1958. | main ()
  1959. | {
  1960. | if (sizeof ((size_t)))
  1961. | return 0;
  1962. | ;
  1963. | return 0;
  1964. | }
  1965. configure:6913: result: yes
  1966. configure:6924: checking for ssize_t
  1967. configure:6924: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1968. configure:6924: $? = 0
  1969. configure:6924: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  1970. conftest.cpp: In function 'int main()':
  1971. conftest.cpp:105:21: error: expected primary-expression before ')' token
  1972. if (sizeof ((ssize_t)))
  1973. ^
  1974. configure:6924: $? = 1
  1975. configure: failed program was:
  1976. | /* confdefs.h */
  1977. | #define PACKAGE_NAME "OLA"
  1978. | #define PACKAGE_TARNAME "ola"
  1979. | #define PACKAGE_VERSION "0.10.6"
  1980. | #define PACKAGE_STRING "OLA 0.10.6"
  1981. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  1982. | #define PACKAGE_URL ""
  1983. | #define PACKAGE "ola"
  1984. | #define VERSION "0.10.6"
  1985. | #define HAVE_DIRENT_H 1
  1986. | #define HAVE_SYS_TYPES_H 1
  1987. | #define HAVE_NETINET_IN_H 1
  1988. | #define HAVE_ARPA_NAMESER_H 1
  1989. | #define HAVE_NETDB_H 1
  1990. | #define HAVE_RESOLV_H 1
  1991. | #define STDC_HEADERS 1
  1992. | #define HAVE_SYS_TYPES_H 1
  1993. | #define HAVE_SYS_STAT_H 1
  1994. | #define HAVE_STDLIB_H 1
  1995. | #define HAVE_STRING_H 1
  1996. | #define HAVE_MEMORY_H 1
  1997. | #define HAVE_STRINGS_H 1
  1998. | #define HAVE_INTTYPES_H 1
  1999. | #define HAVE_STDINT_H 1
  2000. | #define HAVE_UNISTD_H 1
  2001. | #define HAVE_ERRNO_H 1
  2002. | #define HAVE_ARPA_INET_H 1
  2003. | #define HAVE_BITS_SOCKADDR_H 1
  2004. | #define HAVE_FCNTL_H 1
  2005. | #define HAVE_FLOAT_H 1
  2006. | #define HAVE_LIMITS_H 1
  2007. | #define HAVE_MALLOC_H 1
  2008. | #define HAVE_NETINET_IN_H 1
  2009. | #define HAVE_STDINT_H 1
  2010. | #define HAVE_STDLIB_H 1
  2011. | #define HAVE_STRING_H 1
  2012. | #define HAVE_STRINGS_H 1
  2013. | #define HAVE_SYS_FILE_H 1
  2014. | #define HAVE_SYS_IOCTL_H 1
  2015. | #define HAVE_SYS_SOCKET_H 1
  2016. | #define HAVE_SYS_TIME_H 1
  2017. | #define HAVE_SYS_TIMEB_H 1
  2018. | #define HAVE_SYSLOG_H 1
  2019. | #define HAVE_TERMIOS_H 1
  2020. | #define HAVE_UNISTD_H 1
  2021. | #define HAVE_ASM_TERMIOS_H 1
  2022. | #define HAVE_ASSERT_H 1
  2023. | #define HAVE_DLFCN_H 1
  2024. | #define HAVE_ENDIAN_H 1
  2025. | #define HAVE_EXECINFO_H 1
  2026. | #define HAVE_LINUX_IF_PACKET_H 1
  2027. | #define HAVE_MATH_H 1
  2028. | #define HAVE_NET_ETHERNET_H 1
  2029. | #define HAVE_STROPTS_H 1
  2030. | #define HAVE_SYS_PARAM_H 1
  2031. | #define HAVE_SYS_TYPES_H 1
  2032. | #define HAVE_SYS_UIO_H 1
  2033. | #define HAVE_SYSEXITS_H 1
  2034. | #define HAVE_SYS_SYSCTL_H 1
  2035. | #define HAVE_NET_IF_H 1
  2036. | #define HAVE_NET_IF_ARP_H 1
  2037. | #define HAVE_NET_ROUTE_H 1
  2038. | #define HAVE_NETINET_IF_ETHER_H 1
  2039. | #define HAVE_LINUX_NETLINK_H 1
  2040. | #define HAVE_LINUX_RTNETLINK_H 1
  2041. | #define HAVE_STDBOOL_H 1
  2042. | #define restrict __restrict
  2043. | /* end confdefs.h. */
  2044. | #include <stdio.h>
  2045. | #ifdef HAVE_SYS_TYPES_H
  2046. | # include <sys/types.h>
  2047. | #endif
  2048. | #ifdef HAVE_SYS_STAT_H
  2049. | # include <sys/stat.h>
  2050. | #endif
  2051. | #ifdef STDC_HEADERS
  2052. | # include <stdlib.h>
  2053. | # include <stddef.h>
  2054. | #else
  2055. | # ifdef HAVE_STDLIB_H
  2056. | # include <stdlib.h>
  2057. | # endif
  2058. | #endif
  2059. | #ifdef HAVE_STRING_H
  2060. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2061. | # include <memory.h>
  2062. | # endif
  2063. | # include <string.h>
  2064. | #endif
  2065. | #ifdef HAVE_STRINGS_H
  2066. | # include <strings.h>
  2067. | #endif
  2068. | #ifdef HAVE_INTTYPES_H
  2069. | # include <inttypes.h>
  2070. | #endif
  2071. | #ifdef HAVE_STDINT_H
  2072. | # include <stdint.h>
  2073. | #endif
  2074. | #ifdef HAVE_UNISTD_H
  2075. | # include <unistd.h>
  2076. | #endif
  2077. | int
  2078. | main ()
  2079. | {
  2080. | if (sizeof ((ssize_t)))
  2081. | return 0;
  2082. | ;
  2083. | return 0;
  2084. | }
  2085. configure:6924: result: yes
  2086. configure:6935: checking for uint16_t
  2087. configure:6935: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2088. configure:6935: $? = 0
  2089. configure:6935: result: yes
  2090. configure:6947: checking for uint32_t
  2091. configure:6947: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2092. configure:6947: $? = 0
  2093. configure:6947: result: yes
  2094. configure:6961: checking for uint64_t
  2095. configure:6961: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2096. configure:6961: $? = 0
  2097. configure:6961: result: yes
  2098. configure:6975: checking for uint8_t
  2099. configure:6975: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2100. configure:6975: $? = 0
  2101. configure:6975: result: yes
  2102. configure:6990: checking the location of hash_map
  2103. configure:7014: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2104. configure:7014: $? = 0
  2105. configure:7036: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2106. In file included from /usr/include/c++/5/unordered_map:35:0,
  2107. from conftest.cpp:69:
  2108. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11
  2109. or -std=gnu++11 compiler options.
  2110. #error This file requires compiler and library support \
  2111. ^
  2112. conftest.cpp: In function 'int main()':
  2113. conftest.cpp:73:12: error: 'unordered_map' in namespace 'std' does not name a template type
  2114. const std::unordered_map<int, int> t;
  2115. ^
  2116. conftest.cpp:74:37: error: 't' was not declared in this scope
  2117. return t.find(5) == t.end();
  2118. ^
  2119. configure:7036: $? = 1
  2120. configure: failed program was:
  2121. | /* confdefs.h */
  2122. | #define PACKAGE_NAME "OLA"
  2123. | #define PACKAGE_TARNAME "ola"
  2124. | #define PACKAGE_VERSION "0.10.6"
  2125. | #define PACKAGE_STRING "OLA 0.10.6"
  2126. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2127. | #define PACKAGE_URL ""
  2128. | #define PACKAGE "ola"
  2129. | #define VERSION "0.10.6"
  2130. | #define HAVE_DIRENT_H 1
  2131. | #define HAVE_SYS_TYPES_H 1
  2132. | #define HAVE_NETINET_IN_H 1
  2133. | #define HAVE_ARPA_NAMESER_H 1
  2134. | #define HAVE_NETDB_H 1
  2135. | #define HAVE_RESOLV_H 1
  2136. | #define STDC_HEADERS 1
  2137. | #define HAVE_SYS_TYPES_H 1
  2138. | #define HAVE_SYS_STAT_H 1
  2139. | #define HAVE_STDLIB_H 1
  2140. | #define HAVE_STRING_H 1
  2141. | #define HAVE_MEMORY_H 1
  2142. | #define HAVE_STRINGS_H 1
  2143. | #define HAVE_INTTYPES_H 1
  2144. | #define HAVE_STDINT_H 1
  2145. | #define HAVE_UNISTD_H 1
  2146. | #define HAVE_ERRNO_H 1
  2147. | #define HAVE_ARPA_INET_H 1
  2148. | #define HAVE_BITS_SOCKADDR_H 1
  2149. | #define HAVE_FCNTL_H 1
  2150. | #define HAVE_FLOAT_H 1
  2151. | #define HAVE_LIMITS_H 1
  2152. | #define HAVE_MALLOC_H 1
  2153. | #define HAVE_NETINET_IN_H 1
  2154. | #define HAVE_STDINT_H 1
  2155. | #define HAVE_STDLIB_H 1
  2156. | #define HAVE_STRING_H 1
  2157. | #define HAVE_STRINGS_H 1
  2158. | #define HAVE_SYS_FILE_H 1
  2159. | #define HAVE_SYS_IOCTL_H 1
  2160. | #define HAVE_SYS_SOCKET_H 1
  2161. | #define HAVE_SYS_TIME_H 1
  2162. | #define HAVE_SYS_TIMEB_H 1
  2163. | #define HAVE_SYSLOG_H 1
  2164. | #define HAVE_TERMIOS_H 1
  2165. | #define HAVE_UNISTD_H 1
  2166. | #define HAVE_ASM_TERMIOS_H 1
  2167. | #define HAVE_ASSERT_H 1
  2168. | #define HAVE_DLFCN_H 1
  2169. | #define HAVE_ENDIAN_H 1
  2170. | #define HAVE_EXECINFO_H 1
  2171. | #define HAVE_LINUX_IF_PACKET_H 1
  2172. | #define HAVE_MATH_H 1
  2173. | #define HAVE_NET_ETHERNET_H 1
  2174. | #define HAVE_STROPTS_H 1
  2175. | #define HAVE_SYS_PARAM_H 1
  2176. | #define HAVE_SYS_TYPES_H 1
  2177. | #define HAVE_SYS_UIO_H 1
  2178. | #define HAVE_SYSEXITS_H 1
  2179. | #define HAVE_SYS_SYSCTL_H 1
  2180. | #define HAVE_NET_IF_H 1
  2181. | #define HAVE_NET_IF_ARP_H 1
  2182. | #define HAVE_NET_ROUTE_H 1
  2183. | #define HAVE_NETINET_IF_ETHER_H 1
  2184. | #define HAVE_LINUX_NETLINK_H 1
  2185. | #define HAVE_LINUX_RTNETLINK_H 1
  2186. | #define HAVE_STDBOOL_H 1
  2187. | #define restrict __restrict
  2188. | /* end confdefs.h. */
  2189. | #include <unordered_map>
  2190. | int
  2191. | main ()
  2192. | {
  2193. | const std::unordered_map<int, int> t;
  2194. | return t.find(5) == t.end();
  2195. | ;
  2196. | return 0;
  2197. | }
  2198. configure:7036: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2199. In file included from /usr/include/c++/5/unordered_map:35:0,
  2200. from conftest.cpp:69:
  2201. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11
  2202. or -std=gnu++11 compiler options.
  2203. #error This file requires compiler and library support \
  2204. ^
  2205. conftest.cpp: In function 'int main()':
  2206. conftest.cpp:73:12: error: 'tr1' in namespace 'std' does not name a type
  2207. const std::tr1::unordered_map<int, int> t;
  2208. ^
  2209. conftest.cpp:74:37: error: 't' was not declared in this scope
  2210. return t.find(5) == t.end();
  2211. ^
  2212. configure:7036: $? = 1
  2213. configure: failed program was:
  2214. | /* confdefs.h */
  2215. | #define PACKAGE_NAME "OLA"
  2216. | #define PACKAGE_TARNAME "ola"
  2217. | #define PACKAGE_VERSION "0.10.6"
  2218. | #define PACKAGE_STRING "OLA 0.10.6"
  2219. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2220. | #define PACKAGE_URL ""
  2221. | #define PACKAGE "ola"
  2222. | #define VERSION "0.10.6"
  2223. | #define HAVE_DIRENT_H 1
  2224. | #define HAVE_SYS_TYPES_H 1
  2225. | #define HAVE_NETINET_IN_H 1
  2226. | #define HAVE_ARPA_NAMESER_H 1
  2227. | #define HAVE_NETDB_H 1
  2228. | #define HAVE_RESOLV_H 1
  2229. | #define STDC_HEADERS 1
  2230. | #define HAVE_SYS_TYPES_H 1
  2231. | #define HAVE_SYS_STAT_H 1
  2232. | #define HAVE_STDLIB_H 1
  2233. | #define HAVE_STRING_H 1
  2234. | #define HAVE_MEMORY_H 1
  2235. | #define HAVE_STRINGS_H 1
  2236. | #define HAVE_INTTYPES_H 1
  2237. | #define HAVE_STDINT_H 1
  2238. | #define HAVE_UNISTD_H 1
  2239. | #define HAVE_ERRNO_H 1
  2240. | #define HAVE_ARPA_INET_H 1
  2241. | #define HAVE_BITS_SOCKADDR_H 1
  2242. | #define HAVE_FCNTL_H 1
  2243. | #define HAVE_FLOAT_H 1
  2244. | #define HAVE_LIMITS_H 1
  2245. | #define HAVE_MALLOC_H 1
  2246. | #define HAVE_NETINET_IN_H 1
  2247. | #define HAVE_STDINT_H 1
  2248. | #define HAVE_STDLIB_H 1
  2249. | #define HAVE_STRING_H 1
  2250. | #define HAVE_STRINGS_H 1
  2251. | #define HAVE_SYS_FILE_H 1
  2252. | #define HAVE_SYS_IOCTL_H 1
  2253. | #define HAVE_SYS_SOCKET_H 1
  2254. | #define HAVE_SYS_TIME_H 1
  2255. | #define HAVE_SYS_TIMEB_H 1
  2256. | #define HAVE_SYSLOG_H 1
  2257. | #define HAVE_TERMIOS_H 1
  2258. | #define HAVE_UNISTD_H 1
  2259. | #define HAVE_ASM_TERMIOS_H 1
  2260. | #define HAVE_ASSERT_H 1
  2261. | #define HAVE_DLFCN_H 1
  2262. | #define HAVE_ENDIAN_H 1
  2263. | #define HAVE_EXECINFO_H 1
  2264. | #define HAVE_LINUX_IF_PACKET_H 1
  2265. | #define HAVE_MATH_H 1
  2266. | #define HAVE_NET_ETHERNET_H 1
  2267. | #define HAVE_STROPTS_H 1
  2268. | #define HAVE_SYS_PARAM_H 1
  2269. | #define HAVE_SYS_TYPES_H 1
  2270. | #define HAVE_SYS_UIO_H 1
  2271. | #define HAVE_SYSEXITS_H 1
  2272. | #define HAVE_SYS_SYSCTL_H 1
  2273. | #define HAVE_NET_IF_H 1
  2274. | #define HAVE_NET_IF_ARP_H 1
  2275. | #define HAVE_NET_ROUTE_H 1
  2276. | #define HAVE_NETINET_IF_ETHER_H 1
  2277. | #define HAVE_LINUX_NETLINK_H 1
  2278. | #define HAVE_LINUX_RTNETLINK_H 1
  2279. | #define HAVE_STDBOOL_H 1
  2280. | #define restrict __restrict
  2281. | /* end confdefs.h. */
  2282. | #include <unordered_map>
  2283. | int
  2284. | main ()
  2285. | {
  2286. | const std::tr1::unordered_map<int, int> t;
  2287. | return t.find(5) == t.end();
  2288. | ;
  2289. | return 0;
  2290. | }
  2291. configure:7036: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2292. conftest.cpp: In function 'int main()':
  2293. conftest.cpp:73:12: error: 'unordered_map' in namespace 'std' does not name a template type
  2294. const std::unordered_map<int, int> t;
  2295. ^
  2296. conftest.cpp:74:37: error: 't' was not declared in this scope
  2297. return t.find(5) == t.end();
  2298. ^
  2299. configure:7036: $? = 1
  2300. configure: failed program was:
  2301. | /* confdefs.h */
  2302. | #define PACKAGE_NAME "OLA"
  2303. | #define PACKAGE_TARNAME "ola"
  2304. | #define PACKAGE_VERSION "0.10.6"
  2305. | #define PACKAGE_STRING "OLA 0.10.6"
  2306. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2307. | #define PACKAGE_URL ""
  2308. | #define PACKAGE "ola"
  2309. | #define VERSION "0.10.6"
  2310. | #define HAVE_DIRENT_H 1
  2311. | #define HAVE_SYS_TYPES_H 1
  2312. | #define HAVE_NETINET_IN_H 1
  2313. | #define HAVE_ARPA_NAMESER_H 1
  2314. | #define HAVE_NETDB_H 1
  2315. | #define HAVE_RESOLV_H 1
  2316. | #define STDC_HEADERS 1
  2317. | #define HAVE_SYS_TYPES_H 1
  2318. | #define HAVE_SYS_STAT_H 1
  2319. | #define HAVE_STDLIB_H 1
  2320. | #define HAVE_STRING_H 1
  2321. | #define HAVE_MEMORY_H 1
  2322. | #define HAVE_STRINGS_H 1
  2323. | #define HAVE_INTTYPES_H 1
  2324. | #define HAVE_STDINT_H 1
  2325. | #define HAVE_UNISTD_H 1
  2326. | #define HAVE_ERRNO_H 1
  2327. | #define HAVE_ARPA_INET_H 1
  2328. | #define HAVE_BITS_SOCKADDR_H 1
  2329. | #define HAVE_FCNTL_H 1
  2330. | #define HAVE_FLOAT_H 1
  2331. | #define HAVE_LIMITS_H 1
  2332. | #define HAVE_MALLOC_H 1
  2333. | #define HAVE_NETINET_IN_H 1
  2334. | #define HAVE_STDINT_H 1
  2335. | #define HAVE_STDLIB_H 1
  2336. | #define HAVE_STRING_H 1
  2337. | #define HAVE_STRINGS_H 1
  2338. | #define HAVE_SYS_FILE_H 1
  2339. | #define HAVE_SYS_IOCTL_H 1
  2340. | #define HAVE_SYS_SOCKET_H 1
  2341. | #define HAVE_SYS_TIME_H 1
  2342. | #define HAVE_SYS_TIMEB_H 1
  2343. | #define HAVE_SYSLOG_H 1
  2344. | #define HAVE_TERMIOS_H 1
  2345. | #define HAVE_UNISTD_H 1
  2346. | #define HAVE_ASM_TERMIOS_H 1
  2347. | #define HAVE_ASSERT_H 1
  2348. | #define HAVE_DLFCN_H 1
  2349. | #define HAVE_ENDIAN_H 1
  2350. | #define HAVE_EXECINFO_H 1
  2351. | #define HAVE_LINUX_IF_PACKET_H 1
  2352. | #define HAVE_MATH_H 1
  2353. | #define HAVE_NET_ETHERNET_H 1
  2354. | #define HAVE_STROPTS_H 1
  2355. | #define HAVE_SYS_PARAM_H 1
  2356. | #define HAVE_SYS_TYPES_H 1
  2357. | #define HAVE_SYS_UIO_H 1
  2358. | #define HAVE_SYSEXITS_H 1
  2359. | #define HAVE_SYS_SYSCTL_H 1
  2360. | #define HAVE_NET_IF_H 1
  2361. | #define HAVE_NET_IF_ARP_H 1
  2362. | #define HAVE_NET_ROUTE_H 1
  2363. | #define HAVE_NETINET_IF_ETHER_H 1
  2364. | #define HAVE_LINUX_NETLINK_H 1
  2365. | #define HAVE_LINUX_RTNETLINK_H 1
  2366. | #define HAVE_STDBOOL_H 1
  2367. | #define restrict __restrict
  2368. | /* end confdefs.h. */
  2369. | #include <tr1/unordered_map>
  2370. | int
  2371. | main ()
  2372. | {
  2373. | const std::unordered_map<int, int> t;
  2374. | return t.find(5) == t.end();
  2375. | ;
  2376. | return 0;
  2377. | }
  2378. configure:7036: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2379. configure:7036: $? = 0
  2380. configure:7108: result: <tr1/unordered_map>
  2381. configure:7121: checking vfork.h usability
  2382. configure:7121: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2383. conftest.cpp:110:19: fatal error: vfork.h: No such file or directory
  2384. compilation terminated.
  2385. configure:7121: $? = 1
  2386. configure: failed program was:
  2387. | /* confdefs.h */
  2388. | #define PACKAGE_NAME "OLA"
  2389. | #define PACKAGE_TARNAME "ola"
  2390. | #define PACKAGE_VERSION "0.10.6"
  2391. | #define PACKAGE_STRING "OLA 0.10.6"
  2392. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2393. | #define PACKAGE_URL ""
  2394. | #define PACKAGE "ola"
  2395. | #define VERSION "0.10.6"
  2396. | #define HAVE_DIRENT_H 1
  2397. | #define HAVE_SYS_TYPES_H 1
  2398. | #define HAVE_NETINET_IN_H 1
  2399. | #define HAVE_ARPA_NAMESER_H 1
  2400. | #define HAVE_NETDB_H 1
  2401. | #define HAVE_RESOLV_H 1
  2402. | #define STDC_HEADERS 1
  2403. | #define HAVE_SYS_TYPES_H 1
  2404. | #define HAVE_SYS_STAT_H 1
  2405. | #define HAVE_STDLIB_H 1
  2406. | #define HAVE_STRING_H 1
  2407. | #define HAVE_MEMORY_H 1
  2408. | #define HAVE_STRINGS_H 1
  2409. | #define HAVE_INTTYPES_H 1
  2410. | #define HAVE_STDINT_H 1
  2411. | #define HAVE_UNISTD_H 1
  2412. | #define HAVE_ERRNO_H 1
  2413. | #define HAVE_ARPA_INET_H 1
  2414. | #define HAVE_BITS_SOCKADDR_H 1
  2415. | #define HAVE_FCNTL_H 1
  2416. | #define HAVE_FLOAT_H 1
  2417. | #define HAVE_LIMITS_H 1
  2418. | #define HAVE_MALLOC_H 1
  2419. | #define HAVE_NETINET_IN_H 1
  2420. | #define HAVE_STDINT_H 1
  2421. | #define HAVE_STDLIB_H 1
  2422. | #define HAVE_STRING_H 1
  2423. | #define HAVE_STRINGS_H 1
  2424. | #define HAVE_SYS_FILE_H 1
  2425. | #define HAVE_SYS_IOCTL_H 1
  2426. | #define HAVE_SYS_SOCKET_H 1
  2427. | #define HAVE_SYS_TIME_H 1
  2428. | #define HAVE_SYS_TIMEB_H 1
  2429. | #define HAVE_SYSLOG_H 1
  2430. | #define HAVE_TERMIOS_H 1
  2431. | #define HAVE_UNISTD_H 1
  2432. | #define HAVE_ASM_TERMIOS_H 1
  2433. | #define HAVE_ASSERT_H 1
  2434. | #define HAVE_DLFCN_H 1
  2435. | #define HAVE_ENDIAN_H 1
  2436. | #define HAVE_EXECINFO_H 1
  2437. | #define HAVE_LINUX_IF_PACKET_H 1
  2438. | #define HAVE_MATH_H 1
  2439. | #define HAVE_NET_ETHERNET_H 1
  2440. | #define HAVE_STROPTS_H 1
  2441. | #define HAVE_SYS_PARAM_H 1
  2442. | #define HAVE_SYS_TYPES_H 1
  2443. | #define HAVE_SYS_UIO_H 1
  2444. | #define HAVE_SYSEXITS_H 1
  2445. | #define HAVE_SYS_SYSCTL_H 1
  2446. | #define HAVE_NET_IF_H 1
  2447. | #define HAVE_NET_IF_ARP_H 1
  2448. | #define HAVE_NET_ROUTE_H 1
  2449. | #define HAVE_NETINET_IF_ETHER_H 1
  2450. | #define HAVE_LINUX_NETLINK_H 1
  2451. | #define HAVE_LINUX_RTNETLINK_H 1
  2452. | #define HAVE_STDBOOL_H 1
  2453. | #define restrict __restrict
  2454. | #define HAVE_HASH_MAP 1
  2455. | #define HAVE_HASH_SET 1
  2456. | #define HAVE_UNORDERED_MAP 1
  2457. | #define HASH_MAP_H <tr1/unordered_map>
  2458. | #define HASH_SET_H <tr1/unordered_set>
  2459. | #define HASH_NAMESPACE std::tr1
  2460. | #define HASH_MAP_CLASS unordered_map
  2461. | #define HASH_SET_CLASS unordered_set
  2462. | /* end confdefs.h. */
  2463. | #include <stdio.h>
  2464. | #ifdef HAVE_SYS_TYPES_H
  2465. | # include <sys/types.h>
  2466. | #endif
  2467. | #ifdef HAVE_SYS_STAT_H
  2468. | # include <sys/stat.h>
  2469. | #endif
  2470. | #ifdef STDC_HEADERS
  2471. | # include <stdlib.h>
  2472. | # include <stddef.h>
  2473. | #else
  2474. | # ifdef HAVE_STDLIB_H
  2475. | # include <stdlib.h>
  2476. | # endif
  2477. | #endif
  2478. | #ifdef HAVE_STRING_H
  2479. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2480. | # include <memory.h>
  2481. | # endif
  2482. | # include <string.h>
  2483. | #endif
  2484. | #ifdef HAVE_STRINGS_H
  2485. | # include <strings.h>
  2486. | #endif
  2487. | #ifdef HAVE_INTTYPES_H
  2488. | # include <inttypes.h>
  2489. | #endif
  2490. | #ifdef HAVE_STDINT_H
  2491. | # include <stdint.h>
  2492. | #endif
  2493. | #ifdef HAVE_UNISTD_H
  2494. | # include <unistd.h>
  2495. | #endif
  2496. | #include <vfork.h>
  2497. configure:7121: result: no
  2498. configure:7121: checking vfork.h presence
  2499. configure:7121: g++ -E conftest.cpp
  2500. conftest.cpp:77:19: fatal error: vfork.h: No such file or directory
  2501. compilation terminated.
  2502. configure:7121: $? = 1
  2503. configure: failed program was:
  2504. | /* confdefs.h */
  2505. | #define PACKAGE_NAME "OLA"
  2506. | #define PACKAGE_TARNAME "ola"
  2507. | #define PACKAGE_VERSION "0.10.6"
  2508. | #define PACKAGE_STRING "OLA 0.10.6"
  2509. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2510. | #define PACKAGE_URL ""
  2511. | #define PACKAGE "ola"
  2512. | #define VERSION "0.10.6"
  2513. | #define HAVE_DIRENT_H 1
  2514. | #define HAVE_SYS_TYPES_H 1
  2515. | #define HAVE_NETINET_IN_H 1
  2516. | #define HAVE_ARPA_NAMESER_H 1
  2517. | #define HAVE_NETDB_H 1
  2518. | #define HAVE_RESOLV_H 1
  2519. | #define STDC_HEADERS 1
  2520. | #define HAVE_SYS_TYPES_H 1
  2521. | #define HAVE_SYS_STAT_H 1
  2522. | #define HAVE_STDLIB_H 1
  2523. | #define HAVE_STRING_H 1
  2524. | #define HAVE_MEMORY_H 1
  2525. | #define HAVE_STRINGS_H 1
  2526. | #define HAVE_INTTYPES_H 1
  2527. | #define HAVE_STDINT_H 1
  2528. | #define HAVE_UNISTD_H 1
  2529. | #define HAVE_ERRNO_H 1
  2530. | #define HAVE_ARPA_INET_H 1
  2531. | #define HAVE_BITS_SOCKADDR_H 1
  2532. | #define HAVE_FCNTL_H 1
  2533. | #define HAVE_FLOAT_H 1
  2534. | #define HAVE_LIMITS_H 1
  2535. | #define HAVE_MALLOC_H 1
  2536. | #define HAVE_NETINET_IN_H 1
  2537. | #define HAVE_STDINT_H 1
  2538. | #define HAVE_STDLIB_H 1
  2539. | #define HAVE_STRING_H 1
  2540. | #define HAVE_STRINGS_H 1
  2541. | #define HAVE_SYS_FILE_H 1
  2542. | #define HAVE_SYS_IOCTL_H 1
  2543. | #define HAVE_SYS_SOCKET_H 1
  2544. | #define HAVE_SYS_TIME_H 1
  2545. | #define HAVE_SYS_TIMEB_H 1
  2546. | #define HAVE_SYSLOG_H 1
  2547. | #define HAVE_TERMIOS_H 1
  2548. | #define HAVE_UNISTD_H 1
  2549. | #define HAVE_ASM_TERMIOS_H 1
  2550. | #define HAVE_ASSERT_H 1
  2551. | #define HAVE_DLFCN_H 1
  2552. | #define HAVE_ENDIAN_H 1
  2553. | #define HAVE_EXECINFO_H 1
  2554. | #define HAVE_LINUX_IF_PACKET_H 1
  2555. | #define HAVE_MATH_H 1
  2556. | #define HAVE_NET_ETHERNET_H 1
  2557. | #define HAVE_STROPTS_H 1
  2558. | #define HAVE_SYS_PARAM_H 1
  2559. | #define HAVE_SYS_TYPES_H 1
  2560. | #define HAVE_SYS_UIO_H 1
  2561. | #define HAVE_SYSEXITS_H 1
  2562. | #define HAVE_SYS_SYSCTL_H 1
  2563. | #define HAVE_NET_IF_H 1
  2564. | #define HAVE_NET_IF_ARP_H 1
  2565. | #define HAVE_NET_ROUTE_H 1
  2566. | #define HAVE_NETINET_IF_ETHER_H 1
  2567. | #define HAVE_LINUX_NETLINK_H 1
  2568. | #define HAVE_LINUX_RTNETLINK_H 1
  2569. | #define HAVE_STDBOOL_H 1
  2570. | #define restrict __restrict
  2571. | #define HAVE_HASH_MAP 1
  2572. | #define HAVE_HASH_SET 1
  2573. | #define HAVE_UNORDERED_MAP 1
  2574. | #define HASH_MAP_H <tr1/unordered_map>
  2575. | #define HASH_SET_H <tr1/unordered_set>
  2576. | #define HASH_NAMESPACE std::tr1
  2577. | #define HASH_MAP_CLASS unordered_map
  2578. | #define HASH_SET_CLASS unordered_set
  2579. | /* end confdefs.h. */
  2580. | #include <vfork.h>
  2581. configure:7121: result: no
  2582. configure:7121: checking for vfork.h
  2583. configure:7121: result: no
  2584. configure:7134: checking for fork
  2585. configure:7134: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2586. configure:7134: $? = 0
  2587. configure:7134: result: yes
  2588. configure:7134: checking for vfork
  2589. configure:7134: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2590. configure:7134: $? = 0
  2591. configure:7134: result: yes
  2592. configure:7144: checking for working fork
  2593. configure:7166: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2594. configure:7166: $? = 0
  2595. configure:7166: ./conftest
  2596. configure:7166: $? = 0
  2597. configure:7176: result: yes
  2598. configure:7197: checking for working vfork
  2599. configure:7307: result: yes
  2600. configure:7334: checking for stdlib.h
  2601. configure:7334: result: yes
  2602. configure:7344: checking for GNU libc compatible malloc
  2603. configure:7368: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2604. configure:7368: $? = 0
  2605. configure:7368: ./conftest
  2606. configure:7368: $? = 0
  2607. configure:7378: result: yes
  2608. configure:7401: checking for stdlib.h
  2609. configure:7401: result: yes
  2610. configure:7411: checking for GNU libc compatible realloc
  2611. configure:7435: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2612. configure:7435: $? = 0
  2613. configure:7435: ./conftest
  2614. configure:7435: $? = 0
  2615. configure:7445: result: yes
  2616. configure:7466: checking for working memcmp
  2617. configure:7509: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2618. configure:7509: $? = 0
  2619. configure:7509: ./conftest
  2620. configure:7509: $? = 0
  2621. configure:7519: result: yes
  2622. configure:7531: checking sys/select.h usability
  2623. configure:7531: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2624. configure:7531: $? = 0
  2625. configure:7531: result: yes
  2626. configure:7531: checking sys/select.h presence
  2627. configure:7531: g++ -E conftest.cpp
  2628. configure:7531: $? = 0
  2629. configure:7531: result: yes
  2630. configure:7531: checking for sys/select.h
  2631. configure:7531: result: yes
  2632. configure:7531: checking for sys/socket.h
  2633. configure:7531: result: yes
  2634. configure:7541: checking types of arguments for select
  2635. configure:7569: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2636. configure:7569: $? = 0
  2637. configure:7580: result: int,fd_set *,struct timeval *
  2638. configure:7603: checking whether lstat correctly handles trailing slash
  2639. configure:7629: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2640. configure:7629: $? = 0
  2641. configure:7629: ./conftest
  2642. configure:7629: $? = 0
  2643. configure:7646: result: yes
  2644. configure:7665: checking whether stat accepts an empty string
  2645. configure:7685: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2646. configure:7685: $? = 0
  2647. configure:7685: ./conftest
  2648. configure:7685: $? = 0
  2649. configure:7695: result: no
  2650. configure:7711: checking whether closedir returns void
  2651. configure:7735: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2652. configure:7735: $? = 0
  2653. configure:7735: ./conftest
  2654. configure:7735: $? = 0
  2655. configure:7745: result: no
  2656. configure:7755: checking for vprintf
  2657. configure:7755: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2658. configure:7755: $? = 0
  2659. configure:7755: result: yes
  2660. configure:7761: checking for _doprnt
  2661. configure:7761: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2662. /tmp/ccCVPWcw.o: In function `main':
  2663. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.cpp:126: undefined reference to `_doprnt'
  2664. collect2: error: ld returned 1 exit status
  2665. configure:7761: $? = 1
  2666. configure: failed program was:
  2667. | /* confdefs.h */
  2668. | #define PACKAGE_NAME "OLA"
  2669. | #define PACKAGE_TARNAME "ola"
  2670. | #define PACKAGE_VERSION "0.10.6"
  2671. | #define PACKAGE_STRING "OLA 0.10.6"
  2672. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  2673. | #define PACKAGE_URL ""
  2674. | #define PACKAGE "ola"
  2675. | #define VERSION "0.10.6"
  2676. | #define HAVE_DIRENT_H 1
  2677. | #define HAVE_SYS_TYPES_H 1
  2678. | #define HAVE_NETINET_IN_H 1
  2679. | #define HAVE_ARPA_NAMESER_H 1
  2680. | #define HAVE_NETDB_H 1
  2681. | #define HAVE_RESOLV_H 1
  2682. | #define STDC_HEADERS 1
  2683. | #define HAVE_SYS_TYPES_H 1
  2684. | #define HAVE_SYS_STAT_H 1
  2685. | #define HAVE_STDLIB_H 1
  2686. | #define HAVE_STRING_H 1
  2687. | #define HAVE_MEMORY_H 1
  2688. | #define HAVE_STRINGS_H 1
  2689. | #define HAVE_INTTYPES_H 1
  2690. | #define HAVE_STDINT_H 1
  2691. | #define HAVE_UNISTD_H 1
  2692. | #define HAVE_ERRNO_H 1
  2693. | #define HAVE_ARPA_INET_H 1
  2694. | #define HAVE_BITS_SOCKADDR_H 1
  2695. | #define HAVE_FCNTL_H 1
  2696. | #define HAVE_FLOAT_H 1
  2697. | #define HAVE_LIMITS_H 1
  2698. | #define HAVE_MALLOC_H 1
  2699. | #define HAVE_NETINET_IN_H 1
  2700. | #define HAVE_STDINT_H 1
  2701. | #define HAVE_STDLIB_H 1
  2702. | #define HAVE_STRING_H 1
  2703. | #define HAVE_STRINGS_H 1
  2704. | #define HAVE_SYS_FILE_H 1
  2705. | #define HAVE_SYS_IOCTL_H 1
  2706. | #define HAVE_SYS_SOCKET_H 1
  2707. | #define HAVE_SYS_TIME_H 1
  2708. | #define HAVE_SYS_TIMEB_H 1
  2709. | #define HAVE_SYSLOG_H 1
  2710. | #define HAVE_TERMIOS_H 1
  2711. | #define HAVE_UNISTD_H 1
  2712. | #define HAVE_ASM_TERMIOS_H 1
  2713. | #define HAVE_ASSERT_H 1
  2714. | #define HAVE_DLFCN_H 1
  2715. | #define HAVE_ENDIAN_H 1
  2716. | #define HAVE_EXECINFO_H 1
  2717. | #define HAVE_LINUX_IF_PACKET_H 1
  2718. | #define HAVE_MATH_H 1
  2719. | #define HAVE_NET_ETHERNET_H 1
  2720. | #define HAVE_STROPTS_H 1
  2721. | #define HAVE_SYS_PARAM_H 1
  2722. | #define HAVE_SYS_TYPES_H 1
  2723. | #define HAVE_SYS_UIO_H 1
  2724. | #define HAVE_SYSEXITS_H 1
  2725. | #define HAVE_SYS_SYSCTL_H 1
  2726. | #define HAVE_NET_IF_H 1
  2727. | #define HAVE_NET_IF_ARP_H 1
  2728. | #define HAVE_NET_ROUTE_H 1
  2729. | #define HAVE_NETINET_IF_ETHER_H 1
  2730. | #define HAVE_LINUX_NETLINK_H 1
  2731. | #define HAVE_LINUX_RTNETLINK_H 1
  2732. | #define HAVE_STDBOOL_H 1
  2733. | #define restrict __restrict
  2734. | #define HAVE_HASH_MAP 1
  2735. | #define HAVE_HASH_SET 1
  2736. | #define HAVE_UNORDERED_MAP 1
  2737. | #define HASH_MAP_H <tr1/unordered_map>
  2738. | #define HASH_SET_H <tr1/unordered_set>
  2739. | #define HASH_NAMESPACE std::tr1
  2740. | #define HASH_MAP_CLASS unordered_map
  2741. | #define HASH_SET_CLASS unordered_set
  2742. | #define HAVE_FORK 1
  2743. | #define HAVE_VFORK 1
  2744. | #define HAVE_WORKING_VFORK 1
  2745. | #define HAVE_WORKING_FORK 1
  2746. | #define HAVE_STDLIB_H 1
  2747. | #define HAVE_MALLOC 1
  2748. | #define HAVE_STDLIB_H 1
  2749. | #define HAVE_REALLOC 1
  2750. | #define HAVE_SYS_SELECT_H 1
  2751. | #define HAVE_SYS_SOCKET_H 1
  2752. | #define SELECT_TYPE_ARG1 int
  2753. | #define SELECT_TYPE_ARG234 (fd_set *)
  2754. | #define SELECT_TYPE_ARG5 (struct timeval *)
  2755. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  2756. | #define HAVE_VPRINTF 1
  2757. | /* end confdefs.h. */
  2758. | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
  2759. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2760. | #define _doprnt innocuous__doprnt
  2761. |
  2762. | /* System header to define __stub macros and hopefully few prototypes,
  2763. | which can conflict with char _doprnt (); below.
  2764. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2765. | <limits.h> exists even on freestanding compilers. */
  2766. |
  2767. | #ifdef __STDC__
  2768. | # include <limits.h>
  2769. | #else
  2770. | # include <assert.h>
  2771. | #endif
  2772. |
  2773. | #undef _doprnt
  2774. |
  2775. | /* Override any GCC internal prototype to avoid an error.
  2776. | Use char because int might match the return type of a GCC
  2777. | builtin and then its argument prototype would still apply. */
  2778. | #ifdef __cplusplus
  2779. | extern "C"
  2780. | #endif
  2781. | char _doprnt ();
  2782. | /* The GNU C library defines this for functions which it implements
  2783. | to always fail with ENOSYS. Some functions are actually named
  2784. | something starting with __ and the normal name is an alias. */
  2785. | #if defined __stub__doprnt || defined __stub____doprnt
  2786. | choke me
  2787. | #endif
  2788. |
  2789. | int
  2790. | main ()
  2791. | {
  2792. | return _doprnt ();
  2793. | ;
  2794. | return 0;
  2795. | }
  2796. configure:7761: result: no
  2797. configure:7778: checking for bzero
  2798. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2799. configure:7778: $? = 0
  2800. configure:7778: result: yes
  2801. configure:7778: checking for gettimeofday
  2802. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2803. configure:7778: $? = 0
  2804. configure:7778: result: yes
  2805. configure:7778: checking for memmove
  2806. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2807. configure:7778: $? = 0
  2808. configure:7778: result: yes
  2809. configure:7778: checking for memset
  2810. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2811. configure:7778: $? = 0
  2812. configure:7778: result: yes
  2813. configure:7778: checking for mkdir
  2814. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2815. configure:7778: $? = 0
  2816. configure:7778: result: yes
  2817. configure:7778: checking for strdup
  2818. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2819. configure:7778: $? = 0
  2820. configure:7778: result: yes
  2821. configure:7778: checking for strrchr
  2822. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2823. configure:7778: $? = 0
  2824. configure:7778: result: yes
  2825. configure:7778: checking for if_nametoindex
  2826. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2827. configure:7778: $? = 0
  2828. configure:7778: result: yes
  2829. configure:7778: checking for inet_ntoa
  2830. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2831. configure:7778: $? = 0
  2832. configure:7778: result: yes
  2833. configure:7778: checking for inet_ntop
  2834. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2835. configure:7778: $? = 0
  2836. configure:7778: result: yes
  2837. configure:7778: checking for inet_aton
  2838. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2839. configure:7778: $? = 0
  2840. configure:7778: result: yes
  2841. configure:7778: checking for inet_pton
  2842. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2843. configure:7778: $? = 0
  2844. configure:7778: result: yes
  2845. configure:7778: checking for select
  2846. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2847. configure:7778: $? = 0
  2848. configure:7778: result: yes
  2849. configure:7778: checking for socket
  2850. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2851. configure:7778: $? = 0
  2852. configure:7778: result: yes
  2853. configure:7778: checking for strerror
  2854. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2855. configure:7778: $? = 0
  2856. configure:7778: result: yes
  2857. configure:7778: checking for getifaddrs
  2858. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2859. configure:7778: $? = 0
  2860. configure:7778: result: yes
  2861. configure:7778: checking for getloadavg
  2862. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2863. configure:7778: $? = 0
  2864. configure:7778: result: yes
  2865. configure:7778: checking for getpwnam_r
  2866. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2867. configure:7778: $? = 0
  2868. configure:7778: result: yes
  2869. configure:7778: checking for getpwuid_r
  2870. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2871. configure:7778: $? = 0
  2872. configure:7778: result: yes
  2873. configure:7778: checking for getgrnam_r
  2874. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2875. configure:7778: $? = 0
  2876. configure:7778: result: yes
  2877. configure:7778: checking for getgrgid_r
  2878. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2879. configure:7778: $? = 0
  2880. configure:7778: result: yes
  2881. configure:7778: checking for secure_getenv
  2882. configure:7778: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  2883. configure:7778: $? = 0
  2884. configure:7778: result: yes
  2885. configure:7788: checking for readdir_r deprecation
  2886. configure:7813: g++ -c -g -O2 -std=gnu++98 -Werror=deprecated-declarations conftest.cpp >&5
  2887. configure:7813: $? = 0
  2888. configure:7823: result: no
  2889. configure:7859: checking build system type
  2890. configure:7873: result: x86_64-unknown-linux-gnu
  2891. configure:7893: checking host system type
  2892. configure:7906: result: x86_64-unknown-linux-gnu
  2893. configure:7947: checking how to print strings
  2894. configure:7974: result: printf
  2895. configure:7995: checking for a sed that does not truncate output
  2896. configure:8059: result: /bin/sed
  2897. configure:8077: checking for fgrep
  2898. configure:8139: result: /bin/grep -F
  2899. configure:8174: checking for ld used by gcc
  2900. configure:8241: result: /usr/bin/ld
  2901. configure:8248: checking if the linker (/usr/bin/ld) is GNU ld
  2902. configure:8263: result: yes
  2903. configure:8275: checking for BSD- or MS-compatible name lister (nm)
  2904. configure:8329: result: /usr/bin/nm -B
  2905. configure:8459: checking the name lister (/usr/bin/nm -B) interface
  2906. configure:8466: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2907. configure:8469: /usr/bin/nm -B "conftest.o"
  2908. configure:8472: output
  2909. 0000000000000000 B some_variable
  2910. configure:8479: result: BSD nm
  2911. configure:8483: checking the maximum length of command line arguments
  2912. configure:8614: result: 1572864
  2913. configure:8662: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
  2914. configure:8702: result: func_convert_file_noop
  2915. configure:8709: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
  2916. configure:8729: result: func_convert_file_noop
  2917. configure:8736: checking for /usr/bin/ld option to reload object files
  2918. configure:8743: result: -r
  2919. configure:8817: checking for objdump
  2920. configure:8833: found /usr/bin/objdump
  2921. configure:8844: result: objdump
  2922. configure:8873: checking how to recognize dependent libraries
  2923. configure:9073: result: pass_all
  2924. configure:9158: checking for dlltool
  2925. configure:9188: result: no
  2926. configure:9215: checking how to associate runtime and link libraries
  2927. configure:9242: result: printf %s\n
  2928. configure:9302: checking for ar
  2929. configure:9318: found /usr/bin/ar
  2930. configure:9329: result: ar
  2931. configure:9366: checking for archiver @FILE support
  2932. configure:9383: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2933. configure:9383: $? = 0
  2934. configure:9386: ar cru libconftest.a @conftest.lst >&5
  2935. ar: `u' modifier ignored since `D' is the default (see `U')
  2936. configure:9389: $? = 0
  2937. configure:9394: ar cru libconftest.a @conftest.lst >&5
  2938. ar: `u' modifier ignored since `D' is the default (see `U')
  2939. ar: conftest.o: No such file or directory
  2940. configure:9397: $? = 1
  2941. configure:9409: result: @
  2942. configure:9467: checking for strip
  2943. configure:9483: found /usr/bin/strip
  2944. configure:9494: result: strip
  2945. configure:9566: checking for ranlib
  2946. configure:9582: found /usr/bin/ranlib
  2947. configure:9593: result: ranlib
  2948. configure:9695: checking command to parse /usr/bin/nm -B output from gcc object
  2949. configure:9848: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2950. configure:9851: $? = 0
  2951. configure:9855: /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
  2952. configure:9858: $? = 0
  2953. configure:9924: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp conftstm.o >&5
  2954. configure:9927: $? = 0
  2955. configure:9965: result: ok
  2956. configure:10012: checking for sysroot
  2957. configure:10042: result: no
  2958. configure:10049: checking for a working dd
  2959. configure:10087: result: /bin/dd
  2960. configure:10091: checking how to truncate binary pipes
  2961. configure:10106: result: /bin/dd bs=4096 count=1
  2962. configure:10243: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  2963. configure:10246: $? = 0
  2964. configure:10436: checking for mt
  2965. configure:10452: found /bin/mt
  2966. configure:10463: result: mt
  2967. configure:10486: checking if mt is a manifest tool
  2968. configure:10492: mt '-?'
  2969. configure:10500: result: no
  2970. configure:11174: checking for dlfcn.h
  2971. configure:11174: result: yes
  2972. configure:11738: checking for objdir
  2973. configure:11753: result: .libs
  2974. configure:12017: checking if gcc supports -fno-rtti -fno-exceptions
  2975. configure:12035: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
  2976. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
  2977. configure:12039: $? = 0
  2978. configure:12052: result: no
  2979. configure:12410: checking for gcc option to produce PIC
  2980. configure:12417: result: -fPIC -DPIC
  2981. configure:12425: checking if gcc PIC flag -fPIC -DPIC works
  2982. configure:12443: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
  2983. configure:12447: $? = 0
  2984. configure:12460: result: yes
  2985. configure:12489: checking if gcc static flag -static works
  2986. configure:12517: result: yes
  2987. configure:12532: checking if gcc supports -c -o file.o
  2988. configure:12553: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
  2989. configure:12557: $? = 0
  2990. configure:12579: result: yes
  2991. configure:12587: checking if gcc supports -c -o file.o
  2992. configure:12634: result: yes
  2993. configure:12667: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  2994. configure:13926: result: yes
  2995. configure:13963: checking whether -lc should be explicitly linked in
  2996. configure:13971: gcc -c -g -O2 conftest.c >&5
  2997. configure:13974: $? = 0
  2998. configure:13989: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  2999. configure:13992: $? = 0
  3000. configure:14006: result: no
  3001. configure:14166: checking dynamic linker characteristics
  3002. configure:14747: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
  3003. configure:14747: $? = 0
  3004. configure:14984: result: GNU/Linux ld.so
  3005. configure:15106: checking how to hardcode library paths into programs
  3006. configure:15131: result: immediate
  3007. configure:15679: checking whether stripping libraries is possible
  3008. configure:15684: result: yes
  3009. configure:15719: checking if libtool supports shared libraries
  3010. configure:15721: result: yes
  3011. configure:15724: checking whether to build shared libraries
  3012. configure:15749: result: yes
  3013. configure:15752: checking whether to build static libraries
  3014. configure:15756: result: yes
  3015. configure:15779: checking how to run the C++ preprocessor
  3016. configure:15845: result: g++ -E
  3017. configure:15865: g++ -E conftest.cpp
  3018. configure:15865: $? = 0
  3019. configure:15879: g++ -E conftest.cpp
  3020. conftest.cpp:116:28: fatal error: ac_nonexistent.h: No such file or directory
  3021. compilation terminated.
  3022. configure:15879: $? = 1
  3023. configure: failed program was:
  3024. | /* confdefs.h */
  3025. | #define PACKAGE_NAME "OLA"
  3026. | #define PACKAGE_TARNAME "ola"
  3027. | #define PACKAGE_VERSION "0.10.6"
  3028. | #define PACKAGE_STRING "OLA 0.10.6"
  3029. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3030. | #define PACKAGE_URL ""
  3031. | #define PACKAGE "ola"
  3032. | #define VERSION "0.10.6"
  3033. | #define HAVE_DIRENT_H 1
  3034. | #define HAVE_SYS_TYPES_H 1
  3035. | #define HAVE_NETINET_IN_H 1
  3036. | #define HAVE_ARPA_NAMESER_H 1
  3037. | #define HAVE_NETDB_H 1
  3038. | #define HAVE_RESOLV_H 1
  3039. | #define STDC_HEADERS 1
  3040. | #define HAVE_SYS_TYPES_H 1
  3041. | #define HAVE_SYS_STAT_H 1
  3042. | #define HAVE_STDLIB_H 1
  3043. | #define HAVE_STRING_H 1
  3044. | #define HAVE_MEMORY_H 1
  3045. | #define HAVE_STRINGS_H 1
  3046. | #define HAVE_INTTYPES_H 1
  3047. | #define HAVE_STDINT_H 1
  3048. | #define HAVE_UNISTD_H 1
  3049. | #define HAVE_ERRNO_H 1
  3050. | #define HAVE_ARPA_INET_H 1
  3051. | #define HAVE_BITS_SOCKADDR_H 1
  3052. | #define HAVE_FCNTL_H 1
  3053. | #define HAVE_FLOAT_H 1
  3054. | #define HAVE_LIMITS_H 1
  3055. | #define HAVE_MALLOC_H 1
  3056. | #define HAVE_NETINET_IN_H 1
  3057. | #define HAVE_STDINT_H 1
  3058. | #define HAVE_STDLIB_H 1
  3059. | #define HAVE_STRING_H 1
  3060. | #define HAVE_STRINGS_H 1
  3061. | #define HAVE_SYS_FILE_H 1
  3062. | #define HAVE_SYS_IOCTL_H 1
  3063. | #define HAVE_SYS_SOCKET_H 1
  3064. | #define HAVE_SYS_TIME_H 1
  3065. | #define HAVE_SYS_TIMEB_H 1
  3066. | #define HAVE_SYSLOG_H 1
  3067. | #define HAVE_TERMIOS_H 1
  3068. | #define HAVE_UNISTD_H 1
  3069. | #define HAVE_ASM_TERMIOS_H 1
  3070. | #define HAVE_ASSERT_H 1
  3071. | #define HAVE_DLFCN_H 1
  3072. | #define HAVE_ENDIAN_H 1
  3073. | #define HAVE_EXECINFO_H 1
  3074. | #define HAVE_LINUX_IF_PACKET_H 1
  3075. | #define HAVE_MATH_H 1
  3076. | #define HAVE_NET_ETHERNET_H 1
  3077. | #define HAVE_STROPTS_H 1
  3078. | #define HAVE_SYS_PARAM_H 1
  3079. | #define HAVE_SYS_TYPES_H 1
  3080. | #define HAVE_SYS_UIO_H 1
  3081. | #define HAVE_SYSEXITS_H 1
  3082. | #define HAVE_SYS_SYSCTL_H 1
  3083. | #define HAVE_NET_IF_H 1
  3084. | #define HAVE_NET_IF_ARP_H 1
  3085. | #define HAVE_NET_ROUTE_H 1
  3086. | #define HAVE_NETINET_IF_ETHER_H 1
  3087. | #define HAVE_LINUX_NETLINK_H 1
  3088. | #define HAVE_LINUX_RTNETLINK_H 1
  3089. | #define HAVE_STDBOOL_H 1
  3090. | #define restrict __restrict
  3091. | #define HAVE_HASH_MAP 1
  3092. | #define HAVE_HASH_SET 1
  3093. | #define HAVE_UNORDERED_MAP 1
  3094. | #define HASH_MAP_H <tr1/unordered_map>
  3095. | #define HASH_SET_H <tr1/unordered_set>
  3096. | #define HASH_NAMESPACE std::tr1
  3097. | #define HASH_MAP_CLASS unordered_map
  3098. | #define HASH_SET_CLASS unordered_set
  3099. | #define HAVE_FORK 1
  3100. | #define HAVE_VFORK 1
  3101. | #define HAVE_WORKING_VFORK 1
  3102. | #define HAVE_WORKING_FORK 1
  3103. | #define HAVE_STDLIB_H 1
  3104. | #define HAVE_MALLOC 1
  3105. | #define HAVE_STDLIB_H 1
  3106. | #define HAVE_REALLOC 1
  3107. | #define HAVE_SYS_SELECT_H 1
  3108. | #define HAVE_SYS_SOCKET_H 1
  3109. | #define SELECT_TYPE_ARG1 int
  3110. | #define SELECT_TYPE_ARG234 (fd_set *)
  3111. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3112. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3113. | #define HAVE_VPRINTF 1
  3114. | #define HAVE_BZERO 1
  3115. | #define HAVE_GETTIMEOFDAY 1
  3116. | #define HAVE_MEMMOVE 1
  3117. | #define HAVE_MEMSET 1
  3118. | #define HAVE_MKDIR 1
  3119. | #define HAVE_STRDUP 1
  3120. | #define HAVE_STRRCHR 1
  3121. | #define HAVE_IF_NAMETOINDEX 1
  3122. | #define HAVE_INET_NTOA 1
  3123. | #define HAVE_INET_NTOP 1
  3124. | #define HAVE_INET_ATON 1
  3125. | #define HAVE_INET_PTON 1
  3126. | #define HAVE_SELECT 1
  3127. | #define HAVE_SOCKET 1
  3128. | #define HAVE_STRERROR 1
  3129. | #define HAVE_GETIFADDRS 1
  3130. | #define HAVE_GETLOADAVG 1
  3131. | #define HAVE_GETPWNAM_R 1
  3132. | #define HAVE_GETPWUID_R 1
  3133. | #define HAVE_GETGRNAM_R 1
  3134. | #define HAVE_GETGRGID_R 1
  3135. | #define HAVE_SECURE_GETENV 1
  3136. | #define HAVE_DLFCN_H 1
  3137. | #define LT_OBJDIR ".libs/"
  3138. | /* end confdefs.h. */
  3139. | #include <ac_nonexistent.h>
  3140. configure:16041: checking for ld used by g++
  3141. configure:16108: result: /usr/bin/ld -m elf_x86_64
  3142. configure:16115: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
  3143. configure:16130: result: yes
  3144. configure:16185: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  3145. configure:17258: result: yes
  3146. configure:17294: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3147. configure:17297: $? = 0
  3148. configure:17778: checking for g++ option to produce PIC
  3149. configure:17785: result: -fPIC -DPIC
  3150. configure:17793: checking if g++ PIC flag -fPIC -DPIC works
  3151. configure:17811: g++ -c -g -O2 -std=gnu++98 -fPIC -DPIC -DPIC conftest.cpp >&5
  3152. configure:17815: $? = 0
  3153. configure:17828: result: yes
  3154. configure:17851: checking if g++ static flag -static works
  3155. configure:17879: result: yes
  3156. configure:17891: checking if g++ supports -c -o file.o
  3157. configure:17912: g++ -c -g -O2 -std=gnu++98 -o out/conftest2.o conftest.cpp >&5
  3158. configure:17916: $? = 0
  3159. configure:17938: result: yes
  3160. configure:17943: checking if g++ supports -c -o file.o
  3161. configure:17990: result: yes
  3162. configure:18020: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  3163. configure:18060: result: yes
  3164. configure:18201: checking dynamic linker characteristics
  3165. configure:18946: result: GNU/Linux ld.so
  3166. configure:19011: checking how to hardcode library paths into programs
  3167. configure:19036: result: immediate
  3168. configure:19110: checking linux/version.h usability
  3169. configure:19110: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3170. configure:19110: $? = 0
  3171. configure:19110: result: yes
  3172. configure:19110: checking linux/version.h presence
  3173. configure:19110: g++ -E conftest.cpp
  3174. configure:19110: $? = 0
  3175. configure:19110: result: yes
  3176. configure:19110: checking for linux/version.h
  3177. configure:19110: result: yes
  3178. configure:19116: checking for Linux epoll(7) interface
  3179. configure:19142: g++ -o conftest -g -O2 -std=gnu++98 -DHAVE_LINUX_VERSION_H conftest.cpp >&5
  3180. configure:19142: $? = 0
  3181. configure:19153: result: yes
  3182. configure:19176: checking for kqueue
  3183. configure:19176: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  3184. /tmp/ccLO7GDD.o: In function `main':
  3185. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.cpp:151: undefined reference to `kqueue'
  3186. collect2: error: ld returned 1 exit status
  3187. configure:19176: $? = 1
  3188. configure: failed program was:
  3189. | /* confdefs.h */
  3190. | #define PACKAGE_NAME "OLA"
  3191. | #define PACKAGE_TARNAME "ola"
  3192. | #define PACKAGE_VERSION "0.10.6"
  3193. | #define PACKAGE_STRING "OLA 0.10.6"
  3194. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3195. | #define PACKAGE_URL ""
  3196. | #define PACKAGE "ola"
  3197. | #define VERSION "0.10.6"
  3198. | #define HAVE_DIRENT_H 1
  3199. | #define HAVE_SYS_TYPES_H 1
  3200. | #define HAVE_NETINET_IN_H 1
  3201. | #define HAVE_ARPA_NAMESER_H 1
  3202. | #define HAVE_NETDB_H 1
  3203. | #define HAVE_RESOLV_H 1
  3204. | #define STDC_HEADERS 1
  3205. | #define HAVE_SYS_TYPES_H 1
  3206. | #define HAVE_SYS_STAT_H 1
  3207. | #define HAVE_STDLIB_H 1
  3208. | #define HAVE_STRING_H 1
  3209. | #define HAVE_MEMORY_H 1
  3210. | #define HAVE_STRINGS_H 1
  3211. | #define HAVE_INTTYPES_H 1
  3212. | #define HAVE_STDINT_H 1
  3213. | #define HAVE_UNISTD_H 1
  3214. | #define HAVE_ERRNO_H 1
  3215. | #define HAVE_ARPA_INET_H 1
  3216. | #define HAVE_BITS_SOCKADDR_H 1
  3217. | #define HAVE_FCNTL_H 1
  3218. | #define HAVE_FLOAT_H 1
  3219. | #define HAVE_LIMITS_H 1
  3220. | #define HAVE_MALLOC_H 1
  3221. | #define HAVE_NETINET_IN_H 1
  3222. | #define HAVE_STDINT_H 1
  3223. | #define HAVE_STDLIB_H 1
  3224. | #define HAVE_STRING_H 1
  3225. | #define HAVE_STRINGS_H 1
  3226. | #define HAVE_SYS_FILE_H 1
  3227. | #define HAVE_SYS_IOCTL_H 1
  3228. | #define HAVE_SYS_SOCKET_H 1
  3229. | #define HAVE_SYS_TIME_H 1
  3230. | #define HAVE_SYS_TIMEB_H 1
  3231. | #define HAVE_SYSLOG_H 1
  3232. | #define HAVE_TERMIOS_H 1
  3233. | #define HAVE_UNISTD_H 1
  3234. | #define HAVE_ASM_TERMIOS_H 1
  3235. | #define HAVE_ASSERT_H 1
  3236. | #define HAVE_DLFCN_H 1
  3237. | #define HAVE_ENDIAN_H 1
  3238. | #define HAVE_EXECINFO_H 1
  3239. | #define HAVE_LINUX_IF_PACKET_H 1
  3240. | #define HAVE_MATH_H 1
  3241. | #define HAVE_NET_ETHERNET_H 1
  3242. | #define HAVE_STROPTS_H 1
  3243. | #define HAVE_SYS_PARAM_H 1
  3244. | #define HAVE_SYS_TYPES_H 1
  3245. | #define HAVE_SYS_UIO_H 1
  3246. | #define HAVE_SYSEXITS_H 1
  3247. | #define HAVE_SYS_SYSCTL_H 1
  3248. | #define HAVE_NET_IF_H 1
  3249. | #define HAVE_NET_IF_ARP_H 1
  3250. | #define HAVE_NET_ROUTE_H 1
  3251. | #define HAVE_NETINET_IF_ETHER_H 1
  3252. | #define HAVE_LINUX_NETLINK_H 1
  3253. | #define HAVE_LINUX_RTNETLINK_H 1
  3254. | #define HAVE_STDBOOL_H 1
  3255. | #define restrict __restrict
  3256. | #define HAVE_HASH_MAP 1
  3257. | #define HAVE_HASH_SET 1
  3258. | #define HAVE_UNORDERED_MAP 1
  3259. | #define HASH_MAP_H <tr1/unordered_map>
  3260. | #define HASH_SET_H <tr1/unordered_set>
  3261. | #define HASH_NAMESPACE std::tr1
  3262. | #define HASH_MAP_CLASS unordered_map
  3263. | #define HASH_SET_CLASS unordered_set
  3264. | #define HAVE_FORK 1
  3265. | #define HAVE_VFORK 1
  3266. | #define HAVE_WORKING_VFORK 1
  3267. | #define HAVE_WORKING_FORK 1
  3268. | #define HAVE_STDLIB_H 1
  3269. | #define HAVE_MALLOC 1
  3270. | #define HAVE_STDLIB_H 1
  3271. | #define HAVE_REALLOC 1
  3272. | #define HAVE_SYS_SELECT_H 1
  3273. | #define HAVE_SYS_SOCKET_H 1
  3274. | #define SELECT_TYPE_ARG1 int
  3275. | #define SELECT_TYPE_ARG234 (fd_set *)
  3276. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3277. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3278. | #define HAVE_VPRINTF 1
  3279. | #define HAVE_BZERO 1
  3280. | #define HAVE_GETTIMEOFDAY 1
  3281. | #define HAVE_MEMMOVE 1
  3282. | #define HAVE_MEMSET 1
  3283. | #define HAVE_MKDIR 1
  3284. | #define HAVE_STRDUP 1
  3285. | #define HAVE_STRRCHR 1
  3286. | #define HAVE_IF_NAMETOINDEX 1
  3287. | #define HAVE_INET_NTOA 1
  3288. | #define HAVE_INET_NTOP 1
  3289. | #define HAVE_INET_ATON 1
  3290. | #define HAVE_INET_PTON 1
  3291. | #define HAVE_SELECT 1
  3292. | #define HAVE_SOCKET 1
  3293. | #define HAVE_STRERROR 1
  3294. | #define HAVE_GETIFADDRS 1
  3295. | #define HAVE_GETLOADAVG 1
  3296. | #define HAVE_GETPWNAM_R 1
  3297. | #define HAVE_GETPWUID_R 1
  3298. | #define HAVE_GETGRNAM_R 1
  3299. | #define HAVE_GETGRGID_R 1
  3300. | #define HAVE_SECURE_GETENV 1
  3301. | #define HAVE_DLFCN_H 1
  3302. | #define LT_OBJDIR ".libs/"
  3303. | #define HAVE_EPOLL 1
  3304. | /* end confdefs.h. */
  3305. | /* Define kqueue to an innocuous variant, in case <limits.h> declares kqueue.
  3306. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3307. | #define kqueue innocuous_kqueue
  3308. |
  3309. | /* System header to define __stub macros and hopefully few prototypes,
  3310. | which can conflict with char kqueue (); below.
  3311. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3312. | <limits.h> exists even on freestanding compilers. */
  3313. |
  3314. | #ifdef __STDC__
  3315. | # include <limits.h>
  3316. | #else
  3317. | # include <assert.h>
  3318. | #endif
  3319. |
  3320. | #undef kqueue
  3321. |
  3322. | /* Override any GCC internal prototype to avoid an error.
  3323. | Use char because int might match the return type of a GCC
  3324. | builtin and then its argument prototype would still apply. */
  3325. | #ifdef __cplusplus
  3326. | extern "C"
  3327. | #endif
  3328. | char kqueue ();
  3329. | /* The GNU C library defines this for functions which it implements
  3330. | to always fail with ENOSYS. Some functions are actually named
  3331. | something starting with __ and the normal name is an alias. */
  3332. | #if defined __stub_kqueue || defined __stub___kqueue
  3333. | choke me
  3334. | #endif
  3335. |
  3336. | int
  3337. | main ()
  3338. | {
  3339. | return kqueue ();
  3340. | ;
  3341. | return 0;
  3342. | }
  3343. configure:19176: result: no
  3344. configure:19195: checking for -rdynamic support
  3345. configure:19213: g++ -c -g -O2 -std=gnu++98 -rdynamic -Wall -Werror conftest.cpp >&5
  3346. configure:19213: $? = 0
  3347. configure:19223: result: yes
  3348. configure:19236: checking for IPv6 support
  3349. configure:19269: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  3350. conftest.cpp: In function 'int main()':
  3351. conftest.cpp:129:9: error: expected ';' before '{' token
  3352. {
  3353. ^
  3354. configure:19269: $? = 1
  3355. configure: program exited with status 1
  3356. configure: failed program was:
  3357. | /* confdefs.h */
  3358. | #define PACKAGE_NAME "OLA"
  3359. | #define PACKAGE_TARNAME "ola"
  3360. | #define PACKAGE_VERSION "0.10.6"
  3361. | #define PACKAGE_STRING "OLA 0.10.6"
  3362. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3363. | #define PACKAGE_URL ""
  3364. | #define PACKAGE "ola"
  3365. | #define VERSION "0.10.6"
  3366. | #define HAVE_DIRENT_H 1
  3367. | #define HAVE_SYS_TYPES_H 1
  3368. | #define HAVE_NETINET_IN_H 1
  3369. | #define HAVE_ARPA_NAMESER_H 1
  3370. | #define HAVE_NETDB_H 1
  3371. | #define HAVE_RESOLV_H 1
  3372. | #define STDC_HEADERS 1
  3373. | #define HAVE_SYS_TYPES_H 1
  3374. | #define HAVE_SYS_STAT_H 1
  3375. | #define HAVE_STDLIB_H 1
  3376. | #define HAVE_STRING_H 1
  3377. | #define HAVE_MEMORY_H 1
  3378. | #define HAVE_STRINGS_H 1
  3379. | #define HAVE_INTTYPES_H 1
  3380. | #define HAVE_STDINT_H 1
  3381. | #define HAVE_UNISTD_H 1
  3382. | #define HAVE_ERRNO_H 1
  3383. | #define HAVE_ARPA_INET_H 1
  3384. | #define HAVE_BITS_SOCKADDR_H 1
  3385. | #define HAVE_FCNTL_H 1
  3386. | #define HAVE_FLOAT_H 1
  3387. | #define HAVE_LIMITS_H 1
  3388. | #define HAVE_MALLOC_H 1
  3389. | #define HAVE_NETINET_IN_H 1
  3390. | #define HAVE_STDINT_H 1
  3391. | #define HAVE_STDLIB_H 1
  3392. | #define HAVE_STRING_H 1
  3393. | #define HAVE_STRINGS_H 1
  3394. | #define HAVE_SYS_FILE_H 1
  3395. | #define HAVE_SYS_IOCTL_H 1
  3396. | #define HAVE_SYS_SOCKET_H 1
  3397. | #define HAVE_SYS_TIME_H 1
  3398. | #define HAVE_SYS_TIMEB_H 1
  3399. | #define HAVE_SYSLOG_H 1
  3400. | #define HAVE_TERMIOS_H 1
  3401. | #define HAVE_UNISTD_H 1
  3402. | #define HAVE_ASM_TERMIOS_H 1
  3403. | #define HAVE_ASSERT_H 1
  3404. | #define HAVE_DLFCN_H 1
  3405. | #define HAVE_ENDIAN_H 1
  3406. | #define HAVE_EXECINFO_H 1
  3407. | #define HAVE_LINUX_IF_PACKET_H 1
  3408. | #define HAVE_MATH_H 1
  3409. | #define HAVE_NET_ETHERNET_H 1
  3410. | #define HAVE_STROPTS_H 1
  3411. | #define HAVE_SYS_PARAM_H 1
  3412. | #define HAVE_SYS_TYPES_H 1
  3413. | #define HAVE_SYS_UIO_H 1
  3414. | #define HAVE_SYSEXITS_H 1
  3415. | #define HAVE_SYS_SYSCTL_H 1
  3416. | #define HAVE_NET_IF_H 1
  3417. | #define HAVE_NET_IF_ARP_H 1
  3418. | #define HAVE_NET_ROUTE_H 1
  3419. | #define HAVE_NETINET_IF_ETHER_H 1
  3420. | #define HAVE_LINUX_NETLINK_H 1
  3421. | #define HAVE_LINUX_RTNETLINK_H 1
  3422. | #define HAVE_STDBOOL_H 1
  3423. | #define restrict __restrict
  3424. | #define HAVE_HASH_MAP 1
  3425. | #define HAVE_HASH_SET 1
  3426. | #define HAVE_UNORDERED_MAP 1
  3427. | #define HASH_MAP_H <tr1/unordered_map>
  3428. | #define HASH_SET_H <tr1/unordered_set>
  3429. | #define HASH_NAMESPACE std::tr1
  3430. | #define HASH_MAP_CLASS unordered_map
  3431. | #define HASH_SET_CLASS unordered_set
  3432. | #define HAVE_FORK 1
  3433. | #define HAVE_VFORK 1
  3434. | #define HAVE_WORKING_VFORK 1
  3435. | #define HAVE_WORKING_FORK 1
  3436. | #define HAVE_STDLIB_H 1
  3437. | #define HAVE_MALLOC 1
  3438. | #define HAVE_STDLIB_H 1
  3439. | #define HAVE_REALLOC 1
  3440. | #define HAVE_SYS_SELECT_H 1
  3441. | #define HAVE_SYS_SOCKET_H 1
  3442. | #define SELECT_TYPE_ARG1 int
  3443. | #define SELECT_TYPE_ARG234 (fd_set *)
  3444. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3445. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3446. | #define HAVE_VPRINTF 1
  3447. | #define HAVE_BZERO 1
  3448. | #define HAVE_GETTIMEOFDAY 1
  3449. | #define HAVE_MEMMOVE 1
  3450. | #define HAVE_MEMSET 1
  3451. | #define HAVE_MKDIR 1
  3452. | #define HAVE_STRDUP 1
  3453. | #define HAVE_STRRCHR 1
  3454. | #define HAVE_IF_NAMETOINDEX 1
  3455. | #define HAVE_INET_NTOA 1
  3456. | #define HAVE_INET_NTOP 1
  3457. | #define HAVE_INET_ATON 1
  3458. | #define HAVE_INET_PTON 1
  3459. | #define HAVE_SELECT 1
  3460. | #define HAVE_SOCKET 1
  3461. | #define HAVE_STRERROR 1
  3462. | #define HAVE_GETIFADDRS 1
  3463. | #define HAVE_GETLOADAVG 1
  3464. | #define HAVE_GETPWNAM_R 1
  3465. | #define HAVE_GETPWUID_R 1
  3466. | #define HAVE_GETGRNAM_R 1
  3467. | #define HAVE_GETGRGID_R 1
  3468. | #define HAVE_SECURE_GETENV 1
  3469. | #define HAVE_DLFCN_H 1
  3470. | #define LT_OBJDIR ".libs/"
  3471. | #define HAVE_EPOLL 1
  3472. | /* end confdefs.h. */
  3473. | #include <stdlib.h>
  3474. | #include <sys/types.h>
  3475. | #include <sys/socket.h>
  3476. | #include <netinet/in.h>
  3477. | int
  3478. | main ()
  3479. | {
  3480. |
  3481. | /* Make sure the definitions for AF_INET6 and struct sockaddr_in6
  3482. | * are defined, and that we can actually create an IPv6 TCP socket.
  3483. | */
  3484. | main()
  3485. | {
  3486. | int fd;
  3487. | struct sockaddr_in6 foo;
  3488. | fd = socket(AF_INET6, SOCK_STREAM, 0);
  3489. | exit(fd >= 0 ? 0 : 1);
  3490. | }
  3491. |
  3492. | ;
  3493. | return 0;
  3494. | }
  3495. configure:19281: result: no
  3496. configure:19290: checking for struct sockaddr.sa_len
  3497. configure:19290: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3498. conftest.cpp: In function 'int main()':
  3499. conftest.cpp:124:13: error: 'struct sockaddr' has no member named 'sa_len'
  3500. if (ac_aggr.sa_len)
  3501. ^
  3502. configure:19290: $? = 1
  3503. configure: failed program was:
  3504. | /* confdefs.h */
  3505. | #define PACKAGE_NAME "OLA"
  3506. | #define PACKAGE_TARNAME "ola"
  3507. | #define PACKAGE_VERSION "0.10.6"
  3508. | #define PACKAGE_STRING "OLA 0.10.6"
  3509. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3510. | #define PACKAGE_URL ""
  3511. | #define PACKAGE "ola"
  3512. | #define VERSION "0.10.6"
  3513. | #define HAVE_DIRENT_H 1
  3514. | #define HAVE_SYS_TYPES_H 1
  3515. | #define HAVE_NETINET_IN_H 1
  3516. | #define HAVE_ARPA_NAMESER_H 1
  3517. | #define HAVE_NETDB_H 1
  3518. | #define HAVE_RESOLV_H 1
  3519. | #define STDC_HEADERS 1
  3520. | #define HAVE_SYS_TYPES_H 1
  3521. | #define HAVE_SYS_STAT_H 1
  3522. | #define HAVE_STDLIB_H 1
  3523. | #define HAVE_STRING_H 1
  3524. | #define HAVE_MEMORY_H 1
  3525. | #define HAVE_STRINGS_H 1
  3526. | #define HAVE_INTTYPES_H 1
  3527. | #define HAVE_STDINT_H 1
  3528. | #define HAVE_UNISTD_H 1
  3529. | #define HAVE_ERRNO_H 1
  3530. | #define HAVE_ARPA_INET_H 1
  3531. | #define HAVE_BITS_SOCKADDR_H 1
  3532. | #define HAVE_FCNTL_H 1
  3533. | #define HAVE_FLOAT_H 1
  3534. | #define HAVE_LIMITS_H 1
  3535. | #define HAVE_MALLOC_H 1
  3536. | #define HAVE_NETINET_IN_H 1
  3537. | #define HAVE_STDINT_H 1
  3538. | #define HAVE_STDLIB_H 1
  3539. | #define HAVE_STRING_H 1
  3540. | #define HAVE_STRINGS_H 1
  3541. | #define HAVE_SYS_FILE_H 1
  3542. | #define HAVE_SYS_IOCTL_H 1
  3543. | #define HAVE_SYS_SOCKET_H 1
  3544. | #define HAVE_SYS_TIME_H 1
  3545. | #define HAVE_SYS_TIMEB_H 1
  3546. | #define HAVE_SYSLOG_H 1
  3547. | #define HAVE_TERMIOS_H 1
  3548. | #define HAVE_UNISTD_H 1
  3549. | #define HAVE_ASM_TERMIOS_H 1
  3550. | #define HAVE_ASSERT_H 1
  3551. | #define HAVE_DLFCN_H 1
  3552. | #define HAVE_ENDIAN_H 1
  3553. | #define HAVE_EXECINFO_H 1
  3554. | #define HAVE_LINUX_IF_PACKET_H 1
  3555. | #define HAVE_MATH_H 1
  3556. | #define HAVE_NET_ETHERNET_H 1
  3557. | #define HAVE_STROPTS_H 1
  3558. | #define HAVE_SYS_PARAM_H 1
  3559. | #define HAVE_SYS_TYPES_H 1
  3560. | #define HAVE_SYS_UIO_H 1
  3561. | #define HAVE_SYSEXITS_H 1
  3562. | #define HAVE_SYS_SYSCTL_H 1
  3563. | #define HAVE_NET_IF_H 1
  3564. | #define HAVE_NET_IF_ARP_H 1
  3565. | #define HAVE_NET_ROUTE_H 1
  3566. | #define HAVE_NETINET_IF_ETHER_H 1
  3567. | #define HAVE_LINUX_NETLINK_H 1
  3568. | #define HAVE_LINUX_RTNETLINK_H 1
  3569. | #define HAVE_STDBOOL_H 1
  3570. | #define restrict __restrict
  3571. | #define HAVE_HASH_MAP 1
  3572. | #define HAVE_HASH_SET 1
  3573. | #define HAVE_UNORDERED_MAP 1
  3574. | #define HASH_MAP_H <tr1/unordered_map>
  3575. | #define HASH_SET_H <tr1/unordered_set>
  3576. | #define HASH_NAMESPACE std::tr1
  3577. | #define HASH_MAP_CLASS unordered_map
  3578. | #define HASH_SET_CLASS unordered_set
  3579. | #define HAVE_FORK 1
  3580. | #define HAVE_VFORK 1
  3581. | #define HAVE_WORKING_VFORK 1
  3582. | #define HAVE_WORKING_FORK 1
  3583. | #define HAVE_STDLIB_H 1
  3584. | #define HAVE_MALLOC 1
  3585. | #define HAVE_STDLIB_H 1
  3586. | #define HAVE_REALLOC 1
  3587. | #define HAVE_SYS_SELECT_H 1
  3588. | #define HAVE_SYS_SOCKET_H 1
  3589. | #define SELECT_TYPE_ARG1 int
  3590. | #define SELECT_TYPE_ARG234 (fd_set *)
  3591. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3592. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3593. | #define HAVE_VPRINTF 1
  3594. | #define HAVE_BZERO 1
  3595. | #define HAVE_GETTIMEOFDAY 1
  3596. | #define HAVE_MEMMOVE 1
  3597. | #define HAVE_MEMSET 1
  3598. | #define HAVE_MKDIR 1
  3599. | #define HAVE_STRDUP 1
  3600. | #define HAVE_STRRCHR 1
  3601. | #define HAVE_IF_NAMETOINDEX 1
  3602. | #define HAVE_INET_NTOA 1
  3603. | #define HAVE_INET_NTOP 1
  3604. | #define HAVE_INET_ATON 1
  3605. | #define HAVE_INET_PTON 1
  3606. | #define HAVE_SELECT 1
  3607. | #define HAVE_SOCKET 1
  3608. | #define HAVE_STRERROR 1
  3609. | #define HAVE_GETIFADDRS 1
  3610. | #define HAVE_GETLOADAVG 1
  3611. | #define HAVE_GETPWNAM_R 1
  3612. | #define HAVE_GETPWUID_R 1
  3613. | #define HAVE_GETGRNAM_R 1
  3614. | #define HAVE_GETGRGID_R 1
  3615. | #define HAVE_SECURE_GETENV 1
  3616. | #define HAVE_DLFCN_H 1
  3617. | #define LT_OBJDIR ".libs/"
  3618. | #define HAVE_EPOLL 1
  3619. | /* end confdefs.h. */
  3620. | #include <sys/types.h>
  3621. | #include <sys/socket.h>
  3622. |
  3623. | int
  3624. | main ()
  3625. | {
  3626. | static struct sockaddr ac_aggr;
  3627. | if (ac_aggr.sa_len)
  3628. | return 0;
  3629. | ;
  3630. | return 0;
  3631. | }
  3632. configure:19290: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3633. conftest.cpp: In function 'int main()':
  3634. conftest.cpp:124:20: error: 'struct sockaddr' has no member named 'sa_len'
  3635. if (sizeof ac_aggr.sa_len)
  3636. ^
  3637. configure:19290: $? = 1
  3638. configure: failed program was:
  3639. | /* confdefs.h */
  3640. | #define PACKAGE_NAME "OLA"
  3641. | #define PACKAGE_TARNAME "ola"
  3642. | #define PACKAGE_VERSION "0.10.6"
  3643. | #define PACKAGE_STRING "OLA 0.10.6"
  3644. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3645. | #define PACKAGE_URL ""
  3646. | #define PACKAGE "ola"
  3647. | #define VERSION "0.10.6"
  3648. | #define HAVE_DIRENT_H 1
  3649. | #define HAVE_SYS_TYPES_H 1
  3650. | #define HAVE_NETINET_IN_H 1
  3651. | #define HAVE_ARPA_NAMESER_H 1
  3652. | #define HAVE_NETDB_H 1
  3653. | #define HAVE_RESOLV_H 1
  3654. | #define STDC_HEADERS 1
  3655. | #define HAVE_SYS_TYPES_H 1
  3656. | #define HAVE_SYS_STAT_H 1
  3657. | #define HAVE_STDLIB_H 1
  3658. | #define HAVE_STRING_H 1
  3659. | #define HAVE_MEMORY_H 1
  3660. | #define HAVE_STRINGS_H 1
  3661. | #define HAVE_INTTYPES_H 1
  3662. | #define HAVE_STDINT_H 1
  3663. | #define HAVE_UNISTD_H 1
  3664. | #define HAVE_ERRNO_H 1
  3665. | #define HAVE_ARPA_INET_H 1
  3666. | #define HAVE_BITS_SOCKADDR_H 1
  3667. | #define HAVE_FCNTL_H 1
  3668. | #define HAVE_FLOAT_H 1
  3669. | #define HAVE_LIMITS_H 1
  3670. | #define HAVE_MALLOC_H 1
  3671. | #define HAVE_NETINET_IN_H 1
  3672. | #define HAVE_STDINT_H 1
  3673. | #define HAVE_STDLIB_H 1
  3674. | #define HAVE_STRING_H 1
  3675. | #define HAVE_STRINGS_H 1
  3676. | #define HAVE_SYS_FILE_H 1
  3677. | #define HAVE_SYS_IOCTL_H 1
  3678. | #define HAVE_SYS_SOCKET_H 1
  3679. | #define HAVE_SYS_TIME_H 1
  3680. | #define HAVE_SYS_TIMEB_H 1
  3681. | #define HAVE_SYSLOG_H 1
  3682. | #define HAVE_TERMIOS_H 1
  3683. | #define HAVE_UNISTD_H 1
  3684. | #define HAVE_ASM_TERMIOS_H 1
  3685. | #define HAVE_ASSERT_H 1
  3686. | #define HAVE_DLFCN_H 1
  3687. | #define HAVE_ENDIAN_H 1
  3688. | #define HAVE_EXECINFO_H 1
  3689. | #define HAVE_LINUX_IF_PACKET_H 1
  3690. | #define HAVE_MATH_H 1
  3691. | #define HAVE_NET_ETHERNET_H 1
  3692. | #define HAVE_STROPTS_H 1
  3693. | #define HAVE_SYS_PARAM_H 1
  3694. | #define HAVE_SYS_TYPES_H 1
  3695. | #define HAVE_SYS_UIO_H 1
  3696. | #define HAVE_SYSEXITS_H 1
  3697. | #define HAVE_SYS_SYSCTL_H 1
  3698. | #define HAVE_NET_IF_H 1
  3699. | #define HAVE_NET_IF_ARP_H 1
  3700. | #define HAVE_NET_ROUTE_H 1
  3701. | #define HAVE_NETINET_IF_ETHER_H 1
  3702. | #define HAVE_LINUX_NETLINK_H 1
  3703. | #define HAVE_LINUX_RTNETLINK_H 1
  3704. | #define HAVE_STDBOOL_H 1
  3705. | #define restrict __restrict
  3706. | #define HAVE_HASH_MAP 1
  3707. | #define HAVE_HASH_SET 1
  3708. | #define HAVE_UNORDERED_MAP 1
  3709. | #define HASH_MAP_H <tr1/unordered_map>
  3710. | #define HASH_SET_H <tr1/unordered_set>
  3711. | #define HASH_NAMESPACE std::tr1
  3712. | #define HASH_MAP_CLASS unordered_map
  3713. | #define HASH_SET_CLASS unordered_set
  3714. | #define HAVE_FORK 1
  3715. | #define HAVE_VFORK 1
  3716. | #define HAVE_WORKING_VFORK 1
  3717. | #define HAVE_WORKING_FORK 1
  3718. | #define HAVE_STDLIB_H 1
  3719. | #define HAVE_MALLOC 1
  3720. | #define HAVE_STDLIB_H 1
  3721. | #define HAVE_REALLOC 1
  3722. | #define HAVE_SYS_SELECT_H 1
  3723. | #define HAVE_SYS_SOCKET_H 1
  3724. | #define SELECT_TYPE_ARG1 int
  3725. | #define SELECT_TYPE_ARG234 (fd_set *)
  3726. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3727. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3728. | #define HAVE_VPRINTF 1
  3729. | #define HAVE_BZERO 1
  3730. | #define HAVE_GETTIMEOFDAY 1
  3731. | #define HAVE_MEMMOVE 1
  3732. | #define HAVE_MEMSET 1
  3733. | #define HAVE_MKDIR 1
  3734. | #define HAVE_STRDUP 1
  3735. | #define HAVE_STRRCHR 1
  3736. | #define HAVE_IF_NAMETOINDEX 1
  3737. | #define HAVE_INET_NTOA 1
  3738. | #define HAVE_INET_NTOP 1
  3739. | #define HAVE_INET_ATON 1
  3740. | #define HAVE_INET_PTON 1
  3741. | #define HAVE_SELECT 1
  3742. | #define HAVE_SOCKET 1
  3743. | #define HAVE_STRERROR 1
  3744. | #define HAVE_GETIFADDRS 1
  3745. | #define HAVE_GETLOADAVG 1
  3746. | #define HAVE_GETPWNAM_R 1
  3747. | #define HAVE_GETPWUID_R 1
  3748. | #define HAVE_GETGRNAM_R 1
  3749. | #define HAVE_GETGRGID_R 1
  3750. | #define HAVE_SECURE_GETENV 1
  3751. | #define HAVE_DLFCN_H 1
  3752. | #define LT_OBJDIR ".libs/"
  3753. | #define HAVE_EPOLL 1
  3754. | /* end confdefs.h. */
  3755. | #include <sys/types.h>
  3756. | #include <sys/socket.h>
  3757. |
  3758. | int
  3759. | main ()
  3760. | {
  3761. | static struct sockaddr ac_aggr;
  3762. | if (sizeof ac_aggr.sa_len)
  3763. | return 0;
  3764. | ;
  3765. | return 0;
  3766. | }
  3767. configure:19290: result: no
  3768. configure:19300: checking for struct sockaddr_dl.sdl_family
  3769. configure:19300: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3770. conftest.cpp:118:26: fatal error: net/if_dl.h: No such file or directory
  3771. compilation terminated.
  3772. configure:19300: $? = 1
  3773. configure: failed program was:
  3774. | /* confdefs.h */
  3775. | #define PACKAGE_NAME "OLA"
  3776. | #define PACKAGE_TARNAME "ola"
  3777. | #define PACKAGE_VERSION "0.10.6"
  3778. | #define PACKAGE_STRING "OLA 0.10.6"
  3779. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3780. | #define PACKAGE_URL ""
  3781. | #define PACKAGE "ola"
  3782. | #define VERSION "0.10.6"
  3783. | #define HAVE_DIRENT_H 1
  3784. | #define HAVE_SYS_TYPES_H 1
  3785. | #define HAVE_NETINET_IN_H 1
  3786. | #define HAVE_ARPA_NAMESER_H 1
  3787. | #define HAVE_NETDB_H 1
  3788. | #define HAVE_RESOLV_H 1
  3789. | #define STDC_HEADERS 1
  3790. | #define HAVE_SYS_TYPES_H 1
  3791. | #define HAVE_SYS_STAT_H 1
  3792. | #define HAVE_STDLIB_H 1
  3793. | #define HAVE_STRING_H 1
  3794. | #define HAVE_MEMORY_H 1
  3795. | #define HAVE_STRINGS_H 1
  3796. | #define HAVE_INTTYPES_H 1
  3797. | #define HAVE_STDINT_H 1
  3798. | #define HAVE_UNISTD_H 1
  3799. | #define HAVE_ERRNO_H 1
  3800. | #define HAVE_ARPA_INET_H 1
  3801. | #define HAVE_BITS_SOCKADDR_H 1
  3802. | #define HAVE_FCNTL_H 1
  3803. | #define HAVE_FLOAT_H 1
  3804. | #define HAVE_LIMITS_H 1
  3805. | #define HAVE_MALLOC_H 1
  3806. | #define HAVE_NETINET_IN_H 1
  3807. | #define HAVE_STDINT_H 1
  3808. | #define HAVE_STDLIB_H 1
  3809. | #define HAVE_STRING_H 1
  3810. | #define HAVE_STRINGS_H 1
  3811. | #define HAVE_SYS_FILE_H 1
  3812. | #define HAVE_SYS_IOCTL_H 1
  3813. | #define HAVE_SYS_SOCKET_H 1
  3814. | #define HAVE_SYS_TIME_H 1
  3815. | #define HAVE_SYS_TIMEB_H 1
  3816. | #define HAVE_SYSLOG_H 1
  3817. | #define HAVE_TERMIOS_H 1
  3818. | #define HAVE_UNISTD_H 1
  3819. | #define HAVE_ASM_TERMIOS_H 1
  3820. | #define HAVE_ASSERT_H 1
  3821. | #define HAVE_DLFCN_H 1
  3822. | #define HAVE_ENDIAN_H 1
  3823. | #define HAVE_EXECINFO_H 1
  3824. | #define HAVE_LINUX_IF_PACKET_H 1
  3825. | #define HAVE_MATH_H 1
  3826. | #define HAVE_NET_ETHERNET_H 1
  3827. | #define HAVE_STROPTS_H 1
  3828. | #define HAVE_SYS_PARAM_H 1
  3829. | #define HAVE_SYS_TYPES_H 1
  3830. | #define HAVE_SYS_UIO_H 1
  3831. | #define HAVE_SYSEXITS_H 1
  3832. | #define HAVE_SYS_SYSCTL_H 1
  3833. | #define HAVE_NET_IF_H 1
  3834. | #define HAVE_NET_IF_ARP_H 1
  3835. | #define HAVE_NET_ROUTE_H 1
  3836. | #define HAVE_NETINET_IF_ETHER_H 1
  3837. | #define HAVE_LINUX_NETLINK_H 1
  3838. | #define HAVE_LINUX_RTNETLINK_H 1
  3839. | #define HAVE_STDBOOL_H 1
  3840. | #define restrict __restrict
  3841. | #define HAVE_HASH_MAP 1
  3842. | #define HAVE_HASH_SET 1
  3843. | #define HAVE_UNORDERED_MAP 1
  3844. | #define HASH_MAP_H <tr1/unordered_map>
  3845. | #define HASH_SET_H <tr1/unordered_set>
  3846. | #define HASH_NAMESPACE std::tr1
  3847. | #define HASH_MAP_CLASS unordered_map
  3848. | #define HASH_SET_CLASS unordered_set
  3849. | #define HAVE_FORK 1
  3850. | #define HAVE_VFORK 1
  3851. | #define HAVE_WORKING_VFORK 1
  3852. | #define HAVE_WORKING_FORK 1
  3853. | #define HAVE_STDLIB_H 1
  3854. | #define HAVE_MALLOC 1
  3855. | #define HAVE_STDLIB_H 1
  3856. | #define HAVE_REALLOC 1
  3857. | #define HAVE_SYS_SELECT_H 1
  3858. | #define HAVE_SYS_SOCKET_H 1
  3859. | #define SELECT_TYPE_ARG1 int
  3860. | #define SELECT_TYPE_ARG234 (fd_set *)
  3861. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3862. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3863. | #define HAVE_VPRINTF 1
  3864. | #define HAVE_BZERO 1
  3865. | #define HAVE_GETTIMEOFDAY 1
  3866. | #define HAVE_MEMMOVE 1
  3867. | #define HAVE_MEMSET 1
  3868. | #define HAVE_MKDIR 1
  3869. | #define HAVE_STRDUP 1
  3870. | #define HAVE_STRRCHR 1
  3871. | #define HAVE_IF_NAMETOINDEX 1
  3872. | #define HAVE_INET_NTOA 1
  3873. | #define HAVE_INET_NTOP 1
  3874. | #define HAVE_INET_ATON 1
  3875. | #define HAVE_INET_PTON 1
  3876. | #define HAVE_SELECT 1
  3877. | #define HAVE_SOCKET 1
  3878. | #define HAVE_STRERROR 1
  3879. | #define HAVE_GETIFADDRS 1
  3880. | #define HAVE_GETLOADAVG 1
  3881. | #define HAVE_GETPWNAM_R 1
  3882. | #define HAVE_GETPWUID_R 1
  3883. | #define HAVE_GETGRNAM_R 1
  3884. | #define HAVE_GETGRGID_R 1
  3885. | #define HAVE_SECURE_GETENV 1
  3886. | #define HAVE_DLFCN_H 1
  3887. | #define LT_OBJDIR ".libs/"
  3888. | #define HAVE_EPOLL 1
  3889. | /* end confdefs.h. */
  3890. | #include <sys/types.h>
  3891. | #include <net/if_dl.h>
  3892. |
  3893. | int
  3894. | main ()
  3895. | {
  3896. | static struct sockaddr_dl ac_aggr;
  3897. | if (ac_aggr.sdl_family)
  3898. | return 0;
  3899. | ;
  3900. | return 0;
  3901. | }
  3902. configure:19300: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  3903. conftest.cpp:118:26: fatal error: net/if_dl.h: No such file or directory
  3904. compilation terminated.
  3905. configure:19300: $? = 1
  3906. configure: failed program was:
  3907. | /* confdefs.h */
  3908. | #define PACKAGE_NAME "OLA"
  3909. | #define PACKAGE_TARNAME "ola"
  3910. | #define PACKAGE_VERSION "0.10.6"
  3911. | #define PACKAGE_STRING "OLA 0.10.6"
  3912. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  3913. | #define PACKAGE_URL ""
  3914. | #define PACKAGE "ola"
  3915. | #define VERSION "0.10.6"
  3916. | #define HAVE_DIRENT_H 1
  3917. | #define HAVE_SYS_TYPES_H 1
  3918. | #define HAVE_NETINET_IN_H 1
  3919. | #define HAVE_ARPA_NAMESER_H 1
  3920. | #define HAVE_NETDB_H 1
  3921. | #define HAVE_RESOLV_H 1
  3922. | #define STDC_HEADERS 1
  3923. | #define HAVE_SYS_TYPES_H 1
  3924. | #define HAVE_SYS_STAT_H 1
  3925. | #define HAVE_STDLIB_H 1
  3926. | #define HAVE_STRING_H 1
  3927. | #define HAVE_MEMORY_H 1
  3928. | #define HAVE_STRINGS_H 1
  3929. | #define HAVE_INTTYPES_H 1
  3930. | #define HAVE_STDINT_H 1
  3931. | #define HAVE_UNISTD_H 1
  3932. | #define HAVE_ERRNO_H 1
  3933. | #define HAVE_ARPA_INET_H 1
  3934. | #define HAVE_BITS_SOCKADDR_H 1
  3935. | #define HAVE_FCNTL_H 1
  3936. | #define HAVE_FLOAT_H 1
  3937. | #define HAVE_LIMITS_H 1
  3938. | #define HAVE_MALLOC_H 1
  3939. | #define HAVE_NETINET_IN_H 1
  3940. | #define HAVE_STDINT_H 1
  3941. | #define HAVE_STDLIB_H 1
  3942. | #define HAVE_STRING_H 1
  3943. | #define HAVE_STRINGS_H 1
  3944. | #define HAVE_SYS_FILE_H 1
  3945. | #define HAVE_SYS_IOCTL_H 1
  3946. | #define HAVE_SYS_SOCKET_H 1
  3947. | #define HAVE_SYS_TIME_H 1
  3948. | #define HAVE_SYS_TIMEB_H 1
  3949. | #define HAVE_SYSLOG_H 1
  3950. | #define HAVE_TERMIOS_H 1
  3951. | #define HAVE_UNISTD_H 1
  3952. | #define HAVE_ASM_TERMIOS_H 1
  3953. | #define HAVE_ASSERT_H 1
  3954. | #define HAVE_DLFCN_H 1
  3955. | #define HAVE_ENDIAN_H 1
  3956. | #define HAVE_EXECINFO_H 1
  3957. | #define HAVE_LINUX_IF_PACKET_H 1
  3958. | #define HAVE_MATH_H 1
  3959. | #define HAVE_NET_ETHERNET_H 1
  3960. | #define HAVE_STROPTS_H 1
  3961. | #define HAVE_SYS_PARAM_H 1
  3962. | #define HAVE_SYS_TYPES_H 1
  3963. | #define HAVE_SYS_UIO_H 1
  3964. | #define HAVE_SYSEXITS_H 1
  3965. | #define HAVE_SYS_SYSCTL_H 1
  3966. | #define HAVE_NET_IF_H 1
  3967. | #define HAVE_NET_IF_ARP_H 1
  3968. | #define HAVE_NET_ROUTE_H 1
  3969. | #define HAVE_NETINET_IF_ETHER_H 1
  3970. | #define HAVE_LINUX_NETLINK_H 1
  3971. | #define HAVE_LINUX_RTNETLINK_H 1
  3972. | #define HAVE_STDBOOL_H 1
  3973. | #define restrict __restrict
  3974. | #define HAVE_HASH_MAP 1
  3975. | #define HAVE_HASH_SET 1
  3976. | #define HAVE_UNORDERED_MAP 1
  3977. | #define HASH_MAP_H <tr1/unordered_map>
  3978. | #define HASH_SET_H <tr1/unordered_set>
  3979. | #define HASH_NAMESPACE std::tr1
  3980. | #define HASH_MAP_CLASS unordered_map
  3981. | #define HASH_SET_CLASS unordered_set
  3982. | #define HAVE_FORK 1
  3983. | #define HAVE_VFORK 1
  3984. | #define HAVE_WORKING_VFORK 1
  3985. | #define HAVE_WORKING_FORK 1
  3986. | #define HAVE_STDLIB_H 1
  3987. | #define HAVE_MALLOC 1
  3988. | #define HAVE_STDLIB_H 1
  3989. | #define HAVE_REALLOC 1
  3990. | #define HAVE_SYS_SELECT_H 1
  3991. | #define HAVE_SYS_SOCKET_H 1
  3992. | #define SELECT_TYPE_ARG1 int
  3993. | #define SELECT_TYPE_ARG234 (fd_set *)
  3994. | #define SELECT_TYPE_ARG5 (struct timeval *)
  3995. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  3996. | #define HAVE_VPRINTF 1
  3997. | #define HAVE_BZERO 1
  3998. | #define HAVE_GETTIMEOFDAY 1
  3999. | #define HAVE_MEMMOVE 1
  4000. | #define HAVE_MEMSET 1
  4001. | #define HAVE_MKDIR 1
  4002. | #define HAVE_STRDUP 1
  4003. | #define HAVE_STRRCHR 1
  4004. | #define HAVE_IF_NAMETOINDEX 1
  4005. | #define HAVE_INET_NTOA 1
  4006. | #define HAVE_INET_NTOP 1
  4007. | #define HAVE_INET_ATON 1
  4008. | #define HAVE_INET_PTON 1
  4009. | #define HAVE_SELECT 1
  4010. | #define HAVE_SOCKET 1
  4011. | #define HAVE_STRERROR 1
  4012. | #define HAVE_GETIFADDRS 1
  4013. | #define HAVE_GETLOADAVG 1
  4014. | #define HAVE_GETPWNAM_R 1
  4015. | #define HAVE_GETPWUID_R 1
  4016. | #define HAVE_GETGRNAM_R 1
  4017. | #define HAVE_GETGRGID_R 1
  4018. | #define HAVE_SECURE_GETENV 1
  4019. | #define HAVE_DLFCN_H 1
  4020. | #define LT_OBJDIR ".libs/"
  4021. | #define HAVE_EPOLL 1
  4022. | /* end confdefs.h. */
  4023. | #include <sys/types.h>
  4024. | #include <net/if_dl.h>
  4025. |
  4026. | int
  4027. | main ()
  4028. | {
  4029. | static struct sockaddr_dl ac_aggr;
  4030. | if (sizeof ac_aggr.sdl_family)
  4031. | return 0;
  4032. | ;
  4033. | return 0;
  4034. | }
  4035. configure:19300: result: no
  4036. configure:19311: checking for time_t
  4037. configure:19311: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4038. configure:19311: $? = 0
  4039. configure:19311: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4040. conftest.cpp: In function 'int main()':
  4041. conftest.cpp:122:20: error: expected primary-expression before ')' token
  4042. if (sizeof ((time_t)))
  4043. ^
  4044. configure:19311: $? = 1
  4045. configure: failed program was:
  4046. | /* confdefs.h */
  4047. | #define PACKAGE_NAME "OLA"
  4048. | #define PACKAGE_TARNAME "ola"
  4049. | #define PACKAGE_VERSION "0.10.6"
  4050. | #define PACKAGE_STRING "OLA 0.10.6"
  4051. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4052. | #define PACKAGE_URL ""
  4053. | #define PACKAGE "ola"
  4054. | #define VERSION "0.10.6"
  4055. | #define HAVE_DIRENT_H 1
  4056. | #define HAVE_SYS_TYPES_H 1
  4057. | #define HAVE_NETINET_IN_H 1
  4058. | #define HAVE_ARPA_NAMESER_H 1
  4059. | #define HAVE_NETDB_H 1
  4060. | #define HAVE_RESOLV_H 1
  4061. | #define STDC_HEADERS 1
  4062. | #define HAVE_SYS_TYPES_H 1
  4063. | #define HAVE_SYS_STAT_H 1
  4064. | #define HAVE_STDLIB_H 1
  4065. | #define HAVE_STRING_H 1
  4066. | #define HAVE_MEMORY_H 1
  4067. | #define HAVE_STRINGS_H 1
  4068. | #define HAVE_INTTYPES_H 1
  4069. | #define HAVE_STDINT_H 1
  4070. | #define HAVE_UNISTD_H 1
  4071. | #define HAVE_ERRNO_H 1
  4072. | #define HAVE_ARPA_INET_H 1
  4073. | #define HAVE_BITS_SOCKADDR_H 1
  4074. | #define HAVE_FCNTL_H 1
  4075. | #define HAVE_FLOAT_H 1
  4076. | #define HAVE_LIMITS_H 1
  4077. | #define HAVE_MALLOC_H 1
  4078. | #define HAVE_NETINET_IN_H 1
  4079. | #define HAVE_STDINT_H 1
  4080. | #define HAVE_STDLIB_H 1
  4081. | #define HAVE_STRING_H 1
  4082. | #define HAVE_STRINGS_H 1
  4083. | #define HAVE_SYS_FILE_H 1
  4084. | #define HAVE_SYS_IOCTL_H 1
  4085. | #define HAVE_SYS_SOCKET_H 1
  4086. | #define HAVE_SYS_TIME_H 1
  4087. | #define HAVE_SYS_TIMEB_H 1
  4088. | #define HAVE_SYSLOG_H 1
  4089. | #define HAVE_TERMIOS_H 1
  4090. | #define HAVE_UNISTD_H 1
  4091. | #define HAVE_ASM_TERMIOS_H 1
  4092. | #define HAVE_ASSERT_H 1
  4093. | #define HAVE_DLFCN_H 1
  4094. | #define HAVE_ENDIAN_H 1
  4095. | #define HAVE_EXECINFO_H 1
  4096. | #define HAVE_LINUX_IF_PACKET_H 1
  4097. | #define HAVE_MATH_H 1
  4098. | #define HAVE_NET_ETHERNET_H 1
  4099. | #define HAVE_STROPTS_H 1
  4100. | #define HAVE_SYS_PARAM_H 1
  4101. | #define HAVE_SYS_TYPES_H 1
  4102. | #define HAVE_SYS_UIO_H 1
  4103. | #define HAVE_SYSEXITS_H 1
  4104. | #define HAVE_SYS_SYSCTL_H 1
  4105. | #define HAVE_NET_IF_H 1
  4106. | #define HAVE_NET_IF_ARP_H 1
  4107. | #define HAVE_NET_ROUTE_H 1
  4108. | #define HAVE_NETINET_IF_ETHER_H 1
  4109. | #define HAVE_LINUX_NETLINK_H 1
  4110. | #define HAVE_LINUX_RTNETLINK_H 1
  4111. | #define HAVE_STDBOOL_H 1
  4112. | #define restrict __restrict
  4113. | #define HAVE_HASH_MAP 1
  4114. | #define HAVE_HASH_SET 1
  4115. | #define HAVE_UNORDERED_MAP 1
  4116. | #define HASH_MAP_H <tr1/unordered_map>
  4117. | #define HASH_SET_H <tr1/unordered_set>
  4118. | #define HASH_NAMESPACE std::tr1
  4119. | #define HASH_MAP_CLASS unordered_map
  4120. | #define HASH_SET_CLASS unordered_set
  4121. | #define HAVE_FORK 1
  4122. | #define HAVE_VFORK 1
  4123. | #define HAVE_WORKING_VFORK 1
  4124. | #define HAVE_WORKING_FORK 1
  4125. | #define HAVE_STDLIB_H 1
  4126. | #define HAVE_MALLOC 1
  4127. | #define HAVE_STDLIB_H 1
  4128. | #define HAVE_REALLOC 1
  4129. | #define HAVE_SYS_SELECT_H 1
  4130. | #define HAVE_SYS_SOCKET_H 1
  4131. | #define SELECT_TYPE_ARG1 int
  4132. | #define SELECT_TYPE_ARG234 (fd_set *)
  4133. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4134. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4135. | #define HAVE_VPRINTF 1
  4136. | #define HAVE_BZERO 1
  4137. | #define HAVE_GETTIMEOFDAY 1
  4138. | #define HAVE_MEMMOVE 1
  4139. | #define HAVE_MEMSET 1
  4140. | #define HAVE_MKDIR 1
  4141. | #define HAVE_STRDUP 1
  4142. | #define HAVE_STRRCHR 1
  4143. | #define HAVE_IF_NAMETOINDEX 1
  4144. | #define HAVE_INET_NTOA 1
  4145. | #define HAVE_INET_NTOP 1
  4146. | #define HAVE_INET_ATON 1
  4147. | #define HAVE_INET_PTON 1
  4148. | #define HAVE_SELECT 1
  4149. | #define HAVE_SOCKET 1
  4150. | #define HAVE_STRERROR 1
  4151. | #define HAVE_GETIFADDRS 1
  4152. | #define HAVE_GETLOADAVG 1
  4153. | #define HAVE_GETPWNAM_R 1
  4154. | #define HAVE_GETPWUID_R 1
  4155. | #define HAVE_GETGRNAM_R 1
  4156. | #define HAVE_GETGRGID_R 1
  4157. | #define HAVE_SECURE_GETENV 1
  4158. | #define HAVE_DLFCN_H 1
  4159. | #define LT_OBJDIR ".libs/"
  4160. | #define HAVE_EPOLL 1
  4161. | /* end confdefs.h. */
  4162. | #include <sys/time.h>
  4163. |
  4164. | int
  4165. | main ()
  4166. | {
  4167. | if (sizeof ((time_t)))
  4168. | return 0;
  4169. | ;
  4170. | return 0;
  4171. | }
  4172. configure:19311: result: yes
  4173. configure:19319: checking for suseconds_t
  4174. configure:19319: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4175. configure:19319: $? = 0
  4176. configure:19319: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4177. conftest.cpp: In function 'int main()':
  4178. conftest.cpp:123:25: error: expected primary-expression before ')' token
  4179. if (sizeof ((suseconds_t)))
  4180. ^
  4181. configure:19319: $? = 1
  4182. configure: failed program was:
  4183. | /* confdefs.h */
  4184. | #define PACKAGE_NAME "OLA"
  4185. | #define PACKAGE_TARNAME "ola"
  4186. | #define PACKAGE_VERSION "0.10.6"
  4187. | #define PACKAGE_STRING "OLA 0.10.6"
  4188. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4189. | #define PACKAGE_URL ""
  4190. | #define PACKAGE "ola"
  4191. | #define VERSION "0.10.6"
  4192. | #define HAVE_DIRENT_H 1
  4193. | #define HAVE_SYS_TYPES_H 1
  4194. | #define HAVE_NETINET_IN_H 1
  4195. | #define HAVE_ARPA_NAMESER_H 1
  4196. | #define HAVE_NETDB_H 1
  4197. | #define HAVE_RESOLV_H 1
  4198. | #define STDC_HEADERS 1
  4199. | #define HAVE_SYS_TYPES_H 1
  4200. | #define HAVE_SYS_STAT_H 1
  4201. | #define HAVE_STDLIB_H 1
  4202. | #define HAVE_STRING_H 1
  4203. | #define HAVE_MEMORY_H 1
  4204. | #define HAVE_STRINGS_H 1
  4205. | #define HAVE_INTTYPES_H 1
  4206. | #define HAVE_STDINT_H 1
  4207. | #define HAVE_UNISTD_H 1
  4208. | #define HAVE_ERRNO_H 1
  4209. | #define HAVE_ARPA_INET_H 1
  4210. | #define HAVE_BITS_SOCKADDR_H 1
  4211. | #define HAVE_FCNTL_H 1
  4212. | #define HAVE_FLOAT_H 1
  4213. | #define HAVE_LIMITS_H 1
  4214. | #define HAVE_MALLOC_H 1
  4215. | #define HAVE_NETINET_IN_H 1
  4216. | #define HAVE_STDINT_H 1
  4217. | #define HAVE_STDLIB_H 1
  4218. | #define HAVE_STRING_H 1
  4219. | #define HAVE_STRINGS_H 1
  4220. | #define HAVE_SYS_FILE_H 1
  4221. | #define HAVE_SYS_IOCTL_H 1
  4222. | #define HAVE_SYS_SOCKET_H 1
  4223. | #define HAVE_SYS_TIME_H 1
  4224. | #define HAVE_SYS_TIMEB_H 1
  4225. | #define HAVE_SYSLOG_H 1
  4226. | #define HAVE_TERMIOS_H 1
  4227. | #define HAVE_UNISTD_H 1
  4228. | #define HAVE_ASM_TERMIOS_H 1
  4229. | #define HAVE_ASSERT_H 1
  4230. | #define HAVE_DLFCN_H 1
  4231. | #define HAVE_ENDIAN_H 1
  4232. | #define HAVE_EXECINFO_H 1
  4233. | #define HAVE_LINUX_IF_PACKET_H 1
  4234. | #define HAVE_MATH_H 1
  4235. | #define HAVE_NET_ETHERNET_H 1
  4236. | #define HAVE_STROPTS_H 1
  4237. | #define HAVE_SYS_PARAM_H 1
  4238. | #define HAVE_SYS_TYPES_H 1
  4239. | #define HAVE_SYS_UIO_H 1
  4240. | #define HAVE_SYSEXITS_H 1
  4241. | #define HAVE_SYS_SYSCTL_H 1
  4242. | #define HAVE_NET_IF_H 1
  4243. | #define HAVE_NET_IF_ARP_H 1
  4244. | #define HAVE_NET_ROUTE_H 1
  4245. | #define HAVE_NETINET_IF_ETHER_H 1
  4246. | #define HAVE_LINUX_NETLINK_H 1
  4247. | #define HAVE_LINUX_RTNETLINK_H 1
  4248. | #define HAVE_STDBOOL_H 1
  4249. | #define restrict __restrict
  4250. | #define HAVE_HASH_MAP 1
  4251. | #define HAVE_HASH_SET 1
  4252. | #define HAVE_UNORDERED_MAP 1
  4253. | #define HASH_MAP_H <tr1/unordered_map>
  4254. | #define HASH_SET_H <tr1/unordered_set>
  4255. | #define HASH_NAMESPACE std::tr1
  4256. | #define HASH_MAP_CLASS unordered_map
  4257. | #define HASH_SET_CLASS unordered_set
  4258. | #define HAVE_FORK 1
  4259. | #define HAVE_VFORK 1
  4260. | #define HAVE_WORKING_VFORK 1
  4261. | #define HAVE_WORKING_FORK 1
  4262. | #define HAVE_STDLIB_H 1
  4263. | #define HAVE_MALLOC 1
  4264. | #define HAVE_STDLIB_H 1
  4265. | #define HAVE_REALLOC 1
  4266. | #define HAVE_SYS_SELECT_H 1
  4267. | #define HAVE_SYS_SOCKET_H 1
  4268. | #define SELECT_TYPE_ARG1 int
  4269. | #define SELECT_TYPE_ARG234 (fd_set *)
  4270. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4271. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4272. | #define HAVE_VPRINTF 1
  4273. | #define HAVE_BZERO 1
  4274. | #define HAVE_GETTIMEOFDAY 1
  4275. | #define HAVE_MEMMOVE 1
  4276. | #define HAVE_MEMSET 1
  4277. | #define HAVE_MKDIR 1
  4278. | #define HAVE_STRDUP 1
  4279. | #define HAVE_STRRCHR 1
  4280. | #define HAVE_IF_NAMETOINDEX 1
  4281. | #define HAVE_INET_NTOA 1
  4282. | #define HAVE_INET_NTOP 1
  4283. | #define HAVE_INET_ATON 1
  4284. | #define HAVE_INET_PTON 1
  4285. | #define HAVE_SELECT 1
  4286. | #define HAVE_SOCKET 1
  4287. | #define HAVE_STRERROR 1
  4288. | #define HAVE_GETIFADDRS 1
  4289. | #define HAVE_GETLOADAVG 1
  4290. | #define HAVE_GETPWNAM_R 1
  4291. | #define HAVE_GETPWUID_R 1
  4292. | #define HAVE_GETGRNAM_R 1
  4293. | #define HAVE_GETGRGID_R 1
  4294. | #define HAVE_SECURE_GETENV 1
  4295. | #define HAVE_DLFCN_H 1
  4296. | #define LT_OBJDIR ".libs/"
  4297. | #define HAVE_EPOLL 1
  4298. | #define HAVE_TIME_T 1
  4299. | /* end confdefs.h. */
  4300. | #include <sys/time.h>
  4301. |
  4302. | int
  4303. | main ()
  4304. | {
  4305. | if (sizeof ((suseconds_t)))
  4306. | return 0;
  4307. | ;
  4308. | return 0;
  4309. | }
  4310. configure:19319: result: yes
  4311. configure:19329: checking whether MSG_NOSIGNAL is declared
  4312. configure:19329: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4313. configure:19329: $? = 0
  4314. configure:19329: result: yes
  4315. configure:19348: checking whether SO_NOSIGPIPE is declared
  4316. configure:19348: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4317. conftest.cpp: In function 'int main()':
  4318. conftest.cpp:128:10: error: 'SO_NOSIGPIPE' was not declared in this scope
  4319. (void) SO_NOSIGPIPE;
  4320. ^
  4321. configure:19348: $? = 1
  4322. configure: failed program was:
  4323. | /* confdefs.h */
  4324. | #define PACKAGE_NAME "OLA"
  4325. | #define PACKAGE_TARNAME "ola"
  4326. | #define PACKAGE_VERSION "0.10.6"
  4327. | #define PACKAGE_STRING "OLA 0.10.6"
  4328. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4329. | #define PACKAGE_URL ""
  4330. | #define PACKAGE "ola"
  4331. | #define VERSION "0.10.6"
  4332. | #define HAVE_DIRENT_H 1
  4333. | #define HAVE_SYS_TYPES_H 1
  4334. | #define HAVE_NETINET_IN_H 1
  4335. | #define HAVE_ARPA_NAMESER_H 1
  4336. | #define HAVE_NETDB_H 1
  4337. | #define HAVE_RESOLV_H 1
  4338. | #define STDC_HEADERS 1
  4339. | #define HAVE_SYS_TYPES_H 1
  4340. | #define HAVE_SYS_STAT_H 1
  4341. | #define HAVE_STDLIB_H 1
  4342. | #define HAVE_STRING_H 1
  4343. | #define HAVE_MEMORY_H 1
  4344. | #define HAVE_STRINGS_H 1
  4345. | #define HAVE_INTTYPES_H 1
  4346. | #define HAVE_STDINT_H 1
  4347. | #define HAVE_UNISTD_H 1
  4348. | #define HAVE_ERRNO_H 1
  4349. | #define HAVE_ARPA_INET_H 1
  4350. | #define HAVE_BITS_SOCKADDR_H 1
  4351. | #define HAVE_FCNTL_H 1
  4352. | #define HAVE_FLOAT_H 1
  4353. | #define HAVE_LIMITS_H 1
  4354. | #define HAVE_MALLOC_H 1
  4355. | #define HAVE_NETINET_IN_H 1
  4356. | #define HAVE_STDINT_H 1
  4357. | #define HAVE_STDLIB_H 1
  4358. | #define HAVE_STRING_H 1
  4359. | #define HAVE_STRINGS_H 1
  4360. | #define HAVE_SYS_FILE_H 1
  4361. | #define HAVE_SYS_IOCTL_H 1
  4362. | #define HAVE_SYS_SOCKET_H 1
  4363. | #define HAVE_SYS_TIME_H 1
  4364. | #define HAVE_SYS_TIMEB_H 1
  4365. | #define HAVE_SYSLOG_H 1
  4366. | #define HAVE_TERMIOS_H 1
  4367. | #define HAVE_UNISTD_H 1
  4368. | #define HAVE_ASM_TERMIOS_H 1
  4369. | #define HAVE_ASSERT_H 1
  4370. | #define HAVE_DLFCN_H 1
  4371. | #define HAVE_ENDIAN_H 1
  4372. | #define HAVE_EXECINFO_H 1
  4373. | #define HAVE_LINUX_IF_PACKET_H 1
  4374. | #define HAVE_MATH_H 1
  4375. | #define HAVE_NET_ETHERNET_H 1
  4376. | #define HAVE_STROPTS_H 1
  4377. | #define HAVE_SYS_PARAM_H 1
  4378. | #define HAVE_SYS_TYPES_H 1
  4379. | #define HAVE_SYS_UIO_H 1
  4380. | #define HAVE_SYSEXITS_H 1
  4381. | #define HAVE_SYS_SYSCTL_H 1
  4382. | #define HAVE_NET_IF_H 1
  4383. | #define HAVE_NET_IF_ARP_H 1
  4384. | #define HAVE_NET_ROUTE_H 1
  4385. | #define HAVE_NETINET_IF_ETHER_H 1
  4386. | #define HAVE_LINUX_NETLINK_H 1
  4387. | #define HAVE_LINUX_RTNETLINK_H 1
  4388. | #define HAVE_STDBOOL_H 1
  4389. | #define restrict __restrict
  4390. | #define HAVE_HASH_MAP 1
  4391. | #define HAVE_HASH_SET 1
  4392. | #define HAVE_UNORDERED_MAP 1
  4393. | #define HASH_MAP_H <tr1/unordered_map>
  4394. | #define HASH_SET_H <tr1/unordered_set>
  4395. | #define HASH_NAMESPACE std::tr1
  4396. | #define HASH_MAP_CLASS unordered_map
  4397. | #define HASH_SET_CLASS unordered_set
  4398. | #define HAVE_FORK 1
  4399. | #define HAVE_VFORK 1
  4400. | #define HAVE_WORKING_VFORK 1
  4401. | #define HAVE_WORKING_FORK 1
  4402. | #define HAVE_STDLIB_H 1
  4403. | #define HAVE_MALLOC 1
  4404. | #define HAVE_STDLIB_H 1
  4405. | #define HAVE_REALLOC 1
  4406. | #define HAVE_SYS_SELECT_H 1
  4407. | #define HAVE_SYS_SOCKET_H 1
  4408. | #define SELECT_TYPE_ARG1 int
  4409. | #define SELECT_TYPE_ARG234 (fd_set *)
  4410. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4411. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4412. | #define HAVE_VPRINTF 1
  4413. | #define HAVE_BZERO 1
  4414. | #define HAVE_GETTIMEOFDAY 1
  4415. | #define HAVE_MEMMOVE 1
  4416. | #define HAVE_MEMSET 1
  4417. | #define HAVE_MKDIR 1
  4418. | #define HAVE_STRDUP 1
  4419. | #define HAVE_STRRCHR 1
  4420. | #define HAVE_IF_NAMETOINDEX 1
  4421. | #define HAVE_INET_NTOA 1
  4422. | #define HAVE_INET_NTOP 1
  4423. | #define HAVE_INET_ATON 1
  4424. | #define HAVE_INET_PTON 1
  4425. | #define HAVE_SELECT 1
  4426. | #define HAVE_SOCKET 1
  4427. | #define HAVE_STRERROR 1
  4428. | #define HAVE_GETIFADDRS 1
  4429. | #define HAVE_GETLOADAVG 1
  4430. | #define HAVE_GETPWNAM_R 1
  4431. | #define HAVE_GETPWUID_R 1
  4432. | #define HAVE_GETGRNAM_R 1
  4433. | #define HAVE_GETGRGID_R 1
  4434. | #define HAVE_SECURE_GETENV 1
  4435. | #define HAVE_DLFCN_H 1
  4436. | #define LT_OBJDIR ".libs/"
  4437. | #define HAVE_EPOLL 1
  4438. | #define HAVE_TIME_T 1
  4439. | #define HAVE_SUSECONDS_T 1
  4440. | #define HAVE_DECL_MSG_NOSIGNAL 1
  4441. | /* end confdefs.h. */
  4442. | #include <sys/types.h>
  4443. | #include <sys/socket.h>
  4444. |
  4445. | int
  4446. | main ()
  4447. | {
  4448. | #ifndef SO_NOSIGPIPE
  4449. | #ifdef __cplusplus
  4450. | (void) SO_NOSIGPIPE;
  4451. | #else
  4452. | (void) SO_NOSIGPIPE;
  4453. | #endif
  4454. | #endif
  4455. |
  4456. | ;
  4457. | return 0;
  4458. | }
  4459. configure:19348: result: no
  4460. configure:19367: checking whether PF_ROUTE is declared
  4461. configure:19367: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4462. configure:19367: $? = 0
  4463. configure:19367: result: yes
  4464. configure:19381: checking whether NET_RT_DUMP is declared
  4465. configure:19381: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4466. conftest.cpp: In function 'int main()':
  4467. conftest.cpp:130:10: error: 'NET_RT_DUMP' was not declared in this scope
  4468. (void) NET_RT_DUMP;
  4469. ^
  4470. configure:19381: $? = 1
  4471. configure: failed program was:
  4472. | /* confdefs.h */
  4473. | #define PACKAGE_NAME "OLA"
  4474. | #define PACKAGE_TARNAME "ola"
  4475. | #define PACKAGE_VERSION "0.10.6"
  4476. | #define PACKAGE_STRING "OLA 0.10.6"
  4477. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4478. | #define PACKAGE_URL ""
  4479. | #define PACKAGE "ola"
  4480. | #define VERSION "0.10.6"
  4481. | #define HAVE_DIRENT_H 1
  4482. | #define HAVE_SYS_TYPES_H 1
  4483. | #define HAVE_NETINET_IN_H 1
  4484. | #define HAVE_ARPA_NAMESER_H 1
  4485. | #define HAVE_NETDB_H 1
  4486. | #define HAVE_RESOLV_H 1
  4487. | #define STDC_HEADERS 1
  4488. | #define HAVE_SYS_TYPES_H 1
  4489. | #define HAVE_SYS_STAT_H 1
  4490. | #define HAVE_STDLIB_H 1
  4491. | #define HAVE_STRING_H 1
  4492. | #define HAVE_MEMORY_H 1
  4493. | #define HAVE_STRINGS_H 1
  4494. | #define HAVE_INTTYPES_H 1
  4495. | #define HAVE_STDINT_H 1
  4496. | #define HAVE_UNISTD_H 1
  4497. | #define HAVE_ERRNO_H 1
  4498. | #define HAVE_ARPA_INET_H 1
  4499. | #define HAVE_BITS_SOCKADDR_H 1
  4500. | #define HAVE_FCNTL_H 1
  4501. | #define HAVE_FLOAT_H 1
  4502. | #define HAVE_LIMITS_H 1
  4503. | #define HAVE_MALLOC_H 1
  4504. | #define HAVE_NETINET_IN_H 1
  4505. | #define HAVE_STDINT_H 1
  4506. | #define HAVE_STDLIB_H 1
  4507. | #define HAVE_STRING_H 1
  4508. | #define HAVE_STRINGS_H 1
  4509. | #define HAVE_SYS_FILE_H 1
  4510. | #define HAVE_SYS_IOCTL_H 1
  4511. | #define HAVE_SYS_SOCKET_H 1
  4512. | #define HAVE_SYS_TIME_H 1
  4513. | #define HAVE_SYS_TIMEB_H 1
  4514. | #define HAVE_SYSLOG_H 1
  4515. | #define HAVE_TERMIOS_H 1
  4516. | #define HAVE_UNISTD_H 1
  4517. | #define HAVE_ASM_TERMIOS_H 1
  4518. | #define HAVE_ASSERT_H 1
  4519. | #define HAVE_DLFCN_H 1
  4520. | #define HAVE_ENDIAN_H 1
  4521. | #define HAVE_EXECINFO_H 1
  4522. | #define HAVE_LINUX_IF_PACKET_H 1
  4523. | #define HAVE_MATH_H 1
  4524. | #define HAVE_NET_ETHERNET_H 1
  4525. | #define HAVE_STROPTS_H 1
  4526. | #define HAVE_SYS_PARAM_H 1
  4527. | #define HAVE_SYS_TYPES_H 1
  4528. | #define HAVE_SYS_UIO_H 1
  4529. | #define HAVE_SYSEXITS_H 1
  4530. | #define HAVE_SYS_SYSCTL_H 1
  4531. | #define HAVE_NET_IF_H 1
  4532. | #define HAVE_NET_IF_ARP_H 1
  4533. | #define HAVE_NET_ROUTE_H 1
  4534. | #define HAVE_NETINET_IF_ETHER_H 1
  4535. | #define HAVE_LINUX_NETLINK_H 1
  4536. | #define HAVE_LINUX_RTNETLINK_H 1
  4537. | #define HAVE_STDBOOL_H 1
  4538. | #define restrict __restrict
  4539. | #define HAVE_HASH_MAP 1
  4540. | #define HAVE_HASH_SET 1
  4541. | #define HAVE_UNORDERED_MAP 1
  4542. | #define HASH_MAP_H <tr1/unordered_map>
  4543. | #define HASH_SET_H <tr1/unordered_set>
  4544. | #define HASH_NAMESPACE std::tr1
  4545. | #define HASH_MAP_CLASS unordered_map
  4546. | #define HASH_SET_CLASS unordered_set
  4547. | #define HAVE_FORK 1
  4548. | #define HAVE_VFORK 1
  4549. | #define HAVE_WORKING_VFORK 1
  4550. | #define HAVE_WORKING_FORK 1
  4551. | #define HAVE_STDLIB_H 1
  4552. | #define HAVE_MALLOC 1
  4553. | #define HAVE_STDLIB_H 1
  4554. | #define HAVE_REALLOC 1
  4555. | #define HAVE_SYS_SELECT_H 1
  4556. | #define HAVE_SYS_SOCKET_H 1
  4557. | #define SELECT_TYPE_ARG1 int
  4558. | #define SELECT_TYPE_ARG234 (fd_set *)
  4559. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4560. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4561. | #define HAVE_VPRINTF 1
  4562. | #define HAVE_BZERO 1
  4563. | #define HAVE_GETTIMEOFDAY 1
  4564. | #define HAVE_MEMMOVE 1
  4565. | #define HAVE_MEMSET 1
  4566. | #define HAVE_MKDIR 1
  4567. | #define HAVE_STRDUP 1
  4568. | #define HAVE_STRRCHR 1
  4569. | #define HAVE_IF_NAMETOINDEX 1
  4570. | #define HAVE_INET_NTOA 1
  4571. | #define HAVE_INET_NTOP 1
  4572. | #define HAVE_INET_ATON 1
  4573. | #define HAVE_INET_PTON 1
  4574. | #define HAVE_SELECT 1
  4575. | #define HAVE_SOCKET 1
  4576. | #define HAVE_STRERROR 1
  4577. | #define HAVE_GETIFADDRS 1
  4578. | #define HAVE_GETLOADAVG 1
  4579. | #define HAVE_GETPWNAM_R 1
  4580. | #define HAVE_GETPWUID_R 1
  4581. | #define HAVE_GETGRNAM_R 1
  4582. | #define HAVE_GETGRGID_R 1
  4583. | #define HAVE_SECURE_GETENV 1
  4584. | #define HAVE_DLFCN_H 1
  4585. | #define LT_OBJDIR ".libs/"
  4586. | #define HAVE_EPOLL 1
  4587. | #define HAVE_TIME_T 1
  4588. | #define HAVE_SUSECONDS_T 1
  4589. | #define HAVE_DECL_MSG_NOSIGNAL 1
  4590. | #define HAVE_DECL_SO_NOSIGPIPE 0
  4591. | #define HAVE_DECL_PF_ROUTE 1
  4592. | /* end confdefs.h. */
  4593. | #include <sys/types.h>
  4594. | #include <sys/socket.h>
  4595. |
  4596. | int
  4597. | main ()
  4598. | {
  4599. | #ifndef NET_RT_DUMP
  4600. | #ifdef __cplusplus
  4601. | (void) NET_RT_DUMP;
  4602. | #else
  4603. | (void) NET_RT_DUMP;
  4604. | #endif
  4605. | #endif
  4606. |
  4607. | ;
  4608. | return 0;
  4609. | }
  4610. configure:19381: result: no
  4611. configure:19395: checking whether RLIMIT_RTPRIO is declared
  4612. configure:19395: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4613. configure:19395: $? = 0
  4614. configure:19395: result: yes
  4615. configure:19408: checking whether RLIMIT_RTTIME is declared
  4616. configure:19408: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4617. configure:19408: $? = 0
  4618. configure:19408: result: yes
  4619. configure:19421: checking whether SO_REUSEADDR is declared
  4620. configure:19421: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4621. configure:19421: $? = 0
  4622. configure:19421: result: yes
  4623. configure:19435: checking whether SO_REUSEPORT is declared
  4624. configure:19435: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4625. configure:19435: $? = 0
  4626. configure:19435: result: yes
  4627. configure:19454: checking for termios2
  4628. configure:19454: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4629. configure:19454: $? = 0
  4630. configure:19454: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4631. conftest.cpp: In function 'int main()':
  4632. conftest.cpp:132:22: error: expected primary-expression before ')' token
  4633. if (sizeof ((termios2)))
  4634. ^
  4635. configure:19454: $? = 1
  4636. configure: failed program was:
  4637. | /* confdefs.h */
  4638. | #define PACKAGE_NAME "OLA"
  4639. | #define PACKAGE_TARNAME "ola"
  4640. | #define PACKAGE_VERSION "0.10.6"
  4641. | #define PACKAGE_STRING "OLA 0.10.6"
  4642. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4643. | #define PACKAGE_URL ""
  4644. | #define PACKAGE "ola"
  4645. | #define VERSION "0.10.6"
  4646. | #define HAVE_DIRENT_H 1
  4647. | #define HAVE_SYS_TYPES_H 1
  4648. | #define HAVE_NETINET_IN_H 1
  4649. | #define HAVE_ARPA_NAMESER_H 1
  4650. | #define HAVE_NETDB_H 1
  4651. | #define HAVE_RESOLV_H 1
  4652. | #define STDC_HEADERS 1
  4653. | #define HAVE_SYS_TYPES_H 1
  4654. | #define HAVE_SYS_STAT_H 1
  4655. | #define HAVE_STDLIB_H 1
  4656. | #define HAVE_STRING_H 1
  4657. | #define HAVE_MEMORY_H 1
  4658. | #define HAVE_STRINGS_H 1
  4659. | #define HAVE_INTTYPES_H 1
  4660. | #define HAVE_STDINT_H 1
  4661. | #define HAVE_UNISTD_H 1
  4662. | #define HAVE_ERRNO_H 1
  4663. | #define HAVE_ARPA_INET_H 1
  4664. | #define HAVE_BITS_SOCKADDR_H 1
  4665. | #define HAVE_FCNTL_H 1
  4666. | #define HAVE_FLOAT_H 1
  4667. | #define HAVE_LIMITS_H 1
  4668. | #define HAVE_MALLOC_H 1
  4669. | #define HAVE_NETINET_IN_H 1
  4670. | #define HAVE_STDINT_H 1
  4671. | #define HAVE_STDLIB_H 1
  4672. | #define HAVE_STRING_H 1
  4673. | #define HAVE_STRINGS_H 1
  4674. | #define HAVE_SYS_FILE_H 1
  4675. | #define HAVE_SYS_IOCTL_H 1
  4676. | #define HAVE_SYS_SOCKET_H 1
  4677. | #define HAVE_SYS_TIME_H 1
  4678. | #define HAVE_SYS_TIMEB_H 1
  4679. | #define HAVE_SYSLOG_H 1
  4680. | #define HAVE_TERMIOS_H 1
  4681. | #define HAVE_UNISTD_H 1
  4682. | #define HAVE_ASM_TERMIOS_H 1
  4683. | #define HAVE_ASSERT_H 1
  4684. | #define HAVE_DLFCN_H 1
  4685. | #define HAVE_ENDIAN_H 1
  4686. | #define HAVE_EXECINFO_H 1
  4687. | #define HAVE_LINUX_IF_PACKET_H 1
  4688. | #define HAVE_MATH_H 1
  4689. | #define HAVE_NET_ETHERNET_H 1
  4690. | #define HAVE_STROPTS_H 1
  4691. | #define HAVE_SYS_PARAM_H 1
  4692. | #define HAVE_SYS_TYPES_H 1
  4693. | #define HAVE_SYS_UIO_H 1
  4694. | #define HAVE_SYSEXITS_H 1
  4695. | #define HAVE_SYS_SYSCTL_H 1
  4696. | #define HAVE_NET_IF_H 1
  4697. | #define HAVE_NET_IF_ARP_H 1
  4698. | #define HAVE_NET_ROUTE_H 1
  4699. | #define HAVE_NETINET_IF_ETHER_H 1
  4700. | #define HAVE_LINUX_NETLINK_H 1
  4701. | #define HAVE_LINUX_RTNETLINK_H 1
  4702. | #define HAVE_STDBOOL_H 1
  4703. | #define restrict __restrict
  4704. | #define HAVE_HASH_MAP 1
  4705. | #define HAVE_HASH_SET 1
  4706. | #define HAVE_UNORDERED_MAP 1
  4707. | #define HASH_MAP_H <tr1/unordered_map>
  4708. | #define HASH_SET_H <tr1/unordered_set>
  4709. | #define HASH_NAMESPACE std::tr1
  4710. | #define HASH_MAP_CLASS unordered_map
  4711. | #define HASH_SET_CLASS unordered_set
  4712. | #define HAVE_FORK 1
  4713. | #define HAVE_VFORK 1
  4714. | #define HAVE_WORKING_VFORK 1
  4715. | #define HAVE_WORKING_FORK 1
  4716. | #define HAVE_STDLIB_H 1
  4717. | #define HAVE_MALLOC 1
  4718. | #define HAVE_STDLIB_H 1
  4719. | #define HAVE_REALLOC 1
  4720. | #define HAVE_SYS_SELECT_H 1
  4721. | #define HAVE_SYS_SOCKET_H 1
  4722. | #define SELECT_TYPE_ARG1 int
  4723. | #define SELECT_TYPE_ARG234 (fd_set *)
  4724. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4725. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4726. | #define HAVE_VPRINTF 1
  4727. | #define HAVE_BZERO 1
  4728. | #define HAVE_GETTIMEOFDAY 1
  4729. | #define HAVE_MEMMOVE 1
  4730. | #define HAVE_MEMSET 1
  4731. | #define HAVE_MKDIR 1
  4732. | #define HAVE_STRDUP 1
  4733. | #define HAVE_STRRCHR 1
  4734. | #define HAVE_IF_NAMETOINDEX 1
  4735. | #define HAVE_INET_NTOA 1
  4736. | #define HAVE_INET_NTOP 1
  4737. | #define HAVE_INET_ATON 1
  4738. | #define HAVE_INET_PTON 1
  4739. | #define HAVE_SELECT 1
  4740. | #define HAVE_SOCKET 1
  4741. | #define HAVE_STRERROR 1
  4742. | #define HAVE_GETIFADDRS 1
  4743. | #define HAVE_GETLOADAVG 1
  4744. | #define HAVE_GETPWNAM_R 1
  4745. | #define HAVE_GETPWUID_R 1
  4746. | #define HAVE_GETGRNAM_R 1
  4747. | #define HAVE_GETGRGID_R 1
  4748. | #define HAVE_SECURE_GETENV 1
  4749. | #define HAVE_DLFCN_H 1
  4750. | #define LT_OBJDIR ".libs/"
  4751. | #define HAVE_EPOLL 1
  4752. | #define HAVE_TIME_T 1
  4753. | #define HAVE_SUSECONDS_T 1
  4754. | #define HAVE_DECL_MSG_NOSIGNAL 1
  4755. | #define HAVE_DECL_SO_NOSIGPIPE 0
  4756. | #define HAVE_DECL_PF_ROUTE 1
  4757. | #define HAVE_DECL_NET_RT_DUMP 0
  4758. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  4759. | #define HAVE_DECL_RLIMIT_RTTIME 1
  4760. | #define HAVE_DECL_SO_REUSEADDR 1
  4761. | #define HAVE_DECL_SO_REUSEPORT 1
  4762. | /* end confdefs.h. */
  4763. | #include <asm/termios.h>
  4764. |
  4765. | int
  4766. | main ()
  4767. | {
  4768. | if (sizeof ((termios2)))
  4769. | return 0;
  4770. | ;
  4771. | return 0;
  4772. | }
  4773. configure:19454: result: yes
  4774. configure:19465: checking linux/spi/spidev.h usability
  4775. configure:19465: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  4776. configure:19465: $? = 0
  4777. configure:19465: result: yes
  4778. configure:19465: checking linux/spi/spidev.h presence
  4779. configure:19465: g++ -E conftest.cpp
  4780. configure:19465: $? = 0
  4781. configure:19465: result: yes
  4782. configure:19465: checking for linux/spi/spidev.h
  4783. configure:19465: result: yes
  4784. configure:19481: checking for bison
  4785. configure:19497: found /usr/bin/bison
  4786. configure:19508: result: bison
  4787. configure:19526: checking for flex
  4788. configure:19542: found /usr/bin/flex
  4789. configure:19553: result: flex
  4790. configure:19591: flex conftest.l
  4791. configure:19595: $? = 0
  4792. configure:19597: checking lex output file root
  4793. configure:19611: result: lex.yy
  4794. configure:19616: checking lex library
  4795. configure:19630: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  4796. conftest.l: In function 'int yylex()':
  4797. conftest.l:7:21: error: 'input' was not declared in this scope
  4798. yyless ((input () != 0)); }
  4799. ^
  4800. lex.yy.c:185:33: note: in definition of macro 'yyless'
  4801. int yyless_macro_arg = (n); \
  4802. ^
  4803. configure:19630: $? = 1
  4804. configure: failed program was:
  4805. | /* confdefs.h */
  4806. | #define PACKAGE_NAME "OLA"
  4807. | #define PACKAGE_TARNAME "ola"
  4808. | #define PACKAGE_VERSION "0.10.6"
  4809. | #define PACKAGE_STRING "OLA 0.10.6"
  4810. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  4811. | #define PACKAGE_URL ""
  4812. | #define PACKAGE "ola"
  4813. | #define VERSION "0.10.6"
  4814. | #define HAVE_DIRENT_H 1
  4815. | #define HAVE_SYS_TYPES_H 1
  4816. | #define HAVE_NETINET_IN_H 1
  4817. | #define HAVE_ARPA_NAMESER_H 1
  4818. | #define HAVE_NETDB_H 1
  4819. | #define HAVE_RESOLV_H 1
  4820. | #define STDC_HEADERS 1
  4821. | #define HAVE_SYS_TYPES_H 1
  4822. | #define HAVE_SYS_STAT_H 1
  4823. | #define HAVE_STDLIB_H 1
  4824. | #define HAVE_STRING_H 1
  4825. | #define HAVE_MEMORY_H 1
  4826. | #define HAVE_STRINGS_H 1
  4827. | #define HAVE_INTTYPES_H 1
  4828. | #define HAVE_STDINT_H 1
  4829. | #define HAVE_UNISTD_H 1
  4830. | #define HAVE_ERRNO_H 1
  4831. | #define HAVE_ARPA_INET_H 1
  4832. | #define HAVE_BITS_SOCKADDR_H 1
  4833. | #define HAVE_FCNTL_H 1
  4834. | #define HAVE_FLOAT_H 1
  4835. | #define HAVE_LIMITS_H 1
  4836. | #define HAVE_MALLOC_H 1
  4837. | #define HAVE_NETINET_IN_H 1
  4838. | #define HAVE_STDINT_H 1
  4839. | #define HAVE_STDLIB_H 1
  4840. | #define HAVE_STRING_H 1
  4841. | #define HAVE_STRINGS_H 1
  4842. | #define HAVE_SYS_FILE_H 1
  4843. | #define HAVE_SYS_IOCTL_H 1
  4844. | #define HAVE_SYS_SOCKET_H 1
  4845. | #define HAVE_SYS_TIME_H 1
  4846. | #define HAVE_SYS_TIMEB_H 1
  4847. | #define HAVE_SYSLOG_H 1
  4848. | #define HAVE_TERMIOS_H 1
  4849. | #define HAVE_UNISTD_H 1
  4850. | #define HAVE_ASM_TERMIOS_H 1
  4851. | #define HAVE_ASSERT_H 1
  4852. | #define HAVE_DLFCN_H 1
  4853. | #define HAVE_ENDIAN_H 1
  4854. | #define HAVE_EXECINFO_H 1
  4855. | #define HAVE_LINUX_IF_PACKET_H 1
  4856. | #define HAVE_MATH_H 1
  4857. | #define HAVE_NET_ETHERNET_H 1
  4858. | #define HAVE_STROPTS_H 1
  4859. | #define HAVE_SYS_PARAM_H 1
  4860. | #define HAVE_SYS_TYPES_H 1
  4861. | #define HAVE_SYS_UIO_H 1
  4862. | #define HAVE_SYSEXITS_H 1
  4863. | #define HAVE_SYS_SYSCTL_H 1
  4864. | #define HAVE_NET_IF_H 1
  4865. | #define HAVE_NET_IF_ARP_H 1
  4866. | #define HAVE_NET_ROUTE_H 1
  4867. | #define HAVE_NETINET_IF_ETHER_H 1
  4868. | #define HAVE_LINUX_NETLINK_H 1
  4869. | #define HAVE_LINUX_RTNETLINK_H 1
  4870. | #define HAVE_STDBOOL_H 1
  4871. | #define restrict __restrict
  4872. | #define HAVE_HASH_MAP 1
  4873. | #define HAVE_HASH_SET 1
  4874. | #define HAVE_UNORDERED_MAP 1
  4875. | #define HASH_MAP_H <tr1/unordered_map>
  4876. | #define HASH_SET_H <tr1/unordered_set>
  4877. | #define HASH_NAMESPACE std::tr1
  4878. | #define HASH_MAP_CLASS unordered_map
  4879. | #define HASH_SET_CLASS unordered_set
  4880. | #define HAVE_FORK 1
  4881. | #define HAVE_VFORK 1
  4882. | #define HAVE_WORKING_VFORK 1
  4883. | #define HAVE_WORKING_FORK 1
  4884. | #define HAVE_STDLIB_H 1
  4885. | #define HAVE_MALLOC 1
  4886. | #define HAVE_STDLIB_H 1
  4887. | #define HAVE_REALLOC 1
  4888. | #define HAVE_SYS_SELECT_H 1
  4889. | #define HAVE_SYS_SOCKET_H 1
  4890. | #define SELECT_TYPE_ARG1 int
  4891. | #define SELECT_TYPE_ARG234 (fd_set *)
  4892. | #define SELECT_TYPE_ARG5 (struct timeval *)
  4893. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4894. | #define HAVE_VPRINTF 1
  4895. | #define HAVE_BZERO 1
  4896. | #define HAVE_GETTIMEOFDAY 1
  4897. | #define HAVE_MEMMOVE 1
  4898. | #define HAVE_MEMSET 1
  4899. | #define HAVE_MKDIR 1
  4900. | #define HAVE_STRDUP 1
  4901. | #define HAVE_STRRCHR 1
  4902. | #define HAVE_IF_NAMETOINDEX 1
  4903. | #define HAVE_INET_NTOA 1
  4904. | #define HAVE_INET_NTOP 1
  4905. | #define HAVE_INET_ATON 1
  4906. | #define HAVE_INET_PTON 1
  4907. | #define HAVE_SELECT 1
  4908. | #define HAVE_SOCKET 1
  4909. | #define HAVE_STRERROR 1
  4910. | #define HAVE_GETIFADDRS 1
  4911. | #define HAVE_GETLOADAVG 1
  4912. | #define HAVE_GETPWNAM_R 1
  4913. | #define HAVE_GETPWUID_R 1
  4914. | #define HAVE_GETGRNAM_R 1
  4915. | #define HAVE_GETGRGID_R 1
  4916. | #define HAVE_SECURE_GETENV 1
  4917. | #define HAVE_DLFCN_H 1
  4918. | #define LT_OBJDIR ".libs/"
  4919. | #define HAVE_EPOLL 1
  4920. | #define HAVE_TIME_T 1
  4921. | #define HAVE_SUSECONDS_T 1
  4922. | #define HAVE_DECL_MSG_NOSIGNAL 1
  4923. | #define HAVE_DECL_SO_NOSIGPIPE 0
  4924. | #define HAVE_DECL_PF_ROUTE 1
  4925. | #define HAVE_DECL_NET_RT_DUMP 0
  4926. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  4927. | #define HAVE_DECL_RLIMIT_RTTIME 1
  4928. | #define HAVE_DECL_SO_REUSEADDR 1
  4929. | #define HAVE_DECL_SO_REUSEPORT 1
  4930. | #define HAVE_TERMIOS2 1
  4931. | /* end confdefs.h. */
  4932. |
  4933. | #line 3 "lex.yy.c"
  4934. |
  4935. | #define YY_INT_ALIGNED short int
  4936. |
  4937. | /* A lexical scanner generated by flex */
  4938. |
  4939. | #define FLEX_SCANNER
  4940. | #define YY_FLEX_MAJOR_VERSION 2
  4941. | #define YY_FLEX_MINOR_VERSION 6
  4942. | #define YY_FLEX_SUBMINOR_VERSION 0
  4943. | #if YY_FLEX_SUBMINOR_VERSION > 0
  4944. | #define FLEX_BETA
  4945. | #endif
  4946. |
  4947. | /* First, we deal with platform-specific or compiler-specific issues. */
  4948. |
  4949. | /* begin standard C headers. */
  4950. | #include <stdio.h>
  4951. | #include <string.h>
  4952. | #include <errno.h>
  4953. | #include <stdlib.h>
  4954. |
  4955. | /* end standard C headers. */
  4956. |
  4957. | /* flex integer type definitions */
  4958. |
  4959. | #ifndef FLEXINT_H
  4960. | #define FLEXINT_H
  4961. |
  4962. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  4963. |
  4964. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  4965. |
  4966. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  4967. | * if you want the limit (max/min) macros for int types.
  4968. | */
  4969. | #ifndef __STDC_LIMIT_MACROS
  4970. | #define __STDC_LIMIT_MACROS 1
  4971. | #endif
  4972. |
  4973. | #include <inttypes.h>
  4974. | typedef int8_t flex_int8_t;
  4975. | typedef uint8_t flex_uint8_t;
  4976. | typedef int16_t flex_int16_t;
  4977. | typedef uint16_t flex_uint16_t;
  4978. | typedef int32_t flex_int32_t;
  4979. | typedef uint32_t flex_uint32_t;
  4980. | #else
  4981. | typedef signed char flex_int8_t;
  4982. | typedef short int flex_int16_t;
  4983. | typedef int flex_int32_t;
  4984. | typedef unsigned char flex_uint8_t;
  4985. | typedef unsigned short int flex_uint16_t;
  4986. | typedef unsigned int flex_uint32_t;
  4987. |
  4988. | /* Limits of integral types. */
  4989. | #ifndef INT8_MIN
  4990. | #define INT8_MIN (-128)
  4991. | #endif
  4992. | #ifndef INT16_MIN
  4993. | #define INT16_MIN (-32767-1)
  4994. | #endif
  4995. | #ifndef INT32_MIN
  4996. | #define INT32_MIN (-2147483647-1)
  4997. | #endif
  4998. | #ifndef INT8_MAX
  4999. | #define INT8_MAX (127)
  5000. | #endif
  5001. | #ifndef INT16_MAX
  5002. | #define INT16_MAX (32767)
  5003. | #endif
  5004. | #ifndef INT32_MAX
  5005. | #define INT32_MAX (2147483647)
  5006. | #endif
  5007. | #ifndef UINT8_MAX
  5008. | #define UINT8_MAX (255U)
  5009. | #endif
  5010. | #ifndef UINT16_MAX
  5011. | #define UINT16_MAX (65535U)
  5012. | #endif
  5013. | #ifndef UINT32_MAX
  5014. | #define UINT32_MAX (4294967295U)
  5015. | #endif
  5016. |
  5017. | #endif /* ! C99 */
  5018. |
  5019. | #endif /* ! FLEXINT_H */
  5020. |
  5021. | #ifdef __cplusplus
  5022. |
  5023. | /* The "const" storage-class-modifier is valid. */
  5024. | #define YY_USE_CONST
  5025. |
  5026. | #else /* ! __cplusplus */
  5027. |
  5028. | /* C99 requires __STDC__ to be defined as 1. */
  5029. | #if defined (__STDC__)
  5030. |
  5031. | #define YY_USE_CONST
  5032. |
  5033. | #endif /* defined (__STDC__) */
  5034. | #endif /* ! __cplusplus */
  5035. |
  5036. | #ifdef YY_USE_CONST
  5037. | #define yyconst const
  5038. | #else
  5039. | #define yyconst
  5040. | #endif
  5041. |
  5042. | /* Returned upon end-of-file. */
  5043. | #define YY_NULL 0
  5044. |
  5045. | /* Promotes a possibly negative, possibly signed char to an unsigned
  5046. | * integer for use as an array index. If the signed char is negative,
  5047. | * we want to instead treat it as an 8-bit unsigned char, hence the
  5048. | * double cast.
  5049. | */
  5050. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  5051. |
  5052. | /* Enter a start condition. This macro really ought to take a parameter,
  5053. | * but we do it the disgusting crufty way forced on us by the ()-less
  5054. | * definition of BEGIN.
  5055. | */
  5056. | #define BEGIN (yy_start) = 1 + 2 *
  5057. |
  5058. | /* Translate the current start state into a value that can be later handed
  5059. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  5060. | * compatibility.
  5061. | */
  5062. | #define YY_START (((yy_start) - 1) / 2)
  5063. | #define YYSTATE YY_START
  5064. |
  5065. | /* Action number for EOF rule of a given start state. */
  5066. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  5067. |
  5068. | /* Special action meaning "start processing a new file". */
  5069. | #define YY_NEW_FILE yyrestart(yyin )
  5070. |
  5071. | #define YY_END_OF_BUFFER_CHAR 0
  5072. |
  5073. | /* Size of default input buffer. */
  5074. | #ifndef YY_BUF_SIZE
  5075. | #ifdef __ia64__
  5076. | /* On IA-64, the buffer size is 16k, not 8k.
  5077. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  5078. | * Ditto for the __ia64__ case accordingly.
  5079. | */
  5080. | #define YY_BUF_SIZE 32768
  5081. | #else
  5082. | #define YY_BUF_SIZE 16384
  5083. | #endif /* __ia64__ */
  5084. | #endif
  5085. |
  5086. | /* The state buf must be large enough to hold one state per character in the main buffer.
  5087. | */
  5088. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  5089. |
  5090. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  5091. | #define YY_TYPEDEF_YY_BUFFER_STATE
  5092. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  5093. | #endif
  5094. |
  5095. | #ifndef YY_TYPEDEF_YY_SIZE_T
  5096. | #define YY_TYPEDEF_YY_SIZE_T
  5097. | typedef size_t yy_size_t;
  5098. | #endif
  5099. |
  5100. | extern yy_size_t yyleng;
  5101. |
  5102. | extern FILE *yyin, *yyout;
  5103. |
  5104. | #define EOB_ACT_CONTINUE_SCAN 0
  5105. | #define EOB_ACT_END_OF_FILE 1
  5106. | #define EOB_ACT_LAST_MATCH 2
  5107. |
  5108. | #define YY_LESS_LINENO(n)
  5109. | #define YY_LINENO_REWIND_TO(ptr)
  5110. |
  5111. | /* Return all but the first "n" matched characters back to the input stream. */
  5112. | #define yyless(n) \
  5113. | do \
  5114. | { \
  5115. | /* Undo effects of setting up yytext. */ \
  5116. | int yyless_macro_arg = (n); \
  5117. | YY_LESS_LINENO(yyless_macro_arg);\
  5118. | *yy_cp = (yy_hold_char); \
  5119. | YY_RESTORE_YY_MORE_OFFSET \
  5120. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  5121. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  5122. | } \
  5123. | while ( 0 )
  5124. |
  5125. | #define unput(c) yyunput( c, (yytext_ptr) )
  5126. |
  5127. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  5128. | #define YY_STRUCT_YY_BUFFER_STATE
  5129. | struct yy_buffer_state
  5130. | {
  5131. | FILE *yy_input_file;
  5132. |
  5133. | char *yy_ch_buf; /* input buffer */
  5134. | char *yy_buf_pos; /* current position in input buffer */
  5135. |
  5136. | /* Size of input buffer in bytes, not including room for EOB
  5137. | * characters.
  5138. | */
  5139. | yy_size_t yy_buf_size;
  5140. |
  5141. | /* Number of characters read into yy_ch_buf, not including EOB
  5142. | * characters.
  5143. | */
  5144. | int yy_n_chars;
  5145. |
  5146. | /* Whether we "own" the buffer - i.e., we know we created it,
  5147. | * and can realloc() it to grow it, and should free() it to
  5148. | * delete it.
  5149. | */
  5150. | int yy_is_our_buffer;
  5151. |
  5152. | /* Whether this is an "interactive" input source; if so, and
  5153. | * if we're using stdio for input, then we want to use getc()
  5154. | * instead of fread(), to make sure we stop fetching input after
  5155. | * each newline.
  5156. | */
  5157. | int yy_is_interactive;
  5158. |
  5159. | /* Whether we're considered to be at the beginning of a line.
  5160. | * If so, '^' rules will be active on the next match, otherwise
  5161. | * not.
  5162. | */
  5163. | int yy_at_bol;
  5164. |
  5165. | int yy_bs_lineno; /**< The line count. */
  5166. | int yy_bs_column; /**< The column count. */
  5167. |
  5168. | /* Whether to try to fill the input buffer when we reach the
  5169. | * end of it.
  5170. | */
  5171. | int yy_fill_buffer;
  5172. |
  5173. | int yy_buffer_status;
  5174. |
  5175. | #define YY_BUFFER_NEW 0
  5176. | #define YY_BUFFER_NORMAL 1
  5177. | /* When an EOF's been seen but there's still some text to process
  5178. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  5179. | * shouldn't try reading from the input source any more. We might
  5180. | * still have a bunch of tokens to match, though, because of
  5181. | * possible backing-up.
  5182. | *
  5183. | * When we actually see the EOF, we change the status to "new"
  5184. | * (via yyrestart()), so that the user can continue scanning by
  5185. | * just pointing yyin at a new input file.
  5186. | */
  5187. | #define YY_BUFFER_EOF_PENDING 2
  5188. |
  5189. | };
  5190. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  5191. |
  5192. | /* Stack of input buffers. */
  5193. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  5194. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  5195. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  5196. |
  5197. | /* We provide macros for accessing buffer states in case in the
  5198. | * future we want to put the buffer states in a more general
  5199. | * "scanner state".
  5200. | *
  5201. | * Returns the top of the stack, or NULL.
  5202. | */
  5203. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  5204. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  5205. | : NULL)
  5206. |
  5207. | /* Same as previous macro, but useful when we know that the buffer stack is not
  5208. | * NULL or when we need an lvalue. For internal use only.
  5209. | */
  5210. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  5211. |
  5212. | /* yy_hold_char holds the character lost when yytext is formed. */
  5213. | static char yy_hold_char;
  5214. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  5215. | yy_size_t yyleng;
  5216. |
  5217. | /* Points to current character in buffer. */
  5218. | static char *yy_c_buf_p = (char *) 0;
  5219. | static int yy_init = 0; /* whether we need to initialize */
  5220. | static int yy_start = 0; /* start state number */
  5221. |
  5222. | /* Flag which is used to allow yywrap()'s to do buffer switches
  5223. | * instead of setting up a fresh yyin. A bit of a hack ...
  5224. | */
  5225. | static int yy_did_buffer_switch_on_eof;
  5226. |
  5227. | void yyrestart (FILE *input_file );
  5228. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  5229. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  5230. | void yy_delete_buffer (YY_BUFFER_STATE b );
  5231. | void yy_flush_buffer (YY_BUFFER_STATE b );
  5232. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  5233. | void yypop_buffer_state (void );
  5234. |
  5235. | static void yyensure_buffer_stack (void );
  5236. | static void yy_load_buffer_state (void );
  5237. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  5238. |
  5239. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  5240. |
  5241. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  5242. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  5243. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  5244. |
  5245. | void *yyalloc (yy_size_t );
  5246. | void *yyrealloc (void *,yy_size_t );
  5247. | void yyfree (void * );
  5248. |
  5249. | #define yy_new_buffer yy_create_buffer
  5250. |
  5251. | #define yy_set_interactive(is_interactive) \
  5252. | { \
  5253. | if ( ! YY_CURRENT_BUFFER ){ \
  5254. | yyensure_buffer_stack (); \
  5255. | YY_CURRENT_BUFFER_LVALUE = \
  5256. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  5257. | } \
  5258. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  5259. | }
  5260. |
  5261. | #define yy_set_bol(at_bol) \
  5262. | { \
  5263. | if ( ! YY_CURRENT_BUFFER ){\
  5264. | yyensure_buffer_stack (); \
  5265. | YY_CURRENT_BUFFER_LVALUE = \
  5266. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  5267. | } \
  5268. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  5269. | }
  5270. |
  5271. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  5272. |
  5273. | /* Begin user sect3 */
  5274. |
  5275. | typedef unsigned char YY_CHAR;
  5276. |
  5277. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  5278. |
  5279. | typedef int yy_state_type;
  5280. |
  5281. | extern int yylineno;
  5282. |
  5283. | int yylineno = 1;
  5284. |
  5285. | extern char *yytext;
  5286. | #ifdef yytext_ptr
  5287. | #undef yytext_ptr
  5288. | #endif
  5289. | #define yytext_ptr yytext
  5290. |
  5291. | static yy_state_type yy_get_previous_state (void );
  5292. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  5293. | static int yy_get_next_buffer (void );
  5294. | #if defined(__GNUC__) && __GNUC__ >= 3
  5295. | __attribute__((__noreturn__))
  5296. | #endif
  5297. | static void yy_fatal_error (yyconst char msg[] );
  5298. |
  5299. | /* Done after the current pattern has been matched and before the
  5300. | * corresponding action - sets up yytext.
  5301. | */
  5302. | #define YY_DO_BEFORE_ACTION \
  5303. | (yytext_ptr) = yy_bp; \
  5304. | (yytext_ptr) -= (yy_more_len); \
  5305. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  5306. | (yy_hold_char) = *yy_cp; \
  5307. | *yy_cp = '\0'; \
  5308. | (yy_c_buf_p) = yy_cp;
  5309. |
  5310. | #define YY_NUM_RULES 8
  5311. | #define YY_END_OF_BUFFER 9
  5312. | /* This struct is not used in this scanner,
  5313. | but its presence is necessary. */
  5314. | struct yy_trans_info
  5315. | {
  5316. | flex_int32_t yy_verify;
  5317. | flex_int32_t yy_nxt;
  5318. | };
  5319. | static yyconst flex_int16_t yy_acclist[23] =
  5320. | { 0,
  5321. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  5322. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  5323. | 7, 8
  5324. | } ;
  5325. |
  5326. | static yyconst flex_int16_t yy_accept[14] =
  5327. | { 0,
  5328. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  5329. | 20, 23, 23
  5330. | } ;
  5331. |
  5332. | static yyconst YY_CHAR yy_ec[256] =
  5333. | { 0,
  5334. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  5335. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5336. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5337. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5338. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5339. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5340. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5341. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5342. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5343. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  5344. |
  5345. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  5346. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5347. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5348. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5349. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5350. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5351. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5352. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5353. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5354. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5355. |
  5356. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5357. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5358. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5359. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5360. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5361. | 1, 1, 1, 1, 1
  5362. | } ;
  5363. |
  5364. | static yyconst YY_CHAR yy_meta[9] =
  5365. | { 0,
  5366. | 1, 1, 1, 1, 1, 1, 1, 1
  5367. | } ;
  5368. |
  5369. | static yyconst flex_uint16_t yy_base[13] =
  5370. | { 0,
  5371. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  5372. | 10, 10
  5373. | } ;
  5374. |
  5375. | static yyconst flex_int16_t yy_def[13] =
  5376. | { 0,
  5377. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  5378. | 12, 0
  5379. | } ;
  5380. |
  5381. | static yyconst flex_uint16_t yy_nxt[19] =
  5382. | { 0,
  5383. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  5384. | 12, 12, 12, 12, 12, 12, 12, 12
  5385. | } ;
  5386. |
  5387. | static yyconst flex_int16_t yy_chk[19] =
  5388. | { 0,
  5389. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  5390. | 12, 12, 12, 12, 12, 12, 12, 12
  5391. | } ;
  5392. |
  5393. | extern int yy_flex_debug;
  5394. | int yy_flex_debug = 0;
  5395. |
  5396. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  5397. | static char *yy_full_match;
  5398. | static int yy_lp;
  5399. | #define REJECT \
  5400. | { \
  5401. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  5402. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  5403. | ++(yy_lp); \
  5404. | goto find_rule; \
  5405. | }
  5406. |
  5407. | static int yy_more_flag = 0;
  5408. | static int yy_more_len = 0;
  5409. | #define yymore() ((yy_more_flag) = 1)
  5410. | #define YY_MORE_ADJ (yy_more_len)
  5411. | #define YY_RESTORE_YY_MORE_OFFSET
  5412. | char *yytext;
  5413. | #line 1 "conftest.l"
  5414. | #line 484 "lex.yy.c"
  5415. |
  5416. | #define INITIAL 0
  5417. |
  5418. | #ifndef YY_NO_UNISTD_H
  5419. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  5420. | * down here because we want the user's section 1 to have been scanned first.
  5421. | * The user has a chance to override it with an option.
  5422. | */
  5423. | #include <unistd.h>
  5424. | #endif
  5425. |
  5426. | #ifndef YY_EXTRA_TYPE
  5427. | #define YY_EXTRA_TYPE void *
  5428. | #endif
  5429. |
  5430. | static int yy_init_globals (void );
  5431. |
  5432. | /* Accessor methods to globals.
  5433. | These are made visible to non-reentrant scanners for convenience. */
  5434. |
  5435. | int yylex_destroy (void );
  5436. |
  5437. | int yyget_debug (void );
  5438. |
  5439. | void yyset_debug (int debug_flag );
  5440. |
  5441. | YY_EXTRA_TYPE yyget_extra (void );
  5442. |
  5443. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  5444. |
  5445. | FILE *yyget_in (void );
  5446. |
  5447. | void yyset_in (FILE * _in_str );
  5448. |
  5449. | FILE *yyget_out (void );
  5450. |
  5451. | void yyset_out (FILE * _out_str );
  5452. |
  5453. | yy_size_t yyget_leng (void );
  5454. |
  5455. | char *yyget_text (void );
  5456. |
  5457. | int yyget_lineno (void );
  5458. |
  5459. | void yyset_lineno (int _line_number );
  5460. |
  5461. | /* Macros after this point can all be overridden by user definitions in
  5462. | * section 1.
  5463. | */
  5464. |
  5465. | #ifndef YY_SKIP_YYWRAP
  5466. | #ifdef __cplusplus
  5467. | extern "C" int yywrap (void );
  5468. | #else
  5469. | extern int yywrap (void );
  5470. | #endif
  5471. | #endif
  5472. |
  5473. | #ifndef YY_NO_UNPUT
  5474. |
  5475. | static void yyunput (int c,char *buf_ptr );
  5476. |
  5477. | #endif
  5478. |
  5479. | #ifndef yytext_ptr
  5480. | static void yy_flex_strncpy (char *,yyconst char *,int );
  5481. | #endif
  5482. |
  5483. | #ifdef YY_NEED_STRLEN
  5484. | static int yy_flex_strlen (yyconst char * );
  5485. | #endif
  5486. |
  5487. | #ifndef YY_NO_INPUT
  5488. |
  5489. | #ifdef __cplusplus
  5490. | static int yyinput (void );
  5491. | #else
  5492. | static int input (void );
  5493. | #endif
  5494. |
  5495. | #endif
  5496. |
  5497. | /* Amount of stuff to slurp up with each read. */
  5498. | #ifndef YY_READ_BUF_SIZE
  5499. | #ifdef __ia64__
  5500. | /* On IA-64, the buffer size is 16k, not 8k */
  5501. | #define YY_READ_BUF_SIZE 16384
  5502. | #else
  5503. | #define YY_READ_BUF_SIZE 8192
  5504. | #endif /* __ia64__ */
  5505. | #endif
  5506. |
  5507. | /* Copy whatever the last rule matched to the standard output. */
  5508. | #ifndef ECHO
  5509. | /* This used to be an fputs(), but since the string might contain NUL's,
  5510. | * we now use fwrite().
  5511. | */
  5512. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  5513. | #endif
  5514. |
  5515. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  5516. | * is returned in "result".
  5517. | */
  5518. | #ifndef YY_INPUT
  5519. | #define YY_INPUT(buf,result,max_size) \
  5520. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  5521. | { \
  5522. | int c = '*'; \
  5523. | size_t n; \
  5524. | for ( n = 0; n < max_size && \
  5525. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  5526. | buf[n] = (char) c; \
  5527. | if ( c == '\n' ) \
  5528. | buf[n++] = (char) c; \
  5529. | if ( c == EOF && ferror( yyin ) ) \
  5530. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  5531. | result = n; \
  5532. | } \
  5533. | else \
  5534. | { \
  5535. | errno=0; \
  5536. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  5537. | { \
  5538. | if( errno != EINTR) \
  5539. | { \
  5540. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  5541. | break; \
  5542. | } \
  5543. | errno=0; \
  5544. | clearerr(yyin); \
  5545. | } \
  5546. | }\
  5547. | \
  5548. |
  5549. | #endif
  5550. |
  5551. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  5552. | * we don't want an extra ';' after the "return" because that will cause
  5553. | * some compilers to complain about unreachable statements.
  5554. | */
  5555. | #ifndef yyterminate
  5556. | #define yyterminate() return YY_NULL
  5557. | #endif
  5558. |
  5559. | /* Number of entries by which start-condition stack grows. */
  5560. | #ifndef YY_START_STACK_INCR
  5561. | #define YY_START_STACK_INCR 25
  5562. | #endif
  5563. |
  5564. | /* Report a fatal error. */
  5565. | #ifndef YY_FATAL_ERROR
  5566. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  5567. | #endif
  5568. |
  5569. | /* end tables serialization structures and prototypes */
  5570. |
  5571. | /* Default declaration of generated scanner - a define so the user can
  5572. | * easily add parameters.
  5573. | */
  5574. | #ifndef YY_DECL
  5575. | #define YY_DECL_IS_OURS 1
  5576. |
  5577. | extern int yylex (void);
  5578. |
  5579. | #define YY_DECL int yylex (void)
  5580. | #endif /* !YY_DECL */
  5581. |
  5582. | /* Code executed at the beginning of each rule, after yytext and yyleng
  5583. | * have been set up.
  5584. | */
  5585. | #ifndef YY_USER_ACTION
  5586. | #define YY_USER_ACTION
  5587. | #endif
  5588. |
  5589. | /* Code executed at the end of each rule. */
  5590. | #ifndef YY_BREAK
  5591. | #define YY_BREAK /*LINTED*/break;
  5592. | #endif
  5593. |
  5594. | #define YY_RULE_SETUP \
  5595. | YY_USER_ACTION
  5596. |
  5597. | /** The main scanner function which does all the work.
  5598. | */
  5599. | YY_DECL
  5600. | {
  5601. | yy_state_type yy_current_state;
  5602. | char *yy_cp, *yy_bp;
  5603. | int yy_act;
  5604. |
  5605. | if ( !(yy_init) )
  5606. | {
  5607. | (yy_init) = 1;
  5608. |
  5609. | #ifdef YY_USER_INIT
  5610. | YY_USER_INIT;
  5611. | #endif
  5612. |
  5613. | /* Create the reject buffer large enough to save one state per allowed character. */
  5614. | if ( ! (yy_state_buf) )
  5615. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  5616. | if ( ! (yy_state_buf) )
  5617. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  5618. |
  5619. | if ( ! (yy_start) )
  5620. | (yy_start) = 1; /* first start state */
  5621. |
  5622. | if ( ! yyin )
  5623. | yyin = stdin;
  5624. |
  5625. | if ( ! yyout )
  5626. | yyout = stdout;
  5627. |
  5628. | if ( ! YY_CURRENT_BUFFER ) {
  5629. | yyensure_buffer_stack ();
  5630. | YY_CURRENT_BUFFER_LVALUE =
  5631. | yy_create_buffer(yyin,YY_BUF_SIZE );
  5632. | }
  5633. |
  5634. | yy_load_buffer_state( );
  5635. | }
  5636. |
  5637. | {
  5638. | #line 1 "conftest.l"
  5639. |
  5640. | #line 710 "lex.yy.c"
  5641. |
  5642. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  5643. | {
  5644. | (yy_more_len) = 0;
  5645. | if ( (yy_more_flag) )
  5646. | {
  5647. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  5648. | (yy_more_flag) = 0;
  5649. | }
  5650. | yy_cp = (yy_c_buf_p);
  5651. |
  5652. | /* Support of yytext. */
  5653. | *yy_cp = (yy_hold_char);
  5654. |
  5655. | /* yy_bp points to the position in yy_ch_buf of the start of
  5656. | * the current run.
  5657. | */
  5658. | yy_bp = yy_cp;
  5659. |
  5660. | yy_current_state = (yy_start);
  5661. |
  5662. | (yy_state_ptr) = (yy_state_buf);
  5663. | *(yy_state_ptr)++ = yy_current_state;
  5664. |
  5665. | yy_match:
  5666. | do
  5667. | {
  5668. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  5669. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5670. | {
  5671. | yy_current_state = (int) yy_def[yy_current_state];
  5672. | if ( yy_current_state >= 13 )
  5673. | yy_c = yy_meta[(unsigned int) yy_c];
  5674. | }
  5675. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5676. | *(yy_state_ptr)++ = yy_current_state;
  5677. | ++yy_cp;
  5678. | }
  5679. | while ( yy_base[yy_current_state] != 10 );
  5680. |
  5681. | yy_find_action:
  5682. | yy_current_state = *--(yy_state_ptr);
  5683. | (yy_lp) = yy_accept[yy_current_state];
  5684. | find_rule: /* we branch to this label when backing up */
  5685. | for ( ; ; ) /* until we find what rule we matched */
  5686. | {
  5687. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  5688. | {
  5689. | yy_act = yy_acclist[(yy_lp)];
  5690. | {
  5691. | (yy_full_match) = yy_cp;
  5692. | break;
  5693. | }
  5694. | }
  5695. | --yy_cp;
  5696. | yy_current_state = *--(yy_state_ptr);
  5697. | (yy_lp) = yy_accept[yy_current_state];
  5698. | }
  5699. |
  5700. | YY_DO_BEFORE_ACTION;
  5701. |
  5702. | do_action: /* This label is used only to access EOF actions. */
  5703. |
  5704. | switch ( yy_act )
  5705. | { /* beginning of action switch */
  5706. | case 1:
  5707. | YY_RULE_SETUP
  5708. | #line 2 "conftest.l"
  5709. | { ECHO; }
  5710. | YY_BREAK
  5711. | case 2:
  5712. | YY_RULE_SETUP
  5713. | #line 3 "conftest.l"
  5714. | { REJECT; }
  5715. | YY_BREAK
  5716. | case 3:
  5717. | YY_RULE_SETUP
  5718. | #line 4 "conftest.l"
  5719. | { yymore (); }
  5720. | YY_BREAK
  5721. | case 4:
  5722. | YY_RULE_SETUP
  5723. | #line 5 "conftest.l"
  5724. | { yyless (1); }
  5725. | YY_BREAK
  5726. | case 5:
  5727. | YY_RULE_SETUP
  5728. | #line 6 "conftest.l"
  5729. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  5730. | yyless ((input () != 0)); }
  5731. | YY_BREAK
  5732. | case 6:
  5733. | YY_RULE_SETUP
  5734. | #line 8 "conftest.l"
  5735. | { unput (yytext[0]); }
  5736. | YY_BREAK
  5737. | case 7:
  5738. | YY_RULE_SETUP
  5739. | #line 9 "conftest.l"
  5740. | { BEGIN INITIAL; }
  5741. | YY_BREAK
  5742. | case 8:
  5743. | YY_RULE_SETUP
  5744. | #line 10 "conftest.l"
  5745. | ECHO;
  5746. | YY_BREAK
  5747. | #line 817 "lex.yy.c"
  5748. | case YY_STATE_EOF(INITIAL):
  5749. | yyterminate();
  5750. |
  5751. | case YY_END_OF_BUFFER:
  5752. | {
  5753. | /* Amount of text matched not including the EOB char. */
  5754. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  5755. |
  5756. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  5757. | *yy_cp = (yy_hold_char);
  5758. | YY_RESTORE_YY_MORE_OFFSET
  5759. |
  5760. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  5761. | {
  5762. | /* We're scanning a new file or input source. It's
  5763. | * possible that this happened because the user
  5764. | * just pointed yyin at a new source and called
  5765. | * yylex(). If so, then we have to assure
  5766. | * consistency between YY_CURRENT_BUFFER and our
  5767. | * globals. Here is the right place to do so, because
  5768. | * this is the first action (other than possibly a
  5769. | * back-up) that will match for the new input source.
  5770. | */
  5771. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  5772. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  5773. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  5774. | }
  5775. |
  5776. | /* Note that here we test for yy_c_buf_p "<=" to the position
  5777. | * of the first EOB in the buffer, since yy_c_buf_p will
  5778. | * already have been incremented past the NUL character
  5779. | * (since all states make transitions on EOB to the
  5780. | * end-of-buffer state). Contrast this with the test
  5781. | * in input().
  5782. | */
  5783. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  5784. | { /* This was really a NUL. */
  5785. | yy_state_type yy_next_state;
  5786. |
  5787. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  5788. |
  5789. | yy_current_state = yy_get_previous_state( );
  5790. |
  5791. | /* Okay, we're now positioned to make the NUL
  5792. | * transition. We couldn't have
  5793. | * yy_get_previous_state() go ahead and do it
  5794. | * for us because it doesn't know how to deal
  5795. | * with the possibility of jamming (and we don't
  5796. | * want to build jamming into it because then it
  5797. | * will run more slowly).
  5798. | */
  5799. |
  5800. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  5801. |
  5802. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5803. |
  5804. | if ( yy_next_state )
  5805. | {
  5806. | /* Consume the NUL. */
  5807. | yy_cp = ++(yy_c_buf_p);
  5808. | yy_current_state = yy_next_state;
  5809. | goto yy_match;
  5810. | }
  5811. |
  5812. | else
  5813. | {
  5814. | yy_cp = (yy_c_buf_p);
  5815. | goto yy_find_action;
  5816. | }
  5817. | }
  5818. |
  5819. | else switch ( yy_get_next_buffer( ) )
  5820. | {
  5821. | case EOB_ACT_END_OF_FILE:
  5822. | {
  5823. | (yy_did_buffer_switch_on_eof) = 0;
  5824. |
  5825. | if ( yywrap( ) )
  5826. | {
  5827. | /* Note: because we've taken care in
  5828. | * yy_get_next_buffer() to have set up
  5829. | * yytext, we can now set up
  5830. | * yy_c_buf_p so that if some total
  5831. | * hoser (like flex itself) wants to
  5832. | * call the scanner after we return the
  5833. | * YY_NULL, it'll still work - another
  5834. | * YY_NULL will get returned.
  5835. | */
  5836. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  5837. |
  5838. | yy_act = YY_STATE_EOF(YY_START);
  5839. | goto do_action;
  5840. | }
  5841. |
  5842. | else
  5843. | {
  5844. | if ( ! (yy_did_buffer_switch_on_eof) )
  5845. | YY_NEW_FILE;
  5846. | }
  5847. | break;
  5848. | }
  5849. |
  5850. | case EOB_ACT_CONTINUE_SCAN:
  5851. | (yy_c_buf_p) =
  5852. | (yytext_ptr) + yy_amount_of_matched_text;
  5853. |
  5854. | yy_current_state = yy_get_previous_state( );
  5855. |
  5856. | yy_cp = (yy_c_buf_p);
  5857. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5858. | goto yy_match;
  5859. |
  5860. | case EOB_ACT_LAST_MATCH:
  5861. | (yy_c_buf_p) =
  5862. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  5863. |
  5864. | yy_current_state = yy_get_previous_state( );
  5865. |
  5866. | yy_cp = (yy_c_buf_p);
  5867. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5868. | goto yy_find_action;
  5869. | }
  5870. | break;
  5871. | }
  5872. |
  5873. | default:
  5874. | YY_FATAL_ERROR(
  5875. | "fatal flex scanner internal error--no action found" );
  5876. | } /* end of action switch */
  5877. | } /* end of scanning one token */
  5878. | } /* end of user's declarations */
  5879. | } /* end of yylex */
  5880. |
  5881. | /* yy_get_next_buffer - try to read in a new buffer
  5882. | *
  5883. | * Returns a code representing an action:
  5884. | * EOB_ACT_LAST_MATCH -
  5885. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  5886. | * EOB_ACT_END_OF_FILE - end of file
  5887. | */
  5888. | static int yy_get_next_buffer (void)
  5889. | {
  5890. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  5891. | char *source = (yytext_ptr);
  5892. | yy_size_t number_to_move, i;
  5893. | int ret_val;
  5894. |
  5895. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  5896. | YY_FATAL_ERROR(
  5897. | "fatal flex scanner internal error--end of buffer missed" );
  5898. |
  5899. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  5900. | { /* Don't try to fill the buffer, so this is an EOF. */
  5901. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  5902. | {
  5903. | /* We matched a single character, the EOB, so
  5904. | * treat this as a final EOF.
  5905. | */
  5906. | return EOB_ACT_END_OF_FILE;
  5907. | }
  5908. |
  5909. | else
  5910. | {
  5911. | /* We matched some text prior to the EOB, first
  5912. | * process it.
  5913. | */
  5914. | return EOB_ACT_LAST_MATCH;
  5915. | }
  5916. | }
  5917. |
  5918. | /* Try to read more data. */
  5919. |
  5920. | /* First move last chars to start of buffer. */
  5921. | number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  5922. |
  5923. | for ( i = 0; i < number_to_move; ++i )
  5924. | *(dest++) = *(source++);
  5925. |
  5926. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  5927. | /* don't do the read, it's not guaranteed to return an EOF,
  5928. | * just force an EOF
  5929. | */
  5930. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  5931. |
  5932. | else
  5933. | {
  5934. | yy_size_t num_to_read =
  5935. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  5936. |
  5937. | while ( num_to_read <= 0 )
  5938. | { /* Not enough room in the buffer - grow it. */
  5939. |
  5940. | YY_FATAL_ERROR(
  5941. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  5942. |
  5943. | }
  5944. |
  5945. | if ( num_to_read > YY_READ_BUF_SIZE )
  5946. | num_to_read = YY_READ_BUF_SIZE;
  5947. |
  5948. | /* Read in more data. */
  5949. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  5950. | (yy_n_chars), num_to_read );
  5951. |
  5952. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5953. | }
  5954. |
  5955. | if ( (yy_n_chars) == 0 )
  5956. | {
  5957. | if ( number_to_move == YY_MORE_ADJ )
  5958. | {
  5959. | ret_val = EOB_ACT_END_OF_FILE;
  5960. | yyrestart(yyin );
  5961. | }
  5962. |
  5963. | else
  5964. | {
  5965. | ret_val = EOB_ACT_LAST_MATCH;
  5966. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  5967. | YY_BUFFER_EOF_PENDING;
  5968. | }
  5969. | }
  5970. |
  5971. | else
  5972. | ret_val = EOB_ACT_CONTINUE_SCAN;
  5973. |
  5974. | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  5975. | /* Extend the array by 50%, plus the number we really need. */
  5976. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  5977. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  5978. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5979. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  5980. | }
  5981. |
  5982. | (yy_n_chars) += number_to_move;
  5983. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  5984. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  5985. |
  5986. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  5987. |
  5988. | return ret_val;
  5989. | }
  5990. |
  5991. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  5992. |
  5993. | static yy_state_type yy_get_previous_state (void)
  5994. | {
  5995. | yy_state_type yy_current_state;
  5996. | char *yy_cp;
  5997. |
  5998. | yy_current_state = (yy_start);
  5999. |
  6000. | (yy_state_ptr) = (yy_state_buf);
  6001. | *(yy_state_ptr)++ = yy_current_state;
  6002. |
  6003. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  6004. | {
  6005. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  6006. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6007. | {
  6008. | yy_current_state = (int) yy_def[yy_current_state];
  6009. | if ( yy_current_state >= 13 )
  6010. | yy_c = yy_meta[(unsigned int) yy_c];
  6011. | }
  6012. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6013. | *(yy_state_ptr)++ = yy_current_state;
  6014. | }
  6015. |
  6016. | return yy_current_state;
  6017. | }
  6018. |
  6019. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  6020. | *
  6021. | * synopsis
  6022. | * next_state = yy_try_NUL_trans( current_state );
  6023. | */
  6024. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  6025. | {
  6026. | int yy_is_jam;
  6027. |
  6028. | YY_CHAR yy_c = 1;
  6029. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6030. | {
  6031. | yy_current_state = (int) yy_def[yy_current_state];
  6032. | if ( yy_current_state >= 13 )
  6033. | yy_c = yy_meta[(unsigned int) yy_c];
  6034. | }
  6035. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6036. | yy_is_jam = (yy_current_state == 12);
  6037. | if ( ! yy_is_jam )
  6038. | *(yy_state_ptr)++ = yy_current_state;
  6039. |
  6040. | return yy_is_jam ? 0 : yy_current_state;
  6041. | }
  6042. |
  6043. | #ifndef YY_NO_UNPUT
  6044. |
  6045. | static void yyunput (int c, char * yy_bp )
  6046. | {
  6047. | char *yy_cp;
  6048. |
  6049. | yy_cp = (yy_c_buf_p);
  6050. |
  6051. | /* undo effects of setting up yytext */
  6052. | *yy_cp = (yy_hold_char);
  6053. |
  6054. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6055. | { /* need to shift things up to make room */
  6056. | /* +2 for EOB chars. */
  6057. | yy_size_t number_to_move = (yy_n_chars) + 2;
  6058. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  6059. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  6060. | char *source =
  6061. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  6062. |
  6063. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6064. | *--dest = *--source;
  6065. |
  6066. | yy_cp += (int) (dest - source);
  6067. | yy_bp += (int) (dest - source);
  6068. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  6069. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  6070. |
  6071. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6072. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  6073. | }
  6074. |
  6075. | *--yy_cp = (char) c;
  6076. |
  6077. | (yytext_ptr) = yy_bp;
  6078. | (yy_hold_char) = *yy_cp;
  6079. | (yy_c_buf_p) = yy_cp;
  6080. | }
  6081. |
  6082. | #endif
  6083. |
  6084. | #ifndef YY_NO_INPUT
  6085. | #ifdef __cplusplus
  6086. | static int yyinput (void)
  6087. | #else
  6088. | static int input (void)
  6089. | #endif
  6090. |
  6091. | {
  6092. | int c;
  6093. |
  6094. | *(yy_c_buf_p) = (yy_hold_char);
  6095. |
  6096. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  6097. | {
  6098. | /* yy_c_buf_p now points to the character we want to return.
  6099. | * If this occurs *before* the EOB characters, then it's a
  6100. | * valid NUL; if not, then we've hit the end of the buffer.
  6101. | */
  6102. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6103. | /* This was really a NUL. */
  6104. | *(yy_c_buf_p) = '\0';
  6105. |
  6106. | else
  6107. | { /* need more input */
  6108. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  6109. | ++(yy_c_buf_p);
  6110. |
  6111. | switch ( yy_get_next_buffer( ) )
  6112. | {
  6113. | case EOB_ACT_LAST_MATCH:
  6114. | /* This happens because yy_g_n_b()
  6115. | * sees that we've accumulated a
  6116. | * token and flags that we need to
  6117. | * try matching the token before
  6118. | * proceeding. But for input(),
  6119. | * there's no matching to consider.
  6120. | * So convert the EOB_ACT_LAST_MATCH
  6121. | * to EOB_ACT_END_OF_FILE.
  6122. | */
  6123. |
  6124. | /* Reset buffer status. */
  6125. | yyrestart(yyin );
  6126. |
  6127. | /*FALLTHROUGH*/
  6128. |
  6129. | case EOB_ACT_END_OF_FILE:
  6130. | {
  6131. | if ( yywrap( ) )
  6132. | return EOF;
  6133. |
  6134. | if ( ! (yy_did_buffer_switch_on_eof) )
  6135. | YY_NEW_FILE;
  6136. | #ifdef __cplusplus
  6137. | return yyinput();
  6138. | #else
  6139. | return input();
  6140. | #endif
  6141. | }
  6142. |
  6143. | case EOB_ACT_CONTINUE_SCAN:
  6144. | (yy_c_buf_p) = (yytext_ptr) + offset;
  6145. | break;
  6146. | }
  6147. | }
  6148. | }
  6149. |
  6150. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  6151. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  6152. | (yy_hold_char) = *++(yy_c_buf_p);
  6153. |
  6154. | return c;
  6155. | }
  6156. | #endif /* ifndef YY_NO_INPUT */
  6157. |
  6158. | /** Immediately switch to a different input stream.
  6159. | * @param input_file A readable stream.
  6160. | *
  6161. | * @note This function does not reset the start condition to @c INITIAL .
  6162. | */
  6163. | void yyrestart (FILE * input_file )
  6164. | {
  6165. |
  6166. | if ( ! YY_CURRENT_BUFFER ){
  6167. | yyensure_buffer_stack ();
  6168. | YY_CURRENT_BUFFER_LVALUE =
  6169. | yy_create_buffer(yyin,YY_BUF_SIZE );
  6170. | }
  6171. |
  6172. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  6173. | yy_load_buffer_state( );
  6174. | }
  6175. |
  6176. | /** Switch to a different input buffer.
  6177. | * @param new_buffer The new input buffer.
  6178. | *
  6179. | */
  6180. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  6181. | {
  6182. |
  6183. | /* TODO. We should be able to replace this entire function body
  6184. | * with
  6185. | * yypop_buffer_state();
  6186. | * yypush_buffer_state(new_buffer);
  6187. | */
  6188. | yyensure_buffer_stack ();
  6189. | if ( YY_CURRENT_BUFFER == new_buffer )
  6190. | return;
  6191. |
  6192. | if ( YY_CURRENT_BUFFER )
  6193. | {
  6194. | /* Flush out information for old buffer. */
  6195. | *(yy_c_buf_p) = (yy_hold_char);
  6196. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  6197. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6198. | }
  6199. |
  6200. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  6201. | yy_load_buffer_state( );
  6202. |
  6203. | /* We don't actually know whether we did this switch during
  6204. | * EOF (yywrap()) processing, but the only time this flag
  6205. | * is looked at is after yywrap() is called, so it's safe
  6206. | * to go ahead and always set it.
  6207. | */
  6208. | (yy_did_buffer_switch_on_eof) = 1;
  6209. | }
  6210. |
  6211. | static void yy_load_buffer_state (void)
  6212. | {
  6213. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  6214. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  6215. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  6216. | (yy_hold_char) = *(yy_c_buf_p);
  6217. | }
  6218. |
  6219. | /** Allocate and initialize an input buffer state.
  6220. | * @param file A readable stream.
  6221. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  6222. | *
  6223. | * @return the allocated buffer state.
  6224. | */
  6225. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  6226. | {
  6227. | YY_BUFFER_STATE b;
  6228. |
  6229. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  6230. | if ( ! b )
  6231. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  6232. |
  6233. | b->yy_buf_size = (yy_size_t)size;
  6234. |
  6235. | /* yy_ch_buf has to be 2 characters longer than the size given because
  6236. | * we need to put in 2 end-of-buffer characters.
  6237. | */
  6238. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  6239. | if ( ! b->yy_ch_buf )
  6240. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  6241. |
  6242. | b->yy_is_our_buffer = 1;
  6243. |
  6244. | yy_init_buffer(b,file );
  6245. |
  6246. | return b;
  6247. | }
  6248. |
  6249. | /** Destroy the buffer.
  6250. | * @param b a buffer created with yy_create_buffer()
  6251. | *
  6252. | */
  6253. | void yy_delete_buffer (YY_BUFFER_STATE b )
  6254. | {
  6255. |
  6256. | if ( ! b )
  6257. | return;
  6258. |
  6259. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  6260. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  6261. |
  6262. | if ( b->yy_is_our_buffer )
  6263. | yyfree((void *) b->yy_ch_buf );
  6264. |
  6265. | yyfree((void *) b );
  6266. | }
  6267. |
  6268. | /* Initializes or reinitializes a buffer.
  6269. | * This function is sometimes called more than once on the same buffer,
  6270. | * such as during a yyrestart() or at EOF.
  6271. | */
  6272. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  6273. |
  6274. | {
  6275. | int oerrno = errno;
  6276. |
  6277. | yy_flush_buffer(b );
  6278. |
  6279. | b->yy_input_file = file;
  6280. | b->yy_fill_buffer = 1;
  6281. |
  6282. | /* If b is the current buffer, then yy_init_buffer was _probably_
  6283. | * called from yyrestart() or through yy_get_next_buffer.
  6284. | * In that case, we don't want to reset the lineno or column.
  6285. | */
  6286. | if (b != YY_CURRENT_BUFFER){
  6287. | b->yy_bs_lineno = 1;
  6288. | b->yy_bs_column = 0;
  6289. | }
  6290. |
  6291. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  6292. |
  6293. | errno = oerrno;
  6294. | }
  6295. |
  6296. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  6297. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  6298. | *
  6299. | */
  6300. | void yy_flush_buffer (YY_BUFFER_STATE b )
  6301. | {
  6302. | if ( ! b )
  6303. | return;
  6304. |
  6305. | b->yy_n_chars = 0;
  6306. |
  6307. | /* We always need two end-of-buffer characters. The first causes
  6308. | * a transition to the end-of-buffer state. The second causes
  6309. | * a jam in that state.
  6310. | */
  6311. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  6312. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  6313. |
  6314. | b->yy_buf_pos = &b->yy_ch_buf[0];
  6315. |
  6316. | b->yy_at_bol = 1;
  6317. | b->yy_buffer_status = YY_BUFFER_NEW;
  6318. |
  6319. | if ( b == YY_CURRENT_BUFFER )
  6320. | yy_load_buffer_state( );
  6321. | }
  6322. |
  6323. | /** Pushes the new state onto the stack. The new state becomes
  6324. | * the current state. This function will allocate the stack
  6325. | * if necessary.
  6326. | * @param new_buffer The new state.
  6327. | *
  6328. | */
  6329. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  6330. | {
  6331. | if (new_buffer == NULL)
  6332. | return;
  6333. |
  6334. | yyensure_buffer_stack();
  6335. |
  6336. | /* This block is copied from yy_switch_to_buffer. */
  6337. | if ( YY_CURRENT_BUFFER )
  6338. | {
  6339. | /* Flush out information for old buffer. */
  6340. | *(yy_c_buf_p) = (yy_hold_char);
  6341. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  6342. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6343. | }
  6344. |
  6345. | /* Only push if top exists. Otherwise, replace top. */
  6346. | if (YY_CURRENT_BUFFER)
  6347. | (yy_buffer_stack_top)++;
  6348. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  6349. |
  6350. | /* copied from yy_switch_to_buffer. */
  6351. | yy_load_buffer_state( );
  6352. | (yy_did_buffer_switch_on_eof) = 1;
  6353. | }
  6354. |
  6355. | /** Removes and deletes the top of the stack, if present.
  6356. | * The next element becomes the new top.
  6357. | *
  6358. | */
  6359. | void yypop_buffer_state (void)
  6360. | {
  6361. | if (!YY_CURRENT_BUFFER)
  6362. | return;
  6363. |
  6364. | yy_delete_buffer(YY_CURRENT_BUFFER );
  6365. | YY_CURRENT_BUFFER_LVALUE = NULL;
  6366. | if ((yy_buffer_stack_top) > 0)
  6367. | --(yy_buffer_stack_top);
  6368. |
  6369. | if (YY_CURRENT_BUFFER) {
  6370. | yy_load_buffer_state( );
  6371. | (yy_did_buffer_switch_on_eof) = 1;
  6372. | }
  6373. | }
  6374. |
  6375. | /* Allocates the stack if it does not exist.
  6376. | * Guarantees space for at least one push.
  6377. | */
  6378. | static void yyensure_buffer_stack (void)
  6379. | {
  6380. | yy_size_t num_to_alloc;
  6381. |
  6382. | if (!(yy_buffer_stack)) {
  6383. |
  6384. | /* First allocation is just for 2 elements, since we don't know if this
  6385. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  6386. | * immediate realloc on the next call.
  6387. | */
  6388. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  6389. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  6390. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  6391. | );
  6392. | if ( ! (yy_buffer_stack) )
  6393. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6394. |
  6395. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  6396. |
  6397. | (yy_buffer_stack_max) = num_to_alloc;
  6398. | (yy_buffer_stack_top) = 0;
  6399. | return;
  6400. | }
  6401. |
  6402. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  6403. |
  6404. | /* Increase the buffer to prepare for a possible push. */
  6405. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  6406. |
  6407. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  6408. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  6409. | ((yy_buffer_stack),
  6410. | num_to_alloc * sizeof(struct yy_buffer_state*)
  6411. | );
  6412. | if ( ! (yy_buffer_stack) )
  6413. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6414. |
  6415. | /* zero only the new slots.*/
  6416. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  6417. | (yy_buffer_stack_max) = num_to_alloc;
  6418. | }
  6419. | }
  6420. |
  6421. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  6422. | * @param base the character buffer
  6423. | * @param size the size in bytes of the character buffer
  6424. | *
  6425. | * @return the newly allocated buffer state object.
  6426. | */
  6427. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  6428. | {
  6429. | YY_BUFFER_STATE b;
  6430. |
  6431. | if ( size < 2 ||
  6432. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  6433. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  6434. | /* They forgot to leave room for the EOB's. */
  6435. | return 0;
  6436. |
  6437. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  6438. | if ( ! b )
  6439. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  6440. |
  6441. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  6442. | b->yy_buf_pos = b->yy_ch_buf = base;
  6443. | b->yy_is_our_buffer = 0;
  6444. | b->yy_input_file = 0;
  6445. | b->yy_n_chars = b->yy_buf_size;
  6446. | b->yy_is_interactive = 0;
  6447. | b->yy_at_bol = 1;
  6448. | b->yy_fill_buffer = 0;
  6449. | b->yy_buffer_status = YY_BUFFER_NEW;
  6450. |
  6451. | yy_switch_to_buffer(b );
  6452. |
  6453. | return b;
  6454. | }
  6455. |
  6456. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  6457. | * scan from a @e copy of @a str.
  6458. | * @param yystr a NUL-terminated string to scan
  6459. | *
  6460. | * @return the newly allocated buffer state object.
  6461. | * @note If you want to scan bytes that may contain NUL values, then use
  6462. | * yy_scan_bytes() instead.
  6463. | */
  6464. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  6465. | {
  6466. |
  6467. | return yy_scan_bytes(yystr,strlen(yystr) );
  6468. | }
  6469. |
  6470. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  6471. | * scan from a @e copy of @a bytes.
  6472. | * @param yybytes the byte buffer to scan
  6473. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  6474. | *
  6475. | * @return the newly allocated buffer state object.
  6476. | */
  6477. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  6478. | {
  6479. | YY_BUFFER_STATE b;
  6480. | char *buf;
  6481. | yy_size_t n;
  6482. | yy_size_t i;
  6483. |
  6484. | /* Get memory for full buffer, including space for trailing EOB's. */
  6485. | n = _yybytes_len + 2;
  6486. | buf = (char *) yyalloc(n );
  6487. | if ( ! buf )
  6488. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  6489. |
  6490. | for ( i = 0; i < _yybytes_len; ++i )
  6491. | buf[i] = yybytes[i];
  6492. |
  6493. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  6494. |
  6495. | b = yy_scan_buffer(buf,n );
  6496. | if ( ! b )
  6497. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  6498. |
  6499. | /* It's okay to grow etc. this buffer, and we should throw it
  6500. | * away when we're done.
  6501. | */
  6502. | b->yy_is_our_buffer = 1;
  6503. |
  6504. | return b;
  6505. | }
  6506. |
  6507. | #ifndef YY_EXIT_FAILURE
  6508. | #define YY_EXIT_FAILURE 2
  6509. | #endif
  6510. |
  6511. | static void yy_fatal_error (yyconst char* msg )
  6512. | {
  6513. | (void) fprintf( stderr, "%s\n", msg );
  6514. | exit( YY_EXIT_FAILURE );
  6515. | }
  6516. |
  6517. | /* Redefine yyless() so it works in section 3 code. */
  6518. |
  6519. | #undef yyless
  6520. | #define yyless(n) \
  6521. | do \
  6522. | { \
  6523. | /* Undo effects of setting up yytext. */ \
  6524. | int yyless_macro_arg = (n); \
  6525. | YY_LESS_LINENO(yyless_macro_arg);\
  6526. | yytext[yyleng] = (yy_hold_char); \
  6527. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  6528. | (yy_hold_char) = *(yy_c_buf_p); \
  6529. | *(yy_c_buf_p) = '\0'; \
  6530. | yyleng = yyless_macro_arg; \
  6531. | } \
  6532. | while ( 0 )
  6533. |
  6534. | /* Accessor methods (get/set functions) to struct members. */
  6535. |
  6536. | /** Get the current line number.
  6537. | *
  6538. | */
  6539. | int yyget_lineno (void)
  6540. | {
  6541. |
  6542. | return yylineno;
  6543. | }
  6544. |
  6545. | /** Get the input stream.
  6546. | *
  6547. | */
  6548. | FILE *yyget_in (void)
  6549. | {
  6550. | return yyin;
  6551. | }
  6552. |
  6553. | /** Get the output stream.
  6554. | *
  6555. | */
  6556. | FILE *yyget_out (void)
  6557. | {
  6558. | return yyout;
  6559. | }
  6560. |
  6561. | /** Get the length of the current token.
  6562. | *
  6563. | */
  6564. | yy_size_t yyget_leng (void)
  6565. | {
  6566. | return yyleng;
  6567. | }
  6568. |
  6569. | /** Get the current token.
  6570. | *
  6571. | */
  6572. |
  6573. | char *yyget_text (void)
  6574. | {
  6575. | return yytext;
  6576. | }
  6577. |
  6578. | /** Set the current line number.
  6579. | * @param _line_number line number
  6580. | *
  6581. | */
  6582. | void yyset_lineno (int _line_number )
  6583. | {
  6584. |
  6585. | yylineno = _line_number;
  6586. | }
  6587. |
  6588. | /** Set the input stream. This does not discard the current
  6589. | * input buffer.
  6590. | * @param _in_str A readable stream.
  6591. | *
  6592. | * @see yy_switch_to_buffer
  6593. | */
  6594. | void yyset_in (FILE * _in_str )
  6595. | {
  6596. | yyin = _in_str ;
  6597. | }
  6598. |
  6599. | void yyset_out (FILE * _out_str )
  6600. | {
  6601. | yyout = _out_str ;
  6602. | }
  6603. |
  6604. | int yyget_debug (void)
  6605. | {
  6606. | return yy_flex_debug;
  6607. | }
  6608. |
  6609. | void yyset_debug (int _bdebug )
  6610. | {
  6611. | yy_flex_debug = _bdebug ;
  6612. | }
  6613. |
  6614. | static int yy_init_globals (void)
  6615. | {
  6616. | /* Initialization is the same as for the non-reentrant scanner.
  6617. | * This function is called from yylex_destroy(), so don't allocate here.
  6618. | */
  6619. |
  6620. | (yy_buffer_stack) = 0;
  6621. | (yy_buffer_stack_top) = 0;
  6622. | (yy_buffer_stack_max) = 0;
  6623. | (yy_c_buf_p) = (char *) 0;
  6624. | (yy_init) = 0;
  6625. | (yy_start) = 0;
  6626. |
  6627. | (yy_state_buf) = 0;
  6628. | (yy_state_ptr) = 0;
  6629. | (yy_full_match) = 0;
  6630. | (yy_lp) = 0;
  6631. |
  6632. | /* Defined in main.c */
  6633. | #ifdef YY_STDINIT
  6634. | yyin = stdin;
  6635. | yyout = stdout;
  6636. | #else
  6637. | yyin = (FILE *) 0;
  6638. | yyout = (FILE *) 0;
  6639. | #endif
  6640. |
  6641. | /* For future reference: Set errno on error, since we are called by
  6642. | * yylex_init()
  6643. | */
  6644. | return 0;
  6645. | }
  6646. |
  6647. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  6648. | int yylex_destroy (void)
  6649. | {
  6650. |
  6651. | /* Pop the buffer stack, destroying each element. */
  6652. | while(YY_CURRENT_BUFFER){
  6653. | yy_delete_buffer(YY_CURRENT_BUFFER );
  6654. | YY_CURRENT_BUFFER_LVALUE = NULL;
  6655. | yypop_buffer_state();
  6656. | }
  6657. |
  6658. | /* Destroy the stack itself. */
  6659. | yyfree((yy_buffer_stack) );
  6660. | (yy_buffer_stack) = NULL;
  6661. |
  6662. | yyfree ( (yy_state_buf) );
  6663. | (yy_state_buf) = NULL;
  6664. |
  6665. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  6666. | * yylex() is called, initialization will occur. */
  6667. | yy_init_globals( );
  6668. |
  6669. | return 0;
  6670. | }
  6671. |
  6672. | /*
  6673. | * Internal utility routines.
  6674. | */
  6675. |
  6676. | #ifndef yytext_ptr
  6677. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  6678. | {
  6679. |
  6680. | int i;
  6681. | for ( i = 0; i < n; ++i )
  6682. | s1[i] = s2[i];
  6683. | }
  6684. | #endif
  6685. |
  6686. | #ifdef YY_NEED_STRLEN
  6687. | static int yy_flex_strlen (yyconst char * s )
  6688. | {
  6689. | int n;
  6690. | for ( n = 0; s[n]; ++n )
  6691. | ;
  6692. |
  6693. | return n;
  6694. | }
  6695. | #endif
  6696. |
  6697. | void *yyalloc (yy_size_t size )
  6698. | {
  6699. | return (void *) malloc( size );
  6700. | }
  6701. |
  6702. | void *yyrealloc (void * ptr, yy_size_t size )
  6703. | {
  6704. |
  6705. | /* The cast to (char *) in the following accommodates both
  6706. | * implementations that use char* generic pointers, and those
  6707. | * that use void* generic pointers. It works with the latter
  6708. | * because both ANSI C and C++ allow castless assignment from
  6709. | * any pointer type to void*, and deal with argument conversions
  6710. | * as though doing an assignment.
  6711. | */
  6712. | return (void *) realloc( (char *) ptr, size );
  6713. | }
  6714. |
  6715. | void yyfree (void * ptr )
  6716. | {
  6717. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  6718. | }
  6719. |
  6720. | #define YYTABLES_NAME "yytables"
  6721. |
  6722. | #line 10 "conftest.l"
  6723. |
  6724. |
  6725. | #ifdef YYTEXT_POINTER
  6726. | extern char *yytext;
  6727. | #endif
  6728. | int
  6729. | main (void)
  6730. | {
  6731. | return ! yylex () + ! yywrap ();
  6732. | }
  6733. configure:19630: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -lfl >&5
  6734. conftest.l: In function 'int yylex()':
  6735. conftest.l:7:21: error: 'input' was not declared in this scope
  6736. yyless ((input () != 0)); }
  6737. ^
  6738. lex.yy.c:185:33: note: in definition of macro 'yyless'
  6739. int yyless_macro_arg = (n); \
  6740. ^
  6741. configure:19630: $? = 1
  6742. configure: failed program was:
  6743. | /* confdefs.h */
  6744. | #define PACKAGE_NAME "OLA"
  6745. | #define PACKAGE_TARNAME "ola"
  6746. | #define PACKAGE_VERSION "0.10.6"
  6747. | #define PACKAGE_STRING "OLA 0.10.6"
  6748. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  6749. | #define PACKAGE_URL ""
  6750. | #define PACKAGE "ola"
  6751. | #define VERSION "0.10.6"
  6752. | #define HAVE_DIRENT_H 1
  6753. | #define HAVE_SYS_TYPES_H 1
  6754. | #define HAVE_NETINET_IN_H 1
  6755. | #define HAVE_ARPA_NAMESER_H 1
  6756. | #define HAVE_NETDB_H 1
  6757. | #define HAVE_RESOLV_H 1
  6758. | #define STDC_HEADERS 1
  6759. | #define HAVE_SYS_TYPES_H 1
  6760. | #define HAVE_SYS_STAT_H 1
  6761. | #define HAVE_STDLIB_H 1
  6762. | #define HAVE_STRING_H 1
  6763. | #define HAVE_MEMORY_H 1
  6764. | #define HAVE_STRINGS_H 1
  6765. | #define HAVE_INTTYPES_H 1
  6766. | #define HAVE_STDINT_H 1
  6767. | #define HAVE_UNISTD_H 1
  6768. | #define HAVE_ERRNO_H 1
  6769. | #define HAVE_ARPA_INET_H 1
  6770. | #define HAVE_BITS_SOCKADDR_H 1
  6771. | #define HAVE_FCNTL_H 1
  6772. | #define HAVE_FLOAT_H 1
  6773. | #define HAVE_LIMITS_H 1
  6774. | #define HAVE_MALLOC_H 1
  6775. | #define HAVE_NETINET_IN_H 1
  6776. | #define HAVE_STDINT_H 1
  6777. | #define HAVE_STDLIB_H 1
  6778. | #define HAVE_STRING_H 1
  6779. | #define HAVE_STRINGS_H 1
  6780. | #define HAVE_SYS_FILE_H 1
  6781. | #define HAVE_SYS_IOCTL_H 1
  6782. | #define HAVE_SYS_SOCKET_H 1
  6783. | #define HAVE_SYS_TIME_H 1
  6784. | #define HAVE_SYS_TIMEB_H 1
  6785. | #define HAVE_SYSLOG_H 1
  6786. | #define HAVE_TERMIOS_H 1
  6787. | #define HAVE_UNISTD_H 1
  6788. | #define HAVE_ASM_TERMIOS_H 1
  6789. | #define HAVE_ASSERT_H 1
  6790. | #define HAVE_DLFCN_H 1
  6791. | #define HAVE_ENDIAN_H 1
  6792. | #define HAVE_EXECINFO_H 1
  6793. | #define HAVE_LINUX_IF_PACKET_H 1
  6794. | #define HAVE_MATH_H 1
  6795. | #define HAVE_NET_ETHERNET_H 1
  6796. | #define HAVE_STROPTS_H 1
  6797. | #define HAVE_SYS_PARAM_H 1
  6798. | #define HAVE_SYS_TYPES_H 1
  6799. | #define HAVE_SYS_UIO_H 1
  6800. | #define HAVE_SYSEXITS_H 1
  6801. | #define HAVE_SYS_SYSCTL_H 1
  6802. | #define HAVE_NET_IF_H 1
  6803. | #define HAVE_NET_IF_ARP_H 1
  6804. | #define HAVE_NET_ROUTE_H 1
  6805. | #define HAVE_NETINET_IF_ETHER_H 1
  6806. | #define HAVE_LINUX_NETLINK_H 1
  6807. | #define HAVE_LINUX_RTNETLINK_H 1
  6808. | #define HAVE_STDBOOL_H 1
  6809. | #define restrict __restrict
  6810. | #define HAVE_HASH_MAP 1
  6811. | #define HAVE_HASH_SET 1
  6812. | #define HAVE_UNORDERED_MAP 1
  6813. | #define HASH_MAP_H <tr1/unordered_map>
  6814. | #define HASH_SET_H <tr1/unordered_set>
  6815. | #define HASH_NAMESPACE std::tr1
  6816. | #define HASH_MAP_CLASS unordered_map
  6817. | #define HASH_SET_CLASS unordered_set
  6818. | #define HAVE_FORK 1
  6819. | #define HAVE_VFORK 1
  6820. | #define HAVE_WORKING_VFORK 1
  6821. | #define HAVE_WORKING_FORK 1
  6822. | #define HAVE_STDLIB_H 1
  6823. | #define HAVE_MALLOC 1
  6824. | #define HAVE_STDLIB_H 1
  6825. | #define HAVE_REALLOC 1
  6826. | #define HAVE_SYS_SELECT_H 1
  6827. | #define HAVE_SYS_SOCKET_H 1
  6828. | #define SELECT_TYPE_ARG1 int
  6829. | #define SELECT_TYPE_ARG234 (fd_set *)
  6830. | #define SELECT_TYPE_ARG5 (struct timeval *)
  6831. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  6832. | #define HAVE_VPRINTF 1
  6833. | #define HAVE_BZERO 1
  6834. | #define HAVE_GETTIMEOFDAY 1
  6835. | #define HAVE_MEMMOVE 1
  6836. | #define HAVE_MEMSET 1
  6837. | #define HAVE_MKDIR 1
  6838. | #define HAVE_STRDUP 1
  6839. | #define HAVE_STRRCHR 1
  6840. | #define HAVE_IF_NAMETOINDEX 1
  6841. | #define HAVE_INET_NTOA 1
  6842. | #define HAVE_INET_NTOP 1
  6843. | #define HAVE_INET_ATON 1
  6844. | #define HAVE_INET_PTON 1
  6845. | #define HAVE_SELECT 1
  6846. | #define HAVE_SOCKET 1
  6847. | #define HAVE_STRERROR 1
  6848. | #define HAVE_GETIFADDRS 1
  6849. | #define HAVE_GETLOADAVG 1
  6850. | #define HAVE_GETPWNAM_R 1
  6851. | #define HAVE_GETPWUID_R 1
  6852. | #define HAVE_GETGRNAM_R 1
  6853. | #define HAVE_GETGRGID_R 1
  6854. | #define HAVE_SECURE_GETENV 1
  6855. | #define HAVE_DLFCN_H 1
  6856. | #define LT_OBJDIR ".libs/"
  6857. | #define HAVE_EPOLL 1
  6858. | #define HAVE_TIME_T 1
  6859. | #define HAVE_SUSECONDS_T 1
  6860. | #define HAVE_DECL_MSG_NOSIGNAL 1
  6861. | #define HAVE_DECL_SO_NOSIGPIPE 0
  6862. | #define HAVE_DECL_PF_ROUTE 1
  6863. | #define HAVE_DECL_NET_RT_DUMP 0
  6864. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  6865. | #define HAVE_DECL_RLIMIT_RTTIME 1
  6866. | #define HAVE_DECL_SO_REUSEADDR 1
  6867. | #define HAVE_DECL_SO_REUSEPORT 1
  6868. | #define HAVE_TERMIOS2 1
  6869. | /* end confdefs.h. */
  6870. |
  6871. | #line 3 "lex.yy.c"
  6872. |
  6873. | #define YY_INT_ALIGNED short int
  6874. |
  6875. | /* A lexical scanner generated by flex */
  6876. |
  6877. | #define FLEX_SCANNER
  6878. | #define YY_FLEX_MAJOR_VERSION 2
  6879. | #define YY_FLEX_MINOR_VERSION 6
  6880. | #define YY_FLEX_SUBMINOR_VERSION 0
  6881. | #if YY_FLEX_SUBMINOR_VERSION > 0
  6882. | #define FLEX_BETA
  6883. | #endif
  6884. |
  6885. | /* First, we deal with platform-specific or compiler-specific issues. */
  6886. |
  6887. | /* begin standard C headers. */
  6888. | #include <stdio.h>
  6889. | #include <string.h>
  6890. | #include <errno.h>
  6891. | #include <stdlib.h>
  6892. |
  6893. | /* end standard C headers. */
  6894. |
  6895. | /* flex integer type definitions */
  6896. |
  6897. | #ifndef FLEXINT_H
  6898. | #define FLEXINT_H
  6899. |
  6900. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  6901. |
  6902. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  6903. |
  6904. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  6905. | * if you want the limit (max/min) macros for int types.
  6906. | */
  6907. | #ifndef __STDC_LIMIT_MACROS
  6908. | #define __STDC_LIMIT_MACROS 1
  6909. | #endif
  6910. |
  6911. | #include <inttypes.h>
  6912. | typedef int8_t flex_int8_t;
  6913. | typedef uint8_t flex_uint8_t;
  6914. | typedef int16_t flex_int16_t;
  6915. | typedef uint16_t flex_uint16_t;
  6916. | typedef int32_t flex_int32_t;
  6917. | typedef uint32_t flex_uint32_t;
  6918. | #else
  6919. | typedef signed char flex_int8_t;
  6920. | typedef short int flex_int16_t;
  6921. | typedef int flex_int32_t;
  6922. | typedef unsigned char flex_uint8_t;
  6923. | typedef unsigned short int flex_uint16_t;
  6924. | typedef unsigned int flex_uint32_t;
  6925. |
  6926. | /* Limits of integral types. */
  6927. | #ifndef INT8_MIN
  6928. | #define INT8_MIN (-128)
  6929. | #endif
  6930. | #ifndef INT16_MIN
  6931. | #define INT16_MIN (-32767-1)
  6932. | #endif
  6933. | #ifndef INT32_MIN
  6934. | #define INT32_MIN (-2147483647-1)
  6935. | #endif
  6936. | #ifndef INT8_MAX
  6937. | #define INT8_MAX (127)
  6938. | #endif
  6939. | #ifndef INT16_MAX
  6940. | #define INT16_MAX (32767)
  6941. | #endif
  6942. | #ifndef INT32_MAX
  6943. | #define INT32_MAX (2147483647)
  6944. | #endif
  6945. | #ifndef UINT8_MAX
  6946. | #define UINT8_MAX (255U)
  6947. | #endif
  6948. | #ifndef UINT16_MAX
  6949. | #define UINT16_MAX (65535U)
  6950. | #endif
  6951. | #ifndef UINT32_MAX
  6952. | #define UINT32_MAX (4294967295U)
  6953. | #endif
  6954. |
  6955. | #endif /* ! C99 */
  6956. |
  6957. | #endif /* ! FLEXINT_H */
  6958. |
  6959. | #ifdef __cplusplus
  6960. |
  6961. | /* The "const" storage-class-modifier is valid. */
  6962. | #define YY_USE_CONST
  6963. |
  6964. | #else /* ! __cplusplus */
  6965. |
  6966. | /* C99 requires __STDC__ to be defined as 1. */
  6967. | #if defined (__STDC__)
  6968. |
  6969. | #define YY_USE_CONST
  6970. |
  6971. | #endif /* defined (__STDC__) */
  6972. | #endif /* ! __cplusplus */
  6973. |
  6974. | #ifdef YY_USE_CONST
  6975. | #define yyconst const
  6976. | #else
  6977. | #define yyconst
  6978. | #endif
  6979. |
  6980. | /* Returned upon end-of-file. */
  6981. | #define YY_NULL 0
  6982. |
  6983. | /* Promotes a possibly negative, possibly signed char to an unsigned
  6984. | * integer for use as an array index. If the signed char is negative,
  6985. | * we want to instead treat it as an 8-bit unsigned char, hence the
  6986. | * double cast.
  6987. | */
  6988. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  6989. |
  6990. | /* Enter a start condition. This macro really ought to take a parameter,
  6991. | * but we do it the disgusting crufty way forced on us by the ()-less
  6992. | * definition of BEGIN.
  6993. | */
  6994. | #define BEGIN (yy_start) = 1 + 2 *
  6995. |
  6996. | /* Translate the current start state into a value that can be later handed
  6997. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  6998. | * compatibility.
  6999. | */
  7000. | #define YY_START (((yy_start) - 1) / 2)
  7001. | #define YYSTATE YY_START
  7002. |
  7003. | /* Action number for EOF rule of a given start state. */
  7004. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  7005. |
  7006. | /* Special action meaning "start processing a new file". */
  7007. | #define YY_NEW_FILE yyrestart(yyin )
  7008. |
  7009. | #define YY_END_OF_BUFFER_CHAR 0
  7010. |
  7011. | /* Size of default input buffer. */
  7012. | #ifndef YY_BUF_SIZE
  7013. | #ifdef __ia64__
  7014. | /* On IA-64, the buffer size is 16k, not 8k.
  7015. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  7016. | * Ditto for the __ia64__ case accordingly.
  7017. | */
  7018. | #define YY_BUF_SIZE 32768
  7019. | #else
  7020. | #define YY_BUF_SIZE 16384
  7021. | #endif /* __ia64__ */
  7022. | #endif
  7023. |
  7024. | /* The state buf must be large enough to hold one state per character in the main buffer.
  7025. | */
  7026. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  7027. |
  7028. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  7029. | #define YY_TYPEDEF_YY_BUFFER_STATE
  7030. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  7031. | #endif
  7032. |
  7033. | #ifndef YY_TYPEDEF_YY_SIZE_T
  7034. | #define YY_TYPEDEF_YY_SIZE_T
  7035. | typedef size_t yy_size_t;
  7036. | #endif
  7037. |
  7038. | extern yy_size_t yyleng;
  7039. |
  7040. | extern FILE *yyin, *yyout;
  7041. |
  7042. | #define EOB_ACT_CONTINUE_SCAN 0
  7043. | #define EOB_ACT_END_OF_FILE 1
  7044. | #define EOB_ACT_LAST_MATCH 2
  7045. |
  7046. | #define YY_LESS_LINENO(n)
  7047. | #define YY_LINENO_REWIND_TO(ptr)
  7048. |
  7049. | /* Return all but the first "n" matched characters back to the input stream. */
  7050. | #define yyless(n) \
  7051. | do \
  7052. | { \
  7053. | /* Undo effects of setting up yytext. */ \
  7054. | int yyless_macro_arg = (n); \
  7055. | YY_LESS_LINENO(yyless_macro_arg);\
  7056. | *yy_cp = (yy_hold_char); \
  7057. | YY_RESTORE_YY_MORE_OFFSET \
  7058. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  7059. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  7060. | } \
  7061. | while ( 0 )
  7062. |
  7063. | #define unput(c) yyunput( c, (yytext_ptr) )
  7064. |
  7065. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  7066. | #define YY_STRUCT_YY_BUFFER_STATE
  7067. | struct yy_buffer_state
  7068. | {
  7069. | FILE *yy_input_file;
  7070. |
  7071. | char *yy_ch_buf; /* input buffer */
  7072. | char *yy_buf_pos; /* current position in input buffer */
  7073. |
  7074. | /* Size of input buffer in bytes, not including room for EOB
  7075. | * characters.
  7076. | */
  7077. | yy_size_t yy_buf_size;
  7078. |
  7079. | /* Number of characters read into yy_ch_buf, not including EOB
  7080. | * characters.
  7081. | */
  7082. | int yy_n_chars;
  7083. |
  7084. | /* Whether we "own" the buffer - i.e., we know we created it,
  7085. | * and can realloc() it to grow it, and should free() it to
  7086. | * delete it.
  7087. | */
  7088. | int yy_is_our_buffer;
  7089. |
  7090. | /* Whether this is an "interactive" input source; if so, and
  7091. | * if we're using stdio for input, then we want to use getc()
  7092. | * instead of fread(), to make sure we stop fetching input after
  7093. | * each newline.
  7094. | */
  7095. | int yy_is_interactive;
  7096. |
  7097. | /* Whether we're considered to be at the beginning of a line.
  7098. | * If so, '^' rules will be active on the next match, otherwise
  7099. | * not.
  7100. | */
  7101. | int yy_at_bol;
  7102. |
  7103. | int yy_bs_lineno; /**< The line count. */
  7104. | int yy_bs_column; /**< The column count. */
  7105. |
  7106. | /* Whether to try to fill the input buffer when we reach the
  7107. | * end of it.
  7108. | */
  7109. | int yy_fill_buffer;
  7110. |
  7111. | int yy_buffer_status;
  7112. |
  7113. | #define YY_BUFFER_NEW 0
  7114. | #define YY_BUFFER_NORMAL 1
  7115. | /* When an EOF's been seen but there's still some text to process
  7116. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  7117. | * shouldn't try reading from the input source any more. We might
  7118. | * still have a bunch of tokens to match, though, because of
  7119. | * possible backing-up.
  7120. | *
  7121. | * When we actually see the EOF, we change the status to "new"
  7122. | * (via yyrestart()), so that the user can continue scanning by
  7123. | * just pointing yyin at a new input file.
  7124. | */
  7125. | #define YY_BUFFER_EOF_PENDING 2
  7126. |
  7127. | };
  7128. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  7129. |
  7130. | /* Stack of input buffers. */
  7131. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  7132. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  7133. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  7134. |
  7135. | /* We provide macros for accessing buffer states in case in the
  7136. | * future we want to put the buffer states in a more general
  7137. | * "scanner state".
  7138. | *
  7139. | * Returns the top of the stack, or NULL.
  7140. | */
  7141. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  7142. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  7143. | : NULL)
  7144. |
  7145. | /* Same as previous macro, but useful when we know that the buffer stack is not
  7146. | * NULL or when we need an lvalue. For internal use only.
  7147. | */
  7148. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  7149. |
  7150. | /* yy_hold_char holds the character lost when yytext is formed. */
  7151. | static char yy_hold_char;
  7152. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  7153. | yy_size_t yyleng;
  7154. |
  7155. | /* Points to current character in buffer. */
  7156. | static char *yy_c_buf_p = (char *) 0;
  7157. | static int yy_init = 0; /* whether we need to initialize */
  7158. | static int yy_start = 0; /* start state number */
  7159. |
  7160. | /* Flag which is used to allow yywrap()'s to do buffer switches
  7161. | * instead of setting up a fresh yyin. A bit of a hack ...
  7162. | */
  7163. | static int yy_did_buffer_switch_on_eof;
  7164. |
  7165. | void yyrestart (FILE *input_file );
  7166. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  7167. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  7168. | void yy_delete_buffer (YY_BUFFER_STATE b );
  7169. | void yy_flush_buffer (YY_BUFFER_STATE b );
  7170. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  7171. | void yypop_buffer_state (void );
  7172. |
  7173. | static void yyensure_buffer_stack (void );
  7174. | static void yy_load_buffer_state (void );
  7175. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  7176. |
  7177. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  7178. |
  7179. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  7180. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  7181. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  7182. |
  7183. | void *yyalloc (yy_size_t );
  7184. | void *yyrealloc (void *,yy_size_t );
  7185. | void yyfree (void * );
  7186. |
  7187. | #define yy_new_buffer yy_create_buffer
  7188. |
  7189. | #define yy_set_interactive(is_interactive) \
  7190. | { \
  7191. | if ( ! YY_CURRENT_BUFFER ){ \
  7192. | yyensure_buffer_stack (); \
  7193. | YY_CURRENT_BUFFER_LVALUE = \
  7194. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  7195. | } \
  7196. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  7197. | }
  7198. |
  7199. | #define yy_set_bol(at_bol) \
  7200. | { \
  7201. | if ( ! YY_CURRENT_BUFFER ){\
  7202. | yyensure_buffer_stack (); \
  7203. | YY_CURRENT_BUFFER_LVALUE = \
  7204. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  7205. | } \
  7206. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  7207. | }
  7208. |
  7209. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  7210. |
  7211. | /* Begin user sect3 */
  7212. |
  7213. | typedef unsigned char YY_CHAR;
  7214. |
  7215. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  7216. |
  7217. | typedef int yy_state_type;
  7218. |
  7219. | extern int yylineno;
  7220. |
  7221. | int yylineno = 1;
  7222. |
  7223. | extern char *yytext;
  7224. | #ifdef yytext_ptr
  7225. | #undef yytext_ptr
  7226. | #endif
  7227. | #define yytext_ptr yytext
  7228. |
  7229. | static yy_state_type yy_get_previous_state (void );
  7230. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  7231. | static int yy_get_next_buffer (void );
  7232. | #if defined(__GNUC__) && __GNUC__ >= 3
  7233. | __attribute__((__noreturn__))
  7234. | #endif
  7235. | static void yy_fatal_error (yyconst char msg[] );
  7236. |
  7237. | /* Done after the current pattern has been matched and before the
  7238. | * corresponding action - sets up yytext.
  7239. | */
  7240. | #define YY_DO_BEFORE_ACTION \
  7241. | (yytext_ptr) = yy_bp; \
  7242. | (yytext_ptr) -= (yy_more_len); \
  7243. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  7244. | (yy_hold_char) = *yy_cp; \
  7245. | *yy_cp = '\0'; \
  7246. | (yy_c_buf_p) = yy_cp;
  7247. |
  7248. | #define YY_NUM_RULES 8
  7249. | #define YY_END_OF_BUFFER 9
  7250. | /* This struct is not used in this scanner,
  7251. | but its presence is necessary. */
  7252. | struct yy_trans_info
  7253. | {
  7254. | flex_int32_t yy_verify;
  7255. | flex_int32_t yy_nxt;
  7256. | };
  7257. | static yyconst flex_int16_t yy_acclist[23] =
  7258. | { 0,
  7259. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  7260. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  7261. | 7, 8
  7262. | } ;
  7263. |
  7264. | static yyconst flex_int16_t yy_accept[14] =
  7265. | { 0,
  7266. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  7267. | 20, 23, 23
  7268. | } ;
  7269. |
  7270. | static yyconst YY_CHAR yy_ec[256] =
  7271. | { 0,
  7272. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  7273. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7274. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7275. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7276. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7277. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7278. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7279. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7280. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7281. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  7282. |
  7283. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  7284. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7285. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7286. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7287. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7288. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7289. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7290. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7291. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7292. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7293. |
  7294. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7295. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7296. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7297. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7298. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  7299. | 1, 1, 1, 1, 1
  7300. | } ;
  7301. |
  7302. | static yyconst YY_CHAR yy_meta[9] =
  7303. | { 0,
  7304. | 1, 1, 1, 1, 1, 1, 1, 1
  7305. | } ;
  7306. |
  7307. | static yyconst flex_uint16_t yy_base[13] =
  7308. | { 0,
  7309. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  7310. | 10, 10
  7311. | } ;
  7312. |
  7313. | static yyconst flex_int16_t yy_def[13] =
  7314. | { 0,
  7315. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  7316. | 12, 0
  7317. | } ;
  7318. |
  7319. | static yyconst flex_uint16_t yy_nxt[19] =
  7320. | { 0,
  7321. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  7322. | 12, 12, 12, 12, 12, 12, 12, 12
  7323. | } ;
  7324. |
  7325. | static yyconst flex_int16_t yy_chk[19] =
  7326. | { 0,
  7327. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  7328. | 12, 12, 12, 12, 12, 12, 12, 12
  7329. | } ;
  7330. |
  7331. | extern int yy_flex_debug;
  7332. | int yy_flex_debug = 0;
  7333. |
  7334. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  7335. | static char *yy_full_match;
  7336. | static int yy_lp;
  7337. | #define REJECT \
  7338. | { \
  7339. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  7340. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  7341. | ++(yy_lp); \
  7342. | goto find_rule; \
  7343. | }
  7344. |
  7345. | static int yy_more_flag = 0;
  7346. | static int yy_more_len = 0;
  7347. | #define yymore() ((yy_more_flag) = 1)
  7348. | #define YY_MORE_ADJ (yy_more_len)
  7349. | #define YY_RESTORE_YY_MORE_OFFSET
  7350. | char *yytext;
  7351. | #line 1 "conftest.l"
  7352. | #line 484 "lex.yy.c"
  7353. |
  7354. | #define INITIAL 0
  7355. |
  7356. | #ifndef YY_NO_UNISTD_H
  7357. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  7358. | * down here because we want the user's section 1 to have been scanned first.
  7359. | * The user has a chance to override it with an option.
  7360. | */
  7361. | #include <unistd.h>
  7362. | #endif
  7363. |
  7364. | #ifndef YY_EXTRA_TYPE
  7365. | #define YY_EXTRA_TYPE void *
  7366. | #endif
  7367. |
  7368. | static int yy_init_globals (void );
  7369. |
  7370. | /* Accessor methods to globals.
  7371. | These are made visible to non-reentrant scanners for convenience. */
  7372. |
  7373. | int yylex_destroy (void );
  7374. |
  7375. | int yyget_debug (void );
  7376. |
  7377. | void yyset_debug (int debug_flag );
  7378. |
  7379. | YY_EXTRA_TYPE yyget_extra (void );
  7380. |
  7381. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  7382. |
  7383. | FILE *yyget_in (void );
  7384. |
  7385. | void yyset_in (FILE * _in_str );
  7386. |
  7387. | FILE *yyget_out (void );
  7388. |
  7389. | void yyset_out (FILE * _out_str );
  7390. |
  7391. | yy_size_t yyget_leng (void );
  7392. |
  7393. | char *yyget_text (void );
  7394. |
  7395. | int yyget_lineno (void );
  7396. |
  7397. | void yyset_lineno (int _line_number );
  7398. |
  7399. | /* Macros after this point can all be overridden by user definitions in
  7400. | * section 1.
  7401. | */
  7402. |
  7403. | #ifndef YY_SKIP_YYWRAP
  7404. | #ifdef __cplusplus
  7405. | extern "C" int yywrap (void );
  7406. | #else
  7407. | extern int yywrap (void );
  7408. | #endif
  7409. | #endif
  7410. |
  7411. | #ifndef YY_NO_UNPUT
  7412. |
  7413. | static void yyunput (int c,char *buf_ptr );
  7414. |
  7415. | #endif
  7416. |
  7417. | #ifndef yytext_ptr
  7418. | static void yy_flex_strncpy (char *,yyconst char *,int );
  7419. | #endif
  7420. |
  7421. | #ifdef YY_NEED_STRLEN
  7422. | static int yy_flex_strlen (yyconst char * );
  7423. | #endif
  7424. |
  7425. | #ifndef YY_NO_INPUT
  7426. |
  7427. | #ifdef __cplusplus
  7428. | static int yyinput (void );
  7429. | #else
  7430. | static int input (void );
  7431. | #endif
  7432. |
  7433. | #endif
  7434. |
  7435. | /* Amount of stuff to slurp up with each read. */
  7436. | #ifndef YY_READ_BUF_SIZE
  7437. | #ifdef __ia64__
  7438. | /* On IA-64, the buffer size is 16k, not 8k */
  7439. | #define YY_READ_BUF_SIZE 16384
  7440. | #else
  7441. | #define YY_READ_BUF_SIZE 8192
  7442. | #endif /* __ia64__ */
  7443. | #endif
  7444. |
  7445. | /* Copy whatever the last rule matched to the standard output. */
  7446. | #ifndef ECHO
  7447. | /* This used to be an fputs(), but since the string might contain NUL's,
  7448. | * we now use fwrite().
  7449. | */
  7450. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  7451. | #endif
  7452. |
  7453. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  7454. | * is returned in "result".
  7455. | */
  7456. | #ifndef YY_INPUT
  7457. | #define YY_INPUT(buf,result,max_size) \
  7458. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  7459. | { \
  7460. | int c = '*'; \
  7461. | size_t n; \
  7462. | for ( n = 0; n < max_size && \
  7463. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  7464. | buf[n] = (char) c; \
  7465. | if ( c == '\n' ) \
  7466. | buf[n++] = (char) c; \
  7467. | if ( c == EOF && ferror( yyin ) ) \
  7468. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  7469. | result = n; \
  7470. | } \
  7471. | else \
  7472. | { \
  7473. | errno=0; \
  7474. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  7475. | { \
  7476. | if( errno != EINTR) \
  7477. | { \
  7478. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  7479. | break; \
  7480. | } \
  7481. | errno=0; \
  7482. | clearerr(yyin); \
  7483. | } \
  7484. | }\
  7485. | \
  7486. |
  7487. | #endif
  7488. |
  7489. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  7490. | * we don't want an extra ';' after the "return" because that will cause
  7491. | * some compilers to complain about unreachable statements.
  7492. | */
  7493. | #ifndef yyterminate
  7494. | #define yyterminate() return YY_NULL
  7495. | #endif
  7496. |
  7497. | /* Number of entries by which start-condition stack grows. */
  7498. | #ifndef YY_START_STACK_INCR
  7499. | #define YY_START_STACK_INCR 25
  7500. | #endif
  7501. |
  7502. | /* Report a fatal error. */
  7503. | #ifndef YY_FATAL_ERROR
  7504. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  7505. | #endif
  7506. |
  7507. | /* end tables serialization structures and prototypes */
  7508. |
  7509. | /* Default declaration of generated scanner - a define so the user can
  7510. | * easily add parameters.
  7511. | */
  7512. | #ifndef YY_DECL
  7513. | #define YY_DECL_IS_OURS 1
  7514. |
  7515. | extern int yylex (void);
  7516. |
  7517. | #define YY_DECL int yylex (void)
  7518. | #endif /* !YY_DECL */
  7519. |
  7520. | /* Code executed at the beginning of each rule, after yytext and yyleng
  7521. | * have been set up.
  7522. | */
  7523. | #ifndef YY_USER_ACTION
  7524. | #define YY_USER_ACTION
  7525. | #endif
  7526. |
  7527. | /* Code executed at the end of each rule. */
  7528. | #ifndef YY_BREAK
  7529. | #define YY_BREAK /*LINTED*/break;
  7530. | #endif
  7531. |
  7532. | #define YY_RULE_SETUP \
  7533. | YY_USER_ACTION
  7534. |
  7535. | /** The main scanner function which does all the work.
  7536. | */
  7537. | YY_DECL
  7538. | {
  7539. | yy_state_type yy_current_state;
  7540. | char *yy_cp, *yy_bp;
  7541. | int yy_act;
  7542. |
  7543. | if ( !(yy_init) )
  7544. | {
  7545. | (yy_init) = 1;
  7546. |
  7547. | #ifdef YY_USER_INIT
  7548. | YY_USER_INIT;
  7549. | #endif
  7550. |
  7551. | /* Create the reject buffer large enough to save one state per allowed character. */
  7552. | if ( ! (yy_state_buf) )
  7553. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  7554. | if ( ! (yy_state_buf) )
  7555. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  7556. |
  7557. | if ( ! (yy_start) )
  7558. | (yy_start) = 1; /* first start state */
  7559. |
  7560. | if ( ! yyin )
  7561. | yyin = stdin;
  7562. |
  7563. | if ( ! yyout )
  7564. | yyout = stdout;
  7565. |
  7566. | if ( ! YY_CURRENT_BUFFER ) {
  7567. | yyensure_buffer_stack ();
  7568. | YY_CURRENT_BUFFER_LVALUE =
  7569. | yy_create_buffer(yyin,YY_BUF_SIZE );
  7570. | }
  7571. |
  7572. | yy_load_buffer_state( );
  7573. | }
  7574. |
  7575. | {
  7576. | #line 1 "conftest.l"
  7577. |
  7578. | #line 710 "lex.yy.c"
  7579. |
  7580. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  7581. | {
  7582. | (yy_more_len) = 0;
  7583. | if ( (yy_more_flag) )
  7584. | {
  7585. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  7586. | (yy_more_flag) = 0;
  7587. | }
  7588. | yy_cp = (yy_c_buf_p);
  7589. |
  7590. | /* Support of yytext. */
  7591. | *yy_cp = (yy_hold_char);
  7592. |
  7593. | /* yy_bp points to the position in yy_ch_buf of the start of
  7594. | * the current run.
  7595. | */
  7596. | yy_bp = yy_cp;
  7597. |
  7598. | yy_current_state = (yy_start);
  7599. |
  7600. | (yy_state_ptr) = (yy_state_buf);
  7601. | *(yy_state_ptr)++ = yy_current_state;
  7602. |
  7603. | yy_match:
  7604. | do
  7605. | {
  7606. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  7607. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7608. | {
  7609. | yy_current_state = (int) yy_def[yy_current_state];
  7610. | if ( yy_current_state >= 13 )
  7611. | yy_c = yy_meta[(unsigned int) yy_c];
  7612. | }
  7613. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7614. | *(yy_state_ptr)++ = yy_current_state;
  7615. | ++yy_cp;
  7616. | }
  7617. | while ( yy_base[yy_current_state] != 10 );
  7618. |
  7619. | yy_find_action:
  7620. | yy_current_state = *--(yy_state_ptr);
  7621. | (yy_lp) = yy_accept[yy_current_state];
  7622. | find_rule: /* we branch to this label when backing up */
  7623. | for ( ; ; ) /* until we find what rule we matched */
  7624. | {
  7625. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  7626. | {
  7627. | yy_act = yy_acclist[(yy_lp)];
  7628. | {
  7629. | (yy_full_match) = yy_cp;
  7630. | break;
  7631. | }
  7632. | }
  7633. | --yy_cp;
  7634. | yy_current_state = *--(yy_state_ptr);
  7635. | (yy_lp) = yy_accept[yy_current_state];
  7636. | }
  7637. |
  7638. | YY_DO_BEFORE_ACTION;
  7639. |
  7640. | do_action: /* This label is used only to access EOF actions. */
  7641. |
  7642. | switch ( yy_act )
  7643. | { /* beginning of action switch */
  7644. | case 1:
  7645. | YY_RULE_SETUP
  7646. | #line 2 "conftest.l"
  7647. | { ECHO; }
  7648. | YY_BREAK
  7649. | case 2:
  7650. | YY_RULE_SETUP
  7651. | #line 3 "conftest.l"
  7652. | { REJECT; }
  7653. | YY_BREAK
  7654. | case 3:
  7655. | YY_RULE_SETUP
  7656. | #line 4 "conftest.l"
  7657. | { yymore (); }
  7658. | YY_BREAK
  7659. | case 4:
  7660. | YY_RULE_SETUP
  7661. | #line 5 "conftest.l"
  7662. | { yyless (1); }
  7663. | YY_BREAK
  7664. | case 5:
  7665. | YY_RULE_SETUP
  7666. | #line 6 "conftest.l"
  7667. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  7668. | yyless ((input () != 0)); }
  7669. | YY_BREAK
  7670. | case 6:
  7671. | YY_RULE_SETUP
  7672. | #line 8 "conftest.l"
  7673. | { unput (yytext[0]); }
  7674. | YY_BREAK
  7675. | case 7:
  7676. | YY_RULE_SETUP
  7677. | #line 9 "conftest.l"
  7678. | { BEGIN INITIAL; }
  7679. | YY_BREAK
  7680. | case 8:
  7681. | YY_RULE_SETUP
  7682. | #line 10 "conftest.l"
  7683. | ECHO;
  7684. | YY_BREAK
  7685. | #line 817 "lex.yy.c"
  7686. | case YY_STATE_EOF(INITIAL):
  7687. | yyterminate();
  7688. |
  7689. | case YY_END_OF_BUFFER:
  7690. | {
  7691. | /* Amount of text matched not including the EOB char. */
  7692. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  7693. |
  7694. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  7695. | *yy_cp = (yy_hold_char);
  7696. | YY_RESTORE_YY_MORE_OFFSET
  7697. |
  7698. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  7699. | {
  7700. | /* We're scanning a new file or input source. It's
  7701. | * possible that this happened because the user
  7702. | * just pointed yyin at a new source and called
  7703. | * yylex(). If so, then we have to assure
  7704. | * consistency between YY_CURRENT_BUFFER and our
  7705. | * globals. Here is the right place to do so, because
  7706. | * this is the first action (other than possibly a
  7707. | * back-up) that will match for the new input source.
  7708. | */
  7709. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  7710. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  7711. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  7712. | }
  7713. |
  7714. | /* Note that here we test for yy_c_buf_p "<=" to the position
  7715. | * of the first EOB in the buffer, since yy_c_buf_p will
  7716. | * already have been incremented past the NUL character
  7717. | * (since all states make transitions on EOB to the
  7718. | * end-of-buffer state). Contrast this with the test
  7719. | * in input().
  7720. | */
  7721. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  7722. | { /* This was really a NUL. */
  7723. | yy_state_type yy_next_state;
  7724. |
  7725. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  7726. |
  7727. | yy_current_state = yy_get_previous_state( );
  7728. |
  7729. | /* Okay, we're now positioned to make the NUL
  7730. | * transition. We couldn't have
  7731. | * yy_get_previous_state() go ahead and do it
  7732. | * for us because it doesn't know how to deal
  7733. | * with the possibility of jamming (and we don't
  7734. | * want to build jamming into it because then it
  7735. | * will run more slowly).
  7736. | */
  7737. |
  7738. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  7739. |
  7740. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7741. |
  7742. | if ( yy_next_state )
  7743. | {
  7744. | /* Consume the NUL. */
  7745. | yy_cp = ++(yy_c_buf_p);
  7746. | yy_current_state = yy_next_state;
  7747. | goto yy_match;
  7748. | }
  7749. |
  7750. | else
  7751. | {
  7752. | yy_cp = (yy_c_buf_p);
  7753. | goto yy_find_action;
  7754. | }
  7755. | }
  7756. |
  7757. | else switch ( yy_get_next_buffer( ) )
  7758. | {
  7759. | case EOB_ACT_END_OF_FILE:
  7760. | {
  7761. | (yy_did_buffer_switch_on_eof) = 0;
  7762. |
  7763. | if ( yywrap( ) )
  7764. | {
  7765. | /* Note: because we've taken care in
  7766. | * yy_get_next_buffer() to have set up
  7767. | * yytext, we can now set up
  7768. | * yy_c_buf_p so that if some total
  7769. | * hoser (like flex itself) wants to
  7770. | * call the scanner after we return the
  7771. | * YY_NULL, it'll still work - another
  7772. | * YY_NULL will get returned.
  7773. | */
  7774. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  7775. |
  7776. | yy_act = YY_STATE_EOF(YY_START);
  7777. | goto do_action;
  7778. | }
  7779. |
  7780. | else
  7781. | {
  7782. | if ( ! (yy_did_buffer_switch_on_eof) )
  7783. | YY_NEW_FILE;
  7784. | }
  7785. | break;
  7786. | }
  7787. |
  7788. | case EOB_ACT_CONTINUE_SCAN:
  7789. | (yy_c_buf_p) =
  7790. | (yytext_ptr) + yy_amount_of_matched_text;
  7791. |
  7792. | yy_current_state = yy_get_previous_state( );
  7793. |
  7794. | yy_cp = (yy_c_buf_p);
  7795. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7796. | goto yy_match;
  7797. |
  7798. | case EOB_ACT_LAST_MATCH:
  7799. | (yy_c_buf_p) =
  7800. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  7801. |
  7802. | yy_current_state = yy_get_previous_state( );
  7803. |
  7804. | yy_cp = (yy_c_buf_p);
  7805. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7806. | goto yy_find_action;
  7807. | }
  7808. | break;
  7809. | }
  7810. |
  7811. | default:
  7812. | YY_FATAL_ERROR(
  7813. | "fatal flex scanner internal error--no action found" );
  7814. | } /* end of action switch */
  7815. | } /* end of scanning one token */
  7816. | } /* end of user's declarations */
  7817. | } /* end of yylex */
  7818. |
  7819. | /* yy_get_next_buffer - try to read in a new buffer
  7820. | *
  7821. | * Returns a code representing an action:
  7822. | * EOB_ACT_LAST_MATCH -
  7823. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  7824. | * EOB_ACT_END_OF_FILE - end of file
  7825. | */
  7826. | static int yy_get_next_buffer (void)
  7827. | {
  7828. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  7829. | char *source = (yytext_ptr);
  7830. | yy_size_t number_to_move, i;
  7831. | int ret_val;
  7832. |
  7833. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  7834. | YY_FATAL_ERROR(
  7835. | "fatal flex scanner internal error--end of buffer missed" );
  7836. |
  7837. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  7838. | { /* Don't try to fill the buffer, so this is an EOF. */
  7839. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  7840. | {
  7841. | /* We matched a single character, the EOB, so
  7842. | * treat this as a final EOF.
  7843. | */
  7844. | return EOB_ACT_END_OF_FILE;
  7845. | }
  7846. |
  7847. | else
  7848. | {
  7849. | /* We matched some text prior to the EOB, first
  7850. | * process it.
  7851. | */
  7852. | return EOB_ACT_LAST_MATCH;
  7853. | }
  7854. | }
  7855. |
  7856. | /* Try to read more data. */
  7857. |
  7858. | /* First move last chars to start of buffer. */
  7859. | number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  7860. |
  7861. | for ( i = 0; i < number_to_move; ++i )
  7862. | *(dest++) = *(source++);
  7863. |
  7864. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  7865. | /* don't do the read, it's not guaranteed to return an EOF,
  7866. | * just force an EOF
  7867. | */
  7868. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  7869. |
  7870. | else
  7871. | {
  7872. | yy_size_t num_to_read =
  7873. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  7874. |
  7875. | while ( num_to_read <= 0 )
  7876. | { /* Not enough room in the buffer - grow it. */
  7877. |
  7878. | YY_FATAL_ERROR(
  7879. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  7880. |
  7881. | }
  7882. |
  7883. | if ( num_to_read > YY_READ_BUF_SIZE )
  7884. | num_to_read = YY_READ_BUF_SIZE;
  7885. |
  7886. | /* Read in more data. */
  7887. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  7888. | (yy_n_chars), num_to_read );
  7889. |
  7890. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7891. | }
  7892. |
  7893. | if ( (yy_n_chars) == 0 )
  7894. | {
  7895. | if ( number_to_move == YY_MORE_ADJ )
  7896. | {
  7897. | ret_val = EOB_ACT_END_OF_FILE;
  7898. | yyrestart(yyin );
  7899. | }
  7900. |
  7901. | else
  7902. | {
  7903. | ret_val = EOB_ACT_LAST_MATCH;
  7904. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  7905. | YY_BUFFER_EOF_PENDING;
  7906. | }
  7907. | }
  7908. |
  7909. | else
  7910. | ret_val = EOB_ACT_CONTINUE_SCAN;
  7911. |
  7912. | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  7913. | /* Extend the array by 50%, plus the number we really need. */
  7914. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  7915. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  7916. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  7917. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  7918. | }
  7919. |
  7920. | (yy_n_chars) += number_to_move;
  7921. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  7922. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  7923. |
  7924. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  7925. |
  7926. | return ret_val;
  7927. | }
  7928. |
  7929. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  7930. |
  7931. | static yy_state_type yy_get_previous_state (void)
  7932. | {
  7933. | yy_state_type yy_current_state;
  7934. | char *yy_cp;
  7935. |
  7936. | yy_current_state = (yy_start);
  7937. |
  7938. | (yy_state_ptr) = (yy_state_buf);
  7939. | *(yy_state_ptr)++ = yy_current_state;
  7940. |
  7941. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  7942. | {
  7943. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  7944. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7945. | {
  7946. | yy_current_state = (int) yy_def[yy_current_state];
  7947. | if ( yy_current_state >= 13 )
  7948. | yy_c = yy_meta[(unsigned int) yy_c];
  7949. | }
  7950. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7951. | *(yy_state_ptr)++ = yy_current_state;
  7952. | }
  7953. |
  7954. | return yy_current_state;
  7955. | }
  7956. |
  7957. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  7958. | *
  7959. | * synopsis
  7960. | * next_state = yy_try_NUL_trans( current_state );
  7961. | */
  7962. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  7963. | {
  7964. | int yy_is_jam;
  7965. |
  7966. | YY_CHAR yy_c = 1;
  7967. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7968. | {
  7969. | yy_current_state = (int) yy_def[yy_current_state];
  7970. | if ( yy_current_state >= 13 )
  7971. | yy_c = yy_meta[(unsigned int) yy_c];
  7972. | }
  7973. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7974. | yy_is_jam = (yy_current_state == 12);
  7975. | if ( ! yy_is_jam )
  7976. | *(yy_state_ptr)++ = yy_current_state;
  7977. |
  7978. | return yy_is_jam ? 0 : yy_current_state;
  7979. | }
  7980. |
  7981. | #ifndef YY_NO_UNPUT
  7982. |
  7983. | static void yyunput (int c, char * yy_bp )
  7984. | {
  7985. | char *yy_cp;
  7986. |
  7987. | yy_cp = (yy_c_buf_p);
  7988. |
  7989. | /* undo effects of setting up yytext */
  7990. | *yy_cp = (yy_hold_char);
  7991. |
  7992. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  7993. | { /* need to shift things up to make room */
  7994. | /* +2 for EOB chars. */
  7995. | yy_size_t number_to_move = (yy_n_chars) + 2;
  7996. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  7997. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  7998. | char *source =
  7999. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  8000. |
  8001. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  8002. | *--dest = *--source;
  8003. |
  8004. | yy_cp += (int) (dest - source);
  8005. | yy_bp += (int) (dest - source);
  8006. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  8007. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  8008. |
  8009. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  8010. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  8011. | }
  8012. |
  8013. | *--yy_cp = (char) c;
  8014. |
  8015. | (yytext_ptr) = yy_bp;
  8016. | (yy_hold_char) = *yy_cp;
  8017. | (yy_c_buf_p) = yy_cp;
  8018. | }
  8019. |
  8020. | #endif
  8021. |
  8022. | #ifndef YY_NO_INPUT
  8023. | #ifdef __cplusplus
  8024. | static int yyinput (void)
  8025. | #else
  8026. | static int input (void)
  8027. | #endif
  8028. |
  8029. | {
  8030. | int c;
  8031. |
  8032. | *(yy_c_buf_p) = (yy_hold_char);
  8033. |
  8034. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  8035. | {
  8036. | /* yy_c_buf_p now points to the character we want to return.
  8037. | * If this occurs *before* the EOB characters, then it's a
  8038. | * valid NUL; if not, then we've hit the end of the buffer.
  8039. | */
  8040. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  8041. | /* This was really a NUL. */
  8042. | *(yy_c_buf_p) = '\0';
  8043. |
  8044. | else
  8045. | { /* need more input */
  8046. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  8047. | ++(yy_c_buf_p);
  8048. |
  8049. | switch ( yy_get_next_buffer( ) )
  8050. | {
  8051. | case EOB_ACT_LAST_MATCH:
  8052. | /* This happens because yy_g_n_b()
  8053. | * sees that we've accumulated a
  8054. | * token and flags that we need to
  8055. | * try matching the token before
  8056. | * proceeding. But for input(),
  8057. | * there's no matching to consider.
  8058. | * So convert the EOB_ACT_LAST_MATCH
  8059. | * to EOB_ACT_END_OF_FILE.
  8060. | */
  8061. |
  8062. | /* Reset buffer status. */
  8063. | yyrestart(yyin );
  8064. |
  8065. | /*FALLTHROUGH*/
  8066. |
  8067. | case EOB_ACT_END_OF_FILE:
  8068. | {
  8069. | if ( yywrap( ) )
  8070. | return EOF;
  8071. |
  8072. | if ( ! (yy_did_buffer_switch_on_eof) )
  8073. | YY_NEW_FILE;
  8074. | #ifdef __cplusplus
  8075. | return yyinput();
  8076. | #else
  8077. | return input();
  8078. | #endif
  8079. | }
  8080. |
  8081. | case EOB_ACT_CONTINUE_SCAN:
  8082. | (yy_c_buf_p) = (yytext_ptr) + offset;
  8083. | break;
  8084. | }
  8085. | }
  8086. | }
  8087. |
  8088. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  8089. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  8090. | (yy_hold_char) = *++(yy_c_buf_p);
  8091. |
  8092. | return c;
  8093. | }
  8094. | #endif /* ifndef YY_NO_INPUT */
  8095. |
  8096. | /** Immediately switch to a different input stream.
  8097. | * @param input_file A readable stream.
  8098. | *
  8099. | * @note This function does not reset the start condition to @c INITIAL .
  8100. | */
  8101. | void yyrestart (FILE * input_file )
  8102. | {
  8103. |
  8104. | if ( ! YY_CURRENT_BUFFER ){
  8105. | yyensure_buffer_stack ();
  8106. | YY_CURRENT_BUFFER_LVALUE =
  8107. | yy_create_buffer(yyin,YY_BUF_SIZE );
  8108. | }
  8109. |
  8110. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  8111. | yy_load_buffer_state( );
  8112. | }
  8113. |
  8114. | /** Switch to a different input buffer.
  8115. | * @param new_buffer The new input buffer.
  8116. | *
  8117. | */
  8118. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  8119. | {
  8120. |
  8121. | /* TODO. We should be able to replace this entire function body
  8122. | * with
  8123. | * yypop_buffer_state();
  8124. | * yypush_buffer_state(new_buffer);
  8125. | */
  8126. | yyensure_buffer_stack ();
  8127. | if ( YY_CURRENT_BUFFER == new_buffer )
  8128. | return;
  8129. |
  8130. | if ( YY_CURRENT_BUFFER )
  8131. | {
  8132. | /* Flush out information for old buffer. */
  8133. | *(yy_c_buf_p) = (yy_hold_char);
  8134. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  8135. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  8136. | }
  8137. |
  8138. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  8139. | yy_load_buffer_state( );
  8140. |
  8141. | /* We don't actually know whether we did this switch during
  8142. | * EOF (yywrap()) processing, but the only time this flag
  8143. | * is looked at is after yywrap() is called, so it's safe
  8144. | * to go ahead and always set it.
  8145. | */
  8146. | (yy_did_buffer_switch_on_eof) = 1;
  8147. | }
  8148. |
  8149. | static void yy_load_buffer_state (void)
  8150. | {
  8151. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  8152. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  8153. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  8154. | (yy_hold_char) = *(yy_c_buf_p);
  8155. | }
  8156. |
  8157. | /** Allocate and initialize an input buffer state.
  8158. | * @param file A readable stream.
  8159. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  8160. | *
  8161. | * @return the allocated buffer state.
  8162. | */
  8163. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  8164. | {
  8165. | YY_BUFFER_STATE b;
  8166. |
  8167. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  8168. | if ( ! b )
  8169. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  8170. |
  8171. | b->yy_buf_size = (yy_size_t)size;
  8172. |
  8173. | /* yy_ch_buf has to be 2 characters longer than the size given because
  8174. | * we need to put in 2 end-of-buffer characters.
  8175. | */
  8176. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  8177. | if ( ! b->yy_ch_buf )
  8178. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  8179. |
  8180. | b->yy_is_our_buffer = 1;
  8181. |
  8182. | yy_init_buffer(b,file );
  8183. |
  8184. | return b;
  8185. | }
  8186. |
  8187. | /** Destroy the buffer.
  8188. | * @param b a buffer created with yy_create_buffer()
  8189. | *
  8190. | */
  8191. | void yy_delete_buffer (YY_BUFFER_STATE b )
  8192. | {
  8193. |
  8194. | if ( ! b )
  8195. | return;
  8196. |
  8197. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  8198. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  8199. |
  8200. | if ( b->yy_is_our_buffer )
  8201. | yyfree((void *) b->yy_ch_buf );
  8202. |
  8203. | yyfree((void *) b );
  8204. | }
  8205. |
  8206. | /* Initializes or reinitializes a buffer.
  8207. | * This function is sometimes called more than once on the same buffer,
  8208. | * such as during a yyrestart() or at EOF.
  8209. | */
  8210. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  8211. |
  8212. | {
  8213. | int oerrno = errno;
  8214. |
  8215. | yy_flush_buffer(b );
  8216. |
  8217. | b->yy_input_file = file;
  8218. | b->yy_fill_buffer = 1;
  8219. |
  8220. | /* If b is the current buffer, then yy_init_buffer was _probably_
  8221. | * called from yyrestart() or through yy_get_next_buffer.
  8222. | * In that case, we don't want to reset the lineno or column.
  8223. | */
  8224. | if (b != YY_CURRENT_BUFFER){
  8225. | b->yy_bs_lineno = 1;
  8226. | b->yy_bs_column = 0;
  8227. | }
  8228. |
  8229. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  8230. |
  8231. | errno = oerrno;
  8232. | }
  8233. |
  8234. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  8235. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  8236. | *
  8237. | */
  8238. | void yy_flush_buffer (YY_BUFFER_STATE b )
  8239. | {
  8240. | if ( ! b )
  8241. | return;
  8242. |
  8243. | b->yy_n_chars = 0;
  8244. |
  8245. | /* We always need two end-of-buffer characters. The first causes
  8246. | * a transition to the end-of-buffer state. The second causes
  8247. | * a jam in that state.
  8248. | */
  8249. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  8250. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  8251. |
  8252. | b->yy_buf_pos = &b->yy_ch_buf[0];
  8253. |
  8254. | b->yy_at_bol = 1;
  8255. | b->yy_buffer_status = YY_BUFFER_NEW;
  8256. |
  8257. | if ( b == YY_CURRENT_BUFFER )
  8258. | yy_load_buffer_state( );
  8259. | }
  8260. |
  8261. | /** Pushes the new state onto the stack. The new state becomes
  8262. | * the current state. This function will allocate the stack
  8263. | * if necessary.
  8264. | * @param new_buffer The new state.
  8265. | *
  8266. | */
  8267. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  8268. | {
  8269. | if (new_buffer == NULL)
  8270. | return;
  8271. |
  8272. | yyensure_buffer_stack();
  8273. |
  8274. | /* This block is copied from yy_switch_to_buffer. */
  8275. | if ( YY_CURRENT_BUFFER )
  8276. | {
  8277. | /* Flush out information for old buffer. */
  8278. | *(yy_c_buf_p) = (yy_hold_char);
  8279. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  8280. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  8281. | }
  8282. |
  8283. | /* Only push if top exists. Otherwise, replace top. */
  8284. | if (YY_CURRENT_BUFFER)
  8285. | (yy_buffer_stack_top)++;
  8286. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  8287. |
  8288. | /* copied from yy_switch_to_buffer. */
  8289. | yy_load_buffer_state( );
  8290. | (yy_did_buffer_switch_on_eof) = 1;
  8291. | }
  8292. |
  8293. | /** Removes and deletes the top of the stack, if present.
  8294. | * The next element becomes the new top.
  8295. | *
  8296. | */
  8297. | void yypop_buffer_state (void)
  8298. | {
  8299. | if (!YY_CURRENT_BUFFER)
  8300. | return;
  8301. |
  8302. | yy_delete_buffer(YY_CURRENT_BUFFER );
  8303. | YY_CURRENT_BUFFER_LVALUE = NULL;
  8304. | if ((yy_buffer_stack_top) > 0)
  8305. | --(yy_buffer_stack_top);
  8306. |
  8307. | if (YY_CURRENT_BUFFER) {
  8308. | yy_load_buffer_state( );
  8309. | (yy_did_buffer_switch_on_eof) = 1;
  8310. | }
  8311. | }
  8312. |
  8313. | /* Allocates the stack if it does not exist.
  8314. | * Guarantees space for at least one push.
  8315. | */
  8316. | static void yyensure_buffer_stack (void)
  8317. | {
  8318. | yy_size_t num_to_alloc;
  8319. |
  8320. | if (!(yy_buffer_stack)) {
  8321. |
  8322. | /* First allocation is just for 2 elements, since we don't know if this
  8323. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  8324. | * immediate realloc on the next call.
  8325. | */
  8326. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  8327. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  8328. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  8329. | );
  8330. | if ( ! (yy_buffer_stack) )
  8331. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  8332. |
  8333. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  8334. |
  8335. | (yy_buffer_stack_max) = num_to_alloc;
  8336. | (yy_buffer_stack_top) = 0;
  8337. | return;
  8338. | }
  8339. |
  8340. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  8341. |
  8342. | /* Increase the buffer to prepare for a possible push. */
  8343. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  8344. |
  8345. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  8346. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  8347. | ((yy_buffer_stack),
  8348. | num_to_alloc * sizeof(struct yy_buffer_state*)
  8349. | );
  8350. | if ( ! (yy_buffer_stack) )
  8351. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  8352. |
  8353. | /* zero only the new slots.*/
  8354. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  8355. | (yy_buffer_stack_max) = num_to_alloc;
  8356. | }
  8357. | }
  8358. |
  8359. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  8360. | * @param base the character buffer
  8361. | * @param size the size in bytes of the character buffer
  8362. | *
  8363. | * @return the newly allocated buffer state object.
  8364. | */
  8365. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  8366. | {
  8367. | YY_BUFFER_STATE b;
  8368. |
  8369. | if ( size < 2 ||
  8370. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  8371. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  8372. | /* They forgot to leave room for the EOB's. */
  8373. | return 0;
  8374. |
  8375. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  8376. | if ( ! b )
  8377. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  8378. |
  8379. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  8380. | b->yy_buf_pos = b->yy_ch_buf = base;
  8381. | b->yy_is_our_buffer = 0;
  8382. | b->yy_input_file = 0;
  8383. | b->yy_n_chars = b->yy_buf_size;
  8384. | b->yy_is_interactive = 0;
  8385. | b->yy_at_bol = 1;
  8386. | b->yy_fill_buffer = 0;
  8387. | b->yy_buffer_status = YY_BUFFER_NEW;
  8388. |
  8389. | yy_switch_to_buffer(b );
  8390. |
  8391. | return b;
  8392. | }
  8393. |
  8394. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  8395. | * scan from a @e copy of @a str.
  8396. | * @param yystr a NUL-terminated string to scan
  8397. | *
  8398. | * @return the newly allocated buffer state object.
  8399. | * @note If you want to scan bytes that may contain NUL values, then use
  8400. | * yy_scan_bytes() instead.
  8401. | */
  8402. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  8403. | {
  8404. |
  8405. | return yy_scan_bytes(yystr,strlen(yystr) );
  8406. | }
  8407. |
  8408. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  8409. | * scan from a @e copy of @a bytes.
  8410. | * @param yybytes the byte buffer to scan
  8411. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  8412. | *
  8413. | * @return the newly allocated buffer state object.
  8414. | */
  8415. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  8416. | {
  8417. | YY_BUFFER_STATE b;
  8418. | char *buf;
  8419. | yy_size_t n;
  8420. | yy_size_t i;
  8421. |
  8422. | /* Get memory for full buffer, including space for trailing EOB's. */
  8423. | n = _yybytes_len + 2;
  8424. | buf = (char *) yyalloc(n );
  8425. | if ( ! buf )
  8426. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  8427. |
  8428. | for ( i = 0; i < _yybytes_len; ++i )
  8429. | buf[i] = yybytes[i];
  8430. |
  8431. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  8432. |
  8433. | b = yy_scan_buffer(buf,n );
  8434. | if ( ! b )
  8435. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  8436. |
  8437. | /* It's okay to grow etc. this buffer, and we should throw it
  8438. | * away when we're done.
  8439. | */
  8440. | b->yy_is_our_buffer = 1;
  8441. |
  8442. | return b;
  8443. | }
  8444. |
  8445. | #ifndef YY_EXIT_FAILURE
  8446. | #define YY_EXIT_FAILURE 2
  8447. | #endif
  8448. |
  8449. | static void yy_fatal_error (yyconst char* msg )
  8450. | {
  8451. | (void) fprintf( stderr, "%s\n", msg );
  8452. | exit( YY_EXIT_FAILURE );
  8453. | }
  8454. |
  8455. | /* Redefine yyless() so it works in section 3 code. */
  8456. |
  8457. | #undef yyless
  8458. | #define yyless(n) \
  8459. | do \
  8460. | { \
  8461. | /* Undo effects of setting up yytext. */ \
  8462. | int yyless_macro_arg = (n); \
  8463. | YY_LESS_LINENO(yyless_macro_arg);\
  8464. | yytext[yyleng] = (yy_hold_char); \
  8465. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  8466. | (yy_hold_char) = *(yy_c_buf_p); \
  8467. | *(yy_c_buf_p) = '\0'; \
  8468. | yyleng = yyless_macro_arg; \
  8469. | } \
  8470. | while ( 0 )
  8471. |
  8472. | /* Accessor methods (get/set functions) to struct members. */
  8473. |
  8474. | /** Get the current line number.
  8475. | *
  8476. | */
  8477. | int yyget_lineno (void)
  8478. | {
  8479. |
  8480. | return yylineno;
  8481. | }
  8482. |
  8483. | /** Get the input stream.
  8484. | *
  8485. | */
  8486. | FILE *yyget_in (void)
  8487. | {
  8488. | return yyin;
  8489. | }
  8490. |
  8491. | /** Get the output stream.
  8492. | *
  8493. | */
  8494. | FILE *yyget_out (void)
  8495. | {
  8496. | return yyout;
  8497. | }
  8498. |
  8499. | /** Get the length of the current token.
  8500. | *
  8501. | */
  8502. | yy_size_t yyget_leng (void)
  8503. | {
  8504. | return yyleng;
  8505. | }
  8506. |
  8507. | /** Get the current token.
  8508. | *
  8509. | */
  8510. |
  8511. | char *yyget_text (void)
  8512. | {
  8513. | return yytext;
  8514. | }
  8515. |
  8516. | /** Set the current line number.
  8517. | * @param _line_number line number
  8518. | *
  8519. | */
  8520. | void yyset_lineno (int _line_number )
  8521. | {
  8522. |
  8523. | yylineno = _line_number;
  8524. | }
  8525. |
  8526. | /** Set the input stream. This does not discard the current
  8527. | * input buffer.
  8528. | * @param _in_str A readable stream.
  8529. | *
  8530. | * @see yy_switch_to_buffer
  8531. | */
  8532. | void yyset_in (FILE * _in_str )
  8533. | {
  8534. | yyin = _in_str ;
  8535. | }
  8536. |
  8537. | void yyset_out (FILE * _out_str )
  8538. | {
  8539. | yyout = _out_str ;
  8540. | }
  8541. |
  8542. | int yyget_debug (void)
  8543. | {
  8544. | return yy_flex_debug;
  8545. | }
  8546. |
  8547. | void yyset_debug (int _bdebug )
  8548. | {
  8549. | yy_flex_debug = _bdebug ;
  8550. | }
  8551. |
  8552. | static int yy_init_globals (void)
  8553. | {
  8554. | /* Initialization is the same as for the non-reentrant scanner.
  8555. | * This function is called from yylex_destroy(), so don't allocate here.
  8556. | */
  8557. |
  8558. | (yy_buffer_stack) = 0;
  8559. | (yy_buffer_stack_top) = 0;
  8560. | (yy_buffer_stack_max) = 0;
  8561. | (yy_c_buf_p) = (char *) 0;
  8562. | (yy_init) = 0;
  8563. | (yy_start) = 0;
  8564. |
  8565. | (yy_state_buf) = 0;
  8566. | (yy_state_ptr) = 0;
  8567. | (yy_full_match) = 0;
  8568. | (yy_lp) = 0;
  8569. |
  8570. | /* Defined in main.c */
  8571. | #ifdef YY_STDINIT
  8572. | yyin = stdin;
  8573. | yyout = stdout;
  8574. | #else
  8575. | yyin = (FILE *) 0;
  8576. | yyout = (FILE *) 0;
  8577. | #endif
  8578. |
  8579. | /* For future reference: Set errno on error, since we are called by
  8580. | * yylex_init()
  8581. | */
  8582. | return 0;
  8583. | }
  8584. |
  8585. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  8586. | int yylex_destroy (void)
  8587. | {
  8588. |
  8589. | /* Pop the buffer stack, destroying each element. */
  8590. | while(YY_CURRENT_BUFFER){
  8591. | yy_delete_buffer(YY_CURRENT_BUFFER );
  8592. | YY_CURRENT_BUFFER_LVALUE = NULL;
  8593. | yypop_buffer_state();
  8594. | }
  8595. |
  8596. | /* Destroy the stack itself. */
  8597. | yyfree((yy_buffer_stack) );
  8598. | (yy_buffer_stack) = NULL;
  8599. |
  8600. | yyfree ( (yy_state_buf) );
  8601. | (yy_state_buf) = NULL;
  8602. |
  8603. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  8604. | * yylex() is called, initialization will occur. */
  8605. | yy_init_globals( );
  8606. |
  8607. | return 0;
  8608. | }
  8609. |
  8610. | /*
  8611. | * Internal utility routines.
  8612. | */
  8613. |
  8614. | #ifndef yytext_ptr
  8615. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  8616. | {
  8617. |
  8618. | int i;
  8619. | for ( i = 0; i < n; ++i )
  8620. | s1[i] = s2[i];
  8621. | }
  8622. | #endif
  8623. |
  8624. | #ifdef YY_NEED_STRLEN
  8625. | static int yy_flex_strlen (yyconst char * s )
  8626. | {
  8627. | int n;
  8628. | for ( n = 0; s[n]; ++n )
  8629. | ;
  8630. |
  8631. | return n;
  8632. | }
  8633. | #endif
  8634. |
  8635. | void *yyalloc (yy_size_t size )
  8636. | {
  8637. | return (void *) malloc( size );
  8638. | }
  8639. |
  8640. | void *yyrealloc (void * ptr, yy_size_t size )
  8641. | {
  8642. |
  8643. | /* The cast to (char *) in the following accommodates both
  8644. | * implementations that use char* generic pointers, and those
  8645. | * that use void* generic pointers. It works with the latter
  8646. | * because both ANSI C and C++ allow castless assignment from
  8647. | * any pointer type to void*, and deal with argument conversions
  8648. | * as though doing an assignment.
  8649. | */
  8650. | return (void *) realloc( (char *) ptr, size );
  8651. | }
  8652. |
  8653. | void yyfree (void * ptr )
  8654. | {
  8655. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  8656. | }
  8657. |
  8658. | #define YYTABLES_NAME "yytables"
  8659. |
  8660. | #line 10 "conftest.l"
  8661. |
  8662. |
  8663. | #ifdef YYTEXT_POINTER
  8664. | extern char *yytext;
  8665. | #endif
  8666. | int
  8667. | main (void)
  8668. | {
  8669. | return ! yylex () + ! yywrap ();
  8670. | }
  8671. configure:19630: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -ll >&5
  8672. conftest.l: In function 'int yylex()':
  8673. conftest.l:7:21: error: 'input' was not declared in this scope
  8674. yyless ((input () != 0)); }
  8675. ^
  8676. lex.yy.c:185:33: note: in definition of macro 'yyless'
  8677. int yyless_macro_arg = (n); \
  8678. ^
  8679. configure:19630: $? = 1
  8680. configure: failed program was:
  8681. | /* confdefs.h */
  8682. | #define PACKAGE_NAME "OLA"
  8683. | #define PACKAGE_TARNAME "ola"
  8684. | #define PACKAGE_VERSION "0.10.6"
  8685. | #define PACKAGE_STRING "OLA 0.10.6"
  8686. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  8687. | #define PACKAGE_URL ""
  8688. | #define PACKAGE "ola"
  8689. | #define VERSION "0.10.6"
  8690. | #define HAVE_DIRENT_H 1
  8691. | #define HAVE_SYS_TYPES_H 1
  8692. | #define HAVE_NETINET_IN_H 1
  8693. | #define HAVE_ARPA_NAMESER_H 1
  8694. | #define HAVE_NETDB_H 1
  8695. | #define HAVE_RESOLV_H 1
  8696. | #define STDC_HEADERS 1
  8697. | #define HAVE_SYS_TYPES_H 1
  8698. | #define HAVE_SYS_STAT_H 1
  8699. | #define HAVE_STDLIB_H 1
  8700. | #define HAVE_STRING_H 1
  8701. | #define HAVE_MEMORY_H 1
  8702. | #define HAVE_STRINGS_H 1
  8703. | #define HAVE_INTTYPES_H 1
  8704. | #define HAVE_STDINT_H 1
  8705. | #define HAVE_UNISTD_H 1
  8706. | #define HAVE_ERRNO_H 1
  8707. | #define HAVE_ARPA_INET_H 1
  8708. | #define HAVE_BITS_SOCKADDR_H 1
  8709. | #define HAVE_FCNTL_H 1
  8710. | #define HAVE_FLOAT_H 1
  8711. | #define HAVE_LIMITS_H 1
  8712. | #define HAVE_MALLOC_H 1
  8713. | #define HAVE_NETINET_IN_H 1
  8714. | #define HAVE_STDINT_H 1
  8715. | #define HAVE_STDLIB_H 1
  8716. | #define HAVE_STRING_H 1
  8717. | #define HAVE_STRINGS_H 1
  8718. | #define HAVE_SYS_FILE_H 1
  8719. | #define HAVE_SYS_IOCTL_H 1
  8720. | #define HAVE_SYS_SOCKET_H 1
  8721. | #define HAVE_SYS_TIME_H 1
  8722. | #define HAVE_SYS_TIMEB_H 1
  8723. | #define HAVE_SYSLOG_H 1
  8724. | #define HAVE_TERMIOS_H 1
  8725. | #define HAVE_UNISTD_H 1
  8726. | #define HAVE_ASM_TERMIOS_H 1
  8727. | #define HAVE_ASSERT_H 1
  8728. | #define HAVE_DLFCN_H 1
  8729. | #define HAVE_ENDIAN_H 1
  8730. | #define HAVE_EXECINFO_H 1
  8731. | #define HAVE_LINUX_IF_PACKET_H 1
  8732. | #define HAVE_MATH_H 1
  8733. | #define HAVE_NET_ETHERNET_H 1
  8734. | #define HAVE_STROPTS_H 1
  8735. | #define HAVE_SYS_PARAM_H 1
  8736. | #define HAVE_SYS_TYPES_H 1
  8737. | #define HAVE_SYS_UIO_H 1
  8738. | #define HAVE_SYSEXITS_H 1
  8739. | #define HAVE_SYS_SYSCTL_H 1
  8740. | #define HAVE_NET_IF_H 1
  8741. | #define HAVE_NET_IF_ARP_H 1
  8742. | #define HAVE_NET_ROUTE_H 1
  8743. | #define HAVE_NETINET_IF_ETHER_H 1
  8744. | #define HAVE_LINUX_NETLINK_H 1
  8745. | #define HAVE_LINUX_RTNETLINK_H 1
  8746. | #define HAVE_STDBOOL_H 1
  8747. | #define restrict __restrict
  8748. | #define HAVE_HASH_MAP 1
  8749. | #define HAVE_HASH_SET 1
  8750. | #define HAVE_UNORDERED_MAP 1
  8751. | #define HASH_MAP_H <tr1/unordered_map>
  8752. | #define HASH_SET_H <tr1/unordered_set>
  8753. | #define HASH_NAMESPACE std::tr1
  8754. | #define HASH_MAP_CLASS unordered_map
  8755. | #define HASH_SET_CLASS unordered_set
  8756. | #define HAVE_FORK 1
  8757. | #define HAVE_VFORK 1
  8758. | #define HAVE_WORKING_VFORK 1
  8759. | #define HAVE_WORKING_FORK 1
  8760. | #define HAVE_STDLIB_H 1
  8761. | #define HAVE_MALLOC 1
  8762. | #define HAVE_STDLIB_H 1
  8763. | #define HAVE_REALLOC 1
  8764. | #define HAVE_SYS_SELECT_H 1
  8765. | #define HAVE_SYS_SOCKET_H 1
  8766. | #define SELECT_TYPE_ARG1 int
  8767. | #define SELECT_TYPE_ARG234 (fd_set *)
  8768. | #define SELECT_TYPE_ARG5 (struct timeval *)
  8769. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  8770. | #define HAVE_VPRINTF 1
  8771. | #define HAVE_BZERO 1
  8772. | #define HAVE_GETTIMEOFDAY 1
  8773. | #define HAVE_MEMMOVE 1
  8774. | #define HAVE_MEMSET 1
  8775. | #define HAVE_MKDIR 1
  8776. | #define HAVE_STRDUP 1
  8777. | #define HAVE_STRRCHR 1
  8778. | #define HAVE_IF_NAMETOINDEX 1
  8779. | #define HAVE_INET_NTOA 1
  8780. | #define HAVE_INET_NTOP 1
  8781. | #define HAVE_INET_ATON 1
  8782. | #define HAVE_INET_PTON 1
  8783. | #define HAVE_SELECT 1
  8784. | #define HAVE_SOCKET 1
  8785. | #define HAVE_STRERROR 1
  8786. | #define HAVE_GETIFADDRS 1
  8787. | #define HAVE_GETLOADAVG 1
  8788. | #define HAVE_GETPWNAM_R 1
  8789. | #define HAVE_GETPWUID_R 1
  8790. | #define HAVE_GETGRNAM_R 1
  8791. | #define HAVE_GETGRGID_R 1
  8792. | #define HAVE_SECURE_GETENV 1
  8793. | #define HAVE_DLFCN_H 1
  8794. | #define LT_OBJDIR ".libs/"
  8795. | #define HAVE_EPOLL 1
  8796. | #define HAVE_TIME_T 1
  8797. | #define HAVE_SUSECONDS_T 1
  8798. | #define HAVE_DECL_MSG_NOSIGNAL 1
  8799. | #define HAVE_DECL_SO_NOSIGPIPE 0
  8800. | #define HAVE_DECL_PF_ROUTE 1
  8801. | #define HAVE_DECL_NET_RT_DUMP 0
  8802. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  8803. | #define HAVE_DECL_RLIMIT_RTTIME 1
  8804. | #define HAVE_DECL_SO_REUSEADDR 1
  8805. | #define HAVE_DECL_SO_REUSEPORT 1
  8806. | #define HAVE_TERMIOS2 1
  8807. | /* end confdefs.h. */
  8808. |
  8809. | #line 3 "lex.yy.c"
  8810. |
  8811. | #define YY_INT_ALIGNED short int
  8812. |
  8813. | /* A lexical scanner generated by flex */
  8814. |
  8815. | #define FLEX_SCANNER
  8816. | #define YY_FLEX_MAJOR_VERSION 2
  8817. | #define YY_FLEX_MINOR_VERSION 6
  8818. | #define YY_FLEX_SUBMINOR_VERSION 0
  8819. | #if YY_FLEX_SUBMINOR_VERSION > 0
  8820. | #define FLEX_BETA
  8821. | #endif
  8822. |
  8823. | /* First, we deal with platform-specific or compiler-specific issues. */
  8824. |
  8825. | /* begin standard C headers. */
  8826. | #include <stdio.h>
  8827. | #include <string.h>
  8828. | #include <errno.h>
  8829. | #include <stdlib.h>
  8830. |
  8831. | /* end standard C headers. */
  8832. |
  8833. | /* flex integer type definitions */
  8834. |
  8835. | #ifndef FLEXINT_H
  8836. | #define FLEXINT_H
  8837. |
  8838. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  8839. |
  8840. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  8841. |
  8842. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  8843. | * if you want the limit (max/min) macros for int types.
  8844. | */
  8845. | #ifndef __STDC_LIMIT_MACROS
  8846. | #define __STDC_LIMIT_MACROS 1
  8847. | #endif
  8848. |
  8849. | #include <inttypes.h>
  8850. | typedef int8_t flex_int8_t;
  8851. | typedef uint8_t flex_uint8_t;
  8852. | typedef int16_t flex_int16_t;
  8853. | typedef uint16_t flex_uint16_t;
  8854. | typedef int32_t flex_int32_t;
  8855. | typedef uint32_t flex_uint32_t;
  8856. | #else
  8857. | typedef signed char flex_int8_t;
  8858. | typedef short int flex_int16_t;
  8859. | typedef int flex_int32_t;
  8860. | typedef unsigned char flex_uint8_t;
  8861. | typedef unsigned short int flex_uint16_t;
  8862. | typedef unsigned int flex_uint32_t;
  8863. |
  8864. | /* Limits of integral types. */
  8865. | #ifndef INT8_MIN
  8866. | #define INT8_MIN (-128)
  8867. | #endif
  8868. | #ifndef INT16_MIN
  8869. | #define INT16_MIN (-32767-1)
  8870. | #endif
  8871. | #ifndef INT32_MIN
  8872. | #define INT32_MIN (-2147483647-1)
  8873. | #endif
  8874. | #ifndef INT8_MAX
  8875. | #define INT8_MAX (127)
  8876. | #endif
  8877. | #ifndef INT16_MAX
  8878. | #define INT16_MAX (32767)
  8879. | #endif
  8880. | #ifndef INT32_MAX
  8881. | #define INT32_MAX (2147483647)
  8882. | #endif
  8883. | #ifndef UINT8_MAX
  8884. | #define UINT8_MAX (255U)
  8885. | #endif
  8886. | #ifndef UINT16_MAX
  8887. | #define UINT16_MAX (65535U)
  8888. | #endif
  8889. | #ifndef UINT32_MAX
  8890. | #define UINT32_MAX (4294967295U)
  8891. | #endif
  8892. |
  8893. | #endif /* ! C99 */
  8894. |
  8895. | #endif /* ! FLEXINT_H */
  8896. |
  8897. | #ifdef __cplusplus
  8898. |
  8899. | /* The "const" storage-class-modifier is valid. */
  8900. | #define YY_USE_CONST
  8901. |
  8902. | #else /* ! __cplusplus */
  8903. |
  8904. | /* C99 requires __STDC__ to be defined as 1. */
  8905. | #if defined (__STDC__)
  8906. |
  8907. | #define YY_USE_CONST
  8908. |
  8909. | #endif /* defined (__STDC__) */
  8910. | #endif /* ! __cplusplus */
  8911. |
  8912. | #ifdef YY_USE_CONST
  8913. | #define yyconst const
  8914. | #else
  8915. | #define yyconst
  8916. | #endif
  8917. |
  8918. | /* Returned upon end-of-file. */
  8919. | #define YY_NULL 0
  8920. |
  8921. | /* Promotes a possibly negative, possibly signed char to an unsigned
  8922. | * integer for use as an array index. If the signed char is negative,
  8923. | * we want to instead treat it as an 8-bit unsigned char, hence the
  8924. | * double cast.
  8925. | */
  8926. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  8927. |
  8928. | /* Enter a start condition. This macro really ought to take a parameter,
  8929. | * but we do it the disgusting crufty way forced on us by the ()-less
  8930. | * definition of BEGIN.
  8931. | */
  8932. | #define BEGIN (yy_start) = 1 + 2 *
  8933. |
  8934. | /* Translate the current start state into a value that can be later handed
  8935. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  8936. | * compatibility.
  8937. | */
  8938. | #define YY_START (((yy_start) - 1) / 2)
  8939. | #define YYSTATE YY_START
  8940. |
  8941. | /* Action number for EOF rule of a given start state. */
  8942. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  8943. |
  8944. | /* Special action meaning "start processing a new file". */
  8945. | #define YY_NEW_FILE yyrestart(yyin )
  8946. |
  8947. | #define YY_END_OF_BUFFER_CHAR 0
  8948. |
  8949. | /* Size of default input buffer. */
  8950. | #ifndef YY_BUF_SIZE
  8951. | #ifdef __ia64__
  8952. | /* On IA-64, the buffer size is 16k, not 8k.
  8953. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  8954. | * Ditto for the __ia64__ case accordingly.
  8955. | */
  8956. | #define YY_BUF_SIZE 32768
  8957. | #else
  8958. | #define YY_BUF_SIZE 16384
  8959. | #endif /* __ia64__ */
  8960. | #endif
  8961. |
  8962. | /* The state buf must be large enough to hold one state per character in the main buffer.
  8963. | */
  8964. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  8965. |
  8966. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  8967. | #define YY_TYPEDEF_YY_BUFFER_STATE
  8968. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  8969. | #endif
  8970. |
  8971. | #ifndef YY_TYPEDEF_YY_SIZE_T
  8972. | #define YY_TYPEDEF_YY_SIZE_T
  8973. | typedef size_t yy_size_t;
  8974. | #endif
  8975. |
  8976. | extern yy_size_t yyleng;
  8977. |
  8978. | extern FILE *yyin, *yyout;
  8979. |
  8980. | #define EOB_ACT_CONTINUE_SCAN 0
  8981. | #define EOB_ACT_END_OF_FILE 1
  8982. | #define EOB_ACT_LAST_MATCH 2
  8983. |
  8984. | #define YY_LESS_LINENO(n)
  8985. | #define YY_LINENO_REWIND_TO(ptr)
  8986. |
  8987. | /* Return all but the first "n" matched characters back to the input stream. */
  8988. | #define yyless(n) \
  8989. | do \
  8990. | { \
  8991. | /* Undo effects of setting up yytext. */ \
  8992. | int yyless_macro_arg = (n); \
  8993. | YY_LESS_LINENO(yyless_macro_arg);\
  8994. | *yy_cp = (yy_hold_char); \
  8995. | YY_RESTORE_YY_MORE_OFFSET \
  8996. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  8997. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  8998. | } \
  8999. | while ( 0 )
  9000. |
  9001. | #define unput(c) yyunput( c, (yytext_ptr) )
  9002. |
  9003. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  9004. | #define YY_STRUCT_YY_BUFFER_STATE
  9005. | struct yy_buffer_state
  9006. | {
  9007. | FILE *yy_input_file;
  9008. |
  9009. | char *yy_ch_buf; /* input buffer */
  9010. | char *yy_buf_pos; /* current position in input buffer */
  9011. |
  9012. | /* Size of input buffer in bytes, not including room for EOB
  9013. | * characters.
  9014. | */
  9015. | yy_size_t yy_buf_size;
  9016. |
  9017. | /* Number of characters read into yy_ch_buf, not including EOB
  9018. | * characters.
  9019. | */
  9020. | int yy_n_chars;
  9021. |
  9022. | /* Whether we "own" the buffer - i.e., we know we created it,
  9023. | * and can realloc() it to grow it, and should free() it to
  9024. | * delete it.
  9025. | */
  9026. | int yy_is_our_buffer;
  9027. |
  9028. | /* Whether this is an "interactive" input source; if so, and
  9029. | * if we're using stdio for input, then we want to use getc()
  9030. | * instead of fread(), to make sure we stop fetching input after
  9031. | * each newline.
  9032. | */
  9033. | int yy_is_interactive;
  9034. |
  9035. | /* Whether we're considered to be at the beginning of a line.
  9036. | * If so, '^' rules will be active on the next match, otherwise
  9037. | * not.
  9038. | */
  9039. | int yy_at_bol;
  9040. |
  9041. | int yy_bs_lineno; /**< The line count. */
  9042. | int yy_bs_column; /**< The column count. */
  9043. |
  9044. | /* Whether to try to fill the input buffer when we reach the
  9045. | * end of it.
  9046. | */
  9047. | int yy_fill_buffer;
  9048. |
  9049. | int yy_buffer_status;
  9050. |
  9051. | #define YY_BUFFER_NEW 0
  9052. | #define YY_BUFFER_NORMAL 1
  9053. | /* When an EOF's been seen but there's still some text to process
  9054. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  9055. | * shouldn't try reading from the input source any more. We might
  9056. | * still have a bunch of tokens to match, though, because of
  9057. | * possible backing-up.
  9058. | *
  9059. | * When we actually see the EOF, we change the status to "new"
  9060. | * (via yyrestart()), so that the user can continue scanning by
  9061. | * just pointing yyin at a new input file.
  9062. | */
  9063. | #define YY_BUFFER_EOF_PENDING 2
  9064. |
  9065. | };
  9066. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  9067. |
  9068. | /* Stack of input buffers. */
  9069. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  9070. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  9071. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  9072. |
  9073. | /* We provide macros for accessing buffer states in case in the
  9074. | * future we want to put the buffer states in a more general
  9075. | * "scanner state".
  9076. | *
  9077. | * Returns the top of the stack, or NULL.
  9078. | */
  9079. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  9080. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  9081. | : NULL)
  9082. |
  9083. | /* Same as previous macro, but useful when we know that the buffer stack is not
  9084. | * NULL or when we need an lvalue. For internal use only.
  9085. | */
  9086. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  9087. |
  9088. | /* yy_hold_char holds the character lost when yytext is formed. */
  9089. | static char yy_hold_char;
  9090. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  9091. | yy_size_t yyleng;
  9092. |
  9093. | /* Points to current character in buffer. */
  9094. | static char *yy_c_buf_p = (char *) 0;
  9095. | static int yy_init = 0; /* whether we need to initialize */
  9096. | static int yy_start = 0; /* start state number */
  9097. |
  9098. | /* Flag which is used to allow yywrap()'s to do buffer switches
  9099. | * instead of setting up a fresh yyin. A bit of a hack ...
  9100. | */
  9101. | static int yy_did_buffer_switch_on_eof;
  9102. |
  9103. | void yyrestart (FILE *input_file );
  9104. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  9105. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  9106. | void yy_delete_buffer (YY_BUFFER_STATE b );
  9107. | void yy_flush_buffer (YY_BUFFER_STATE b );
  9108. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  9109. | void yypop_buffer_state (void );
  9110. |
  9111. | static void yyensure_buffer_stack (void );
  9112. | static void yy_load_buffer_state (void );
  9113. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  9114. |
  9115. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  9116. |
  9117. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  9118. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  9119. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  9120. |
  9121. | void *yyalloc (yy_size_t );
  9122. | void *yyrealloc (void *,yy_size_t );
  9123. | void yyfree (void * );
  9124. |
  9125. | #define yy_new_buffer yy_create_buffer
  9126. |
  9127. | #define yy_set_interactive(is_interactive) \
  9128. | { \
  9129. | if ( ! YY_CURRENT_BUFFER ){ \
  9130. | yyensure_buffer_stack (); \
  9131. | YY_CURRENT_BUFFER_LVALUE = \
  9132. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  9133. | } \
  9134. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  9135. | }
  9136. |
  9137. | #define yy_set_bol(at_bol) \
  9138. | { \
  9139. | if ( ! YY_CURRENT_BUFFER ){\
  9140. | yyensure_buffer_stack (); \
  9141. | YY_CURRENT_BUFFER_LVALUE = \
  9142. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  9143. | } \
  9144. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  9145. | }
  9146. |
  9147. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  9148. |
  9149. | /* Begin user sect3 */
  9150. |
  9151. | typedef unsigned char YY_CHAR;
  9152. |
  9153. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  9154. |
  9155. | typedef int yy_state_type;
  9156. |
  9157. | extern int yylineno;
  9158. |
  9159. | int yylineno = 1;
  9160. |
  9161. | extern char *yytext;
  9162. | #ifdef yytext_ptr
  9163. | #undef yytext_ptr
  9164. | #endif
  9165. | #define yytext_ptr yytext
  9166. |
  9167. | static yy_state_type yy_get_previous_state (void );
  9168. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  9169. | static int yy_get_next_buffer (void );
  9170. | #if defined(__GNUC__) && __GNUC__ >= 3
  9171. | __attribute__((__noreturn__))
  9172. | #endif
  9173. | static void yy_fatal_error (yyconst char msg[] );
  9174. |
  9175. | /* Done after the current pattern has been matched and before the
  9176. | * corresponding action - sets up yytext.
  9177. | */
  9178. | #define YY_DO_BEFORE_ACTION \
  9179. | (yytext_ptr) = yy_bp; \
  9180. | (yytext_ptr) -= (yy_more_len); \
  9181. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  9182. | (yy_hold_char) = *yy_cp; \
  9183. | *yy_cp = '\0'; \
  9184. | (yy_c_buf_p) = yy_cp;
  9185. |
  9186. | #define YY_NUM_RULES 8
  9187. | #define YY_END_OF_BUFFER 9
  9188. | /* This struct is not used in this scanner,
  9189. | but its presence is necessary. */
  9190. | struct yy_trans_info
  9191. | {
  9192. | flex_int32_t yy_verify;
  9193. | flex_int32_t yy_nxt;
  9194. | };
  9195. | static yyconst flex_int16_t yy_acclist[23] =
  9196. | { 0,
  9197. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  9198. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  9199. | 7, 8
  9200. | } ;
  9201. |
  9202. | static yyconst flex_int16_t yy_accept[14] =
  9203. | { 0,
  9204. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  9205. | 20, 23, 23
  9206. | } ;
  9207. |
  9208. | static yyconst YY_CHAR yy_ec[256] =
  9209. | { 0,
  9210. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  9211. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9212. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9213. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9214. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9215. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9216. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9217. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9218. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9219. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  9220. |
  9221. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  9222. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9223. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9224. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9225. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9226. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9227. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9228. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9229. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9230. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9231. |
  9232. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9233. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9234. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9235. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9236. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9237. | 1, 1, 1, 1, 1
  9238. | } ;
  9239. |
  9240. | static yyconst YY_CHAR yy_meta[9] =
  9241. | { 0,
  9242. | 1, 1, 1, 1, 1, 1, 1, 1
  9243. | } ;
  9244. |
  9245. | static yyconst flex_uint16_t yy_base[13] =
  9246. | { 0,
  9247. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  9248. | 10, 10
  9249. | } ;
  9250. |
  9251. | static yyconst flex_int16_t yy_def[13] =
  9252. | { 0,
  9253. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  9254. | 12, 0
  9255. | } ;
  9256. |
  9257. | static yyconst flex_uint16_t yy_nxt[19] =
  9258. | { 0,
  9259. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  9260. | 12, 12, 12, 12, 12, 12, 12, 12
  9261. | } ;
  9262. |
  9263. | static yyconst flex_int16_t yy_chk[19] =
  9264. | { 0,
  9265. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  9266. | 12, 12, 12, 12, 12, 12, 12, 12
  9267. | } ;
  9268. |
  9269. | extern int yy_flex_debug;
  9270. | int yy_flex_debug = 0;
  9271. |
  9272. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  9273. | static char *yy_full_match;
  9274. | static int yy_lp;
  9275. | #define REJECT \
  9276. | { \
  9277. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  9278. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  9279. | ++(yy_lp); \
  9280. | goto find_rule; \
  9281. | }
  9282. |
  9283. | static int yy_more_flag = 0;
  9284. | static int yy_more_len = 0;
  9285. | #define yymore() ((yy_more_flag) = 1)
  9286. | #define YY_MORE_ADJ (yy_more_len)
  9287. | #define YY_RESTORE_YY_MORE_OFFSET
  9288. | char *yytext;
  9289. | #line 1 "conftest.l"
  9290. | #line 484 "lex.yy.c"
  9291. |
  9292. | #define INITIAL 0
  9293. |
  9294. | #ifndef YY_NO_UNISTD_H
  9295. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  9296. | * down here because we want the user's section 1 to have been scanned first.
  9297. | * The user has a chance to override it with an option.
  9298. | */
  9299. | #include <unistd.h>
  9300. | #endif
  9301. |
  9302. | #ifndef YY_EXTRA_TYPE
  9303. | #define YY_EXTRA_TYPE void *
  9304. | #endif
  9305. |
  9306. | static int yy_init_globals (void );
  9307. |
  9308. | /* Accessor methods to globals.
  9309. | These are made visible to non-reentrant scanners for convenience. */
  9310. |
  9311. | int yylex_destroy (void );
  9312. |
  9313. | int yyget_debug (void );
  9314. |
  9315. | void yyset_debug (int debug_flag );
  9316. |
  9317. | YY_EXTRA_TYPE yyget_extra (void );
  9318. |
  9319. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  9320. |
  9321. | FILE *yyget_in (void );
  9322. |
  9323. | void yyset_in (FILE * _in_str );
  9324. |
  9325. | FILE *yyget_out (void );
  9326. |
  9327. | void yyset_out (FILE * _out_str );
  9328. |
  9329. | yy_size_t yyget_leng (void );
  9330. |
  9331. | char *yyget_text (void );
  9332. |
  9333. | int yyget_lineno (void );
  9334. |
  9335. | void yyset_lineno (int _line_number );
  9336. |
  9337. | /* Macros after this point can all be overridden by user definitions in
  9338. | * section 1.
  9339. | */
  9340. |
  9341. | #ifndef YY_SKIP_YYWRAP
  9342. | #ifdef __cplusplus
  9343. | extern "C" int yywrap (void );
  9344. | #else
  9345. | extern int yywrap (void );
  9346. | #endif
  9347. | #endif
  9348. |
  9349. | #ifndef YY_NO_UNPUT
  9350. |
  9351. | static void yyunput (int c,char *buf_ptr );
  9352. |
  9353. | #endif
  9354. |
  9355. | #ifndef yytext_ptr
  9356. | static void yy_flex_strncpy (char *,yyconst char *,int );
  9357. | #endif
  9358. |
  9359. | #ifdef YY_NEED_STRLEN
  9360. | static int yy_flex_strlen (yyconst char * );
  9361. | #endif
  9362. |
  9363. | #ifndef YY_NO_INPUT
  9364. |
  9365. | #ifdef __cplusplus
  9366. | static int yyinput (void );
  9367. | #else
  9368. | static int input (void );
  9369. | #endif
  9370. |
  9371. | #endif
  9372. |
  9373. | /* Amount of stuff to slurp up with each read. */
  9374. | #ifndef YY_READ_BUF_SIZE
  9375. | #ifdef __ia64__
  9376. | /* On IA-64, the buffer size is 16k, not 8k */
  9377. | #define YY_READ_BUF_SIZE 16384
  9378. | #else
  9379. | #define YY_READ_BUF_SIZE 8192
  9380. | #endif /* __ia64__ */
  9381. | #endif
  9382. |
  9383. | /* Copy whatever the last rule matched to the standard output. */
  9384. | #ifndef ECHO
  9385. | /* This used to be an fputs(), but since the string might contain NUL's,
  9386. | * we now use fwrite().
  9387. | */
  9388. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  9389. | #endif
  9390. |
  9391. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  9392. | * is returned in "result".
  9393. | */
  9394. | #ifndef YY_INPUT
  9395. | #define YY_INPUT(buf,result,max_size) \
  9396. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  9397. | { \
  9398. | int c = '*'; \
  9399. | size_t n; \
  9400. | for ( n = 0; n < max_size && \
  9401. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  9402. | buf[n] = (char) c; \
  9403. | if ( c == '\n' ) \
  9404. | buf[n++] = (char) c; \
  9405. | if ( c == EOF && ferror( yyin ) ) \
  9406. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  9407. | result = n; \
  9408. | } \
  9409. | else \
  9410. | { \
  9411. | errno=0; \
  9412. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  9413. | { \
  9414. | if( errno != EINTR) \
  9415. | { \
  9416. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  9417. | break; \
  9418. | } \
  9419. | errno=0; \
  9420. | clearerr(yyin); \
  9421. | } \
  9422. | }\
  9423. | \
  9424. |
  9425. | #endif
  9426. |
  9427. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  9428. | * we don't want an extra ';' after the "return" because that will cause
  9429. | * some compilers to complain about unreachable statements.
  9430. | */
  9431. | #ifndef yyterminate
  9432. | #define yyterminate() return YY_NULL
  9433. | #endif
  9434. |
  9435. | /* Number of entries by which start-condition stack grows. */
  9436. | #ifndef YY_START_STACK_INCR
  9437. | #define YY_START_STACK_INCR 25
  9438. | #endif
  9439. |
  9440. | /* Report a fatal error. */
  9441. | #ifndef YY_FATAL_ERROR
  9442. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  9443. | #endif
  9444. |
  9445. | /* end tables serialization structures and prototypes */
  9446. |
  9447. | /* Default declaration of generated scanner - a define so the user can
  9448. | * easily add parameters.
  9449. | */
  9450. | #ifndef YY_DECL
  9451. | #define YY_DECL_IS_OURS 1
  9452. |
  9453. | extern int yylex (void);
  9454. |
  9455. | #define YY_DECL int yylex (void)
  9456. | #endif /* !YY_DECL */
  9457. |
  9458. | /* Code executed at the beginning of each rule, after yytext and yyleng
  9459. | * have been set up.
  9460. | */
  9461. | #ifndef YY_USER_ACTION
  9462. | #define YY_USER_ACTION
  9463. | #endif
  9464. |
  9465. | /* Code executed at the end of each rule. */
  9466. | #ifndef YY_BREAK
  9467. | #define YY_BREAK /*LINTED*/break;
  9468. | #endif
  9469. |
  9470. | #define YY_RULE_SETUP \
  9471. | YY_USER_ACTION
  9472. |
  9473. | /** The main scanner function which does all the work.
  9474. | */
  9475. | YY_DECL
  9476. | {
  9477. | yy_state_type yy_current_state;
  9478. | char *yy_cp, *yy_bp;
  9479. | int yy_act;
  9480. |
  9481. | if ( !(yy_init) )
  9482. | {
  9483. | (yy_init) = 1;
  9484. |
  9485. | #ifdef YY_USER_INIT
  9486. | YY_USER_INIT;
  9487. | #endif
  9488. |
  9489. | /* Create the reject buffer large enough to save one state per allowed character. */
  9490. | if ( ! (yy_state_buf) )
  9491. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  9492. | if ( ! (yy_state_buf) )
  9493. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  9494. |
  9495. | if ( ! (yy_start) )
  9496. | (yy_start) = 1; /* first start state */
  9497. |
  9498. | if ( ! yyin )
  9499. | yyin = stdin;
  9500. |
  9501. | if ( ! yyout )
  9502. | yyout = stdout;
  9503. |
  9504. | if ( ! YY_CURRENT_BUFFER ) {
  9505. | yyensure_buffer_stack ();
  9506. | YY_CURRENT_BUFFER_LVALUE =
  9507. | yy_create_buffer(yyin,YY_BUF_SIZE );
  9508. | }
  9509. |
  9510. | yy_load_buffer_state( );
  9511. | }
  9512. |
  9513. | {
  9514. | #line 1 "conftest.l"
  9515. |
  9516. | #line 710 "lex.yy.c"
  9517. |
  9518. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  9519. | {
  9520. | (yy_more_len) = 0;
  9521. | if ( (yy_more_flag) )
  9522. | {
  9523. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  9524. | (yy_more_flag) = 0;
  9525. | }
  9526. | yy_cp = (yy_c_buf_p);
  9527. |
  9528. | /* Support of yytext. */
  9529. | *yy_cp = (yy_hold_char);
  9530. |
  9531. | /* yy_bp points to the position in yy_ch_buf of the start of
  9532. | * the current run.
  9533. | */
  9534. | yy_bp = yy_cp;
  9535. |
  9536. | yy_current_state = (yy_start);
  9537. |
  9538. | (yy_state_ptr) = (yy_state_buf);
  9539. | *(yy_state_ptr)++ = yy_current_state;
  9540. |
  9541. | yy_match:
  9542. | do
  9543. | {
  9544. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  9545. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  9546. | {
  9547. | yy_current_state = (int) yy_def[yy_current_state];
  9548. | if ( yy_current_state >= 13 )
  9549. | yy_c = yy_meta[(unsigned int) yy_c];
  9550. | }
  9551. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  9552. | *(yy_state_ptr)++ = yy_current_state;
  9553. | ++yy_cp;
  9554. | }
  9555. | while ( yy_base[yy_current_state] != 10 );
  9556. |
  9557. | yy_find_action:
  9558. | yy_current_state = *--(yy_state_ptr);
  9559. | (yy_lp) = yy_accept[yy_current_state];
  9560. | find_rule: /* we branch to this label when backing up */
  9561. | for ( ; ; ) /* until we find what rule we matched */
  9562. | {
  9563. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  9564. | {
  9565. | yy_act = yy_acclist[(yy_lp)];
  9566. | {
  9567. | (yy_full_match) = yy_cp;
  9568. | break;
  9569. | }
  9570. | }
  9571. | --yy_cp;
  9572. | yy_current_state = *--(yy_state_ptr);
  9573. | (yy_lp) = yy_accept[yy_current_state];
  9574. | }
  9575. |
  9576. | YY_DO_BEFORE_ACTION;
  9577. |
  9578. | do_action: /* This label is used only to access EOF actions. */
  9579. |
  9580. | switch ( yy_act )
  9581. | { /* beginning of action switch */
  9582. | case 1:
  9583. | YY_RULE_SETUP
  9584. | #line 2 "conftest.l"
  9585. | { ECHO; }
  9586. | YY_BREAK
  9587. | case 2:
  9588. | YY_RULE_SETUP
  9589. | #line 3 "conftest.l"
  9590. | { REJECT; }
  9591. | YY_BREAK
  9592. | case 3:
  9593. | YY_RULE_SETUP
  9594. | #line 4 "conftest.l"
  9595. | { yymore (); }
  9596. | YY_BREAK
  9597. | case 4:
  9598. | YY_RULE_SETUP
  9599. | #line 5 "conftest.l"
  9600. | { yyless (1); }
  9601. | YY_BREAK
  9602. | case 5:
  9603. | YY_RULE_SETUP
  9604. | #line 6 "conftest.l"
  9605. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  9606. | yyless ((input () != 0)); }
  9607. | YY_BREAK
  9608. | case 6:
  9609. | YY_RULE_SETUP
  9610. | #line 8 "conftest.l"
  9611. | { unput (yytext[0]); }
  9612. | YY_BREAK
  9613. | case 7:
  9614. | YY_RULE_SETUP
  9615. | #line 9 "conftest.l"
  9616. | { BEGIN INITIAL; }
  9617. | YY_BREAK
  9618. | case 8:
  9619. | YY_RULE_SETUP
  9620. | #line 10 "conftest.l"
  9621. | ECHO;
  9622. | YY_BREAK
  9623. | #line 817 "lex.yy.c"
  9624. | case YY_STATE_EOF(INITIAL):
  9625. | yyterminate();
  9626. |
  9627. | case YY_END_OF_BUFFER:
  9628. | {
  9629. | /* Amount of text matched not including the EOB char. */
  9630. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  9631. |
  9632. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  9633. | *yy_cp = (yy_hold_char);
  9634. | YY_RESTORE_YY_MORE_OFFSET
  9635. |
  9636. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  9637. | {
  9638. | /* We're scanning a new file or input source. It's
  9639. | * possible that this happened because the user
  9640. | * just pointed yyin at a new source and called
  9641. | * yylex(). If so, then we have to assure
  9642. | * consistency between YY_CURRENT_BUFFER and our
  9643. | * globals. Here is the right place to do so, because
  9644. | * this is the first action (other than possibly a
  9645. | * back-up) that will match for the new input source.
  9646. | */
  9647. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  9648. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  9649. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  9650. | }
  9651. |
  9652. | /* Note that here we test for yy_c_buf_p "<=" to the position
  9653. | * of the first EOB in the buffer, since yy_c_buf_p will
  9654. | * already have been incremented past the NUL character
  9655. | * (since all states make transitions on EOB to the
  9656. | * end-of-buffer state). Contrast this with the test
  9657. | * in input().
  9658. | */
  9659. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  9660. | { /* This was really a NUL. */
  9661. | yy_state_type yy_next_state;
  9662. |
  9663. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  9664. |
  9665. | yy_current_state = yy_get_previous_state( );
  9666. |
  9667. | /* Okay, we're now positioned to make the NUL
  9668. | * transition. We couldn't have
  9669. | * yy_get_previous_state() go ahead and do it
  9670. | * for us because it doesn't know how to deal
  9671. | * with the possibility of jamming (and we don't
  9672. | * want to build jamming into it because then it
  9673. | * will run more slowly).
  9674. | */
  9675. |
  9676. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  9677. |
  9678. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  9679. |
  9680. | if ( yy_next_state )
  9681. | {
  9682. | /* Consume the NUL. */
  9683. | yy_cp = ++(yy_c_buf_p);
  9684. | yy_current_state = yy_next_state;
  9685. | goto yy_match;
  9686. | }
  9687. |
  9688. | else
  9689. | {
  9690. | yy_cp = (yy_c_buf_p);
  9691. | goto yy_find_action;
  9692. | }
  9693. | }
  9694. |
  9695. | else switch ( yy_get_next_buffer( ) )
  9696. | {
  9697. | case EOB_ACT_END_OF_FILE:
  9698. | {
  9699. | (yy_did_buffer_switch_on_eof) = 0;
  9700. |
  9701. | if ( yywrap( ) )
  9702. | {
  9703. | /* Note: because we've taken care in
  9704. | * yy_get_next_buffer() to have set up
  9705. | * yytext, we can now set up
  9706. | * yy_c_buf_p so that if some total
  9707. | * hoser (like flex itself) wants to
  9708. | * call the scanner after we return the
  9709. | * YY_NULL, it'll still work - another
  9710. | * YY_NULL will get returned.
  9711. | */
  9712. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  9713. |
  9714. | yy_act = YY_STATE_EOF(YY_START);
  9715. | goto do_action;
  9716. | }
  9717. |
  9718. | else
  9719. | {
  9720. | if ( ! (yy_did_buffer_switch_on_eof) )
  9721. | YY_NEW_FILE;
  9722. | }
  9723. | break;
  9724. | }
  9725. |
  9726. | case EOB_ACT_CONTINUE_SCAN:
  9727. | (yy_c_buf_p) =
  9728. | (yytext_ptr) + yy_amount_of_matched_text;
  9729. |
  9730. | yy_current_state = yy_get_previous_state( );
  9731. |
  9732. | yy_cp = (yy_c_buf_p);
  9733. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  9734. | goto yy_match;
  9735. |
  9736. | case EOB_ACT_LAST_MATCH:
  9737. | (yy_c_buf_p) =
  9738. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  9739. |
  9740. | yy_current_state = yy_get_previous_state( );
  9741. |
  9742. | yy_cp = (yy_c_buf_p);
  9743. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  9744. | goto yy_find_action;
  9745. | }
  9746. | break;
  9747. | }
  9748. |
  9749. | default:
  9750. | YY_FATAL_ERROR(
  9751. | "fatal flex scanner internal error--no action found" );
  9752. | } /* end of action switch */
  9753. | } /* end of scanning one token */
  9754. | } /* end of user's declarations */
  9755. | } /* end of yylex */
  9756. |
  9757. | /* yy_get_next_buffer - try to read in a new buffer
  9758. | *
  9759. | * Returns a code representing an action:
  9760. | * EOB_ACT_LAST_MATCH -
  9761. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  9762. | * EOB_ACT_END_OF_FILE - end of file
  9763. | */
  9764. | static int yy_get_next_buffer (void)
  9765. | {
  9766. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  9767. | char *source = (yytext_ptr);
  9768. | yy_size_t number_to_move, i;
  9769. | int ret_val;
  9770. |
  9771. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  9772. | YY_FATAL_ERROR(
  9773. | "fatal flex scanner internal error--end of buffer missed" );
  9774. |
  9775. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  9776. | { /* Don't try to fill the buffer, so this is an EOF. */
  9777. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  9778. | {
  9779. | /* We matched a single character, the EOB, so
  9780. | * treat this as a final EOF.
  9781. | */
  9782. | return EOB_ACT_END_OF_FILE;
  9783. | }
  9784. |
  9785. | else
  9786. | {
  9787. | /* We matched some text prior to the EOB, first
  9788. | * process it.
  9789. | */
  9790. | return EOB_ACT_LAST_MATCH;
  9791. | }
  9792. | }
  9793. |
  9794. | /* Try to read more data. */
  9795. |
  9796. | /* First move last chars to start of buffer. */
  9797. | number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  9798. |
  9799. | for ( i = 0; i < number_to_move; ++i )
  9800. | *(dest++) = *(source++);
  9801. |
  9802. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  9803. | /* don't do the read, it's not guaranteed to return an EOF,
  9804. | * just force an EOF
  9805. | */
  9806. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  9807. |
  9808. | else
  9809. | {
  9810. | yy_size_t num_to_read =
  9811. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  9812. |
  9813. | while ( num_to_read <= 0 )
  9814. | { /* Not enough room in the buffer - grow it. */
  9815. |
  9816. | YY_FATAL_ERROR(
  9817. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  9818. |
  9819. | }
  9820. |
  9821. | if ( num_to_read > YY_READ_BUF_SIZE )
  9822. | num_to_read = YY_READ_BUF_SIZE;
  9823. |
  9824. | /* Read in more data. */
  9825. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  9826. | (yy_n_chars), num_to_read );
  9827. |
  9828. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  9829. | }
  9830. |
  9831. | if ( (yy_n_chars) == 0 )
  9832. | {
  9833. | if ( number_to_move == YY_MORE_ADJ )
  9834. | {
  9835. | ret_val = EOB_ACT_END_OF_FILE;
  9836. | yyrestart(yyin );
  9837. | }
  9838. |
  9839. | else
  9840. | {
  9841. | ret_val = EOB_ACT_LAST_MATCH;
  9842. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  9843. | YY_BUFFER_EOF_PENDING;
  9844. | }
  9845. | }
  9846. |
  9847. | else
  9848. | ret_val = EOB_ACT_CONTINUE_SCAN;
  9849. |
  9850. | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  9851. | /* Extend the array by 50%, plus the number we really need. */
  9852. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  9853. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  9854. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  9855. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  9856. | }
  9857. |
  9858. | (yy_n_chars) += number_to_move;
  9859. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  9860. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  9861. |
  9862. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  9863. |
  9864. | return ret_val;
  9865. | }
  9866. |
  9867. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  9868. |
  9869. | static yy_state_type yy_get_previous_state (void)
  9870. | {
  9871. | yy_state_type yy_current_state;
  9872. | char *yy_cp;
  9873. |
  9874. | yy_current_state = (yy_start);
  9875. |
  9876. | (yy_state_ptr) = (yy_state_buf);
  9877. | *(yy_state_ptr)++ = yy_current_state;
  9878. |
  9879. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  9880. | {
  9881. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  9882. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  9883. | {
  9884. | yy_current_state = (int) yy_def[yy_current_state];
  9885. | if ( yy_current_state >= 13 )
  9886. | yy_c = yy_meta[(unsigned int) yy_c];
  9887. | }
  9888. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  9889. | *(yy_state_ptr)++ = yy_current_state;
  9890. | }
  9891. |
  9892. | return yy_current_state;
  9893. | }
  9894. |
  9895. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  9896. | *
  9897. | * synopsis
  9898. | * next_state = yy_try_NUL_trans( current_state );
  9899. | */
  9900. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  9901. | {
  9902. | int yy_is_jam;
  9903. |
  9904. | YY_CHAR yy_c = 1;
  9905. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  9906. | {
  9907. | yy_current_state = (int) yy_def[yy_current_state];
  9908. | if ( yy_current_state >= 13 )
  9909. | yy_c = yy_meta[(unsigned int) yy_c];
  9910. | }
  9911. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  9912. | yy_is_jam = (yy_current_state == 12);
  9913. | if ( ! yy_is_jam )
  9914. | *(yy_state_ptr)++ = yy_current_state;
  9915. |
  9916. | return yy_is_jam ? 0 : yy_current_state;
  9917. | }
  9918. |
  9919. | #ifndef YY_NO_UNPUT
  9920. |
  9921. | static void yyunput (int c, char * yy_bp )
  9922. | {
  9923. | char *yy_cp;
  9924. |
  9925. | yy_cp = (yy_c_buf_p);
  9926. |
  9927. | /* undo effects of setting up yytext */
  9928. | *yy_cp = (yy_hold_char);
  9929. |
  9930. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  9931. | { /* need to shift things up to make room */
  9932. | /* +2 for EOB chars. */
  9933. | yy_size_t number_to_move = (yy_n_chars) + 2;
  9934. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  9935. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  9936. | char *source =
  9937. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  9938. |
  9939. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  9940. | *--dest = *--source;
  9941. |
  9942. | yy_cp += (int) (dest - source);
  9943. | yy_bp += (int) (dest - source);
  9944. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  9945. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  9946. |
  9947. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  9948. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  9949. | }
  9950. |
  9951. | *--yy_cp = (char) c;
  9952. |
  9953. | (yytext_ptr) = yy_bp;
  9954. | (yy_hold_char) = *yy_cp;
  9955. | (yy_c_buf_p) = yy_cp;
  9956. | }
  9957. |
  9958. | #endif
  9959. |
  9960. | #ifndef YY_NO_INPUT
  9961. | #ifdef __cplusplus
  9962. | static int yyinput (void)
  9963. | #else
  9964. | static int input (void)
  9965. | #endif
  9966. |
  9967. | {
  9968. | int c;
  9969. |
  9970. | *(yy_c_buf_p) = (yy_hold_char);
  9971. |
  9972. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  9973. | {
  9974. | /* yy_c_buf_p now points to the character we want to return.
  9975. | * If this occurs *before* the EOB characters, then it's a
  9976. | * valid NUL; if not, then we've hit the end of the buffer.
  9977. | */
  9978. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  9979. | /* This was really a NUL. */
  9980. | *(yy_c_buf_p) = '\0';
  9981. |
  9982. | else
  9983. | { /* need more input */
  9984. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  9985. | ++(yy_c_buf_p);
  9986. |
  9987. | switch ( yy_get_next_buffer( ) )
  9988. | {
  9989. | case EOB_ACT_LAST_MATCH:
  9990. | /* This happens because yy_g_n_b()
  9991. | * sees that we've accumulated a
  9992. | * token and flags that we need to
  9993. | * try matching the token before
  9994. | * proceeding. But for input(),
  9995. | * there's no matching to consider.
  9996. | * So convert the EOB_ACT_LAST_MATCH
  9997. | * to EOB_ACT_END_OF_FILE.
  9998. | */
  9999. |
  10000. | /* Reset buffer status. */
  10001. | yyrestart(yyin );
  10002. |
  10003. | /*FALLTHROUGH*/
  10004. |
  10005. | case EOB_ACT_END_OF_FILE:
  10006. | {
  10007. | if ( yywrap( ) )
  10008. | return EOF;
  10009. |
  10010. | if ( ! (yy_did_buffer_switch_on_eof) )
  10011. | YY_NEW_FILE;
  10012. | #ifdef __cplusplus
  10013. | return yyinput();
  10014. | #else
  10015. | return input();
  10016. | #endif
  10017. | }
  10018. |
  10019. | case EOB_ACT_CONTINUE_SCAN:
  10020. | (yy_c_buf_p) = (yytext_ptr) + offset;
  10021. | break;
  10022. | }
  10023. | }
  10024. | }
  10025. |
  10026. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  10027. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  10028. | (yy_hold_char) = *++(yy_c_buf_p);
  10029. |
  10030. | return c;
  10031. | }
  10032. | #endif /* ifndef YY_NO_INPUT */
  10033. |
  10034. | /** Immediately switch to a different input stream.
  10035. | * @param input_file A readable stream.
  10036. | *
  10037. | * @note This function does not reset the start condition to @c INITIAL .
  10038. | */
  10039. | void yyrestart (FILE * input_file )
  10040. | {
  10041. |
  10042. | if ( ! YY_CURRENT_BUFFER ){
  10043. | yyensure_buffer_stack ();
  10044. | YY_CURRENT_BUFFER_LVALUE =
  10045. | yy_create_buffer(yyin,YY_BUF_SIZE );
  10046. | }
  10047. |
  10048. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  10049. | yy_load_buffer_state( );
  10050. | }
  10051. |
  10052. | /** Switch to a different input buffer.
  10053. | * @param new_buffer The new input buffer.
  10054. | *
  10055. | */
  10056. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  10057. | {
  10058. |
  10059. | /* TODO. We should be able to replace this entire function body
  10060. | * with
  10061. | * yypop_buffer_state();
  10062. | * yypush_buffer_state(new_buffer);
  10063. | */
  10064. | yyensure_buffer_stack ();
  10065. | if ( YY_CURRENT_BUFFER == new_buffer )
  10066. | return;
  10067. |
  10068. | if ( YY_CURRENT_BUFFER )
  10069. | {
  10070. | /* Flush out information for old buffer. */
  10071. | *(yy_c_buf_p) = (yy_hold_char);
  10072. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  10073. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  10074. | }
  10075. |
  10076. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  10077. | yy_load_buffer_state( );
  10078. |
  10079. | /* We don't actually know whether we did this switch during
  10080. | * EOF (yywrap()) processing, but the only time this flag
  10081. | * is looked at is after yywrap() is called, so it's safe
  10082. | * to go ahead and always set it.
  10083. | */
  10084. | (yy_did_buffer_switch_on_eof) = 1;
  10085. | }
  10086. |
  10087. | static void yy_load_buffer_state (void)
  10088. | {
  10089. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  10090. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  10091. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  10092. | (yy_hold_char) = *(yy_c_buf_p);
  10093. | }
  10094. |
  10095. | /** Allocate and initialize an input buffer state.
  10096. | * @param file A readable stream.
  10097. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  10098. | *
  10099. | * @return the allocated buffer state.
  10100. | */
  10101. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  10102. | {
  10103. | YY_BUFFER_STATE b;
  10104. |
  10105. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  10106. | if ( ! b )
  10107. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  10108. |
  10109. | b->yy_buf_size = (yy_size_t)size;
  10110. |
  10111. | /* yy_ch_buf has to be 2 characters longer than the size given because
  10112. | * we need to put in 2 end-of-buffer characters.
  10113. | */
  10114. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  10115. | if ( ! b->yy_ch_buf )
  10116. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  10117. |
  10118. | b->yy_is_our_buffer = 1;
  10119. |
  10120. | yy_init_buffer(b,file );
  10121. |
  10122. | return b;
  10123. | }
  10124. |
  10125. | /** Destroy the buffer.
  10126. | * @param b a buffer created with yy_create_buffer()
  10127. | *
  10128. | */
  10129. | void yy_delete_buffer (YY_BUFFER_STATE b )
  10130. | {
  10131. |
  10132. | if ( ! b )
  10133. | return;
  10134. |
  10135. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  10136. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  10137. |
  10138. | if ( b->yy_is_our_buffer )
  10139. | yyfree((void *) b->yy_ch_buf );
  10140. |
  10141. | yyfree((void *) b );
  10142. | }
  10143. |
  10144. | /* Initializes or reinitializes a buffer.
  10145. | * This function is sometimes called more than once on the same buffer,
  10146. | * such as during a yyrestart() or at EOF.
  10147. | */
  10148. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  10149. |
  10150. | {
  10151. | int oerrno = errno;
  10152. |
  10153. | yy_flush_buffer(b );
  10154. |
  10155. | b->yy_input_file = file;
  10156. | b->yy_fill_buffer = 1;
  10157. |
  10158. | /* If b is the current buffer, then yy_init_buffer was _probably_
  10159. | * called from yyrestart() or through yy_get_next_buffer.
  10160. | * In that case, we don't want to reset the lineno or column.
  10161. | */
  10162. | if (b != YY_CURRENT_BUFFER){
  10163. | b->yy_bs_lineno = 1;
  10164. | b->yy_bs_column = 0;
  10165. | }
  10166. |
  10167. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  10168. |
  10169. | errno = oerrno;
  10170. | }
  10171. |
  10172. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  10173. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  10174. | *
  10175. | */
  10176. | void yy_flush_buffer (YY_BUFFER_STATE b )
  10177. | {
  10178. | if ( ! b )
  10179. | return;
  10180. |
  10181. | b->yy_n_chars = 0;
  10182. |
  10183. | /* We always need two end-of-buffer characters. The first causes
  10184. | * a transition to the end-of-buffer state. The second causes
  10185. | * a jam in that state.
  10186. | */
  10187. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  10188. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  10189. |
  10190. | b->yy_buf_pos = &b->yy_ch_buf[0];
  10191. |
  10192. | b->yy_at_bol = 1;
  10193. | b->yy_buffer_status = YY_BUFFER_NEW;
  10194. |
  10195. | if ( b == YY_CURRENT_BUFFER )
  10196. | yy_load_buffer_state( );
  10197. | }
  10198. |
  10199. | /** Pushes the new state onto the stack. The new state becomes
  10200. | * the current state. This function will allocate the stack
  10201. | * if necessary.
  10202. | * @param new_buffer The new state.
  10203. | *
  10204. | */
  10205. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  10206. | {
  10207. | if (new_buffer == NULL)
  10208. | return;
  10209. |
  10210. | yyensure_buffer_stack();
  10211. |
  10212. | /* This block is copied from yy_switch_to_buffer. */
  10213. | if ( YY_CURRENT_BUFFER )
  10214. | {
  10215. | /* Flush out information for old buffer. */
  10216. | *(yy_c_buf_p) = (yy_hold_char);
  10217. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  10218. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  10219. | }
  10220. |
  10221. | /* Only push if top exists. Otherwise, replace top. */
  10222. | if (YY_CURRENT_BUFFER)
  10223. | (yy_buffer_stack_top)++;
  10224. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  10225. |
  10226. | /* copied from yy_switch_to_buffer. */
  10227. | yy_load_buffer_state( );
  10228. | (yy_did_buffer_switch_on_eof) = 1;
  10229. | }
  10230. |
  10231. | /** Removes and deletes the top of the stack, if present.
  10232. | * The next element becomes the new top.
  10233. | *
  10234. | */
  10235. | void yypop_buffer_state (void)
  10236. | {
  10237. | if (!YY_CURRENT_BUFFER)
  10238. | return;
  10239. |
  10240. | yy_delete_buffer(YY_CURRENT_BUFFER );
  10241. | YY_CURRENT_BUFFER_LVALUE = NULL;
  10242. | if ((yy_buffer_stack_top) > 0)
  10243. | --(yy_buffer_stack_top);
  10244. |
  10245. | if (YY_CURRENT_BUFFER) {
  10246. | yy_load_buffer_state( );
  10247. | (yy_did_buffer_switch_on_eof) = 1;
  10248. | }
  10249. | }
  10250. |
  10251. | /* Allocates the stack if it does not exist.
  10252. | * Guarantees space for at least one push.
  10253. | */
  10254. | static void yyensure_buffer_stack (void)
  10255. | {
  10256. | yy_size_t num_to_alloc;
  10257. |
  10258. | if (!(yy_buffer_stack)) {
  10259. |
  10260. | /* First allocation is just for 2 elements, since we don't know if this
  10261. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  10262. | * immediate realloc on the next call.
  10263. | */
  10264. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  10265. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  10266. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  10267. | );
  10268. | if ( ! (yy_buffer_stack) )
  10269. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  10270. |
  10271. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  10272. |
  10273. | (yy_buffer_stack_max) = num_to_alloc;
  10274. | (yy_buffer_stack_top) = 0;
  10275. | return;
  10276. | }
  10277. |
  10278. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  10279. |
  10280. | /* Increase the buffer to prepare for a possible push. */
  10281. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  10282. |
  10283. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  10284. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  10285. | ((yy_buffer_stack),
  10286. | num_to_alloc * sizeof(struct yy_buffer_state*)
  10287. | );
  10288. | if ( ! (yy_buffer_stack) )
  10289. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  10290. |
  10291. | /* zero only the new slots.*/
  10292. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  10293. | (yy_buffer_stack_max) = num_to_alloc;
  10294. | }
  10295. | }
  10296. |
  10297. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  10298. | * @param base the character buffer
  10299. | * @param size the size in bytes of the character buffer
  10300. | *
  10301. | * @return the newly allocated buffer state object.
  10302. | */
  10303. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  10304. | {
  10305. | YY_BUFFER_STATE b;
  10306. |
  10307. | if ( size < 2 ||
  10308. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  10309. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  10310. | /* They forgot to leave room for the EOB's. */
  10311. | return 0;
  10312. |
  10313. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  10314. | if ( ! b )
  10315. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  10316. |
  10317. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  10318. | b->yy_buf_pos = b->yy_ch_buf = base;
  10319. | b->yy_is_our_buffer = 0;
  10320. | b->yy_input_file = 0;
  10321. | b->yy_n_chars = b->yy_buf_size;
  10322. | b->yy_is_interactive = 0;
  10323. | b->yy_at_bol = 1;
  10324. | b->yy_fill_buffer = 0;
  10325. | b->yy_buffer_status = YY_BUFFER_NEW;
  10326. |
  10327. | yy_switch_to_buffer(b );
  10328. |
  10329. | return b;
  10330. | }
  10331. |
  10332. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  10333. | * scan from a @e copy of @a str.
  10334. | * @param yystr a NUL-terminated string to scan
  10335. | *
  10336. | * @return the newly allocated buffer state object.
  10337. | * @note If you want to scan bytes that may contain NUL values, then use
  10338. | * yy_scan_bytes() instead.
  10339. | */
  10340. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  10341. | {
  10342. |
  10343. | return yy_scan_bytes(yystr,strlen(yystr) );
  10344. | }
  10345. |
  10346. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  10347. | * scan from a @e copy of @a bytes.
  10348. | * @param yybytes the byte buffer to scan
  10349. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  10350. | *
  10351. | * @return the newly allocated buffer state object.
  10352. | */
  10353. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  10354. | {
  10355. | YY_BUFFER_STATE b;
  10356. | char *buf;
  10357. | yy_size_t n;
  10358. | yy_size_t i;
  10359. |
  10360. | /* Get memory for full buffer, including space for trailing EOB's. */
  10361. | n = _yybytes_len + 2;
  10362. | buf = (char *) yyalloc(n );
  10363. | if ( ! buf )
  10364. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  10365. |
  10366. | for ( i = 0; i < _yybytes_len; ++i )
  10367. | buf[i] = yybytes[i];
  10368. |
  10369. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  10370. |
  10371. | b = yy_scan_buffer(buf,n );
  10372. | if ( ! b )
  10373. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  10374. |
  10375. | /* It's okay to grow etc. this buffer, and we should throw it
  10376. | * away when we're done.
  10377. | */
  10378. | b->yy_is_our_buffer = 1;
  10379. |
  10380. | return b;
  10381. | }
  10382. |
  10383. | #ifndef YY_EXIT_FAILURE
  10384. | #define YY_EXIT_FAILURE 2
  10385. | #endif
  10386. |
  10387. | static void yy_fatal_error (yyconst char* msg )
  10388. | {
  10389. | (void) fprintf( stderr, "%s\n", msg );
  10390. | exit( YY_EXIT_FAILURE );
  10391. | }
  10392. |
  10393. | /* Redefine yyless() so it works in section 3 code. */
  10394. |
  10395. | #undef yyless
  10396. | #define yyless(n) \
  10397. | do \
  10398. | { \
  10399. | /* Undo effects of setting up yytext. */ \
  10400. | int yyless_macro_arg = (n); \
  10401. | YY_LESS_LINENO(yyless_macro_arg);\
  10402. | yytext[yyleng] = (yy_hold_char); \
  10403. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  10404. | (yy_hold_char) = *(yy_c_buf_p); \
  10405. | *(yy_c_buf_p) = '\0'; \
  10406. | yyleng = yyless_macro_arg; \
  10407. | } \
  10408. | while ( 0 )
  10409. |
  10410. | /* Accessor methods (get/set functions) to struct members. */
  10411. |
  10412. | /** Get the current line number.
  10413. | *
  10414. | */
  10415. | int yyget_lineno (void)
  10416. | {
  10417. |
  10418. | return yylineno;
  10419. | }
  10420. |
  10421. | /** Get the input stream.
  10422. | *
  10423. | */
  10424. | FILE *yyget_in (void)
  10425. | {
  10426. | return yyin;
  10427. | }
  10428. |
  10429. | /** Get the output stream.
  10430. | *
  10431. | */
  10432. | FILE *yyget_out (void)
  10433. | {
  10434. | return yyout;
  10435. | }
  10436. |
  10437. | /** Get the length of the current token.
  10438. | *
  10439. | */
  10440. | yy_size_t yyget_leng (void)
  10441. | {
  10442. | return yyleng;
  10443. | }
  10444. |
  10445. | /** Get the current token.
  10446. | *
  10447. | */
  10448. |
  10449. | char *yyget_text (void)
  10450. | {
  10451. | return yytext;
  10452. | }
  10453. |
  10454. | /** Set the current line number.
  10455. | * @param _line_number line number
  10456. | *
  10457. | */
  10458. | void yyset_lineno (int _line_number )
  10459. | {
  10460. |
  10461. | yylineno = _line_number;
  10462. | }
  10463. |
  10464. | /** Set the input stream. This does not discard the current
  10465. | * input buffer.
  10466. | * @param _in_str A readable stream.
  10467. | *
  10468. | * @see yy_switch_to_buffer
  10469. | */
  10470. | void yyset_in (FILE * _in_str )
  10471. | {
  10472. | yyin = _in_str ;
  10473. | }
  10474. |
  10475. | void yyset_out (FILE * _out_str )
  10476. | {
  10477. | yyout = _out_str ;
  10478. | }
  10479. |
  10480. | int yyget_debug (void)
  10481. | {
  10482. | return yy_flex_debug;
  10483. | }
  10484. |
  10485. | void yyset_debug (int _bdebug )
  10486. | {
  10487. | yy_flex_debug = _bdebug ;
  10488. | }
  10489. |
  10490. | static int yy_init_globals (void)
  10491. | {
  10492. | /* Initialization is the same as for the non-reentrant scanner.
  10493. | * This function is called from yylex_destroy(), so don't allocate here.
  10494. | */
  10495. |
  10496. | (yy_buffer_stack) = 0;
  10497. | (yy_buffer_stack_top) = 0;
  10498. | (yy_buffer_stack_max) = 0;
  10499. | (yy_c_buf_p) = (char *) 0;
  10500. | (yy_init) = 0;
  10501. | (yy_start) = 0;
  10502. |
  10503. | (yy_state_buf) = 0;
  10504. | (yy_state_ptr) = 0;
  10505. | (yy_full_match) = 0;
  10506. | (yy_lp) = 0;
  10507. |
  10508. | /* Defined in main.c */
  10509. | #ifdef YY_STDINIT
  10510. | yyin = stdin;
  10511. | yyout = stdout;
  10512. | #else
  10513. | yyin = (FILE *) 0;
  10514. | yyout = (FILE *) 0;
  10515. | #endif
  10516. |
  10517. | /* For future reference: Set errno on error, since we are called by
  10518. | * yylex_init()
  10519. | */
  10520. | return 0;
  10521. | }
  10522. |
  10523. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  10524. | int yylex_destroy (void)
  10525. | {
  10526. |
  10527. | /* Pop the buffer stack, destroying each element. */
  10528. | while(YY_CURRENT_BUFFER){
  10529. | yy_delete_buffer(YY_CURRENT_BUFFER );
  10530. | YY_CURRENT_BUFFER_LVALUE = NULL;
  10531. | yypop_buffer_state();
  10532. | }
  10533. |
  10534. | /* Destroy the stack itself. */
  10535. | yyfree((yy_buffer_stack) );
  10536. | (yy_buffer_stack) = NULL;
  10537. |
  10538. | yyfree ( (yy_state_buf) );
  10539. | (yy_state_buf) = NULL;
  10540. |
  10541. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  10542. | * yylex() is called, initialization will occur. */
  10543. | yy_init_globals( );
  10544. |
  10545. | return 0;
  10546. | }
  10547. |
  10548. | /*
  10549. | * Internal utility routines.
  10550. | */
  10551. |
  10552. | #ifndef yytext_ptr
  10553. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  10554. | {
  10555. |
  10556. | int i;
  10557. | for ( i = 0; i < n; ++i )
  10558. | s1[i] = s2[i];
  10559. | }
  10560. | #endif
  10561. |
  10562. | #ifdef YY_NEED_STRLEN
  10563. | static int yy_flex_strlen (yyconst char * s )
  10564. | {
  10565. | int n;
  10566. | for ( n = 0; s[n]; ++n )
  10567. | ;
  10568. |
  10569. | return n;
  10570. | }
  10571. | #endif
  10572. |
  10573. | void *yyalloc (yy_size_t size )
  10574. | {
  10575. | return (void *) malloc( size );
  10576. | }
  10577. |
  10578. | void *yyrealloc (void * ptr, yy_size_t size )
  10579. | {
  10580. |
  10581. | /* The cast to (char *) in the following accommodates both
  10582. | * implementations that use char* generic pointers, and those
  10583. | * that use void* generic pointers. It works with the latter
  10584. | * because both ANSI C and C++ allow castless assignment from
  10585. | * any pointer type to void*, and deal with argument conversions
  10586. | * as though doing an assignment.
  10587. | */
  10588. | return (void *) realloc( (char *) ptr, size );
  10589. | }
  10590. |
  10591. | void yyfree (void * ptr )
  10592. | {
  10593. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  10594. | }
  10595. |
  10596. | #define YYTABLES_NAME "yytables"
  10597. |
  10598. | #line 10 "conftest.l"
  10599. |
  10600. |
  10601. | #ifdef YYTEXT_POINTER
  10602. | extern char *yytext;
  10603. | #endif
  10604. | int
  10605. | main (void)
  10606. | {
  10607. | return ! yylex () + ! yywrap ();
  10608. | }
  10609. configure:19640: result: none needed
  10610. configure:19646: checking whether yytext is a pointer
  10611. configure:19663: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  10612. conftest.l: In function 'int yylex()':
  10613. conftest.l:7:21: error: 'input' was not declared in this scope
  10614. yyless ((input () != 0)); }
  10615. ^
  10616. lex.yy.c:185:33: note: in definition of macro 'yyless'
  10617. int yyless_macro_arg = (n); \
  10618. ^
  10619. configure:19663: $? = 1
  10620. configure: failed program was:
  10621. | /* confdefs.h */
  10622. | #define PACKAGE_NAME "OLA"
  10623. | #define PACKAGE_TARNAME "ola"
  10624. | #define PACKAGE_VERSION "0.10.6"
  10625. | #define PACKAGE_STRING "OLA 0.10.6"
  10626. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  10627. | #define PACKAGE_URL ""
  10628. | #define PACKAGE "ola"
  10629. | #define VERSION "0.10.6"
  10630. | #define HAVE_DIRENT_H 1
  10631. | #define HAVE_SYS_TYPES_H 1
  10632. | #define HAVE_NETINET_IN_H 1
  10633. | #define HAVE_ARPA_NAMESER_H 1
  10634. | #define HAVE_NETDB_H 1
  10635. | #define HAVE_RESOLV_H 1
  10636. | #define STDC_HEADERS 1
  10637. | #define HAVE_SYS_TYPES_H 1
  10638. | #define HAVE_SYS_STAT_H 1
  10639. | #define HAVE_STDLIB_H 1
  10640. | #define HAVE_STRING_H 1
  10641. | #define HAVE_MEMORY_H 1
  10642. | #define HAVE_STRINGS_H 1
  10643. | #define HAVE_INTTYPES_H 1
  10644. | #define HAVE_STDINT_H 1
  10645. | #define HAVE_UNISTD_H 1
  10646. | #define HAVE_ERRNO_H 1
  10647. | #define HAVE_ARPA_INET_H 1
  10648. | #define HAVE_BITS_SOCKADDR_H 1
  10649. | #define HAVE_FCNTL_H 1
  10650. | #define HAVE_FLOAT_H 1
  10651. | #define HAVE_LIMITS_H 1
  10652. | #define HAVE_MALLOC_H 1
  10653. | #define HAVE_NETINET_IN_H 1
  10654. | #define HAVE_STDINT_H 1
  10655. | #define HAVE_STDLIB_H 1
  10656. | #define HAVE_STRING_H 1
  10657. | #define HAVE_STRINGS_H 1
  10658. | #define HAVE_SYS_FILE_H 1
  10659. | #define HAVE_SYS_IOCTL_H 1
  10660. | #define HAVE_SYS_SOCKET_H 1
  10661. | #define HAVE_SYS_TIME_H 1
  10662. | #define HAVE_SYS_TIMEB_H 1
  10663. | #define HAVE_SYSLOG_H 1
  10664. | #define HAVE_TERMIOS_H 1
  10665. | #define HAVE_UNISTD_H 1
  10666. | #define HAVE_ASM_TERMIOS_H 1
  10667. | #define HAVE_ASSERT_H 1
  10668. | #define HAVE_DLFCN_H 1
  10669. | #define HAVE_ENDIAN_H 1
  10670. | #define HAVE_EXECINFO_H 1
  10671. | #define HAVE_LINUX_IF_PACKET_H 1
  10672. | #define HAVE_MATH_H 1
  10673. | #define HAVE_NET_ETHERNET_H 1
  10674. | #define HAVE_STROPTS_H 1
  10675. | #define HAVE_SYS_PARAM_H 1
  10676. | #define HAVE_SYS_TYPES_H 1
  10677. | #define HAVE_SYS_UIO_H 1
  10678. | #define HAVE_SYSEXITS_H 1
  10679. | #define HAVE_SYS_SYSCTL_H 1
  10680. | #define HAVE_NET_IF_H 1
  10681. | #define HAVE_NET_IF_ARP_H 1
  10682. | #define HAVE_NET_ROUTE_H 1
  10683. | #define HAVE_NETINET_IF_ETHER_H 1
  10684. | #define HAVE_LINUX_NETLINK_H 1
  10685. | #define HAVE_LINUX_RTNETLINK_H 1
  10686. | #define HAVE_STDBOOL_H 1
  10687. | #define restrict __restrict
  10688. | #define HAVE_HASH_MAP 1
  10689. | #define HAVE_HASH_SET 1
  10690. | #define HAVE_UNORDERED_MAP 1
  10691. | #define HASH_MAP_H <tr1/unordered_map>
  10692. | #define HASH_SET_H <tr1/unordered_set>
  10693. | #define HASH_NAMESPACE std::tr1
  10694. | #define HASH_MAP_CLASS unordered_map
  10695. | #define HASH_SET_CLASS unordered_set
  10696. | #define HAVE_FORK 1
  10697. | #define HAVE_VFORK 1
  10698. | #define HAVE_WORKING_VFORK 1
  10699. | #define HAVE_WORKING_FORK 1
  10700. | #define HAVE_STDLIB_H 1
  10701. | #define HAVE_MALLOC 1
  10702. | #define HAVE_STDLIB_H 1
  10703. | #define HAVE_REALLOC 1
  10704. | #define HAVE_SYS_SELECT_H 1
  10705. | #define HAVE_SYS_SOCKET_H 1
  10706. | #define SELECT_TYPE_ARG1 int
  10707. | #define SELECT_TYPE_ARG234 (fd_set *)
  10708. | #define SELECT_TYPE_ARG5 (struct timeval *)
  10709. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  10710. | #define HAVE_VPRINTF 1
  10711. | #define HAVE_BZERO 1
  10712. | #define HAVE_GETTIMEOFDAY 1
  10713. | #define HAVE_MEMMOVE 1
  10714. | #define HAVE_MEMSET 1
  10715. | #define HAVE_MKDIR 1
  10716. | #define HAVE_STRDUP 1
  10717. | #define HAVE_STRRCHR 1
  10718. | #define HAVE_IF_NAMETOINDEX 1
  10719. | #define HAVE_INET_NTOA 1
  10720. | #define HAVE_INET_NTOP 1
  10721. | #define HAVE_INET_ATON 1
  10722. | #define HAVE_INET_PTON 1
  10723. | #define HAVE_SELECT 1
  10724. | #define HAVE_SOCKET 1
  10725. | #define HAVE_STRERROR 1
  10726. | #define HAVE_GETIFADDRS 1
  10727. | #define HAVE_GETLOADAVG 1
  10728. | #define HAVE_GETPWNAM_R 1
  10729. | #define HAVE_GETPWUID_R 1
  10730. | #define HAVE_GETGRNAM_R 1
  10731. | #define HAVE_GETGRGID_R 1
  10732. | #define HAVE_SECURE_GETENV 1
  10733. | #define HAVE_DLFCN_H 1
  10734. | #define LT_OBJDIR ".libs/"
  10735. | #define HAVE_EPOLL 1
  10736. | #define HAVE_TIME_T 1
  10737. | #define HAVE_SUSECONDS_T 1
  10738. | #define HAVE_DECL_MSG_NOSIGNAL 1
  10739. | #define HAVE_DECL_SO_NOSIGPIPE 0
  10740. | #define HAVE_DECL_PF_ROUTE 1
  10741. | #define HAVE_DECL_NET_RT_DUMP 0
  10742. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  10743. | #define HAVE_DECL_RLIMIT_RTTIME 1
  10744. | #define HAVE_DECL_SO_REUSEADDR 1
  10745. | #define HAVE_DECL_SO_REUSEPORT 1
  10746. | #define HAVE_TERMIOS2 1
  10747. | /* end confdefs.h. */
  10748. |
  10749. | #define YYTEXT_POINTER 1
  10750. |
  10751. | #line 3 "lex.yy.c"
  10752. |
  10753. | #define YY_INT_ALIGNED short int
  10754. |
  10755. | /* A lexical scanner generated by flex */
  10756. |
  10757. | #define FLEX_SCANNER
  10758. | #define YY_FLEX_MAJOR_VERSION 2
  10759. | #define YY_FLEX_MINOR_VERSION 6
  10760. | #define YY_FLEX_SUBMINOR_VERSION 0
  10761. | #if YY_FLEX_SUBMINOR_VERSION > 0
  10762. | #define FLEX_BETA
  10763. | #endif
  10764. |
  10765. | /* First, we deal with platform-specific or compiler-specific issues. */
  10766. |
  10767. | /* begin standard C headers. */
  10768. | #include <stdio.h>
  10769. | #include <string.h>
  10770. | #include <errno.h>
  10771. | #include <stdlib.h>
  10772. |
  10773. | /* end standard C headers. */
  10774. |
  10775. | /* flex integer type definitions */
  10776. |
  10777. | #ifndef FLEXINT_H
  10778. | #define FLEXINT_H
  10779. |
  10780. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  10781. |
  10782. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  10783. |
  10784. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  10785. | * if you want the limit (max/min) macros for int types.
  10786. | */
  10787. | #ifndef __STDC_LIMIT_MACROS
  10788. | #define __STDC_LIMIT_MACROS 1
  10789. | #endif
  10790. |
  10791. | #include <inttypes.h>
  10792. | typedef int8_t flex_int8_t;
  10793. | typedef uint8_t flex_uint8_t;
  10794. | typedef int16_t flex_int16_t;
  10795. | typedef uint16_t flex_uint16_t;
  10796. | typedef int32_t flex_int32_t;
  10797. | typedef uint32_t flex_uint32_t;
  10798. | #else
  10799. | typedef signed char flex_int8_t;
  10800. | typedef short int flex_int16_t;
  10801. | typedef int flex_int32_t;
  10802. | typedef unsigned char flex_uint8_t;
  10803. | typedef unsigned short int flex_uint16_t;
  10804. | typedef unsigned int flex_uint32_t;
  10805. |
  10806. | /* Limits of integral types. */
  10807. | #ifndef INT8_MIN
  10808. | #define INT8_MIN (-128)
  10809. | #endif
  10810. | #ifndef INT16_MIN
  10811. | #define INT16_MIN (-32767-1)
  10812. | #endif
  10813. | #ifndef INT32_MIN
  10814. | #define INT32_MIN (-2147483647-1)
  10815. | #endif
  10816. | #ifndef INT8_MAX
  10817. | #define INT8_MAX (127)
  10818. | #endif
  10819. | #ifndef INT16_MAX
  10820. | #define INT16_MAX (32767)
  10821. | #endif
  10822. | #ifndef INT32_MAX
  10823. | #define INT32_MAX (2147483647)
  10824. | #endif
  10825. | #ifndef UINT8_MAX
  10826. | #define UINT8_MAX (255U)
  10827. | #endif
  10828. | #ifndef UINT16_MAX
  10829. | #define UINT16_MAX (65535U)
  10830. | #endif
  10831. | #ifndef UINT32_MAX
  10832. | #define UINT32_MAX (4294967295U)
  10833. | #endif
  10834. |
  10835. | #endif /* ! C99 */
  10836. |
  10837. | #endif /* ! FLEXINT_H */
  10838. |
  10839. | #ifdef __cplusplus
  10840. |
  10841. | /* The "const" storage-class-modifier is valid. */
  10842. | #define YY_USE_CONST
  10843. |
  10844. | #else /* ! __cplusplus */
  10845. |
  10846. | /* C99 requires __STDC__ to be defined as 1. */
  10847. | #if defined (__STDC__)
  10848. |
  10849. | #define YY_USE_CONST
  10850. |
  10851. | #endif /* defined (__STDC__) */
  10852. | #endif /* ! __cplusplus */
  10853. |
  10854. | #ifdef YY_USE_CONST
  10855. | #define yyconst const
  10856. | #else
  10857. | #define yyconst
  10858. | #endif
  10859. |
  10860. | /* Returned upon end-of-file. */
  10861. | #define YY_NULL 0
  10862. |
  10863. | /* Promotes a possibly negative, possibly signed char to an unsigned
  10864. | * integer for use as an array index. If the signed char is negative,
  10865. | * we want to instead treat it as an 8-bit unsigned char, hence the
  10866. | * double cast.
  10867. | */
  10868. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  10869. |
  10870. | /* Enter a start condition. This macro really ought to take a parameter,
  10871. | * but we do it the disgusting crufty way forced on us by the ()-less
  10872. | * definition of BEGIN.
  10873. | */
  10874. | #define BEGIN (yy_start) = 1 + 2 *
  10875. |
  10876. | /* Translate the current start state into a value that can be later handed
  10877. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  10878. | * compatibility.
  10879. | */
  10880. | #define YY_START (((yy_start) - 1) / 2)
  10881. | #define YYSTATE YY_START
  10882. |
  10883. | /* Action number for EOF rule of a given start state. */
  10884. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  10885. |
  10886. | /* Special action meaning "start processing a new file". */
  10887. | #define YY_NEW_FILE yyrestart(yyin )
  10888. |
  10889. | #define YY_END_OF_BUFFER_CHAR 0
  10890. |
  10891. | /* Size of default input buffer. */
  10892. | #ifndef YY_BUF_SIZE
  10893. | #ifdef __ia64__
  10894. | /* On IA-64, the buffer size is 16k, not 8k.
  10895. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  10896. | * Ditto for the __ia64__ case accordingly.
  10897. | */
  10898. | #define YY_BUF_SIZE 32768
  10899. | #else
  10900. | #define YY_BUF_SIZE 16384
  10901. | #endif /* __ia64__ */
  10902. | #endif
  10903. |
  10904. | /* The state buf must be large enough to hold one state per character in the main buffer.
  10905. | */
  10906. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  10907. |
  10908. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  10909. | #define YY_TYPEDEF_YY_BUFFER_STATE
  10910. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  10911. | #endif
  10912. |
  10913. | #ifndef YY_TYPEDEF_YY_SIZE_T
  10914. | #define YY_TYPEDEF_YY_SIZE_T
  10915. | typedef size_t yy_size_t;
  10916. | #endif
  10917. |
  10918. | extern yy_size_t yyleng;
  10919. |
  10920. | extern FILE *yyin, *yyout;
  10921. |
  10922. | #define EOB_ACT_CONTINUE_SCAN 0
  10923. | #define EOB_ACT_END_OF_FILE 1
  10924. | #define EOB_ACT_LAST_MATCH 2
  10925. |
  10926. | #define YY_LESS_LINENO(n)
  10927. | #define YY_LINENO_REWIND_TO(ptr)
  10928. |
  10929. | /* Return all but the first "n" matched characters back to the input stream. */
  10930. | #define yyless(n) \
  10931. | do \
  10932. | { \
  10933. | /* Undo effects of setting up yytext. */ \
  10934. | int yyless_macro_arg = (n); \
  10935. | YY_LESS_LINENO(yyless_macro_arg);\
  10936. | *yy_cp = (yy_hold_char); \
  10937. | YY_RESTORE_YY_MORE_OFFSET \
  10938. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  10939. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  10940. | } \
  10941. | while ( 0 )
  10942. |
  10943. | #define unput(c) yyunput( c, (yytext_ptr) )
  10944. |
  10945. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  10946. | #define YY_STRUCT_YY_BUFFER_STATE
  10947. | struct yy_buffer_state
  10948. | {
  10949. | FILE *yy_input_file;
  10950. |
  10951. | char *yy_ch_buf; /* input buffer */
  10952. | char *yy_buf_pos; /* current position in input buffer */
  10953. |
  10954. | /* Size of input buffer in bytes, not including room for EOB
  10955. | * characters.
  10956. | */
  10957. | yy_size_t yy_buf_size;
  10958. |
  10959. | /* Number of characters read into yy_ch_buf, not including EOB
  10960. | * characters.
  10961. | */
  10962. | int yy_n_chars;
  10963. |
  10964. | /* Whether we "own" the buffer - i.e., we know we created it,
  10965. | * and can realloc() it to grow it, and should free() it to
  10966. | * delete it.
  10967. | */
  10968. | int yy_is_our_buffer;
  10969. |
  10970. | /* Whether this is an "interactive" input source; if so, and
  10971. | * if we're using stdio for input, then we want to use getc()
  10972. | * instead of fread(), to make sure we stop fetching input after
  10973. | * each newline.
  10974. | */
  10975. | int yy_is_interactive;
  10976. |
  10977. | /* Whether we're considered to be at the beginning of a line.
  10978. | * If so, '^' rules will be active on the next match, otherwise
  10979. | * not.
  10980. | */
  10981. | int yy_at_bol;
  10982. |
  10983. | int yy_bs_lineno; /**< The line count. */
  10984. | int yy_bs_column; /**< The column count. */
  10985. |
  10986. | /* Whether to try to fill the input buffer when we reach the
  10987. | * end of it.
  10988. | */
  10989. | int yy_fill_buffer;
  10990. |
  10991. | int yy_buffer_status;
  10992. |
  10993. | #define YY_BUFFER_NEW 0
  10994. | #define YY_BUFFER_NORMAL 1
  10995. | /* When an EOF's been seen but there's still some text to process
  10996. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  10997. | * shouldn't try reading from the input source any more. We might
  10998. | * still have a bunch of tokens to match, though, because of
  10999. | * possible backing-up.
  11000. | *
  11001. | * When we actually see the EOF, we change the status to "new"
  11002. | * (via yyrestart()), so that the user can continue scanning by
  11003. | * just pointing yyin at a new input file.
  11004. | */
  11005. | #define YY_BUFFER_EOF_PENDING 2
  11006. |
  11007. | };
  11008. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  11009. |
  11010. | /* Stack of input buffers. */
  11011. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  11012. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  11013. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  11014. |
  11015. | /* We provide macros for accessing buffer states in case in the
  11016. | * future we want to put the buffer states in a more general
  11017. | * "scanner state".
  11018. | *
  11019. | * Returns the top of the stack, or NULL.
  11020. | */
  11021. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  11022. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  11023. | : NULL)
  11024. |
  11025. | /* Same as previous macro, but useful when we know that the buffer stack is not
  11026. | * NULL or when we need an lvalue. For internal use only.
  11027. | */
  11028. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  11029. |
  11030. | /* yy_hold_char holds the character lost when yytext is formed. */
  11031. | static char yy_hold_char;
  11032. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  11033. | yy_size_t yyleng;
  11034. |
  11035. | /* Points to current character in buffer. */
  11036. | static char *yy_c_buf_p = (char *) 0;
  11037. | static int yy_init = 0; /* whether we need to initialize */
  11038. | static int yy_start = 0; /* start state number */
  11039. |
  11040. | /* Flag which is used to allow yywrap()'s to do buffer switches
  11041. | * instead of setting up a fresh yyin. A bit of a hack ...
  11042. | */
  11043. | static int yy_did_buffer_switch_on_eof;
  11044. |
  11045. | void yyrestart (FILE *input_file );
  11046. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  11047. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  11048. | void yy_delete_buffer (YY_BUFFER_STATE b );
  11049. | void yy_flush_buffer (YY_BUFFER_STATE b );
  11050. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  11051. | void yypop_buffer_state (void );
  11052. |
  11053. | static void yyensure_buffer_stack (void );
  11054. | static void yy_load_buffer_state (void );
  11055. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  11056. |
  11057. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  11058. |
  11059. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  11060. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  11061. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  11062. |
  11063. | void *yyalloc (yy_size_t );
  11064. | void *yyrealloc (void *,yy_size_t );
  11065. | void yyfree (void * );
  11066. |
  11067. | #define yy_new_buffer yy_create_buffer
  11068. |
  11069. | #define yy_set_interactive(is_interactive) \
  11070. | { \
  11071. | if ( ! YY_CURRENT_BUFFER ){ \
  11072. | yyensure_buffer_stack (); \
  11073. | YY_CURRENT_BUFFER_LVALUE = \
  11074. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  11075. | } \
  11076. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  11077. | }
  11078. |
  11079. | #define yy_set_bol(at_bol) \
  11080. | { \
  11081. | if ( ! YY_CURRENT_BUFFER ){\
  11082. | yyensure_buffer_stack (); \
  11083. | YY_CURRENT_BUFFER_LVALUE = \
  11084. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  11085. | } \
  11086. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  11087. | }
  11088. |
  11089. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  11090. |
  11091. | /* Begin user sect3 */
  11092. |
  11093. | typedef unsigned char YY_CHAR;
  11094. |
  11095. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  11096. |
  11097. | typedef int yy_state_type;
  11098. |
  11099. | extern int yylineno;
  11100. |
  11101. | int yylineno = 1;
  11102. |
  11103. | extern char *yytext;
  11104. | #ifdef yytext_ptr
  11105. | #undef yytext_ptr
  11106. | #endif
  11107. | #define yytext_ptr yytext
  11108. |
  11109. | static yy_state_type yy_get_previous_state (void );
  11110. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  11111. | static int yy_get_next_buffer (void );
  11112. | #if defined(__GNUC__) && __GNUC__ >= 3
  11113. | __attribute__((__noreturn__))
  11114. | #endif
  11115. | static void yy_fatal_error (yyconst char msg[] );
  11116. |
  11117. | /* Done after the current pattern has been matched and before the
  11118. | * corresponding action - sets up yytext.
  11119. | */
  11120. | #define YY_DO_BEFORE_ACTION \
  11121. | (yytext_ptr) = yy_bp; \
  11122. | (yytext_ptr) -= (yy_more_len); \
  11123. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  11124. | (yy_hold_char) = *yy_cp; \
  11125. | *yy_cp = '\0'; \
  11126. | (yy_c_buf_p) = yy_cp;
  11127. |
  11128. | #define YY_NUM_RULES 8
  11129. | #define YY_END_OF_BUFFER 9
  11130. | /* This struct is not used in this scanner,
  11131. | but its presence is necessary. */
  11132. | struct yy_trans_info
  11133. | {
  11134. | flex_int32_t yy_verify;
  11135. | flex_int32_t yy_nxt;
  11136. | };
  11137. | static yyconst flex_int16_t yy_acclist[23] =
  11138. | { 0,
  11139. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  11140. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  11141. | 7, 8
  11142. | } ;
  11143. |
  11144. | static yyconst flex_int16_t yy_accept[14] =
  11145. | { 0,
  11146. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  11147. | 20, 23, 23
  11148. | } ;
  11149. |
  11150. | static yyconst YY_CHAR yy_ec[256] =
  11151. | { 0,
  11152. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  11153. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11154. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11155. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11156. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11157. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11158. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11159. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11160. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11161. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  11162. |
  11163. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  11164. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11165. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11166. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11167. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11168. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11169. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11170. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11171. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11172. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11173. |
  11174. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11175. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11176. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11177. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11178. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  11179. | 1, 1, 1, 1, 1
  11180. | } ;
  11181. |
  11182. | static yyconst YY_CHAR yy_meta[9] =
  11183. | { 0,
  11184. | 1, 1, 1, 1, 1, 1, 1, 1
  11185. | } ;
  11186. |
  11187. | static yyconst flex_uint16_t yy_base[13] =
  11188. | { 0,
  11189. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  11190. | 10, 10
  11191. | } ;
  11192. |
  11193. | static yyconst flex_int16_t yy_def[13] =
  11194. | { 0,
  11195. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  11196. | 12, 0
  11197. | } ;
  11198. |
  11199. | static yyconst flex_uint16_t yy_nxt[19] =
  11200. | { 0,
  11201. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  11202. | 12, 12, 12, 12, 12, 12, 12, 12
  11203. | } ;
  11204. |
  11205. | static yyconst flex_int16_t yy_chk[19] =
  11206. | { 0,
  11207. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  11208. | 12, 12, 12, 12, 12, 12, 12, 12
  11209. | } ;
  11210. |
  11211. | extern int yy_flex_debug;
  11212. | int yy_flex_debug = 0;
  11213. |
  11214. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  11215. | static char *yy_full_match;
  11216. | static int yy_lp;
  11217. | #define REJECT \
  11218. | { \
  11219. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  11220. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  11221. | ++(yy_lp); \
  11222. | goto find_rule; \
  11223. | }
  11224. |
  11225. | static int yy_more_flag = 0;
  11226. | static int yy_more_len = 0;
  11227. | #define yymore() ((yy_more_flag) = 1)
  11228. | #define YY_MORE_ADJ (yy_more_len)
  11229. | #define YY_RESTORE_YY_MORE_OFFSET
  11230. | char *yytext;
  11231. | #line 1 "conftest.l"
  11232. | #line 484 "lex.yy.c"
  11233. |
  11234. | #define INITIAL 0
  11235. |
  11236. | #ifndef YY_NO_UNISTD_H
  11237. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  11238. | * down here because we want the user's section 1 to have been scanned first.
  11239. | * The user has a chance to override it with an option.
  11240. | */
  11241. | #include <unistd.h>
  11242. | #endif
  11243. |
  11244. | #ifndef YY_EXTRA_TYPE
  11245. | #define YY_EXTRA_TYPE void *
  11246. | #endif
  11247. |
  11248. | static int yy_init_globals (void );
  11249. |
  11250. | /* Accessor methods to globals.
  11251. | These are made visible to non-reentrant scanners for convenience. */
  11252. |
  11253. | int yylex_destroy (void );
  11254. |
  11255. | int yyget_debug (void );
  11256. |
  11257. | void yyset_debug (int debug_flag );
  11258. |
  11259. | YY_EXTRA_TYPE yyget_extra (void );
  11260. |
  11261. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  11262. |
  11263. | FILE *yyget_in (void );
  11264. |
  11265. | void yyset_in (FILE * _in_str );
  11266. |
  11267. | FILE *yyget_out (void );
  11268. |
  11269. | void yyset_out (FILE * _out_str );
  11270. |
  11271. | yy_size_t yyget_leng (void );
  11272. |
  11273. | char *yyget_text (void );
  11274. |
  11275. | int yyget_lineno (void );
  11276. |
  11277. | void yyset_lineno (int _line_number );
  11278. |
  11279. | /* Macros after this point can all be overridden by user definitions in
  11280. | * section 1.
  11281. | */
  11282. |
  11283. | #ifndef YY_SKIP_YYWRAP
  11284. | #ifdef __cplusplus
  11285. | extern "C" int yywrap (void );
  11286. | #else
  11287. | extern int yywrap (void );
  11288. | #endif
  11289. | #endif
  11290. |
  11291. | #ifndef YY_NO_UNPUT
  11292. |
  11293. | static void yyunput (int c,char *buf_ptr );
  11294. |
  11295. | #endif
  11296. |
  11297. | #ifndef yytext_ptr
  11298. | static void yy_flex_strncpy (char *,yyconst char *,int );
  11299. | #endif
  11300. |
  11301. | #ifdef YY_NEED_STRLEN
  11302. | static int yy_flex_strlen (yyconst char * );
  11303. | #endif
  11304. |
  11305. | #ifndef YY_NO_INPUT
  11306. |
  11307. | #ifdef __cplusplus
  11308. | static int yyinput (void );
  11309. | #else
  11310. | static int input (void );
  11311. | #endif
  11312. |
  11313. | #endif
  11314. |
  11315. | /* Amount of stuff to slurp up with each read. */
  11316. | #ifndef YY_READ_BUF_SIZE
  11317. | #ifdef __ia64__
  11318. | /* On IA-64, the buffer size is 16k, not 8k */
  11319. | #define YY_READ_BUF_SIZE 16384
  11320. | #else
  11321. | #define YY_READ_BUF_SIZE 8192
  11322. | #endif /* __ia64__ */
  11323. | #endif
  11324. |
  11325. | /* Copy whatever the last rule matched to the standard output. */
  11326. | #ifndef ECHO
  11327. | /* This used to be an fputs(), but since the string might contain NUL's,
  11328. | * we now use fwrite().
  11329. | */
  11330. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  11331. | #endif
  11332. |
  11333. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  11334. | * is returned in "result".
  11335. | */
  11336. | #ifndef YY_INPUT
  11337. | #define YY_INPUT(buf,result,max_size) \
  11338. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  11339. | { \
  11340. | int c = '*'; \
  11341. | size_t n; \
  11342. | for ( n = 0; n < max_size && \
  11343. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  11344. | buf[n] = (char) c; \
  11345. | if ( c == '\n' ) \
  11346. | buf[n++] = (char) c; \
  11347. | if ( c == EOF && ferror( yyin ) ) \
  11348. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  11349. | result = n; \
  11350. | } \
  11351. | else \
  11352. | { \
  11353. | errno=0; \
  11354. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  11355. | { \
  11356. | if( errno != EINTR) \
  11357. | { \
  11358. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  11359. | break; \
  11360. | } \
  11361. | errno=0; \
  11362. | clearerr(yyin); \
  11363. | } \
  11364. | }\
  11365. | \
  11366. |
  11367. | #endif
  11368. |
  11369. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  11370. | * we don't want an extra ';' after the "return" because that will cause
  11371. | * some compilers to complain about unreachable statements.
  11372. | */
  11373. | #ifndef yyterminate
  11374. | #define yyterminate() return YY_NULL
  11375. | #endif
  11376. |
  11377. | /* Number of entries by which start-condition stack grows. */
  11378. | #ifndef YY_START_STACK_INCR
  11379. | #define YY_START_STACK_INCR 25
  11380. | #endif
  11381. |
  11382. | /* Report a fatal error. */
  11383. | #ifndef YY_FATAL_ERROR
  11384. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  11385. | #endif
  11386. |
  11387. | /* end tables serialization structures and prototypes */
  11388. |
  11389. | /* Default declaration of generated scanner - a define so the user can
  11390. | * easily add parameters.
  11391. | */
  11392. | #ifndef YY_DECL
  11393. | #define YY_DECL_IS_OURS 1
  11394. |
  11395. | extern int yylex (void);
  11396. |
  11397. | #define YY_DECL int yylex (void)
  11398. | #endif /* !YY_DECL */
  11399. |
  11400. | /* Code executed at the beginning of each rule, after yytext and yyleng
  11401. | * have been set up.
  11402. | */
  11403. | #ifndef YY_USER_ACTION
  11404. | #define YY_USER_ACTION
  11405. | #endif
  11406. |
  11407. | /* Code executed at the end of each rule. */
  11408. | #ifndef YY_BREAK
  11409. | #define YY_BREAK /*LINTED*/break;
  11410. | #endif
  11411. |
  11412. | #define YY_RULE_SETUP \
  11413. | YY_USER_ACTION
  11414. |
  11415. | /** The main scanner function which does all the work.
  11416. | */
  11417. | YY_DECL
  11418. | {
  11419. | yy_state_type yy_current_state;
  11420. | char *yy_cp, *yy_bp;
  11421. | int yy_act;
  11422. |
  11423. | if ( !(yy_init) )
  11424. | {
  11425. | (yy_init) = 1;
  11426. |
  11427. | #ifdef YY_USER_INIT
  11428. | YY_USER_INIT;
  11429. | #endif
  11430. |
  11431. | /* Create the reject buffer large enough to save one state per allowed character. */
  11432. | if ( ! (yy_state_buf) )
  11433. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  11434. | if ( ! (yy_state_buf) )
  11435. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  11436. |
  11437. | if ( ! (yy_start) )
  11438. | (yy_start) = 1; /* first start state */
  11439. |
  11440. | if ( ! yyin )
  11441. | yyin = stdin;
  11442. |
  11443. | if ( ! yyout )
  11444. | yyout = stdout;
  11445. |
  11446. | if ( ! YY_CURRENT_BUFFER ) {
  11447. | yyensure_buffer_stack ();
  11448. | YY_CURRENT_BUFFER_LVALUE =
  11449. | yy_create_buffer(yyin,YY_BUF_SIZE );
  11450. | }
  11451. |
  11452. | yy_load_buffer_state( );
  11453. | }
  11454. |
  11455. | {
  11456. | #line 1 "conftest.l"
  11457. |
  11458. | #line 710 "lex.yy.c"
  11459. |
  11460. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  11461. | {
  11462. | (yy_more_len) = 0;
  11463. | if ( (yy_more_flag) )
  11464. | {
  11465. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  11466. | (yy_more_flag) = 0;
  11467. | }
  11468. | yy_cp = (yy_c_buf_p);
  11469. |
  11470. | /* Support of yytext. */
  11471. | *yy_cp = (yy_hold_char);
  11472. |
  11473. | /* yy_bp points to the position in yy_ch_buf of the start of
  11474. | * the current run.
  11475. | */
  11476. | yy_bp = yy_cp;
  11477. |
  11478. | yy_current_state = (yy_start);
  11479. |
  11480. | (yy_state_ptr) = (yy_state_buf);
  11481. | *(yy_state_ptr)++ = yy_current_state;
  11482. |
  11483. | yy_match:
  11484. | do
  11485. | {
  11486. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  11487. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  11488. | {
  11489. | yy_current_state = (int) yy_def[yy_current_state];
  11490. | if ( yy_current_state >= 13 )
  11491. | yy_c = yy_meta[(unsigned int) yy_c];
  11492. | }
  11493. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  11494. | *(yy_state_ptr)++ = yy_current_state;
  11495. | ++yy_cp;
  11496. | }
  11497. | while ( yy_base[yy_current_state] != 10 );
  11498. |
  11499. | yy_find_action:
  11500. | yy_current_state = *--(yy_state_ptr);
  11501. | (yy_lp) = yy_accept[yy_current_state];
  11502. | find_rule: /* we branch to this label when backing up */
  11503. | for ( ; ; ) /* until we find what rule we matched */
  11504. | {
  11505. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  11506. | {
  11507. | yy_act = yy_acclist[(yy_lp)];
  11508. | {
  11509. | (yy_full_match) = yy_cp;
  11510. | break;
  11511. | }
  11512. | }
  11513. | --yy_cp;
  11514. | yy_current_state = *--(yy_state_ptr);
  11515. | (yy_lp) = yy_accept[yy_current_state];
  11516. | }
  11517. |
  11518. | YY_DO_BEFORE_ACTION;
  11519. |
  11520. | do_action: /* This label is used only to access EOF actions. */
  11521. |
  11522. | switch ( yy_act )
  11523. | { /* beginning of action switch */
  11524. | case 1:
  11525. | YY_RULE_SETUP
  11526. | #line 2 "conftest.l"
  11527. | { ECHO; }
  11528. | YY_BREAK
  11529. | case 2:
  11530. | YY_RULE_SETUP
  11531. | #line 3 "conftest.l"
  11532. | { REJECT; }
  11533. | YY_BREAK
  11534. | case 3:
  11535. | YY_RULE_SETUP
  11536. | #line 4 "conftest.l"
  11537. | { yymore (); }
  11538. | YY_BREAK
  11539. | case 4:
  11540. | YY_RULE_SETUP
  11541. | #line 5 "conftest.l"
  11542. | { yyless (1); }
  11543. | YY_BREAK
  11544. | case 5:
  11545. | YY_RULE_SETUP
  11546. | #line 6 "conftest.l"
  11547. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  11548. | yyless ((input () != 0)); }
  11549. | YY_BREAK
  11550. | case 6:
  11551. | YY_RULE_SETUP
  11552. | #line 8 "conftest.l"
  11553. | { unput (yytext[0]); }
  11554. | YY_BREAK
  11555. | case 7:
  11556. | YY_RULE_SETUP
  11557. | #line 9 "conftest.l"
  11558. | { BEGIN INITIAL; }
  11559. | YY_BREAK
  11560. | case 8:
  11561. | YY_RULE_SETUP
  11562. | #line 10 "conftest.l"
  11563. | ECHO;
  11564. | YY_BREAK
  11565. | #line 817 "lex.yy.c"
  11566. | case YY_STATE_EOF(INITIAL):
  11567. | yyterminate();
  11568. |
  11569. | case YY_END_OF_BUFFER:
  11570. | {
  11571. | /* Amount of text matched not including the EOB char. */
  11572. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  11573. |
  11574. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  11575. | *yy_cp = (yy_hold_char);
  11576. | YY_RESTORE_YY_MORE_OFFSET
  11577. |
  11578. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  11579. | {
  11580. | /* We're scanning a new file or input source. It's
  11581. | * possible that this happened because the user
  11582. | * just pointed yyin at a new source and called
  11583. | * yylex(). If so, then we have to assure
  11584. | * consistency between YY_CURRENT_BUFFER and our
  11585. | * globals. Here is the right place to do so, because
  11586. | * this is the first action (other than possibly a
  11587. | * back-up) that will match for the new input source.
  11588. | */
  11589. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  11590. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  11591. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  11592. | }
  11593. |
  11594. | /* Note that here we test for yy_c_buf_p "<=" to the position
  11595. | * of the first EOB in the buffer, since yy_c_buf_p will
  11596. | * already have been incremented past the NUL character
  11597. | * (since all states make transitions on EOB to the
  11598. | * end-of-buffer state). Contrast this with the test
  11599. | * in input().
  11600. | */
  11601. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  11602. | { /* This was really a NUL. */
  11603. | yy_state_type yy_next_state;
  11604. |
  11605. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  11606. |
  11607. | yy_current_state = yy_get_previous_state( );
  11608. |
  11609. | /* Okay, we're now positioned to make the NUL
  11610. | * transition. We couldn't have
  11611. | * yy_get_previous_state() go ahead and do it
  11612. | * for us because it doesn't know how to deal
  11613. | * with the possibility of jamming (and we don't
  11614. | * want to build jamming into it because then it
  11615. | * will run more slowly).
  11616. | */
  11617. |
  11618. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  11619. |
  11620. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  11621. |
  11622. | if ( yy_next_state )
  11623. | {
  11624. | /* Consume the NUL. */
  11625. | yy_cp = ++(yy_c_buf_p);
  11626. | yy_current_state = yy_next_state;
  11627. | goto yy_match;
  11628. | }
  11629. |
  11630. | else
  11631. | {
  11632. | yy_cp = (yy_c_buf_p);
  11633. | goto yy_find_action;
  11634. | }
  11635. | }
  11636. |
  11637. | else switch ( yy_get_next_buffer( ) )
  11638. | {
  11639. | case EOB_ACT_END_OF_FILE:
  11640. | {
  11641. | (yy_did_buffer_switch_on_eof) = 0;
  11642. |
  11643. | if ( yywrap( ) )
  11644. | {
  11645. | /* Note: because we've taken care in
  11646. | * yy_get_next_buffer() to have set up
  11647. | * yytext, we can now set up
  11648. | * yy_c_buf_p so that if some total
  11649. | * hoser (like flex itself) wants to
  11650. | * call the scanner after we return the
  11651. | * YY_NULL, it'll still work - another
  11652. | * YY_NULL will get returned.
  11653. | */
  11654. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  11655. |
  11656. | yy_act = YY_STATE_EOF(YY_START);
  11657. | goto do_action;
  11658. | }
  11659. |
  11660. | else
  11661. | {
  11662. | if ( ! (yy_did_buffer_switch_on_eof) )
  11663. | YY_NEW_FILE;
  11664. | }
  11665. | break;
  11666. | }
  11667. |
  11668. | case EOB_ACT_CONTINUE_SCAN:
  11669. | (yy_c_buf_p) =
  11670. | (yytext_ptr) + yy_amount_of_matched_text;
  11671. |
  11672. | yy_current_state = yy_get_previous_state( );
  11673. |
  11674. | yy_cp = (yy_c_buf_p);
  11675. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  11676. | goto yy_match;
  11677. |
  11678. | case EOB_ACT_LAST_MATCH:
  11679. | (yy_c_buf_p) =
  11680. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  11681. |
  11682. | yy_current_state = yy_get_previous_state( );
  11683. |
  11684. | yy_cp = (yy_c_buf_p);
  11685. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  11686. | goto yy_find_action;
  11687. | }
  11688. | break;
  11689. | }
  11690. |
  11691. | default:
  11692. | YY_FATAL_ERROR(
  11693. | "fatal flex scanner internal error--no action found" );
  11694. | } /* end of action switch */
  11695. | } /* end of scanning one token */
  11696. | } /* end of user's declarations */
  11697. | } /* end of yylex */
  11698. |
  11699. | /* yy_get_next_buffer - try to read in a new buffer
  11700. | *
  11701. | * Returns a code representing an action:
  11702. | * EOB_ACT_LAST_MATCH -
  11703. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  11704. | * EOB_ACT_END_OF_FILE - end of file
  11705. | */
  11706. | static int yy_get_next_buffer (void)
  11707. | {
  11708. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  11709. | char *source = (yytext_ptr);
  11710. | yy_size_t number_to_move, i;
  11711. | int ret_val;
  11712. |
  11713. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  11714. | YY_FATAL_ERROR(
  11715. | "fatal flex scanner internal error--end of buffer missed" );
  11716. |
  11717. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  11718. | { /* Don't try to fill the buffer, so this is an EOF. */
  11719. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  11720. | {
  11721. | /* We matched a single character, the EOB, so
  11722. | * treat this as a final EOF.
  11723. | */
  11724. | return EOB_ACT_END_OF_FILE;
  11725. | }
  11726. |
  11727. | else
  11728. | {
  11729. | /* We matched some text prior to the EOB, first
  11730. | * process it.
  11731. | */
  11732. | return EOB_ACT_LAST_MATCH;
  11733. | }
  11734. | }
  11735. |
  11736. | /* Try to read more data. */
  11737. |
  11738. | /* First move last chars to start of buffer. */
  11739. | number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  11740. |
  11741. | for ( i = 0; i < number_to_move; ++i )
  11742. | *(dest++) = *(source++);
  11743. |
  11744. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  11745. | /* don't do the read, it's not guaranteed to return an EOF,
  11746. | * just force an EOF
  11747. | */
  11748. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  11749. |
  11750. | else
  11751. | {
  11752. | yy_size_t num_to_read =
  11753. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  11754. |
  11755. | while ( num_to_read <= 0 )
  11756. | { /* Not enough room in the buffer - grow it. */
  11757. |
  11758. | YY_FATAL_ERROR(
  11759. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  11760. |
  11761. | }
  11762. |
  11763. | if ( num_to_read > YY_READ_BUF_SIZE )
  11764. | num_to_read = YY_READ_BUF_SIZE;
  11765. |
  11766. | /* Read in more data. */
  11767. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  11768. | (yy_n_chars), num_to_read );
  11769. |
  11770. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  11771. | }
  11772. |
  11773. | if ( (yy_n_chars) == 0 )
  11774. | {
  11775. | if ( number_to_move == YY_MORE_ADJ )
  11776. | {
  11777. | ret_val = EOB_ACT_END_OF_FILE;
  11778. | yyrestart(yyin );
  11779. | }
  11780. |
  11781. | else
  11782. | {
  11783. | ret_val = EOB_ACT_LAST_MATCH;
  11784. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  11785. | YY_BUFFER_EOF_PENDING;
  11786. | }
  11787. | }
  11788. |
  11789. | else
  11790. | ret_val = EOB_ACT_CONTINUE_SCAN;
  11791. |
  11792. | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  11793. | /* Extend the array by 50%, plus the number we really need. */
  11794. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  11795. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  11796. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  11797. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  11798. | }
  11799. |
  11800. | (yy_n_chars) += number_to_move;
  11801. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  11802. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  11803. |
  11804. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  11805. |
  11806. | return ret_val;
  11807. | }
  11808. |
  11809. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  11810. |
  11811. | static yy_state_type yy_get_previous_state (void)
  11812. | {
  11813. | yy_state_type yy_current_state;
  11814. | char *yy_cp;
  11815. |
  11816. | yy_current_state = (yy_start);
  11817. |
  11818. | (yy_state_ptr) = (yy_state_buf);
  11819. | *(yy_state_ptr)++ = yy_current_state;
  11820. |
  11821. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  11822. | {
  11823. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  11824. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  11825. | {
  11826. | yy_current_state = (int) yy_def[yy_current_state];
  11827. | if ( yy_current_state >= 13 )
  11828. | yy_c = yy_meta[(unsigned int) yy_c];
  11829. | }
  11830. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  11831. | *(yy_state_ptr)++ = yy_current_state;
  11832. | }
  11833. |
  11834. | return yy_current_state;
  11835. | }
  11836. |
  11837. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  11838. | *
  11839. | * synopsis
  11840. | * next_state = yy_try_NUL_trans( current_state );
  11841. | */
  11842. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  11843. | {
  11844. | int yy_is_jam;
  11845. |
  11846. | YY_CHAR yy_c = 1;
  11847. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  11848. | {
  11849. | yy_current_state = (int) yy_def[yy_current_state];
  11850. | if ( yy_current_state >= 13 )
  11851. | yy_c = yy_meta[(unsigned int) yy_c];
  11852. | }
  11853. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  11854. | yy_is_jam = (yy_current_state == 12);
  11855. | if ( ! yy_is_jam )
  11856. | *(yy_state_ptr)++ = yy_current_state;
  11857. |
  11858. | return yy_is_jam ? 0 : yy_current_state;
  11859. | }
  11860. |
  11861. | #ifndef YY_NO_UNPUT
  11862. |
  11863. | static void yyunput (int c, char * yy_bp )
  11864. | {
  11865. | char *yy_cp;
  11866. |
  11867. | yy_cp = (yy_c_buf_p);
  11868. |
  11869. | /* undo effects of setting up yytext */
  11870. | *yy_cp = (yy_hold_char);
  11871. |
  11872. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  11873. | { /* need to shift things up to make room */
  11874. | /* +2 for EOB chars. */
  11875. | yy_size_t number_to_move = (yy_n_chars) + 2;
  11876. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  11877. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  11878. | char *source =
  11879. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  11880. |
  11881. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  11882. | *--dest = *--source;
  11883. |
  11884. | yy_cp += (int) (dest - source);
  11885. | yy_bp += (int) (dest - source);
  11886. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  11887. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  11888. |
  11889. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  11890. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  11891. | }
  11892. |
  11893. | *--yy_cp = (char) c;
  11894. |
  11895. | (yytext_ptr) = yy_bp;
  11896. | (yy_hold_char) = *yy_cp;
  11897. | (yy_c_buf_p) = yy_cp;
  11898. | }
  11899. |
  11900. | #endif
  11901. |
  11902. | #ifndef YY_NO_INPUT
  11903. | #ifdef __cplusplus
  11904. | static int yyinput (void)
  11905. | #else
  11906. | static int input (void)
  11907. | #endif
  11908. |
  11909. | {
  11910. | int c;
  11911. |
  11912. | *(yy_c_buf_p) = (yy_hold_char);
  11913. |
  11914. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  11915. | {
  11916. | /* yy_c_buf_p now points to the character we want to return.
  11917. | * If this occurs *before* the EOB characters, then it's a
  11918. | * valid NUL; if not, then we've hit the end of the buffer.
  11919. | */
  11920. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  11921. | /* This was really a NUL. */
  11922. | *(yy_c_buf_p) = '\0';
  11923. |
  11924. | else
  11925. | { /* need more input */
  11926. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  11927. | ++(yy_c_buf_p);
  11928. |
  11929. | switch ( yy_get_next_buffer( ) )
  11930. | {
  11931. | case EOB_ACT_LAST_MATCH:
  11932. | /* This happens because yy_g_n_b()
  11933. | * sees that we've accumulated a
  11934. | * token and flags that we need to
  11935. | * try matching the token before
  11936. | * proceeding. But for input(),
  11937. | * there's no matching to consider.
  11938. | * So convert the EOB_ACT_LAST_MATCH
  11939. | * to EOB_ACT_END_OF_FILE.
  11940. | */
  11941. |
  11942. | /* Reset buffer status. */
  11943. | yyrestart(yyin );
  11944. |
  11945. | /*FALLTHROUGH*/
  11946. |
  11947. | case EOB_ACT_END_OF_FILE:
  11948. | {
  11949. | if ( yywrap( ) )
  11950. | return EOF;
  11951. |
  11952. | if ( ! (yy_did_buffer_switch_on_eof) )
  11953. | YY_NEW_FILE;
  11954. | #ifdef __cplusplus
  11955. | return yyinput();
  11956. | #else
  11957. | return input();
  11958. | #endif
  11959. | }
  11960. |
  11961. | case EOB_ACT_CONTINUE_SCAN:
  11962. | (yy_c_buf_p) = (yytext_ptr) + offset;
  11963. | break;
  11964. | }
  11965. | }
  11966. | }
  11967. |
  11968. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  11969. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  11970. | (yy_hold_char) = *++(yy_c_buf_p);
  11971. |
  11972. | return c;
  11973. | }
  11974. | #endif /* ifndef YY_NO_INPUT */
  11975. |
  11976. | /** Immediately switch to a different input stream.
  11977. | * @param input_file A readable stream.
  11978. | *
  11979. | * @note This function does not reset the start condition to @c INITIAL .
  11980. | */
  11981. | void yyrestart (FILE * input_file )
  11982. | {
  11983. |
  11984. | if ( ! YY_CURRENT_BUFFER ){
  11985. | yyensure_buffer_stack ();
  11986. | YY_CURRENT_BUFFER_LVALUE =
  11987. | yy_create_buffer(yyin,YY_BUF_SIZE );
  11988. | }
  11989. |
  11990. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  11991. | yy_load_buffer_state( );
  11992. | }
  11993. |
  11994. | /** Switch to a different input buffer.
  11995. | * @param new_buffer The new input buffer.
  11996. | *
  11997. | */
  11998. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  11999. | {
  12000. |
  12001. | /* TODO. We should be able to replace this entire function body
  12002. | * with
  12003. | * yypop_buffer_state();
  12004. | * yypush_buffer_state(new_buffer);
  12005. | */
  12006. | yyensure_buffer_stack ();
  12007. | if ( YY_CURRENT_BUFFER == new_buffer )
  12008. | return;
  12009. |
  12010. | if ( YY_CURRENT_BUFFER )
  12011. | {
  12012. | /* Flush out information for old buffer. */
  12013. | *(yy_c_buf_p) = (yy_hold_char);
  12014. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  12015. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  12016. | }
  12017. |
  12018. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  12019. | yy_load_buffer_state( );
  12020. |
  12021. | /* We don't actually know whether we did this switch during
  12022. | * EOF (yywrap()) processing, but the only time this flag
  12023. | * is looked at is after yywrap() is called, so it's safe
  12024. | * to go ahead and always set it.
  12025. | */
  12026. | (yy_did_buffer_switch_on_eof) = 1;
  12027. | }
  12028. |
  12029. | static void yy_load_buffer_state (void)
  12030. | {
  12031. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  12032. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  12033. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  12034. | (yy_hold_char) = *(yy_c_buf_p);
  12035. | }
  12036. |
  12037. | /** Allocate and initialize an input buffer state.
  12038. | * @param file A readable stream.
  12039. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  12040. | *
  12041. | * @return the allocated buffer state.
  12042. | */
  12043. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  12044. | {
  12045. | YY_BUFFER_STATE b;
  12046. |
  12047. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  12048. | if ( ! b )
  12049. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  12050. |
  12051. | b->yy_buf_size = (yy_size_t)size;
  12052. |
  12053. | /* yy_ch_buf has to be 2 characters longer than the size given because
  12054. | * we need to put in 2 end-of-buffer characters.
  12055. | */
  12056. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  12057. | if ( ! b->yy_ch_buf )
  12058. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  12059. |
  12060. | b->yy_is_our_buffer = 1;
  12061. |
  12062. | yy_init_buffer(b,file );
  12063. |
  12064. | return b;
  12065. | }
  12066. |
  12067. | /** Destroy the buffer.
  12068. | * @param b a buffer created with yy_create_buffer()
  12069. | *
  12070. | */
  12071. | void yy_delete_buffer (YY_BUFFER_STATE b )
  12072. | {
  12073. |
  12074. | if ( ! b )
  12075. | return;
  12076. |
  12077. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  12078. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  12079. |
  12080. | if ( b->yy_is_our_buffer )
  12081. | yyfree((void *) b->yy_ch_buf );
  12082. |
  12083. | yyfree((void *) b );
  12084. | }
  12085. |
  12086. | /* Initializes or reinitializes a buffer.
  12087. | * This function is sometimes called more than once on the same buffer,
  12088. | * such as during a yyrestart() or at EOF.
  12089. | */
  12090. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  12091. |
  12092. | {
  12093. | int oerrno = errno;
  12094. |
  12095. | yy_flush_buffer(b );
  12096. |
  12097. | b->yy_input_file = file;
  12098. | b->yy_fill_buffer = 1;
  12099. |
  12100. | /* If b is the current buffer, then yy_init_buffer was _probably_
  12101. | * called from yyrestart() or through yy_get_next_buffer.
  12102. | * In that case, we don't want to reset the lineno or column.
  12103. | */
  12104. | if (b != YY_CURRENT_BUFFER){
  12105. | b->yy_bs_lineno = 1;
  12106. | b->yy_bs_column = 0;
  12107. | }
  12108. |
  12109. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  12110. |
  12111. | errno = oerrno;
  12112. | }
  12113. |
  12114. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  12115. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  12116. | *
  12117. | */
  12118. | void yy_flush_buffer (YY_BUFFER_STATE b )
  12119. | {
  12120. | if ( ! b )
  12121. | return;
  12122. |
  12123. | b->yy_n_chars = 0;
  12124. |
  12125. | /* We always need two end-of-buffer characters. The first causes
  12126. | * a transition to the end-of-buffer state. The second causes
  12127. | * a jam in that state.
  12128. | */
  12129. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  12130. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  12131. |
  12132. | b->yy_buf_pos = &b->yy_ch_buf[0];
  12133. |
  12134. | b->yy_at_bol = 1;
  12135. | b->yy_buffer_status = YY_BUFFER_NEW;
  12136. |
  12137. | if ( b == YY_CURRENT_BUFFER )
  12138. | yy_load_buffer_state( );
  12139. | }
  12140. |
  12141. | /** Pushes the new state onto the stack. The new state becomes
  12142. | * the current state. This function will allocate the stack
  12143. | * if necessary.
  12144. | * @param new_buffer The new state.
  12145. | *
  12146. | */
  12147. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  12148. | {
  12149. | if (new_buffer == NULL)
  12150. | return;
  12151. |
  12152. | yyensure_buffer_stack();
  12153. |
  12154. | /* This block is copied from yy_switch_to_buffer. */
  12155. | if ( YY_CURRENT_BUFFER )
  12156. | {
  12157. | /* Flush out information for old buffer. */
  12158. | *(yy_c_buf_p) = (yy_hold_char);
  12159. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  12160. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  12161. | }
  12162. |
  12163. | /* Only push if top exists. Otherwise, replace top. */
  12164. | if (YY_CURRENT_BUFFER)
  12165. | (yy_buffer_stack_top)++;
  12166. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  12167. |
  12168. | /* copied from yy_switch_to_buffer. */
  12169. | yy_load_buffer_state( );
  12170. | (yy_did_buffer_switch_on_eof) = 1;
  12171. | }
  12172. |
  12173. | /** Removes and deletes the top of the stack, if present.
  12174. | * The next element becomes the new top.
  12175. | *
  12176. | */
  12177. | void yypop_buffer_state (void)
  12178. | {
  12179. | if (!YY_CURRENT_BUFFER)
  12180. | return;
  12181. |
  12182. | yy_delete_buffer(YY_CURRENT_BUFFER );
  12183. | YY_CURRENT_BUFFER_LVALUE = NULL;
  12184. | if ((yy_buffer_stack_top) > 0)
  12185. | --(yy_buffer_stack_top);
  12186. |
  12187. | if (YY_CURRENT_BUFFER) {
  12188. | yy_load_buffer_state( );
  12189. | (yy_did_buffer_switch_on_eof) = 1;
  12190. | }
  12191. | }
  12192. |
  12193. | /* Allocates the stack if it does not exist.
  12194. | * Guarantees space for at least one push.
  12195. | */
  12196. | static void yyensure_buffer_stack (void)
  12197. | {
  12198. | yy_size_t num_to_alloc;
  12199. |
  12200. | if (!(yy_buffer_stack)) {
  12201. |
  12202. | /* First allocation is just for 2 elements, since we don't know if this
  12203. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  12204. | * immediate realloc on the next call.
  12205. | */
  12206. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  12207. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  12208. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  12209. | );
  12210. | if ( ! (yy_buffer_stack) )
  12211. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  12212. |
  12213. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  12214. |
  12215. | (yy_buffer_stack_max) = num_to_alloc;
  12216. | (yy_buffer_stack_top) = 0;
  12217. | return;
  12218. | }
  12219. |
  12220. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  12221. |
  12222. | /* Increase the buffer to prepare for a possible push. */
  12223. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  12224. |
  12225. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  12226. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  12227. | ((yy_buffer_stack),
  12228. | num_to_alloc * sizeof(struct yy_buffer_state*)
  12229. | );
  12230. | if ( ! (yy_buffer_stack) )
  12231. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  12232. |
  12233. | /* zero only the new slots.*/
  12234. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  12235. | (yy_buffer_stack_max) = num_to_alloc;
  12236. | }
  12237. | }
  12238. |
  12239. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  12240. | * @param base the character buffer
  12241. | * @param size the size in bytes of the character buffer
  12242. | *
  12243. | * @return the newly allocated buffer state object.
  12244. | */
  12245. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  12246. | {
  12247. | YY_BUFFER_STATE b;
  12248. |
  12249. | if ( size < 2 ||
  12250. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  12251. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  12252. | /* They forgot to leave room for the EOB's. */
  12253. | return 0;
  12254. |
  12255. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  12256. | if ( ! b )
  12257. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  12258. |
  12259. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  12260. | b->yy_buf_pos = b->yy_ch_buf = base;
  12261. | b->yy_is_our_buffer = 0;
  12262. | b->yy_input_file = 0;
  12263. | b->yy_n_chars = b->yy_buf_size;
  12264. | b->yy_is_interactive = 0;
  12265. | b->yy_at_bol = 1;
  12266. | b->yy_fill_buffer = 0;
  12267. | b->yy_buffer_status = YY_BUFFER_NEW;
  12268. |
  12269. | yy_switch_to_buffer(b );
  12270. |
  12271. | return b;
  12272. | }
  12273. |
  12274. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  12275. | * scan from a @e copy of @a str.
  12276. | * @param yystr a NUL-terminated string to scan
  12277. | *
  12278. | * @return the newly allocated buffer state object.
  12279. | * @note If you want to scan bytes that may contain NUL values, then use
  12280. | * yy_scan_bytes() instead.
  12281. | */
  12282. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  12283. | {
  12284. |
  12285. | return yy_scan_bytes(yystr,strlen(yystr) );
  12286. | }
  12287. |
  12288. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  12289. | * scan from a @e copy of @a bytes.
  12290. | * @param yybytes the byte buffer to scan
  12291. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  12292. | *
  12293. | * @return the newly allocated buffer state object.
  12294. | */
  12295. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  12296. | {
  12297. | YY_BUFFER_STATE b;
  12298. | char *buf;
  12299. | yy_size_t n;
  12300. | yy_size_t i;
  12301. |
  12302. | /* Get memory for full buffer, including space for trailing EOB's. */
  12303. | n = _yybytes_len + 2;
  12304. | buf = (char *) yyalloc(n );
  12305. | if ( ! buf )
  12306. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  12307. |
  12308. | for ( i = 0; i < _yybytes_len; ++i )
  12309. | buf[i] = yybytes[i];
  12310. |
  12311. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  12312. |
  12313. | b = yy_scan_buffer(buf,n );
  12314. | if ( ! b )
  12315. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  12316. |
  12317. | /* It's okay to grow etc. this buffer, and we should throw it
  12318. | * away when we're done.
  12319. | */
  12320. | b->yy_is_our_buffer = 1;
  12321. |
  12322. | return b;
  12323. | }
  12324. |
  12325. | #ifndef YY_EXIT_FAILURE
  12326. | #define YY_EXIT_FAILURE 2
  12327. | #endif
  12328. |
  12329. | static void yy_fatal_error (yyconst char* msg )
  12330. | {
  12331. | (void) fprintf( stderr, "%s\n", msg );
  12332. | exit( YY_EXIT_FAILURE );
  12333. | }
  12334. |
  12335. | /* Redefine yyless() so it works in section 3 code. */
  12336. |
  12337. | #undef yyless
  12338. | #define yyless(n) \
  12339. | do \
  12340. | { \
  12341. | /* Undo effects of setting up yytext. */ \
  12342. | int yyless_macro_arg = (n); \
  12343. | YY_LESS_LINENO(yyless_macro_arg);\
  12344. | yytext[yyleng] = (yy_hold_char); \
  12345. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  12346. | (yy_hold_char) = *(yy_c_buf_p); \
  12347. | *(yy_c_buf_p) = '\0'; \
  12348. | yyleng = yyless_macro_arg; \
  12349. | } \
  12350. | while ( 0 )
  12351. |
  12352. | /* Accessor methods (get/set functions) to struct members. */
  12353. |
  12354. | /** Get the current line number.
  12355. | *
  12356. | */
  12357. | int yyget_lineno (void)
  12358. | {
  12359. |
  12360. | return yylineno;
  12361. | }
  12362. |
  12363. | /** Get the input stream.
  12364. | *
  12365. | */
  12366. | FILE *yyget_in (void)
  12367. | {
  12368. | return yyin;
  12369. | }
  12370. |
  12371. | /** Get the output stream.
  12372. | *
  12373. | */
  12374. | FILE *yyget_out (void)
  12375. | {
  12376. | return yyout;
  12377. | }
  12378. |
  12379. | /** Get the length of the current token.
  12380. | *
  12381. | */
  12382. | yy_size_t yyget_leng (void)
  12383. | {
  12384. | return yyleng;
  12385. | }
  12386. |
  12387. | /** Get the current token.
  12388. | *
  12389. | */
  12390. |
  12391. | char *yyget_text (void)
  12392. | {
  12393. | return yytext;
  12394. | }
  12395. |
  12396. | /** Set the current line number.
  12397. | * @param _line_number line number
  12398. | *
  12399. | */
  12400. | void yyset_lineno (int _line_number )
  12401. | {
  12402. |
  12403. | yylineno = _line_number;
  12404. | }
  12405. |
  12406. | /** Set the input stream. This does not discard the current
  12407. | * input buffer.
  12408. | * @param _in_str A readable stream.
  12409. | *
  12410. | * @see yy_switch_to_buffer
  12411. | */
  12412. | void yyset_in (FILE * _in_str )
  12413. | {
  12414. | yyin = _in_str ;
  12415. | }
  12416. |
  12417. | void yyset_out (FILE * _out_str )
  12418. | {
  12419. | yyout = _out_str ;
  12420. | }
  12421. |
  12422. | int yyget_debug (void)
  12423. | {
  12424. | return yy_flex_debug;
  12425. | }
  12426. |
  12427. | void yyset_debug (int _bdebug )
  12428. | {
  12429. | yy_flex_debug = _bdebug ;
  12430. | }
  12431. |
  12432. | static int yy_init_globals (void)
  12433. | {
  12434. | /* Initialization is the same as for the non-reentrant scanner.
  12435. | * This function is called from yylex_destroy(), so don't allocate here.
  12436. | */
  12437. |
  12438. | (yy_buffer_stack) = 0;
  12439. | (yy_buffer_stack_top) = 0;
  12440. | (yy_buffer_stack_max) = 0;
  12441. | (yy_c_buf_p) = (char *) 0;
  12442. | (yy_init) = 0;
  12443. | (yy_start) = 0;
  12444. |
  12445. | (yy_state_buf) = 0;
  12446. | (yy_state_ptr) = 0;
  12447. | (yy_full_match) = 0;
  12448. | (yy_lp) = 0;
  12449. |
  12450. | /* Defined in main.c */
  12451. | #ifdef YY_STDINIT
  12452. | yyin = stdin;
  12453. | yyout = stdout;
  12454. | #else
  12455. | yyin = (FILE *) 0;
  12456. | yyout = (FILE *) 0;
  12457. | #endif
  12458. |
  12459. | /* For future reference: Set errno on error, since we are called by
  12460. | * yylex_init()
  12461. | */
  12462. | return 0;
  12463. | }
  12464. |
  12465. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  12466. | int yylex_destroy (void)
  12467. | {
  12468. |
  12469. | /* Pop the buffer stack, destroying each element. */
  12470. | while(YY_CURRENT_BUFFER){
  12471. | yy_delete_buffer(YY_CURRENT_BUFFER );
  12472. | YY_CURRENT_BUFFER_LVALUE = NULL;
  12473. | yypop_buffer_state();
  12474. | }
  12475. |
  12476. | /* Destroy the stack itself. */
  12477. | yyfree((yy_buffer_stack) );
  12478. | (yy_buffer_stack) = NULL;
  12479. |
  12480. | yyfree ( (yy_state_buf) );
  12481. | (yy_state_buf) = NULL;
  12482. |
  12483. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  12484. | * yylex() is called, initialization will occur. */
  12485. | yy_init_globals( );
  12486. |
  12487. | return 0;
  12488. | }
  12489. |
  12490. | /*
  12491. | * Internal utility routines.
  12492. | */
  12493. |
  12494. | #ifndef yytext_ptr
  12495. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  12496. | {
  12497. |
  12498. | int i;
  12499. | for ( i = 0; i < n; ++i )
  12500. | s1[i] = s2[i];
  12501. | }
  12502. | #endif
  12503. |
  12504. | #ifdef YY_NEED_STRLEN
  12505. | static int yy_flex_strlen (yyconst char * s )
  12506. | {
  12507. | int n;
  12508. | for ( n = 0; s[n]; ++n )
  12509. | ;
  12510. |
  12511. | return n;
  12512. | }
  12513. | #endif
  12514. |
  12515. | void *yyalloc (yy_size_t size )
  12516. | {
  12517. | return (void *) malloc( size );
  12518. | }
  12519. |
  12520. | void *yyrealloc (void * ptr, yy_size_t size )
  12521. | {
  12522. |
  12523. | /* The cast to (char *) in the following accommodates both
  12524. | * implementations that use char* generic pointers, and those
  12525. | * that use void* generic pointers. It works with the latter
  12526. | * because both ANSI C and C++ allow castless assignment from
  12527. | * any pointer type to void*, and deal with argument conversions
  12528. | * as though doing an assignment.
  12529. | */
  12530. | return (void *) realloc( (char *) ptr, size );
  12531. | }
  12532. |
  12533. | void yyfree (void * ptr )
  12534. | {
  12535. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  12536. | }
  12537. |
  12538. | #define YYTABLES_NAME "yytables"
  12539. |
  12540. | #line 10 "conftest.l"
  12541. |
  12542. |
  12543. | #ifdef YYTEXT_POINTER
  12544. | extern char *yytext;
  12545. | #endif
  12546. | int
  12547. | main (void)
  12548. | {
  12549. | return ! yylex () + ! yywrap ();
  12550. | }
  12551. configure:19671: result: no
  12552. configure:19735: checking for pkg-config
  12553. configure:19765: result: /usr/bin/pkg-config
  12554. configure:19790: checking pkg-config is at least version 0.9.0
  12555. configure:19793: result: yes
  12556. configure:19810: checking for library containing dlopen
  12557. configure:19841: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp >&5
  12558. /tmp/cc8YsZWJ.o: In function `main':
  12559. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.cpp:139: undefined reference to `dlopen'
  12560. collect2: error: ld returned 1 exit status
  12561. configure:19841: $? = 1
  12562. configure: failed program was:
  12563. | /* confdefs.h */
  12564. | #define PACKAGE_NAME "OLA"
  12565. | #define PACKAGE_TARNAME "ola"
  12566. | #define PACKAGE_VERSION "0.10.6"
  12567. | #define PACKAGE_STRING "OLA 0.10.6"
  12568. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  12569. | #define PACKAGE_URL ""
  12570. | #define PACKAGE "ola"
  12571. | #define VERSION "0.10.6"
  12572. | #define HAVE_DIRENT_H 1
  12573. | #define HAVE_SYS_TYPES_H 1
  12574. | #define HAVE_NETINET_IN_H 1
  12575. | #define HAVE_ARPA_NAMESER_H 1
  12576. | #define HAVE_NETDB_H 1
  12577. | #define HAVE_RESOLV_H 1
  12578. | #define STDC_HEADERS 1
  12579. | #define HAVE_SYS_TYPES_H 1
  12580. | #define HAVE_SYS_STAT_H 1
  12581. | #define HAVE_STDLIB_H 1
  12582. | #define HAVE_STRING_H 1
  12583. | #define HAVE_MEMORY_H 1
  12584. | #define HAVE_STRINGS_H 1
  12585. | #define HAVE_INTTYPES_H 1
  12586. | #define HAVE_STDINT_H 1
  12587. | #define HAVE_UNISTD_H 1
  12588. | #define HAVE_ERRNO_H 1
  12589. | #define HAVE_ARPA_INET_H 1
  12590. | #define HAVE_BITS_SOCKADDR_H 1
  12591. | #define HAVE_FCNTL_H 1
  12592. | #define HAVE_FLOAT_H 1
  12593. | #define HAVE_LIMITS_H 1
  12594. | #define HAVE_MALLOC_H 1
  12595. | #define HAVE_NETINET_IN_H 1
  12596. | #define HAVE_STDINT_H 1
  12597. | #define HAVE_STDLIB_H 1
  12598. | #define HAVE_STRING_H 1
  12599. | #define HAVE_STRINGS_H 1
  12600. | #define HAVE_SYS_FILE_H 1
  12601. | #define HAVE_SYS_IOCTL_H 1
  12602. | #define HAVE_SYS_SOCKET_H 1
  12603. | #define HAVE_SYS_TIME_H 1
  12604. | #define HAVE_SYS_TIMEB_H 1
  12605. | #define HAVE_SYSLOG_H 1
  12606. | #define HAVE_TERMIOS_H 1
  12607. | #define HAVE_UNISTD_H 1
  12608. | #define HAVE_ASM_TERMIOS_H 1
  12609. | #define HAVE_ASSERT_H 1
  12610. | #define HAVE_DLFCN_H 1
  12611. | #define HAVE_ENDIAN_H 1
  12612. | #define HAVE_EXECINFO_H 1
  12613. | #define HAVE_LINUX_IF_PACKET_H 1
  12614. | #define HAVE_MATH_H 1
  12615. | #define HAVE_NET_ETHERNET_H 1
  12616. | #define HAVE_STROPTS_H 1
  12617. | #define HAVE_SYS_PARAM_H 1
  12618. | #define HAVE_SYS_TYPES_H 1
  12619. | #define HAVE_SYS_UIO_H 1
  12620. | #define HAVE_SYSEXITS_H 1
  12621. | #define HAVE_SYS_SYSCTL_H 1
  12622. | #define HAVE_NET_IF_H 1
  12623. | #define HAVE_NET_IF_ARP_H 1
  12624. | #define HAVE_NET_ROUTE_H 1
  12625. | #define HAVE_NETINET_IF_ETHER_H 1
  12626. | #define HAVE_LINUX_NETLINK_H 1
  12627. | #define HAVE_LINUX_RTNETLINK_H 1
  12628. | #define HAVE_STDBOOL_H 1
  12629. | #define restrict __restrict
  12630. | #define HAVE_HASH_MAP 1
  12631. | #define HAVE_HASH_SET 1
  12632. | #define HAVE_UNORDERED_MAP 1
  12633. | #define HASH_MAP_H <tr1/unordered_map>
  12634. | #define HASH_SET_H <tr1/unordered_set>
  12635. | #define HASH_NAMESPACE std::tr1
  12636. | #define HASH_MAP_CLASS unordered_map
  12637. | #define HASH_SET_CLASS unordered_set
  12638. | #define HAVE_FORK 1
  12639. | #define HAVE_VFORK 1
  12640. | #define HAVE_WORKING_VFORK 1
  12641. | #define HAVE_WORKING_FORK 1
  12642. | #define HAVE_STDLIB_H 1
  12643. | #define HAVE_MALLOC 1
  12644. | #define HAVE_STDLIB_H 1
  12645. | #define HAVE_REALLOC 1
  12646. | #define HAVE_SYS_SELECT_H 1
  12647. | #define HAVE_SYS_SOCKET_H 1
  12648. | #define SELECT_TYPE_ARG1 int
  12649. | #define SELECT_TYPE_ARG234 (fd_set *)
  12650. | #define SELECT_TYPE_ARG5 (struct timeval *)
  12651. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  12652. | #define HAVE_VPRINTF 1
  12653. | #define HAVE_BZERO 1
  12654. | #define HAVE_GETTIMEOFDAY 1
  12655. | #define HAVE_MEMMOVE 1
  12656. | #define HAVE_MEMSET 1
  12657. | #define HAVE_MKDIR 1
  12658. | #define HAVE_STRDUP 1
  12659. | #define HAVE_STRRCHR 1
  12660. | #define HAVE_IF_NAMETOINDEX 1
  12661. | #define HAVE_INET_NTOA 1
  12662. | #define HAVE_INET_NTOP 1
  12663. | #define HAVE_INET_ATON 1
  12664. | #define HAVE_INET_PTON 1
  12665. | #define HAVE_SELECT 1
  12666. | #define HAVE_SOCKET 1
  12667. | #define HAVE_STRERROR 1
  12668. | #define HAVE_GETIFADDRS 1
  12669. | #define HAVE_GETLOADAVG 1
  12670. | #define HAVE_GETPWNAM_R 1
  12671. | #define HAVE_GETPWUID_R 1
  12672. | #define HAVE_GETGRNAM_R 1
  12673. | #define HAVE_GETGRGID_R 1
  12674. | #define HAVE_SECURE_GETENV 1
  12675. | #define HAVE_DLFCN_H 1
  12676. | #define LT_OBJDIR ".libs/"
  12677. | #define HAVE_EPOLL 1
  12678. | #define HAVE_TIME_T 1
  12679. | #define HAVE_SUSECONDS_T 1
  12680. | #define HAVE_DECL_MSG_NOSIGNAL 1
  12681. | #define HAVE_DECL_SO_NOSIGPIPE 0
  12682. | #define HAVE_DECL_PF_ROUTE 1
  12683. | #define HAVE_DECL_NET_RT_DUMP 0
  12684. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  12685. | #define HAVE_DECL_RLIMIT_RTTIME 1
  12686. | #define HAVE_DECL_SO_REUSEADDR 1
  12687. | #define HAVE_DECL_SO_REUSEPORT 1
  12688. | #define HAVE_TERMIOS2 1
  12689. | /* end confdefs.h. */
  12690. |
  12691. | /* Override any GCC internal prototype to avoid an error.
  12692. | Use char because int might match the return type of a GCC
  12693. | builtin and then its argument prototype would still apply. */
  12694. | #ifdef __cplusplus
  12695. | extern "C"
  12696. | #endif
  12697. | char dlopen ();
  12698. | int
  12699. | main ()
  12700. | {
  12701. | return dlopen ();
  12702. | ;
  12703. | return 0;
  12704. | }
  12705. configure:19841: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -ldl >&5
  12706. configure:19841: $? = 0
  12707. configure:19858: result: -ldl
  12708. configure:19877: checking for DMXdev in -ldmx4linux
  12709. configure:19902: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -ldmx4linux -ldl >&5
  12710. /usr/bin/ld: cannot find -ldmx4linux
  12711. collect2: error: ld returned 1 exit status
  12712. configure:19902: $? = 1
  12713. configure: failed program was:
  12714. | /* confdefs.h */
  12715. | #define PACKAGE_NAME "OLA"
  12716. | #define PACKAGE_TARNAME "ola"
  12717. | #define PACKAGE_VERSION "0.10.6"
  12718. | #define PACKAGE_STRING "OLA 0.10.6"
  12719. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  12720. | #define PACKAGE_URL ""
  12721. | #define PACKAGE "ola"
  12722. | #define VERSION "0.10.6"
  12723. | #define HAVE_DIRENT_H 1
  12724. | #define HAVE_SYS_TYPES_H 1
  12725. | #define HAVE_NETINET_IN_H 1
  12726. | #define HAVE_ARPA_NAMESER_H 1
  12727. | #define HAVE_NETDB_H 1
  12728. | #define HAVE_RESOLV_H 1
  12729. | #define STDC_HEADERS 1
  12730. | #define HAVE_SYS_TYPES_H 1
  12731. | #define HAVE_SYS_STAT_H 1
  12732. | #define HAVE_STDLIB_H 1
  12733. | #define HAVE_STRING_H 1
  12734. | #define HAVE_MEMORY_H 1
  12735. | #define HAVE_STRINGS_H 1
  12736. | #define HAVE_INTTYPES_H 1
  12737. | #define HAVE_STDINT_H 1
  12738. | #define HAVE_UNISTD_H 1
  12739. | #define HAVE_ERRNO_H 1
  12740. | #define HAVE_ARPA_INET_H 1
  12741. | #define HAVE_BITS_SOCKADDR_H 1
  12742. | #define HAVE_FCNTL_H 1
  12743. | #define HAVE_FLOAT_H 1
  12744. | #define HAVE_LIMITS_H 1
  12745. | #define HAVE_MALLOC_H 1
  12746. | #define HAVE_NETINET_IN_H 1
  12747. | #define HAVE_STDINT_H 1
  12748. | #define HAVE_STDLIB_H 1
  12749. | #define HAVE_STRING_H 1
  12750. | #define HAVE_STRINGS_H 1
  12751. | #define HAVE_SYS_FILE_H 1
  12752. | #define HAVE_SYS_IOCTL_H 1
  12753. | #define HAVE_SYS_SOCKET_H 1
  12754. | #define HAVE_SYS_TIME_H 1
  12755. | #define HAVE_SYS_TIMEB_H 1
  12756. | #define HAVE_SYSLOG_H 1
  12757. | #define HAVE_TERMIOS_H 1
  12758. | #define HAVE_UNISTD_H 1
  12759. | #define HAVE_ASM_TERMIOS_H 1
  12760. | #define HAVE_ASSERT_H 1
  12761. | #define HAVE_DLFCN_H 1
  12762. | #define HAVE_ENDIAN_H 1
  12763. | #define HAVE_EXECINFO_H 1
  12764. | #define HAVE_LINUX_IF_PACKET_H 1
  12765. | #define HAVE_MATH_H 1
  12766. | #define HAVE_NET_ETHERNET_H 1
  12767. | #define HAVE_STROPTS_H 1
  12768. | #define HAVE_SYS_PARAM_H 1
  12769. | #define HAVE_SYS_TYPES_H 1
  12770. | #define HAVE_SYS_UIO_H 1
  12771. | #define HAVE_SYSEXITS_H 1
  12772. | #define HAVE_SYS_SYSCTL_H 1
  12773. | #define HAVE_NET_IF_H 1
  12774. | #define HAVE_NET_IF_ARP_H 1
  12775. | #define HAVE_NET_ROUTE_H 1
  12776. | #define HAVE_NETINET_IF_ETHER_H 1
  12777. | #define HAVE_LINUX_NETLINK_H 1
  12778. | #define HAVE_LINUX_RTNETLINK_H 1
  12779. | #define HAVE_STDBOOL_H 1
  12780. | #define restrict __restrict
  12781. | #define HAVE_HASH_MAP 1
  12782. | #define HAVE_HASH_SET 1
  12783. | #define HAVE_UNORDERED_MAP 1
  12784. | #define HASH_MAP_H <tr1/unordered_map>
  12785. | #define HASH_SET_H <tr1/unordered_set>
  12786. | #define HASH_NAMESPACE std::tr1
  12787. | #define HASH_MAP_CLASS unordered_map
  12788. | #define HASH_SET_CLASS unordered_set
  12789. | #define HAVE_FORK 1
  12790. | #define HAVE_VFORK 1
  12791. | #define HAVE_WORKING_VFORK 1
  12792. | #define HAVE_WORKING_FORK 1
  12793. | #define HAVE_STDLIB_H 1
  12794. | #define HAVE_MALLOC 1
  12795. | #define HAVE_STDLIB_H 1
  12796. | #define HAVE_REALLOC 1
  12797. | #define HAVE_SYS_SELECT_H 1
  12798. | #define HAVE_SYS_SOCKET_H 1
  12799. | #define SELECT_TYPE_ARG1 int
  12800. | #define SELECT_TYPE_ARG234 (fd_set *)
  12801. | #define SELECT_TYPE_ARG5 (struct timeval *)
  12802. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  12803. | #define HAVE_VPRINTF 1
  12804. | #define HAVE_BZERO 1
  12805. | #define HAVE_GETTIMEOFDAY 1
  12806. | #define HAVE_MEMMOVE 1
  12807. | #define HAVE_MEMSET 1
  12808. | #define HAVE_MKDIR 1
  12809. | #define HAVE_STRDUP 1
  12810. | #define HAVE_STRRCHR 1
  12811. | #define HAVE_IF_NAMETOINDEX 1
  12812. | #define HAVE_INET_NTOA 1
  12813. | #define HAVE_INET_NTOP 1
  12814. | #define HAVE_INET_ATON 1
  12815. | #define HAVE_INET_PTON 1
  12816. | #define HAVE_SELECT 1
  12817. | #define HAVE_SOCKET 1
  12818. | #define HAVE_STRERROR 1
  12819. | #define HAVE_GETIFADDRS 1
  12820. | #define HAVE_GETLOADAVG 1
  12821. | #define HAVE_GETPWNAM_R 1
  12822. | #define HAVE_GETPWUID_R 1
  12823. | #define HAVE_GETGRNAM_R 1
  12824. | #define HAVE_GETGRGID_R 1
  12825. | #define HAVE_SECURE_GETENV 1
  12826. | #define HAVE_DLFCN_H 1
  12827. | #define LT_OBJDIR ".libs/"
  12828. | #define HAVE_EPOLL 1
  12829. | #define HAVE_TIME_T 1
  12830. | #define HAVE_SUSECONDS_T 1
  12831. | #define HAVE_DECL_MSG_NOSIGNAL 1
  12832. | #define HAVE_DECL_SO_NOSIGPIPE 0
  12833. | #define HAVE_DECL_PF_ROUTE 1
  12834. | #define HAVE_DECL_NET_RT_DUMP 0
  12835. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  12836. | #define HAVE_DECL_RLIMIT_RTTIME 1
  12837. | #define HAVE_DECL_SO_REUSEADDR 1
  12838. | #define HAVE_DECL_SO_REUSEPORT 1
  12839. | #define HAVE_TERMIOS2 1
  12840. | /* end confdefs.h. */
  12841. |
  12842. | /* Override any GCC internal prototype to avoid an error.
  12843. | Use char because int might match the return type of a GCC
  12844. | builtin and then its argument prototype would still apply. */
  12845. | #ifdef __cplusplus
  12846. | extern "C"
  12847. | #endif
  12848. | char DMXdev ();
  12849. | int
  12850. | main ()
  12851. | {
  12852. | return DMXdev ();
  12853. | ;
  12854. | return 0;
  12855. | }
  12856. configure:19911: result: no
  12857. configure:19917: checking dmx/dmxioctl.h usability
  12858. configure:19917: g++ -c -g -O2 -std=gnu++98 conftest.cpp >&5
  12859. conftest.cpp:161:26: fatal error: dmx/dmxioctl.h: No such file or directory
  12860. compilation terminated.
  12861. configure:19917: $? = 1
  12862. configure: failed program was:
  12863. | /* confdefs.h */
  12864. | #define PACKAGE_NAME "OLA"
  12865. | #define PACKAGE_TARNAME "ola"
  12866. | #define PACKAGE_VERSION "0.10.6"
  12867. | #define PACKAGE_STRING "OLA 0.10.6"
  12868. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  12869. | #define PACKAGE_URL ""
  12870. | #define PACKAGE "ola"
  12871. | #define VERSION "0.10.6"
  12872. | #define HAVE_DIRENT_H 1
  12873. | #define HAVE_SYS_TYPES_H 1
  12874. | #define HAVE_NETINET_IN_H 1
  12875. | #define HAVE_ARPA_NAMESER_H 1
  12876. | #define HAVE_NETDB_H 1
  12877. | #define HAVE_RESOLV_H 1
  12878. | #define STDC_HEADERS 1
  12879. | #define HAVE_SYS_TYPES_H 1
  12880. | #define HAVE_SYS_STAT_H 1
  12881. | #define HAVE_STDLIB_H 1
  12882. | #define HAVE_STRING_H 1
  12883. | #define HAVE_MEMORY_H 1
  12884. | #define HAVE_STRINGS_H 1
  12885. | #define HAVE_INTTYPES_H 1
  12886. | #define HAVE_STDINT_H 1
  12887. | #define HAVE_UNISTD_H 1
  12888. | #define HAVE_ERRNO_H 1
  12889. | #define HAVE_ARPA_INET_H 1
  12890. | #define HAVE_BITS_SOCKADDR_H 1
  12891. | #define HAVE_FCNTL_H 1
  12892. | #define HAVE_FLOAT_H 1
  12893. | #define HAVE_LIMITS_H 1
  12894. | #define HAVE_MALLOC_H 1
  12895. | #define HAVE_NETINET_IN_H 1
  12896. | #define HAVE_STDINT_H 1
  12897. | #define HAVE_STDLIB_H 1
  12898. | #define HAVE_STRING_H 1
  12899. | #define HAVE_STRINGS_H 1
  12900. | #define HAVE_SYS_FILE_H 1
  12901. | #define HAVE_SYS_IOCTL_H 1
  12902. | #define HAVE_SYS_SOCKET_H 1
  12903. | #define HAVE_SYS_TIME_H 1
  12904. | #define HAVE_SYS_TIMEB_H 1
  12905. | #define HAVE_SYSLOG_H 1
  12906. | #define HAVE_TERMIOS_H 1
  12907. | #define HAVE_UNISTD_H 1
  12908. | #define HAVE_ASM_TERMIOS_H 1
  12909. | #define HAVE_ASSERT_H 1
  12910. | #define HAVE_DLFCN_H 1
  12911. | #define HAVE_ENDIAN_H 1
  12912. | #define HAVE_EXECINFO_H 1
  12913. | #define HAVE_LINUX_IF_PACKET_H 1
  12914. | #define HAVE_MATH_H 1
  12915. | #define HAVE_NET_ETHERNET_H 1
  12916. | #define HAVE_STROPTS_H 1
  12917. | #define HAVE_SYS_PARAM_H 1
  12918. | #define HAVE_SYS_TYPES_H 1
  12919. | #define HAVE_SYS_UIO_H 1
  12920. | #define HAVE_SYSEXITS_H 1
  12921. | #define HAVE_SYS_SYSCTL_H 1
  12922. | #define HAVE_NET_IF_H 1
  12923. | #define HAVE_NET_IF_ARP_H 1
  12924. | #define HAVE_NET_ROUTE_H 1
  12925. | #define HAVE_NETINET_IF_ETHER_H 1
  12926. | #define HAVE_LINUX_NETLINK_H 1
  12927. | #define HAVE_LINUX_RTNETLINK_H 1
  12928. | #define HAVE_STDBOOL_H 1
  12929. | #define restrict __restrict
  12930. | #define HAVE_HASH_MAP 1
  12931. | #define HAVE_HASH_SET 1
  12932. | #define HAVE_UNORDERED_MAP 1
  12933. | #define HASH_MAP_H <tr1/unordered_map>
  12934. | #define HASH_SET_H <tr1/unordered_set>
  12935. | #define HASH_NAMESPACE std::tr1
  12936. | #define HASH_MAP_CLASS unordered_map
  12937. | #define HASH_SET_CLASS unordered_set
  12938. | #define HAVE_FORK 1
  12939. | #define HAVE_VFORK 1
  12940. | #define HAVE_WORKING_VFORK 1
  12941. | #define HAVE_WORKING_FORK 1
  12942. | #define HAVE_STDLIB_H 1
  12943. | #define HAVE_MALLOC 1
  12944. | #define HAVE_STDLIB_H 1
  12945. | #define HAVE_REALLOC 1
  12946. | #define HAVE_SYS_SELECT_H 1
  12947. | #define HAVE_SYS_SOCKET_H 1
  12948. | #define SELECT_TYPE_ARG1 int
  12949. | #define SELECT_TYPE_ARG234 (fd_set *)
  12950. | #define SELECT_TYPE_ARG5 (struct timeval *)
  12951. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  12952. | #define HAVE_VPRINTF 1
  12953. | #define HAVE_BZERO 1
  12954. | #define HAVE_GETTIMEOFDAY 1
  12955. | #define HAVE_MEMMOVE 1
  12956. | #define HAVE_MEMSET 1
  12957. | #define HAVE_MKDIR 1
  12958. | #define HAVE_STRDUP 1
  12959. | #define HAVE_STRRCHR 1
  12960. | #define HAVE_IF_NAMETOINDEX 1
  12961. | #define HAVE_INET_NTOA 1
  12962. | #define HAVE_INET_NTOP 1
  12963. | #define HAVE_INET_ATON 1
  12964. | #define HAVE_INET_PTON 1
  12965. | #define HAVE_SELECT 1
  12966. | #define HAVE_SOCKET 1
  12967. | #define HAVE_STRERROR 1
  12968. | #define HAVE_GETIFADDRS 1
  12969. | #define HAVE_GETLOADAVG 1
  12970. | #define HAVE_GETPWNAM_R 1
  12971. | #define HAVE_GETPWUID_R 1
  12972. | #define HAVE_GETGRNAM_R 1
  12973. | #define HAVE_GETGRGID_R 1
  12974. | #define HAVE_SECURE_GETENV 1
  12975. | #define HAVE_DLFCN_H 1
  12976. | #define LT_OBJDIR ".libs/"
  12977. | #define HAVE_EPOLL 1
  12978. | #define HAVE_TIME_T 1
  12979. | #define HAVE_SUSECONDS_T 1
  12980. | #define HAVE_DECL_MSG_NOSIGNAL 1
  12981. | #define HAVE_DECL_SO_NOSIGPIPE 0
  12982. | #define HAVE_DECL_PF_ROUTE 1
  12983. | #define HAVE_DECL_NET_RT_DUMP 0
  12984. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  12985. | #define HAVE_DECL_RLIMIT_RTTIME 1
  12986. | #define HAVE_DECL_SO_REUSEADDR 1
  12987. | #define HAVE_DECL_SO_REUSEPORT 1
  12988. | #define HAVE_TERMIOS2 1
  12989. | /* end confdefs.h. */
  12990. | #include <stdio.h>
  12991. | #ifdef HAVE_SYS_TYPES_H
  12992. | # include <sys/types.h>
  12993. | #endif
  12994. | #ifdef HAVE_SYS_STAT_H
  12995. | # include <sys/stat.h>
  12996. | #endif
  12997. | #ifdef STDC_HEADERS
  12998. | # include <stdlib.h>
  12999. | # include <stddef.h>
  13000. | #else
  13001. | # ifdef HAVE_STDLIB_H
  13002. | # include <stdlib.h>
  13003. | # endif
  13004. | #endif
  13005. | #ifdef HAVE_STRING_H
  13006. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13007. | # include <memory.h>
  13008. | # endif
  13009. | # include <string.h>
  13010. | #endif
  13011. | #ifdef HAVE_STRINGS_H
  13012. | # include <strings.h>
  13013. | #endif
  13014. | #ifdef HAVE_INTTYPES_H
  13015. | # include <inttypes.h>
  13016. | #endif
  13017. | #ifdef HAVE_STDINT_H
  13018. | # include <stdint.h>
  13019. | #endif
  13020. | #ifdef HAVE_UNISTD_H
  13021. | # include <unistd.h>
  13022. | #endif
  13023. | #include <dmx/dmxioctl.h>
  13024. configure:19917: result: no
  13025. configure:19917: checking dmx/dmxioctl.h presence
  13026. configure:19917: g++ -E conftest.cpp
  13027. conftest.cpp:128:26: fatal error: dmx/dmxioctl.h: No such file or directory
  13028. compilation terminated.
  13029. configure:19917: $? = 1
  13030. configure: failed program was:
  13031. | /* confdefs.h */
  13032. | #define PACKAGE_NAME "OLA"
  13033. | #define PACKAGE_TARNAME "ola"
  13034. | #define PACKAGE_VERSION "0.10.6"
  13035. | #define PACKAGE_STRING "OLA 0.10.6"
  13036. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13037. | #define PACKAGE_URL ""
  13038. | #define PACKAGE "ola"
  13039. | #define VERSION "0.10.6"
  13040. | #define HAVE_DIRENT_H 1
  13041. | #define HAVE_SYS_TYPES_H 1
  13042. | #define HAVE_NETINET_IN_H 1
  13043. | #define HAVE_ARPA_NAMESER_H 1
  13044. | #define HAVE_NETDB_H 1
  13045. | #define HAVE_RESOLV_H 1
  13046. | #define STDC_HEADERS 1
  13047. | #define HAVE_SYS_TYPES_H 1
  13048. | #define HAVE_SYS_STAT_H 1
  13049. | #define HAVE_STDLIB_H 1
  13050. | #define HAVE_STRING_H 1
  13051. | #define HAVE_MEMORY_H 1
  13052. | #define HAVE_STRINGS_H 1
  13053. | #define HAVE_INTTYPES_H 1
  13054. | #define HAVE_STDINT_H 1
  13055. | #define HAVE_UNISTD_H 1
  13056. | #define HAVE_ERRNO_H 1
  13057. | #define HAVE_ARPA_INET_H 1
  13058. | #define HAVE_BITS_SOCKADDR_H 1
  13059. | #define HAVE_FCNTL_H 1
  13060. | #define HAVE_FLOAT_H 1
  13061. | #define HAVE_LIMITS_H 1
  13062. | #define HAVE_MALLOC_H 1
  13063. | #define HAVE_NETINET_IN_H 1
  13064. | #define HAVE_STDINT_H 1
  13065. | #define HAVE_STDLIB_H 1
  13066. | #define HAVE_STRING_H 1
  13067. | #define HAVE_STRINGS_H 1
  13068. | #define HAVE_SYS_FILE_H 1
  13069. | #define HAVE_SYS_IOCTL_H 1
  13070. | #define HAVE_SYS_SOCKET_H 1
  13071. | #define HAVE_SYS_TIME_H 1
  13072. | #define HAVE_SYS_TIMEB_H 1
  13073. | #define HAVE_SYSLOG_H 1
  13074. | #define HAVE_TERMIOS_H 1
  13075. | #define HAVE_UNISTD_H 1
  13076. | #define HAVE_ASM_TERMIOS_H 1
  13077. | #define HAVE_ASSERT_H 1
  13078. | #define HAVE_DLFCN_H 1
  13079. | #define HAVE_ENDIAN_H 1
  13080. | #define HAVE_EXECINFO_H 1
  13081. | #define HAVE_LINUX_IF_PACKET_H 1
  13082. | #define HAVE_MATH_H 1
  13083. | #define HAVE_NET_ETHERNET_H 1
  13084. | #define HAVE_STROPTS_H 1
  13085. | #define HAVE_SYS_PARAM_H 1
  13086. | #define HAVE_SYS_TYPES_H 1
  13087. | #define HAVE_SYS_UIO_H 1
  13088. | #define HAVE_SYSEXITS_H 1
  13089. | #define HAVE_SYS_SYSCTL_H 1
  13090. | #define HAVE_NET_IF_H 1
  13091. | #define HAVE_NET_IF_ARP_H 1
  13092. | #define HAVE_NET_ROUTE_H 1
  13093. | #define HAVE_NETINET_IF_ETHER_H 1
  13094. | #define HAVE_LINUX_NETLINK_H 1
  13095. | #define HAVE_LINUX_RTNETLINK_H 1
  13096. | #define HAVE_STDBOOL_H 1
  13097. | #define restrict __restrict
  13098. | #define HAVE_HASH_MAP 1
  13099. | #define HAVE_HASH_SET 1
  13100. | #define HAVE_UNORDERED_MAP 1
  13101. | #define HASH_MAP_H <tr1/unordered_map>
  13102. | #define HASH_SET_H <tr1/unordered_set>
  13103. | #define HASH_NAMESPACE std::tr1
  13104. | #define HASH_MAP_CLASS unordered_map
  13105. | #define HASH_SET_CLASS unordered_set
  13106. | #define HAVE_FORK 1
  13107. | #define HAVE_VFORK 1
  13108. | #define HAVE_WORKING_VFORK 1
  13109. | #define HAVE_WORKING_FORK 1
  13110. | #define HAVE_STDLIB_H 1
  13111. | #define HAVE_MALLOC 1
  13112. | #define HAVE_STDLIB_H 1
  13113. | #define HAVE_REALLOC 1
  13114. | #define HAVE_SYS_SELECT_H 1
  13115. | #define HAVE_SYS_SOCKET_H 1
  13116. | #define SELECT_TYPE_ARG1 int
  13117. | #define SELECT_TYPE_ARG234 (fd_set *)
  13118. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13119. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13120. | #define HAVE_VPRINTF 1
  13121. | #define HAVE_BZERO 1
  13122. | #define HAVE_GETTIMEOFDAY 1
  13123. | #define HAVE_MEMMOVE 1
  13124. | #define HAVE_MEMSET 1
  13125. | #define HAVE_MKDIR 1
  13126. | #define HAVE_STRDUP 1
  13127. | #define HAVE_STRRCHR 1
  13128. | #define HAVE_IF_NAMETOINDEX 1
  13129. | #define HAVE_INET_NTOA 1
  13130. | #define HAVE_INET_NTOP 1
  13131. | #define HAVE_INET_ATON 1
  13132. | #define HAVE_INET_PTON 1
  13133. | #define HAVE_SELECT 1
  13134. | #define HAVE_SOCKET 1
  13135. | #define HAVE_STRERROR 1
  13136. | #define HAVE_GETIFADDRS 1
  13137. | #define HAVE_GETLOADAVG 1
  13138. | #define HAVE_GETPWNAM_R 1
  13139. | #define HAVE_GETPWUID_R 1
  13140. | #define HAVE_GETGRNAM_R 1
  13141. | #define HAVE_GETGRGID_R 1
  13142. | #define HAVE_SECURE_GETENV 1
  13143. | #define HAVE_DLFCN_H 1
  13144. | #define LT_OBJDIR ".libs/"
  13145. | #define HAVE_EPOLL 1
  13146. | #define HAVE_TIME_T 1
  13147. | #define HAVE_SUSECONDS_T 1
  13148. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13149. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13150. | #define HAVE_DECL_PF_ROUTE 1
  13151. | #define HAVE_DECL_NET_RT_DUMP 0
  13152. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13153. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13154. | #define HAVE_DECL_SO_REUSEADDR 1
  13155. | #define HAVE_DECL_SO_REUSEPORT 1
  13156. | #define HAVE_TERMIOS2 1
  13157. | /* end confdefs.h. */
  13158. | #include <dmx/dmxioctl.h>
  13159. configure:19917: result: no
  13160. configure:19917: checking for dmx/dmxioctl.h
  13161. configure:19917: result: no
  13162. configure:19935: checking for backtrace in -lexecinfo
  13163. configure:19960: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -lexecinfo -ldl >&5
  13164. /usr/bin/ld: cannot find -lexecinfo
  13165. collect2: error: ld returned 1 exit status
  13166. configure:19960: $? = 1
  13167. configure: failed program was:
  13168. | /* confdefs.h */
  13169. | #define PACKAGE_NAME "OLA"
  13170. | #define PACKAGE_TARNAME "ola"
  13171. | #define PACKAGE_VERSION "0.10.6"
  13172. | #define PACKAGE_STRING "OLA 0.10.6"
  13173. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13174. | #define PACKAGE_URL ""
  13175. | #define PACKAGE "ola"
  13176. | #define VERSION "0.10.6"
  13177. | #define HAVE_DIRENT_H 1
  13178. | #define HAVE_SYS_TYPES_H 1
  13179. | #define HAVE_NETINET_IN_H 1
  13180. | #define HAVE_ARPA_NAMESER_H 1
  13181. | #define HAVE_NETDB_H 1
  13182. | #define HAVE_RESOLV_H 1
  13183. | #define STDC_HEADERS 1
  13184. | #define HAVE_SYS_TYPES_H 1
  13185. | #define HAVE_SYS_STAT_H 1
  13186. | #define HAVE_STDLIB_H 1
  13187. | #define HAVE_STRING_H 1
  13188. | #define HAVE_MEMORY_H 1
  13189. | #define HAVE_STRINGS_H 1
  13190. | #define HAVE_INTTYPES_H 1
  13191. | #define HAVE_STDINT_H 1
  13192. | #define HAVE_UNISTD_H 1
  13193. | #define HAVE_ERRNO_H 1
  13194. | #define HAVE_ARPA_INET_H 1
  13195. | #define HAVE_BITS_SOCKADDR_H 1
  13196. | #define HAVE_FCNTL_H 1
  13197. | #define HAVE_FLOAT_H 1
  13198. | #define HAVE_LIMITS_H 1
  13199. | #define HAVE_MALLOC_H 1
  13200. | #define HAVE_NETINET_IN_H 1
  13201. | #define HAVE_STDINT_H 1
  13202. | #define HAVE_STDLIB_H 1
  13203. | #define HAVE_STRING_H 1
  13204. | #define HAVE_STRINGS_H 1
  13205. | #define HAVE_SYS_FILE_H 1
  13206. | #define HAVE_SYS_IOCTL_H 1
  13207. | #define HAVE_SYS_SOCKET_H 1
  13208. | #define HAVE_SYS_TIME_H 1
  13209. | #define HAVE_SYS_TIMEB_H 1
  13210. | #define HAVE_SYSLOG_H 1
  13211. | #define HAVE_TERMIOS_H 1
  13212. | #define HAVE_UNISTD_H 1
  13213. | #define HAVE_ASM_TERMIOS_H 1
  13214. | #define HAVE_ASSERT_H 1
  13215. | #define HAVE_DLFCN_H 1
  13216. | #define HAVE_ENDIAN_H 1
  13217. | #define HAVE_EXECINFO_H 1
  13218. | #define HAVE_LINUX_IF_PACKET_H 1
  13219. | #define HAVE_MATH_H 1
  13220. | #define HAVE_NET_ETHERNET_H 1
  13221. | #define HAVE_STROPTS_H 1
  13222. | #define HAVE_SYS_PARAM_H 1
  13223. | #define HAVE_SYS_TYPES_H 1
  13224. | #define HAVE_SYS_UIO_H 1
  13225. | #define HAVE_SYSEXITS_H 1
  13226. | #define HAVE_SYS_SYSCTL_H 1
  13227. | #define HAVE_NET_IF_H 1
  13228. | #define HAVE_NET_IF_ARP_H 1
  13229. | #define HAVE_NET_ROUTE_H 1
  13230. | #define HAVE_NETINET_IF_ETHER_H 1
  13231. | #define HAVE_LINUX_NETLINK_H 1
  13232. | #define HAVE_LINUX_RTNETLINK_H 1
  13233. | #define HAVE_STDBOOL_H 1
  13234. | #define restrict __restrict
  13235. | #define HAVE_HASH_MAP 1
  13236. | #define HAVE_HASH_SET 1
  13237. | #define HAVE_UNORDERED_MAP 1
  13238. | #define HASH_MAP_H <tr1/unordered_map>
  13239. | #define HASH_SET_H <tr1/unordered_set>
  13240. | #define HASH_NAMESPACE std::tr1
  13241. | #define HASH_MAP_CLASS unordered_map
  13242. | #define HASH_SET_CLASS unordered_set
  13243. | #define HAVE_FORK 1
  13244. | #define HAVE_VFORK 1
  13245. | #define HAVE_WORKING_VFORK 1
  13246. | #define HAVE_WORKING_FORK 1
  13247. | #define HAVE_STDLIB_H 1
  13248. | #define HAVE_MALLOC 1
  13249. | #define HAVE_STDLIB_H 1
  13250. | #define HAVE_REALLOC 1
  13251. | #define HAVE_SYS_SELECT_H 1
  13252. | #define HAVE_SYS_SOCKET_H 1
  13253. | #define SELECT_TYPE_ARG1 int
  13254. | #define SELECT_TYPE_ARG234 (fd_set *)
  13255. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13256. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13257. | #define HAVE_VPRINTF 1
  13258. | #define HAVE_BZERO 1
  13259. | #define HAVE_GETTIMEOFDAY 1
  13260. | #define HAVE_MEMMOVE 1
  13261. | #define HAVE_MEMSET 1
  13262. | #define HAVE_MKDIR 1
  13263. | #define HAVE_STRDUP 1
  13264. | #define HAVE_STRRCHR 1
  13265. | #define HAVE_IF_NAMETOINDEX 1
  13266. | #define HAVE_INET_NTOA 1
  13267. | #define HAVE_INET_NTOP 1
  13268. | #define HAVE_INET_ATON 1
  13269. | #define HAVE_INET_PTON 1
  13270. | #define HAVE_SELECT 1
  13271. | #define HAVE_SOCKET 1
  13272. | #define HAVE_STRERROR 1
  13273. | #define HAVE_GETIFADDRS 1
  13274. | #define HAVE_GETLOADAVG 1
  13275. | #define HAVE_GETPWNAM_R 1
  13276. | #define HAVE_GETPWUID_R 1
  13277. | #define HAVE_GETGRNAM_R 1
  13278. | #define HAVE_GETGRGID_R 1
  13279. | #define HAVE_SECURE_GETENV 1
  13280. | #define HAVE_DLFCN_H 1
  13281. | #define LT_OBJDIR ".libs/"
  13282. | #define HAVE_EPOLL 1
  13283. | #define HAVE_TIME_T 1
  13284. | #define HAVE_SUSECONDS_T 1
  13285. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13286. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13287. | #define HAVE_DECL_PF_ROUTE 1
  13288. | #define HAVE_DECL_NET_RT_DUMP 0
  13289. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13290. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13291. | #define HAVE_DECL_SO_REUSEADDR 1
  13292. | #define HAVE_DECL_SO_REUSEPORT 1
  13293. | #define HAVE_TERMIOS2 1
  13294. | /* end confdefs.h. */
  13295. |
  13296. | /* Override any GCC internal prototype to avoid an error.
  13297. | Use char because int might match the return type of a GCC
  13298. | builtin and then its argument prototype would still apply. */
  13299. | #ifdef __cplusplus
  13300. | extern "C"
  13301. | #endif
  13302. | char backtrace ();
  13303. | int
  13304. | main ()
  13305. | {
  13306. | return backtrace ();
  13307. | ;
  13308. | return 0;
  13309. | }
  13310. configure:19969: result: no
  13311. configure:19993: checking for initscr in -lncurses
  13312. configure:20018: g++ -o conftest -g -O2 -std=gnu++98 conftest.cpp -lncurses -ldl >&5
  13313. /usr/bin/ld: cannot find -lncurses
  13314. collect2: error: ld returned 1 exit status
  13315. configure:20018: $? = 1
  13316. configure: failed program was:
  13317. | /* confdefs.h */
  13318. | #define PACKAGE_NAME "OLA"
  13319. | #define PACKAGE_TARNAME "ola"
  13320. | #define PACKAGE_VERSION "0.10.6"
  13321. | #define PACKAGE_STRING "OLA 0.10.6"
  13322. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13323. | #define PACKAGE_URL ""
  13324. | #define PACKAGE "ola"
  13325. | #define VERSION "0.10.6"
  13326. | #define HAVE_DIRENT_H 1
  13327. | #define HAVE_SYS_TYPES_H 1
  13328. | #define HAVE_NETINET_IN_H 1
  13329. | #define HAVE_ARPA_NAMESER_H 1
  13330. | #define HAVE_NETDB_H 1
  13331. | #define HAVE_RESOLV_H 1
  13332. | #define STDC_HEADERS 1
  13333. | #define HAVE_SYS_TYPES_H 1
  13334. | #define HAVE_SYS_STAT_H 1
  13335. | #define HAVE_STDLIB_H 1
  13336. | #define HAVE_STRING_H 1
  13337. | #define HAVE_MEMORY_H 1
  13338. | #define HAVE_STRINGS_H 1
  13339. | #define HAVE_INTTYPES_H 1
  13340. | #define HAVE_STDINT_H 1
  13341. | #define HAVE_UNISTD_H 1
  13342. | #define HAVE_ERRNO_H 1
  13343. | #define HAVE_ARPA_INET_H 1
  13344. | #define HAVE_BITS_SOCKADDR_H 1
  13345. | #define HAVE_FCNTL_H 1
  13346. | #define HAVE_FLOAT_H 1
  13347. | #define HAVE_LIMITS_H 1
  13348. | #define HAVE_MALLOC_H 1
  13349. | #define HAVE_NETINET_IN_H 1
  13350. | #define HAVE_STDINT_H 1
  13351. | #define HAVE_STDLIB_H 1
  13352. | #define HAVE_STRING_H 1
  13353. | #define HAVE_STRINGS_H 1
  13354. | #define HAVE_SYS_FILE_H 1
  13355. | #define HAVE_SYS_IOCTL_H 1
  13356. | #define HAVE_SYS_SOCKET_H 1
  13357. | #define HAVE_SYS_TIME_H 1
  13358. | #define HAVE_SYS_TIMEB_H 1
  13359. | #define HAVE_SYSLOG_H 1
  13360. | #define HAVE_TERMIOS_H 1
  13361. | #define HAVE_UNISTD_H 1
  13362. | #define HAVE_ASM_TERMIOS_H 1
  13363. | #define HAVE_ASSERT_H 1
  13364. | #define HAVE_DLFCN_H 1
  13365. | #define HAVE_ENDIAN_H 1
  13366. | #define HAVE_EXECINFO_H 1
  13367. | #define HAVE_LINUX_IF_PACKET_H 1
  13368. | #define HAVE_MATH_H 1
  13369. | #define HAVE_NET_ETHERNET_H 1
  13370. | #define HAVE_STROPTS_H 1
  13371. | #define HAVE_SYS_PARAM_H 1
  13372. | #define HAVE_SYS_TYPES_H 1
  13373. | #define HAVE_SYS_UIO_H 1
  13374. | #define HAVE_SYSEXITS_H 1
  13375. | #define HAVE_SYS_SYSCTL_H 1
  13376. | #define HAVE_NET_IF_H 1
  13377. | #define HAVE_NET_IF_ARP_H 1
  13378. | #define HAVE_NET_ROUTE_H 1
  13379. | #define HAVE_NETINET_IF_ETHER_H 1
  13380. | #define HAVE_LINUX_NETLINK_H 1
  13381. | #define HAVE_LINUX_RTNETLINK_H 1
  13382. | #define HAVE_STDBOOL_H 1
  13383. | #define restrict __restrict
  13384. | #define HAVE_HASH_MAP 1
  13385. | #define HAVE_HASH_SET 1
  13386. | #define HAVE_UNORDERED_MAP 1
  13387. | #define HASH_MAP_H <tr1/unordered_map>
  13388. | #define HASH_SET_H <tr1/unordered_set>
  13389. | #define HASH_NAMESPACE std::tr1
  13390. | #define HASH_MAP_CLASS unordered_map
  13391. | #define HASH_SET_CLASS unordered_set
  13392. | #define HAVE_FORK 1
  13393. | #define HAVE_VFORK 1
  13394. | #define HAVE_WORKING_VFORK 1
  13395. | #define HAVE_WORKING_FORK 1
  13396. | #define HAVE_STDLIB_H 1
  13397. | #define HAVE_MALLOC 1
  13398. | #define HAVE_STDLIB_H 1
  13399. | #define HAVE_REALLOC 1
  13400. | #define HAVE_SYS_SELECT_H 1
  13401. | #define HAVE_SYS_SOCKET_H 1
  13402. | #define SELECT_TYPE_ARG1 int
  13403. | #define SELECT_TYPE_ARG234 (fd_set *)
  13404. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13405. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13406. | #define HAVE_VPRINTF 1
  13407. | #define HAVE_BZERO 1
  13408. | #define HAVE_GETTIMEOFDAY 1
  13409. | #define HAVE_MEMMOVE 1
  13410. | #define HAVE_MEMSET 1
  13411. | #define HAVE_MKDIR 1
  13412. | #define HAVE_STRDUP 1
  13413. | #define HAVE_STRRCHR 1
  13414. | #define HAVE_IF_NAMETOINDEX 1
  13415. | #define HAVE_INET_NTOA 1
  13416. | #define HAVE_INET_NTOP 1
  13417. | #define HAVE_INET_ATON 1
  13418. | #define HAVE_INET_PTON 1
  13419. | #define HAVE_SELECT 1
  13420. | #define HAVE_SOCKET 1
  13421. | #define HAVE_STRERROR 1
  13422. | #define HAVE_GETIFADDRS 1
  13423. | #define HAVE_GETLOADAVG 1
  13424. | #define HAVE_GETPWNAM_R 1
  13425. | #define HAVE_GETPWUID_R 1
  13426. | #define HAVE_GETGRNAM_R 1
  13427. | #define HAVE_GETGRGID_R 1
  13428. | #define HAVE_SECURE_GETENV 1
  13429. | #define HAVE_DLFCN_H 1
  13430. | #define LT_OBJDIR ".libs/"
  13431. | #define HAVE_EPOLL 1
  13432. | #define HAVE_TIME_T 1
  13433. | #define HAVE_SUSECONDS_T 1
  13434. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13435. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13436. | #define HAVE_DECL_PF_ROUTE 1
  13437. | #define HAVE_DECL_NET_RT_DUMP 0
  13438. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13439. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13440. | #define HAVE_DECL_SO_REUSEADDR 1
  13441. | #define HAVE_DECL_SO_REUSEPORT 1
  13442. | #define HAVE_TERMIOS2 1
  13443. | /* end confdefs.h. */
  13444. |
  13445. | /* Override any GCC internal prototype to avoid an error.
  13446. | Use char because int might match the return type of a GCC
  13447. | builtin and then its argument prototype would still apply. */
  13448. | #ifdef __cplusplus
  13449. | extern "C"
  13450. | #endif
  13451. | char initscr ();
  13452. | int
  13453. | main ()
  13454. | {
  13455. | return initscr ();
  13456. | ;
  13457. | return 0;
  13458. | }
  13459. configure:20027: result: no
  13460. configure:20213: checking for the pthreads library -lpthreads
  13461. configure:20252: gcc -o conftest -g -O2 conftest.c -lpthreads -ldl >&5
  13462. conftest.c: In function 'main':
  13463. conftest.c:134:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  13464. pthread_attr_init(0);
  13465. ^
  13466. conftest.c:136:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  13467. pthread_create(0,0,0,0);
  13468. ^
  13469. conftest.c:136:23: warning: null argument where non-null required (argument 3) [-Wnonnull]
  13470. /usr/bin/ld: cannot find -lpthreads
  13471. collect2: error: ld returned 1 exit status
  13472. configure:20252: $? = 1
  13473. configure: failed program was:
  13474. | /* confdefs.h */
  13475. | #define PACKAGE_NAME "OLA"
  13476. | #define PACKAGE_TARNAME "ola"
  13477. | #define PACKAGE_VERSION "0.10.6"
  13478. | #define PACKAGE_STRING "OLA 0.10.6"
  13479. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13480. | #define PACKAGE_URL ""
  13481. | #define PACKAGE "ola"
  13482. | #define VERSION "0.10.6"
  13483. | #define HAVE_DIRENT_H 1
  13484. | #define HAVE_SYS_TYPES_H 1
  13485. | #define HAVE_NETINET_IN_H 1
  13486. | #define HAVE_ARPA_NAMESER_H 1
  13487. | #define HAVE_NETDB_H 1
  13488. | #define HAVE_RESOLV_H 1
  13489. | #define STDC_HEADERS 1
  13490. | #define HAVE_SYS_TYPES_H 1
  13491. | #define HAVE_SYS_STAT_H 1
  13492. | #define HAVE_STDLIB_H 1
  13493. | #define HAVE_STRING_H 1
  13494. | #define HAVE_MEMORY_H 1
  13495. | #define HAVE_STRINGS_H 1
  13496. | #define HAVE_INTTYPES_H 1
  13497. | #define HAVE_STDINT_H 1
  13498. | #define HAVE_UNISTD_H 1
  13499. | #define HAVE_ERRNO_H 1
  13500. | #define HAVE_ARPA_INET_H 1
  13501. | #define HAVE_BITS_SOCKADDR_H 1
  13502. | #define HAVE_FCNTL_H 1
  13503. | #define HAVE_FLOAT_H 1
  13504. | #define HAVE_LIMITS_H 1
  13505. | #define HAVE_MALLOC_H 1
  13506. | #define HAVE_NETINET_IN_H 1
  13507. | #define HAVE_STDINT_H 1
  13508. | #define HAVE_STDLIB_H 1
  13509. | #define HAVE_STRING_H 1
  13510. | #define HAVE_STRINGS_H 1
  13511. | #define HAVE_SYS_FILE_H 1
  13512. | #define HAVE_SYS_IOCTL_H 1
  13513. | #define HAVE_SYS_SOCKET_H 1
  13514. | #define HAVE_SYS_TIME_H 1
  13515. | #define HAVE_SYS_TIMEB_H 1
  13516. | #define HAVE_SYSLOG_H 1
  13517. | #define HAVE_TERMIOS_H 1
  13518. | #define HAVE_UNISTD_H 1
  13519. | #define HAVE_ASM_TERMIOS_H 1
  13520. | #define HAVE_ASSERT_H 1
  13521. | #define HAVE_DLFCN_H 1
  13522. | #define HAVE_ENDIAN_H 1
  13523. | #define HAVE_EXECINFO_H 1
  13524. | #define HAVE_LINUX_IF_PACKET_H 1
  13525. | #define HAVE_MATH_H 1
  13526. | #define HAVE_NET_ETHERNET_H 1
  13527. | #define HAVE_STROPTS_H 1
  13528. | #define HAVE_SYS_PARAM_H 1
  13529. | #define HAVE_SYS_TYPES_H 1
  13530. | #define HAVE_SYS_UIO_H 1
  13531. | #define HAVE_SYSEXITS_H 1
  13532. | #define HAVE_SYS_SYSCTL_H 1
  13533. | #define HAVE_NET_IF_H 1
  13534. | #define HAVE_NET_IF_ARP_H 1
  13535. | #define HAVE_NET_ROUTE_H 1
  13536. | #define HAVE_NETINET_IF_ETHER_H 1
  13537. | #define HAVE_LINUX_NETLINK_H 1
  13538. | #define HAVE_LINUX_RTNETLINK_H 1
  13539. | #define HAVE_STDBOOL_H 1
  13540. | #define restrict __restrict
  13541. | #define HAVE_HASH_MAP 1
  13542. | #define HAVE_HASH_SET 1
  13543. | #define HAVE_UNORDERED_MAP 1
  13544. | #define HASH_MAP_H <tr1/unordered_map>
  13545. | #define HASH_SET_H <tr1/unordered_set>
  13546. | #define HASH_NAMESPACE std::tr1
  13547. | #define HASH_MAP_CLASS unordered_map
  13548. | #define HASH_SET_CLASS unordered_set
  13549. | #define HAVE_FORK 1
  13550. | #define HAVE_VFORK 1
  13551. | #define HAVE_WORKING_VFORK 1
  13552. | #define HAVE_WORKING_FORK 1
  13553. | #define HAVE_STDLIB_H 1
  13554. | #define HAVE_MALLOC 1
  13555. | #define HAVE_STDLIB_H 1
  13556. | #define HAVE_REALLOC 1
  13557. | #define HAVE_SYS_SELECT_H 1
  13558. | #define HAVE_SYS_SOCKET_H 1
  13559. | #define SELECT_TYPE_ARG1 int
  13560. | #define SELECT_TYPE_ARG234 (fd_set *)
  13561. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13562. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13563. | #define HAVE_VPRINTF 1
  13564. | #define HAVE_BZERO 1
  13565. | #define HAVE_GETTIMEOFDAY 1
  13566. | #define HAVE_MEMMOVE 1
  13567. | #define HAVE_MEMSET 1
  13568. | #define HAVE_MKDIR 1
  13569. | #define HAVE_STRDUP 1
  13570. | #define HAVE_STRRCHR 1
  13571. | #define HAVE_IF_NAMETOINDEX 1
  13572. | #define HAVE_INET_NTOA 1
  13573. | #define HAVE_INET_NTOP 1
  13574. | #define HAVE_INET_ATON 1
  13575. | #define HAVE_INET_PTON 1
  13576. | #define HAVE_SELECT 1
  13577. | #define HAVE_SOCKET 1
  13578. | #define HAVE_STRERROR 1
  13579. | #define HAVE_GETIFADDRS 1
  13580. | #define HAVE_GETLOADAVG 1
  13581. | #define HAVE_GETPWNAM_R 1
  13582. | #define HAVE_GETPWUID_R 1
  13583. | #define HAVE_GETGRNAM_R 1
  13584. | #define HAVE_GETGRGID_R 1
  13585. | #define HAVE_SECURE_GETENV 1
  13586. | #define HAVE_DLFCN_H 1
  13587. | #define LT_OBJDIR ".libs/"
  13588. | #define HAVE_EPOLL 1
  13589. | #define HAVE_TIME_T 1
  13590. | #define HAVE_SUSECONDS_T 1
  13591. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13592. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13593. | #define HAVE_DECL_PF_ROUTE 1
  13594. | #define HAVE_DECL_NET_RT_DUMP 0
  13595. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13596. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13597. | #define HAVE_DECL_SO_REUSEADDR 1
  13598. | #define HAVE_DECL_SO_REUSEPORT 1
  13599. | #define HAVE_TERMIOS2 1
  13600. | /* end confdefs.h. */
  13601. | #include <pthread.h>
  13602. | int
  13603. | main ()
  13604. | {
  13605. | pthread_t th;
  13606. | pthread_join(th, 0);
  13607. | pthread_attr_init(0);
  13608. | pthread_cleanup_push(0, 0);
  13609. | pthread_create(0,0,0,0);
  13610. | pthread_cleanup_pop(0);
  13611. |
  13612. | ;
  13613. | return 0;
  13614. | }
  13615. configure:20262: result: no
  13616. configure:20156: checking whether pthreads work without any flags
  13617. configure:20252: gcc -o conftest -g -O2 conftest.c -ldl >&5
  13618. conftest.c: In function 'main':
  13619. conftest.c:134:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  13620. pthread_attr_init(0);
  13621. ^
  13622. conftest.c:136:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  13623. pthread_create(0,0,0,0);
  13624. ^
  13625. conftest.c:136:23: warning: null argument where non-null required (argument 3) [-Wnonnull]
  13626. /tmp/ccJkOED6.o: In function `main':
  13627. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.c:133: undefined reference to `pthread_join'
  13628. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.c:135: undefined reference to `__pthread_register_cancel'
  13629. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.c:136: undefined reference to `pthread_create'
  13630. /home/uwbclient01/UWB_Light/ola-0.10.6/conftest.c:137: undefined reference to `__pthread_unregister_cancel'
  13631. collect2: error: ld returned 1 exit status
  13632. configure:20252: $? = 1
  13633. configure: failed program was:
  13634. | /* confdefs.h */
  13635. | #define PACKAGE_NAME "OLA"
  13636. | #define PACKAGE_TARNAME "ola"
  13637. | #define PACKAGE_VERSION "0.10.6"
  13638. | #define PACKAGE_STRING "OLA 0.10.6"
  13639. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13640. | #define PACKAGE_URL ""
  13641. | #define PACKAGE "ola"
  13642. | #define VERSION "0.10.6"
  13643. | #define HAVE_DIRENT_H 1
  13644. | #define HAVE_SYS_TYPES_H 1
  13645. | #define HAVE_NETINET_IN_H 1
  13646. | #define HAVE_ARPA_NAMESER_H 1
  13647. | #define HAVE_NETDB_H 1
  13648. | #define HAVE_RESOLV_H 1
  13649. | #define STDC_HEADERS 1
  13650. | #define HAVE_SYS_TYPES_H 1
  13651. | #define HAVE_SYS_STAT_H 1
  13652. | #define HAVE_STDLIB_H 1
  13653. | #define HAVE_STRING_H 1
  13654. | #define HAVE_MEMORY_H 1
  13655. | #define HAVE_STRINGS_H 1
  13656. | #define HAVE_INTTYPES_H 1
  13657. | #define HAVE_STDINT_H 1
  13658. | #define HAVE_UNISTD_H 1
  13659. | #define HAVE_ERRNO_H 1
  13660. | #define HAVE_ARPA_INET_H 1
  13661. | #define HAVE_BITS_SOCKADDR_H 1
  13662. | #define HAVE_FCNTL_H 1
  13663. | #define HAVE_FLOAT_H 1
  13664. | #define HAVE_LIMITS_H 1
  13665. | #define HAVE_MALLOC_H 1
  13666. | #define HAVE_NETINET_IN_H 1
  13667. | #define HAVE_STDINT_H 1
  13668. | #define HAVE_STDLIB_H 1
  13669. | #define HAVE_STRING_H 1
  13670. | #define HAVE_STRINGS_H 1
  13671. | #define HAVE_SYS_FILE_H 1
  13672. | #define HAVE_SYS_IOCTL_H 1
  13673. | #define HAVE_SYS_SOCKET_H 1
  13674. | #define HAVE_SYS_TIME_H 1
  13675. | #define HAVE_SYS_TIMEB_H 1
  13676. | #define HAVE_SYSLOG_H 1
  13677. | #define HAVE_TERMIOS_H 1
  13678. | #define HAVE_UNISTD_H 1
  13679. | #define HAVE_ASM_TERMIOS_H 1
  13680. | #define HAVE_ASSERT_H 1
  13681. | #define HAVE_DLFCN_H 1
  13682. | #define HAVE_ENDIAN_H 1
  13683. | #define HAVE_EXECINFO_H 1
  13684. | #define HAVE_LINUX_IF_PACKET_H 1
  13685. | #define HAVE_MATH_H 1
  13686. | #define HAVE_NET_ETHERNET_H 1
  13687. | #define HAVE_STROPTS_H 1
  13688. | #define HAVE_SYS_PARAM_H 1
  13689. | #define HAVE_SYS_TYPES_H 1
  13690. | #define HAVE_SYS_UIO_H 1
  13691. | #define HAVE_SYSEXITS_H 1
  13692. | #define HAVE_SYS_SYSCTL_H 1
  13693. | #define HAVE_NET_IF_H 1
  13694. | #define HAVE_NET_IF_ARP_H 1
  13695. | #define HAVE_NET_ROUTE_H 1
  13696. | #define HAVE_NETINET_IF_ETHER_H 1
  13697. | #define HAVE_LINUX_NETLINK_H 1
  13698. | #define HAVE_LINUX_RTNETLINK_H 1
  13699. | #define HAVE_STDBOOL_H 1
  13700. | #define restrict __restrict
  13701. | #define HAVE_HASH_MAP 1
  13702. | #define HAVE_HASH_SET 1
  13703. | #define HAVE_UNORDERED_MAP 1
  13704. | #define HASH_MAP_H <tr1/unordered_map>
  13705. | #define HASH_SET_H <tr1/unordered_set>
  13706. | #define HASH_NAMESPACE std::tr1
  13707. | #define HASH_MAP_CLASS unordered_map
  13708. | #define HASH_SET_CLASS unordered_set
  13709. | #define HAVE_FORK 1
  13710. | #define HAVE_VFORK 1
  13711. | #define HAVE_WORKING_VFORK 1
  13712. | #define HAVE_WORKING_FORK 1
  13713. | #define HAVE_STDLIB_H 1
  13714. | #define HAVE_MALLOC 1
  13715. | #define HAVE_STDLIB_H 1
  13716. | #define HAVE_REALLOC 1
  13717. | #define HAVE_SYS_SELECT_H 1
  13718. | #define HAVE_SYS_SOCKET_H 1
  13719. | #define SELECT_TYPE_ARG1 int
  13720. | #define SELECT_TYPE_ARG234 (fd_set *)
  13721. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13722. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13723. | #define HAVE_VPRINTF 1
  13724. | #define HAVE_BZERO 1
  13725. | #define HAVE_GETTIMEOFDAY 1
  13726. | #define HAVE_MEMMOVE 1
  13727. | #define HAVE_MEMSET 1
  13728. | #define HAVE_MKDIR 1
  13729. | #define HAVE_STRDUP 1
  13730. | #define HAVE_STRRCHR 1
  13731. | #define HAVE_IF_NAMETOINDEX 1
  13732. | #define HAVE_INET_NTOA 1
  13733. | #define HAVE_INET_NTOP 1
  13734. | #define HAVE_INET_ATON 1
  13735. | #define HAVE_INET_PTON 1
  13736. | #define HAVE_SELECT 1
  13737. | #define HAVE_SOCKET 1
  13738. | #define HAVE_STRERROR 1
  13739. | #define HAVE_GETIFADDRS 1
  13740. | #define HAVE_GETLOADAVG 1
  13741. | #define HAVE_GETPWNAM_R 1
  13742. | #define HAVE_GETPWUID_R 1
  13743. | #define HAVE_GETGRNAM_R 1
  13744. | #define HAVE_GETGRGID_R 1
  13745. | #define HAVE_SECURE_GETENV 1
  13746. | #define HAVE_DLFCN_H 1
  13747. | #define LT_OBJDIR ".libs/"
  13748. | #define HAVE_EPOLL 1
  13749. | #define HAVE_TIME_T 1
  13750. | #define HAVE_SUSECONDS_T 1
  13751. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13752. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13753. | #define HAVE_DECL_PF_ROUTE 1
  13754. | #define HAVE_DECL_NET_RT_DUMP 0
  13755. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13756. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13757. | #define HAVE_DECL_SO_REUSEADDR 1
  13758. | #define HAVE_DECL_SO_REUSEPORT 1
  13759. | #define HAVE_TERMIOS2 1
  13760. | /* end confdefs.h. */
  13761. | #include <pthread.h>
  13762. | int
  13763. | main ()
  13764. | {
  13765. | pthread_t th;
  13766. | pthread_join(th, 0);
  13767. | pthread_attr_init(0);
  13768. | pthread_cleanup_push(0, 0);
  13769. | pthread_create(0,0,0,0);
  13770. | pthread_cleanup_pop(0);
  13771. |
  13772. | ;
  13773. | return 0;
  13774. | }
  13775. configure:20262: result: no
  13776. configure:20161: checking whether pthreads work with -Kthread
  13777. configure:20252: gcc -o conftest -g -O2 -Kthread conftest.c -ldl >&5
  13778. gcc: error: unrecognized command line option '-Kthread'
  13779. configure:20252: $? = 1
  13780. configure: failed program was:
  13781. | /* confdefs.h */
  13782. | #define PACKAGE_NAME "OLA"
  13783. | #define PACKAGE_TARNAME "ola"
  13784. | #define PACKAGE_VERSION "0.10.6"
  13785. | #define PACKAGE_STRING "OLA 0.10.6"
  13786. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13787. | #define PACKAGE_URL ""
  13788. | #define PACKAGE "ola"
  13789. | #define VERSION "0.10.6"
  13790. | #define HAVE_DIRENT_H 1
  13791. | #define HAVE_SYS_TYPES_H 1
  13792. | #define HAVE_NETINET_IN_H 1
  13793. | #define HAVE_ARPA_NAMESER_H 1
  13794. | #define HAVE_NETDB_H 1
  13795. | #define HAVE_RESOLV_H 1
  13796. | #define STDC_HEADERS 1
  13797. | #define HAVE_SYS_TYPES_H 1
  13798. | #define HAVE_SYS_STAT_H 1
  13799. | #define HAVE_STDLIB_H 1
  13800. | #define HAVE_STRING_H 1
  13801. | #define HAVE_MEMORY_H 1
  13802. | #define HAVE_STRINGS_H 1
  13803. | #define HAVE_INTTYPES_H 1
  13804. | #define HAVE_STDINT_H 1
  13805. | #define HAVE_UNISTD_H 1
  13806. | #define HAVE_ERRNO_H 1
  13807. | #define HAVE_ARPA_INET_H 1
  13808. | #define HAVE_BITS_SOCKADDR_H 1
  13809. | #define HAVE_FCNTL_H 1
  13810. | #define HAVE_FLOAT_H 1
  13811. | #define HAVE_LIMITS_H 1
  13812. | #define HAVE_MALLOC_H 1
  13813. | #define HAVE_NETINET_IN_H 1
  13814. | #define HAVE_STDINT_H 1
  13815. | #define HAVE_STDLIB_H 1
  13816. | #define HAVE_STRING_H 1
  13817. | #define HAVE_STRINGS_H 1
  13818. | #define HAVE_SYS_FILE_H 1
  13819. | #define HAVE_SYS_IOCTL_H 1
  13820. | #define HAVE_SYS_SOCKET_H 1
  13821. | #define HAVE_SYS_TIME_H 1
  13822. | #define HAVE_SYS_TIMEB_H 1
  13823. | #define HAVE_SYSLOG_H 1
  13824. | #define HAVE_TERMIOS_H 1
  13825. | #define HAVE_UNISTD_H 1
  13826. | #define HAVE_ASM_TERMIOS_H 1
  13827. | #define HAVE_ASSERT_H 1
  13828. | #define HAVE_DLFCN_H 1
  13829. | #define HAVE_ENDIAN_H 1
  13830. | #define HAVE_EXECINFO_H 1
  13831. | #define HAVE_LINUX_IF_PACKET_H 1
  13832. | #define HAVE_MATH_H 1
  13833. | #define HAVE_NET_ETHERNET_H 1
  13834. | #define HAVE_STROPTS_H 1
  13835. | #define HAVE_SYS_PARAM_H 1
  13836. | #define HAVE_SYS_TYPES_H 1
  13837. | #define HAVE_SYS_UIO_H 1
  13838. | #define HAVE_SYSEXITS_H 1
  13839. | #define HAVE_SYS_SYSCTL_H 1
  13840. | #define HAVE_NET_IF_H 1
  13841. | #define HAVE_NET_IF_ARP_H 1
  13842. | #define HAVE_NET_ROUTE_H 1
  13843. | #define HAVE_NETINET_IF_ETHER_H 1
  13844. | #define HAVE_LINUX_NETLINK_H 1
  13845. | #define HAVE_LINUX_RTNETLINK_H 1
  13846. | #define HAVE_STDBOOL_H 1
  13847. | #define restrict __restrict
  13848. | #define HAVE_HASH_MAP 1
  13849. | #define HAVE_HASH_SET 1
  13850. | #define HAVE_UNORDERED_MAP 1
  13851. | #define HASH_MAP_H <tr1/unordered_map>
  13852. | #define HASH_SET_H <tr1/unordered_set>
  13853. | #define HASH_NAMESPACE std::tr1
  13854. | #define HASH_MAP_CLASS unordered_map
  13855. | #define HASH_SET_CLASS unordered_set
  13856. | #define HAVE_FORK 1
  13857. | #define HAVE_VFORK 1
  13858. | #define HAVE_WORKING_VFORK 1
  13859. | #define HAVE_WORKING_FORK 1
  13860. | #define HAVE_STDLIB_H 1
  13861. | #define HAVE_MALLOC 1
  13862. | #define HAVE_STDLIB_H 1
  13863. | #define HAVE_REALLOC 1
  13864. | #define HAVE_SYS_SELECT_H 1
  13865. | #define HAVE_SYS_SOCKET_H 1
  13866. | #define SELECT_TYPE_ARG1 int
  13867. | #define SELECT_TYPE_ARG234 (fd_set *)
  13868. | #define SELECT_TYPE_ARG5 (struct timeval *)
  13869. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13870. | #define HAVE_VPRINTF 1
  13871. | #define HAVE_BZERO 1
  13872. | #define HAVE_GETTIMEOFDAY 1
  13873. | #define HAVE_MEMMOVE 1
  13874. | #define HAVE_MEMSET 1
  13875. | #define HAVE_MKDIR 1
  13876. | #define HAVE_STRDUP 1
  13877. | #define HAVE_STRRCHR 1
  13878. | #define HAVE_IF_NAMETOINDEX 1
  13879. | #define HAVE_INET_NTOA 1
  13880. | #define HAVE_INET_NTOP 1
  13881. | #define HAVE_INET_ATON 1
  13882. | #define HAVE_INET_PTON 1
  13883. | #define HAVE_SELECT 1
  13884. | #define HAVE_SOCKET 1
  13885. | #define HAVE_STRERROR 1
  13886. | #define HAVE_GETIFADDRS 1
  13887. | #define HAVE_GETLOADAVG 1
  13888. | #define HAVE_GETPWNAM_R 1
  13889. | #define HAVE_GETPWUID_R 1
  13890. | #define HAVE_GETGRNAM_R 1
  13891. | #define HAVE_GETGRGID_R 1
  13892. | #define HAVE_SECURE_GETENV 1
  13893. | #define HAVE_DLFCN_H 1
  13894. | #define LT_OBJDIR ".libs/"
  13895. | #define HAVE_EPOLL 1
  13896. | #define HAVE_TIME_T 1
  13897. | #define HAVE_SUSECONDS_T 1
  13898. | #define HAVE_DECL_MSG_NOSIGNAL 1
  13899. | #define HAVE_DECL_SO_NOSIGPIPE 0
  13900. | #define HAVE_DECL_PF_ROUTE 1
  13901. | #define HAVE_DECL_NET_RT_DUMP 0
  13902. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  13903. | #define HAVE_DECL_RLIMIT_RTTIME 1
  13904. | #define HAVE_DECL_SO_REUSEADDR 1
  13905. | #define HAVE_DECL_SO_REUSEPORT 1
  13906. | #define HAVE_TERMIOS2 1
  13907. | /* end confdefs.h. */
  13908. | #include <pthread.h>
  13909. | int
  13910. | main ()
  13911. | {
  13912. | pthread_t th;
  13913. | pthread_join(th, 0);
  13914. | pthread_attr_init(0);
  13915. | pthread_cleanup_push(0, 0);
  13916. | pthread_create(0,0,0,0);
  13917. | pthread_cleanup_pop(0);
  13918. |
  13919. | ;
  13920. | return 0;
  13921. | }
  13922. configure:20262: result: no
  13923. configure:20161: checking whether pthreads work with -kthread
  13924. configure:20252: gcc -o conftest -g -O2 -kthread conftest.c -ldl >&5
  13925. gcc: error: unrecognized command line option '-kthread'
  13926. configure:20252: $? = 1
  13927. configure: failed program was:
  13928. | /* confdefs.h */
  13929. | #define PACKAGE_NAME "OLA"
  13930. | #define PACKAGE_TARNAME "ola"
  13931. | #define PACKAGE_VERSION "0.10.6"
  13932. | #define PACKAGE_STRING "OLA 0.10.6"
  13933. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  13934. | #define PACKAGE_URL ""
  13935. | #define PACKAGE "ola"
  13936. | #define VERSION "0.10.6"
  13937. | #define HAVE_DIRENT_H 1
  13938. | #define HAVE_SYS_TYPES_H 1
  13939. | #define HAVE_NETINET_IN_H 1
  13940. | #define HAVE_ARPA_NAMESER_H 1
  13941. | #define HAVE_NETDB_H 1
  13942. | #define HAVE_RESOLV_H 1
  13943. | #define STDC_HEADERS 1
  13944. | #define HAVE_SYS_TYPES_H 1
  13945. | #define HAVE_SYS_STAT_H 1
  13946. | #define HAVE_STDLIB_H 1
  13947. | #define HAVE_STRING_H 1
  13948. | #define HAVE_MEMORY_H 1
  13949. | #define HAVE_STRINGS_H 1
  13950. | #define HAVE_INTTYPES_H 1
  13951. | #define HAVE_STDINT_H 1
  13952. | #define HAVE_UNISTD_H 1
  13953. | #define HAVE_ERRNO_H 1
  13954. | #define HAVE_ARPA_INET_H 1
  13955. | #define HAVE_BITS_SOCKADDR_H 1
  13956. | #define HAVE_FCNTL_H 1
  13957. | #define HAVE_FLOAT_H 1
  13958. | #define HAVE_LIMITS_H 1
  13959. | #define HAVE_MALLOC_H 1
  13960. | #define HAVE_NETINET_IN_H 1
  13961. | #define HAVE_STDINT_H 1
  13962. | #define HAVE_STDLIB_H 1
  13963. | #define HAVE_STRING_H 1
  13964. | #define HAVE_STRINGS_H 1
  13965. | #define HAVE_SYS_FILE_H 1
  13966. | #define HAVE_SYS_IOCTL_H 1
  13967. | #define HAVE_SYS_SOCKET_H 1
  13968. | #define HAVE_SYS_TIME_H 1
  13969. | #define HAVE_SYS_TIMEB_H 1
  13970. | #define HAVE_SYSLOG_H 1
  13971. | #define HAVE_TERMIOS_H 1
  13972. | #define HAVE_UNISTD_H 1
  13973. | #define HAVE_ASM_TERMIOS_H 1
  13974. | #define HAVE_ASSERT_H 1
  13975. | #define HAVE_DLFCN_H 1
  13976. | #define HAVE_ENDIAN_H 1
  13977. | #define HAVE_EXECINFO_H 1
  13978. | #define HAVE_LINUX_IF_PACKET_H 1
  13979. | #define HAVE_MATH_H 1
  13980. | #define HAVE_NET_ETHERNET_H 1
  13981. | #define HAVE_STROPTS_H 1
  13982. | #define HAVE_SYS_PARAM_H 1
  13983. | #define HAVE_SYS_TYPES_H 1
  13984. | #define HAVE_SYS_UIO_H 1
  13985. | #define HAVE_SYSEXITS_H 1
  13986. | #define HAVE_SYS_SYSCTL_H 1
  13987. | #define HAVE_NET_IF_H 1
  13988. | #define HAVE_NET_IF_ARP_H 1
  13989. | #define HAVE_NET_ROUTE_H 1
  13990. | #define HAVE_NETINET_IF_ETHER_H 1
  13991. | #define HAVE_LINUX_NETLINK_H 1
  13992. | #define HAVE_LINUX_RTNETLINK_H 1
  13993. | #define HAVE_STDBOOL_H 1
  13994. | #define restrict __restrict
  13995. | #define HAVE_HASH_MAP 1
  13996. | #define HAVE_HASH_SET 1
  13997. | #define HAVE_UNORDERED_MAP 1
  13998. | #define HASH_MAP_H <tr1/unordered_map>
  13999. | #define HASH_SET_H <tr1/unordered_set>
  14000. | #define HASH_NAMESPACE std::tr1
  14001. | #define HASH_MAP_CLASS unordered_map
  14002. | #define HASH_SET_CLASS unordered_set
  14003. | #define HAVE_FORK 1
  14004. | #define HAVE_VFORK 1
  14005. | #define HAVE_WORKING_VFORK 1
  14006. | #define HAVE_WORKING_FORK 1
  14007. | #define HAVE_STDLIB_H 1
  14008. | #define HAVE_MALLOC 1
  14009. | #define HAVE_STDLIB_H 1
  14010. | #define HAVE_REALLOC 1
  14011. | #define HAVE_SYS_SELECT_H 1
  14012. | #define HAVE_SYS_SOCKET_H 1
  14013. | #define SELECT_TYPE_ARG1 int
  14014. | #define SELECT_TYPE_ARG234 (fd_set *)
  14015. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14016. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14017. | #define HAVE_VPRINTF 1
  14018. | #define HAVE_BZERO 1
  14019. | #define HAVE_GETTIMEOFDAY 1
  14020. | #define HAVE_MEMMOVE 1
  14021. | #define HAVE_MEMSET 1
  14022. | #define HAVE_MKDIR 1
  14023. | #define HAVE_STRDUP 1
  14024. | #define HAVE_STRRCHR 1
  14025. | #define HAVE_IF_NAMETOINDEX 1
  14026. | #define HAVE_INET_NTOA 1
  14027. | #define HAVE_INET_NTOP 1
  14028. | #define HAVE_INET_ATON 1
  14029. | #define HAVE_INET_PTON 1
  14030. | #define HAVE_SELECT 1
  14031. | #define HAVE_SOCKET 1
  14032. | #define HAVE_STRERROR 1
  14033. | #define HAVE_GETIFADDRS 1
  14034. | #define HAVE_GETLOADAVG 1
  14035. | #define HAVE_GETPWNAM_R 1
  14036. | #define HAVE_GETPWUID_R 1
  14037. | #define HAVE_GETGRNAM_R 1
  14038. | #define HAVE_GETGRGID_R 1
  14039. | #define HAVE_SECURE_GETENV 1
  14040. | #define HAVE_DLFCN_H 1
  14041. | #define LT_OBJDIR ".libs/"
  14042. | #define HAVE_EPOLL 1
  14043. | #define HAVE_TIME_T 1
  14044. | #define HAVE_SUSECONDS_T 1
  14045. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14046. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14047. | #define HAVE_DECL_PF_ROUTE 1
  14048. | #define HAVE_DECL_NET_RT_DUMP 0
  14049. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14050. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14051. | #define HAVE_DECL_SO_REUSEADDR 1
  14052. | #define HAVE_DECL_SO_REUSEPORT 1
  14053. | #define HAVE_TERMIOS2 1
  14054. | /* end confdefs.h. */
  14055. | #include <pthread.h>
  14056. | int
  14057. | main ()
  14058. | {
  14059. | pthread_t th;
  14060. | pthread_join(th, 0);
  14061. | pthread_attr_init(0);
  14062. | pthread_cleanup_push(0, 0);
  14063. | pthread_create(0,0,0,0);
  14064. | pthread_cleanup_pop(0);
  14065. |
  14066. | ;
  14067. | return 0;
  14068. | }
  14069. configure:20262: result: no
  14070. configure:20213: checking for the pthreads library -llthread
  14071. configure:20252: gcc -o conftest -g -O2 conftest.c -llthread -ldl >&5
  14072. conftest.c: In function 'main':
  14073. conftest.c:134:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  14074. pthread_attr_init(0);
  14075. ^
  14076. conftest.c:136:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  14077. pthread_create(0,0,0,0);
  14078. ^
  14079. conftest.c:136:23: warning: null argument where non-null required (argument 3) [-Wnonnull]
  14080. /usr/bin/ld: cannot find -llthread
  14081. collect2: error: ld returned 1 exit status
  14082. configure:20252: $? = 1
  14083. configure: failed program was:
  14084. | /* confdefs.h */
  14085. | #define PACKAGE_NAME "OLA"
  14086. | #define PACKAGE_TARNAME "ola"
  14087. | #define PACKAGE_VERSION "0.10.6"
  14088. | #define PACKAGE_STRING "OLA 0.10.6"
  14089. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14090. | #define PACKAGE_URL ""
  14091. | #define PACKAGE "ola"
  14092. | #define VERSION "0.10.6"
  14093. | #define HAVE_DIRENT_H 1
  14094. | #define HAVE_SYS_TYPES_H 1
  14095. | #define HAVE_NETINET_IN_H 1
  14096. | #define HAVE_ARPA_NAMESER_H 1
  14097. | #define HAVE_NETDB_H 1
  14098. | #define HAVE_RESOLV_H 1
  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 HAVE_ERRNO_H 1
  14110. | #define HAVE_ARPA_INET_H 1
  14111. | #define HAVE_BITS_SOCKADDR_H 1
  14112. | #define HAVE_FCNTL_H 1
  14113. | #define HAVE_FLOAT_H 1
  14114. | #define HAVE_LIMITS_H 1
  14115. | #define HAVE_MALLOC_H 1
  14116. | #define HAVE_NETINET_IN_H 1
  14117. | #define HAVE_STDINT_H 1
  14118. | #define HAVE_STDLIB_H 1
  14119. | #define HAVE_STRING_H 1
  14120. | #define HAVE_STRINGS_H 1
  14121. | #define HAVE_SYS_FILE_H 1
  14122. | #define HAVE_SYS_IOCTL_H 1
  14123. | #define HAVE_SYS_SOCKET_H 1
  14124. | #define HAVE_SYS_TIME_H 1
  14125. | #define HAVE_SYS_TIMEB_H 1
  14126. | #define HAVE_SYSLOG_H 1
  14127. | #define HAVE_TERMIOS_H 1
  14128. | #define HAVE_UNISTD_H 1
  14129. | #define HAVE_ASM_TERMIOS_H 1
  14130. | #define HAVE_ASSERT_H 1
  14131. | #define HAVE_DLFCN_H 1
  14132. | #define HAVE_ENDIAN_H 1
  14133. | #define HAVE_EXECINFO_H 1
  14134. | #define HAVE_LINUX_IF_PACKET_H 1
  14135. | #define HAVE_MATH_H 1
  14136. | #define HAVE_NET_ETHERNET_H 1
  14137. | #define HAVE_STROPTS_H 1
  14138. | #define HAVE_SYS_PARAM_H 1
  14139. | #define HAVE_SYS_TYPES_H 1
  14140. | #define HAVE_SYS_UIO_H 1
  14141. | #define HAVE_SYSEXITS_H 1
  14142. | #define HAVE_SYS_SYSCTL_H 1
  14143. | #define HAVE_NET_IF_H 1
  14144. | #define HAVE_NET_IF_ARP_H 1
  14145. | #define HAVE_NET_ROUTE_H 1
  14146. | #define HAVE_NETINET_IF_ETHER_H 1
  14147. | #define HAVE_LINUX_NETLINK_H 1
  14148. | #define HAVE_LINUX_RTNETLINK_H 1
  14149. | #define HAVE_STDBOOL_H 1
  14150. | #define restrict __restrict
  14151. | #define HAVE_HASH_MAP 1
  14152. | #define HAVE_HASH_SET 1
  14153. | #define HAVE_UNORDERED_MAP 1
  14154. | #define HASH_MAP_H <tr1/unordered_map>
  14155. | #define HASH_SET_H <tr1/unordered_set>
  14156. | #define HASH_NAMESPACE std::tr1
  14157. | #define HASH_MAP_CLASS unordered_map
  14158. | #define HASH_SET_CLASS unordered_set
  14159. | #define HAVE_FORK 1
  14160. | #define HAVE_VFORK 1
  14161. | #define HAVE_WORKING_VFORK 1
  14162. | #define HAVE_WORKING_FORK 1
  14163. | #define HAVE_STDLIB_H 1
  14164. | #define HAVE_MALLOC 1
  14165. | #define HAVE_STDLIB_H 1
  14166. | #define HAVE_REALLOC 1
  14167. | #define HAVE_SYS_SELECT_H 1
  14168. | #define HAVE_SYS_SOCKET_H 1
  14169. | #define SELECT_TYPE_ARG1 int
  14170. | #define SELECT_TYPE_ARG234 (fd_set *)
  14171. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14172. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14173. | #define HAVE_VPRINTF 1
  14174. | #define HAVE_BZERO 1
  14175. | #define HAVE_GETTIMEOFDAY 1
  14176. | #define HAVE_MEMMOVE 1
  14177. | #define HAVE_MEMSET 1
  14178. | #define HAVE_MKDIR 1
  14179. | #define HAVE_STRDUP 1
  14180. | #define HAVE_STRRCHR 1
  14181. | #define HAVE_IF_NAMETOINDEX 1
  14182. | #define HAVE_INET_NTOA 1
  14183. | #define HAVE_INET_NTOP 1
  14184. | #define HAVE_INET_ATON 1
  14185. | #define HAVE_INET_PTON 1
  14186. | #define HAVE_SELECT 1
  14187. | #define HAVE_SOCKET 1
  14188. | #define HAVE_STRERROR 1
  14189. | #define HAVE_GETIFADDRS 1
  14190. | #define HAVE_GETLOADAVG 1
  14191. | #define HAVE_GETPWNAM_R 1
  14192. | #define HAVE_GETPWUID_R 1
  14193. | #define HAVE_GETGRNAM_R 1
  14194. | #define HAVE_GETGRGID_R 1
  14195. | #define HAVE_SECURE_GETENV 1
  14196. | #define HAVE_DLFCN_H 1
  14197. | #define LT_OBJDIR ".libs/"
  14198. | #define HAVE_EPOLL 1
  14199. | #define HAVE_TIME_T 1
  14200. | #define HAVE_SUSECONDS_T 1
  14201. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14202. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14203. | #define HAVE_DECL_PF_ROUTE 1
  14204. | #define HAVE_DECL_NET_RT_DUMP 0
  14205. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14206. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14207. | #define HAVE_DECL_SO_REUSEADDR 1
  14208. | #define HAVE_DECL_SO_REUSEPORT 1
  14209. | #define HAVE_TERMIOS2 1
  14210. | /* end confdefs.h. */
  14211. | #include <pthread.h>
  14212. | int
  14213. | main ()
  14214. | {
  14215. | pthread_t th;
  14216. | pthread_join(th, 0);
  14217. | pthread_attr_init(0);
  14218. | pthread_cleanup_push(0, 0);
  14219. | pthread_create(0,0,0,0);
  14220. | pthread_cleanup_pop(0);
  14221. |
  14222. | ;
  14223. | return 0;
  14224. | }
  14225. configure:20262: result: no
  14226. configure:20161: checking whether pthreads work with -pthread
  14227. configure:20252: gcc -o conftest -g -O2 -pthread conftest.c -ldl >&5
  14228. conftest.c: In function 'main':
  14229. conftest.c:134:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  14230. pthread_attr_init(0);
  14231. ^
  14232. conftest.c:136:23: warning: null argument where non-null required (argument 1) [-Wnonnull]
  14233. pthread_create(0,0,0,0);
  14234. ^
  14235. conftest.c:136:23: warning: null argument where non-null required (argument 3) [-Wnonnull]
  14236. configure:20252: $? = 0
  14237. configure:20262: result: yes
  14238. configure:20284: checking for joinable pthread attribute
  14239. configure:20300: gcc -o conftest -g -O2 -pthread conftest.c -ldl >&5
  14240. configure:20300: $? = 0
  14241. configure:20306: result: PTHREAD_CREATE_JOINABLE
  14242. configure:20316: checking if more special flags are required for pthreads
  14243. configure:20323: result: no
  14244. configure:20463: checking for pthread_np.h
  14245. configure:20463: g++ -c -g -O2 -std=gnu++98 -pthread conftest.cpp >&5
  14246. conftest.cpp:130:24: fatal error: pthread_np.h: No such file or directory
  14247. compilation terminated.
  14248. configure:20463: $? = 1
  14249. configure: failed program was:
  14250. | /* confdefs.h */
  14251. | #define PACKAGE_NAME "OLA"
  14252. | #define PACKAGE_TARNAME "ola"
  14253. | #define PACKAGE_VERSION "0.10.6"
  14254. | #define PACKAGE_STRING "OLA 0.10.6"
  14255. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14256. | #define PACKAGE_URL ""
  14257. | #define PACKAGE "ola"
  14258. | #define VERSION "0.10.6"
  14259. | #define HAVE_DIRENT_H 1
  14260. | #define HAVE_SYS_TYPES_H 1
  14261. | #define HAVE_NETINET_IN_H 1
  14262. | #define HAVE_ARPA_NAMESER_H 1
  14263. | #define HAVE_NETDB_H 1
  14264. | #define HAVE_RESOLV_H 1
  14265. | #define STDC_HEADERS 1
  14266. | #define HAVE_SYS_TYPES_H 1
  14267. | #define HAVE_SYS_STAT_H 1
  14268. | #define HAVE_STDLIB_H 1
  14269. | #define HAVE_STRING_H 1
  14270. | #define HAVE_MEMORY_H 1
  14271. | #define HAVE_STRINGS_H 1
  14272. | #define HAVE_INTTYPES_H 1
  14273. | #define HAVE_STDINT_H 1
  14274. | #define HAVE_UNISTD_H 1
  14275. | #define HAVE_ERRNO_H 1
  14276. | #define HAVE_ARPA_INET_H 1
  14277. | #define HAVE_BITS_SOCKADDR_H 1
  14278. | #define HAVE_FCNTL_H 1
  14279. | #define HAVE_FLOAT_H 1
  14280. | #define HAVE_LIMITS_H 1
  14281. | #define HAVE_MALLOC_H 1
  14282. | #define HAVE_NETINET_IN_H 1
  14283. | #define HAVE_STDINT_H 1
  14284. | #define HAVE_STDLIB_H 1
  14285. | #define HAVE_STRING_H 1
  14286. | #define HAVE_STRINGS_H 1
  14287. | #define HAVE_SYS_FILE_H 1
  14288. | #define HAVE_SYS_IOCTL_H 1
  14289. | #define HAVE_SYS_SOCKET_H 1
  14290. | #define HAVE_SYS_TIME_H 1
  14291. | #define HAVE_SYS_TIMEB_H 1
  14292. | #define HAVE_SYSLOG_H 1
  14293. | #define HAVE_TERMIOS_H 1
  14294. | #define HAVE_UNISTD_H 1
  14295. | #define HAVE_ASM_TERMIOS_H 1
  14296. | #define HAVE_ASSERT_H 1
  14297. | #define HAVE_DLFCN_H 1
  14298. | #define HAVE_ENDIAN_H 1
  14299. | #define HAVE_EXECINFO_H 1
  14300. | #define HAVE_LINUX_IF_PACKET_H 1
  14301. | #define HAVE_MATH_H 1
  14302. | #define HAVE_NET_ETHERNET_H 1
  14303. | #define HAVE_STROPTS_H 1
  14304. | #define HAVE_SYS_PARAM_H 1
  14305. | #define HAVE_SYS_TYPES_H 1
  14306. | #define HAVE_SYS_UIO_H 1
  14307. | #define HAVE_SYSEXITS_H 1
  14308. | #define HAVE_SYS_SYSCTL_H 1
  14309. | #define HAVE_NET_IF_H 1
  14310. | #define HAVE_NET_IF_ARP_H 1
  14311. | #define HAVE_NET_ROUTE_H 1
  14312. | #define HAVE_NETINET_IF_ETHER_H 1
  14313. | #define HAVE_LINUX_NETLINK_H 1
  14314. | #define HAVE_LINUX_RTNETLINK_H 1
  14315. | #define HAVE_STDBOOL_H 1
  14316. | #define restrict __restrict
  14317. | #define HAVE_HASH_MAP 1
  14318. | #define HAVE_HASH_SET 1
  14319. | #define HAVE_UNORDERED_MAP 1
  14320. | #define HASH_MAP_H <tr1/unordered_map>
  14321. | #define HASH_SET_H <tr1/unordered_set>
  14322. | #define HASH_NAMESPACE std::tr1
  14323. | #define HASH_MAP_CLASS unordered_map
  14324. | #define HASH_SET_CLASS unordered_set
  14325. | #define HAVE_FORK 1
  14326. | #define HAVE_VFORK 1
  14327. | #define HAVE_WORKING_VFORK 1
  14328. | #define HAVE_WORKING_FORK 1
  14329. | #define HAVE_STDLIB_H 1
  14330. | #define HAVE_MALLOC 1
  14331. | #define HAVE_STDLIB_H 1
  14332. | #define HAVE_REALLOC 1
  14333. | #define HAVE_SYS_SELECT_H 1
  14334. | #define HAVE_SYS_SOCKET_H 1
  14335. | #define SELECT_TYPE_ARG1 int
  14336. | #define SELECT_TYPE_ARG234 (fd_set *)
  14337. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14338. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14339. | #define HAVE_VPRINTF 1
  14340. | #define HAVE_BZERO 1
  14341. | #define HAVE_GETTIMEOFDAY 1
  14342. | #define HAVE_MEMMOVE 1
  14343. | #define HAVE_MEMSET 1
  14344. | #define HAVE_MKDIR 1
  14345. | #define HAVE_STRDUP 1
  14346. | #define HAVE_STRRCHR 1
  14347. | #define HAVE_IF_NAMETOINDEX 1
  14348. | #define HAVE_INET_NTOA 1
  14349. | #define HAVE_INET_NTOP 1
  14350. | #define HAVE_INET_ATON 1
  14351. | #define HAVE_INET_PTON 1
  14352. | #define HAVE_SELECT 1
  14353. | #define HAVE_SOCKET 1
  14354. | #define HAVE_STRERROR 1
  14355. | #define HAVE_GETIFADDRS 1
  14356. | #define HAVE_GETLOADAVG 1
  14357. | #define HAVE_GETPWNAM_R 1
  14358. | #define HAVE_GETPWUID_R 1
  14359. | #define HAVE_GETGRNAM_R 1
  14360. | #define HAVE_GETGRGID_R 1
  14361. | #define HAVE_SECURE_GETENV 1
  14362. | #define HAVE_DLFCN_H 1
  14363. | #define LT_OBJDIR ".libs/"
  14364. | #define HAVE_EPOLL 1
  14365. | #define HAVE_TIME_T 1
  14366. | #define HAVE_SUSECONDS_T 1
  14367. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14368. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14369. | #define HAVE_DECL_PF_ROUTE 1
  14370. | #define HAVE_DECL_NET_RT_DUMP 0
  14371. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14372. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14373. | #define HAVE_DECL_SO_REUSEADDR 1
  14374. | #define HAVE_DECL_SO_REUSEPORT 1
  14375. | #define HAVE_TERMIOS2 1
  14376. | /* end confdefs.h. */
  14377. | #include <pthread.h>
  14378. |
  14379. | #include <pthread_np.h>
  14380. configure:20463: result: no
  14381. configure:20476: checking for 2-arg pthread_setname_np
  14382. configure:20496: g++ -o conftest -g -O2 -std=gnu++98 -pthread conftest.cpp -ldl >&5
  14383. configure:20496: $? = 0
  14384. configure:20501: result: yes
  14385. configure:20671: checking for resolv.h
  14386. configure:20671: result: yes
  14387. configure:20688: checking for res_init() in -lresolv
  14388. configure:20702: g++ -o conftest -g -O2 -std=gnu++98 -pthread -lresolv conftest.cpp -ldl >&5
  14389. configure:20702: $? = 0
  14390. configure:20707: result: yes
  14391. configure:20720: checking whether res_ninit is declared
  14392. configure:20720: g++ -c -g -O2 -std=gnu++98 -pthread conftest.cpp >&5
  14393. configure:20720: $? = 0
  14394. configure:20720: result: yes
  14395. configure:20828: checking for base_uuid
  14396. configure:20835: $PKG_CONFIG --exists --print-errors "uuid"
  14397. configure:20838: $? = 0
  14398. configure:20851: $PKG_CONFIG --exists --print-errors "uuid"
  14399. configure:20854: $? = 0
  14400. configure:20889: result: yes
  14401. configure:20904: checking uuid/uuid.h usability
  14402. configure:20904: g++ -c -g -O2 -std=gnu++98 -pthread -I/usr/include/uuid conftest.cpp >&5
  14403. configure:20904: $? = 0
  14404. configure:20904: result: yes
  14405. configure:20904: checking uuid/uuid.h presence
  14406. configure:20904: g++ -E -I/usr/include/uuid conftest.cpp
  14407. configure:20904: $? = 0
  14408. configure:20904: result: yes
  14409. configure:20904: checking for uuid/uuid.h
  14410. configure:20904: result: yes
  14411. configure:20917: checking for uuid_generate in -luuid
  14412. configure:20942: g++ -o conftest -g -O2 -std=gnu++98 -pthread -I/usr/include/uuid conftest.cpp -luuid -ldl -luuid >&5
  14413. configure:20942: $? = 0
  14414. configure:20951: result: yes
  14415. configure:21079: checking dns_sd.h usability
  14416. configure:21079: g++ -c -g -O2 -std=gnu++98 -pthread conftest.cpp >&5
  14417. conftest.cpp:166:20: fatal error: dns_sd.h: No such file or directory
  14418. compilation terminated.
  14419. configure:21079: $? = 1
  14420. configure: failed program was:
  14421. | /* confdefs.h */
  14422. | #define PACKAGE_NAME "OLA"
  14423. | #define PACKAGE_TARNAME "ola"
  14424. | #define PACKAGE_VERSION "0.10.6"
  14425. | #define PACKAGE_STRING "OLA 0.10.6"
  14426. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14427. | #define PACKAGE_URL ""
  14428. | #define PACKAGE "ola"
  14429. | #define VERSION "0.10.6"
  14430. | #define HAVE_DIRENT_H 1
  14431. | #define HAVE_SYS_TYPES_H 1
  14432. | #define HAVE_NETINET_IN_H 1
  14433. | #define HAVE_ARPA_NAMESER_H 1
  14434. | #define HAVE_NETDB_H 1
  14435. | #define HAVE_RESOLV_H 1
  14436. | #define STDC_HEADERS 1
  14437. | #define HAVE_SYS_TYPES_H 1
  14438. | #define HAVE_SYS_STAT_H 1
  14439. | #define HAVE_STDLIB_H 1
  14440. | #define HAVE_STRING_H 1
  14441. | #define HAVE_MEMORY_H 1
  14442. | #define HAVE_STRINGS_H 1
  14443. | #define HAVE_INTTYPES_H 1
  14444. | #define HAVE_STDINT_H 1
  14445. | #define HAVE_UNISTD_H 1
  14446. | #define HAVE_ERRNO_H 1
  14447. | #define HAVE_ARPA_INET_H 1
  14448. | #define HAVE_BITS_SOCKADDR_H 1
  14449. | #define HAVE_FCNTL_H 1
  14450. | #define HAVE_FLOAT_H 1
  14451. | #define HAVE_LIMITS_H 1
  14452. | #define HAVE_MALLOC_H 1
  14453. | #define HAVE_NETINET_IN_H 1
  14454. | #define HAVE_STDINT_H 1
  14455. | #define HAVE_STDLIB_H 1
  14456. | #define HAVE_STRING_H 1
  14457. | #define HAVE_STRINGS_H 1
  14458. | #define HAVE_SYS_FILE_H 1
  14459. | #define HAVE_SYS_IOCTL_H 1
  14460. | #define HAVE_SYS_SOCKET_H 1
  14461. | #define HAVE_SYS_TIME_H 1
  14462. | #define HAVE_SYS_TIMEB_H 1
  14463. | #define HAVE_SYSLOG_H 1
  14464. | #define HAVE_TERMIOS_H 1
  14465. | #define HAVE_UNISTD_H 1
  14466. | #define HAVE_ASM_TERMIOS_H 1
  14467. | #define HAVE_ASSERT_H 1
  14468. | #define HAVE_DLFCN_H 1
  14469. | #define HAVE_ENDIAN_H 1
  14470. | #define HAVE_EXECINFO_H 1
  14471. | #define HAVE_LINUX_IF_PACKET_H 1
  14472. | #define HAVE_MATH_H 1
  14473. | #define HAVE_NET_ETHERNET_H 1
  14474. | #define HAVE_STROPTS_H 1
  14475. | #define HAVE_SYS_PARAM_H 1
  14476. | #define HAVE_SYS_TYPES_H 1
  14477. | #define HAVE_SYS_UIO_H 1
  14478. | #define HAVE_SYSEXITS_H 1
  14479. | #define HAVE_SYS_SYSCTL_H 1
  14480. | #define HAVE_NET_IF_H 1
  14481. | #define HAVE_NET_IF_ARP_H 1
  14482. | #define HAVE_NET_ROUTE_H 1
  14483. | #define HAVE_NETINET_IF_ETHER_H 1
  14484. | #define HAVE_LINUX_NETLINK_H 1
  14485. | #define HAVE_LINUX_RTNETLINK_H 1
  14486. | #define HAVE_STDBOOL_H 1
  14487. | #define restrict __restrict
  14488. | #define HAVE_HASH_MAP 1
  14489. | #define HAVE_HASH_SET 1
  14490. | #define HAVE_UNORDERED_MAP 1
  14491. | #define HASH_MAP_H <tr1/unordered_map>
  14492. | #define HASH_SET_H <tr1/unordered_set>
  14493. | #define HASH_NAMESPACE std::tr1
  14494. | #define HASH_MAP_CLASS unordered_map
  14495. | #define HASH_SET_CLASS unordered_set
  14496. | #define HAVE_FORK 1
  14497. | #define HAVE_VFORK 1
  14498. | #define HAVE_WORKING_VFORK 1
  14499. | #define HAVE_WORKING_FORK 1
  14500. | #define HAVE_STDLIB_H 1
  14501. | #define HAVE_MALLOC 1
  14502. | #define HAVE_STDLIB_H 1
  14503. | #define HAVE_REALLOC 1
  14504. | #define HAVE_SYS_SELECT_H 1
  14505. | #define HAVE_SYS_SOCKET_H 1
  14506. | #define SELECT_TYPE_ARG1 int
  14507. | #define SELECT_TYPE_ARG234 (fd_set *)
  14508. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14509. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14510. | #define HAVE_VPRINTF 1
  14511. | #define HAVE_BZERO 1
  14512. | #define HAVE_GETTIMEOFDAY 1
  14513. | #define HAVE_MEMMOVE 1
  14514. | #define HAVE_MEMSET 1
  14515. | #define HAVE_MKDIR 1
  14516. | #define HAVE_STRDUP 1
  14517. | #define HAVE_STRRCHR 1
  14518. | #define HAVE_IF_NAMETOINDEX 1
  14519. | #define HAVE_INET_NTOA 1
  14520. | #define HAVE_INET_NTOP 1
  14521. | #define HAVE_INET_ATON 1
  14522. | #define HAVE_INET_PTON 1
  14523. | #define HAVE_SELECT 1
  14524. | #define HAVE_SOCKET 1
  14525. | #define HAVE_STRERROR 1
  14526. | #define HAVE_GETIFADDRS 1
  14527. | #define HAVE_GETLOADAVG 1
  14528. | #define HAVE_GETPWNAM_R 1
  14529. | #define HAVE_GETPWUID_R 1
  14530. | #define HAVE_GETGRNAM_R 1
  14531. | #define HAVE_GETGRGID_R 1
  14532. | #define HAVE_SECURE_GETENV 1
  14533. | #define HAVE_DLFCN_H 1
  14534. | #define LT_OBJDIR ".libs/"
  14535. | #define HAVE_EPOLL 1
  14536. | #define HAVE_TIME_T 1
  14537. | #define HAVE_SUSECONDS_T 1
  14538. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14539. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14540. | #define HAVE_DECL_PF_ROUTE 1
  14541. | #define HAVE_DECL_NET_RT_DUMP 0
  14542. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14543. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14544. | #define HAVE_DECL_SO_REUSEADDR 1
  14545. | #define HAVE_DECL_SO_REUSEPORT 1
  14546. | #define HAVE_TERMIOS2 1
  14547. | #define HAVE_PTHREAD_SETNAME_NP_2 1
  14548. | #define HAVE_RESOLV_H 1
  14549. | #define HAVE_DECL_RES_NINIT 1
  14550. | #define HAVE_UUID_UUID_H 1
  14551. | #define HAVE_LIBUUID 1
  14552. | /* end confdefs.h. */
  14553. | #include <stdio.h>
  14554. | #ifdef HAVE_SYS_TYPES_H
  14555. | # include <sys/types.h>
  14556. | #endif
  14557. | #ifdef HAVE_SYS_STAT_H
  14558. | # include <sys/stat.h>
  14559. | #endif
  14560. | #ifdef STDC_HEADERS
  14561. | # include <stdlib.h>
  14562. | # include <stddef.h>
  14563. | #else
  14564. | # ifdef HAVE_STDLIB_H
  14565. | # include <stdlib.h>
  14566. | # endif
  14567. | #endif
  14568. | #ifdef HAVE_STRING_H
  14569. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14570. | # include <memory.h>
  14571. | # endif
  14572. | # include <string.h>
  14573. | #endif
  14574. | #ifdef HAVE_STRINGS_H
  14575. | # include <strings.h>
  14576. | #endif
  14577. | #ifdef HAVE_INTTYPES_H
  14578. | # include <inttypes.h>
  14579. | #endif
  14580. | #ifdef HAVE_STDINT_H
  14581. | # include <stdint.h>
  14582. | #endif
  14583. | #ifdef HAVE_UNISTD_H
  14584. | # include <unistd.h>
  14585. | #endif
  14586. | #include <dns_sd.h>
  14587. configure:21079: result: no
  14588. configure:21079: checking dns_sd.h presence
  14589. configure:21079: g++ -E conftest.cpp
  14590. conftest.cpp:133:20: fatal error: dns_sd.h: No such file or directory
  14591. compilation terminated.
  14592. configure:21079: $? = 1
  14593. configure: failed program was:
  14594. | /* confdefs.h */
  14595. | #define PACKAGE_NAME "OLA"
  14596. | #define PACKAGE_TARNAME "ola"
  14597. | #define PACKAGE_VERSION "0.10.6"
  14598. | #define PACKAGE_STRING "OLA 0.10.6"
  14599. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14600. | #define PACKAGE_URL ""
  14601. | #define PACKAGE "ola"
  14602. | #define VERSION "0.10.6"
  14603. | #define HAVE_DIRENT_H 1
  14604. | #define HAVE_SYS_TYPES_H 1
  14605. | #define HAVE_NETINET_IN_H 1
  14606. | #define HAVE_ARPA_NAMESER_H 1
  14607. | #define HAVE_NETDB_H 1
  14608. | #define HAVE_RESOLV_H 1
  14609. | #define STDC_HEADERS 1
  14610. | #define HAVE_SYS_TYPES_H 1
  14611. | #define HAVE_SYS_STAT_H 1
  14612. | #define HAVE_STDLIB_H 1
  14613. | #define HAVE_STRING_H 1
  14614. | #define HAVE_MEMORY_H 1
  14615. | #define HAVE_STRINGS_H 1
  14616. | #define HAVE_INTTYPES_H 1
  14617. | #define HAVE_STDINT_H 1
  14618. | #define HAVE_UNISTD_H 1
  14619. | #define HAVE_ERRNO_H 1
  14620. | #define HAVE_ARPA_INET_H 1
  14621. | #define HAVE_BITS_SOCKADDR_H 1
  14622. | #define HAVE_FCNTL_H 1
  14623. | #define HAVE_FLOAT_H 1
  14624. | #define HAVE_LIMITS_H 1
  14625. | #define HAVE_MALLOC_H 1
  14626. | #define HAVE_NETINET_IN_H 1
  14627. | #define HAVE_STDINT_H 1
  14628. | #define HAVE_STDLIB_H 1
  14629. | #define HAVE_STRING_H 1
  14630. | #define HAVE_STRINGS_H 1
  14631. | #define HAVE_SYS_FILE_H 1
  14632. | #define HAVE_SYS_IOCTL_H 1
  14633. | #define HAVE_SYS_SOCKET_H 1
  14634. | #define HAVE_SYS_TIME_H 1
  14635. | #define HAVE_SYS_TIMEB_H 1
  14636. | #define HAVE_SYSLOG_H 1
  14637. | #define HAVE_TERMIOS_H 1
  14638. | #define HAVE_UNISTD_H 1
  14639. | #define HAVE_ASM_TERMIOS_H 1
  14640. | #define HAVE_ASSERT_H 1
  14641. | #define HAVE_DLFCN_H 1
  14642. | #define HAVE_ENDIAN_H 1
  14643. | #define HAVE_EXECINFO_H 1
  14644. | #define HAVE_LINUX_IF_PACKET_H 1
  14645. | #define HAVE_MATH_H 1
  14646. | #define HAVE_NET_ETHERNET_H 1
  14647. | #define HAVE_STROPTS_H 1
  14648. | #define HAVE_SYS_PARAM_H 1
  14649. | #define HAVE_SYS_TYPES_H 1
  14650. | #define HAVE_SYS_UIO_H 1
  14651. | #define HAVE_SYSEXITS_H 1
  14652. | #define HAVE_SYS_SYSCTL_H 1
  14653. | #define HAVE_NET_IF_H 1
  14654. | #define HAVE_NET_IF_ARP_H 1
  14655. | #define HAVE_NET_ROUTE_H 1
  14656. | #define HAVE_NETINET_IF_ETHER_H 1
  14657. | #define HAVE_LINUX_NETLINK_H 1
  14658. | #define HAVE_LINUX_RTNETLINK_H 1
  14659. | #define HAVE_STDBOOL_H 1
  14660. | #define restrict __restrict
  14661. | #define HAVE_HASH_MAP 1
  14662. | #define HAVE_HASH_SET 1
  14663. | #define HAVE_UNORDERED_MAP 1
  14664. | #define HASH_MAP_H <tr1/unordered_map>
  14665. | #define HASH_SET_H <tr1/unordered_set>
  14666. | #define HASH_NAMESPACE std::tr1
  14667. | #define HASH_MAP_CLASS unordered_map
  14668. | #define HASH_SET_CLASS unordered_set
  14669. | #define HAVE_FORK 1
  14670. | #define HAVE_VFORK 1
  14671. | #define HAVE_WORKING_VFORK 1
  14672. | #define HAVE_WORKING_FORK 1
  14673. | #define HAVE_STDLIB_H 1
  14674. | #define HAVE_MALLOC 1
  14675. | #define HAVE_STDLIB_H 1
  14676. | #define HAVE_REALLOC 1
  14677. | #define HAVE_SYS_SELECT_H 1
  14678. | #define HAVE_SYS_SOCKET_H 1
  14679. | #define SELECT_TYPE_ARG1 int
  14680. | #define SELECT_TYPE_ARG234 (fd_set *)
  14681. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14682. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14683. | #define HAVE_VPRINTF 1
  14684. | #define HAVE_BZERO 1
  14685. | #define HAVE_GETTIMEOFDAY 1
  14686. | #define HAVE_MEMMOVE 1
  14687. | #define HAVE_MEMSET 1
  14688. | #define HAVE_MKDIR 1
  14689. | #define HAVE_STRDUP 1
  14690. | #define HAVE_STRRCHR 1
  14691. | #define HAVE_IF_NAMETOINDEX 1
  14692. | #define HAVE_INET_NTOA 1
  14693. | #define HAVE_INET_NTOP 1
  14694. | #define HAVE_INET_ATON 1
  14695. | #define HAVE_INET_PTON 1
  14696. | #define HAVE_SELECT 1
  14697. | #define HAVE_SOCKET 1
  14698. | #define HAVE_STRERROR 1
  14699. | #define HAVE_GETIFADDRS 1
  14700. | #define HAVE_GETLOADAVG 1
  14701. | #define HAVE_GETPWNAM_R 1
  14702. | #define HAVE_GETPWUID_R 1
  14703. | #define HAVE_GETGRNAM_R 1
  14704. | #define HAVE_GETGRGID_R 1
  14705. | #define HAVE_SECURE_GETENV 1
  14706. | #define HAVE_DLFCN_H 1
  14707. | #define LT_OBJDIR ".libs/"
  14708. | #define HAVE_EPOLL 1
  14709. | #define HAVE_TIME_T 1
  14710. | #define HAVE_SUSECONDS_T 1
  14711. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14712. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14713. | #define HAVE_DECL_PF_ROUTE 1
  14714. | #define HAVE_DECL_NET_RT_DUMP 0
  14715. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14716. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14717. | #define HAVE_DECL_SO_REUSEADDR 1
  14718. | #define HAVE_DECL_SO_REUSEPORT 1
  14719. | #define HAVE_TERMIOS2 1
  14720. | #define HAVE_PTHREAD_SETNAME_NP_2 1
  14721. | #define HAVE_RESOLV_H 1
  14722. | #define HAVE_DECL_RES_NINIT 1
  14723. | #define HAVE_UUID_UUID_H 1
  14724. | #define HAVE_LIBUUID 1
  14725. | /* end confdefs.h. */
  14726. | #include <dns_sd.h>
  14727. configure:21079: result: no
  14728. configure:21079: checking for dns_sd.h
  14729. configure:21079: result: no
  14730. configure:21144: checking for avahi
  14731. configure:21151: $PKG_CONFIG --exists --print-errors "avahi-client"
  14732. Package avahi-client was not found in the pkg-config search path.
  14733. Perhaps you should add the directory containing `avahi-client.pc'
  14734. to the PKG_CONFIG_PATH environment variable
  14735. No package 'avahi-client' found
  14736. configure:21154: $? = 1
  14737. configure:21167: $PKG_CONFIG --exists --print-errors "avahi-client"
  14738. Package avahi-client was not found in the pkg-config search path.
  14739. Perhaps you should add the directory containing `avahi-client.pc'
  14740. to the PKG_CONFIG_PATH environment variable
  14741. No package 'avahi-client' found
  14742. configure:21170: $? = 1
  14743. No package 'avahi-client' found
  14744. configure:21197: result: no
  14745. configure:21244: checking SaleaeDeviceApi.h usability
  14746. configure:21244: g++ -c -g -O2 -std=gnu++98 -pthread conftest.cpp >&5
  14747. conftest.cpp:166:29: fatal error: SaleaeDeviceApi.h: No such file or directory
  14748. compilation terminated.
  14749. configure:21244: $? = 1
  14750. configure: failed program was:
  14751. | /* confdefs.h */
  14752. | #define PACKAGE_NAME "OLA"
  14753. | #define PACKAGE_TARNAME "ola"
  14754. | #define PACKAGE_VERSION "0.10.6"
  14755. | #define PACKAGE_STRING "OLA 0.10.6"
  14756. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14757. | #define PACKAGE_URL ""
  14758. | #define PACKAGE "ola"
  14759. | #define VERSION "0.10.6"
  14760. | #define HAVE_DIRENT_H 1
  14761. | #define HAVE_SYS_TYPES_H 1
  14762. | #define HAVE_NETINET_IN_H 1
  14763. | #define HAVE_ARPA_NAMESER_H 1
  14764. | #define HAVE_NETDB_H 1
  14765. | #define HAVE_RESOLV_H 1
  14766. | #define STDC_HEADERS 1
  14767. | #define HAVE_SYS_TYPES_H 1
  14768. | #define HAVE_SYS_STAT_H 1
  14769. | #define HAVE_STDLIB_H 1
  14770. | #define HAVE_STRING_H 1
  14771. | #define HAVE_MEMORY_H 1
  14772. | #define HAVE_STRINGS_H 1
  14773. | #define HAVE_INTTYPES_H 1
  14774. | #define HAVE_STDINT_H 1
  14775. | #define HAVE_UNISTD_H 1
  14776. | #define HAVE_ERRNO_H 1
  14777. | #define HAVE_ARPA_INET_H 1
  14778. | #define HAVE_BITS_SOCKADDR_H 1
  14779. | #define HAVE_FCNTL_H 1
  14780. | #define HAVE_FLOAT_H 1
  14781. | #define HAVE_LIMITS_H 1
  14782. | #define HAVE_MALLOC_H 1
  14783. | #define HAVE_NETINET_IN_H 1
  14784. | #define HAVE_STDINT_H 1
  14785. | #define HAVE_STDLIB_H 1
  14786. | #define HAVE_STRING_H 1
  14787. | #define HAVE_STRINGS_H 1
  14788. | #define HAVE_SYS_FILE_H 1
  14789. | #define HAVE_SYS_IOCTL_H 1
  14790. | #define HAVE_SYS_SOCKET_H 1
  14791. | #define HAVE_SYS_TIME_H 1
  14792. | #define HAVE_SYS_TIMEB_H 1
  14793. | #define HAVE_SYSLOG_H 1
  14794. | #define HAVE_TERMIOS_H 1
  14795. | #define HAVE_UNISTD_H 1
  14796. | #define HAVE_ASM_TERMIOS_H 1
  14797. | #define HAVE_ASSERT_H 1
  14798. | #define HAVE_DLFCN_H 1
  14799. | #define HAVE_ENDIAN_H 1
  14800. | #define HAVE_EXECINFO_H 1
  14801. | #define HAVE_LINUX_IF_PACKET_H 1
  14802. | #define HAVE_MATH_H 1
  14803. | #define HAVE_NET_ETHERNET_H 1
  14804. | #define HAVE_STROPTS_H 1
  14805. | #define HAVE_SYS_PARAM_H 1
  14806. | #define HAVE_SYS_TYPES_H 1
  14807. | #define HAVE_SYS_UIO_H 1
  14808. | #define HAVE_SYSEXITS_H 1
  14809. | #define HAVE_SYS_SYSCTL_H 1
  14810. | #define HAVE_NET_IF_H 1
  14811. | #define HAVE_NET_IF_ARP_H 1
  14812. | #define HAVE_NET_ROUTE_H 1
  14813. | #define HAVE_NETINET_IF_ETHER_H 1
  14814. | #define HAVE_LINUX_NETLINK_H 1
  14815. | #define HAVE_LINUX_RTNETLINK_H 1
  14816. | #define HAVE_STDBOOL_H 1
  14817. | #define restrict __restrict
  14818. | #define HAVE_HASH_MAP 1
  14819. | #define HAVE_HASH_SET 1
  14820. | #define HAVE_UNORDERED_MAP 1
  14821. | #define HASH_MAP_H <tr1/unordered_map>
  14822. | #define HASH_SET_H <tr1/unordered_set>
  14823. | #define HASH_NAMESPACE std::tr1
  14824. | #define HASH_MAP_CLASS unordered_map
  14825. | #define HASH_SET_CLASS unordered_set
  14826. | #define HAVE_FORK 1
  14827. | #define HAVE_VFORK 1
  14828. | #define HAVE_WORKING_VFORK 1
  14829. | #define HAVE_WORKING_FORK 1
  14830. | #define HAVE_STDLIB_H 1
  14831. | #define HAVE_MALLOC 1
  14832. | #define HAVE_STDLIB_H 1
  14833. | #define HAVE_REALLOC 1
  14834. | #define HAVE_SYS_SELECT_H 1
  14835. | #define HAVE_SYS_SOCKET_H 1
  14836. | #define SELECT_TYPE_ARG1 int
  14837. | #define SELECT_TYPE_ARG234 (fd_set *)
  14838. | #define SELECT_TYPE_ARG5 (struct timeval *)
  14839. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  14840. | #define HAVE_VPRINTF 1
  14841. | #define HAVE_BZERO 1
  14842. | #define HAVE_GETTIMEOFDAY 1
  14843. | #define HAVE_MEMMOVE 1
  14844. | #define HAVE_MEMSET 1
  14845. | #define HAVE_MKDIR 1
  14846. | #define HAVE_STRDUP 1
  14847. | #define HAVE_STRRCHR 1
  14848. | #define HAVE_IF_NAMETOINDEX 1
  14849. | #define HAVE_INET_NTOA 1
  14850. | #define HAVE_INET_NTOP 1
  14851. | #define HAVE_INET_ATON 1
  14852. | #define HAVE_INET_PTON 1
  14853. | #define HAVE_SELECT 1
  14854. | #define HAVE_SOCKET 1
  14855. | #define HAVE_STRERROR 1
  14856. | #define HAVE_GETIFADDRS 1
  14857. | #define HAVE_GETLOADAVG 1
  14858. | #define HAVE_GETPWNAM_R 1
  14859. | #define HAVE_GETPWUID_R 1
  14860. | #define HAVE_GETGRNAM_R 1
  14861. | #define HAVE_GETGRGID_R 1
  14862. | #define HAVE_SECURE_GETENV 1
  14863. | #define HAVE_DLFCN_H 1
  14864. | #define LT_OBJDIR ".libs/"
  14865. | #define HAVE_EPOLL 1
  14866. | #define HAVE_TIME_T 1
  14867. | #define HAVE_SUSECONDS_T 1
  14868. | #define HAVE_DECL_MSG_NOSIGNAL 1
  14869. | #define HAVE_DECL_SO_NOSIGPIPE 0
  14870. | #define HAVE_DECL_PF_ROUTE 1
  14871. | #define HAVE_DECL_NET_RT_DUMP 0
  14872. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  14873. | #define HAVE_DECL_RLIMIT_RTTIME 1
  14874. | #define HAVE_DECL_SO_REUSEADDR 1
  14875. | #define HAVE_DECL_SO_REUSEPORT 1
  14876. | #define HAVE_TERMIOS2 1
  14877. | #define HAVE_PTHREAD_SETNAME_NP_2 1
  14878. | #define HAVE_RESOLV_H 1
  14879. | #define HAVE_DECL_RES_NINIT 1
  14880. | #define HAVE_UUID_UUID_H 1
  14881. | #define HAVE_LIBUUID 1
  14882. | /* end confdefs.h. */
  14883. | #include <stdio.h>
  14884. | #ifdef HAVE_SYS_TYPES_H
  14885. | # include <sys/types.h>
  14886. | #endif
  14887. | #ifdef HAVE_SYS_STAT_H
  14888. | # include <sys/stat.h>
  14889. | #endif
  14890. | #ifdef STDC_HEADERS
  14891. | # include <stdlib.h>
  14892. | # include <stddef.h>
  14893. | #else
  14894. | # ifdef HAVE_STDLIB_H
  14895. | # include <stdlib.h>
  14896. | # endif
  14897. | #endif
  14898. | #ifdef HAVE_STRING_H
  14899. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14900. | # include <memory.h>
  14901. | # endif
  14902. | # include <string.h>
  14903. | #endif
  14904. | #ifdef HAVE_STRINGS_H
  14905. | # include <strings.h>
  14906. | #endif
  14907. | #ifdef HAVE_INTTYPES_H
  14908. | # include <inttypes.h>
  14909. | #endif
  14910. | #ifdef HAVE_STDINT_H
  14911. | # include <stdint.h>
  14912. | #endif
  14913. | #ifdef HAVE_UNISTD_H
  14914. | # include <unistd.h>
  14915. | #endif
  14916. | #include <SaleaeDeviceApi.h>
  14917. configure:21244: result: no
  14918. configure:21244: checking SaleaeDeviceApi.h presence
  14919. configure:21244: g++ -E conftest.cpp
  14920. conftest.cpp:133:29: fatal error: SaleaeDeviceApi.h: No such file or directory
  14921. compilation terminated.
  14922. configure:21244: $? = 1
  14923. configure: failed program was:
  14924. | /* confdefs.h */
  14925. | #define PACKAGE_NAME "OLA"
  14926. | #define PACKAGE_TARNAME "ola"
  14927. | #define PACKAGE_VERSION "0.10.6"
  14928. | #define PACKAGE_STRING "OLA 0.10.6"
  14929. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  14930. | #define PACKAGE_URL ""
  14931. | #define PACKAGE "ola"
  14932. | #define VERSION "0.10.6"
  14933. | #define HAVE_DIRENT_H 1
  14934. | #define HAVE_SYS_TYPES_H 1
  14935. | #define HAVE_NETINET_IN_H 1
  14936. | #define HAVE_ARPA_NAMESER_H 1
  14937. | #define HAVE_NETDB_H 1
  14938. | #define HAVE_RESOLV_H 1
  14939. | #define STDC_HEADERS 1
  14940. | #define HAVE_SYS_TYPES_H 1
  14941. | #define HAVE_SYS_STAT_H 1
  14942. | #define HAVE_STDLIB_H 1
  14943. | #define HAVE_STRING_H 1
  14944. | #define HAVE_MEMORY_H 1
  14945. | #define HAVE_STRINGS_H 1
  14946. | #define HAVE_INTTYPES_H 1
  14947. | #define HAVE_STDINT_H 1
  14948. | #define HAVE_UNISTD_H 1
  14949. | #define HAVE_ERRNO_H 1
  14950. | #define HAVE_ARPA_INET_H 1
  14951. | #define HAVE_BITS_SOCKADDR_H 1
  14952. | #define HAVE_FCNTL_H 1
  14953. | #define HAVE_FLOAT_H 1
  14954. | #define HAVE_LIMITS_H 1
  14955. | #define HAVE_MALLOC_H 1
  14956. | #define HAVE_NETINET_IN_H 1
  14957. | #define HAVE_STDINT_H 1
  14958. | #define HAVE_STDLIB_H 1
  14959. | #define HAVE_STRING_H 1
  14960. | #define HAVE_STRINGS_H 1
  14961. | #define HAVE_SYS_FILE_H 1
  14962. | #define HAVE_SYS_IOCTL_H 1
  14963. | #define HAVE_SYS_SOCKET_H 1
  14964. | #define HAVE_SYS_TIME_H 1
  14965. | #define HAVE_SYS_TIMEB_H 1
  14966. | #define HAVE_SYSLOG_H 1
  14967. | #define HAVE_TERMIOS_H 1
  14968. | #define HAVE_UNISTD_H 1
  14969. | #define HAVE_ASM_TERMIOS_H 1
  14970. | #define HAVE_ASSERT_H 1
  14971. | #define HAVE_DLFCN_H 1
  14972. | #define HAVE_ENDIAN_H 1
  14973. | #define HAVE_EXECINFO_H 1
  14974. | #define HAVE_LINUX_IF_PACKET_H 1
  14975. | #define HAVE_MATH_H 1
  14976. | #define HAVE_NET_ETHERNET_H 1
  14977. | #define HAVE_STROPTS_H 1
  14978. | #define HAVE_SYS_PARAM_H 1
  14979. | #define HAVE_SYS_TYPES_H 1
  14980. | #define HAVE_SYS_UIO_H 1
  14981. | #define HAVE_SYSEXITS_H 1
  14982. | #define HAVE_SYS_SYSCTL_H 1
  14983. | #define HAVE_NET_IF_H 1
  14984. | #define HAVE_NET_IF_ARP_H 1
  14985. | #define HAVE_NET_ROUTE_H 1
  14986. | #define HAVE_NETINET_IF_ETHER_H 1
  14987. | #define HAVE_LINUX_NETLINK_H 1
  14988. | #define HAVE_LINUX_RTNETLINK_H 1
  14989. | #define HAVE_STDBOOL_H 1
  14990. | #define restrict __restrict
  14991. | #define HAVE_HASH_MAP 1
  14992. | #define HAVE_HASH_SET 1
  14993. | #define HAVE_UNORDERED_MAP 1
  14994. | #define HASH_MAP_H <tr1/unordered_map>
  14995. | #define HASH_SET_H <tr1/unordered_set>
  14996. | #define HASH_NAMESPACE std::tr1
  14997. | #define HASH_MAP_CLASS unordered_map
  14998. | #define HASH_SET_CLASS unordered_set
  14999. | #define HAVE_FORK 1
  15000. | #define HAVE_VFORK 1
  15001. | #define HAVE_WORKING_VFORK 1
  15002. | #define HAVE_WORKING_FORK 1
  15003. | #define HAVE_STDLIB_H 1
  15004. | #define HAVE_MALLOC 1
  15005. | #define HAVE_STDLIB_H 1
  15006. | #define HAVE_REALLOC 1
  15007. | #define HAVE_SYS_SELECT_H 1
  15008. | #define HAVE_SYS_SOCKET_H 1
  15009. | #define SELECT_TYPE_ARG1 int
  15010. | #define SELECT_TYPE_ARG234 (fd_set *)
  15011. | #define SELECT_TYPE_ARG5 (struct timeval *)
  15012. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  15013. | #define HAVE_VPRINTF 1
  15014. | #define HAVE_BZERO 1
  15015. | #define HAVE_GETTIMEOFDAY 1
  15016. | #define HAVE_MEMMOVE 1
  15017. | #define HAVE_MEMSET 1
  15018. | #define HAVE_MKDIR 1
  15019. | #define HAVE_STRDUP 1
  15020. | #define HAVE_STRRCHR 1
  15021. | #define HAVE_IF_NAMETOINDEX 1
  15022. | #define HAVE_INET_NTOA 1
  15023. | #define HAVE_INET_NTOP 1
  15024. | #define HAVE_INET_ATON 1
  15025. | #define HAVE_INET_PTON 1
  15026. | #define HAVE_SELECT 1
  15027. | #define HAVE_SOCKET 1
  15028. | #define HAVE_STRERROR 1
  15029. | #define HAVE_GETIFADDRS 1
  15030. | #define HAVE_GETLOADAVG 1
  15031. | #define HAVE_GETPWNAM_R 1
  15032. | #define HAVE_GETPWUID_R 1
  15033. | #define HAVE_GETGRNAM_R 1
  15034. | #define HAVE_GETGRGID_R 1
  15035. | #define HAVE_SECURE_GETENV 1
  15036. | #define HAVE_DLFCN_H 1
  15037. | #define LT_OBJDIR ".libs/"
  15038. | #define HAVE_EPOLL 1
  15039. | #define HAVE_TIME_T 1
  15040. | #define HAVE_SUSECONDS_T 1
  15041. | #define HAVE_DECL_MSG_NOSIGNAL 1
  15042. | #define HAVE_DECL_SO_NOSIGPIPE 0
  15043. | #define HAVE_DECL_PF_ROUTE 1
  15044. | #define HAVE_DECL_NET_RT_DUMP 0
  15045. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  15046. | #define HAVE_DECL_RLIMIT_RTTIME 1
  15047. | #define HAVE_DECL_SO_REUSEADDR 1
  15048. | #define HAVE_DECL_SO_REUSEPORT 1
  15049. | #define HAVE_TERMIOS2 1
  15050. | #define HAVE_PTHREAD_SETNAME_NP_2 1
  15051. | #define HAVE_RESOLV_H 1
  15052. | #define HAVE_DECL_RES_NINIT 1
  15053. | #define HAVE_UUID_UUID_H 1
  15054. | #define HAVE_LIBUUID 1
  15055. | /* end confdefs.h. */
  15056. | #include <SaleaeDeviceApi.h>
  15057. configure:21244: result: no
  15058. configure:21244: checking for SaleaeDeviceApi.h
  15059. configure:21244: result: no
  15060. configure:21271: g++ -o conftest -g -O2 -std=gnu++98 -pthread conftest.cpp -ldl -lSaleaeDevice >&5
  15061. conftest.cpp:133:29: fatal error: SaleaeDeviceApi.h: No such file or directory
  15062. compilation terminated.
  15063. configure:21271: $? = 1
  15064. configure: failed program was:
  15065. | /* confdefs.h */
  15066. | #define PACKAGE_NAME "OLA"
  15067. | #define PACKAGE_TARNAME "ola"
  15068. | #define PACKAGE_VERSION "0.10.6"
  15069. | #define PACKAGE_STRING "OLA 0.10.6"
  15070. | #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  15071. | #define PACKAGE_URL ""
  15072. | #define PACKAGE "ola"
  15073. | #define VERSION "0.10.6"
  15074. | #define HAVE_DIRENT_H 1
  15075. | #define HAVE_SYS_TYPES_H 1
  15076. | #define HAVE_NETINET_IN_H 1
  15077. | #define HAVE_ARPA_NAMESER_H 1
  15078. | #define HAVE_NETDB_H 1
  15079. | #define HAVE_RESOLV_H 1
  15080. | #define STDC_HEADERS 1
  15081. | #define HAVE_SYS_TYPES_H 1
  15082. | #define HAVE_SYS_STAT_H 1
  15083. | #define HAVE_STDLIB_H 1
  15084. | #define HAVE_STRING_H 1
  15085. | #define HAVE_MEMORY_H 1
  15086. | #define HAVE_STRINGS_H 1
  15087. | #define HAVE_INTTYPES_H 1
  15088. | #define HAVE_STDINT_H 1
  15089. | #define HAVE_UNISTD_H 1
  15090. | #define HAVE_ERRNO_H 1
  15091. | #define HAVE_ARPA_INET_H 1
  15092. | #define HAVE_BITS_SOCKADDR_H 1
  15093. | #define HAVE_FCNTL_H 1
  15094. | #define HAVE_FLOAT_H 1
  15095. | #define HAVE_LIMITS_H 1
  15096. | #define HAVE_MALLOC_H 1
  15097. | #define HAVE_NETINET_IN_H 1
  15098. | #define HAVE_STDINT_H 1
  15099. | #define HAVE_STDLIB_H 1
  15100. | #define HAVE_STRING_H 1
  15101. | #define HAVE_STRINGS_H 1
  15102. | #define HAVE_SYS_FILE_H 1
  15103. | #define HAVE_SYS_IOCTL_H 1
  15104. | #define HAVE_SYS_SOCKET_H 1
  15105. | #define HAVE_SYS_TIME_H 1
  15106. | #define HAVE_SYS_TIMEB_H 1
  15107. | #define HAVE_SYSLOG_H 1
  15108. | #define HAVE_TERMIOS_H 1
  15109. | #define HAVE_UNISTD_H 1
  15110. | #define HAVE_ASM_TERMIOS_H 1
  15111. | #define HAVE_ASSERT_H 1
  15112. | #define HAVE_DLFCN_H 1
  15113. | #define HAVE_ENDIAN_H 1
  15114. | #define HAVE_EXECINFO_H 1
  15115. | #define HAVE_LINUX_IF_PACKET_H 1
  15116. | #define HAVE_MATH_H 1
  15117. | #define HAVE_NET_ETHERNET_H 1
  15118. | #define HAVE_STROPTS_H 1
  15119. | #define HAVE_SYS_PARAM_H 1
  15120. | #define HAVE_SYS_TYPES_H 1
  15121. | #define HAVE_SYS_UIO_H 1
  15122. | #define HAVE_SYSEXITS_H 1
  15123. | #define HAVE_SYS_SYSCTL_H 1
  15124. | #define HAVE_NET_IF_H 1
  15125. | #define HAVE_NET_IF_ARP_H 1
  15126. | #define HAVE_NET_ROUTE_H 1
  15127. | #define HAVE_NETINET_IF_ETHER_H 1
  15128. | #define HAVE_LINUX_NETLINK_H 1
  15129. | #define HAVE_LINUX_RTNETLINK_H 1
  15130. | #define HAVE_STDBOOL_H 1
  15131. | #define restrict __restrict
  15132. | #define HAVE_HASH_MAP 1
  15133. | #define HAVE_HASH_SET 1
  15134. | #define HAVE_UNORDERED_MAP 1
  15135. | #define HASH_MAP_H <tr1/unordered_map>
  15136. | #define HASH_SET_H <tr1/unordered_set>
  15137. | #define HASH_NAMESPACE std::tr1
  15138. | #define HASH_MAP_CLASS unordered_map
  15139. | #define HASH_SET_CLASS unordered_set
  15140. | #define HAVE_FORK 1
  15141. | #define HAVE_VFORK 1
  15142. | #define HAVE_WORKING_VFORK 1
  15143. | #define HAVE_WORKING_FORK 1
  15144. | #define HAVE_STDLIB_H 1
  15145. | #define HAVE_MALLOC 1
  15146. | #define HAVE_STDLIB_H 1
  15147. | #define HAVE_REALLOC 1
  15148. | #define HAVE_SYS_SELECT_H 1
  15149. | #define HAVE_SYS_SOCKET_H 1
  15150. | #define SELECT_TYPE_ARG1 int
  15151. | #define SELECT_TYPE_ARG234 (fd_set *)
  15152. | #define SELECT_TYPE_ARG5 (struct timeval *)
  15153. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  15154. | #define HAVE_VPRINTF 1
  15155. | #define HAVE_BZERO 1
  15156. | #define HAVE_GETTIMEOFDAY 1
  15157. | #define HAVE_MEMMOVE 1
  15158. | #define HAVE_MEMSET 1
  15159. | #define HAVE_MKDIR 1
  15160. | #define HAVE_STRDUP 1
  15161. | #define HAVE_STRRCHR 1
  15162. | #define HAVE_IF_NAMETOINDEX 1
  15163. | #define HAVE_INET_NTOA 1
  15164. | #define HAVE_INET_NTOP 1
  15165. | #define HAVE_INET_ATON 1
  15166. | #define HAVE_INET_PTON 1
  15167. | #define HAVE_SELECT 1
  15168. | #define HAVE_SOCKET 1
  15169. | #define HAVE_STRERROR 1
  15170. | #define HAVE_GETIFADDRS 1
  15171. | #define HAVE_GETLOADAVG 1
  15172. | #define HAVE_GETPWNAM_R 1
  15173. | #define HAVE_GETPWUID_R 1
  15174. | #define HAVE_GETGRNAM_R 1
  15175. | #define HAVE_GETGRGID_R 1
  15176. | #define HAVE_SECURE_GETENV 1
  15177. | #define HAVE_DLFCN_H 1
  15178. | #define LT_OBJDIR ".libs/"
  15179. | #define HAVE_EPOLL 1
  15180. | #define HAVE_TIME_T 1
  15181. | #define HAVE_SUSECONDS_T 1
  15182. | #define HAVE_DECL_MSG_NOSIGNAL 1
  15183. | #define HAVE_DECL_SO_NOSIGPIPE 0
  15184. | #define HAVE_DECL_PF_ROUTE 1
  15185. | #define HAVE_DECL_NET_RT_DUMP 0
  15186. | #define HAVE_DECL_RLIMIT_RTPRIO 1
  15187. | #define HAVE_DECL_RLIMIT_RTTIME 1
  15188. | #define HAVE_DECL_SO_REUSEADDR 1
  15189. | #define HAVE_DECL_SO_REUSEPORT 1
  15190. | #define HAVE_TERMIOS2 1
  15191. | #define HAVE_PTHREAD_SETNAME_NP_2 1
  15192. | #define HAVE_RESOLV_H 1
  15193. | #define HAVE_DECL_RES_NINIT 1
  15194. | #define HAVE_UUID_UUID_H 1
  15195. | #define HAVE_LIBUUID 1
  15196. | /* end confdefs.h. */
  15197. | #include <SaleaeDeviceApi.h>
  15198. | int
  15199. | main ()
  15200. | {
  15201. | DevicesManagerInterface::RegisterOnConnect(NULL)
  15202. | ;
  15203. | return 0;
  15204. | }
  15205. configure:21280: WARNING: SaleaeDevice library is not usable.
  15206. configure:21307: checking for CPPUNIT
  15207. configure:21314: $PKG_CONFIG --exists --print-errors "cppunit >= 1.9.6"
  15208. configure:21317: $? = 0
  15209. configure:21330: $PKG_CONFIG --exists --print-errors "cppunit >= 1.9.6"
  15210. configure:21333: $? = 0
  15211. configure:21368: result: yes
  15212. configure:21461: checking for libmicrohttpd
  15213. configure:21468: $PKG_CONFIG --exists --print-errors "libmicrohttpd"
  15214. Package libmicrohttpd was not found in the pkg-config search path.
  15215. Perhaps you should add the directory containing `libmicrohttpd.pc'
  15216. to the PKG_CONFIG_PATH environment variable
  15217. No package 'libmicrohttpd' found
  15218. configure:21471: $? = 1
  15219. configure:21484: $PKG_CONFIG --exists --print-errors "libmicrohttpd"
  15220. Package libmicrohttpd was not found in the pkg-config search path.
  15221. Perhaps you should add the directory containing `libmicrohttpd.pc'
  15222. to the PKG_CONFIG_PATH environment variable
  15223. No package 'libmicrohttpd' found
  15224. configure:21487: $? = 1
  15225. No package 'libmicrohttpd' found
  15226. configure:21514: result: no
  15227. configure:21970: checking for libftdi
  15228. configure:21977: $PKG_CONFIG --exists --print-errors "libftdi >= 0.18"
  15229. Package libftdi was not found in the pkg-config search path.
  15230. Perhaps you should add the directory containing `libftdi.pc'
  15231. to the PKG_CONFIG_PATH environment variable
  15232. No package 'libftdi' found
  15233. configure:21980: $? = 1
  15234. configure:21993: $PKG_CONFIG --exists --print-errors "libftdi >= 0.18"
  15235. Package libftdi was not found in the pkg-config search path.
  15236. Perhaps you should add the directory containing `libftdi.pc'
  15237. to the PKG_CONFIG_PATH environment variable
  15238. No package 'libftdi' found
  15239. configure:21996: $? = 1
  15240. No package 'libftdi' found
  15241. configure:22023: result: no
  15242. configure:22053: checking for libusb
  15243. configure:22060: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.2"
  15244. configure:22063: $? = 0
  15245. configure:22076: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.2"
  15246. configure:22079: $? = 0
  15247. configure:22114: result: yes
  15248. configure:22129: checking for libusb_error_name
  15249. configure:22136: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
  15250. configure:22139: $? = 0
  15251. configure:22152: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
  15252. configure:22155: $? = 0
  15253. configure:22190: result: yes
  15254. configure:22205: checking for libusb_hotplug_api
  15255. configure:22212: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.16"
  15256. configure:22215: $? = 0
  15257. configure:22228: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.16"
  15258. configure:22231: $? = 0
  15259. configure:22266: result: yes
  15260. configure:22296: checking for asm/termios.h
  15261. configure:22296: result: yes
  15262. configure:22328: checking for liblo
  15263. configure:22335: $PKG_CONFIG --exists --print-errors "liblo >= 0.26"
  15264. Package liblo was not found in the pkg-config search path.
  15265. Perhaps you should add the directory containing `liblo.pc'
  15266. to the PKG_CONFIG_PATH environment variable
  15267. No package 'liblo' found
  15268. configure:22338: $? = 1
  15269. configure:22351: $PKG_CONFIG --exists --print-errors "liblo >= 0.26"
  15270. Package liblo was not found in the pkg-config search path.
  15271. Perhaps you should add the directory containing `liblo.pc'
  15272. to the PKG_CONFIG_PATH environment variable
  15273. No package 'liblo' found
  15274. configure:22354: $? = 1
  15275. No package 'liblo' found
  15276. configure:22381: result: no
  15277. configure:22512: checking for serial port lock directory
  15278. configure:23188: checking for libprotobuf
  15279. configure:23195: $PKG_CONFIG --exists --print-errors "protobuf >= 2.3.0"
  15280. configure:23198: $? = 0
  15281. configure:23211: $PKG_CONFIG --exists --print-errors "protobuf >= 2.3.0"
  15282. configure:23214: $? = 0
  15283. configure:23268: result: yes
  15284. configure:23275: checking for libprotobuf2
  15285. configure:23282: $PKG_CONFIG --exists --print-errors "protobuf < 3.2"
  15286. configure:23285: $? = 0
  15287. configure:23298: $PKG_CONFIG --exists --print-errors "protobuf < 3.2"
  15288. configure:23301: $? = 0
  15289. configure:23336: result: yes
  15290. configure:23359: checking for protoc
  15291. configure:23377: found /usr/local/bin/protoc
  15292. configure:23389: result: /usr/local/bin/protoc
  15293. configure:23403: checking protoc version
  15294. configure:23423: result: 2.6.0
  15295. configure:23445: checking google/protobuf/compiler/command_line_interface.h usability
  15296. configure:23445: g++ -c -g -O2 -std=gnu++98 -pthread conftest.cpp >&5
  15297. configure:23445: $? = 0
  15298. configure:23445: result: yes
  15299. configure:23445: checking google/protobuf/compiler/command_line_interface.h presence
  15300. configure:23445: g++ -E conftest.cpp
  15301. configure:23445: $? = 0
  15302. configure:23445: result: yes
  15303. configure:23445: checking for google/protobuf/compiler/command_line_interface.h
  15304. configure:23445: result: yes
  15305. configure:23466: g++ -o conftest -g -O2 -std=gnu++98 -pthread conftest.cpp -ldl -lprotoc >&5
  15306. configure:23466: $? = 0
  15307. configure:23651: checking for doxygen
  15308. configure:23684: result: no
  15309. configure:23704: WARNING: doxygen not found - will not generate any doxygen documentation
  15310. configure:23757: checking for perl
  15311. configure:23775: found /usr/bin/perl
  15312. configure:23787: result: /usr/bin/perl
  15313. configure:26836: checking that generated files are newer than configure
  15314. configure:26842: result: done
  15315. configure:27109: creating ./config.status
  15316.  
  15317. ## ---------------------- ##
  15318. ## Running config.status. ##
  15319. ## ---------------------- ##
  15320.  
  15321. This file was extended by OLA config.status 0.10.6, which was
  15322. generated by GNU Autoconf 2.69. Invocation command line was
  15323.  
  15324. CONFIG_FILES =
  15325. CONFIG_HEADERS =
  15326. CONFIG_LINKS =
  15327. CONFIG_COMMANDS =
  15328. $ ./config.status
  15329.  
  15330. on uwbclient01
  15331.  
  15332. config.status:1525: creating include/ola/base/Version.h
  15333. config.status:1525: creating libola.pc
  15334. config.status:1525: creating libolaserver.pc
  15335. config.status:1525: creating libs/acn/libolaacn.pc
  15336. config.status:1525: creating ola.spec
  15337. config.status:1525: creating plugins/artnet/messages/libolaartnetconf.pc
  15338. config.status:1525: creating plugins/e131/messages/libolae131conf.pc
  15339. config.status:1525: creating plugins/usbpro/messages/libolausbproconf.pc
  15340. config.status:1525: creating tools/e133/libolae133common.pc
  15341. config.status:1525: creating tools/e133/libolae133controller.pc
  15342. config.status:1525: creating Makefile
  15343. config.status:1525: creating java/Makefile
  15344. config.status:1525: creating config.h
  15345. config.status:1706: config.h is unchanged
  15346. config.status:1785: executing depfiles commands
  15347. config.status:1785: executing libtool commands
  15348.  
  15349. ## ---------------- ##
  15350. ## Cache variables. ##
  15351. ## ---------------- ##
  15352.  
  15353. ac_cv_build=x86_64-unknown-linux-gnu
  15354. ac_cv_c_compiler_gnu=yes
  15355. ac_cv_c_inline=inline
  15356. ac_cv_c_int16_t=yes
  15357. ac_cv_c_int32_t=yes
  15358. ac_cv_c_int64_t=yes
  15359. ac_cv_c_int8_t=yes
  15360. ac_cv_c_restrict=__restrict
  15361. ac_cv_c_uint16_t=yes
  15362. ac_cv_c_uint32_t=yes
  15363. ac_cv_c_uint64_t=yes
  15364. ac_cv_c_uint8_t=yes
  15365. ac_cv_cxx_compiler_gnu=yes
  15366. ac_cv_cxx_hash_map='<tr1/unordered_map>'
  15367. ac_cv_cxx_hash_map_class=unordered_map
  15368. ac_cv_cxx_hash_namespace=std::tr1
  15369. ac_cv_cxx_hash_set='<tr1/unordered_set>'
  15370. ac_cv_cxx_hash_set_class=unordered_set
  15371. ac_cv_env_CCC_set=
  15372. ac_cv_env_CCC_value=
  15373. ac_cv_env_CC_set=
  15374. ac_cv_env_CC_value=
  15375. ac_cv_env_CFLAGS_set=
  15376. ac_cv_env_CFLAGS_value=
  15377. ac_cv_env_CPPFLAGS_set=
  15378. ac_cv_env_CPPFLAGS_value=
  15379. ac_cv_env_CPPUNIT1_CFLAGS_set=
  15380. ac_cv_env_CPPUNIT1_CFLAGS_value=
  15381. ac_cv_env_CPPUNIT1_LIBS_set=
  15382. ac_cv_env_CPPUNIT1_LIBS_value=
  15383. ac_cv_env_CPPUNIT2_CFLAGS_set=
  15384. ac_cv_env_CPPUNIT2_CFLAGS_value=
  15385. ac_cv_env_CPPUNIT2_LIBS_set=
  15386. ac_cv_env_CPPUNIT2_LIBS_value=
  15387. ac_cv_env_CPPUNIT_CFLAGS_set=
  15388. ac_cv_env_CPPUNIT_CFLAGS_value=
  15389. ac_cv_env_CPPUNIT_LIBS_set=
  15390. ac_cv_env_CPPUNIT_LIBS_value=
  15391. ac_cv_env_CPP_set=
  15392. ac_cv_env_CPP_value=
  15393. ac_cv_env_CXXCPP_set=
  15394. ac_cv_env_CXXCPP_value=
  15395. ac_cv_env_CXXFLAGS_set=
  15396. ac_cv_env_CXXFLAGS_value=
  15397. ac_cv_env_CXX_set=
  15398. ac_cv_env_CXX_value=
  15399. ac_cv_env_DOXYGEN_PAPER_SIZE_set=
  15400. ac_cv_env_DOXYGEN_PAPER_SIZE_value=
  15401. ac_cv_env_JAVA_CC_FLAGS_set=
  15402. ac_cv_env_JAVA_CC_FLAGS_value=
  15403. ac_cv_env_JAVA_CC_set=
  15404. ac_cv_env_JAVA_CC_value=
  15405. ac_cv_env_LDFLAGS_set=
  15406. ac_cv_env_LDFLAGS_value=
  15407. ac_cv_env_LIBS_set=
  15408. ac_cv_env_LIBS_value=
  15409. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  15410. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  15411. ac_cv_env_PKG_CONFIG_set=
  15412. ac_cv_env_PKG_CONFIG_value=
  15413. ac_cv_env_PYTHON_set=
  15414. ac_cv_env_PYTHON_value=
  15415. ac_cv_env_avahi_CFLAGS_set=
  15416. ac_cv_env_avahi_CFLAGS_value=
  15417. ac_cv_env_avahi_LIBS_set=
  15418. ac_cv_env_avahi_LIBS_value=
  15419. ac_cv_env_base_uuid_CFLAGS_set=
  15420. ac_cv_env_base_uuid_CFLAGS_value=
  15421. ac_cv_env_base_uuid_LIBS_set=
  15422. ac_cv_env_base_uuid_LIBS_value=
  15423. ac_cv_env_build_alias_set=
  15424. ac_cv_env_build_alias_value=
  15425. ac_cv_env_host_alias_set=
  15426. ac_cv_env_host_alias_value=
  15427. ac_cv_env_libftdi_CFLAGS_set=
  15428. ac_cv_env_libftdi_CFLAGS_value=
  15429. ac_cv_env_libftdi_LIBS_set=
  15430. ac_cv_env_libftdi_LIBS_value=
  15431. ac_cv_env_liblo_CFLAGS_set=
  15432. ac_cv_env_liblo_CFLAGS_value=
  15433. ac_cv_env_liblo_LIBS_set=
  15434. ac_cv_env_liblo_LIBS_value=
  15435. ac_cv_env_libmicrohttpd_CFLAGS_set=
  15436. ac_cv_env_libmicrohttpd_CFLAGS_value=
  15437. ac_cv_env_libmicrohttpd_LIBS_set=
  15438. ac_cv_env_libmicrohttpd_LIBS_value=
  15439. ac_cv_env_libprotobuf2_CFLAGS_set=
  15440. ac_cv_env_libprotobuf2_CFLAGS_value=
  15441. ac_cv_env_libprotobuf2_LIBS_set=
  15442. ac_cv_env_libprotobuf2_LIBS_value=
  15443. ac_cv_env_libprotobuf_CFLAGS_set=
  15444. ac_cv_env_libprotobuf_CFLAGS_value=
  15445. ac_cv_env_libprotobuf_LIBS_set=
  15446. ac_cv_env_libprotobuf_LIBS_value=
  15447. ac_cv_env_libusb_CFLAGS_set=
  15448. ac_cv_env_libusb_CFLAGS_value=
  15449. ac_cv_env_libusb_LIBS_set=
  15450. ac_cv_env_libusb_LIBS_value=
  15451. ac_cv_env_libusb_error_name_CFLAGS_set=
  15452. ac_cv_env_libusb_error_name_CFLAGS_value=
  15453. ac_cv_env_libusb_error_name_LIBS_set=
  15454. ac_cv_env_libusb_error_name_LIBS_value=
  15455. ac_cv_env_libusb_hotplug_api_CFLAGS_set=
  15456. ac_cv_env_libusb_hotplug_api_CFLAGS_value=
  15457. ac_cv_env_libusb_hotplug_api_LIBS_set=
  15458. ac_cv_env_libusb_hotplug_api_LIBS_value=
  15459. ac_cv_env_ossp_uuid_CFLAGS_set=
  15460. ac_cv_env_ossp_uuid_CFLAGS_value=
  15461. ac_cv_env_ossp_uuid_LIBS_set=
  15462. ac_cv_env_ossp_uuid_LIBS_value=
  15463. ac_cv_env_target_alias_set=
  15464. ac_cv_env_target_alias_value=
  15465. ac_cv_func__doprnt=no
  15466. ac_cv_func_bzero=yes
  15467. ac_cv_func_closedir_void=no
  15468. ac_cv_func_fork=yes
  15469. ac_cv_func_fork_works=yes
  15470. ac_cv_func_getgrgid_r=yes
  15471. ac_cv_func_getgrnam_r=yes
  15472. ac_cv_func_getifaddrs=yes
  15473. ac_cv_func_getloadavg=yes
  15474. ac_cv_func_getpwnam_r=yes
  15475. ac_cv_func_getpwuid_r=yes
  15476. ac_cv_func_gettimeofday=yes
  15477. ac_cv_func_if_nametoindex=yes
  15478. ac_cv_func_inet_aton=yes
  15479. ac_cv_func_inet_ntoa=yes
  15480. ac_cv_func_inet_ntop=yes
  15481. ac_cv_func_inet_pton=yes
  15482. ac_cv_func_kqueue=no
  15483. ac_cv_func_lstat_dereferences_slashed_symlink=yes
  15484. ac_cv_func_malloc_0_nonnull=yes
  15485. ac_cv_func_memcmp_working=yes
  15486. ac_cv_func_memmove=yes
  15487. ac_cv_func_memset=yes
  15488. ac_cv_func_mkdir=yes
  15489. ac_cv_func_realloc_0_nonnull=yes
  15490. ac_cv_func_secure_getenv=yes
  15491. ac_cv_func_select=yes
  15492. ac_cv_func_select_args='int,fd_set *,struct timeval *'
  15493. ac_cv_func_socket=yes
  15494. ac_cv_func_stat_empty_string_bug=no
  15495. ac_cv_func_strdup=yes
  15496. ac_cv_func_strerror=yes
  15497. ac_cv_func_strrchr=yes
  15498. ac_cv_func_vfork=yes
  15499. ac_cv_func_vfork_works=yes
  15500. ac_cv_func_vprintf=yes
  15501. ac_cv_gnu_plus_plus_11=yes
  15502. ac_cv_gnu_plus_plus_98=yes
  15503. ac_cv_have_decl_MSG_NOSIGNAL=yes
  15504. ac_cv_have_decl_NET_RT_DUMP=no
  15505. ac_cv_have_decl_PF_ROUTE=yes
  15506. ac_cv_have_decl_RLIMIT_RTPRIO=yes
  15507. ac_cv_have_decl_RLIMIT_RTTIME=yes
  15508. ac_cv_have_decl_SO_NOSIGPIPE=no
  15509. ac_cv_have_decl_SO_REUSEADDR=yes
  15510. ac_cv_have_decl_SO_REUSEPORT=yes
  15511. ac_cv_have_decl_res_ninit=yes
  15512. ac_cv_header_SaleaeDeviceApi_h=no
  15513. ac_cv_header_arpa_inet_h=yes
  15514. ac_cv_header_arpa_nameser_h=yes
  15515. ac_cv_header_asm_termios_h=yes
  15516. ac_cv_header_assert_h=yes
  15517. ac_cv_header_bits_sockaddr_h=yes
  15518. ac_cv_header_dirent_dirent_h=yes
  15519. ac_cv_header_dlfcn_h=yes
  15520. ac_cv_header_dmx_dmxioctl_h=no
  15521. ac_cv_header_dns_sd_h=no
  15522. ac_cv_header_endian_h=yes
  15523. ac_cv_header_errno_h=yes
  15524. ac_cv_header_execinfo_h=yes
  15525. ac_cv_header_fcntl_h=yes
  15526. ac_cv_header_float_h=yes
  15527. ac_cv_header_google_protobuf_compiler_command_line_interface_h=yes
  15528. ac_cv_header_inttypes_h=yes
  15529. ac_cv_header_limits_h=yes
  15530. ac_cv_header_linux_if_packet_h=yes
  15531. ac_cv_header_linux_netlink_h=yes
  15532. ac_cv_header_linux_rtnetlink_h=yes
  15533. ac_cv_header_linux_spi_spidev_h=yes
  15534. ac_cv_header_linux_version_h=yes
  15535. ac_cv_header_malloc_h=yes
  15536. ac_cv_header_math_h=yes
  15537. ac_cv_header_memory_h=yes
  15538. ac_cv_header_net_ethernet_h=yes
  15539. ac_cv_header_net_if_arp_h=yes
  15540. ac_cv_header_net_if_ether_h=no
  15541. ac_cv_header_net_if_h=yes
  15542. ac_cv_header_net_route_h=yes
  15543. ac_cv_header_netdb_h=yes
  15544. ac_cv_header_netinet_if_ether_h=yes
  15545. ac_cv_header_netinet_in_h=yes
  15546. ac_cv_header_pthread_np_h=no
  15547. ac_cv_header_random=no
  15548. ac_cv_header_resolv_h=yes
  15549. ac_cv_header_stdbool_h=yes
  15550. ac_cv_header_stdc=yes
  15551. ac_cv_header_stdint_h=yes
  15552. ac_cv_header_stdlib_h=yes
  15553. ac_cv_header_string_h=yes
  15554. ac_cv_header_strings_h=yes
  15555. ac_cv_header_stropts_h=yes
  15556. ac_cv_header_sys_file_h=yes
  15557. ac_cv_header_sys_ioctl_h=yes
  15558. ac_cv_header_sys_param_h=yes
  15559. ac_cv_header_sys_select_h=yes
  15560. ac_cv_header_sys_socket_h=yes
  15561. ac_cv_header_sys_stat_h=yes
  15562. ac_cv_header_sys_sysctl_h=yes
  15563. ac_cv_header_sys_time_h=yes
  15564. ac_cv_header_sys_timeb_h=yes
  15565. ac_cv_header_sys_types_h=yes
  15566. ac_cv_header_sys_uio_h=yes
  15567. ac_cv_header_sysexits_h=yes
  15568. ac_cv_header_syslog_h=yes
  15569. ac_cv_header_termios_h=yes
  15570. ac_cv_header_unistd_h=yes
  15571. ac_cv_header_uuid_uuid_h=yes
  15572. ac_cv_header_vfork_h=no
  15573. ac_cv_header_winsock2_h=no
  15574. ac_cv_host=x86_64-unknown-linux-gnu
  15575. ac_cv_ipv6=no
  15576. ac_cv_lib_dmx4linux_DMXdev=no
  15577. ac_cv_lib_execinfo_backtrace=no
  15578. ac_cv_lib_lex='none needed'
  15579. ac_cv_lib_ncurses_initscr=no
  15580. ac_cv_lib_uuid_uuid_generate=yes
  15581. ac_cv_member_struct_sockaddr_dl_sdl_family=no
  15582. ac_cv_member_struct_sockaddr_sa_len=no
  15583. ac_cv_objext=o
  15584. ac_cv_path_EGREP='/bin/grep -E'
  15585. ac_cv_path_FGREP='/bin/grep -F'
  15586. ac_cv_path_GREP=/bin/grep
  15587. ac_cv_path_PROTOC=/usr/local/bin/protoc
  15588. ac_cv_path_SED=/bin/sed
  15589. ac_cv_path_ac_pt_DX_PERL=/usr/bin/perl
  15590. ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
  15591. ac_cv_path_install='/usr/bin/install -c'
  15592. ac_cv_path_lt_DD=/bin/dd
  15593. ac_cv_path_mkdir=/bin/mkdir
  15594. ac_cv_prog_AWK=mawk
  15595. ac_cv_prog_BISON=bison
  15596. ac_cv_prog_CPP='gcc -E'
  15597. ac_cv_prog_CXXCPP='g++ -E'
  15598. ac_cv_prog_LEX=flex
  15599. ac_cv_prog_ac_ct_AR=ar
  15600. ac_cv_prog_ac_ct_CC=gcc
  15601. ac_cv_prog_ac_ct_CXX=g++
  15602. ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  15603. ac_cv_prog_ac_ct_OBJDUMP=objdump
  15604. ac_cv_prog_ac_ct_RANLIB=ranlib
  15605. ac_cv_prog_ac_ct_STRIP=strip
  15606. ac_cv_prog_cc_c89=
  15607. ac_cv_prog_cc_g=yes
  15608. ac_cv_prog_cxx_g=yes
  15609. ac_cv_prog_lex_root=lex.yy
  15610. ac_cv_prog_lex_yytext_pointer=no
  15611. ac_cv_prog_make_make_set=yes
  15612. ac_cv_rdynamic=yes
  15613. ac_cv_readdir_r_deprecation=no
  15614. ac_cv_search_dlopen=-ldl
  15615. ac_cv_search_opendir='none required'
  15616. ac_cv_type__Bool=no
  15617. ac_cv_type_pid_t=yes
  15618. ac_cv_type_size_t=yes
  15619. ac_cv_type_ssize_t=yes
  15620. ac_cv_type_suseconds_t=yes
  15621. ac_cv_type_termios2=yes
  15622. ac_cv_type_time_t=yes
  15623. ac_cv_type_uid_t=yes
  15624. am_cv_CC_dependencies_compiler_type=gcc3
  15625. am_cv_CXX_dependencies_compiler_type=gcc3
  15626. am_cv_make_support_nested_variables=yes
  15627. am_cv_prog_cc_c_o=yes
  15628. ax_cv_have_epoll=yes
  15629. lt_cv_ar_at_file=@
  15630. lt_cv_archive_cmds_need_lc=no
  15631. lt_cv_deplibs_check_method=pass_all
  15632. lt_cv_file_magic_cmd='$MAGIC_CMD'
  15633. lt_cv_file_magic_test_file=
  15634. lt_cv_ld_reload_flag=-r
  15635. lt_cv_nm_interface='BSD nm'
  15636. lt_cv_objdir=.libs
  15637. lt_cv_path_LD=/usr/bin/ld
  15638. lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
  15639. lt_cv_path_NM='/usr/bin/nm -B'
  15640. lt_cv_path_mainfest_tool=no
  15641. lt_cv_prog_compiler_c_o=yes
  15642. lt_cv_prog_compiler_c_o_CXX=yes
  15643. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  15644. lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
  15645. lt_cv_prog_compiler_pic_works=yes
  15646. lt_cv_prog_compiler_pic_works_CXX=yes
  15647. lt_cv_prog_compiler_rtti_exceptions=no
  15648. lt_cv_prog_compiler_static_works=yes
  15649. lt_cv_prog_compiler_static_works_CXX=yes
  15650. lt_cv_prog_gnu_ld=yes
  15651. lt_cv_prog_gnu_ldcxx=yes
  15652. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  15653. lt_cv_shlibpath_overrides_runpath=no
  15654. 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'\'''
  15655. 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'\'''
  15656. 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'\''
  15657. -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
  15658. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  15659. lt_cv_sys_global_symbol_to_import=
  15660. lt_cv_sys_max_cmd_len=1572864
  15661. lt_cv_to_host_file_cmd=func_convert_file_noop
  15662. lt_cv_to_tool_file_cmd=func_convert_file_noop
  15663. lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
  15664. pkg_cv_CPPUNIT1_CFLAGS=
  15665. pkg_cv_CPPUNIT1_LIBS=-lcppunit
  15666. pkg_cv_CPPUNIT_CFLAGS=
  15667. pkg_cv_CPPUNIT_LIBS=-lcppunit
  15668. pkg_cv_base_uuid_CFLAGS=-I/usr/include/uuid
  15669. pkg_cv_base_uuid_LIBS=-luuid
  15670. pkg_cv_libprotobuf2_CFLAGS='-pthread -I/usr/local/include'
  15671. pkg_cv_libprotobuf2_LIBS='-L/usr/local/lib -lprotobuf -pthread -lpthread'
  15672. pkg_cv_libprotobuf_CFLAGS='-pthread -I/usr/local/include'
  15673. pkg_cv_libprotobuf_LIBS='-L/usr/local/lib -lprotobuf -pthread -lpthread'
  15674. pkg_cv_libusb_CFLAGS=-I/usr/include/libusb-1.0
  15675. pkg_cv_libusb_LIBS=-lusb-1.0
  15676. pkg_cv_libusb_error_name_CFLAGS=-I/usr/include/libusb-1.0
  15677. pkg_cv_libusb_error_name_LIBS=-lusb-1.0
  15678. pkg_cv_libusb_hotplug_api_CFLAGS=-I/usr/include/libusb-1.0
  15679. pkg_cv_libusb_hotplug_api_LIBS=-lusb-1.0
  15680.  
  15681. ## ----------------- ##
  15682. ## Output variables. ##
  15683. ## ----------------- ##
  15684.  
  15685. ACLOCAL='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/missing aclocal-1.15'
  15686. AMDEPBACKSLASH='\'
  15687. AMDEP_FALSE='#'
  15688. AMDEP_TRUE=''
  15689. AMTAR='$${TAR-tar}'
  15690. AM_BACKSLASH='\'
  15691. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  15692. AM_DEFAULT_VERBOSITY='1'
  15693. AM_V='$(V)'
  15694. AR='ar'
  15695. AS='as'
  15696. AUTOCONF='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/missing autoconf'
  15697. AUTOHEADER='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/missing autoheader'
  15698. AUTOMAKE='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/missing automake-1.15'
  15699. AWK='mawk'
  15700. BISON='bison'
  15701. BUILD_EXAMPLES_FALSE='#'
  15702. BUILD_EXAMPLES_TRUE=''
  15703. BUILD_JAVA_LIBS_FALSE=''
  15704. BUILD_JAVA_LIBS_TRUE='#'
  15705. BUILD_JA_RULE_FALSE=''
  15706. BUILD_JA_RULE_TRUE='#'
  15707. BUILD_OLA_PROTOC_PLUGIN_FALSE='#'
  15708. BUILD_OLA_PROTOC_PLUGIN_TRUE=''
  15709. BUILD_PYTHON_LIBS_FALSE=''
  15710. BUILD_PYTHON_LIBS_TRUE='#'
  15711. BUILD_TESTS_FALSE='#'
  15712. BUILD_TESTS_TRUE=''
  15713. CC='gcc'
  15714. CCDEPMODE='depmode=gcc3'
  15715. CFLAGS='-g -O2 -pthread'
  15716. CPP='gcc -E'
  15717. CPPFLAGS=''
  15718. CPPUNIT1_CFLAGS=''
  15719. CPPUNIT1_LIBS='-lcppunit'
  15720. CPPUNIT2_CFLAGS=''
  15721. CPPUNIT2_LIBS=''
  15722. CPPUNIT_CFLAGS=''
  15723. CPPUNIT_LIBS='-lcppunit'
  15724. CXX='g++'
  15725. CXXCPP='g++ -E'
  15726. CXXDEPMODE='depmode=gcc3'
  15727. CXXFLAGS='-g -O2 -std=gnu++98 -pthread'
  15728. CYGPATH_W='echo'
  15729. DEFS='-DHAVE_CONFIG_H'
  15730. DEPDIR='.deps'
  15731. DLLTOOL='false'
  15732. DOXYGEN_PAPER_SIZE=''
  15733. DSYMUTIL=''
  15734. DUMPBIN=''
  15735. DX_COND_chi_FALSE=''
  15736. DX_COND_chi_TRUE='#'
  15737. DX_COND_chm_FALSE=''
  15738. DX_COND_chm_TRUE='#'
  15739. DX_COND_doc_FALSE=''
  15740. DX_COND_doc_TRUE='#'
  15741. DX_COND_dot_FALSE=''
  15742. DX_COND_dot_TRUE='#'
  15743. DX_COND_html_FALSE=''
  15744. DX_COND_html_TRUE='#'
  15745. DX_COND_latex_FALSE=''
  15746. DX_COND_latex_TRUE='#'
  15747. DX_COND_man_FALSE=''
  15748. DX_COND_man_TRUE='#'
  15749. DX_COND_pdf_FALSE=''
  15750. DX_COND_pdf_TRUE='#'
  15751. DX_COND_ps_FALSE=''
  15752. DX_COND_ps_TRUE='#'
  15753. DX_COND_rtf_FALSE=''
  15754. DX_COND_rtf_TRUE='#'
  15755. DX_COND_verbose_FALSE=''
  15756. DX_COND_verbose_TRUE='#'
  15757. DX_COND_xml_FALSE=''
  15758. DX_COND_xml_TRUE='#'
  15759. DX_CONFIG='Doxyfile'
  15760. DX_DOCDIR='doxygen-doc'
  15761. DX_DOT=''
  15762. DX_DOXYGEN=''
  15763. DX_DVIPS=''
  15764. DX_EGREP=''
  15765. DX_ENV=' QUIET='\''YES'\'' PROJECT_NUMBER='\''0.10.6'\'' SRCDIR='\''.'\'' PROJECT='\''OLA'\'' DOCDIR='\''doxygen-doc'\'' VERSION='\''0.10.6'\'' HAVE_DOT='\''NO'\'' GENERATE_MAN='\''NO'\''
  15766. GENERATE_RTF='\''NO'\'' GENERATE_XML='\''NO'\'' GENERATE_HTMLHELP='\''NO'\'' GENERATE_CHI='\''NO'\'' GENERATE_HTML='\''NO'\'' GENERATE_LATEX='\''NO'\'''
  15767. DX_FLAG_chi='0'
  15768. DX_FLAG_chm='0'
  15769. DX_FLAG_doc='0'
  15770. DX_FLAG_dot='0'
  15771. DX_FLAG_html='0'
  15772. DX_FLAG_man='0'
  15773. DX_FLAG_pdf='0'
  15774. DX_FLAG_ps='0'
  15775. DX_FLAG_rtf='0'
  15776. DX_FLAG_verbose='0'
  15777. DX_FLAG_xml='0'
  15778. DX_HHC=''
  15779. DX_LATEX=''
  15780. DX_MAKEINDEX=''
  15781. DX_PDFLATEX=''
  15782. DX_PERL='/usr/bin/perl'
  15783. DX_PROJECT='OLA'
  15784. ECHO_C=''
  15785. ECHO_N='-n'
  15786. ECHO_T=''
  15787. EGREP='/bin/grep -E'
  15788. EXEEXT=''
  15789. FATAL_WARNINGS_FALSE='#'
  15790. FATAL_WARNINGS_TRUE=''
  15791. FGREP='/bin/grep -F'
  15792. GCJ_OPTS=''
  15793. GNU_PLUS_PLUS_11_DEPRECATIONS_FALSE=''
  15794. GNU_PLUS_PLUS_11_DEPRECATIONS_TRUE='#'
  15795. GREP='/bin/grep'
  15796. HAVE_AVAHI_FALSE=''
  15797. HAVE_AVAHI_TRUE='#'
  15798. HAVE_DLOPEN_FALSE='#'
  15799. HAVE_DLOPEN_TRUE=''
  15800. HAVE_DNSSD_FALSE=''
  15801. HAVE_DNSSD_TRUE='#'
  15802. HAVE_EPOLL_FALSE='#'
  15803. HAVE_EPOLL_TRUE=''
  15804. HAVE_KQUEUE_FALSE=''
  15805. HAVE_KQUEUE_TRUE='#'
  15806. HAVE_LIBFTD2XX_FALSE=''
  15807. HAVE_LIBFTD2XX_TRUE='#'
  15808. HAVE_LIBMICROHTTPD_FALSE=''
  15809. HAVE_LIBMICROHTTPD_TRUE='#'
  15810. HAVE_LIBUSB_HOTPLUG_API_FALSE='#'
  15811. HAVE_LIBUSB_HOTPLUG_API_TRUE=''
  15812. HAVE_NCURSES_FALSE=''
  15813. HAVE_NCURSES_TRUE='#'
  15814. HAVE_SALEAE_LOGIC_FALSE=''
  15815. HAVE_SALEAE_LOGIC_TRUE='#'
  15816. INSTALL_ACN_FALSE=''
  15817. INSTALL_ACN_TRUE='#'
  15818. INSTALL_DATA='${INSTALL} -m 644'
  15819. INSTALL_E133_FALSE=''
  15820. INSTALL_E133_TRUE='#'
  15821. INSTALL_PROGRAM='${INSTALL}'
  15822. INSTALL_RDM_TESTS_FALSE=''
  15823. INSTALL_RDM_TESTS_TRUE='#'
  15824. INSTALL_SCRIPT='${INSTALL}'
  15825. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  15826. JAVA_CC=''
  15827. JAVA_CC_FLAGS=''
  15828. JAVA_CC_OPTS=''
  15829. LD='/usr/bin/ld -m elf_x86_64'
  15830. LDFLAGS=''
  15831. LEX='flex'
  15832. LEXLIB=''
  15833. LEX_OUTPUT_ROOT='lex.yy'
  15834. LIBOBJS=''
  15835. LIBS=' -ldl '
  15836. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  15837. LIPO=''
  15838. LN_S='ln -s'
  15839. LTLIBOBJS=''
  15840. LT_SYS_LIBRARY_PATH=''
  15841. MAKEINFO='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/missing makeinfo'
  15842. MANIFEST_TOOL=':'
  15843. MAVEN=''
  15844. MKDIR_P='/bin/mkdir -p'
  15845. NM='/usr/bin/nm -B'
  15846. NMEDIT=''
  15847. OBJDUMP='objdump'
  15848. OBJEXT='o'
  15849. OLA_CLIENT_LIBS=''
  15850. OLA_MAJOR_VERSION='0'
  15851. OLA_MINOR_VERSION='10'
  15852. OLA_PROTOC='/usr/local/bin/protoc --plugin=protoc-gen-cppservice=$(top_builddir)/protoc/ola_protoc_plugin'
  15853. OLA_REVISION_VERSION='6'
  15854. OLA_SERVER_LIBS=' -lolaartnet -loladummy -lolae131 -lolaespnet -lolagpio -lolakarate -lolakinet -lolamilinst -lolaopendmx -lolaopenpixelcontrol -lolapathport -lolarenard -lolasandnet
  15855. -lolashownet -lolaspi -lolastageprofi -lolauartdmx -lolausbdmx -lolausbpro'
  15856. OTOOL64=''
  15857. OTOOL=''
  15858. PACKAGE='ola'
  15859. PACKAGE_BUGREPORT='open-lighting@googlegroups.com'
  15860. PACKAGE_NAME='OLA'
  15861. PACKAGE_STRING='OLA 0.10.6'
  15862. PACKAGE_TARNAME='ola'
  15863. PACKAGE_URL=''
  15864. PACKAGE_VERSION='0.10.6'
  15865. PATH_SEPARATOR=':'
  15866. PKG_CONFIG='/usr/bin/pkg-config'
  15867. PLUGIN_LIBS=' plugins/artnet/libolaartnet.la plugins/dummy/liboladummy.la plugins/e131/libolae131.la plugins/espnet/libolaespnet.la plugins/gpio/libolagpio.la plugins/karate/libolakarate.la
  15868. plugins/kinet/libolakinet.la plugins/milinst/libolamilinst.la plugins/opendmx/libolaopendmx.la plugins/openpixelcontrol/libolaopenpixelcontrol.la plugins/pathport/libolapathport.la plugins/renard/libolarenard.la
  15869. plugins/sandnet/libolasandnet.la plugins/shownet/libolashownet.la plugins/spi/libolaspi.la plugins/stageprofi/libolastageprofi.la plugins/uartdmx/libolauartdmx.la plugins/usbdmx/libolausbdmx.la
  15870. plugins/usbpro/libolausbpro.la'
  15871. PROTOC='/usr/local/bin/protoc'
  15872. PTHREAD_CC='gcc'
  15873. PTHREAD_CFLAGS='-pthread'
  15874. PTHREAD_CXX='g++'
  15875. PTHREAD_CXXFLAGS='-pthread'
  15876. PTHREAD_LIBS=''
  15877. PYTHON=''
  15878. PYTHON_EXEC_PREFIX=''
  15879. PYTHON_PLATFORM=''
  15880. PYTHON_PREFIX=''
  15881. PYTHON_VERSION=''
  15882. RANLIB='ranlib'
  15883. RESOLV_LIBS='-lresolv'
  15884. SED='/bin/sed'
  15885. SET_MAKE=''
  15886. SHELL='/bin/bash'
  15887. STRIP='strip'
  15888. SUPPORTS_GNU_PLUS_PLUS_11_FALSE='#'
  15889. SUPPORTS_GNU_PLUS_PLUS_11_TRUE=''
  15890. SUPPORTS_GNU_PLUS_PLUS_98_FALSE='#'
  15891. SUPPORTS_GNU_PLUS_PLUS_98_TRUE=''
  15892. SUPPORTS_RDYNAMIC_FALSE='#'
  15893. SUPPORTS_RDYNAMIC_TRUE=''
  15894. USE_ARTNET_FALSE='#'
  15895. USE_ARTNET_TRUE=''
  15896. USE_DMX4LINUX_FALSE=''
  15897. USE_DMX4LINUX_TRUE='#'
  15898. USE_DUMMY_FALSE='#'
  15899. USE_DUMMY_TRUE=''
  15900. USE_E131_FALSE='#'
  15901. USE_E131_TRUE=''
  15902. USE_ESPNET_FALSE='#'
  15903. USE_ESPNET_TRUE=''
  15904. USE_FTDI_FALSE=''
  15905. USE_FTDI_TRUE='#'
  15906. USE_GPIO_FALSE='#'
  15907. USE_GPIO_TRUE=''
  15908. USE_KARATE_FALSE='#'
  15909. USE_KARATE_TRUE=''
  15910. USE_KINET_FALSE='#'
  15911. USE_KINET_TRUE=''
  15912. USE_LIBUSB_FALSE='#'
  15913. USE_LIBUSB_TRUE=''
  15914. USE_MILINST_FALSE='#'
  15915. USE_MILINST_TRUE=''
  15916. USE_OPENDMX_FALSE='#'
  15917. USE_OPENDMX_TRUE=''
  15918. USE_OPENPIXELCONTROL_FALSE='#'
  15919. USE_OPENPIXELCONTROL_TRUE=''
  15920. USE_OSC_FALSE=''
  15921. USE_OSC_TRUE='#'
  15922. USE_PATHPORT_FALSE='#'
  15923. USE_PATHPORT_TRUE=''
  15924. USE_RENARD_FALSE='#'
  15925. USE_RENARD_TRUE=''
  15926. USE_SANDNET_FALSE='#'
  15927. USE_SANDNET_TRUE=''
  15928. USE_SHOWNET_FALSE='#'
  15929. USE_SHOWNET_TRUE=''
  15930. USE_SPI_FALSE='#'
  15931. USE_SPI_TRUE=''
  15932. USE_STAGEPROFI_FALSE='#'
  15933. USE_STAGEPROFI_TRUE=''
  15934. USE_UART_FALSE='#'
  15935. USE_UART_TRUE=''
  15936. USE_USBPRO_FALSE='#'
  15937. USE_USBPRO_TRUE=''
  15938. USING_WIN32_FALSE=''
  15939. USING_WIN32_TRUE='#'
  15940. VERSION='0.10.6'
  15941. ac_aux_dir='config'
  15942. ac_ct_AR='ar'
  15943. ac_ct_CC='gcc'
  15944. ac_ct_CXX='g++'
  15945. ac_ct_DUMPBIN=''
  15946. acx_pthread_config=''
  15947. am__EXEEXT_FALSE=''
  15948. am__EXEEXT_TRUE='#'
  15949. am__fastdepCC_FALSE='#'
  15950. am__fastdepCC_TRUE=''
  15951. am__fastdepCXX_FALSE='#'
  15952. am__fastdepCXX_TRUE=''
  15953. am__include='include'
  15954. am__isrc=''
  15955. am__leading_dot='.'
  15956. am__nodep='_no'
  15957. am__quote=''
  15958. am__tar='$${TAR-tar} chof - "$$tardir"'
  15959. am__untar='$${TAR-tar} xf -'
  15960. avahi_CFLAGS=''
  15961. avahi_LIBS=''
  15962. base_uuid_CFLAGS='-I/usr/include/uuid'
  15963. base_uuid_LIBS='-luuid'
  15964. bindir='${exec_prefix}/bin'
  15965. build='x86_64-unknown-linux-gnu'
  15966. build_alias=''
  15967. build_cpu='x86_64'
  15968. build_os='linux-gnu'
  15969. build_vendor='unknown'
  15970. datadir='${datarootdir}'
  15971. datarootdir='${prefix}/share'
  15972. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  15973. dvidir='${docdir}'
  15974. exec_prefix='${prefix}'
  15975. host='x86_64-unknown-linux-gnu'
  15976. host_alias=''
  15977. host_cpu='x86_64'
  15978. host_os='linux-gnu'
  15979. host_vendor='unknown'
  15980. htmldir='${docdir}'
  15981. includedir='${prefix}/include'
  15982. infodir='${datarootdir}/info'
  15983. install_sh='${SHELL} /home/uwbclient01/UWB_Light/ola-0.10.6/config/install-sh'
  15984. libSaleaeDevice_LIBS='-lSaleaeDevice'
  15985. libdir='${exec_prefix}/lib'
  15986. libexecdir='${exec_prefix}/libexec'
  15987. libftdi_CFLAGS=''
  15988. libftdi_LIBS=''
  15989. liblo_CFLAGS=''
  15990. liblo_LIBS=''
  15991. libmicrohttpd_CFLAGS=''
  15992. libmicrohttpd_LIBS=''
  15993. libprotobuf2_CFLAGS='-pthread -I/usr/local/include'
  15994. libprotobuf2_LIBS='-L/usr/local/lib -lprotobuf -pthread -lpthread'
  15995. libprotobuf_CFLAGS='-pthread -I/usr/local/include'
  15996. libprotobuf_LIBS='-L/usr/local/lib -lprotobuf -pthread -lpthread'
  15997. libusb_CFLAGS='-I/usr/include/libusb-1.0'
  15998. libusb_LIBS='-lusb-1.0'
  15999. libusb_error_name_CFLAGS='-I/usr/include/libusb-1.0'
  16000. libusb_error_name_LIBS='-lusb-1.0'
  16001. libusb_hotplug_api_CFLAGS='-I/usr/include/libusb-1.0'
  16002. libusb_hotplug_api_LIBS='-lusb-1.0'
  16003. localedir='${datarootdir}/locale'
  16004. localstatedir='${prefix}/var'
  16005. mandir='${datarootdir}/man'
  16006. mkdir_p='$(MKDIR_P)'
  16007. ola_major_version=''
  16008. ola_minor_version=''
  16009. ola_revision_version=''
  16010. oldincludedir='/usr/include'
  16011. ossp_uuid_CFLAGS=''
  16012. ossp_uuid_LIBS=''
  16013. pdfdir='${docdir}'
  16014. piddatadir='${datarootdir}/ola/pids'
  16015. pkgpyexecdir=''
  16016. pkgpythondir=''
  16017. prefix='/usr/local'
  16018. program_transform_name='s,x,x,'
  16019. psdir='${docdir}'
  16020. pyexecdir=''
  16021. pythondir=''
  16022. runstatedir='${localstatedir}/run'
  16023. sbindir='${exec_prefix}/sbin'
  16024. sharedstatedir='${prefix}/com'
  16025. sysconfdir='${prefix}/etc'
  16026. target_alias=''
  16027. uuid_CFLAGS='-I/usr/include/uuid'
  16028. uuid_LIBS='-luuid'
  16029. www_datadir='${datarootdir}/olad/www'
  16030.  
  16031. ## ----------- ##
  16032. ## confdefs.h. ##
  16033. ## ----------- ##
  16034.  
  16035. /* confdefs.h */
  16036. #define PACKAGE_NAME "OLA"
  16037. #define PACKAGE_TARNAME "ola"
  16038. #define PACKAGE_VERSION "0.10.6"
  16039. #define PACKAGE_STRING "OLA 0.10.6"
  16040. #define PACKAGE_BUGREPORT "open-lighting@googlegroups.com"
  16041. #define PACKAGE_URL ""
  16042. #define PACKAGE "ola"
  16043. #define VERSION "0.10.6"
  16044. #define HAVE_DIRENT_H 1
  16045. #define HAVE_SYS_TYPES_H 1
  16046. #define HAVE_NETINET_IN_H 1
  16047. #define HAVE_ARPA_NAMESER_H 1
  16048. #define HAVE_NETDB_H 1
  16049. #define HAVE_RESOLV_H 1
  16050. #define STDC_HEADERS 1
  16051. #define HAVE_SYS_TYPES_H 1
  16052. #define HAVE_SYS_STAT_H 1
  16053. #define HAVE_STDLIB_H 1
  16054. #define HAVE_STRING_H 1
  16055. #define HAVE_MEMORY_H 1
  16056. #define HAVE_STRINGS_H 1
  16057. #define HAVE_INTTYPES_H 1
  16058. #define HAVE_STDINT_H 1
  16059. #define HAVE_UNISTD_H 1
  16060. #define HAVE_ERRNO_H 1
  16061. #define HAVE_ARPA_INET_H 1
  16062. #define HAVE_BITS_SOCKADDR_H 1
  16063. #define HAVE_FCNTL_H 1
  16064. #define HAVE_FLOAT_H 1
  16065. #define HAVE_LIMITS_H 1
  16066. #define HAVE_MALLOC_H 1
  16067. #define HAVE_NETINET_IN_H 1
  16068. #define HAVE_STDINT_H 1
  16069. #define HAVE_STDLIB_H 1
  16070. #define HAVE_STRING_H 1
  16071. #define HAVE_STRINGS_H 1
  16072. #define HAVE_SYS_FILE_H 1
  16073. #define HAVE_SYS_IOCTL_H 1
  16074. #define HAVE_SYS_SOCKET_H 1
  16075. #define HAVE_SYS_TIME_H 1
  16076. #define HAVE_SYS_TIMEB_H 1
  16077. #define HAVE_SYSLOG_H 1
  16078. #define HAVE_TERMIOS_H 1
  16079. #define HAVE_UNISTD_H 1
  16080. #define HAVE_ASM_TERMIOS_H 1
  16081. #define HAVE_ASSERT_H 1
  16082. #define HAVE_DLFCN_H 1
  16083. #define HAVE_ENDIAN_H 1
  16084. #define HAVE_EXECINFO_H 1
  16085. #define HAVE_LINUX_IF_PACKET_H 1
  16086. #define HAVE_MATH_H 1
  16087. #define HAVE_NET_ETHERNET_H 1
  16088. #define HAVE_STROPTS_H 1
  16089. #define HAVE_SYS_PARAM_H 1
  16090. #define HAVE_SYS_TYPES_H 1
  16091. #define HAVE_SYS_UIO_H 1
  16092. #define HAVE_SYSEXITS_H 1
  16093. #define HAVE_SYS_SYSCTL_H 1
  16094. #define HAVE_NET_IF_H 1
  16095. #define HAVE_NET_IF_ARP_H 1
  16096. #define HAVE_NET_ROUTE_H 1
  16097. #define HAVE_NETINET_IF_ETHER_H 1
  16098. #define HAVE_LINUX_NETLINK_H 1
  16099. #define HAVE_LINUX_RTNETLINK_H 1
  16100. #define HAVE_STDBOOL_H 1
  16101. #define restrict __restrict
  16102. #define HAVE_HASH_MAP 1
  16103. #define HAVE_HASH_SET 1
  16104. #define HAVE_UNORDERED_MAP 1
  16105. #define HASH_MAP_H <tr1/unordered_map>
  16106. #define HASH_SET_H <tr1/unordered_set>
  16107. #define HASH_NAMESPACE std::tr1
  16108. #define HASH_MAP_CLASS unordered_map
  16109. #define HASH_SET_CLASS unordered_set
  16110. #define HAVE_FORK 1
  16111. #define HAVE_VFORK 1
  16112. #define HAVE_WORKING_VFORK 1
  16113. #define HAVE_WORKING_FORK 1
  16114. #define HAVE_STDLIB_H 1
  16115. #define HAVE_MALLOC 1
  16116. #define HAVE_STDLIB_H 1
  16117. #define HAVE_REALLOC 1
  16118. #define HAVE_SYS_SELECT_H 1
  16119. #define HAVE_SYS_SOCKET_H 1
  16120. #define SELECT_TYPE_ARG1 int
  16121. #define SELECT_TYPE_ARG234 (fd_set *)
  16122. #define SELECT_TYPE_ARG5 (struct timeval *)
  16123. #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  16124. #define HAVE_VPRINTF 1
  16125. #define HAVE_BZERO 1
  16126. #define HAVE_GETTIMEOFDAY 1
  16127. #define HAVE_MEMMOVE 1
  16128. #define HAVE_MEMSET 1
  16129. #define HAVE_MKDIR 1
  16130. #define HAVE_STRDUP 1
  16131. #define HAVE_STRRCHR 1
  16132. #define HAVE_IF_NAMETOINDEX 1
  16133. #define HAVE_INET_NTOA 1
  16134. #define HAVE_INET_NTOP 1
  16135. #define HAVE_INET_ATON 1
  16136. #define HAVE_INET_PTON 1
  16137. #define HAVE_SELECT 1
  16138. #define HAVE_SOCKET 1
  16139. #define HAVE_STRERROR 1
  16140. #define HAVE_GETIFADDRS 1
  16141. #define HAVE_GETLOADAVG 1
  16142. #define HAVE_GETPWNAM_R 1
  16143. #define HAVE_GETPWUID_R 1
  16144. #define HAVE_GETGRNAM_R 1
  16145. #define HAVE_GETGRGID_R 1
  16146. #define HAVE_SECURE_GETENV 1
  16147. #define HAVE_DLFCN_H 1
  16148. #define LT_OBJDIR ".libs/"
  16149. #define HAVE_EPOLL 1
  16150. #define HAVE_TIME_T 1
  16151. #define HAVE_SUSECONDS_T 1
  16152. #define HAVE_DECL_MSG_NOSIGNAL 1
  16153. #define HAVE_DECL_SO_NOSIGPIPE 0
  16154. #define HAVE_DECL_PF_ROUTE 1
  16155. #define HAVE_DECL_NET_RT_DUMP 0
  16156. #define HAVE_DECL_RLIMIT_RTPRIO 1
  16157. #define HAVE_DECL_RLIMIT_RTTIME 1
  16158. #define HAVE_DECL_SO_REUSEADDR 1
  16159. #define HAVE_DECL_SO_REUSEPORT 1
  16160. #define HAVE_TERMIOS2 1
  16161. #define HAVE_PTHREAD_SETNAME_NP_2 1
  16162. #define HAVE_RESOLV_H 1
  16163. #define HAVE_DECL_RES_NINIT 1
  16164. #define HAVE_UUID_UUID_H 1
  16165. #define HAVE_LIBUUID 1
  16166. #define HAVE_LIBUSB 1
  16167. #define HAVE_LIBUSB_ERROR_NAME 1
  16168. #define HAVE_LIBUSB_HOTPLUG_API 1
  16169. #define HAVE_ASM_TERMIOS_H 1
  16170. #define HAVE_UART 1
  16171. #define UUCP_LOCK_DIR "/var/lock"
  16172. #define USE_ARTNET 1
  16173. #define USE_DUMMY 1
  16174. #define USE_E131 1
  16175. #define USE_ESPNET 1
  16176. #define USE_GPIO 1
  16177. #define USE_KARATE 1
  16178. #define USE_KINET 1
  16179. #define USE_MILINST 1
  16180. #define USE_OPENDMX 1
  16181. #define USE_OPENPIXELCONTROL 1
  16182. #define USE_PATHPORT 1
  16183. #define USE_RENARD 1
  16184. #define USE_SANDNET 1
  16185. #define USE_SHOWNET 1
  16186. #define USE_SPI 1
  16187. #define USE_STAGEPROFI 1
  16188. #define USE_UART 1
  16189. #define USE_LIBUSB 1
  16190. #define USE_USBPRO 1
  16191.  
  16192. configure: exit 0
Add Comment
Please, Sign In to add comment