daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Feb 17th, 2012 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 OpenAFS configure 1.6.0, which was
  5. generated by GNU Autoconf 2.61.  Invocation command line was
  6.  
  7.   $ ./configure --with-afs-sysname=i386_linux26 --prefix=/usr --libdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin --disable-strip-binaries --with-linux-kernel-packaging --with-linux-kernel-headers=/usr/src/kernels/2.6.32-220.4.2.el6.i686 --with-krb5 --enable-redhat-buildsys --enable-transarc-paths
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = ipaclient01.ipa.asenjo.nx
  14. uname -m = i686
  15. uname -r = 2.6.32-220.4.1.el6.i686
  16. uname -s = Linux
  17. uname -v = #1 SMP Mon Jan 23 22:37:12 GMT 2012
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X     = unknown
  21.  
  22. /bin/arch              = i686
  23. /usr/bin/arch -k       = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo      = unknown
  26. /bin/machine           = unknown
  27. /usr/bin/oslevel       = unknown
  28. /bin/universe          = unknown
  29.  
  30. PATH: /usr/local/sbin
  31. PATH: /usr/local/bin
  32. PATH: /sbin
  33. PATH: /bin
  34. PATH: /usr/sbin
  35. PATH: /usr/bin
  36. PATH: /root/bin
  37.  
  38.  
  39. ## ----------- ##
  40. ## Core tests. ##
  41. ## ----------- ##
  42.  
  43. configure:2014: checking for a BSD-compatible install
  44. configure:2070: result: /usr/bin/install -c
  45. configure:2081: checking whether build environment is sane
  46. configure:2124: result: yes
  47. configure:2152: checking for a thread-safe mkdir -p
  48. configure:2191: result: /bin/mkdir -p
  49. configure:2204: checking for gawk
  50. configure:2220: found /bin/gawk
  51. configure:2231: result: gawk
  52. configure:2242: checking whether make sets $(MAKE)
  53. configure:2267: result: no
  54. configure:2488: checking for style of include used by make
  55. configure:2516: result: none
  56. configure:2586: checking for gcc
  57. configure:2602: found /usr/bin/gcc
  58. configure:2613: result: gcc
  59. configure:2851: checking for C compiler version
  60. configure:2858: gcc --version >&5
  61. gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
  62. Copyright (C) 2010 Free Software Foundation, Inc.
  63. This is free software; see the source for copying conditions.  There is NO
  64. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  65.  
  66. configure:2861: $? = 0
  67. configure:2868: gcc -v >&5
  68. Using built-in specs.
  69. Target: i686-redhat-linux
  70. Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
  71. Thread model: posix
  72. gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
  73. configure:2871: $? = 0
  74. configure:2878: gcc -V >&5
  75. gcc: '-V' option must have argument
  76. configure:2881: $? = 1
  77. configure:2904: checking for C compiler default output file name
  78. configure:2931: gcc -O2 -g -march=i686   conftest.c  >&5
  79. configure:2934: $? = 0
  80. configure:2972: result: a.out
  81. configure:2989: checking whether the C compiler works
  82. configure:2999: ./a.out
  83. configure:3002: $? = 0
  84. configure:3019: result: yes
  85. configure:3026: checking whether we are cross compiling
  86. configure:3028: result: no
  87. configure:3031: checking for suffix of executables
  88. configure:3038: gcc -o conftest -O2 -g -march=i686   conftest.c  >&5
  89. configure:3041: $? = 0
  90. configure:3065: result:
  91. configure:3071: checking for suffix of object files
  92. configure:3097: gcc -c -O2 -g -march=i686  conftest.c >&5
  93. configure:3100: $? = 0
  94. configure:3123: result: o
  95. configure:3127: checking whether we are using the GNU C compiler
  96. configure:3156: gcc -c -O2 -g -march=i686  conftest.c >&5
  97. configure:3162: $? = 0
  98. configure:3179: result: yes
  99. configure:3184: checking whether gcc accepts -g
  100. configure:3214: gcc -c -g  conftest.c >&5
  101. configure:3220: $? = 0
  102. configure:3319: result: yes
  103. configure:3336: checking for gcc option to accept ISO C89
  104. configure:3410: gcc  -c -O2 -g -march=i686  conftest.c >&5
  105. configure:3416: $? = 0
  106. configure:3439: result: none needed
  107. configure:3459: checking dependency style of gcc
  108. configure:3550: result: none
  109. configure:3571: checking how to run the C preprocessor
  110. configure:3611: gcc -E  conftest.c
  111. configure:3617: $? = 0
  112. configure:3648: gcc -E  conftest.c
  113. conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  114. configure:3654: $? = 1
  115. configure: failed program was:
  116. | /* confdefs.h.  */
  117. | #define PACKAGE_NAME "OpenAFS"
  118. | #define PACKAGE_TARNAME "openafs"
  119. | #define PACKAGE_VERSION "1.6.0"
  120. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  121. | #define PACKAGE_BUGREPORT ""
  122. | #define PACKAGE "openafs"
  123. | #define VERSION "1.6.0"
  124. | #define _GNU_SOURCE 1
  125. | /* end confdefs.h.  */
  126. | #include <ac_nonexistent.h>
  127. configure:3687: result: gcc -E
  128. configure:3716: gcc -E  conftest.c
  129. configure:3722: $? = 0
  130. configure:3753: gcc -E  conftest.c
  131. conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  132. configure:3759: $? = 1
  133. configure: failed program was:
  134. | /* confdefs.h.  */
  135. | #define PACKAGE_NAME "OpenAFS"
  136. | #define PACKAGE_TARNAME "openafs"
  137. | #define PACKAGE_VERSION "1.6.0"
  138. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  139. | #define PACKAGE_BUGREPORT ""
  140. | #define PACKAGE "openafs"
  141. | #define VERSION "1.6.0"
  142. | #define _GNU_SOURCE 1
  143. | /* end confdefs.h.  */
  144. | #include <ac_nonexistent.h>
  145. configure:3797: checking for grep that handles long lines and -e
  146. configure:3871: result: /bin/grep
  147. configure:3876: checking for egrep
  148. configure:3954: result: /bin/grep -E
  149. configure:3960: checking for AIX
  150. configure:3982: result: no
  151. configure:3988: checking for ANSI C header files
  152. configure:4018: gcc -c -O2 -g -march=i686  conftest.c >&5
  153. configure:4024: $? = 0
  154. configure:4123: gcc -o conftest -O2 -g -march=i686   conftest.c  >&5
  155. configure:4126: $? = 0
  156. configure:4132: ./conftest
  157. configure:4135: $? = 0
  158. configure:4152: result: yes
  159. configure:4176: checking for sys/types.h
  160. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  161. configure:4203: $? = 0
  162. configure:4219: result: yes
  163. configure:4176: checking for sys/stat.h
  164. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  165. configure:4203: $? = 0
  166. configure:4219: result: yes
  167. configure:4176: checking for stdlib.h
  168. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  169. configure:4203: $? = 0
  170. configure:4219: result: yes
  171. configure:4176: checking for string.h
  172. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  173. configure:4203: $? = 0
  174. configure:4219: result: yes
  175. configure:4176: checking for memory.h
  176. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  177. configure:4203: $? = 0
  178. configure:4219: result: yes
  179. configure:4176: checking for strings.h
  180. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  181. configure:4203: $? = 0
  182. configure:4219: result: yes
  183. configure:4176: checking for inttypes.h
  184. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  185. configure:4203: $? = 0
  186. configure:4219: result: yes
  187. configure:4176: checking for stdint.h
  188. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  189. configure:4203: $? = 0
  190. configure:4219: result: yes
  191. configure:4176: checking for unistd.h
  192. configure:4197: gcc -c -O2 -g -march=i686  conftest.c >&5
  193. configure:4203: $? = 0
  194. configure:4219: result: yes
  195. configure:4241: checking minix/config.h usability
  196. configure:4258: gcc -c -O2 -g -march=i686  conftest.c >&5
  197. conftest.c:54:26: error: minix/config.h: No such file or directory
  198. configure:4264: $? = 1
  199. configure: failed program was:
  200. | /* confdefs.h.  */
  201. | #define PACKAGE_NAME "OpenAFS"
  202. | #define PACKAGE_TARNAME "openafs"
  203. | #define PACKAGE_VERSION "1.6.0"
  204. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  205. | #define PACKAGE_BUGREPORT ""
  206. | #define PACKAGE "openafs"
  207. | #define VERSION "1.6.0"
  208. | #define _GNU_SOURCE 1
  209. | #define STDC_HEADERS 1
  210. | #define HAVE_SYS_TYPES_H 1
  211. | #define HAVE_SYS_STAT_H 1
  212. | #define HAVE_STDLIB_H 1
  213. | #define HAVE_STRING_H 1
  214. | #define HAVE_MEMORY_H 1
  215. | #define HAVE_STRINGS_H 1
  216. | #define HAVE_INTTYPES_H 1
  217. | #define HAVE_STDINT_H 1
  218. | #define HAVE_UNISTD_H 1
  219. | /* end confdefs.h.  */
  220. | #include <stdio.h>
  221. | #ifdef HAVE_SYS_TYPES_H
  222. | # include <sys/types.h>
  223. | #endif
  224. | #ifdef HAVE_SYS_STAT_H
  225. | # include <sys/stat.h>
  226. | #endif
  227. | #ifdef STDC_HEADERS
  228. | # include <stdlib.h>
  229. | # include <stddef.h>
  230. | #else
  231. | # ifdef HAVE_STDLIB_H
  232. | #  include <stdlib.h>
  233. | # endif
  234. | #endif
  235. | #ifdef HAVE_STRING_H
  236. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  237. | #  include <memory.h>
  238. | # endif
  239. | # include <string.h>
  240. | #endif
  241. | #ifdef HAVE_STRINGS_H
  242. | # include <strings.h>
  243. | #endif
  244. | #ifdef HAVE_INTTYPES_H
  245. | # include <inttypes.h>
  246. | #endif
  247. | #ifdef HAVE_STDINT_H
  248. | # include <stdint.h>
  249. | #endif
  250. | #ifdef HAVE_UNISTD_H
  251. | # include <unistd.h>
  252. | #endif
  253. | #include <minix/config.h>
  254. configure:4278: result: no
  255. configure:4282: checking minix/config.h presence
  256. configure:4297: gcc -E  conftest.c
  257. conftest.c:21:26: error: minix/config.h: No such file or directory
  258. configure:4303: $? = 1
  259. configure: failed program was:
  260. | /* confdefs.h.  */
  261. | #define PACKAGE_NAME "OpenAFS"
  262. | #define PACKAGE_TARNAME "openafs"
  263. | #define PACKAGE_VERSION "1.6.0"
  264. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  265. | #define PACKAGE_BUGREPORT ""
  266. | #define PACKAGE "openafs"
  267. | #define VERSION "1.6.0"
  268. | #define _GNU_SOURCE 1
  269. | #define STDC_HEADERS 1
  270. | #define HAVE_SYS_TYPES_H 1
  271. | #define HAVE_SYS_STAT_H 1
  272. | #define HAVE_STDLIB_H 1
  273. | #define HAVE_STRING_H 1
  274. | #define HAVE_MEMORY_H 1
  275. | #define HAVE_STRINGS_H 1
  276. | #define HAVE_INTTYPES_H 1
  277. | #define HAVE_STDINT_H 1
  278. | #define HAVE_UNISTD_H 1
  279. | /* end confdefs.h.  */
  280. | #include <minix/config.h>
  281. configure:4317: result: no
  282. configure:4345: checking for minix/config.h
  283. configure:4352: result: no
  284. configure:4391: checking whether it is safe to define __EXTENSIONS__
  285. configure:4419: gcc -c -O2 -g -march=i686  conftest.c >&5
  286. configure:4425: $? = 0
  287. configure:4440: result: yes
  288. configure:4505: checking for gcc
  289. configure:4532: result: gcc
  290. configure:4770: checking for C compiler version
  291. configure:4777: gcc --version >&5
  292. gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
  293. Copyright (C) 2010 Free Software Foundation, Inc.
  294. This is free software; see the source for copying conditions.  There is NO
  295. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  296.  
  297. configure:4780: $? = 0
  298. configure:4787: gcc -v >&5
  299. Using built-in specs.
  300. Target: i686-redhat-linux
  301. Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
  302. Thread model: posix
  303. gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
  304. configure:4790: $? = 0
  305. configure:4797: gcc -V >&5
  306. gcc: '-V' option must have argument
  307. configure:4800: $? = 1
  308. configure:4803: checking whether we are using the GNU C compiler
  309. configure:4855: result: yes
  310. configure:4860: checking whether gcc accepts -g
  311. configure:4995: result: yes
  312. configure:5012: checking for gcc option to accept ISO C89
  313. configure:5115: result: none needed
  314. configure:5135: checking dependency style of gcc
  315. configure:5226: result: none
  316. configure:5246: checking for cpp
  317. configure:5265: found /usr/bin/cpp
  318. configure:5277: result: /usr/bin/cpp
  319. configure:5296: checking build system type
  320. configure:5314: result: i686-pc-linux-gnu
  321. configure:5340: checking for flex
  322. configure:5356: found /usr/bin/flex
  323. configure:5367: result: flex
  324. configure:5404: flex conftest.l
  325. configure:5407: $? = 0
  326. configure:5409: checking lex output file root
  327. configure:5425: result: lex.yy
  328. configure:5430: checking lex library
  329. configure:5449: gcc -o conftest -O2 -g -march=i686   conftest.c   >&5
  330. /tmp/cc6Z79vc.o: In function `input':
  331. /root/rpmbuild/BUILD/openafs-1.6.0/lex.yy.c:1168: undefined reference to `yywrap'
  332. /tmp/cc6Z79vc.o: In function `yylex':
  333. /root/rpmbuild/BUILD/openafs-1.6.0/lex.yy.c:867: undefined reference to `yywrap'
  334. /tmp/cc6Z79vc.o: In function `main':
  335. /root/rpmbuild/BUILD/openafs-1.6.0/conftest.l:17: undefined reference to `yywrap'
  336. collect2: ld returned 1 exit status
  337. configure:5455: $? = 1
  338. configure: failed program was:
  339. |
  340. | #line 3 "lex.yy.c"
  341. |
  342. | #define  YY_INT_ALIGNED short int
  343. |
  344. | /* A lexical scanner generated by flex */
  345. |
  346. | #define FLEX_SCANNER
  347. | #define YY_FLEX_MAJOR_VERSION 2
  348. | #define YY_FLEX_MINOR_VERSION 5
  349. | #define YY_FLEX_SUBMINOR_VERSION 35
  350. | #if YY_FLEX_SUBMINOR_VERSION > 0
  351. | #define FLEX_BETA
  352. | #endif
  353. |
  354. | /* First, we deal with  platform-specific or compiler-specific issues. */
  355. |
  356. | /* begin standard C headers. */
  357. | #include <stdio.h>
  358. | #include <string.h>
  359. | #include <errno.h>
  360. | #include <stdlib.h>
  361. |
  362. | /* end standard C headers. */
  363. |
  364. | /* flex integer type definitions */
  365. |
  366. | #ifndef FLEXINT_H
  367. | #define FLEXINT_H
  368. |
  369. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  370. |
  371. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  372. |
  373. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  374. |  * if you want the limit (max/min) macros for int types.
  375. |  */
  376. | #ifndef __STDC_LIMIT_MACROS
  377. | #define __STDC_LIMIT_MACROS 1
  378. | #endif
  379. |
  380. | #include <inttypes.h>
  381. | typedef int8_t flex_int8_t;
  382. | typedef uint8_t flex_uint8_t;
  383. | typedef int16_t flex_int16_t;
  384. | typedef uint16_t flex_uint16_t;
  385. | typedef int32_t flex_int32_t;
  386. | typedef uint32_t flex_uint32_t;
  387. | #else
  388. | typedef signed char flex_int8_t;
  389. | typedef short int flex_int16_t;
  390. | typedef int flex_int32_t;
  391. | typedef unsigned char flex_uint8_t;
  392. | typedef unsigned short int flex_uint16_t;
  393. | typedef unsigned int flex_uint32_t;
  394. | #endif /* ! C99 */
  395. |
  396. | /* Limits of integral types. */
  397. | #ifndef INT8_MIN
  398. | #define INT8_MIN               (-128)
  399. | #endif
  400. | #ifndef INT16_MIN
  401. | #define INT16_MIN              (-32767-1)
  402. | #endif
  403. | #ifndef INT32_MIN
  404. | #define INT32_MIN              (-2147483647-1)
  405. | #endif
  406. | #ifndef INT8_MAX
  407. | #define INT8_MAX               (127)
  408. | #endif
  409. | #ifndef INT16_MAX
  410. | #define INT16_MAX              (32767)
  411. | #endif
  412. | #ifndef INT32_MAX
  413. | #define INT32_MAX              (2147483647)
  414. | #endif
  415. | #ifndef UINT8_MAX
  416. | #define UINT8_MAX              (255U)
  417. | #endif
  418. | #ifndef UINT16_MAX
  419. | #define UINT16_MAX             (65535U)
  420. | #endif
  421. | #ifndef UINT32_MAX
  422. | #define UINT32_MAX             (4294967295U)
  423. | #endif
  424. |
  425. | #endif /* ! FLEXINT_H */
  426. |
  427. | #ifdef __cplusplus
  428. |
  429. | /* The "const" storage-class-modifier is valid. */
  430. | #define YY_USE_CONST
  431. |
  432. | #else /* ! __cplusplus */
  433. |
  434. | /* C99 requires __STDC__ to be defined as 1. */
  435. | #if defined (__STDC__)
  436. |
  437. | #define YY_USE_CONST
  438. |
  439. | #endif        /* defined (__STDC__) */
  440. | #endif        /* ! __cplusplus */
  441. |
  442. | #ifdef YY_USE_CONST
  443. | #define yyconst const
  444. | #else
  445. | #define yyconst
  446. | #endif
  447. |
  448. | /* Returned upon end-of-file. */
  449. | #define YY_NULL 0
  450. |
  451. | /* Promotes a possibly negative, possibly signed char to an unsigned
  452. |  * integer for use as an array index.  If the signed char is negative,
  453. |  * we want to instead treat it as an 8-bit unsigned char, hence the
  454. |  * double cast.
  455. |  */
  456. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  457. |
  458. | /* Enter a start condition.  This macro really ought to take a parameter,
  459. |  * but we do it the disgusting crufty way forced on us by the ()-less
  460. |  * definition of BEGIN.
  461. |  */
  462. | #define BEGIN (yy_start) = 1 + 2 *
  463. |
  464. | /* Translate the current start state into a value that can be later handed
  465. |  * to BEGIN to return to the state.  The YYSTATE alias is for lex
  466. |  * compatibility.
  467. |  */
  468. | #define YY_START (((yy_start) - 1) / 2)
  469. | #define YYSTATE YY_START
  470. |
  471. | /* Action number for EOF rule of a given start state. */
  472. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  473. |
  474. | /* Special action meaning "start processing a new file". */
  475. | #define YY_NEW_FILE yyrestart(yyin  )
  476. |
  477. | #define YY_END_OF_BUFFER_CHAR 0
  478. |
  479. | /* Size of default input buffer. */
  480. | #ifndef YY_BUF_SIZE
  481. | #define YY_BUF_SIZE 16384
  482. | #endif
  483. |
  484. | /* The state buf must be large enough to hold one state per character in the main buffer.
  485. |  */
  486. | #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  487. |
  488. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  489. | #define YY_TYPEDEF_YY_BUFFER_STATE
  490. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  491. | #endif
  492. |
  493. | extern int yyleng;
  494. |
  495. | extern FILE *yyin, *yyout;
  496. |
  497. | #define EOB_ACT_CONTINUE_SCAN 0
  498. | #define EOB_ACT_END_OF_FILE 1
  499. | #define EOB_ACT_LAST_MATCH 2
  500. |
  501. |     #define YY_LESS_LINENO(n)
  502. |    
  503. | /* Return all but the first "n" matched characters back to the input stream. */
  504. | #define yyless(n) \
  505. |       do \
  506. |               { \
  507. |               /* Undo effects of setting up yytext. */ \
  508. |         int yyless_macro_arg = (n); \
  509. |         YY_LESS_LINENO(yyless_macro_arg);\
  510. |               *yy_cp = (yy_hold_char); \
  511. |               YY_RESTORE_YY_MORE_OFFSET \
  512. |               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  513. |               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  514. |               } \
  515. |       while ( 0 )
  516. |
  517. | #define unput(c) yyunput( c, (yytext_ptr)  )
  518. |
  519. | #ifndef YY_TYPEDEF_YY_SIZE_T
  520. | #define YY_TYPEDEF_YY_SIZE_T
  521. | typedef size_t yy_size_t;
  522. | #endif
  523. |
  524. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  525. | #define YY_STRUCT_YY_BUFFER_STATE
  526. | struct yy_buffer_state
  527. |       {
  528. |       FILE *yy_input_file;
  529. |
  530. |       char *yy_ch_buf;                /* input buffer */
  531. |       char *yy_buf_pos;               /* current position in input buffer */
  532. |
  533. |       /* Size of input buffer in bytes, not including room for EOB
  534. |        * characters.
  535. |        */
  536. |       yy_size_t yy_buf_size;
  537. |
  538. |       /* Number of characters read into yy_ch_buf, not including EOB
  539. |        * characters.
  540. |        */
  541. |       int yy_n_chars;
  542. |
  543. |       /* Whether we "own" the buffer - i.e., we know we created it,
  544. |        * and can realloc() it to grow it, and should free() it to
  545. |        * delete it.
  546. |        */
  547. |       int yy_is_our_buffer;
  548. |
  549. |       /* Whether this is an "interactive" input source; if so, and
  550. |        * if we're using stdio for input, then we want to use getc()
  551. |        * instead of fread(), to make sure we stop fetching input after
  552. |        * each newline.
  553. |        */
  554. |       int yy_is_interactive;
  555. |
  556. |       /* Whether we're considered to be at the beginning of a line.
  557. |        * If so, '^' rules will be active on the next match, otherwise
  558. |        * not.
  559. |        */
  560. |       int yy_at_bol;
  561. |
  562. |     int yy_bs_lineno; /**< The line count. */
  563. |     int yy_bs_column; /**< The column count. */
  564. |    
  565. |       /* Whether to try to fill the input buffer when we reach the
  566. |        * end of it.
  567. |        */
  568. |       int yy_fill_buffer;
  569. |
  570. |       int yy_buffer_status;
  571. |
  572. | #define YY_BUFFER_NEW 0
  573. | #define YY_BUFFER_NORMAL 1
  574. |       /* When an EOF's been seen but there's still some text to process
  575. |        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  576. |        * shouldn't try reading from the input source any more.  We might
  577. |        * still have a bunch of tokens to match, though, because of
  578. |        * possible backing-up.
  579. |        *
  580. |        * When we actually see the EOF, we change the status to "new"
  581. |        * (via yyrestart()), so that the user can continue scanning by
  582. |        * just pointing yyin at a new input file.
  583. |        */
  584. | #define YY_BUFFER_EOF_PENDING 2
  585. |
  586. |       };
  587. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  588. |
  589. | /* Stack of input buffers. */
  590. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  591. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  592. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  593. |
  594. | /* We provide macros for accessing buffer states in case in the
  595. |  * future we want to put the buffer states in a more general
  596. |  * "scanner state".
  597. |  *
  598. |  * Returns the top of the stack, or NULL.
  599. |  */
  600. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  601. |                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  602. |                           : NULL)
  603. |
  604. | /* Same as previous macro, but useful when we know that the buffer stack is not
  605. |  * NULL or when we need an lvalue. For internal use only.
  606. |  */
  607. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  608. |
  609. | /* yy_hold_char holds the character lost when yytext is formed. */
  610. | static char yy_hold_char;
  611. | static int yy_n_chars;                /* number of characters read into yy_ch_buf */
  612. | int yyleng;
  613. |
  614. | /* Points to current character in buffer. */
  615. | static char *yy_c_buf_p = (char *) 0;
  616. | static int yy_init = 0;               /* whether we need to initialize */
  617. | static int yy_start = 0;      /* start state number */
  618. |
  619. | /* Flag which is used to allow yywrap()'s to do buffer switches
  620. |  * instead of setting up a fresh yyin.  A bit of a hack ...
  621. |  */
  622. | static int yy_did_buffer_switch_on_eof;
  623. |
  624. | void yyrestart (FILE *input_file  );
  625. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
  626. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
  627. | void yy_delete_buffer (YY_BUFFER_STATE b  );
  628. | void yy_flush_buffer (YY_BUFFER_STATE b  );
  629. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
  630. | void yypop_buffer_state (void );
  631. |
  632. | static void yyensure_buffer_stack (void );
  633. | static void yy_load_buffer_state (void );
  634. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
  635. |
  636. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  637. |
  638. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
  639. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
  640. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len  );
  641. |
  642. | void *yyalloc (yy_size_t  );
  643. | void *yyrealloc (void *,yy_size_t  );
  644. | void yyfree (void *  );
  645. |
  646. | #define yy_new_buffer yy_create_buffer
  647. |
  648. | #define yy_set_interactive(is_interactive) \
  649. |       { \
  650. |       if ( ! YY_CURRENT_BUFFER ){ \
  651. |         yyensure_buffer_stack (); \
  652. |               YY_CURRENT_BUFFER_LVALUE =    \
  653. |             yy_create_buffer(yyin,YY_BUF_SIZE ); \
  654. |       } \
  655. |       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  656. |       }
  657. |
  658. | #define yy_set_bol(at_bol) \
  659. |       { \
  660. |       if ( ! YY_CURRENT_BUFFER ){\
  661. |         yyensure_buffer_stack (); \
  662. |               YY_CURRENT_BUFFER_LVALUE =    \
  663. |             yy_create_buffer(yyin,YY_BUF_SIZE ); \
  664. |       } \
  665. |       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  666. |       }
  667. |
  668. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  669. |
  670. | /* Begin user sect3 */
  671. |
  672. | typedef unsigned char YY_CHAR;
  673. |
  674. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  675. |
  676. | typedef int yy_state_type;
  677. |
  678. | extern int yylineno;
  679. |
  680. | int yylineno = 1;
  681. |
  682. | extern char *yytext;
  683. | #define yytext_ptr yytext
  684. |
  685. | static yy_state_type yy_get_previous_state (void );
  686. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
  687. | static int yy_get_next_buffer (void );
  688. | static void yy_fatal_error (yyconst char msg[]  );
  689. |
  690. | /* Done after the current pattern has been matched and before the
  691. |  * corresponding action - sets up yytext.
  692. |  */
  693. | #define YY_DO_BEFORE_ACTION \
  694. |       (yytext_ptr) = yy_bp; \
  695. |       (yytext_ptr) -= (yy_more_len); \
  696. |       yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  697. |       (yy_hold_char) = *yy_cp; \
  698. |       *yy_cp = '\0'; \
  699. |       (yy_c_buf_p) = yy_cp;
  700. |
  701. | #define YY_NUM_RULES 8
  702. | #define YY_END_OF_BUFFER 9
  703. | /* This struct is not used in this scanner,
  704. |    but its presence is necessary. */
  705. | struct yy_trans_info
  706. |       {
  707. |       flex_int32_t yy_verify;
  708. |       flex_int32_t yy_nxt;
  709. |       };
  710. | static yyconst flex_int16_t yy_acclist[23] =
  711. |     {   0,
  712. |         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
  713. |         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
  714. |         7,    8
  715. |     } ;
  716. |
  717. | static yyconst flex_int16_t yy_accept[14] =
  718. |     {   0,
  719. |         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
  720. |        20,   23,   23
  721. |     } ;
  722. |
  723. | static yyconst flex_int32_t yy_ec[256] =
  724. |     {   0,
  725. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
  726. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  727. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  728. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  729. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  730. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  731. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  732. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  733. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  734. |         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
  735. |
  736. |         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
  737. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  738. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  739. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  740. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  741. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  742. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  743. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  744. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  745. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  746. |
  747. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  748. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  749. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  750. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  751. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  752. |         1,    1,    1,    1,    1
  753. |     } ;
  754. |
  755. | static yyconst flex_int32_t yy_meta[9] =
  756. |     {   0,
  757. |         1,    1,    1,    1,    1,    1,    1,    1
  758. |     } ;
  759. |
  760. | static yyconst flex_int16_t yy_base[13] =
  761. |     {   0,
  762. |         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
  763. |        10,   10
  764. |     } ;
  765. |
  766. | static yyconst flex_int16_t yy_def[13] =
  767. |     {   0,
  768. |        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
  769. |        12,    0
  770. |     } ;
  771. |
  772. | static yyconst flex_int16_t yy_nxt[19] =
  773. |     {   0,
  774. |         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
  775. |        12,   12,   12,   12,   12,   12,   12,   12
  776. |     } ;
  777. |
  778. | static yyconst flex_int16_t yy_chk[19] =
  779. |     {   0,
  780. |         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
  781. |        12,   12,   12,   12,   12,   12,   12,   12
  782. |     } ;
  783. |
  784. | extern int yy_flex_debug;
  785. | int yy_flex_debug = 0;
  786. |
  787. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  788. | static char *yy_full_match;
  789. | static int yy_lp;
  790. | #define REJECT \
  791. | { \
  792. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  793. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  794. | ++(yy_lp); \
  795. | goto find_rule; \
  796. | }
  797. |
  798. | static int yy_more_flag = 0;
  799. | static int yy_more_len = 0;
  800. | #define yymore() ((yy_more_flag) = 1)
  801. | #define YY_MORE_ADJ (yy_more_len)
  802. | #define YY_RESTORE_YY_MORE_OFFSET
  803. | char *yytext;
  804. | #line 1 "conftest.l"
  805. | #line 468 "lex.yy.c"
  806. |
  807. | #define INITIAL 0
  808. |
  809. | #ifndef YY_NO_UNISTD_H
  810. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  811. |  * down here because we want the user's section 1 to have been scanned first.
  812. |  * The user has a chance to override it with an option.
  813. |  */
  814. | #include <unistd.h>
  815. | #endif
  816. |
  817. | #ifndef YY_EXTRA_TYPE
  818. | #define YY_EXTRA_TYPE void *
  819. | #endif
  820. |
  821. | static int yy_init_globals (void );
  822. |
  823. | /* Accessor methods to globals.
  824. |    These are made visible to non-reentrant scanners for convenience. */
  825. |
  826. | int yylex_destroy (void );
  827. |
  828. | int yyget_debug (void );
  829. |
  830. | void yyset_debug (int debug_flag  );
  831. |
  832. | YY_EXTRA_TYPE yyget_extra (void );
  833. |
  834. | void yyset_extra (YY_EXTRA_TYPE user_defined  );
  835. |
  836. | FILE *yyget_in (void );
  837. |
  838. | void yyset_in  (FILE * in_str  );
  839. |
  840. | FILE *yyget_out (void );
  841. |
  842. | void yyset_out  (FILE * out_str  );
  843. |
  844. | int yyget_leng (void );
  845. |
  846. | char *yyget_text (void );
  847. |
  848. | int yyget_lineno (void );
  849. |
  850. | void yyset_lineno (int line_number  );
  851. |
  852. | /* Macros after this point can all be overridden by user definitions in
  853. |  * section 1.
  854. |  */
  855. |
  856. | #ifndef YY_SKIP_YYWRAP
  857. | #ifdef __cplusplus
  858. | extern "C" int yywrap (void );
  859. | #else
  860. | extern int yywrap (void );
  861. | #endif
  862. | #endif
  863. |
  864. |     static void yyunput (int c,char *buf_ptr  );
  865. |    
  866. | #ifndef yytext_ptr
  867. | static void yy_flex_strncpy (char *,yyconst char *,int );
  868. | #endif
  869. |
  870. | #ifdef YY_NEED_STRLEN
  871. | static int yy_flex_strlen (yyconst char * );
  872. | #endif
  873. |
  874. | #ifndef YY_NO_INPUT
  875. |
  876. | #ifdef __cplusplus
  877. | static int yyinput (void );
  878. | #else
  879. | static int input (void );
  880. | #endif
  881. |
  882. | #endif
  883. |
  884. | /* Amount of stuff to slurp up with each read. */
  885. | #ifndef YY_READ_BUF_SIZE
  886. | #define YY_READ_BUF_SIZE 8192
  887. | #endif
  888. |
  889. | /* Copy whatever the last rule matched to the standard output. */
  890. | #ifndef ECHO
  891. | /* This used to be an fputs(), but since the string might contain NUL's,
  892. |  * we now use fwrite().
  893. |  */
  894. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  895. | #endif
  896. |
  897. | /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  898. |  * is returned in "result".
  899. |  */
  900. | #ifndef YY_INPUT
  901. | #define YY_INPUT(buf,result,max_size) \
  902. |       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  903. |               { \
  904. |               int c = '*'; \
  905. |               unsigned n; \
  906. |               for ( n = 0; n < max_size && \
  907. |                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  908. |                       buf[n] = (char) c; \
  909. |               if ( c == '\n' ) \
  910. |                       buf[n++] = (char) c; \
  911. |               if ( c == EOF && ferror( yyin ) ) \
  912. |                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
  913. |               result = n; \
  914. |               } \
  915. |       else \
  916. |               { \
  917. |               errno=0; \
  918. |               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  919. |                       { \
  920. |                       if( errno != EINTR) \
  921. |                               { \
  922. |                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
  923. |                               break; \
  924. |                               } \
  925. |                       errno=0; \
  926. |                       clearerr(yyin); \
  927. |                       } \
  928. |               }\
  929. | \
  930. |
  931. | #endif
  932. |
  933. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  934. |  * we don't want an extra ';' after the "return" because that will cause
  935. |  * some compilers to complain about unreachable statements.
  936. |  */
  937. | #ifndef yyterminate
  938. | #define yyterminate() return YY_NULL
  939. | #endif
  940. |
  941. | /* Number of entries by which start-condition stack grows. */
  942. | #ifndef YY_START_STACK_INCR
  943. | #define YY_START_STACK_INCR 25
  944. | #endif
  945. |
  946. | /* Report a fatal error. */
  947. | #ifndef YY_FATAL_ERROR
  948. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  949. | #endif
  950. |
  951. | /* end tables serialization structures and prototypes */
  952. |
  953. | /* Default declaration of generated scanner - a define so the user can
  954. |  * easily add parameters.
  955. |  */
  956. | #ifndef YY_DECL
  957. | #define YY_DECL_IS_OURS 1
  958. |
  959. | extern int yylex (void);
  960. |
  961. | #define YY_DECL int yylex (void)
  962. | #endif /* !YY_DECL */
  963. |
  964. | /* Code executed at the beginning of each rule, after yytext and yyleng
  965. |  * have been set up.
  966. |  */
  967. | #ifndef YY_USER_ACTION
  968. | #define YY_USER_ACTION
  969. | #endif
  970. |
  971. | /* Code executed at the end of each rule. */
  972. | #ifndef YY_BREAK
  973. | #define YY_BREAK break;
  974. | #endif
  975. |
  976. | #define YY_RULE_SETUP \
  977. |       YY_USER_ACTION
  978. |
  979. | /** The main scanner function which does all the work.
  980. |  */
  981. | YY_DECL
  982. | {
  983. |       register yy_state_type yy_current_state;
  984. |       register char *yy_cp, *yy_bp;
  985. |       register int yy_act;
  986. |    
  987. | #line 1 "conftest.l"
  988. |
  989. | #line 652 "lex.yy.c"
  990. |
  991. |       if ( !(yy_init) )
  992. |               {
  993. |               (yy_init) = 1;
  994. |
  995. | #ifdef YY_USER_INIT
  996. |               YY_USER_INIT;
  997. | #endif
  998. |
  999. |         /* Create the reject buffer large enough to save one state per allowed character. */
  1000. |         if ( ! (yy_state_buf) )
  1001. |             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
  1002. |             if ( ! (yy_state_buf) )
  1003. |                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  1004. |
  1005. |               if ( ! (yy_start) )
  1006. |                       (yy_start) = 1; /* first start state */
  1007. |
  1008. |               if ( ! yyin )
  1009. |                       yyin = stdin;
  1010. |
  1011. |               if ( ! yyout )
  1012. |                       yyout = stdout;
  1013. |
  1014. |               if ( ! YY_CURRENT_BUFFER ) {
  1015. |                       yyensure_buffer_stack ();
  1016. |                       YY_CURRENT_BUFFER_LVALUE =
  1017. |                               yy_create_buffer(yyin,YY_BUF_SIZE );
  1018. |               }
  1019. |
  1020. |               yy_load_buffer_state( );
  1021. |               }
  1022. |
  1023. |       while ( 1 )             /* loops until end-of-file is reached */
  1024. |               {
  1025. |               (yy_more_len) = 0;
  1026. |               if ( (yy_more_flag) )
  1027. |                       {
  1028. |                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  1029. |                       (yy_more_flag) = 0;
  1030. |                       }
  1031. |               yy_cp = (yy_c_buf_p);
  1032. |
  1033. |               /* Support of yytext. */
  1034. |               *yy_cp = (yy_hold_char);
  1035. |
  1036. |               /* yy_bp points to the position in yy_ch_buf of the start of
  1037. |                * the current run.
  1038. |                */
  1039. |               yy_bp = yy_cp;
  1040. |
  1041. |               yy_current_state = (yy_start);
  1042. |
  1043. |               (yy_state_ptr) = (yy_state_buf);
  1044. |               *(yy_state_ptr)++ = yy_current_state;
  1045. |
  1046. | yy_match:
  1047. |               do
  1048. |                       {
  1049. |                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  1050. |                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1051. |                               {
  1052. |                               yy_current_state = (int) yy_def[yy_current_state];
  1053. |                               if ( yy_current_state >= 13 )
  1054. |                                       yy_c = yy_meta[(unsigned int) yy_c];
  1055. |                               }
  1056. |                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1057. |                       *(yy_state_ptr)++ = yy_current_state;
  1058. |                       ++yy_cp;
  1059. |                       }
  1060. |               while ( yy_base[yy_current_state] != 10 );
  1061. |
  1062. | yy_find_action:
  1063. |               yy_current_state = *--(yy_state_ptr);
  1064. |               (yy_lp) = yy_accept[yy_current_state];
  1065. | find_rule: /* we branch to this label when backing up */
  1066. |               for ( ; ; ) /* until we find what rule we matched */
  1067. |                       {
  1068. |                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  1069. |                               {
  1070. |                               yy_act = yy_acclist[(yy_lp)];
  1071. |                                       {
  1072. |                                       (yy_full_match) = yy_cp;
  1073. |                                       break;
  1074. |                                       }
  1075. |                               }
  1076. |                       --yy_cp;
  1077. |                       yy_current_state = *--(yy_state_ptr);
  1078. |                       (yy_lp) = yy_accept[yy_current_state];
  1079. |                       }
  1080. |
  1081. |               YY_DO_BEFORE_ACTION;
  1082. |
  1083. | do_action:    /* This label is used only to access EOF actions. */
  1084. |
  1085. |               switch ( yy_act )
  1086. |       { /* beginning of action switch */
  1087. | case 1:
  1088. | YY_RULE_SETUP
  1089. | #line 2 "conftest.l"
  1090. | { ECHO; }
  1091. |       YY_BREAK
  1092. | case 2:
  1093. | YY_RULE_SETUP
  1094. | #line 3 "conftest.l"
  1095. | { REJECT; }
  1096. |       YY_BREAK
  1097. | case 3:
  1098. | YY_RULE_SETUP
  1099. | #line 4 "conftest.l"
  1100. | { yymore (); }
  1101. |       YY_BREAK
  1102. | case 4:
  1103. | YY_RULE_SETUP
  1104. | #line 5 "conftest.l"
  1105. | { yyless (1); }
  1106. |       YY_BREAK
  1107. | case 5:
  1108. | YY_RULE_SETUP
  1109. | #line 6 "conftest.l"
  1110. | { yyless (input () != 0); }
  1111. |       YY_BREAK
  1112. | case 6:
  1113. | YY_RULE_SETUP
  1114. | #line 7 "conftest.l"
  1115. | { unput (yytext[0]); }
  1116. |       YY_BREAK
  1117. | case 7:
  1118. | YY_RULE_SETUP
  1119. | #line 8 "conftest.l"
  1120. | { BEGIN INITIAL; }
  1121. |       YY_BREAK
  1122. | case 8:
  1123. | YY_RULE_SETUP
  1124. | #line 9 "conftest.l"
  1125. | ECHO;
  1126. |       YY_BREAK
  1127. | #line 790 "lex.yy.c"
  1128. |                       case YY_STATE_EOF(INITIAL):
  1129. |                               yyterminate();
  1130. |
  1131. |       case YY_END_OF_BUFFER:
  1132. |               {
  1133. |               /* Amount of text matched not including the EOB char. */
  1134. |               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1135. |
  1136. |               /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1137. |               *yy_cp = (yy_hold_char);
  1138. |               YY_RESTORE_YY_MORE_OFFSET
  1139. |
  1140. |               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1141. |                       {
  1142. |                       /* We're scanning a new file or input source.  It's
  1143. |                        * possible that this happened because the user
  1144. |                        * just pointed yyin at a new source and called
  1145. |                        * yylex().  If so, then we have to assure
  1146. |                        * consistency between YY_CURRENT_BUFFER and our
  1147. |                        * globals.  Here is the right place to do so, because
  1148. |                        * this is the first action (other than possibly a
  1149. |                        * back-up) that will match for the new input source.
  1150. |                        */
  1151. |                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1152. |                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1153. |                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1154. |                       }
  1155. |
  1156. |               /* Note that here we test for yy_c_buf_p "<=" to the position
  1157. |                * of the first EOB in the buffer, since yy_c_buf_p will
  1158. |                * already have been incremented past the NUL character
  1159. |                * (since all states make transitions on EOB to the
  1160. |                * end-of-buffer state).  Contrast this with the test
  1161. |                * in input().
  1162. |                */
  1163. |               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1164. |                       { /* This was really a NUL. */
  1165. |                       yy_state_type yy_next_state;
  1166. |
  1167. |                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1168. |
  1169. |                       yy_current_state = yy_get_previous_state(  );
  1170. |
  1171. |                       /* Okay, we're now positioned to make the NUL
  1172. |                        * transition.  We couldn't have
  1173. |                        * yy_get_previous_state() go ahead and do it
  1174. |                        * for us because it doesn't know how to deal
  1175. |                        * with the possibility of jamming (and we don't
  1176. |                        * want to build jamming into it because then it
  1177. |                        * will run more slowly).
  1178. |                        */
  1179. |
  1180. |                       yy_next_state = yy_try_NUL_trans( yy_current_state );
  1181. |
  1182. |                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1183. |
  1184. |                       if ( yy_next_state )
  1185. |                               {
  1186. |                               /* Consume the NUL. */
  1187. |                               yy_cp = ++(yy_c_buf_p);
  1188. |                               yy_current_state = yy_next_state;
  1189. |                               goto yy_match;
  1190. |                               }
  1191. |
  1192. |                       else
  1193. |                               {
  1194. |                               yy_cp = (yy_c_buf_p);
  1195. |                               goto yy_find_action;
  1196. |                               }
  1197. |                       }
  1198. |
  1199. |               else switch ( yy_get_next_buffer(  ) )
  1200. |                       {
  1201. |                       case EOB_ACT_END_OF_FILE:
  1202. |                               {
  1203. |                               (yy_did_buffer_switch_on_eof) = 0;
  1204. |
  1205. |                               if ( yywrap( ) )
  1206. |                                       {
  1207. |                                       /* Note: because we've taken care in
  1208. |                                        * yy_get_next_buffer() to have set up
  1209. |                                        * yytext, we can now set up
  1210. |                                        * yy_c_buf_p so that if some total
  1211. |                                        * hoser (like flex itself) wants to
  1212. |                                        * call the scanner after we return the
  1213. |                                        * YY_NULL, it'll still work - another
  1214. |                                        * YY_NULL will get returned.
  1215. |                                        */
  1216. |                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1217. |
  1218. |                                       yy_act = YY_STATE_EOF(YY_START);
  1219. |                                       goto do_action;
  1220. |                                       }
  1221. |
  1222. |                               else
  1223. |                                       {
  1224. |                                       if ( ! (yy_did_buffer_switch_on_eof) )
  1225. |                                               YY_NEW_FILE;
  1226. |                                       }
  1227. |                               break;
  1228. |                               }
  1229. |
  1230. |                       case EOB_ACT_CONTINUE_SCAN:
  1231. |                               (yy_c_buf_p) =
  1232. |                                       (yytext_ptr) + yy_amount_of_matched_text;
  1233. |
  1234. |                               yy_current_state = yy_get_previous_state(  );
  1235. |
  1236. |                               yy_cp = (yy_c_buf_p);
  1237. |                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1238. |                               goto yy_match;
  1239. |
  1240. |                       case EOB_ACT_LAST_MATCH:
  1241. |                               (yy_c_buf_p) =
  1242. |                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1243. |
  1244. |                               yy_current_state = yy_get_previous_state(  );
  1245. |
  1246. |                               yy_cp = (yy_c_buf_p);
  1247. |                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1248. |                               goto yy_find_action;
  1249. |                       }
  1250. |               break;
  1251. |               }
  1252. |
  1253. |       default:
  1254. |               YY_FATAL_ERROR(
  1255. |                       "fatal flex scanner internal error--no action found" );
  1256. |       } /* end of action switch */
  1257. |               } /* end of scanning one token */
  1258. | } /* end of yylex */
  1259. |
  1260. | /* yy_get_next_buffer - try to read in a new buffer
  1261. |  *
  1262. |  * Returns a code representing an action:
  1263. |  *    EOB_ACT_LAST_MATCH -
  1264. |  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1265. |  *    EOB_ACT_END_OF_FILE - end of file
  1266. |  */
  1267. | static int yy_get_next_buffer (void)
  1268. | {
  1269. |       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1270. |       register char *source = (yytext_ptr);
  1271. |       register int number_to_move, i;
  1272. |       int ret_val;
  1273. |
  1274. |       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1275. |               YY_FATAL_ERROR(
  1276. |               "fatal flex scanner internal error--end of buffer missed" );
  1277. |
  1278. |       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1279. |               { /* Don't try to fill the buffer, so this is an EOF. */
  1280. |               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1281. |                       {
  1282. |                       /* We matched a single character, the EOB, so
  1283. |                        * treat this as a final EOF.
  1284. |                        */
  1285. |                       return EOB_ACT_END_OF_FILE;
  1286. |                       }
  1287. |
  1288. |               else
  1289. |                       {
  1290. |                       /* We matched some text prior to the EOB, first
  1291. |                        * process it.
  1292. |                        */
  1293. |                       return EOB_ACT_LAST_MATCH;
  1294. |                       }
  1295. |               }
  1296. |
  1297. |       /* Try to read more data. */
  1298. |
  1299. |       /* First move last chars to start of buffer. */
  1300. |       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  1301. |
  1302. |       for ( i = 0; i < number_to_move; ++i )
  1303. |               *(dest++) = *(source++);
  1304. |
  1305. |       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1306. |               /* don't do the read, it's not guaranteed to return an EOF,
  1307. |                * just force an EOF
  1308. |                */
  1309. |               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1310. |
  1311. |       else
  1312. |               {
  1313. |                       int num_to_read =
  1314. |                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1315. |
  1316. |               while ( num_to_read <= 0 )
  1317. |                       { /* Not enough room in the buffer - grow it. */
  1318. |
  1319. |                       YY_FATAL_ERROR(
  1320. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1321. |
  1322. |                       }
  1323. |
  1324. |               if ( num_to_read > YY_READ_BUF_SIZE )
  1325. |                       num_to_read = YY_READ_BUF_SIZE;
  1326. |
  1327. |               /* Read in more data. */
  1328. |               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1329. |                       (yy_n_chars), (size_t) num_to_read );
  1330. |
  1331. |               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1332. |               }
  1333. |
  1334. |       if ( (yy_n_chars) == 0 )
  1335. |               {
  1336. |               if ( number_to_move == YY_MORE_ADJ )
  1337. |                       {
  1338. |                       ret_val = EOB_ACT_END_OF_FILE;
  1339. |                       yyrestart(yyin  );
  1340. |                       }
  1341. |
  1342. |               else
  1343. |                       {
  1344. |                       ret_val = EOB_ACT_LAST_MATCH;
  1345. |                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1346. |                               YY_BUFFER_EOF_PENDING;
  1347. |                       }
  1348. |               }
  1349. |
  1350. |       else
  1351. |               ret_val = EOB_ACT_CONTINUE_SCAN;
  1352. |
  1353. |       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1354. |               /* Extend the array by 50%, plus the number we really need. */
  1355. |               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1356. |               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
  1357. |               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1358. |                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1359. |       }
  1360. |
  1361. |       (yy_n_chars) += number_to_move;
  1362. |       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1363. |       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1364. |
  1365. |       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1366. |
  1367. |       return ret_val;
  1368. | }
  1369. |
  1370. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1371. |
  1372. |     static yy_state_type yy_get_previous_state (void)
  1373. | {
  1374. |       register yy_state_type yy_current_state;
  1375. |       register char *yy_cp;
  1376. |    
  1377. |       yy_current_state = (yy_start);
  1378. |
  1379. |       (yy_state_ptr) = (yy_state_buf);
  1380. |       *(yy_state_ptr)++ = yy_current_state;
  1381. |
  1382. |       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1383. |               {
  1384. |               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1385. |               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1386. |                       {
  1387. |                       yy_current_state = (int) yy_def[yy_current_state];
  1388. |                       if ( yy_current_state >= 13 )
  1389. |                               yy_c = yy_meta[(unsigned int) yy_c];
  1390. |                       }
  1391. |               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1392. |               *(yy_state_ptr)++ = yy_current_state;
  1393. |               }
  1394. |
  1395. |       return yy_current_state;
  1396. | }
  1397. |
  1398. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1399. |  *
  1400. |  * synopsis
  1401. |  *    next_state = yy_try_NUL_trans( current_state );
  1402. |  */
  1403. |     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
  1404. | {
  1405. |       register int yy_is_jam;
  1406. |    
  1407. |       register YY_CHAR yy_c = 1;
  1408. |       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1409. |               {
  1410. |               yy_current_state = (int) yy_def[yy_current_state];
  1411. |               if ( yy_current_state >= 13 )
  1412. |                       yy_c = yy_meta[(unsigned int) yy_c];
  1413. |               }
  1414. |       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1415. |       yy_is_jam = (yy_current_state == 12);
  1416. |       if ( ! yy_is_jam )
  1417. |               *(yy_state_ptr)++ = yy_current_state;
  1418. |
  1419. |       return yy_is_jam ? 0 : yy_current_state;
  1420. | }
  1421. |
  1422. |     static void yyunput (int c, register char * yy_bp )
  1423. | {
  1424. |       register char *yy_cp;
  1425. |    
  1426. |     yy_cp = (yy_c_buf_p);
  1427. |
  1428. |       /* undo effects of setting up yytext */
  1429. |       *yy_cp = (yy_hold_char);
  1430. |
  1431. |       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1432. |               { /* need to shift things up to make room */
  1433. |               /* +2 for EOB chars. */
  1434. |               register int number_to_move = (yy_n_chars) + 2;
  1435. |               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1436. |                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1437. |               register char *source =
  1438. |                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1439. |
  1440. |               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1441. |                       *--dest = *--source;
  1442. |
  1443. |               yy_cp += (int) (dest - source);
  1444. |               yy_bp += (int) (dest - source);
  1445. |               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1446. |                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1447. |
  1448. |               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1449. |                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1450. |               }
  1451. |
  1452. |       *--yy_cp = (char) c;
  1453. |
  1454. |       (yytext_ptr) = yy_bp;
  1455. |       (yy_hold_char) = *yy_cp;
  1456. |       (yy_c_buf_p) = yy_cp;
  1457. | }
  1458. |
  1459. | #ifndef YY_NO_INPUT
  1460. | #ifdef __cplusplus
  1461. |     static int yyinput (void)
  1462. | #else
  1463. |     static int input  (void)
  1464. | #endif
  1465. |
  1466. | {
  1467. |       int c;
  1468. |    
  1469. |       *(yy_c_buf_p) = (yy_hold_char);
  1470. |
  1471. |       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1472. |               {
  1473. |               /* yy_c_buf_p now points to the character we want to return.
  1474. |                * If this occurs *before* the EOB characters, then it's a
  1475. |                * valid NUL; if not, then we've hit the end of the buffer.
  1476. |                */
  1477. |               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1478. |                       /* This was really a NUL. */
  1479. |                       *(yy_c_buf_p) = '\0';
  1480. |
  1481. |               else
  1482. |                       { /* need more input */
  1483. |                       int offset = (yy_c_buf_p) - (yytext_ptr);
  1484. |                       ++(yy_c_buf_p);
  1485. |
  1486. |                       switch ( yy_get_next_buffer(  ) )
  1487. |                               {
  1488. |                               case EOB_ACT_LAST_MATCH:
  1489. |                                       /* This happens because yy_g_n_b()
  1490. |                                        * sees that we've accumulated a
  1491. |                                        * token and flags that we need to
  1492. |                                        * try matching the token before
  1493. |                                        * proceeding.  But for input(),
  1494. |                                        * there's no matching to consider.
  1495. |                                        * So convert the EOB_ACT_LAST_MATCH
  1496. |                                        * to EOB_ACT_END_OF_FILE.
  1497. |                                        */
  1498. |
  1499. |                                       /* Reset buffer status. */
  1500. |                                       yyrestart(yyin );
  1501. |
  1502. |                                       /*FALLTHROUGH*/
  1503. |
  1504. |                               case EOB_ACT_END_OF_FILE:
  1505. |                                       {
  1506. |                                       if ( yywrap( ) )
  1507. |                                               return EOF;
  1508. |
  1509. |                                       if ( ! (yy_did_buffer_switch_on_eof) )
  1510. |                                               YY_NEW_FILE;
  1511. | #ifdef __cplusplus
  1512. |                                       return yyinput();
  1513. | #else
  1514. |                                       return input();
  1515. | #endif
  1516. |                                       }
  1517. |
  1518. |                               case EOB_ACT_CONTINUE_SCAN:
  1519. |                                       (yy_c_buf_p) = (yytext_ptr) + offset;
  1520. |                                       break;
  1521. |                               }
  1522. |                       }
  1523. |               }
  1524. |
  1525. |       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
  1526. |       *(yy_c_buf_p) = '\0';   /* preserve yytext */
  1527. |       (yy_hold_char) = *++(yy_c_buf_p);
  1528. |
  1529. |       return c;
  1530. | }
  1531. | #endif        /* ifndef YY_NO_INPUT */
  1532. |
  1533. | /** Immediately switch to a different input stream.
  1534. |  * @param input_file A readable stream.
  1535. |  *
  1536. |  * @note This function does not reset the start condition to @c INITIAL .
  1537. |  */
  1538. |     void yyrestart  (FILE * input_file )
  1539. | {
  1540. |    
  1541. |       if ( ! YY_CURRENT_BUFFER ){
  1542. |         yyensure_buffer_stack ();
  1543. |               YY_CURRENT_BUFFER_LVALUE =
  1544. |             yy_create_buffer(yyin,YY_BUF_SIZE );
  1545. |       }
  1546. |
  1547. |       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  1548. |       yy_load_buffer_state( );
  1549. | }
  1550. |
  1551. | /** Switch to a different input buffer.
  1552. |  * @param new_buffer The new input buffer.
  1553. |  *
  1554. |  */
  1555. |     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
  1556. | {
  1557. |    
  1558. |       /* TODO. We should be able to replace this entire function body
  1559. |        * with
  1560. |        *              yypop_buffer_state();
  1561. |        *              yypush_buffer_state(new_buffer);
  1562. |      */
  1563. |       yyensure_buffer_stack ();
  1564. |       if ( YY_CURRENT_BUFFER == new_buffer )
  1565. |               return;
  1566. |
  1567. |       if ( YY_CURRENT_BUFFER )
  1568. |               {
  1569. |               /* Flush out information for old buffer. */
  1570. |               *(yy_c_buf_p) = (yy_hold_char);
  1571. |               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1572. |               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1573. |               }
  1574. |
  1575. |       YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1576. |       yy_load_buffer_state( );
  1577. |
  1578. |       /* We don't actually know whether we did this switch during
  1579. |        * EOF (yywrap()) processing, but the only time this flag
  1580. |        * is looked at is after yywrap() is called, so it's safe
  1581. |        * to go ahead and always set it.
  1582. |        */
  1583. |       (yy_did_buffer_switch_on_eof) = 1;
  1584. | }
  1585. |
  1586. | static void yy_load_buffer_state  (void)
  1587. | {
  1588. |       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1589. |       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1590. |       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1591. |       (yy_hold_char) = *(yy_c_buf_p);
  1592. | }
  1593. |
  1594. | /** Allocate and initialize an input buffer state.
  1595. |  * @param file A readable stream.
  1596. |  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1597. |  *
  1598. |  * @return the allocated buffer state.
  1599. |  */
  1600. |     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
  1601. | {
  1602. |       YY_BUFFER_STATE b;
  1603. |    
  1604. |       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
  1605. |       if ( ! b )
  1606. |               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1607. |
  1608. |       b->yy_buf_size = size;
  1609. |
  1610. |       /* yy_ch_buf has to be 2 characters longer than the size given because
  1611. |        * we need to put in 2 end-of-buffer characters.
  1612. |        */
  1613. |       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
  1614. |       if ( ! b->yy_ch_buf )
  1615. |               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1616. |
  1617. |       b->yy_is_our_buffer = 1;
  1618. |
  1619. |       yy_init_buffer(b,file );
  1620. |
  1621. |       return b;
  1622. | }
  1623. |
  1624. | /** Destroy the buffer.
  1625. |  * @param b a buffer created with yy_create_buffer()
  1626. |  *
  1627. |  */
  1628. |     void yy_delete_buffer (YY_BUFFER_STATE  b )
  1629. | {
  1630. |    
  1631. |       if ( ! b )
  1632. |               return;
  1633. |
  1634. |       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1635. |               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1636. |
  1637. |       if ( b->yy_is_our_buffer )
  1638. |               yyfree((void *) b->yy_ch_buf  );
  1639. |
  1640. |       yyfree((void *) b  );
  1641. | }
  1642. |
  1643. | #ifndef __cplusplus
  1644. | extern int isatty (int );
  1645. | #endif /* __cplusplus */
  1646. |    
  1647. | /* Initializes or reinitializes a buffer.
  1648. |  * This function is sometimes called more than once on the same buffer,
  1649. |  * such as during a yyrestart() or at EOF.
  1650. |  */
  1651. |     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
  1652. |
  1653. | {
  1654. |       int oerrno = errno;
  1655. |    
  1656. |       yy_flush_buffer(b );
  1657. |
  1658. |       b->yy_input_file = file;
  1659. |       b->yy_fill_buffer = 1;
  1660. |
  1661. |     /* If b is the current buffer, then yy_init_buffer was _probably_
  1662. |      * called from yyrestart() or through yy_get_next_buffer.
  1663. |      * In that case, we don't want to reset the lineno or column.
  1664. |      */
  1665. |     if (b != YY_CURRENT_BUFFER){
  1666. |         b->yy_bs_lineno = 1;
  1667. |         b->yy_bs_column = 0;
  1668. |     }
  1669. |
  1670. |         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1671. |    
  1672. |       errno = oerrno;
  1673. | }
  1674. |
  1675. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1676. |  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1677. |  *
  1678. |  */
  1679. |     void yy_flush_buffer (YY_BUFFER_STATE  b )
  1680. | {
  1681. |       if ( ! b )
  1682. |               return;
  1683. |
  1684. |       b->yy_n_chars = 0;
  1685. |
  1686. |       /* We always need two end-of-buffer characters.  The first causes
  1687. |        * a transition to the end-of-buffer state.  The second causes
  1688. |        * a jam in that state.
  1689. |        */
  1690. |       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1691. |       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1692. |
  1693. |       b->yy_buf_pos = &b->yy_ch_buf[0];
  1694. |
  1695. |       b->yy_at_bol = 1;
  1696. |       b->yy_buffer_status = YY_BUFFER_NEW;
  1697. |
  1698. |       if ( b == YY_CURRENT_BUFFER )
  1699. |               yy_load_buffer_state( );
  1700. | }
  1701. |
  1702. | /** Pushes the new state onto the stack. The new state becomes
  1703. |  *  the current state. This function will allocate the stack
  1704. |  *  if necessary.
  1705. |  *  @param new_buffer The new state.
  1706. |  *  
  1707. |  */
  1708. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1709. | {
  1710. |       if (new_buffer == NULL)
  1711. |               return;
  1712. |
  1713. |       yyensure_buffer_stack();
  1714. |
  1715. |       /* This block is copied from yy_switch_to_buffer. */
  1716. |       if ( YY_CURRENT_BUFFER )
  1717. |               {
  1718. |               /* Flush out information for old buffer. */
  1719. |               *(yy_c_buf_p) = (yy_hold_char);
  1720. |               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1721. |               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1722. |               }
  1723. |
  1724. |       /* Only push if top exists. Otherwise, replace top. */
  1725. |       if (YY_CURRENT_BUFFER)
  1726. |               (yy_buffer_stack_top)++;
  1727. |       YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1728. |
  1729. |       /* copied from yy_switch_to_buffer. */
  1730. |       yy_load_buffer_state( );
  1731. |       (yy_did_buffer_switch_on_eof) = 1;
  1732. | }
  1733. |
  1734. | /** Removes and deletes the top of the stack, if present.
  1735. |  *  The next element becomes the new top.
  1736. |  *  
  1737. |  */
  1738. | void yypop_buffer_state (void)
  1739. | {
  1740. |       if (!YY_CURRENT_BUFFER)
  1741. |               return;
  1742. |
  1743. |       yy_delete_buffer(YY_CURRENT_BUFFER );
  1744. |       YY_CURRENT_BUFFER_LVALUE = NULL;
  1745. |       if ((yy_buffer_stack_top) > 0)
  1746. |               --(yy_buffer_stack_top);
  1747. |
  1748. |       if (YY_CURRENT_BUFFER) {
  1749. |               yy_load_buffer_state( );
  1750. |               (yy_did_buffer_switch_on_eof) = 1;
  1751. |       }
  1752. | }
  1753. |
  1754. | /* Allocates the stack if it does not exist.
  1755. |  *  Guarantees space for at least one push.
  1756. |  */
  1757. | static void yyensure_buffer_stack (void)
  1758. | {
  1759. |       int num_to_alloc;
  1760. |    
  1761. |       if (!(yy_buffer_stack)) {
  1762. |
  1763. |               /* First allocation is just for 2 elements, since we don't know if this
  1764. |                * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1765. |                * immediate realloc on the next call.
  1766. |          */
  1767. |               num_to_alloc = 1;
  1768. |               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1769. |                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
  1770. |                                                               );
  1771. |               if ( ! (yy_buffer_stack) )
  1772. |                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1773. |                                                                
  1774. |               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1775. |                              
  1776. |               (yy_buffer_stack_max) = num_to_alloc;
  1777. |               (yy_buffer_stack_top) = 0;
  1778. |               return;
  1779. |       }
  1780. |
  1781. |       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1782. |
  1783. |               /* Increase the buffer to prepare for a possible push. */
  1784. |               int grow_size = 8 /* arbitrary grow size */;
  1785. |
  1786. |               num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1787. |               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1788. |                                                               ((yy_buffer_stack),
  1789. |                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
  1790. |                                                               );
  1791. |               if ( ! (yy_buffer_stack) )
  1792. |                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1793. |
  1794. |               /* zero only the new slots.*/
  1795. |               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1796. |               (yy_buffer_stack_max) = num_to_alloc;
  1797. |       }
  1798. | }
  1799. |
  1800. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1801. |  * @param base the character buffer
  1802. |  * @param size the size in bytes of the character buffer
  1803. |  *
  1804. |  * @return the newly allocated buffer state object.
  1805. |  */
  1806. | YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
  1807. | {
  1808. |       YY_BUFFER_STATE b;
  1809. |    
  1810. |       if ( size < 2 ||
  1811. |            base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1812. |            base[size-1] != YY_END_OF_BUFFER_CHAR )
  1813. |               /* They forgot to leave room for the EOB's. */
  1814. |               return 0;
  1815. |
  1816. |       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
  1817. |       if ( ! b )
  1818. |               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1819. |
  1820. |       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
  1821. |       b->yy_buf_pos = b->yy_ch_buf = base;
  1822. |       b->yy_is_our_buffer = 0;
  1823. |       b->yy_input_file = 0;
  1824. |       b->yy_n_chars = b->yy_buf_size;
  1825. |       b->yy_is_interactive = 0;
  1826. |       b->yy_at_bol = 1;
  1827. |       b->yy_fill_buffer = 0;
  1828. |       b->yy_buffer_status = YY_BUFFER_NEW;
  1829. |
  1830. |       yy_switch_to_buffer(b  );
  1831. |
  1832. |       return b;
  1833. | }
  1834. |
  1835. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1836. |  * scan from a @e copy of @a str.
  1837. |  * @param yystr a NUL-terminated string to scan
  1838. |  *
  1839. |  * @return the newly allocated buffer state object.
  1840. |  * @note If you want to scan bytes that may contain NUL values, then use
  1841. |  *       yy_scan_bytes() instead.
  1842. |  */
  1843. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  1844. | {
  1845. |    
  1846. |       return yy_scan_bytes(yystr,strlen(yystr) );
  1847. | }
  1848. |
  1849. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1850. |  * scan from a @e copy of @a bytes.
  1851. |  * @param bytes the byte buffer to scan
  1852. |  * @param len the number of bytes in the buffer pointed to by @a bytes.
  1853. |  *
  1854. |  * @return the newly allocated buffer state object.
  1855. |  */
  1856. | YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, int  _yybytes_len )
  1857. | {
  1858. |       YY_BUFFER_STATE b;
  1859. |       char *buf;
  1860. |       yy_size_t n;
  1861. |       int i;
  1862. |    
  1863. |       /* Get memory for full buffer, including space for trailing EOB's. */
  1864. |       n = _yybytes_len + 2;
  1865. |       buf = (char *) yyalloc(n  );
  1866. |       if ( ! buf )
  1867. |               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1868. |
  1869. |       for ( i = 0; i < _yybytes_len; ++i )
  1870. |               buf[i] = yybytes[i];
  1871. |
  1872. |       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1873. |
  1874. |       b = yy_scan_buffer(buf,n );
  1875. |       if ( ! b )
  1876. |               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1877. |
  1878. |       /* It's okay to grow etc. this buffer, and we should throw it
  1879. |        * away when we're done.
  1880. |        */
  1881. |       b->yy_is_our_buffer = 1;
  1882. |
  1883. |       return b;
  1884. | }
  1885. |
  1886. | #ifndef YY_EXIT_FAILURE
  1887. | #define YY_EXIT_FAILURE 2
  1888. | #endif
  1889. |
  1890. | static void yy_fatal_error (yyconst char* msg )
  1891. | {
  1892. |       (void) fprintf( stderr, "%s\n", msg );
  1893. |       exit( YY_EXIT_FAILURE );
  1894. | }
  1895. |
  1896. | /* Redefine yyless() so it works in section 3 code. */
  1897. |
  1898. | #undef yyless
  1899. | #define yyless(n) \
  1900. |       do \
  1901. |               { \
  1902. |               /* Undo effects of setting up yytext. */ \
  1903. |         int yyless_macro_arg = (n); \
  1904. |         YY_LESS_LINENO(yyless_macro_arg);\
  1905. |               yytext[yyleng] = (yy_hold_char); \
  1906. |               (yy_c_buf_p) = yytext + yyless_macro_arg; \
  1907. |               (yy_hold_char) = *(yy_c_buf_p); \
  1908. |               *(yy_c_buf_p) = '\0'; \
  1909. |               yyleng = yyless_macro_arg; \
  1910. |               } \
  1911. |       while ( 0 )
  1912. |
  1913. | /* Accessor  methods (get/set functions) to struct members. */
  1914. |
  1915. | /** Get the current line number.
  1916. |  *
  1917. |  */
  1918. | int yyget_lineno  (void)
  1919. | {
  1920. |        
  1921. |     return yylineno;
  1922. | }
  1923. |
  1924. | /** Get the input stream.
  1925. |  *
  1926. |  */
  1927. | FILE *yyget_in  (void)
  1928. | {
  1929. |         return yyin;
  1930. | }
  1931. |
  1932. | /** Get the output stream.
  1933. |  *
  1934. |  */
  1935. | FILE *yyget_out  (void)
  1936. | {
  1937. |         return yyout;
  1938. | }
  1939. |
  1940. | /** Get the length of the current token.
  1941. |  *
  1942. |  */
  1943. | int yyget_leng  (void)
  1944. | {
  1945. |         return yyleng;
  1946. | }
  1947. |
  1948. | /** Get the current token.
  1949. |  *
  1950. |  */
  1951. |
  1952. | char *yyget_text  (void)
  1953. | {
  1954. |         return yytext;
  1955. | }
  1956. |
  1957. | /** Set the current line number.
  1958. |  * @param line_number
  1959. |  *
  1960. |  */
  1961. | void yyset_lineno (int  line_number )
  1962. | {
  1963. |    
  1964. |     yylineno = line_number;
  1965. | }
  1966. |
  1967. | /** Set the input stream. This does not discard the current
  1968. |  * input buffer.
  1969. |  * @param in_str A readable stream.
  1970. |  *
  1971. |  * @see yy_switch_to_buffer
  1972. |  */
  1973. | void yyset_in (FILE *  in_str )
  1974. | {
  1975. |         yyin = in_str ;
  1976. | }
  1977. |
  1978. | void yyset_out (FILE *  out_str )
  1979. | {
  1980. |         yyout = out_str ;
  1981. | }
  1982. |
  1983. | int yyget_debug  (void)
  1984. | {
  1985. |         return yy_flex_debug;
  1986. | }
  1987. |
  1988. | void yyset_debug (int  bdebug )
  1989. | {
  1990. |         yy_flex_debug = bdebug ;
  1991. | }
  1992. |
  1993. | static int yy_init_globals (void)
  1994. | {
  1995. |         /* Initialization is the same as for the non-reentrant scanner.
  1996. |      * This function is called from yylex_destroy(), so don't allocate here.
  1997. |      */
  1998. |
  1999. |     (yy_buffer_stack) = 0;
  2000. |     (yy_buffer_stack_top) = 0;
  2001. |     (yy_buffer_stack_max) = 0;
  2002. |     (yy_c_buf_p) = (char *) 0;
  2003. |     (yy_init) = 0;
  2004. |     (yy_start) = 0;
  2005. |
  2006. |     (yy_state_buf) = 0;
  2007. |     (yy_state_ptr) = 0;
  2008. |     (yy_full_match) = 0;
  2009. |     (yy_lp) = 0;
  2010. |
  2011. | /* Defined in main.c */
  2012. | #ifdef YY_STDINIT
  2013. |     yyin = stdin;
  2014. |     yyout = stdout;
  2015. | #else
  2016. |     yyin = (FILE *) 0;
  2017. |     yyout = (FILE *) 0;
  2018. | #endif
  2019. |
  2020. |     /* For future reference: Set errno on error, since we are called by
  2021. |      * yylex_init()
  2022. |      */
  2023. |     return 0;
  2024. | }
  2025. |
  2026. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  2027. | int yylex_destroy  (void)
  2028. | {
  2029. |    
  2030. |     /* Pop the buffer stack, destroying each element. */
  2031. |       while(YY_CURRENT_BUFFER){
  2032. |               yy_delete_buffer(YY_CURRENT_BUFFER  );
  2033. |               YY_CURRENT_BUFFER_LVALUE = NULL;
  2034. |               yypop_buffer_state();
  2035. |       }
  2036. |
  2037. |       /* Destroy the stack itself. */
  2038. |       yyfree((yy_buffer_stack) );
  2039. |       (yy_buffer_stack) = NULL;
  2040. |
  2041. |     yyfree ( (yy_state_buf) );
  2042. |     (yy_state_buf)  = NULL;
  2043. |
  2044. |     /* Reset the globals. This is important in a non-reentrant scanner so the next time
  2045. |      * yylex() is called, initialization will occur. */
  2046. |     yy_init_globals( );
  2047. |
  2048. |     return 0;
  2049. | }
  2050. |
  2051. | /*
  2052. |  * Internal utility routines.
  2053. |  */
  2054. |
  2055. | #ifndef yytext_ptr
  2056. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  2057. | {
  2058. |       register int i;
  2059. |       for ( i = 0; i < n; ++i )
  2060. |               s1[i] = s2[i];
  2061. | }
  2062. | #endif
  2063. |
  2064. | #ifdef YY_NEED_STRLEN
  2065. | static int yy_flex_strlen (yyconst char * s )
  2066. | {
  2067. |       register int n;
  2068. |       for ( n = 0; s[n]; ++n )
  2069. |               ;
  2070. |
  2071. |       return n;
  2072. | }
  2073. | #endif
  2074. |
  2075. | void *yyalloc (yy_size_t  size )
  2076. | {
  2077. |       return (void *) malloc( size );
  2078. | }
  2079. |
  2080. | void *yyrealloc  (void * ptr, yy_size_t  size )
  2081. | {
  2082. |       /* The cast to (char *) in the following accommodates both
  2083. |        * implementations that use char* generic pointers, and those
  2084. |        * that use void* generic pointers.  It works with the latter
  2085. |        * because both ANSI C and C++ allow castless assignment from
  2086. |        * any pointer type to void*, and deal with argument conversions
  2087. |        * as though doing an assignment.
  2088. |        */
  2089. |       return (void *) realloc( (char *) ptr, size );
  2090. | }
  2091. |
  2092. | void yyfree (void * ptr )
  2093. | {
  2094. |       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
  2095. | }
  2096. |
  2097. | #define YYTABLES_NAME "yytables"
  2098. |
  2099. | #line 9 "conftest.l"
  2100. |
  2101. |
  2102. | #ifdef YYTEXT_POINTER
  2103. | extern char *yytext;
  2104. | #endif
  2105. | int
  2106. | main (void)
  2107. | {
  2108. |   return ! yylex () + ! yywrap ();
  2109. | }
  2110. configure:5449: gcc -o conftest -O2 -g -march=i686   conftest.c -lfl  >&5
  2111. configure:5455: $? = 0
  2112. configure:5476: result: -lfl
  2113. configure:5482: checking whether yytext is a pointer
  2114. configure:5503: gcc -o conftest -O2 -g -march=i686   conftest.c -lfl  >&5
  2115. configure:5509: $? = 0
  2116. configure:5528: result: yes
  2117. configure:5589: checking for pkg-config
  2118. configure:5607: found /usr/bin/pkg-config
  2119. configure:5619: result: /usr/bin/pkg-config
  2120. configure:5648: checking pkg-config is at least version 0.9.0
  2121. configure:5651: result: yes
  2122. configure:5664: checking host system type
  2123. configure:5679: result: i686-pc-linux-gnu
  2124. configure:5915: checking for libxslt
  2125. configure:5945: result: no
  2126. configure:5915: checking for saxon
  2127. configure:5945: result: no
  2128. configure:5915: checking for xalan-j
  2129. configure:5945: result: no
  2130. configure:5915: checking for xsltproc
  2131. configure:5931: found /usr/bin/xsltproc
  2132. configure:5942: result: xsltproc
  2133. configure:5975: checking for docbook2pdf
  2134. configure:6005: result: no
  2135. configure:5975: checking for dblatex
  2136. configure:6005: result: no
  2137. configure:6019: checking for library containing strerror
  2138. configure:6060: gcc -o conftest -O2 -g -march=i686   conftest.c  >&5
  2139. configure:6066: $? = 0
  2140. configure:6094: result: none required
  2141. configure:6103: checking for pid_t
  2142. configure:6133: gcc -c -O2 -g -march=i686  conftest.c >&5
  2143. configure:6139: $? = 0
  2144. configure:6154: result: yes
  2145. configure:6166: checking for size_t
  2146. configure:6196: gcc -c -O2 -g -march=i686  conftest.c >&5
  2147. configure:6202: $? = 0
  2148. configure:6217: result: yes
  2149. configure:6243: checking for a BSD-compatible install
  2150. configure:6299: result: /usr/bin/install -c
  2151. configure:6310: checking whether ln -s works
  2152. configure:6314: result: yes
  2153. configure:6364: checking for ranlib
  2154. configure:6380: found /usr/bin/ranlib
  2155. configure:6391: result: ranlib
  2156. configure:6421: checking for bison
  2157. configure:6437: found /usr/bin/bison
  2158. configure:6448: result: bison -y
  2159. configure:6463: checking if lex is flex
  2160. flex 2.5.35
  2161. configure:6466: result: yes
  2162. configure:6502: checking whether byte order is known at compile time
  2163. configure:6533: gcc -c -O2 -g -march=i686  conftest.c >&5
  2164. configure:6539: $? = 0
  2165. configure:6554: result: yes
  2166. configure:6556: checking whether byte ordering is bigendian
  2167. configure:6589: gcc -c -O2 -g -march=i686  conftest.c >&5
  2168. conftest.c: In function 'main':
  2169. conftest.c:33: error: 'not' undeclared (first use in this function)
  2170. conftest.c:33: error: (Each undeclared identifier is reported only once
  2171. conftest.c:33: error: for each function it appears in.)
  2172. conftest.c:33: error: expected ';' before 'big'
  2173. configure:6595: $? = 1
  2174. configure: failed program was:
  2175. | /* confdefs.h.  */
  2176. | #define PACKAGE_NAME "OpenAFS"
  2177. | #define PACKAGE_TARNAME "openafs"
  2178. | #define PACKAGE_VERSION "1.6.0"
  2179. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  2180. | #define PACKAGE_BUGREPORT ""
  2181. | #define PACKAGE "openafs"
  2182. | #define VERSION "1.6.0"
  2183. | #define _GNU_SOURCE 1
  2184. | #define STDC_HEADERS 1
  2185. | #define HAVE_SYS_TYPES_H 1
  2186. | #define HAVE_SYS_STAT_H 1
  2187. | #define HAVE_STDLIB_H 1
  2188. | #define HAVE_STRING_H 1
  2189. | #define HAVE_MEMORY_H 1
  2190. | #define HAVE_STRINGS_H 1
  2191. | #define HAVE_INTTYPES_H 1
  2192. | #define HAVE_STDINT_H 1
  2193. | #define HAVE_UNISTD_H 1
  2194. | #define __EXTENSIONS__ 1
  2195. | #define _POSIX_PTHREAD_SEMANTICS 1
  2196. | #define _TANDEM_SOURCE 1
  2197. | #define YYTEXT_POINTER 1
  2198. | /* end confdefs.h.  */
  2199. |
  2200. | #include <sys/types.h>
  2201. | #include <sys/param.h>
  2202. | int
  2203. | main ()
  2204. | {
  2205. |
  2206. | #if BYTE_ORDER != BIG_ENDIAN
  2207. |   not big endian
  2208. | #endif
  2209. |   ;
  2210. |   return 0;
  2211. | }
  2212. configure:6668: result: no
  2213. configure:6684: checking whether printf understands the %z length modifier
  2214. configure:6720: gcc -o conftest -O2 -g -march=i686   conftest.c  >&5
  2215. configure:6723: $? = 0
  2216. configure:6729: ./conftest
  2217. configure:6732: $? = 0
  2218. configure:6749: result: yes
  2219. configure:6761: checking your OS
  2220. configure:6847: result: linux
  2221. configure:7742: checking if gcc accepts -march=pentium
  2222. configure:7770: gcc -c -MARCH=pentium  conftest.c >&5
  2223. configure:7776: $? = 0
  2224. configure:7793: result: yes
  2225. configure:7804: checking if gcc needs -fno-strength-reduce
  2226. configure:7832: gcc -c -fno-strength-reduce  conftest.c >&5
  2227. configure:7838: $? = 0
  2228. configure:7855: result: yes
  2229. configure:7863: checking if gcc needs -fno-strict-aliasing
  2230. configure:7891: gcc -c -fno-strict-aliasing  conftest.c >&5
  2231. configure:7897: $? = 0
  2232. configure:7914: result: yes
  2233. configure:7922: checking if gcc supports -fno-common
  2234. configure:7950: gcc -c -fno-common  conftest.c >&5
  2235. configure:7956: $? = 0
  2236. configure:7974: result: yes
  2237. configure:7982: checking if gcc supports -pipe
  2238. configure:8010: gcc -c -pipe  conftest.c >&5
  2239. configure:8016: $? = 0
  2240. configure:8033: result: yes
  2241. configure:8043: checking if linux kbuild requires EXTRA_CFLAGS
  2242. make -C /usr/src/kernels/2.6.32-220.4.2.el6.i686 M=/root/rpmbuild/BUILD/openafs-1.6.0/conftest.dir modules KBUILD_VERBOSE=1
  2243. ./configure: line 8077: make: command not found
  2244. configure: failed using Makefile:
  2245. | CFLAGS += -Wall
  2246. |
  2247. | obj-m += conftest.o
  2248. configure: and program was:
  2249. | /* confdefs.h */
  2250. | #define PACKAGE_NAME "OpenAFS"
  2251. | #define PACKAGE_TARNAME "openafs"
  2252. | #define PACKAGE_VERSION "1.6.0"
  2253. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  2254. | #define PACKAGE_BUGREPORT ""
  2255. | #define PACKAGE "openafs"
  2256. | #define VERSION "1.6.0"
  2257. | #define _GNU_SOURCE 1
  2258. | #define STDC_HEADERS 1
  2259. | #define HAVE_SYS_TYPES_H 1
  2260. | #define HAVE_SYS_STAT_H 1
  2261. | #define HAVE_STDLIB_H 1
  2262. | #define HAVE_STRING_H 1
  2263. | #define HAVE_MEMORY_H 1
  2264. | #define HAVE_STRINGS_H 1
  2265. | #define HAVE_INTTYPES_H 1
  2266. | #define HAVE_STDINT_H 1
  2267. | #define HAVE_UNISTD_H 1
  2268. | #define __EXTENSIONS__ 1
  2269. | #define _POSIX_PTHREAD_SEMANTICS 1
  2270. | #define _TANDEM_SOURCE 1
  2271. | #define YYTEXT_POINTER 1
  2272. | #define ENDIANESS_IN_SYS_PARAM_H 1
  2273. | #define PRINTF_TAKES_Z_LEN 1
  2274. | #define ENABLE_REDHAT_BUILDSYS 1
  2275. | /* end confdefs.h */
  2276. | #include <linux/module.h>
  2277. | #include <linux/sched.h>
  2278. | #include <linux/fs.h>
  2279. |
  2280. | void conftest(void)
  2281. | {
  2282. |
  2283. | }
  2284. |
  2285. | MODULE_LICENSE("http://www.openafs.org/dl/license10.html");
  2286. configure:8139: result: yes
  2287. configure:8142: checking for linux kernel module build works
  2288. make -C /usr/src/kernels/2.6.32-220.4.2.el6.i686 M=/root/rpmbuild/BUILD/openafs-1.6.0/conftest.dir modules KBUILD_VERBOSE=1
  2289. ./configure: line 8174: make: command not found
  2290. configure: failed using Makefile:
  2291. | EXTRA_CFLAGS +=
  2292. |
  2293. | obj-m += conftest.o
  2294. configure: and program was:
  2295. | /* confdefs.h */
  2296. | #define PACKAGE_NAME "OpenAFS"
  2297. | #define PACKAGE_TARNAME "openafs"
  2298. | #define PACKAGE_VERSION "1.6.0"
  2299. | #define PACKAGE_STRING "OpenAFS 1.6.0"
  2300. | #define PACKAGE_BUGREPORT ""
  2301. | #define PACKAGE "openafs"
  2302. | #define VERSION "1.6.0"
  2303. | #define _GNU_SOURCE 1
  2304. | #define STDC_HEADERS 1
  2305. | #define HAVE_SYS_TYPES_H 1
  2306. | #define HAVE_SYS_STAT_H 1
  2307. | #define HAVE_STDLIB_H 1
  2308. | #define HAVE_STRING_H 1
  2309. | #define HAVE_MEMORY_H 1
  2310. | #define HAVE_STRINGS_H 1
  2311. | #define HAVE_INTTYPES_H 1
  2312. | #define HAVE_STDINT_H 1
  2313. | #define HAVE_UNISTD_H 1
  2314. | #define __EXTENSIONS__ 1
  2315. | #define _POSIX_PTHREAD_SEMANTICS 1
  2316. | #define _TANDEM_SOURCE 1
  2317. | #define YYTEXT_POINTER 1
  2318. | #define ENDIANESS_IN_SYS_PARAM_H 1
  2319. | #define PRINTF_TAKES_Z_LEN 1
  2320. | #define ENABLE_REDHAT_BUILDSYS 1
  2321. | /* end confdefs.h */
  2322. | #include <linux/module.h>
  2323. | #include <linux/sched.h>
  2324. | #include <linux/fs.h>
  2325. |
  2326. | void conftest(void)
  2327. | {
  2328. |
  2329. | }
  2330. |
  2331. | MODULE_LICENSE("http://www.openafs.org/dl/license10.html");
  2332. configure:8183: result: no
  2333. configure:8186: error: Fix problem or use --disable-kernel-module...
  2334. See `config.log' for more details.
  2335.  
  2336. ## ---------------- ##
  2337. ## Cache variables. ##
  2338. ## ---------------- ##
  2339.  
  2340. ac_cv_build=i686-pc-linux-gnu
  2341. ac_cv_c_compiler_gnu=yes
  2342. ac_cv_env_CC_set=
  2343. ac_cv_env_CC_value=
  2344. ac_cv_env_CFLAGS_set=set
  2345. ac_cv_env_CFLAGS_value='-O2 -g -march=i686'
  2346. ac_cv_env_CPPFLAGS_set=
  2347. ac_cv_env_CPPFLAGS_value=
  2348. ac_cv_env_CPP_set=
  2349. ac_cv_env_CPP_value=
  2350. ac_cv_env_FUSE_CFLAGS_set=
  2351. ac_cv_env_FUSE_CFLAGS_value=
  2352. ac_cv_env_FUSE_LIBS_set=
  2353. ac_cv_env_FUSE_LIBS_value=
  2354. ac_cv_env_KRB5_CONFIG_set=
  2355. ac_cv_env_KRB5_CONFIG_value=
  2356. ac_cv_env_LDFLAGS_set=
  2357. ac_cv_env_LDFLAGS_value=
  2358. ac_cv_env_LIBS_set=
  2359. ac_cv_env_LIBS_value=
  2360. ac_cv_env_PKG_CONFIG_set=
  2361. ac_cv_env_PKG_CONFIG_value=
  2362. ac_cv_env_YACC_set=
  2363. ac_cv_env_YACC_value=
  2364. ac_cv_env_YFLAGS_set=
  2365. ac_cv_env_YFLAGS_value=
  2366. ac_cv_env_build_alias_set=
  2367. ac_cv_env_build_alias_value=
  2368. ac_cv_env_host_alias_set=
  2369. ac_cv_env_host_alias_value=
  2370. ac_cv_env_target_alias_set=
  2371. ac_cv_env_target_alias_value=
  2372. ac_cv_header_inttypes_h=yes
  2373. ac_cv_header_memory_h=yes
  2374. ac_cv_header_minix_config_h=no
  2375. ac_cv_header_stdc=yes
  2376. ac_cv_header_stdint_h=yes
  2377. ac_cv_header_stdlib_h=yes
  2378. ac_cv_header_string_h=yes
  2379. ac_cv_header_strings_h=yes
  2380. ac_cv_header_sys_stat_h=yes
  2381. ac_cv_header_sys_types_h=yes
  2382. ac_cv_header_unistd_h=yes
  2383. ac_cv_host=i686-pc-linux-gnu
  2384. ac_cv_lib_lex=-lfl
  2385. ac_cv_objext=o
  2386. ac_cv_path_EGREP='/bin/grep -E'
  2387. ac_cv_path_GREP=/bin/grep
  2388. ac_cv_path_PATH_CPP=/usr/bin/cpp
  2389. ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
  2390. ac_cv_path_install='/usr/bin/install -c'
  2391. ac_cv_path_mkdir=/bin/mkdir
  2392. ac_cv_prog_AWK=gawk
  2393. ac_cv_prog_CPP='gcc -E'
  2394. ac_cv_prog_LEX=flex
  2395. ac_cv_prog_XSLTPROC=xsltproc
  2396. ac_cv_prog_YACC='bison -y'
  2397. ac_cv_prog_ac_ct_CC=gcc
  2398. ac_cv_prog_ac_ct_RANLIB=ranlib
  2399. ac_cv_prog_cc_c89=
  2400. ac_cv_prog_cc_g=yes
  2401. ac_cv_prog_lex_root=lex.yy
  2402. ac_cv_prog_lex_yytext_pointer=yes
  2403. ac_cv_prog_make_make_set=no
  2404. ac_cv_safe_to_define___extensions__=yes
  2405. ac_cv_search_strerror='none required'
  2406. ac_cv_type_pid_t=yes
  2407. ac_cv_type_size_t=yes
  2408. am_cv_CC_dependencies_compiler_type=none
  2409. openafs_cv_c_bigendian=no
  2410. openafs_cv_c_bigendian_compile=yes
  2411. openafs_cv_gcc_needs_no_strength_reduce=yes
  2412. openafs_cv_gcc_needs_no_strict_aliasing=yes
  2413. openafs_cv_gcc_supports_march=yes
  2414. openafs_cv_gcc_supports_no_common=yes
  2415. openafs_cv_gcc_supports_pipe=yes
  2416. openafs_cv_printf_takes_z=yes
  2417.  
  2418. ## ----------------- ##
  2419. ## Output variables. ##
  2420. ## ----------------- ##
  2421.  
  2422. ACLOCAL='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run aclocal-1.10'
  2423. AFSD_LDFLAGS=''
  2424. AFSD_LIBS=''
  2425. AFS_PARAM_COMMON='param.linux26.h'
  2426. AFS_SYSNAME='i386_linux26'
  2427. AIX32=''
  2428. AIX64=''
  2429. AMDEPBACKSLASH='\'
  2430. AMDEP_FALSE='#'
  2431. AMDEP_TRUE=''
  2432. AMTAR='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run tar'
  2433. AR=''
  2434. AS=''
  2435. AUTOCONF='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run autoconf'
  2436. AUTOHEADER='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run autoheader'
  2437. AUTOMAKE='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run automake-1.10'
  2438. AWK='gawk'
  2439. BSD_KERNEL_BUILD=''
  2440. BSD_KERNEL_PATH=''
  2441. BUILD_KRB5=''
  2442. BUILD_LOGIN=''
  2443. CC='gcc'
  2444. CCDEPMODE='depmode=none'
  2445. CCOBJ=''
  2446. CCXPG2=''
  2447. CFLAGS='-O2 -g -march=i686'
  2448. CFLAGS_NOERROR=''
  2449. CFLAGS_NOOLDSTYLE=''
  2450. CFLAGS_NOSTRICT=''
  2451. CFLAGS_NOUNUSED=''
  2452. CLIENT_UAFS_DEP=''
  2453. CP=''
  2454. CPP='gcc -E'
  2455. CPPFLAGS=''
  2456. CYGPATH_W='echo'
  2457. DARWIN_INFOFILE=''
  2458. DBG=''
  2459. DEB_PKGVER='1.6.0'
  2460. DEFS=''
  2461. DEPDIR='.deps'
  2462. DEST=''
  2463. DOCBOOK2PDF='echo'
  2464. ECHO_C=''
  2465. ECHO_N='-n'
  2466. ECHO_T=''
  2467. EGREP='/bin/grep -E'
  2468. ENABLE_FUSE_CLIENT=''
  2469. ENABLE_KERNEL_MODULE=''
  2470. ENABLE_PTHREADED_UBIK=''
  2471. EXEEXT=''
  2472. FSINCLUDES=''
  2473. FUSE_CFLAGS=''
  2474. FUSE_LIBS=''
  2475. GREP='/bin/grep'
  2476. HAVE_PAM=''
  2477. HELPER_SPLINT=''
  2478. HELPER_SPLINTCFG=''
  2479. HOST_CPU=''
  2480. HTML_XSL='no'
  2481. INCLUDE_libintl=''
  2482. INSTALL_DATA='${INSTALL} -m 644'
  2483. INSTALL_PROGRAM='${INSTALL}'
  2484. INSTALL_SCRIPT='${INSTALL}'
  2485. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  2486. IRIX_BUILD_IP35=''
  2487. KERN_DBG=''
  2488. KERN_OPTMZ=''
  2489. KRB5_CONFIG=''
  2490. KRB5_CPPFLAGS=''
  2491. KRB5_LDFLAGS=''
  2492. KRB5_LIBS=''
  2493. KRB5_USES_COM_ERR_FALSE=''
  2494. KRB5_USES_COM_ERR_TRUE=''
  2495. LD=''
  2496. LDFLAGS=''
  2497. LEX='flex -l'
  2498. LEXLIB='-lfl'
  2499. LEX_OUTPUT_ROOT='lex.yy'
  2500. LIBOBJS=''
  2501. LIBS=''
  2502. LIB_AFSDB=''
  2503. LIB_crypt=''
  2504. LIB_curses=''
  2505. LIB_libintl=''
  2506. LINUX_GCC_KOPTS=' -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common -pipe'
  2507. LINUX_KERNEL_BUILD='/usr/src/kernels/2.6.32-220.4.2.el6.i686'
  2508. LINUX_KERNEL_PACKAGING='yes'
  2509. LINUX_KERNEL_PATH='/usr/src/kernels/2.6.32-220.4.2.el6.i686'
  2510. LINUX_LIBAFS_NAME='openafs'
  2511. LINUX_VERSION='2.6.32-220.4.2.el6.i686'
  2512. LN_S='ln -s'
  2513. LORDER=''
  2514. LTLIBOBJS=''
  2515. LWP_DBG=''
  2516. LWP_OPTMZ=''
  2517. MACOS_VERSION='1.6.0'
  2518. MAKEINFO='${SHELL} /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/missing --run makeinfo'
  2519. MAKE_KRB5=''
  2520. MKAFS_OSTYPE='LINUX'
  2521. MPS=''
  2522. MT_CC=''
  2523. MT_CFLAGS=''
  2524. MT_LIBS=''
  2525. MV=''
  2526. NO_STRIP_BIN=''
  2527. OBJEXT='o'
  2528. OPTMZ=''
  2529. OSXSDK=''
  2530. P5PLUS_KOPTS='-march=pentium'
  2531. PACKAGE='openafs'
  2532. PACKAGE_BUGREPORT=''
  2533. PACKAGE_NAME='OpenAFS'
  2534. PACKAGE_STRING='OpenAFS 1.6.0'
  2535. PACKAGE_TARNAME='openafs'
  2536. PACKAGE_VERSION='1.6.0'
  2537. PAM_CFLAGS=''
  2538. PAM_DBG=''
  2539. PAM_LIBS=''
  2540. PAM_OPTMZ=''
  2541. PATH_CPP='/usr/bin/cpp'
  2542. PATH_SEPARATOR=':'
  2543. PKG_CONFIG='/usr/bin/pkg-config'
  2544. PTHREAD_LIBS=''
  2545. RANLIB='ranlib'
  2546. REGEX_OBJ=''
  2547. RHCONFIG_MP=''
  2548. RHCONFIG_SP=''
  2549. RM=''
  2550. RXDEBUG=''
  2551. SET_MAKE='MAKE=make'
  2552. SHELL='/bin/sh'
  2553. SHLIB_CFLAGS=''
  2554. SHLIB_LDFLAGS=''
  2555. SHLIB_LINKER=''
  2556. SHLIB_SUFFIX=''
  2557. SOLARISCC=''
  2558. STRIP=''
  2559. TOP_INCDIR=''
  2560. TOP_LIBDIR=''
  2561. TOP_OBJDIR=''
  2562. TOP_SRCDIR=''
  2563. USE_UNIX_SOCKETS=''
  2564. VERSION='1.6.0'
  2565. VFSCK=''
  2566. VFSCK_CFLAGS=''
  2567. XBSA_CFLAGS=''
  2568. XBSA_XLIBS=''
  2569. XCFLAGS64=''
  2570. XCFLAGS=''
  2571. XFS_SIZE_CHECK=''
  2572. XLDFLAGS64=''
  2573. XLDFLAGS=''
  2574. XLIBELFA=''
  2575. XLIBKVM=''
  2576. XLIBS=''
  2577. XSLTPROC='xsltproc'
  2578. YACC='bison -y'
  2579. YFLAGS=''
  2580. ac_ct_CC='gcc'
  2581. afsbackupdir=''
  2582. afsbosconfigdir=''
  2583. afsconfdir=''
  2584. afsdatadir=''
  2585. afsdbdir=''
  2586. afskerneldir=''
  2587. afslocaldir=''
  2588. afslogsdir=''
  2589. afssrvbindir=''
  2590. afssrvlibexecdir=''
  2591. afssrvsbindir=''
  2592. am__fastdepCC_FALSE=''
  2593. am__fastdepCC_TRUE='#'
  2594. am__include='#'
  2595. am__isrc=''
  2596. am__leading_dot='.'
  2597. am__quote=''
  2598. am__tar='${AMTAR} chof - "$$tardir"'
  2599. am__untar='${AMTAR} xf -'
  2600. bindir='/usr/bin'
  2601. build='i686-pc-linux-gnu'
  2602. build_alias=''
  2603. build_cpu='i686'
  2604. build_os='linux-gnu'
  2605. build_vendor='pc'
  2606. datadir='${datarootdir}'
  2607. datarootdir='${prefix}/share'
  2608. dest_XFS_SIZE_CHECK=''
  2609. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  2610. dvidir='${docdir}'
  2611. exec_prefix='NONE'
  2612. host='i686-pc-linux-gnu'
  2613. host_alias=''
  2614. host_cpu='i686'
  2615. host_os='linux-gnu'
  2616. host_vendor='pc'
  2617. htmldir='${docdir}'
  2618. includedir='${prefix}/include'
  2619. infodir='${datarootdir}/info'
  2620. install_XFS_SIZE_CHECK=''
  2621. install_sh='$(SHELL) /root/rpmbuild/BUILD/openafs-1.6.0/build-tools/install-sh'
  2622. libdir='/usr/lib'
  2623. libexecdir='${exec_prefix}/libexec'
  2624. localedir='${datarootdir}/locale'
  2625. localstatedir='${prefix}/var'
  2626. mandir='${datarootdir}/man'
  2627. mkdir_p='/bin/mkdir -p'
  2628. oldincludedir='/usr/include'
  2629. pdfdir='${docdir}'
  2630. prefix='/usr'
  2631. program_transform_name='s,x,x,'
  2632. psdir='${docdir}'
  2633. sbindir='/usr/sbin'
  2634. sharedstatedir='${prefix}/com'
  2635. sysconfdir='${prefix}/etc'
  2636. target_alias=''
  2637. viceetcdir=''
  2638.  
  2639. ## ----------- ##
  2640. ## confdefs.h. ##
  2641. ## ----------- ##
  2642.  
  2643. #define PACKAGE_NAME "OpenAFS"
  2644. #define PACKAGE_TARNAME "openafs"
  2645. #define PACKAGE_VERSION "1.6.0"
  2646. #define PACKAGE_STRING "OpenAFS 1.6.0"
  2647. #define PACKAGE_BUGREPORT ""
  2648. #define PACKAGE "openafs"
  2649. #define VERSION "1.6.0"
  2650. #define _GNU_SOURCE 1
  2651. #define STDC_HEADERS 1
  2652. #define HAVE_SYS_TYPES_H 1
  2653. #define HAVE_SYS_STAT_H 1
  2654. #define HAVE_STDLIB_H 1
  2655. #define HAVE_STRING_H 1
  2656. #define HAVE_MEMORY_H 1
  2657. #define HAVE_STRINGS_H 1
  2658. #define HAVE_INTTYPES_H 1
  2659. #define HAVE_STDINT_H 1
  2660. #define HAVE_UNISTD_H 1
  2661. #define __EXTENSIONS__ 1
  2662. #define _POSIX_PTHREAD_SEMANTICS 1
  2663. #define _TANDEM_SOURCE 1
  2664. #define YYTEXT_POINTER 1
  2665. #define ENDIANESS_IN_SYS_PARAM_H 1
  2666. #define PRINTF_TAKES_Z_LEN 1
  2667. #define ENABLE_REDHAT_BUILDSYS 1
  2668.  
  2669. configure: exit 1
RAW Paste Data
Top