Guest User

Untitled

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