Guest User

Untitled

a guest
Jul 6th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 298.24 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by htop configure 0.9, which was
  5. generated by GNU Autoconf 2.62. Invocation command line was
  6.  
  7. $ ./configure --target=i486-openwrt-linux --host=i486-openwrt-linux --build=x86_64-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --disable-ipv6 build_alias=x86_64-linux-gnu host_alias=i486-openwrt-linux target_alias=i486-openwrt-linux CC=ccache i486-openwrt-linux-uclibc-gcc CFLAGS=-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts LDFLAGS=-L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib CPPFLAGS=-I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include --no-create --no-recursion
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = v6sa.ath.cx
  14. uname -m = x86_64
  15. uname -r = 2.6.32-25-generic
  16. uname -s = Linux
  17. uname -v = #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/host/bin
  31. PATH: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/bin
  32. PATH: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin
  33. PATH: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/bin
  34. PATH: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin
  35. PATH: /usr/local/sbin
  36. PATH: /usr/local/bin
  37. PATH: /usr/sbin
  38. PATH: /usr/bin
  39. PATH: /sbin
  40. PATH: /bin
  41. PATH: /usr/games
  42.  
  43.  
  44. ## ----------- ##
  45. ## Core tests. ##
  46. ## ----------- ##
  47.  
  48. configure:1982: loading site script /home/http/lauri.povi.ee/openwrt/ralink/include/site/i486-openwrt-linux-uclibc
  49. | #!/bin/sh
  50. |
  51. | . $TOPDIR/include/site/i486-linux
  52. | . $TOPDIR/include/site/linux-uclibc
  53. |
  54. configure:2142: checking for a BSD-compatible install
  55. configure:2210: result: /usr/bin/install -c
  56. configure:2221: checking whether build environment is sane
  57. configure:2264: result: yes
  58. configure:2289: checking for a thread-safe mkdir -p
  59. configure:2328: result: /bin/mkdir -p
  60. configure:2341: checking for gawk
  61. configure:2357: found /usr/bin/gawk
  62. configure:2368: result: gawk
  63. configure:2379: checking whether make sets $(MAKE)
  64. configure:2401: result: yes
  65. configure:2481: checking for i486-openwrt-linux-strip
  66. configure:2508: result: i486-openwrt-linux-uclibc-strip
  67. configure:2603: checking for i486-openwrt-linux-gcc
  68. configure:2630: result: ccache i486-openwrt-linux-uclibc-gcc
  69. configure:2908: checking for C compiler version
  70. configure:2916: ccache i486-openwrt-linux-uclibc-gcc --version >&5
  71. i486-openwrt-linux-uclibc-gcc (GCC) 4.1.2
  72. Copyright (C) 2006 Free Software Foundation, Inc.
  73. This is free software; see the source for copying conditions. There is NO
  74. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  75.  
  76. configure:2920: $? = 0
  77. configure:2927: ccache i486-openwrt-linux-uclibc-gcc -v >&5
  78. Using built-in specs.
  79. Target: i486-openwrt-linux-uclibc
  80. Configured with: /home/http/lauri.povi.ee/openwrt/ralink/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/gcc-4.1.2/configure --prefix=/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i486-openwrt-linux-uclibc --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-nls --disable-libssp --disable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib --disable-tls
  81. Thread model: posix
  82. gcc version 4.1.2
  83. configure:2931: $? = 0
  84. configure:2938: ccache i486-openwrt-linux-uclibc-gcc -V >&5
  85. i486-openwrt-linux-uclibc-gcc: '-V' option must have argument
  86. configure:2942: $? = 1
  87. configure:2965: checking for C compiler default output file name
  88. configure:2987: ccache i486-openwrt-linux-uclibc-gcc -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c >&5
  89. configure:2991: $? = 0
  90. configure:3029: result: a.out
  91. configure:3046: checking whether the C compiler works
  92. configure:3077: result: yes
  93. configure:3084: checking whether we are cross compiling
  94. configure:3086: result: yes
  95. configure:3089: checking for suffix of executables
  96. configure:3096: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c >&5
  97. configure:3100: $? = 0
  98. configure:3124: result:
  99. configure:3130: checking for suffix of object files
  100. configure:3156: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  101. configure:3160: $? = 0
  102. configure:3183: result: o
  103. configure:3187: checking whether we are using the GNU C compiler
  104. configure:3216: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  105. configure:3223: $? = 0
  106. configure:3240: result: yes
  107. configure:3249: checking whether ccache i486-openwrt-linux-uclibc-gcc accepts -g
  108. configure:3279: ccache i486-openwrt-linux-uclibc-gcc -c -g -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  109. <built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
  110. configure:3286: $? = 0
  111. configure: failed program was:
  112. | /* confdefs.h. */
  113. | #define PACKAGE_NAME "htop"
  114. | #define PACKAGE_TARNAME "htop"
  115. | #define PACKAGE_VERSION "0.9"
  116. | #define PACKAGE_STRING "htop 0.9"
  117. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  118. | #define PACKAGE "htop"
  119. | #define VERSION "0.9"
  120. | /* end confdefs.h. */
  121. |
  122. | int
  123. | main ()
  124. | {
  125. |
  126. | ;
  127. | return 0;
  128. | }
  129. configure:3318: ccache i486-openwrt-linux-uclibc-gcc -c -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  130. <built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
  131. configure:3325: $? = 0
  132. configure: failed program was:
  133. | /* confdefs.h. */
  134. | #define PACKAGE_NAME "htop"
  135. | #define PACKAGE_TARNAME "htop"
  136. | #define PACKAGE_VERSION "0.9"
  137. | #define PACKAGE_STRING "htop 0.9"
  138. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  139. | #define PACKAGE "htop"
  140. | #define VERSION "0.9"
  141. | /* end confdefs.h. */
  142. |
  143. | int
  144. | main ()
  145. | {
  146. |
  147. | ;
  148. | return 0;
  149. | }
  150. configure:3358: ccache i486-openwrt-linux-uclibc-gcc -c -g -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  151. <built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
  152. configure:3365: $? = 0
  153. configure:3387: result: yes
  154. configure:3404: checking for ccache i486-openwrt-linux-uclibc-gcc option to accept ISO C89
  155. configure:3478: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  156. configure:3485: $? = 0
  157. configure:3508: result: none needed
  158. configure:3537: checking for style of include used by make
  159. configure:3565: result: GNU
  160. configure:3590: checking dependency style of ccache i486-openwrt-linux-uclibc-gcc
  161. configure:3681: result: gcc3
  162. configure:3697: checking whether ccache i486-openwrt-linux-uclibc-gcc and cc understand -c and -o together
  163. configure:3732: ccache i486-openwrt-linux-uclibc-gcc -c conftest.c -o conftest2.o >&5
  164. <built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
  165. configure:3736: $? = 0
  166. configure:3742: ccache i486-openwrt-linux-uclibc-gcc -c conftest.c -o conftest2.o >&5
  167. <built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
  168. configure:3746: $? = 0
  169. configure:3757: cc -c conftest.c >&5
  170. configure:3761: $? = 0
  171. configure:3769: cc -c conftest.c -o conftest2.o >&5
  172. configure:3773: $? = 0
  173. configure:3779: cc -c conftest.c -o conftest2.o >&5
  174. configure:3783: $? = 0
  175. configure:3801: result: yes
  176. configure:3907: checking build system type
  177. configure:3925: result: x86_64-pc-linux-gnu
  178. configure:3947: checking host system type
  179. configure:3962: result: i486-openwrt-linux-gnu
  180. configure:3984: checking for a sed that does not truncate output
  181. configure:4040: result: /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin/sed
  182. configure:4043: checking for grep that handles long lines and -e
  183. configure:4103: result: /bin/grep
  184. configure:4108: checking for egrep
  185. configure:4172: result: /bin/grep -E
  186. configure:4188: checking for ld used by ccache i486-openwrt-linux-uclibc-gcc
  187. configure:4255: result: i486-openwrt-linux-uclibc-ld
  188. configure:4264: checking if the linker (i486-openwrt-linux-uclibc-ld) is GNU ld
  189. configure:4279: result: yes
  190. configure:4284: checking for i486-openwrt-linux-uclibc-ld option to reload object files
  191. configure:4291: result: -r
  192. configure:4309: checking for BSD-compatible nm
  193. configure:4358: result: i486-openwrt-linux-uclibc-nm
  194. configure:4362: checking whether ln -s works
  195. configure:4366: result: yes
  196. configure:4373: checking how to recognize dependent libraries
  197. configure:4559: result: pass_all
  198. configure:4808: checking how to run the C preprocessor
  199. configure:4848: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  200. configure:4855: $? = 0
  201. configure:4886: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  202. conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
  203. configure:4893: $? = 1
  204. configure: failed program was:
  205. | /* confdefs.h. */
  206. | #define PACKAGE_NAME "htop"
  207. | #define PACKAGE_TARNAME "htop"
  208. | #define PACKAGE_VERSION "0.9"
  209. | #define PACKAGE_STRING "htop 0.9"
  210. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  211. | #define PACKAGE "htop"
  212. | #define VERSION "0.9"
  213. | /* end confdefs.h. */
  214. | #include <ac_nonexistent.h>
  215. configure:4926: result: ccache i486-openwrt-linux-uclibc-gcc -E
  216. configure:4955: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  217. configure:4962: $? = 0
  218. configure:4993: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  219. conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
  220. configure:5000: $? = 1
  221. configure: failed program was:
  222. | /* confdefs.h. */
  223. | #define PACKAGE_NAME "htop"
  224. | #define PACKAGE_TARNAME "htop"
  225. | #define PACKAGE_VERSION "0.9"
  226. | #define PACKAGE_STRING "htop 0.9"
  227. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  228. | #define PACKAGE "htop"
  229. | #define VERSION "0.9"
  230. | /* end confdefs.h. */
  231. | #include <ac_nonexistent.h>
  232. configure:5038: checking for ANSI C header files
  233. configure:5068: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  234. configure:5075: $? = 0
  235. configure:5206: result: yes
  236. configure:5230: checking for sys/types.h
  237. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  238. configure:5258: $? = 0
  239. configure:5275: result: yes
  240. configure:5230: checking for sys/stat.h
  241. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  242. configure:5258: $? = 0
  243. configure:5275: result: yes
  244. configure:5230: checking for stdlib.h
  245. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  246. configure:5258: $? = 0
  247. configure:5275: result: yes
  248. configure:5230: checking for string.h
  249. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  250. configure:5258: $? = 0
  251. configure:5275: result: yes
  252. configure:5230: checking for memory.h
  253. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  254. configure:5258: $? = 0
  255. configure:5275: result: yes
  256. configure:5230: checking for strings.h
  257. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  258. configure:5258: $? = 0
  259. configure:5275: result: yes
  260. configure:5230: checking for inttypes.h
  261. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  262. configure:5258: $? = 0
  263. configure:5275: result: yes
  264. configure:5230: checking for stdint.h
  265. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  266. configure:5258: $? = 0
  267. configure:5275: result: yes
  268. configure:5230: checking for unistd.h
  269. configure:5251: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  270. configure:5258: $? = 0
  271. configure:5275: result: yes
  272. configure:5304: checking dlfcn.h usability
  273. configure:5321: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  274. configure:5328: $? = 0
  275. configure:5342: result: yes
  276. configure:5346: checking dlfcn.h presence
  277. configure:5361: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  278. configure:5368: $? = 0
  279. configure:5382: result: yes
  280. configure:5415: checking for dlfcn.h
  281. configure:5424: result: yes
  282. configure:5554: checking for C++ compiler version
  283. configure:5562: i486-openwrt-linux-uclibc-g++ --version >&5
  284. i486-openwrt-linux-uclibc-g++ (GCC) 4.1.2
  285. Copyright (C) 2006 Free Software Foundation, Inc.
  286. This is free software; see the source for copying conditions. There is NO
  287. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  288.  
  289. configure:5566: $? = 0
  290. configure:5573: i486-openwrt-linux-uclibc-g++ -v >&5
  291. Using built-in specs.
  292. Target: i486-openwrt-linux-uclibc
  293. Configured with: /home/http/lauri.povi.ee/openwrt/ralink/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/gcc-4.1.2/configure --prefix=/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i486-openwrt-linux-uclibc --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-nls --disable-libssp --disable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib --disable-tls
  294. Thread model: posix
  295. gcc version 4.1.2
  296. configure:5577: $? = 0
  297. configure:5584: i486-openwrt-linux-uclibc-g++ -V >&5
  298. i486-openwrt-linux-uclibc-g++: '-V' option must have argument
  299. configure:5588: $? = 1
  300. configure:5591: checking whether we are using the GNU C++ compiler
  301. configure:5620: i486-openwrt-linux-uclibc-g++ -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp >&5
  302. configure:5627: $? = 0
  303. configure:5644: result: yes
  304. configure:5653: checking whether i486-openwrt-linux-uclibc-g++ accepts -g
  305. configure:5683: i486-openwrt-linux-uclibc-g++ -c -g -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp >&5
  306. configure:5690: $? = 0
  307. configure:5791: result: yes
  308. configure:5816: checking dependency style of i486-openwrt-linux-uclibc-g++
  309. configure:5907: result: gcc3
  310. configure:5932: checking how to run the C++ preprocessor
  311. configure:5968: i486-openwrt-linux-uclibc-g++ -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp
  312. configure:5975: $? = 0
  313. configure:6006: i486-openwrt-linux-uclibc-g++ -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp
  314. conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
  315. configure:6013: $? = 1
  316. configure: failed program was:
  317. | /* confdefs.h. */
  318. | #define PACKAGE_NAME "htop"
  319. | #define PACKAGE_TARNAME "htop"
  320. | #define PACKAGE_VERSION "0.9"
  321. | #define PACKAGE_STRING "htop 0.9"
  322. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  323. | #define PACKAGE "htop"
  324. | #define VERSION "0.9"
  325. | #define STDC_HEADERS 1
  326. | #define HAVE_SYS_TYPES_H 1
  327. | #define HAVE_SYS_STAT_H 1
  328. | #define HAVE_STDLIB_H 1
  329. | #define HAVE_STRING_H 1
  330. | #define HAVE_MEMORY_H 1
  331. | #define HAVE_STRINGS_H 1
  332. | #define HAVE_INTTYPES_H 1
  333. | #define HAVE_STDINT_H 1
  334. | #define HAVE_UNISTD_H 1
  335. | #define HAVE_DLFCN_H 1
  336. | /* end confdefs.h. */
  337. | #include <ac_nonexistent.h>
  338. configure:6046: result: i486-openwrt-linux-uclibc-g++ -E
  339. configure:6075: i486-openwrt-linux-uclibc-g++ -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp
  340. configure:6082: $? = 0
  341. configure:6113: i486-openwrt-linux-uclibc-g++ -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp
  342. conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
  343. configure:6120: $? = 1
  344. configure: failed program was:
  345. | /* confdefs.h. */
  346. | #define PACKAGE_NAME "htop"
  347. | #define PACKAGE_TARNAME "htop"
  348. | #define PACKAGE_VERSION "0.9"
  349. | #define PACKAGE_STRING "htop 0.9"
  350. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  351. | #define PACKAGE "htop"
  352. | #define VERSION "0.9"
  353. | #define STDC_HEADERS 1
  354. | #define HAVE_SYS_TYPES_H 1
  355. | #define HAVE_SYS_STAT_H 1
  356. | #define HAVE_STDLIB_H 1
  357. | #define HAVE_STRING_H 1
  358. | #define HAVE_MEMORY_H 1
  359. | #define HAVE_STRINGS_H 1
  360. | #define HAVE_INTTYPES_H 1
  361. | #define HAVE_STDINT_H 1
  362. | #define HAVE_UNISTD_H 1
  363. | #define HAVE_DLFCN_H 1
  364. | /* end confdefs.h. */
  365. | #include <ac_nonexistent.h>
  366. configure:6169: checking for i486-openwrt-linux-g77
  367. configure:6199: result: no
  368. configure:6169: checking for i486-openwrt-linux-xlf
  369. configure:6199: result: no
  370. configure:6169: checking for i486-openwrt-linux-f77
  371. configure:6199: result: no
  372. configure:6169: checking for i486-openwrt-linux-frt
  373. configure:6199: result: no
  374. configure:6169: checking for i486-openwrt-linux-pgf77
  375. configure:6199: result: no
  376. configure:6169: checking for i486-openwrt-linux-cf77
  377. configure:6199: result: no
  378. configure:6169: checking for i486-openwrt-linux-fort77
  379. configure:6199: result: no
  380. configure:6169: checking for i486-openwrt-linux-fl32
  381. configure:6199: result: no
  382. configure:6169: checking for i486-openwrt-linux-af77
  383. configure:6199: result: no
  384. configure:6169: checking for i486-openwrt-linux-xlf90
  385. configure:6199: result: no
  386. configure:6169: checking for i486-openwrt-linux-f90
  387. configure:6199: result: no
  388. configure:6169: checking for i486-openwrt-linux-pgf90
  389. configure:6199: result: no
  390. configure:6169: checking for i486-openwrt-linux-pghpf
  391. configure:6199: result: no
  392. configure:6169: checking for i486-openwrt-linux-epcf90
  393. configure:6199: result: no
  394. configure:6169: checking for i486-openwrt-linux-gfortran
  395. configure:6199: result: no
  396. configure:6169: checking for i486-openwrt-linux-g95
  397. configure:6199: result: no
  398. configure:6169: checking for i486-openwrt-linux-xlf95
  399. configure:6199: result: no
  400. configure:6169: checking for i486-openwrt-linux-f95
  401. configure:6199: result: no
  402. configure:6169: checking for i486-openwrt-linux-fort
  403. configure:6199: result: no
  404. configure:6169: checking for i486-openwrt-linux-ifort
  405. configure:6199: result: no
  406. configure:6169: checking for i486-openwrt-linux-ifc
  407. configure:6199: result: no
  408. configure:6169: checking for i486-openwrt-linux-efc
  409. configure:6199: result: no
  410. configure:6169: checking for i486-openwrt-linux-pgf95
  411. configure:6199: result: no
  412. configure:6169: checking for i486-openwrt-linux-lf95
  413. configure:6199: result: no
  414. configure:6169: checking for i486-openwrt-linux-ftn
  415. configure:6199: result: no
  416. configure:6213: checking for g77
  417. configure:6243: result: no
  418. configure:6213: checking for xlf
  419. configure:6243: result: no
  420. configure:6213: checking for f77
  421. configure:6243: result: no
  422. configure:6213: checking for frt
  423. configure:6243: result: no
  424. configure:6213: checking for pgf77
  425. configure:6243: result: no
  426. configure:6213: checking for cf77
  427. configure:6243: result: no
  428. configure:6213: checking for fort77
  429. configure:6243: result: no
  430. configure:6213: checking for fl32
  431. configure:6243: result: no
  432. configure:6213: checking for af77
  433. configure:6243: result: no
  434. configure:6213: checking for xlf90
  435. configure:6243: result: no
  436. configure:6213: checking for f90
  437. configure:6243: result: no
  438. configure:6213: checking for pgf90
  439. configure:6243: result: no
  440. configure:6213: checking for pghpf
  441. configure:6243: result: no
  442. configure:6213: checking for epcf90
  443. configure:6243: result: no
  444. configure:6213: checking for gfortran
  445. configure:6243: result: no
  446. configure:6213: checking for g95
  447. configure:6243: result: no
  448. configure:6213: checking for xlf95
  449. configure:6243: result: no
  450. configure:6213: checking for f95
  451. configure:6243: result: no
  452. configure:6213: checking for fort
  453. configure:6243: result: no
  454. configure:6213: checking for ifort
  455. configure:6243: result: no
  456. configure:6213: checking for ifc
  457. configure:6243: result: no
  458. configure:6213: checking for efc
  459. configure:6243: result: no
  460. configure:6213: checking for pgf95
  461. configure:6243: result: no
  462. configure:6213: checking for lf95
  463. configure:6243: result: no
  464. configure:6213: checking for ftn
  465. configure:6243: result: no
  466. configure:6270: checking for Fortran 77 compiler version
  467. configure:6278: --version >&5
  468. ./configure: line 6280: --version: command not found
  469. configure:6282: $? = 127
  470. configure:6289: -v >&5
  471. ./configure: line 6291: -v: command not found
  472. configure:6293: $? = 127
  473. configure:6300: -V >&5
  474. ./configure: line 6302: -V: command not found
  475. configure:6304: $? = 127
  476. configure:6312: checking whether we are using the GNU Fortran 77 compiler
  477. configure:6331: -c conftest.F >&5
  478. ./configure: line 6333: -c: command not found
  479. configure:6338: $? = 127
  480. configure: failed program was:
  481. | program main
  482. | #ifndef __GNUC__
  483. | choke me
  484. | #endif
  485. |
  486. | end
  487. configure:6355: result: no
  488. configure:6361: checking whether accepts -g
  489. configure:6378: -c -g conftest.f >&5
  490. ./configure: line 6380: -c: command not found
  491. configure:6385: $? = 127
  492. configure: failed program was:
  493. | program main
  494. |
  495. | end
  496. configure:6401: result: no
  497. configure:6434: checking the maximum length of command line arguments
  498. configure:6546: result: 3458764513820540925
  499. configure:6558: checking command to parse i486-openwrt-linux-uclibc-nm output from ccache i486-openwrt-linux-uclibc-gcc object
  500. configure:6663: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  501. configure:6666: $? = 0
  502. configure:6670: i486-openwrt-linux-uclibc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
  503. configure:6673: $? = 0
  504. configure:6725: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c conftstm.o >&5
  505. configure:6728: $? = 0
  506. configure:6766: result: ok
  507. configure:6770: checking for objdir
  508. configure:6785: result: .libs
  509. configure:6837: checking for i486-openwrt-linux-ar
  510. configure:6864: result: i486-openwrt-linux-uclibc-ar
  511. configure:6933: checking for i486-openwrt-linux-ranlib
  512. configure:6960: result: i486-openwrt-linux-uclibc-ranlib
  513. configure:7029: checking for i486-openwrt-linux-strip
  514. configure:7056: result: i486-openwrt-linux-uclibc-strip
  515. configure:7698: checking if ccache i486-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions
  516. configure:7716: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -fno-rtti -fno-exceptions conftest.c >&5
  517. cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
  518. cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
  519. configure:7720: $? = 0
  520. configure:7733: result: no
  521. configure:7748: checking for ccache i486-openwrt-linux-uclibc-gcc option to produce PIC
  522. configure:7980: result: -fPIC
  523. configure:7988: checking if ccache i486-openwrt-linux-uclibc-gcc PIC flag -fPIC works
  524. configure:8006: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -fPIC -DPIC conftest.c >&5
  525. configure:8010: $? = 0
  526. configure:8023: result: yes
  527. configure:8051: checking if ccache i486-openwrt-linux-uclibc-gcc static flag -static works
  528. configure:8079: result: yes
  529. configure:8089: checking if ccache i486-openwrt-linux-uclibc-gcc supports -c -o file.o
  530. configure:8110: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -o out/conftest2.o conftest.c >&5
  531. configure:8114: $? = 0
  532. configure:8136: result: yes
  533. configure:8162: checking whether the ccache i486-openwrt-linux-uclibc-gcc linker (i486-openwrt-linux-uclibc-ld) supports shared libraries
  534. configure:9150: result: yes
  535. configure:9217: checking dynamic linker characteristics
  536. configure:9819: result: GNU/Linux ld.so
  537. configure:9843: checking how to hardcode library paths into programs
  538. configure:9868: result: immediate
  539. configure:9882: checking whether stripping libraries is possible
  540. configure:9887: result: yes
  541. configure:10717: checking if libtool supports shared libraries
  542. configure:10719: result: yes
  543. configure:10722: checking whether to build shared libraries
  544. configure:10743: result: no
  545. configure:10746: checking whether to build static libraries
  546. configure:10750: result: yes
  547. configure:10844: creating libtool
  548. configure:11437: checking for ld used by i486-openwrt-linux-uclibc-g++
  549. configure:11504: result: i486-openwrt-linux-uclibc-ld
  550. configure:11513: checking if the linker (i486-openwrt-linux-uclibc-ld) is GNU ld
  551. configure:11528: result: yes
  552. configure:11579: checking whether the i486-openwrt-linux-uclibc-g++ linker (i486-openwrt-linux-uclibc-ld) supports shared libraries
  553. configure:12533: result: yes
  554. configure:12550: i486-openwrt-linux-uclibc-g++ -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.cpp >&5
  555. configure:12553: $? = 0
  556. configure:12709: checking for i486-openwrt-linux-uclibc-g++ option to produce PIC
  557. configure:12993: result: -fPIC
  558. configure:13001: checking if i486-openwrt-linux-uclibc-g++ PIC flag -fPIC works
  559. configure:13019: i486-openwrt-linux-uclibc-g++ -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -fPIC -DPIC conftest.cpp >&5
  560. configure:13023: $? = 0
  561. configure:13036: result: yes
  562. configure:13064: checking if i486-openwrt-linux-uclibc-g++ static flag -static works
  563. configure:13092: result: yes
  564. configure:13102: checking if i486-openwrt-linux-uclibc-g++ supports -c -o file.o
  565. configure:13123: i486-openwrt-linux-uclibc-g++ -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -o out/conftest2.o conftest.cpp >&5
  566. configure:13127: $? = 0
  567. configure:13149: result: yes
  568. configure:13175: checking whether the i486-openwrt-linux-uclibc-g++ linker (i486-openwrt-linux-uclibc-ld) supports shared libraries
  569. configure:13201: result: yes
  570. configure:13268: checking dynamic linker characteristics
  571. configure:13818: result: GNU/Linux ld.so
  572. configure:13842: checking how to hardcode library paths into programs
  573. configure:13867: result: immediate
  574. configure:20107: checking for ceil in -lm
  575. configure:20142: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  576. conftest.c:28: warning: conflicting types for built-in function 'ceil'
  577. configure:20149: $? = 0
  578. configure:20170: result: yes
  579. configure:20193: checking for dirent.h that defines DIR
  580. configure:20222: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  581. configure:20229: $? = 0
  582. configure:20246: result: yes
  583. configure:20260: checking for library containing opendir
  584. configure:20301: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  585. configure:20308: $? = 0
  586. configure:20339: result: none required
  587. configure:20437: checking for ANSI C header files
  588. configure:20605: result: yes
  589. configure:20626: checking for stdlib.h
  590. configure:20633: result: yes
  591. configure:20626: checking for string.h
  592. configure:20633: result: yes
  593. configure:20626: checking for strings.h
  594. configure:20633: result: yes
  595. configure:20637: checking sys/param.h usability
  596. configure:20654: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  597. configure:20661: $? = 0
  598. configure:20675: result: yes
  599. configure:20679: checking sys/param.h presence
  600. configure:20694: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  601. configure:20701: $? = 0
  602. configure:20715: result: yes
  603. configure:20748: checking for sys/param.h
  604. configure:20757: result: yes
  605. configure:20637: checking sys/time.h usability
  606. configure:20654: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  607. configure:20661: $? = 0
  608. configure:20675: result: yes
  609. configure:20679: checking sys/time.h presence
  610. configure:20694: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  611. configure:20701: $? = 0
  612. configure:20715: result: yes
  613. configure:20748: checking for sys/time.h
  614. configure:20757: result: yes
  615. configure:20626: checking for unistd.h
  616. configure:20633: result: yes
  617. configure:20637: checking curses.h usability
  618. configure:20654: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  619. configure:20661: $? = 0
  620. configure:20675: result: yes
  621. configure:20679: checking curses.h presence
  622. configure:20694: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  623. configure:20701: $? = 0
  624. configure:20715: result: yes
  625. configure:20748: checking for curses.h
  626. configure:20757: result: yes
  627. configure:20791: checking execinfo.h usability
  628. configure:20808: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  629. conftest.c:64:22: error: execinfo.h: No such file or directory
  630. configure:20815: $? = 1
  631. configure: failed program was:
  632. | /* confdefs.h. */
  633. | #define PACKAGE_NAME "htop"
  634. | #define PACKAGE_TARNAME "htop"
  635. | #define PACKAGE_VERSION "0.9"
  636. | #define PACKAGE_STRING "htop 0.9"
  637. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  638. | #define PACKAGE "htop"
  639. | #define VERSION "0.9"
  640. | #define STDC_HEADERS 1
  641. | #define HAVE_SYS_TYPES_H 1
  642. | #define HAVE_SYS_STAT_H 1
  643. | #define HAVE_STDLIB_H 1
  644. | #define HAVE_STRING_H 1
  645. | #define HAVE_MEMORY_H 1
  646. | #define HAVE_STRINGS_H 1
  647. | #define HAVE_INTTYPES_H 1
  648. | #define HAVE_STDINT_H 1
  649. | #define HAVE_UNISTD_H 1
  650. | #define HAVE_DLFCN_H 1
  651. | #define HAVE_LIBM 1
  652. | #define HAVE_DIRENT_H 1
  653. | #define STDC_HEADERS 1
  654. | #define HAVE_STDLIB_H 1
  655. | #define HAVE_STRING_H 1
  656. | #define HAVE_STRINGS_H 1
  657. | #define HAVE_SYS_PARAM_H 1
  658. | #define HAVE_SYS_TIME_H 1
  659. | #define HAVE_UNISTD_H 1
  660. | #define HAVE_CURSES_H 1
  661. | /* end confdefs.h. */
  662. | #include <stdio.h>
  663. | #ifdef HAVE_SYS_TYPES_H
  664. | # include <sys/types.h>
  665. | #endif
  666. | #ifdef HAVE_SYS_STAT_H
  667. | # include <sys/stat.h>
  668. | #endif
  669. | #ifdef STDC_HEADERS
  670. | # include <stdlib.h>
  671. | # include <stddef.h>
  672. | #else
  673. | # ifdef HAVE_STDLIB_H
  674. | # include <stdlib.h>
  675. | # endif
  676. | #endif
  677. | #ifdef HAVE_STRING_H
  678. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  679. | # include <memory.h>
  680. | # endif
  681. | # include <string.h>
  682. | #endif
  683. | #ifdef HAVE_STRINGS_H
  684. | # include <strings.h>
  685. | #endif
  686. | #ifdef HAVE_INTTYPES_H
  687. | # include <inttypes.h>
  688. | #endif
  689. | #ifdef HAVE_STDINT_H
  690. | # include <stdint.h>
  691. | #endif
  692. | #ifdef HAVE_UNISTD_H
  693. | # include <unistd.h>
  694. | #endif
  695. | #include <execinfo.h>
  696. configure:20829: result: no
  697. configure:20833: checking execinfo.h presence
  698. configure:20848: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  699. conftest.c:31:22: error: execinfo.h: No such file or directory
  700. configure:20855: $? = 1
  701. configure: failed program was:
  702. | /* confdefs.h. */
  703. | #define PACKAGE_NAME "htop"
  704. | #define PACKAGE_TARNAME "htop"
  705. | #define PACKAGE_VERSION "0.9"
  706. | #define PACKAGE_STRING "htop 0.9"
  707. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  708. | #define PACKAGE "htop"
  709. | #define VERSION "0.9"
  710. | #define STDC_HEADERS 1
  711. | #define HAVE_SYS_TYPES_H 1
  712. | #define HAVE_SYS_STAT_H 1
  713. | #define HAVE_STDLIB_H 1
  714. | #define HAVE_STRING_H 1
  715. | #define HAVE_MEMORY_H 1
  716. | #define HAVE_STRINGS_H 1
  717. | #define HAVE_INTTYPES_H 1
  718. | #define HAVE_STDINT_H 1
  719. | #define HAVE_UNISTD_H 1
  720. | #define HAVE_DLFCN_H 1
  721. | #define HAVE_LIBM 1
  722. | #define HAVE_DIRENT_H 1
  723. | #define STDC_HEADERS 1
  724. | #define HAVE_STDLIB_H 1
  725. | #define HAVE_STRING_H 1
  726. | #define HAVE_STRINGS_H 1
  727. | #define HAVE_SYS_PARAM_H 1
  728. | #define HAVE_SYS_TIME_H 1
  729. | #define HAVE_UNISTD_H 1
  730. | #define HAVE_CURSES_H 1
  731. | /* end confdefs.h. */
  732. | #include <execinfo.h>
  733. configure:20869: result: no
  734. configure:20902: checking for execinfo.h
  735. configure:20911: result: no
  736. configure:20929: checking for stdbool.h that conforms to C99
  737. configure:21024: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  738. configure:21031: $? = 0
  739. configure:21046: result: yes
  740. configure:21048: checking for _Bool
  741. configure:21076: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  742. configure:21083: $? = 0
  743. configure:21110: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  744. conftest.c: In function 'main':
  745. conftest.c:67: error: expected expression before ')' token
  746. configure:21117: $? = 1
  747. configure: failed program was:
  748. | /* confdefs.h. */
  749. | #define PACKAGE_NAME "htop"
  750. | #define PACKAGE_TARNAME "htop"
  751. | #define PACKAGE_VERSION "0.9"
  752. | #define PACKAGE_STRING "htop 0.9"
  753. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  754. | #define PACKAGE "htop"
  755. | #define VERSION "0.9"
  756. | #define STDC_HEADERS 1
  757. | #define HAVE_SYS_TYPES_H 1
  758. | #define HAVE_SYS_STAT_H 1
  759. | #define HAVE_STDLIB_H 1
  760. | #define HAVE_STRING_H 1
  761. | #define HAVE_MEMORY_H 1
  762. | #define HAVE_STRINGS_H 1
  763. | #define HAVE_INTTYPES_H 1
  764. | #define HAVE_STDINT_H 1
  765. | #define HAVE_UNISTD_H 1
  766. | #define HAVE_DLFCN_H 1
  767. | #define HAVE_LIBM 1
  768. | #define HAVE_DIRENT_H 1
  769. | #define STDC_HEADERS 1
  770. | #define HAVE_STDLIB_H 1
  771. | #define HAVE_STRING_H 1
  772. | #define HAVE_STRINGS_H 1
  773. | #define HAVE_SYS_PARAM_H 1
  774. | #define HAVE_SYS_TIME_H 1
  775. | #define HAVE_UNISTD_H 1
  776. | #define HAVE_CURSES_H 1
  777. | /* end confdefs.h. */
  778. | #include <stdio.h>
  779. | #ifdef HAVE_SYS_TYPES_H
  780. | # include <sys/types.h>
  781. | #endif
  782. | #ifdef HAVE_SYS_STAT_H
  783. | # include <sys/stat.h>
  784. | #endif
  785. | #ifdef STDC_HEADERS
  786. | # include <stdlib.h>
  787. | # include <stddef.h>
  788. | #else
  789. | # ifdef HAVE_STDLIB_H
  790. | # include <stdlib.h>
  791. | # endif
  792. | #endif
  793. | #ifdef HAVE_STRING_H
  794. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  795. | # include <memory.h>
  796. | # endif
  797. | # include <string.h>
  798. | #endif
  799. | #ifdef HAVE_STRINGS_H
  800. | # include <strings.h>
  801. | #endif
  802. | #ifdef HAVE_INTTYPES_H
  803. | # include <inttypes.h>
  804. | #endif
  805. | #ifdef HAVE_STDINT_H
  806. | # include <stdint.h>
  807. | #endif
  808. | #ifdef HAVE_UNISTD_H
  809. | # include <unistd.h>
  810. | #endif
  811. | int
  812. | main ()
  813. | {
  814. | if (sizeof ((_Bool)))
  815. | return 0;
  816. | ;
  817. | return 0;
  818. | }
  819. configure:21140: result: yes
  820. configure:21159: checking for an ANSI C-conforming const
  821. configure:21234: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  822. configure:21241: $? = 0
  823. configure:21256: result: yes
  824. configure:21266: checking for pid_t
  825. configure:21294: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  826. configure:21301: $? = 0
  827. configure:21328: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  828. conftest.c: In function 'main':
  829. conftest.c:69: error: expected expression before ')' token
  830. configure:21335: $? = 1
  831. configure: failed program was:
  832. | /* confdefs.h. */
  833. | #define PACKAGE_NAME "htop"
  834. | #define PACKAGE_TARNAME "htop"
  835. | #define PACKAGE_VERSION "0.9"
  836. | #define PACKAGE_STRING "htop 0.9"
  837. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  838. | #define PACKAGE "htop"
  839. | #define VERSION "0.9"
  840. | #define STDC_HEADERS 1
  841. | #define HAVE_SYS_TYPES_H 1
  842. | #define HAVE_SYS_STAT_H 1
  843. | #define HAVE_STDLIB_H 1
  844. | #define HAVE_STRING_H 1
  845. | #define HAVE_MEMORY_H 1
  846. | #define HAVE_STRINGS_H 1
  847. | #define HAVE_INTTYPES_H 1
  848. | #define HAVE_STDINT_H 1
  849. | #define HAVE_UNISTD_H 1
  850. | #define HAVE_DLFCN_H 1
  851. | #define HAVE_LIBM 1
  852. | #define HAVE_DIRENT_H 1
  853. | #define STDC_HEADERS 1
  854. | #define HAVE_STDLIB_H 1
  855. | #define HAVE_STRING_H 1
  856. | #define HAVE_STRINGS_H 1
  857. | #define HAVE_SYS_PARAM_H 1
  858. | #define HAVE_SYS_TIME_H 1
  859. | #define HAVE_UNISTD_H 1
  860. | #define HAVE_CURSES_H 1
  861. | #define HAVE__BOOL 1
  862. | #define HAVE_STDBOOL_H 1
  863. | /* end confdefs.h. */
  864. | #include <stdio.h>
  865. | #ifdef HAVE_SYS_TYPES_H
  866. | # include <sys/types.h>
  867. | #endif
  868. | #ifdef HAVE_SYS_STAT_H
  869. | # include <sys/stat.h>
  870. | #endif
  871. | #ifdef STDC_HEADERS
  872. | # include <stdlib.h>
  873. | # include <stddef.h>
  874. | #else
  875. | # ifdef HAVE_STDLIB_H
  876. | # include <stdlib.h>
  877. | # endif
  878. | #endif
  879. | #ifdef HAVE_STRING_H
  880. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  881. | # include <memory.h>
  882. | # endif
  883. | # include <string.h>
  884. | #endif
  885. | #ifdef HAVE_STRINGS_H
  886. | # include <strings.h>
  887. | #endif
  888. | #ifdef HAVE_INTTYPES_H
  889. | # include <inttypes.h>
  890. | #endif
  891. | #ifdef HAVE_STDINT_H
  892. | # include <stdint.h>
  893. | #endif
  894. | #ifdef HAVE_UNISTD_H
  895. | # include <unistd.h>
  896. | #endif
  897. | int
  898. | main ()
  899. | {
  900. | if (sizeof ((pid_t)))
  901. | return 0;
  902. | ;
  903. | return 0;
  904. | }
  905. configure:21358: result: yes
  906. configure:21370: checking for uid_t in sys/types.h
  907. configure:21393: result: yes
  908. configure:21410: checking whether closedir returns void
  909. configure:21475: result: yes
  910. configure:21490: checking for stdlib.h
  911. configure:21497: result: yes
  912. configure:21635: checking for GNU libc compatible malloc
  913. configure:21700: result: yes
  914. configure:21733: checking for stdlib.h
  915. configure:21740: result: yes
  916. configure:21878: checking for GNU libc compatible realloc
  917. configure:21943: result: yes
  918. configure:21971: checking return type of signal handlers
  919. configure:21999: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  920. conftest.c: In function 'main':
  921. conftest.c:44: error: void value not ignored as it ought to be
  922. configure:22006: $? = 1
  923. configure: failed program was:
  924. | /* confdefs.h. */
  925. | #define PACKAGE_NAME "htop"
  926. | #define PACKAGE_TARNAME "htop"
  927. | #define PACKAGE_VERSION "0.9"
  928. | #define PACKAGE_STRING "htop 0.9"
  929. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  930. | #define PACKAGE "htop"
  931. | #define VERSION "0.9"
  932. | #define STDC_HEADERS 1
  933. | #define HAVE_SYS_TYPES_H 1
  934. | #define HAVE_SYS_STAT_H 1
  935. | #define HAVE_STDLIB_H 1
  936. | #define HAVE_STRING_H 1
  937. | #define HAVE_MEMORY_H 1
  938. | #define HAVE_STRINGS_H 1
  939. | #define HAVE_INTTYPES_H 1
  940. | #define HAVE_STDINT_H 1
  941. | #define HAVE_UNISTD_H 1
  942. | #define HAVE_DLFCN_H 1
  943. | #define HAVE_LIBM 1
  944. | #define HAVE_DIRENT_H 1
  945. | #define STDC_HEADERS 1
  946. | #define HAVE_STDLIB_H 1
  947. | #define HAVE_STRING_H 1
  948. | #define HAVE_STRINGS_H 1
  949. | #define HAVE_SYS_PARAM_H 1
  950. | #define HAVE_SYS_TIME_H 1
  951. | #define HAVE_UNISTD_H 1
  952. | #define HAVE_CURSES_H 1
  953. | #define HAVE__BOOL 1
  954. | #define HAVE_STDBOOL_H 1
  955. | #define CLOSEDIR_VOID 1
  956. | #define HAVE_STDLIB_H 1
  957. | #define HAVE_MALLOC 1
  958. | #define HAVE_STDLIB_H 1
  959. | #define HAVE_REALLOC 1
  960. | /* end confdefs.h. */
  961. | #include <sys/types.h>
  962. | #include <signal.h>
  963. |
  964. | int
  965. | main ()
  966. | {
  967. | return *(signal (0, 0)) (0) == 1;
  968. | ;
  969. | return 0;
  970. | }
  971. configure:22021: result: void
  972. configure:22029: checking whether lstat dereferences a symlink specified with a trailing slash
  973. configure:22103: result: yes
  974. configure:22122: checking whether stat accepts an empty string
  975. configure:22183: result: no
  976. configure:22206: checking for memmove
  977. configure:22262: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  978. conftest.c:63: warning: conflicting types for built-in function 'memmove'
  979. configure:22269: $? = 0
  980. configure:22291: result: yes
  981. configure:22206: checking for strncasecmp
  982. configure:22262: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  983. conftest.c:64: warning: conflicting types for built-in function 'strncasecmp'
  984. configure:22269: $? = 0
  985. configure:22291: result: yes
  986. configure:22206: checking for strstr
  987. configure:22262: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  988. conftest.c:65: warning: conflicting types for built-in function 'strstr'
  989. configure:22269: $? = 0
  990. configure:22291: result: yes
  991. configure:22206: checking for strdup
  992. configure:22262: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lm >&5
  993. conftest.c:66: warning: conflicting types for built-in function 'strdup'
  994. configure:22269: $? = 0
  995. configure:22291: result: yes
  996. configure:22305: checking whether gcc -std=c99 option works
  997. configure:22328: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -std=c99 -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  998. conftest.c: In function 'main':
  999. conftest.c:80: warning: implicit declaration of function 'strdup'
  1000. conftest.c:80: warning: assignment makes pointer from integer without a cast
  1001. configure:22335: $? = 0
  1002. configure:22340: result: yes
  1003. configure:22694: checking for refresh in -lncurses
  1004. configure:22729: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lncurses -lm >&5
  1005. configure:22736: $? = 0
  1006. configure:22757: result: yes
  1007. configure:22775: checking for curses.h
  1008. configure:22782: result: yes
  1009. configure:23027: checking for flex
  1010. configure:23043: found /usr/bin/flex
  1011. configure:23054: result: flex
  1012. configure:23091: flex conftest.l
  1013. configure:23095: $? = 0
  1014. configure:23097: checking lex output file root
  1015. configure:23113: result: lex.yy
  1016. configure:23118: checking lex library
  1017. configure:23137: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lncurses -lm >&5
  1018. /tmp/cc0hgEdW.o: In function `input':
  1019. conftest.c:(.text+0xd92): undefined reference to `yywrap'
  1020. /tmp/cc0hgEdW.o: In function `yylex':
  1021. conftest.c:(.text+0x1234): undefined reference to `yywrap'
  1022. /tmp/cc0hgEdW.o: In function `main':
  1023. conftest.c:(.text+0x13d7): undefined reference to `yywrap'
  1024. collect2: ld returned 1 exit status
  1025. configure:23144: $? = 1
  1026. configure: failed program was:
  1027. |
  1028. | #line 3 "lex.yy.c"
  1029. |
  1030. | #define YY_INT_ALIGNED short int
  1031. |
  1032. | /* A lexical scanner generated by flex */
  1033. |
  1034. | #define FLEX_SCANNER
  1035. | #define YY_FLEX_MAJOR_VERSION 2
  1036. | #define YY_FLEX_MINOR_VERSION 5
  1037. | #define YY_FLEX_SUBMINOR_VERSION 35
  1038. | #if YY_FLEX_SUBMINOR_VERSION > 0
  1039. | #define FLEX_BETA
  1040. | #endif
  1041. |
  1042. | /* First, we deal with platform-specific or compiler-specific issues. */
  1043. |
  1044. | /* begin standard C headers. */
  1045. | #include <stdio.h>
  1046. | #include <string.h>
  1047. | #include <errno.h>
  1048. | #include <stdlib.h>
  1049. |
  1050. | /* end standard C headers. */
  1051. |
  1052. | /* flex integer type definitions */
  1053. |
  1054. | #ifndef FLEXINT_H
  1055. | #define FLEXINT_H
  1056. |
  1057. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  1058. |
  1059. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1060. |
  1061. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  1062. | * if you want the limit (max/min) macros for int types.
  1063. | */
  1064. | #ifndef __STDC_LIMIT_MACROS
  1065. | #define __STDC_LIMIT_MACROS 1
  1066. | #endif
  1067. |
  1068. | #include <inttypes.h>
  1069. | typedef int8_t flex_int8_t;
  1070. | typedef uint8_t flex_uint8_t;
  1071. | typedef int16_t flex_int16_t;
  1072. | typedef uint16_t flex_uint16_t;
  1073. | typedef int32_t flex_int32_t;
  1074. | typedef uint32_t flex_uint32_t;
  1075. | #else
  1076. | typedef signed char flex_int8_t;
  1077. | typedef short int flex_int16_t;
  1078. | typedef int flex_int32_t;
  1079. | typedef unsigned char flex_uint8_t;
  1080. | typedef unsigned short int flex_uint16_t;
  1081. | typedef unsigned int flex_uint32_t;
  1082. |
  1083. | /* Limits of integral types. */
  1084. | #ifndef INT8_MIN
  1085. | #define INT8_MIN (-128)
  1086. | #endif
  1087. | #ifndef INT16_MIN
  1088. | #define INT16_MIN (-32767-1)
  1089. | #endif
  1090. | #ifndef INT32_MIN
  1091. | #define INT32_MIN (-2147483647-1)
  1092. | #endif
  1093. | #ifndef INT8_MAX
  1094. | #define INT8_MAX (127)
  1095. | #endif
  1096. | #ifndef INT16_MAX
  1097. | #define INT16_MAX (32767)
  1098. | #endif
  1099. | #ifndef INT32_MAX
  1100. | #define INT32_MAX (2147483647)
  1101. | #endif
  1102. | #ifndef UINT8_MAX
  1103. | #define UINT8_MAX (255U)
  1104. | #endif
  1105. | #ifndef UINT16_MAX
  1106. | #define UINT16_MAX (65535U)
  1107. | #endif
  1108. | #ifndef UINT32_MAX
  1109. | #define UINT32_MAX (4294967295U)
  1110. | #endif
  1111. |
  1112. | #endif /* ! C99 */
  1113. |
  1114. | #endif /* ! FLEXINT_H */
  1115. |
  1116. | #ifdef __cplusplus
  1117. |
  1118. | /* The "const" storage-class-modifier is valid. */
  1119. | #define YY_USE_CONST
  1120. |
  1121. | #else /* ! __cplusplus */
  1122. |
  1123. | /* C99 requires __STDC__ to be defined as 1. */
  1124. | #if defined (__STDC__)
  1125. |
  1126. | #define YY_USE_CONST
  1127. |
  1128. | #endif /* defined (__STDC__) */
  1129. | #endif /* ! __cplusplus */
  1130. |
  1131. | #ifdef YY_USE_CONST
  1132. | #define yyconst const
  1133. | #else
  1134. | #define yyconst
  1135. | #endif
  1136. |
  1137. | /* Returned upon end-of-file. */
  1138. | #define YY_NULL 0
  1139. |
  1140. | /* Promotes a possibly negative, possibly signed char to an unsigned
  1141. | * integer for use as an array index. If the signed char is negative,
  1142. | * we want to instead treat it as an 8-bit unsigned char, hence the
  1143. | * double cast.
  1144. | */
  1145. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  1146. |
  1147. | /* Enter a start condition. This macro really ought to take a parameter,
  1148. | * but we do it the disgusting crufty way forced on us by the ()-less
  1149. | * definition of BEGIN.
  1150. | */
  1151. | #define BEGIN (yy_start) = 1 + 2 *
  1152. |
  1153. | /* Translate the current start state into a value that can be later handed
  1154. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  1155. | * compatibility.
  1156. | */
  1157. | #define YY_START (((yy_start) - 1) / 2)
  1158. | #define YYSTATE YY_START
  1159. |
  1160. | /* Action number for EOF rule of a given start state. */
  1161. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  1162. |
  1163. | /* Special action meaning "start processing a new file". */
  1164. | #define YY_NEW_FILE yyrestart(yyin )
  1165. |
  1166. | #define YY_END_OF_BUFFER_CHAR 0
  1167. |
  1168. | /* Size of default input buffer. */
  1169. | #ifndef YY_BUF_SIZE
  1170. | #ifdef __ia64__
  1171. | /* On IA-64, the buffer size is 16k, not 8k.
  1172. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  1173. | * Ditto for the __ia64__ case accordingly.
  1174. | */
  1175. | #define YY_BUF_SIZE 32768
  1176. | #else
  1177. | #define YY_BUF_SIZE 16384
  1178. | #endif /* __ia64__ */
  1179. | #endif
  1180. |
  1181. | /* The state buf must be large enough to hold one state per character in the main buffer.
  1182. | */
  1183. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  1184. |
  1185. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  1186. | #define YY_TYPEDEF_YY_BUFFER_STATE
  1187. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  1188. | #endif
  1189. |
  1190. | extern int yyleng;
  1191. |
  1192. | extern FILE *yyin, *yyout;
  1193. |
  1194. | #define EOB_ACT_CONTINUE_SCAN 0
  1195. | #define EOB_ACT_END_OF_FILE 1
  1196. | #define EOB_ACT_LAST_MATCH 2
  1197. |
  1198. | #define YY_LESS_LINENO(n)
  1199. |
  1200. | /* Return all but the first "n" matched characters back to the input stream. */
  1201. | #define yyless(n) \
  1202. | do \
  1203. | { \
  1204. | /* Undo effects of setting up yytext. */ \
  1205. | int yyless_macro_arg = (n); \
  1206. | YY_LESS_LINENO(yyless_macro_arg);\
  1207. | *yy_cp = (yy_hold_char); \
  1208. | YY_RESTORE_YY_MORE_OFFSET \
  1209. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  1210. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  1211. | } \
  1212. | while ( 0 )
  1213. |
  1214. | #define unput(c) yyunput( c, (yytext_ptr) )
  1215. |
  1216. | #ifndef YY_TYPEDEF_YY_SIZE_T
  1217. | #define YY_TYPEDEF_YY_SIZE_T
  1218. | typedef size_t yy_size_t;
  1219. | #endif
  1220. |
  1221. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  1222. | #define YY_STRUCT_YY_BUFFER_STATE
  1223. | struct yy_buffer_state
  1224. | {
  1225. | FILE *yy_input_file;
  1226. |
  1227. | char *yy_ch_buf; /* input buffer */
  1228. | char *yy_buf_pos; /* current position in input buffer */
  1229. |
  1230. | /* Size of input buffer in bytes, not including room for EOB
  1231. | * characters.
  1232. | */
  1233. | yy_size_t yy_buf_size;
  1234. |
  1235. | /* Number of characters read into yy_ch_buf, not including EOB
  1236. | * characters.
  1237. | */
  1238. | int yy_n_chars;
  1239. |
  1240. | /* Whether we "own" the buffer - i.e., we know we created it,
  1241. | * and can realloc() it to grow it, and should free() it to
  1242. | * delete it.
  1243. | */
  1244. | int yy_is_our_buffer;
  1245. |
  1246. | /* Whether this is an "interactive" input source; if so, and
  1247. | * if we're using stdio for input, then we want to use getc()
  1248. | * instead of fread(), to make sure we stop fetching input after
  1249. | * each newline.
  1250. | */
  1251. | int yy_is_interactive;
  1252. |
  1253. | /* Whether we're considered to be at the beginning of a line.
  1254. | * If so, '^' rules will be active on the next match, otherwise
  1255. | * not.
  1256. | */
  1257. | int yy_at_bol;
  1258. |
  1259. | int yy_bs_lineno; /**< The line count. */
  1260. | int yy_bs_column; /**< The column count. */
  1261. |
  1262. | /* Whether to try to fill the input buffer when we reach the
  1263. | * end of it.
  1264. | */
  1265. | int yy_fill_buffer;
  1266. |
  1267. | int yy_buffer_status;
  1268. |
  1269. | #define YY_BUFFER_NEW 0
  1270. | #define YY_BUFFER_NORMAL 1
  1271. | /* When an EOF's been seen but there's still some text to process
  1272. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  1273. | * shouldn't try reading from the input source any more. We might
  1274. | * still have a bunch of tokens to match, though, because of
  1275. | * possible backing-up.
  1276. | *
  1277. | * When we actually see the EOF, we change the status to "new"
  1278. | * (via yyrestart()), so that the user can continue scanning by
  1279. | * just pointing yyin at a new input file.
  1280. | */
  1281. | #define YY_BUFFER_EOF_PENDING 2
  1282. |
  1283. | };
  1284. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  1285. |
  1286. | /* Stack of input buffers. */
  1287. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  1288. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  1289. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  1290. |
  1291. | /* We provide macros for accessing buffer states in case in the
  1292. | * future we want to put the buffer states in a more general
  1293. | * "scanner state".
  1294. | *
  1295. | * Returns the top of the stack, or NULL.
  1296. | */
  1297. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  1298. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  1299. | : NULL)
  1300. |
  1301. | /* Same as previous macro, but useful when we know that the buffer stack is not
  1302. | * NULL or when we need an lvalue. For internal use only.
  1303. | */
  1304. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  1305. |
  1306. | /* yy_hold_char holds the character lost when yytext is formed. */
  1307. | static char yy_hold_char;
  1308. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  1309. | int yyleng;
  1310. |
  1311. | /* Points to current character in buffer. */
  1312. | static char *yy_c_buf_p = (char *) 0;
  1313. | static int yy_init = 0; /* whether we need to initialize */
  1314. | static int yy_start = 0; /* start state number */
  1315. |
  1316. | /* Flag which is used to allow yywrap()'s to do buffer switches
  1317. | * instead of setting up a fresh yyin. A bit of a hack ...
  1318. | */
  1319. | static int yy_did_buffer_switch_on_eof;
  1320. |
  1321. | void yyrestart (FILE *input_file );
  1322. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  1323. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  1324. | void yy_delete_buffer (YY_BUFFER_STATE b );
  1325. | void yy_flush_buffer (YY_BUFFER_STATE b );
  1326. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  1327. | void yypop_buffer_state (void );
  1328. |
  1329. | static void yyensure_buffer_stack (void );
  1330. | static void yy_load_buffer_state (void );
  1331. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  1332. |
  1333. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  1334. |
  1335. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  1336. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  1337. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
  1338. |
  1339. | void *yyalloc (yy_size_t );
  1340. | void *yyrealloc (void *,yy_size_t );
  1341. | void yyfree (void * );
  1342. |
  1343. | #define yy_new_buffer yy_create_buffer
  1344. |
  1345. | #define yy_set_interactive(is_interactive) \
  1346. | { \
  1347. | if ( ! YY_CURRENT_BUFFER ){ \
  1348. | yyensure_buffer_stack (); \
  1349. | YY_CURRENT_BUFFER_LVALUE = \
  1350. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  1351. | } \
  1352. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  1353. | }
  1354. |
  1355. | #define yy_set_bol(at_bol) \
  1356. | { \
  1357. | if ( ! YY_CURRENT_BUFFER ){\
  1358. | yyensure_buffer_stack (); \
  1359. | YY_CURRENT_BUFFER_LVALUE = \
  1360. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  1361. | } \
  1362. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  1363. | }
  1364. |
  1365. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  1366. |
  1367. | /* Begin user sect3 */
  1368. |
  1369. | typedef unsigned char YY_CHAR;
  1370. |
  1371. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  1372. |
  1373. | typedef int yy_state_type;
  1374. |
  1375. | extern int yylineno;
  1376. |
  1377. | int yylineno = 1;
  1378. |
  1379. | extern char *yytext;
  1380. | #define yytext_ptr yytext
  1381. |
  1382. | static yy_state_type yy_get_previous_state (void );
  1383. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  1384. | static int yy_get_next_buffer (void );
  1385. | static void yy_fatal_error (yyconst char msg[] );
  1386. |
  1387. | /* Done after the current pattern has been matched and before the
  1388. | * corresponding action - sets up yytext.
  1389. | */
  1390. | #define YY_DO_BEFORE_ACTION \
  1391. | (yytext_ptr) = yy_bp; \
  1392. | (yytext_ptr) -= (yy_more_len); \
  1393. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  1394. | (yy_hold_char) = *yy_cp; \
  1395. | *yy_cp = '\0'; \
  1396. | (yy_c_buf_p) = yy_cp;
  1397. |
  1398. | #define YY_NUM_RULES 8
  1399. | #define YY_END_OF_BUFFER 9
  1400. | /* This struct is not used in this scanner,
  1401. | but its presence is necessary. */
  1402. | struct yy_trans_info
  1403. | {
  1404. | flex_int32_t yy_verify;
  1405. | flex_int32_t yy_nxt;
  1406. | };
  1407. | static yyconst flex_int16_t yy_acclist[23] =
  1408. | { 0,
  1409. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  1410. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  1411. | 7, 8
  1412. | } ;
  1413. |
  1414. | static yyconst flex_int16_t yy_accept[14] =
  1415. | { 0,
  1416. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  1417. | 20, 23, 23
  1418. | } ;
  1419. |
  1420. | static yyconst flex_int32_t yy_ec[256] =
  1421. | { 0,
  1422. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  1423. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1424. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1425. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1426. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1427. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1428. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1429. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1430. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1431. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  1432. |
  1433. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  1434. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1435. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1436. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1437. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1438. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1439. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1440. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1441. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1442. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1443. |
  1444. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1445. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1446. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1447. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1448. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1449. | 1, 1, 1, 1, 1
  1450. | } ;
  1451. |
  1452. | static yyconst flex_int32_t yy_meta[9] =
  1453. | { 0,
  1454. | 1, 1, 1, 1, 1, 1, 1, 1
  1455. | } ;
  1456. |
  1457. | static yyconst flex_int16_t yy_base[13] =
  1458. | { 0,
  1459. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  1460. | 10, 10
  1461. | } ;
  1462. |
  1463. | static yyconst flex_int16_t yy_def[13] =
  1464. | { 0,
  1465. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  1466. | 12, 0
  1467. | } ;
  1468. |
  1469. | static yyconst flex_int16_t yy_nxt[19] =
  1470. | { 0,
  1471. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  1472. | 12, 12, 12, 12, 12, 12, 12, 12
  1473. | } ;
  1474. |
  1475. | static yyconst flex_int16_t yy_chk[19] =
  1476. | { 0,
  1477. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  1478. | 12, 12, 12, 12, 12, 12, 12, 12
  1479. | } ;
  1480. |
  1481. | extern int yy_flex_debug;
  1482. | int yy_flex_debug = 0;
  1483. |
  1484. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  1485. | static char *yy_full_match;
  1486. | static int yy_lp;
  1487. | #define REJECT \
  1488. | { \
  1489. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  1490. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  1491. | ++(yy_lp); \
  1492. | goto find_rule; \
  1493. | }
  1494. |
  1495. | static int yy_more_flag = 0;
  1496. | static int yy_more_len = 0;
  1497. | #define yymore() ((yy_more_flag) = 1)
  1498. | #define YY_MORE_ADJ (yy_more_len)
  1499. | #define YY_RESTORE_YY_MORE_OFFSET
  1500. | char *yytext;
  1501. | #line 1 "conftest.l"
  1502. | #line 477 "lex.yy.c"
  1503. |
  1504. | #define INITIAL 0
  1505. |
  1506. | #ifndef YY_NO_UNISTD_H
  1507. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  1508. | * down here because we want the user's section 1 to have been scanned first.
  1509. | * The user has a chance to override it with an option.
  1510. | */
  1511. | #include <unistd.h>
  1512. | #endif
  1513. |
  1514. | #ifndef YY_EXTRA_TYPE
  1515. | #define YY_EXTRA_TYPE void *
  1516. | #endif
  1517. |
  1518. | static int yy_init_globals (void );
  1519. |
  1520. | /* Accessor methods to globals.
  1521. | These are made visible to non-reentrant scanners for convenience. */
  1522. |
  1523. | int yylex_destroy (void );
  1524. |
  1525. | int yyget_debug (void );
  1526. |
  1527. | void yyset_debug (int debug_flag );
  1528. |
  1529. | YY_EXTRA_TYPE yyget_extra (void );
  1530. |
  1531. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  1532. |
  1533. | FILE *yyget_in (void );
  1534. |
  1535. | void yyset_in (FILE * in_str );
  1536. |
  1537. | FILE *yyget_out (void );
  1538. |
  1539. | void yyset_out (FILE * out_str );
  1540. |
  1541. | int yyget_leng (void );
  1542. |
  1543. | char *yyget_text (void );
  1544. |
  1545. | int yyget_lineno (void );
  1546. |
  1547. | void yyset_lineno (int line_number );
  1548. |
  1549. | /* Macros after this point can all be overridden by user definitions in
  1550. | * section 1.
  1551. | */
  1552. |
  1553. | #ifndef YY_SKIP_YYWRAP
  1554. | #ifdef __cplusplus
  1555. | extern "C" int yywrap (void );
  1556. | #else
  1557. | extern int yywrap (void );
  1558. | #endif
  1559. | #endif
  1560. |
  1561. | static void yyunput (int c,char *buf_ptr );
  1562. |
  1563. | #ifndef yytext_ptr
  1564. | static void yy_flex_strncpy (char *,yyconst char *,int );
  1565. | #endif
  1566. |
  1567. | #ifdef YY_NEED_STRLEN
  1568. | static int yy_flex_strlen (yyconst char * );
  1569. | #endif
  1570. |
  1571. | #ifndef YY_NO_INPUT
  1572. |
  1573. | #ifdef __cplusplus
  1574. | static int yyinput (void );
  1575. | #else
  1576. | static int input (void );
  1577. | #endif
  1578. |
  1579. | #endif
  1580. |
  1581. | /* Amount of stuff to slurp up with each read. */
  1582. | #ifndef YY_READ_BUF_SIZE
  1583. | #ifdef __ia64__
  1584. | /* On IA-64, the buffer size is 16k, not 8k */
  1585. | #define YY_READ_BUF_SIZE 16384
  1586. | #else
  1587. | #define YY_READ_BUF_SIZE 8192
  1588. | #endif /* __ia64__ */
  1589. | #endif
  1590. |
  1591. | /* Copy whatever the last rule matched to the standard output. */
  1592. | #ifndef ECHO
  1593. | /* This used to be an fputs(), but since the string might contain NUL's,
  1594. | * we now use fwrite().
  1595. | */
  1596. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  1597. | #endif
  1598. |
  1599. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  1600. | * is returned in "result".
  1601. | */
  1602. | #ifndef YY_INPUT
  1603. | #define YY_INPUT(buf,result,max_size) \
  1604. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  1605. | { \
  1606. | int c = '*'; \
  1607. | size_t n; \
  1608. | for ( n = 0; n < max_size && \
  1609. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  1610. | buf[n] = (char) c; \
  1611. | if ( c == '\n' ) \
  1612. | buf[n++] = (char) c; \
  1613. | if ( c == EOF && ferror( yyin ) ) \
  1614. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1615. | result = n; \
  1616. | } \
  1617. | else \
  1618. | { \
  1619. | errno=0; \
  1620. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  1621. | { \
  1622. | if( errno != EINTR) \
  1623. | { \
  1624. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1625. | break; \
  1626. | } \
  1627. | errno=0; \
  1628. | clearerr(yyin); \
  1629. | } \
  1630. | }\
  1631. | \
  1632. |
  1633. | #endif
  1634. |
  1635. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  1636. | * we don't want an extra ';' after the "return" because that will cause
  1637. | * some compilers to complain about unreachable statements.
  1638. | */
  1639. | #ifndef yyterminate
  1640. | #define yyterminate() return YY_NULL
  1641. | #endif
  1642. |
  1643. | /* Number of entries by which start-condition stack grows. */
  1644. | #ifndef YY_START_STACK_INCR
  1645. | #define YY_START_STACK_INCR 25
  1646. | #endif
  1647. |
  1648. | /* Report a fatal error. */
  1649. | #ifndef YY_FATAL_ERROR
  1650. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  1651. | #endif
  1652. |
  1653. | /* end tables serialization structures and prototypes */
  1654. |
  1655. | /* Default declaration of generated scanner - a define so the user can
  1656. | * easily add parameters.
  1657. | */
  1658. | #ifndef YY_DECL
  1659. | #define YY_DECL_IS_OURS 1
  1660. |
  1661. | extern int yylex (void);
  1662. |
  1663. | #define YY_DECL int yylex (void)
  1664. | #endif /* !YY_DECL */
  1665. |
  1666. | /* Code executed at the beginning of each rule, after yytext and yyleng
  1667. | * have been set up.
  1668. | */
  1669. | #ifndef YY_USER_ACTION
  1670. | #define YY_USER_ACTION
  1671. | #endif
  1672. |
  1673. | /* Code executed at the end of each rule. */
  1674. | #ifndef YY_BREAK
  1675. | #define YY_BREAK break;
  1676. | #endif
  1677. |
  1678. | #define YY_RULE_SETUP \
  1679. | YY_USER_ACTION
  1680. |
  1681. | /** The main scanner function which does all the work.
  1682. | */
  1683. | YY_DECL
  1684. | {
  1685. | register yy_state_type yy_current_state;
  1686. | register char *yy_cp, *yy_bp;
  1687. | register int yy_act;
  1688. |
  1689. | #line 1 "conftest.l"
  1690. |
  1691. | #line 666 "lex.yy.c"
  1692. |
  1693. | if ( !(yy_init) )
  1694. | {
  1695. | (yy_init) = 1;
  1696. |
  1697. | #ifdef YY_USER_INIT
  1698. | YY_USER_INIT;
  1699. | #endif
  1700. |
  1701. | /* Create the reject buffer large enough to save one state per allowed character. */
  1702. | if ( ! (yy_state_buf) )
  1703. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  1704. | if ( ! (yy_state_buf) )
  1705. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  1706. |
  1707. | if ( ! (yy_start) )
  1708. | (yy_start) = 1; /* first start state */
  1709. |
  1710. | if ( ! yyin )
  1711. | yyin = stdin;
  1712. |
  1713. | if ( ! yyout )
  1714. | yyout = stdout;
  1715. |
  1716. | if ( ! YY_CURRENT_BUFFER ) {
  1717. | yyensure_buffer_stack ();
  1718. | YY_CURRENT_BUFFER_LVALUE =
  1719. | yy_create_buffer(yyin,YY_BUF_SIZE );
  1720. | }
  1721. |
  1722. | yy_load_buffer_state( );
  1723. | }
  1724. |
  1725. | while ( 1 ) /* loops until end-of-file is reached */
  1726. | {
  1727. | (yy_more_len) = 0;
  1728. | if ( (yy_more_flag) )
  1729. | {
  1730. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  1731. | (yy_more_flag) = 0;
  1732. | }
  1733. | yy_cp = (yy_c_buf_p);
  1734. |
  1735. | /* Support of yytext. */
  1736. | *yy_cp = (yy_hold_char);
  1737. |
  1738. | /* yy_bp points to the position in yy_ch_buf of the start of
  1739. | * the current run.
  1740. | */
  1741. | yy_bp = yy_cp;
  1742. |
  1743. | yy_current_state = (yy_start);
  1744. |
  1745. | (yy_state_ptr) = (yy_state_buf);
  1746. | *(yy_state_ptr)++ = yy_current_state;
  1747. |
  1748. | yy_match:
  1749. | do
  1750. | {
  1751. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  1752. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1753. | {
  1754. | yy_current_state = (int) yy_def[yy_current_state];
  1755. | if ( yy_current_state >= 13 )
  1756. | yy_c = yy_meta[(unsigned int) yy_c];
  1757. | }
  1758. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1759. | *(yy_state_ptr)++ = yy_current_state;
  1760. | ++yy_cp;
  1761. | }
  1762. | while ( yy_base[yy_current_state] != 10 );
  1763. |
  1764. | yy_find_action:
  1765. | yy_current_state = *--(yy_state_ptr);
  1766. | (yy_lp) = yy_accept[yy_current_state];
  1767. | find_rule: /* we branch to this label when backing up */
  1768. | for ( ; ; ) /* until we find what rule we matched */
  1769. | {
  1770. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  1771. | {
  1772. | yy_act = yy_acclist[(yy_lp)];
  1773. | {
  1774. | (yy_full_match) = yy_cp;
  1775. | break;
  1776. | }
  1777. | }
  1778. | --yy_cp;
  1779. | yy_current_state = *--(yy_state_ptr);
  1780. | (yy_lp) = yy_accept[yy_current_state];
  1781. | }
  1782. |
  1783. | YY_DO_BEFORE_ACTION;
  1784. |
  1785. | do_action: /* This label is used only to access EOF actions. */
  1786. |
  1787. | switch ( yy_act )
  1788. | { /* beginning of action switch */
  1789. | case 1:
  1790. | YY_RULE_SETUP
  1791. | #line 2 "conftest.l"
  1792. | { ECHO; }
  1793. | YY_BREAK
  1794. | case 2:
  1795. | YY_RULE_SETUP
  1796. | #line 3 "conftest.l"
  1797. | { REJECT; }
  1798. | YY_BREAK
  1799. | case 3:
  1800. | YY_RULE_SETUP
  1801. | #line 4 "conftest.l"
  1802. | { yymore (); }
  1803. | YY_BREAK
  1804. | case 4:
  1805. | YY_RULE_SETUP
  1806. | #line 5 "conftest.l"
  1807. | { yyless (1); }
  1808. | YY_BREAK
  1809. | case 5:
  1810. | YY_RULE_SETUP
  1811. | #line 6 "conftest.l"
  1812. | { yyless (input () != 0); }
  1813. | YY_BREAK
  1814. | case 6:
  1815. | YY_RULE_SETUP
  1816. | #line 7 "conftest.l"
  1817. | { unput (yytext[0]); }
  1818. | YY_BREAK
  1819. | case 7:
  1820. | YY_RULE_SETUP
  1821. | #line 8 "conftest.l"
  1822. | { BEGIN INITIAL; }
  1823. | YY_BREAK
  1824. | case 8:
  1825. | YY_RULE_SETUP
  1826. | #line 9 "conftest.l"
  1827. | ECHO;
  1828. | YY_BREAK
  1829. | #line 804 "lex.yy.c"
  1830. | case YY_STATE_EOF(INITIAL):
  1831. | yyterminate();
  1832. |
  1833. | case YY_END_OF_BUFFER:
  1834. | {
  1835. | /* Amount of text matched not including the EOB char. */
  1836. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1837. |
  1838. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1839. | *yy_cp = (yy_hold_char);
  1840. | YY_RESTORE_YY_MORE_OFFSET
  1841. |
  1842. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1843. | {
  1844. | /* We're scanning a new file or input source. It's
  1845. | * possible that this happened because the user
  1846. | * just pointed yyin at a new source and called
  1847. | * yylex(). If so, then we have to assure
  1848. | * consistency between YY_CURRENT_BUFFER and our
  1849. | * globals. Here is the right place to do so, because
  1850. | * this is the first action (other than possibly a
  1851. | * back-up) that will match for the new input source.
  1852. | */
  1853. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1854. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1855. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1856. | }
  1857. |
  1858. | /* Note that here we test for yy_c_buf_p "<=" to the position
  1859. | * of the first EOB in the buffer, since yy_c_buf_p will
  1860. | * already have been incremented past the NUL character
  1861. | * (since all states make transitions on EOB to the
  1862. | * end-of-buffer state). Contrast this with the test
  1863. | * in input().
  1864. | */
  1865. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1866. | { /* This was really a NUL. */
  1867. | yy_state_type yy_next_state;
  1868. |
  1869. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1870. |
  1871. | yy_current_state = yy_get_previous_state( );
  1872. |
  1873. | /* Okay, we're now positioned to make the NUL
  1874. | * transition. We couldn't have
  1875. | * yy_get_previous_state() go ahead and do it
  1876. | * for us because it doesn't know how to deal
  1877. | * with the possibility of jamming (and we don't
  1878. | * want to build jamming into it because then it
  1879. | * will run more slowly).
  1880. | */
  1881. |
  1882. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  1883. |
  1884. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1885. |
  1886. | if ( yy_next_state )
  1887. | {
  1888. | /* Consume the NUL. */
  1889. | yy_cp = ++(yy_c_buf_p);
  1890. | yy_current_state = yy_next_state;
  1891. | goto yy_match;
  1892. | }
  1893. |
  1894. | else
  1895. | {
  1896. | yy_cp = (yy_c_buf_p);
  1897. | goto yy_find_action;
  1898. | }
  1899. | }
  1900. |
  1901. | else switch ( yy_get_next_buffer( ) )
  1902. | {
  1903. | case EOB_ACT_END_OF_FILE:
  1904. | {
  1905. | (yy_did_buffer_switch_on_eof) = 0;
  1906. |
  1907. | if ( yywrap( ) )
  1908. | {
  1909. | /* Note: because we've taken care in
  1910. | * yy_get_next_buffer() to have set up
  1911. | * yytext, we can now set up
  1912. | * yy_c_buf_p so that if some total
  1913. | * hoser (like flex itself) wants to
  1914. | * call the scanner after we return the
  1915. | * YY_NULL, it'll still work - another
  1916. | * YY_NULL will get returned.
  1917. | */
  1918. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1919. |
  1920. | yy_act = YY_STATE_EOF(YY_START);
  1921. | goto do_action;
  1922. | }
  1923. |
  1924. | else
  1925. | {
  1926. | if ( ! (yy_did_buffer_switch_on_eof) )
  1927. | YY_NEW_FILE;
  1928. | }
  1929. | break;
  1930. | }
  1931. |
  1932. | case EOB_ACT_CONTINUE_SCAN:
  1933. | (yy_c_buf_p) =
  1934. | (yytext_ptr) + yy_amount_of_matched_text;
  1935. |
  1936. | yy_current_state = yy_get_previous_state( );
  1937. |
  1938. | yy_cp = (yy_c_buf_p);
  1939. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1940. | goto yy_match;
  1941. |
  1942. | case EOB_ACT_LAST_MATCH:
  1943. | (yy_c_buf_p) =
  1944. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1945. |
  1946. | yy_current_state = yy_get_previous_state( );
  1947. |
  1948. | yy_cp = (yy_c_buf_p);
  1949. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1950. | goto yy_find_action;
  1951. | }
  1952. | break;
  1953. | }
  1954. |
  1955. | default:
  1956. | YY_FATAL_ERROR(
  1957. | "fatal flex scanner internal error--no action found" );
  1958. | } /* end of action switch */
  1959. | } /* end of scanning one token */
  1960. | } /* end of yylex */
  1961. |
  1962. | /* yy_get_next_buffer - try to read in a new buffer
  1963. | *
  1964. | * Returns a code representing an action:
  1965. | * EOB_ACT_LAST_MATCH -
  1966. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1967. | * EOB_ACT_END_OF_FILE - end of file
  1968. | */
  1969. | static int yy_get_next_buffer (void)
  1970. | {
  1971. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1972. | register char *source = (yytext_ptr);
  1973. | register int number_to_move, i;
  1974. | int ret_val;
  1975. |
  1976. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1977. | YY_FATAL_ERROR(
  1978. | "fatal flex scanner internal error--end of buffer missed" );
  1979. |
  1980. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1981. | { /* Don't try to fill the buffer, so this is an EOF. */
  1982. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1983. | {
  1984. | /* We matched a single character, the EOB, so
  1985. | * treat this as a final EOF.
  1986. | */
  1987. | return EOB_ACT_END_OF_FILE;
  1988. | }
  1989. |
  1990. | else
  1991. | {
  1992. | /* We matched some text prior to the EOB, first
  1993. | * process it.
  1994. | */
  1995. | return EOB_ACT_LAST_MATCH;
  1996. | }
  1997. | }
  1998. |
  1999. | /* Try to read more data. */
  2000. |
  2001. | /* First move last chars to start of buffer. */
  2002. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  2003. |
  2004. | for ( i = 0; i < number_to_move; ++i )
  2005. | *(dest++) = *(source++);
  2006. |
  2007. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  2008. | /* don't do the read, it's not guaranteed to return an EOF,
  2009. | * just force an EOF
  2010. | */
  2011. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  2012. |
  2013. | else
  2014. | {
  2015. | int num_to_read =
  2016. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  2017. |
  2018. | while ( num_to_read <= 0 )
  2019. | { /* Not enough room in the buffer - grow it. */
  2020. |
  2021. | YY_FATAL_ERROR(
  2022. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  2023. |
  2024. | }
  2025. |
  2026. | if ( num_to_read > YY_READ_BUF_SIZE )
  2027. | num_to_read = YY_READ_BUF_SIZE;
  2028. |
  2029. | /* Read in more data. */
  2030. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  2031. | (yy_n_chars), (size_t) num_to_read );
  2032. |
  2033. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  2034. | }
  2035. |
  2036. | if ( (yy_n_chars) == 0 )
  2037. | {
  2038. | if ( number_to_move == YY_MORE_ADJ )
  2039. | {
  2040. | ret_val = EOB_ACT_END_OF_FILE;
  2041. | yyrestart(yyin );
  2042. | }
  2043. |
  2044. | else
  2045. | {
  2046. | ret_val = EOB_ACT_LAST_MATCH;
  2047. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  2048. | YY_BUFFER_EOF_PENDING;
  2049. | }
  2050. | }
  2051. |
  2052. | else
  2053. | ret_val = EOB_ACT_CONTINUE_SCAN;
  2054. |
  2055. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  2056. | /* Extend the array by 50%, plus the number we really need. */
  2057. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  2058. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  2059. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  2060. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  2061. | }
  2062. |
  2063. | (yy_n_chars) += number_to_move;
  2064. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  2065. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  2066. |
  2067. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  2068. |
  2069. | return ret_val;
  2070. | }
  2071. |
  2072. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  2073. |
  2074. | static yy_state_type yy_get_previous_state (void)
  2075. | {
  2076. | register yy_state_type yy_current_state;
  2077. | register char *yy_cp;
  2078. |
  2079. | yy_current_state = (yy_start);
  2080. |
  2081. | (yy_state_ptr) = (yy_state_buf);
  2082. | *(yy_state_ptr)++ = yy_current_state;
  2083. |
  2084. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  2085. | {
  2086. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  2087. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2088. | {
  2089. | yy_current_state = (int) yy_def[yy_current_state];
  2090. | if ( yy_current_state >= 13 )
  2091. | yy_c = yy_meta[(unsigned int) yy_c];
  2092. | }
  2093. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2094. | *(yy_state_ptr)++ = yy_current_state;
  2095. | }
  2096. |
  2097. | return yy_current_state;
  2098. | }
  2099. |
  2100. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  2101. | *
  2102. | * synopsis
  2103. | * next_state = yy_try_NUL_trans( current_state );
  2104. | */
  2105. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  2106. | {
  2107. | register int yy_is_jam;
  2108. |
  2109. | register YY_CHAR yy_c = 1;
  2110. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2111. | {
  2112. | yy_current_state = (int) yy_def[yy_current_state];
  2113. | if ( yy_current_state >= 13 )
  2114. | yy_c = yy_meta[(unsigned int) yy_c];
  2115. | }
  2116. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2117. | yy_is_jam = (yy_current_state == 12);
  2118. | if ( ! yy_is_jam )
  2119. | *(yy_state_ptr)++ = yy_current_state;
  2120. |
  2121. | return yy_is_jam ? 0 : yy_current_state;
  2122. | }
  2123. |
  2124. | static void yyunput (int c, register char * yy_bp )
  2125. | {
  2126. | register char *yy_cp;
  2127. |
  2128. | yy_cp = (yy_c_buf_p);
  2129. |
  2130. | /* undo effects of setting up yytext */
  2131. | *yy_cp = (yy_hold_char);
  2132. |
  2133. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  2134. | { /* need to shift things up to make room */
  2135. | /* +2 for EOB chars. */
  2136. | register int number_to_move = (yy_n_chars) + 2;
  2137. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  2138. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  2139. | register char *source =
  2140. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  2141. |
  2142. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  2143. | *--dest = *--source;
  2144. |
  2145. | yy_cp += (int) (dest - source);
  2146. | yy_bp += (int) (dest - source);
  2147. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  2148. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  2149. |
  2150. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  2151. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  2152. | }
  2153. |
  2154. | *--yy_cp = (char) c;
  2155. |
  2156. | (yytext_ptr) = yy_bp;
  2157. | (yy_hold_char) = *yy_cp;
  2158. | (yy_c_buf_p) = yy_cp;
  2159. | }
  2160. |
  2161. | #ifndef YY_NO_INPUT
  2162. | #ifdef __cplusplus
  2163. | static int yyinput (void)
  2164. | #else
  2165. | static int input (void)
  2166. | #endif
  2167. |
  2168. | {
  2169. | int c;
  2170. |
  2171. | *(yy_c_buf_p) = (yy_hold_char);
  2172. |
  2173. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  2174. | {
  2175. | /* yy_c_buf_p now points to the character we want to return.
  2176. | * If this occurs *before* the EOB characters, then it's a
  2177. | * valid NUL; if not, then we've hit the end of the buffer.
  2178. | */
  2179. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  2180. | /* This was really a NUL. */
  2181. | *(yy_c_buf_p) = '\0';
  2182. |
  2183. | else
  2184. | { /* need more input */
  2185. | int offset = (yy_c_buf_p) - (yytext_ptr);
  2186. | ++(yy_c_buf_p);
  2187. |
  2188. | switch ( yy_get_next_buffer( ) )
  2189. | {
  2190. | case EOB_ACT_LAST_MATCH:
  2191. | /* This happens because yy_g_n_b()
  2192. | * sees that we've accumulated a
  2193. | * token and flags that we need to
  2194. | * try matching the token before
  2195. | * proceeding. But for input(),
  2196. | * there's no matching to consider.
  2197. | * So convert the EOB_ACT_LAST_MATCH
  2198. | * to EOB_ACT_END_OF_FILE.
  2199. | */
  2200. |
  2201. | /* Reset buffer status. */
  2202. | yyrestart(yyin );
  2203. |
  2204. | /*FALLTHROUGH*/
  2205. |
  2206. | case EOB_ACT_END_OF_FILE:
  2207. | {
  2208. | if ( yywrap( ) )
  2209. | return EOF;
  2210. |
  2211. | if ( ! (yy_did_buffer_switch_on_eof) )
  2212. | YY_NEW_FILE;
  2213. | #ifdef __cplusplus
  2214. | return yyinput();
  2215. | #else
  2216. | return input();
  2217. | #endif
  2218. | }
  2219. |
  2220. | case EOB_ACT_CONTINUE_SCAN:
  2221. | (yy_c_buf_p) = (yytext_ptr) + offset;
  2222. | break;
  2223. | }
  2224. | }
  2225. | }
  2226. |
  2227. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  2228. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  2229. | (yy_hold_char) = *++(yy_c_buf_p);
  2230. |
  2231. | return c;
  2232. | }
  2233. | #endif /* ifndef YY_NO_INPUT */
  2234. |
  2235. | /** Immediately switch to a different input stream.
  2236. | * @param input_file A readable stream.
  2237. | *
  2238. | * @note This function does not reset the start condition to @c INITIAL .
  2239. | */
  2240. | void yyrestart (FILE * input_file )
  2241. | {
  2242. |
  2243. | if ( ! YY_CURRENT_BUFFER ){
  2244. | yyensure_buffer_stack ();
  2245. | YY_CURRENT_BUFFER_LVALUE =
  2246. | yy_create_buffer(yyin,YY_BUF_SIZE );
  2247. | }
  2248. |
  2249. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  2250. | yy_load_buffer_state( );
  2251. | }
  2252. |
  2253. | /** Switch to a different input buffer.
  2254. | * @param new_buffer The new input buffer.
  2255. | *
  2256. | */
  2257. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  2258. | {
  2259. |
  2260. | /* TODO. We should be able to replace this entire function body
  2261. | * with
  2262. | * yypop_buffer_state();
  2263. | * yypush_buffer_state(new_buffer);
  2264. | */
  2265. | yyensure_buffer_stack ();
  2266. | if ( YY_CURRENT_BUFFER == new_buffer )
  2267. | return;
  2268. |
  2269. | if ( YY_CURRENT_BUFFER )
  2270. | {
  2271. | /* Flush out information for old buffer. */
  2272. | *(yy_c_buf_p) = (yy_hold_char);
  2273. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  2274. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  2275. | }
  2276. |
  2277. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  2278. | yy_load_buffer_state( );
  2279. |
  2280. | /* We don't actually know whether we did this switch during
  2281. | * EOF (yywrap()) processing, but the only time this flag
  2282. | * is looked at is after yywrap() is called, so it's safe
  2283. | * to go ahead and always set it.
  2284. | */
  2285. | (yy_did_buffer_switch_on_eof) = 1;
  2286. | }
  2287. |
  2288. | static void yy_load_buffer_state (void)
  2289. | {
  2290. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  2291. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  2292. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  2293. | (yy_hold_char) = *(yy_c_buf_p);
  2294. | }
  2295. |
  2296. | /** Allocate and initialize an input buffer state.
  2297. | * @param file A readable stream.
  2298. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  2299. | *
  2300. | * @return the allocated buffer state.
  2301. | */
  2302. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  2303. | {
  2304. | YY_BUFFER_STATE b;
  2305. |
  2306. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  2307. | if ( ! b )
  2308. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  2309. |
  2310. | b->yy_buf_size = size;
  2311. |
  2312. | /* yy_ch_buf has to be 2 characters longer than the size given because
  2313. | * we need to put in 2 end-of-buffer characters.
  2314. | */
  2315. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  2316. | if ( ! b->yy_ch_buf )
  2317. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  2318. |
  2319. | b->yy_is_our_buffer = 1;
  2320. |
  2321. | yy_init_buffer(b,file );
  2322. |
  2323. | return b;
  2324. | }
  2325. |
  2326. | /** Destroy the buffer.
  2327. | * @param b a buffer created with yy_create_buffer()
  2328. | *
  2329. | */
  2330. | void yy_delete_buffer (YY_BUFFER_STATE b )
  2331. | {
  2332. |
  2333. | if ( ! b )
  2334. | return;
  2335. |
  2336. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  2337. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  2338. |
  2339. | if ( b->yy_is_our_buffer )
  2340. | yyfree((void *) b->yy_ch_buf );
  2341. |
  2342. | yyfree((void *) b );
  2343. | }
  2344. |
  2345. | #ifndef __cplusplus
  2346. | extern int isatty (int );
  2347. | #endif /* __cplusplus */
  2348. |
  2349. | /* Initializes or reinitializes a buffer.
  2350. | * This function is sometimes called more than once on the same buffer,
  2351. | * such as during a yyrestart() or at EOF.
  2352. | */
  2353. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  2354. |
  2355. | {
  2356. | int oerrno = errno;
  2357. |
  2358. | yy_flush_buffer(b );
  2359. |
  2360. | b->yy_input_file = file;
  2361. | b->yy_fill_buffer = 1;
  2362. |
  2363. | /* If b is the current buffer, then yy_init_buffer was _probably_
  2364. | * called from yyrestart() or through yy_get_next_buffer.
  2365. | * In that case, we don't want to reset the lineno or column.
  2366. | */
  2367. | if (b != YY_CURRENT_BUFFER){
  2368. | b->yy_bs_lineno = 1;
  2369. | b->yy_bs_column = 0;
  2370. | }
  2371. |
  2372. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  2373. |
  2374. | errno = oerrno;
  2375. | }
  2376. |
  2377. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  2378. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  2379. | *
  2380. | */
  2381. | void yy_flush_buffer (YY_BUFFER_STATE b )
  2382. | {
  2383. | if ( ! b )
  2384. | return;
  2385. |
  2386. | b->yy_n_chars = 0;
  2387. |
  2388. | /* We always need two end-of-buffer characters. The first causes
  2389. | * a transition to the end-of-buffer state. The second causes
  2390. | * a jam in that state.
  2391. | */
  2392. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  2393. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  2394. |
  2395. | b->yy_buf_pos = &b->yy_ch_buf[0];
  2396. |
  2397. | b->yy_at_bol = 1;
  2398. | b->yy_buffer_status = YY_BUFFER_NEW;
  2399. |
  2400. | if ( b == YY_CURRENT_BUFFER )
  2401. | yy_load_buffer_state( );
  2402. | }
  2403. |
  2404. | /** Pushes the new state onto the stack. The new state becomes
  2405. | * the current state. This function will allocate the stack
  2406. | * if necessary.
  2407. | * @param new_buffer The new state.
  2408. | *
  2409. | */
  2410. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  2411. | {
  2412. | if (new_buffer == NULL)
  2413. | return;
  2414. |
  2415. | yyensure_buffer_stack();
  2416. |
  2417. | /* This block is copied from yy_switch_to_buffer. */
  2418. | if ( YY_CURRENT_BUFFER )
  2419. | {
  2420. | /* Flush out information for old buffer. */
  2421. | *(yy_c_buf_p) = (yy_hold_char);
  2422. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  2423. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  2424. | }
  2425. |
  2426. | /* Only push if top exists. Otherwise, replace top. */
  2427. | if (YY_CURRENT_BUFFER)
  2428. | (yy_buffer_stack_top)++;
  2429. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  2430. |
  2431. | /* copied from yy_switch_to_buffer. */
  2432. | yy_load_buffer_state( );
  2433. | (yy_did_buffer_switch_on_eof) = 1;
  2434. | }
  2435. |
  2436. | /** Removes and deletes the top of the stack, if present.
  2437. | * The next element becomes the new top.
  2438. | *
  2439. | */
  2440. | void yypop_buffer_state (void)
  2441. | {
  2442. | if (!YY_CURRENT_BUFFER)
  2443. | return;
  2444. |
  2445. | yy_delete_buffer(YY_CURRENT_BUFFER );
  2446. | YY_CURRENT_BUFFER_LVALUE = NULL;
  2447. | if ((yy_buffer_stack_top) > 0)
  2448. | --(yy_buffer_stack_top);
  2449. |
  2450. | if (YY_CURRENT_BUFFER) {
  2451. | yy_load_buffer_state( );
  2452. | (yy_did_buffer_switch_on_eof) = 1;
  2453. | }
  2454. | }
  2455. |
  2456. | /* Allocates the stack if it does not exist.
  2457. | * Guarantees space for at least one push.
  2458. | */
  2459. | static void yyensure_buffer_stack (void)
  2460. | {
  2461. | int num_to_alloc;
  2462. |
  2463. | if (!(yy_buffer_stack)) {
  2464. |
  2465. | /* First allocation is just for 2 elements, since we don't know if this
  2466. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  2467. | * immediate realloc on the next call.
  2468. | */
  2469. | num_to_alloc = 1;
  2470. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  2471. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  2472. | );
  2473. | if ( ! (yy_buffer_stack) )
  2474. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  2475. |
  2476. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  2477. |
  2478. | (yy_buffer_stack_max) = num_to_alloc;
  2479. | (yy_buffer_stack_top) = 0;
  2480. | return;
  2481. | }
  2482. |
  2483. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  2484. |
  2485. | /* Increase the buffer to prepare for a possible push. */
  2486. | int grow_size = 8 /* arbitrary grow size */;
  2487. |
  2488. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  2489. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  2490. | ((yy_buffer_stack),
  2491. | num_to_alloc * sizeof(struct yy_buffer_state*)
  2492. | );
  2493. | if ( ! (yy_buffer_stack) )
  2494. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  2495. |
  2496. | /* zero only the new slots.*/
  2497. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  2498. | (yy_buffer_stack_max) = num_to_alloc;
  2499. | }
  2500. | }
  2501. |
  2502. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  2503. | * @param base the character buffer
  2504. | * @param size the size in bytes of the character buffer
  2505. | *
  2506. | * @return the newly allocated buffer state object.
  2507. | */
  2508. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  2509. | {
  2510. | YY_BUFFER_STATE b;
  2511. |
  2512. | if ( size < 2 ||
  2513. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  2514. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  2515. | /* They forgot to leave room for the EOB's. */
  2516. | return 0;
  2517. |
  2518. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  2519. | if ( ! b )
  2520. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  2521. |
  2522. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  2523. | b->yy_buf_pos = b->yy_ch_buf = base;
  2524. | b->yy_is_our_buffer = 0;
  2525. | b->yy_input_file = 0;
  2526. | b->yy_n_chars = b->yy_buf_size;
  2527. | b->yy_is_interactive = 0;
  2528. | b->yy_at_bol = 1;
  2529. | b->yy_fill_buffer = 0;
  2530. | b->yy_buffer_status = YY_BUFFER_NEW;
  2531. |
  2532. | yy_switch_to_buffer(b );
  2533. |
  2534. | return b;
  2535. | }
  2536. |
  2537. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  2538. | * scan from a @e copy of @a str.
  2539. | * @param yystr a NUL-terminated string to scan
  2540. | *
  2541. | * @return the newly allocated buffer state object.
  2542. | * @note If you want to scan bytes that may contain NUL values, then use
  2543. | * yy_scan_bytes() instead.
  2544. | */
  2545. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  2546. | {
  2547. |
  2548. | return yy_scan_bytes(yystr,strlen(yystr) );
  2549. | }
  2550. |
  2551. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  2552. | * scan from a @e copy of @a bytes.
  2553. | * @param yybytes the byte buffer to scan
  2554. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  2555. | *
  2556. | * @return the newly allocated buffer state object.
  2557. | */
  2558. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
  2559. | {
  2560. | YY_BUFFER_STATE b;
  2561. | char *buf;
  2562. | yy_size_t n;
  2563. | int i;
  2564. |
  2565. | /* Get memory for full buffer, including space for trailing EOB's. */
  2566. | n = _yybytes_len + 2;
  2567. | buf = (char *) yyalloc(n );
  2568. | if ( ! buf )
  2569. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  2570. |
  2571. | for ( i = 0; i < _yybytes_len; ++i )
  2572. | buf[i] = yybytes[i];
  2573. |
  2574. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  2575. |
  2576. | b = yy_scan_buffer(buf,n );
  2577. | if ( ! b )
  2578. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  2579. |
  2580. | /* It's okay to grow etc. this buffer, and we should throw it
  2581. | * away when we're done.
  2582. | */
  2583. | b->yy_is_our_buffer = 1;
  2584. |
  2585. | return b;
  2586. | }
  2587. |
  2588. | #ifndef YY_EXIT_FAILURE
  2589. | #define YY_EXIT_FAILURE 2
  2590. | #endif
  2591. |
  2592. | static void yy_fatal_error (yyconst char* msg )
  2593. | {
  2594. | (void) fprintf( stderr, "%s\n", msg );
  2595. | exit( YY_EXIT_FAILURE );
  2596. | }
  2597. |
  2598. | /* Redefine yyless() so it works in section 3 code. */
  2599. |
  2600. | #undef yyless
  2601. | #define yyless(n) \
  2602. | do \
  2603. | { \
  2604. | /* Undo effects of setting up yytext. */ \
  2605. | int yyless_macro_arg = (n); \
  2606. | YY_LESS_LINENO(yyless_macro_arg);\
  2607. | yytext[yyleng] = (yy_hold_char); \
  2608. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  2609. | (yy_hold_char) = *(yy_c_buf_p); \
  2610. | *(yy_c_buf_p) = '\0'; \
  2611. | yyleng = yyless_macro_arg; \
  2612. | } \
  2613. | while ( 0 )
  2614. |
  2615. | /* Accessor methods (get/set functions) to struct members. */
  2616. |
  2617. | /** Get the current line number.
  2618. | *
  2619. | */
  2620. | int yyget_lineno (void)
  2621. | {
  2622. |
  2623. | return yylineno;
  2624. | }
  2625. |
  2626. | /** Get the input stream.
  2627. | *
  2628. | */
  2629. | FILE *yyget_in (void)
  2630. | {
  2631. | return yyin;
  2632. | }
  2633. |
  2634. | /** Get the output stream.
  2635. | *
  2636. | */
  2637. | FILE *yyget_out (void)
  2638. | {
  2639. | return yyout;
  2640. | }
  2641. |
  2642. | /** Get the length of the current token.
  2643. | *
  2644. | */
  2645. | int yyget_leng (void)
  2646. | {
  2647. | return yyleng;
  2648. | }
  2649. |
  2650. | /** Get the current token.
  2651. | *
  2652. | */
  2653. |
  2654. | char *yyget_text (void)
  2655. | {
  2656. | return yytext;
  2657. | }
  2658. |
  2659. | /** Set the current line number.
  2660. | * @param line_number
  2661. | *
  2662. | */
  2663. | void yyset_lineno (int line_number )
  2664. | {
  2665. |
  2666. | yylineno = line_number;
  2667. | }
  2668. |
  2669. | /** Set the input stream. This does not discard the current
  2670. | * input buffer.
  2671. | * @param in_str A readable stream.
  2672. | *
  2673. | * @see yy_switch_to_buffer
  2674. | */
  2675. | void yyset_in (FILE * in_str )
  2676. | {
  2677. | yyin = in_str ;
  2678. | }
  2679. |
  2680. | void yyset_out (FILE * out_str )
  2681. | {
  2682. | yyout = out_str ;
  2683. | }
  2684. |
  2685. | int yyget_debug (void)
  2686. | {
  2687. | return yy_flex_debug;
  2688. | }
  2689. |
  2690. | void yyset_debug (int bdebug )
  2691. | {
  2692. | yy_flex_debug = bdebug ;
  2693. | }
  2694. |
  2695. | static int yy_init_globals (void)
  2696. | {
  2697. | /* Initialization is the same as for the non-reentrant scanner.
  2698. | * This function is called from yylex_destroy(), so don't allocate here.
  2699. | */
  2700. |
  2701. | (yy_buffer_stack) = 0;
  2702. | (yy_buffer_stack_top) = 0;
  2703. | (yy_buffer_stack_max) = 0;
  2704. | (yy_c_buf_p) = (char *) 0;
  2705. | (yy_init) = 0;
  2706. | (yy_start) = 0;
  2707. |
  2708. | (yy_state_buf) = 0;
  2709. | (yy_state_ptr) = 0;
  2710. | (yy_full_match) = 0;
  2711. | (yy_lp) = 0;
  2712. |
  2713. | /* Defined in main.c */
  2714. | #ifdef YY_STDINIT
  2715. | yyin = stdin;
  2716. | yyout = stdout;
  2717. | #else
  2718. | yyin = (FILE *) 0;
  2719. | yyout = (FILE *) 0;
  2720. | #endif
  2721. |
  2722. | /* For future reference: Set errno on error, since we are called by
  2723. | * yylex_init()
  2724. | */
  2725. | return 0;
  2726. | }
  2727. |
  2728. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  2729. | int yylex_destroy (void)
  2730. | {
  2731. |
  2732. | /* Pop the buffer stack, destroying each element. */
  2733. | while(YY_CURRENT_BUFFER){
  2734. | yy_delete_buffer(YY_CURRENT_BUFFER );
  2735. | YY_CURRENT_BUFFER_LVALUE = NULL;
  2736. | yypop_buffer_state();
  2737. | }
  2738. |
  2739. | /* Destroy the stack itself. */
  2740. | yyfree((yy_buffer_stack) );
  2741. | (yy_buffer_stack) = NULL;
  2742. |
  2743. | yyfree ( (yy_state_buf) );
  2744. | (yy_state_buf) = NULL;
  2745. |
  2746. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  2747. | * yylex() is called, initialization will occur. */
  2748. | yy_init_globals( );
  2749. |
  2750. | return 0;
  2751. | }
  2752. |
  2753. | /*
  2754. | * Internal utility routines.
  2755. | */
  2756. |
  2757. | #ifndef yytext_ptr
  2758. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  2759. | {
  2760. | register int i;
  2761. | for ( i = 0; i < n; ++i )
  2762. | s1[i] = s2[i];
  2763. | }
  2764. | #endif
  2765. |
  2766. | #ifdef YY_NEED_STRLEN
  2767. | static int yy_flex_strlen (yyconst char * s )
  2768. | {
  2769. | register int n;
  2770. | for ( n = 0; s[n]; ++n )
  2771. | ;
  2772. |
  2773. | return n;
  2774. | }
  2775. | #endif
  2776. |
  2777. | void *yyalloc (yy_size_t size )
  2778. | {
  2779. | return (void *) malloc( size );
  2780. | }
  2781. |
  2782. | void *yyrealloc (void * ptr, yy_size_t size )
  2783. | {
  2784. | /* The cast to (char *) in the following accommodates both
  2785. | * implementations that use char* generic pointers, and those
  2786. | * that use void* generic pointers. It works with the latter
  2787. | * because both ANSI C and C++ allow castless assignment from
  2788. | * any pointer type to void*, and deal with argument conversions
  2789. | * as though doing an assignment.
  2790. | */
  2791. | return (void *) realloc( (char *) ptr, size );
  2792. | }
  2793. |
  2794. | void yyfree (void * ptr )
  2795. | {
  2796. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  2797. | }
  2798. |
  2799. | #define YYTABLES_NAME "yytables"
  2800. |
  2801. | #line 9 "conftest.l"
  2802. |
  2803. |
  2804. | #ifdef YYTEXT_POINTER
  2805. | extern char *yytext;
  2806. | #endif
  2807. | int
  2808. | main (void)
  2809. | {
  2810. | return ! yylex () + ! yywrap ();
  2811. | }
  2812. configure:23137: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lfl -lncurses -lm >&5
  2813. /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2/../../../../i486-openwrt-linux-uclibc/bin/ld: cannot find -lfl
  2814. collect2: ld returned 1 exit status
  2815. configure:23144: $? = 1
  2816. configure: failed program was:
  2817. |
  2818. | #line 3 "lex.yy.c"
  2819. |
  2820. | #define YY_INT_ALIGNED short int
  2821. |
  2822. | /* A lexical scanner generated by flex */
  2823. |
  2824. | #define FLEX_SCANNER
  2825. | #define YY_FLEX_MAJOR_VERSION 2
  2826. | #define YY_FLEX_MINOR_VERSION 5
  2827. | #define YY_FLEX_SUBMINOR_VERSION 35
  2828. | #if YY_FLEX_SUBMINOR_VERSION > 0
  2829. | #define FLEX_BETA
  2830. | #endif
  2831. |
  2832. | /* First, we deal with platform-specific or compiler-specific issues. */
  2833. |
  2834. | /* begin standard C headers. */
  2835. | #include <stdio.h>
  2836. | #include <string.h>
  2837. | #include <errno.h>
  2838. | #include <stdlib.h>
  2839. |
  2840. | /* end standard C headers. */
  2841. |
  2842. | /* flex integer type definitions */
  2843. |
  2844. | #ifndef FLEXINT_H
  2845. | #define FLEXINT_H
  2846. |
  2847. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  2848. |
  2849. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  2850. |
  2851. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  2852. | * if you want the limit (max/min) macros for int types.
  2853. | */
  2854. | #ifndef __STDC_LIMIT_MACROS
  2855. | #define __STDC_LIMIT_MACROS 1
  2856. | #endif
  2857. |
  2858. | #include <inttypes.h>
  2859. | typedef int8_t flex_int8_t;
  2860. | typedef uint8_t flex_uint8_t;
  2861. | typedef int16_t flex_int16_t;
  2862. | typedef uint16_t flex_uint16_t;
  2863. | typedef int32_t flex_int32_t;
  2864. | typedef uint32_t flex_uint32_t;
  2865. | #else
  2866. | typedef signed char flex_int8_t;
  2867. | typedef short int flex_int16_t;
  2868. | typedef int flex_int32_t;
  2869. | typedef unsigned char flex_uint8_t;
  2870. | typedef unsigned short int flex_uint16_t;
  2871. | typedef unsigned int flex_uint32_t;
  2872. |
  2873. | /* Limits of integral types. */
  2874. | #ifndef INT8_MIN
  2875. | #define INT8_MIN (-128)
  2876. | #endif
  2877. | #ifndef INT16_MIN
  2878. | #define INT16_MIN (-32767-1)
  2879. | #endif
  2880. | #ifndef INT32_MIN
  2881. | #define INT32_MIN (-2147483647-1)
  2882. | #endif
  2883. | #ifndef INT8_MAX
  2884. | #define INT8_MAX (127)
  2885. | #endif
  2886. | #ifndef INT16_MAX
  2887. | #define INT16_MAX (32767)
  2888. | #endif
  2889. | #ifndef INT32_MAX
  2890. | #define INT32_MAX (2147483647)
  2891. | #endif
  2892. | #ifndef UINT8_MAX
  2893. | #define UINT8_MAX (255U)
  2894. | #endif
  2895. | #ifndef UINT16_MAX
  2896. | #define UINT16_MAX (65535U)
  2897. | #endif
  2898. | #ifndef UINT32_MAX
  2899. | #define UINT32_MAX (4294967295U)
  2900. | #endif
  2901. |
  2902. | #endif /* ! C99 */
  2903. |
  2904. | #endif /* ! FLEXINT_H */
  2905. |
  2906. | #ifdef __cplusplus
  2907. |
  2908. | /* The "const" storage-class-modifier is valid. */
  2909. | #define YY_USE_CONST
  2910. |
  2911. | #else /* ! __cplusplus */
  2912. |
  2913. | /* C99 requires __STDC__ to be defined as 1. */
  2914. | #if defined (__STDC__)
  2915. |
  2916. | #define YY_USE_CONST
  2917. |
  2918. | #endif /* defined (__STDC__) */
  2919. | #endif /* ! __cplusplus */
  2920. |
  2921. | #ifdef YY_USE_CONST
  2922. | #define yyconst const
  2923. | #else
  2924. | #define yyconst
  2925. | #endif
  2926. |
  2927. | /* Returned upon end-of-file. */
  2928. | #define YY_NULL 0
  2929. |
  2930. | /* Promotes a possibly negative, possibly signed char to an unsigned
  2931. | * integer for use as an array index. If the signed char is negative,
  2932. | * we want to instead treat it as an 8-bit unsigned char, hence the
  2933. | * double cast.
  2934. | */
  2935. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  2936. |
  2937. | /* Enter a start condition. This macro really ought to take a parameter,
  2938. | * but we do it the disgusting crufty way forced on us by the ()-less
  2939. | * definition of BEGIN.
  2940. | */
  2941. | #define BEGIN (yy_start) = 1 + 2 *
  2942. |
  2943. | /* Translate the current start state into a value that can be later handed
  2944. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  2945. | * compatibility.
  2946. | */
  2947. | #define YY_START (((yy_start) - 1) / 2)
  2948. | #define YYSTATE YY_START
  2949. |
  2950. | /* Action number for EOF rule of a given start state. */
  2951. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  2952. |
  2953. | /* Special action meaning "start processing a new file". */
  2954. | #define YY_NEW_FILE yyrestart(yyin )
  2955. |
  2956. | #define YY_END_OF_BUFFER_CHAR 0
  2957. |
  2958. | /* Size of default input buffer. */
  2959. | #ifndef YY_BUF_SIZE
  2960. | #ifdef __ia64__
  2961. | /* On IA-64, the buffer size is 16k, not 8k.
  2962. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  2963. | * Ditto for the __ia64__ case accordingly.
  2964. | */
  2965. | #define YY_BUF_SIZE 32768
  2966. | #else
  2967. | #define YY_BUF_SIZE 16384
  2968. | #endif /* __ia64__ */
  2969. | #endif
  2970. |
  2971. | /* The state buf must be large enough to hold one state per character in the main buffer.
  2972. | */
  2973. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  2974. |
  2975. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  2976. | #define YY_TYPEDEF_YY_BUFFER_STATE
  2977. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  2978. | #endif
  2979. |
  2980. | extern int yyleng;
  2981. |
  2982. | extern FILE *yyin, *yyout;
  2983. |
  2984. | #define EOB_ACT_CONTINUE_SCAN 0
  2985. | #define EOB_ACT_END_OF_FILE 1
  2986. | #define EOB_ACT_LAST_MATCH 2
  2987. |
  2988. | #define YY_LESS_LINENO(n)
  2989. |
  2990. | /* Return all but the first "n" matched characters back to the input stream. */
  2991. | #define yyless(n) \
  2992. | do \
  2993. | { \
  2994. | /* Undo effects of setting up yytext. */ \
  2995. | int yyless_macro_arg = (n); \
  2996. | YY_LESS_LINENO(yyless_macro_arg);\
  2997. | *yy_cp = (yy_hold_char); \
  2998. | YY_RESTORE_YY_MORE_OFFSET \
  2999. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  3000. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  3001. | } \
  3002. | while ( 0 )
  3003. |
  3004. | #define unput(c) yyunput( c, (yytext_ptr) )
  3005. |
  3006. | #ifndef YY_TYPEDEF_YY_SIZE_T
  3007. | #define YY_TYPEDEF_YY_SIZE_T
  3008. | typedef size_t yy_size_t;
  3009. | #endif
  3010. |
  3011. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  3012. | #define YY_STRUCT_YY_BUFFER_STATE
  3013. | struct yy_buffer_state
  3014. | {
  3015. | FILE *yy_input_file;
  3016. |
  3017. | char *yy_ch_buf; /* input buffer */
  3018. | char *yy_buf_pos; /* current position in input buffer */
  3019. |
  3020. | /* Size of input buffer in bytes, not including room for EOB
  3021. | * characters.
  3022. | */
  3023. | yy_size_t yy_buf_size;
  3024. |
  3025. | /* Number of characters read into yy_ch_buf, not including EOB
  3026. | * characters.
  3027. | */
  3028. | int yy_n_chars;
  3029. |
  3030. | /* Whether we "own" the buffer - i.e., we know we created it,
  3031. | * and can realloc() it to grow it, and should free() it to
  3032. | * delete it.
  3033. | */
  3034. | int yy_is_our_buffer;
  3035. |
  3036. | /* Whether this is an "interactive" input source; if so, and
  3037. | * if we're using stdio for input, then we want to use getc()
  3038. | * instead of fread(), to make sure we stop fetching input after
  3039. | * each newline.
  3040. | */
  3041. | int yy_is_interactive;
  3042. |
  3043. | /* Whether we're considered to be at the beginning of a line.
  3044. | * If so, '^' rules will be active on the next match, otherwise
  3045. | * not.
  3046. | */
  3047. | int yy_at_bol;
  3048. |
  3049. | int yy_bs_lineno; /**< The line count. */
  3050. | int yy_bs_column; /**< The column count. */
  3051. |
  3052. | /* Whether to try to fill the input buffer when we reach the
  3053. | * end of it.
  3054. | */
  3055. | int yy_fill_buffer;
  3056. |
  3057. | int yy_buffer_status;
  3058. |
  3059. | #define YY_BUFFER_NEW 0
  3060. | #define YY_BUFFER_NORMAL 1
  3061. | /* When an EOF's been seen but there's still some text to process
  3062. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  3063. | * shouldn't try reading from the input source any more. We might
  3064. | * still have a bunch of tokens to match, though, because of
  3065. | * possible backing-up.
  3066. | *
  3067. | * When we actually see the EOF, we change the status to "new"
  3068. | * (via yyrestart()), so that the user can continue scanning by
  3069. | * just pointing yyin at a new input file.
  3070. | */
  3071. | #define YY_BUFFER_EOF_PENDING 2
  3072. |
  3073. | };
  3074. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  3075. |
  3076. | /* Stack of input buffers. */
  3077. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  3078. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  3079. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  3080. |
  3081. | /* We provide macros for accessing buffer states in case in the
  3082. | * future we want to put the buffer states in a more general
  3083. | * "scanner state".
  3084. | *
  3085. | * Returns the top of the stack, or NULL.
  3086. | */
  3087. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  3088. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  3089. | : NULL)
  3090. |
  3091. | /* Same as previous macro, but useful when we know that the buffer stack is not
  3092. | * NULL or when we need an lvalue. For internal use only.
  3093. | */
  3094. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  3095. |
  3096. | /* yy_hold_char holds the character lost when yytext is formed. */
  3097. | static char yy_hold_char;
  3098. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  3099. | int yyleng;
  3100. |
  3101. | /* Points to current character in buffer. */
  3102. | static char *yy_c_buf_p = (char *) 0;
  3103. | static int yy_init = 0; /* whether we need to initialize */
  3104. | static int yy_start = 0; /* start state number */
  3105. |
  3106. | /* Flag which is used to allow yywrap()'s to do buffer switches
  3107. | * instead of setting up a fresh yyin. A bit of a hack ...
  3108. | */
  3109. | static int yy_did_buffer_switch_on_eof;
  3110. |
  3111. | void yyrestart (FILE *input_file );
  3112. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  3113. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  3114. | void yy_delete_buffer (YY_BUFFER_STATE b );
  3115. | void yy_flush_buffer (YY_BUFFER_STATE b );
  3116. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  3117. | void yypop_buffer_state (void );
  3118. |
  3119. | static void yyensure_buffer_stack (void );
  3120. | static void yy_load_buffer_state (void );
  3121. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  3122. |
  3123. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  3124. |
  3125. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  3126. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  3127. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
  3128. |
  3129. | void *yyalloc (yy_size_t );
  3130. | void *yyrealloc (void *,yy_size_t );
  3131. | void yyfree (void * );
  3132. |
  3133. | #define yy_new_buffer yy_create_buffer
  3134. |
  3135. | #define yy_set_interactive(is_interactive) \
  3136. | { \
  3137. | if ( ! YY_CURRENT_BUFFER ){ \
  3138. | yyensure_buffer_stack (); \
  3139. | YY_CURRENT_BUFFER_LVALUE = \
  3140. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  3141. | } \
  3142. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  3143. | }
  3144. |
  3145. | #define yy_set_bol(at_bol) \
  3146. | { \
  3147. | if ( ! YY_CURRENT_BUFFER ){\
  3148. | yyensure_buffer_stack (); \
  3149. | YY_CURRENT_BUFFER_LVALUE = \
  3150. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  3151. | } \
  3152. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  3153. | }
  3154. |
  3155. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  3156. |
  3157. | /* Begin user sect3 */
  3158. |
  3159. | typedef unsigned char YY_CHAR;
  3160. |
  3161. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  3162. |
  3163. | typedef int yy_state_type;
  3164. |
  3165. | extern int yylineno;
  3166. |
  3167. | int yylineno = 1;
  3168. |
  3169. | extern char *yytext;
  3170. | #define yytext_ptr yytext
  3171. |
  3172. | static yy_state_type yy_get_previous_state (void );
  3173. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  3174. | static int yy_get_next_buffer (void );
  3175. | static void yy_fatal_error (yyconst char msg[] );
  3176. |
  3177. | /* Done after the current pattern has been matched and before the
  3178. | * corresponding action - sets up yytext.
  3179. | */
  3180. | #define YY_DO_BEFORE_ACTION \
  3181. | (yytext_ptr) = yy_bp; \
  3182. | (yytext_ptr) -= (yy_more_len); \
  3183. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  3184. | (yy_hold_char) = *yy_cp; \
  3185. | *yy_cp = '\0'; \
  3186. | (yy_c_buf_p) = yy_cp;
  3187. |
  3188. | #define YY_NUM_RULES 8
  3189. | #define YY_END_OF_BUFFER 9
  3190. | /* This struct is not used in this scanner,
  3191. | but its presence is necessary. */
  3192. | struct yy_trans_info
  3193. | {
  3194. | flex_int32_t yy_verify;
  3195. | flex_int32_t yy_nxt;
  3196. | };
  3197. | static yyconst flex_int16_t yy_acclist[23] =
  3198. | { 0,
  3199. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  3200. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  3201. | 7, 8
  3202. | } ;
  3203. |
  3204. | static yyconst flex_int16_t yy_accept[14] =
  3205. | { 0,
  3206. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  3207. | 20, 23, 23
  3208. | } ;
  3209. |
  3210. | static yyconst flex_int32_t yy_ec[256] =
  3211. | { 0,
  3212. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  3213. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3214. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3215. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3216. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3217. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3218. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3219. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3220. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3221. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  3222. |
  3223. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  3224. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3225. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3226. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3227. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3228. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3229. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3230. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3231. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3232. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3233. |
  3234. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3235. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3236. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3237. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3238. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3239. | 1, 1, 1, 1, 1
  3240. | } ;
  3241. |
  3242. | static yyconst flex_int32_t yy_meta[9] =
  3243. | { 0,
  3244. | 1, 1, 1, 1, 1, 1, 1, 1
  3245. | } ;
  3246. |
  3247. | static yyconst flex_int16_t yy_base[13] =
  3248. | { 0,
  3249. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  3250. | 10, 10
  3251. | } ;
  3252. |
  3253. | static yyconst flex_int16_t yy_def[13] =
  3254. | { 0,
  3255. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  3256. | 12, 0
  3257. | } ;
  3258. |
  3259. | static yyconst flex_int16_t yy_nxt[19] =
  3260. | { 0,
  3261. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  3262. | 12, 12, 12, 12, 12, 12, 12, 12
  3263. | } ;
  3264. |
  3265. | static yyconst flex_int16_t yy_chk[19] =
  3266. | { 0,
  3267. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  3268. | 12, 12, 12, 12, 12, 12, 12, 12
  3269. | } ;
  3270. |
  3271. | extern int yy_flex_debug;
  3272. | int yy_flex_debug = 0;
  3273. |
  3274. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  3275. | static char *yy_full_match;
  3276. | static int yy_lp;
  3277. | #define REJECT \
  3278. | { \
  3279. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  3280. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  3281. | ++(yy_lp); \
  3282. | goto find_rule; \
  3283. | }
  3284. |
  3285. | static int yy_more_flag = 0;
  3286. | static int yy_more_len = 0;
  3287. | #define yymore() ((yy_more_flag) = 1)
  3288. | #define YY_MORE_ADJ (yy_more_len)
  3289. | #define YY_RESTORE_YY_MORE_OFFSET
  3290. | char *yytext;
  3291. | #line 1 "conftest.l"
  3292. | #line 477 "lex.yy.c"
  3293. |
  3294. | #define INITIAL 0
  3295. |
  3296. | #ifndef YY_NO_UNISTD_H
  3297. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  3298. | * down here because we want the user's section 1 to have been scanned first.
  3299. | * The user has a chance to override it with an option.
  3300. | */
  3301. | #include <unistd.h>
  3302. | #endif
  3303. |
  3304. | #ifndef YY_EXTRA_TYPE
  3305. | #define YY_EXTRA_TYPE void *
  3306. | #endif
  3307. |
  3308. | static int yy_init_globals (void );
  3309. |
  3310. | /* Accessor methods to globals.
  3311. | These are made visible to non-reentrant scanners for convenience. */
  3312. |
  3313. | int yylex_destroy (void );
  3314. |
  3315. | int yyget_debug (void );
  3316. |
  3317. | void yyset_debug (int debug_flag );
  3318. |
  3319. | YY_EXTRA_TYPE yyget_extra (void );
  3320. |
  3321. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  3322. |
  3323. | FILE *yyget_in (void );
  3324. |
  3325. | void yyset_in (FILE * in_str );
  3326. |
  3327. | FILE *yyget_out (void );
  3328. |
  3329. | void yyset_out (FILE * out_str );
  3330. |
  3331. | int yyget_leng (void );
  3332. |
  3333. | char *yyget_text (void );
  3334. |
  3335. | int yyget_lineno (void );
  3336. |
  3337. | void yyset_lineno (int line_number );
  3338. |
  3339. | /* Macros after this point can all be overridden by user definitions in
  3340. | * section 1.
  3341. | */
  3342. |
  3343. | #ifndef YY_SKIP_YYWRAP
  3344. | #ifdef __cplusplus
  3345. | extern "C" int yywrap (void );
  3346. | #else
  3347. | extern int yywrap (void );
  3348. | #endif
  3349. | #endif
  3350. |
  3351. | static void yyunput (int c,char *buf_ptr );
  3352. |
  3353. | #ifndef yytext_ptr
  3354. | static void yy_flex_strncpy (char *,yyconst char *,int );
  3355. | #endif
  3356. |
  3357. | #ifdef YY_NEED_STRLEN
  3358. | static int yy_flex_strlen (yyconst char * );
  3359. | #endif
  3360. |
  3361. | #ifndef YY_NO_INPUT
  3362. |
  3363. | #ifdef __cplusplus
  3364. | static int yyinput (void );
  3365. | #else
  3366. | static int input (void );
  3367. | #endif
  3368. |
  3369. | #endif
  3370. |
  3371. | /* Amount of stuff to slurp up with each read. */
  3372. | #ifndef YY_READ_BUF_SIZE
  3373. | #ifdef __ia64__
  3374. | /* On IA-64, the buffer size is 16k, not 8k */
  3375. | #define YY_READ_BUF_SIZE 16384
  3376. | #else
  3377. | #define YY_READ_BUF_SIZE 8192
  3378. | #endif /* __ia64__ */
  3379. | #endif
  3380. |
  3381. | /* Copy whatever the last rule matched to the standard output. */
  3382. | #ifndef ECHO
  3383. | /* This used to be an fputs(), but since the string might contain NUL's,
  3384. | * we now use fwrite().
  3385. | */
  3386. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  3387. | #endif
  3388. |
  3389. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  3390. | * is returned in "result".
  3391. | */
  3392. | #ifndef YY_INPUT
  3393. | #define YY_INPUT(buf,result,max_size) \
  3394. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  3395. | { \
  3396. | int c = '*'; \
  3397. | size_t n; \
  3398. | for ( n = 0; n < max_size && \
  3399. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  3400. | buf[n] = (char) c; \
  3401. | if ( c == '\n' ) \
  3402. | buf[n++] = (char) c; \
  3403. | if ( c == EOF && ferror( yyin ) ) \
  3404. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  3405. | result = n; \
  3406. | } \
  3407. | else \
  3408. | { \
  3409. | errno=0; \
  3410. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  3411. | { \
  3412. | if( errno != EINTR) \
  3413. | { \
  3414. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  3415. | break; \
  3416. | } \
  3417. | errno=0; \
  3418. | clearerr(yyin); \
  3419. | } \
  3420. | }\
  3421. | \
  3422. |
  3423. | #endif
  3424. |
  3425. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  3426. | * we don't want an extra ';' after the "return" because that will cause
  3427. | * some compilers to complain about unreachable statements.
  3428. | */
  3429. | #ifndef yyterminate
  3430. | #define yyterminate() return YY_NULL
  3431. | #endif
  3432. |
  3433. | /* Number of entries by which start-condition stack grows. */
  3434. | #ifndef YY_START_STACK_INCR
  3435. | #define YY_START_STACK_INCR 25
  3436. | #endif
  3437. |
  3438. | /* Report a fatal error. */
  3439. | #ifndef YY_FATAL_ERROR
  3440. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  3441. | #endif
  3442. |
  3443. | /* end tables serialization structures and prototypes */
  3444. |
  3445. | /* Default declaration of generated scanner - a define so the user can
  3446. | * easily add parameters.
  3447. | */
  3448. | #ifndef YY_DECL
  3449. | #define YY_DECL_IS_OURS 1
  3450. |
  3451. | extern int yylex (void);
  3452. |
  3453. | #define YY_DECL int yylex (void)
  3454. | #endif /* !YY_DECL */
  3455. |
  3456. | /* Code executed at the beginning of each rule, after yytext and yyleng
  3457. | * have been set up.
  3458. | */
  3459. | #ifndef YY_USER_ACTION
  3460. | #define YY_USER_ACTION
  3461. | #endif
  3462. |
  3463. | /* Code executed at the end of each rule. */
  3464. | #ifndef YY_BREAK
  3465. | #define YY_BREAK break;
  3466. | #endif
  3467. |
  3468. | #define YY_RULE_SETUP \
  3469. | YY_USER_ACTION
  3470. |
  3471. | /** The main scanner function which does all the work.
  3472. | */
  3473. | YY_DECL
  3474. | {
  3475. | register yy_state_type yy_current_state;
  3476. | register char *yy_cp, *yy_bp;
  3477. | register int yy_act;
  3478. |
  3479. | #line 1 "conftest.l"
  3480. |
  3481. | #line 666 "lex.yy.c"
  3482. |
  3483. | if ( !(yy_init) )
  3484. | {
  3485. | (yy_init) = 1;
  3486. |
  3487. | #ifdef YY_USER_INIT
  3488. | YY_USER_INIT;
  3489. | #endif
  3490. |
  3491. | /* Create the reject buffer large enough to save one state per allowed character. */
  3492. | if ( ! (yy_state_buf) )
  3493. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  3494. | if ( ! (yy_state_buf) )
  3495. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  3496. |
  3497. | if ( ! (yy_start) )
  3498. | (yy_start) = 1; /* first start state */
  3499. |
  3500. | if ( ! yyin )
  3501. | yyin = stdin;
  3502. |
  3503. | if ( ! yyout )
  3504. | yyout = stdout;
  3505. |
  3506. | if ( ! YY_CURRENT_BUFFER ) {
  3507. | yyensure_buffer_stack ();
  3508. | YY_CURRENT_BUFFER_LVALUE =
  3509. | yy_create_buffer(yyin,YY_BUF_SIZE );
  3510. | }
  3511. |
  3512. | yy_load_buffer_state( );
  3513. | }
  3514. |
  3515. | while ( 1 ) /* loops until end-of-file is reached */
  3516. | {
  3517. | (yy_more_len) = 0;
  3518. | if ( (yy_more_flag) )
  3519. | {
  3520. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  3521. | (yy_more_flag) = 0;
  3522. | }
  3523. | yy_cp = (yy_c_buf_p);
  3524. |
  3525. | /* Support of yytext. */
  3526. | *yy_cp = (yy_hold_char);
  3527. |
  3528. | /* yy_bp points to the position in yy_ch_buf of the start of
  3529. | * the current run.
  3530. | */
  3531. | yy_bp = yy_cp;
  3532. |
  3533. | yy_current_state = (yy_start);
  3534. |
  3535. | (yy_state_ptr) = (yy_state_buf);
  3536. | *(yy_state_ptr)++ = yy_current_state;
  3537. |
  3538. | yy_match:
  3539. | do
  3540. | {
  3541. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  3542. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3543. | {
  3544. | yy_current_state = (int) yy_def[yy_current_state];
  3545. | if ( yy_current_state >= 13 )
  3546. | yy_c = yy_meta[(unsigned int) yy_c];
  3547. | }
  3548. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3549. | *(yy_state_ptr)++ = yy_current_state;
  3550. | ++yy_cp;
  3551. | }
  3552. | while ( yy_base[yy_current_state] != 10 );
  3553. |
  3554. | yy_find_action:
  3555. | yy_current_state = *--(yy_state_ptr);
  3556. | (yy_lp) = yy_accept[yy_current_state];
  3557. | find_rule: /* we branch to this label when backing up */
  3558. | for ( ; ; ) /* until we find what rule we matched */
  3559. | {
  3560. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  3561. | {
  3562. | yy_act = yy_acclist[(yy_lp)];
  3563. | {
  3564. | (yy_full_match) = yy_cp;
  3565. | break;
  3566. | }
  3567. | }
  3568. | --yy_cp;
  3569. | yy_current_state = *--(yy_state_ptr);
  3570. | (yy_lp) = yy_accept[yy_current_state];
  3571. | }
  3572. |
  3573. | YY_DO_BEFORE_ACTION;
  3574. |
  3575. | do_action: /* This label is used only to access EOF actions. */
  3576. |
  3577. | switch ( yy_act )
  3578. | { /* beginning of action switch */
  3579. | case 1:
  3580. | YY_RULE_SETUP
  3581. | #line 2 "conftest.l"
  3582. | { ECHO; }
  3583. | YY_BREAK
  3584. | case 2:
  3585. | YY_RULE_SETUP
  3586. | #line 3 "conftest.l"
  3587. | { REJECT; }
  3588. | YY_BREAK
  3589. | case 3:
  3590. | YY_RULE_SETUP
  3591. | #line 4 "conftest.l"
  3592. | { yymore (); }
  3593. | YY_BREAK
  3594. | case 4:
  3595. | YY_RULE_SETUP
  3596. | #line 5 "conftest.l"
  3597. | { yyless (1); }
  3598. | YY_BREAK
  3599. | case 5:
  3600. | YY_RULE_SETUP
  3601. | #line 6 "conftest.l"
  3602. | { yyless (input () != 0); }
  3603. | YY_BREAK
  3604. | case 6:
  3605. | YY_RULE_SETUP
  3606. | #line 7 "conftest.l"
  3607. | { unput (yytext[0]); }
  3608. | YY_BREAK
  3609. | case 7:
  3610. | YY_RULE_SETUP
  3611. | #line 8 "conftest.l"
  3612. | { BEGIN INITIAL; }
  3613. | YY_BREAK
  3614. | case 8:
  3615. | YY_RULE_SETUP
  3616. | #line 9 "conftest.l"
  3617. | ECHO;
  3618. | YY_BREAK
  3619. | #line 804 "lex.yy.c"
  3620. | case YY_STATE_EOF(INITIAL):
  3621. | yyterminate();
  3622. |
  3623. | case YY_END_OF_BUFFER:
  3624. | {
  3625. | /* Amount of text matched not including the EOB char. */
  3626. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  3627. |
  3628. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  3629. | *yy_cp = (yy_hold_char);
  3630. | YY_RESTORE_YY_MORE_OFFSET
  3631. |
  3632. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  3633. | {
  3634. | /* We're scanning a new file or input source. It's
  3635. | * possible that this happened because the user
  3636. | * just pointed yyin at a new source and called
  3637. | * yylex(). If so, then we have to assure
  3638. | * consistency between YY_CURRENT_BUFFER and our
  3639. | * globals. Here is the right place to do so, because
  3640. | * this is the first action (other than possibly a
  3641. | * back-up) that will match for the new input source.
  3642. | */
  3643. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3644. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  3645. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  3646. | }
  3647. |
  3648. | /* Note that here we test for yy_c_buf_p "<=" to the position
  3649. | * of the first EOB in the buffer, since yy_c_buf_p will
  3650. | * already have been incremented past the NUL character
  3651. | * (since all states make transitions on EOB to the
  3652. | * end-of-buffer state). Contrast this with the test
  3653. | * in input().
  3654. | */
  3655. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3656. | { /* This was really a NUL. */
  3657. | yy_state_type yy_next_state;
  3658. |
  3659. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  3660. |
  3661. | yy_current_state = yy_get_previous_state( );
  3662. |
  3663. | /* Okay, we're now positioned to make the NUL
  3664. | * transition. We couldn't have
  3665. | * yy_get_previous_state() go ahead and do it
  3666. | * for us because it doesn't know how to deal
  3667. | * with the possibility of jamming (and we don't
  3668. | * want to build jamming into it because then it
  3669. | * will run more slowly).
  3670. | */
  3671. |
  3672. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  3673. |
  3674. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3675. |
  3676. | if ( yy_next_state )
  3677. | {
  3678. | /* Consume the NUL. */
  3679. | yy_cp = ++(yy_c_buf_p);
  3680. | yy_current_state = yy_next_state;
  3681. | goto yy_match;
  3682. | }
  3683. |
  3684. | else
  3685. | {
  3686. | yy_cp = (yy_c_buf_p);
  3687. | goto yy_find_action;
  3688. | }
  3689. | }
  3690. |
  3691. | else switch ( yy_get_next_buffer( ) )
  3692. | {
  3693. | case EOB_ACT_END_OF_FILE:
  3694. | {
  3695. | (yy_did_buffer_switch_on_eof) = 0;
  3696. |
  3697. | if ( yywrap( ) )
  3698. | {
  3699. | /* Note: because we've taken care in
  3700. | * yy_get_next_buffer() to have set up
  3701. | * yytext, we can now set up
  3702. | * yy_c_buf_p so that if some total
  3703. | * hoser (like flex itself) wants to
  3704. | * call the scanner after we return the
  3705. | * YY_NULL, it'll still work - another
  3706. | * YY_NULL will get returned.
  3707. | */
  3708. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  3709. |
  3710. | yy_act = YY_STATE_EOF(YY_START);
  3711. | goto do_action;
  3712. | }
  3713. |
  3714. | else
  3715. | {
  3716. | if ( ! (yy_did_buffer_switch_on_eof) )
  3717. | YY_NEW_FILE;
  3718. | }
  3719. | break;
  3720. | }
  3721. |
  3722. | case EOB_ACT_CONTINUE_SCAN:
  3723. | (yy_c_buf_p) =
  3724. | (yytext_ptr) + yy_amount_of_matched_text;
  3725. |
  3726. | yy_current_state = yy_get_previous_state( );
  3727. |
  3728. | yy_cp = (yy_c_buf_p);
  3729. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3730. | goto yy_match;
  3731. |
  3732. | case EOB_ACT_LAST_MATCH:
  3733. | (yy_c_buf_p) =
  3734. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  3735. |
  3736. | yy_current_state = yy_get_previous_state( );
  3737. |
  3738. | yy_cp = (yy_c_buf_p);
  3739. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3740. | goto yy_find_action;
  3741. | }
  3742. | break;
  3743. | }
  3744. |
  3745. | default:
  3746. | YY_FATAL_ERROR(
  3747. | "fatal flex scanner internal error--no action found" );
  3748. | } /* end of action switch */
  3749. | } /* end of scanning one token */
  3750. | } /* end of yylex */
  3751. |
  3752. | /* yy_get_next_buffer - try to read in a new buffer
  3753. | *
  3754. | * Returns a code representing an action:
  3755. | * EOB_ACT_LAST_MATCH -
  3756. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  3757. | * EOB_ACT_END_OF_FILE - end of file
  3758. | */
  3759. | static int yy_get_next_buffer (void)
  3760. | {
  3761. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  3762. | register char *source = (yytext_ptr);
  3763. | register int number_to_move, i;
  3764. | int ret_val;
  3765. |
  3766. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  3767. | YY_FATAL_ERROR(
  3768. | "fatal flex scanner internal error--end of buffer missed" );
  3769. |
  3770. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  3771. | { /* Don't try to fill the buffer, so this is an EOF. */
  3772. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  3773. | {
  3774. | /* We matched a single character, the EOB, so
  3775. | * treat this as a final EOF.
  3776. | */
  3777. | return EOB_ACT_END_OF_FILE;
  3778. | }
  3779. |
  3780. | else
  3781. | {
  3782. | /* We matched some text prior to the EOB, first
  3783. | * process it.
  3784. | */
  3785. | return EOB_ACT_LAST_MATCH;
  3786. | }
  3787. | }
  3788. |
  3789. | /* Try to read more data. */
  3790. |
  3791. | /* First move last chars to start of buffer. */
  3792. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  3793. |
  3794. | for ( i = 0; i < number_to_move; ++i )
  3795. | *(dest++) = *(source++);
  3796. |
  3797. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  3798. | /* don't do the read, it's not guaranteed to return an EOF,
  3799. | * just force an EOF
  3800. | */
  3801. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  3802. |
  3803. | else
  3804. | {
  3805. | int num_to_read =
  3806. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  3807. |
  3808. | while ( num_to_read <= 0 )
  3809. | { /* Not enough room in the buffer - grow it. */
  3810. |
  3811. | YY_FATAL_ERROR(
  3812. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  3813. |
  3814. | }
  3815. |
  3816. | if ( num_to_read > YY_READ_BUF_SIZE )
  3817. | num_to_read = YY_READ_BUF_SIZE;
  3818. |
  3819. | /* Read in more data. */
  3820. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  3821. | (yy_n_chars), (size_t) num_to_read );
  3822. |
  3823. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3824. | }
  3825. |
  3826. | if ( (yy_n_chars) == 0 )
  3827. | {
  3828. | if ( number_to_move == YY_MORE_ADJ )
  3829. | {
  3830. | ret_val = EOB_ACT_END_OF_FILE;
  3831. | yyrestart(yyin );
  3832. | }
  3833. |
  3834. | else
  3835. | {
  3836. | ret_val = EOB_ACT_LAST_MATCH;
  3837. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  3838. | YY_BUFFER_EOF_PENDING;
  3839. | }
  3840. | }
  3841. |
  3842. | else
  3843. | ret_val = EOB_ACT_CONTINUE_SCAN;
  3844. |
  3845. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  3846. | /* Extend the array by 50%, plus the number we really need. */
  3847. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  3848. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  3849. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3850. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  3851. | }
  3852. |
  3853. | (yy_n_chars) += number_to_move;
  3854. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  3855. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  3856. |
  3857. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  3858. |
  3859. | return ret_val;
  3860. | }
  3861. |
  3862. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  3863. |
  3864. | static yy_state_type yy_get_previous_state (void)
  3865. | {
  3866. | register yy_state_type yy_current_state;
  3867. | register char *yy_cp;
  3868. |
  3869. | yy_current_state = (yy_start);
  3870. |
  3871. | (yy_state_ptr) = (yy_state_buf);
  3872. | *(yy_state_ptr)++ = yy_current_state;
  3873. |
  3874. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  3875. | {
  3876. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3877. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3878. | {
  3879. | yy_current_state = (int) yy_def[yy_current_state];
  3880. | if ( yy_current_state >= 13 )
  3881. | yy_c = yy_meta[(unsigned int) yy_c];
  3882. | }
  3883. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3884. | *(yy_state_ptr)++ = yy_current_state;
  3885. | }
  3886. |
  3887. | return yy_current_state;
  3888. | }
  3889. |
  3890. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  3891. | *
  3892. | * synopsis
  3893. | * next_state = yy_try_NUL_trans( current_state );
  3894. | */
  3895. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  3896. | {
  3897. | register int yy_is_jam;
  3898. |
  3899. | register YY_CHAR yy_c = 1;
  3900. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3901. | {
  3902. | yy_current_state = (int) yy_def[yy_current_state];
  3903. | if ( yy_current_state >= 13 )
  3904. | yy_c = yy_meta[(unsigned int) yy_c];
  3905. | }
  3906. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3907. | yy_is_jam = (yy_current_state == 12);
  3908. | if ( ! yy_is_jam )
  3909. | *(yy_state_ptr)++ = yy_current_state;
  3910. |
  3911. | return yy_is_jam ? 0 : yy_current_state;
  3912. | }
  3913. |
  3914. | static void yyunput (int c, register char * yy_bp )
  3915. | {
  3916. | register char *yy_cp;
  3917. |
  3918. | yy_cp = (yy_c_buf_p);
  3919. |
  3920. | /* undo effects of setting up yytext */
  3921. | *yy_cp = (yy_hold_char);
  3922. |
  3923. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3924. | { /* need to shift things up to make room */
  3925. | /* +2 for EOB chars. */
  3926. | register int number_to_move = (yy_n_chars) + 2;
  3927. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  3928. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  3929. | register char *source =
  3930. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  3931. |
  3932. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3933. | *--dest = *--source;
  3934. |
  3935. | yy_cp += (int) (dest - source);
  3936. | yy_bp += (int) (dest - source);
  3937. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  3938. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  3939. |
  3940. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3941. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  3942. | }
  3943. |
  3944. | *--yy_cp = (char) c;
  3945. |
  3946. | (yytext_ptr) = yy_bp;
  3947. | (yy_hold_char) = *yy_cp;
  3948. | (yy_c_buf_p) = yy_cp;
  3949. | }
  3950. |
  3951. | #ifndef YY_NO_INPUT
  3952. | #ifdef __cplusplus
  3953. | static int yyinput (void)
  3954. | #else
  3955. | static int input (void)
  3956. | #endif
  3957. |
  3958. | {
  3959. | int c;
  3960. |
  3961. | *(yy_c_buf_p) = (yy_hold_char);
  3962. |
  3963. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  3964. | {
  3965. | /* yy_c_buf_p now points to the character we want to return.
  3966. | * If this occurs *before* the EOB characters, then it's a
  3967. | * valid NUL; if not, then we've hit the end of the buffer.
  3968. | */
  3969. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3970. | /* This was really a NUL. */
  3971. | *(yy_c_buf_p) = '\0';
  3972. |
  3973. | else
  3974. | { /* need more input */
  3975. | int offset = (yy_c_buf_p) - (yytext_ptr);
  3976. | ++(yy_c_buf_p);
  3977. |
  3978. | switch ( yy_get_next_buffer( ) )
  3979. | {
  3980. | case EOB_ACT_LAST_MATCH:
  3981. | /* This happens because yy_g_n_b()
  3982. | * sees that we've accumulated a
  3983. | * token and flags that we need to
  3984. | * try matching the token before
  3985. | * proceeding. But for input(),
  3986. | * there's no matching to consider.
  3987. | * So convert the EOB_ACT_LAST_MATCH
  3988. | * to EOB_ACT_END_OF_FILE.
  3989. | */
  3990. |
  3991. | /* Reset buffer status. */
  3992. | yyrestart(yyin );
  3993. |
  3994. | /*FALLTHROUGH*/
  3995. |
  3996. | case EOB_ACT_END_OF_FILE:
  3997. | {
  3998. | if ( yywrap( ) )
  3999. | return EOF;
  4000. |
  4001. | if ( ! (yy_did_buffer_switch_on_eof) )
  4002. | YY_NEW_FILE;
  4003. | #ifdef __cplusplus
  4004. | return yyinput();
  4005. | #else
  4006. | return input();
  4007. | #endif
  4008. | }
  4009. |
  4010. | case EOB_ACT_CONTINUE_SCAN:
  4011. | (yy_c_buf_p) = (yytext_ptr) + offset;
  4012. | break;
  4013. | }
  4014. | }
  4015. | }
  4016. |
  4017. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  4018. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  4019. | (yy_hold_char) = *++(yy_c_buf_p);
  4020. |
  4021. | return c;
  4022. | }
  4023. | #endif /* ifndef YY_NO_INPUT */
  4024. |
  4025. | /** Immediately switch to a different input stream.
  4026. | * @param input_file A readable stream.
  4027. | *
  4028. | * @note This function does not reset the start condition to @c INITIAL .
  4029. | */
  4030. | void yyrestart (FILE * input_file )
  4031. | {
  4032. |
  4033. | if ( ! YY_CURRENT_BUFFER ){
  4034. | yyensure_buffer_stack ();
  4035. | YY_CURRENT_BUFFER_LVALUE =
  4036. | yy_create_buffer(yyin,YY_BUF_SIZE );
  4037. | }
  4038. |
  4039. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  4040. | yy_load_buffer_state( );
  4041. | }
  4042. |
  4043. | /** Switch to a different input buffer.
  4044. | * @param new_buffer The new input buffer.
  4045. | *
  4046. | */
  4047. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  4048. | {
  4049. |
  4050. | /* TODO. We should be able to replace this entire function body
  4051. | * with
  4052. | * yypop_buffer_state();
  4053. | * yypush_buffer_state(new_buffer);
  4054. | */
  4055. | yyensure_buffer_stack ();
  4056. | if ( YY_CURRENT_BUFFER == new_buffer )
  4057. | return;
  4058. |
  4059. | if ( YY_CURRENT_BUFFER )
  4060. | {
  4061. | /* Flush out information for old buffer. */
  4062. | *(yy_c_buf_p) = (yy_hold_char);
  4063. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  4064. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  4065. | }
  4066. |
  4067. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  4068. | yy_load_buffer_state( );
  4069. |
  4070. | /* We don't actually know whether we did this switch during
  4071. | * EOF (yywrap()) processing, but the only time this flag
  4072. | * is looked at is after yywrap() is called, so it's safe
  4073. | * to go ahead and always set it.
  4074. | */
  4075. | (yy_did_buffer_switch_on_eof) = 1;
  4076. | }
  4077. |
  4078. | static void yy_load_buffer_state (void)
  4079. | {
  4080. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  4081. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  4082. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  4083. | (yy_hold_char) = *(yy_c_buf_p);
  4084. | }
  4085. |
  4086. | /** Allocate and initialize an input buffer state.
  4087. | * @param file A readable stream.
  4088. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  4089. | *
  4090. | * @return the allocated buffer state.
  4091. | */
  4092. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  4093. | {
  4094. | YY_BUFFER_STATE b;
  4095. |
  4096. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  4097. | if ( ! b )
  4098. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  4099. |
  4100. | b->yy_buf_size = size;
  4101. |
  4102. | /* yy_ch_buf has to be 2 characters longer than the size given because
  4103. | * we need to put in 2 end-of-buffer characters.
  4104. | */
  4105. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  4106. | if ( ! b->yy_ch_buf )
  4107. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  4108. |
  4109. | b->yy_is_our_buffer = 1;
  4110. |
  4111. | yy_init_buffer(b,file );
  4112. |
  4113. | return b;
  4114. | }
  4115. |
  4116. | /** Destroy the buffer.
  4117. | * @param b a buffer created with yy_create_buffer()
  4118. | *
  4119. | */
  4120. | void yy_delete_buffer (YY_BUFFER_STATE b )
  4121. | {
  4122. |
  4123. | if ( ! b )
  4124. | return;
  4125. |
  4126. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  4127. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  4128. |
  4129. | if ( b->yy_is_our_buffer )
  4130. | yyfree((void *) b->yy_ch_buf );
  4131. |
  4132. | yyfree((void *) b );
  4133. | }
  4134. |
  4135. | #ifndef __cplusplus
  4136. | extern int isatty (int );
  4137. | #endif /* __cplusplus */
  4138. |
  4139. | /* Initializes or reinitializes a buffer.
  4140. | * This function is sometimes called more than once on the same buffer,
  4141. | * such as during a yyrestart() or at EOF.
  4142. | */
  4143. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  4144. |
  4145. | {
  4146. | int oerrno = errno;
  4147. |
  4148. | yy_flush_buffer(b );
  4149. |
  4150. | b->yy_input_file = file;
  4151. | b->yy_fill_buffer = 1;
  4152. |
  4153. | /* If b is the current buffer, then yy_init_buffer was _probably_
  4154. | * called from yyrestart() or through yy_get_next_buffer.
  4155. | * In that case, we don't want to reset the lineno or column.
  4156. | */
  4157. | if (b != YY_CURRENT_BUFFER){
  4158. | b->yy_bs_lineno = 1;
  4159. | b->yy_bs_column = 0;
  4160. | }
  4161. |
  4162. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  4163. |
  4164. | errno = oerrno;
  4165. | }
  4166. |
  4167. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  4168. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  4169. | *
  4170. | */
  4171. | void yy_flush_buffer (YY_BUFFER_STATE b )
  4172. | {
  4173. | if ( ! b )
  4174. | return;
  4175. |
  4176. | b->yy_n_chars = 0;
  4177. |
  4178. | /* We always need two end-of-buffer characters. The first causes
  4179. | * a transition to the end-of-buffer state. The second causes
  4180. | * a jam in that state.
  4181. | */
  4182. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  4183. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  4184. |
  4185. | b->yy_buf_pos = &b->yy_ch_buf[0];
  4186. |
  4187. | b->yy_at_bol = 1;
  4188. | b->yy_buffer_status = YY_BUFFER_NEW;
  4189. |
  4190. | if ( b == YY_CURRENT_BUFFER )
  4191. | yy_load_buffer_state( );
  4192. | }
  4193. |
  4194. | /** Pushes the new state onto the stack. The new state becomes
  4195. | * the current state. This function will allocate the stack
  4196. | * if necessary.
  4197. | * @param new_buffer The new state.
  4198. | *
  4199. | */
  4200. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  4201. | {
  4202. | if (new_buffer == NULL)
  4203. | return;
  4204. |
  4205. | yyensure_buffer_stack();
  4206. |
  4207. | /* This block is copied from yy_switch_to_buffer. */
  4208. | if ( YY_CURRENT_BUFFER )
  4209. | {
  4210. | /* Flush out information for old buffer. */
  4211. | *(yy_c_buf_p) = (yy_hold_char);
  4212. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  4213. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  4214. | }
  4215. |
  4216. | /* Only push if top exists. Otherwise, replace top. */
  4217. | if (YY_CURRENT_BUFFER)
  4218. | (yy_buffer_stack_top)++;
  4219. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  4220. |
  4221. | /* copied from yy_switch_to_buffer. */
  4222. | yy_load_buffer_state( );
  4223. | (yy_did_buffer_switch_on_eof) = 1;
  4224. | }
  4225. |
  4226. | /** Removes and deletes the top of the stack, if present.
  4227. | * The next element becomes the new top.
  4228. | *
  4229. | */
  4230. | void yypop_buffer_state (void)
  4231. | {
  4232. | if (!YY_CURRENT_BUFFER)
  4233. | return;
  4234. |
  4235. | yy_delete_buffer(YY_CURRENT_BUFFER );
  4236. | YY_CURRENT_BUFFER_LVALUE = NULL;
  4237. | if ((yy_buffer_stack_top) > 0)
  4238. | --(yy_buffer_stack_top);
  4239. |
  4240. | if (YY_CURRENT_BUFFER) {
  4241. | yy_load_buffer_state( );
  4242. | (yy_did_buffer_switch_on_eof) = 1;
  4243. | }
  4244. | }
  4245. |
  4246. | /* Allocates the stack if it does not exist.
  4247. | * Guarantees space for at least one push.
  4248. | */
  4249. | static void yyensure_buffer_stack (void)
  4250. | {
  4251. | int num_to_alloc;
  4252. |
  4253. | if (!(yy_buffer_stack)) {
  4254. |
  4255. | /* First allocation is just for 2 elements, since we don't know if this
  4256. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  4257. | * immediate realloc on the next call.
  4258. | */
  4259. | num_to_alloc = 1;
  4260. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  4261. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  4262. | );
  4263. | if ( ! (yy_buffer_stack) )
  4264. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  4265. |
  4266. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  4267. |
  4268. | (yy_buffer_stack_max) = num_to_alloc;
  4269. | (yy_buffer_stack_top) = 0;
  4270. | return;
  4271. | }
  4272. |
  4273. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  4274. |
  4275. | /* Increase the buffer to prepare for a possible push. */
  4276. | int grow_size = 8 /* arbitrary grow size */;
  4277. |
  4278. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  4279. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  4280. | ((yy_buffer_stack),
  4281. | num_to_alloc * sizeof(struct yy_buffer_state*)
  4282. | );
  4283. | if ( ! (yy_buffer_stack) )
  4284. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  4285. |
  4286. | /* zero only the new slots.*/
  4287. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  4288. | (yy_buffer_stack_max) = num_to_alloc;
  4289. | }
  4290. | }
  4291. |
  4292. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  4293. | * @param base the character buffer
  4294. | * @param size the size in bytes of the character buffer
  4295. | *
  4296. | * @return the newly allocated buffer state object.
  4297. | */
  4298. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  4299. | {
  4300. | YY_BUFFER_STATE b;
  4301. |
  4302. | if ( size < 2 ||
  4303. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  4304. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  4305. | /* They forgot to leave room for the EOB's. */
  4306. | return 0;
  4307. |
  4308. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  4309. | if ( ! b )
  4310. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  4311. |
  4312. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  4313. | b->yy_buf_pos = b->yy_ch_buf = base;
  4314. | b->yy_is_our_buffer = 0;
  4315. | b->yy_input_file = 0;
  4316. | b->yy_n_chars = b->yy_buf_size;
  4317. | b->yy_is_interactive = 0;
  4318. | b->yy_at_bol = 1;
  4319. | b->yy_fill_buffer = 0;
  4320. | b->yy_buffer_status = YY_BUFFER_NEW;
  4321. |
  4322. | yy_switch_to_buffer(b );
  4323. |
  4324. | return b;
  4325. | }
  4326. |
  4327. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  4328. | * scan from a @e copy of @a str.
  4329. | * @param yystr a NUL-terminated string to scan
  4330. | *
  4331. | * @return the newly allocated buffer state object.
  4332. | * @note If you want to scan bytes that may contain NUL values, then use
  4333. | * yy_scan_bytes() instead.
  4334. | */
  4335. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  4336. | {
  4337. |
  4338. | return yy_scan_bytes(yystr,strlen(yystr) );
  4339. | }
  4340. |
  4341. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  4342. | * scan from a @e copy of @a bytes.
  4343. | * @param yybytes the byte buffer to scan
  4344. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  4345. | *
  4346. | * @return the newly allocated buffer state object.
  4347. | */
  4348. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
  4349. | {
  4350. | YY_BUFFER_STATE b;
  4351. | char *buf;
  4352. | yy_size_t n;
  4353. | int i;
  4354. |
  4355. | /* Get memory for full buffer, including space for trailing EOB's. */
  4356. | n = _yybytes_len + 2;
  4357. | buf = (char *) yyalloc(n );
  4358. | if ( ! buf )
  4359. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  4360. |
  4361. | for ( i = 0; i < _yybytes_len; ++i )
  4362. | buf[i] = yybytes[i];
  4363. |
  4364. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  4365. |
  4366. | b = yy_scan_buffer(buf,n );
  4367. | if ( ! b )
  4368. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  4369. |
  4370. | /* It's okay to grow etc. this buffer, and we should throw it
  4371. | * away when we're done.
  4372. | */
  4373. | b->yy_is_our_buffer = 1;
  4374. |
  4375. | return b;
  4376. | }
  4377. |
  4378. | #ifndef YY_EXIT_FAILURE
  4379. | #define YY_EXIT_FAILURE 2
  4380. | #endif
  4381. |
  4382. | static void yy_fatal_error (yyconst char* msg )
  4383. | {
  4384. | (void) fprintf( stderr, "%s\n", msg );
  4385. | exit( YY_EXIT_FAILURE );
  4386. | }
  4387. |
  4388. | /* Redefine yyless() so it works in section 3 code. */
  4389. |
  4390. | #undef yyless
  4391. | #define yyless(n) \
  4392. | do \
  4393. | { \
  4394. | /* Undo effects of setting up yytext. */ \
  4395. | int yyless_macro_arg = (n); \
  4396. | YY_LESS_LINENO(yyless_macro_arg);\
  4397. | yytext[yyleng] = (yy_hold_char); \
  4398. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  4399. | (yy_hold_char) = *(yy_c_buf_p); \
  4400. | *(yy_c_buf_p) = '\0'; \
  4401. | yyleng = yyless_macro_arg; \
  4402. | } \
  4403. | while ( 0 )
  4404. |
  4405. | /* Accessor methods (get/set functions) to struct members. */
  4406. |
  4407. | /** Get the current line number.
  4408. | *
  4409. | */
  4410. | int yyget_lineno (void)
  4411. | {
  4412. |
  4413. | return yylineno;
  4414. | }
  4415. |
  4416. | /** Get the input stream.
  4417. | *
  4418. | */
  4419. | FILE *yyget_in (void)
  4420. | {
  4421. | return yyin;
  4422. | }
  4423. |
  4424. | /** Get the output stream.
  4425. | *
  4426. | */
  4427. | FILE *yyget_out (void)
  4428. | {
  4429. | return yyout;
  4430. | }
  4431. |
  4432. | /** Get the length of the current token.
  4433. | *
  4434. | */
  4435. | int yyget_leng (void)
  4436. | {
  4437. | return yyleng;
  4438. | }
  4439. |
  4440. | /** Get the current token.
  4441. | *
  4442. | */
  4443. |
  4444. | char *yyget_text (void)
  4445. | {
  4446. | return yytext;
  4447. | }
  4448. |
  4449. | /** Set the current line number.
  4450. | * @param line_number
  4451. | *
  4452. | */
  4453. | void yyset_lineno (int line_number )
  4454. | {
  4455. |
  4456. | yylineno = line_number;
  4457. | }
  4458. |
  4459. | /** Set the input stream. This does not discard the current
  4460. | * input buffer.
  4461. | * @param in_str A readable stream.
  4462. | *
  4463. | * @see yy_switch_to_buffer
  4464. | */
  4465. | void yyset_in (FILE * in_str )
  4466. | {
  4467. | yyin = in_str ;
  4468. | }
  4469. |
  4470. | void yyset_out (FILE * out_str )
  4471. | {
  4472. | yyout = out_str ;
  4473. | }
  4474. |
  4475. | int yyget_debug (void)
  4476. | {
  4477. | return yy_flex_debug;
  4478. | }
  4479. |
  4480. | void yyset_debug (int bdebug )
  4481. | {
  4482. | yy_flex_debug = bdebug ;
  4483. | }
  4484. |
  4485. | static int yy_init_globals (void)
  4486. | {
  4487. | /* Initialization is the same as for the non-reentrant scanner.
  4488. | * This function is called from yylex_destroy(), so don't allocate here.
  4489. | */
  4490. |
  4491. | (yy_buffer_stack) = 0;
  4492. | (yy_buffer_stack_top) = 0;
  4493. | (yy_buffer_stack_max) = 0;
  4494. | (yy_c_buf_p) = (char *) 0;
  4495. | (yy_init) = 0;
  4496. | (yy_start) = 0;
  4497. |
  4498. | (yy_state_buf) = 0;
  4499. | (yy_state_ptr) = 0;
  4500. | (yy_full_match) = 0;
  4501. | (yy_lp) = 0;
  4502. |
  4503. | /* Defined in main.c */
  4504. | #ifdef YY_STDINIT
  4505. | yyin = stdin;
  4506. | yyout = stdout;
  4507. | #else
  4508. | yyin = (FILE *) 0;
  4509. | yyout = (FILE *) 0;
  4510. | #endif
  4511. |
  4512. | /* For future reference: Set errno on error, since we are called by
  4513. | * yylex_init()
  4514. | */
  4515. | return 0;
  4516. | }
  4517. |
  4518. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  4519. | int yylex_destroy (void)
  4520. | {
  4521. |
  4522. | /* Pop the buffer stack, destroying each element. */
  4523. | while(YY_CURRENT_BUFFER){
  4524. | yy_delete_buffer(YY_CURRENT_BUFFER );
  4525. | YY_CURRENT_BUFFER_LVALUE = NULL;
  4526. | yypop_buffer_state();
  4527. | }
  4528. |
  4529. | /* Destroy the stack itself. */
  4530. | yyfree((yy_buffer_stack) );
  4531. | (yy_buffer_stack) = NULL;
  4532. |
  4533. | yyfree ( (yy_state_buf) );
  4534. | (yy_state_buf) = NULL;
  4535. |
  4536. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  4537. | * yylex() is called, initialization will occur. */
  4538. | yy_init_globals( );
  4539. |
  4540. | return 0;
  4541. | }
  4542. |
  4543. | /*
  4544. | * Internal utility routines.
  4545. | */
  4546. |
  4547. | #ifndef yytext_ptr
  4548. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  4549. | {
  4550. | register int i;
  4551. | for ( i = 0; i < n; ++i )
  4552. | s1[i] = s2[i];
  4553. | }
  4554. | #endif
  4555. |
  4556. | #ifdef YY_NEED_STRLEN
  4557. | static int yy_flex_strlen (yyconst char * s )
  4558. | {
  4559. | register int n;
  4560. | for ( n = 0; s[n]; ++n )
  4561. | ;
  4562. |
  4563. | return n;
  4564. | }
  4565. | #endif
  4566. |
  4567. | void *yyalloc (yy_size_t size )
  4568. | {
  4569. | return (void *) malloc( size );
  4570. | }
  4571. |
  4572. | void *yyrealloc (void * ptr, yy_size_t size )
  4573. | {
  4574. | /* The cast to (char *) in the following accommodates both
  4575. | * implementations that use char* generic pointers, and those
  4576. | * that use void* generic pointers. It works with the latter
  4577. | * because both ANSI C and C++ allow castless assignment from
  4578. | * any pointer type to void*, and deal with argument conversions
  4579. | * as though doing an assignment.
  4580. | */
  4581. | return (void *) realloc( (char *) ptr, size );
  4582. | }
  4583. |
  4584. | void yyfree (void * ptr )
  4585. | {
  4586. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  4587. | }
  4588. |
  4589. | #define YYTABLES_NAME "yytables"
  4590. |
  4591. | #line 9 "conftest.l"
  4592. |
  4593. |
  4594. | #ifdef YYTEXT_POINTER
  4595. | extern char *yytext;
  4596. | #endif
  4597. | int
  4598. | main (void)
  4599. | {
  4600. | return ! yylex () + ! yywrap ();
  4601. | }
  4602. configure:23137: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -ll -lncurses -lm >&5
  4603. /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2/../../../../i486-openwrt-linux-uclibc/bin/ld: cannot find -ll
  4604. collect2: ld returned 1 exit status
  4605. configure:23144: $? = 1
  4606. configure: failed program was:
  4607. |
  4608. | #line 3 "lex.yy.c"
  4609. |
  4610. | #define YY_INT_ALIGNED short int
  4611. |
  4612. | /* A lexical scanner generated by flex */
  4613. |
  4614. | #define FLEX_SCANNER
  4615. | #define YY_FLEX_MAJOR_VERSION 2
  4616. | #define YY_FLEX_MINOR_VERSION 5
  4617. | #define YY_FLEX_SUBMINOR_VERSION 35
  4618. | #if YY_FLEX_SUBMINOR_VERSION > 0
  4619. | #define FLEX_BETA
  4620. | #endif
  4621. |
  4622. | /* First, we deal with platform-specific or compiler-specific issues. */
  4623. |
  4624. | /* begin standard C headers. */
  4625. | #include <stdio.h>
  4626. | #include <string.h>
  4627. | #include <errno.h>
  4628. | #include <stdlib.h>
  4629. |
  4630. | /* end standard C headers. */
  4631. |
  4632. | /* flex integer type definitions */
  4633. |
  4634. | #ifndef FLEXINT_H
  4635. | #define FLEXINT_H
  4636. |
  4637. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  4638. |
  4639. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  4640. |
  4641. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  4642. | * if you want the limit (max/min) macros for int types.
  4643. | */
  4644. | #ifndef __STDC_LIMIT_MACROS
  4645. | #define __STDC_LIMIT_MACROS 1
  4646. | #endif
  4647. |
  4648. | #include <inttypes.h>
  4649. | typedef int8_t flex_int8_t;
  4650. | typedef uint8_t flex_uint8_t;
  4651. | typedef int16_t flex_int16_t;
  4652. | typedef uint16_t flex_uint16_t;
  4653. | typedef int32_t flex_int32_t;
  4654. | typedef uint32_t flex_uint32_t;
  4655. | #else
  4656. | typedef signed char flex_int8_t;
  4657. | typedef short int flex_int16_t;
  4658. | typedef int flex_int32_t;
  4659. | typedef unsigned char flex_uint8_t;
  4660. | typedef unsigned short int flex_uint16_t;
  4661. | typedef unsigned int flex_uint32_t;
  4662. |
  4663. | /* Limits of integral types. */
  4664. | #ifndef INT8_MIN
  4665. | #define INT8_MIN (-128)
  4666. | #endif
  4667. | #ifndef INT16_MIN
  4668. | #define INT16_MIN (-32767-1)
  4669. | #endif
  4670. | #ifndef INT32_MIN
  4671. | #define INT32_MIN (-2147483647-1)
  4672. | #endif
  4673. | #ifndef INT8_MAX
  4674. | #define INT8_MAX (127)
  4675. | #endif
  4676. | #ifndef INT16_MAX
  4677. | #define INT16_MAX (32767)
  4678. | #endif
  4679. | #ifndef INT32_MAX
  4680. | #define INT32_MAX (2147483647)
  4681. | #endif
  4682. | #ifndef UINT8_MAX
  4683. | #define UINT8_MAX (255U)
  4684. | #endif
  4685. | #ifndef UINT16_MAX
  4686. | #define UINT16_MAX (65535U)
  4687. | #endif
  4688. | #ifndef UINT32_MAX
  4689. | #define UINT32_MAX (4294967295U)
  4690. | #endif
  4691. |
  4692. | #endif /* ! C99 */
  4693. |
  4694. | #endif /* ! FLEXINT_H */
  4695. |
  4696. | #ifdef __cplusplus
  4697. |
  4698. | /* The "const" storage-class-modifier is valid. */
  4699. | #define YY_USE_CONST
  4700. |
  4701. | #else /* ! __cplusplus */
  4702. |
  4703. | /* C99 requires __STDC__ to be defined as 1. */
  4704. | #if defined (__STDC__)
  4705. |
  4706. | #define YY_USE_CONST
  4707. |
  4708. | #endif /* defined (__STDC__) */
  4709. | #endif /* ! __cplusplus */
  4710. |
  4711. | #ifdef YY_USE_CONST
  4712. | #define yyconst const
  4713. | #else
  4714. | #define yyconst
  4715. | #endif
  4716. |
  4717. | /* Returned upon end-of-file. */
  4718. | #define YY_NULL 0
  4719. |
  4720. | /* Promotes a possibly negative, possibly signed char to an unsigned
  4721. | * integer for use as an array index. If the signed char is negative,
  4722. | * we want to instead treat it as an 8-bit unsigned char, hence the
  4723. | * double cast.
  4724. | */
  4725. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  4726. |
  4727. | /* Enter a start condition. This macro really ought to take a parameter,
  4728. | * but we do it the disgusting crufty way forced on us by the ()-less
  4729. | * definition of BEGIN.
  4730. | */
  4731. | #define BEGIN (yy_start) = 1 + 2 *
  4732. |
  4733. | /* Translate the current start state into a value that can be later handed
  4734. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  4735. | * compatibility.
  4736. | */
  4737. | #define YY_START (((yy_start) - 1) / 2)
  4738. | #define YYSTATE YY_START
  4739. |
  4740. | /* Action number for EOF rule of a given start state. */
  4741. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  4742. |
  4743. | /* Special action meaning "start processing a new file". */
  4744. | #define YY_NEW_FILE yyrestart(yyin )
  4745. |
  4746. | #define YY_END_OF_BUFFER_CHAR 0
  4747. |
  4748. | /* Size of default input buffer. */
  4749. | #ifndef YY_BUF_SIZE
  4750. | #ifdef __ia64__
  4751. | /* On IA-64, the buffer size is 16k, not 8k.
  4752. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  4753. | * Ditto for the __ia64__ case accordingly.
  4754. | */
  4755. | #define YY_BUF_SIZE 32768
  4756. | #else
  4757. | #define YY_BUF_SIZE 16384
  4758. | #endif /* __ia64__ */
  4759. | #endif
  4760. |
  4761. | /* The state buf must be large enough to hold one state per character in the main buffer.
  4762. | */
  4763. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  4764. |
  4765. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  4766. | #define YY_TYPEDEF_YY_BUFFER_STATE
  4767. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  4768. | #endif
  4769. |
  4770. | extern int yyleng;
  4771. |
  4772. | extern FILE *yyin, *yyout;
  4773. |
  4774. | #define EOB_ACT_CONTINUE_SCAN 0
  4775. | #define EOB_ACT_END_OF_FILE 1
  4776. | #define EOB_ACT_LAST_MATCH 2
  4777. |
  4778. | #define YY_LESS_LINENO(n)
  4779. |
  4780. | /* Return all but the first "n" matched characters back to the input stream. */
  4781. | #define yyless(n) \
  4782. | do \
  4783. | { \
  4784. | /* Undo effects of setting up yytext. */ \
  4785. | int yyless_macro_arg = (n); \
  4786. | YY_LESS_LINENO(yyless_macro_arg);\
  4787. | *yy_cp = (yy_hold_char); \
  4788. | YY_RESTORE_YY_MORE_OFFSET \
  4789. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  4790. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  4791. | } \
  4792. | while ( 0 )
  4793. |
  4794. | #define unput(c) yyunput( c, (yytext_ptr) )
  4795. |
  4796. | #ifndef YY_TYPEDEF_YY_SIZE_T
  4797. | #define YY_TYPEDEF_YY_SIZE_T
  4798. | typedef size_t yy_size_t;
  4799. | #endif
  4800. |
  4801. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  4802. | #define YY_STRUCT_YY_BUFFER_STATE
  4803. | struct yy_buffer_state
  4804. | {
  4805. | FILE *yy_input_file;
  4806. |
  4807. | char *yy_ch_buf; /* input buffer */
  4808. | char *yy_buf_pos; /* current position in input buffer */
  4809. |
  4810. | /* Size of input buffer in bytes, not including room for EOB
  4811. | * characters.
  4812. | */
  4813. | yy_size_t yy_buf_size;
  4814. |
  4815. | /* Number of characters read into yy_ch_buf, not including EOB
  4816. | * characters.
  4817. | */
  4818. | int yy_n_chars;
  4819. |
  4820. | /* Whether we "own" the buffer - i.e., we know we created it,
  4821. | * and can realloc() it to grow it, and should free() it to
  4822. | * delete it.
  4823. | */
  4824. | int yy_is_our_buffer;
  4825. |
  4826. | /* Whether this is an "interactive" input source; if so, and
  4827. | * if we're using stdio for input, then we want to use getc()
  4828. | * instead of fread(), to make sure we stop fetching input after
  4829. | * each newline.
  4830. | */
  4831. | int yy_is_interactive;
  4832. |
  4833. | /* Whether we're considered to be at the beginning of a line.
  4834. | * If so, '^' rules will be active on the next match, otherwise
  4835. | * not.
  4836. | */
  4837. | int yy_at_bol;
  4838. |
  4839. | int yy_bs_lineno; /**< The line count. */
  4840. | int yy_bs_column; /**< The column count. */
  4841. |
  4842. | /* Whether to try to fill the input buffer when we reach the
  4843. | * end of it.
  4844. | */
  4845. | int yy_fill_buffer;
  4846. |
  4847. | int yy_buffer_status;
  4848. |
  4849. | #define YY_BUFFER_NEW 0
  4850. | #define YY_BUFFER_NORMAL 1
  4851. | /* When an EOF's been seen but there's still some text to process
  4852. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  4853. | * shouldn't try reading from the input source any more. We might
  4854. | * still have a bunch of tokens to match, though, because of
  4855. | * possible backing-up.
  4856. | *
  4857. | * When we actually see the EOF, we change the status to "new"
  4858. | * (via yyrestart()), so that the user can continue scanning by
  4859. | * just pointing yyin at a new input file.
  4860. | */
  4861. | #define YY_BUFFER_EOF_PENDING 2
  4862. |
  4863. | };
  4864. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  4865. |
  4866. | /* Stack of input buffers. */
  4867. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  4868. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  4869. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  4870. |
  4871. | /* We provide macros for accessing buffer states in case in the
  4872. | * future we want to put the buffer states in a more general
  4873. | * "scanner state".
  4874. | *
  4875. | * Returns the top of the stack, or NULL.
  4876. | */
  4877. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  4878. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  4879. | : NULL)
  4880. |
  4881. | /* Same as previous macro, but useful when we know that the buffer stack is not
  4882. | * NULL or when we need an lvalue. For internal use only.
  4883. | */
  4884. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  4885. |
  4886. | /* yy_hold_char holds the character lost when yytext is formed. */
  4887. | static char yy_hold_char;
  4888. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  4889. | int yyleng;
  4890. |
  4891. | /* Points to current character in buffer. */
  4892. | static char *yy_c_buf_p = (char *) 0;
  4893. | static int yy_init = 0; /* whether we need to initialize */
  4894. | static int yy_start = 0; /* start state number */
  4895. |
  4896. | /* Flag which is used to allow yywrap()'s to do buffer switches
  4897. | * instead of setting up a fresh yyin. A bit of a hack ...
  4898. | */
  4899. | static int yy_did_buffer_switch_on_eof;
  4900. |
  4901. | void yyrestart (FILE *input_file );
  4902. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  4903. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  4904. | void yy_delete_buffer (YY_BUFFER_STATE b );
  4905. | void yy_flush_buffer (YY_BUFFER_STATE b );
  4906. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  4907. | void yypop_buffer_state (void );
  4908. |
  4909. | static void yyensure_buffer_stack (void );
  4910. | static void yy_load_buffer_state (void );
  4911. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  4912. |
  4913. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  4914. |
  4915. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  4916. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  4917. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
  4918. |
  4919. | void *yyalloc (yy_size_t );
  4920. | void *yyrealloc (void *,yy_size_t );
  4921. | void yyfree (void * );
  4922. |
  4923. | #define yy_new_buffer yy_create_buffer
  4924. |
  4925. | #define yy_set_interactive(is_interactive) \
  4926. | { \
  4927. | if ( ! YY_CURRENT_BUFFER ){ \
  4928. | yyensure_buffer_stack (); \
  4929. | YY_CURRENT_BUFFER_LVALUE = \
  4930. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  4931. | } \
  4932. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  4933. | }
  4934. |
  4935. | #define yy_set_bol(at_bol) \
  4936. | { \
  4937. | if ( ! YY_CURRENT_BUFFER ){\
  4938. | yyensure_buffer_stack (); \
  4939. | YY_CURRENT_BUFFER_LVALUE = \
  4940. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  4941. | } \
  4942. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  4943. | }
  4944. |
  4945. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  4946. |
  4947. | /* Begin user sect3 */
  4948. |
  4949. | typedef unsigned char YY_CHAR;
  4950. |
  4951. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  4952. |
  4953. | typedef int yy_state_type;
  4954. |
  4955. | extern int yylineno;
  4956. |
  4957. | int yylineno = 1;
  4958. |
  4959. | extern char *yytext;
  4960. | #define yytext_ptr yytext
  4961. |
  4962. | static yy_state_type yy_get_previous_state (void );
  4963. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  4964. | static int yy_get_next_buffer (void );
  4965. | static void yy_fatal_error (yyconst char msg[] );
  4966. |
  4967. | /* Done after the current pattern has been matched and before the
  4968. | * corresponding action - sets up yytext.
  4969. | */
  4970. | #define YY_DO_BEFORE_ACTION \
  4971. | (yytext_ptr) = yy_bp; \
  4972. | (yytext_ptr) -= (yy_more_len); \
  4973. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  4974. | (yy_hold_char) = *yy_cp; \
  4975. | *yy_cp = '\0'; \
  4976. | (yy_c_buf_p) = yy_cp;
  4977. |
  4978. | #define YY_NUM_RULES 8
  4979. | #define YY_END_OF_BUFFER 9
  4980. | /* This struct is not used in this scanner,
  4981. | but its presence is necessary. */
  4982. | struct yy_trans_info
  4983. | {
  4984. | flex_int32_t yy_verify;
  4985. | flex_int32_t yy_nxt;
  4986. | };
  4987. | static yyconst flex_int16_t yy_acclist[23] =
  4988. | { 0,
  4989. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  4990. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  4991. | 7, 8
  4992. | } ;
  4993. |
  4994. | static yyconst flex_int16_t yy_accept[14] =
  4995. | { 0,
  4996. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  4997. | 20, 23, 23
  4998. | } ;
  4999. |
  5000. | static yyconst flex_int32_t yy_ec[256] =
  5001. | { 0,
  5002. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  5003. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5004. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5005. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5006. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5007. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5008. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5009. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5010. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5011. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  5012. |
  5013. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  5014. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5015. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5016. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5017. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5018. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5019. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5020. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5021. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5022. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5023. |
  5024. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5025. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5026. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5027. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5028. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  5029. | 1, 1, 1, 1, 1
  5030. | } ;
  5031. |
  5032. | static yyconst flex_int32_t yy_meta[9] =
  5033. | { 0,
  5034. | 1, 1, 1, 1, 1, 1, 1, 1
  5035. | } ;
  5036. |
  5037. | static yyconst flex_int16_t yy_base[13] =
  5038. | { 0,
  5039. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  5040. | 10, 10
  5041. | } ;
  5042. |
  5043. | static yyconst flex_int16_t yy_def[13] =
  5044. | { 0,
  5045. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  5046. | 12, 0
  5047. | } ;
  5048. |
  5049. | static yyconst flex_int16_t yy_nxt[19] =
  5050. | { 0,
  5051. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  5052. | 12, 12, 12, 12, 12, 12, 12, 12
  5053. | } ;
  5054. |
  5055. | static yyconst flex_int16_t yy_chk[19] =
  5056. | { 0,
  5057. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  5058. | 12, 12, 12, 12, 12, 12, 12, 12
  5059. | } ;
  5060. |
  5061. | extern int yy_flex_debug;
  5062. | int yy_flex_debug = 0;
  5063. |
  5064. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  5065. | static char *yy_full_match;
  5066. | static int yy_lp;
  5067. | #define REJECT \
  5068. | { \
  5069. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  5070. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  5071. | ++(yy_lp); \
  5072. | goto find_rule; \
  5073. | }
  5074. |
  5075. | static int yy_more_flag = 0;
  5076. | static int yy_more_len = 0;
  5077. | #define yymore() ((yy_more_flag) = 1)
  5078. | #define YY_MORE_ADJ (yy_more_len)
  5079. | #define YY_RESTORE_YY_MORE_OFFSET
  5080. | char *yytext;
  5081. | #line 1 "conftest.l"
  5082. | #line 477 "lex.yy.c"
  5083. |
  5084. | #define INITIAL 0
  5085. |
  5086. | #ifndef YY_NO_UNISTD_H
  5087. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  5088. | * down here because we want the user's section 1 to have been scanned first.
  5089. | * The user has a chance to override it with an option.
  5090. | */
  5091. | #include <unistd.h>
  5092. | #endif
  5093. |
  5094. | #ifndef YY_EXTRA_TYPE
  5095. | #define YY_EXTRA_TYPE void *
  5096. | #endif
  5097. |
  5098. | static int yy_init_globals (void );
  5099. |
  5100. | /* Accessor methods to globals.
  5101. | These are made visible to non-reentrant scanners for convenience. */
  5102. |
  5103. | int yylex_destroy (void );
  5104. |
  5105. | int yyget_debug (void );
  5106. |
  5107. | void yyset_debug (int debug_flag );
  5108. |
  5109. | YY_EXTRA_TYPE yyget_extra (void );
  5110. |
  5111. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  5112. |
  5113. | FILE *yyget_in (void );
  5114. |
  5115. | void yyset_in (FILE * in_str );
  5116. |
  5117. | FILE *yyget_out (void );
  5118. |
  5119. | void yyset_out (FILE * out_str );
  5120. |
  5121. | int yyget_leng (void );
  5122. |
  5123. | char *yyget_text (void );
  5124. |
  5125. | int yyget_lineno (void );
  5126. |
  5127. | void yyset_lineno (int line_number );
  5128. |
  5129. | /* Macros after this point can all be overridden by user definitions in
  5130. | * section 1.
  5131. | */
  5132. |
  5133. | #ifndef YY_SKIP_YYWRAP
  5134. | #ifdef __cplusplus
  5135. | extern "C" int yywrap (void );
  5136. | #else
  5137. | extern int yywrap (void );
  5138. | #endif
  5139. | #endif
  5140. |
  5141. | static void yyunput (int c,char *buf_ptr );
  5142. |
  5143. | #ifndef yytext_ptr
  5144. | static void yy_flex_strncpy (char *,yyconst char *,int );
  5145. | #endif
  5146. |
  5147. | #ifdef YY_NEED_STRLEN
  5148. | static int yy_flex_strlen (yyconst char * );
  5149. | #endif
  5150. |
  5151. | #ifndef YY_NO_INPUT
  5152. |
  5153. | #ifdef __cplusplus
  5154. | static int yyinput (void );
  5155. | #else
  5156. | static int input (void );
  5157. | #endif
  5158. |
  5159. | #endif
  5160. |
  5161. | /* Amount of stuff to slurp up with each read. */
  5162. | #ifndef YY_READ_BUF_SIZE
  5163. | #ifdef __ia64__
  5164. | /* On IA-64, the buffer size is 16k, not 8k */
  5165. | #define YY_READ_BUF_SIZE 16384
  5166. | #else
  5167. | #define YY_READ_BUF_SIZE 8192
  5168. | #endif /* __ia64__ */
  5169. | #endif
  5170. |
  5171. | /* Copy whatever the last rule matched to the standard output. */
  5172. | #ifndef ECHO
  5173. | /* This used to be an fputs(), but since the string might contain NUL's,
  5174. | * we now use fwrite().
  5175. | */
  5176. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  5177. | #endif
  5178. |
  5179. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  5180. | * is returned in "result".
  5181. | */
  5182. | #ifndef YY_INPUT
  5183. | #define YY_INPUT(buf,result,max_size) \
  5184. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  5185. | { \
  5186. | int c = '*'; \
  5187. | size_t n; \
  5188. | for ( n = 0; n < max_size && \
  5189. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  5190. | buf[n] = (char) c; \
  5191. | if ( c == '\n' ) \
  5192. | buf[n++] = (char) c; \
  5193. | if ( c == EOF && ferror( yyin ) ) \
  5194. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  5195. | result = n; \
  5196. | } \
  5197. | else \
  5198. | { \
  5199. | errno=0; \
  5200. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  5201. | { \
  5202. | if( errno != EINTR) \
  5203. | { \
  5204. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  5205. | break; \
  5206. | } \
  5207. | errno=0; \
  5208. | clearerr(yyin); \
  5209. | } \
  5210. | }\
  5211. | \
  5212. |
  5213. | #endif
  5214. |
  5215. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  5216. | * we don't want an extra ';' after the "return" because that will cause
  5217. | * some compilers to complain about unreachable statements.
  5218. | */
  5219. | #ifndef yyterminate
  5220. | #define yyterminate() return YY_NULL
  5221. | #endif
  5222. |
  5223. | /* Number of entries by which start-condition stack grows. */
  5224. | #ifndef YY_START_STACK_INCR
  5225. | #define YY_START_STACK_INCR 25
  5226. | #endif
  5227. |
  5228. | /* Report a fatal error. */
  5229. | #ifndef YY_FATAL_ERROR
  5230. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  5231. | #endif
  5232. |
  5233. | /* end tables serialization structures and prototypes */
  5234. |
  5235. | /* Default declaration of generated scanner - a define so the user can
  5236. | * easily add parameters.
  5237. | */
  5238. | #ifndef YY_DECL
  5239. | #define YY_DECL_IS_OURS 1
  5240. |
  5241. | extern int yylex (void);
  5242. |
  5243. | #define YY_DECL int yylex (void)
  5244. | #endif /* !YY_DECL */
  5245. |
  5246. | /* Code executed at the beginning of each rule, after yytext and yyleng
  5247. | * have been set up.
  5248. | */
  5249. | #ifndef YY_USER_ACTION
  5250. | #define YY_USER_ACTION
  5251. | #endif
  5252. |
  5253. | /* Code executed at the end of each rule. */
  5254. | #ifndef YY_BREAK
  5255. | #define YY_BREAK break;
  5256. | #endif
  5257. |
  5258. | #define YY_RULE_SETUP \
  5259. | YY_USER_ACTION
  5260. |
  5261. | /** The main scanner function which does all the work.
  5262. | */
  5263. | YY_DECL
  5264. | {
  5265. | register yy_state_type yy_current_state;
  5266. | register char *yy_cp, *yy_bp;
  5267. | register int yy_act;
  5268. |
  5269. | #line 1 "conftest.l"
  5270. |
  5271. | #line 666 "lex.yy.c"
  5272. |
  5273. | if ( !(yy_init) )
  5274. | {
  5275. | (yy_init) = 1;
  5276. |
  5277. | #ifdef YY_USER_INIT
  5278. | YY_USER_INIT;
  5279. | #endif
  5280. |
  5281. | /* Create the reject buffer large enough to save one state per allowed character. */
  5282. | if ( ! (yy_state_buf) )
  5283. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  5284. | if ( ! (yy_state_buf) )
  5285. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  5286. |
  5287. | if ( ! (yy_start) )
  5288. | (yy_start) = 1; /* first start state */
  5289. |
  5290. | if ( ! yyin )
  5291. | yyin = stdin;
  5292. |
  5293. | if ( ! yyout )
  5294. | yyout = stdout;
  5295. |
  5296. | if ( ! YY_CURRENT_BUFFER ) {
  5297. | yyensure_buffer_stack ();
  5298. | YY_CURRENT_BUFFER_LVALUE =
  5299. | yy_create_buffer(yyin,YY_BUF_SIZE );
  5300. | }
  5301. |
  5302. | yy_load_buffer_state( );
  5303. | }
  5304. |
  5305. | while ( 1 ) /* loops until end-of-file is reached */
  5306. | {
  5307. | (yy_more_len) = 0;
  5308. | if ( (yy_more_flag) )
  5309. | {
  5310. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  5311. | (yy_more_flag) = 0;
  5312. | }
  5313. | yy_cp = (yy_c_buf_p);
  5314. |
  5315. | /* Support of yytext. */
  5316. | *yy_cp = (yy_hold_char);
  5317. |
  5318. | /* yy_bp points to the position in yy_ch_buf of the start of
  5319. | * the current run.
  5320. | */
  5321. | yy_bp = yy_cp;
  5322. |
  5323. | yy_current_state = (yy_start);
  5324. |
  5325. | (yy_state_ptr) = (yy_state_buf);
  5326. | *(yy_state_ptr)++ = yy_current_state;
  5327. |
  5328. | yy_match:
  5329. | do
  5330. | {
  5331. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  5332. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5333. | {
  5334. | yy_current_state = (int) yy_def[yy_current_state];
  5335. | if ( yy_current_state >= 13 )
  5336. | yy_c = yy_meta[(unsigned int) yy_c];
  5337. | }
  5338. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5339. | *(yy_state_ptr)++ = yy_current_state;
  5340. | ++yy_cp;
  5341. | }
  5342. | while ( yy_base[yy_current_state] != 10 );
  5343. |
  5344. | yy_find_action:
  5345. | yy_current_state = *--(yy_state_ptr);
  5346. | (yy_lp) = yy_accept[yy_current_state];
  5347. | find_rule: /* we branch to this label when backing up */
  5348. | for ( ; ; ) /* until we find what rule we matched */
  5349. | {
  5350. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  5351. | {
  5352. | yy_act = yy_acclist[(yy_lp)];
  5353. | {
  5354. | (yy_full_match) = yy_cp;
  5355. | break;
  5356. | }
  5357. | }
  5358. | --yy_cp;
  5359. | yy_current_state = *--(yy_state_ptr);
  5360. | (yy_lp) = yy_accept[yy_current_state];
  5361. | }
  5362. |
  5363. | YY_DO_BEFORE_ACTION;
  5364. |
  5365. | do_action: /* This label is used only to access EOF actions. */
  5366. |
  5367. | switch ( yy_act )
  5368. | { /* beginning of action switch */
  5369. | case 1:
  5370. | YY_RULE_SETUP
  5371. | #line 2 "conftest.l"
  5372. | { ECHO; }
  5373. | YY_BREAK
  5374. | case 2:
  5375. | YY_RULE_SETUP
  5376. | #line 3 "conftest.l"
  5377. | { REJECT; }
  5378. | YY_BREAK
  5379. | case 3:
  5380. | YY_RULE_SETUP
  5381. | #line 4 "conftest.l"
  5382. | { yymore (); }
  5383. | YY_BREAK
  5384. | case 4:
  5385. | YY_RULE_SETUP
  5386. | #line 5 "conftest.l"
  5387. | { yyless (1); }
  5388. | YY_BREAK
  5389. | case 5:
  5390. | YY_RULE_SETUP
  5391. | #line 6 "conftest.l"
  5392. | { yyless (input () != 0); }
  5393. | YY_BREAK
  5394. | case 6:
  5395. | YY_RULE_SETUP
  5396. | #line 7 "conftest.l"
  5397. | { unput (yytext[0]); }
  5398. | YY_BREAK
  5399. | case 7:
  5400. | YY_RULE_SETUP
  5401. | #line 8 "conftest.l"
  5402. | { BEGIN INITIAL; }
  5403. | YY_BREAK
  5404. | case 8:
  5405. | YY_RULE_SETUP
  5406. | #line 9 "conftest.l"
  5407. | ECHO;
  5408. | YY_BREAK
  5409. | #line 804 "lex.yy.c"
  5410. | case YY_STATE_EOF(INITIAL):
  5411. | yyterminate();
  5412. |
  5413. | case YY_END_OF_BUFFER:
  5414. | {
  5415. | /* Amount of text matched not including the EOB char. */
  5416. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  5417. |
  5418. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  5419. | *yy_cp = (yy_hold_char);
  5420. | YY_RESTORE_YY_MORE_OFFSET
  5421. |
  5422. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  5423. | {
  5424. | /* We're scanning a new file or input source. It's
  5425. | * possible that this happened because the user
  5426. | * just pointed yyin at a new source and called
  5427. | * yylex(). If so, then we have to assure
  5428. | * consistency between YY_CURRENT_BUFFER and our
  5429. | * globals. Here is the right place to do so, because
  5430. | * this is the first action (other than possibly a
  5431. | * back-up) that will match for the new input source.
  5432. | */
  5433. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  5434. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  5435. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  5436. | }
  5437. |
  5438. | /* Note that here we test for yy_c_buf_p "<=" to the position
  5439. | * of the first EOB in the buffer, since yy_c_buf_p will
  5440. | * already have been incremented past the NUL character
  5441. | * (since all states make transitions on EOB to the
  5442. | * end-of-buffer state). Contrast this with the test
  5443. | * in input().
  5444. | */
  5445. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  5446. | { /* This was really a NUL. */
  5447. | yy_state_type yy_next_state;
  5448. |
  5449. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  5450. |
  5451. | yy_current_state = yy_get_previous_state( );
  5452. |
  5453. | /* Okay, we're now positioned to make the NUL
  5454. | * transition. We couldn't have
  5455. | * yy_get_previous_state() go ahead and do it
  5456. | * for us because it doesn't know how to deal
  5457. | * with the possibility of jamming (and we don't
  5458. | * want to build jamming into it because then it
  5459. | * will run more slowly).
  5460. | */
  5461. |
  5462. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  5463. |
  5464. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5465. |
  5466. | if ( yy_next_state )
  5467. | {
  5468. | /* Consume the NUL. */
  5469. | yy_cp = ++(yy_c_buf_p);
  5470. | yy_current_state = yy_next_state;
  5471. | goto yy_match;
  5472. | }
  5473. |
  5474. | else
  5475. | {
  5476. | yy_cp = (yy_c_buf_p);
  5477. | goto yy_find_action;
  5478. | }
  5479. | }
  5480. |
  5481. | else switch ( yy_get_next_buffer( ) )
  5482. | {
  5483. | case EOB_ACT_END_OF_FILE:
  5484. | {
  5485. | (yy_did_buffer_switch_on_eof) = 0;
  5486. |
  5487. | if ( yywrap( ) )
  5488. | {
  5489. | /* Note: because we've taken care in
  5490. | * yy_get_next_buffer() to have set up
  5491. | * yytext, we can now set up
  5492. | * yy_c_buf_p so that if some total
  5493. | * hoser (like flex itself) wants to
  5494. | * call the scanner after we return the
  5495. | * YY_NULL, it'll still work - another
  5496. | * YY_NULL will get returned.
  5497. | */
  5498. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  5499. |
  5500. | yy_act = YY_STATE_EOF(YY_START);
  5501. | goto do_action;
  5502. | }
  5503. |
  5504. | else
  5505. | {
  5506. | if ( ! (yy_did_buffer_switch_on_eof) )
  5507. | YY_NEW_FILE;
  5508. | }
  5509. | break;
  5510. | }
  5511. |
  5512. | case EOB_ACT_CONTINUE_SCAN:
  5513. | (yy_c_buf_p) =
  5514. | (yytext_ptr) + yy_amount_of_matched_text;
  5515. |
  5516. | yy_current_state = yy_get_previous_state( );
  5517. |
  5518. | yy_cp = (yy_c_buf_p);
  5519. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5520. | goto yy_match;
  5521. |
  5522. | case EOB_ACT_LAST_MATCH:
  5523. | (yy_c_buf_p) =
  5524. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  5525. |
  5526. | yy_current_state = yy_get_previous_state( );
  5527. |
  5528. | yy_cp = (yy_c_buf_p);
  5529. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  5530. | goto yy_find_action;
  5531. | }
  5532. | break;
  5533. | }
  5534. |
  5535. | default:
  5536. | YY_FATAL_ERROR(
  5537. | "fatal flex scanner internal error--no action found" );
  5538. | } /* end of action switch */
  5539. | } /* end of scanning one token */
  5540. | } /* end of yylex */
  5541. |
  5542. | /* yy_get_next_buffer - try to read in a new buffer
  5543. | *
  5544. | * Returns a code representing an action:
  5545. | * EOB_ACT_LAST_MATCH -
  5546. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  5547. | * EOB_ACT_END_OF_FILE - end of file
  5548. | */
  5549. | static int yy_get_next_buffer (void)
  5550. | {
  5551. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  5552. | register char *source = (yytext_ptr);
  5553. | register int number_to_move, i;
  5554. | int ret_val;
  5555. |
  5556. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  5557. | YY_FATAL_ERROR(
  5558. | "fatal flex scanner internal error--end of buffer missed" );
  5559. |
  5560. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  5561. | { /* Don't try to fill the buffer, so this is an EOF. */
  5562. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  5563. | {
  5564. | /* We matched a single character, the EOB, so
  5565. | * treat this as a final EOF.
  5566. | */
  5567. | return EOB_ACT_END_OF_FILE;
  5568. | }
  5569. |
  5570. | else
  5571. | {
  5572. | /* We matched some text prior to the EOB, first
  5573. | * process it.
  5574. | */
  5575. | return EOB_ACT_LAST_MATCH;
  5576. | }
  5577. | }
  5578. |
  5579. | /* Try to read more data. */
  5580. |
  5581. | /* First move last chars to start of buffer. */
  5582. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  5583. |
  5584. | for ( i = 0; i < number_to_move; ++i )
  5585. | *(dest++) = *(source++);
  5586. |
  5587. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  5588. | /* don't do the read, it's not guaranteed to return an EOF,
  5589. | * just force an EOF
  5590. | */
  5591. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  5592. |
  5593. | else
  5594. | {
  5595. | int num_to_read =
  5596. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  5597. |
  5598. | while ( num_to_read <= 0 )
  5599. | { /* Not enough room in the buffer - grow it. */
  5600. |
  5601. | YY_FATAL_ERROR(
  5602. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  5603. |
  5604. | }
  5605. |
  5606. | if ( num_to_read > YY_READ_BUF_SIZE )
  5607. | num_to_read = YY_READ_BUF_SIZE;
  5608. |
  5609. | /* Read in more data. */
  5610. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  5611. | (yy_n_chars), (size_t) num_to_read );
  5612. |
  5613. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5614. | }
  5615. |
  5616. | if ( (yy_n_chars) == 0 )
  5617. | {
  5618. | if ( number_to_move == YY_MORE_ADJ )
  5619. | {
  5620. | ret_val = EOB_ACT_END_OF_FILE;
  5621. | yyrestart(yyin );
  5622. | }
  5623. |
  5624. | else
  5625. | {
  5626. | ret_val = EOB_ACT_LAST_MATCH;
  5627. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  5628. | YY_BUFFER_EOF_PENDING;
  5629. | }
  5630. | }
  5631. |
  5632. | else
  5633. | ret_val = EOB_ACT_CONTINUE_SCAN;
  5634. |
  5635. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  5636. | /* Extend the array by 50%, plus the number we really need. */
  5637. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  5638. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  5639. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5640. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  5641. | }
  5642. |
  5643. | (yy_n_chars) += number_to_move;
  5644. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  5645. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  5646. |
  5647. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  5648. |
  5649. | return ret_val;
  5650. | }
  5651. |
  5652. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  5653. |
  5654. | static yy_state_type yy_get_previous_state (void)
  5655. | {
  5656. | register yy_state_type yy_current_state;
  5657. | register char *yy_cp;
  5658. |
  5659. | yy_current_state = (yy_start);
  5660. |
  5661. | (yy_state_ptr) = (yy_state_buf);
  5662. | *(yy_state_ptr)++ = yy_current_state;
  5663. |
  5664. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  5665. | {
  5666. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  5667. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5668. | {
  5669. | yy_current_state = (int) yy_def[yy_current_state];
  5670. | if ( yy_current_state >= 13 )
  5671. | yy_c = yy_meta[(unsigned int) yy_c];
  5672. | }
  5673. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5674. | *(yy_state_ptr)++ = yy_current_state;
  5675. | }
  5676. |
  5677. | return yy_current_state;
  5678. | }
  5679. |
  5680. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  5681. | *
  5682. | * synopsis
  5683. | * next_state = yy_try_NUL_trans( current_state );
  5684. | */
  5685. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  5686. | {
  5687. | register int yy_is_jam;
  5688. |
  5689. | register YY_CHAR yy_c = 1;
  5690. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5691. | {
  5692. | yy_current_state = (int) yy_def[yy_current_state];
  5693. | if ( yy_current_state >= 13 )
  5694. | yy_c = yy_meta[(unsigned int) yy_c];
  5695. | }
  5696. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5697. | yy_is_jam = (yy_current_state == 12);
  5698. | if ( ! yy_is_jam )
  5699. | *(yy_state_ptr)++ = yy_current_state;
  5700. |
  5701. | return yy_is_jam ? 0 : yy_current_state;
  5702. | }
  5703. |
  5704. | static void yyunput (int c, register char * yy_bp )
  5705. | {
  5706. | register char *yy_cp;
  5707. |
  5708. | yy_cp = (yy_c_buf_p);
  5709. |
  5710. | /* undo effects of setting up yytext */
  5711. | *yy_cp = (yy_hold_char);
  5712. |
  5713. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5714. | { /* need to shift things up to make room */
  5715. | /* +2 for EOB chars. */
  5716. | register int number_to_move = (yy_n_chars) + 2;
  5717. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  5718. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  5719. | register char *source =
  5720. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  5721. |
  5722. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5723. | *--dest = *--source;
  5724. |
  5725. | yy_cp += (int) (dest - source);
  5726. | yy_bp += (int) (dest - source);
  5727. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  5728. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  5729. |
  5730. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5731. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  5732. | }
  5733. |
  5734. | *--yy_cp = (char) c;
  5735. |
  5736. | (yytext_ptr) = yy_bp;
  5737. | (yy_hold_char) = *yy_cp;
  5738. | (yy_c_buf_p) = yy_cp;
  5739. | }
  5740. |
  5741. | #ifndef YY_NO_INPUT
  5742. | #ifdef __cplusplus
  5743. | static int yyinput (void)
  5744. | #else
  5745. | static int input (void)
  5746. | #endif
  5747. |
  5748. | {
  5749. | int c;
  5750. |
  5751. | *(yy_c_buf_p) = (yy_hold_char);
  5752. |
  5753. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  5754. | {
  5755. | /* yy_c_buf_p now points to the character we want to return.
  5756. | * If this occurs *before* the EOB characters, then it's a
  5757. | * valid NUL; if not, then we've hit the end of the buffer.
  5758. | */
  5759. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  5760. | /* This was really a NUL. */
  5761. | *(yy_c_buf_p) = '\0';
  5762. |
  5763. | else
  5764. | { /* need more input */
  5765. | int offset = (yy_c_buf_p) - (yytext_ptr);
  5766. | ++(yy_c_buf_p);
  5767. |
  5768. | switch ( yy_get_next_buffer( ) )
  5769. | {
  5770. | case EOB_ACT_LAST_MATCH:
  5771. | /* This happens because yy_g_n_b()
  5772. | * sees that we've accumulated a
  5773. | * token and flags that we need to
  5774. | * try matching the token before
  5775. | * proceeding. But for input(),
  5776. | * there's no matching to consider.
  5777. | * So convert the EOB_ACT_LAST_MATCH
  5778. | * to EOB_ACT_END_OF_FILE.
  5779. | */
  5780. |
  5781. | /* Reset buffer status. */
  5782. | yyrestart(yyin );
  5783. |
  5784. | /*FALLTHROUGH*/
  5785. |
  5786. | case EOB_ACT_END_OF_FILE:
  5787. | {
  5788. | if ( yywrap( ) )
  5789. | return EOF;
  5790. |
  5791. | if ( ! (yy_did_buffer_switch_on_eof) )
  5792. | YY_NEW_FILE;
  5793. | #ifdef __cplusplus
  5794. | return yyinput();
  5795. | #else
  5796. | return input();
  5797. | #endif
  5798. | }
  5799. |
  5800. | case EOB_ACT_CONTINUE_SCAN:
  5801. | (yy_c_buf_p) = (yytext_ptr) + offset;
  5802. | break;
  5803. | }
  5804. | }
  5805. | }
  5806. |
  5807. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  5808. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  5809. | (yy_hold_char) = *++(yy_c_buf_p);
  5810. |
  5811. | return c;
  5812. | }
  5813. | #endif /* ifndef YY_NO_INPUT */
  5814. |
  5815. | /** Immediately switch to a different input stream.
  5816. | * @param input_file A readable stream.
  5817. | *
  5818. | * @note This function does not reset the start condition to @c INITIAL .
  5819. | */
  5820. | void yyrestart (FILE * input_file )
  5821. | {
  5822. |
  5823. | if ( ! YY_CURRENT_BUFFER ){
  5824. | yyensure_buffer_stack ();
  5825. | YY_CURRENT_BUFFER_LVALUE =
  5826. | yy_create_buffer(yyin,YY_BUF_SIZE );
  5827. | }
  5828. |
  5829. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  5830. | yy_load_buffer_state( );
  5831. | }
  5832. |
  5833. | /** Switch to a different input buffer.
  5834. | * @param new_buffer The new input buffer.
  5835. | *
  5836. | */
  5837. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  5838. | {
  5839. |
  5840. | /* TODO. We should be able to replace this entire function body
  5841. | * with
  5842. | * yypop_buffer_state();
  5843. | * yypush_buffer_state(new_buffer);
  5844. | */
  5845. | yyensure_buffer_stack ();
  5846. | if ( YY_CURRENT_BUFFER == new_buffer )
  5847. | return;
  5848. |
  5849. | if ( YY_CURRENT_BUFFER )
  5850. | {
  5851. | /* Flush out information for old buffer. */
  5852. | *(yy_c_buf_p) = (yy_hold_char);
  5853. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5854. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5855. | }
  5856. |
  5857. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5858. | yy_load_buffer_state( );
  5859. |
  5860. | /* We don't actually know whether we did this switch during
  5861. | * EOF (yywrap()) processing, but the only time this flag
  5862. | * is looked at is after yywrap() is called, so it's safe
  5863. | * to go ahead and always set it.
  5864. | */
  5865. | (yy_did_buffer_switch_on_eof) = 1;
  5866. | }
  5867. |
  5868. | static void yy_load_buffer_state (void)
  5869. | {
  5870. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  5871. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  5872. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  5873. | (yy_hold_char) = *(yy_c_buf_p);
  5874. | }
  5875. |
  5876. | /** Allocate and initialize an input buffer state.
  5877. | * @param file A readable stream.
  5878. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  5879. | *
  5880. | * @return the allocated buffer state.
  5881. | */
  5882. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  5883. | {
  5884. | YY_BUFFER_STATE b;
  5885. |
  5886. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  5887. | if ( ! b )
  5888. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5889. |
  5890. | b->yy_buf_size = size;
  5891. |
  5892. | /* yy_ch_buf has to be 2 characters longer than the size given because
  5893. | * we need to put in 2 end-of-buffer characters.
  5894. | */
  5895. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  5896. | if ( ! b->yy_ch_buf )
  5897. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5898. |
  5899. | b->yy_is_our_buffer = 1;
  5900. |
  5901. | yy_init_buffer(b,file );
  5902. |
  5903. | return b;
  5904. | }
  5905. |
  5906. | /** Destroy the buffer.
  5907. | * @param b a buffer created with yy_create_buffer()
  5908. | *
  5909. | */
  5910. | void yy_delete_buffer (YY_BUFFER_STATE b )
  5911. | {
  5912. |
  5913. | if ( ! b )
  5914. | return;
  5915. |
  5916. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  5917. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  5918. |
  5919. | if ( b->yy_is_our_buffer )
  5920. | yyfree((void *) b->yy_ch_buf );
  5921. |
  5922. | yyfree((void *) b );
  5923. | }
  5924. |
  5925. | #ifndef __cplusplus
  5926. | extern int isatty (int );
  5927. | #endif /* __cplusplus */
  5928. |
  5929. | /* Initializes or reinitializes a buffer.
  5930. | * This function is sometimes called more than once on the same buffer,
  5931. | * such as during a yyrestart() or at EOF.
  5932. | */
  5933. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  5934. |
  5935. | {
  5936. | int oerrno = errno;
  5937. |
  5938. | yy_flush_buffer(b );
  5939. |
  5940. | b->yy_input_file = file;
  5941. | b->yy_fill_buffer = 1;
  5942. |
  5943. | /* If b is the current buffer, then yy_init_buffer was _probably_
  5944. | * called from yyrestart() or through yy_get_next_buffer.
  5945. | * In that case, we don't want to reset the lineno or column.
  5946. | */
  5947. | if (b != YY_CURRENT_BUFFER){
  5948. | b->yy_bs_lineno = 1;
  5949. | b->yy_bs_column = 0;
  5950. | }
  5951. |
  5952. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  5953. |
  5954. | errno = oerrno;
  5955. | }
  5956. |
  5957. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  5958. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  5959. | *
  5960. | */
  5961. | void yy_flush_buffer (YY_BUFFER_STATE b )
  5962. | {
  5963. | if ( ! b )
  5964. | return;
  5965. |
  5966. | b->yy_n_chars = 0;
  5967. |
  5968. | /* We always need two end-of-buffer characters. The first causes
  5969. | * a transition to the end-of-buffer state. The second causes
  5970. | * a jam in that state.
  5971. | */
  5972. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  5973. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  5974. |
  5975. | b->yy_buf_pos = &b->yy_ch_buf[0];
  5976. |
  5977. | b->yy_at_bol = 1;
  5978. | b->yy_buffer_status = YY_BUFFER_NEW;
  5979. |
  5980. | if ( b == YY_CURRENT_BUFFER )
  5981. | yy_load_buffer_state( );
  5982. | }
  5983. |
  5984. | /** Pushes the new state onto the stack. The new state becomes
  5985. | * the current state. This function will allocate the stack
  5986. | * if necessary.
  5987. | * @param new_buffer The new state.
  5988. | *
  5989. | */
  5990. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  5991. | {
  5992. | if (new_buffer == NULL)
  5993. | return;
  5994. |
  5995. | yyensure_buffer_stack();
  5996. |
  5997. | /* This block is copied from yy_switch_to_buffer. */
  5998. | if ( YY_CURRENT_BUFFER )
  5999. | {
  6000. | /* Flush out information for old buffer. */
  6001. | *(yy_c_buf_p) = (yy_hold_char);
  6002. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  6003. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6004. | }
  6005. |
  6006. | /* Only push if top exists. Otherwise, replace top. */
  6007. | if (YY_CURRENT_BUFFER)
  6008. | (yy_buffer_stack_top)++;
  6009. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  6010. |
  6011. | /* copied from yy_switch_to_buffer. */
  6012. | yy_load_buffer_state( );
  6013. | (yy_did_buffer_switch_on_eof) = 1;
  6014. | }
  6015. |
  6016. | /** Removes and deletes the top of the stack, if present.
  6017. | * The next element becomes the new top.
  6018. | *
  6019. | */
  6020. | void yypop_buffer_state (void)
  6021. | {
  6022. | if (!YY_CURRENT_BUFFER)
  6023. | return;
  6024. |
  6025. | yy_delete_buffer(YY_CURRENT_BUFFER );
  6026. | YY_CURRENT_BUFFER_LVALUE = NULL;
  6027. | if ((yy_buffer_stack_top) > 0)
  6028. | --(yy_buffer_stack_top);
  6029. |
  6030. | if (YY_CURRENT_BUFFER) {
  6031. | yy_load_buffer_state( );
  6032. | (yy_did_buffer_switch_on_eof) = 1;
  6033. | }
  6034. | }
  6035. |
  6036. | /* Allocates the stack if it does not exist.
  6037. | * Guarantees space for at least one push.
  6038. | */
  6039. | static void yyensure_buffer_stack (void)
  6040. | {
  6041. | int num_to_alloc;
  6042. |
  6043. | if (!(yy_buffer_stack)) {
  6044. |
  6045. | /* First allocation is just for 2 elements, since we don't know if this
  6046. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  6047. | * immediate realloc on the next call.
  6048. | */
  6049. | num_to_alloc = 1;
  6050. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  6051. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  6052. | );
  6053. | if ( ! (yy_buffer_stack) )
  6054. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6055. |
  6056. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  6057. |
  6058. | (yy_buffer_stack_max) = num_to_alloc;
  6059. | (yy_buffer_stack_top) = 0;
  6060. | return;
  6061. | }
  6062. |
  6063. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  6064. |
  6065. | /* Increase the buffer to prepare for a possible push. */
  6066. | int grow_size = 8 /* arbitrary grow size */;
  6067. |
  6068. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  6069. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  6070. | ((yy_buffer_stack),
  6071. | num_to_alloc * sizeof(struct yy_buffer_state*)
  6072. | );
  6073. | if ( ! (yy_buffer_stack) )
  6074. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  6075. |
  6076. | /* zero only the new slots.*/
  6077. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  6078. | (yy_buffer_stack_max) = num_to_alloc;
  6079. | }
  6080. | }
  6081. |
  6082. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  6083. | * @param base the character buffer
  6084. | * @param size the size in bytes of the character buffer
  6085. | *
  6086. | * @return the newly allocated buffer state object.
  6087. | */
  6088. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  6089. | {
  6090. | YY_BUFFER_STATE b;
  6091. |
  6092. | if ( size < 2 ||
  6093. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  6094. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  6095. | /* They forgot to leave room for the EOB's. */
  6096. | return 0;
  6097. |
  6098. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  6099. | if ( ! b )
  6100. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  6101. |
  6102. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  6103. | b->yy_buf_pos = b->yy_ch_buf = base;
  6104. | b->yy_is_our_buffer = 0;
  6105. | b->yy_input_file = 0;
  6106. | b->yy_n_chars = b->yy_buf_size;
  6107. | b->yy_is_interactive = 0;
  6108. | b->yy_at_bol = 1;
  6109. | b->yy_fill_buffer = 0;
  6110. | b->yy_buffer_status = YY_BUFFER_NEW;
  6111. |
  6112. | yy_switch_to_buffer(b );
  6113. |
  6114. | return b;
  6115. | }
  6116. |
  6117. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  6118. | * scan from a @e copy of @a str.
  6119. | * @param yystr a NUL-terminated string to scan
  6120. | *
  6121. | * @return the newly allocated buffer state object.
  6122. | * @note If you want to scan bytes that may contain NUL values, then use
  6123. | * yy_scan_bytes() instead.
  6124. | */
  6125. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  6126. | {
  6127. |
  6128. | return yy_scan_bytes(yystr,strlen(yystr) );
  6129. | }
  6130. |
  6131. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  6132. | * scan from a @e copy of @a bytes.
  6133. | * @param yybytes the byte buffer to scan
  6134. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  6135. | *
  6136. | * @return the newly allocated buffer state object.
  6137. | */
  6138. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
  6139. | {
  6140. | YY_BUFFER_STATE b;
  6141. | char *buf;
  6142. | yy_size_t n;
  6143. | int i;
  6144. |
  6145. | /* Get memory for full buffer, including space for trailing EOB's. */
  6146. | n = _yybytes_len + 2;
  6147. | buf = (char *) yyalloc(n );
  6148. | if ( ! buf )
  6149. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  6150. |
  6151. | for ( i = 0; i < _yybytes_len; ++i )
  6152. | buf[i] = yybytes[i];
  6153. |
  6154. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  6155. |
  6156. | b = yy_scan_buffer(buf,n );
  6157. | if ( ! b )
  6158. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  6159. |
  6160. | /* It's okay to grow etc. this buffer, and we should throw it
  6161. | * away when we're done.
  6162. | */
  6163. | b->yy_is_our_buffer = 1;
  6164. |
  6165. | return b;
  6166. | }
  6167. |
  6168. | #ifndef YY_EXIT_FAILURE
  6169. | #define YY_EXIT_FAILURE 2
  6170. | #endif
  6171. |
  6172. | static void yy_fatal_error (yyconst char* msg )
  6173. | {
  6174. | (void) fprintf( stderr, "%s\n", msg );
  6175. | exit( YY_EXIT_FAILURE );
  6176. | }
  6177. |
  6178. | /* Redefine yyless() so it works in section 3 code. */
  6179. |
  6180. | #undef yyless
  6181. | #define yyless(n) \
  6182. | do \
  6183. | { \
  6184. | /* Undo effects of setting up yytext. */ \
  6185. | int yyless_macro_arg = (n); \
  6186. | YY_LESS_LINENO(yyless_macro_arg);\
  6187. | yytext[yyleng] = (yy_hold_char); \
  6188. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  6189. | (yy_hold_char) = *(yy_c_buf_p); \
  6190. | *(yy_c_buf_p) = '\0'; \
  6191. | yyleng = yyless_macro_arg; \
  6192. | } \
  6193. | while ( 0 )
  6194. |
  6195. | /* Accessor methods (get/set functions) to struct members. */
  6196. |
  6197. | /** Get the current line number.
  6198. | *
  6199. | */
  6200. | int yyget_lineno (void)
  6201. | {
  6202. |
  6203. | return yylineno;
  6204. | }
  6205. |
  6206. | /** Get the input stream.
  6207. | *
  6208. | */
  6209. | FILE *yyget_in (void)
  6210. | {
  6211. | return yyin;
  6212. | }
  6213. |
  6214. | /** Get the output stream.
  6215. | *
  6216. | */
  6217. | FILE *yyget_out (void)
  6218. | {
  6219. | return yyout;
  6220. | }
  6221. |
  6222. | /** Get the length of the current token.
  6223. | *
  6224. | */
  6225. | int yyget_leng (void)
  6226. | {
  6227. | return yyleng;
  6228. | }
  6229. |
  6230. | /** Get the current token.
  6231. | *
  6232. | */
  6233. |
  6234. | char *yyget_text (void)
  6235. | {
  6236. | return yytext;
  6237. | }
  6238. |
  6239. | /** Set the current line number.
  6240. | * @param line_number
  6241. | *
  6242. | */
  6243. | void yyset_lineno (int line_number )
  6244. | {
  6245. |
  6246. | yylineno = line_number;
  6247. | }
  6248. |
  6249. | /** Set the input stream. This does not discard the current
  6250. | * input buffer.
  6251. | * @param in_str A readable stream.
  6252. | *
  6253. | * @see yy_switch_to_buffer
  6254. | */
  6255. | void yyset_in (FILE * in_str )
  6256. | {
  6257. | yyin = in_str ;
  6258. | }
  6259. |
  6260. | void yyset_out (FILE * out_str )
  6261. | {
  6262. | yyout = out_str ;
  6263. | }
  6264. |
  6265. | int yyget_debug (void)
  6266. | {
  6267. | return yy_flex_debug;
  6268. | }
  6269. |
  6270. | void yyset_debug (int bdebug )
  6271. | {
  6272. | yy_flex_debug = bdebug ;
  6273. | }
  6274. |
  6275. | static int yy_init_globals (void)
  6276. | {
  6277. | /* Initialization is the same as for the non-reentrant scanner.
  6278. | * This function is called from yylex_destroy(), so don't allocate here.
  6279. | */
  6280. |
  6281. | (yy_buffer_stack) = 0;
  6282. | (yy_buffer_stack_top) = 0;
  6283. | (yy_buffer_stack_max) = 0;
  6284. | (yy_c_buf_p) = (char *) 0;
  6285. | (yy_init) = 0;
  6286. | (yy_start) = 0;
  6287. |
  6288. | (yy_state_buf) = 0;
  6289. | (yy_state_ptr) = 0;
  6290. | (yy_full_match) = 0;
  6291. | (yy_lp) = 0;
  6292. |
  6293. | /* Defined in main.c */
  6294. | #ifdef YY_STDINIT
  6295. | yyin = stdin;
  6296. | yyout = stdout;
  6297. | #else
  6298. | yyin = (FILE *) 0;
  6299. | yyout = (FILE *) 0;
  6300. | #endif
  6301. |
  6302. | /* For future reference: Set errno on error, since we are called by
  6303. | * yylex_init()
  6304. | */
  6305. | return 0;
  6306. | }
  6307. |
  6308. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  6309. | int yylex_destroy (void)
  6310. | {
  6311. |
  6312. | /* Pop the buffer stack, destroying each element. */
  6313. | while(YY_CURRENT_BUFFER){
  6314. | yy_delete_buffer(YY_CURRENT_BUFFER );
  6315. | YY_CURRENT_BUFFER_LVALUE = NULL;
  6316. | yypop_buffer_state();
  6317. | }
  6318. |
  6319. | /* Destroy the stack itself. */
  6320. | yyfree((yy_buffer_stack) );
  6321. | (yy_buffer_stack) = NULL;
  6322. |
  6323. | yyfree ( (yy_state_buf) );
  6324. | (yy_state_buf) = NULL;
  6325. |
  6326. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  6327. | * yylex() is called, initialization will occur. */
  6328. | yy_init_globals( );
  6329. |
  6330. | return 0;
  6331. | }
  6332. |
  6333. | /*
  6334. | * Internal utility routines.
  6335. | */
  6336. |
  6337. | #ifndef yytext_ptr
  6338. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  6339. | {
  6340. | register int i;
  6341. | for ( i = 0; i < n; ++i )
  6342. | s1[i] = s2[i];
  6343. | }
  6344. | #endif
  6345. |
  6346. | #ifdef YY_NEED_STRLEN
  6347. | static int yy_flex_strlen (yyconst char * s )
  6348. | {
  6349. | register int n;
  6350. | for ( n = 0; s[n]; ++n )
  6351. | ;
  6352. |
  6353. | return n;
  6354. | }
  6355. | #endif
  6356. |
  6357. | void *yyalloc (yy_size_t size )
  6358. | {
  6359. | return (void *) malloc( size );
  6360. | }
  6361. |
  6362. | void *yyrealloc (void * ptr, yy_size_t size )
  6363. | {
  6364. | /* The cast to (char *) in the following accommodates both
  6365. | * implementations that use char* generic pointers, and those
  6366. | * that use void* generic pointers. It works with the latter
  6367. | * because both ANSI C and C++ allow castless assignment from
  6368. | * any pointer type to void*, and deal with argument conversions
  6369. | * as though doing an assignment.
  6370. | */
  6371. | return (void *) realloc( (char *) ptr, size );
  6372. | }
  6373. |
  6374. | void yyfree (void * ptr )
  6375. | {
  6376. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  6377. | }
  6378. |
  6379. | #define YYTABLES_NAME "yytables"
  6380. |
  6381. | #line 9 "conftest.l"
  6382. |
  6383. |
  6384. | #ifdef YYTEXT_POINTER
  6385. | extern char *yytext;
  6386. | #endif
  6387. | int
  6388. | main (void)
  6389. | {
  6390. | return ! yylex () + ! yywrap ();
  6391. | }
  6392. configure:23168: result: none needed
  6393. configure:23174: checking whether yytext is a pointer
  6394. configure:23195: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lncurses -lm >&5
  6395. /tmp/cc5ZN3ya.o: In function `input':
  6396. conftest.c:(.text+0xd92): undefined reference to `yywrap'
  6397. /tmp/cc5ZN3ya.o: In function `yylex':
  6398. conftest.c:(.text+0x1234): undefined reference to `yywrap'
  6399. /tmp/cc5ZN3ya.o: In function `main':
  6400. conftest.c:(.text+0x13d7): undefined reference to `yywrap'
  6401. collect2: ld returned 1 exit status
  6402. configure:23202: $? = 1
  6403. configure: failed program was:
  6404. | #define YYTEXT_POINTER 1
  6405. |
  6406. | #line 3 "lex.yy.c"
  6407. |
  6408. | #define YY_INT_ALIGNED short int
  6409. |
  6410. | /* A lexical scanner generated by flex */
  6411. |
  6412. | #define FLEX_SCANNER
  6413. | #define YY_FLEX_MAJOR_VERSION 2
  6414. | #define YY_FLEX_MINOR_VERSION 5
  6415. | #define YY_FLEX_SUBMINOR_VERSION 35
  6416. | #if YY_FLEX_SUBMINOR_VERSION > 0
  6417. | #define FLEX_BETA
  6418. | #endif
  6419. |
  6420. | /* First, we deal with platform-specific or compiler-specific issues. */
  6421. |
  6422. | /* begin standard C headers. */
  6423. | #include <stdio.h>
  6424. | #include <string.h>
  6425. | #include <errno.h>
  6426. | #include <stdlib.h>
  6427. |
  6428. | /* end standard C headers. */
  6429. |
  6430. | /* flex integer type definitions */
  6431. |
  6432. | #ifndef FLEXINT_H
  6433. | #define FLEXINT_H
  6434. |
  6435. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  6436. |
  6437. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  6438. |
  6439. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  6440. | * if you want the limit (max/min) macros for int types.
  6441. | */
  6442. | #ifndef __STDC_LIMIT_MACROS
  6443. | #define __STDC_LIMIT_MACROS 1
  6444. | #endif
  6445. |
  6446. | #include <inttypes.h>
  6447. | typedef int8_t flex_int8_t;
  6448. | typedef uint8_t flex_uint8_t;
  6449. | typedef int16_t flex_int16_t;
  6450. | typedef uint16_t flex_uint16_t;
  6451. | typedef int32_t flex_int32_t;
  6452. | typedef uint32_t flex_uint32_t;
  6453. | #else
  6454. | typedef signed char flex_int8_t;
  6455. | typedef short int flex_int16_t;
  6456. | typedef int flex_int32_t;
  6457. | typedef unsigned char flex_uint8_t;
  6458. | typedef unsigned short int flex_uint16_t;
  6459. | typedef unsigned int flex_uint32_t;
  6460. |
  6461. | /* Limits of integral types. */
  6462. | #ifndef INT8_MIN
  6463. | #define INT8_MIN (-128)
  6464. | #endif
  6465. | #ifndef INT16_MIN
  6466. | #define INT16_MIN (-32767-1)
  6467. | #endif
  6468. | #ifndef INT32_MIN
  6469. | #define INT32_MIN (-2147483647-1)
  6470. | #endif
  6471. | #ifndef INT8_MAX
  6472. | #define INT8_MAX (127)
  6473. | #endif
  6474. | #ifndef INT16_MAX
  6475. | #define INT16_MAX (32767)
  6476. | #endif
  6477. | #ifndef INT32_MAX
  6478. | #define INT32_MAX (2147483647)
  6479. | #endif
  6480. | #ifndef UINT8_MAX
  6481. | #define UINT8_MAX (255U)
  6482. | #endif
  6483. | #ifndef UINT16_MAX
  6484. | #define UINT16_MAX (65535U)
  6485. | #endif
  6486. | #ifndef UINT32_MAX
  6487. | #define UINT32_MAX (4294967295U)
  6488. | #endif
  6489. |
  6490. | #endif /* ! C99 */
  6491. |
  6492. | #endif /* ! FLEXINT_H */
  6493. |
  6494. | #ifdef __cplusplus
  6495. |
  6496. | /* The "const" storage-class-modifier is valid. */
  6497. | #define YY_USE_CONST
  6498. |
  6499. | #else /* ! __cplusplus */
  6500. |
  6501. | /* C99 requires __STDC__ to be defined as 1. */
  6502. | #if defined (__STDC__)
  6503. |
  6504. | #define YY_USE_CONST
  6505. |
  6506. | #endif /* defined (__STDC__) */
  6507. | #endif /* ! __cplusplus */
  6508. |
  6509. | #ifdef YY_USE_CONST
  6510. | #define yyconst const
  6511. | #else
  6512. | #define yyconst
  6513. | #endif
  6514. |
  6515. | /* Returned upon end-of-file. */
  6516. | #define YY_NULL 0
  6517. |
  6518. | /* Promotes a possibly negative, possibly signed char to an unsigned
  6519. | * integer for use as an array index. If the signed char is negative,
  6520. | * we want to instead treat it as an 8-bit unsigned char, hence the
  6521. | * double cast.
  6522. | */
  6523. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  6524. |
  6525. | /* Enter a start condition. This macro really ought to take a parameter,
  6526. | * but we do it the disgusting crufty way forced on us by the ()-less
  6527. | * definition of BEGIN.
  6528. | */
  6529. | #define BEGIN (yy_start) = 1 + 2 *
  6530. |
  6531. | /* Translate the current start state into a value that can be later handed
  6532. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  6533. | * compatibility.
  6534. | */
  6535. | #define YY_START (((yy_start) - 1) / 2)
  6536. | #define YYSTATE YY_START
  6537. |
  6538. | /* Action number for EOF rule of a given start state. */
  6539. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  6540. |
  6541. | /* Special action meaning "start processing a new file". */
  6542. | #define YY_NEW_FILE yyrestart(yyin )
  6543. |
  6544. | #define YY_END_OF_BUFFER_CHAR 0
  6545. |
  6546. | /* Size of default input buffer. */
  6547. | #ifndef YY_BUF_SIZE
  6548. | #ifdef __ia64__
  6549. | /* On IA-64, the buffer size is 16k, not 8k.
  6550. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  6551. | * Ditto for the __ia64__ case accordingly.
  6552. | */
  6553. | #define YY_BUF_SIZE 32768
  6554. | #else
  6555. | #define YY_BUF_SIZE 16384
  6556. | #endif /* __ia64__ */
  6557. | #endif
  6558. |
  6559. | /* The state buf must be large enough to hold one state per character in the main buffer.
  6560. | */
  6561. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  6562. |
  6563. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  6564. | #define YY_TYPEDEF_YY_BUFFER_STATE
  6565. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  6566. | #endif
  6567. |
  6568. | extern int yyleng;
  6569. |
  6570. | extern FILE *yyin, *yyout;
  6571. |
  6572. | #define EOB_ACT_CONTINUE_SCAN 0
  6573. | #define EOB_ACT_END_OF_FILE 1
  6574. | #define EOB_ACT_LAST_MATCH 2
  6575. |
  6576. | #define YY_LESS_LINENO(n)
  6577. |
  6578. | /* Return all but the first "n" matched characters back to the input stream. */
  6579. | #define yyless(n) \
  6580. | do \
  6581. | { \
  6582. | /* Undo effects of setting up yytext. */ \
  6583. | int yyless_macro_arg = (n); \
  6584. | YY_LESS_LINENO(yyless_macro_arg);\
  6585. | *yy_cp = (yy_hold_char); \
  6586. | YY_RESTORE_YY_MORE_OFFSET \
  6587. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  6588. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  6589. | } \
  6590. | while ( 0 )
  6591. |
  6592. | #define unput(c) yyunput( c, (yytext_ptr) )
  6593. |
  6594. | #ifndef YY_TYPEDEF_YY_SIZE_T
  6595. | #define YY_TYPEDEF_YY_SIZE_T
  6596. | typedef size_t yy_size_t;
  6597. | #endif
  6598. |
  6599. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  6600. | #define YY_STRUCT_YY_BUFFER_STATE
  6601. | struct yy_buffer_state
  6602. | {
  6603. | FILE *yy_input_file;
  6604. |
  6605. | char *yy_ch_buf; /* input buffer */
  6606. | char *yy_buf_pos; /* current position in input buffer */
  6607. |
  6608. | /* Size of input buffer in bytes, not including room for EOB
  6609. | * characters.
  6610. | */
  6611. | yy_size_t yy_buf_size;
  6612. |
  6613. | /* Number of characters read into yy_ch_buf, not including EOB
  6614. | * characters.
  6615. | */
  6616. | int yy_n_chars;
  6617. |
  6618. | /* Whether we "own" the buffer - i.e., we know we created it,
  6619. | * and can realloc() it to grow it, and should free() it to
  6620. | * delete it.
  6621. | */
  6622. | int yy_is_our_buffer;
  6623. |
  6624. | /* Whether this is an "interactive" input source; if so, and
  6625. | * if we're using stdio for input, then we want to use getc()
  6626. | * instead of fread(), to make sure we stop fetching input after
  6627. | * each newline.
  6628. | */
  6629. | int yy_is_interactive;
  6630. |
  6631. | /* Whether we're considered to be at the beginning of a line.
  6632. | * If so, '^' rules will be active on the next match, otherwise
  6633. | * not.
  6634. | */
  6635. | int yy_at_bol;
  6636. |
  6637. | int yy_bs_lineno; /**< The line count. */
  6638. | int yy_bs_column; /**< The column count. */
  6639. |
  6640. | /* Whether to try to fill the input buffer when we reach the
  6641. | * end of it.
  6642. | */
  6643. | int yy_fill_buffer;
  6644. |
  6645. | int yy_buffer_status;
  6646. |
  6647. | #define YY_BUFFER_NEW 0
  6648. | #define YY_BUFFER_NORMAL 1
  6649. | /* When an EOF's been seen but there's still some text to process
  6650. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  6651. | * shouldn't try reading from the input source any more. We might
  6652. | * still have a bunch of tokens to match, though, because of
  6653. | * possible backing-up.
  6654. | *
  6655. | * When we actually see the EOF, we change the status to "new"
  6656. | * (via yyrestart()), so that the user can continue scanning by
  6657. | * just pointing yyin at a new input file.
  6658. | */
  6659. | #define YY_BUFFER_EOF_PENDING 2
  6660. |
  6661. | };
  6662. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  6663. |
  6664. | /* Stack of input buffers. */
  6665. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  6666. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  6667. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  6668. |
  6669. | /* We provide macros for accessing buffer states in case in the
  6670. | * future we want to put the buffer states in a more general
  6671. | * "scanner state".
  6672. | *
  6673. | * Returns the top of the stack, or NULL.
  6674. | */
  6675. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  6676. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  6677. | : NULL)
  6678. |
  6679. | /* Same as previous macro, but useful when we know that the buffer stack is not
  6680. | * NULL or when we need an lvalue. For internal use only.
  6681. | */
  6682. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  6683. |
  6684. | /* yy_hold_char holds the character lost when yytext is formed. */
  6685. | static char yy_hold_char;
  6686. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  6687. | int yyleng;
  6688. |
  6689. | /* Points to current character in buffer. */
  6690. | static char *yy_c_buf_p = (char *) 0;
  6691. | static int yy_init = 0; /* whether we need to initialize */
  6692. | static int yy_start = 0; /* start state number */
  6693. |
  6694. | /* Flag which is used to allow yywrap()'s to do buffer switches
  6695. | * instead of setting up a fresh yyin. A bit of a hack ...
  6696. | */
  6697. | static int yy_did_buffer_switch_on_eof;
  6698. |
  6699. | void yyrestart (FILE *input_file );
  6700. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  6701. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  6702. | void yy_delete_buffer (YY_BUFFER_STATE b );
  6703. | void yy_flush_buffer (YY_BUFFER_STATE b );
  6704. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  6705. | void yypop_buffer_state (void );
  6706. |
  6707. | static void yyensure_buffer_stack (void );
  6708. | static void yy_load_buffer_state (void );
  6709. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  6710. |
  6711. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  6712. |
  6713. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  6714. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  6715. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
  6716. |
  6717. | void *yyalloc (yy_size_t );
  6718. | void *yyrealloc (void *,yy_size_t );
  6719. | void yyfree (void * );
  6720. |
  6721. | #define yy_new_buffer yy_create_buffer
  6722. |
  6723. | #define yy_set_interactive(is_interactive) \
  6724. | { \
  6725. | if ( ! YY_CURRENT_BUFFER ){ \
  6726. | yyensure_buffer_stack (); \
  6727. | YY_CURRENT_BUFFER_LVALUE = \
  6728. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  6729. | } \
  6730. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  6731. | }
  6732. |
  6733. | #define yy_set_bol(at_bol) \
  6734. | { \
  6735. | if ( ! YY_CURRENT_BUFFER ){\
  6736. | yyensure_buffer_stack (); \
  6737. | YY_CURRENT_BUFFER_LVALUE = \
  6738. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  6739. | } \
  6740. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  6741. | }
  6742. |
  6743. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  6744. |
  6745. | /* Begin user sect3 */
  6746. |
  6747. | typedef unsigned char YY_CHAR;
  6748. |
  6749. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  6750. |
  6751. | typedef int yy_state_type;
  6752. |
  6753. | extern int yylineno;
  6754. |
  6755. | int yylineno = 1;
  6756. |
  6757. | extern char *yytext;
  6758. | #define yytext_ptr yytext
  6759. |
  6760. | static yy_state_type yy_get_previous_state (void );
  6761. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  6762. | static int yy_get_next_buffer (void );
  6763. | static void yy_fatal_error (yyconst char msg[] );
  6764. |
  6765. | /* Done after the current pattern has been matched and before the
  6766. | * corresponding action - sets up yytext.
  6767. | */
  6768. | #define YY_DO_BEFORE_ACTION \
  6769. | (yytext_ptr) = yy_bp; \
  6770. | (yytext_ptr) -= (yy_more_len); \
  6771. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  6772. | (yy_hold_char) = *yy_cp; \
  6773. | *yy_cp = '\0'; \
  6774. | (yy_c_buf_p) = yy_cp;
  6775. |
  6776. | #define YY_NUM_RULES 8
  6777. | #define YY_END_OF_BUFFER 9
  6778. | /* This struct is not used in this scanner,
  6779. | but its presence is necessary. */
  6780. | struct yy_trans_info
  6781. | {
  6782. | flex_int32_t yy_verify;
  6783. | flex_int32_t yy_nxt;
  6784. | };
  6785. | static yyconst flex_int16_t yy_acclist[23] =
  6786. | { 0,
  6787. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  6788. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  6789. | 7, 8
  6790. | } ;
  6791. |
  6792. | static yyconst flex_int16_t yy_accept[14] =
  6793. | { 0,
  6794. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  6795. | 20, 23, 23
  6796. | } ;
  6797. |
  6798. | static yyconst flex_int32_t yy_ec[256] =
  6799. | { 0,
  6800. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  6801. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6802. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6803. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6804. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6805. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6806. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6807. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6808. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6809. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  6810. |
  6811. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  6812. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6813. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6814. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6815. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6816. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6817. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6818. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6819. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6820. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6821. |
  6822. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6823. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6824. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6825. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6826. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6827. | 1, 1, 1, 1, 1
  6828. | } ;
  6829. |
  6830. | static yyconst flex_int32_t yy_meta[9] =
  6831. | { 0,
  6832. | 1, 1, 1, 1, 1, 1, 1, 1
  6833. | } ;
  6834. |
  6835. | static yyconst flex_int16_t yy_base[13] =
  6836. | { 0,
  6837. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  6838. | 10, 10
  6839. | } ;
  6840. |
  6841. | static yyconst flex_int16_t yy_def[13] =
  6842. | { 0,
  6843. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  6844. | 12, 0
  6845. | } ;
  6846. |
  6847. | static yyconst flex_int16_t yy_nxt[19] =
  6848. | { 0,
  6849. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  6850. | 12, 12, 12, 12, 12, 12, 12, 12
  6851. | } ;
  6852. |
  6853. | static yyconst flex_int16_t yy_chk[19] =
  6854. | { 0,
  6855. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  6856. | 12, 12, 12, 12, 12, 12, 12, 12
  6857. | } ;
  6858. |
  6859. | extern int yy_flex_debug;
  6860. | int yy_flex_debug = 0;
  6861. |
  6862. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  6863. | static char *yy_full_match;
  6864. | static int yy_lp;
  6865. | #define REJECT \
  6866. | { \
  6867. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  6868. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  6869. | ++(yy_lp); \
  6870. | goto find_rule; \
  6871. | }
  6872. |
  6873. | static int yy_more_flag = 0;
  6874. | static int yy_more_len = 0;
  6875. | #define yymore() ((yy_more_flag) = 1)
  6876. | #define YY_MORE_ADJ (yy_more_len)
  6877. | #define YY_RESTORE_YY_MORE_OFFSET
  6878. | char *yytext;
  6879. | #line 1 "conftest.l"
  6880. | #line 477 "lex.yy.c"
  6881. |
  6882. | #define INITIAL 0
  6883. |
  6884. | #ifndef YY_NO_UNISTD_H
  6885. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  6886. | * down here because we want the user's section 1 to have been scanned first.
  6887. | * The user has a chance to override it with an option.
  6888. | */
  6889. | #include <unistd.h>
  6890. | #endif
  6891. |
  6892. | #ifndef YY_EXTRA_TYPE
  6893. | #define YY_EXTRA_TYPE void *
  6894. | #endif
  6895. |
  6896. | static int yy_init_globals (void );
  6897. |
  6898. | /* Accessor methods to globals.
  6899. | These are made visible to non-reentrant scanners for convenience. */
  6900. |
  6901. | int yylex_destroy (void );
  6902. |
  6903. | int yyget_debug (void );
  6904. |
  6905. | void yyset_debug (int debug_flag );
  6906. |
  6907. | YY_EXTRA_TYPE yyget_extra (void );
  6908. |
  6909. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  6910. |
  6911. | FILE *yyget_in (void );
  6912. |
  6913. | void yyset_in (FILE * in_str );
  6914. |
  6915. | FILE *yyget_out (void );
  6916. |
  6917. | void yyset_out (FILE * out_str );
  6918. |
  6919. | int yyget_leng (void );
  6920. |
  6921. | char *yyget_text (void );
  6922. |
  6923. | int yyget_lineno (void );
  6924. |
  6925. | void yyset_lineno (int line_number );
  6926. |
  6927. | /* Macros after this point can all be overridden by user definitions in
  6928. | * section 1.
  6929. | */
  6930. |
  6931. | #ifndef YY_SKIP_YYWRAP
  6932. | #ifdef __cplusplus
  6933. | extern "C" int yywrap (void );
  6934. | #else
  6935. | extern int yywrap (void );
  6936. | #endif
  6937. | #endif
  6938. |
  6939. | static void yyunput (int c,char *buf_ptr );
  6940. |
  6941. | #ifndef yytext_ptr
  6942. | static void yy_flex_strncpy (char *,yyconst char *,int );
  6943. | #endif
  6944. |
  6945. | #ifdef YY_NEED_STRLEN
  6946. | static int yy_flex_strlen (yyconst char * );
  6947. | #endif
  6948. |
  6949. | #ifndef YY_NO_INPUT
  6950. |
  6951. | #ifdef __cplusplus
  6952. | static int yyinput (void );
  6953. | #else
  6954. | static int input (void );
  6955. | #endif
  6956. |
  6957. | #endif
  6958. |
  6959. | /* Amount of stuff to slurp up with each read. */
  6960. | #ifndef YY_READ_BUF_SIZE
  6961. | #ifdef __ia64__
  6962. | /* On IA-64, the buffer size is 16k, not 8k */
  6963. | #define YY_READ_BUF_SIZE 16384
  6964. | #else
  6965. | #define YY_READ_BUF_SIZE 8192
  6966. | #endif /* __ia64__ */
  6967. | #endif
  6968. |
  6969. | /* Copy whatever the last rule matched to the standard output. */
  6970. | #ifndef ECHO
  6971. | /* This used to be an fputs(), but since the string might contain NUL's,
  6972. | * we now use fwrite().
  6973. | */
  6974. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  6975. | #endif
  6976. |
  6977. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  6978. | * is returned in "result".
  6979. | */
  6980. | #ifndef YY_INPUT
  6981. | #define YY_INPUT(buf,result,max_size) \
  6982. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  6983. | { \
  6984. | int c = '*'; \
  6985. | size_t n; \
  6986. | for ( n = 0; n < max_size && \
  6987. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  6988. | buf[n] = (char) c; \
  6989. | if ( c == '\n' ) \
  6990. | buf[n++] = (char) c; \
  6991. | if ( c == EOF && ferror( yyin ) ) \
  6992. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6993. | result = n; \
  6994. | } \
  6995. | else \
  6996. | { \
  6997. | errno=0; \
  6998. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  6999. | { \
  7000. | if( errno != EINTR) \
  7001. | { \
  7002. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  7003. | break; \
  7004. | } \
  7005. | errno=0; \
  7006. | clearerr(yyin); \
  7007. | } \
  7008. | }\
  7009. | \
  7010. |
  7011. | #endif
  7012. |
  7013. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  7014. | * we don't want an extra ';' after the "return" because that will cause
  7015. | * some compilers to complain about unreachable statements.
  7016. | */
  7017. | #ifndef yyterminate
  7018. | #define yyterminate() return YY_NULL
  7019. | #endif
  7020. |
  7021. | /* Number of entries by which start-condition stack grows. */
  7022. | #ifndef YY_START_STACK_INCR
  7023. | #define YY_START_STACK_INCR 25
  7024. | #endif
  7025. |
  7026. | /* Report a fatal error. */
  7027. | #ifndef YY_FATAL_ERROR
  7028. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  7029. | #endif
  7030. |
  7031. | /* end tables serialization structures and prototypes */
  7032. |
  7033. | /* Default declaration of generated scanner - a define so the user can
  7034. | * easily add parameters.
  7035. | */
  7036. | #ifndef YY_DECL
  7037. | #define YY_DECL_IS_OURS 1
  7038. |
  7039. | extern int yylex (void);
  7040. |
  7041. | #define YY_DECL int yylex (void)
  7042. | #endif /* !YY_DECL */
  7043. |
  7044. | /* Code executed at the beginning of each rule, after yytext and yyleng
  7045. | * have been set up.
  7046. | */
  7047. | #ifndef YY_USER_ACTION
  7048. | #define YY_USER_ACTION
  7049. | #endif
  7050. |
  7051. | /* Code executed at the end of each rule. */
  7052. | #ifndef YY_BREAK
  7053. | #define YY_BREAK break;
  7054. | #endif
  7055. |
  7056. | #define YY_RULE_SETUP \
  7057. | YY_USER_ACTION
  7058. |
  7059. | /** The main scanner function which does all the work.
  7060. | */
  7061. | YY_DECL
  7062. | {
  7063. | register yy_state_type yy_current_state;
  7064. | register char *yy_cp, *yy_bp;
  7065. | register int yy_act;
  7066. |
  7067. | #line 1 "conftest.l"
  7068. |
  7069. | #line 666 "lex.yy.c"
  7070. |
  7071. | if ( !(yy_init) )
  7072. | {
  7073. | (yy_init) = 1;
  7074. |
  7075. | #ifdef YY_USER_INIT
  7076. | YY_USER_INIT;
  7077. | #endif
  7078. |
  7079. | /* Create the reject buffer large enough to save one state per allowed character. */
  7080. | if ( ! (yy_state_buf) )
  7081. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  7082. | if ( ! (yy_state_buf) )
  7083. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  7084. |
  7085. | if ( ! (yy_start) )
  7086. | (yy_start) = 1; /* first start state */
  7087. |
  7088. | if ( ! yyin )
  7089. | yyin = stdin;
  7090. |
  7091. | if ( ! yyout )
  7092. | yyout = stdout;
  7093. |
  7094. | if ( ! YY_CURRENT_BUFFER ) {
  7095. | yyensure_buffer_stack ();
  7096. | YY_CURRENT_BUFFER_LVALUE =
  7097. | yy_create_buffer(yyin,YY_BUF_SIZE );
  7098. | }
  7099. |
  7100. | yy_load_buffer_state( );
  7101. | }
  7102. |
  7103. | while ( 1 ) /* loops until end-of-file is reached */
  7104. | {
  7105. | (yy_more_len) = 0;
  7106. | if ( (yy_more_flag) )
  7107. | {
  7108. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  7109. | (yy_more_flag) = 0;
  7110. | }
  7111. | yy_cp = (yy_c_buf_p);
  7112. |
  7113. | /* Support of yytext. */
  7114. | *yy_cp = (yy_hold_char);
  7115. |
  7116. | /* yy_bp points to the position in yy_ch_buf of the start of
  7117. | * the current run.
  7118. | */
  7119. | yy_bp = yy_cp;
  7120. |
  7121. | yy_current_state = (yy_start);
  7122. |
  7123. | (yy_state_ptr) = (yy_state_buf);
  7124. | *(yy_state_ptr)++ = yy_current_state;
  7125. |
  7126. | yy_match:
  7127. | do
  7128. | {
  7129. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  7130. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7131. | {
  7132. | yy_current_state = (int) yy_def[yy_current_state];
  7133. | if ( yy_current_state >= 13 )
  7134. | yy_c = yy_meta[(unsigned int) yy_c];
  7135. | }
  7136. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7137. | *(yy_state_ptr)++ = yy_current_state;
  7138. | ++yy_cp;
  7139. | }
  7140. | while ( yy_base[yy_current_state] != 10 );
  7141. |
  7142. | yy_find_action:
  7143. | yy_current_state = *--(yy_state_ptr);
  7144. | (yy_lp) = yy_accept[yy_current_state];
  7145. | find_rule: /* we branch to this label when backing up */
  7146. | for ( ; ; ) /* until we find what rule we matched */
  7147. | {
  7148. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  7149. | {
  7150. | yy_act = yy_acclist[(yy_lp)];
  7151. | {
  7152. | (yy_full_match) = yy_cp;
  7153. | break;
  7154. | }
  7155. | }
  7156. | --yy_cp;
  7157. | yy_current_state = *--(yy_state_ptr);
  7158. | (yy_lp) = yy_accept[yy_current_state];
  7159. | }
  7160. |
  7161. | YY_DO_BEFORE_ACTION;
  7162. |
  7163. | do_action: /* This label is used only to access EOF actions. */
  7164. |
  7165. | switch ( yy_act )
  7166. | { /* beginning of action switch */
  7167. | case 1:
  7168. | YY_RULE_SETUP
  7169. | #line 2 "conftest.l"
  7170. | { ECHO; }
  7171. | YY_BREAK
  7172. | case 2:
  7173. | YY_RULE_SETUP
  7174. | #line 3 "conftest.l"
  7175. | { REJECT; }
  7176. | YY_BREAK
  7177. | case 3:
  7178. | YY_RULE_SETUP
  7179. | #line 4 "conftest.l"
  7180. | { yymore (); }
  7181. | YY_BREAK
  7182. | case 4:
  7183. | YY_RULE_SETUP
  7184. | #line 5 "conftest.l"
  7185. | { yyless (1); }
  7186. | YY_BREAK
  7187. | case 5:
  7188. | YY_RULE_SETUP
  7189. | #line 6 "conftest.l"
  7190. | { yyless (input () != 0); }
  7191. | YY_BREAK
  7192. | case 6:
  7193. | YY_RULE_SETUP
  7194. | #line 7 "conftest.l"
  7195. | { unput (yytext[0]); }
  7196. | YY_BREAK
  7197. | case 7:
  7198. | YY_RULE_SETUP
  7199. | #line 8 "conftest.l"
  7200. | { BEGIN INITIAL; }
  7201. | YY_BREAK
  7202. | case 8:
  7203. | YY_RULE_SETUP
  7204. | #line 9 "conftest.l"
  7205. | ECHO;
  7206. | YY_BREAK
  7207. | #line 804 "lex.yy.c"
  7208. | case YY_STATE_EOF(INITIAL):
  7209. | yyterminate();
  7210. |
  7211. | case YY_END_OF_BUFFER:
  7212. | {
  7213. | /* Amount of text matched not including the EOB char. */
  7214. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  7215. |
  7216. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  7217. | *yy_cp = (yy_hold_char);
  7218. | YY_RESTORE_YY_MORE_OFFSET
  7219. |
  7220. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  7221. | {
  7222. | /* We're scanning a new file or input source. It's
  7223. | * possible that this happened because the user
  7224. | * just pointed yyin at a new source and called
  7225. | * yylex(). If so, then we have to assure
  7226. | * consistency between YY_CURRENT_BUFFER and our
  7227. | * globals. Here is the right place to do so, because
  7228. | * this is the first action (other than possibly a
  7229. | * back-up) that will match for the new input source.
  7230. | */
  7231. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  7232. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  7233. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  7234. | }
  7235. |
  7236. | /* Note that here we test for yy_c_buf_p "<=" to the position
  7237. | * of the first EOB in the buffer, since yy_c_buf_p will
  7238. | * already have been incremented past the NUL character
  7239. | * (since all states make transitions on EOB to the
  7240. | * end-of-buffer state). Contrast this with the test
  7241. | * in input().
  7242. | */
  7243. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  7244. | { /* This was really a NUL. */
  7245. | yy_state_type yy_next_state;
  7246. |
  7247. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  7248. |
  7249. | yy_current_state = yy_get_previous_state( );
  7250. |
  7251. | /* Okay, we're now positioned to make the NUL
  7252. | * transition. We couldn't have
  7253. | * yy_get_previous_state() go ahead and do it
  7254. | * for us because it doesn't know how to deal
  7255. | * with the possibility of jamming (and we don't
  7256. | * want to build jamming into it because then it
  7257. | * will run more slowly).
  7258. | */
  7259. |
  7260. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  7261. |
  7262. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7263. |
  7264. | if ( yy_next_state )
  7265. | {
  7266. | /* Consume the NUL. */
  7267. | yy_cp = ++(yy_c_buf_p);
  7268. | yy_current_state = yy_next_state;
  7269. | goto yy_match;
  7270. | }
  7271. |
  7272. | else
  7273. | {
  7274. | yy_cp = (yy_c_buf_p);
  7275. | goto yy_find_action;
  7276. | }
  7277. | }
  7278. |
  7279. | else switch ( yy_get_next_buffer( ) )
  7280. | {
  7281. | case EOB_ACT_END_OF_FILE:
  7282. | {
  7283. | (yy_did_buffer_switch_on_eof) = 0;
  7284. |
  7285. | if ( yywrap( ) )
  7286. | {
  7287. | /* Note: because we've taken care in
  7288. | * yy_get_next_buffer() to have set up
  7289. | * yytext, we can now set up
  7290. | * yy_c_buf_p so that if some total
  7291. | * hoser (like flex itself) wants to
  7292. | * call the scanner after we return the
  7293. | * YY_NULL, it'll still work - another
  7294. | * YY_NULL will get returned.
  7295. | */
  7296. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  7297. |
  7298. | yy_act = YY_STATE_EOF(YY_START);
  7299. | goto do_action;
  7300. | }
  7301. |
  7302. | else
  7303. | {
  7304. | if ( ! (yy_did_buffer_switch_on_eof) )
  7305. | YY_NEW_FILE;
  7306. | }
  7307. | break;
  7308. | }
  7309. |
  7310. | case EOB_ACT_CONTINUE_SCAN:
  7311. | (yy_c_buf_p) =
  7312. | (yytext_ptr) + yy_amount_of_matched_text;
  7313. |
  7314. | yy_current_state = yy_get_previous_state( );
  7315. |
  7316. | yy_cp = (yy_c_buf_p);
  7317. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7318. | goto yy_match;
  7319. |
  7320. | case EOB_ACT_LAST_MATCH:
  7321. | (yy_c_buf_p) =
  7322. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  7323. |
  7324. | yy_current_state = yy_get_previous_state( );
  7325. |
  7326. | yy_cp = (yy_c_buf_p);
  7327. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  7328. | goto yy_find_action;
  7329. | }
  7330. | break;
  7331. | }
  7332. |
  7333. | default:
  7334. | YY_FATAL_ERROR(
  7335. | "fatal flex scanner internal error--no action found" );
  7336. | } /* end of action switch */
  7337. | } /* end of scanning one token */
  7338. | } /* end of yylex */
  7339. |
  7340. | /* yy_get_next_buffer - try to read in a new buffer
  7341. | *
  7342. | * Returns a code representing an action:
  7343. | * EOB_ACT_LAST_MATCH -
  7344. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  7345. | * EOB_ACT_END_OF_FILE - end of file
  7346. | */
  7347. | static int yy_get_next_buffer (void)
  7348. | {
  7349. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  7350. | register char *source = (yytext_ptr);
  7351. | register int number_to_move, i;
  7352. | int ret_val;
  7353. |
  7354. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  7355. | YY_FATAL_ERROR(
  7356. | "fatal flex scanner internal error--end of buffer missed" );
  7357. |
  7358. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  7359. | { /* Don't try to fill the buffer, so this is an EOF. */
  7360. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  7361. | {
  7362. | /* We matched a single character, the EOB, so
  7363. | * treat this as a final EOF.
  7364. | */
  7365. | return EOB_ACT_END_OF_FILE;
  7366. | }
  7367. |
  7368. | else
  7369. | {
  7370. | /* We matched some text prior to the EOB, first
  7371. | * process it.
  7372. | */
  7373. | return EOB_ACT_LAST_MATCH;
  7374. | }
  7375. | }
  7376. |
  7377. | /* Try to read more data. */
  7378. |
  7379. | /* First move last chars to start of buffer. */
  7380. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  7381. |
  7382. | for ( i = 0; i < number_to_move; ++i )
  7383. | *(dest++) = *(source++);
  7384. |
  7385. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  7386. | /* don't do the read, it's not guaranteed to return an EOF,
  7387. | * just force an EOF
  7388. | */
  7389. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  7390. |
  7391. | else
  7392. | {
  7393. | int num_to_read =
  7394. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  7395. |
  7396. | while ( num_to_read <= 0 )
  7397. | { /* Not enough room in the buffer - grow it. */
  7398. |
  7399. | YY_FATAL_ERROR(
  7400. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  7401. |
  7402. | }
  7403. |
  7404. | if ( num_to_read > YY_READ_BUF_SIZE )
  7405. | num_to_read = YY_READ_BUF_SIZE;
  7406. |
  7407. | /* Read in more data. */
  7408. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  7409. | (yy_n_chars), (size_t) num_to_read );
  7410. |
  7411. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7412. | }
  7413. |
  7414. | if ( (yy_n_chars) == 0 )
  7415. | {
  7416. | if ( number_to_move == YY_MORE_ADJ )
  7417. | {
  7418. | ret_val = EOB_ACT_END_OF_FILE;
  7419. | yyrestart(yyin );
  7420. | }
  7421. |
  7422. | else
  7423. | {
  7424. | ret_val = EOB_ACT_LAST_MATCH;
  7425. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  7426. | YY_BUFFER_EOF_PENDING;
  7427. | }
  7428. | }
  7429. |
  7430. | else
  7431. | ret_val = EOB_ACT_CONTINUE_SCAN;
  7432. |
  7433. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  7434. | /* Extend the array by 50%, plus the number we really need. */
  7435. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  7436. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  7437. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  7438. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  7439. | }
  7440. |
  7441. | (yy_n_chars) += number_to_move;
  7442. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  7443. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  7444. |
  7445. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  7446. |
  7447. | return ret_val;
  7448. | }
  7449. |
  7450. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  7451. |
  7452. | static yy_state_type yy_get_previous_state (void)
  7453. | {
  7454. | register yy_state_type yy_current_state;
  7455. | register char *yy_cp;
  7456. |
  7457. | yy_current_state = (yy_start);
  7458. |
  7459. | (yy_state_ptr) = (yy_state_buf);
  7460. | *(yy_state_ptr)++ = yy_current_state;
  7461. |
  7462. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  7463. | {
  7464. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  7465. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7466. | {
  7467. | yy_current_state = (int) yy_def[yy_current_state];
  7468. | if ( yy_current_state >= 13 )
  7469. | yy_c = yy_meta[(unsigned int) yy_c];
  7470. | }
  7471. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7472. | *(yy_state_ptr)++ = yy_current_state;
  7473. | }
  7474. |
  7475. | return yy_current_state;
  7476. | }
  7477. |
  7478. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  7479. | *
  7480. | * synopsis
  7481. | * next_state = yy_try_NUL_trans( current_state );
  7482. | */
  7483. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  7484. | {
  7485. | register int yy_is_jam;
  7486. |
  7487. | register YY_CHAR yy_c = 1;
  7488. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  7489. | {
  7490. | yy_current_state = (int) yy_def[yy_current_state];
  7491. | if ( yy_current_state >= 13 )
  7492. | yy_c = yy_meta[(unsigned int) yy_c];
  7493. | }
  7494. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  7495. | yy_is_jam = (yy_current_state == 12);
  7496. | if ( ! yy_is_jam )
  7497. | *(yy_state_ptr)++ = yy_current_state;
  7498. |
  7499. | return yy_is_jam ? 0 : yy_current_state;
  7500. | }
  7501. |
  7502. | static void yyunput (int c, register char * yy_bp )
  7503. | {
  7504. | register char *yy_cp;
  7505. |
  7506. | yy_cp = (yy_c_buf_p);
  7507. |
  7508. | /* undo effects of setting up yytext */
  7509. | *yy_cp = (yy_hold_char);
  7510. |
  7511. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  7512. | { /* need to shift things up to make room */
  7513. | /* +2 for EOB chars. */
  7514. | register int number_to_move = (yy_n_chars) + 2;
  7515. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  7516. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  7517. | register char *source =
  7518. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  7519. |
  7520. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  7521. | *--dest = *--source;
  7522. |
  7523. | yy_cp += (int) (dest - source);
  7524. | yy_bp += (int) (dest - source);
  7525. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  7526. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  7527. |
  7528. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  7529. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  7530. | }
  7531. |
  7532. | *--yy_cp = (char) c;
  7533. |
  7534. | (yytext_ptr) = yy_bp;
  7535. | (yy_hold_char) = *yy_cp;
  7536. | (yy_c_buf_p) = yy_cp;
  7537. | }
  7538. |
  7539. | #ifndef YY_NO_INPUT
  7540. | #ifdef __cplusplus
  7541. | static int yyinput (void)
  7542. | #else
  7543. | static int input (void)
  7544. | #endif
  7545. |
  7546. | {
  7547. | int c;
  7548. |
  7549. | *(yy_c_buf_p) = (yy_hold_char);
  7550. |
  7551. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  7552. | {
  7553. | /* yy_c_buf_p now points to the character we want to return.
  7554. | * If this occurs *before* the EOB characters, then it's a
  7555. | * valid NUL; if not, then we've hit the end of the buffer.
  7556. | */
  7557. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  7558. | /* This was really a NUL. */
  7559. | *(yy_c_buf_p) = '\0';
  7560. |
  7561. | else
  7562. | { /* need more input */
  7563. | int offset = (yy_c_buf_p) - (yytext_ptr);
  7564. | ++(yy_c_buf_p);
  7565. |
  7566. | switch ( yy_get_next_buffer( ) )
  7567. | {
  7568. | case EOB_ACT_LAST_MATCH:
  7569. | /* This happens because yy_g_n_b()
  7570. | * sees that we've accumulated a
  7571. | * token and flags that we need to
  7572. | * try matching the token before
  7573. | * proceeding. But for input(),
  7574. | * there's no matching to consider.
  7575. | * So convert the EOB_ACT_LAST_MATCH
  7576. | * to EOB_ACT_END_OF_FILE.
  7577. | */
  7578. |
  7579. | /* Reset buffer status. */
  7580. | yyrestart(yyin );
  7581. |
  7582. | /*FALLTHROUGH*/
  7583. |
  7584. | case EOB_ACT_END_OF_FILE:
  7585. | {
  7586. | if ( yywrap( ) )
  7587. | return EOF;
  7588. |
  7589. | if ( ! (yy_did_buffer_switch_on_eof) )
  7590. | YY_NEW_FILE;
  7591. | #ifdef __cplusplus
  7592. | return yyinput();
  7593. | #else
  7594. | return input();
  7595. | #endif
  7596. | }
  7597. |
  7598. | case EOB_ACT_CONTINUE_SCAN:
  7599. | (yy_c_buf_p) = (yytext_ptr) + offset;
  7600. | break;
  7601. | }
  7602. | }
  7603. | }
  7604. |
  7605. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  7606. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  7607. | (yy_hold_char) = *++(yy_c_buf_p);
  7608. |
  7609. | return c;
  7610. | }
  7611. | #endif /* ifndef YY_NO_INPUT */
  7612. |
  7613. | /** Immediately switch to a different input stream.
  7614. | * @param input_file A readable stream.
  7615. | *
  7616. | * @note This function does not reset the start condition to @c INITIAL .
  7617. | */
  7618. | void yyrestart (FILE * input_file )
  7619. | {
  7620. |
  7621. | if ( ! YY_CURRENT_BUFFER ){
  7622. | yyensure_buffer_stack ();
  7623. | YY_CURRENT_BUFFER_LVALUE =
  7624. | yy_create_buffer(yyin,YY_BUF_SIZE );
  7625. | }
  7626. |
  7627. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  7628. | yy_load_buffer_state( );
  7629. | }
  7630. |
  7631. | /** Switch to a different input buffer.
  7632. | * @param new_buffer The new input buffer.
  7633. | *
  7634. | */
  7635. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  7636. | {
  7637. |
  7638. | /* TODO. We should be able to replace this entire function body
  7639. | * with
  7640. | * yypop_buffer_state();
  7641. | * yypush_buffer_state(new_buffer);
  7642. | */
  7643. | yyensure_buffer_stack ();
  7644. | if ( YY_CURRENT_BUFFER == new_buffer )
  7645. | return;
  7646. |
  7647. | if ( YY_CURRENT_BUFFER )
  7648. | {
  7649. | /* Flush out information for old buffer. */
  7650. | *(yy_c_buf_p) = (yy_hold_char);
  7651. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7652. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7653. | }
  7654. |
  7655. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7656. | yy_load_buffer_state( );
  7657. |
  7658. | /* We don't actually know whether we did this switch during
  7659. | * EOF (yywrap()) processing, but the only time this flag
  7660. | * is looked at is after yywrap() is called, so it's safe
  7661. | * to go ahead and always set it.
  7662. | */
  7663. | (yy_did_buffer_switch_on_eof) = 1;
  7664. | }
  7665. |
  7666. | static void yy_load_buffer_state (void)
  7667. | {
  7668. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  7669. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  7670. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  7671. | (yy_hold_char) = *(yy_c_buf_p);
  7672. | }
  7673. |
  7674. | /** Allocate and initialize an input buffer state.
  7675. | * @param file A readable stream.
  7676. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  7677. | *
  7678. | * @return the allocated buffer state.
  7679. | */
  7680. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  7681. | {
  7682. | YY_BUFFER_STATE b;
  7683. |
  7684. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  7685. | if ( ! b )
  7686. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7687. |
  7688. | b->yy_buf_size = size;
  7689. |
  7690. | /* yy_ch_buf has to be 2 characters longer than the size given because
  7691. | * we need to put in 2 end-of-buffer characters.
  7692. | */
  7693. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  7694. | if ( ! b->yy_ch_buf )
  7695. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7696. |
  7697. | b->yy_is_our_buffer = 1;
  7698. |
  7699. | yy_init_buffer(b,file );
  7700. |
  7701. | return b;
  7702. | }
  7703. |
  7704. | /** Destroy the buffer.
  7705. | * @param b a buffer created with yy_create_buffer()
  7706. | *
  7707. | */
  7708. | void yy_delete_buffer (YY_BUFFER_STATE b )
  7709. | {
  7710. |
  7711. | if ( ! b )
  7712. | return;
  7713. |
  7714. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  7715. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  7716. |
  7717. | if ( b->yy_is_our_buffer )
  7718. | yyfree((void *) b->yy_ch_buf );
  7719. |
  7720. | yyfree((void *) b );
  7721. | }
  7722. |
  7723. | #ifndef __cplusplus
  7724. | extern int isatty (int );
  7725. | #endif /* __cplusplus */
  7726. |
  7727. | /* Initializes or reinitializes a buffer.
  7728. | * This function is sometimes called more than once on the same buffer,
  7729. | * such as during a yyrestart() or at EOF.
  7730. | */
  7731. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  7732. |
  7733. | {
  7734. | int oerrno = errno;
  7735. |
  7736. | yy_flush_buffer(b );
  7737. |
  7738. | b->yy_input_file = file;
  7739. | b->yy_fill_buffer = 1;
  7740. |
  7741. | /* If b is the current buffer, then yy_init_buffer was _probably_
  7742. | * called from yyrestart() or through yy_get_next_buffer.
  7743. | * In that case, we don't want to reset the lineno or column.
  7744. | */
  7745. | if (b != YY_CURRENT_BUFFER){
  7746. | b->yy_bs_lineno = 1;
  7747. | b->yy_bs_column = 0;
  7748. | }
  7749. |
  7750. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  7751. |
  7752. | errno = oerrno;
  7753. | }
  7754. |
  7755. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  7756. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  7757. | *
  7758. | */
  7759. | void yy_flush_buffer (YY_BUFFER_STATE b )
  7760. | {
  7761. | if ( ! b )
  7762. | return;
  7763. |
  7764. | b->yy_n_chars = 0;
  7765. |
  7766. | /* We always need two end-of-buffer characters. The first causes
  7767. | * a transition to the end-of-buffer state. The second causes
  7768. | * a jam in that state.
  7769. | */
  7770. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  7771. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  7772. |
  7773. | b->yy_buf_pos = &b->yy_ch_buf[0];
  7774. |
  7775. | b->yy_at_bol = 1;
  7776. | b->yy_buffer_status = YY_BUFFER_NEW;
  7777. |
  7778. | if ( b == YY_CURRENT_BUFFER )
  7779. | yy_load_buffer_state( );
  7780. | }
  7781. |
  7782. | /** Pushes the new state onto the stack. The new state becomes
  7783. | * the current state. This function will allocate the stack
  7784. | * if necessary.
  7785. | * @param new_buffer The new state.
  7786. | *
  7787. | */
  7788. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  7789. | {
  7790. | if (new_buffer == NULL)
  7791. | return;
  7792. |
  7793. | yyensure_buffer_stack();
  7794. |
  7795. | /* This block is copied from yy_switch_to_buffer. */
  7796. | if ( YY_CURRENT_BUFFER )
  7797. | {
  7798. | /* Flush out information for old buffer. */
  7799. | *(yy_c_buf_p) = (yy_hold_char);
  7800. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7801. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7802. | }
  7803. |
  7804. | /* Only push if top exists. Otherwise, replace top. */
  7805. | if (YY_CURRENT_BUFFER)
  7806. | (yy_buffer_stack_top)++;
  7807. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7808. |
  7809. | /* copied from yy_switch_to_buffer. */
  7810. | yy_load_buffer_state( );
  7811. | (yy_did_buffer_switch_on_eof) = 1;
  7812. | }
  7813. |
  7814. | /** Removes and deletes the top of the stack, if present.
  7815. | * The next element becomes the new top.
  7816. | *
  7817. | */
  7818. | void yypop_buffer_state (void)
  7819. | {
  7820. | if (!YY_CURRENT_BUFFER)
  7821. | return;
  7822. |
  7823. | yy_delete_buffer(YY_CURRENT_BUFFER );
  7824. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7825. | if ((yy_buffer_stack_top) > 0)
  7826. | --(yy_buffer_stack_top);
  7827. |
  7828. | if (YY_CURRENT_BUFFER) {
  7829. | yy_load_buffer_state( );
  7830. | (yy_did_buffer_switch_on_eof) = 1;
  7831. | }
  7832. | }
  7833. |
  7834. | /* Allocates the stack if it does not exist.
  7835. | * Guarantees space for at least one push.
  7836. | */
  7837. | static void yyensure_buffer_stack (void)
  7838. | {
  7839. | int num_to_alloc;
  7840. |
  7841. | if (!(yy_buffer_stack)) {
  7842. |
  7843. | /* First allocation is just for 2 elements, since we don't know if this
  7844. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  7845. | * immediate realloc on the next call.
  7846. | */
  7847. | num_to_alloc = 1;
  7848. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  7849. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  7850. | );
  7851. | if ( ! (yy_buffer_stack) )
  7852. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7853. |
  7854. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  7855. |
  7856. | (yy_buffer_stack_max) = num_to_alloc;
  7857. | (yy_buffer_stack_top) = 0;
  7858. | return;
  7859. | }
  7860. |
  7861. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  7862. |
  7863. | /* Increase the buffer to prepare for a possible push. */
  7864. | int grow_size = 8 /* arbitrary grow size */;
  7865. |
  7866. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  7867. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  7868. | ((yy_buffer_stack),
  7869. | num_to_alloc * sizeof(struct yy_buffer_state*)
  7870. | );
  7871. | if ( ! (yy_buffer_stack) )
  7872. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7873. |
  7874. | /* zero only the new slots.*/
  7875. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  7876. | (yy_buffer_stack_max) = num_to_alloc;
  7877. | }
  7878. | }
  7879. |
  7880. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  7881. | * @param base the character buffer
  7882. | * @param size the size in bytes of the character buffer
  7883. | *
  7884. | * @return the newly allocated buffer state object.
  7885. | */
  7886. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  7887. | {
  7888. | YY_BUFFER_STATE b;
  7889. |
  7890. | if ( size < 2 ||
  7891. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  7892. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  7893. | /* They forgot to leave room for the EOB's. */
  7894. | return 0;
  7895. |
  7896. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  7897. | if ( ! b )
  7898. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  7899. |
  7900. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  7901. | b->yy_buf_pos = b->yy_ch_buf = base;
  7902. | b->yy_is_our_buffer = 0;
  7903. | b->yy_input_file = 0;
  7904. | b->yy_n_chars = b->yy_buf_size;
  7905. | b->yy_is_interactive = 0;
  7906. | b->yy_at_bol = 1;
  7907. | b->yy_fill_buffer = 0;
  7908. | b->yy_buffer_status = YY_BUFFER_NEW;
  7909. |
  7910. | yy_switch_to_buffer(b );
  7911. |
  7912. | return b;
  7913. | }
  7914. |
  7915. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  7916. | * scan from a @e copy of @a str.
  7917. | * @param yystr a NUL-terminated string to scan
  7918. | *
  7919. | * @return the newly allocated buffer state object.
  7920. | * @note If you want to scan bytes that may contain NUL values, then use
  7921. | * yy_scan_bytes() instead.
  7922. | */
  7923. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  7924. | {
  7925. |
  7926. | return yy_scan_bytes(yystr,strlen(yystr) );
  7927. | }
  7928. |
  7929. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  7930. | * scan from a @e copy of @a bytes.
  7931. | * @param yybytes the byte buffer to scan
  7932. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  7933. | *
  7934. | * @return the newly allocated buffer state object.
  7935. | */
  7936. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
  7937. | {
  7938. | YY_BUFFER_STATE b;
  7939. | char *buf;
  7940. | yy_size_t n;
  7941. | int i;
  7942. |
  7943. | /* Get memory for full buffer, including space for trailing EOB's. */
  7944. | n = _yybytes_len + 2;
  7945. | buf = (char *) yyalloc(n );
  7946. | if ( ! buf )
  7947. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  7948. |
  7949. | for ( i = 0; i < _yybytes_len; ++i )
  7950. | buf[i] = yybytes[i];
  7951. |
  7952. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  7953. |
  7954. | b = yy_scan_buffer(buf,n );
  7955. | if ( ! b )
  7956. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  7957. |
  7958. | /* It's okay to grow etc. this buffer, and we should throw it
  7959. | * away when we're done.
  7960. | */
  7961. | b->yy_is_our_buffer = 1;
  7962. |
  7963. | return b;
  7964. | }
  7965. |
  7966. | #ifndef YY_EXIT_FAILURE
  7967. | #define YY_EXIT_FAILURE 2
  7968. | #endif
  7969. |
  7970. | static void yy_fatal_error (yyconst char* msg )
  7971. | {
  7972. | (void) fprintf( stderr, "%s\n", msg );
  7973. | exit( YY_EXIT_FAILURE );
  7974. | }
  7975. |
  7976. | /* Redefine yyless() so it works in section 3 code. */
  7977. |
  7978. | #undef yyless
  7979. | #define yyless(n) \
  7980. | do \
  7981. | { \
  7982. | /* Undo effects of setting up yytext. */ \
  7983. | int yyless_macro_arg = (n); \
  7984. | YY_LESS_LINENO(yyless_macro_arg);\
  7985. | yytext[yyleng] = (yy_hold_char); \
  7986. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  7987. | (yy_hold_char) = *(yy_c_buf_p); \
  7988. | *(yy_c_buf_p) = '\0'; \
  7989. | yyleng = yyless_macro_arg; \
  7990. | } \
  7991. | while ( 0 )
  7992. |
  7993. | /* Accessor methods (get/set functions) to struct members. */
  7994. |
  7995. | /** Get the current line number.
  7996. | *
  7997. | */
  7998. | int yyget_lineno (void)
  7999. | {
  8000. |
  8001. | return yylineno;
  8002. | }
  8003. |
  8004. | /** Get the input stream.
  8005. | *
  8006. | */
  8007. | FILE *yyget_in (void)
  8008. | {
  8009. | return yyin;
  8010. | }
  8011. |
  8012. | /** Get the output stream.
  8013. | *
  8014. | */
  8015. | FILE *yyget_out (void)
  8016. | {
  8017. | return yyout;
  8018. | }
  8019. |
  8020. | /** Get the length of the current token.
  8021. | *
  8022. | */
  8023. | int yyget_leng (void)
  8024. | {
  8025. | return yyleng;
  8026. | }
  8027. |
  8028. | /** Get the current token.
  8029. | *
  8030. | */
  8031. |
  8032. | char *yyget_text (void)
  8033. | {
  8034. | return yytext;
  8035. | }
  8036. |
  8037. | /** Set the current line number.
  8038. | * @param line_number
  8039. | *
  8040. | */
  8041. | void yyset_lineno (int line_number )
  8042. | {
  8043. |
  8044. | yylineno = line_number;
  8045. | }
  8046. |
  8047. | /** Set the input stream. This does not discard the current
  8048. | * input buffer.
  8049. | * @param in_str A readable stream.
  8050. | *
  8051. | * @see yy_switch_to_buffer
  8052. | */
  8053. | void yyset_in (FILE * in_str )
  8054. | {
  8055. | yyin = in_str ;
  8056. | }
  8057. |
  8058. | void yyset_out (FILE * out_str )
  8059. | {
  8060. | yyout = out_str ;
  8061. | }
  8062. |
  8063. | int yyget_debug (void)
  8064. | {
  8065. | return yy_flex_debug;
  8066. | }
  8067. |
  8068. | void yyset_debug (int bdebug )
  8069. | {
  8070. | yy_flex_debug = bdebug ;
  8071. | }
  8072. |
  8073. | static int yy_init_globals (void)
  8074. | {
  8075. | /* Initialization is the same as for the non-reentrant scanner.
  8076. | * This function is called from yylex_destroy(), so don't allocate here.
  8077. | */
  8078. |
  8079. | (yy_buffer_stack) = 0;
  8080. | (yy_buffer_stack_top) = 0;
  8081. | (yy_buffer_stack_max) = 0;
  8082. | (yy_c_buf_p) = (char *) 0;
  8083. | (yy_init) = 0;
  8084. | (yy_start) = 0;
  8085. |
  8086. | (yy_state_buf) = 0;
  8087. | (yy_state_ptr) = 0;
  8088. | (yy_full_match) = 0;
  8089. | (yy_lp) = 0;
  8090. |
  8091. | /* Defined in main.c */
  8092. | #ifdef YY_STDINIT
  8093. | yyin = stdin;
  8094. | yyout = stdout;
  8095. | #else
  8096. | yyin = (FILE *) 0;
  8097. | yyout = (FILE *) 0;
  8098. | #endif
  8099. |
  8100. | /* For future reference: Set errno on error, since we are called by
  8101. | * yylex_init()
  8102. | */
  8103. | return 0;
  8104. | }
  8105. |
  8106. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  8107. | int yylex_destroy (void)
  8108. | {
  8109. |
  8110. | /* Pop the buffer stack, destroying each element. */
  8111. | while(YY_CURRENT_BUFFER){
  8112. | yy_delete_buffer(YY_CURRENT_BUFFER );
  8113. | YY_CURRENT_BUFFER_LVALUE = NULL;
  8114. | yypop_buffer_state();
  8115. | }
  8116. |
  8117. | /* Destroy the stack itself. */
  8118. | yyfree((yy_buffer_stack) );
  8119. | (yy_buffer_stack) = NULL;
  8120. |
  8121. | yyfree ( (yy_state_buf) );
  8122. | (yy_state_buf) = NULL;
  8123. |
  8124. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  8125. | * yylex() is called, initialization will occur. */
  8126. | yy_init_globals( );
  8127. |
  8128. | return 0;
  8129. | }
  8130. |
  8131. | /*
  8132. | * Internal utility routines.
  8133. | */
  8134. |
  8135. | #ifndef yytext_ptr
  8136. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  8137. | {
  8138. | register int i;
  8139. | for ( i = 0; i < n; ++i )
  8140. | s1[i] = s2[i];
  8141. | }
  8142. | #endif
  8143. |
  8144. | #ifdef YY_NEED_STRLEN
  8145. | static int yy_flex_strlen (yyconst char * s )
  8146. | {
  8147. | register int n;
  8148. | for ( n = 0; s[n]; ++n )
  8149. | ;
  8150. |
  8151. | return n;
  8152. | }
  8153. | #endif
  8154. |
  8155. | void *yyalloc (yy_size_t size )
  8156. | {
  8157. | return (void *) malloc( size );
  8158. | }
  8159. |
  8160. | void *yyrealloc (void * ptr, yy_size_t size )
  8161. | {
  8162. | /* The cast to (char *) in the following accommodates both
  8163. | * implementations that use char* generic pointers, and those
  8164. | * that use void* generic pointers. It works with the latter
  8165. | * because both ANSI C and C++ allow castless assignment from
  8166. | * any pointer type to void*, and deal with argument conversions
  8167. | * as though doing an assignment.
  8168. | */
  8169. | return (void *) realloc( (char *) ptr, size );
  8170. | }
  8171. |
  8172. | void yyfree (void * ptr )
  8173. | {
  8174. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  8175. | }
  8176. |
  8177. | #define YYTABLES_NAME "yytables"
  8178. |
  8179. | #line 9 "conftest.l"
  8180. |
  8181. |
  8182. | #ifdef YYTEXT_POINTER
  8183. | extern char *yytext;
  8184. | #endif
  8185. | int
  8186. | main (void)
  8187. | {
  8188. | return ! yylex () + ! yywrap ();
  8189. | }
  8190. configure:23224: result: no
  8191. configure:23243: checking for bison
  8192. configure:23259: found /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin/bison
  8193. configure:23270: result: bison -y
  8194. configure:23294: checking for syscall
  8195. configure:23350: ccache i486-openwrt-linux-uclibc-gcc -o conftest -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib conftest.c -lncurses -lm >&5
  8196. configure:23357: $? = 0
  8197. configure:23377: result: yes
  8198. configure:23398: checking sys/syscall.h usability
  8199. configure:23415: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  8200. configure:23422: $? = 0
  8201. configure:23436: result: yes
  8202. configure:23440: checking sys/syscall.h presence
  8203. configure:23455: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  8204. configure:23462: $? = 0
  8205. configure:23476: result: yes
  8206. configure:23509: checking for sys/syscall.h
  8207. configure:23516: result: yes
  8208. configure:23532: checking for unistd.h
  8209. configure:23537: result: yes
  8210. configure:23674: checking for __NR_sched_setaffinity
  8211. configure:23710: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  8212. configure:23717: $? = 0
  8213. configure:23722: result: yes
  8214. configure:23741: checking for __NR_sched_getaffinity
  8215. configure:23777: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  8216. configure:23784: $? = 0
  8217. configure:23789: result: yes
  8218. configure:23811: checking for PLPA building mode
  8219. configure:23813: result: included
  8220. configure:23817: checking if want PLPA maintainer support
  8221. configure:23824: result: disabled
  8222. configure:23830: checking for PLPA config prefix
  8223. configure:23832: result: plpa-1.3.2
  8224. configure:23845: checking for PLPA symbol prefix
  8225. configure:23860: result: plpa_
  8226. configure:23894: checking valgrind/valgrind.h usability
  8227. configure:23911: ccache i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c >&5
  8228. conftest.c:84:31: error: valgrind/valgrind.h: No such file or directory
  8229. configure:23918: $? = 1
  8230. configure: failed program was:
  8231. | /* confdefs.h. */
  8232. | #define PACKAGE_NAME "htop"
  8233. | #define PACKAGE_TARNAME "htop"
  8234. | #define PACKAGE_VERSION "0.9"
  8235. | #define PACKAGE_STRING "htop 0.9"
  8236. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  8237. | #define PACKAGE "htop"
  8238. | #define VERSION "0.9"
  8239. | #define STDC_HEADERS 1
  8240. | #define HAVE_SYS_TYPES_H 1
  8241. | #define HAVE_SYS_STAT_H 1
  8242. | #define HAVE_STDLIB_H 1
  8243. | #define HAVE_STRING_H 1
  8244. | #define HAVE_MEMORY_H 1
  8245. | #define HAVE_STRINGS_H 1
  8246. | #define HAVE_INTTYPES_H 1
  8247. | #define HAVE_STDINT_H 1
  8248. | #define HAVE_UNISTD_H 1
  8249. | #define HAVE_DLFCN_H 1
  8250. | #define HAVE_LIBM 1
  8251. | #define HAVE_DIRENT_H 1
  8252. | #define STDC_HEADERS 1
  8253. | #define HAVE_STDLIB_H 1
  8254. | #define HAVE_STRING_H 1
  8255. | #define HAVE_STRINGS_H 1
  8256. | #define HAVE_SYS_PARAM_H 1
  8257. | #define HAVE_SYS_TIME_H 1
  8258. | #define HAVE_UNISTD_H 1
  8259. | #define HAVE_CURSES_H 1
  8260. | #define HAVE__BOOL 1
  8261. | #define HAVE_STDBOOL_H 1
  8262. | #define CLOSEDIR_VOID 1
  8263. | #define HAVE_STDLIB_H 1
  8264. | #define HAVE_MALLOC 1
  8265. | #define HAVE_STDLIB_H 1
  8266. | #define HAVE_REALLOC 1
  8267. | #define RETSIGTYPE void
  8268. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  8269. | #define HAVE_MEMMOVE 1
  8270. | #define HAVE_STRNCASECMP 1
  8271. | #define HAVE_STRSTR 1
  8272. | #define HAVE_STRDUP 1
  8273. | #define PROCDIR "/proc"
  8274. | #define HAVE_TASKSTATS 1
  8275. | #define HAVE_LIBNCURSES 1
  8276. | #define HAVE_CURSES_H 1
  8277. | #define PLPA_DEBUG 0
  8278. | #define PLPA_SYM_PREFIX plpa_
  8279. | #define PLPA_SYM_PREFIX_CAPS PLPA_
  8280. | /* end confdefs.h. */
  8281. | #include <stdio.h>
  8282. | #ifdef HAVE_SYS_TYPES_H
  8283. | # include <sys/types.h>
  8284. | #endif
  8285. | #ifdef HAVE_SYS_STAT_H
  8286. | # include <sys/stat.h>
  8287. | #endif
  8288. | #ifdef STDC_HEADERS
  8289. | # include <stdlib.h>
  8290. | # include <stddef.h>
  8291. | #else
  8292. | # ifdef HAVE_STDLIB_H
  8293. | # include <stdlib.h>
  8294. | # endif
  8295. | #endif
  8296. | #ifdef HAVE_STRING_H
  8297. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8298. | # include <memory.h>
  8299. | # endif
  8300. | # include <string.h>
  8301. | #endif
  8302. | #ifdef HAVE_STRINGS_H
  8303. | # include <strings.h>
  8304. | #endif
  8305. | #ifdef HAVE_INTTYPES_H
  8306. | # include <inttypes.h>
  8307. | #endif
  8308. | #ifdef HAVE_STDINT_H
  8309. | # include <stdint.h>
  8310. | #endif
  8311. | #ifdef HAVE_UNISTD_H
  8312. | # include <unistd.h>
  8313. | #endif
  8314. | #include <valgrind/valgrind.h>
  8315. configure:23932: result: no
  8316. configure:23936: checking valgrind/valgrind.h presence
  8317. configure:23951: ccache i486-openwrt-linux-uclibc-gcc -E -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include conftest.c
  8318. conftest.c:51:31: error: valgrind/valgrind.h: No such file or directory
  8319. configure:23958: $? = 1
  8320. configure: failed program was:
  8321. | /* confdefs.h. */
  8322. | #define PACKAGE_NAME "htop"
  8323. | #define PACKAGE_TARNAME "htop"
  8324. | #define PACKAGE_VERSION "0.9"
  8325. | #define PACKAGE_STRING "htop 0.9"
  8326. | #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  8327. | #define PACKAGE "htop"
  8328. | #define VERSION "0.9"
  8329. | #define STDC_HEADERS 1
  8330. | #define HAVE_SYS_TYPES_H 1
  8331. | #define HAVE_SYS_STAT_H 1
  8332. | #define HAVE_STDLIB_H 1
  8333. | #define HAVE_STRING_H 1
  8334. | #define HAVE_MEMORY_H 1
  8335. | #define HAVE_STRINGS_H 1
  8336. | #define HAVE_INTTYPES_H 1
  8337. | #define HAVE_STDINT_H 1
  8338. | #define HAVE_UNISTD_H 1
  8339. | #define HAVE_DLFCN_H 1
  8340. | #define HAVE_LIBM 1
  8341. | #define HAVE_DIRENT_H 1
  8342. | #define STDC_HEADERS 1
  8343. | #define HAVE_STDLIB_H 1
  8344. | #define HAVE_STRING_H 1
  8345. | #define HAVE_STRINGS_H 1
  8346. | #define HAVE_SYS_PARAM_H 1
  8347. | #define HAVE_SYS_TIME_H 1
  8348. | #define HAVE_UNISTD_H 1
  8349. | #define HAVE_CURSES_H 1
  8350. | #define HAVE__BOOL 1
  8351. | #define HAVE_STDBOOL_H 1
  8352. | #define CLOSEDIR_VOID 1
  8353. | #define HAVE_STDLIB_H 1
  8354. | #define HAVE_MALLOC 1
  8355. | #define HAVE_STDLIB_H 1
  8356. | #define HAVE_REALLOC 1
  8357. | #define RETSIGTYPE void
  8358. | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  8359. | #define HAVE_MEMMOVE 1
  8360. | #define HAVE_STRNCASECMP 1
  8361. | #define HAVE_STRSTR 1
  8362. | #define HAVE_STRDUP 1
  8363. | #define PROCDIR "/proc"
  8364. | #define HAVE_TASKSTATS 1
  8365. | #define HAVE_LIBNCURSES 1
  8366. | #define HAVE_CURSES_H 1
  8367. | #define PLPA_DEBUG 0
  8368. | #define PLPA_SYM_PREFIX plpa_
  8369. | #define PLPA_SYM_PREFIX_CAPS PLPA_
  8370. | /* end confdefs.h. */
  8371. | #include <valgrind/valgrind.h>
  8372. configure:23972: result: no
  8373. configure:24005: checking for valgrind/valgrind.h
  8374. configure:24014: result: no
  8375. configure:24082: WARNING: valgrind.h not found
  8376. configure:24113: checking whether to build PLPA executables
  8377. configure:24115: result: no
  8378. configure:24391: creating ./config.status
  8379. configure:25706: WARNING: Unrecognized options: --disable-nls, --disable-ipv6
  8380.  
  8381. ## ---------------- ##
  8382. ## Cache variables. ##
  8383. ## ---------------- ##
  8384.  
  8385. ac_cv_build=x86_64-pc-linux-gnu
  8386. ac_cv_c_bigendian=no
  8387. ac_cv_c_compiler_gnu=yes
  8388. ac_cv_c_const=yes
  8389. ac_cv_c_gettext_without_libintl=yes
  8390. ac_cv_c_littleendian=yes
  8391. ac_cv_c_long_double=no
  8392. ac_cv_conv_longlong_to_float=yes
  8393. ac_cv_cxx_compiler_gnu=yes
  8394. ac_cv_env_CCC_set=
  8395. ac_cv_env_CCC_value=
  8396. ac_cv_env_CC_set=set
  8397. ac_cv_env_CC_value='ccache i486-openwrt-linux-uclibc-gcc'
  8398. ac_cv_env_CFLAGS_set=set
  8399. ac_cv_env_CFLAGS_value='-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts '
  8400. ac_cv_env_CPPFLAGS_set=set
  8401. ac_cv_env_CPPFLAGS_value='-I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include '
  8402. ac_cv_env_CPP_set=
  8403. ac_cv_env_CPP_value=
  8404. ac_cv_env_CXXCPP_set=
  8405. ac_cv_env_CXXCPP_value=
  8406. ac_cv_env_CXXFLAGS_set=set
  8407. ac_cv_env_CXXFLAGS_value='-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include '
  8408. ac_cv_env_CXX_set=set
  8409. ac_cv_env_CXX_value=i486-openwrt-linux-uclibc-g++
  8410. ac_cv_env_F77_set=
  8411. ac_cv_env_F77_value=
  8412. ac_cv_env_FFLAGS_set=
  8413. ac_cv_env_FFLAGS_value=
  8414. ac_cv_env_LDFLAGS_set=set
  8415. ac_cv_env_LDFLAGS_value='-L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib '
  8416. ac_cv_env_LIBS_set=
  8417. ac_cv_env_LIBS_value=
  8418. ac_cv_env_YACC_set=
  8419. ac_cv_env_YACC_value=
  8420. ac_cv_env_YFLAGS_set=
  8421. ac_cv_env_YFLAGS_value=
  8422. ac_cv_env_build_alias_set=set
  8423. ac_cv_env_build_alias_value=x86_64-linux-gnu
  8424. ac_cv_env_host_alias_set=set
  8425. ac_cv_env_host_alias_value=i486-openwrt-linux
  8426. ac_cv_env_target_alias_set=set
  8427. ac_cv_env_target_alias_value=i486-openwrt-linux
  8428. ac_cv_f77_compiler_gnu=no
  8429. ac_cv_file__dev_zero=yes
  8430. ac_cv_func___adjtimex=yes
  8431. ac_cv_func___va_copy=no
  8432. ac_cv_func__exit=yes
  8433. ac_cv_func_bcmp=yes
  8434. ac_cv_func_bcopy=yes
  8435. ac_cv_func_bzero=yes
  8436. ac_cv_func_closedir_void=yes
  8437. ac_cv_func_fchmod=yes
  8438. ac_cv_func_getaddrinfo=yes
  8439. ac_cv_func_getcwd=yes
  8440. ac_cv_func_getdomainname=yes
  8441. ac_cv_func_getpgrp_void=yes
  8442. ac_cv_func_getpwuid_r=yes
  8443. ac_cv_func_index=yes
  8444. ac_cv_func_lstat=yes
  8445. ac_cv_func_lstat_dereferences_slashed_symlink=yes
  8446. ac_cv_func_lstat_empty_string_bug=no
  8447. ac_cv_func_malloc_0_nonnull=yes
  8448. ac_cv_func_malloc_works=yes
  8449. ac_cv_func_memcmp_clean=yes
  8450. ac_cv_func_memcmp_working=yes
  8451. ac_cv_func_memmove=yes
  8452. ac_cv_func_posix_getgrgid_r=yes
  8453. ac_cv_func_posix_getpwuid_r=yes
  8454. ac_cv_func_pthread_key_delete=yes
  8455. ac_cv_func_realloc_0_nonnull=yes
  8456. ac_cv_func_realloc_works=yes
  8457. ac_cv_func_rename=yes
  8458. ac_cv_func_rindex=yes
  8459. ac_cv_func_setgrent_void=yes
  8460. ac_cv_func_setlocale=yes
  8461. ac_cv_func_setpgrp_void=yes
  8462. ac_cv_func_setresuid=no
  8463. ac_cv_func_setvbuf_reversed=no
  8464. ac_cv_func_stat_empty_string_bug=no
  8465. ac_cv_func_stat_ignores_trailing_slash=no
  8466. ac_cv_func_strdup=yes
  8467. ac_cv_func_strerror=yes
  8468. ac_cv_func_strftime=yes
  8469. ac_cv_func_strncasecmp=yes
  8470. ac_cv_func_strstr=yes
  8471. ac_cv_func_syscall=yes
  8472. ac_cv_func_utimes=yes
  8473. ac_cv_func_va_copy=no
  8474. ac_cv_func_vsnprintf=yes
  8475. ac_cv_have_accrights_in_msghdr=no
  8476. ac_cv_have_broken_snprintf=no
  8477. ac_cv_have_control_in_msghdr=yes
  8478. ac_cv_have_decl_sys_siglist=no
  8479. ac_cv_have_openpty_ctty_bug=yes
  8480. ac_cv_have_space_d_name_in_struct_dirent=yes
  8481. ac_cv_header_curses_h=yes
  8482. ac_cv_header_dirent_dirent_h=yes
  8483. ac_cv_header_dlfcn_h=yes
  8484. ac_cv_header_execinfo_h=no
  8485. ac_cv_header_inttypes_h=yes
  8486. ac_cv_header_memory_h=yes
  8487. ac_cv_header_netinet_sctp_h=no
  8488. ac_cv_header_netinet_sctp_uio_h=no
  8489. ac_cv_header_stdbool_h=yes
  8490. ac_cv_header_stdc=yes
  8491. ac_cv_header_stdint_h=yes
  8492. ac_cv_header_stdlib_h=yes
  8493. ac_cv_header_string_h=yes
  8494. ac_cv_header_strings_h=yes
  8495. ac_cv_header_sys_param_h=yes
  8496. ac_cv_header_sys_stat_h=yes
  8497. ac_cv_header_sys_syscall_h=yes
  8498. ac_cv_header_sys_time_h=yes
  8499. ac_cv_header_sys_types_h=yes
  8500. ac_cv_header_unistd_h=yes
  8501. ac_cv_header_valgrind_valgrind_h=no
  8502. ac_cv_host=i486-openwrt-linux-gnu
  8503. ac_cv_int64_t=yes
  8504. ac_cv_lbl_unaligned_fail=no
  8505. ac_cv_lib_lex='none needed'
  8506. ac_cv_lib_m_ceil=yes
  8507. ac_cv_lib_ncurses_refresh=yes
  8508. ac_cv_linux_kernel_pppoe=yes
  8509. ac_cv_linux_vers=2
  8510. ac_cv_objext=o
  8511. ac_cv_pack_bitfields_reversed=yes
  8512. ac_cv_path_EGREP='/bin/grep -E'
  8513. ac_cv_path_GREP=/bin/grep
  8514. ac_cv_path_LDCONFIG=
  8515. ac_cv_path_install='/usr/bin/install -c'
  8516. ac_cv_path_mkdir=/bin/mkdir
  8517. ac_cv_prog_AR=i486-openwrt-linux-uclibc-ar
  8518. ac_cv_prog_AWK=gawk
  8519. ac_cv_prog_CC='ccache i486-openwrt-linux-uclibc-gcc'
  8520. ac_cv_prog_CPP='ccache i486-openwrt-linux-uclibc-gcc -E'
  8521. ac_cv_prog_CXXCPP='i486-openwrt-linux-uclibc-g++ -E'
  8522. ac_cv_prog_LEX=flex
  8523. ac_cv_prog_RANLIB=i486-openwrt-linux-uclibc-ranlib
  8524. ac_cv_prog_STRIP=i486-openwrt-linux-uclibc-strip
  8525. ac_cv_prog_YACC='bison -y'
  8526. ac_cv_prog_cc_c89=
  8527. ac_cv_prog_cc_ccache_c_o=yes
  8528. ac_cv_prog_cc_g=yes
  8529. ac_cv_prog_cxx_g=yes
  8530. ac_cv_prog_f77_g=no
  8531. ac_cv_prog_lex_root=lex.yy
  8532. ac_cv_prog_lex_yytext_pointer=no
  8533. ac_cv_prog_make_make_set=yes
  8534. ac_cv_regexec_segfault_emptystr=no
  8535. ac_cv_sctp=no
  8536. ac_cv_search_opendir='none required'
  8537. ac_cv_sizeof___int64=0
  8538. ac_cv_sizeof_char=1
  8539. ac_cv_sizeof_int16_t=2
  8540. ac_cv_sizeof_int32_t=4
  8541. ac_cv_sizeof_int64_t=8
  8542. ac_cv_sizeof_int=4
  8543. ac_cv_sizeof_long=4
  8544. ac_cv_sizeof_long_int=4
  8545. ac_cv_sizeof_long_long=8
  8546. ac_cv_sizeof_off_t=4
  8547. ac_cv_sizeof_short=2
  8548. ac_cv_sizeof_short_int=2
  8549. ac_cv_sizeof_size_t=4
  8550. ac_cv_sizeof_ssize_t=4
  8551. ac_cv_sizeof_u_int16_t=2
  8552. ac_cv_sizeof_u_int32_t=4
  8553. ac_cv_sizeof_u_int64_t=8
  8554. ac_cv_sizeof_uint16_t=2
  8555. ac_cv_sizeof_uint32_t=4
  8556. ac_cv_sizeof_uint64_t=8
  8557. ac_cv_sizeof_unsigned_int=4
  8558. ac_cv_sizeof_unsigned_long=4
  8559. ac_cv_sizeof_unsigned_long_long=8
  8560. ac_cv_sizeof_unsigned_short=2
  8561. ac_cv_sizeof_void_p=4
  8562. ac_cv_sys_restartable_syscalls=yes
  8563. ac_cv_time_r_type=POSIX
  8564. ac_cv_type__Bool=yes
  8565. ac_cv_type_pid_t=yes
  8566. ac_cv_type_signal=void
  8567. ac_cv_type_suseconds_t=yes
  8568. ac_cv_type_uid_t=yes
  8569. ac_cv_uchar=no
  8570. ac_cv_uint64_t=yes
  8571. ac_cv_uint=yes
  8572. ac_cv_ulong=yes
  8573. ac_cv_ushort=yes
  8574. ac_cv_va_copy=C99
  8575. ac_cv_va_val_copy=yes
  8576. am_cv_CC_dependencies_compiler_type=gcc3
  8577. am_cv_CXX_dependencies_compiler_type=gcc3
  8578. as_cv_unaligned_access=yes
  8579. lt_cv_deplibs_check_method=pass_all
  8580. lt_cv_file_magic_cmd='$MAGIC_CMD'
  8581. lt_cv_file_magic_test_file=
  8582. lt_cv_ld_reload_flag=-r
  8583. lt_cv_objdir=.libs
  8584. lt_cv_path_LD=i486-openwrt-linux-uclibc-ld
  8585. lt_cv_path_LDCXX=i486-openwrt-linux-uclibc-ld
  8586. lt_cv_path_NM=i486-openwrt-linux-uclibc-nm
  8587. lt_cv_path_SED=/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin/sed
  8588. lt_cv_prog_compiler_c_o=yes
  8589. lt_cv_prog_compiler_c_o_CXX=yes
  8590. lt_cv_prog_compiler_pic_works=yes
  8591. lt_cv_prog_compiler_pic_works_CXX=yes
  8592. lt_cv_prog_compiler_rtti_exceptions=no
  8593. lt_cv_prog_compiler_static_works=yes
  8594. lt_cv_prog_compiler_static_works_CXX=yes
  8595. lt_cv_prog_gnu_ld=yes
  8596. lt_cv_prog_gnu_ldcxx=yes
  8597. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
  8598. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
  8599. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
  8600. lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/mesa /usr/lib32/mesa /usr/lib32/alsa-lib /usr/lib/alsa-lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu '
  8601. lt_cv_sys_lib_search_path_spec='/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/i486-openwrt-linux-uclibc/4.1.2 /home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/i486-openwrt-linux-uclibc/lib'
  8602. lt_cv_sys_max_cmd_len=3458764513820540925
  8603. lt_lt_cv_prog_compiler_c_o='"yes"'
  8604. lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
  8605. lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
  8606. lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
  8607. lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
  8608.  
  8609. ## ----------------- ##
  8610. ## Output variables. ##
  8611. ## ----------------- ##
  8612.  
  8613. ACLOCAL='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run aclocal-1.10'
  8614. AMDEPBACKSLASH='\'
  8615. AMDEP_FALSE='#'
  8616. AMDEP_TRUE=''
  8617. AMTAR='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run tar'
  8618. AR='i486-openwrt-linux-uclibc-ar'
  8619. AUTOCONF='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run autoconf'
  8620. AUTOHEADER='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run autoheader'
  8621. AUTOMAKE='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run automake-1.10'
  8622. AWK='gawk'
  8623. CC='ccache i486-openwrt-linux-uclibc-gcc'
  8624. CCDEPMODE='depmode=gcc3'
  8625. CFLAGS='-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts '
  8626. CPP='ccache i486-openwrt-linux-uclibc-gcc -E'
  8627. CPPFLAGS='-I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include '
  8628. CXX='i486-openwrt-linux-uclibc-g++'
  8629. CXXCPP='i486-openwrt-linux-uclibc-g++ -E'
  8630. CXXDEPMODE='depmode=gcc3'
  8631. CXXFLAGS='-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include -I/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include '
  8632. CYGPATH_W='echo'
  8633. DEFS='-DHAVE_CONFIG_H'
  8634. DEPDIR='.deps'
  8635. DSYMUTIL=''
  8636. ECHO='echo'
  8637. ECHO_C=''
  8638. ECHO_N='-n'
  8639. ECHO_T=''
  8640. EGREP='/bin/grep -E'
  8641. EXEEXT=''
  8642. F77=''
  8643. FFLAGS=''
  8644. GREP='/bin/grep'
  8645. HAVE_PLPA_FALSE='#'
  8646. HAVE_PLPA_TRUE=''
  8647. INSTALL_DATA='${INSTALL} -m 644'
  8648. INSTALL_PROGRAM='${INSTALL}'
  8649. INSTALL_SCRIPT='${INSTALL}'
  8650. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  8651. LDFLAGS='-L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib '
  8652. LEX='flex'
  8653. LEXLIB=''
  8654. LEX_OUTPUT_ROOT='lex.yy'
  8655. LIBOBJS=''
  8656. LIBS='-lncurses -lm '
  8657. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8658. LN_S='ln -s'
  8659. LTLIBOBJS=''
  8660. MAKEINFO='${SHELL} /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/missing --run makeinfo'
  8661. MKDIR_P='/bin/mkdir -p'
  8662. NMEDIT=''
  8663. OBJEXT='o'
  8664. PACKAGE='htop'
  8665. PACKAGE_BUGREPORT='loderunner@users.sourceforge.net'
  8666. PACKAGE_NAME='htop'
  8667. PACKAGE_STRING='htop 0.9'
  8668. PACKAGE_TARNAME='htop'
  8669. PACKAGE_VERSION='0.9'
  8670. PATH_SEPARATOR=':'
  8671. PLPA_BUILD_EXECUTABLES_FALSE=''
  8672. PLPA_BUILD_EXECUTABLES_TRUE='#'
  8673. PLPA_BUILD_STANDALONE_FALSE=''
  8674. PLPA_BUILD_STANDALONE_TRUE='#'
  8675. RANLIB='i486-openwrt-linux-uclibc-ranlib'
  8676. SED='/home/http/lauri.povi.ee/openwrt/ralink/staging_dir/host/bin/sed'
  8677. SET_MAKE=''
  8678. SHELL='/bin/bash'
  8679. STRIP='i486-openwrt-linux-uclibc-strip'
  8680. VERSION='0.9'
  8681. YACC='bison -y'
  8682. YFLAGS=''
  8683. ac_ct_CC=''
  8684. ac_ct_CXX=''
  8685. ac_ct_F77=''
  8686. am__fastdepCC_FALSE='#'
  8687. am__fastdepCC_TRUE=''
  8688. am__fastdepCXX_FALSE='#'
  8689. am__fastdepCXX_TRUE=''
  8690. am__include='include'
  8691. am__isrc=''
  8692. am__leading_dot='.'
  8693. am__quote=''
  8694. am__tar='${AMTAR} chof - "$$tardir"'
  8695. am__untar='${AMTAR} xf -'
  8696. bindir='/usr/bin'
  8697. build='x86_64-pc-linux-gnu'
  8698. build_alias='x86_64-linux-gnu'
  8699. build_cpu='x86_64'
  8700. build_os='linux-gnu'
  8701. build_vendor='pc'
  8702. datadir='/usr/share'
  8703. datarootdir='${prefix}/share'
  8704. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  8705. dvidir='${docdir}'
  8706. exec_prefix='/usr'
  8707. host='i486-openwrt-linux-gnu'
  8708. host_alias='i486-openwrt-linux'
  8709. host_cpu='i486'
  8710. host_os='linux-gnu'
  8711. host_vendor='openwrt'
  8712. htmldir='${docdir}'
  8713. includedir='${prefix}/include'
  8714. infodir='/usr/info'
  8715. install_sh='$(SHELL) /home/http/lauri.povi.ee/openwrt/ralink/build_dir/target-i386_uClibc-0.9.30.1/htop-0.9/install-sh'
  8716. libdir='${exec_prefix}/lib'
  8717. libexecdir='/usr/lib'
  8718. localedir='${datarootdir}/locale'
  8719. localstatedir='/var'
  8720. mandir='/usr/man'
  8721. mkdir_p='/bin/mkdir -p'
  8722. oldincludedir='/usr/include'
  8723. pdfdir='${docdir}'
  8724. prefix='/usr'
  8725. program_transform_name='s&$$&&;s&^&&'
  8726. psdir='${docdir}'
  8727. sbindir='/usr/sbin'
  8728. sharedstatedir='${prefix}/com'
  8729. sysconfdir='/etc'
  8730. target_alias='i486-openwrt-linux'
  8731.  
  8732. ## ----------- ##
  8733. ## confdefs.h. ##
  8734. ## ----------- ##
  8735.  
  8736. #define PACKAGE_NAME "htop"
  8737. #define PACKAGE_TARNAME "htop"
  8738. #define PACKAGE_VERSION "0.9"
  8739. #define PACKAGE_STRING "htop 0.9"
  8740. #define PACKAGE_BUGREPORT "loderunner@users.sourceforge.net"
  8741. #define PACKAGE "htop"
  8742. #define VERSION "0.9"
  8743. #define STDC_HEADERS 1
  8744. #define HAVE_SYS_TYPES_H 1
  8745. #define HAVE_SYS_STAT_H 1
  8746. #define HAVE_STDLIB_H 1
  8747. #define HAVE_STRING_H 1
  8748. #define HAVE_MEMORY_H 1
  8749. #define HAVE_STRINGS_H 1
  8750. #define HAVE_INTTYPES_H 1
  8751. #define HAVE_STDINT_H 1
  8752. #define HAVE_UNISTD_H 1
  8753. #define HAVE_DLFCN_H 1
  8754. #define HAVE_LIBM 1
  8755. #define HAVE_DIRENT_H 1
  8756. #define STDC_HEADERS 1
  8757. #define HAVE_STDLIB_H 1
  8758. #define HAVE_STRING_H 1
  8759. #define HAVE_STRINGS_H 1
  8760. #define HAVE_SYS_PARAM_H 1
  8761. #define HAVE_SYS_TIME_H 1
  8762. #define HAVE_UNISTD_H 1
  8763. #define HAVE_CURSES_H 1
  8764. #define HAVE__BOOL 1
  8765. #define HAVE_STDBOOL_H 1
  8766. #define CLOSEDIR_VOID 1
  8767. #define HAVE_STDLIB_H 1
  8768. #define HAVE_MALLOC 1
  8769. #define HAVE_STDLIB_H 1
  8770. #define HAVE_REALLOC 1
  8771. #define RETSIGTYPE void
  8772. #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  8773. #define HAVE_MEMMOVE 1
  8774. #define HAVE_STRNCASECMP 1
  8775. #define HAVE_STRSTR 1
  8776. #define HAVE_STRDUP 1
  8777. #define PROCDIR "/proc"
  8778. #define HAVE_TASKSTATS 1
  8779. #define HAVE_LIBNCURSES 1
  8780. #define HAVE_CURSES_H 1
  8781. #define PLPA_DEBUG 0
  8782. #define PLPA_SYM_PREFIX plpa_
  8783. #define PLPA_SYM_PREFIX_CAPS PLPA_
  8784. #define PLPA_WANT_VALGRIND_SUPPORT 0
  8785. #define HAVE_PLPA 1
  8786.  
  8787. configure: exit 0
  8788.  
  8789. ## ---------------------- ##
  8790. ## Running config.status. ##
  8791. ## ---------------------- ##
  8792.  
  8793. This file was extended by htop config.status 0.9, which was
  8794. generated by GNU Autoconf 2.62. Invocation command line was
  8795.  
  8796. CONFIG_FILES =
  8797. CONFIG_HEADERS =
  8798. CONFIG_LINKS =
  8799. CONFIG_COMMANDS =
  8800. $ ./config.status
  8801.  
  8802. on v6sa.ath.cx
  8803.  
  8804. config.status:851: creating plpa-1.3.2/Makefile
  8805. config.status:851: creating plpa-1.3.2/src/Makefile
  8806. config.status:851: creating plpa-1.3.2/src/libplpa/Makefile
  8807. config.status:851: creating Makefile
  8808. config.status:851: creating htop.1
  8809. config.status:851: creating config.h
  8810. config.status:851: creating plpa-1.3.2/src/libplpa/plpa_config.h
  8811. config.status:851: creating plpa-1.3.2/src/libplpa/plpa.h
  8812. config.status:1073: plpa-1.3.2/src/libplpa/plpa.h is unchanged
  8813. config.status:1124: executing depfiles commands
  8814.  
  8815. ## ---------------------- ##
  8816. ## Running config.status. ##
  8817. ## ---------------------- ##
  8818.  
  8819. This file was extended by htop config.status 0.9, which was
  8820. generated by GNU Autoconf 2.62. Invocation command line was
  8821.  
  8822. CONFIG_FILES =
  8823. CONFIG_HEADERS =
  8824. CONFIG_LINKS =
  8825. CONFIG_COMMANDS =
  8826. $ ./config.status config.h
  8827.  
  8828. on v6sa.ath.cx
  8829.  
  8830. config.status:851: creating config.h
  8831.  
  8832. ## ---------------------- ##
  8833. ## Running config.status. ##
  8834. ## ---------------------- ##
  8835.  
  8836. This file was extended by htop config.status 0.9, which was
  8837. generated by GNU Autoconf 2.62. Invocation command line was
  8838.  
  8839. CONFIG_FILES =
  8840. CONFIG_HEADERS =
  8841. CONFIG_LINKS =
  8842. CONFIG_COMMANDS =
  8843. $ ./config.status plpa-1.3.2/src/libplpa/plpa_config.h
  8844.  
  8845. on v6sa.ath.cx
  8846.  
  8847. config.status:851: creating plpa-1.3.2/src/libplpa/plpa_config.h
  8848. config.status:1073: plpa-1.3.2/src/libplpa/plpa_config.h is unchanged
Add Comment
Please, Sign In to add comment