Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.04 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by xboard configure master-20100806, which was
  5. generated by GNU Autoconf 2.65. Invocation command line was
  6.  
  7. $ ./configure --with-Xaw3d
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = Euler.local
  14. uname -m = i386
  15. uname -r = 10.4.0
  16. uname -s = Darwin
  17. uname -v = Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386
  18.  
  19. /usr/bin/uname -p = i386
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = Mach kernel version:
  26. Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386
  27. Kernel configured for up to 2 processors.
  28. 2 processors are physically available.
  29. 2 processors are logically available.
  30. Processor type: i486 (Intel 80486)
  31. Processors active: 0 1
  32. Primary memory available: 2.00 gigabytes
  33. Default processor set: 80 tasks, 404 threads, 2 processors
  34. Load average: 1.69, Mach factor: 0.52
  35. /bin/machine = unknown
  36. /usr/bin/oslevel = unknown
  37. /bin/universe = unknown
  38.  
  39. PATH: /sw/bin
  40. PATH: /sw/sbin
  41. PATH: /usr/bin
  42. PATH: /bin
  43. PATH: /usr/sbin
  44. PATH: /sbin
  45. PATH: /usr/local/bin
  46. PATH: /usr/texbin
  47. PATH: /usr/X11/bin
  48. PATH: /usr/local/git/bin
  49. PATH: /opt/local/bin
  50. PATH: /usr/X11R6/bin
  51. PATH: /usr/local/git/bin
  52.  
  53.  
  54. ## ----------- ##
  55. ## Core tests. ##
  56. ## ----------- ##
  57.  
  58. configure:2201: checking for a BSD-compatible install
  59. configure:2269: result: /sw/bin/ginstall -c
  60. configure:2280: checking whether build environment is sane
  61. configure:2330: result: yes
  62. configure:2471: checking for a thread-safe mkdir -p
  63. configure:2510: result: /sw/bin/gmkdir -p
  64. configure:2523: checking for gawk
  65. configure:2553: result: no
  66. configure:2523: checking for mawk
  67. configure:2553: result: no
  68. configure:2523: checking for nawk
  69. configure:2553: result: no
  70. configure:2523: checking for awk
  71. configure:2539: found /usr/bin/awk
  72. configure:2550: result: awk
  73. configure:2561: checking whether make sets $(MAKE)
  74. configure:2583: result: yes
  75. configure:2743: checking for gcc
  76. configure:2759: found /usr/bin/gcc
  77. configure:2770: result: gcc
  78. configure:2999: checking for C compiler version
  79. configure:3008: gcc --version >&5
  80. i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
  81. Copyright (C) 2007 Free Software Foundation, Inc.
  82. This is free software; see the source for copying conditions. There is NO
  83. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  84.  
  85. configure:3019: $? = 0
  86. configure:3008: gcc -v >&5
  87. Using built-in specs.
  88. Target: i686-apple-darwin10
  89. Configured with: /var/tmp/gcc/gcc-5664~50/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1 --host=i686-apple-darwin10 --target=i686-apple-darwin10
  90. Thread model: posix
  91. gcc version 4.2.1 (Apple Inc. build 5664)
  92. configure:3019: $? = 0
  93. configure:3008: gcc -V >&5
  94. gcc-4.2: argument to `-V' is missing
  95. configure:3019: $? = 1
  96. configure:3008: gcc -qversion >&5
  97. i686-apple-darwin10-gcc-4.2.1: no input files
  98. configure:3019: $? = 1
  99. configure:3039: checking whether the C compiler works
  100. configure:3061: gcc conftest.c >&5
  101. configure:3065: $? = 0
  102. configure:3114: result: yes
  103. configure:3117: checking for C compiler default output file name
  104. configure:3119: result: a.out
  105. configure:3125: checking for suffix of executables
  106. configure:3132: gcc -o conftest conftest.c >&5
  107. configure:3136: $? = 0
  108. configure:3158: result:
  109. configure:3180: checking whether we are cross compiling
  110. configure:3188: gcc -o conftest conftest.c >&5
  111. configure:3192: $? = 0
  112. configure:3199: ./conftest
  113. configure:3203: $? = 0
  114. configure:3218: result: no
  115. configure:3223: checking for suffix of object files
  116. configure:3245: gcc -c conftest.c >&5
  117. configure:3249: $? = 0
  118. configure:3270: result: o
  119. configure:3274: checking whether we are using the GNU C compiler
  120. configure:3293: gcc -c conftest.c >&5
  121. configure:3293: $? = 0
  122. configure:3302: result: yes
  123. configure:3311: checking whether gcc accepts -g
  124. configure:3331: gcc -c -g conftest.c >&5
  125. configure:3331: $? = 0
  126. configure:3372: result: yes
  127. configure:3389: checking for gcc option to accept ISO C89
  128. configure:3453: gcc -c conftest.c >&5
  129. configure:3453: $? = 0
  130. configure:3466: result: none needed
  131. configure:3497: checking for style of include used by make
  132. configure:3525: result: GNU
  133. configure:3550: checking dependency style of gcc
  134. configure:3660: result: gcc3
  135. configure:3677: checking whether gcc and cc understand -c and -o together
  136. configure:3708: gcc -c conftest.c -o conftest2.o >&5
  137. configure:3712: $? = 0
  138. configure:3718: gcc -c conftest.c -o conftest2.o >&5
  139. configure:3722: $? = 0
  140. configure:3733: cc -c conftest.c >&5
  141. configure:3737: $? = 0
  142. configure:3745: cc -c conftest.c -o conftest2.o >&5
  143. configure:3749: $? = 0
  144. configure:3755: cc -c conftest.c -o conftest2.o >&5
  145. configure:3759: $? = 0
  146. configure:3777: result: yes
  147. configure:3808: checking how to run the C preprocessor
  148. configure:3839: gcc -E conftest.c
  149. configure:3839: $? = 0
  150. configure:3853: gcc -E conftest.c
  151. conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  152. configure:3853: $? = 1
  153. configure: failed program was:
  154. | /* confdefs.h */
  155. | #define PACKAGE_NAME "xboard"
  156. | #define PACKAGE_TARNAME "xboard"
  157. | #define PACKAGE_VERSION "master-20100806"
  158. | #define PACKAGE_STRING "xboard master-20100806"
  159. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  160. | #define PACKAGE_URL ""
  161. | #define PACKAGE "xboard"
  162. | #define VERSION "master-20100806"
  163. | /* end confdefs.h. */
  164. | #include <ac_nonexistent.h>
  165. configure:3878: result: gcc -E
  166. configure:3898: gcc -E conftest.c
  167. configure:3898: $? = 0
  168. configure:3912: gcc -E conftest.c
  169. conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  170. configure:3912: $? = 1
  171. configure: failed program was:
  172. | /* confdefs.h */
  173. | #define PACKAGE_NAME "xboard"
  174. | #define PACKAGE_TARNAME "xboard"
  175. | #define PACKAGE_VERSION "master-20100806"
  176. | #define PACKAGE_STRING "xboard master-20100806"
  177. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  178. | #define PACKAGE_URL ""
  179. | #define PACKAGE "xboard"
  180. | #define VERSION "master-20100806"
  181. | /* end confdefs.h. */
  182. | #include <ac_nonexistent.h>
  183. configure:3941: checking for library containing strerror
  184. configure:3972: gcc -o conftest conftest.c >&5
  185. configure:3972: $? = 0
  186. configure:3989: result: none required
  187. configure:4003: checking for flex
  188. configure:4019: found /usr/bin/flex
  189. configure:4030: result: flex
  190. configure:4067: flex conftest.l
  191. configure:4071: $? = 0
  192. configure:4073: checking lex output file root
  193. configure:4087: result: lex.yy
  194. configure:4092: checking lex library
  195. configure:4106: gcc -o conftest conftest.c >&5
  196. Undefined symbols:
  197. "_yywrap", referenced from:
  198. _yylex in cc5CGseX.o
  199. _input in cc5CGseX.o
  200. _main in cc5CGseX.o
  201. ld: symbol(s) not found
  202. collect2: ld returned 1 exit status
  203. configure:4106: $? = 1
  204. configure: failed program was:
  205. | /* confdefs.h */
  206. | #define PACKAGE_NAME "xboard"
  207. | #define PACKAGE_TARNAME "xboard"
  208. | #define PACKAGE_VERSION "master-20100806"
  209. | #define PACKAGE_STRING "xboard master-20100806"
  210. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  211. | #define PACKAGE_URL ""
  212. | #define PACKAGE "xboard"
  213. | #define VERSION "master-20100806"
  214. | /* end confdefs.h. */
  215. |
  216. | #line 3 "lex.yy.c"
  217. |
  218. | #define YY_INT_ALIGNED short int
  219. |
  220. | /* A lexical scanner generated by flex */
  221. |
  222. | #define FLEX_SCANNER
  223. | #define YY_FLEX_MAJOR_VERSION 2
  224. | #define YY_FLEX_MINOR_VERSION 5
  225. | #define YY_FLEX_SUBMINOR_VERSION 35
  226. | #if YY_FLEX_SUBMINOR_VERSION > 0
  227. | #define FLEX_BETA
  228. | #endif
  229. |
  230. | /* First, we deal with platform-specific or compiler-specific issues. */
  231. |
  232. | /* begin standard C headers. */
  233. | #include <stdio.h>
  234. | #include <string.h>
  235. | #include <errno.h>
  236. | #include <stdlib.h>
  237. |
  238. | /* end standard C headers. */
  239. |
  240. | /* flex integer type definitions */
  241. |
  242. | #ifndef FLEXINT_H
  243. | #define FLEXINT_H
  244. |
  245. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  246. |
  247. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  248. |
  249. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  250. | * if you want the limit (max/min) macros for int types.
  251. | */
  252. | #ifndef __STDC_LIMIT_MACROS
  253. | #define __STDC_LIMIT_MACROS 1
  254. | #endif
  255. |
  256. | #include <inttypes.h>
  257. | typedef int8_t flex_int8_t;
  258. | typedef uint8_t flex_uint8_t;
  259. | typedef int16_t flex_int16_t;
  260. | typedef uint16_t flex_uint16_t;
  261. | typedef int32_t flex_int32_t;
  262. | typedef uint32_t flex_uint32_t;
  263. | #else
  264. | typedef signed char flex_int8_t;
  265. | typedef short int flex_int16_t;
  266. | typedef int flex_int32_t;
  267. | typedef unsigned char flex_uint8_t;
  268. | typedef unsigned short int flex_uint16_t;
  269. | typedef unsigned int flex_uint32_t;
  270. | #endif /* ! C99 */
  271. |
  272. | /* Limits of integral types. */
  273. | #ifndef INT8_MIN
  274. | #define INT8_MIN (-128)
  275. | #endif
  276. | #ifndef INT16_MIN
  277. | #define INT16_MIN (-32767-1)
  278. | #endif
  279. | #ifndef INT32_MIN
  280. | #define INT32_MIN (-2147483647-1)
  281. | #endif
  282. | #ifndef INT8_MAX
  283. | #define INT8_MAX (127)
  284. | #endif
  285. | #ifndef INT16_MAX
  286. | #define INT16_MAX (32767)
  287. | #endif
  288. | #ifndef INT32_MAX
  289. | #define INT32_MAX (2147483647)
  290. | #endif
  291. | #ifndef UINT8_MAX
  292. | #define UINT8_MAX (255U)
  293. | #endif
  294. | #ifndef UINT16_MAX
  295. | #define UINT16_MAX (65535U)
  296. | #endif
  297. | #ifndef UINT32_MAX
  298. | #define UINT32_MAX (4294967295U)
  299. | #endif
  300. |
  301. | #endif /* ! FLEXINT_H */
  302. |
  303. | #ifdef __cplusplus
  304. |
  305. | /* The "const" storage-class-modifier is valid. */
  306. | #define YY_USE_CONST
  307. |
  308. | #else /* ! __cplusplus */
  309. |
  310. | /* C99 requires __STDC__ to be defined as 1. */
  311. | #if defined (__STDC__)
  312. |
  313. | #define YY_USE_CONST
  314. |
  315. | #endif /* defined (__STDC__) */
  316. | #endif /* ! __cplusplus */
  317. |
  318. | #ifdef YY_USE_CONST
  319. | #define yyconst const
  320. | #else
  321. | #define yyconst
  322. | #endif
  323. |
  324. | /* Returned upon end-of-file. */
  325. | #define YY_NULL 0
  326. |
  327. | /* Promotes a possibly negative, possibly signed char to an unsigned
  328. | * integer for use as an array index. If the signed char is negative,
  329. | * we want to instead treat it as an 8-bit unsigned char, hence the
  330. | * double cast.
  331. | */
  332. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  333. |
  334. | /* Enter a start condition. This macro really ought to take a parameter,
  335. | * but we do it the disgusting crufty way forced on us by the ()-less
  336. | * definition of BEGIN.
  337. | */
  338. | #define BEGIN (yy_start) = 1 + 2 *
  339. |
  340. | /* Translate the current start state into a value that can be later handed
  341. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  342. | * compatibility.
  343. | */
  344. | #define YY_START (((yy_start) - 1) / 2)
  345. | #define YYSTATE YY_START
  346. |
  347. | /* Action number for EOF rule of a given start state. */
  348. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  349. |
  350. | /* Special action meaning "start processing a new file". */
  351. | #define YY_NEW_FILE yyrestart(yyin )
  352. |
  353. | #define YY_END_OF_BUFFER_CHAR 0
  354. |
  355. | /* Size of default input buffer. */
  356. | #ifndef YY_BUF_SIZE
  357. | #define YY_BUF_SIZE 16384
  358. | #endif
  359. |
  360. | /* The state buf must be large enough to hold one state per character in the main buffer.
  361. | */
  362. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  363. |
  364. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  365. | #define YY_TYPEDEF_YY_BUFFER_STATE
  366. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  367. | #endif
  368. |
  369. | #ifndef YY_TYPEDEF_YY_SIZE_T
  370. | #define YY_TYPEDEF_YY_SIZE_T
  371. | typedef size_t yy_size_t;
  372. | #endif
  373. |
  374. | extern yy_size_t yyleng;
  375. |
  376. | extern FILE *yyin, *yyout;
  377. |
  378. | #define EOB_ACT_CONTINUE_SCAN 0
  379. | #define EOB_ACT_END_OF_FILE 1
  380. | #define EOB_ACT_LAST_MATCH 2
  381. |
  382. | #define YY_LESS_LINENO(n)
  383. |
  384. | /* Return all but the first "n" matched characters back to the input stream. */
  385. | #define yyless(n) \
  386. | do \
  387. | { \
  388. | /* Undo effects of setting up yytext. */ \
  389. | int yyless_macro_arg = (n); \
  390. | YY_LESS_LINENO(yyless_macro_arg);\
  391. | *yy_cp = (yy_hold_char); \
  392. | YY_RESTORE_YY_MORE_OFFSET \
  393. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  394. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  395. | } \
  396. | while ( 0 )
  397. |
  398. | #define unput(c) yyunput( c, (yytext_ptr) )
  399. |
  400. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  401. | #define YY_STRUCT_YY_BUFFER_STATE
  402. | struct yy_buffer_state
  403. | {
  404. | FILE *yy_input_file;
  405. |
  406. | char *yy_ch_buf; /* input buffer */
  407. | char *yy_buf_pos; /* current position in input buffer */
  408. |
  409. | /* Size of input buffer in bytes, not including room for EOB
  410. | * characters.
  411. | */
  412. | yy_size_t yy_buf_size;
  413. |
  414. | /* Number of characters read into yy_ch_buf, not including EOB
  415. | * characters.
  416. | */
  417. | yy_size_t yy_n_chars;
  418. |
  419. | /* Whether we "own" the buffer - i.e., we know we created it,
  420. | * and can realloc() it to grow it, and should free() it to
  421. | * delete it.
  422. | */
  423. | int yy_is_our_buffer;
  424. |
  425. | /* Whether this is an "interactive" input source; if so, and
  426. | * if we're using stdio for input, then we want to use getc()
  427. | * instead of fread(), to make sure we stop fetching input after
  428. | * each newline.
  429. | */
  430. | int yy_is_interactive;
  431. |
  432. | /* Whether we're considered to be at the beginning of a line.
  433. | * If so, '^' rules will be active on the next match, otherwise
  434. | * not.
  435. | */
  436. | int yy_at_bol;
  437. |
  438. | int yy_bs_lineno; /**< The line count. */
  439. | int yy_bs_column; /**< The column count. */
  440. |
  441. | /* Whether to try to fill the input buffer when we reach the
  442. | * end of it.
  443. | */
  444. | int yy_fill_buffer;
  445. |
  446. | int yy_buffer_status;
  447. |
  448. | #define YY_BUFFER_NEW 0
  449. | #define YY_BUFFER_NORMAL 1
  450. | /* When an EOF's been seen but there's still some text to process
  451. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  452. | * shouldn't try reading from the input source any more. We might
  453. | * still have a bunch of tokens to match, though, because of
  454. | * possible backing-up.
  455. | *
  456. | * When we actually see the EOF, we change the status to "new"
  457. | * (via yyrestart()), so that the user can continue scanning by
  458. | * just pointing yyin at a new input file.
  459. | */
  460. | #define YY_BUFFER_EOF_PENDING 2
  461. |
  462. | };
  463. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  464. |
  465. | /* Stack of input buffers. */
  466. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  467. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  468. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  469. |
  470. | /* We provide macros for accessing buffer states in case in the
  471. | * future we want to put the buffer states in a more general
  472. | * "scanner state".
  473. | *
  474. | * Returns the top of the stack, or NULL.
  475. | */
  476. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  477. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  478. | : NULL)
  479. |
  480. | /* Same as previous macro, but useful when we know that the buffer stack is not
  481. | * NULL or when we need an lvalue. For internal use only.
  482. | */
  483. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  484. |
  485. | /* yy_hold_char holds the character lost when yytext is formed. */
  486. | static char yy_hold_char;
  487. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  488. | yy_size_t yyleng;
  489. |
  490. | /* Points to current character in buffer. */
  491. | static char *yy_c_buf_p = (char *) 0;
  492. | static int yy_init = 0; /* whether we need to initialize */
  493. | static int yy_start = 0; /* start state number */
  494. |
  495. | /* Flag which is used to allow yywrap()'s to do buffer switches
  496. | * instead of setting up a fresh yyin. A bit of a hack ...
  497. | */
  498. | static int yy_did_buffer_switch_on_eof;
  499. |
  500. | void yyrestart (FILE *input_file );
  501. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  502. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  503. | void yy_delete_buffer (YY_BUFFER_STATE b );
  504. | void yy_flush_buffer (YY_BUFFER_STATE b );
  505. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  506. | void yypop_buffer_state (void );
  507. |
  508. | static void yyensure_buffer_stack (void );
  509. | static void yy_load_buffer_state (void );
  510. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  511. |
  512. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  513. |
  514. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  515. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  516. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  517. |
  518. | void *yyalloc (yy_size_t );
  519. | void *yyrealloc (void *,yy_size_t );
  520. | void yyfree (void * );
  521. |
  522. | #define yy_new_buffer yy_create_buffer
  523. |
  524. | #define yy_set_interactive(is_interactive) \
  525. | { \
  526. | if ( ! YY_CURRENT_BUFFER ){ \
  527. | yyensure_buffer_stack (); \
  528. | YY_CURRENT_BUFFER_LVALUE = \
  529. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  530. | } \
  531. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  532. | }
  533. |
  534. | #define yy_set_bol(at_bol) \
  535. | { \
  536. | if ( ! YY_CURRENT_BUFFER ){\
  537. | yyensure_buffer_stack (); \
  538. | YY_CURRENT_BUFFER_LVALUE = \
  539. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  540. | } \
  541. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  542. | }
  543. |
  544. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  545. |
  546. | /* Begin user sect3 */
  547. |
  548. | typedef unsigned char YY_CHAR;
  549. |
  550. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  551. |
  552. | typedef int yy_state_type;
  553. |
  554. | extern int yylineno;
  555. |
  556. | int yylineno = 1;
  557. |
  558. | extern char *yytext;
  559. | #define yytext_ptr yytext
  560. |
  561. | static yy_state_type yy_get_previous_state (void );
  562. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  563. | static int yy_get_next_buffer (void );
  564. | static void yy_fatal_error (yyconst char msg[] );
  565. |
  566. | /* Done after the current pattern has been matched and before the
  567. | * corresponding action - sets up yytext.
  568. | */
  569. | #define YY_DO_BEFORE_ACTION \
  570. | (yytext_ptr) = yy_bp; \
  571. | (yytext_ptr) -= (yy_more_len); \
  572. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  573. | (yy_hold_char) = *yy_cp; \
  574. | *yy_cp = '\0'; \
  575. | (yy_c_buf_p) = yy_cp;
  576. |
  577. | #define YY_NUM_RULES 8
  578. | #define YY_END_OF_BUFFER 9
  579. | /* This struct is not used in this scanner,
  580. | but its presence is necessary. */
  581. | struct yy_trans_info
  582. | {
  583. | flex_int32_t yy_verify;
  584. | flex_int32_t yy_nxt;
  585. | };
  586. | static yyconst flex_int16_t yy_acclist[23] =
  587. | { 0,
  588. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  589. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  590. | 7, 8
  591. | } ;
  592. |
  593. | static yyconst flex_int16_t yy_accept[14] =
  594. | { 0,
  595. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  596. | 20, 23, 23
  597. | } ;
  598. |
  599. | static yyconst flex_int32_t yy_ec[256] =
  600. | { 0,
  601. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  602. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  603. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  604. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  605. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  606. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  607. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  608. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  609. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  610. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  611. |
  612. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  613. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  614. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  615. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  616. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  617. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  618. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  619. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  620. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  621. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  622. |
  623. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  624. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  625. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  626. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  627. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  628. | 1, 1, 1, 1, 1
  629. | } ;
  630. |
  631. | static yyconst flex_int32_t yy_meta[9] =
  632. | { 0,
  633. | 1, 1, 1, 1, 1, 1, 1, 1
  634. | } ;
  635. |
  636. | static yyconst flex_int16_t yy_base[13] =
  637. | { 0,
  638. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  639. | 10, 10
  640. | } ;
  641. |
  642. | static yyconst flex_int16_t yy_def[13] =
  643. | { 0,
  644. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  645. | 12, 0
  646. | } ;
  647. |
  648. | static yyconst flex_int16_t yy_nxt[19] =
  649. | { 0,
  650. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  651. | 12, 12, 12, 12, 12, 12, 12, 12
  652. | } ;
  653. |
  654. | static yyconst flex_int16_t yy_chk[19] =
  655. | { 0,
  656. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  657. | 12, 12, 12, 12, 12, 12, 12, 12
  658. | } ;
  659. |
  660. | extern int yy_flex_debug;
  661. | int yy_flex_debug = 0;
  662. |
  663. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  664. | static char *yy_full_match;
  665. | static int yy_lp;
  666. | #define REJECT \
  667. | { \
  668. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  669. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  670. | ++(yy_lp); \
  671. | goto find_rule; \
  672. | }
  673. |
  674. | static int yy_more_flag = 0;
  675. | static int yy_more_len = 0;
  676. | #define yymore() ((yy_more_flag) = 1)
  677. | #define YY_MORE_ADJ (yy_more_len)
  678. | #define YY_RESTORE_YY_MORE_OFFSET
  679. | char *yytext;
  680. | #line 1 "conftest.l"
  681. | #line 468 "lex.yy.c"
  682. |
  683. | #define INITIAL 0
  684. |
  685. | #ifndef YY_NO_UNISTD_H
  686. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  687. | * down here because we want the user's section 1 to have been scanned first.
  688. | * The user has a chance to override it with an option.
  689. | */
  690. | #include <unistd.h>
  691. | #endif
  692. |
  693. | #ifndef YY_EXTRA_TYPE
  694. | #define YY_EXTRA_TYPE void *
  695. | #endif
  696. |
  697. | static int yy_init_globals (void );
  698. |
  699. | /* Accessor methods to globals.
  700. | These are made visible to non-reentrant scanners for convenience. */
  701. |
  702. | int yylex_destroy (void );
  703. |
  704. | int yyget_debug (void );
  705. |
  706. | void yyset_debug (int debug_flag );
  707. |
  708. | YY_EXTRA_TYPE yyget_extra (void );
  709. |
  710. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  711. |
  712. | FILE *yyget_in (void );
  713. |
  714. | void yyset_in (FILE * in_str );
  715. |
  716. | FILE *yyget_out (void );
  717. |
  718. | void yyset_out (FILE * out_str );
  719. |
  720. | yy_size_t yyget_leng (void );
  721. |
  722. | char *yyget_text (void );
  723. |
  724. | int yyget_lineno (void );
  725. |
  726. | void yyset_lineno (int line_number );
  727. |
  728. | /* Macros after this point can all be overridden by user definitions in
  729. | * section 1.
  730. | */
  731. |
  732. | #ifndef YY_SKIP_YYWRAP
  733. | #ifdef __cplusplus
  734. | extern "C" int yywrap (void );
  735. | #else
  736. | extern int yywrap (void );
  737. | #endif
  738. | #endif
  739. |
  740. | static void yyunput (int c,char *buf_ptr );
  741. |
  742. | #ifndef yytext_ptr
  743. | static void yy_flex_strncpy (char *,yyconst char *,int );
  744. | #endif
  745. |
  746. | #ifdef YY_NEED_STRLEN
  747. | static int yy_flex_strlen (yyconst char * );
  748. | #endif
  749. |
  750. | #ifndef YY_NO_INPUT
  751. |
  752. | #ifdef __cplusplus
  753. | static int yyinput (void );
  754. | #else
  755. | static int input (void );
  756. | #endif
  757. |
  758. | #endif
  759. |
  760. | /* Amount of stuff to slurp up with each read. */
  761. | #ifndef YY_READ_BUF_SIZE
  762. | #define YY_READ_BUF_SIZE 8192
  763. | #endif
  764. |
  765. | /* Copy whatever the last rule matched to the standard output. */
  766. | #ifndef ECHO
  767. | /* This used to be an fputs(), but since the string might contain NUL's,
  768. | * we now use fwrite().
  769. | */
  770. | #define ECHO fwrite( yytext, yyleng, 1, yyout )
  771. | #endif
  772. |
  773. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  774. | * is returned in "result".
  775. | */
  776. | #ifndef YY_INPUT
  777. | #define YY_INPUT(buf,result,max_size) \
  778. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  779. | { \
  780. | int c = '*'; \
  781. | yy_size_t n; \
  782. | for ( n = 0; n < max_size && \
  783. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  784. | buf[n] = (char) c; \
  785. | if ( c == '\n' ) \
  786. | buf[n++] = (char) c; \
  787. | if ( c == EOF && ferror( yyin ) ) \
  788. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  789. | result = n; \
  790. | } \
  791. | else \
  792. | { \
  793. | errno=0; \
  794. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  795. | { \
  796. | if( errno != EINTR) \
  797. | { \
  798. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  799. | break; \
  800. | } \
  801. | errno=0; \
  802. | clearerr(yyin); \
  803. | } \
  804. | }\
  805. | \
  806. |
  807. | #endif
  808. |
  809. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  810. | * we don't want an extra ';' after the "return" because that will cause
  811. | * some compilers to complain about unreachable statements.
  812. | */
  813. | #ifndef yyterminate
  814. | #define yyterminate() return YY_NULL
  815. | #endif
  816. |
  817. | /* Number of entries by which start-condition stack grows. */
  818. | #ifndef YY_START_STACK_INCR
  819. | #define YY_START_STACK_INCR 25
  820. | #endif
  821. |
  822. | /* Report a fatal error. */
  823. | #ifndef YY_FATAL_ERROR
  824. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  825. | #endif
  826. |
  827. | /* end tables serialization structures and prototypes */
  828. |
  829. | /* Default declaration of generated scanner - a define so the user can
  830. | * easily add parameters.
  831. | */
  832. | #ifndef YY_DECL
  833. | #define YY_DECL_IS_OURS 1
  834. |
  835. | extern int yylex (void);
  836. |
  837. | #define YY_DECL int yylex (void)
  838. | #endif /* !YY_DECL */
  839. |
  840. | /* Code executed at the beginning of each rule, after yytext and yyleng
  841. | * have been set up.
  842. | */
  843. | #ifndef YY_USER_ACTION
  844. | #define YY_USER_ACTION
  845. | #endif
  846. |
  847. | /* Code executed at the end of each rule. */
  848. | #ifndef YY_BREAK
  849. | #define YY_BREAK break;
  850. | #endif
  851. |
  852. | #define YY_RULE_SETUP \
  853. | YY_USER_ACTION
  854. |
  855. | /** The main scanner function which does all the work.
  856. | */
  857. | YY_DECL
  858. | {
  859. | register yy_state_type yy_current_state;
  860. | register char *yy_cp, *yy_bp;
  861. | register int yy_act;
  862. |
  863. | #line 1 "conftest.l"
  864. |
  865. | #line 652 "lex.yy.c"
  866. |
  867. | if ( !(yy_init) )
  868. | {
  869. | (yy_init) = 1;
  870. |
  871. | #ifdef YY_USER_INIT
  872. | YY_USER_INIT;
  873. | #endif
  874. |
  875. | /* Create the reject buffer large enough to save one state per allowed character. */
  876. | if ( ! (yy_state_buf) )
  877. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  878. | if ( ! (yy_state_buf) )
  879. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  880. |
  881. | if ( ! (yy_start) )
  882. | (yy_start) = 1; /* first start state */
  883. |
  884. | if ( ! yyin )
  885. | yyin = stdin;
  886. |
  887. | if ( ! yyout )
  888. | yyout = stdout;
  889. |
  890. | if ( ! YY_CURRENT_BUFFER ) {
  891. | yyensure_buffer_stack ();
  892. | YY_CURRENT_BUFFER_LVALUE =
  893. | yy_create_buffer(yyin,YY_BUF_SIZE );
  894. | }
  895. |
  896. | yy_load_buffer_state( );
  897. | }
  898. |
  899. | while ( 1 ) /* loops until end-of-file is reached */
  900. | {
  901. | (yy_more_len) = 0;
  902. | if ( (yy_more_flag) )
  903. | {
  904. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  905. | (yy_more_flag) = 0;
  906. | }
  907. | yy_cp = (yy_c_buf_p);
  908. |
  909. | /* Support of yytext. */
  910. | *yy_cp = (yy_hold_char);
  911. |
  912. | /* yy_bp points to the position in yy_ch_buf of the start of
  913. | * the current run.
  914. | */
  915. | yy_bp = yy_cp;
  916. |
  917. | yy_current_state = (yy_start);
  918. |
  919. | (yy_state_ptr) = (yy_state_buf);
  920. | *(yy_state_ptr)++ = yy_current_state;
  921. |
  922. | yy_match:
  923. | do
  924. | {
  925. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  926. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  927. | {
  928. | yy_current_state = (int) yy_def[yy_current_state];
  929. | if ( yy_current_state >= 13 )
  930. | yy_c = yy_meta[(unsigned int) yy_c];
  931. | }
  932. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  933. | *(yy_state_ptr)++ = yy_current_state;
  934. | ++yy_cp;
  935. | }
  936. | while ( yy_base[yy_current_state] != 10 );
  937. |
  938. | yy_find_action:
  939. | yy_current_state = *--(yy_state_ptr);
  940. | (yy_lp) = yy_accept[yy_current_state];
  941. | goto find_rule; /* Shut up GCC warning -Wall */
  942. | find_rule: /* we branch to this label when backing up */
  943. | for ( ; ; ) /* until we find what rule we matched */
  944. | {
  945. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  946. | {
  947. | yy_act = yy_acclist[(yy_lp)];
  948. | {
  949. | (yy_full_match) = yy_cp;
  950. | break;
  951. | }
  952. | }
  953. | --yy_cp;
  954. | yy_current_state = *--(yy_state_ptr);
  955. | (yy_lp) = yy_accept[yy_current_state];
  956. | }
  957. |
  958. | YY_DO_BEFORE_ACTION;
  959. |
  960. | do_action: /* This label is used only to access EOF actions. */
  961. |
  962. | switch ( yy_act )
  963. | { /* beginning of action switch */
  964. | case 1:
  965. | YY_RULE_SETUP
  966. | #line 2 "conftest.l"
  967. | { ECHO; }
  968. | YY_BREAK
  969. | case 2:
  970. | YY_RULE_SETUP
  971. | #line 3 "conftest.l"
  972. | { REJECT; }
  973. | YY_BREAK
  974. | case 3:
  975. | YY_RULE_SETUP
  976. | #line 4 "conftest.l"
  977. | { yymore (); }
  978. | YY_BREAK
  979. | case 4:
  980. | YY_RULE_SETUP
  981. | #line 5 "conftest.l"
  982. | { yyless (1); }
  983. | YY_BREAK
  984. | case 5:
  985. | YY_RULE_SETUP
  986. | #line 6 "conftest.l"
  987. | { yyless (input () != 0); }
  988. | YY_BREAK
  989. | case 6:
  990. | YY_RULE_SETUP
  991. | #line 7 "conftest.l"
  992. | { unput (yytext[0]); }
  993. | YY_BREAK
  994. | case 7:
  995. | YY_RULE_SETUP
  996. | #line 8 "conftest.l"
  997. | { BEGIN INITIAL; }
  998. | YY_BREAK
  999. | case 8:
  1000. | YY_RULE_SETUP
  1001. | #line 9 "conftest.l"
  1002. | ECHO;
  1003. | YY_BREAK
  1004. | #line 791 "lex.yy.c"
  1005. | case YY_STATE_EOF(INITIAL):
  1006. | yyterminate();
  1007. |
  1008. | case YY_END_OF_BUFFER:
  1009. | {
  1010. | /* Amount of text matched not including the EOB char. */
  1011. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1012. |
  1013. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1014. | *yy_cp = (yy_hold_char);
  1015. | YY_RESTORE_YY_MORE_OFFSET
  1016. |
  1017. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1018. | {
  1019. | /* We're scanning a new file or input source. It's
  1020. | * possible that this happened because the user
  1021. | * just pointed yyin at a new source and called
  1022. | * yylex(). If so, then we have to assure
  1023. | * consistency between YY_CURRENT_BUFFER and our
  1024. | * globals. Here is the right place to do so, because
  1025. | * this is the first action (other than possibly a
  1026. | * back-up) that will match for the new input source.
  1027. | */
  1028. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1029. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1030. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1031. | }
  1032. |
  1033. | /* Note that here we test for yy_c_buf_p "<=" to the position
  1034. | * of the first EOB in the buffer, since yy_c_buf_p will
  1035. | * already have been incremented past the NUL character
  1036. | * (since all states make transitions on EOB to the
  1037. | * end-of-buffer state). Contrast this with the test
  1038. | * in input().
  1039. | */
  1040. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1041. | { /* This was really a NUL. */
  1042. | yy_state_type yy_next_state;
  1043. |
  1044. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1045. |
  1046. | yy_current_state = yy_get_previous_state( );
  1047. |
  1048. | /* Okay, we're now positioned to make the NUL
  1049. | * transition. We couldn't have
  1050. | * yy_get_previous_state() go ahead and do it
  1051. | * for us because it doesn't know how to deal
  1052. | * with the possibility of jamming (and we don't
  1053. | * want to build jamming into it because then it
  1054. | * will run more slowly).
  1055. | */
  1056. |
  1057. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  1058. |
  1059. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1060. |
  1061. | if ( yy_next_state )
  1062. | {
  1063. | /* Consume the NUL. */
  1064. | yy_cp = ++(yy_c_buf_p);
  1065. | yy_current_state = yy_next_state;
  1066. | goto yy_match;
  1067. | }
  1068. |
  1069. | else
  1070. | {
  1071. | yy_cp = (yy_c_buf_p);
  1072. | goto yy_find_action;
  1073. | }
  1074. | }
  1075. |
  1076. | else switch ( yy_get_next_buffer( ) )
  1077. | {
  1078. | case EOB_ACT_END_OF_FILE:
  1079. | {
  1080. | (yy_did_buffer_switch_on_eof) = 0;
  1081. |
  1082. | if ( yywrap( ) )
  1083. | {
  1084. | /* Note: because we've taken care in
  1085. | * yy_get_next_buffer() to have set up
  1086. | * yytext, we can now set up
  1087. | * yy_c_buf_p so that if some total
  1088. | * hoser (like flex itself) wants to
  1089. | * call the scanner after we return the
  1090. | * YY_NULL, it'll still work - another
  1091. | * YY_NULL will get returned.
  1092. | */
  1093. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1094. |
  1095. | yy_act = YY_STATE_EOF(YY_START);
  1096. | goto do_action;
  1097. | }
  1098. |
  1099. | else
  1100. | {
  1101. | if ( ! (yy_did_buffer_switch_on_eof) )
  1102. | YY_NEW_FILE;
  1103. | }
  1104. | break;
  1105. | }
  1106. |
  1107. | case EOB_ACT_CONTINUE_SCAN:
  1108. | (yy_c_buf_p) =
  1109. | (yytext_ptr) + yy_amount_of_matched_text;
  1110. |
  1111. | yy_current_state = yy_get_previous_state( );
  1112. |
  1113. | yy_cp = (yy_c_buf_p);
  1114. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1115. | goto yy_match;
  1116. |
  1117. | case EOB_ACT_LAST_MATCH:
  1118. | (yy_c_buf_p) =
  1119. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1120. |
  1121. | yy_current_state = yy_get_previous_state( );
  1122. |
  1123. | yy_cp = (yy_c_buf_p);
  1124. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1125. | goto yy_find_action;
  1126. | }
  1127. | break;
  1128. | }
  1129. |
  1130. | default:
  1131. | YY_FATAL_ERROR(
  1132. | "fatal flex scanner internal error--no action found" );
  1133. | } /* end of action switch */
  1134. | } /* end of scanning one token */
  1135. | } /* end of yylex */
  1136. |
  1137. | /* yy_get_next_buffer - try to read in a new buffer
  1138. | *
  1139. | * Returns a code representing an action:
  1140. | * EOB_ACT_LAST_MATCH -
  1141. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1142. | * EOB_ACT_END_OF_FILE - end of file
  1143. | */
  1144. | static int yy_get_next_buffer (void)
  1145. | {
  1146. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1147. | register char *source = (yytext_ptr);
  1148. | register int number_to_move, i;
  1149. | int ret_val;
  1150. |
  1151. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1152. | YY_FATAL_ERROR(
  1153. | "fatal flex scanner internal error--end of buffer missed" );
  1154. |
  1155. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1156. | { /* Don't try to fill the buffer, so this is an EOF. */
  1157. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1158. | {
  1159. | /* We matched a single character, the EOB, so
  1160. | * treat this as a final EOF.
  1161. | */
  1162. | return EOB_ACT_END_OF_FILE;
  1163. | }
  1164. |
  1165. | else
  1166. | {
  1167. | /* We matched some text prior to the EOB, first
  1168. | * process it.
  1169. | */
  1170. | return EOB_ACT_LAST_MATCH;
  1171. | }
  1172. | }
  1173. |
  1174. | /* Try to read more data. */
  1175. |
  1176. | /* First move last chars to start of buffer. */
  1177. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  1178. |
  1179. | for ( i = 0; i < number_to_move; ++i )
  1180. | *(dest++) = *(source++);
  1181. |
  1182. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1183. | /* don't do the read, it's not guaranteed to return an EOF,
  1184. | * just force an EOF
  1185. | */
  1186. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1187. |
  1188. | else
  1189. | {
  1190. | yy_size_t num_to_read =
  1191. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1192. |
  1193. | while ( num_to_read <= 0 )
  1194. | { /* Not enough room in the buffer - grow it. */
  1195. |
  1196. | YY_FATAL_ERROR(
  1197. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1198. |
  1199. | }
  1200. |
  1201. | if ( num_to_read > YY_READ_BUF_SIZE )
  1202. | num_to_read = YY_READ_BUF_SIZE;
  1203. |
  1204. | /* Read in more data. */
  1205. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1206. | (yy_n_chars), num_to_read );
  1207. |
  1208. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1209. | }
  1210. |
  1211. | if ( (yy_n_chars) == 0 )
  1212. | {
  1213. | if ( number_to_move == YY_MORE_ADJ )
  1214. | {
  1215. | ret_val = EOB_ACT_END_OF_FILE;
  1216. | yyrestart(yyin );
  1217. | }
  1218. |
  1219. | else
  1220. | {
  1221. | ret_val = EOB_ACT_LAST_MATCH;
  1222. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1223. | YY_BUFFER_EOF_PENDING;
  1224. | }
  1225. | }
  1226. |
  1227. | else
  1228. | ret_val = EOB_ACT_CONTINUE_SCAN;
  1229. |
  1230. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1231. | /* Extend the array by 50%, plus the number we really need. */
  1232. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1233. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  1234. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1235. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1236. | }
  1237. |
  1238. | (yy_n_chars) += number_to_move;
  1239. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1240. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1241. |
  1242. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1243. |
  1244. | return ret_val;
  1245. | }
  1246. |
  1247. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1248. |
  1249. | static yy_state_type yy_get_previous_state (void)
  1250. | {
  1251. | register yy_state_type yy_current_state;
  1252. | register char *yy_cp;
  1253. |
  1254. | yy_current_state = (yy_start);
  1255. |
  1256. | (yy_state_ptr) = (yy_state_buf);
  1257. | *(yy_state_ptr)++ = yy_current_state;
  1258. |
  1259. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1260. | {
  1261. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1262. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1263. | {
  1264. | yy_current_state = (int) yy_def[yy_current_state];
  1265. | if ( yy_current_state >= 13 )
  1266. | yy_c = yy_meta[(unsigned int) yy_c];
  1267. | }
  1268. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1269. | *(yy_state_ptr)++ = yy_current_state;
  1270. | }
  1271. |
  1272. | return yy_current_state;
  1273. | }
  1274. |
  1275. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1276. | *
  1277. | * synopsis
  1278. | * next_state = yy_try_NUL_trans( current_state );
  1279. | */
  1280. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  1281. | {
  1282. | register int yy_is_jam;
  1283. |
  1284. | register YY_CHAR yy_c = 1;
  1285. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1286. | {
  1287. | yy_current_state = (int) yy_def[yy_current_state];
  1288. | if ( yy_current_state >= 13 )
  1289. | yy_c = yy_meta[(unsigned int) yy_c];
  1290. | }
  1291. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1292. | yy_is_jam = (yy_current_state == 12);
  1293. | if ( ! yy_is_jam )
  1294. | *(yy_state_ptr)++ = yy_current_state;
  1295. |
  1296. | return yy_is_jam ? 0 : yy_current_state;
  1297. | }
  1298. |
  1299. | static void yyunput (int c, register char * yy_bp )
  1300. | {
  1301. | register char *yy_cp;
  1302. |
  1303. | yy_cp = (yy_c_buf_p);
  1304. |
  1305. | /* undo effects of setting up yytext */
  1306. | *yy_cp = (yy_hold_char);
  1307. |
  1308. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1309. | { /* need to shift things up to make room */
  1310. | /* +2 for EOB chars. */
  1311. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  1312. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1313. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1314. | register char *source =
  1315. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1316. |
  1317. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1318. | *--dest = *--source;
  1319. |
  1320. | yy_cp += (int) (dest - source);
  1321. | yy_bp += (int) (dest - source);
  1322. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1323. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1324. |
  1325. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1326. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1327. | }
  1328. |
  1329. | *--yy_cp = (char) c;
  1330. |
  1331. | (yytext_ptr) = yy_bp;
  1332. | (yy_hold_char) = *yy_cp;
  1333. | (yy_c_buf_p) = yy_cp;
  1334. | }
  1335. |
  1336. | #ifndef YY_NO_INPUT
  1337. | #ifdef __cplusplus
  1338. | static int yyinput (void)
  1339. | #else
  1340. | static int input (void)
  1341. | #endif
  1342. |
  1343. | {
  1344. | int c;
  1345. |
  1346. | *(yy_c_buf_p) = (yy_hold_char);
  1347. |
  1348. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1349. | {
  1350. | /* yy_c_buf_p now points to the character we want to return.
  1351. | * If this occurs *before* the EOB characters, then it's a
  1352. | * valid NUL; if not, then we've hit the end of the buffer.
  1353. | */
  1354. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1355. | /* This was really a NUL. */
  1356. | *(yy_c_buf_p) = '\0';
  1357. |
  1358. | else
  1359. | { /* need more input */
  1360. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  1361. | ++(yy_c_buf_p);
  1362. |
  1363. | switch ( yy_get_next_buffer( ) )
  1364. | {
  1365. | case EOB_ACT_LAST_MATCH:
  1366. | /* This happens because yy_g_n_b()
  1367. | * sees that we've accumulated a
  1368. | * token and flags that we need to
  1369. | * try matching the token before
  1370. | * proceeding. But for input(),
  1371. | * there's no matching to consider.
  1372. | * So convert the EOB_ACT_LAST_MATCH
  1373. | * to EOB_ACT_END_OF_FILE.
  1374. | */
  1375. |
  1376. | /* Reset buffer status. */
  1377. | yyrestart(yyin );
  1378. |
  1379. | /*FALLTHROUGH*/
  1380. |
  1381. | case EOB_ACT_END_OF_FILE:
  1382. | {
  1383. | if ( yywrap( ) )
  1384. | return 0;
  1385. |
  1386. | if ( ! (yy_did_buffer_switch_on_eof) )
  1387. | YY_NEW_FILE;
  1388. | #ifdef __cplusplus
  1389. | return yyinput();
  1390. | #else
  1391. | return input();
  1392. | #endif
  1393. | }
  1394. |
  1395. | case EOB_ACT_CONTINUE_SCAN:
  1396. | (yy_c_buf_p) = (yytext_ptr) + offset;
  1397. | break;
  1398. | }
  1399. | }
  1400. | }
  1401. |
  1402. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  1403. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  1404. | (yy_hold_char) = *++(yy_c_buf_p);
  1405. |
  1406. | return c;
  1407. | }
  1408. | #endif /* ifndef YY_NO_INPUT */
  1409. |
  1410. | /** Immediately switch to a different input stream.
  1411. | * @param input_file A readable stream.
  1412. | *
  1413. | * @note This function does not reset the start condition to @c INITIAL .
  1414. | */
  1415. | void yyrestart (FILE * input_file )
  1416. | {
  1417. |
  1418. | if ( ! YY_CURRENT_BUFFER ){
  1419. | yyensure_buffer_stack ();
  1420. | YY_CURRENT_BUFFER_LVALUE =
  1421. | yy_create_buffer(yyin,YY_BUF_SIZE );
  1422. | }
  1423. |
  1424. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  1425. | yy_load_buffer_state( );
  1426. | }
  1427. |
  1428. | /** Switch to a different input buffer.
  1429. | * @param new_buffer The new input buffer.
  1430. | *
  1431. | */
  1432. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  1433. | {
  1434. |
  1435. | /* TODO. We should be able to replace this entire function body
  1436. | * with
  1437. | * yypop_buffer_state();
  1438. | * yypush_buffer_state(new_buffer);
  1439. | */
  1440. | yyensure_buffer_stack ();
  1441. | if ( YY_CURRENT_BUFFER == new_buffer )
  1442. | return;
  1443. |
  1444. | if ( YY_CURRENT_BUFFER )
  1445. | {
  1446. | /* Flush out information for old buffer. */
  1447. | *(yy_c_buf_p) = (yy_hold_char);
  1448. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1449. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1450. | }
  1451. |
  1452. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1453. | yy_load_buffer_state( );
  1454. |
  1455. | /* We don't actually know whether we did this switch during
  1456. | * EOF (yywrap()) processing, but the only time this flag
  1457. | * is looked at is after yywrap() is called, so it's safe
  1458. | * to go ahead and always set it.
  1459. | */
  1460. | (yy_did_buffer_switch_on_eof) = 1;
  1461. | }
  1462. |
  1463. | static void yy_load_buffer_state (void)
  1464. | {
  1465. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1466. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1467. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1468. | (yy_hold_char) = *(yy_c_buf_p);
  1469. | }
  1470. |
  1471. | /** Allocate and initialize an input buffer state.
  1472. | * @param file A readable stream.
  1473. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1474. | *
  1475. | * @return the allocated buffer state.
  1476. | */
  1477. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  1478. | {
  1479. | YY_BUFFER_STATE b;
  1480. |
  1481. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1482. | if ( ! b )
  1483. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1484. |
  1485. | b->yy_buf_size = size;
  1486. |
  1487. | /* yy_ch_buf has to be 2 characters longer than the size given because
  1488. | * we need to put in 2 end-of-buffer characters.
  1489. | */
  1490. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  1491. | if ( ! b->yy_ch_buf )
  1492. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1493. |
  1494. | b->yy_is_our_buffer = 1;
  1495. |
  1496. | yy_init_buffer(b,file );
  1497. |
  1498. | return b;
  1499. | }
  1500. |
  1501. | /** Destroy the buffer.
  1502. | * @param b a buffer created with yy_create_buffer()
  1503. | *
  1504. | */
  1505. | void yy_delete_buffer (YY_BUFFER_STATE b )
  1506. | {
  1507. |
  1508. | if ( ! b )
  1509. | return;
  1510. |
  1511. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1512. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1513. |
  1514. | if ( b->yy_is_our_buffer )
  1515. | yyfree((void *) b->yy_ch_buf );
  1516. |
  1517. | yyfree((void *) b );
  1518. | }
  1519. |
  1520. | #ifndef __cplusplus
  1521. | extern int isatty (int );
  1522. | #endif /* __cplusplus */
  1523. |
  1524. | /* Initializes or reinitializes a buffer.
  1525. | * This function is sometimes called more than once on the same buffer,
  1526. | * such as during a yyrestart() or at EOF.
  1527. | */
  1528. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  1529. |
  1530. | {
  1531. | int oerrno = errno;
  1532. |
  1533. | yy_flush_buffer(b );
  1534. |
  1535. | b->yy_input_file = file;
  1536. | b->yy_fill_buffer = 1;
  1537. |
  1538. | /* If b is the current buffer, then yy_init_buffer was _probably_
  1539. | * called from yyrestart() or through yy_get_next_buffer.
  1540. | * In that case, we don't want to reset the lineno or column.
  1541. | */
  1542. | if (b != YY_CURRENT_BUFFER){
  1543. | b->yy_bs_lineno = 1;
  1544. | b->yy_bs_column = 0;
  1545. | }
  1546. |
  1547. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1548. |
  1549. | errno = oerrno;
  1550. | }
  1551. |
  1552. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1553. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1554. | *
  1555. | */
  1556. | void yy_flush_buffer (YY_BUFFER_STATE b )
  1557. | {
  1558. | if ( ! b )
  1559. | return;
  1560. |
  1561. | b->yy_n_chars = 0;
  1562. |
  1563. | /* We always need two end-of-buffer characters. The first causes
  1564. | * a transition to the end-of-buffer state. The second causes
  1565. | * a jam in that state.
  1566. | */
  1567. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1568. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1569. |
  1570. | b->yy_buf_pos = &b->yy_ch_buf[0];
  1571. |
  1572. | b->yy_at_bol = 1;
  1573. | b->yy_buffer_status = YY_BUFFER_NEW;
  1574. |
  1575. | if ( b == YY_CURRENT_BUFFER )
  1576. | yy_load_buffer_state( );
  1577. | }
  1578. |
  1579. | /** Pushes the new state onto the stack. The new state becomes
  1580. | * the current state. This function will allocate the stack
  1581. | * if necessary.
  1582. | * @param new_buffer The new state.
  1583. | *
  1584. | */
  1585. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1586. | {
  1587. | if (new_buffer == NULL)
  1588. | return;
  1589. |
  1590. | yyensure_buffer_stack();
  1591. |
  1592. | /* This block is copied from yy_switch_to_buffer. */
  1593. | if ( YY_CURRENT_BUFFER )
  1594. | {
  1595. | /* Flush out information for old buffer. */
  1596. | *(yy_c_buf_p) = (yy_hold_char);
  1597. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1598. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1599. | }
  1600. |
  1601. | /* Only push if top exists. Otherwise, replace top. */
  1602. | if (YY_CURRENT_BUFFER)
  1603. | (yy_buffer_stack_top)++;
  1604. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1605. |
  1606. | /* copied from yy_switch_to_buffer. */
  1607. | yy_load_buffer_state( );
  1608. | (yy_did_buffer_switch_on_eof) = 1;
  1609. | }
  1610. |
  1611. | /** Removes and deletes the top of the stack, if present.
  1612. | * The next element becomes the new top.
  1613. | *
  1614. | */
  1615. | void yypop_buffer_state (void)
  1616. | {
  1617. | if (!YY_CURRENT_BUFFER)
  1618. | return;
  1619. |
  1620. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1621. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1622. | if ((yy_buffer_stack_top) > 0)
  1623. | --(yy_buffer_stack_top);
  1624. |
  1625. | if (YY_CURRENT_BUFFER) {
  1626. | yy_load_buffer_state( );
  1627. | (yy_did_buffer_switch_on_eof) = 1;
  1628. | }
  1629. | }
  1630. |
  1631. | /* Allocates the stack if it does not exist.
  1632. | * Guarantees space for at least one push.
  1633. | */
  1634. | static void yyensure_buffer_stack (void)
  1635. | {
  1636. | yy_size_t num_to_alloc;
  1637. |
  1638. | if (!(yy_buffer_stack)) {
  1639. |
  1640. | /* First allocation is just for 2 elements, since we don't know if this
  1641. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1642. | * immediate realloc on the next call.
  1643. | */
  1644. | num_to_alloc = 1;
  1645. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1646. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  1647. | );
  1648. | if ( ! (yy_buffer_stack) )
  1649. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1650. |
  1651. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1652. |
  1653. | (yy_buffer_stack_max) = num_to_alloc;
  1654. | (yy_buffer_stack_top) = 0;
  1655. | return;
  1656. | }
  1657. |
  1658. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1659. |
  1660. | /* Increase the buffer to prepare for a possible push. */
  1661. | int grow_size = 8 /* arbitrary grow size */;
  1662. |
  1663. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1664. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1665. | ((yy_buffer_stack),
  1666. | num_to_alloc * sizeof(struct yy_buffer_state*)
  1667. | );
  1668. | if ( ! (yy_buffer_stack) )
  1669. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1670. |
  1671. | /* zero only the new slots.*/
  1672. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1673. | (yy_buffer_stack_max) = num_to_alloc;
  1674. | }
  1675. | }
  1676. |
  1677. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1678. | * @param base the character buffer
  1679. | * @param size the size in bytes of the character buffer
  1680. | *
  1681. | * @return the newly allocated buffer state object.
  1682. | */
  1683. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  1684. | {
  1685. | YY_BUFFER_STATE b;
  1686. |
  1687. | if ( size < 2 ||
  1688. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1689. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  1690. | /* They forgot to leave room for the EOB's. */
  1691. | return 0;
  1692. |
  1693. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1694. | if ( ! b )
  1695. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1696. |
  1697. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  1698. | b->yy_buf_pos = b->yy_ch_buf = base;
  1699. | b->yy_is_our_buffer = 0;
  1700. | b->yy_input_file = 0;
  1701. | b->yy_n_chars = b->yy_buf_size;
  1702. | b->yy_is_interactive = 0;
  1703. | b->yy_at_bol = 1;
  1704. | b->yy_fill_buffer = 0;
  1705. | b->yy_buffer_status = YY_BUFFER_NEW;
  1706. |
  1707. | yy_switch_to_buffer(b );
  1708. |
  1709. | return b;
  1710. | }
  1711. |
  1712. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1713. | * scan from a @e copy of @a str.
  1714. | * @param yystr a NUL-terminated string to scan
  1715. | *
  1716. | * @return the newly allocated buffer state object.
  1717. | * @note If you want to scan bytes that may contain NUL values, then use
  1718. | * yy_scan_bytes() instead.
  1719. | */
  1720. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  1721. | {
  1722. |
  1723. | return yy_scan_bytes(yystr,strlen(yystr) );
  1724. | }
  1725. |
  1726. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1727. | * scan from a @e copy of @a bytes.
  1728. | * @param bytes the byte buffer to scan
  1729. | * @param len the number of bytes in the buffer pointed to by @a bytes.
  1730. | *
  1731. | * @return the newly allocated buffer state object.
  1732. | */
  1733. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  1734. | {
  1735. | YY_BUFFER_STATE b;
  1736. | char *buf;
  1737. | yy_size_t n, i;
  1738. |
  1739. | /* Get memory for full buffer, including space for trailing EOB's. */
  1740. | n = _yybytes_len + 2;
  1741. | buf = (char *) yyalloc(n );
  1742. | if ( ! buf )
  1743. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1744. |
  1745. | for ( i = 0; i < _yybytes_len; ++i )
  1746. | buf[i] = yybytes[i];
  1747. |
  1748. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1749. |
  1750. | b = yy_scan_buffer(buf,n );
  1751. | if ( ! b )
  1752. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1753. |
  1754. | /* It's okay to grow etc. this buffer, and we should throw it
  1755. | * away when we're done.
  1756. | */
  1757. | b->yy_is_our_buffer = 1;
  1758. |
  1759. | return b;
  1760. | }
  1761. |
  1762. | #ifndef YY_EXIT_FAILURE
  1763. | #define YY_EXIT_FAILURE 2
  1764. | #endif
  1765. |
  1766. | static void yy_fatal_error (yyconst char* msg )
  1767. | {
  1768. | (void) fprintf( stderr, "%s\n", msg );
  1769. | exit( YY_EXIT_FAILURE );
  1770. | }
  1771. |
  1772. | /* Redefine yyless() so it works in section 3 code. */
  1773. |
  1774. | #undef yyless
  1775. | #define yyless(n) \
  1776. | do \
  1777. | { \
  1778. | /* Undo effects of setting up yytext. */ \
  1779. | int yyless_macro_arg = (n); \
  1780. | YY_LESS_LINENO(yyless_macro_arg);\
  1781. | yytext[yyleng] = (yy_hold_char); \
  1782. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  1783. | (yy_hold_char) = *(yy_c_buf_p); \
  1784. | *(yy_c_buf_p) = '\0'; \
  1785. | yyleng = yyless_macro_arg; \
  1786. | } \
  1787. | while ( 0 )
  1788. |
  1789. | /* Accessor methods (get/set functions) to struct members. */
  1790. |
  1791. | /** Get the current line number.
  1792. | *
  1793. | */
  1794. | int yyget_lineno (void)
  1795. | {
  1796. |
  1797. | return yylineno;
  1798. | }
  1799. |
  1800. | /** Get the input stream.
  1801. | *
  1802. | */
  1803. | FILE *yyget_in (void)
  1804. | {
  1805. | return yyin;
  1806. | }
  1807. |
  1808. | /** Get the output stream.
  1809. | *
  1810. | */
  1811. | FILE *yyget_out (void)
  1812. | {
  1813. | return yyout;
  1814. | }
  1815. |
  1816. | /** Get the length of the current token.
  1817. | *
  1818. | */
  1819. | yy_size_t yyget_leng (void)
  1820. | {
  1821. | return yyleng;
  1822. | }
  1823. |
  1824. | /** Get the current token.
  1825. | *
  1826. | */
  1827. |
  1828. | char *yyget_text (void)
  1829. | {
  1830. | return yytext;
  1831. | }
  1832. |
  1833. | /** Set the current line number.
  1834. | * @param line_number
  1835. | *
  1836. | */
  1837. | void yyset_lineno (int line_number )
  1838. | {
  1839. |
  1840. | yylineno = line_number;
  1841. | }
  1842. |
  1843. | /** Set the input stream. This does not discard the current
  1844. | * input buffer.
  1845. | * @param in_str A readable stream.
  1846. | *
  1847. | * @see yy_switch_to_buffer
  1848. | */
  1849. | void yyset_in (FILE * in_str )
  1850. | {
  1851. | yyin = in_str ;
  1852. | }
  1853. |
  1854. | void yyset_out (FILE * out_str )
  1855. | {
  1856. | yyout = out_str ;
  1857. | }
  1858. |
  1859. | int yyget_debug (void)
  1860. | {
  1861. | return yy_flex_debug;
  1862. | }
  1863. |
  1864. | void yyset_debug (int bdebug )
  1865. | {
  1866. | yy_flex_debug = bdebug ;
  1867. | }
  1868. |
  1869. | static int yy_init_globals (void)
  1870. | {
  1871. | /* Initialization is the same as for the non-reentrant scanner.
  1872. | * This function is called from yylex_destroy(), so don't allocate here.
  1873. | */
  1874. |
  1875. | (yy_buffer_stack) = 0;
  1876. | (yy_buffer_stack_top) = 0;
  1877. | (yy_buffer_stack_max) = 0;
  1878. | (yy_c_buf_p) = (char *) 0;
  1879. | (yy_init) = 0;
  1880. | (yy_start) = 0;
  1881. |
  1882. | (yy_state_buf) = 0;
  1883. | (yy_state_ptr) = 0;
  1884. | (yy_full_match) = 0;
  1885. | (yy_lp) = 0;
  1886. |
  1887. | /* Defined in main.c */
  1888. | #ifdef YY_STDINIT
  1889. | yyin = stdin;
  1890. | yyout = stdout;
  1891. | #else
  1892. | yyin = (FILE *) 0;
  1893. | yyout = (FILE *) 0;
  1894. | #endif
  1895. |
  1896. | /* For future reference: Set errno on error, since we are called by
  1897. | * yylex_init()
  1898. | */
  1899. | return 0;
  1900. | }
  1901. |
  1902. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  1903. | int yylex_destroy (void)
  1904. | {
  1905. |
  1906. | /* Pop the buffer stack, destroying each element. */
  1907. | while(YY_CURRENT_BUFFER){
  1908. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1909. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1910. | yypop_buffer_state();
  1911. | }
  1912. |
  1913. | /* Destroy the stack itself. */
  1914. | yyfree((yy_buffer_stack) );
  1915. | (yy_buffer_stack) = NULL;
  1916. |
  1917. | yyfree ( (yy_state_buf) );
  1918. | (yy_state_buf) = NULL;
  1919. |
  1920. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  1921. | * yylex() is called, initialization will occur. */
  1922. | yy_init_globals( );
  1923. |
  1924. | return 0;
  1925. | }
  1926. |
  1927. | /*
  1928. | * Internal utility routines.
  1929. | */
  1930. |
  1931. | #ifndef yytext_ptr
  1932. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  1933. | {
  1934. | register int i;
  1935. | for ( i = 0; i < n; ++i )
  1936. | s1[i] = s2[i];
  1937. | }
  1938. | #endif
  1939. |
  1940. | #ifdef YY_NEED_STRLEN
  1941. | static int yy_flex_strlen (yyconst char * s )
  1942. | {
  1943. | register int n;
  1944. | for ( n = 0; s[n]; ++n )
  1945. | ;
  1946. |
  1947. | return n;
  1948. | }
  1949. | #endif
  1950. |
  1951. | void *yyalloc (yy_size_t size )
  1952. | {
  1953. | return (void *) malloc( size );
  1954. | }
  1955. |
  1956. | void *yyrealloc (void * ptr, yy_size_t size )
  1957. | {
  1958. | /* The cast to (char *) in the following accommodates both
  1959. | * implementations that use char* generic pointers, and those
  1960. | * that use void* generic pointers. It works with the latter
  1961. | * because both ANSI C and C++ allow castless assignment from
  1962. | * any pointer type to void*, and deal with argument conversions
  1963. | * as though doing an assignment.
  1964. | */
  1965. | return (void *) realloc( (char *) ptr, size );
  1966. | }
  1967. |
  1968. | void yyfree (void * ptr )
  1969. | {
  1970. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  1971. | }
  1972. |
  1973. | #define YYTABLES_NAME "yytables"
  1974. |
  1975. | #line 9 "conftest.l"
  1976. |
  1977. |
  1978. | #ifdef YYTEXT_POINTER
  1979. | extern char *yytext;
  1980. | #endif
  1981. | int
  1982. | main (void)
  1983. | {
  1984. | return ! yylex () + ! yywrap ();
  1985. | }
  1986. configure:4106: gcc -o conftest conftest.c -lfl >&5
  1987. configure:4106: $? = 0
  1988. configure:4116: result: -lfl
  1989. configure:4122: checking whether yytext is a pointer
  1990. configure:4138: gcc -o conftest conftest.c -lfl >&5
  1991. configure:4138: $? = 0
  1992. configure:4146: result: yes
  1993. configure:4169: checking for remsh
  1994. configure:4199: result: no
  1995. configure:4169: checking for rsh
  1996. configure:4185: found /usr/bin/rsh
  1997. configure:4196: result: rsh
  1998. configure:4212: checking for makeinfo
  1999. configure:4228: found /sw/bin/makeinfo
  2000. configure:4239: result: makeinfo
  2001. configure:4261: checking for nroff
  2002. configure:4277: found /usr/bin/nroff
  2003. configure:4289: result: nroff -man
  2004. configure:4302: checking for awk
  2005. configure:4320: found /usr/bin/awk
  2006. configure:4332: result: /usr/bin/awk
  2007. configure:4347: checking for perl
  2008. configure:4365: found /usr/bin/perl
  2009. configure:4377: result: /usr/bin/perl
  2010. configure:4390: checking for grep that handles long lines and -e
  2011. configure:4448: result: /usr/bin/grep
  2012. configure:4453: checking for egrep
  2013. configure:4515: result: /usr/bin/grep -E
  2014. configure:4520: checking for ANSI C header files
  2015. configure:4540: gcc -c conftest.c >&5
  2016. configure:4540: $? = 0
  2017. configure:4613: gcc -o conftest conftest.c >&5
  2018. configure:4613: $? = 0
  2019. configure:4613: ./conftest
  2020. configure:4613: $? = 0
  2021. configure:4624: result: yes
  2022. configure:4632: checking whether time.h and sys/time.h may both be included
  2023. configure:4652: gcc -c conftest.c >&5
  2024. configure:4652: $? = 0
  2025. configure:4659: result: yes
  2026. configure:4667: checking for sys/wait.h that is POSIX.1 compatible
  2027. configure:4693: gcc -c conftest.c >&5
  2028. configure:4693: $? = 0
  2029. configure:4700: result: yes
  2030. configure:4711: checking for dirent.h that defines DIR
  2031. configure:4730: gcc -c conftest.c >&5
  2032. configure:4730: $? = 0
  2033. configure:4738: result: yes
  2034. configure:4752: checking for library containing opendir
  2035. configure:4783: gcc -o conftest conftest.c >&5
  2036. configure:4783: $? = 0
  2037. configure:4800: result: none required
  2038. configure:4867: checking return type of signal handlers
  2039. configure:4885: gcc -c conftest.c >&5
  2040. conftest.c: In function 'main':
  2041. conftest.c:23: error: void value not ignored as it ought to be
  2042. configure:4885: $? = 1
  2043. configure: failed program was:
  2044. | /* confdefs.h */
  2045. | #define PACKAGE_NAME "xboard"
  2046. | #define PACKAGE_TARNAME "xboard"
  2047. | #define PACKAGE_VERSION "master-20100806"
  2048. | #define PACKAGE_STRING "xboard master-20100806"
  2049. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2050. | #define PACKAGE_URL ""
  2051. | #define PACKAGE "xboard"
  2052. | #define VERSION "master-20100806"
  2053. | #define YYTEXT_POINTER 1
  2054. | #define REMOTE_SHELL "rsh"
  2055. | #define STDC_HEADERS 1
  2056. | #define TIME_WITH_SYS_TIME 1
  2057. | #define HAVE_SYS_WAIT_H 1
  2058. | #define HAVE_DIRENT_H 1
  2059. | /* end confdefs.h. */
  2060. | #include <sys/types.h>
  2061. | #include <signal.h>
  2062. |
  2063. | int
  2064. | main ()
  2065. | {
  2066. | return *(signal (0, 0)) (0) == 1;
  2067. | ;
  2068. | return 0;
  2069. | }
  2070. configure:4892: result: void
  2071. configure:4905: checking for sys/types.h
  2072. configure:4905: gcc -c conftest.c >&5
  2073. configure:4905: $? = 0
  2074. configure:4905: result: yes
  2075. configure:4905: checking for sys/stat.h
  2076. configure:4905: gcc -c conftest.c >&5
  2077. configure:4905: $? = 0
  2078. configure:4905: result: yes
  2079. configure:4905: checking for stdlib.h
  2080. configure:4905: gcc -c conftest.c >&5
  2081. configure:4905: $? = 0
  2082. configure:4905: result: yes
  2083. configure:4905: checking for string.h
  2084. configure:4905: gcc -c conftest.c >&5
  2085. configure:4905: $? = 0
  2086. configure:4905: result: yes
  2087. configure:4905: checking for memory.h
  2088. configure:4905: gcc -c conftest.c >&5
  2089. configure:4905: $? = 0
  2090. configure:4905: result: yes
  2091. configure:4905: checking for strings.h
  2092. configure:4905: gcc -c conftest.c >&5
  2093. configure:4905: $? = 0
  2094. configure:4905: result: yes
  2095. configure:4905: checking for inttypes.h
  2096. configure:4905: gcc -c conftest.c >&5
  2097. configure:4905: $? = 0
  2098. configure:4905: result: yes
  2099. configure:4905: checking for stdint.h
  2100. configure:4905: gcc -c conftest.c >&5
  2101. configure:4905: $? = 0
  2102. configure:4905: result: yes
  2103. configure:4905: checking for unistd.h
  2104. configure:4905: gcc -c conftest.c >&5
  2105. configure:4905: $? = 0
  2106. configure:4905: result: yes
  2107. configure:4921: checking stropts.h usability
  2108. configure:4921: gcc -c conftest.c >&5
  2109. conftest.c:60:21: error: stropts.h: No such file or directory
  2110. configure:4921: $? = 1
  2111. configure: failed program was:
  2112. | /* confdefs.h */
  2113. | #define PACKAGE_NAME "xboard"
  2114. | #define PACKAGE_TARNAME "xboard"
  2115. | #define PACKAGE_VERSION "master-20100806"
  2116. | #define PACKAGE_STRING "xboard master-20100806"
  2117. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2118. | #define PACKAGE_URL ""
  2119. | #define PACKAGE "xboard"
  2120. | #define VERSION "master-20100806"
  2121. | #define YYTEXT_POINTER 1
  2122. | #define REMOTE_SHELL "rsh"
  2123. | #define STDC_HEADERS 1
  2124. | #define TIME_WITH_SYS_TIME 1
  2125. | #define HAVE_SYS_WAIT_H 1
  2126. | #define HAVE_DIRENT_H 1
  2127. | #define RETSIGTYPE void
  2128. | #define HAVE_SYS_TYPES_H 1
  2129. | #define HAVE_SYS_STAT_H 1
  2130. | #define HAVE_STDLIB_H 1
  2131. | #define HAVE_STRING_H 1
  2132. | #define HAVE_MEMORY_H 1
  2133. | #define HAVE_STRINGS_H 1
  2134. | #define HAVE_INTTYPES_H 1
  2135. | #define HAVE_STDINT_H 1
  2136. | #define HAVE_UNISTD_H 1
  2137. | /* end confdefs.h. */
  2138. | #include <stdio.h>
  2139. | #ifdef HAVE_SYS_TYPES_H
  2140. | # include <sys/types.h>
  2141. | #endif
  2142. | #ifdef HAVE_SYS_STAT_H
  2143. | # include <sys/stat.h>
  2144. | #endif
  2145. | #ifdef STDC_HEADERS
  2146. | # include <stdlib.h>
  2147. | # include <stddef.h>
  2148. | #else
  2149. | # ifdef HAVE_STDLIB_H
  2150. | # include <stdlib.h>
  2151. | # endif
  2152. | #endif
  2153. | #ifdef HAVE_STRING_H
  2154. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2155. | # include <memory.h>
  2156. | # endif
  2157. | # include <string.h>
  2158. | #endif
  2159. | #ifdef HAVE_STRINGS_H
  2160. | # include <strings.h>
  2161. | #endif
  2162. | #ifdef HAVE_INTTYPES_H
  2163. | # include <inttypes.h>
  2164. | #endif
  2165. | #ifdef HAVE_STDINT_H
  2166. | # include <stdint.h>
  2167. | #endif
  2168. | #ifdef HAVE_UNISTD_H
  2169. | # include <unistd.h>
  2170. | #endif
  2171. | #include <stropts.h>
  2172. configure:4921: result: no
  2173. configure:4921: checking stropts.h presence
  2174. configure:4921: gcc -E conftest.c
  2175. conftest.c:27:21: error: stropts.h: No such file or directory
  2176. configure:4921: $? = 1
  2177. configure: failed program was:
  2178. | /* confdefs.h */
  2179. | #define PACKAGE_NAME "xboard"
  2180. | #define PACKAGE_TARNAME "xboard"
  2181. | #define PACKAGE_VERSION "master-20100806"
  2182. | #define PACKAGE_STRING "xboard master-20100806"
  2183. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2184. | #define PACKAGE_URL ""
  2185. | #define PACKAGE "xboard"
  2186. | #define VERSION "master-20100806"
  2187. | #define YYTEXT_POINTER 1
  2188. | #define REMOTE_SHELL "rsh"
  2189. | #define STDC_HEADERS 1
  2190. | #define TIME_WITH_SYS_TIME 1
  2191. | #define HAVE_SYS_WAIT_H 1
  2192. | #define HAVE_DIRENT_H 1
  2193. | #define RETSIGTYPE void
  2194. | #define HAVE_SYS_TYPES_H 1
  2195. | #define HAVE_SYS_STAT_H 1
  2196. | #define HAVE_STDLIB_H 1
  2197. | #define HAVE_STRING_H 1
  2198. | #define HAVE_MEMORY_H 1
  2199. | #define HAVE_STRINGS_H 1
  2200. | #define HAVE_INTTYPES_H 1
  2201. | #define HAVE_STDINT_H 1
  2202. | #define HAVE_UNISTD_H 1
  2203. | /* end confdefs.h. */
  2204. | #include <stropts.h>
  2205. configure:4921: result: no
  2206. configure:4921: checking for stropts.h
  2207. configure:4921: result: no
  2208. configure:4921: checking sys/time.h usability
  2209. configure:4921: gcc -c conftest.c >&5
  2210. configure:4921: $? = 0
  2211. configure:4921: result: yes
  2212. configure:4921: checking sys/time.h presence
  2213. configure:4921: gcc -E conftest.c
  2214. configure:4921: $? = 0
  2215. configure:4921: result: yes
  2216. configure:4921: checking for sys/time.h
  2217. configure:4921: result: yes
  2218. configure:4921: checking for string.h
  2219. configure:4921: result: yes
  2220. configure:4921: checking for unistd.h
  2221. configure:4921: result: yes
  2222. configure:4921: checking sys/systeminfo.h usability
  2223. configure:4921: gcc -c conftest.c >&5
  2224. conftest.c:63:28: error: sys/systeminfo.h: No such file or directory
  2225. configure:4921: $? = 1
  2226. configure: failed program was:
  2227. | /* confdefs.h */
  2228. | #define PACKAGE_NAME "xboard"
  2229. | #define PACKAGE_TARNAME "xboard"
  2230. | #define PACKAGE_VERSION "master-20100806"
  2231. | #define PACKAGE_STRING "xboard master-20100806"
  2232. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2233. | #define PACKAGE_URL ""
  2234. | #define PACKAGE "xboard"
  2235. | #define VERSION "master-20100806"
  2236. | #define YYTEXT_POINTER 1
  2237. | #define REMOTE_SHELL "rsh"
  2238. | #define STDC_HEADERS 1
  2239. | #define TIME_WITH_SYS_TIME 1
  2240. | #define HAVE_SYS_WAIT_H 1
  2241. | #define HAVE_DIRENT_H 1
  2242. | #define RETSIGTYPE void
  2243. | #define HAVE_SYS_TYPES_H 1
  2244. | #define HAVE_SYS_STAT_H 1
  2245. | #define HAVE_STDLIB_H 1
  2246. | #define HAVE_STRING_H 1
  2247. | #define HAVE_MEMORY_H 1
  2248. | #define HAVE_STRINGS_H 1
  2249. | #define HAVE_INTTYPES_H 1
  2250. | #define HAVE_STDINT_H 1
  2251. | #define HAVE_UNISTD_H 1
  2252. | #define HAVE_SYS_TIME_H 1
  2253. | #define HAVE_STRING_H 1
  2254. | #define HAVE_UNISTD_H 1
  2255. | /* end confdefs.h. */
  2256. | #include <stdio.h>
  2257. | #ifdef HAVE_SYS_TYPES_H
  2258. | # include <sys/types.h>
  2259. | #endif
  2260. | #ifdef HAVE_SYS_STAT_H
  2261. | # include <sys/stat.h>
  2262. | #endif
  2263. | #ifdef STDC_HEADERS
  2264. | # include <stdlib.h>
  2265. | # include <stddef.h>
  2266. | #else
  2267. | # ifdef HAVE_STDLIB_H
  2268. | # include <stdlib.h>
  2269. | # endif
  2270. | #endif
  2271. | #ifdef HAVE_STRING_H
  2272. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2273. | # include <memory.h>
  2274. | # endif
  2275. | # include <string.h>
  2276. | #endif
  2277. | #ifdef HAVE_STRINGS_H
  2278. | # include <strings.h>
  2279. | #endif
  2280. | #ifdef HAVE_INTTYPES_H
  2281. | # include <inttypes.h>
  2282. | #endif
  2283. | #ifdef HAVE_STDINT_H
  2284. | # include <stdint.h>
  2285. | #endif
  2286. | #ifdef HAVE_UNISTD_H
  2287. | # include <unistd.h>
  2288. | #endif
  2289. | #include <sys/systeminfo.h>
  2290. configure:4921: result: no
  2291. configure:4921: checking sys/systeminfo.h presence
  2292. configure:4921: gcc -E conftest.c
  2293. conftest.c:30:28: error: sys/systeminfo.h: No such file or directory
  2294. configure:4921: $? = 1
  2295. configure: failed program was:
  2296. | /* confdefs.h */
  2297. | #define PACKAGE_NAME "xboard"
  2298. | #define PACKAGE_TARNAME "xboard"
  2299. | #define PACKAGE_VERSION "master-20100806"
  2300. | #define PACKAGE_STRING "xboard master-20100806"
  2301. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2302. | #define PACKAGE_URL ""
  2303. | #define PACKAGE "xboard"
  2304. | #define VERSION "master-20100806"
  2305. | #define YYTEXT_POINTER 1
  2306. | #define REMOTE_SHELL "rsh"
  2307. | #define STDC_HEADERS 1
  2308. | #define TIME_WITH_SYS_TIME 1
  2309. | #define HAVE_SYS_WAIT_H 1
  2310. | #define HAVE_DIRENT_H 1
  2311. | #define RETSIGTYPE void
  2312. | #define HAVE_SYS_TYPES_H 1
  2313. | #define HAVE_SYS_STAT_H 1
  2314. | #define HAVE_STDLIB_H 1
  2315. | #define HAVE_STRING_H 1
  2316. | #define HAVE_MEMORY_H 1
  2317. | #define HAVE_STRINGS_H 1
  2318. | #define HAVE_INTTYPES_H 1
  2319. | #define HAVE_STDINT_H 1
  2320. | #define HAVE_UNISTD_H 1
  2321. | #define HAVE_SYS_TIME_H 1
  2322. | #define HAVE_STRING_H 1
  2323. | #define HAVE_UNISTD_H 1
  2324. | /* end confdefs.h. */
  2325. | #include <sys/systeminfo.h>
  2326. configure:4921: result: no
  2327. configure:4921: checking for sys/systeminfo.h
  2328. configure:4921: result: no
  2329. configure:4921: checking malloc.h usability
  2330. configure:4921: gcc -c conftest.c >&5
  2331. conftest.c:63:20: error: malloc.h: No such file or directory
  2332. configure:4921: $? = 1
  2333. configure: failed program was:
  2334. | /* confdefs.h */
  2335. | #define PACKAGE_NAME "xboard"
  2336. | #define PACKAGE_TARNAME "xboard"
  2337. | #define PACKAGE_VERSION "master-20100806"
  2338. | #define PACKAGE_STRING "xboard master-20100806"
  2339. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2340. | #define PACKAGE_URL ""
  2341. | #define PACKAGE "xboard"
  2342. | #define VERSION "master-20100806"
  2343. | #define YYTEXT_POINTER 1
  2344. | #define REMOTE_SHELL "rsh"
  2345. | #define STDC_HEADERS 1
  2346. | #define TIME_WITH_SYS_TIME 1
  2347. | #define HAVE_SYS_WAIT_H 1
  2348. | #define HAVE_DIRENT_H 1
  2349. | #define RETSIGTYPE void
  2350. | #define HAVE_SYS_TYPES_H 1
  2351. | #define HAVE_SYS_STAT_H 1
  2352. | #define HAVE_STDLIB_H 1
  2353. | #define HAVE_STRING_H 1
  2354. | #define HAVE_MEMORY_H 1
  2355. | #define HAVE_STRINGS_H 1
  2356. | #define HAVE_INTTYPES_H 1
  2357. | #define HAVE_STDINT_H 1
  2358. | #define HAVE_UNISTD_H 1
  2359. | #define HAVE_SYS_TIME_H 1
  2360. | #define HAVE_STRING_H 1
  2361. | #define HAVE_UNISTD_H 1
  2362. | /* end confdefs.h. */
  2363. | #include <stdio.h>
  2364. | #ifdef HAVE_SYS_TYPES_H
  2365. | # include <sys/types.h>
  2366. | #endif
  2367. | #ifdef HAVE_SYS_STAT_H
  2368. | # include <sys/stat.h>
  2369. | #endif
  2370. | #ifdef STDC_HEADERS
  2371. | # include <stdlib.h>
  2372. | # include <stddef.h>
  2373. | #else
  2374. | # ifdef HAVE_STDLIB_H
  2375. | # include <stdlib.h>
  2376. | # endif
  2377. | #endif
  2378. | #ifdef HAVE_STRING_H
  2379. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2380. | # include <memory.h>
  2381. | # endif
  2382. | # include <string.h>
  2383. | #endif
  2384. | #ifdef HAVE_STRINGS_H
  2385. | # include <strings.h>
  2386. | #endif
  2387. | #ifdef HAVE_INTTYPES_H
  2388. | # include <inttypes.h>
  2389. | #endif
  2390. | #ifdef HAVE_STDINT_H
  2391. | # include <stdint.h>
  2392. | #endif
  2393. | #ifdef HAVE_UNISTD_H
  2394. | # include <unistd.h>
  2395. | #endif
  2396. | #include <malloc.h>
  2397. configure:4921: result: no
  2398. configure:4921: checking malloc.h presence
  2399. configure:4921: gcc -E conftest.c
  2400. conftest.c:30:20: error: malloc.h: No such file or directory
  2401. configure:4921: $? = 1
  2402. configure: failed program was:
  2403. | /* confdefs.h */
  2404. | #define PACKAGE_NAME "xboard"
  2405. | #define PACKAGE_TARNAME "xboard"
  2406. | #define PACKAGE_VERSION "master-20100806"
  2407. | #define PACKAGE_STRING "xboard master-20100806"
  2408. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2409. | #define PACKAGE_URL ""
  2410. | #define PACKAGE "xboard"
  2411. | #define VERSION "master-20100806"
  2412. | #define YYTEXT_POINTER 1
  2413. | #define REMOTE_SHELL "rsh"
  2414. | #define STDC_HEADERS 1
  2415. | #define TIME_WITH_SYS_TIME 1
  2416. | #define HAVE_SYS_WAIT_H 1
  2417. | #define HAVE_DIRENT_H 1
  2418. | #define RETSIGTYPE void
  2419. | #define HAVE_SYS_TYPES_H 1
  2420. | #define HAVE_SYS_STAT_H 1
  2421. | #define HAVE_STDLIB_H 1
  2422. | #define HAVE_STRING_H 1
  2423. | #define HAVE_MEMORY_H 1
  2424. | #define HAVE_STRINGS_H 1
  2425. | #define HAVE_INTTYPES_H 1
  2426. | #define HAVE_STDINT_H 1
  2427. | #define HAVE_UNISTD_H 1
  2428. | #define HAVE_SYS_TIME_H 1
  2429. | #define HAVE_STRING_H 1
  2430. | #define HAVE_UNISTD_H 1
  2431. | /* end confdefs.h. */
  2432. | #include <malloc.h>
  2433. configure:4921: result: no
  2434. configure:4921: checking for malloc.h
  2435. configure:4921: result: no
  2436. configure:4935: checking fcntl.h usability
  2437. configure:4935: gcc -c conftest.c >&5
  2438. configure:4935: $? = 0
  2439. configure:4935: result: yes
  2440. configure:4935: checking fcntl.h presence
  2441. configure:4935: gcc -E conftest.c
  2442. configure:4935: $? = 0
  2443. configure:4935: result: yes
  2444. configure:4935: checking for fcntl.h
  2445. configure:4935: result: yes
  2446. configure:4949: checking sys/socket.h usability
  2447. configure:4949: gcc -c conftest.c >&5
  2448. configure:4949: $? = 0
  2449. configure:4949: result: yes
  2450. configure:4949: checking sys/socket.h presence
  2451. configure:4949: gcc -E conftest.c
  2452. configure:4949: $? = 0
  2453. configure:4949: result: yes
  2454. configure:4949: checking for sys/socket.h
  2455. configure:4949: result: yes
  2456. configure:4960: checking stddef.h usability
  2457. configure:4960: gcc -c conftest.c >&5
  2458. configure:4960: $? = 0
  2459. configure:4960: result: yes
  2460. configure:4960: checking stddef.h presence
  2461. configure:4960: gcc -E conftest.c
  2462. configure:4960: $? = 0
  2463. configure:4960: result: yes
  2464. configure:4960: checking for stddef.h
  2465. configure:4960: result: yes
  2466. configure:4973: checking for _getpty
  2467. configure:4973: gcc -o conftest conftest.c >&5
  2468. Undefined symbols:
  2469. "__getpty", referenced from:
  2470. _main in ccsKMkjo.o
  2471. ld: symbol(s) not found
  2472. collect2: ld returned 1 exit status
  2473. configure:4973: $? = 1
  2474. configure: failed program was:
  2475. | /* confdefs.h */
  2476. | #define PACKAGE_NAME "xboard"
  2477. | #define PACKAGE_TARNAME "xboard"
  2478. | #define PACKAGE_VERSION "master-20100806"
  2479. | #define PACKAGE_STRING "xboard master-20100806"
  2480. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2481. | #define PACKAGE_URL ""
  2482. | #define PACKAGE "xboard"
  2483. | #define VERSION "master-20100806"
  2484. | #define YYTEXT_POINTER 1
  2485. | #define REMOTE_SHELL "rsh"
  2486. | #define STDC_HEADERS 1
  2487. | #define TIME_WITH_SYS_TIME 1
  2488. | #define HAVE_SYS_WAIT_H 1
  2489. | #define HAVE_DIRENT_H 1
  2490. | #define RETSIGTYPE void
  2491. | #define HAVE_SYS_TYPES_H 1
  2492. | #define HAVE_SYS_STAT_H 1
  2493. | #define HAVE_STDLIB_H 1
  2494. | #define HAVE_STRING_H 1
  2495. | #define HAVE_MEMORY_H 1
  2496. | #define HAVE_STRINGS_H 1
  2497. | #define HAVE_INTTYPES_H 1
  2498. | #define HAVE_STDINT_H 1
  2499. | #define HAVE_UNISTD_H 1
  2500. | #define HAVE_SYS_TIME_H 1
  2501. | #define HAVE_STRING_H 1
  2502. | #define HAVE_UNISTD_H 1
  2503. | #define HAVE_FCNTL_H 1
  2504. | #define HAVE_SYS_SOCKET_H 1
  2505. | /* end confdefs.h. */
  2506. | /* Define _getpty to an innocuous variant, in case <limits.h> declares _getpty.
  2507. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2508. | #define _getpty innocuous__getpty
  2509. |
  2510. | /* System header to define __stub macros and hopefully few prototypes,
  2511. | which can conflict with char _getpty (); below.
  2512. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2513. | <limits.h> exists even on freestanding compilers. */
  2514. |
  2515. | #ifdef __STDC__
  2516. | # include <limits.h>
  2517. | #else
  2518. | # include <assert.h>
  2519. | #endif
  2520. |
  2521. | #undef _getpty
  2522. |
  2523. | /* Override any GCC internal prototype to avoid an error.
  2524. | Use char because int might match the return type of a GCC
  2525. | builtin and then its argument prototype would still apply. */
  2526. | #ifdef __cplusplus
  2527. | extern "C"
  2528. | #endif
  2529. | char _getpty ();
  2530. | /* The GNU C library defines this for functions which it implements
  2531. | to always fail with ENOSYS. Some functions are actually named
  2532. | something starting with __ and the normal name is an alias. */
  2533. | #if defined __stub__getpty || defined __stub____getpty
  2534. | choke me
  2535. | #endif
  2536. |
  2537. | int
  2538. | main ()
  2539. | {
  2540. | return _getpty ();
  2541. | ;
  2542. | return 0;
  2543. | }
  2544. configure:4973: result: no
  2545. configure:4973: checking for grantpt
  2546. configure:4973: gcc -o conftest conftest.c >&5
  2547. configure:4973: $? = 0
  2548. configure:4973: result: yes
  2549. configure:4973: checking for setitimer
  2550. configure:4973: gcc -o conftest conftest.c >&5
  2551. configure:4973: $? = 0
  2552. configure:4973: result: yes
  2553. configure:4973: checking for usleep
  2554. configure:4973: gcc -o conftest conftest.c >&5
  2555. configure:4973: $? = 0
  2556. configure:4973: result: yes
  2557. configure:4986: checking for gettimeofday
  2558. configure:4986: gcc -o conftest conftest.c >&5
  2559. configure:4986: $? = 0
  2560. configure:4986: result: yes
  2561. configure:4999: checking for random
  2562. configure:4999: gcc -o conftest conftest.c >&5
  2563. configure:4999: $? = 0
  2564. configure:4999: result: yes
  2565. configure:5012: checking for gethostname
  2566. configure:5012: gcc -o conftest conftest.c >&5
  2567. configure:5012: $? = 0
  2568. configure:5012: result: yes
  2569. configure:5022: checking for setlocale
  2570. configure:5022: gcc -o conftest conftest.c >&5
  2571. configure:5022: $? = 0
  2572. configure:5022: result: yes
  2573. configure:5077: checking for getpseudotty in -lseq
  2574. configure:5102: gcc -o conftest conftest.c -lseq >&5
  2575. ld: library not found for -lseq
  2576. collect2: ld returned 1 exit status
  2577. configure:5102: $? = 1
  2578. configure: failed program was:
  2579. | /* confdefs.h */
  2580. | #define PACKAGE_NAME "xboard"
  2581. | #define PACKAGE_TARNAME "xboard"
  2582. | #define PACKAGE_VERSION "master-20100806"
  2583. | #define PACKAGE_STRING "xboard master-20100806"
  2584. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2585. | #define PACKAGE_URL ""
  2586. | #define PACKAGE "xboard"
  2587. | #define VERSION "master-20100806"
  2588. | #define YYTEXT_POINTER 1
  2589. | #define REMOTE_SHELL "rsh"
  2590. | #define STDC_HEADERS 1
  2591. | #define TIME_WITH_SYS_TIME 1
  2592. | #define HAVE_SYS_WAIT_H 1
  2593. | #define HAVE_DIRENT_H 1
  2594. | #define RETSIGTYPE void
  2595. | #define HAVE_SYS_TYPES_H 1
  2596. | #define HAVE_SYS_STAT_H 1
  2597. | #define HAVE_STDLIB_H 1
  2598. | #define HAVE_STRING_H 1
  2599. | #define HAVE_MEMORY_H 1
  2600. | #define HAVE_STRINGS_H 1
  2601. | #define HAVE_INTTYPES_H 1
  2602. | #define HAVE_STDINT_H 1
  2603. | #define HAVE_UNISTD_H 1
  2604. | #define HAVE_SYS_TIME_H 1
  2605. | #define HAVE_STRING_H 1
  2606. | #define HAVE_UNISTD_H 1
  2607. | #define HAVE_FCNTL_H 1
  2608. | #define HAVE_SYS_SOCKET_H 1
  2609. | #define HAVE_GRANTPT 1
  2610. | #define HAVE_SETITIMER 1
  2611. | #define HAVE_USLEEP 1
  2612. | #define HAVE_GETTIMEOFDAY 1
  2613. | #define HAVE_RANDOM 1
  2614. | #define HAVE_GETHOSTNAME 1
  2615. | /* end confdefs.h. */
  2616. |
  2617. | /* Override any GCC internal prototype to avoid an error.
  2618. | Use char because int might match the return type of a GCC
  2619. | builtin and then its argument prototype would still apply. */
  2620. | #ifdef __cplusplus
  2621. | extern "C"
  2622. | #endif
  2623. | char getpseudotty ();
  2624. | int
  2625. | main ()
  2626. | {
  2627. | return getpseudotty ();
  2628. | ;
  2629. | return 0;
  2630. | }
  2631. configure:5111: result: no
  2632. configure:5124: checking for X
  2633. configure:5232: gcc -E conftest.c
  2634. configure:5232: $? = 0
  2635. configure:5263: gcc -o conftest conftest.c -lX11 >&5
  2636. ld: library not found for -lX11
  2637. collect2: ld returned 1 exit status
  2638. configure:5263: $? = 1
  2639. configure: failed program was:
  2640. | /* confdefs.h */
  2641. | #define PACKAGE_NAME "xboard"
  2642. | #define PACKAGE_TARNAME "xboard"
  2643. | #define PACKAGE_VERSION "master-20100806"
  2644. | #define PACKAGE_STRING "xboard master-20100806"
  2645. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2646. | #define PACKAGE_URL ""
  2647. | #define PACKAGE "xboard"
  2648. | #define VERSION "master-20100806"
  2649. | #define YYTEXT_POINTER 1
  2650. | #define REMOTE_SHELL "rsh"
  2651. | #define STDC_HEADERS 1
  2652. | #define TIME_WITH_SYS_TIME 1
  2653. | #define HAVE_SYS_WAIT_H 1
  2654. | #define HAVE_DIRENT_H 1
  2655. | #define RETSIGTYPE void
  2656. | #define HAVE_SYS_TYPES_H 1
  2657. | #define HAVE_SYS_STAT_H 1
  2658. | #define HAVE_STDLIB_H 1
  2659. | #define HAVE_STRING_H 1
  2660. | #define HAVE_MEMORY_H 1
  2661. | #define HAVE_STRINGS_H 1
  2662. | #define HAVE_INTTYPES_H 1
  2663. | #define HAVE_STDINT_H 1
  2664. | #define HAVE_UNISTD_H 1
  2665. | #define HAVE_SYS_TIME_H 1
  2666. | #define HAVE_STRING_H 1
  2667. | #define HAVE_UNISTD_H 1
  2668. | #define HAVE_FCNTL_H 1
  2669. | #define HAVE_SYS_SOCKET_H 1
  2670. | #define HAVE_GRANTPT 1
  2671. | #define HAVE_SETITIMER 1
  2672. | #define HAVE_USLEEP 1
  2673. | #define HAVE_GETTIMEOFDAY 1
  2674. | #define HAVE_RANDOM 1
  2675. | #define HAVE_GETHOSTNAME 1
  2676. | /* end confdefs.h. */
  2677. | #include <X11/Xlib.h>
  2678. | int
  2679. | main ()
  2680. | {
  2681. | XrmInitialize ()
  2682. | ;
  2683. | return 0;
  2684. | }
  2685. configure:5313: result: libraries /usr/X11/lib, headers
  2686. configure:5333: checking whether -R must be followed by a space
  2687. configure:5349: gcc -o conftest conftest.c -R/usr/X11/lib >&5
  2688. configure:5349: $? = 0
  2689. configure:5350: result: no
  2690. configure:5412: gcc -o conftest conftest.c -L/usr/X11/lib -R/usr/X11/lib -lX11 >&5
  2691. configure:5412: $? = 0
  2692. configure:5510: checking for gethostbyname
  2693. configure:5510: gcc -o conftest conftest.c >&5
  2694. configure:5510: $? = 0
  2695. configure:5510: result: yes
  2696. configure:5607: checking for connect
  2697. configure:5607: gcc -o conftest conftest.c >&5
  2698. configure:5607: $? = 0
  2699. configure:5607: result: yes
  2700. configure:5656: checking for remove
  2701. configure:5656: gcc -o conftest conftest.c >&5
  2702. configure:5656: $? = 0
  2703. configure:5656: result: yes
  2704. configure:5705: checking for shmat
  2705. configure:5705: gcc -o conftest conftest.c >&5
  2706. configure:5705: $? = 0
  2707. configure:5705: result: yes
  2708. configure:5763: checking for IceConnectionNumber in -lICE
  2709. configure:5788: gcc -o conftest -L/usr/X11/lib conftest.c -lICE >&5
  2710. configure:5788: $? = 0
  2711. configure:5797: result: yes
  2712. configure:5814: checking X11/Intrinsic.h usability
  2713. configure:5814: gcc -c conftest.c >&5
  2714. configure:5814: $? = 0
  2715. configure:5814: result: yes
  2716. configure:5814: checking X11/Intrinsic.h presence
  2717. configure:5814: gcc -E conftest.c
  2718. configure:5814: $? = 0
  2719. configure:5814: result: yes
  2720. configure:5814: checking for X11/Intrinsic.h
  2721. configure:5814: result: yes
  2722. configure:5839: checking for XawTextReplace in -lXaw3d
  2723. configure:5864: gcc -o conftest conftest.c -lXaw3d -lXaw >&5
  2724. ld: library not found for -lXaw3d
  2725. collect2: ld returned 1 exit status
  2726. configure:5864: $? = 1
  2727. configure: failed program was:
  2728. | /* confdefs.h */
  2729. | #define PACKAGE_NAME "xboard"
  2730. | #define PACKAGE_TARNAME "xboard"
  2731. | #define PACKAGE_VERSION "master-20100806"
  2732. | #define PACKAGE_STRING "xboard master-20100806"
  2733. | #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  2734. | #define PACKAGE_URL ""
  2735. | #define PACKAGE "xboard"
  2736. | #define VERSION "master-20100806"
  2737. | #define YYTEXT_POINTER 1
  2738. | #define REMOTE_SHELL "rsh"
  2739. | #define STDC_HEADERS 1
  2740. | #define TIME_WITH_SYS_TIME 1
  2741. | #define HAVE_SYS_WAIT_H 1
  2742. | #define HAVE_DIRENT_H 1
  2743. | #define RETSIGTYPE void
  2744. | #define HAVE_SYS_TYPES_H 1
  2745. | #define HAVE_SYS_STAT_H 1
  2746. | #define HAVE_STDLIB_H 1
  2747. | #define HAVE_STRING_H 1
  2748. | #define HAVE_MEMORY_H 1
  2749. | #define HAVE_STRINGS_H 1
  2750. | #define HAVE_INTTYPES_H 1
  2751. | #define HAVE_STDINT_H 1
  2752. | #define HAVE_UNISTD_H 1
  2753. | #define HAVE_SYS_TIME_H 1
  2754. | #define HAVE_STRING_H 1
  2755. | #define HAVE_UNISTD_H 1
  2756. | #define HAVE_FCNTL_H 1
  2757. | #define HAVE_SYS_SOCKET_H 1
  2758. | #define HAVE_GRANTPT 1
  2759. | #define HAVE_SETITIMER 1
  2760. | #define HAVE_USLEEP 1
  2761. | #define HAVE_GETTIMEOFDAY 1
  2762. | #define HAVE_RANDOM 1
  2763. | #define HAVE_GETHOSTNAME 1
  2764. | /* end confdefs.h. */
  2765. |
  2766. | /* Override any GCC internal prototype to avoid an error.
  2767. | Use char because int might match the return type of a GCC
  2768. | builtin and then its argument prototype would still apply. */
  2769. | #ifdef __cplusplus
  2770. | extern "C"
  2771. | #endif
  2772. | char XawTextReplace ();
  2773. | int
  2774. | main ()
  2775. | {
  2776. | return XawTextReplace ();
  2777. | ;
  2778. | return 0;
  2779. | }
  2780. configure:5873: result: no
  2781. configure:5882: checking X11/Xaw/Dialog.h usability
  2782. configure:5882: gcc -c conftest.c >&5
  2783. configure:5882: $? = 0
  2784. configure:5882: result: yes
  2785. configure:5882: checking X11/Xaw/Dialog.h presence
  2786. configure:5882: gcc -E conftest.c
  2787. configure:5882: $? = 0
  2788. configure:5882: result: yes
  2789. configure:5882: checking for X11/Xaw/Dialog.h
  2790. configure:5882: result: yes
  2791. configure:5888: error: in `/Users/adrian/Code/xboard':
  2792. configure:5891: error: --with-Xaw3d was given, but test for Xaw3d failed
  2793. See `config.log' for more details.
  2794.  
  2795. ## ---------------- ##
  2796. ## Cache variables. ##
  2797. ## ---------------- ##
  2798.  
  2799. ac_cv_c_compiler_gnu=yes
  2800. ac_cv_env_CC_set=
  2801. ac_cv_env_CC_value=
  2802. ac_cv_env_CFLAGS_set=
  2803. ac_cv_env_CFLAGS_value=
  2804. ac_cv_env_CPPFLAGS_set=
  2805. ac_cv_env_CPPFLAGS_value=
  2806. ac_cv_env_CPP_set=
  2807. ac_cv_env_CPP_value=
  2808. ac_cv_env_LDFLAGS_set=
  2809. ac_cv_env_LDFLAGS_value=
  2810. ac_cv_env_LIBS_set=
  2811. ac_cv_env_LIBS_value=
  2812. ac_cv_env_XMKMF_set=
  2813. ac_cv_env_XMKMF_value=
  2814. ac_cv_env_build_alias_set=
  2815. ac_cv_env_build_alias_value=
  2816. ac_cv_env_host_alias_set=
  2817. ac_cv_env_host_alias_value=
  2818. ac_cv_env_target_alias_set=
  2819. ac_cv_env_target_alias_value=
  2820. ac_cv_func__getpty=no
  2821. ac_cv_func_connect=yes
  2822. ac_cv_func_gethostbyname=yes
  2823. ac_cv_func_gethostname=yes
  2824. ac_cv_func_gettimeofday=yes
  2825. ac_cv_func_grantpt=yes
  2826. ac_cv_func_random=yes
  2827. ac_cv_func_remove=yes
  2828. ac_cv_func_setitimer=yes
  2829. ac_cv_func_setlocale=yes
  2830. ac_cv_func_shmat=yes
  2831. ac_cv_func_usleep=yes
  2832. ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\''/usr/X11/lib'\'''
  2833. ac_cv_header_X11_Intrinsic_h=yes
  2834. ac_cv_header_X11_Xaw_Dialog_h=yes
  2835. ac_cv_header_dirent_dirent_h=yes
  2836. ac_cv_header_fcntl_h=yes
  2837. ac_cv_header_inttypes_h=yes
  2838. ac_cv_header_malloc_h=no
  2839. ac_cv_header_memory_h=yes
  2840. ac_cv_header_stdc=yes
  2841. ac_cv_header_stddef_h=yes
  2842. ac_cv_header_stdint_h=yes
  2843. ac_cv_header_stdlib_h=yes
  2844. ac_cv_header_string_h=yes
  2845. ac_cv_header_strings_h=yes
  2846. ac_cv_header_stropts_h=no
  2847. ac_cv_header_sys_socket_h=yes
  2848. ac_cv_header_sys_stat_h=yes
  2849. ac_cv_header_sys_systeminfo_h=no
  2850. ac_cv_header_sys_time_h=yes
  2851. ac_cv_header_sys_types_h=yes
  2852. ac_cv_header_sys_wait_h=yes
  2853. ac_cv_header_time=yes
  2854. ac_cv_header_unistd_h=yes
  2855. ac_cv_lib_ICE_IceConnectionNumber=yes
  2856. ac_cv_lib_Xaw3d_XawTextReplace=no
  2857. ac_cv_lib_lex=-lfl
  2858. ac_cv_lib_seq_getpseudotty=no
  2859. ac_cv_objext=o
  2860. ac_cv_path_AWKPATH=/usr/bin/awk
  2861. ac_cv_path_EGREP='/usr/bin/grep -E'
  2862. ac_cv_path_GREP=/usr/bin/grep
  2863. ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
  2864. ac_cv_path_PERLPATH=/usr/bin/perl
  2865. ac_cv_path_install='/sw/bin/ginstall -c'
  2866. ac_cv_path_mkdir=/sw/bin/gmkdir
  2867. ac_cv_prog_AWK=awk
  2868. ac_cv_prog_CPP='gcc -E'
  2869. ac_cv_prog_LEX=flex
  2870. ac_cv_prog_MINFO=makeinfo
  2871. ac_cv_prog_NROFF='nroff -man'
  2872. ac_cv_prog_RSH=rsh
  2873. ac_cv_prog_ac_ct_CC=gcc
  2874. ac_cv_prog_cc_c89=
  2875. ac_cv_prog_cc_g=yes
  2876. ac_cv_prog_cc_gcc_c_o=yes
  2877. ac_cv_prog_lex_root=lex.yy
  2878. ac_cv_prog_lex_yytext_pointer=yes
  2879. ac_cv_prog_make_make_set=yes
  2880. ac_cv_search_opendir='none required'
  2881. ac_cv_search_strerror='none required'
  2882. ac_cv_type_signal=void
  2883. am_cv_CC_dependencies_compiler_type=gcc3
  2884.  
  2885. ## ----------------- ##
  2886. ## Output variables. ##
  2887. ## ----------------- ##
  2888.  
  2889. ACLOCAL='${SHELL} /Users/adrian/Code/xboard/missing --run aclocal-1.11'
  2890. AMDEPBACKSLASH='\'
  2891. AMDEP_FALSE='#'
  2892. AMDEP_TRUE=''
  2893. AMTAR='${SHELL} /Users/adrian/Code/xboard/missing --run tar'
  2894. AUTOCONF='${SHELL} /Users/adrian/Code/xboard/missing --run autoconf'
  2895. AUTOHEADER='${SHELL} /Users/adrian/Code/xboard/missing --run autoheader'
  2896. AUTOMAKE='${SHELL} /Users/adrian/Code/xboard/missing --run automake-1.11'
  2897. AWK='awk'
  2898. AWKPATH='/usr/bin/awk'
  2899. CC='gcc'
  2900. CCDEPMODE='depmode=gcc3'
  2901. CFLAGS=' '
  2902. CONF_CFLAGS=''
  2903. CONF_LDFLAGS=''
  2904. CPP='gcc -E'
  2905. CPPFLAGS=''
  2906. CYGPATH_W='echo'
  2907. DEFS=''
  2908. DEPDIR='.deps'
  2909. ECHO_C='\c'
  2910. ECHO_N=''
  2911. ECHO_T=''
  2912. EGREP='/usr/bin/grep -E'
  2913. EXEEXT=''
  2914. GREP='/usr/bin/grep'
  2915. INSTALL_DATA='${INSTALL} -m 644'
  2916. INSTALL_PROGRAM='${INSTALL}'
  2917. INSTALL_SCRIPT='${INSTALL}'
  2918. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  2919. LDFLAGS=''
  2920. LEX='flex'
  2921. LEXLIB='-lfl'
  2922. LEX_OUTPUT_ROOT='lex.yy'
  2923. LIBOBJS=''
  2924. LIBS=''
  2925. LTLIBOBJS=''
  2926. MAKEINFO='${SHELL} /Users/adrian/Code/xboard/missing --run makeinfo'
  2927. MINFO='makeinfo'
  2928. MKDIR_P='/sw/bin/gmkdir -p'
  2929. NROFF='nroff -man'
  2930. NROFFFLAGS=''
  2931. OBJEXT='o'
  2932. PACKAGE='xboard'
  2933. PACKAGE_BUGREPORT='bug-xboard@gnu.org'
  2934. PACKAGE_NAME='xboard'
  2935. PACKAGE_STRING='xboard master-20100806'
  2936. PACKAGE_TARNAME='xboard'
  2937. PACKAGE_URL=''
  2938. PACKAGE_VERSION='master-20100806'
  2939. PATH_SEPARATOR=':'
  2940. PERLPATH='/usr/bin/perl'
  2941. POST_XMULIB=''
  2942. PRE_XMULIB=''
  2943. RSH='rsh'
  2944. SET_MAKE=''
  2945. SHELL='/bin/sh'
  2946. STRIP=''
  2947. VERSION='master-20100806'
  2948. XAW_LIBS=''
  2949. XMKMF=''
  2950. X_CFLAGS=''
  2951. X_EXTRA_LIBS=''
  2952. X_LIBS=' -L/usr/X11/lib -R/usr/X11/lib'
  2953. X_PRE_LIBS=' -lSM -lICE'
  2954. ZIPPY_FALSE=''
  2955. ZIPPY_TRUE=''
  2956. ac_ct_CC='gcc'
  2957. am__EXEEXT_FALSE=''
  2958. am__EXEEXT_TRUE=''
  2959. am__fastdepCC_FALSE='#'
  2960. am__fastdepCC_TRUE=''
  2961. am__include='include'
  2962. am__isrc=''
  2963. am__leading_dot='.'
  2964. am__quote=''
  2965. am__tar='${AMTAR} chof - "$$tardir"'
  2966. am__untar='${AMTAR} xf -'
  2967. bindir='${exec_prefix}/bin'
  2968. build=''
  2969. build_alias=''
  2970. build_cpu=''
  2971. build_os=''
  2972. build_vendor=''
  2973. datadir='${datarootdir}'
  2974. datarootdir='${prefix}/share'
  2975. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  2976. dvidir='${docdir}'
  2977. exec_prefix='NONE'
  2978. host=''
  2979. host_alias=''
  2980. host_cpu=''
  2981. host_os=''
  2982. host_vendor=''
  2983. htmldir='${docdir}'
  2984. includedir='${prefix}/include'
  2985. infodir='${datarootdir}/info'
  2986. install_sh='${SHELL} /Users/adrian/Code/xboard/install-sh'
  2987. libdir='${exec_prefix}/lib'
  2988. libexecdir='${exec_prefix}/libexec'
  2989. localedir='${datarootdir}/locale'
  2990. localstatedir='${prefix}/var'
  2991. mandir='${datarootdir}/man'
  2992. mkdir_p='/sw/bin/gmkdir -p'
  2993. oldincludedir='/usr/include'
  2994. pdfdir='${docdir}'
  2995. prefix='NONE'
  2996. program_transform_name='s,x,x,'
  2997. psdir='${docdir}'
  2998. sbindir='${exec_prefix}/sbin'
  2999. sharedstatedir='${prefix}/com'
  3000. sysconfdir='${prefix}/etc'
  3001. target_alias=''
  3002.  
  3003. ## ----------- ##
  3004. ## confdefs.h. ##
  3005. ## ----------- ##
  3006.  
  3007. /* confdefs.h */
  3008. #define PACKAGE_NAME "xboard"
  3009. #define PACKAGE_TARNAME "xboard"
  3010. #define PACKAGE_VERSION "master-20100806"
  3011. #define PACKAGE_STRING "xboard master-20100806"
  3012. #define PACKAGE_BUGREPORT "bug-xboard@gnu.org"
  3013. #define PACKAGE_URL ""
  3014. #define PACKAGE "xboard"
  3015. #define VERSION "master-20100806"
  3016. #define YYTEXT_POINTER 1
  3017. #define REMOTE_SHELL "rsh"
  3018. #define STDC_HEADERS 1
  3019. #define TIME_WITH_SYS_TIME 1
  3020. #define HAVE_SYS_WAIT_H 1
  3021. #define HAVE_DIRENT_H 1
  3022. #define RETSIGTYPE void
  3023. #define HAVE_SYS_TYPES_H 1
  3024. #define HAVE_SYS_STAT_H 1
  3025. #define HAVE_STDLIB_H 1
  3026. #define HAVE_STRING_H 1
  3027. #define HAVE_MEMORY_H 1
  3028. #define HAVE_STRINGS_H 1
  3029. #define HAVE_INTTYPES_H 1
  3030. #define HAVE_STDINT_H 1
  3031. #define HAVE_UNISTD_H 1
  3032. #define HAVE_SYS_TIME_H 1
  3033. #define HAVE_STRING_H 1
  3034. #define HAVE_UNISTD_H 1
  3035. #define HAVE_FCNTL_H 1
  3036. #define HAVE_SYS_SOCKET_H 1
  3037. #define HAVE_GRANTPT 1
  3038. #define HAVE_SETITIMER 1
  3039. #define HAVE_USLEEP 1
  3040. #define HAVE_GETTIMEOFDAY 1
  3041. #define HAVE_RANDOM 1
  3042. #define HAVE_GETHOSTNAME 1
  3043.  
  3044. configure: exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement