dominus

Untitled

Dec 17th, 2019
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 331.39 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by Exult configure 1.5.0git, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure -q --with-sdl=sdl2
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = iMac.fritz.box
  14. uname -m = x86_64
  15. uname -r = 19.2.0
  16. uname -s = Darwin
  17. uname -v = Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
  18.  
  19. /usr/bin/uname -p = i386
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = Mach kernel version:
  26. Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
  27. Kernel configured for up to 20 processors.
  28. 10 processors are physically available.
  29. 20 processors are logically available.
  30. Processor type: x86_64h (Intel x86-64h Haswell)
  31. Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  32. Primary memory available: 128.00 gigabytes
  33. Default processor set: 463 tasks, 2395 threads, 20 processors
  34. Load average: 0.44, Mach factor: 19.55
  35. /bin/machine = unknown
  36. /usr/bin/oslevel = unknown
  37. /bin/universe = unknown
  38.  
  39. PATH: /opt/x86_64/bin/
  40. PATH: /usr/bin
  41. PATH: /bin
  42. PATH: /usr/sbin
  43. PATH: /sbin
  44. PATH: /usr/local/bin
  45.  
  46.  
  47. ## ----------- ##
  48. ## Core tests. ##
  49. ## ----------- ##
  50.  
  51. configure:2785: checking build system type
  52. configure:2799: result: x86_64-apple-darwin19.2.0
  53. configure:2819: checking host system type
  54. configure:2832: result: x86_64-apple-darwin19.2.0
  55. configure:2852: checking target system type
  56. configure:2865: result: x86_64-apple-darwin19.2.0
  57. configure:2908: checking for a BSD-compatible install
  58. configure:2976: result: /usr/bin/install -c
  59. configure:2987: checking whether build environment is sane
  60. configure:3042: result: yes
  61. configure:3193: checking for a thread-safe mkdir -p
  62. configure:3232: result: ./install-sh -c -d
  63. configure:3239: checking for gawk
  64. configure:3269: result: no
  65. configure:3239: checking for mawk
  66. configure:3269: result: no
  67. configure:3239: checking for nawk
  68. configure:3269: result: no
  69. configure:3239: checking for awk
  70. configure:3255: found /usr/bin/awk
  71. configure:3266: result: awk
  72. configure:3277: checking whether make sets $(MAKE)
  73. configure:3299: result: yes
  74. configure:3328: checking whether make supports nested variables
  75. configure:3345: result: yes
  76. configure:3505: checking windowing system
  77. configure:3573: result: Mac OS X
  78. configure:3605: checking for gawk
  79. configure:3632: result: awk
  80. configure:3769: checking for C++ compiler version
  81. configure:3778: /usr/bin/clang++ --version >&5
  82. Apple clang version 11.0.0 (clang-1100.0.33.16)
  83. Target: x86_64-apple-darwin19.2.0
  84. Thread model: posix
  85. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  86. configure:3789: $? = 0
  87. configure:3778: /usr/bin/clang++ -v >&5
  88. Apple clang version 11.0.0 (clang-1100.0.33.16)
  89. Target: x86_64-apple-darwin19.2.0
  90. Thread model: posix
  91. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  92. configure:3789: $? = 0
  93. configure:3778: /usr/bin/clang++ -V >&5
  94. clang: error: unsupported option '-V -Wno-framework-include-private-from-public'
  95. clang: error: no input files
  96. configure:3789: $? = 1
  97. configure:3778: /usr/bin/clang++ -qversion >&5
  98. clang: error: unknown argument '-qversion', did you mean '--version'?
  99. clang: error: no input files
  100. configure:3789: $? = 1
  101. configure:3809: checking whether the C++ compiler works
  102. configure:3831: /usr/bin/clang++ -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  103. configure:3835: $? = 0
  104. configure:3883: result: yes
  105. configure:3886: checking for C++ compiler default output file name
  106. configure:3888: result: a.out
  107. configure:3894: checking for suffix of executables
  108. configure:3901: /usr/bin/clang++ -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  109. configure:3905: $? = 0
  110. configure:3927: result:
  111. configure:3949: checking whether we are cross compiling
  112. configure:3957: /usr/bin/clang++ -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  113. configure:3961: $? = 0
  114. configure:3968: ./conftest
  115. configure:3972: $? = 0
  116. configure:3987: result: no
  117. configure:3992: checking for suffix of object files
  118. configure:4014: /usr/bin/clang++ -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  119. configure:4018: $? = 0
  120. configure:4039: result: o
  121. configure:4043: checking whether we are using the GNU C++ compiler
  122. configure:4062: /usr/bin/clang++ -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  123. configure:4062: $? = 0
  124. configure:4071: result: yes
  125. configure:4080: checking whether /usr/bin/clang++ accepts -g
  126. configure:4100: /usr/bin/clang++ -c -g -I/opt/x86_64/include conftest.cpp >&5
  127. configure:4100: $? = 0
  128. configure:4141: result: yes
  129. configure:4175: checking for style of include used by make
  130. configure:4203: result: GNU
  131. configure:4229: checking dependency style of /usr/bin/clang++
  132. configure:4340: result: gcc3
  133. configure:4401: checking whether /usr/bin/clang++ supports C++17 features with -std=c++17
  134. configure:5195: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  135. configure:5195: $? = 0
  136. configure:5204: result: yes
  137. configure:5728: checking how to run the C++ preprocessor
  138. configure:5755: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  139. configure:5755: $? = 0
  140. configure:5769: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  141. conftest.cpp:15:10: fatal error: 'ac_nonexistent.h' file not found
  142. #include <ac_nonexistent.h>
  143. ^~~~~~~~~~~~~~~~~~
  144. 1 error generated.
  145. configure:5769: $? = 1
  146. configure: failed program was:
  147. | /* confdefs.h */
  148. | #define PACKAGE_NAME "Exult"
  149. | #define PACKAGE_TARNAME "exult"
  150. | #define PACKAGE_VERSION "1.5.0git"
  151. | #define PACKAGE_STRING "Exult 1.5.0git"
  152. | #define PACKAGE_BUGREPORT ""
  153. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  154. | #define PACKAGE "exult"
  155. | #define VERSION "1.5.0git"
  156. | #define PACKAGE "exult"
  157. | #define VERSION "1.5.0git"
  158. | #define MACOSX 1
  159. | #define HAVE_CXX17 1
  160. | /* end confdefs.h. */
  161. | #include <ac_nonexistent.h>
  162. configure:5794: result: /usr/bin/clang++ -std=c++17 -E
  163. configure:5814: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  164. configure:5814: $? = 0
  165. configure:5828: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  166. conftest.cpp:15:10: fatal error: 'ac_nonexistent.h' file not found
  167. #include <ac_nonexistent.h>
  168. ^~~~~~~~~~~~~~~~~~
  169. 1 error generated.
  170. configure:5828: $? = 1
  171. configure: failed program was:
  172. | /* confdefs.h */
  173. | #define PACKAGE_NAME "Exult"
  174. | #define PACKAGE_TARNAME "exult"
  175. | #define PACKAGE_VERSION "1.5.0git"
  176. | #define PACKAGE_STRING "Exult 1.5.0git"
  177. | #define PACKAGE_BUGREPORT ""
  178. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  179. | #define PACKAGE "exult"
  180. | #define VERSION "1.5.0git"
  181. | #define PACKAGE "exult"
  182. | #define VERSION "1.5.0git"
  183. | #define MACOSX 1
  184. | #define HAVE_CXX17 1
  185. | /* end confdefs.h. */
  186. | #include <ac_nonexistent.h>
  187. configure:5862: checking for flex
  188. configure:5878: found /usr/bin/flex
  189. configure:5889: result: flex
  190. configure:5927: flex conftest.l
  191. configure:5931: $? = 0
  192. configure:5933: checking lex output file root
  193. configure:5947: result: lex.yy
  194. configure:5952: checking lex library
  195. configure:5966: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  196. lex.yy.c:646:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  197. register yy_state_type yy_current_state;
  198. ^~~~~~~~~
  199. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  200. register char *yy_cp, *yy_bp;
  201. ^~~~~~~~~
  202. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  203. register char *yy_cp, *yy_bp;
  204. ^~~~~~~~~
  205. lex.yy.c:648:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  206. register int yy_act;
  207. ^~~~~~~~~
  208. lex.yy.c:712:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  209. register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  210. ^~~~~~~~~
  211. conftest.l:7:14: error: use of undeclared identifier 'input'
  212. yyless ((input () != 0)); }
  213. ^
  214. lex.yy.c:934:6: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  215. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  216. ^~~~~~~~~
  217. lex.yy.c:935:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  218. register char *source = (yytext_ptr);
  219. ^~~~~~~~~
  220. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  221. register int number_to_move, i;
  222. ^~~~~~~~~
  223. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  224. register int number_to_move, i;
  225. ^~~~~~~~~
  226. lex.yy.c:1039:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  227. register yy_state_type yy_current_state;
  228. ^~~~~~~~~
  229. lex.yy.c:1040:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  230. register char *yy_cp;
  231. ^~~~~~~~~
  232. lex.yy.c:1049:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  233. register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  234. ^~~~~~~~~
  235. lex.yy.c:1070:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  236. register int yy_is_jam;
  237. ^~~~~~~~~
  238. lex.yy.c:1072:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  239. register YY_CHAR yy_c = 1;
  240. ^~~~~~~~~
  241. lex.yy.c:1087:33: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  242. static void yyunput (int c, register char * yy_bp )
  243. ^~~~~~~~~
  244. lex.yy.c:1089:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  245. register char *yy_cp;
  246. ^~~~~~~~~
  247. lex.yy.c:1099:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  248. register yy_size_t number_to_move = (yy_n_chars) + 2;
  249. ^~~~~~~~~
  250. lex.yy.c:1100:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  251. register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  252. ^~~~~~~~~
  253. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  254. 20 errors generated.
  255. configure:5966: $? = 1
  256. configure: failed program was:
  257. | /* confdefs.h */
  258. | #define PACKAGE_NAME "Exult"
  259. | #define PACKAGE_TARNAME "exult"
  260. | #define PACKAGE_VERSION "1.5.0git"
  261. | #define PACKAGE_STRING "Exult 1.5.0git"
  262. | #define PACKAGE_BUGREPORT ""
  263. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  264. | #define PACKAGE "exult"
  265. | #define VERSION "1.5.0git"
  266. | #define PACKAGE "exult"
  267. | #define VERSION "1.5.0git"
  268. | #define MACOSX 1
  269. | #define HAVE_CXX17 1
  270. | /* end confdefs.h. */
  271. |
  272. | #line 3 "lex.yy.c"
  273. |
  274. | #define YY_INT_ALIGNED short int
  275. |
  276. | /* A lexical scanner generated by flex */
  277. |
  278. | #define FLEX_SCANNER
  279. | #define YY_FLEX_MAJOR_VERSION 2
  280. | #define YY_FLEX_MINOR_VERSION 5
  281. | #define YY_FLEX_SUBMINOR_VERSION 35
  282. | #if YY_FLEX_SUBMINOR_VERSION > 0
  283. | #define FLEX_BETA
  284. | #endif
  285. |
  286. | /* First, we deal with platform-specific or compiler-specific issues. */
  287. |
  288. | /* begin standard C headers. */
  289. | #include <stdio.h>
  290. | #include <string.h>
  291. | #include <errno.h>
  292. | #include <stdlib.h>
  293. |
  294. | /* end standard C headers. */
  295. |
  296. | /* flex integer type definitions */
  297. |
  298. | #ifndef FLEXINT_H
  299. | #define FLEXINT_H
  300. |
  301. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  302. |
  303. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  304. |
  305. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  306. | * if you want the limit (max/min) macros for int types.
  307. | */
  308. | #ifndef __STDC_LIMIT_MACROS
  309. | #define __STDC_LIMIT_MACROS 1
  310. | #endif
  311. |
  312. | #include <inttypes.h>
  313. | typedef int8_t flex_int8_t;
  314. | typedef uint8_t flex_uint8_t;
  315. | typedef int16_t flex_int16_t;
  316. | typedef uint16_t flex_uint16_t;
  317. | typedef int32_t flex_int32_t;
  318. | typedef uint32_t flex_uint32_t;
  319. | typedef uint64_t flex_uint64_t;
  320. | #else
  321. | typedef signed char flex_int8_t;
  322. | typedef short int flex_int16_t;
  323. | typedef int flex_int32_t;
  324. | typedef unsigned char flex_uint8_t;
  325. | typedef unsigned short int flex_uint16_t;
  326. | typedef unsigned int flex_uint32_t;
  327. | #endif /* ! C99 */
  328. |
  329. | /* Limits of integral types. */
  330. | #ifndef INT8_MIN
  331. | #define INT8_MIN (-128)
  332. | #endif
  333. | #ifndef INT16_MIN
  334. | #define INT16_MIN (-32767-1)
  335. | #endif
  336. | #ifndef INT32_MIN
  337. | #define INT32_MIN (-2147483647-1)
  338. | #endif
  339. | #ifndef INT8_MAX
  340. | #define INT8_MAX (127)
  341. | #endif
  342. | #ifndef INT16_MAX
  343. | #define INT16_MAX (32767)
  344. | #endif
  345. | #ifndef INT32_MAX
  346. | #define INT32_MAX (2147483647)
  347. | #endif
  348. | #ifndef UINT8_MAX
  349. | #define UINT8_MAX (255U)
  350. | #endif
  351. | #ifndef UINT16_MAX
  352. | #define UINT16_MAX (65535U)
  353. | #endif
  354. | #ifndef UINT32_MAX
  355. | #define UINT32_MAX (4294967295U)
  356. | #endif
  357. |
  358. | #endif /* ! FLEXINT_H */
  359. |
  360. | #ifdef __cplusplus
  361. |
  362. | /* The "const" storage-class-modifier is valid. */
  363. | #define YY_USE_CONST
  364. |
  365. | #else /* ! __cplusplus */
  366. |
  367. | /* C99 requires __STDC__ to be defined as 1. */
  368. | #if defined (__STDC__)
  369. |
  370. | #define YY_USE_CONST
  371. |
  372. | #endif /* defined (__STDC__) */
  373. | #endif /* ! __cplusplus */
  374. |
  375. | #ifdef YY_USE_CONST
  376. | #define yyconst const
  377. | #else
  378. | #define yyconst
  379. | #endif
  380. |
  381. | /* Returned upon end-of-file. */
  382. | #define YY_NULL 0
  383. |
  384. | /* Promotes a possibly negative, possibly signed char to an unsigned
  385. | * integer for use as an array index. If the signed char is negative,
  386. | * we want to instead treat it as an 8-bit unsigned char, hence the
  387. | * double cast.
  388. | */
  389. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  390. |
  391. | /* Enter a start condition. This macro really ought to take a parameter,
  392. | * but we do it the disgusting crufty way forced on us by the ()-less
  393. | * definition of BEGIN.
  394. | */
  395. | #define BEGIN (yy_start) = 1 + 2 *
  396. |
  397. | /* Translate the current start state into a value that can be later handed
  398. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  399. | * compatibility.
  400. | */
  401. | #define YY_START (((yy_start) - 1) / 2)
  402. | #define YYSTATE YY_START
  403. |
  404. | /* Action number for EOF rule of a given start state. */
  405. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  406. |
  407. | /* Special action meaning "start processing a new file". */
  408. | #define YY_NEW_FILE yyrestart(yyin )
  409. |
  410. | #define YY_END_OF_BUFFER_CHAR 0
  411. |
  412. | /* Size of default input buffer. */
  413. | #ifndef YY_BUF_SIZE
  414. | #define YY_BUF_SIZE 16384
  415. | #endif
  416. |
  417. | /* The state buf must be large enough to hold one state per character in the main buffer.
  418. | */
  419. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  420. |
  421. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  422. | #define YY_TYPEDEF_YY_BUFFER_STATE
  423. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  424. | #endif
  425. |
  426. | #ifndef YY_TYPEDEF_YY_SIZE_T
  427. | #define YY_TYPEDEF_YY_SIZE_T
  428. | typedef size_t yy_size_t;
  429. | #endif
  430. |
  431. | extern yy_size_t yyleng;
  432. |
  433. | extern FILE *yyin, *yyout;
  434. |
  435. | #define EOB_ACT_CONTINUE_SCAN 0
  436. | #define EOB_ACT_END_OF_FILE 1
  437. | #define EOB_ACT_LAST_MATCH 2
  438. |
  439. | #define YY_LESS_LINENO(n)
  440. |
  441. | /* Return all but the first "n" matched characters back to the input stream. */
  442. | #define yyless(n) \
  443. | do \
  444. | { \
  445. | /* Undo effects of setting up yytext. */ \
  446. | int yyless_macro_arg = (n); \
  447. | YY_LESS_LINENO(yyless_macro_arg);\
  448. | *yy_cp = (yy_hold_char); \
  449. | YY_RESTORE_YY_MORE_OFFSET \
  450. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  451. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  452. | } \
  453. | while ( 0 )
  454. |
  455. | #define unput(c) yyunput( c, (yytext_ptr) )
  456. |
  457. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  458. | #define YY_STRUCT_YY_BUFFER_STATE
  459. | struct yy_buffer_state
  460. | {
  461. | FILE *yy_input_file;
  462. |
  463. | char *yy_ch_buf; /* input buffer */
  464. | char *yy_buf_pos; /* current position in input buffer */
  465. |
  466. | /* Size of input buffer in bytes, not including room for EOB
  467. | * characters.
  468. | */
  469. | yy_size_t yy_buf_size;
  470. |
  471. | /* Number of characters read into yy_ch_buf, not including EOB
  472. | * characters.
  473. | */
  474. | yy_size_t yy_n_chars;
  475. |
  476. | /* Whether we "own" the buffer - i.e., we know we created it,
  477. | * and can realloc() it to grow it, and should free() it to
  478. | * delete it.
  479. | */
  480. | int yy_is_our_buffer;
  481. |
  482. | /* Whether this is an "interactive" input source; if so, and
  483. | * if we're using stdio for input, then we want to use getc()
  484. | * instead of fread(), to make sure we stop fetching input after
  485. | * each newline.
  486. | */
  487. | int yy_is_interactive;
  488. |
  489. | /* Whether we're considered to be at the beginning of a line.
  490. | * If so, '^' rules will be active on the next match, otherwise
  491. | * not.
  492. | */
  493. | int yy_at_bol;
  494. |
  495. | int yy_bs_lineno; /**< The line count. */
  496. | int yy_bs_column; /**< The column count. */
  497. |
  498. | /* Whether to try to fill the input buffer when we reach the
  499. | * end of it.
  500. | */
  501. | int yy_fill_buffer;
  502. |
  503. | int yy_buffer_status;
  504. |
  505. | #define YY_BUFFER_NEW 0
  506. | #define YY_BUFFER_NORMAL 1
  507. | /* When an EOF's been seen but there's still some text to process
  508. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  509. | * shouldn't try reading from the input source any more. We might
  510. | * still have a bunch of tokens to match, though, because of
  511. | * possible backing-up.
  512. | *
  513. | * When we actually see the EOF, we change the status to "new"
  514. | * (via yyrestart()), so that the user can continue scanning by
  515. | * just pointing yyin at a new input file.
  516. | */
  517. | #define YY_BUFFER_EOF_PENDING 2
  518. |
  519. | };
  520. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  521. |
  522. | /* Stack of input buffers. */
  523. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  524. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  525. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  526. |
  527. | /* We provide macros for accessing buffer states in case in the
  528. | * future we want to put the buffer states in a more general
  529. | * "scanner state".
  530. | *
  531. | * Returns the top of the stack, or NULL.
  532. | */
  533. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  534. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  535. | : NULL)
  536. |
  537. | /* Same as previous macro, but useful when we know that the buffer stack is not
  538. | * NULL or when we need an lvalue. For internal use only.
  539. | */
  540. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  541. |
  542. | /* yy_hold_char holds the character lost when yytext is formed. */
  543. | static char yy_hold_char;
  544. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  545. | yy_size_t yyleng;
  546. |
  547. | /* Points to current character in buffer. */
  548. | static char *yy_c_buf_p = (char *) 0;
  549. | static int yy_init = 0; /* whether we need to initialize */
  550. | static int yy_start = 0; /* start state number */
  551. |
  552. | /* Flag which is used to allow yywrap()'s to do buffer switches
  553. | * instead of setting up a fresh yyin. A bit of a hack ...
  554. | */
  555. | static int yy_did_buffer_switch_on_eof;
  556. |
  557. | void yyrestart (FILE *input_file );
  558. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  559. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  560. | void yy_delete_buffer (YY_BUFFER_STATE b );
  561. | void yy_flush_buffer (YY_BUFFER_STATE b );
  562. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  563. | void yypop_buffer_state (void );
  564. |
  565. | static void yyensure_buffer_stack (void );
  566. | static void yy_load_buffer_state (void );
  567. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  568. |
  569. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  570. |
  571. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  572. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  573. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  574. |
  575. | void *yyalloc (yy_size_t );
  576. | void *yyrealloc (void *,yy_size_t );
  577. | void yyfree (void * );
  578. |
  579. | #define yy_new_buffer yy_create_buffer
  580. |
  581. | #define yy_set_interactive(is_interactive) \
  582. | { \
  583. | if ( ! YY_CURRENT_BUFFER ){ \
  584. | yyensure_buffer_stack (); \
  585. | YY_CURRENT_BUFFER_LVALUE = \
  586. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  587. | } \
  588. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  589. | }
  590. |
  591. | #define yy_set_bol(at_bol) \
  592. | { \
  593. | if ( ! YY_CURRENT_BUFFER ){\
  594. | yyensure_buffer_stack (); \
  595. | YY_CURRENT_BUFFER_LVALUE = \
  596. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  597. | } \
  598. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  599. | }
  600. |
  601. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  602. |
  603. | /* Begin user sect3 */
  604. |
  605. | typedef unsigned char YY_CHAR;
  606. |
  607. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  608. |
  609. | typedef int yy_state_type;
  610. |
  611. | extern int yylineno;
  612. |
  613. | int yylineno = 1;
  614. |
  615. | extern char *yytext;
  616. | #define yytext_ptr yytext
  617. |
  618. | static yy_state_type yy_get_previous_state (void );
  619. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  620. | static int yy_get_next_buffer (void );
  621. | static void yy_fatal_error (yyconst char msg[] );
  622. |
  623. | /* Done after the current pattern has been matched and before the
  624. | * corresponding action - sets up yytext.
  625. | */
  626. | #define YY_DO_BEFORE_ACTION \
  627. | (yytext_ptr) = yy_bp; \
  628. | (yytext_ptr) -= (yy_more_len); \
  629. | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
  630. | (yy_hold_char) = *yy_cp; \
  631. | *yy_cp = '\0'; \
  632. | (yy_c_buf_p) = yy_cp;
  633. |
  634. | #define YY_NUM_RULES 8
  635. | #define YY_END_OF_BUFFER 9
  636. | /* This struct is not used in this scanner,
  637. | but its presence is necessary. */
  638. | struct yy_trans_info
  639. | {
  640. | flex_int32_t yy_verify;
  641. | flex_int32_t yy_nxt;
  642. | };
  643. | static yyconst flex_int16_t yy_acclist[23] =
  644. | { 0,
  645. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  646. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  647. | 7, 8
  648. | } ;
  649. |
  650. | static yyconst flex_int16_t yy_accept[14] =
  651. | { 0,
  652. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  653. | 20, 23, 23
  654. | } ;
  655. |
  656. | static yyconst flex_int32_t yy_ec[256] =
  657. | { 0,
  658. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  659. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  660. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  661. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  662. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  663. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  664. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  665. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  666. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  667. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  668. |
  669. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  670. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  671. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  672. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  673. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  674. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  675. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  676. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  677. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  678. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  679. |
  680. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  681. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  682. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  683. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  684. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  685. | 1, 1, 1, 1, 1
  686. | } ;
  687. |
  688. | static yyconst flex_int32_t yy_meta[9] =
  689. | { 0,
  690. | 1, 1, 1, 1, 1, 1, 1, 1
  691. | } ;
  692. |
  693. | static yyconst flex_int16_t yy_base[13] =
  694. | { 0,
  695. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  696. | 10, 10
  697. | } ;
  698. |
  699. | static yyconst flex_int16_t yy_def[13] =
  700. | { 0,
  701. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  702. | 12, 0
  703. | } ;
  704. |
  705. | static yyconst flex_int16_t yy_nxt[19] =
  706. | { 0,
  707. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  708. | 12, 12, 12, 12, 12, 12, 12, 12
  709. | } ;
  710. |
  711. | static yyconst flex_int16_t yy_chk[19] =
  712. | { 0,
  713. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  714. | 12, 12, 12, 12, 12, 12, 12, 12
  715. | } ;
  716. |
  717. | extern int yy_flex_debug;
  718. | int yy_flex_debug = 0;
  719. |
  720. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  721. | static char *yy_full_match;
  722. | static int yy_lp;
  723. | #define REJECT \
  724. | { \
  725. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  726. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  727. | ++(yy_lp); \
  728. | goto find_rule; \
  729. | }
  730. |
  731. | static int yy_more_flag = 0;
  732. | static int yy_more_len = 0;
  733. | #define yymore() ((yy_more_flag) = 1)
  734. | #define YY_MORE_ADJ (yy_more_len)
  735. | #define YY_RESTORE_YY_MORE_OFFSET
  736. | char *yytext;
  737. | #line 1 "conftest.l"
  738. | #line 469 "lex.yy.c"
  739. |
  740. | #define INITIAL 0
  741. |
  742. | #ifndef YY_NO_UNISTD_H
  743. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  744. | * down here because we want the user's section 1 to have been scanned first.
  745. | * The user has a chance to override it with an option.
  746. | */
  747. | #include <unistd.h>
  748. | #endif
  749. |
  750. | #ifndef YY_EXTRA_TYPE
  751. | #define YY_EXTRA_TYPE void *
  752. | #endif
  753. |
  754. | static int yy_init_globals (void );
  755. |
  756. | /* Accessor methods to globals.
  757. | These are made visible to non-reentrant scanners for convenience. */
  758. |
  759. | int yylex_destroy (void );
  760. |
  761. | int yyget_debug (void );
  762. |
  763. | void yyset_debug (int debug_flag );
  764. |
  765. | YY_EXTRA_TYPE yyget_extra (void );
  766. |
  767. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  768. |
  769. | FILE *yyget_in (void );
  770. |
  771. | void yyset_in (FILE * in_str );
  772. |
  773. | FILE *yyget_out (void );
  774. |
  775. | void yyset_out (FILE * out_str );
  776. |
  777. | yy_size_t yyget_leng (void );
  778. |
  779. | char *yyget_text (void );
  780. |
  781. | int yyget_lineno (void );
  782. |
  783. | void yyset_lineno (int line_number );
  784. |
  785. | /* Macros after this point can all be overridden by user definitions in
  786. | * section 1.
  787. | */
  788. |
  789. | #ifndef YY_SKIP_YYWRAP
  790. | #ifdef __cplusplus
  791. | extern "C" int yywrap (void );
  792. | #else
  793. | extern int yywrap (void );
  794. | #endif
  795. | #endif
  796. |
  797. | static void yyunput (int c,char *buf_ptr );
  798. |
  799. | #ifndef yytext_ptr
  800. | static void yy_flex_strncpy (char *,yyconst char *,int );
  801. | #endif
  802. |
  803. | #ifdef YY_NEED_STRLEN
  804. | static int yy_flex_strlen (yyconst char * );
  805. | #endif
  806. |
  807. | #ifndef YY_NO_INPUT
  808. |
  809. | #ifdef __cplusplus
  810. | static int yyinput (void );
  811. | #else
  812. | static int input (void );
  813. | #endif
  814. |
  815. | #endif
  816. |
  817. | /* Amount of stuff to slurp up with each read. */
  818. | #ifndef YY_READ_BUF_SIZE
  819. | #define YY_READ_BUF_SIZE 8192
  820. | #endif
  821. |
  822. | /* Copy whatever the last rule matched to the standard output. */
  823. | #ifndef ECHO
  824. | /* This used to be an fputs(), but since the string might contain NUL's,
  825. | * we now use fwrite().
  826. | */
  827. | #define ECHO fwrite( yytext, yyleng, 1, yyout )
  828. | #endif
  829. |
  830. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  831. | * is returned in "result".
  832. | */
  833. | #ifndef YY_INPUT
  834. | #define YY_INPUT(buf,result,max_size) \
  835. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  836. | { \
  837. | int c = '*'; \
  838. | yy_size_t n; \
  839. | for ( n = 0; n < max_size && \
  840. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  841. | buf[n] = (char) c; \
  842. | if ( c == '\n' ) \
  843. | buf[n++] = (char) c; \
  844. | if ( c == EOF && ferror( yyin ) ) \
  845. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  846. | result = n; \
  847. | } \
  848. | else \
  849. | { \
  850. | errno=0; \
  851. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  852. | { \
  853. | if( errno != EINTR) \
  854. | { \
  855. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  856. | break; \
  857. | } \
  858. | errno=0; \
  859. | clearerr(yyin); \
  860. | } \
  861. | }\
  862. | \
  863. |
  864. | #endif
  865. |
  866. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  867. | * we don't want an extra ';' after the "return" because that will cause
  868. | * some compilers to complain about unreachable statements.
  869. | */
  870. | #ifndef yyterminate
  871. | #define yyterminate() return YY_NULL
  872. | #endif
  873. |
  874. | /* Number of entries by which start-condition stack grows. */
  875. | #ifndef YY_START_STACK_INCR
  876. | #define YY_START_STACK_INCR 25
  877. | #endif
  878. |
  879. | /* Report a fatal error. */
  880. | #ifndef YY_FATAL_ERROR
  881. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  882. | #endif
  883. |
  884. | /* end tables serialization structures and prototypes */
  885. |
  886. | /* Default declaration of generated scanner - a define so the user can
  887. | * easily add parameters.
  888. | */
  889. | #ifndef YY_DECL
  890. | #define YY_DECL_IS_OURS 1
  891. |
  892. | extern int yylex (void);
  893. |
  894. | #define YY_DECL int yylex (void)
  895. | #endif /* !YY_DECL */
  896. |
  897. | /* Code executed at the beginning of each rule, after yytext and yyleng
  898. | * have been set up.
  899. | */
  900. | #ifndef YY_USER_ACTION
  901. | #define YY_USER_ACTION
  902. | #endif
  903. |
  904. | /* Code executed at the end of each rule. */
  905. | #ifndef YY_BREAK
  906. | #define YY_BREAK break;
  907. | #endif
  908. |
  909. | #define YY_RULE_SETUP \
  910. | YY_USER_ACTION
  911. |
  912. | /** The main scanner function which does all the work.
  913. | */
  914. | YY_DECL
  915. | {
  916. | register yy_state_type yy_current_state;
  917. | register char *yy_cp, *yy_bp;
  918. | register int yy_act;
  919. |
  920. | #line 1 "conftest.l"
  921. |
  922. | #line 653 "lex.yy.c"
  923. |
  924. | if ( !(yy_init) )
  925. | {
  926. | (yy_init) = 1;
  927. |
  928. | #ifdef YY_USER_INIT
  929. | YY_USER_INIT;
  930. | #endif
  931. |
  932. | /* Create the reject buffer large enough to save one state per allowed character. */
  933. | if ( ! (yy_state_buf) )
  934. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  935. | if ( ! (yy_state_buf) )
  936. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  937. |
  938. | if ( ! (yy_start) )
  939. | (yy_start) = 1; /* first start state */
  940. |
  941. | if ( ! yyin )
  942. | yyin = stdin;
  943. |
  944. | if ( ! yyout )
  945. | yyout = stdout;
  946. |
  947. | if ( ! YY_CURRENT_BUFFER ) {
  948. | yyensure_buffer_stack ();
  949. | YY_CURRENT_BUFFER_LVALUE =
  950. | yy_create_buffer(yyin,YY_BUF_SIZE );
  951. | }
  952. |
  953. | yy_load_buffer_state( );
  954. | }
  955. |
  956. | while ( 1 ) /* loops until end-of-file is reached */
  957. | {
  958. | (yy_more_len) = 0;
  959. | if ( (yy_more_flag) )
  960. | {
  961. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  962. | (yy_more_flag) = 0;
  963. | }
  964. | yy_cp = (yy_c_buf_p);
  965. |
  966. | /* Support of yytext. */
  967. | *yy_cp = (yy_hold_char);
  968. |
  969. | /* yy_bp points to the position in yy_ch_buf of the start of
  970. | * the current run.
  971. | */
  972. | yy_bp = yy_cp;
  973. |
  974. | yy_current_state = (yy_start);
  975. |
  976. | (yy_state_ptr) = (yy_state_buf);
  977. | *(yy_state_ptr)++ = yy_current_state;
  978. |
  979. | yy_match:
  980. | do
  981. | {
  982. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  983. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  984. | {
  985. | yy_current_state = (int) yy_def[yy_current_state];
  986. | if ( yy_current_state >= 13 )
  987. | yy_c = yy_meta[(unsigned int) yy_c];
  988. | }
  989. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  990. | *(yy_state_ptr)++ = yy_current_state;
  991. | ++yy_cp;
  992. | }
  993. | while ( yy_base[yy_current_state] != 10 );
  994. |
  995. | yy_find_action:
  996. | yy_current_state = *--(yy_state_ptr);
  997. | (yy_lp) = yy_accept[yy_current_state];
  998. | goto find_rule; /* Shut up GCC warning -Wall */
  999. | find_rule: /* we branch to this label when backing up */
  1000. | for ( ; ; ) /* until we find what rule we matched */
  1001. | {
  1002. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  1003. | {
  1004. | yy_act = yy_acclist[(yy_lp)];
  1005. | {
  1006. | (yy_full_match) = yy_cp;
  1007. | break;
  1008. | }
  1009. | }
  1010. | --yy_cp;
  1011. | yy_current_state = *--(yy_state_ptr);
  1012. | (yy_lp) = yy_accept[yy_current_state];
  1013. | }
  1014. |
  1015. | YY_DO_BEFORE_ACTION;
  1016. |
  1017. | do_action: /* This label is used only to access EOF actions. */
  1018. |
  1019. | switch ( yy_act )
  1020. | { /* beginning of action switch */
  1021. | case 1:
  1022. | YY_RULE_SETUP
  1023. | #line 2 "conftest.l"
  1024. | { ECHO; }
  1025. | YY_BREAK
  1026. | case 2:
  1027. | YY_RULE_SETUP
  1028. | #line 3 "conftest.l"
  1029. | { REJECT; }
  1030. | YY_BREAK
  1031. | case 3:
  1032. | YY_RULE_SETUP
  1033. | #line 4 "conftest.l"
  1034. | { yymore (); }
  1035. | YY_BREAK
  1036. | case 4:
  1037. | YY_RULE_SETUP
  1038. | #line 5 "conftest.l"
  1039. | { yyless (1); }
  1040. | YY_BREAK
  1041. | case 5:
  1042. | YY_RULE_SETUP
  1043. | #line 6 "conftest.l"
  1044. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  1045. | yyless ((input () != 0)); }
  1046. | YY_BREAK
  1047. | case 6:
  1048. | YY_RULE_SETUP
  1049. | #line 8 "conftest.l"
  1050. | { unput (yytext[0]); }
  1051. | YY_BREAK
  1052. | case 7:
  1053. | YY_RULE_SETUP
  1054. | #line 9 "conftest.l"
  1055. | { BEGIN INITIAL; }
  1056. | YY_BREAK
  1057. | case 8:
  1058. | YY_RULE_SETUP
  1059. | #line 10 "conftest.l"
  1060. | ECHO;
  1061. | YY_BREAK
  1062. | #line 793 "lex.yy.c"
  1063. | case YY_STATE_EOF(INITIAL):
  1064. | yyterminate();
  1065. |
  1066. | case YY_END_OF_BUFFER:
  1067. | {
  1068. | /* Amount of text matched not including the EOB char. */
  1069. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1070. |
  1071. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1072. | *yy_cp = (yy_hold_char);
  1073. | YY_RESTORE_YY_MORE_OFFSET
  1074. |
  1075. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1076. | {
  1077. | /* We're scanning a new file or input source. It's
  1078. | * possible that this happened because the user
  1079. | * just pointed yyin at a new source and called
  1080. | * yylex(). If so, then we have to assure
  1081. | * consistency between YY_CURRENT_BUFFER and our
  1082. | * globals. Here is the right place to do so, because
  1083. | * this is the first action (other than possibly a
  1084. | * back-up) that will match for the new input source.
  1085. | */
  1086. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1087. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1088. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1089. | }
  1090. |
  1091. | /* Note that here we test for yy_c_buf_p "<=" to the position
  1092. | * of the first EOB in the buffer, since yy_c_buf_p will
  1093. | * already have been incremented past the NUL character
  1094. | * (since all states make transitions on EOB to the
  1095. | * end-of-buffer state). Contrast this with the test
  1096. | * in input().
  1097. | */
  1098. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1099. | { /* This was really a NUL. */
  1100. | yy_state_type yy_next_state;
  1101. |
  1102. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1103. |
  1104. | yy_current_state = yy_get_previous_state( );
  1105. |
  1106. | /* Okay, we're now positioned to make the NUL
  1107. | * transition. We couldn't have
  1108. | * yy_get_previous_state() go ahead and do it
  1109. | * for us because it doesn't know how to deal
  1110. | * with the possibility of jamming (and we don't
  1111. | * want to build jamming into it because then it
  1112. | * will run more slowly).
  1113. | */
  1114. |
  1115. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  1116. |
  1117. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1118. |
  1119. | if ( yy_next_state )
  1120. | {
  1121. | /* Consume the NUL. */
  1122. | yy_cp = ++(yy_c_buf_p);
  1123. | yy_current_state = yy_next_state;
  1124. | goto yy_match;
  1125. | }
  1126. |
  1127. | else
  1128. | {
  1129. | yy_cp = (yy_c_buf_p);
  1130. | goto yy_find_action;
  1131. | }
  1132. | }
  1133. |
  1134. | else switch ( yy_get_next_buffer( ) )
  1135. | {
  1136. | case EOB_ACT_END_OF_FILE:
  1137. | {
  1138. | (yy_did_buffer_switch_on_eof) = 0;
  1139. |
  1140. | if ( yywrap( ) )
  1141. | {
  1142. | /* Note: because we've taken care in
  1143. | * yy_get_next_buffer() to have set up
  1144. | * yytext, we can now set up
  1145. | * yy_c_buf_p so that if some total
  1146. | * hoser (like flex itself) wants to
  1147. | * call the scanner after we return the
  1148. | * YY_NULL, it'll still work - another
  1149. | * YY_NULL will get returned.
  1150. | */
  1151. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1152. |
  1153. | yy_act = YY_STATE_EOF(YY_START);
  1154. | goto do_action;
  1155. | }
  1156. |
  1157. | else
  1158. | {
  1159. | if ( ! (yy_did_buffer_switch_on_eof) )
  1160. | YY_NEW_FILE;
  1161. | }
  1162. | break;
  1163. | }
  1164. |
  1165. | case EOB_ACT_CONTINUE_SCAN:
  1166. | (yy_c_buf_p) =
  1167. | (yytext_ptr) + yy_amount_of_matched_text;
  1168. |
  1169. | yy_current_state = yy_get_previous_state( );
  1170. |
  1171. | yy_cp = (yy_c_buf_p);
  1172. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1173. | goto yy_match;
  1174. |
  1175. | case EOB_ACT_LAST_MATCH:
  1176. | (yy_c_buf_p) =
  1177. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1178. |
  1179. | yy_current_state = yy_get_previous_state( );
  1180. |
  1181. | yy_cp = (yy_c_buf_p);
  1182. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1183. | goto yy_find_action;
  1184. | }
  1185. | break;
  1186. | }
  1187. |
  1188. | default:
  1189. | YY_FATAL_ERROR(
  1190. | "fatal flex scanner internal error--no action found" );
  1191. | } /* end of action switch */
  1192. | } /* end of scanning one token */
  1193. | } /* end of yylex */
  1194. |
  1195. | /* yy_get_next_buffer - try to read in a new buffer
  1196. | *
  1197. | * Returns a code representing an action:
  1198. | * EOB_ACT_LAST_MATCH -
  1199. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1200. | * EOB_ACT_END_OF_FILE - end of file
  1201. | */
  1202. | static int yy_get_next_buffer (void)
  1203. | {
  1204. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1205. | register char *source = (yytext_ptr);
  1206. | register int number_to_move, i;
  1207. | int ret_val;
  1208. |
  1209. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1210. | YY_FATAL_ERROR(
  1211. | "fatal flex scanner internal error--end of buffer missed" );
  1212. |
  1213. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1214. | { /* Don't try to fill the buffer, so this is an EOF. */
  1215. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1216. | {
  1217. | /* We matched a single character, the EOB, so
  1218. | * treat this as a final EOF.
  1219. | */
  1220. | return EOB_ACT_END_OF_FILE;
  1221. | }
  1222. |
  1223. | else
  1224. | {
  1225. | /* We matched some text prior to the EOB, first
  1226. | * process it.
  1227. | */
  1228. | return EOB_ACT_LAST_MATCH;
  1229. | }
  1230. | }
  1231. |
  1232. | /* Try to read more data. */
  1233. |
  1234. | /* First move last chars to start of buffer. */
  1235. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  1236. |
  1237. | for ( i = 0; i < number_to_move; ++i )
  1238. | *(dest++) = *(source++);
  1239. |
  1240. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1241. | /* don't do the read, it's not guaranteed to return an EOF,
  1242. | * just force an EOF
  1243. | */
  1244. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1245. |
  1246. | else
  1247. | {
  1248. | yy_size_t num_to_read =
  1249. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1250. |
  1251. | while ( num_to_read <= 0 )
  1252. | { /* Not enough room in the buffer - grow it. */
  1253. |
  1254. | YY_FATAL_ERROR(
  1255. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1256. |
  1257. | }
  1258. |
  1259. | if ( num_to_read > YY_READ_BUF_SIZE )
  1260. | num_to_read = YY_READ_BUF_SIZE;
  1261. |
  1262. | /* Read in more data. */
  1263. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1264. | (yy_n_chars), num_to_read );
  1265. |
  1266. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1267. | }
  1268. |
  1269. | if ( (yy_n_chars) == 0 )
  1270. | {
  1271. | if ( number_to_move == YY_MORE_ADJ )
  1272. | {
  1273. | ret_val = EOB_ACT_END_OF_FILE;
  1274. | yyrestart(yyin );
  1275. | }
  1276. |
  1277. | else
  1278. | {
  1279. | ret_val = EOB_ACT_LAST_MATCH;
  1280. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1281. | YY_BUFFER_EOF_PENDING;
  1282. | }
  1283. | }
  1284. |
  1285. | else
  1286. | ret_val = EOB_ACT_CONTINUE_SCAN;
  1287. |
  1288. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1289. | /* Extend the array by 50%, plus the number we really need. */
  1290. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1291. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  1292. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1293. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1294. | }
  1295. |
  1296. | (yy_n_chars) += number_to_move;
  1297. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1298. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1299. |
  1300. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1301. |
  1302. | return ret_val;
  1303. | }
  1304. |
  1305. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1306. |
  1307. | static yy_state_type yy_get_previous_state (void)
  1308. | {
  1309. | register yy_state_type yy_current_state;
  1310. | register char *yy_cp;
  1311. |
  1312. | yy_current_state = (yy_start);
  1313. |
  1314. | (yy_state_ptr) = (yy_state_buf);
  1315. | *(yy_state_ptr)++ = yy_current_state;
  1316. |
  1317. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1318. | {
  1319. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1320. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1321. | {
  1322. | yy_current_state = (int) yy_def[yy_current_state];
  1323. | if ( yy_current_state >= 13 )
  1324. | yy_c = yy_meta[(unsigned int) yy_c];
  1325. | }
  1326. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1327. | *(yy_state_ptr)++ = yy_current_state;
  1328. | }
  1329. |
  1330. | return yy_current_state;
  1331. | }
  1332. |
  1333. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1334. | *
  1335. | * synopsis
  1336. | * next_state = yy_try_NUL_trans( current_state );
  1337. | */
  1338. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  1339. | {
  1340. | register int yy_is_jam;
  1341. |
  1342. | register YY_CHAR yy_c = 1;
  1343. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1344. | {
  1345. | yy_current_state = (int) yy_def[yy_current_state];
  1346. | if ( yy_current_state >= 13 )
  1347. | yy_c = yy_meta[(unsigned int) yy_c];
  1348. | }
  1349. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1350. | yy_is_jam = (yy_current_state == 12);
  1351. | if ( ! yy_is_jam )
  1352. | *(yy_state_ptr)++ = yy_current_state;
  1353. |
  1354. | return yy_is_jam ? 0 : yy_current_state;
  1355. | }
  1356. |
  1357. | static void yyunput (int c, register char * yy_bp )
  1358. | {
  1359. | register char *yy_cp;
  1360. |
  1361. | yy_cp = (yy_c_buf_p);
  1362. |
  1363. | /* undo effects of setting up yytext */
  1364. | *yy_cp = (yy_hold_char);
  1365. |
  1366. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1367. | { /* need to shift things up to make room */
  1368. | /* +2 for EOB chars. */
  1369. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  1370. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1371. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1372. | register char *source =
  1373. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1374. |
  1375. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1376. | *--dest = *--source;
  1377. |
  1378. | yy_cp += (int) (dest - source);
  1379. | yy_bp += (int) (dest - source);
  1380. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1381. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1382. |
  1383. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1384. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1385. | }
  1386. |
  1387. | *--yy_cp = (char) c;
  1388. |
  1389. | (yytext_ptr) = yy_bp;
  1390. | (yy_hold_char) = *yy_cp;
  1391. | (yy_c_buf_p) = yy_cp;
  1392. | }
  1393. |
  1394. | #ifndef YY_NO_INPUT
  1395. | #ifdef __cplusplus
  1396. | static int yyinput (void)
  1397. | #else
  1398. | static int input (void)
  1399. | #endif
  1400. |
  1401. | {
  1402. | int c;
  1403. |
  1404. | *(yy_c_buf_p) = (yy_hold_char);
  1405. |
  1406. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1407. | {
  1408. | /* yy_c_buf_p now points to the character we want to return.
  1409. | * If this occurs *before* the EOB characters, then it's a
  1410. | * valid NUL; if not, then we've hit the end of the buffer.
  1411. | */
  1412. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1413. | /* This was really a NUL. */
  1414. | *(yy_c_buf_p) = '\0';
  1415. |
  1416. | else
  1417. | { /* need more input */
  1418. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  1419. | ++(yy_c_buf_p);
  1420. |
  1421. | switch ( yy_get_next_buffer( ) )
  1422. | {
  1423. | case EOB_ACT_LAST_MATCH:
  1424. | /* This happens because yy_g_n_b()
  1425. | * sees that we've accumulated a
  1426. | * token and flags that we need to
  1427. | * try matching the token before
  1428. | * proceeding. But for input(),
  1429. | * there's no matching to consider.
  1430. | * So convert the EOB_ACT_LAST_MATCH
  1431. | * to EOB_ACT_END_OF_FILE.
  1432. | */
  1433. |
  1434. | /* Reset buffer status. */
  1435. | yyrestart(yyin );
  1436. |
  1437. | /*FALLTHROUGH*/
  1438. |
  1439. | case EOB_ACT_END_OF_FILE:
  1440. | {
  1441. | if ( yywrap( ) )
  1442. | return 0;
  1443. |
  1444. | if ( ! (yy_did_buffer_switch_on_eof) )
  1445. | YY_NEW_FILE;
  1446. | #ifdef __cplusplus
  1447. | return yyinput();
  1448. | #else
  1449. | return input();
  1450. | #endif
  1451. | }
  1452. |
  1453. | case EOB_ACT_CONTINUE_SCAN:
  1454. | (yy_c_buf_p) = (yytext_ptr) + offset;
  1455. | break;
  1456. | }
  1457. | }
  1458. | }
  1459. |
  1460. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  1461. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  1462. | (yy_hold_char) = *++(yy_c_buf_p);
  1463. |
  1464. | return c;
  1465. | }
  1466. | #endif /* ifndef YY_NO_INPUT */
  1467. |
  1468. | /** Immediately switch to a different input stream.
  1469. | * @param input_file A readable stream.
  1470. | *
  1471. | * @note This function does not reset the start condition to @c INITIAL .
  1472. | */
  1473. | void yyrestart (FILE * input_file )
  1474. | {
  1475. |
  1476. | if ( ! YY_CURRENT_BUFFER ){
  1477. | yyensure_buffer_stack ();
  1478. | YY_CURRENT_BUFFER_LVALUE =
  1479. | yy_create_buffer(yyin,YY_BUF_SIZE );
  1480. | }
  1481. |
  1482. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  1483. | yy_load_buffer_state( );
  1484. | }
  1485. |
  1486. | /** Switch to a different input buffer.
  1487. | * @param new_buffer The new input buffer.
  1488. | *
  1489. | */
  1490. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  1491. | {
  1492. |
  1493. | /* TODO. We should be able to replace this entire function body
  1494. | * with
  1495. | * yypop_buffer_state();
  1496. | * yypush_buffer_state(new_buffer);
  1497. | */
  1498. | yyensure_buffer_stack ();
  1499. | if ( YY_CURRENT_BUFFER == new_buffer )
  1500. | return;
  1501. |
  1502. | if ( YY_CURRENT_BUFFER )
  1503. | {
  1504. | /* Flush out information for old buffer. */
  1505. | *(yy_c_buf_p) = (yy_hold_char);
  1506. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1507. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1508. | }
  1509. |
  1510. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1511. | yy_load_buffer_state( );
  1512. |
  1513. | /* We don't actually know whether we did this switch during
  1514. | * EOF (yywrap()) processing, but the only time this flag
  1515. | * is looked at is after yywrap() is called, so it's safe
  1516. | * to go ahead and always set it.
  1517. | */
  1518. | (yy_did_buffer_switch_on_eof) = 1;
  1519. | }
  1520. |
  1521. | static void yy_load_buffer_state (void)
  1522. | {
  1523. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1524. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1525. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1526. | (yy_hold_char) = *(yy_c_buf_p);
  1527. | }
  1528. |
  1529. | /** Allocate and initialize an input buffer state.
  1530. | * @param file A readable stream.
  1531. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1532. | *
  1533. | * @return the allocated buffer state.
  1534. | */
  1535. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  1536. | {
  1537. | YY_BUFFER_STATE b;
  1538. |
  1539. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1540. | if ( ! b )
  1541. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1542. |
  1543. | b->yy_buf_size = size;
  1544. |
  1545. | /* yy_ch_buf has to be 2 characters longer than the size given because
  1546. | * we need to put in 2 end-of-buffer characters.
  1547. | */
  1548. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  1549. | if ( ! b->yy_ch_buf )
  1550. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1551. |
  1552. | b->yy_is_our_buffer = 1;
  1553. |
  1554. | yy_init_buffer(b,file );
  1555. |
  1556. | return b;
  1557. | }
  1558. |
  1559. | /** Destroy the buffer.
  1560. | * @param b a buffer created with yy_create_buffer()
  1561. | *
  1562. | */
  1563. | void yy_delete_buffer (YY_BUFFER_STATE b )
  1564. | {
  1565. |
  1566. | if ( ! b )
  1567. | return;
  1568. |
  1569. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1570. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1571. |
  1572. | if ( b->yy_is_our_buffer )
  1573. | yyfree((void *) b->yy_ch_buf );
  1574. |
  1575. | yyfree((void *) b );
  1576. | }
  1577. |
  1578. | #ifndef __cplusplus
  1579. | extern int isatty (int );
  1580. | #endif /* __cplusplus */
  1581. |
  1582. | /* Initializes or reinitializes a buffer.
  1583. | * This function is sometimes called more than once on the same buffer,
  1584. | * such as during a yyrestart() or at EOF.
  1585. | */
  1586. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  1587. |
  1588. | {
  1589. | int oerrno = errno;
  1590. |
  1591. | yy_flush_buffer(b );
  1592. |
  1593. | b->yy_input_file = file;
  1594. | b->yy_fill_buffer = 1;
  1595. |
  1596. | /* If b is the current buffer, then yy_init_buffer was _probably_
  1597. | * called from yyrestart() or through yy_get_next_buffer.
  1598. | * In that case, we don't want to reset the lineno or column.
  1599. | */
  1600. | if (b != YY_CURRENT_BUFFER){
  1601. | b->yy_bs_lineno = 1;
  1602. | b->yy_bs_column = 0;
  1603. | }
  1604. |
  1605. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1606. |
  1607. | errno = oerrno;
  1608. | }
  1609. |
  1610. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1611. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1612. | *
  1613. | */
  1614. | void yy_flush_buffer (YY_BUFFER_STATE b )
  1615. | {
  1616. | if ( ! b )
  1617. | return;
  1618. |
  1619. | b->yy_n_chars = 0;
  1620. |
  1621. | /* We always need two end-of-buffer characters. The first causes
  1622. | * a transition to the end-of-buffer state. The second causes
  1623. | * a jam in that state.
  1624. | */
  1625. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1626. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1627. |
  1628. | b->yy_buf_pos = &b->yy_ch_buf[0];
  1629. |
  1630. | b->yy_at_bol = 1;
  1631. | b->yy_buffer_status = YY_BUFFER_NEW;
  1632. |
  1633. | if ( b == YY_CURRENT_BUFFER )
  1634. | yy_load_buffer_state( );
  1635. | }
  1636. |
  1637. | /** Pushes the new state onto the stack. The new state becomes
  1638. | * the current state. This function will allocate the stack
  1639. | * if necessary.
  1640. | * @param new_buffer The new state.
  1641. | *
  1642. | */
  1643. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1644. | {
  1645. | if (new_buffer == NULL)
  1646. | return;
  1647. |
  1648. | yyensure_buffer_stack();
  1649. |
  1650. | /* This block is copied from yy_switch_to_buffer. */
  1651. | if ( YY_CURRENT_BUFFER )
  1652. | {
  1653. | /* Flush out information for old buffer. */
  1654. | *(yy_c_buf_p) = (yy_hold_char);
  1655. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1656. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1657. | }
  1658. |
  1659. | /* Only push if top exists. Otherwise, replace top. */
  1660. | if (YY_CURRENT_BUFFER)
  1661. | (yy_buffer_stack_top)++;
  1662. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1663. |
  1664. | /* copied from yy_switch_to_buffer. */
  1665. | yy_load_buffer_state( );
  1666. | (yy_did_buffer_switch_on_eof) = 1;
  1667. | }
  1668. |
  1669. | /** Removes and deletes the top of the stack, if present.
  1670. | * The next element becomes the new top.
  1671. | *
  1672. | */
  1673. | void yypop_buffer_state (void)
  1674. | {
  1675. | if (!YY_CURRENT_BUFFER)
  1676. | return;
  1677. |
  1678. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1679. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1680. | if ((yy_buffer_stack_top) > 0)
  1681. | --(yy_buffer_stack_top);
  1682. |
  1683. | if (YY_CURRENT_BUFFER) {
  1684. | yy_load_buffer_state( );
  1685. | (yy_did_buffer_switch_on_eof) = 1;
  1686. | }
  1687. | }
  1688. |
  1689. | /* Allocates the stack if it does not exist.
  1690. | * Guarantees space for at least one push.
  1691. | */
  1692. | static void yyensure_buffer_stack (void)
  1693. | {
  1694. | yy_size_t num_to_alloc;
  1695. |
  1696. | if (!(yy_buffer_stack)) {
  1697. |
  1698. | /* First allocation is just for 2 elements, since we don't know if this
  1699. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1700. | * immediate realloc on the next call.
  1701. | */
  1702. | num_to_alloc = 1;
  1703. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1704. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  1705. | );
  1706. | if ( ! (yy_buffer_stack) )
  1707. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1708. |
  1709. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1710. |
  1711. | (yy_buffer_stack_max) = num_to_alloc;
  1712. | (yy_buffer_stack_top) = 0;
  1713. | return;
  1714. | }
  1715. |
  1716. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1717. |
  1718. | /* Increase the buffer to prepare for a possible push. */
  1719. | int grow_size = 8 /* arbitrary grow size */;
  1720. |
  1721. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1722. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1723. | ((yy_buffer_stack),
  1724. | num_to_alloc * sizeof(struct yy_buffer_state*)
  1725. | );
  1726. | if ( ! (yy_buffer_stack) )
  1727. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1728. |
  1729. | /* zero only the new slots.*/
  1730. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1731. | (yy_buffer_stack_max) = num_to_alloc;
  1732. | }
  1733. | }
  1734. |
  1735. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1736. | * @param base the character buffer
  1737. | * @param size the size in bytes of the character buffer
  1738. | *
  1739. | * @return the newly allocated buffer state object.
  1740. | */
  1741. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  1742. | {
  1743. | YY_BUFFER_STATE b;
  1744. |
  1745. | if ( size < 2 ||
  1746. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1747. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  1748. | /* They forgot to leave room for the EOB's. */
  1749. | return 0;
  1750. |
  1751. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1752. | if ( ! b )
  1753. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1754. |
  1755. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  1756. | b->yy_buf_pos = b->yy_ch_buf = base;
  1757. | b->yy_is_our_buffer = 0;
  1758. | b->yy_input_file = 0;
  1759. | b->yy_n_chars = b->yy_buf_size;
  1760. | b->yy_is_interactive = 0;
  1761. | b->yy_at_bol = 1;
  1762. | b->yy_fill_buffer = 0;
  1763. | b->yy_buffer_status = YY_BUFFER_NEW;
  1764. |
  1765. | yy_switch_to_buffer(b );
  1766. |
  1767. | return b;
  1768. | }
  1769. |
  1770. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1771. | * scan from a @e copy of @a str.
  1772. | * @param yystr a NUL-terminated string to scan
  1773. | *
  1774. | * @return the newly allocated buffer state object.
  1775. | * @note If you want to scan bytes that may contain NUL values, then use
  1776. | * yy_scan_bytes() instead.
  1777. | */
  1778. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  1779. | {
  1780. |
  1781. | return yy_scan_bytes(yystr,strlen(yystr) );
  1782. | }
  1783. |
  1784. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1785. | * scan from a @e copy of @a bytes.
  1786. | * @param bytes the byte buffer to scan
  1787. | * @param len the number of bytes in the buffer pointed to by @a bytes.
  1788. | *
  1789. | * @return the newly allocated buffer state object.
  1790. | */
  1791. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  1792. | {
  1793. | YY_BUFFER_STATE b;
  1794. | char *buf;
  1795. | yy_size_t n, i;
  1796. |
  1797. | /* Get memory for full buffer, including space for trailing EOB's. */
  1798. | n = _yybytes_len + 2;
  1799. | buf = (char *) yyalloc(n );
  1800. | if ( ! buf )
  1801. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1802. |
  1803. | for ( i = 0; i < _yybytes_len; ++i )
  1804. | buf[i] = yybytes[i];
  1805. |
  1806. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1807. |
  1808. | b = yy_scan_buffer(buf,n );
  1809. | if ( ! b )
  1810. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1811. |
  1812. | /* It's okay to grow etc. this buffer, and we should throw it
  1813. | * away when we're done.
  1814. | */
  1815. | b->yy_is_our_buffer = 1;
  1816. |
  1817. | return b;
  1818. | }
  1819. |
  1820. | #ifndef YY_EXIT_FAILURE
  1821. | #define YY_EXIT_FAILURE 2
  1822. | #endif
  1823. |
  1824. | static void yy_fatal_error (yyconst char* msg )
  1825. | {
  1826. | (void) fprintf( stderr, "%s\n", msg );
  1827. | exit( YY_EXIT_FAILURE );
  1828. | }
  1829. |
  1830. | /* Redefine yyless() so it works in section 3 code. */
  1831. |
  1832. | #undef yyless
  1833. | #define yyless(n) \
  1834. | do \
  1835. | { \
  1836. | /* Undo effects of setting up yytext. */ \
  1837. | int yyless_macro_arg = (n); \
  1838. | YY_LESS_LINENO(yyless_macro_arg);\
  1839. | yytext[yyleng] = (yy_hold_char); \
  1840. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  1841. | (yy_hold_char) = *(yy_c_buf_p); \
  1842. | *(yy_c_buf_p) = '\0'; \
  1843. | yyleng = yyless_macro_arg; \
  1844. | } \
  1845. | while ( 0 )
  1846. |
  1847. | /* Accessor methods (get/set functions) to struct members. */
  1848. |
  1849. | /** Get the current line number.
  1850. | *
  1851. | */
  1852. | int yyget_lineno (void)
  1853. | {
  1854. |
  1855. | return yylineno;
  1856. | }
  1857. |
  1858. | /** Get the input stream.
  1859. | *
  1860. | */
  1861. | FILE *yyget_in (void)
  1862. | {
  1863. | return yyin;
  1864. | }
  1865. |
  1866. | /** Get the output stream.
  1867. | *
  1868. | */
  1869. | FILE *yyget_out (void)
  1870. | {
  1871. | return yyout;
  1872. | }
  1873. |
  1874. | /** Get the length of the current token.
  1875. | *
  1876. | */
  1877. | yy_size_t yyget_leng (void)
  1878. | {
  1879. | return yyleng;
  1880. | }
  1881. |
  1882. | /** Get the current token.
  1883. | *
  1884. | */
  1885. |
  1886. | char *yyget_text (void)
  1887. | {
  1888. | return yytext;
  1889. | }
  1890. |
  1891. | /** Set the current line number.
  1892. | * @param line_number
  1893. | *
  1894. | */
  1895. | void yyset_lineno (int line_number )
  1896. | {
  1897. |
  1898. | yylineno = line_number;
  1899. | }
  1900. |
  1901. | /** Set the input stream. This does not discard the current
  1902. | * input buffer.
  1903. | * @param in_str A readable stream.
  1904. | *
  1905. | * @see yy_switch_to_buffer
  1906. | */
  1907. | void yyset_in (FILE * in_str )
  1908. | {
  1909. | yyin = in_str ;
  1910. | }
  1911. |
  1912. | void yyset_out (FILE * out_str )
  1913. | {
  1914. | yyout = out_str ;
  1915. | }
  1916. |
  1917. | int yyget_debug (void)
  1918. | {
  1919. | return yy_flex_debug;
  1920. | }
  1921. |
  1922. | void yyset_debug (int bdebug )
  1923. | {
  1924. | yy_flex_debug = bdebug ;
  1925. | }
  1926. |
  1927. | static int yy_init_globals (void)
  1928. | {
  1929. | /* Initialization is the same as for the non-reentrant scanner.
  1930. | * This function is called from yylex_destroy(), so don't allocate here.
  1931. | */
  1932. |
  1933. | (yy_buffer_stack) = 0;
  1934. | (yy_buffer_stack_top) = 0;
  1935. | (yy_buffer_stack_max) = 0;
  1936. | (yy_c_buf_p) = (char *) 0;
  1937. | (yy_init) = 0;
  1938. | (yy_start) = 0;
  1939. |
  1940. | (yy_state_buf) = 0;
  1941. | (yy_state_ptr) = 0;
  1942. | (yy_full_match) = 0;
  1943. | (yy_lp) = 0;
  1944. |
  1945. | /* Defined in main.c */
  1946. | #ifdef YY_STDINIT
  1947. | yyin = stdin;
  1948. | yyout = stdout;
  1949. | #else
  1950. | yyin = (FILE *) 0;
  1951. | yyout = (FILE *) 0;
  1952. | #endif
  1953. |
  1954. | /* For future reference: Set errno on error, since we are called by
  1955. | * yylex_init()
  1956. | */
  1957. | return 0;
  1958. | }
  1959. |
  1960. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  1961. | int yylex_destroy (void)
  1962. | {
  1963. |
  1964. | /* Pop the buffer stack, destroying each element. */
  1965. | while(YY_CURRENT_BUFFER){
  1966. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1967. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1968. | yypop_buffer_state();
  1969. | }
  1970. |
  1971. | /* Destroy the stack itself. */
  1972. | yyfree((yy_buffer_stack) );
  1973. | (yy_buffer_stack) = NULL;
  1974. |
  1975. | yyfree ( (yy_state_buf) );
  1976. | (yy_state_buf) = NULL;
  1977. |
  1978. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  1979. | * yylex() is called, initialization will occur. */
  1980. | yy_init_globals( );
  1981. |
  1982. | return 0;
  1983. | }
  1984. |
  1985. | /*
  1986. | * Internal utility routines.
  1987. | */
  1988. |
  1989. | #ifndef yytext_ptr
  1990. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  1991. | {
  1992. | register int i;
  1993. | for ( i = 0; i < n; ++i )
  1994. | s1[i] = s2[i];
  1995. | }
  1996. | #endif
  1997. |
  1998. | #ifdef YY_NEED_STRLEN
  1999. | static int yy_flex_strlen (yyconst char * s )
  2000. | {
  2001. | register int n;
  2002. | for ( n = 0; s[n]; ++n )
  2003. | ;
  2004. |
  2005. | return n;
  2006. | }
  2007. | #endif
  2008. |
  2009. | void *yyalloc (yy_size_t size )
  2010. | {
  2011. | return (void *) malloc( size );
  2012. | }
  2013. |
  2014. | void *yyrealloc (void * ptr, yy_size_t size )
  2015. | {
  2016. | /* The cast to (char *) in the following accommodates both
  2017. | * implementations that use char* generic pointers, and those
  2018. | * that use void* generic pointers. It works with the latter
  2019. | * because both ANSI C and C++ allow castless assignment from
  2020. | * any pointer type to void*, and deal with argument conversions
  2021. | * as though doing an assignment.
  2022. | */
  2023. | return (void *) realloc( (char *) ptr, size );
  2024. | }
  2025. |
  2026. | void yyfree (void * ptr )
  2027. | {
  2028. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  2029. | }
  2030. |
  2031. | #define YYTABLES_NAME "yytables"
  2032. |
  2033. | #line 10 "conftest.l"
  2034. |
  2035. |
  2036. | #ifdef YYTEXT_POINTER
  2037. | extern char *yytext;
  2038. | #endif
  2039. | int
  2040. | main (void)
  2041. | {
  2042. | return ! yylex () + ! yywrap ();
  2043. | }
  2044. configure:5966: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp -lfl >&5
  2045. lex.yy.c:646:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2046. register yy_state_type yy_current_state;
  2047. ^~~~~~~~~
  2048. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2049. register char *yy_cp, *yy_bp;
  2050. ^~~~~~~~~
  2051. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2052. register char *yy_cp, *yy_bp;
  2053. ^~~~~~~~~
  2054. lex.yy.c:648:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2055. register int yy_act;
  2056. ^~~~~~~~~
  2057. lex.yy.c:712:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2058. register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  2059. ^~~~~~~~~
  2060. conftest.l:7:14: error: use of undeclared identifier 'input'
  2061. yyless ((input () != 0)); }
  2062. ^
  2063. lex.yy.c:934:6: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2064. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  2065. ^~~~~~~~~
  2066. lex.yy.c:935:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2067. register char *source = (yytext_ptr);
  2068. ^~~~~~~~~
  2069. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2070. register int number_to_move, i;
  2071. ^~~~~~~~~
  2072. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2073. register int number_to_move, i;
  2074. ^~~~~~~~~
  2075. lex.yy.c:1039:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2076. register yy_state_type yy_current_state;
  2077. ^~~~~~~~~
  2078. lex.yy.c:1040:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2079. register char *yy_cp;
  2080. ^~~~~~~~~
  2081. lex.yy.c:1049:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2082. register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  2083. ^~~~~~~~~
  2084. lex.yy.c:1070:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2085. register int yy_is_jam;
  2086. ^~~~~~~~~
  2087. lex.yy.c:1072:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2088. register YY_CHAR yy_c = 1;
  2089. ^~~~~~~~~
  2090. lex.yy.c:1087:33: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2091. static void yyunput (int c, register char * yy_bp )
  2092. ^~~~~~~~~
  2093. lex.yy.c:1089:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2094. register char *yy_cp;
  2095. ^~~~~~~~~
  2096. lex.yy.c:1099:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2097. register yy_size_t number_to_move = (yy_n_chars) + 2;
  2098. ^~~~~~~~~
  2099. lex.yy.c:1100:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  2100. register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  2101. ^~~~~~~~~
  2102. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  2103. 20 errors generated.
  2104. configure:5966: $? = 1
  2105. configure: failed program was:
  2106. | /* confdefs.h */
  2107. | #define PACKAGE_NAME "Exult"
  2108. | #define PACKAGE_TARNAME "exult"
  2109. | #define PACKAGE_VERSION "1.5.0git"
  2110. | #define PACKAGE_STRING "Exult 1.5.0git"
  2111. | #define PACKAGE_BUGREPORT ""
  2112. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  2113. | #define PACKAGE "exult"
  2114. | #define VERSION "1.5.0git"
  2115. | #define PACKAGE "exult"
  2116. | #define VERSION "1.5.0git"
  2117. | #define MACOSX 1
  2118. | #define HAVE_CXX17 1
  2119. | /* end confdefs.h. */
  2120. |
  2121. | #line 3 "lex.yy.c"
  2122. |
  2123. | #define YY_INT_ALIGNED short int
  2124. |
  2125. | /* A lexical scanner generated by flex */
  2126. |
  2127. | #define FLEX_SCANNER
  2128. | #define YY_FLEX_MAJOR_VERSION 2
  2129. | #define YY_FLEX_MINOR_VERSION 5
  2130. | #define YY_FLEX_SUBMINOR_VERSION 35
  2131. | #if YY_FLEX_SUBMINOR_VERSION > 0
  2132. | #define FLEX_BETA
  2133. | #endif
  2134. |
  2135. | /* First, we deal with platform-specific or compiler-specific issues. */
  2136. |
  2137. | /* begin standard C headers. */
  2138. | #include <stdio.h>
  2139. | #include <string.h>
  2140. | #include <errno.h>
  2141. | #include <stdlib.h>
  2142. |
  2143. | /* end standard C headers. */
  2144. |
  2145. | /* flex integer type definitions */
  2146. |
  2147. | #ifndef FLEXINT_H
  2148. | #define FLEXINT_H
  2149. |
  2150. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  2151. |
  2152. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  2153. |
  2154. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  2155. | * if you want the limit (max/min) macros for int types.
  2156. | */
  2157. | #ifndef __STDC_LIMIT_MACROS
  2158. | #define __STDC_LIMIT_MACROS 1
  2159. | #endif
  2160. |
  2161. | #include <inttypes.h>
  2162. | typedef int8_t flex_int8_t;
  2163. | typedef uint8_t flex_uint8_t;
  2164. | typedef int16_t flex_int16_t;
  2165. | typedef uint16_t flex_uint16_t;
  2166. | typedef int32_t flex_int32_t;
  2167. | typedef uint32_t flex_uint32_t;
  2168. | typedef uint64_t flex_uint64_t;
  2169. | #else
  2170. | typedef signed char flex_int8_t;
  2171. | typedef short int flex_int16_t;
  2172. | typedef int flex_int32_t;
  2173. | typedef unsigned char flex_uint8_t;
  2174. | typedef unsigned short int flex_uint16_t;
  2175. | typedef unsigned int flex_uint32_t;
  2176. | #endif /* ! C99 */
  2177. |
  2178. | /* Limits of integral types. */
  2179. | #ifndef INT8_MIN
  2180. | #define INT8_MIN (-128)
  2181. | #endif
  2182. | #ifndef INT16_MIN
  2183. | #define INT16_MIN (-32767-1)
  2184. | #endif
  2185. | #ifndef INT32_MIN
  2186. | #define INT32_MIN (-2147483647-1)
  2187. | #endif
  2188. | #ifndef INT8_MAX
  2189. | #define INT8_MAX (127)
  2190. | #endif
  2191. | #ifndef INT16_MAX
  2192. | #define INT16_MAX (32767)
  2193. | #endif
  2194. | #ifndef INT32_MAX
  2195. | #define INT32_MAX (2147483647)
  2196. | #endif
  2197. | #ifndef UINT8_MAX
  2198. | #define UINT8_MAX (255U)
  2199. | #endif
  2200. | #ifndef UINT16_MAX
  2201. | #define UINT16_MAX (65535U)
  2202. | #endif
  2203. | #ifndef UINT32_MAX
  2204. | #define UINT32_MAX (4294967295U)
  2205. | #endif
  2206. |
  2207. | #endif /* ! FLEXINT_H */
  2208. |
  2209. | #ifdef __cplusplus
  2210. |
  2211. | /* The "const" storage-class-modifier is valid. */
  2212. | #define YY_USE_CONST
  2213. |
  2214. | #else /* ! __cplusplus */
  2215. |
  2216. | /* C99 requires __STDC__ to be defined as 1. */
  2217. | #if defined (__STDC__)
  2218. |
  2219. | #define YY_USE_CONST
  2220. |
  2221. | #endif /* defined (__STDC__) */
  2222. | #endif /* ! __cplusplus */
  2223. |
  2224. | #ifdef YY_USE_CONST
  2225. | #define yyconst const
  2226. | #else
  2227. | #define yyconst
  2228. | #endif
  2229. |
  2230. | /* Returned upon end-of-file. */
  2231. | #define YY_NULL 0
  2232. |
  2233. | /* Promotes a possibly negative, possibly signed char to an unsigned
  2234. | * integer for use as an array index. If the signed char is negative,
  2235. | * we want to instead treat it as an 8-bit unsigned char, hence the
  2236. | * double cast.
  2237. | */
  2238. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  2239. |
  2240. | /* Enter a start condition. This macro really ought to take a parameter,
  2241. | * but we do it the disgusting crufty way forced on us by the ()-less
  2242. | * definition of BEGIN.
  2243. | */
  2244. | #define BEGIN (yy_start) = 1 + 2 *
  2245. |
  2246. | /* Translate the current start state into a value that can be later handed
  2247. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  2248. | * compatibility.
  2249. | */
  2250. | #define YY_START (((yy_start) - 1) / 2)
  2251. | #define YYSTATE YY_START
  2252. |
  2253. | /* Action number for EOF rule of a given start state. */
  2254. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  2255. |
  2256. | /* Special action meaning "start processing a new file". */
  2257. | #define YY_NEW_FILE yyrestart(yyin )
  2258. |
  2259. | #define YY_END_OF_BUFFER_CHAR 0
  2260. |
  2261. | /* Size of default input buffer. */
  2262. | #ifndef YY_BUF_SIZE
  2263. | #define YY_BUF_SIZE 16384
  2264. | #endif
  2265. |
  2266. | /* The state buf must be large enough to hold one state per character in the main buffer.
  2267. | */
  2268. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  2269. |
  2270. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  2271. | #define YY_TYPEDEF_YY_BUFFER_STATE
  2272. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  2273. | #endif
  2274. |
  2275. | #ifndef YY_TYPEDEF_YY_SIZE_T
  2276. | #define YY_TYPEDEF_YY_SIZE_T
  2277. | typedef size_t yy_size_t;
  2278. | #endif
  2279. |
  2280. | extern yy_size_t yyleng;
  2281. |
  2282. | extern FILE *yyin, *yyout;
  2283. |
  2284. | #define EOB_ACT_CONTINUE_SCAN 0
  2285. | #define EOB_ACT_END_OF_FILE 1
  2286. | #define EOB_ACT_LAST_MATCH 2
  2287. |
  2288. | #define YY_LESS_LINENO(n)
  2289. |
  2290. | /* Return all but the first "n" matched characters back to the input stream. */
  2291. | #define yyless(n) \
  2292. | do \
  2293. | { \
  2294. | /* Undo effects of setting up yytext. */ \
  2295. | int yyless_macro_arg = (n); \
  2296. | YY_LESS_LINENO(yyless_macro_arg);\
  2297. | *yy_cp = (yy_hold_char); \
  2298. | YY_RESTORE_YY_MORE_OFFSET \
  2299. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  2300. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  2301. | } \
  2302. | while ( 0 )
  2303. |
  2304. | #define unput(c) yyunput( c, (yytext_ptr) )
  2305. |
  2306. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  2307. | #define YY_STRUCT_YY_BUFFER_STATE
  2308. | struct yy_buffer_state
  2309. | {
  2310. | FILE *yy_input_file;
  2311. |
  2312. | char *yy_ch_buf; /* input buffer */
  2313. | char *yy_buf_pos; /* current position in input buffer */
  2314. |
  2315. | /* Size of input buffer in bytes, not including room for EOB
  2316. | * characters.
  2317. | */
  2318. | yy_size_t yy_buf_size;
  2319. |
  2320. | /* Number of characters read into yy_ch_buf, not including EOB
  2321. | * characters.
  2322. | */
  2323. | yy_size_t yy_n_chars;
  2324. |
  2325. | /* Whether we "own" the buffer - i.e., we know we created it,
  2326. | * and can realloc() it to grow it, and should free() it to
  2327. | * delete it.
  2328. | */
  2329. | int yy_is_our_buffer;
  2330. |
  2331. | /* Whether this is an "interactive" input source; if so, and
  2332. | * if we're using stdio for input, then we want to use getc()
  2333. | * instead of fread(), to make sure we stop fetching input after
  2334. | * each newline.
  2335. | */
  2336. | int yy_is_interactive;
  2337. |
  2338. | /* Whether we're considered to be at the beginning of a line.
  2339. | * If so, '^' rules will be active on the next match, otherwise
  2340. | * not.
  2341. | */
  2342. | int yy_at_bol;
  2343. |
  2344. | int yy_bs_lineno; /**< The line count. */
  2345. | int yy_bs_column; /**< The column count. */
  2346. |
  2347. | /* Whether to try to fill the input buffer when we reach the
  2348. | * end of it.
  2349. | */
  2350. | int yy_fill_buffer;
  2351. |
  2352. | int yy_buffer_status;
  2353. |
  2354. | #define YY_BUFFER_NEW 0
  2355. | #define YY_BUFFER_NORMAL 1
  2356. | /* When an EOF's been seen but there's still some text to process
  2357. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  2358. | * shouldn't try reading from the input source any more. We might
  2359. | * still have a bunch of tokens to match, though, because of
  2360. | * possible backing-up.
  2361. | *
  2362. | * When we actually see the EOF, we change the status to "new"
  2363. | * (via yyrestart()), so that the user can continue scanning by
  2364. | * just pointing yyin at a new input file.
  2365. | */
  2366. | #define YY_BUFFER_EOF_PENDING 2
  2367. |
  2368. | };
  2369. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  2370. |
  2371. | /* Stack of input buffers. */
  2372. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  2373. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  2374. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  2375. |
  2376. | /* We provide macros for accessing buffer states in case in the
  2377. | * future we want to put the buffer states in a more general
  2378. | * "scanner state".
  2379. | *
  2380. | * Returns the top of the stack, or NULL.
  2381. | */
  2382. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  2383. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  2384. | : NULL)
  2385. |
  2386. | /* Same as previous macro, but useful when we know that the buffer stack is not
  2387. | * NULL or when we need an lvalue. For internal use only.
  2388. | */
  2389. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  2390. |
  2391. | /* yy_hold_char holds the character lost when yytext is formed. */
  2392. | static char yy_hold_char;
  2393. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  2394. | yy_size_t yyleng;
  2395. |
  2396. | /* Points to current character in buffer. */
  2397. | static char *yy_c_buf_p = (char *) 0;
  2398. | static int yy_init = 0; /* whether we need to initialize */
  2399. | static int yy_start = 0; /* start state number */
  2400. |
  2401. | /* Flag which is used to allow yywrap()'s to do buffer switches
  2402. | * instead of setting up a fresh yyin. A bit of a hack ...
  2403. | */
  2404. | static int yy_did_buffer_switch_on_eof;
  2405. |
  2406. | void yyrestart (FILE *input_file );
  2407. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  2408. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  2409. | void yy_delete_buffer (YY_BUFFER_STATE b );
  2410. | void yy_flush_buffer (YY_BUFFER_STATE b );
  2411. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  2412. | void yypop_buffer_state (void );
  2413. |
  2414. | static void yyensure_buffer_stack (void );
  2415. | static void yy_load_buffer_state (void );
  2416. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  2417. |
  2418. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  2419. |
  2420. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  2421. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  2422. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  2423. |
  2424. | void *yyalloc (yy_size_t );
  2425. | void *yyrealloc (void *,yy_size_t );
  2426. | void yyfree (void * );
  2427. |
  2428. | #define yy_new_buffer yy_create_buffer
  2429. |
  2430. | #define yy_set_interactive(is_interactive) \
  2431. | { \
  2432. | if ( ! YY_CURRENT_BUFFER ){ \
  2433. | yyensure_buffer_stack (); \
  2434. | YY_CURRENT_BUFFER_LVALUE = \
  2435. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  2436. | } \
  2437. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  2438. | }
  2439. |
  2440. | #define yy_set_bol(at_bol) \
  2441. | { \
  2442. | if ( ! YY_CURRENT_BUFFER ){\
  2443. | yyensure_buffer_stack (); \
  2444. | YY_CURRENT_BUFFER_LVALUE = \
  2445. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  2446. | } \
  2447. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  2448. | }
  2449. |
  2450. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  2451. |
  2452. | /* Begin user sect3 */
  2453. |
  2454. | typedef unsigned char YY_CHAR;
  2455. |
  2456. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  2457. |
  2458. | typedef int yy_state_type;
  2459. |
  2460. | extern int yylineno;
  2461. |
  2462. | int yylineno = 1;
  2463. |
  2464. | extern char *yytext;
  2465. | #define yytext_ptr yytext
  2466. |
  2467. | static yy_state_type yy_get_previous_state (void );
  2468. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  2469. | static int yy_get_next_buffer (void );
  2470. | static void yy_fatal_error (yyconst char msg[] );
  2471. |
  2472. | /* Done after the current pattern has been matched and before the
  2473. | * corresponding action - sets up yytext.
  2474. | */
  2475. | #define YY_DO_BEFORE_ACTION \
  2476. | (yytext_ptr) = yy_bp; \
  2477. | (yytext_ptr) -= (yy_more_len); \
  2478. | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
  2479. | (yy_hold_char) = *yy_cp; \
  2480. | *yy_cp = '\0'; \
  2481. | (yy_c_buf_p) = yy_cp;
  2482. |
  2483. | #define YY_NUM_RULES 8
  2484. | #define YY_END_OF_BUFFER 9
  2485. | /* This struct is not used in this scanner,
  2486. | but its presence is necessary. */
  2487. | struct yy_trans_info
  2488. | {
  2489. | flex_int32_t yy_verify;
  2490. | flex_int32_t yy_nxt;
  2491. | };
  2492. | static yyconst flex_int16_t yy_acclist[23] =
  2493. | { 0,
  2494. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  2495. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  2496. | 7, 8
  2497. | } ;
  2498. |
  2499. | static yyconst flex_int16_t yy_accept[14] =
  2500. | { 0,
  2501. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  2502. | 20, 23, 23
  2503. | } ;
  2504. |
  2505. | static yyconst flex_int32_t yy_ec[256] =
  2506. | { 0,
  2507. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  2508. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2509. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2510. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2511. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2512. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2513. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2514. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2515. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2516. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  2517. |
  2518. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  2519. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2520. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2521. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2522. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2523. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2524. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2525. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2526. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2527. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2528. |
  2529. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2530. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2531. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2532. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2533. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2534. | 1, 1, 1, 1, 1
  2535. | } ;
  2536. |
  2537. | static yyconst flex_int32_t yy_meta[9] =
  2538. | { 0,
  2539. | 1, 1, 1, 1, 1, 1, 1, 1
  2540. | } ;
  2541. |
  2542. | static yyconst flex_int16_t yy_base[13] =
  2543. | { 0,
  2544. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  2545. | 10, 10
  2546. | } ;
  2547. |
  2548. | static yyconst flex_int16_t yy_def[13] =
  2549. | { 0,
  2550. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  2551. | 12, 0
  2552. | } ;
  2553. |
  2554. | static yyconst flex_int16_t yy_nxt[19] =
  2555. | { 0,
  2556. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  2557. | 12, 12, 12, 12, 12, 12, 12, 12
  2558. | } ;
  2559. |
  2560. | static yyconst flex_int16_t yy_chk[19] =
  2561. | { 0,
  2562. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  2563. | 12, 12, 12, 12, 12, 12, 12, 12
  2564. | } ;
  2565. |
  2566. | extern int yy_flex_debug;
  2567. | int yy_flex_debug = 0;
  2568. |
  2569. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  2570. | static char *yy_full_match;
  2571. | static int yy_lp;
  2572. | #define REJECT \
  2573. | { \
  2574. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  2575. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  2576. | ++(yy_lp); \
  2577. | goto find_rule; \
  2578. | }
  2579. |
  2580. | static int yy_more_flag = 0;
  2581. | static int yy_more_len = 0;
  2582. | #define yymore() ((yy_more_flag) = 1)
  2583. | #define YY_MORE_ADJ (yy_more_len)
  2584. | #define YY_RESTORE_YY_MORE_OFFSET
  2585. | char *yytext;
  2586. | #line 1 "conftest.l"
  2587. | #line 469 "lex.yy.c"
  2588. |
  2589. | #define INITIAL 0
  2590. |
  2591. | #ifndef YY_NO_UNISTD_H
  2592. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  2593. | * down here because we want the user's section 1 to have been scanned first.
  2594. | * The user has a chance to override it with an option.
  2595. | */
  2596. | #include <unistd.h>
  2597. | #endif
  2598. |
  2599. | #ifndef YY_EXTRA_TYPE
  2600. | #define YY_EXTRA_TYPE void *
  2601. | #endif
  2602. |
  2603. | static int yy_init_globals (void );
  2604. |
  2605. | /* Accessor methods to globals.
  2606. | These are made visible to non-reentrant scanners for convenience. */
  2607. |
  2608. | int yylex_destroy (void );
  2609. |
  2610. | int yyget_debug (void );
  2611. |
  2612. | void yyset_debug (int debug_flag );
  2613. |
  2614. | YY_EXTRA_TYPE yyget_extra (void );
  2615. |
  2616. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  2617. |
  2618. | FILE *yyget_in (void );
  2619. |
  2620. | void yyset_in (FILE * in_str );
  2621. |
  2622. | FILE *yyget_out (void );
  2623. |
  2624. | void yyset_out (FILE * out_str );
  2625. |
  2626. | yy_size_t yyget_leng (void );
  2627. |
  2628. | char *yyget_text (void );
  2629. |
  2630. | int yyget_lineno (void );
  2631. |
  2632. | void yyset_lineno (int line_number );
  2633. |
  2634. | /* Macros after this point can all be overridden by user definitions in
  2635. | * section 1.
  2636. | */
  2637. |
  2638. | #ifndef YY_SKIP_YYWRAP
  2639. | #ifdef __cplusplus
  2640. | extern "C" int yywrap (void );
  2641. | #else
  2642. | extern int yywrap (void );
  2643. | #endif
  2644. | #endif
  2645. |
  2646. | static void yyunput (int c,char *buf_ptr );
  2647. |
  2648. | #ifndef yytext_ptr
  2649. | static void yy_flex_strncpy (char *,yyconst char *,int );
  2650. | #endif
  2651. |
  2652. | #ifdef YY_NEED_STRLEN
  2653. | static int yy_flex_strlen (yyconst char * );
  2654. | #endif
  2655. |
  2656. | #ifndef YY_NO_INPUT
  2657. |
  2658. | #ifdef __cplusplus
  2659. | static int yyinput (void );
  2660. | #else
  2661. | static int input (void );
  2662. | #endif
  2663. |
  2664. | #endif
  2665. |
  2666. | /* Amount of stuff to slurp up with each read. */
  2667. | #ifndef YY_READ_BUF_SIZE
  2668. | #define YY_READ_BUF_SIZE 8192
  2669. | #endif
  2670. |
  2671. | /* Copy whatever the last rule matched to the standard output. */
  2672. | #ifndef ECHO
  2673. | /* This used to be an fputs(), but since the string might contain NUL's,
  2674. | * we now use fwrite().
  2675. | */
  2676. | #define ECHO fwrite( yytext, yyleng, 1, yyout )
  2677. | #endif
  2678. |
  2679. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  2680. | * is returned in "result".
  2681. | */
  2682. | #ifndef YY_INPUT
  2683. | #define YY_INPUT(buf,result,max_size) \
  2684. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  2685. | { \
  2686. | int c = '*'; \
  2687. | yy_size_t n; \
  2688. | for ( n = 0; n < max_size && \
  2689. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  2690. | buf[n] = (char) c; \
  2691. | if ( c == '\n' ) \
  2692. | buf[n++] = (char) c; \
  2693. | if ( c == EOF && ferror( yyin ) ) \
  2694. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2695. | result = n; \
  2696. | } \
  2697. | else \
  2698. | { \
  2699. | errno=0; \
  2700. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  2701. | { \
  2702. | if( errno != EINTR) \
  2703. | { \
  2704. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2705. | break; \
  2706. | } \
  2707. | errno=0; \
  2708. | clearerr(yyin); \
  2709. | } \
  2710. | }\
  2711. | \
  2712. |
  2713. | #endif
  2714. |
  2715. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  2716. | * we don't want an extra ';' after the "return" because that will cause
  2717. | * some compilers to complain about unreachable statements.
  2718. | */
  2719. | #ifndef yyterminate
  2720. | #define yyterminate() return YY_NULL
  2721. | #endif
  2722. |
  2723. | /* Number of entries by which start-condition stack grows. */
  2724. | #ifndef YY_START_STACK_INCR
  2725. | #define YY_START_STACK_INCR 25
  2726. | #endif
  2727. |
  2728. | /* Report a fatal error. */
  2729. | #ifndef YY_FATAL_ERROR
  2730. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  2731. | #endif
  2732. |
  2733. | /* end tables serialization structures and prototypes */
  2734. |
  2735. | /* Default declaration of generated scanner - a define so the user can
  2736. | * easily add parameters.
  2737. | */
  2738. | #ifndef YY_DECL
  2739. | #define YY_DECL_IS_OURS 1
  2740. |
  2741. | extern int yylex (void);
  2742. |
  2743. | #define YY_DECL int yylex (void)
  2744. | #endif /* !YY_DECL */
  2745. |
  2746. | /* Code executed at the beginning of each rule, after yytext and yyleng
  2747. | * have been set up.
  2748. | */
  2749. | #ifndef YY_USER_ACTION
  2750. | #define YY_USER_ACTION
  2751. | #endif
  2752. |
  2753. | /* Code executed at the end of each rule. */
  2754. | #ifndef YY_BREAK
  2755. | #define YY_BREAK break;
  2756. | #endif
  2757. |
  2758. | #define YY_RULE_SETUP \
  2759. | YY_USER_ACTION
  2760. |
  2761. | /** The main scanner function which does all the work.
  2762. | */
  2763. | YY_DECL
  2764. | {
  2765. | register yy_state_type yy_current_state;
  2766. | register char *yy_cp, *yy_bp;
  2767. | register int yy_act;
  2768. |
  2769. | #line 1 "conftest.l"
  2770. |
  2771. | #line 653 "lex.yy.c"
  2772. |
  2773. | if ( !(yy_init) )
  2774. | {
  2775. | (yy_init) = 1;
  2776. |
  2777. | #ifdef YY_USER_INIT
  2778. | YY_USER_INIT;
  2779. | #endif
  2780. |
  2781. | /* Create the reject buffer large enough to save one state per allowed character. */
  2782. | if ( ! (yy_state_buf) )
  2783. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  2784. | if ( ! (yy_state_buf) )
  2785. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  2786. |
  2787. | if ( ! (yy_start) )
  2788. | (yy_start) = 1; /* first start state */
  2789. |
  2790. | if ( ! yyin )
  2791. | yyin = stdin;
  2792. |
  2793. | if ( ! yyout )
  2794. | yyout = stdout;
  2795. |
  2796. | if ( ! YY_CURRENT_BUFFER ) {
  2797. | yyensure_buffer_stack ();
  2798. | YY_CURRENT_BUFFER_LVALUE =
  2799. | yy_create_buffer(yyin,YY_BUF_SIZE );
  2800. | }
  2801. |
  2802. | yy_load_buffer_state( );
  2803. | }
  2804. |
  2805. | while ( 1 ) /* loops until end-of-file is reached */
  2806. | {
  2807. | (yy_more_len) = 0;
  2808. | if ( (yy_more_flag) )
  2809. | {
  2810. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  2811. | (yy_more_flag) = 0;
  2812. | }
  2813. | yy_cp = (yy_c_buf_p);
  2814. |
  2815. | /* Support of yytext. */
  2816. | *yy_cp = (yy_hold_char);
  2817. |
  2818. | /* yy_bp points to the position in yy_ch_buf of the start of
  2819. | * the current run.
  2820. | */
  2821. | yy_bp = yy_cp;
  2822. |
  2823. | yy_current_state = (yy_start);
  2824. |
  2825. | (yy_state_ptr) = (yy_state_buf);
  2826. | *(yy_state_ptr)++ = yy_current_state;
  2827. |
  2828. | yy_match:
  2829. | do
  2830. | {
  2831. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  2832. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2833. | {
  2834. | yy_current_state = (int) yy_def[yy_current_state];
  2835. | if ( yy_current_state >= 13 )
  2836. | yy_c = yy_meta[(unsigned int) yy_c];
  2837. | }
  2838. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  2839. | *(yy_state_ptr)++ = yy_current_state;
  2840. | ++yy_cp;
  2841. | }
  2842. | while ( yy_base[yy_current_state] != 10 );
  2843. |
  2844. | yy_find_action:
  2845. | yy_current_state = *--(yy_state_ptr);
  2846. | (yy_lp) = yy_accept[yy_current_state];
  2847. | goto find_rule; /* Shut up GCC warning -Wall */
  2848. | find_rule: /* we branch to this label when backing up */
  2849. | for ( ; ; ) /* until we find what rule we matched */
  2850. | {
  2851. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  2852. | {
  2853. | yy_act = yy_acclist[(yy_lp)];
  2854. | {
  2855. | (yy_full_match) = yy_cp;
  2856. | break;
  2857. | }
  2858. | }
  2859. | --yy_cp;
  2860. | yy_current_state = *--(yy_state_ptr);
  2861. | (yy_lp) = yy_accept[yy_current_state];
  2862. | }
  2863. |
  2864. | YY_DO_BEFORE_ACTION;
  2865. |
  2866. | do_action: /* This label is used only to access EOF actions. */
  2867. |
  2868. | switch ( yy_act )
  2869. | { /* beginning of action switch */
  2870. | case 1:
  2871. | YY_RULE_SETUP
  2872. | #line 2 "conftest.l"
  2873. | { ECHO; }
  2874. | YY_BREAK
  2875. | case 2:
  2876. | YY_RULE_SETUP
  2877. | #line 3 "conftest.l"
  2878. | { REJECT; }
  2879. | YY_BREAK
  2880. | case 3:
  2881. | YY_RULE_SETUP
  2882. | #line 4 "conftest.l"
  2883. | { yymore (); }
  2884. | YY_BREAK
  2885. | case 4:
  2886. | YY_RULE_SETUP
  2887. | #line 5 "conftest.l"
  2888. | { yyless (1); }
  2889. | YY_BREAK
  2890. | case 5:
  2891. | YY_RULE_SETUP
  2892. | #line 6 "conftest.l"
  2893. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  2894. | yyless ((input () != 0)); }
  2895. | YY_BREAK
  2896. | case 6:
  2897. | YY_RULE_SETUP
  2898. | #line 8 "conftest.l"
  2899. | { unput (yytext[0]); }
  2900. | YY_BREAK
  2901. | case 7:
  2902. | YY_RULE_SETUP
  2903. | #line 9 "conftest.l"
  2904. | { BEGIN INITIAL; }
  2905. | YY_BREAK
  2906. | case 8:
  2907. | YY_RULE_SETUP
  2908. | #line 10 "conftest.l"
  2909. | ECHO;
  2910. | YY_BREAK
  2911. | #line 793 "lex.yy.c"
  2912. | case YY_STATE_EOF(INITIAL):
  2913. | yyterminate();
  2914. |
  2915. | case YY_END_OF_BUFFER:
  2916. | {
  2917. | /* Amount of text matched not including the EOB char. */
  2918. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  2919. |
  2920. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  2921. | *yy_cp = (yy_hold_char);
  2922. | YY_RESTORE_YY_MORE_OFFSET
  2923. |
  2924. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  2925. | {
  2926. | /* We're scanning a new file or input source. It's
  2927. | * possible that this happened because the user
  2928. | * just pointed yyin at a new source and called
  2929. | * yylex(). If so, then we have to assure
  2930. | * consistency between YY_CURRENT_BUFFER and our
  2931. | * globals. Here is the right place to do so, because
  2932. | * this is the first action (other than possibly a
  2933. | * back-up) that will match for the new input source.
  2934. | */
  2935. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  2936. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  2937. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  2938. | }
  2939. |
  2940. | /* Note that here we test for yy_c_buf_p "<=" to the position
  2941. | * of the first EOB in the buffer, since yy_c_buf_p will
  2942. | * already have been incremented past the NUL character
  2943. | * (since all states make transitions on EOB to the
  2944. | * end-of-buffer state). Contrast this with the test
  2945. | * in input().
  2946. | */
  2947. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  2948. | { /* This was really a NUL. */
  2949. | yy_state_type yy_next_state;
  2950. |
  2951. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  2952. |
  2953. | yy_current_state = yy_get_previous_state( );
  2954. |
  2955. | /* Okay, we're now positioned to make the NUL
  2956. | * transition. We couldn't have
  2957. | * yy_get_previous_state() go ahead and do it
  2958. | * for us because it doesn't know how to deal
  2959. | * with the possibility of jamming (and we don't
  2960. | * want to build jamming into it because then it
  2961. | * will run more slowly).
  2962. | */
  2963. |
  2964. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  2965. |
  2966. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2967. |
  2968. | if ( yy_next_state )
  2969. | {
  2970. | /* Consume the NUL. */
  2971. | yy_cp = ++(yy_c_buf_p);
  2972. | yy_current_state = yy_next_state;
  2973. | goto yy_match;
  2974. | }
  2975. |
  2976. | else
  2977. | {
  2978. | yy_cp = (yy_c_buf_p);
  2979. | goto yy_find_action;
  2980. | }
  2981. | }
  2982. |
  2983. | else switch ( yy_get_next_buffer( ) )
  2984. | {
  2985. | case EOB_ACT_END_OF_FILE:
  2986. | {
  2987. | (yy_did_buffer_switch_on_eof) = 0;
  2988. |
  2989. | if ( yywrap( ) )
  2990. | {
  2991. | /* Note: because we've taken care in
  2992. | * yy_get_next_buffer() to have set up
  2993. | * yytext, we can now set up
  2994. | * yy_c_buf_p so that if some total
  2995. | * hoser (like flex itself) wants to
  2996. | * call the scanner after we return the
  2997. | * YY_NULL, it'll still work - another
  2998. | * YY_NULL will get returned.
  2999. | */
  3000. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  3001. |
  3002. | yy_act = YY_STATE_EOF(YY_START);
  3003. | goto do_action;
  3004. | }
  3005. |
  3006. | else
  3007. | {
  3008. | if ( ! (yy_did_buffer_switch_on_eof) )
  3009. | YY_NEW_FILE;
  3010. | }
  3011. | break;
  3012. | }
  3013. |
  3014. | case EOB_ACT_CONTINUE_SCAN:
  3015. | (yy_c_buf_p) =
  3016. | (yytext_ptr) + yy_amount_of_matched_text;
  3017. |
  3018. | yy_current_state = yy_get_previous_state( );
  3019. |
  3020. | yy_cp = (yy_c_buf_p);
  3021. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3022. | goto yy_match;
  3023. |
  3024. | case EOB_ACT_LAST_MATCH:
  3025. | (yy_c_buf_p) =
  3026. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  3027. |
  3028. | yy_current_state = yy_get_previous_state( );
  3029. |
  3030. | yy_cp = (yy_c_buf_p);
  3031. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3032. | goto yy_find_action;
  3033. | }
  3034. | break;
  3035. | }
  3036. |
  3037. | default:
  3038. | YY_FATAL_ERROR(
  3039. | "fatal flex scanner internal error--no action found" );
  3040. | } /* end of action switch */
  3041. | } /* end of scanning one token */
  3042. | } /* end of yylex */
  3043. |
  3044. | /* yy_get_next_buffer - try to read in a new buffer
  3045. | *
  3046. | * Returns a code representing an action:
  3047. | * EOB_ACT_LAST_MATCH -
  3048. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  3049. | * EOB_ACT_END_OF_FILE - end of file
  3050. | */
  3051. | static int yy_get_next_buffer (void)
  3052. | {
  3053. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  3054. | register char *source = (yytext_ptr);
  3055. | register int number_to_move, i;
  3056. | int ret_val;
  3057. |
  3058. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  3059. | YY_FATAL_ERROR(
  3060. | "fatal flex scanner internal error--end of buffer missed" );
  3061. |
  3062. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  3063. | { /* Don't try to fill the buffer, so this is an EOF. */
  3064. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  3065. | {
  3066. | /* We matched a single character, the EOB, so
  3067. | * treat this as a final EOF.
  3068. | */
  3069. | return EOB_ACT_END_OF_FILE;
  3070. | }
  3071. |
  3072. | else
  3073. | {
  3074. | /* We matched some text prior to the EOB, first
  3075. | * process it.
  3076. | */
  3077. | return EOB_ACT_LAST_MATCH;
  3078. | }
  3079. | }
  3080. |
  3081. | /* Try to read more data. */
  3082. |
  3083. | /* First move last chars to start of buffer. */
  3084. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  3085. |
  3086. | for ( i = 0; i < number_to_move; ++i )
  3087. | *(dest++) = *(source++);
  3088. |
  3089. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  3090. | /* don't do the read, it's not guaranteed to return an EOF,
  3091. | * just force an EOF
  3092. | */
  3093. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  3094. |
  3095. | else
  3096. | {
  3097. | yy_size_t num_to_read =
  3098. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  3099. |
  3100. | while ( num_to_read <= 0 )
  3101. | { /* Not enough room in the buffer - grow it. */
  3102. |
  3103. | YY_FATAL_ERROR(
  3104. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  3105. |
  3106. | }
  3107. |
  3108. | if ( num_to_read > YY_READ_BUF_SIZE )
  3109. | num_to_read = YY_READ_BUF_SIZE;
  3110. |
  3111. | /* Read in more data. */
  3112. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  3113. | (yy_n_chars), num_to_read );
  3114. |
  3115. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3116. | }
  3117. |
  3118. | if ( (yy_n_chars) == 0 )
  3119. | {
  3120. | if ( number_to_move == YY_MORE_ADJ )
  3121. | {
  3122. | ret_val = EOB_ACT_END_OF_FILE;
  3123. | yyrestart(yyin );
  3124. | }
  3125. |
  3126. | else
  3127. | {
  3128. | ret_val = EOB_ACT_LAST_MATCH;
  3129. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  3130. | YY_BUFFER_EOF_PENDING;
  3131. | }
  3132. | }
  3133. |
  3134. | else
  3135. | ret_val = EOB_ACT_CONTINUE_SCAN;
  3136. |
  3137. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  3138. | /* Extend the array by 50%, plus the number we really need. */
  3139. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  3140. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  3141. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3142. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  3143. | }
  3144. |
  3145. | (yy_n_chars) += number_to_move;
  3146. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  3147. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  3148. |
  3149. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  3150. |
  3151. | return ret_val;
  3152. | }
  3153. |
  3154. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  3155. |
  3156. | static yy_state_type yy_get_previous_state (void)
  3157. | {
  3158. | register yy_state_type yy_current_state;
  3159. | register char *yy_cp;
  3160. |
  3161. | yy_current_state = (yy_start);
  3162. |
  3163. | (yy_state_ptr) = (yy_state_buf);
  3164. | *(yy_state_ptr)++ = yy_current_state;
  3165. |
  3166. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  3167. | {
  3168. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3169. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3170. | {
  3171. | yy_current_state = (int) yy_def[yy_current_state];
  3172. | if ( yy_current_state >= 13 )
  3173. | yy_c = yy_meta[(unsigned int) yy_c];
  3174. | }
  3175. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3176. | *(yy_state_ptr)++ = yy_current_state;
  3177. | }
  3178. |
  3179. | return yy_current_state;
  3180. | }
  3181. |
  3182. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  3183. | *
  3184. | * synopsis
  3185. | * next_state = yy_try_NUL_trans( current_state );
  3186. | */
  3187. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  3188. | {
  3189. | register int yy_is_jam;
  3190. |
  3191. | register YY_CHAR yy_c = 1;
  3192. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3193. | {
  3194. | yy_current_state = (int) yy_def[yy_current_state];
  3195. | if ( yy_current_state >= 13 )
  3196. | yy_c = yy_meta[(unsigned int) yy_c];
  3197. | }
  3198. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3199. | yy_is_jam = (yy_current_state == 12);
  3200. | if ( ! yy_is_jam )
  3201. | *(yy_state_ptr)++ = yy_current_state;
  3202. |
  3203. | return yy_is_jam ? 0 : yy_current_state;
  3204. | }
  3205. |
  3206. | static void yyunput (int c, register char * yy_bp )
  3207. | {
  3208. | register char *yy_cp;
  3209. |
  3210. | yy_cp = (yy_c_buf_p);
  3211. |
  3212. | /* undo effects of setting up yytext */
  3213. | *yy_cp = (yy_hold_char);
  3214. |
  3215. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3216. | { /* need to shift things up to make room */
  3217. | /* +2 for EOB chars. */
  3218. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  3219. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  3220. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  3221. | register char *source =
  3222. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  3223. |
  3224. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3225. | *--dest = *--source;
  3226. |
  3227. | yy_cp += (int) (dest - source);
  3228. | yy_bp += (int) (dest - source);
  3229. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  3230. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  3231. |
  3232. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3233. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  3234. | }
  3235. |
  3236. | *--yy_cp = (char) c;
  3237. |
  3238. | (yytext_ptr) = yy_bp;
  3239. | (yy_hold_char) = *yy_cp;
  3240. | (yy_c_buf_p) = yy_cp;
  3241. | }
  3242. |
  3243. | #ifndef YY_NO_INPUT
  3244. | #ifdef __cplusplus
  3245. | static int yyinput (void)
  3246. | #else
  3247. | static int input (void)
  3248. | #endif
  3249. |
  3250. | {
  3251. | int c;
  3252. |
  3253. | *(yy_c_buf_p) = (yy_hold_char);
  3254. |
  3255. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  3256. | {
  3257. | /* yy_c_buf_p now points to the character we want to return.
  3258. | * If this occurs *before* the EOB characters, then it's a
  3259. | * valid NUL; if not, then we've hit the end of the buffer.
  3260. | */
  3261. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3262. | /* This was really a NUL. */
  3263. | *(yy_c_buf_p) = '\0';
  3264. |
  3265. | else
  3266. | { /* need more input */
  3267. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  3268. | ++(yy_c_buf_p);
  3269. |
  3270. | switch ( yy_get_next_buffer( ) )
  3271. | {
  3272. | case EOB_ACT_LAST_MATCH:
  3273. | /* This happens because yy_g_n_b()
  3274. | * sees that we've accumulated a
  3275. | * token and flags that we need to
  3276. | * try matching the token before
  3277. | * proceeding. But for input(),
  3278. | * there's no matching to consider.
  3279. | * So convert the EOB_ACT_LAST_MATCH
  3280. | * to EOB_ACT_END_OF_FILE.
  3281. | */
  3282. |
  3283. | /* Reset buffer status. */
  3284. | yyrestart(yyin );
  3285. |
  3286. | /*FALLTHROUGH*/
  3287. |
  3288. | case EOB_ACT_END_OF_FILE:
  3289. | {
  3290. | if ( yywrap( ) )
  3291. | return 0;
  3292. |
  3293. | if ( ! (yy_did_buffer_switch_on_eof) )
  3294. | YY_NEW_FILE;
  3295. | #ifdef __cplusplus
  3296. | return yyinput();
  3297. | #else
  3298. | return input();
  3299. | #endif
  3300. | }
  3301. |
  3302. | case EOB_ACT_CONTINUE_SCAN:
  3303. | (yy_c_buf_p) = (yytext_ptr) + offset;
  3304. | break;
  3305. | }
  3306. | }
  3307. | }
  3308. |
  3309. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  3310. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  3311. | (yy_hold_char) = *++(yy_c_buf_p);
  3312. |
  3313. | return c;
  3314. | }
  3315. | #endif /* ifndef YY_NO_INPUT */
  3316. |
  3317. | /** Immediately switch to a different input stream.
  3318. | * @param input_file A readable stream.
  3319. | *
  3320. | * @note This function does not reset the start condition to @c INITIAL .
  3321. | */
  3322. | void yyrestart (FILE * input_file )
  3323. | {
  3324. |
  3325. | if ( ! YY_CURRENT_BUFFER ){
  3326. | yyensure_buffer_stack ();
  3327. | YY_CURRENT_BUFFER_LVALUE =
  3328. | yy_create_buffer(yyin,YY_BUF_SIZE );
  3329. | }
  3330. |
  3331. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  3332. | yy_load_buffer_state( );
  3333. | }
  3334. |
  3335. | /** Switch to a different input buffer.
  3336. | * @param new_buffer The new input buffer.
  3337. | *
  3338. | */
  3339. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  3340. | {
  3341. |
  3342. | /* TODO. We should be able to replace this entire function body
  3343. | * with
  3344. | * yypop_buffer_state();
  3345. | * yypush_buffer_state(new_buffer);
  3346. | */
  3347. | yyensure_buffer_stack ();
  3348. | if ( YY_CURRENT_BUFFER == new_buffer )
  3349. | return;
  3350. |
  3351. | if ( YY_CURRENT_BUFFER )
  3352. | {
  3353. | /* Flush out information for old buffer. */
  3354. | *(yy_c_buf_p) = (yy_hold_char);
  3355. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3356. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3357. | }
  3358. |
  3359. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3360. | yy_load_buffer_state( );
  3361. |
  3362. | /* We don't actually know whether we did this switch during
  3363. | * EOF (yywrap()) processing, but the only time this flag
  3364. | * is looked at is after yywrap() is called, so it's safe
  3365. | * to go ahead and always set it.
  3366. | */
  3367. | (yy_did_buffer_switch_on_eof) = 1;
  3368. | }
  3369. |
  3370. | static void yy_load_buffer_state (void)
  3371. | {
  3372. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3373. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  3374. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  3375. | (yy_hold_char) = *(yy_c_buf_p);
  3376. | }
  3377. |
  3378. | /** Allocate and initialize an input buffer state.
  3379. | * @param file A readable stream.
  3380. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  3381. | *
  3382. | * @return the allocated buffer state.
  3383. | */
  3384. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  3385. | {
  3386. | YY_BUFFER_STATE b;
  3387. |
  3388. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  3389. | if ( ! b )
  3390. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3391. |
  3392. | b->yy_buf_size = size;
  3393. |
  3394. | /* yy_ch_buf has to be 2 characters longer than the size given because
  3395. | * we need to put in 2 end-of-buffer characters.
  3396. | */
  3397. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  3398. | if ( ! b->yy_ch_buf )
  3399. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3400. |
  3401. | b->yy_is_our_buffer = 1;
  3402. |
  3403. | yy_init_buffer(b,file );
  3404. |
  3405. | return b;
  3406. | }
  3407. |
  3408. | /** Destroy the buffer.
  3409. | * @param b a buffer created with yy_create_buffer()
  3410. | *
  3411. | */
  3412. | void yy_delete_buffer (YY_BUFFER_STATE b )
  3413. | {
  3414. |
  3415. | if ( ! b )
  3416. | return;
  3417. |
  3418. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  3419. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  3420. |
  3421. | if ( b->yy_is_our_buffer )
  3422. | yyfree((void *) b->yy_ch_buf );
  3423. |
  3424. | yyfree((void *) b );
  3425. | }
  3426. |
  3427. | #ifndef __cplusplus
  3428. | extern int isatty (int );
  3429. | #endif /* __cplusplus */
  3430. |
  3431. | /* Initializes or reinitializes a buffer.
  3432. | * This function is sometimes called more than once on the same buffer,
  3433. | * such as during a yyrestart() or at EOF.
  3434. | */
  3435. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  3436. |
  3437. | {
  3438. | int oerrno = errno;
  3439. |
  3440. | yy_flush_buffer(b );
  3441. |
  3442. | b->yy_input_file = file;
  3443. | b->yy_fill_buffer = 1;
  3444. |
  3445. | /* If b is the current buffer, then yy_init_buffer was _probably_
  3446. | * called from yyrestart() or through yy_get_next_buffer.
  3447. | * In that case, we don't want to reset the lineno or column.
  3448. | */
  3449. | if (b != YY_CURRENT_BUFFER){
  3450. | b->yy_bs_lineno = 1;
  3451. | b->yy_bs_column = 0;
  3452. | }
  3453. |
  3454. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  3455. |
  3456. | errno = oerrno;
  3457. | }
  3458. |
  3459. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  3460. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  3461. | *
  3462. | */
  3463. | void yy_flush_buffer (YY_BUFFER_STATE b )
  3464. | {
  3465. | if ( ! b )
  3466. | return;
  3467. |
  3468. | b->yy_n_chars = 0;
  3469. |
  3470. | /* We always need two end-of-buffer characters. The first causes
  3471. | * a transition to the end-of-buffer state. The second causes
  3472. | * a jam in that state.
  3473. | */
  3474. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  3475. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  3476. |
  3477. | b->yy_buf_pos = &b->yy_ch_buf[0];
  3478. |
  3479. | b->yy_at_bol = 1;
  3480. | b->yy_buffer_status = YY_BUFFER_NEW;
  3481. |
  3482. | if ( b == YY_CURRENT_BUFFER )
  3483. | yy_load_buffer_state( );
  3484. | }
  3485. |
  3486. | /** Pushes the new state onto the stack. The new state becomes
  3487. | * the current state. This function will allocate the stack
  3488. | * if necessary.
  3489. | * @param new_buffer The new state.
  3490. | *
  3491. | */
  3492. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  3493. | {
  3494. | if (new_buffer == NULL)
  3495. | return;
  3496. |
  3497. | yyensure_buffer_stack();
  3498. |
  3499. | /* This block is copied from yy_switch_to_buffer. */
  3500. | if ( YY_CURRENT_BUFFER )
  3501. | {
  3502. | /* Flush out information for old buffer. */
  3503. | *(yy_c_buf_p) = (yy_hold_char);
  3504. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3505. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3506. | }
  3507. |
  3508. | /* Only push if top exists. Otherwise, replace top. */
  3509. | if (YY_CURRENT_BUFFER)
  3510. | (yy_buffer_stack_top)++;
  3511. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3512. |
  3513. | /* copied from yy_switch_to_buffer. */
  3514. | yy_load_buffer_state( );
  3515. | (yy_did_buffer_switch_on_eof) = 1;
  3516. | }
  3517. |
  3518. | /** Removes and deletes the top of the stack, if present.
  3519. | * The next element becomes the new top.
  3520. | *
  3521. | */
  3522. | void yypop_buffer_state (void)
  3523. | {
  3524. | if (!YY_CURRENT_BUFFER)
  3525. | return;
  3526. |
  3527. | yy_delete_buffer(YY_CURRENT_BUFFER );
  3528. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3529. | if ((yy_buffer_stack_top) > 0)
  3530. | --(yy_buffer_stack_top);
  3531. |
  3532. | if (YY_CURRENT_BUFFER) {
  3533. | yy_load_buffer_state( );
  3534. | (yy_did_buffer_switch_on_eof) = 1;
  3535. | }
  3536. | }
  3537. |
  3538. | /* Allocates the stack if it does not exist.
  3539. | * Guarantees space for at least one push.
  3540. | */
  3541. | static void yyensure_buffer_stack (void)
  3542. | {
  3543. | yy_size_t num_to_alloc;
  3544. |
  3545. | if (!(yy_buffer_stack)) {
  3546. |
  3547. | /* First allocation is just for 2 elements, since we don't know if this
  3548. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  3549. | * immediate realloc on the next call.
  3550. | */
  3551. | num_to_alloc = 1;
  3552. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  3553. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  3554. | );
  3555. | if ( ! (yy_buffer_stack) )
  3556. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3557. |
  3558. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  3559. |
  3560. | (yy_buffer_stack_max) = num_to_alloc;
  3561. | (yy_buffer_stack_top) = 0;
  3562. | return;
  3563. | }
  3564. |
  3565. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  3566. |
  3567. | /* Increase the buffer to prepare for a possible push. */
  3568. | int grow_size = 8 /* arbitrary grow size */;
  3569. |
  3570. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  3571. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  3572. | ((yy_buffer_stack),
  3573. | num_to_alloc * sizeof(struct yy_buffer_state*)
  3574. | );
  3575. | if ( ! (yy_buffer_stack) )
  3576. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3577. |
  3578. | /* zero only the new slots.*/
  3579. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  3580. | (yy_buffer_stack_max) = num_to_alloc;
  3581. | }
  3582. | }
  3583. |
  3584. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  3585. | * @param base the character buffer
  3586. | * @param size the size in bytes of the character buffer
  3587. | *
  3588. | * @return the newly allocated buffer state object.
  3589. | */
  3590. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  3591. | {
  3592. | YY_BUFFER_STATE b;
  3593. |
  3594. | if ( size < 2 ||
  3595. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  3596. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  3597. | /* They forgot to leave room for the EOB's. */
  3598. | return 0;
  3599. |
  3600. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  3601. | if ( ! b )
  3602. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  3603. |
  3604. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  3605. | b->yy_buf_pos = b->yy_ch_buf = base;
  3606. | b->yy_is_our_buffer = 0;
  3607. | b->yy_input_file = 0;
  3608. | b->yy_n_chars = b->yy_buf_size;
  3609. | b->yy_is_interactive = 0;
  3610. | b->yy_at_bol = 1;
  3611. | b->yy_fill_buffer = 0;
  3612. | b->yy_buffer_status = YY_BUFFER_NEW;
  3613. |
  3614. | yy_switch_to_buffer(b );
  3615. |
  3616. | return b;
  3617. | }
  3618. |
  3619. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  3620. | * scan from a @e copy of @a str.
  3621. | * @param yystr a NUL-terminated string to scan
  3622. | *
  3623. | * @return the newly allocated buffer state object.
  3624. | * @note If you want to scan bytes that may contain NUL values, then use
  3625. | * yy_scan_bytes() instead.
  3626. | */
  3627. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  3628. | {
  3629. |
  3630. | return yy_scan_bytes(yystr,strlen(yystr) );
  3631. | }
  3632. |
  3633. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  3634. | * scan from a @e copy of @a bytes.
  3635. | * @param bytes the byte buffer to scan
  3636. | * @param len the number of bytes in the buffer pointed to by @a bytes.
  3637. | *
  3638. | * @return the newly allocated buffer state object.
  3639. | */
  3640. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  3641. | {
  3642. | YY_BUFFER_STATE b;
  3643. | char *buf;
  3644. | yy_size_t n, i;
  3645. |
  3646. | /* Get memory for full buffer, including space for trailing EOB's. */
  3647. | n = _yybytes_len + 2;
  3648. | buf = (char *) yyalloc(n );
  3649. | if ( ! buf )
  3650. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  3651. |
  3652. | for ( i = 0; i < _yybytes_len; ++i )
  3653. | buf[i] = yybytes[i];
  3654. |
  3655. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  3656. |
  3657. | b = yy_scan_buffer(buf,n );
  3658. | if ( ! b )
  3659. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  3660. |
  3661. | /* It's okay to grow etc. this buffer, and we should throw it
  3662. | * away when we're done.
  3663. | */
  3664. | b->yy_is_our_buffer = 1;
  3665. |
  3666. | return b;
  3667. | }
  3668. |
  3669. | #ifndef YY_EXIT_FAILURE
  3670. | #define YY_EXIT_FAILURE 2
  3671. | #endif
  3672. |
  3673. | static void yy_fatal_error (yyconst char* msg )
  3674. | {
  3675. | (void) fprintf( stderr, "%s\n", msg );
  3676. | exit( YY_EXIT_FAILURE );
  3677. | }
  3678. |
  3679. | /* Redefine yyless() so it works in section 3 code. */
  3680. |
  3681. | #undef yyless
  3682. | #define yyless(n) \
  3683. | do \
  3684. | { \
  3685. | /* Undo effects of setting up yytext. */ \
  3686. | int yyless_macro_arg = (n); \
  3687. | YY_LESS_LINENO(yyless_macro_arg);\
  3688. | yytext[yyleng] = (yy_hold_char); \
  3689. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  3690. | (yy_hold_char) = *(yy_c_buf_p); \
  3691. | *(yy_c_buf_p) = '\0'; \
  3692. | yyleng = yyless_macro_arg; \
  3693. | } \
  3694. | while ( 0 )
  3695. |
  3696. | /* Accessor methods (get/set functions) to struct members. */
  3697. |
  3698. | /** Get the current line number.
  3699. | *
  3700. | */
  3701. | int yyget_lineno (void)
  3702. | {
  3703. |
  3704. | return yylineno;
  3705. | }
  3706. |
  3707. | /** Get the input stream.
  3708. | *
  3709. | */
  3710. | FILE *yyget_in (void)
  3711. | {
  3712. | return yyin;
  3713. | }
  3714. |
  3715. | /** Get the output stream.
  3716. | *
  3717. | */
  3718. | FILE *yyget_out (void)
  3719. | {
  3720. | return yyout;
  3721. | }
  3722. |
  3723. | /** Get the length of the current token.
  3724. | *
  3725. | */
  3726. | yy_size_t yyget_leng (void)
  3727. | {
  3728. | return yyleng;
  3729. | }
  3730. |
  3731. | /** Get the current token.
  3732. | *
  3733. | */
  3734. |
  3735. | char *yyget_text (void)
  3736. | {
  3737. | return yytext;
  3738. | }
  3739. |
  3740. | /** Set the current line number.
  3741. | * @param line_number
  3742. | *
  3743. | */
  3744. | void yyset_lineno (int line_number )
  3745. | {
  3746. |
  3747. | yylineno = line_number;
  3748. | }
  3749. |
  3750. | /** Set the input stream. This does not discard the current
  3751. | * input buffer.
  3752. | * @param in_str A readable stream.
  3753. | *
  3754. | * @see yy_switch_to_buffer
  3755. | */
  3756. | void yyset_in (FILE * in_str )
  3757. | {
  3758. | yyin = in_str ;
  3759. | }
  3760. |
  3761. | void yyset_out (FILE * out_str )
  3762. | {
  3763. | yyout = out_str ;
  3764. | }
  3765. |
  3766. | int yyget_debug (void)
  3767. | {
  3768. | return yy_flex_debug;
  3769. | }
  3770. |
  3771. | void yyset_debug (int bdebug )
  3772. | {
  3773. | yy_flex_debug = bdebug ;
  3774. | }
  3775. |
  3776. | static int yy_init_globals (void)
  3777. | {
  3778. | /* Initialization is the same as for the non-reentrant scanner.
  3779. | * This function is called from yylex_destroy(), so don't allocate here.
  3780. | */
  3781. |
  3782. | (yy_buffer_stack) = 0;
  3783. | (yy_buffer_stack_top) = 0;
  3784. | (yy_buffer_stack_max) = 0;
  3785. | (yy_c_buf_p) = (char *) 0;
  3786. | (yy_init) = 0;
  3787. | (yy_start) = 0;
  3788. |
  3789. | (yy_state_buf) = 0;
  3790. | (yy_state_ptr) = 0;
  3791. | (yy_full_match) = 0;
  3792. | (yy_lp) = 0;
  3793. |
  3794. | /* Defined in main.c */
  3795. | #ifdef YY_STDINIT
  3796. | yyin = stdin;
  3797. | yyout = stdout;
  3798. | #else
  3799. | yyin = (FILE *) 0;
  3800. | yyout = (FILE *) 0;
  3801. | #endif
  3802. |
  3803. | /* For future reference: Set errno on error, since we are called by
  3804. | * yylex_init()
  3805. | */
  3806. | return 0;
  3807. | }
  3808. |
  3809. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  3810. | int yylex_destroy (void)
  3811. | {
  3812. |
  3813. | /* Pop the buffer stack, destroying each element. */
  3814. | while(YY_CURRENT_BUFFER){
  3815. | yy_delete_buffer(YY_CURRENT_BUFFER );
  3816. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3817. | yypop_buffer_state();
  3818. | }
  3819. |
  3820. | /* Destroy the stack itself. */
  3821. | yyfree((yy_buffer_stack) );
  3822. | (yy_buffer_stack) = NULL;
  3823. |
  3824. | yyfree ( (yy_state_buf) );
  3825. | (yy_state_buf) = NULL;
  3826. |
  3827. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  3828. | * yylex() is called, initialization will occur. */
  3829. | yy_init_globals( );
  3830. |
  3831. | return 0;
  3832. | }
  3833. |
  3834. | /*
  3835. | * Internal utility routines.
  3836. | */
  3837. |
  3838. | #ifndef yytext_ptr
  3839. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  3840. | {
  3841. | register int i;
  3842. | for ( i = 0; i < n; ++i )
  3843. | s1[i] = s2[i];
  3844. | }
  3845. | #endif
  3846. |
  3847. | #ifdef YY_NEED_STRLEN
  3848. | static int yy_flex_strlen (yyconst char * s )
  3849. | {
  3850. | register int n;
  3851. | for ( n = 0; s[n]; ++n )
  3852. | ;
  3853. |
  3854. | return n;
  3855. | }
  3856. | #endif
  3857. |
  3858. | void *yyalloc (yy_size_t size )
  3859. | {
  3860. | return (void *) malloc( size );
  3861. | }
  3862. |
  3863. | void *yyrealloc (void * ptr, yy_size_t size )
  3864. | {
  3865. | /* The cast to (char *) in the following accommodates both
  3866. | * implementations that use char* generic pointers, and those
  3867. | * that use void* generic pointers. It works with the latter
  3868. | * because both ANSI C and C++ allow castless assignment from
  3869. | * any pointer type to void*, and deal with argument conversions
  3870. | * as though doing an assignment.
  3871. | */
  3872. | return (void *) realloc( (char *) ptr, size );
  3873. | }
  3874. |
  3875. | void yyfree (void * ptr )
  3876. | {
  3877. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  3878. | }
  3879. |
  3880. | #define YYTABLES_NAME "yytables"
  3881. |
  3882. | #line 10 "conftest.l"
  3883. |
  3884. |
  3885. | #ifdef YYTEXT_POINTER
  3886. | extern char *yytext;
  3887. | #endif
  3888. | int
  3889. | main (void)
  3890. | {
  3891. | return ! yylex () + ! yywrap ();
  3892. | }
  3893. configure:5966: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp -ll >&5
  3894. lex.yy.c:646:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3895. register yy_state_type yy_current_state;
  3896. ^~~~~~~~~
  3897. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3898. register char *yy_cp, *yy_bp;
  3899. ^~~~~~~~~
  3900. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3901. register char *yy_cp, *yy_bp;
  3902. ^~~~~~~~~
  3903. lex.yy.c:648:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3904. register int yy_act;
  3905. ^~~~~~~~~
  3906. lex.yy.c:712:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3907. register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  3908. ^~~~~~~~~
  3909. conftest.l:7:14: error: use of undeclared identifier 'input'
  3910. yyless ((input () != 0)); }
  3911. ^
  3912. lex.yy.c:934:6: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3913. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  3914. ^~~~~~~~~
  3915. lex.yy.c:935:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3916. register char *source = (yytext_ptr);
  3917. ^~~~~~~~~
  3918. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3919. register int number_to_move, i;
  3920. ^~~~~~~~~
  3921. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3922. register int number_to_move, i;
  3923. ^~~~~~~~~
  3924. lex.yy.c:1039:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3925. register yy_state_type yy_current_state;
  3926. ^~~~~~~~~
  3927. lex.yy.c:1040:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3928. register char *yy_cp;
  3929. ^~~~~~~~~
  3930. lex.yy.c:1049:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3931. register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3932. ^~~~~~~~~
  3933. lex.yy.c:1070:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3934. register int yy_is_jam;
  3935. ^~~~~~~~~
  3936. lex.yy.c:1072:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3937. register YY_CHAR yy_c = 1;
  3938. ^~~~~~~~~
  3939. lex.yy.c:1087:33: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3940. static void yyunput (int c, register char * yy_bp )
  3941. ^~~~~~~~~
  3942. lex.yy.c:1089:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3943. register char *yy_cp;
  3944. ^~~~~~~~~
  3945. lex.yy.c:1099:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3946. register yy_size_t number_to_move = (yy_n_chars) + 2;
  3947. ^~~~~~~~~
  3948. lex.yy.c:1100:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  3949. register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  3950. ^~~~~~~~~
  3951. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  3952. 20 errors generated.
  3953. configure:5966: $? = 1
  3954. configure: failed program was:
  3955. | /* confdefs.h */
  3956. | #define PACKAGE_NAME "Exult"
  3957. | #define PACKAGE_TARNAME "exult"
  3958. | #define PACKAGE_VERSION "1.5.0git"
  3959. | #define PACKAGE_STRING "Exult 1.5.0git"
  3960. | #define PACKAGE_BUGREPORT ""
  3961. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  3962. | #define PACKAGE "exult"
  3963. | #define VERSION "1.5.0git"
  3964. | #define PACKAGE "exult"
  3965. | #define VERSION "1.5.0git"
  3966. | #define MACOSX 1
  3967. | #define HAVE_CXX17 1
  3968. | /* end confdefs.h. */
  3969. |
  3970. | #line 3 "lex.yy.c"
  3971. |
  3972. | #define YY_INT_ALIGNED short int
  3973. |
  3974. | /* A lexical scanner generated by flex */
  3975. |
  3976. | #define FLEX_SCANNER
  3977. | #define YY_FLEX_MAJOR_VERSION 2
  3978. | #define YY_FLEX_MINOR_VERSION 5
  3979. | #define YY_FLEX_SUBMINOR_VERSION 35
  3980. | #if YY_FLEX_SUBMINOR_VERSION > 0
  3981. | #define FLEX_BETA
  3982. | #endif
  3983. |
  3984. | /* First, we deal with platform-specific or compiler-specific issues. */
  3985. |
  3986. | /* begin standard C headers. */
  3987. | #include <stdio.h>
  3988. | #include <string.h>
  3989. | #include <errno.h>
  3990. | #include <stdlib.h>
  3991. |
  3992. | /* end standard C headers. */
  3993. |
  3994. | /* flex integer type definitions */
  3995. |
  3996. | #ifndef FLEXINT_H
  3997. | #define FLEXINT_H
  3998. |
  3999. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  4000. |
  4001. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  4002. |
  4003. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  4004. | * if you want the limit (max/min) macros for int types.
  4005. | */
  4006. | #ifndef __STDC_LIMIT_MACROS
  4007. | #define __STDC_LIMIT_MACROS 1
  4008. | #endif
  4009. |
  4010. | #include <inttypes.h>
  4011. | typedef int8_t flex_int8_t;
  4012. | typedef uint8_t flex_uint8_t;
  4013. | typedef int16_t flex_int16_t;
  4014. | typedef uint16_t flex_uint16_t;
  4015. | typedef int32_t flex_int32_t;
  4016. | typedef uint32_t flex_uint32_t;
  4017. | typedef uint64_t flex_uint64_t;
  4018. | #else
  4019. | typedef signed char flex_int8_t;
  4020. | typedef short int flex_int16_t;
  4021. | typedef int flex_int32_t;
  4022. | typedef unsigned char flex_uint8_t;
  4023. | typedef unsigned short int flex_uint16_t;
  4024. | typedef unsigned int flex_uint32_t;
  4025. | #endif /* ! C99 */
  4026. |
  4027. | /* Limits of integral types. */
  4028. | #ifndef INT8_MIN
  4029. | #define INT8_MIN (-128)
  4030. | #endif
  4031. | #ifndef INT16_MIN
  4032. | #define INT16_MIN (-32767-1)
  4033. | #endif
  4034. | #ifndef INT32_MIN
  4035. | #define INT32_MIN (-2147483647-1)
  4036. | #endif
  4037. | #ifndef INT8_MAX
  4038. | #define INT8_MAX (127)
  4039. | #endif
  4040. | #ifndef INT16_MAX
  4041. | #define INT16_MAX (32767)
  4042. | #endif
  4043. | #ifndef INT32_MAX
  4044. | #define INT32_MAX (2147483647)
  4045. | #endif
  4046. | #ifndef UINT8_MAX
  4047. | #define UINT8_MAX (255U)
  4048. | #endif
  4049. | #ifndef UINT16_MAX
  4050. | #define UINT16_MAX (65535U)
  4051. | #endif
  4052. | #ifndef UINT32_MAX
  4053. | #define UINT32_MAX (4294967295U)
  4054. | #endif
  4055. |
  4056. | #endif /* ! FLEXINT_H */
  4057. |
  4058. | #ifdef __cplusplus
  4059. |
  4060. | /* The "const" storage-class-modifier is valid. */
  4061. | #define YY_USE_CONST
  4062. |
  4063. | #else /* ! __cplusplus */
  4064. |
  4065. | /* C99 requires __STDC__ to be defined as 1. */
  4066. | #if defined (__STDC__)
  4067. |
  4068. | #define YY_USE_CONST
  4069. |
  4070. | #endif /* defined (__STDC__) */
  4071. | #endif /* ! __cplusplus */
  4072. |
  4073. | #ifdef YY_USE_CONST
  4074. | #define yyconst const
  4075. | #else
  4076. | #define yyconst
  4077. | #endif
  4078. |
  4079. | /* Returned upon end-of-file. */
  4080. | #define YY_NULL 0
  4081. |
  4082. | /* Promotes a possibly negative, possibly signed char to an unsigned
  4083. | * integer for use as an array index. If the signed char is negative,
  4084. | * we want to instead treat it as an 8-bit unsigned char, hence the
  4085. | * double cast.
  4086. | */
  4087. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  4088. |
  4089. | /* Enter a start condition. This macro really ought to take a parameter,
  4090. | * but we do it the disgusting crufty way forced on us by the ()-less
  4091. | * definition of BEGIN.
  4092. | */
  4093. | #define BEGIN (yy_start) = 1 + 2 *
  4094. |
  4095. | /* Translate the current start state into a value that can be later handed
  4096. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  4097. | * compatibility.
  4098. | */
  4099. | #define YY_START (((yy_start) - 1) / 2)
  4100. | #define YYSTATE YY_START
  4101. |
  4102. | /* Action number for EOF rule of a given start state. */
  4103. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  4104. |
  4105. | /* Special action meaning "start processing a new file". */
  4106. | #define YY_NEW_FILE yyrestart(yyin )
  4107. |
  4108. | #define YY_END_OF_BUFFER_CHAR 0
  4109. |
  4110. | /* Size of default input buffer. */
  4111. | #ifndef YY_BUF_SIZE
  4112. | #define YY_BUF_SIZE 16384
  4113. | #endif
  4114. |
  4115. | /* The state buf must be large enough to hold one state per character in the main buffer.
  4116. | */
  4117. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  4118. |
  4119. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  4120. | #define YY_TYPEDEF_YY_BUFFER_STATE
  4121. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  4122. | #endif
  4123. |
  4124. | #ifndef YY_TYPEDEF_YY_SIZE_T
  4125. | #define YY_TYPEDEF_YY_SIZE_T
  4126. | typedef size_t yy_size_t;
  4127. | #endif
  4128. |
  4129. | extern yy_size_t yyleng;
  4130. |
  4131. | extern FILE *yyin, *yyout;
  4132. |
  4133. | #define EOB_ACT_CONTINUE_SCAN 0
  4134. | #define EOB_ACT_END_OF_FILE 1
  4135. | #define EOB_ACT_LAST_MATCH 2
  4136. |
  4137. | #define YY_LESS_LINENO(n)
  4138. |
  4139. | /* Return all but the first "n" matched characters back to the input stream. */
  4140. | #define yyless(n) \
  4141. | do \
  4142. | { \
  4143. | /* Undo effects of setting up yytext. */ \
  4144. | int yyless_macro_arg = (n); \
  4145. | YY_LESS_LINENO(yyless_macro_arg);\
  4146. | *yy_cp = (yy_hold_char); \
  4147. | YY_RESTORE_YY_MORE_OFFSET \
  4148. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  4149. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  4150. | } \
  4151. | while ( 0 )
  4152. |
  4153. | #define unput(c) yyunput( c, (yytext_ptr) )
  4154. |
  4155. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  4156. | #define YY_STRUCT_YY_BUFFER_STATE
  4157. | struct yy_buffer_state
  4158. | {
  4159. | FILE *yy_input_file;
  4160. |
  4161. | char *yy_ch_buf; /* input buffer */
  4162. | char *yy_buf_pos; /* current position in input buffer */
  4163. |
  4164. | /* Size of input buffer in bytes, not including room for EOB
  4165. | * characters.
  4166. | */
  4167. | yy_size_t yy_buf_size;
  4168. |
  4169. | /* Number of characters read into yy_ch_buf, not including EOB
  4170. | * characters.
  4171. | */
  4172. | yy_size_t yy_n_chars;
  4173. |
  4174. | /* Whether we "own" the buffer - i.e., we know we created it,
  4175. | * and can realloc() it to grow it, and should free() it to
  4176. | * delete it.
  4177. | */
  4178. | int yy_is_our_buffer;
  4179. |
  4180. | /* Whether this is an "interactive" input source; if so, and
  4181. | * if we're using stdio for input, then we want to use getc()
  4182. | * instead of fread(), to make sure we stop fetching input after
  4183. | * each newline.
  4184. | */
  4185. | int yy_is_interactive;
  4186. |
  4187. | /* Whether we're considered to be at the beginning of a line.
  4188. | * If so, '^' rules will be active on the next match, otherwise
  4189. | * not.
  4190. | */
  4191. | int yy_at_bol;
  4192. |
  4193. | int yy_bs_lineno; /**< The line count. */
  4194. | int yy_bs_column; /**< The column count. */
  4195. |
  4196. | /* Whether to try to fill the input buffer when we reach the
  4197. | * end of it.
  4198. | */
  4199. | int yy_fill_buffer;
  4200. |
  4201. | int yy_buffer_status;
  4202. |
  4203. | #define YY_BUFFER_NEW 0
  4204. | #define YY_BUFFER_NORMAL 1
  4205. | /* When an EOF's been seen but there's still some text to process
  4206. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  4207. | * shouldn't try reading from the input source any more. We might
  4208. | * still have a bunch of tokens to match, though, because of
  4209. | * possible backing-up.
  4210. | *
  4211. | * When we actually see the EOF, we change the status to "new"
  4212. | * (via yyrestart()), so that the user can continue scanning by
  4213. | * just pointing yyin at a new input file.
  4214. | */
  4215. | #define YY_BUFFER_EOF_PENDING 2
  4216. |
  4217. | };
  4218. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  4219. |
  4220. | /* Stack of input buffers. */
  4221. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  4222. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  4223. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  4224. |
  4225. | /* We provide macros for accessing buffer states in case in the
  4226. | * future we want to put the buffer states in a more general
  4227. | * "scanner state".
  4228. | *
  4229. | * Returns the top of the stack, or NULL.
  4230. | */
  4231. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  4232. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  4233. | : NULL)
  4234. |
  4235. | /* Same as previous macro, but useful when we know that the buffer stack is not
  4236. | * NULL or when we need an lvalue. For internal use only.
  4237. | */
  4238. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  4239. |
  4240. | /* yy_hold_char holds the character lost when yytext is formed. */
  4241. | static char yy_hold_char;
  4242. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  4243. | yy_size_t yyleng;
  4244. |
  4245. | /* Points to current character in buffer. */
  4246. | static char *yy_c_buf_p = (char *) 0;
  4247. | static int yy_init = 0; /* whether we need to initialize */
  4248. | static int yy_start = 0; /* start state number */
  4249. |
  4250. | /* Flag which is used to allow yywrap()'s to do buffer switches
  4251. | * instead of setting up a fresh yyin. A bit of a hack ...
  4252. | */
  4253. | static int yy_did_buffer_switch_on_eof;
  4254. |
  4255. | void yyrestart (FILE *input_file );
  4256. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  4257. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  4258. | void yy_delete_buffer (YY_BUFFER_STATE b );
  4259. | void yy_flush_buffer (YY_BUFFER_STATE b );
  4260. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  4261. | void yypop_buffer_state (void );
  4262. |
  4263. | static void yyensure_buffer_stack (void );
  4264. | static void yy_load_buffer_state (void );
  4265. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  4266. |
  4267. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  4268. |
  4269. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  4270. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  4271. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  4272. |
  4273. | void *yyalloc (yy_size_t );
  4274. | void *yyrealloc (void *,yy_size_t );
  4275. | void yyfree (void * );
  4276. |
  4277. | #define yy_new_buffer yy_create_buffer
  4278. |
  4279. | #define yy_set_interactive(is_interactive) \
  4280. | { \
  4281. | if ( ! YY_CURRENT_BUFFER ){ \
  4282. | yyensure_buffer_stack (); \
  4283. | YY_CURRENT_BUFFER_LVALUE = \
  4284. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  4285. | } \
  4286. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  4287. | }
  4288. |
  4289. | #define yy_set_bol(at_bol) \
  4290. | { \
  4291. | if ( ! YY_CURRENT_BUFFER ){\
  4292. | yyensure_buffer_stack (); \
  4293. | YY_CURRENT_BUFFER_LVALUE = \
  4294. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  4295. | } \
  4296. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  4297. | }
  4298. |
  4299. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  4300. |
  4301. | /* Begin user sect3 */
  4302. |
  4303. | typedef unsigned char YY_CHAR;
  4304. |
  4305. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  4306. |
  4307. | typedef int yy_state_type;
  4308. |
  4309. | extern int yylineno;
  4310. |
  4311. | int yylineno = 1;
  4312. |
  4313. | extern char *yytext;
  4314. | #define yytext_ptr yytext
  4315. |
  4316. | static yy_state_type yy_get_previous_state (void );
  4317. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  4318. | static int yy_get_next_buffer (void );
  4319. | static void yy_fatal_error (yyconst char msg[] );
  4320. |
  4321. | /* Done after the current pattern has been matched and before the
  4322. | * corresponding action - sets up yytext.
  4323. | */
  4324. | #define YY_DO_BEFORE_ACTION \
  4325. | (yytext_ptr) = yy_bp; \
  4326. | (yytext_ptr) -= (yy_more_len); \
  4327. | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
  4328. | (yy_hold_char) = *yy_cp; \
  4329. | *yy_cp = '\0'; \
  4330. | (yy_c_buf_p) = yy_cp;
  4331. |
  4332. | #define YY_NUM_RULES 8
  4333. | #define YY_END_OF_BUFFER 9
  4334. | /* This struct is not used in this scanner,
  4335. | but its presence is necessary. */
  4336. | struct yy_trans_info
  4337. | {
  4338. | flex_int32_t yy_verify;
  4339. | flex_int32_t yy_nxt;
  4340. | };
  4341. | static yyconst flex_int16_t yy_acclist[23] =
  4342. | { 0,
  4343. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  4344. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  4345. | 7, 8
  4346. | } ;
  4347. |
  4348. | static yyconst flex_int16_t yy_accept[14] =
  4349. | { 0,
  4350. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  4351. | 20, 23, 23
  4352. | } ;
  4353. |
  4354. | static yyconst flex_int32_t yy_ec[256] =
  4355. | { 0,
  4356. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  4357. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4358. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4359. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4360. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4361. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4362. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4363. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4364. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4365. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  4366. |
  4367. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  4368. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4369. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4370. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4371. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4372. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4373. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4374. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4375. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4376. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4377. |
  4378. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4379. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4380. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4381. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4382. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4383. | 1, 1, 1, 1, 1
  4384. | } ;
  4385. |
  4386. | static yyconst flex_int32_t yy_meta[9] =
  4387. | { 0,
  4388. | 1, 1, 1, 1, 1, 1, 1, 1
  4389. | } ;
  4390. |
  4391. | static yyconst flex_int16_t yy_base[13] =
  4392. | { 0,
  4393. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  4394. | 10, 10
  4395. | } ;
  4396. |
  4397. | static yyconst flex_int16_t yy_def[13] =
  4398. | { 0,
  4399. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  4400. | 12, 0
  4401. | } ;
  4402. |
  4403. | static yyconst flex_int16_t yy_nxt[19] =
  4404. | { 0,
  4405. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  4406. | 12, 12, 12, 12, 12, 12, 12, 12
  4407. | } ;
  4408. |
  4409. | static yyconst flex_int16_t yy_chk[19] =
  4410. | { 0,
  4411. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  4412. | 12, 12, 12, 12, 12, 12, 12, 12
  4413. | } ;
  4414. |
  4415. | extern int yy_flex_debug;
  4416. | int yy_flex_debug = 0;
  4417. |
  4418. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  4419. | static char *yy_full_match;
  4420. | static int yy_lp;
  4421. | #define REJECT \
  4422. | { \
  4423. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  4424. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  4425. | ++(yy_lp); \
  4426. | goto find_rule; \
  4427. | }
  4428. |
  4429. | static int yy_more_flag = 0;
  4430. | static int yy_more_len = 0;
  4431. | #define yymore() ((yy_more_flag) = 1)
  4432. | #define YY_MORE_ADJ (yy_more_len)
  4433. | #define YY_RESTORE_YY_MORE_OFFSET
  4434. | char *yytext;
  4435. | #line 1 "conftest.l"
  4436. | #line 469 "lex.yy.c"
  4437. |
  4438. | #define INITIAL 0
  4439. |
  4440. | #ifndef YY_NO_UNISTD_H
  4441. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  4442. | * down here because we want the user's section 1 to have been scanned first.
  4443. | * The user has a chance to override it with an option.
  4444. | */
  4445. | #include <unistd.h>
  4446. | #endif
  4447. |
  4448. | #ifndef YY_EXTRA_TYPE
  4449. | #define YY_EXTRA_TYPE void *
  4450. | #endif
  4451. |
  4452. | static int yy_init_globals (void );
  4453. |
  4454. | /* Accessor methods to globals.
  4455. | These are made visible to non-reentrant scanners for convenience. */
  4456. |
  4457. | int yylex_destroy (void );
  4458. |
  4459. | int yyget_debug (void );
  4460. |
  4461. | void yyset_debug (int debug_flag );
  4462. |
  4463. | YY_EXTRA_TYPE yyget_extra (void );
  4464. |
  4465. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  4466. |
  4467. | FILE *yyget_in (void );
  4468. |
  4469. | void yyset_in (FILE * in_str );
  4470. |
  4471. | FILE *yyget_out (void );
  4472. |
  4473. | void yyset_out (FILE * out_str );
  4474. |
  4475. | yy_size_t yyget_leng (void );
  4476. |
  4477. | char *yyget_text (void );
  4478. |
  4479. | int yyget_lineno (void );
  4480. |
  4481. | void yyset_lineno (int line_number );
  4482. |
  4483. | /* Macros after this point can all be overridden by user definitions in
  4484. | * section 1.
  4485. | */
  4486. |
  4487. | #ifndef YY_SKIP_YYWRAP
  4488. | #ifdef __cplusplus
  4489. | extern "C" int yywrap (void );
  4490. | #else
  4491. | extern int yywrap (void );
  4492. | #endif
  4493. | #endif
  4494. |
  4495. | static void yyunput (int c,char *buf_ptr );
  4496. |
  4497. | #ifndef yytext_ptr
  4498. | static void yy_flex_strncpy (char *,yyconst char *,int );
  4499. | #endif
  4500. |
  4501. | #ifdef YY_NEED_STRLEN
  4502. | static int yy_flex_strlen (yyconst char * );
  4503. | #endif
  4504. |
  4505. | #ifndef YY_NO_INPUT
  4506. |
  4507. | #ifdef __cplusplus
  4508. | static int yyinput (void );
  4509. | #else
  4510. | static int input (void );
  4511. | #endif
  4512. |
  4513. | #endif
  4514. |
  4515. | /* Amount of stuff to slurp up with each read. */
  4516. | #ifndef YY_READ_BUF_SIZE
  4517. | #define YY_READ_BUF_SIZE 8192
  4518. | #endif
  4519. |
  4520. | /* Copy whatever the last rule matched to the standard output. */
  4521. | #ifndef ECHO
  4522. | /* This used to be an fputs(), but since the string might contain NUL's,
  4523. | * we now use fwrite().
  4524. | */
  4525. | #define ECHO fwrite( yytext, yyleng, 1, yyout )
  4526. | #endif
  4527. |
  4528. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  4529. | * is returned in "result".
  4530. | */
  4531. | #ifndef YY_INPUT
  4532. | #define YY_INPUT(buf,result,max_size) \
  4533. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  4534. | { \
  4535. | int c = '*'; \
  4536. | yy_size_t n; \
  4537. | for ( n = 0; n < max_size && \
  4538. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  4539. | buf[n] = (char) c; \
  4540. | if ( c == '\n' ) \
  4541. | buf[n++] = (char) c; \
  4542. | if ( c == EOF && ferror( yyin ) ) \
  4543. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4544. | result = n; \
  4545. | } \
  4546. | else \
  4547. | { \
  4548. | errno=0; \
  4549. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  4550. | { \
  4551. | if( errno != EINTR) \
  4552. | { \
  4553. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4554. | break; \
  4555. | } \
  4556. | errno=0; \
  4557. | clearerr(yyin); \
  4558. | } \
  4559. | }\
  4560. | \
  4561. |
  4562. | #endif
  4563. |
  4564. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  4565. | * we don't want an extra ';' after the "return" because that will cause
  4566. | * some compilers to complain about unreachable statements.
  4567. | */
  4568. | #ifndef yyterminate
  4569. | #define yyterminate() return YY_NULL
  4570. | #endif
  4571. |
  4572. | /* Number of entries by which start-condition stack grows. */
  4573. | #ifndef YY_START_STACK_INCR
  4574. | #define YY_START_STACK_INCR 25
  4575. | #endif
  4576. |
  4577. | /* Report a fatal error. */
  4578. | #ifndef YY_FATAL_ERROR
  4579. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  4580. | #endif
  4581. |
  4582. | /* end tables serialization structures and prototypes */
  4583. |
  4584. | /* Default declaration of generated scanner - a define so the user can
  4585. | * easily add parameters.
  4586. | */
  4587. | #ifndef YY_DECL
  4588. | #define YY_DECL_IS_OURS 1
  4589. |
  4590. | extern int yylex (void);
  4591. |
  4592. | #define YY_DECL int yylex (void)
  4593. | #endif /* !YY_DECL */
  4594. |
  4595. | /* Code executed at the beginning of each rule, after yytext and yyleng
  4596. | * have been set up.
  4597. | */
  4598. | #ifndef YY_USER_ACTION
  4599. | #define YY_USER_ACTION
  4600. | #endif
  4601. |
  4602. | /* Code executed at the end of each rule. */
  4603. | #ifndef YY_BREAK
  4604. | #define YY_BREAK break;
  4605. | #endif
  4606. |
  4607. | #define YY_RULE_SETUP \
  4608. | YY_USER_ACTION
  4609. |
  4610. | /** The main scanner function which does all the work.
  4611. | */
  4612. | YY_DECL
  4613. | {
  4614. | register yy_state_type yy_current_state;
  4615. | register char *yy_cp, *yy_bp;
  4616. | register int yy_act;
  4617. |
  4618. | #line 1 "conftest.l"
  4619. |
  4620. | #line 653 "lex.yy.c"
  4621. |
  4622. | if ( !(yy_init) )
  4623. | {
  4624. | (yy_init) = 1;
  4625. |
  4626. | #ifdef YY_USER_INIT
  4627. | YY_USER_INIT;
  4628. | #endif
  4629. |
  4630. | /* Create the reject buffer large enough to save one state per allowed character. */
  4631. | if ( ! (yy_state_buf) )
  4632. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  4633. | if ( ! (yy_state_buf) )
  4634. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  4635. |
  4636. | if ( ! (yy_start) )
  4637. | (yy_start) = 1; /* first start state */
  4638. |
  4639. | if ( ! yyin )
  4640. | yyin = stdin;
  4641. |
  4642. | if ( ! yyout )
  4643. | yyout = stdout;
  4644. |
  4645. | if ( ! YY_CURRENT_BUFFER ) {
  4646. | yyensure_buffer_stack ();
  4647. | YY_CURRENT_BUFFER_LVALUE =
  4648. | yy_create_buffer(yyin,YY_BUF_SIZE );
  4649. | }
  4650. |
  4651. | yy_load_buffer_state( );
  4652. | }
  4653. |
  4654. | while ( 1 ) /* loops until end-of-file is reached */
  4655. | {
  4656. | (yy_more_len) = 0;
  4657. | if ( (yy_more_flag) )
  4658. | {
  4659. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  4660. | (yy_more_flag) = 0;
  4661. | }
  4662. | yy_cp = (yy_c_buf_p);
  4663. |
  4664. | /* Support of yytext. */
  4665. | *yy_cp = (yy_hold_char);
  4666. |
  4667. | /* yy_bp points to the position in yy_ch_buf of the start of
  4668. | * the current run.
  4669. | */
  4670. | yy_bp = yy_cp;
  4671. |
  4672. | yy_current_state = (yy_start);
  4673. |
  4674. | (yy_state_ptr) = (yy_state_buf);
  4675. | *(yy_state_ptr)++ = yy_current_state;
  4676. |
  4677. | yy_match:
  4678. | do
  4679. | {
  4680. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  4681. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  4682. | {
  4683. | yy_current_state = (int) yy_def[yy_current_state];
  4684. | if ( yy_current_state >= 13 )
  4685. | yy_c = yy_meta[(unsigned int) yy_c];
  4686. | }
  4687. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  4688. | *(yy_state_ptr)++ = yy_current_state;
  4689. | ++yy_cp;
  4690. | }
  4691. | while ( yy_base[yy_current_state] != 10 );
  4692. |
  4693. | yy_find_action:
  4694. | yy_current_state = *--(yy_state_ptr);
  4695. | (yy_lp) = yy_accept[yy_current_state];
  4696. | goto find_rule; /* Shut up GCC warning -Wall */
  4697. | find_rule: /* we branch to this label when backing up */
  4698. | for ( ; ; ) /* until we find what rule we matched */
  4699. | {
  4700. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  4701. | {
  4702. | yy_act = yy_acclist[(yy_lp)];
  4703. | {
  4704. | (yy_full_match) = yy_cp;
  4705. | break;
  4706. | }
  4707. | }
  4708. | --yy_cp;
  4709. | yy_current_state = *--(yy_state_ptr);
  4710. | (yy_lp) = yy_accept[yy_current_state];
  4711. | }
  4712. |
  4713. | YY_DO_BEFORE_ACTION;
  4714. |
  4715. | do_action: /* This label is used only to access EOF actions. */
  4716. |
  4717. | switch ( yy_act )
  4718. | { /* beginning of action switch */
  4719. | case 1:
  4720. | YY_RULE_SETUP
  4721. | #line 2 "conftest.l"
  4722. | { ECHO; }
  4723. | YY_BREAK
  4724. | case 2:
  4725. | YY_RULE_SETUP
  4726. | #line 3 "conftest.l"
  4727. | { REJECT; }
  4728. | YY_BREAK
  4729. | case 3:
  4730. | YY_RULE_SETUP
  4731. | #line 4 "conftest.l"
  4732. | { yymore (); }
  4733. | YY_BREAK
  4734. | case 4:
  4735. | YY_RULE_SETUP
  4736. | #line 5 "conftest.l"
  4737. | { yyless (1); }
  4738. | YY_BREAK
  4739. | case 5:
  4740. | YY_RULE_SETUP
  4741. | #line 6 "conftest.l"
  4742. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  4743. | yyless ((input () != 0)); }
  4744. | YY_BREAK
  4745. | case 6:
  4746. | YY_RULE_SETUP
  4747. | #line 8 "conftest.l"
  4748. | { unput (yytext[0]); }
  4749. | YY_BREAK
  4750. | case 7:
  4751. | YY_RULE_SETUP
  4752. | #line 9 "conftest.l"
  4753. | { BEGIN INITIAL; }
  4754. | YY_BREAK
  4755. | case 8:
  4756. | YY_RULE_SETUP
  4757. | #line 10 "conftest.l"
  4758. | ECHO;
  4759. | YY_BREAK
  4760. | #line 793 "lex.yy.c"
  4761. | case YY_STATE_EOF(INITIAL):
  4762. | yyterminate();
  4763. |
  4764. | case YY_END_OF_BUFFER:
  4765. | {
  4766. | /* Amount of text matched not including the EOB char. */
  4767. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  4768. |
  4769. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  4770. | *yy_cp = (yy_hold_char);
  4771. | YY_RESTORE_YY_MORE_OFFSET
  4772. |
  4773. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  4774. | {
  4775. | /* We're scanning a new file or input source. It's
  4776. | * possible that this happened because the user
  4777. | * just pointed yyin at a new source and called
  4778. | * yylex(). If so, then we have to assure
  4779. | * consistency between YY_CURRENT_BUFFER and our
  4780. | * globals. Here is the right place to do so, because
  4781. | * this is the first action (other than possibly a
  4782. | * back-up) that will match for the new input source.
  4783. | */
  4784. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  4785. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  4786. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  4787. | }
  4788. |
  4789. | /* Note that here we test for yy_c_buf_p "<=" to the position
  4790. | * of the first EOB in the buffer, since yy_c_buf_p will
  4791. | * already have been incremented past the NUL character
  4792. | * (since all states make transitions on EOB to the
  4793. | * end-of-buffer state). Contrast this with the test
  4794. | * in input().
  4795. | */
  4796. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  4797. | { /* This was really a NUL. */
  4798. | yy_state_type yy_next_state;
  4799. |
  4800. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  4801. |
  4802. | yy_current_state = yy_get_previous_state( );
  4803. |
  4804. | /* Okay, we're now positioned to make the NUL
  4805. | * transition. We couldn't have
  4806. | * yy_get_previous_state() go ahead and do it
  4807. | * for us because it doesn't know how to deal
  4808. | * with the possibility of jamming (and we don't
  4809. | * want to build jamming into it because then it
  4810. | * will run more slowly).
  4811. | */
  4812. |
  4813. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  4814. |
  4815. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4816. |
  4817. | if ( yy_next_state )
  4818. | {
  4819. | /* Consume the NUL. */
  4820. | yy_cp = ++(yy_c_buf_p);
  4821. | yy_current_state = yy_next_state;
  4822. | goto yy_match;
  4823. | }
  4824. |
  4825. | else
  4826. | {
  4827. | yy_cp = (yy_c_buf_p);
  4828. | goto yy_find_action;
  4829. | }
  4830. | }
  4831. |
  4832. | else switch ( yy_get_next_buffer( ) )
  4833. | {
  4834. | case EOB_ACT_END_OF_FILE:
  4835. | {
  4836. | (yy_did_buffer_switch_on_eof) = 0;
  4837. |
  4838. | if ( yywrap( ) )
  4839. | {
  4840. | /* Note: because we've taken care in
  4841. | * yy_get_next_buffer() to have set up
  4842. | * yytext, we can now set up
  4843. | * yy_c_buf_p so that if some total
  4844. | * hoser (like flex itself) wants to
  4845. | * call the scanner after we return the
  4846. | * YY_NULL, it'll still work - another
  4847. | * YY_NULL will get returned.
  4848. | */
  4849. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  4850. |
  4851. | yy_act = YY_STATE_EOF(YY_START);
  4852. | goto do_action;
  4853. | }
  4854. |
  4855. | else
  4856. | {
  4857. | if ( ! (yy_did_buffer_switch_on_eof) )
  4858. | YY_NEW_FILE;
  4859. | }
  4860. | break;
  4861. | }
  4862. |
  4863. | case EOB_ACT_CONTINUE_SCAN:
  4864. | (yy_c_buf_p) =
  4865. | (yytext_ptr) + yy_amount_of_matched_text;
  4866. |
  4867. | yy_current_state = yy_get_previous_state( );
  4868. |
  4869. | yy_cp = (yy_c_buf_p);
  4870. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4871. | goto yy_match;
  4872. |
  4873. | case EOB_ACT_LAST_MATCH:
  4874. | (yy_c_buf_p) =
  4875. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  4876. |
  4877. | yy_current_state = yy_get_previous_state( );
  4878. |
  4879. | yy_cp = (yy_c_buf_p);
  4880. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4881. | goto yy_find_action;
  4882. | }
  4883. | break;
  4884. | }
  4885. |
  4886. | default:
  4887. | YY_FATAL_ERROR(
  4888. | "fatal flex scanner internal error--no action found" );
  4889. | } /* end of action switch */
  4890. | } /* end of scanning one token */
  4891. | } /* end of yylex */
  4892. |
  4893. | /* yy_get_next_buffer - try to read in a new buffer
  4894. | *
  4895. | * Returns a code representing an action:
  4896. | * EOB_ACT_LAST_MATCH -
  4897. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  4898. | * EOB_ACT_END_OF_FILE - end of file
  4899. | */
  4900. | static int yy_get_next_buffer (void)
  4901. | {
  4902. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  4903. | register char *source = (yytext_ptr);
  4904. | register int number_to_move, i;
  4905. | int ret_val;
  4906. |
  4907. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  4908. | YY_FATAL_ERROR(
  4909. | "fatal flex scanner internal error--end of buffer missed" );
  4910. |
  4911. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  4912. | { /* Don't try to fill the buffer, so this is an EOF. */
  4913. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  4914. | {
  4915. | /* We matched a single character, the EOB, so
  4916. | * treat this as a final EOF.
  4917. | */
  4918. | return EOB_ACT_END_OF_FILE;
  4919. | }
  4920. |
  4921. | else
  4922. | {
  4923. | /* We matched some text prior to the EOB, first
  4924. | * process it.
  4925. | */
  4926. | return EOB_ACT_LAST_MATCH;
  4927. | }
  4928. | }
  4929. |
  4930. | /* Try to read more data. */
  4931. |
  4932. | /* First move last chars to start of buffer. */
  4933. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  4934. |
  4935. | for ( i = 0; i < number_to_move; ++i )
  4936. | *(dest++) = *(source++);
  4937. |
  4938. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  4939. | /* don't do the read, it's not guaranteed to return an EOF,
  4940. | * just force an EOF
  4941. | */
  4942. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  4943. |
  4944. | else
  4945. | {
  4946. | yy_size_t num_to_read =
  4947. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  4948. |
  4949. | while ( num_to_read <= 0 )
  4950. | { /* Not enough room in the buffer - grow it. */
  4951. |
  4952. | YY_FATAL_ERROR(
  4953. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  4954. |
  4955. | }
  4956. |
  4957. | if ( num_to_read > YY_READ_BUF_SIZE )
  4958. | num_to_read = YY_READ_BUF_SIZE;
  4959. |
  4960. | /* Read in more data. */
  4961. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  4962. | (yy_n_chars), num_to_read );
  4963. |
  4964. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  4965. | }
  4966. |
  4967. | if ( (yy_n_chars) == 0 )
  4968. | {
  4969. | if ( number_to_move == YY_MORE_ADJ )
  4970. | {
  4971. | ret_val = EOB_ACT_END_OF_FILE;
  4972. | yyrestart(yyin );
  4973. | }
  4974. |
  4975. | else
  4976. | {
  4977. | ret_val = EOB_ACT_LAST_MATCH;
  4978. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  4979. | YY_BUFFER_EOF_PENDING;
  4980. | }
  4981. | }
  4982. |
  4983. | else
  4984. | ret_val = EOB_ACT_CONTINUE_SCAN;
  4985. |
  4986. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  4987. | /* Extend the array by 50%, plus the number we really need. */
  4988. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  4989. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  4990. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  4991. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  4992. | }
  4993. |
  4994. | (yy_n_chars) += number_to_move;
  4995. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  4996. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  4997. |
  4998. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  4999. |
  5000. | return ret_val;
  5001. | }
  5002. |
  5003. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  5004. |
  5005. | static yy_state_type yy_get_previous_state (void)
  5006. | {
  5007. | register yy_state_type yy_current_state;
  5008. | register char *yy_cp;
  5009. |
  5010. | yy_current_state = (yy_start);
  5011. |
  5012. | (yy_state_ptr) = (yy_state_buf);
  5013. | *(yy_state_ptr)++ = yy_current_state;
  5014. |
  5015. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  5016. | {
  5017. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  5018. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5019. | {
  5020. | yy_current_state = (int) yy_def[yy_current_state];
  5021. | if ( yy_current_state >= 13 )
  5022. | yy_c = yy_meta[(unsigned int) yy_c];
  5023. | }
  5024. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5025. | *(yy_state_ptr)++ = yy_current_state;
  5026. | }
  5027. |
  5028. | return yy_current_state;
  5029. | }
  5030. |
  5031. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  5032. | *
  5033. | * synopsis
  5034. | * next_state = yy_try_NUL_trans( current_state );
  5035. | */
  5036. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  5037. | {
  5038. | register int yy_is_jam;
  5039. |
  5040. | register YY_CHAR yy_c = 1;
  5041. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5042. | {
  5043. | yy_current_state = (int) yy_def[yy_current_state];
  5044. | if ( yy_current_state >= 13 )
  5045. | yy_c = yy_meta[(unsigned int) yy_c];
  5046. | }
  5047. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  5048. | yy_is_jam = (yy_current_state == 12);
  5049. | if ( ! yy_is_jam )
  5050. | *(yy_state_ptr)++ = yy_current_state;
  5051. |
  5052. | return yy_is_jam ? 0 : yy_current_state;
  5053. | }
  5054. |
  5055. | static void yyunput (int c, register char * yy_bp )
  5056. | {
  5057. | register char *yy_cp;
  5058. |
  5059. | yy_cp = (yy_c_buf_p);
  5060. |
  5061. | /* undo effects of setting up yytext */
  5062. | *yy_cp = (yy_hold_char);
  5063. |
  5064. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5065. | { /* need to shift things up to make room */
  5066. | /* +2 for EOB chars. */
  5067. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  5068. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  5069. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  5070. | register char *source =
  5071. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  5072. |
  5073. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5074. | *--dest = *--source;
  5075. |
  5076. | yy_cp += (int) (dest - source);
  5077. | yy_bp += (int) (dest - source);
  5078. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  5079. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  5080. |
  5081. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5082. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  5083. | }
  5084. |
  5085. | *--yy_cp = (char) c;
  5086. |
  5087. | (yytext_ptr) = yy_bp;
  5088. | (yy_hold_char) = *yy_cp;
  5089. | (yy_c_buf_p) = yy_cp;
  5090. | }
  5091. |
  5092. | #ifndef YY_NO_INPUT
  5093. | #ifdef __cplusplus
  5094. | static int yyinput (void)
  5095. | #else
  5096. | static int input (void)
  5097. | #endif
  5098. |
  5099. | {
  5100. | int c;
  5101. |
  5102. | *(yy_c_buf_p) = (yy_hold_char);
  5103. |
  5104. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  5105. | {
  5106. | /* yy_c_buf_p now points to the character we want to return.
  5107. | * If this occurs *before* the EOB characters, then it's a
  5108. | * valid NUL; if not, then we've hit the end of the buffer.
  5109. | */
  5110. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  5111. | /* This was really a NUL. */
  5112. | *(yy_c_buf_p) = '\0';
  5113. |
  5114. | else
  5115. | { /* need more input */
  5116. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  5117. | ++(yy_c_buf_p);
  5118. |
  5119. | switch ( yy_get_next_buffer( ) )
  5120. | {
  5121. | case EOB_ACT_LAST_MATCH:
  5122. | /* This happens because yy_g_n_b()
  5123. | * sees that we've accumulated a
  5124. | * token and flags that we need to
  5125. | * try matching the token before
  5126. | * proceeding. But for input(),
  5127. | * there's no matching to consider.
  5128. | * So convert the EOB_ACT_LAST_MATCH
  5129. | * to EOB_ACT_END_OF_FILE.
  5130. | */
  5131. |
  5132. | /* Reset buffer status. */
  5133. | yyrestart(yyin );
  5134. |
  5135. | /*FALLTHROUGH*/
  5136. |
  5137. | case EOB_ACT_END_OF_FILE:
  5138. | {
  5139. | if ( yywrap( ) )
  5140. | return 0;
  5141. |
  5142. | if ( ! (yy_did_buffer_switch_on_eof) )
  5143. | YY_NEW_FILE;
  5144. | #ifdef __cplusplus
  5145. | return yyinput();
  5146. | #else
  5147. | return input();
  5148. | #endif
  5149. | }
  5150. |
  5151. | case EOB_ACT_CONTINUE_SCAN:
  5152. | (yy_c_buf_p) = (yytext_ptr) + offset;
  5153. | break;
  5154. | }
  5155. | }
  5156. | }
  5157. |
  5158. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  5159. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  5160. | (yy_hold_char) = *++(yy_c_buf_p);
  5161. |
  5162. | return c;
  5163. | }
  5164. | #endif /* ifndef YY_NO_INPUT */
  5165. |
  5166. | /** Immediately switch to a different input stream.
  5167. | * @param input_file A readable stream.
  5168. | *
  5169. | * @note This function does not reset the start condition to @c INITIAL .
  5170. | */
  5171. | void yyrestart (FILE * input_file )
  5172. | {
  5173. |
  5174. | if ( ! YY_CURRENT_BUFFER ){
  5175. | yyensure_buffer_stack ();
  5176. | YY_CURRENT_BUFFER_LVALUE =
  5177. | yy_create_buffer(yyin,YY_BUF_SIZE );
  5178. | }
  5179. |
  5180. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  5181. | yy_load_buffer_state( );
  5182. | }
  5183. |
  5184. | /** Switch to a different input buffer.
  5185. | * @param new_buffer The new input buffer.
  5186. | *
  5187. | */
  5188. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  5189. | {
  5190. |
  5191. | /* TODO. We should be able to replace this entire function body
  5192. | * with
  5193. | * yypop_buffer_state();
  5194. | * yypush_buffer_state(new_buffer);
  5195. | */
  5196. | yyensure_buffer_stack ();
  5197. | if ( YY_CURRENT_BUFFER == new_buffer )
  5198. | return;
  5199. |
  5200. | if ( YY_CURRENT_BUFFER )
  5201. | {
  5202. | /* Flush out information for old buffer. */
  5203. | *(yy_c_buf_p) = (yy_hold_char);
  5204. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5205. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5206. | }
  5207. |
  5208. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5209. | yy_load_buffer_state( );
  5210. |
  5211. | /* We don't actually know whether we did this switch during
  5212. | * EOF (yywrap()) processing, but the only time this flag
  5213. | * is looked at is after yywrap() is called, so it's safe
  5214. | * to go ahead and always set it.
  5215. | */
  5216. | (yy_did_buffer_switch_on_eof) = 1;
  5217. | }
  5218. |
  5219. | static void yy_load_buffer_state (void)
  5220. | {
  5221. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  5222. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  5223. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  5224. | (yy_hold_char) = *(yy_c_buf_p);
  5225. | }
  5226. |
  5227. | /** Allocate and initialize an input buffer state.
  5228. | * @param file A readable stream.
  5229. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  5230. | *
  5231. | * @return the allocated buffer state.
  5232. | */
  5233. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  5234. | {
  5235. | YY_BUFFER_STATE b;
  5236. |
  5237. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  5238. | if ( ! b )
  5239. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5240. |
  5241. | b->yy_buf_size = size;
  5242. |
  5243. | /* yy_ch_buf has to be 2 characters longer than the size given because
  5244. | * we need to put in 2 end-of-buffer characters.
  5245. | */
  5246. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  5247. | if ( ! b->yy_ch_buf )
  5248. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5249. |
  5250. | b->yy_is_our_buffer = 1;
  5251. |
  5252. | yy_init_buffer(b,file );
  5253. |
  5254. | return b;
  5255. | }
  5256. |
  5257. | /** Destroy the buffer.
  5258. | * @param b a buffer created with yy_create_buffer()
  5259. | *
  5260. | */
  5261. | void yy_delete_buffer (YY_BUFFER_STATE b )
  5262. | {
  5263. |
  5264. | if ( ! b )
  5265. | return;
  5266. |
  5267. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  5268. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  5269. |
  5270. | if ( b->yy_is_our_buffer )
  5271. | yyfree((void *) b->yy_ch_buf );
  5272. |
  5273. | yyfree((void *) b );
  5274. | }
  5275. |
  5276. | #ifndef __cplusplus
  5277. | extern int isatty (int );
  5278. | #endif /* __cplusplus */
  5279. |
  5280. | /* Initializes or reinitializes a buffer.
  5281. | * This function is sometimes called more than once on the same buffer,
  5282. | * such as during a yyrestart() or at EOF.
  5283. | */
  5284. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  5285. |
  5286. | {
  5287. | int oerrno = errno;
  5288. |
  5289. | yy_flush_buffer(b );
  5290. |
  5291. | b->yy_input_file = file;
  5292. | b->yy_fill_buffer = 1;
  5293. |
  5294. | /* If b is the current buffer, then yy_init_buffer was _probably_
  5295. | * called from yyrestart() or through yy_get_next_buffer.
  5296. | * In that case, we don't want to reset the lineno or column.
  5297. | */
  5298. | if (b != YY_CURRENT_BUFFER){
  5299. | b->yy_bs_lineno = 1;
  5300. | b->yy_bs_column = 0;
  5301. | }
  5302. |
  5303. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  5304. |
  5305. | errno = oerrno;
  5306. | }
  5307. |
  5308. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  5309. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  5310. | *
  5311. | */
  5312. | void yy_flush_buffer (YY_BUFFER_STATE b )
  5313. | {
  5314. | if ( ! b )
  5315. | return;
  5316. |
  5317. | b->yy_n_chars = 0;
  5318. |
  5319. | /* We always need two end-of-buffer characters. The first causes
  5320. | * a transition to the end-of-buffer state. The second causes
  5321. | * a jam in that state.
  5322. | */
  5323. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  5324. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  5325. |
  5326. | b->yy_buf_pos = &b->yy_ch_buf[0];
  5327. |
  5328. | b->yy_at_bol = 1;
  5329. | b->yy_buffer_status = YY_BUFFER_NEW;
  5330. |
  5331. | if ( b == YY_CURRENT_BUFFER )
  5332. | yy_load_buffer_state( );
  5333. | }
  5334. |
  5335. | /** Pushes the new state onto the stack. The new state becomes
  5336. | * the current state. This function will allocate the stack
  5337. | * if necessary.
  5338. | * @param new_buffer The new state.
  5339. | *
  5340. | */
  5341. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  5342. | {
  5343. | if (new_buffer == NULL)
  5344. | return;
  5345. |
  5346. | yyensure_buffer_stack();
  5347. |
  5348. | /* This block is copied from yy_switch_to_buffer. */
  5349. | if ( YY_CURRENT_BUFFER )
  5350. | {
  5351. | /* Flush out information for old buffer. */
  5352. | *(yy_c_buf_p) = (yy_hold_char);
  5353. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5354. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5355. | }
  5356. |
  5357. | /* Only push if top exists. Otherwise, replace top. */
  5358. | if (YY_CURRENT_BUFFER)
  5359. | (yy_buffer_stack_top)++;
  5360. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5361. |
  5362. | /* copied from yy_switch_to_buffer. */
  5363. | yy_load_buffer_state( );
  5364. | (yy_did_buffer_switch_on_eof) = 1;
  5365. | }
  5366. |
  5367. | /** Removes and deletes the top of the stack, if present.
  5368. | * The next element becomes the new top.
  5369. | *
  5370. | */
  5371. | void yypop_buffer_state (void)
  5372. | {
  5373. | if (!YY_CURRENT_BUFFER)
  5374. | return;
  5375. |
  5376. | yy_delete_buffer(YY_CURRENT_BUFFER );
  5377. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5378. | if ((yy_buffer_stack_top) > 0)
  5379. | --(yy_buffer_stack_top);
  5380. |
  5381. | if (YY_CURRENT_BUFFER) {
  5382. | yy_load_buffer_state( );
  5383. | (yy_did_buffer_switch_on_eof) = 1;
  5384. | }
  5385. | }
  5386. |
  5387. | /* Allocates the stack if it does not exist.
  5388. | * Guarantees space for at least one push.
  5389. | */
  5390. | static void yyensure_buffer_stack (void)
  5391. | {
  5392. | yy_size_t num_to_alloc;
  5393. |
  5394. | if (!(yy_buffer_stack)) {
  5395. |
  5396. | /* First allocation is just for 2 elements, since we don't know if this
  5397. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  5398. | * immediate realloc on the next call.
  5399. | */
  5400. | num_to_alloc = 1;
  5401. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  5402. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  5403. | );
  5404. | if ( ! (yy_buffer_stack) )
  5405. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5406. |
  5407. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  5408. |
  5409. | (yy_buffer_stack_max) = num_to_alloc;
  5410. | (yy_buffer_stack_top) = 0;
  5411. | return;
  5412. | }
  5413. |
  5414. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  5415. |
  5416. | /* Increase the buffer to prepare for a possible push. */
  5417. | int grow_size = 8 /* arbitrary grow size */;
  5418. |
  5419. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  5420. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  5421. | ((yy_buffer_stack),
  5422. | num_to_alloc * sizeof(struct yy_buffer_state*)
  5423. | );
  5424. | if ( ! (yy_buffer_stack) )
  5425. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5426. |
  5427. | /* zero only the new slots.*/
  5428. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  5429. | (yy_buffer_stack_max) = num_to_alloc;
  5430. | }
  5431. | }
  5432. |
  5433. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  5434. | * @param base the character buffer
  5435. | * @param size the size in bytes of the character buffer
  5436. | *
  5437. | * @return the newly allocated buffer state object.
  5438. | */
  5439. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  5440. | {
  5441. | YY_BUFFER_STATE b;
  5442. |
  5443. | if ( size < 2 ||
  5444. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  5445. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  5446. | /* They forgot to leave room for the EOB's. */
  5447. | return 0;
  5448. |
  5449. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  5450. | if ( ! b )
  5451. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  5452. |
  5453. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  5454. | b->yy_buf_pos = b->yy_ch_buf = base;
  5455. | b->yy_is_our_buffer = 0;
  5456. | b->yy_input_file = 0;
  5457. | b->yy_n_chars = b->yy_buf_size;
  5458. | b->yy_is_interactive = 0;
  5459. | b->yy_at_bol = 1;
  5460. | b->yy_fill_buffer = 0;
  5461. | b->yy_buffer_status = YY_BUFFER_NEW;
  5462. |
  5463. | yy_switch_to_buffer(b );
  5464. |
  5465. | return b;
  5466. | }
  5467. |
  5468. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  5469. | * scan from a @e copy of @a str.
  5470. | * @param yystr a NUL-terminated string to scan
  5471. | *
  5472. | * @return the newly allocated buffer state object.
  5473. | * @note If you want to scan bytes that may contain NUL values, then use
  5474. | * yy_scan_bytes() instead.
  5475. | */
  5476. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  5477. | {
  5478. |
  5479. | return yy_scan_bytes(yystr,strlen(yystr) );
  5480. | }
  5481. |
  5482. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  5483. | * scan from a @e copy of @a bytes.
  5484. | * @param bytes the byte buffer to scan
  5485. | * @param len the number of bytes in the buffer pointed to by @a bytes.
  5486. | *
  5487. | * @return the newly allocated buffer state object.
  5488. | */
  5489. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  5490. | {
  5491. | YY_BUFFER_STATE b;
  5492. | char *buf;
  5493. | yy_size_t n, i;
  5494. |
  5495. | /* Get memory for full buffer, including space for trailing EOB's. */
  5496. | n = _yybytes_len + 2;
  5497. | buf = (char *) yyalloc(n );
  5498. | if ( ! buf )
  5499. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  5500. |
  5501. | for ( i = 0; i < _yybytes_len; ++i )
  5502. | buf[i] = yybytes[i];
  5503. |
  5504. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  5505. |
  5506. | b = yy_scan_buffer(buf,n );
  5507. | if ( ! b )
  5508. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  5509. |
  5510. | /* It's okay to grow etc. this buffer, and we should throw it
  5511. | * away when we're done.
  5512. | */
  5513. | b->yy_is_our_buffer = 1;
  5514. |
  5515. | return b;
  5516. | }
  5517. |
  5518. | #ifndef YY_EXIT_FAILURE
  5519. | #define YY_EXIT_FAILURE 2
  5520. | #endif
  5521. |
  5522. | static void yy_fatal_error (yyconst char* msg )
  5523. | {
  5524. | (void) fprintf( stderr, "%s\n", msg );
  5525. | exit( YY_EXIT_FAILURE );
  5526. | }
  5527. |
  5528. | /* Redefine yyless() so it works in section 3 code. */
  5529. |
  5530. | #undef yyless
  5531. | #define yyless(n) \
  5532. | do \
  5533. | { \
  5534. | /* Undo effects of setting up yytext. */ \
  5535. | int yyless_macro_arg = (n); \
  5536. | YY_LESS_LINENO(yyless_macro_arg);\
  5537. | yytext[yyleng] = (yy_hold_char); \
  5538. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  5539. | (yy_hold_char) = *(yy_c_buf_p); \
  5540. | *(yy_c_buf_p) = '\0'; \
  5541. | yyleng = yyless_macro_arg; \
  5542. | } \
  5543. | while ( 0 )
  5544. |
  5545. | /* Accessor methods (get/set functions) to struct members. */
  5546. |
  5547. | /** Get the current line number.
  5548. | *
  5549. | */
  5550. | int yyget_lineno (void)
  5551. | {
  5552. |
  5553. | return yylineno;
  5554. | }
  5555. |
  5556. | /** Get the input stream.
  5557. | *
  5558. | */
  5559. | FILE *yyget_in (void)
  5560. | {
  5561. | return yyin;
  5562. | }
  5563. |
  5564. | /** Get the output stream.
  5565. | *
  5566. | */
  5567. | FILE *yyget_out (void)
  5568. | {
  5569. | return yyout;
  5570. | }
  5571. |
  5572. | /** Get the length of the current token.
  5573. | *
  5574. | */
  5575. | yy_size_t yyget_leng (void)
  5576. | {
  5577. | return yyleng;
  5578. | }
  5579. |
  5580. | /** Get the current token.
  5581. | *
  5582. | */
  5583. |
  5584. | char *yyget_text (void)
  5585. | {
  5586. | return yytext;
  5587. | }
  5588. |
  5589. | /** Set the current line number.
  5590. | * @param line_number
  5591. | *
  5592. | */
  5593. | void yyset_lineno (int line_number )
  5594. | {
  5595. |
  5596. | yylineno = line_number;
  5597. | }
  5598. |
  5599. | /** Set the input stream. This does not discard the current
  5600. | * input buffer.
  5601. | * @param in_str A readable stream.
  5602. | *
  5603. | * @see yy_switch_to_buffer
  5604. | */
  5605. | void yyset_in (FILE * in_str )
  5606. | {
  5607. | yyin = in_str ;
  5608. | }
  5609. |
  5610. | void yyset_out (FILE * out_str )
  5611. | {
  5612. | yyout = out_str ;
  5613. | }
  5614. |
  5615. | int yyget_debug (void)
  5616. | {
  5617. | return yy_flex_debug;
  5618. | }
  5619. |
  5620. | void yyset_debug (int bdebug )
  5621. | {
  5622. | yy_flex_debug = bdebug ;
  5623. | }
  5624. |
  5625. | static int yy_init_globals (void)
  5626. | {
  5627. | /* Initialization is the same as for the non-reentrant scanner.
  5628. | * This function is called from yylex_destroy(), so don't allocate here.
  5629. | */
  5630. |
  5631. | (yy_buffer_stack) = 0;
  5632. | (yy_buffer_stack_top) = 0;
  5633. | (yy_buffer_stack_max) = 0;
  5634. | (yy_c_buf_p) = (char *) 0;
  5635. | (yy_init) = 0;
  5636. | (yy_start) = 0;
  5637. |
  5638. | (yy_state_buf) = 0;
  5639. | (yy_state_ptr) = 0;
  5640. | (yy_full_match) = 0;
  5641. | (yy_lp) = 0;
  5642. |
  5643. | /* Defined in main.c */
  5644. | #ifdef YY_STDINIT
  5645. | yyin = stdin;
  5646. | yyout = stdout;
  5647. | #else
  5648. | yyin = (FILE *) 0;
  5649. | yyout = (FILE *) 0;
  5650. | #endif
  5651. |
  5652. | /* For future reference: Set errno on error, since we are called by
  5653. | * yylex_init()
  5654. | */
  5655. | return 0;
  5656. | }
  5657. |
  5658. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  5659. | int yylex_destroy (void)
  5660. | {
  5661. |
  5662. | /* Pop the buffer stack, destroying each element. */
  5663. | while(YY_CURRENT_BUFFER){
  5664. | yy_delete_buffer(YY_CURRENT_BUFFER );
  5665. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5666. | yypop_buffer_state();
  5667. | }
  5668. |
  5669. | /* Destroy the stack itself. */
  5670. | yyfree((yy_buffer_stack) );
  5671. | (yy_buffer_stack) = NULL;
  5672. |
  5673. | yyfree ( (yy_state_buf) );
  5674. | (yy_state_buf) = NULL;
  5675. |
  5676. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  5677. | * yylex() is called, initialization will occur. */
  5678. | yy_init_globals( );
  5679. |
  5680. | return 0;
  5681. | }
  5682. |
  5683. | /*
  5684. | * Internal utility routines.
  5685. | */
  5686. |
  5687. | #ifndef yytext_ptr
  5688. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  5689. | {
  5690. | register int i;
  5691. | for ( i = 0; i < n; ++i )
  5692. | s1[i] = s2[i];
  5693. | }
  5694. | #endif
  5695. |
  5696. | #ifdef YY_NEED_STRLEN
  5697. | static int yy_flex_strlen (yyconst char * s )
  5698. | {
  5699. | register int n;
  5700. | for ( n = 0; s[n]; ++n )
  5701. | ;
  5702. |
  5703. | return n;
  5704. | }
  5705. | #endif
  5706. |
  5707. | void *yyalloc (yy_size_t size )
  5708. | {
  5709. | return (void *) malloc( size );
  5710. | }
  5711. |
  5712. | void *yyrealloc (void * ptr, yy_size_t size )
  5713. | {
  5714. | /* The cast to (char *) in the following accommodates both
  5715. | * implementations that use char* generic pointers, and those
  5716. | * that use void* generic pointers. It works with the latter
  5717. | * because both ANSI C and C++ allow castless assignment from
  5718. | * any pointer type to void*, and deal with argument conversions
  5719. | * as though doing an assignment.
  5720. | */
  5721. | return (void *) realloc( (char *) ptr, size );
  5722. | }
  5723. |
  5724. | void yyfree (void * ptr )
  5725. | {
  5726. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  5727. | }
  5728. |
  5729. | #define YYTABLES_NAME "yytables"
  5730. |
  5731. | #line 10 "conftest.l"
  5732. |
  5733. |
  5734. | #ifdef YYTEXT_POINTER
  5735. | extern char *yytext;
  5736. | #endif
  5737. | int
  5738. | main (void)
  5739. | {
  5740. | return ! yylex () + ! yywrap ();
  5741. | }
  5742. configure:5976: result: none needed
  5743. configure:5982: checking whether yytext is a pointer
  5744. configure:5999: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  5745. lex.yy.c:646:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5746. register yy_state_type yy_current_state;
  5747. ^~~~~~~~~
  5748. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5749. register char *yy_cp, *yy_bp;
  5750. ^~~~~~~~~
  5751. lex.yy.c:647:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5752. register char *yy_cp, *yy_bp;
  5753. ^~~~~~~~~
  5754. lex.yy.c:648:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5755. register int yy_act;
  5756. ^~~~~~~~~
  5757. lex.yy.c:712:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5758. register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  5759. ^~~~~~~~~
  5760. conftest.l:7:14: error: use of undeclared identifier 'input'
  5761. yyless ((input () != 0)); }
  5762. ^
  5763. lex.yy.c:934:6: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5764. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  5765. ^~~~~~~~~
  5766. lex.yy.c:935:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5767. register char *source = (yytext_ptr);
  5768. ^~~~~~~~~
  5769. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5770. register int number_to_move, i;
  5771. ^~~~~~~~~
  5772. lex.yy.c:936:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5773. register int number_to_move, i;
  5774. ^~~~~~~~~
  5775. lex.yy.c:1039:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5776. register yy_state_type yy_current_state;
  5777. ^~~~~~~~~
  5778. lex.yy.c:1040:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5779. register char *yy_cp;
  5780. ^~~~~~~~~
  5781. lex.yy.c:1049:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5782. register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  5783. ^~~~~~~~~
  5784. lex.yy.c:1070:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5785. register int yy_is_jam;
  5786. ^~~~~~~~~
  5787. lex.yy.c:1072:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5788. register YY_CHAR yy_c = 1;
  5789. ^~~~~~~~~
  5790. lex.yy.c:1087:33: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5791. static void yyunput (int c, register char * yy_bp )
  5792. ^~~~~~~~~
  5793. lex.yy.c:1089:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5794. register char *yy_cp;
  5795. ^~~~~~~~~
  5796. lex.yy.c:1099:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5797. register yy_size_t number_to_move = (yy_n_chars) + 2;
  5798. ^~~~~~~~~
  5799. lex.yy.c:1100:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  5800. register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  5801. ^~~~~~~~~
  5802. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  5803. 20 errors generated.
  5804. configure:5999: $? = 1
  5805. configure: failed program was:
  5806. | /* confdefs.h */
  5807. | #define PACKAGE_NAME "Exult"
  5808. | #define PACKAGE_TARNAME "exult"
  5809. | #define PACKAGE_VERSION "1.5.0git"
  5810. | #define PACKAGE_STRING "Exult 1.5.0git"
  5811. | #define PACKAGE_BUGREPORT ""
  5812. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  5813. | #define PACKAGE "exult"
  5814. | #define VERSION "1.5.0git"
  5815. | #define PACKAGE "exult"
  5816. | #define VERSION "1.5.0git"
  5817. | #define MACOSX 1
  5818. | #define HAVE_CXX17 1
  5819. | /* end confdefs.h. */
  5820. |
  5821. | #define YYTEXT_POINTER 1
  5822. |
  5823. | #line 3 "lex.yy.c"
  5824. |
  5825. | #define YY_INT_ALIGNED short int
  5826. |
  5827. | /* A lexical scanner generated by flex */
  5828. |
  5829. | #define FLEX_SCANNER
  5830. | #define YY_FLEX_MAJOR_VERSION 2
  5831. | #define YY_FLEX_MINOR_VERSION 5
  5832. | #define YY_FLEX_SUBMINOR_VERSION 35
  5833. | #if YY_FLEX_SUBMINOR_VERSION > 0
  5834. | #define FLEX_BETA
  5835. | #endif
  5836. |
  5837. | /* First, we deal with platform-specific or compiler-specific issues. */
  5838. |
  5839. | /* begin standard C headers. */
  5840. | #include <stdio.h>
  5841. | #include <string.h>
  5842. | #include <errno.h>
  5843. | #include <stdlib.h>
  5844. |
  5845. | /* end standard C headers. */
  5846. |
  5847. | /* flex integer type definitions */
  5848. |
  5849. | #ifndef FLEXINT_H
  5850. | #define FLEXINT_H
  5851. |
  5852. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  5853. |
  5854. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  5855. |
  5856. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  5857. | * if you want the limit (max/min) macros for int types.
  5858. | */
  5859. | #ifndef __STDC_LIMIT_MACROS
  5860. | #define __STDC_LIMIT_MACROS 1
  5861. | #endif
  5862. |
  5863. | #include <inttypes.h>
  5864. | typedef int8_t flex_int8_t;
  5865. | typedef uint8_t flex_uint8_t;
  5866. | typedef int16_t flex_int16_t;
  5867. | typedef uint16_t flex_uint16_t;
  5868. | typedef int32_t flex_int32_t;
  5869. | typedef uint32_t flex_uint32_t;
  5870. | typedef uint64_t flex_uint64_t;
  5871. | #else
  5872. | typedef signed char flex_int8_t;
  5873. | typedef short int flex_int16_t;
  5874. | typedef int flex_int32_t;
  5875. | typedef unsigned char flex_uint8_t;
  5876. | typedef unsigned short int flex_uint16_t;
  5877. | typedef unsigned int flex_uint32_t;
  5878. | #endif /* ! C99 */
  5879. |
  5880. | /* Limits of integral types. */
  5881. | #ifndef INT8_MIN
  5882. | #define INT8_MIN (-128)
  5883. | #endif
  5884. | #ifndef INT16_MIN
  5885. | #define INT16_MIN (-32767-1)
  5886. | #endif
  5887. | #ifndef INT32_MIN
  5888. | #define INT32_MIN (-2147483647-1)
  5889. | #endif
  5890. | #ifndef INT8_MAX
  5891. | #define INT8_MAX (127)
  5892. | #endif
  5893. | #ifndef INT16_MAX
  5894. | #define INT16_MAX (32767)
  5895. | #endif
  5896. | #ifndef INT32_MAX
  5897. | #define INT32_MAX (2147483647)
  5898. | #endif
  5899. | #ifndef UINT8_MAX
  5900. | #define UINT8_MAX (255U)
  5901. | #endif
  5902. | #ifndef UINT16_MAX
  5903. | #define UINT16_MAX (65535U)
  5904. | #endif
  5905. | #ifndef UINT32_MAX
  5906. | #define UINT32_MAX (4294967295U)
  5907. | #endif
  5908. |
  5909. | #endif /* ! FLEXINT_H */
  5910. |
  5911. | #ifdef __cplusplus
  5912. |
  5913. | /* The "const" storage-class-modifier is valid. */
  5914. | #define YY_USE_CONST
  5915. |
  5916. | #else /* ! __cplusplus */
  5917. |
  5918. | /* C99 requires __STDC__ to be defined as 1. */
  5919. | #if defined (__STDC__)
  5920. |
  5921. | #define YY_USE_CONST
  5922. |
  5923. | #endif /* defined (__STDC__) */
  5924. | #endif /* ! __cplusplus */
  5925. |
  5926. | #ifdef YY_USE_CONST
  5927. | #define yyconst const
  5928. | #else
  5929. | #define yyconst
  5930. | #endif
  5931. |
  5932. | /* Returned upon end-of-file. */
  5933. | #define YY_NULL 0
  5934. |
  5935. | /* Promotes a possibly negative, possibly signed char to an unsigned
  5936. | * integer for use as an array index. If the signed char is negative,
  5937. | * we want to instead treat it as an 8-bit unsigned char, hence the
  5938. | * double cast.
  5939. | */
  5940. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  5941. |
  5942. | /* Enter a start condition. This macro really ought to take a parameter,
  5943. | * but we do it the disgusting crufty way forced on us by the ()-less
  5944. | * definition of BEGIN.
  5945. | */
  5946. | #define BEGIN (yy_start) = 1 + 2 *
  5947. |
  5948. | /* Translate the current start state into a value that can be later handed
  5949. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  5950. | * compatibility.
  5951. | */
  5952. | #define YY_START (((yy_start) - 1) / 2)
  5953. | #define YYSTATE YY_START
  5954. |
  5955. | /* Action number for EOF rule of a given start state. */
  5956. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  5957. |
  5958. | /* Special action meaning "start processing a new file". */
  5959. | #define YY_NEW_FILE yyrestart(yyin )
  5960. |
  5961. | #define YY_END_OF_BUFFER_CHAR 0
  5962. |
  5963. | /* Size of default input buffer. */
  5964. | #ifndef YY_BUF_SIZE
  5965. | #define YY_BUF_SIZE 16384
  5966. | #endif
  5967. |
  5968. | /* The state buf must be large enough to hold one state per character in the main buffer.
  5969. | */
  5970. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  5971. |
  5972. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  5973. | #define YY_TYPEDEF_YY_BUFFER_STATE
  5974. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  5975. | #endif
  5976. |
  5977. | #ifndef YY_TYPEDEF_YY_SIZE_T
  5978. | #define YY_TYPEDEF_YY_SIZE_T
  5979. | typedef size_t yy_size_t;
  5980. | #endif
  5981. |
  5982. | extern yy_size_t yyleng;
  5983. |
  5984. | extern FILE *yyin, *yyout;
  5985. |
  5986. | #define EOB_ACT_CONTINUE_SCAN 0
  5987. | #define EOB_ACT_END_OF_FILE 1
  5988. | #define EOB_ACT_LAST_MATCH 2
  5989. |
  5990. | #define YY_LESS_LINENO(n)
  5991. |
  5992. | /* Return all but the first "n" matched characters back to the input stream. */
  5993. | #define yyless(n) \
  5994. | do \
  5995. | { \
  5996. | /* Undo effects of setting up yytext. */ \
  5997. | int yyless_macro_arg = (n); \
  5998. | YY_LESS_LINENO(yyless_macro_arg);\
  5999. | *yy_cp = (yy_hold_char); \
  6000. | YY_RESTORE_YY_MORE_OFFSET \
  6001. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  6002. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  6003. | } \
  6004. | while ( 0 )
  6005. |
  6006. | #define unput(c) yyunput( c, (yytext_ptr) )
  6007. |
  6008. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  6009. | #define YY_STRUCT_YY_BUFFER_STATE
  6010. | struct yy_buffer_state
  6011. | {
  6012. | FILE *yy_input_file;
  6013. |
  6014. | char *yy_ch_buf; /* input buffer */
  6015. | char *yy_buf_pos; /* current position in input buffer */
  6016. |
  6017. | /* Size of input buffer in bytes, not including room for EOB
  6018. | * characters.
  6019. | */
  6020. | yy_size_t yy_buf_size;
  6021. |
  6022. | /* Number of characters read into yy_ch_buf, not including EOB
  6023. | * characters.
  6024. | */
  6025. | yy_size_t yy_n_chars;
  6026. |
  6027. | /* Whether we "own" the buffer - i.e., we know we created it,
  6028. | * and can realloc() it to grow it, and should free() it to
  6029. | * delete it.
  6030. | */
  6031. | int yy_is_our_buffer;
  6032. |
  6033. | /* Whether this is an "interactive" input source; if so, and
  6034. | * if we're using stdio for input, then we want to use getc()
  6035. | * instead of fread(), to make sure we stop fetching input after
  6036. | * each newline.
  6037. | */
  6038. | int yy_is_interactive;
  6039. |
  6040. | /* Whether we're considered to be at the beginning of a line.
  6041. | * If so, '^' rules will be active on the next match, otherwise
  6042. | * not.
  6043. | */
  6044. | int yy_at_bol;
  6045. |
  6046. | int yy_bs_lineno; /**< The line count. */
  6047. | int yy_bs_column; /**< The column count. */
  6048. |
  6049. | /* Whether to try to fill the input buffer when we reach the
  6050. | * end of it.
  6051. | */
  6052. | int yy_fill_buffer;
  6053. |
  6054. | int yy_buffer_status;
  6055. |
  6056. | #define YY_BUFFER_NEW 0
  6057. | #define YY_BUFFER_NORMAL 1
  6058. | /* When an EOF's been seen but there's still some text to process
  6059. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  6060. | * shouldn't try reading from the input source any more. We might
  6061. | * still have a bunch of tokens to match, though, because of
  6062. | * possible backing-up.
  6063. | *
  6064. | * When we actually see the EOF, we change the status to "new"
  6065. | * (via yyrestart()), so that the user can continue scanning by
  6066. | * just pointing yyin at a new input file.
  6067. | */
  6068. | #define YY_BUFFER_EOF_PENDING 2
  6069. |
  6070. | };
  6071. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  6072. |
  6073. | /* Stack of input buffers. */
  6074. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  6075. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  6076. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  6077. |
  6078. | /* We provide macros for accessing buffer states in case in the
  6079. | * future we want to put the buffer states in a more general
  6080. | * "scanner state".
  6081. | *
  6082. | * Returns the top of the stack, or NULL.
  6083. | */
  6084. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  6085. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  6086. | : NULL)
  6087. |
  6088. | /* Same as previous macro, but useful when we know that the buffer stack is not
  6089. | * NULL or when we need an lvalue. For internal use only.
  6090. | */
  6091. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  6092. |
  6093. | /* yy_hold_char holds the character lost when yytext is formed. */
  6094. | static char yy_hold_char;
  6095. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  6096. | yy_size_t yyleng;
  6097. |
  6098. | /* Points to current character in buffer. */
  6099. | static char *yy_c_buf_p = (char *) 0;
  6100. | static int yy_init = 0; /* whether we need to initialize */
  6101. | static int yy_start = 0; /* start state number */
  6102. |
  6103. | /* Flag which is used to allow yywrap()'s to do buffer switches
  6104. | * instead of setting up a fresh yyin. A bit of a hack ...
  6105. | */
  6106. | static int yy_did_buffer_switch_on_eof;
  6107. |
  6108. | void yyrestart (FILE *input_file );
  6109. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  6110. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  6111. | void yy_delete_buffer (YY_BUFFER_STATE b );
  6112. | void yy_flush_buffer (YY_BUFFER_STATE b );
  6113. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  6114. | void yypop_buffer_state (void );
  6115. |
  6116. | static void yyensure_buffer_stack (void );
  6117. | static void yy_load_buffer_state (void );
  6118. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  6119. |
  6120. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  6121. |
  6122. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  6123. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  6124. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  6125. |
  6126. | void *yyalloc (yy_size_t );
  6127. | void *yyrealloc (void *,yy_size_t );
  6128. | void yyfree (void * );
  6129. |
  6130. | #define yy_new_buffer yy_create_buffer
  6131. |
  6132. | #define yy_set_interactive(is_interactive) \
  6133. | { \
  6134. | if ( ! YY_CURRENT_BUFFER ){ \
  6135. | yyensure_buffer_stack (); \
  6136. | YY_CURRENT_BUFFER_LVALUE = \
  6137. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  6138. | } \
  6139. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  6140. | }
  6141. |
  6142. | #define yy_set_bol(at_bol) \
  6143. | { \
  6144. | if ( ! YY_CURRENT_BUFFER ){\
  6145. | yyensure_buffer_stack (); \
  6146. | YY_CURRENT_BUFFER_LVALUE = \
  6147. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  6148. | } \
  6149. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  6150. | }
  6151. |
  6152. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  6153. |
  6154. | /* Begin user sect3 */
  6155. |
  6156. | typedef unsigned char YY_CHAR;
  6157. |
  6158. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  6159. |
  6160. | typedef int yy_state_type;
  6161. |
  6162. | extern int yylineno;
  6163. |
  6164. | int yylineno = 1;
  6165. |
  6166. | extern char *yytext;
  6167. | #define yytext_ptr yytext
  6168. |
  6169. | static yy_state_type yy_get_previous_state (void );
  6170. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  6171. | static int yy_get_next_buffer (void );
  6172. | static void yy_fatal_error (yyconst char msg[] );
  6173. |
  6174. | /* Done after the current pattern has been matched and before the
  6175. | * corresponding action - sets up yytext.
  6176. | */
  6177. | #define YY_DO_BEFORE_ACTION \
  6178. | (yytext_ptr) = yy_bp; \
  6179. | (yytext_ptr) -= (yy_more_len); \
  6180. | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
  6181. | (yy_hold_char) = *yy_cp; \
  6182. | *yy_cp = '\0'; \
  6183. | (yy_c_buf_p) = yy_cp;
  6184. |
  6185. | #define YY_NUM_RULES 8
  6186. | #define YY_END_OF_BUFFER 9
  6187. | /* This struct is not used in this scanner,
  6188. | but its presence is necessary. */
  6189. | struct yy_trans_info
  6190. | {
  6191. | flex_int32_t yy_verify;
  6192. | flex_int32_t yy_nxt;
  6193. | };
  6194. | static yyconst flex_int16_t yy_acclist[23] =
  6195. | { 0,
  6196. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  6197. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  6198. | 7, 8
  6199. | } ;
  6200. |
  6201. | static yyconst flex_int16_t yy_accept[14] =
  6202. | { 0,
  6203. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  6204. | 20, 23, 23
  6205. | } ;
  6206. |
  6207. | static yyconst flex_int32_t yy_ec[256] =
  6208. | { 0,
  6209. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  6210. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6211. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6212. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6213. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6214. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6215. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6216. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6217. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6218. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  6219. |
  6220. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  6221. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6222. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6223. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6224. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6225. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6226. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6227. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6228. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6229. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6230. |
  6231. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6232. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6233. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6234. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6235. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6236. | 1, 1, 1, 1, 1
  6237. | } ;
  6238. |
  6239. | static yyconst flex_int32_t yy_meta[9] =
  6240. | { 0,
  6241. | 1, 1, 1, 1, 1, 1, 1, 1
  6242. | } ;
  6243. |
  6244. | static yyconst flex_int16_t yy_base[13] =
  6245. | { 0,
  6246. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  6247. | 10, 10
  6248. | } ;
  6249. |
  6250. | static yyconst flex_int16_t yy_def[13] =
  6251. | { 0,
  6252. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  6253. | 12, 0
  6254. | } ;
  6255. |
  6256. | static yyconst flex_int16_t yy_nxt[19] =
  6257. | { 0,
  6258. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  6259. | 12, 12, 12, 12, 12, 12, 12, 12
  6260. | } ;
  6261. |
  6262. | static yyconst flex_int16_t yy_chk[19] =
  6263. | { 0,
  6264. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  6265. | 12, 12, 12, 12, 12, 12, 12, 12
  6266. | } ;
  6267. |
  6268. | extern int yy_flex_debug;
  6269. | int yy_flex_debug = 0;
  6270. |
  6271. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  6272. | static char *yy_full_match;
  6273. | static int yy_lp;
  6274. | #define REJECT \
  6275. | { \
  6276. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  6277. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  6278. | ++(yy_lp); \
  6279. | goto find_rule; \
  6280. | }
  6281. |
  6282. | static int yy_more_flag = 0;
  6283. | static int yy_more_len = 0;
  6284. | #define yymore() ((yy_more_flag) = 1)
  6285. | #define YY_MORE_ADJ (yy_more_len)
  6286. | #define YY_RESTORE_YY_MORE_OFFSET
  6287. | char *yytext;
  6288. | #line 1 "conftest.l"
  6289. | #line 469 "lex.yy.c"
  6290. |
  6291. | #define INITIAL 0
  6292. |
  6293. | #ifndef YY_NO_UNISTD_H
  6294. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  6295. | * down here because we want the user's section 1 to have been scanned first.
  6296. | * The user has a chance to override it with an option.
  6297. | */
  6298. | #include <unistd.h>
  6299. | #endif
  6300. |
  6301. | #ifndef YY_EXTRA_TYPE
  6302. | #define YY_EXTRA_TYPE void *
  6303. | #endif
  6304. |
  6305. | static int yy_init_globals (void );
  6306. |
  6307. | /* Accessor methods to globals.
  6308. | These are made visible to non-reentrant scanners for convenience. */
  6309. |
  6310. | int yylex_destroy (void );
  6311. |
  6312. | int yyget_debug (void );
  6313. |
  6314. | void yyset_debug (int debug_flag );
  6315. |
  6316. | YY_EXTRA_TYPE yyget_extra (void );
  6317. |
  6318. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  6319. |
  6320. | FILE *yyget_in (void );
  6321. |
  6322. | void yyset_in (FILE * in_str );
  6323. |
  6324. | FILE *yyget_out (void );
  6325. |
  6326. | void yyset_out (FILE * out_str );
  6327. |
  6328. | yy_size_t yyget_leng (void );
  6329. |
  6330. | char *yyget_text (void );
  6331. |
  6332. | int yyget_lineno (void );
  6333. |
  6334. | void yyset_lineno (int line_number );
  6335. |
  6336. | /* Macros after this point can all be overridden by user definitions in
  6337. | * section 1.
  6338. | */
  6339. |
  6340. | #ifndef YY_SKIP_YYWRAP
  6341. | #ifdef __cplusplus
  6342. | extern "C" int yywrap (void );
  6343. | #else
  6344. | extern int yywrap (void );
  6345. | #endif
  6346. | #endif
  6347. |
  6348. | static void yyunput (int c,char *buf_ptr );
  6349. |
  6350. | #ifndef yytext_ptr
  6351. | static void yy_flex_strncpy (char *,yyconst char *,int );
  6352. | #endif
  6353. |
  6354. | #ifdef YY_NEED_STRLEN
  6355. | static int yy_flex_strlen (yyconst char * );
  6356. | #endif
  6357. |
  6358. | #ifndef YY_NO_INPUT
  6359. |
  6360. | #ifdef __cplusplus
  6361. | static int yyinput (void );
  6362. | #else
  6363. | static int input (void );
  6364. | #endif
  6365. |
  6366. | #endif
  6367. |
  6368. | /* Amount of stuff to slurp up with each read. */
  6369. | #ifndef YY_READ_BUF_SIZE
  6370. | #define YY_READ_BUF_SIZE 8192
  6371. | #endif
  6372. |
  6373. | /* Copy whatever the last rule matched to the standard output. */
  6374. | #ifndef ECHO
  6375. | /* This used to be an fputs(), but since the string might contain NUL's,
  6376. | * we now use fwrite().
  6377. | */
  6378. | #define ECHO fwrite( yytext, yyleng, 1, yyout )
  6379. | #endif
  6380. |
  6381. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  6382. | * is returned in "result".
  6383. | */
  6384. | #ifndef YY_INPUT
  6385. | #define YY_INPUT(buf,result,max_size) \
  6386. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  6387. | { \
  6388. | int c = '*'; \
  6389. | yy_size_t n; \
  6390. | for ( n = 0; n < max_size && \
  6391. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  6392. | buf[n] = (char) c; \
  6393. | if ( c == '\n' ) \
  6394. | buf[n++] = (char) c; \
  6395. | if ( c == EOF && ferror( yyin ) ) \
  6396. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6397. | result = n; \
  6398. | } \
  6399. | else \
  6400. | { \
  6401. | errno=0; \
  6402. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  6403. | { \
  6404. | if( errno != EINTR) \
  6405. | { \
  6406. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6407. | break; \
  6408. | } \
  6409. | errno=0; \
  6410. | clearerr(yyin); \
  6411. | } \
  6412. | }\
  6413. | \
  6414. |
  6415. | #endif
  6416. |
  6417. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  6418. | * we don't want an extra ';' after the "return" because that will cause
  6419. | * some compilers to complain about unreachable statements.
  6420. | */
  6421. | #ifndef yyterminate
  6422. | #define yyterminate() return YY_NULL
  6423. | #endif
  6424. |
  6425. | /* Number of entries by which start-condition stack grows. */
  6426. | #ifndef YY_START_STACK_INCR
  6427. | #define YY_START_STACK_INCR 25
  6428. | #endif
  6429. |
  6430. | /* Report a fatal error. */
  6431. | #ifndef YY_FATAL_ERROR
  6432. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  6433. | #endif
  6434. |
  6435. | /* end tables serialization structures and prototypes */
  6436. |
  6437. | /* Default declaration of generated scanner - a define so the user can
  6438. | * easily add parameters.
  6439. | */
  6440. | #ifndef YY_DECL
  6441. | #define YY_DECL_IS_OURS 1
  6442. |
  6443. | extern int yylex (void);
  6444. |
  6445. | #define YY_DECL int yylex (void)
  6446. | #endif /* !YY_DECL */
  6447. |
  6448. | /* Code executed at the beginning of each rule, after yytext and yyleng
  6449. | * have been set up.
  6450. | */
  6451. | #ifndef YY_USER_ACTION
  6452. | #define YY_USER_ACTION
  6453. | #endif
  6454. |
  6455. | /* Code executed at the end of each rule. */
  6456. | #ifndef YY_BREAK
  6457. | #define YY_BREAK break;
  6458. | #endif
  6459. |
  6460. | #define YY_RULE_SETUP \
  6461. | YY_USER_ACTION
  6462. |
  6463. | /** The main scanner function which does all the work.
  6464. | */
  6465. | YY_DECL
  6466. | {
  6467. | register yy_state_type yy_current_state;
  6468. | register char *yy_cp, *yy_bp;
  6469. | register int yy_act;
  6470. |
  6471. | #line 1 "conftest.l"
  6472. |
  6473. | #line 653 "lex.yy.c"
  6474. |
  6475. | if ( !(yy_init) )
  6476. | {
  6477. | (yy_init) = 1;
  6478. |
  6479. | #ifdef YY_USER_INIT
  6480. | YY_USER_INIT;
  6481. | #endif
  6482. |
  6483. | /* Create the reject buffer large enough to save one state per allowed character. */
  6484. | if ( ! (yy_state_buf) )
  6485. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  6486. | if ( ! (yy_state_buf) )
  6487. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  6488. |
  6489. | if ( ! (yy_start) )
  6490. | (yy_start) = 1; /* first start state */
  6491. |
  6492. | if ( ! yyin )
  6493. | yyin = stdin;
  6494. |
  6495. | if ( ! yyout )
  6496. | yyout = stdout;
  6497. |
  6498. | if ( ! YY_CURRENT_BUFFER ) {
  6499. | yyensure_buffer_stack ();
  6500. | YY_CURRENT_BUFFER_LVALUE =
  6501. | yy_create_buffer(yyin,YY_BUF_SIZE );
  6502. | }
  6503. |
  6504. | yy_load_buffer_state( );
  6505. | }
  6506. |
  6507. | while ( 1 ) /* loops until end-of-file is reached */
  6508. | {
  6509. | (yy_more_len) = 0;
  6510. | if ( (yy_more_flag) )
  6511. | {
  6512. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  6513. | (yy_more_flag) = 0;
  6514. | }
  6515. | yy_cp = (yy_c_buf_p);
  6516. |
  6517. | /* Support of yytext. */
  6518. | *yy_cp = (yy_hold_char);
  6519. |
  6520. | /* yy_bp points to the position in yy_ch_buf of the start of
  6521. | * the current run.
  6522. | */
  6523. | yy_bp = yy_cp;
  6524. |
  6525. | yy_current_state = (yy_start);
  6526. |
  6527. | (yy_state_ptr) = (yy_state_buf);
  6528. | *(yy_state_ptr)++ = yy_current_state;
  6529. |
  6530. | yy_match:
  6531. | do
  6532. | {
  6533. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  6534. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6535. | {
  6536. | yy_current_state = (int) yy_def[yy_current_state];
  6537. | if ( yy_current_state >= 13 )
  6538. | yy_c = yy_meta[(unsigned int) yy_c];
  6539. | }
  6540. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6541. | *(yy_state_ptr)++ = yy_current_state;
  6542. | ++yy_cp;
  6543. | }
  6544. | while ( yy_base[yy_current_state] != 10 );
  6545. |
  6546. | yy_find_action:
  6547. | yy_current_state = *--(yy_state_ptr);
  6548. | (yy_lp) = yy_accept[yy_current_state];
  6549. | goto find_rule; /* Shut up GCC warning -Wall */
  6550. | find_rule: /* we branch to this label when backing up */
  6551. | for ( ; ; ) /* until we find what rule we matched */
  6552. | {
  6553. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  6554. | {
  6555. | yy_act = yy_acclist[(yy_lp)];
  6556. | {
  6557. | (yy_full_match) = yy_cp;
  6558. | break;
  6559. | }
  6560. | }
  6561. | --yy_cp;
  6562. | yy_current_state = *--(yy_state_ptr);
  6563. | (yy_lp) = yy_accept[yy_current_state];
  6564. | }
  6565. |
  6566. | YY_DO_BEFORE_ACTION;
  6567. |
  6568. | do_action: /* This label is used only to access EOF actions. */
  6569. |
  6570. | switch ( yy_act )
  6571. | { /* beginning of action switch */
  6572. | case 1:
  6573. | YY_RULE_SETUP
  6574. | #line 2 "conftest.l"
  6575. | { ECHO; }
  6576. | YY_BREAK
  6577. | case 2:
  6578. | YY_RULE_SETUP
  6579. | #line 3 "conftest.l"
  6580. | { REJECT; }
  6581. | YY_BREAK
  6582. | case 3:
  6583. | YY_RULE_SETUP
  6584. | #line 4 "conftest.l"
  6585. | { yymore (); }
  6586. | YY_BREAK
  6587. | case 4:
  6588. | YY_RULE_SETUP
  6589. | #line 5 "conftest.l"
  6590. | { yyless (1); }
  6591. | YY_BREAK
  6592. | case 5:
  6593. | YY_RULE_SETUP
  6594. | #line 6 "conftest.l"
  6595. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  6596. | yyless ((input () != 0)); }
  6597. | YY_BREAK
  6598. | case 6:
  6599. | YY_RULE_SETUP
  6600. | #line 8 "conftest.l"
  6601. | { unput (yytext[0]); }
  6602. | YY_BREAK
  6603. | case 7:
  6604. | YY_RULE_SETUP
  6605. | #line 9 "conftest.l"
  6606. | { BEGIN INITIAL; }
  6607. | YY_BREAK
  6608. | case 8:
  6609. | YY_RULE_SETUP
  6610. | #line 10 "conftest.l"
  6611. | ECHO;
  6612. | YY_BREAK
  6613. | #line 793 "lex.yy.c"
  6614. | case YY_STATE_EOF(INITIAL):
  6615. | yyterminate();
  6616. |
  6617. | case YY_END_OF_BUFFER:
  6618. | {
  6619. | /* Amount of text matched not including the EOB char. */
  6620. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  6621. |
  6622. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  6623. | *yy_cp = (yy_hold_char);
  6624. | YY_RESTORE_YY_MORE_OFFSET
  6625. |
  6626. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  6627. | {
  6628. | /* We're scanning a new file or input source. It's
  6629. | * possible that this happened because the user
  6630. | * just pointed yyin at a new source and called
  6631. | * yylex(). If so, then we have to assure
  6632. | * consistency between YY_CURRENT_BUFFER and our
  6633. | * globals. Here is the right place to do so, because
  6634. | * this is the first action (other than possibly a
  6635. | * back-up) that will match for the new input source.
  6636. | */
  6637. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  6638. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  6639. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  6640. | }
  6641. |
  6642. | /* Note that here we test for yy_c_buf_p "<=" to the position
  6643. | * of the first EOB in the buffer, since yy_c_buf_p will
  6644. | * already have been incremented past the NUL character
  6645. | * (since all states make transitions on EOB to the
  6646. | * end-of-buffer state). Contrast this with the test
  6647. | * in input().
  6648. | */
  6649. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6650. | { /* This was really a NUL. */
  6651. | yy_state_type yy_next_state;
  6652. |
  6653. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  6654. |
  6655. | yy_current_state = yy_get_previous_state( );
  6656. |
  6657. | /* Okay, we're now positioned to make the NUL
  6658. | * transition. We couldn't have
  6659. | * yy_get_previous_state() go ahead and do it
  6660. | * for us because it doesn't know how to deal
  6661. | * with the possibility of jamming (and we don't
  6662. | * want to build jamming into it because then it
  6663. | * will run more slowly).
  6664. | */
  6665. |
  6666. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  6667. |
  6668. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6669. |
  6670. | if ( yy_next_state )
  6671. | {
  6672. | /* Consume the NUL. */
  6673. | yy_cp = ++(yy_c_buf_p);
  6674. | yy_current_state = yy_next_state;
  6675. | goto yy_match;
  6676. | }
  6677. |
  6678. | else
  6679. | {
  6680. | yy_cp = (yy_c_buf_p);
  6681. | goto yy_find_action;
  6682. | }
  6683. | }
  6684. |
  6685. | else switch ( yy_get_next_buffer( ) )
  6686. | {
  6687. | case EOB_ACT_END_OF_FILE:
  6688. | {
  6689. | (yy_did_buffer_switch_on_eof) = 0;
  6690. |
  6691. | if ( yywrap( ) )
  6692. | {
  6693. | /* Note: because we've taken care in
  6694. | * yy_get_next_buffer() to have set up
  6695. | * yytext, we can now set up
  6696. | * yy_c_buf_p so that if some total
  6697. | * hoser (like flex itself) wants to
  6698. | * call the scanner after we return the
  6699. | * YY_NULL, it'll still work - another
  6700. | * YY_NULL will get returned.
  6701. | */
  6702. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  6703. |
  6704. | yy_act = YY_STATE_EOF(YY_START);
  6705. | goto do_action;
  6706. | }
  6707. |
  6708. | else
  6709. | {
  6710. | if ( ! (yy_did_buffer_switch_on_eof) )
  6711. | YY_NEW_FILE;
  6712. | }
  6713. | break;
  6714. | }
  6715. |
  6716. | case EOB_ACT_CONTINUE_SCAN:
  6717. | (yy_c_buf_p) =
  6718. | (yytext_ptr) + yy_amount_of_matched_text;
  6719. |
  6720. | yy_current_state = yy_get_previous_state( );
  6721. |
  6722. | yy_cp = (yy_c_buf_p);
  6723. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6724. | goto yy_match;
  6725. |
  6726. | case EOB_ACT_LAST_MATCH:
  6727. | (yy_c_buf_p) =
  6728. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  6729. |
  6730. | yy_current_state = yy_get_previous_state( );
  6731. |
  6732. | yy_cp = (yy_c_buf_p);
  6733. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6734. | goto yy_find_action;
  6735. | }
  6736. | break;
  6737. | }
  6738. |
  6739. | default:
  6740. | YY_FATAL_ERROR(
  6741. | "fatal flex scanner internal error--no action found" );
  6742. | } /* end of action switch */
  6743. | } /* end of scanning one token */
  6744. | } /* end of yylex */
  6745. |
  6746. | /* yy_get_next_buffer - try to read in a new buffer
  6747. | *
  6748. | * Returns a code representing an action:
  6749. | * EOB_ACT_LAST_MATCH -
  6750. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  6751. | * EOB_ACT_END_OF_FILE - end of file
  6752. | */
  6753. | static int yy_get_next_buffer (void)
  6754. | {
  6755. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  6756. | register char *source = (yytext_ptr);
  6757. | register int number_to_move, i;
  6758. | int ret_val;
  6759. |
  6760. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  6761. | YY_FATAL_ERROR(
  6762. | "fatal flex scanner internal error--end of buffer missed" );
  6763. |
  6764. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  6765. | { /* Don't try to fill the buffer, so this is an EOF. */
  6766. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  6767. | {
  6768. | /* We matched a single character, the EOB, so
  6769. | * treat this as a final EOF.
  6770. | */
  6771. | return EOB_ACT_END_OF_FILE;
  6772. | }
  6773. |
  6774. | else
  6775. | {
  6776. | /* We matched some text prior to the EOB, first
  6777. | * process it.
  6778. | */
  6779. | return EOB_ACT_LAST_MATCH;
  6780. | }
  6781. | }
  6782. |
  6783. | /* Try to read more data. */
  6784. |
  6785. | /* First move last chars to start of buffer. */
  6786. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  6787. |
  6788. | for ( i = 0; i < number_to_move; ++i )
  6789. | *(dest++) = *(source++);
  6790. |
  6791. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  6792. | /* don't do the read, it's not guaranteed to return an EOF,
  6793. | * just force an EOF
  6794. | */
  6795. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  6796. |
  6797. | else
  6798. | {
  6799. | yy_size_t num_to_read =
  6800. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  6801. |
  6802. | while ( num_to_read <= 0 )
  6803. | { /* Not enough room in the buffer - grow it. */
  6804. |
  6805. | YY_FATAL_ERROR(
  6806. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  6807. |
  6808. | }
  6809. |
  6810. | if ( num_to_read > YY_READ_BUF_SIZE )
  6811. | num_to_read = YY_READ_BUF_SIZE;
  6812. |
  6813. | /* Read in more data. */
  6814. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  6815. | (yy_n_chars), num_to_read );
  6816. |
  6817. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6818. | }
  6819. |
  6820. | if ( (yy_n_chars) == 0 )
  6821. | {
  6822. | if ( number_to_move == YY_MORE_ADJ )
  6823. | {
  6824. | ret_val = EOB_ACT_END_OF_FILE;
  6825. | yyrestart(yyin );
  6826. | }
  6827. |
  6828. | else
  6829. | {
  6830. | ret_val = EOB_ACT_LAST_MATCH;
  6831. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  6832. | YY_BUFFER_EOF_PENDING;
  6833. | }
  6834. | }
  6835. |
  6836. | else
  6837. | ret_val = EOB_ACT_CONTINUE_SCAN;
  6838. |
  6839. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  6840. | /* Extend the array by 50%, plus the number we really need. */
  6841. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  6842. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  6843. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6844. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  6845. | }
  6846. |
  6847. | (yy_n_chars) += number_to_move;
  6848. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  6849. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  6850. |
  6851. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  6852. |
  6853. | return ret_val;
  6854. | }
  6855. |
  6856. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  6857. |
  6858. | static yy_state_type yy_get_previous_state (void)
  6859. | {
  6860. | register yy_state_type yy_current_state;
  6861. | register char *yy_cp;
  6862. |
  6863. | yy_current_state = (yy_start);
  6864. |
  6865. | (yy_state_ptr) = (yy_state_buf);
  6866. | *(yy_state_ptr)++ = yy_current_state;
  6867. |
  6868. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  6869. | {
  6870. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  6871. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6872. | {
  6873. | yy_current_state = (int) yy_def[yy_current_state];
  6874. | if ( yy_current_state >= 13 )
  6875. | yy_c = yy_meta[(unsigned int) yy_c];
  6876. | }
  6877. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6878. | *(yy_state_ptr)++ = yy_current_state;
  6879. | }
  6880. |
  6881. | return yy_current_state;
  6882. | }
  6883. |
  6884. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  6885. | *
  6886. | * synopsis
  6887. | * next_state = yy_try_NUL_trans( current_state );
  6888. | */
  6889. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  6890. | {
  6891. | register int yy_is_jam;
  6892. |
  6893. | register YY_CHAR yy_c = 1;
  6894. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6895. | {
  6896. | yy_current_state = (int) yy_def[yy_current_state];
  6897. | if ( yy_current_state >= 13 )
  6898. | yy_c = yy_meta[(unsigned int) yy_c];
  6899. | }
  6900. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  6901. | yy_is_jam = (yy_current_state == 12);
  6902. | if ( ! yy_is_jam )
  6903. | *(yy_state_ptr)++ = yy_current_state;
  6904. |
  6905. | return yy_is_jam ? 0 : yy_current_state;
  6906. | }
  6907. |
  6908. | static void yyunput (int c, register char * yy_bp )
  6909. | {
  6910. | register char *yy_cp;
  6911. |
  6912. | yy_cp = (yy_c_buf_p);
  6913. |
  6914. | /* undo effects of setting up yytext */
  6915. | *yy_cp = (yy_hold_char);
  6916. |
  6917. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6918. | { /* need to shift things up to make room */
  6919. | /* +2 for EOB chars. */
  6920. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  6921. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  6922. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  6923. | register char *source =
  6924. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  6925. |
  6926. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6927. | *--dest = *--source;
  6928. |
  6929. | yy_cp += (int) (dest - source);
  6930. | yy_bp += (int) (dest - source);
  6931. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  6932. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  6933. |
  6934. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6935. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  6936. | }
  6937. |
  6938. | *--yy_cp = (char) c;
  6939. |
  6940. | (yytext_ptr) = yy_bp;
  6941. | (yy_hold_char) = *yy_cp;
  6942. | (yy_c_buf_p) = yy_cp;
  6943. | }
  6944. |
  6945. | #ifndef YY_NO_INPUT
  6946. | #ifdef __cplusplus
  6947. | static int yyinput (void)
  6948. | #else
  6949. | static int input (void)
  6950. | #endif
  6951. |
  6952. | {
  6953. | int c;
  6954. |
  6955. | *(yy_c_buf_p) = (yy_hold_char);
  6956. |
  6957. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  6958. | {
  6959. | /* yy_c_buf_p now points to the character we want to return.
  6960. | * If this occurs *before* the EOB characters, then it's a
  6961. | * valid NUL; if not, then we've hit the end of the buffer.
  6962. | */
  6963. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6964. | /* This was really a NUL. */
  6965. | *(yy_c_buf_p) = '\0';
  6966. |
  6967. | else
  6968. | { /* need more input */
  6969. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  6970. | ++(yy_c_buf_p);
  6971. |
  6972. | switch ( yy_get_next_buffer( ) )
  6973. | {
  6974. | case EOB_ACT_LAST_MATCH:
  6975. | /* This happens because yy_g_n_b()
  6976. | * sees that we've accumulated a
  6977. | * token and flags that we need to
  6978. | * try matching the token before
  6979. | * proceeding. But for input(),
  6980. | * there's no matching to consider.
  6981. | * So convert the EOB_ACT_LAST_MATCH
  6982. | * to EOB_ACT_END_OF_FILE.
  6983. | */
  6984. |
  6985. | /* Reset buffer status. */
  6986. | yyrestart(yyin );
  6987. |
  6988. | /*FALLTHROUGH*/
  6989. |
  6990. | case EOB_ACT_END_OF_FILE:
  6991. | {
  6992. | if ( yywrap( ) )
  6993. | return 0;
  6994. |
  6995. | if ( ! (yy_did_buffer_switch_on_eof) )
  6996. | YY_NEW_FILE;
  6997. | #ifdef __cplusplus
  6998. | return yyinput();
  6999. | #else
  7000. | return input();
  7001. | #endif
  7002. | }
  7003. |
  7004. | case EOB_ACT_CONTINUE_SCAN:
  7005. | (yy_c_buf_p) = (yytext_ptr) + offset;
  7006. | break;
  7007. | }
  7008. | }
  7009. | }
  7010. |
  7011. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  7012. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  7013. | (yy_hold_char) = *++(yy_c_buf_p);
  7014. |
  7015. | return c;
  7016. | }
  7017. | #endif /* ifndef YY_NO_INPUT */
  7018. |
  7019. | /** Immediately switch to a different input stream.
  7020. | * @param input_file A readable stream.
  7021. | *
  7022. | * @note This function does not reset the start condition to @c INITIAL .
  7023. | */
  7024. | void yyrestart (FILE * input_file )
  7025. | {
  7026. |
  7027. | if ( ! YY_CURRENT_BUFFER ){
  7028. | yyensure_buffer_stack ();
  7029. | YY_CURRENT_BUFFER_LVALUE =
  7030. | yy_create_buffer(yyin,YY_BUF_SIZE );
  7031. | }
  7032. |
  7033. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  7034. | yy_load_buffer_state( );
  7035. | }
  7036. |
  7037. | /** Switch to a different input buffer.
  7038. | * @param new_buffer The new input buffer.
  7039. | *
  7040. | */
  7041. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  7042. | {
  7043. |
  7044. | /* TODO. We should be able to replace this entire function body
  7045. | * with
  7046. | * yypop_buffer_state();
  7047. | * yypush_buffer_state(new_buffer);
  7048. | */
  7049. | yyensure_buffer_stack ();
  7050. | if ( YY_CURRENT_BUFFER == new_buffer )
  7051. | return;
  7052. |
  7053. | if ( YY_CURRENT_BUFFER )
  7054. | {
  7055. | /* Flush out information for old buffer. */
  7056. | *(yy_c_buf_p) = (yy_hold_char);
  7057. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7058. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7059. | }
  7060. |
  7061. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7062. | yy_load_buffer_state( );
  7063. |
  7064. | /* We don't actually know whether we did this switch during
  7065. | * EOF (yywrap()) processing, but the only time this flag
  7066. | * is looked at is after yywrap() is called, so it's safe
  7067. | * to go ahead and always set it.
  7068. | */
  7069. | (yy_did_buffer_switch_on_eof) = 1;
  7070. | }
  7071. |
  7072. | static void yy_load_buffer_state (void)
  7073. | {
  7074. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  7075. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  7076. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  7077. | (yy_hold_char) = *(yy_c_buf_p);
  7078. | }
  7079. |
  7080. | /** Allocate and initialize an input buffer state.
  7081. | * @param file A readable stream.
  7082. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  7083. | *
  7084. | * @return the allocated buffer state.
  7085. | */
  7086. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  7087. | {
  7088. | YY_BUFFER_STATE b;
  7089. |
  7090. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  7091. | if ( ! b )
  7092. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7093. |
  7094. | b->yy_buf_size = size;
  7095. |
  7096. | /* yy_ch_buf has to be 2 characters longer than the size given because
  7097. | * we need to put in 2 end-of-buffer characters.
  7098. | */
  7099. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  7100. | if ( ! b->yy_ch_buf )
  7101. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7102. |
  7103. | b->yy_is_our_buffer = 1;
  7104. |
  7105. | yy_init_buffer(b,file );
  7106. |
  7107. | return b;
  7108. | }
  7109. |
  7110. | /** Destroy the buffer.
  7111. | * @param b a buffer created with yy_create_buffer()
  7112. | *
  7113. | */
  7114. | void yy_delete_buffer (YY_BUFFER_STATE b )
  7115. | {
  7116. |
  7117. | if ( ! b )
  7118. | return;
  7119. |
  7120. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  7121. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  7122. |
  7123. | if ( b->yy_is_our_buffer )
  7124. | yyfree((void *) b->yy_ch_buf );
  7125. |
  7126. | yyfree((void *) b );
  7127. | }
  7128. |
  7129. | #ifndef __cplusplus
  7130. | extern int isatty (int );
  7131. | #endif /* __cplusplus */
  7132. |
  7133. | /* Initializes or reinitializes a buffer.
  7134. | * This function is sometimes called more than once on the same buffer,
  7135. | * such as during a yyrestart() or at EOF.
  7136. | */
  7137. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  7138. |
  7139. | {
  7140. | int oerrno = errno;
  7141. |
  7142. | yy_flush_buffer(b );
  7143. |
  7144. | b->yy_input_file = file;
  7145. | b->yy_fill_buffer = 1;
  7146. |
  7147. | /* If b is the current buffer, then yy_init_buffer was _probably_
  7148. | * called from yyrestart() or through yy_get_next_buffer.
  7149. | * In that case, we don't want to reset the lineno or column.
  7150. | */
  7151. | if (b != YY_CURRENT_BUFFER){
  7152. | b->yy_bs_lineno = 1;
  7153. | b->yy_bs_column = 0;
  7154. | }
  7155. |
  7156. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  7157. |
  7158. | errno = oerrno;
  7159. | }
  7160. |
  7161. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  7162. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  7163. | *
  7164. | */
  7165. | void yy_flush_buffer (YY_BUFFER_STATE b )
  7166. | {
  7167. | if ( ! b )
  7168. | return;
  7169. |
  7170. | b->yy_n_chars = 0;
  7171. |
  7172. | /* We always need two end-of-buffer characters. The first causes
  7173. | * a transition to the end-of-buffer state. The second causes
  7174. | * a jam in that state.
  7175. | */
  7176. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  7177. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  7178. |
  7179. | b->yy_buf_pos = &b->yy_ch_buf[0];
  7180. |
  7181. | b->yy_at_bol = 1;
  7182. | b->yy_buffer_status = YY_BUFFER_NEW;
  7183. |
  7184. | if ( b == YY_CURRENT_BUFFER )
  7185. | yy_load_buffer_state( );
  7186. | }
  7187. |
  7188. | /** Pushes the new state onto the stack. The new state becomes
  7189. | * the current state. This function will allocate the stack
  7190. | * if necessary.
  7191. | * @param new_buffer The new state.
  7192. | *
  7193. | */
  7194. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  7195. | {
  7196. | if (new_buffer == NULL)
  7197. | return;
  7198. |
  7199. | yyensure_buffer_stack();
  7200. |
  7201. | /* This block is copied from yy_switch_to_buffer. */
  7202. | if ( YY_CURRENT_BUFFER )
  7203. | {
  7204. | /* Flush out information for old buffer. */
  7205. | *(yy_c_buf_p) = (yy_hold_char);
  7206. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7207. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7208. | }
  7209. |
  7210. | /* Only push if top exists. Otherwise, replace top. */
  7211. | if (YY_CURRENT_BUFFER)
  7212. | (yy_buffer_stack_top)++;
  7213. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7214. |
  7215. | /* copied from yy_switch_to_buffer. */
  7216. | yy_load_buffer_state( );
  7217. | (yy_did_buffer_switch_on_eof) = 1;
  7218. | }
  7219. |
  7220. | /** Removes and deletes the top of the stack, if present.
  7221. | * The next element becomes the new top.
  7222. | *
  7223. | */
  7224. | void yypop_buffer_state (void)
  7225. | {
  7226. | if (!YY_CURRENT_BUFFER)
  7227. | return;
  7228. |
  7229. | yy_delete_buffer(YY_CURRENT_BUFFER );
  7230. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7231. | if ((yy_buffer_stack_top) > 0)
  7232. | --(yy_buffer_stack_top);
  7233. |
  7234. | if (YY_CURRENT_BUFFER) {
  7235. | yy_load_buffer_state( );
  7236. | (yy_did_buffer_switch_on_eof) = 1;
  7237. | }
  7238. | }
  7239. |
  7240. | /* Allocates the stack if it does not exist.
  7241. | * Guarantees space for at least one push.
  7242. | */
  7243. | static void yyensure_buffer_stack (void)
  7244. | {
  7245. | yy_size_t num_to_alloc;
  7246. |
  7247. | if (!(yy_buffer_stack)) {
  7248. |
  7249. | /* First allocation is just for 2 elements, since we don't know if this
  7250. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  7251. | * immediate realloc on the next call.
  7252. | */
  7253. | num_to_alloc = 1;
  7254. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  7255. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  7256. | );
  7257. | if ( ! (yy_buffer_stack) )
  7258. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7259. |
  7260. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  7261. |
  7262. | (yy_buffer_stack_max) = num_to_alloc;
  7263. | (yy_buffer_stack_top) = 0;
  7264. | return;
  7265. | }
  7266. |
  7267. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  7268. |
  7269. | /* Increase the buffer to prepare for a possible push. */
  7270. | int grow_size = 8 /* arbitrary grow size */;
  7271. |
  7272. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  7273. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  7274. | ((yy_buffer_stack),
  7275. | num_to_alloc * sizeof(struct yy_buffer_state*)
  7276. | );
  7277. | if ( ! (yy_buffer_stack) )
  7278. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7279. |
  7280. | /* zero only the new slots.*/
  7281. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  7282. | (yy_buffer_stack_max) = num_to_alloc;
  7283. | }
  7284. | }
  7285. |
  7286. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  7287. | * @param base the character buffer
  7288. | * @param size the size in bytes of the character buffer
  7289. | *
  7290. | * @return the newly allocated buffer state object.
  7291. | */
  7292. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  7293. | {
  7294. | YY_BUFFER_STATE b;
  7295. |
  7296. | if ( size < 2 ||
  7297. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  7298. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  7299. | /* They forgot to leave room for the EOB's. */
  7300. | return 0;
  7301. |
  7302. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  7303. | if ( ! b )
  7304. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  7305. |
  7306. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  7307. | b->yy_buf_pos = b->yy_ch_buf = base;
  7308. | b->yy_is_our_buffer = 0;
  7309. | b->yy_input_file = 0;
  7310. | b->yy_n_chars = b->yy_buf_size;
  7311. | b->yy_is_interactive = 0;
  7312. | b->yy_at_bol = 1;
  7313. | b->yy_fill_buffer = 0;
  7314. | b->yy_buffer_status = YY_BUFFER_NEW;
  7315. |
  7316. | yy_switch_to_buffer(b );
  7317. |
  7318. | return b;
  7319. | }
  7320. |
  7321. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  7322. | * scan from a @e copy of @a str.
  7323. | * @param yystr a NUL-terminated string to scan
  7324. | *
  7325. | * @return the newly allocated buffer state object.
  7326. | * @note If you want to scan bytes that may contain NUL values, then use
  7327. | * yy_scan_bytes() instead.
  7328. | */
  7329. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  7330. | {
  7331. |
  7332. | return yy_scan_bytes(yystr,strlen(yystr) );
  7333. | }
  7334. |
  7335. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  7336. | * scan from a @e copy of @a bytes.
  7337. | * @param bytes the byte buffer to scan
  7338. | * @param len the number of bytes in the buffer pointed to by @a bytes.
  7339. | *
  7340. | * @return the newly allocated buffer state object.
  7341. | */
  7342. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  7343. | {
  7344. | YY_BUFFER_STATE b;
  7345. | char *buf;
  7346. | yy_size_t n, i;
  7347. |
  7348. | /* Get memory for full buffer, including space for trailing EOB's. */
  7349. | n = _yybytes_len + 2;
  7350. | buf = (char *) yyalloc(n );
  7351. | if ( ! buf )
  7352. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  7353. |
  7354. | for ( i = 0; i < _yybytes_len; ++i )
  7355. | buf[i] = yybytes[i];
  7356. |
  7357. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  7358. |
  7359. | b = yy_scan_buffer(buf,n );
  7360. | if ( ! b )
  7361. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  7362. |
  7363. | /* It's okay to grow etc. this buffer, and we should throw it
  7364. | * away when we're done.
  7365. | */
  7366. | b->yy_is_our_buffer = 1;
  7367. |
  7368. | return b;
  7369. | }
  7370. |
  7371. | #ifndef YY_EXIT_FAILURE
  7372. | #define YY_EXIT_FAILURE 2
  7373. | #endif
  7374. |
  7375. | static void yy_fatal_error (yyconst char* msg )
  7376. | {
  7377. | (void) fprintf( stderr, "%s\n", msg );
  7378. | exit( YY_EXIT_FAILURE );
  7379. | }
  7380. |
  7381. | /* Redefine yyless() so it works in section 3 code. */
  7382. |
  7383. | #undef yyless
  7384. | #define yyless(n) \
  7385. | do \
  7386. | { \
  7387. | /* Undo effects of setting up yytext. */ \
  7388. | int yyless_macro_arg = (n); \
  7389. | YY_LESS_LINENO(yyless_macro_arg);\
  7390. | yytext[yyleng] = (yy_hold_char); \
  7391. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  7392. | (yy_hold_char) = *(yy_c_buf_p); \
  7393. | *(yy_c_buf_p) = '\0'; \
  7394. | yyleng = yyless_macro_arg; \
  7395. | } \
  7396. | while ( 0 )
  7397. |
  7398. | /* Accessor methods (get/set functions) to struct members. */
  7399. |
  7400. | /** Get the current line number.
  7401. | *
  7402. | */
  7403. | int yyget_lineno (void)
  7404. | {
  7405. |
  7406. | return yylineno;
  7407. | }
  7408. |
  7409. | /** Get the input stream.
  7410. | *
  7411. | */
  7412. | FILE *yyget_in (void)
  7413. | {
  7414. | return yyin;
  7415. | }
  7416. |
  7417. | /** Get the output stream.
  7418. | *
  7419. | */
  7420. | FILE *yyget_out (void)
  7421. | {
  7422. | return yyout;
  7423. | }
  7424. |
  7425. | /** Get the length of the current token.
  7426. | *
  7427. | */
  7428. | yy_size_t yyget_leng (void)
  7429. | {
  7430. | return yyleng;
  7431. | }
  7432. |
  7433. | /** Get the current token.
  7434. | *
  7435. | */
  7436. |
  7437. | char *yyget_text (void)
  7438. | {
  7439. | return yytext;
  7440. | }
  7441. |
  7442. | /** Set the current line number.
  7443. | * @param line_number
  7444. | *
  7445. | */
  7446. | void yyset_lineno (int line_number )
  7447. | {
  7448. |
  7449. | yylineno = line_number;
  7450. | }
  7451. |
  7452. | /** Set the input stream. This does not discard the current
  7453. | * input buffer.
  7454. | * @param in_str A readable stream.
  7455. | *
  7456. | * @see yy_switch_to_buffer
  7457. | */
  7458. | void yyset_in (FILE * in_str )
  7459. | {
  7460. | yyin = in_str ;
  7461. | }
  7462. |
  7463. | void yyset_out (FILE * out_str )
  7464. | {
  7465. | yyout = out_str ;
  7466. | }
  7467. |
  7468. | int yyget_debug (void)
  7469. | {
  7470. | return yy_flex_debug;
  7471. | }
  7472. |
  7473. | void yyset_debug (int bdebug )
  7474. | {
  7475. | yy_flex_debug = bdebug ;
  7476. | }
  7477. |
  7478. | static int yy_init_globals (void)
  7479. | {
  7480. | /* Initialization is the same as for the non-reentrant scanner.
  7481. | * This function is called from yylex_destroy(), so don't allocate here.
  7482. | */
  7483. |
  7484. | (yy_buffer_stack) = 0;
  7485. | (yy_buffer_stack_top) = 0;
  7486. | (yy_buffer_stack_max) = 0;
  7487. | (yy_c_buf_p) = (char *) 0;
  7488. | (yy_init) = 0;
  7489. | (yy_start) = 0;
  7490. |
  7491. | (yy_state_buf) = 0;
  7492. | (yy_state_ptr) = 0;
  7493. | (yy_full_match) = 0;
  7494. | (yy_lp) = 0;
  7495. |
  7496. | /* Defined in main.c */
  7497. | #ifdef YY_STDINIT
  7498. | yyin = stdin;
  7499. | yyout = stdout;
  7500. | #else
  7501. | yyin = (FILE *) 0;
  7502. | yyout = (FILE *) 0;
  7503. | #endif
  7504. |
  7505. | /* For future reference: Set errno on error, since we are called by
  7506. | * yylex_init()
  7507. | */
  7508. | return 0;
  7509. | }
  7510. |
  7511. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  7512. | int yylex_destroy (void)
  7513. | {
  7514. |
  7515. | /* Pop the buffer stack, destroying each element. */
  7516. | while(YY_CURRENT_BUFFER){
  7517. | yy_delete_buffer(YY_CURRENT_BUFFER );
  7518. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7519. | yypop_buffer_state();
  7520. | }
  7521. |
  7522. | /* Destroy the stack itself. */
  7523. | yyfree((yy_buffer_stack) );
  7524. | (yy_buffer_stack) = NULL;
  7525. |
  7526. | yyfree ( (yy_state_buf) );
  7527. | (yy_state_buf) = NULL;
  7528. |
  7529. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  7530. | * yylex() is called, initialization will occur. */
  7531. | yy_init_globals( );
  7532. |
  7533. | return 0;
  7534. | }
  7535. |
  7536. | /*
  7537. | * Internal utility routines.
  7538. | */
  7539. |
  7540. | #ifndef yytext_ptr
  7541. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  7542. | {
  7543. | register int i;
  7544. | for ( i = 0; i < n; ++i )
  7545. | s1[i] = s2[i];
  7546. | }
  7547. | #endif
  7548. |
  7549. | #ifdef YY_NEED_STRLEN
  7550. | static int yy_flex_strlen (yyconst char * s )
  7551. | {
  7552. | register int n;
  7553. | for ( n = 0; s[n]; ++n )
  7554. | ;
  7555. |
  7556. | return n;
  7557. | }
  7558. | #endif
  7559. |
  7560. | void *yyalloc (yy_size_t size )
  7561. | {
  7562. | return (void *) malloc( size );
  7563. | }
  7564. |
  7565. | void *yyrealloc (void * ptr, yy_size_t size )
  7566. | {
  7567. | /* The cast to (char *) in the following accommodates both
  7568. | * implementations that use char* generic pointers, and those
  7569. | * that use void* generic pointers. It works with the latter
  7570. | * because both ANSI C and C++ allow castless assignment from
  7571. | * any pointer type to void*, and deal with argument conversions
  7572. | * as though doing an assignment.
  7573. | */
  7574. | return (void *) realloc( (char *) ptr, size );
  7575. | }
  7576. |
  7577. | void yyfree (void * ptr )
  7578. | {
  7579. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  7580. | }
  7581. |
  7582. | #define YYTABLES_NAME "yytables"
  7583. |
  7584. | #line 10 "conftest.l"
  7585. |
  7586. |
  7587. | #ifdef YYTEXT_POINTER
  7588. | extern char *yytext;
  7589. | #endif
  7590. | int
  7591. | main (void)
  7592. | {
  7593. | return ! yylex () + ! yywrap ();
  7594. | }
  7595. configure:6007: result: no
  7596. configure:6024: checking for bison
  7597. configure:6040: found /usr/bin/bison
  7598. configure:6051: result: bison -y
  7599. configure:6150: checking how to print strings
  7600. configure:6177: result: printf
  7601. configure:6246: checking for gcc
  7602. configure:6273: result: /usr/bin/clang
  7603. configure:6502: checking for C compiler version
  7604. configure:6511: /usr/bin/clang --version >&5
  7605. Apple clang version 11.0.0 (clang-1100.0.33.16)
  7606. Target: x86_64-apple-darwin19.2.0
  7607. Thread model: posix
  7608. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  7609. configure:6522: $? = 0
  7610. configure:6511: /usr/bin/clang -v >&5
  7611. Apple clang version 11.0.0 (clang-1100.0.33.16)
  7612. Target: x86_64-apple-darwin19.2.0
  7613. Thread model: posix
  7614. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  7615. configure:6522: $? = 0
  7616. configure:6511: /usr/bin/clang -V >&5
  7617. clang: error: unsupported option '-V -Wno-framework-include-private-from-public'
  7618. clang: error: no input files
  7619. configure:6522: $? = 1
  7620. configure:6511: /usr/bin/clang -qversion >&5
  7621. clang: error: unknown argument '-qversion', did you mean '--version'?
  7622. clang: error: no input files
  7623. configure:6522: $? = 1
  7624. configure:6526: checking whether we are using the GNU C compiler
  7625. configure:6545: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7626. configure:6545: $? = 0
  7627. configure:6554: result: yes
  7628. configure:6563: checking whether /usr/bin/clang accepts -g
  7629. configure:6583: /usr/bin/clang -c -g -I/opt/x86_64/include conftest.c >&5
  7630. configure:6583: $? = 0
  7631. configure:6624: result: yes
  7632. configure:6641: checking for /usr/bin/clang option to accept ISO C89
  7633. configure:6704: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7634. configure:6704: $? = 0
  7635. configure:6717: result: none needed
  7636. configure:6742: checking whether /usr/bin/clang understands -c and -o together
  7637. configure:6764: /usr/bin/clang -c conftest.c -o conftest2.o
  7638. configure:6767: $? = 0
  7639. configure:6764: /usr/bin/clang -c conftest.c -o conftest2.o
  7640. configure:6767: $? = 0
  7641. configure:6779: result: yes
  7642. configure:6798: checking dependency style of /usr/bin/clang
  7643. configure:6909: result: gcc3
  7644. configure:6924: checking for a sed that does not truncate output
  7645. configure:6988: result: /usr/bin/sed
  7646. configure:7006: checking for grep that handles long lines and -e
  7647. configure:7064: result: /usr/bin/grep
  7648. configure:7069: checking for egrep
  7649. configure:7131: result: /usr/bin/grep -E
  7650. configure:7136: checking for fgrep
  7651. configure:7198: result: /usr/bin/grep -F
  7652. configure:7233: checking for ld used by /usr/bin/clang
  7653. configure:7300: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  7654. configure:7307: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
  7655. configure:7322: result: no
  7656. configure:7334: checking for BSD- or MS-compatible name lister (nm)
  7657. configure:7388: result: /usr/bin/nm -B
  7658. configure:7518: checking the name lister (/usr/bin/nm -B) interface
  7659. configure:7525: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7660. configure:7528: /usr/bin/nm -B "conftest.o"
  7661. configure:7531: output
  7662. 0000000000000000 S _some_variable
  7663. configure:7538: result: BSD nm
  7664. configure:7541: checking whether ln -s works
  7665. configure:7545: result: yes
  7666. configure:7553: checking the maximum length of command line arguments
  7667. configure:7684: result: 196608
  7668. configure:7732: checking how to convert x86_64-apple-darwin19.2.0 file names to x86_64-apple-darwin19.2.0 format
  7669. configure:7772: result: func_convert_file_noop
  7670. configure:7779: checking how to convert x86_64-apple-darwin19.2.0 file names to toolchain format
  7671. configure:7799: result: func_convert_file_noop
  7672. configure:7806: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
  7673. configure:7813: result: -r
  7674. configure:7887: checking for objdump
  7675. configure:7903: found /usr/bin/objdump
  7676. configure:7914: result: objdump
  7677. configure:7946: checking how to recognize dependent libraries
  7678. configure:8146: result: pass_all
  7679. configure:8231: checking for dlltool
  7680. configure:8261: result: no
  7681. configure:8291: checking how to associate runtime and link libraries
  7682. configure:8318: result: printf %s\n
  7683. configure:8378: checking for ar
  7684. configure:8394: found /usr/bin/ar
  7685. configure:8405: result: ar
  7686. configure:8442: checking for archiver @FILE support
  7687. configure:8459: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7688. configure:8459: $? = 0
  7689. configure:8462: ar cru libconftest.a @conftest.lst >&5
  7690. ar: @conftest.lst: No such file or directory
  7691. configure:8465: $? = 1
  7692. configure:8485: result: no
  7693. configure:8543: checking for strip
  7694. configure:8559: found /usr/bin/strip
  7695. configure:8570: result: strip
  7696. configure:8642: checking for ranlib
  7697. configure:8658: found /usr/bin/ranlib
  7698. configure:8669: result: ranlib
  7699. configure:8771: checking command to parse /usr/bin/nm -B output from /usr/bin/clang object
  7700. configure:8924: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7701. configure:8927: $? = 0
  7702. configure:8931: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  7703. configure:8934: $? = 0
  7704. cannot find nm_test_var in conftest.nm
  7705. configure:8924: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7706. configure:8927: $? = 0
  7707. configure:8931: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  7708. configure:8934: $? = 0
  7709. configure:9000: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp conftstm.o >&5
  7710. configure:9003: $? = 0
  7711. configure:9041: result: ok
  7712. configure:9088: checking for sysroot
  7713. configure:9118: result: no
  7714. configure:9125: checking for a working dd
  7715. configure:9163: result: /bin/dd
  7716. configure:9167: checking how to truncate binary pipes
  7717. configure:9182: result: /bin/dd bs=4096 count=1
  7718. configure:9512: checking for mt
  7719. configure:9542: result: no
  7720. configure:9562: checking if : is a manifest tool
  7721. configure:9568: : '-?'
  7722. configure:9576: result: no
  7723. configure:9632: checking for dsymutil
  7724. configure:9648: found /usr/bin/dsymutil
  7725. configure:9659: result: dsymutil
  7726. configure:9724: checking for nmedit
  7727. configure:9740: found /usr/bin/nmedit
  7728. configure:9751: result: nmedit
  7729. configure:9816: checking for lipo
  7730. configure:9832: found /usr/bin/lipo
  7731. configure:9843: result: lipo
  7732. configure:9908: checking for otool
  7733. configure:9924: found /usr/bin/otool
  7734. configure:9935: result: otool
  7735. configure:10000: checking for otool64
  7736. configure:10030: result: no
  7737. configure:10075: checking for -single_module linker flag
  7738. /usr/bin/clang -I/opt/x86_64/include -L/opt/x86_64/lib -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
  7739. configure:10108: result: yes
  7740. configure:10111: checking for -exported_symbols_list linker flag
  7741. configure:10131: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5
  7742. configure:10131: $? = 0
  7743. configure:10141: result: yes
  7744. configure:10144: checking for -force_load linker flag
  7745. /usr/bin/clang -I/opt/x86_64/include -c -o conftest.o conftest.c
  7746. ar cru libconftest.a conftest.o
  7747. ranlib libconftest.a
  7748. /usr/bin/clang -I/opt/x86_64/include -L/opt/x86_64/lib -o conftest conftest.c -Wl,-force_load,./libconftest.a
  7749. configure:10176: result: yes
  7750. configure:10253: checking how to run the C preprocessor
  7751. configure:10284: /usr/bin/clang -E -I/opt/x86_64/include conftest.c
  7752. configure:10284: $? = 0
  7753. configure:10298: /usr/bin/clang -E -I/opt/x86_64/include conftest.c
  7754. conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
  7755. #include <ac_nonexistent.h>
  7756. ^~~~~~~~~~~~~~~~~~
  7757. 1 error generated.
  7758. configure:10298: $? = 1
  7759. configure: failed program was:
  7760. | /* confdefs.h */
  7761. | #define PACKAGE_NAME "Exult"
  7762. | #define PACKAGE_TARNAME "exult"
  7763. | #define PACKAGE_VERSION "1.5.0git"
  7764. | #define PACKAGE_STRING "Exult 1.5.0git"
  7765. | #define PACKAGE_BUGREPORT ""
  7766. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  7767. | #define PACKAGE "exult"
  7768. | #define VERSION "1.5.0git"
  7769. | #define PACKAGE "exult"
  7770. | #define VERSION "1.5.0git"
  7771. | #define MACOSX 1
  7772. | #define HAVE_CXX17 1
  7773. | /* end confdefs.h. */
  7774. | #include <ac_nonexistent.h>
  7775. configure:10323: result: /usr/bin/clang -E
  7776. configure:10343: /usr/bin/clang -E -I/opt/x86_64/include conftest.c
  7777. configure:10343: $? = 0
  7778. configure:10357: /usr/bin/clang -E -I/opt/x86_64/include conftest.c
  7779. conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
  7780. #include <ac_nonexistent.h>
  7781. ^~~~~~~~~~~~~~~~~~
  7782. 1 error generated.
  7783. configure:10357: $? = 1
  7784. configure: failed program was:
  7785. | /* confdefs.h */
  7786. | #define PACKAGE_NAME "Exult"
  7787. | #define PACKAGE_TARNAME "exult"
  7788. | #define PACKAGE_VERSION "1.5.0git"
  7789. | #define PACKAGE_STRING "Exult 1.5.0git"
  7790. | #define PACKAGE_BUGREPORT ""
  7791. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  7792. | #define PACKAGE "exult"
  7793. | #define VERSION "1.5.0git"
  7794. | #define PACKAGE "exult"
  7795. | #define VERSION "1.5.0git"
  7796. | #define MACOSX 1
  7797. | #define HAVE_CXX17 1
  7798. | /* end confdefs.h. */
  7799. | #include <ac_nonexistent.h>
  7800. configure:10386: checking for ANSI C header files
  7801. configure:10406: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7802. configure:10406: $? = 0
  7803. configure:10479: /usr/bin/clang -o conftest -I/opt/x86_64/include -I/opt/x86_64/include -L/opt/x86_64/lib conftest.c >&5
  7804. configure:10479: $? = 0
  7805. configure:10479: ./conftest
  7806. configure:10479: $? = 0
  7807. configure:10490: result: yes
  7808. configure:10503: checking for sys/types.h
  7809. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7810. configure:10503: $? = 0
  7811. configure:10503: result: yes
  7812. configure:10503: checking for sys/stat.h
  7813. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7814. configure:10503: $? = 0
  7815. configure:10503: result: yes
  7816. configure:10503: checking for stdlib.h
  7817. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7818. configure:10503: $? = 0
  7819. configure:10503: result: yes
  7820. configure:10503: checking for string.h
  7821. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7822. configure:10503: $? = 0
  7823. configure:10503: result: yes
  7824. configure:10503: checking for memory.h
  7825. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7826. configure:10503: $? = 0
  7827. configure:10503: result: yes
  7828. configure:10503: checking for strings.h
  7829. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7830. configure:10503: $? = 0
  7831. configure:10503: result: yes
  7832. configure:10503: checking for inttypes.h
  7833. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7834. configure:10503: $? = 0
  7835. configure:10503: result: yes
  7836. configure:10503: checking for stdint.h
  7837. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7838. configure:10503: $? = 0
  7839. configure:10503: result: yes
  7840. configure:10503: checking for unistd.h
  7841. configure:10503: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7842. configure:10503: $? = 0
  7843. configure:10503: result: yes
  7844. configure:10517: checking for dlfcn.h
  7845. configure:10517: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include conftest.c >&5
  7846. configure:10517: $? = 0
  7847. configure:10517: result: yes
  7848. configure:10753: checking for objdir
  7849. configure:10768: result: .libs
  7850. configure:11032: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
  7851. configure:11050: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include -fno-rtti -fno-exceptions conftest.c >&5
  7852. configure:11054: $? = 0
  7853. configure:11067: result: yes
  7854. configure:11425: checking for /usr/bin/clang option to produce PIC
  7855. configure:11432: result: -fno-common -DPIC
  7856. configure:11440: checking if /usr/bin/clang PIC flag -fno-common -DPIC works
  7857. configure:11458: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include -fno-common -DPIC -DPIC conftest.c >&5
  7858. configure:11462: $? = 0
  7859. configure:11475: result: yes
  7860. configure:11504: checking if /usr/bin/clang static flag -static works
  7861. configure:11532: result: no
  7862. configure:11547: checking if /usr/bin/clang supports -c -o file.o
  7863. configure:11568: /usr/bin/clang -c -I/opt/x86_64/include -I/opt/x86_64/include -o out/conftest2.o conftest.c >&5
  7864. configure:11572: $? = 0
  7865. configure:11594: result: yes
  7866. configure:11602: checking if /usr/bin/clang supports -c -o file.o
  7867. configure:11649: result: yes
  7868. configure:11682: checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
  7869. configure:12941: result: yes
  7870. configure:13181: checking dynamic linker characteristics
  7871. configure:13999: result: darwin19.2.0 dyld
  7872. configure:14121: checking how to hardcode library paths into programs
  7873. configure:14146: result: immediate
  7874. configure:14694: checking whether stripping libraries is possible
  7875. configure:14708: result: yes
  7876. configure:14734: checking if libtool supports shared libraries
  7877. configure:14736: result: yes
  7878. configure:14739: checking whether to build shared libraries
  7879. configure:14764: result: no
  7880. configure:14767: checking whether to build static libraries
  7881. configure:14771: result: yes
  7882. configure:14794: checking how to run the C++ preprocessor
  7883. configure:14860: result: /usr/bin/clang++ -std=c++17 -E
  7884. configure:14880: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  7885. configure:14880: $? = 0
  7886. configure:14894: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  7887. conftest.cpp:27:10: fatal error: 'ac_nonexistent.h' file not found
  7888. #include <ac_nonexistent.h>
  7889. ^~~~~~~~~~~~~~~~~~
  7890. 1 error generated.
  7891. configure:14894: $? = 1
  7892. configure: failed program was:
  7893. | /* confdefs.h */
  7894. | #define PACKAGE_NAME "Exult"
  7895. | #define PACKAGE_TARNAME "exult"
  7896. | #define PACKAGE_VERSION "1.5.0git"
  7897. | #define PACKAGE_STRING "Exult 1.5.0git"
  7898. | #define PACKAGE_BUGREPORT ""
  7899. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  7900. | #define PACKAGE "exult"
  7901. | #define VERSION "1.5.0git"
  7902. | #define PACKAGE "exult"
  7903. | #define VERSION "1.5.0git"
  7904. | #define MACOSX 1
  7905. | #define HAVE_CXX17 1
  7906. | #define STDC_HEADERS 1
  7907. | #define HAVE_SYS_TYPES_H 1
  7908. | #define HAVE_SYS_STAT_H 1
  7909. | #define HAVE_STDLIB_H 1
  7910. | #define HAVE_STRING_H 1
  7911. | #define HAVE_MEMORY_H 1
  7912. | #define HAVE_STRINGS_H 1
  7913. | #define HAVE_INTTYPES_H 1
  7914. | #define HAVE_STDINT_H 1
  7915. | #define HAVE_UNISTD_H 1
  7916. | #define HAVE_DLFCN_H 1
  7917. | #define LT_OBJDIR ".libs/"
  7918. | /* end confdefs.h. */
  7919. | #include <ac_nonexistent.h>
  7920. configure:15056: checking for ld used by /usr/bin/clang++ -std=c++17
  7921. configure:15123: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  7922. configure:15130: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
  7923. configure:15145: result: no
  7924. configure:15200: checking whether the /usr/bin/clang++ -std=c++17 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
  7925. configure:16273: result: yes
  7926. configure:16309: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7927. configure:16312: $? = 0
  7928. configure:16793: checking for /usr/bin/clang++ -std=c++17 option to produce PIC
  7929. configure:16800: result: -fno-common -DPIC
  7930. configure:16808: checking if /usr/bin/clang++ -std=c++17 PIC flag -fno-common -DPIC works
  7931. configure:16826: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -fno-common -DPIC -DPIC conftest.cpp >&5
  7932. configure:16830: $? = 0
  7933. configure:16843: result: yes
  7934. configure:16866: checking if /usr/bin/clang++ -std=c++17 static flag -static works
  7935. configure:16894: result: no
  7936. configure:16906: checking if /usr/bin/clang++ -std=c++17 supports -c -o file.o
  7937. configure:16927: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -o out/conftest2.o conftest.cpp >&5
  7938. configure:16931: $? = 0
  7939. configure:16953: result: yes
  7940. configure:16958: checking if /usr/bin/clang++ -std=c++17 supports -c -o file.o
  7941. configure:17005: result: yes
  7942. configure:17035: checking whether the /usr/bin/clang++ -std=c++17 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
  7943. configure:17075: result: yes
  7944. configure:17216: checking dynamic linker characteristics
  7945. configure:17961: result: darwin19.2.0 dyld
  7946. configure:18026: checking how to hardcode library paths into programs
  7947. configure:18051: result: immediate
  7948. configure:18117: checking for int8_t
  7949. configure:18117: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7950. configure:18117: $? = 0
  7951. configure:18117: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7952. conftest.cpp:32:21: error: expected expression
  7953. if (sizeof ((int8_t)))
  7954. ^
  7955. 1 error generated.
  7956. configure:18117: $? = 1
  7957. configure: failed program was:
  7958. | /* confdefs.h */
  7959. | #define PACKAGE_NAME "Exult"
  7960. | #define PACKAGE_TARNAME "exult"
  7961. | #define PACKAGE_VERSION "1.5.0git"
  7962. | #define PACKAGE_STRING "Exult 1.5.0git"
  7963. | #define PACKAGE_BUGREPORT ""
  7964. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  7965. | #define PACKAGE "exult"
  7966. | #define VERSION "1.5.0git"
  7967. | #define PACKAGE "exult"
  7968. | #define VERSION "1.5.0git"
  7969. | #define MACOSX 1
  7970. | #define HAVE_CXX17 1
  7971. | #define STDC_HEADERS 1
  7972. | #define HAVE_SYS_TYPES_H 1
  7973. | #define HAVE_SYS_STAT_H 1
  7974. | #define HAVE_STDLIB_H 1
  7975. | #define HAVE_STRING_H 1
  7976. | #define HAVE_MEMORY_H 1
  7977. | #define HAVE_STRINGS_H 1
  7978. | #define HAVE_INTTYPES_H 1
  7979. | #define HAVE_STDINT_H 1
  7980. | #define HAVE_UNISTD_H 1
  7981. | #define HAVE_DLFCN_H 1
  7982. | #define LT_OBJDIR ".libs/"
  7983. | /* end confdefs.h. */
  7984. | #include <cstdint>
  7985. |
  7986. | int
  7987. | main ()
  7988. | {
  7989. | if (sizeof ((int8_t)))
  7990. | return 0;
  7991. | ;
  7992. | return 0;
  7993. | }
  7994. configure:18117: result: yes
  7995. configure:18129: checking for int16_t
  7996. configure:18129: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7997. configure:18129: $? = 0
  7998. configure:18129: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  7999. conftest.cpp:33:22: error: expected expression
  8000. if (sizeof ((int16_t)))
  8001. ^
  8002. 1 error generated.
  8003. configure:18129: $? = 1
  8004. configure: failed program was:
  8005. | /* confdefs.h */
  8006. | #define PACKAGE_NAME "Exult"
  8007. | #define PACKAGE_TARNAME "exult"
  8008. | #define PACKAGE_VERSION "1.5.0git"
  8009. | #define PACKAGE_STRING "Exult 1.5.0git"
  8010. | #define PACKAGE_BUGREPORT ""
  8011. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8012. | #define PACKAGE "exult"
  8013. | #define VERSION "1.5.0git"
  8014. | #define PACKAGE "exult"
  8015. | #define VERSION "1.5.0git"
  8016. | #define MACOSX 1
  8017. | #define HAVE_CXX17 1
  8018. | #define STDC_HEADERS 1
  8019. | #define HAVE_SYS_TYPES_H 1
  8020. | #define HAVE_SYS_STAT_H 1
  8021. | #define HAVE_STDLIB_H 1
  8022. | #define HAVE_STRING_H 1
  8023. | #define HAVE_MEMORY_H 1
  8024. | #define HAVE_STRINGS_H 1
  8025. | #define HAVE_INTTYPES_H 1
  8026. | #define HAVE_STDINT_H 1
  8027. | #define HAVE_UNISTD_H 1
  8028. | #define HAVE_DLFCN_H 1
  8029. | #define LT_OBJDIR ".libs/"
  8030. | #define HAVE_INT8_T 1
  8031. | /* end confdefs.h. */
  8032. | #include <cstdint>
  8033. |
  8034. | int
  8035. | main ()
  8036. | {
  8037. | if (sizeof ((int16_t)))
  8038. | return 0;
  8039. | ;
  8040. | return 0;
  8041. | }
  8042. configure:18129: result: yes
  8043. configure:18141: checking for int32_t
  8044. configure:18141: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8045. configure:18141: $? = 0
  8046. configure:18141: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8047. conftest.cpp:34:22: error: expected expression
  8048. if (sizeof ((int32_t)))
  8049. ^
  8050. 1 error generated.
  8051. configure:18141: $? = 1
  8052. configure: failed program was:
  8053. | /* confdefs.h */
  8054. | #define PACKAGE_NAME "Exult"
  8055. | #define PACKAGE_TARNAME "exult"
  8056. | #define PACKAGE_VERSION "1.5.0git"
  8057. | #define PACKAGE_STRING "Exult 1.5.0git"
  8058. | #define PACKAGE_BUGREPORT ""
  8059. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8060. | #define PACKAGE "exult"
  8061. | #define VERSION "1.5.0git"
  8062. | #define PACKAGE "exult"
  8063. | #define VERSION "1.5.0git"
  8064. | #define MACOSX 1
  8065. | #define HAVE_CXX17 1
  8066. | #define STDC_HEADERS 1
  8067. | #define HAVE_SYS_TYPES_H 1
  8068. | #define HAVE_SYS_STAT_H 1
  8069. | #define HAVE_STDLIB_H 1
  8070. | #define HAVE_STRING_H 1
  8071. | #define HAVE_MEMORY_H 1
  8072. | #define HAVE_STRINGS_H 1
  8073. | #define HAVE_INTTYPES_H 1
  8074. | #define HAVE_STDINT_H 1
  8075. | #define HAVE_UNISTD_H 1
  8076. | #define HAVE_DLFCN_H 1
  8077. | #define LT_OBJDIR ".libs/"
  8078. | #define HAVE_INT8_T 1
  8079. | #define HAVE_INT16_T 1
  8080. | /* end confdefs.h. */
  8081. | #include <cstdint>
  8082. |
  8083. | int
  8084. | main ()
  8085. | {
  8086. | if (sizeof ((int32_t)))
  8087. | return 0;
  8088. | ;
  8089. | return 0;
  8090. | }
  8091. configure:18141: result: yes
  8092. configure:18153: checking for int64_t
  8093. configure:18153: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8094. configure:18153: $? = 0
  8095. configure:18153: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8096. conftest.cpp:35:22: error: expected expression
  8097. if (sizeof ((int64_t)))
  8098. ^
  8099. 1 error generated.
  8100. configure:18153: $? = 1
  8101. configure: failed program was:
  8102. | /* confdefs.h */
  8103. | #define PACKAGE_NAME "Exult"
  8104. | #define PACKAGE_TARNAME "exult"
  8105. | #define PACKAGE_VERSION "1.5.0git"
  8106. | #define PACKAGE_STRING "Exult 1.5.0git"
  8107. | #define PACKAGE_BUGREPORT ""
  8108. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8109. | #define PACKAGE "exult"
  8110. | #define VERSION "1.5.0git"
  8111. | #define PACKAGE "exult"
  8112. | #define VERSION "1.5.0git"
  8113. | #define MACOSX 1
  8114. | #define HAVE_CXX17 1
  8115. | #define STDC_HEADERS 1
  8116. | #define HAVE_SYS_TYPES_H 1
  8117. | #define HAVE_SYS_STAT_H 1
  8118. | #define HAVE_STDLIB_H 1
  8119. | #define HAVE_STRING_H 1
  8120. | #define HAVE_MEMORY_H 1
  8121. | #define HAVE_STRINGS_H 1
  8122. | #define HAVE_INTTYPES_H 1
  8123. | #define HAVE_STDINT_H 1
  8124. | #define HAVE_UNISTD_H 1
  8125. | #define HAVE_DLFCN_H 1
  8126. | #define LT_OBJDIR ".libs/"
  8127. | #define HAVE_INT8_T 1
  8128. | #define HAVE_INT16_T 1
  8129. | #define HAVE_INT32_T 1
  8130. | /* end confdefs.h. */
  8131. | #include <cstdint>
  8132. |
  8133. | int
  8134. | main ()
  8135. | {
  8136. | if (sizeof ((int64_t)))
  8137. | return 0;
  8138. | ;
  8139. | return 0;
  8140. | }
  8141. configure:18153: result: yes
  8142. configure:18165: checking for intptr_t
  8143. configure:18165: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8144. configure:18165: $? = 0
  8145. configure:18165: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8146. conftest.cpp:36:23: error: expected expression
  8147. if (sizeof ((intptr_t)))
  8148. ^
  8149. 1 error generated.
  8150. configure:18165: $? = 1
  8151. configure: failed program was:
  8152. | /* confdefs.h */
  8153. | #define PACKAGE_NAME "Exult"
  8154. | #define PACKAGE_TARNAME "exult"
  8155. | #define PACKAGE_VERSION "1.5.0git"
  8156. | #define PACKAGE_STRING "Exult 1.5.0git"
  8157. | #define PACKAGE_BUGREPORT ""
  8158. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8159. | #define PACKAGE "exult"
  8160. | #define VERSION "1.5.0git"
  8161. | #define PACKAGE "exult"
  8162. | #define VERSION "1.5.0git"
  8163. | #define MACOSX 1
  8164. | #define HAVE_CXX17 1
  8165. | #define STDC_HEADERS 1
  8166. | #define HAVE_SYS_TYPES_H 1
  8167. | #define HAVE_SYS_STAT_H 1
  8168. | #define HAVE_STDLIB_H 1
  8169. | #define HAVE_STRING_H 1
  8170. | #define HAVE_MEMORY_H 1
  8171. | #define HAVE_STRINGS_H 1
  8172. | #define HAVE_INTTYPES_H 1
  8173. | #define HAVE_STDINT_H 1
  8174. | #define HAVE_UNISTD_H 1
  8175. | #define HAVE_DLFCN_H 1
  8176. | #define LT_OBJDIR ".libs/"
  8177. | #define HAVE_INT8_T 1
  8178. | #define HAVE_INT16_T 1
  8179. | #define HAVE_INT32_T 1
  8180. | #define HAVE_INT64_T 1
  8181. | /* end confdefs.h. */
  8182. | #include <cstdint>
  8183. |
  8184. | int
  8185. | main ()
  8186. | {
  8187. | if (sizeof ((intptr_t)))
  8188. | return 0;
  8189. | ;
  8190. | return 0;
  8191. | }
  8192. configure:18165: result: yes
  8193. configure:18178: checking for uint8_t
  8194. configure:18178: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8195. configure:18178: $? = 0
  8196. configure:18178: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8197. conftest.cpp:37:22: error: expected expression
  8198. if (sizeof ((uint8_t)))
  8199. ^
  8200. 1 error generated.
  8201. configure:18178: $? = 1
  8202. configure: failed program was:
  8203. | /* confdefs.h */
  8204. | #define PACKAGE_NAME "Exult"
  8205. | #define PACKAGE_TARNAME "exult"
  8206. | #define PACKAGE_VERSION "1.5.0git"
  8207. | #define PACKAGE_STRING "Exult 1.5.0git"
  8208. | #define PACKAGE_BUGREPORT ""
  8209. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8210. | #define PACKAGE "exult"
  8211. | #define VERSION "1.5.0git"
  8212. | #define PACKAGE "exult"
  8213. | #define VERSION "1.5.0git"
  8214. | #define MACOSX 1
  8215. | #define HAVE_CXX17 1
  8216. | #define STDC_HEADERS 1
  8217. | #define HAVE_SYS_TYPES_H 1
  8218. | #define HAVE_SYS_STAT_H 1
  8219. | #define HAVE_STDLIB_H 1
  8220. | #define HAVE_STRING_H 1
  8221. | #define HAVE_MEMORY_H 1
  8222. | #define HAVE_STRINGS_H 1
  8223. | #define HAVE_INTTYPES_H 1
  8224. | #define HAVE_STDINT_H 1
  8225. | #define HAVE_UNISTD_H 1
  8226. | #define HAVE_DLFCN_H 1
  8227. | #define LT_OBJDIR ".libs/"
  8228. | #define HAVE_INT8_T 1
  8229. | #define HAVE_INT16_T 1
  8230. | #define HAVE_INT32_T 1
  8231. | #define HAVE_INT64_T 1
  8232. | #define HAVE_INTPTR_T 1
  8233. | /* end confdefs.h. */
  8234. | #include <cstdint>
  8235. |
  8236. | int
  8237. | main ()
  8238. | {
  8239. | if (sizeof ((uint8_t)))
  8240. | return 0;
  8241. | ;
  8242. | return 0;
  8243. | }
  8244. configure:18178: result: yes
  8245. configure:18190: checking for uint16_t
  8246. configure:18190: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8247. configure:18190: $? = 0
  8248. configure:18190: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8249. conftest.cpp:38:23: error: expected expression
  8250. if (sizeof ((uint16_t)))
  8251. ^
  8252. 1 error generated.
  8253. configure:18190: $? = 1
  8254. configure: failed program was:
  8255. | /* confdefs.h */
  8256. | #define PACKAGE_NAME "Exult"
  8257. | #define PACKAGE_TARNAME "exult"
  8258. | #define PACKAGE_VERSION "1.5.0git"
  8259. | #define PACKAGE_STRING "Exult 1.5.0git"
  8260. | #define PACKAGE_BUGREPORT ""
  8261. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8262. | #define PACKAGE "exult"
  8263. | #define VERSION "1.5.0git"
  8264. | #define PACKAGE "exult"
  8265. | #define VERSION "1.5.0git"
  8266. | #define MACOSX 1
  8267. | #define HAVE_CXX17 1
  8268. | #define STDC_HEADERS 1
  8269. | #define HAVE_SYS_TYPES_H 1
  8270. | #define HAVE_SYS_STAT_H 1
  8271. | #define HAVE_STDLIB_H 1
  8272. | #define HAVE_STRING_H 1
  8273. | #define HAVE_MEMORY_H 1
  8274. | #define HAVE_STRINGS_H 1
  8275. | #define HAVE_INTTYPES_H 1
  8276. | #define HAVE_STDINT_H 1
  8277. | #define HAVE_UNISTD_H 1
  8278. | #define HAVE_DLFCN_H 1
  8279. | #define LT_OBJDIR ".libs/"
  8280. | #define HAVE_INT8_T 1
  8281. | #define HAVE_INT16_T 1
  8282. | #define HAVE_INT32_T 1
  8283. | #define HAVE_INT64_T 1
  8284. | #define HAVE_INTPTR_T 1
  8285. | #define HAVE_UINT8_T 1
  8286. | /* end confdefs.h. */
  8287. | #include <cstdint>
  8288. |
  8289. | int
  8290. | main ()
  8291. | {
  8292. | if (sizeof ((uint16_t)))
  8293. | return 0;
  8294. | ;
  8295. | return 0;
  8296. | }
  8297. configure:18190: result: yes
  8298. configure:18202: checking for uint32_t
  8299. configure:18202: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8300. configure:18202: $? = 0
  8301. configure:18202: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8302. conftest.cpp:39:23: error: expected expression
  8303. if (sizeof ((uint32_t)))
  8304. ^
  8305. 1 error generated.
  8306. configure:18202: $? = 1
  8307. configure: failed program was:
  8308. | /* confdefs.h */
  8309. | #define PACKAGE_NAME "Exult"
  8310. | #define PACKAGE_TARNAME "exult"
  8311. | #define PACKAGE_VERSION "1.5.0git"
  8312. | #define PACKAGE_STRING "Exult 1.5.0git"
  8313. | #define PACKAGE_BUGREPORT ""
  8314. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8315. | #define PACKAGE "exult"
  8316. | #define VERSION "1.5.0git"
  8317. | #define PACKAGE "exult"
  8318. | #define VERSION "1.5.0git"
  8319. | #define MACOSX 1
  8320. | #define HAVE_CXX17 1
  8321. | #define STDC_HEADERS 1
  8322. | #define HAVE_SYS_TYPES_H 1
  8323. | #define HAVE_SYS_STAT_H 1
  8324. | #define HAVE_STDLIB_H 1
  8325. | #define HAVE_STRING_H 1
  8326. | #define HAVE_MEMORY_H 1
  8327. | #define HAVE_STRINGS_H 1
  8328. | #define HAVE_INTTYPES_H 1
  8329. | #define HAVE_STDINT_H 1
  8330. | #define HAVE_UNISTD_H 1
  8331. | #define HAVE_DLFCN_H 1
  8332. | #define LT_OBJDIR ".libs/"
  8333. | #define HAVE_INT8_T 1
  8334. | #define HAVE_INT16_T 1
  8335. | #define HAVE_INT32_T 1
  8336. | #define HAVE_INT64_T 1
  8337. | #define HAVE_INTPTR_T 1
  8338. | #define HAVE_UINT8_T 1
  8339. | #define HAVE_UINT16_T 1
  8340. | /* end confdefs.h. */
  8341. | #include <cstdint>
  8342. |
  8343. | int
  8344. | main ()
  8345. | {
  8346. | if (sizeof ((uint32_t)))
  8347. | return 0;
  8348. | ;
  8349. | return 0;
  8350. | }
  8351. configure:18202: result: yes
  8352. configure:18214: checking for uint64_t
  8353. configure:18214: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8354. configure:18214: $? = 0
  8355. configure:18214: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8356. conftest.cpp:40:23: error: expected expression
  8357. if (sizeof ((uint64_t)))
  8358. ^
  8359. 1 error generated.
  8360. configure:18214: $? = 1
  8361. configure: failed program was:
  8362. | /* confdefs.h */
  8363. | #define PACKAGE_NAME "Exult"
  8364. | #define PACKAGE_TARNAME "exult"
  8365. | #define PACKAGE_VERSION "1.5.0git"
  8366. | #define PACKAGE_STRING "Exult 1.5.0git"
  8367. | #define PACKAGE_BUGREPORT ""
  8368. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8369. | #define PACKAGE "exult"
  8370. | #define VERSION "1.5.0git"
  8371. | #define PACKAGE "exult"
  8372. | #define VERSION "1.5.0git"
  8373. | #define MACOSX 1
  8374. | #define HAVE_CXX17 1
  8375. | #define STDC_HEADERS 1
  8376. | #define HAVE_SYS_TYPES_H 1
  8377. | #define HAVE_SYS_STAT_H 1
  8378. | #define HAVE_STDLIB_H 1
  8379. | #define HAVE_STRING_H 1
  8380. | #define HAVE_MEMORY_H 1
  8381. | #define HAVE_STRINGS_H 1
  8382. | #define HAVE_INTTYPES_H 1
  8383. | #define HAVE_STDINT_H 1
  8384. | #define HAVE_UNISTD_H 1
  8385. | #define HAVE_DLFCN_H 1
  8386. | #define LT_OBJDIR ".libs/"
  8387. | #define HAVE_INT8_T 1
  8388. | #define HAVE_INT16_T 1
  8389. | #define HAVE_INT32_T 1
  8390. | #define HAVE_INT64_T 1
  8391. | #define HAVE_INTPTR_T 1
  8392. | #define HAVE_UINT8_T 1
  8393. | #define HAVE_UINT16_T 1
  8394. | #define HAVE_UINT32_T 1
  8395. | /* end confdefs.h. */
  8396. | #include <cstdint>
  8397. |
  8398. | int
  8399. | main ()
  8400. | {
  8401. | if (sizeof ((uint64_t)))
  8402. | return 0;
  8403. | ;
  8404. | return 0;
  8405. | }
  8406. configure:18214: result: yes
  8407. configure:18226: checking for uintptr_t
  8408. configure:18226: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8409. configure:18226: $? = 0
  8410. configure:18226: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8411. conftest.cpp:41:24: error: expected expression
  8412. if (sizeof ((uintptr_t)))
  8413. ^
  8414. 1 error generated.
  8415. configure:18226: $? = 1
  8416. configure: failed program was:
  8417. | /* confdefs.h */
  8418. | #define PACKAGE_NAME "Exult"
  8419. | #define PACKAGE_TARNAME "exult"
  8420. | #define PACKAGE_VERSION "1.5.0git"
  8421. | #define PACKAGE_STRING "Exult 1.5.0git"
  8422. | #define PACKAGE_BUGREPORT ""
  8423. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8424. | #define PACKAGE "exult"
  8425. | #define VERSION "1.5.0git"
  8426. | #define PACKAGE "exult"
  8427. | #define VERSION "1.5.0git"
  8428. | #define MACOSX 1
  8429. | #define HAVE_CXX17 1
  8430. | #define STDC_HEADERS 1
  8431. | #define HAVE_SYS_TYPES_H 1
  8432. | #define HAVE_SYS_STAT_H 1
  8433. | #define HAVE_STDLIB_H 1
  8434. | #define HAVE_STRING_H 1
  8435. | #define HAVE_MEMORY_H 1
  8436. | #define HAVE_STRINGS_H 1
  8437. | #define HAVE_INTTYPES_H 1
  8438. | #define HAVE_STDINT_H 1
  8439. | #define HAVE_UNISTD_H 1
  8440. | #define HAVE_DLFCN_H 1
  8441. | #define LT_OBJDIR ".libs/"
  8442. | #define HAVE_INT8_T 1
  8443. | #define HAVE_INT16_T 1
  8444. | #define HAVE_INT32_T 1
  8445. | #define HAVE_INT64_T 1
  8446. | #define HAVE_INTPTR_T 1
  8447. | #define HAVE_UINT8_T 1
  8448. | #define HAVE_UINT16_T 1
  8449. | #define HAVE_UINT32_T 1
  8450. | #define HAVE_UINT64_T 1
  8451. | /* end confdefs.h. */
  8452. | #include <cstdint>
  8453. |
  8454. | int
  8455. | main ()
  8456. | {
  8457. | if (sizeof ((uintptr_t)))
  8458. | return 0;
  8459. | ;
  8460. | return 0;
  8461. | }
  8462. configure:18226: result: yes
  8463. configure:18246: checking for dirent.h that defines DIR
  8464. configure:18265: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8465. configure:18265: $? = 0
  8466. configure:18273: result: yes
  8467. configure:18286: checking for library containing opendir
  8468. configure:18317: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8469. configure:18317: $? = 0
  8470. configure:18334: result: none required
  8471. configure:18402: checking for ANSI C header files
  8472. configure:18506: result: yes
  8473. configure:18517: checking limits.h usability
  8474. configure:18517: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8475. configure:18517: $? = 0
  8476. configure:18517: result: yes
  8477. configure:18517: checking limits.h presence
  8478. configure:18517: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8479. configure:18517: $? = 0
  8480. configure:18517: result: yes
  8481. configure:18517: checking for limits.h
  8482. configure:18517: result: yes
  8483. configure:18517: checking sys/time.h usability
  8484. configure:18517: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8485. configure:18517: $? = 0
  8486. configure:18517: result: yes
  8487. configure:18517: checking sys/time.h presence
  8488. configure:18517: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8489. configure:18517: $? = 0
  8490. configure:18517: result: yes
  8491. configure:18517: checking for sys/time.h
  8492. configure:18517: result: yes
  8493. configure:18517: checking for unistd.h
  8494. configure:18517: result: yes
  8495. configure:18530: checking for sys/types.h
  8496. configure:18530: result: yes
  8497. configure:18530: checking sys/socket.h usability
  8498. configure:18530: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8499. configure:18530: $? = 0
  8500. configure:18530: result: yes
  8501. configure:18530: checking sys/socket.h presence
  8502. configure:18530: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8503. configure:18530: $? = 0
  8504. configure:18530: result: yes
  8505. configure:18530: checking for sys/socket.h
  8506. configure:18530: result: yes
  8507. configure:18530: checking netdb.h usability
  8508. configure:18530: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8509. configure:18530: $? = 0
  8510. configure:18530: result: yes
  8511. configure:18530: checking netdb.h presence
  8512. configure:18530: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8513. configure:18530: $? = 0
  8514. configure:18530: result: yes
  8515. configure:18530: checking for netdb.h
  8516. configure:18530: result: yes
  8517. configure:18543: checking sys/wait.h usability
  8518. configure:18543: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8519. configure:18543: $? = 0
  8520. configure:18543: result: yes
  8521. configure:18543: checking sys/wait.h presence
  8522. configure:18543: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8523. configure:18543: $? = 0
  8524. configure:18543: result: yes
  8525. configure:18543: checking for sys/wait.h
  8526. configure:18543: result: yes
  8527. configure:18543: checking signal.h usability
  8528. configure:18543: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8529. configure:18543: $? = 0
  8530. configure:18543: result: yes
  8531. configure:18543: checking signal.h presence
  8532. configure:18543: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8533. configure:18543: $? = 0
  8534. configure:18543: result: yes
  8535. configure:18543: checking for signal.h
  8536. configure:18543: result: yes
  8537. configure:18555: checking png.h usability
  8538. configure:18555: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8539. configure:18555: $? = 0
  8540. configure:18555: result: yes
  8541. configure:18555: checking png.h presence
  8542. configure:18555: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8543. configure:18555: $? = 0
  8544. configure:18555: result: yes
  8545. configure:18555: checking for png.h
  8546. configure:18555: result: yes
  8547. configure:18585: checking for an ANSI C-conforming const
  8548. configure:18651: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8549. configure:18651: $? = 0
  8550. configure:18658: result: yes
  8551. configure:18666: checking for inline
  8552. configure:18682: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8553. configure:18682: $? = 0
  8554. configure:18690: result: inline
  8555. configure:18708: checking for size_t
  8556. configure:18708: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8557. configure:18708: $? = 0
  8558. configure:18708: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8559. conftest.cpp:84:21: error: expected expression
  8560. if (sizeof ((size_t)))
  8561. ^
  8562. 1 error generated.
  8563. configure:18708: $? = 1
  8564. configure: failed program was:
  8565. | /* confdefs.h */
  8566. | #define PACKAGE_NAME "Exult"
  8567. | #define PACKAGE_TARNAME "exult"
  8568. | #define PACKAGE_VERSION "1.5.0git"
  8569. | #define PACKAGE_STRING "Exult 1.5.0git"
  8570. | #define PACKAGE_BUGREPORT ""
  8571. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8572. | #define PACKAGE "exult"
  8573. | #define VERSION "1.5.0git"
  8574. | #define PACKAGE "exult"
  8575. | #define VERSION "1.5.0git"
  8576. | #define MACOSX 1
  8577. | #define HAVE_CXX17 1
  8578. | #define STDC_HEADERS 1
  8579. | #define HAVE_SYS_TYPES_H 1
  8580. | #define HAVE_SYS_STAT_H 1
  8581. | #define HAVE_STDLIB_H 1
  8582. | #define HAVE_STRING_H 1
  8583. | #define HAVE_MEMORY_H 1
  8584. | #define HAVE_STRINGS_H 1
  8585. | #define HAVE_INTTYPES_H 1
  8586. | #define HAVE_STDINT_H 1
  8587. | #define HAVE_UNISTD_H 1
  8588. | #define HAVE_DLFCN_H 1
  8589. | #define LT_OBJDIR ".libs/"
  8590. | #define HAVE_INT8_T 1
  8591. | #define HAVE_INT16_T 1
  8592. | #define HAVE_INT32_T 1
  8593. | #define HAVE_INT64_T 1
  8594. | #define HAVE_INTPTR_T 1
  8595. | #define HAVE_UINT8_T 1
  8596. | #define HAVE_UINT16_T 1
  8597. | #define HAVE_UINT32_T 1
  8598. | #define HAVE_UINT64_T 1
  8599. | #define HAVE_UINTPTR_T 1
  8600. | #define HAVE_DIRENT_H 1
  8601. | #define STDC_HEADERS 1
  8602. | #define HAVE_LIMITS_H 1
  8603. | #define HAVE_SYS_TIME_H 1
  8604. | #define HAVE_UNISTD_H 1
  8605. | #define HAVE_SYS_TYPES_H 1
  8606. | #define HAVE_SYS_SOCKET_H 1
  8607. | #define HAVE_NETDB_H 1
  8608. | #define HAVE_SYS_WAIT_H 1
  8609. | #define HAVE_SIGNAL_H 1
  8610. | #define HAVE_PNG_H 1
  8611. | /* end confdefs.h. */
  8612. | #include <stdio.h>
  8613. | #ifdef HAVE_SYS_TYPES_H
  8614. | # include <sys/types.h>
  8615. | #endif
  8616. | #ifdef HAVE_SYS_STAT_H
  8617. | # include <sys/stat.h>
  8618. | #endif
  8619. | #ifdef STDC_HEADERS
  8620. | # include <stdlib.h>
  8621. | # include <stddef.h>
  8622. | #else
  8623. | # ifdef HAVE_STDLIB_H
  8624. | # include <stdlib.h>
  8625. | # endif
  8626. | #endif
  8627. | #ifdef HAVE_STRING_H
  8628. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8629. | # include <memory.h>
  8630. | # endif
  8631. | # include <string.h>
  8632. | #endif
  8633. | #ifdef HAVE_STRINGS_H
  8634. | # include <strings.h>
  8635. | #endif
  8636. | #ifdef HAVE_INTTYPES_H
  8637. | # include <inttypes.h>
  8638. | #endif
  8639. | #ifdef HAVE_STDINT_H
  8640. | # include <stdint.h>
  8641. | #endif
  8642. | #ifdef HAVE_UNISTD_H
  8643. | # include <unistd.h>
  8644. | #endif
  8645. | int
  8646. | main ()
  8647. | {
  8648. | if (sizeof ((size_t)))
  8649. | return 0;
  8650. | ;
  8651. | return 0;
  8652. | }
  8653. configure:18708: result: yes
  8654. configure:18719: checking whether time.h and sys/time.h may both be included
  8655. configure:18739: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8656. configure:18739: $? = 0
  8657. configure:18746: result: yes
  8658. configure:18754: checking whether struct tm is in sys/time.h or time.h
  8659. configure:18774: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8660. configure:18774: $? = 0
  8661. configure:18781: result: time.h
  8662. configure:18794: checking for working memcmp
  8663. configure:18837: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8664. configure:18837: $? = 0
  8665. configure:18837: ./conftest
  8666. configure:18837: $? = 0
  8667. configure:18847: result: yes
  8668. configure:18860: checking for atexit
  8669. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8670. configure:18860: $? = 0
  8671. configure:18860: result: yes
  8672. configure:18860: checking for dup2
  8673. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8674. configure:18860: $? = 0
  8675. configure:18860: result: yes
  8676. configure:18860: checking for getcwd
  8677. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8678. configure:18860: $? = 0
  8679. configure:18860: result: yes
  8680. configure:18860: checking for isascii
  8681. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8682. configure:18860: $? = 0
  8683. configure:18860: result: yes
  8684. configure:18860: checking for memchr
  8685. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8686. configure:18860: $? = 0
  8687. configure:18860: result: yes
  8688. configure:18860: checking for memmove
  8689. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8690. configure:18860: $? = 0
  8691. configure:18860: result: yes
  8692. configure:18860: checking for memset
  8693. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8694. configure:18860: $? = 0
  8695. configure:18860: result: yes
  8696. configure:18860: checking for mkdir
  8697. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8698. configure:18860: $? = 0
  8699. configure:18860: result: yes
  8700. configure:18860: checking for pow
  8701. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8702. configure:18860: $? = 0
  8703. configure:18860: result: yes
  8704. configure:18860: checking for select
  8705. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8706. configure:18860: $? = 0
  8707. configure:18860: result: yes
  8708. configure:18860: checking for socket
  8709. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8710. configure:18860: $? = 0
  8711. configure:18860: result: yes
  8712. configure:18860: checking for strcasecmp
  8713. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8714. configure:18860: $? = 0
  8715. configure:18860: result: yes
  8716. configure:18860: checking for strchr
  8717. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8718. configure:18860: $? = 0
  8719. configure:18860: result: yes
  8720. configure:18860: checking for strstr
  8721. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8722. configure:18860: $? = 0
  8723. configure:18860: result: yes
  8724. configure:18860: checking for strtol
  8725. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8726. configure:18860: $? = 0
  8727. configure:18860: result: yes
  8728. configure:18860: checking for strtoul
  8729. configure:18860: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8730. configure:18860: $? = 0
  8731. configure:18860: result: yes
  8732. configure:18870: checking for getaddrinfo()
  8733. configure:18896: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8734. configure:18896: $? = 0
  8735. configure:18902: result: yes
  8736. configure:18910: checking for mkstemp()
  8737. configure:18930: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -L/opt/x86_64/lib conftest.cpp >&5
  8738. configure:18930: $? = 0
  8739. configure:18937: result: yes
  8740. configure:18946: checking for special X11 libraries
  8741. configure:18949: result: no
  8742. configure:18970: checking if we want to statically compile libraries
  8743. configure:18976: result: no
  8744. configure:19092: checking pkg-config is at least version 0.9.0
  8745. configure:19095: result: yes
  8746. configure:19161: checking for sdl2-config
  8747. configure:19180: found /opt/x86_64/bin//sdl2-config
  8748. configure:19192: result: /opt/x86_64/bin//sdl2-config
  8749. configure:19234: checking for SDL - version >= 2.0.0
  8750. configure:19254: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -I/opt/x86_64/include/SDL2 -D_THREAD_SAFE conftest.cpp >&5
  8751. configure:19254: $? = 0
  8752. configure:19289: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -I/opt/x86_64/include/SDL2 -D_THREAD_SAFE conftest.cpp >&5
  8753. configure:19289: $? = 0
  8754. configure:19313: /usr/bin/clang++ -std=c++17 -o conftest -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include -I/opt/x86_64/include/SDL2 -D_THREAD_SAFE -L/opt/x86_64/lib conftest.cpp -L/opt/x86_64/lib -lSDL2 >&5
  8755. configure:19313: $? = 0
  8756. configure:19325: result: yes
  8757. configure:19348: checking for ogg >= 1.0 vorbis >= 1.0.1 vorbisfile
  8758. configure:19355: $PKG_CONFIG --exists --print-errors "ogg >= 1.0 vorbis >= 1.0.1 vorbisfile"
  8759. configure:19358: $? = 0
  8760. configure:19372: $PKG_CONFIG --exists --print-errors "ogg >= 1.0 vorbis >= 1.0.1 vorbisfile"
  8761. configure:19375: $? = 0
  8762. configure:19413: result: yes
  8763. configure:19776: checking for libglade-2.0 >= 2.0
  8764. configure:19783: $PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.0"
  8765. Package libglade-2.0 was not found in the pkg-config search path.
  8766. Perhaps you should add the directory containing `libglade-2.0.pc'
  8767. to the PKG_CONFIG_PATH environment variable
  8768. No package 'libglade-2.0' found
  8769. configure:19786: $? = 1
  8770. configure:19800: $PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.0"
  8771. Package libglade-2.0 was not found in the pkg-config search path.
  8772. Perhaps you should add the directory containing `libglade-2.0.pc'
  8773. to the PKG_CONFIG_PATH environment variable
  8774. No package 'libglade-2.0' found
  8775. configure:19803: $? = 1
  8776. configure:19817: result: no
  8777. No package 'libglade-2.0' found
  8778. configure:19856: checking for libgnomeui-2.0 >= 2.16
  8779. configure:19863: $PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.16"
  8780. Package libgnomeui-2.0 was not found in the pkg-config search path.
  8781. Perhaps you should add the directory containing `libgnomeui-2.0.pc'
  8782. to the PKG_CONFIG_PATH environment variable
  8783. No package 'libgnomeui-2.0' found
  8784. configure:19866: $? = 1
  8785. configure:19880: $PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.16"
  8786. Package libgnomeui-2.0 was not found in the pkg-config search path.
  8787. Perhaps you should add the directory containing `libgnomeui-2.0.pc'
  8788. to the PKG_CONFIG_PATH environment variable
  8789. No package 'libgnomeui-2.0' found
  8790. configure:19883: $? = 1
  8791. configure:19897: result: no
  8792. No package 'libgnomeui-2.0' found
  8793. configure:20035: checking if we want to use timidity midi
  8794. configure:20038: result: yes
  8795. configure:20060: checking alsa/asoundlib.h usability
  8796. configure:20060: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8797. conftest.cpp:102:10: fatal error: 'alsa/asoundlib.h' file not found
  8798. #include <alsa/asoundlib.h>
  8799. ^~~~~~~~~~~~~~~~~~
  8800. 1 error generated.
  8801. configure:20060: $? = 1
  8802. configure: failed program was:
  8803. | /* confdefs.h */
  8804. | #define PACKAGE_NAME "Exult"
  8805. | #define PACKAGE_TARNAME "exult"
  8806. | #define PACKAGE_VERSION "1.5.0git"
  8807. | #define PACKAGE_STRING "Exult 1.5.0git"
  8808. | #define PACKAGE_BUGREPORT ""
  8809. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8810. | #define PACKAGE "exult"
  8811. | #define VERSION "1.5.0git"
  8812. | #define PACKAGE "exult"
  8813. | #define VERSION "1.5.0git"
  8814. | #define MACOSX 1
  8815. | #define HAVE_CXX17 1
  8816. | #define STDC_HEADERS 1
  8817. | #define HAVE_SYS_TYPES_H 1
  8818. | #define HAVE_SYS_STAT_H 1
  8819. | #define HAVE_STDLIB_H 1
  8820. | #define HAVE_STRING_H 1
  8821. | #define HAVE_MEMORY_H 1
  8822. | #define HAVE_STRINGS_H 1
  8823. | #define HAVE_INTTYPES_H 1
  8824. | #define HAVE_STDINT_H 1
  8825. | #define HAVE_UNISTD_H 1
  8826. | #define HAVE_DLFCN_H 1
  8827. | #define LT_OBJDIR ".libs/"
  8828. | #define HAVE_INT8_T 1
  8829. | #define HAVE_INT16_T 1
  8830. | #define HAVE_INT32_T 1
  8831. | #define HAVE_INT64_T 1
  8832. | #define HAVE_INTPTR_T 1
  8833. | #define HAVE_UINT8_T 1
  8834. | #define HAVE_UINT16_T 1
  8835. | #define HAVE_UINT32_T 1
  8836. | #define HAVE_UINT64_T 1
  8837. | #define HAVE_UINTPTR_T 1
  8838. | #define HAVE_DIRENT_H 1
  8839. | #define STDC_HEADERS 1
  8840. | #define HAVE_LIMITS_H 1
  8841. | #define HAVE_SYS_TIME_H 1
  8842. | #define HAVE_UNISTD_H 1
  8843. | #define HAVE_SYS_TYPES_H 1
  8844. | #define HAVE_SYS_SOCKET_H 1
  8845. | #define HAVE_NETDB_H 1
  8846. | #define HAVE_SYS_WAIT_H 1
  8847. | #define HAVE_SIGNAL_H 1
  8848. | #define HAVE_PNG_H 1
  8849. | #define TIME_WITH_SYS_TIME 1
  8850. | #define HAVE_ATEXIT 1
  8851. | #define HAVE_DUP2 1
  8852. | #define HAVE_GETCWD 1
  8853. | #define HAVE_ISASCII 1
  8854. | #define HAVE_MEMCHR 1
  8855. | #define HAVE_MEMMOVE 1
  8856. | #define HAVE_MEMSET 1
  8857. | #define HAVE_MKDIR 1
  8858. | #define HAVE_POW 1
  8859. | #define HAVE_SELECT 1
  8860. | #define HAVE_SOCKET 1
  8861. | #define HAVE_STRCASECMP 1
  8862. | #define HAVE_STRCHR 1
  8863. | #define HAVE_STRSTR 1
  8864. | #define HAVE_STRTOL 1
  8865. | #define HAVE_STRTOUL 1
  8866. | #define HAVE_GETADDRINFO 1
  8867. | #define HAVE_MKSTEMP 1
  8868. | #define HAVE_SDL_H 1
  8869. | #define USE_TIMIDITY_MIDI 1
  8870. | /* end confdefs.h. */
  8871. | #include <stdio.h>
  8872. | #ifdef HAVE_SYS_TYPES_H
  8873. | # include <sys/types.h>
  8874. | #endif
  8875. | #ifdef HAVE_SYS_STAT_H
  8876. | # include <sys/stat.h>
  8877. | #endif
  8878. | #ifdef STDC_HEADERS
  8879. | # include <stdlib.h>
  8880. | # include <stddef.h>
  8881. | #else
  8882. | # ifdef HAVE_STDLIB_H
  8883. | # include <stdlib.h>
  8884. | # endif
  8885. | #endif
  8886. | #ifdef HAVE_STRING_H
  8887. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8888. | # include <memory.h>
  8889. | # endif
  8890. | # include <string.h>
  8891. | #endif
  8892. | #ifdef HAVE_STRINGS_H
  8893. | # include <strings.h>
  8894. | #endif
  8895. | #ifdef HAVE_INTTYPES_H
  8896. | # include <inttypes.h>
  8897. | #endif
  8898. | #ifdef HAVE_STDINT_H
  8899. | # include <stdint.h>
  8900. | #endif
  8901. | #ifdef HAVE_UNISTD_H
  8902. | # include <unistd.h>
  8903. | #endif
  8904. | #include <alsa/asoundlib.h>
  8905. configure:20060: result: no
  8906. configure:20060: checking alsa/asoundlib.h presence
  8907. configure:20060: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  8908. conftest.cpp:69:10: fatal error: 'alsa/asoundlib.h' file not found
  8909. #include <alsa/asoundlib.h>
  8910. ^~~~~~~~~~~~~~~~~~
  8911. 1 error generated.
  8912. configure:20060: $? = 1
  8913. configure: failed program was:
  8914. | /* confdefs.h */
  8915. | #define PACKAGE_NAME "Exult"
  8916. | #define PACKAGE_TARNAME "exult"
  8917. | #define PACKAGE_VERSION "1.5.0git"
  8918. | #define PACKAGE_STRING "Exult 1.5.0git"
  8919. | #define PACKAGE_BUGREPORT ""
  8920. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  8921. | #define PACKAGE "exult"
  8922. | #define VERSION "1.5.0git"
  8923. | #define PACKAGE "exult"
  8924. | #define VERSION "1.5.0git"
  8925. | #define MACOSX 1
  8926. | #define HAVE_CXX17 1
  8927. | #define STDC_HEADERS 1
  8928. | #define HAVE_SYS_TYPES_H 1
  8929. | #define HAVE_SYS_STAT_H 1
  8930. | #define HAVE_STDLIB_H 1
  8931. | #define HAVE_STRING_H 1
  8932. | #define HAVE_MEMORY_H 1
  8933. | #define HAVE_STRINGS_H 1
  8934. | #define HAVE_INTTYPES_H 1
  8935. | #define HAVE_STDINT_H 1
  8936. | #define HAVE_UNISTD_H 1
  8937. | #define HAVE_DLFCN_H 1
  8938. | #define LT_OBJDIR ".libs/"
  8939. | #define HAVE_INT8_T 1
  8940. | #define HAVE_INT16_T 1
  8941. | #define HAVE_INT32_T 1
  8942. | #define HAVE_INT64_T 1
  8943. | #define HAVE_INTPTR_T 1
  8944. | #define HAVE_UINT8_T 1
  8945. | #define HAVE_UINT16_T 1
  8946. | #define HAVE_UINT32_T 1
  8947. | #define HAVE_UINT64_T 1
  8948. | #define HAVE_UINTPTR_T 1
  8949. | #define HAVE_DIRENT_H 1
  8950. | #define STDC_HEADERS 1
  8951. | #define HAVE_LIMITS_H 1
  8952. | #define HAVE_SYS_TIME_H 1
  8953. | #define HAVE_UNISTD_H 1
  8954. | #define HAVE_SYS_TYPES_H 1
  8955. | #define HAVE_SYS_SOCKET_H 1
  8956. | #define HAVE_NETDB_H 1
  8957. | #define HAVE_SYS_WAIT_H 1
  8958. | #define HAVE_SIGNAL_H 1
  8959. | #define HAVE_PNG_H 1
  8960. | #define TIME_WITH_SYS_TIME 1
  8961. | #define HAVE_ATEXIT 1
  8962. | #define HAVE_DUP2 1
  8963. | #define HAVE_GETCWD 1
  8964. | #define HAVE_ISASCII 1
  8965. | #define HAVE_MEMCHR 1
  8966. | #define HAVE_MEMMOVE 1
  8967. | #define HAVE_MEMSET 1
  8968. | #define HAVE_MKDIR 1
  8969. | #define HAVE_POW 1
  8970. | #define HAVE_SELECT 1
  8971. | #define HAVE_SOCKET 1
  8972. | #define HAVE_STRCASECMP 1
  8973. | #define HAVE_STRCHR 1
  8974. | #define HAVE_STRSTR 1
  8975. | #define HAVE_STRTOL 1
  8976. | #define HAVE_STRTOUL 1
  8977. | #define HAVE_GETADDRINFO 1
  8978. | #define HAVE_MKSTEMP 1
  8979. | #define HAVE_SDL_H 1
  8980. | #define USE_TIMIDITY_MIDI 1
  8981. | /* end confdefs.h. */
  8982. | #include <alsa/asoundlib.h>
  8983. configure:20060: result: no
  8984. configure:20060: checking for alsa/asoundlib.h
  8985. configure:20060: result: no
  8986. configure:20075: checking if we want to use ALSA midi
  8987. configure:20090: result: no; libasound not found
  8988. configure:20095: checking fluidsynth.h usability
  8989. configure:20095: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  8990. conftest.cpp:102:10: fatal error: 'fluidsynth.h' file not found
  8991. #include <fluidsynth.h>
  8992. ^~~~~~~~~~~~~~
  8993. 1 error generated.
  8994. configure:20095: $? = 1
  8995. configure: failed program was:
  8996. | /* confdefs.h */
  8997. | #define PACKAGE_NAME "Exult"
  8998. | #define PACKAGE_TARNAME "exult"
  8999. | #define PACKAGE_VERSION "1.5.0git"
  9000. | #define PACKAGE_STRING "Exult 1.5.0git"
  9001. | #define PACKAGE_BUGREPORT ""
  9002. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9003. | #define PACKAGE "exult"
  9004. | #define VERSION "1.5.0git"
  9005. | #define PACKAGE "exult"
  9006. | #define VERSION "1.5.0git"
  9007. | #define MACOSX 1
  9008. | #define HAVE_CXX17 1
  9009. | #define STDC_HEADERS 1
  9010. | #define HAVE_SYS_TYPES_H 1
  9011. | #define HAVE_SYS_STAT_H 1
  9012. | #define HAVE_STDLIB_H 1
  9013. | #define HAVE_STRING_H 1
  9014. | #define HAVE_MEMORY_H 1
  9015. | #define HAVE_STRINGS_H 1
  9016. | #define HAVE_INTTYPES_H 1
  9017. | #define HAVE_STDINT_H 1
  9018. | #define HAVE_UNISTD_H 1
  9019. | #define HAVE_DLFCN_H 1
  9020. | #define LT_OBJDIR ".libs/"
  9021. | #define HAVE_INT8_T 1
  9022. | #define HAVE_INT16_T 1
  9023. | #define HAVE_INT32_T 1
  9024. | #define HAVE_INT64_T 1
  9025. | #define HAVE_INTPTR_T 1
  9026. | #define HAVE_UINT8_T 1
  9027. | #define HAVE_UINT16_T 1
  9028. | #define HAVE_UINT32_T 1
  9029. | #define HAVE_UINT64_T 1
  9030. | #define HAVE_UINTPTR_T 1
  9031. | #define HAVE_DIRENT_H 1
  9032. | #define STDC_HEADERS 1
  9033. | #define HAVE_LIMITS_H 1
  9034. | #define HAVE_SYS_TIME_H 1
  9035. | #define HAVE_UNISTD_H 1
  9036. | #define HAVE_SYS_TYPES_H 1
  9037. | #define HAVE_SYS_SOCKET_H 1
  9038. | #define HAVE_NETDB_H 1
  9039. | #define HAVE_SYS_WAIT_H 1
  9040. | #define HAVE_SIGNAL_H 1
  9041. | #define HAVE_PNG_H 1
  9042. | #define TIME_WITH_SYS_TIME 1
  9043. | #define HAVE_ATEXIT 1
  9044. | #define HAVE_DUP2 1
  9045. | #define HAVE_GETCWD 1
  9046. | #define HAVE_ISASCII 1
  9047. | #define HAVE_MEMCHR 1
  9048. | #define HAVE_MEMMOVE 1
  9049. | #define HAVE_MEMSET 1
  9050. | #define HAVE_MKDIR 1
  9051. | #define HAVE_POW 1
  9052. | #define HAVE_SELECT 1
  9053. | #define HAVE_SOCKET 1
  9054. | #define HAVE_STRCASECMP 1
  9055. | #define HAVE_STRCHR 1
  9056. | #define HAVE_STRSTR 1
  9057. | #define HAVE_STRTOL 1
  9058. | #define HAVE_STRTOUL 1
  9059. | #define HAVE_GETADDRINFO 1
  9060. | #define HAVE_MKSTEMP 1
  9061. | #define HAVE_SDL_H 1
  9062. | #define USE_TIMIDITY_MIDI 1
  9063. | /* end confdefs.h. */
  9064. | #include <stdio.h>
  9065. | #ifdef HAVE_SYS_TYPES_H
  9066. | # include <sys/types.h>
  9067. | #endif
  9068. | #ifdef HAVE_SYS_STAT_H
  9069. | # include <sys/stat.h>
  9070. | #endif
  9071. | #ifdef STDC_HEADERS
  9072. | # include <stdlib.h>
  9073. | # include <stddef.h>
  9074. | #else
  9075. | # ifdef HAVE_STDLIB_H
  9076. | # include <stdlib.h>
  9077. | # endif
  9078. | #endif
  9079. | #ifdef HAVE_STRING_H
  9080. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9081. | # include <memory.h>
  9082. | # endif
  9083. | # include <string.h>
  9084. | #endif
  9085. | #ifdef HAVE_STRINGS_H
  9086. | # include <strings.h>
  9087. | #endif
  9088. | #ifdef HAVE_INTTYPES_H
  9089. | # include <inttypes.h>
  9090. | #endif
  9091. | #ifdef HAVE_STDINT_H
  9092. | # include <stdint.h>
  9093. | #endif
  9094. | #ifdef HAVE_UNISTD_H
  9095. | # include <unistd.h>
  9096. | #endif
  9097. | #include <fluidsynth.h>
  9098. configure:20095: result: no
  9099. configure:20095: checking fluidsynth.h presence
  9100. configure:20095: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  9101. conftest.cpp:69:10: fatal error: 'fluidsynth.h' file not found
  9102. #include <fluidsynth.h>
  9103. ^~~~~~~~~~~~~~
  9104. 1 error generated.
  9105. configure:20095: $? = 1
  9106. configure: failed program was:
  9107. | /* confdefs.h */
  9108. | #define PACKAGE_NAME "Exult"
  9109. | #define PACKAGE_TARNAME "exult"
  9110. | #define PACKAGE_VERSION "1.5.0git"
  9111. | #define PACKAGE_STRING "Exult 1.5.0git"
  9112. | #define PACKAGE_BUGREPORT ""
  9113. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9114. | #define PACKAGE "exult"
  9115. | #define VERSION "1.5.0git"
  9116. | #define PACKAGE "exult"
  9117. | #define VERSION "1.5.0git"
  9118. | #define MACOSX 1
  9119. | #define HAVE_CXX17 1
  9120. | #define STDC_HEADERS 1
  9121. | #define HAVE_SYS_TYPES_H 1
  9122. | #define HAVE_SYS_STAT_H 1
  9123. | #define HAVE_STDLIB_H 1
  9124. | #define HAVE_STRING_H 1
  9125. | #define HAVE_MEMORY_H 1
  9126. | #define HAVE_STRINGS_H 1
  9127. | #define HAVE_INTTYPES_H 1
  9128. | #define HAVE_STDINT_H 1
  9129. | #define HAVE_UNISTD_H 1
  9130. | #define HAVE_DLFCN_H 1
  9131. | #define LT_OBJDIR ".libs/"
  9132. | #define HAVE_INT8_T 1
  9133. | #define HAVE_INT16_T 1
  9134. | #define HAVE_INT32_T 1
  9135. | #define HAVE_INT64_T 1
  9136. | #define HAVE_INTPTR_T 1
  9137. | #define HAVE_UINT8_T 1
  9138. | #define HAVE_UINT16_T 1
  9139. | #define HAVE_UINT32_T 1
  9140. | #define HAVE_UINT64_T 1
  9141. | #define HAVE_UINTPTR_T 1
  9142. | #define HAVE_DIRENT_H 1
  9143. | #define STDC_HEADERS 1
  9144. | #define HAVE_LIMITS_H 1
  9145. | #define HAVE_SYS_TIME_H 1
  9146. | #define HAVE_UNISTD_H 1
  9147. | #define HAVE_SYS_TYPES_H 1
  9148. | #define HAVE_SYS_SOCKET_H 1
  9149. | #define HAVE_NETDB_H 1
  9150. | #define HAVE_SYS_WAIT_H 1
  9151. | #define HAVE_SIGNAL_H 1
  9152. | #define HAVE_PNG_H 1
  9153. | #define TIME_WITH_SYS_TIME 1
  9154. | #define HAVE_ATEXIT 1
  9155. | #define HAVE_DUP2 1
  9156. | #define HAVE_GETCWD 1
  9157. | #define HAVE_ISASCII 1
  9158. | #define HAVE_MEMCHR 1
  9159. | #define HAVE_MEMMOVE 1
  9160. | #define HAVE_MEMSET 1
  9161. | #define HAVE_MKDIR 1
  9162. | #define HAVE_POW 1
  9163. | #define HAVE_SELECT 1
  9164. | #define HAVE_SOCKET 1
  9165. | #define HAVE_STRCASECMP 1
  9166. | #define HAVE_STRCHR 1
  9167. | #define HAVE_STRSTR 1
  9168. | #define HAVE_STRTOL 1
  9169. | #define HAVE_STRTOUL 1
  9170. | #define HAVE_GETADDRINFO 1
  9171. | #define HAVE_MKSTEMP 1
  9172. | #define HAVE_SDL_H 1
  9173. | #define USE_TIMIDITY_MIDI 1
  9174. | /* end confdefs.h. */
  9175. | #include <fluidsynth.h>
  9176. configure:20095: result: no
  9177. configure:20095: checking for fluidsynth.h
  9178. configure:20095: result: no
  9179. configure:20110: checking if we want to use fluidsynth midi
  9180. configure:20125: result: no; fluidsynth.h not found
  9181. configure:20137: checking if we should build mt32emu
  9182. configure:20154: result: no
  9183. configure:20178: checking zlib.h usability
  9184. configure:20178: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -I/opt/x86_64/include conftest.cpp >&5
  9185. configure:20178: $? = 0
  9186. configure:20178: result: yes
  9187. configure:20178: checking zlib.h presence
  9188. configure:20178: /usr/bin/clang++ -std=c++17 -E -I/opt/x86_64/include conftest.cpp
  9189. configure:20178: $? = 0
  9190. configure:20178: result: yes
  9191. configure:20178: checking for zlib.h
  9192. configure:20178: result: yes
  9193. configure:20188: checking for zipped savegame support
  9194. configure:20205: result: yes
  9195. configure:20220: checking if we should build all hq scaler
  9196. configure:20226: result: yes
  9197. configure:20241: checking if we should build the hq2x scaler
  9198. configure:20244: result: yes
  9199. configure:20262: checking if we should build the hq3x scaler
  9200. configure:20265: result: yes
  9201. configure:20283: checking if we should build the hq4x scaler
  9202. configure:20286: result: yes
  9203. configure:20304: checking if we should build the 2xBR, 3xBR and 4xBR scalers
  9204. configure:20307: result: yes
  9205. configure:20326: checking whether to enable midi sfx
  9206. configure:20335: result: no
  9207. configure:20342: checking whether to enable support for Exult Studio
  9208. configure:20388: result: no
  9209. configure:20452: checking desired optimization level
  9210. configure:20635: result: normal
  9211. configure:20925: checking whether to enable debugging mode
  9212. configure:20928: result: no
  9213. configure:20966: checking whether to enable sanitizers
  9214. configure:20970: result: no
  9215. configure:21040: checking if we should disable the SDL parachute
  9216. configure:21049: result: no
  9217. configure:21113: checking whether C++ compiler accepts -Wall
  9218. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wall -I/opt/x86_64/include conftest.cpp >&5
  9219. configure:21132: $? = 0
  9220. configure:21141: result: yes
  9221. configure:21113: checking whether C++ compiler accepts -Wextra
  9222. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wextra -I/opt/x86_64/include conftest.cpp >&5
  9223. configure:21132: $? = 0
  9224. configure:21141: result: yes
  9225. configure:21113: checking whether C++ compiler accepts -pedantic
  9226. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -pedantic -I/opt/x86_64/include conftest.cpp >&5
  9227. configure:21132: $? = 0
  9228. configure:21141: result: yes
  9229. configure:21113: checking whether C++ compiler accepts -Walloc-zero
  9230. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Walloc-zero -I/opt/x86_64/include conftest.cpp >&5
  9231. error: unknown warning option '-Walloc-zero'; did you mean '-Wdiv-by-zero'? [-Werror,-Wunknown-warning-option]
  9232. configure:21132: $? = 1
  9233. configure: failed program was:
  9234. | /* confdefs.h */
  9235. | #define PACKAGE_NAME "Exult"
  9236. | #define PACKAGE_TARNAME "exult"
  9237. | #define PACKAGE_VERSION "1.5.0git"
  9238. | #define PACKAGE_STRING "Exult 1.5.0git"
  9239. | #define PACKAGE_BUGREPORT ""
  9240. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9241. | #define PACKAGE "exult"
  9242. | #define VERSION "1.5.0git"
  9243. | #define PACKAGE "exult"
  9244. | #define VERSION "1.5.0git"
  9245. | #define MACOSX 1
  9246. | #define HAVE_CXX17 1
  9247. | #define STDC_HEADERS 1
  9248. | #define HAVE_SYS_TYPES_H 1
  9249. | #define HAVE_SYS_STAT_H 1
  9250. | #define HAVE_STDLIB_H 1
  9251. | #define HAVE_STRING_H 1
  9252. | #define HAVE_MEMORY_H 1
  9253. | #define HAVE_STRINGS_H 1
  9254. | #define HAVE_INTTYPES_H 1
  9255. | #define HAVE_STDINT_H 1
  9256. | #define HAVE_UNISTD_H 1
  9257. | #define HAVE_DLFCN_H 1
  9258. | #define LT_OBJDIR ".libs/"
  9259. | #define HAVE_INT8_T 1
  9260. | #define HAVE_INT16_T 1
  9261. | #define HAVE_INT32_T 1
  9262. | #define HAVE_INT64_T 1
  9263. | #define HAVE_INTPTR_T 1
  9264. | #define HAVE_UINT8_T 1
  9265. | #define HAVE_UINT16_T 1
  9266. | #define HAVE_UINT32_T 1
  9267. | #define HAVE_UINT64_T 1
  9268. | #define HAVE_UINTPTR_T 1
  9269. | #define HAVE_DIRENT_H 1
  9270. | #define STDC_HEADERS 1
  9271. | #define HAVE_LIMITS_H 1
  9272. | #define HAVE_SYS_TIME_H 1
  9273. | #define HAVE_UNISTD_H 1
  9274. | #define HAVE_SYS_TYPES_H 1
  9275. | #define HAVE_SYS_SOCKET_H 1
  9276. | #define HAVE_NETDB_H 1
  9277. | #define HAVE_SYS_WAIT_H 1
  9278. | #define HAVE_SIGNAL_H 1
  9279. | #define HAVE_PNG_H 1
  9280. | #define TIME_WITH_SYS_TIME 1
  9281. | #define HAVE_ATEXIT 1
  9282. | #define HAVE_DUP2 1
  9283. | #define HAVE_GETCWD 1
  9284. | #define HAVE_ISASCII 1
  9285. | #define HAVE_MEMCHR 1
  9286. | #define HAVE_MEMMOVE 1
  9287. | #define HAVE_MEMSET 1
  9288. | #define HAVE_MKDIR 1
  9289. | #define HAVE_POW 1
  9290. | #define HAVE_SELECT 1
  9291. | #define HAVE_SOCKET 1
  9292. | #define HAVE_STRCASECMP 1
  9293. | #define HAVE_STRCHR 1
  9294. | #define HAVE_STRSTR 1
  9295. | #define HAVE_STRTOL 1
  9296. | #define HAVE_STRTOUL 1
  9297. | #define HAVE_GETADDRINFO 1
  9298. | #define HAVE_MKSTEMP 1
  9299. | #define HAVE_SDL_H 1
  9300. | #define USE_TIMIDITY_MIDI 1
  9301. | #define HAVE_ZIP_SUPPORT 1
  9302. | #define USE_HQ2X_SCALER 1
  9303. | #define USE_HQ3X_SCALER 1
  9304. | #define USE_HQ4X_SCALER 1
  9305. | #define USE_XBR_SCALER 1
  9306. | /* end confdefs.h. */
  9307. |
  9308. | int
  9309. | main ()
  9310. | {
  9311. |
  9312. | ;
  9313. | return 0;
  9314. | }
  9315. configure:21141: result: no
  9316. configure:21113: checking whether C++ compiler accepts -Walloca
  9317. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Walloca -I/opt/x86_64/include conftest.cpp >&5
  9318. error: unknown warning option '-Walloca'; did you mean '-Wall'? [-Werror,-Wunknown-warning-option]
  9319. configure:21132: $? = 1
  9320. configure: failed program was:
  9321. | /* confdefs.h */
  9322. | #define PACKAGE_NAME "Exult"
  9323. | #define PACKAGE_TARNAME "exult"
  9324. | #define PACKAGE_VERSION "1.5.0git"
  9325. | #define PACKAGE_STRING "Exult 1.5.0git"
  9326. | #define PACKAGE_BUGREPORT ""
  9327. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9328. | #define PACKAGE "exult"
  9329. | #define VERSION "1.5.0git"
  9330. | #define PACKAGE "exult"
  9331. | #define VERSION "1.5.0git"
  9332. | #define MACOSX 1
  9333. | #define HAVE_CXX17 1
  9334. | #define STDC_HEADERS 1
  9335. | #define HAVE_SYS_TYPES_H 1
  9336. | #define HAVE_SYS_STAT_H 1
  9337. | #define HAVE_STDLIB_H 1
  9338. | #define HAVE_STRING_H 1
  9339. | #define HAVE_MEMORY_H 1
  9340. | #define HAVE_STRINGS_H 1
  9341. | #define HAVE_INTTYPES_H 1
  9342. | #define HAVE_STDINT_H 1
  9343. | #define HAVE_UNISTD_H 1
  9344. | #define HAVE_DLFCN_H 1
  9345. | #define LT_OBJDIR ".libs/"
  9346. | #define HAVE_INT8_T 1
  9347. | #define HAVE_INT16_T 1
  9348. | #define HAVE_INT32_T 1
  9349. | #define HAVE_INT64_T 1
  9350. | #define HAVE_INTPTR_T 1
  9351. | #define HAVE_UINT8_T 1
  9352. | #define HAVE_UINT16_T 1
  9353. | #define HAVE_UINT32_T 1
  9354. | #define HAVE_UINT64_T 1
  9355. | #define HAVE_UINTPTR_T 1
  9356. | #define HAVE_DIRENT_H 1
  9357. | #define STDC_HEADERS 1
  9358. | #define HAVE_LIMITS_H 1
  9359. | #define HAVE_SYS_TIME_H 1
  9360. | #define HAVE_UNISTD_H 1
  9361. | #define HAVE_SYS_TYPES_H 1
  9362. | #define HAVE_SYS_SOCKET_H 1
  9363. | #define HAVE_NETDB_H 1
  9364. | #define HAVE_SYS_WAIT_H 1
  9365. | #define HAVE_SIGNAL_H 1
  9366. | #define HAVE_PNG_H 1
  9367. | #define TIME_WITH_SYS_TIME 1
  9368. | #define HAVE_ATEXIT 1
  9369. | #define HAVE_DUP2 1
  9370. | #define HAVE_GETCWD 1
  9371. | #define HAVE_ISASCII 1
  9372. | #define HAVE_MEMCHR 1
  9373. | #define HAVE_MEMMOVE 1
  9374. | #define HAVE_MEMSET 1
  9375. | #define HAVE_MKDIR 1
  9376. | #define HAVE_POW 1
  9377. | #define HAVE_SELECT 1
  9378. | #define HAVE_SOCKET 1
  9379. | #define HAVE_STRCASECMP 1
  9380. | #define HAVE_STRCHR 1
  9381. | #define HAVE_STRSTR 1
  9382. | #define HAVE_STRTOL 1
  9383. | #define HAVE_STRTOUL 1
  9384. | #define HAVE_GETADDRINFO 1
  9385. | #define HAVE_MKSTEMP 1
  9386. | #define HAVE_SDL_H 1
  9387. | #define USE_TIMIDITY_MIDI 1
  9388. | #define HAVE_ZIP_SUPPORT 1
  9389. | #define USE_HQ2X_SCALER 1
  9390. | #define USE_HQ3X_SCALER 1
  9391. | #define USE_HQ4X_SCALER 1
  9392. | #define USE_XBR_SCALER 1
  9393. | /* end confdefs.h. */
  9394. |
  9395. | int
  9396. | main ()
  9397. | {
  9398. |
  9399. | ;
  9400. | return 0;
  9401. | }
  9402. configure:21141: result: no
  9403. configure:21113: checking whether C++ compiler accepts -Wc++14-compat
  9404. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wc++14-compat -I/opt/x86_64/include conftest.cpp >&5
  9405. configure:21132: $? = 0
  9406. configure:21141: result: yes
  9407. configure:21113: checking whether C++ compiler accepts -Wc++17-compat
  9408. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wc++17-compat -I/opt/x86_64/include conftest.cpp >&5
  9409. configure:21132: $? = 0
  9410. configure:21141: result: yes
  9411. configure:21113: checking whether C++ compiler accepts -Wcatch-value=3
  9412. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wcatch-value=3 -I/opt/x86_64/include conftest.cpp >&5
  9413. error: unknown warning option '-Wcatch-value=3' [-Werror,-Wunknown-warning-option]
  9414. configure:21132: $? = 1
  9415. configure: failed program was:
  9416. | /* confdefs.h */
  9417. | #define PACKAGE_NAME "Exult"
  9418. | #define PACKAGE_TARNAME "exult"
  9419. | #define PACKAGE_VERSION "1.5.0git"
  9420. | #define PACKAGE_STRING "Exult 1.5.0git"
  9421. | #define PACKAGE_BUGREPORT ""
  9422. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9423. | #define PACKAGE "exult"
  9424. | #define VERSION "1.5.0git"
  9425. | #define PACKAGE "exult"
  9426. | #define VERSION "1.5.0git"
  9427. | #define MACOSX 1
  9428. | #define HAVE_CXX17 1
  9429. | #define STDC_HEADERS 1
  9430. | #define HAVE_SYS_TYPES_H 1
  9431. | #define HAVE_SYS_STAT_H 1
  9432. | #define HAVE_STDLIB_H 1
  9433. | #define HAVE_STRING_H 1
  9434. | #define HAVE_MEMORY_H 1
  9435. | #define HAVE_STRINGS_H 1
  9436. | #define HAVE_INTTYPES_H 1
  9437. | #define HAVE_STDINT_H 1
  9438. | #define HAVE_UNISTD_H 1
  9439. | #define HAVE_DLFCN_H 1
  9440. | #define LT_OBJDIR ".libs/"
  9441. | #define HAVE_INT8_T 1
  9442. | #define HAVE_INT16_T 1
  9443. | #define HAVE_INT32_T 1
  9444. | #define HAVE_INT64_T 1
  9445. | #define HAVE_INTPTR_T 1
  9446. | #define HAVE_UINT8_T 1
  9447. | #define HAVE_UINT16_T 1
  9448. | #define HAVE_UINT32_T 1
  9449. | #define HAVE_UINT64_T 1
  9450. | #define HAVE_UINTPTR_T 1
  9451. | #define HAVE_DIRENT_H 1
  9452. | #define STDC_HEADERS 1
  9453. | #define HAVE_LIMITS_H 1
  9454. | #define HAVE_SYS_TIME_H 1
  9455. | #define HAVE_UNISTD_H 1
  9456. | #define HAVE_SYS_TYPES_H 1
  9457. | #define HAVE_SYS_SOCKET_H 1
  9458. | #define HAVE_NETDB_H 1
  9459. | #define HAVE_SYS_WAIT_H 1
  9460. | #define HAVE_SIGNAL_H 1
  9461. | #define HAVE_PNG_H 1
  9462. | #define TIME_WITH_SYS_TIME 1
  9463. | #define HAVE_ATEXIT 1
  9464. | #define HAVE_DUP2 1
  9465. | #define HAVE_GETCWD 1
  9466. | #define HAVE_ISASCII 1
  9467. | #define HAVE_MEMCHR 1
  9468. | #define HAVE_MEMMOVE 1
  9469. | #define HAVE_MEMSET 1
  9470. | #define HAVE_MKDIR 1
  9471. | #define HAVE_POW 1
  9472. | #define HAVE_SELECT 1
  9473. | #define HAVE_SOCKET 1
  9474. | #define HAVE_STRCASECMP 1
  9475. | #define HAVE_STRCHR 1
  9476. | #define HAVE_STRSTR 1
  9477. | #define HAVE_STRTOL 1
  9478. | #define HAVE_STRTOUL 1
  9479. | #define HAVE_GETADDRINFO 1
  9480. | #define HAVE_MKSTEMP 1
  9481. | #define HAVE_SDL_H 1
  9482. | #define USE_TIMIDITY_MIDI 1
  9483. | #define HAVE_ZIP_SUPPORT 1
  9484. | #define USE_HQ2X_SCALER 1
  9485. | #define USE_HQ3X_SCALER 1
  9486. | #define USE_HQ4X_SCALER 1
  9487. | #define USE_XBR_SCALER 1
  9488. | /* end confdefs.h. */
  9489. |
  9490. | int
  9491. | main ()
  9492. | {
  9493. |
  9494. | ;
  9495. | return 0;
  9496. | }
  9497. configure:21141: result: no
  9498. configure:21113: checking whether C++ compiler accepts -Wcast-align
  9499. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wcast-align -I/opt/x86_64/include conftest.cpp >&5
  9500. configure:21132: $? = 0
  9501. configure:21141: result: yes
  9502. configure:21113: checking whether C++ compiler accepts -Wcast-qual
  9503. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wcast-qual -I/opt/x86_64/include conftest.cpp >&5
  9504. configure:21132: $? = 0
  9505. configure:21141: result: yes
  9506. configure:21113: checking whether C++ compiler accepts -Wconditionally-supported
  9507. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wconditionally-supported -I/opt/x86_64/include conftest.cpp >&5
  9508. error: unknown warning option '-Wconditionally-supported' [-Werror,-Wunknown-warning-option]
  9509. configure:21132: $? = 1
  9510. configure: failed program was:
  9511. | /* confdefs.h */
  9512. | #define PACKAGE_NAME "Exult"
  9513. | #define PACKAGE_TARNAME "exult"
  9514. | #define PACKAGE_VERSION "1.5.0git"
  9515. | #define PACKAGE_STRING "Exult 1.5.0git"
  9516. | #define PACKAGE_BUGREPORT ""
  9517. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9518. | #define PACKAGE "exult"
  9519. | #define VERSION "1.5.0git"
  9520. | #define PACKAGE "exult"
  9521. | #define VERSION "1.5.0git"
  9522. | #define MACOSX 1
  9523. | #define HAVE_CXX17 1
  9524. | #define STDC_HEADERS 1
  9525. | #define HAVE_SYS_TYPES_H 1
  9526. | #define HAVE_SYS_STAT_H 1
  9527. | #define HAVE_STDLIB_H 1
  9528. | #define HAVE_STRING_H 1
  9529. | #define HAVE_MEMORY_H 1
  9530. | #define HAVE_STRINGS_H 1
  9531. | #define HAVE_INTTYPES_H 1
  9532. | #define HAVE_STDINT_H 1
  9533. | #define HAVE_UNISTD_H 1
  9534. | #define HAVE_DLFCN_H 1
  9535. | #define LT_OBJDIR ".libs/"
  9536. | #define HAVE_INT8_T 1
  9537. | #define HAVE_INT16_T 1
  9538. | #define HAVE_INT32_T 1
  9539. | #define HAVE_INT64_T 1
  9540. | #define HAVE_INTPTR_T 1
  9541. | #define HAVE_UINT8_T 1
  9542. | #define HAVE_UINT16_T 1
  9543. | #define HAVE_UINT32_T 1
  9544. | #define HAVE_UINT64_T 1
  9545. | #define HAVE_UINTPTR_T 1
  9546. | #define HAVE_DIRENT_H 1
  9547. | #define STDC_HEADERS 1
  9548. | #define HAVE_LIMITS_H 1
  9549. | #define HAVE_SYS_TIME_H 1
  9550. | #define HAVE_UNISTD_H 1
  9551. | #define HAVE_SYS_TYPES_H 1
  9552. | #define HAVE_SYS_SOCKET_H 1
  9553. | #define HAVE_NETDB_H 1
  9554. | #define HAVE_SYS_WAIT_H 1
  9555. | #define HAVE_SIGNAL_H 1
  9556. | #define HAVE_PNG_H 1
  9557. | #define TIME_WITH_SYS_TIME 1
  9558. | #define HAVE_ATEXIT 1
  9559. | #define HAVE_DUP2 1
  9560. | #define HAVE_GETCWD 1
  9561. | #define HAVE_ISASCII 1
  9562. | #define HAVE_MEMCHR 1
  9563. | #define HAVE_MEMMOVE 1
  9564. | #define HAVE_MEMSET 1
  9565. | #define HAVE_MKDIR 1
  9566. | #define HAVE_POW 1
  9567. | #define HAVE_SELECT 1
  9568. | #define HAVE_SOCKET 1
  9569. | #define HAVE_STRCASECMP 1
  9570. | #define HAVE_STRCHR 1
  9571. | #define HAVE_STRSTR 1
  9572. | #define HAVE_STRTOL 1
  9573. | #define HAVE_STRTOUL 1
  9574. | #define HAVE_GETADDRINFO 1
  9575. | #define HAVE_MKSTEMP 1
  9576. | #define HAVE_SDL_H 1
  9577. | #define USE_TIMIDITY_MIDI 1
  9578. | #define HAVE_ZIP_SUPPORT 1
  9579. | #define USE_HQ2X_SCALER 1
  9580. | #define USE_HQ3X_SCALER 1
  9581. | #define USE_HQ4X_SCALER 1
  9582. | #define USE_XBR_SCALER 1
  9583. | /* end confdefs.h. */
  9584. |
  9585. | int
  9586. | main ()
  9587. | {
  9588. |
  9589. | ;
  9590. | return 0;
  9591. | }
  9592. configure:21141: result: no
  9593. configure:21113: checking whether C++ compiler accepts -Wctor-dtor-privacy
  9594. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wctor-dtor-privacy -I/opt/x86_64/include conftest.cpp >&5
  9595. configure:21132: $? = 0
  9596. configure:21141: result: yes
  9597. configure:21113: checking whether C++ compiler accepts -Wdisabled-optimization
  9598. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wdisabled-optimization -I/opt/x86_64/include conftest.cpp >&5
  9599. configure:21132: $? = 0
  9600. configure:21141: result: yes
  9601. configure:21113: checking whether C++ compiler accepts -Wduplicated-branches
  9602. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wduplicated-branches -I/opt/x86_64/include conftest.cpp >&5
  9603. error: unknown warning option '-Wduplicated-branches' [-Werror,-Wunknown-warning-option]
  9604. configure:21132: $? = 1
  9605. configure: failed program was:
  9606. | /* confdefs.h */
  9607. | #define PACKAGE_NAME "Exult"
  9608. | #define PACKAGE_TARNAME "exult"
  9609. | #define PACKAGE_VERSION "1.5.0git"
  9610. | #define PACKAGE_STRING "Exult 1.5.0git"
  9611. | #define PACKAGE_BUGREPORT ""
  9612. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9613. | #define PACKAGE "exult"
  9614. | #define VERSION "1.5.0git"
  9615. | #define PACKAGE "exult"
  9616. | #define VERSION "1.5.0git"
  9617. | #define MACOSX 1
  9618. | #define HAVE_CXX17 1
  9619. | #define STDC_HEADERS 1
  9620. | #define HAVE_SYS_TYPES_H 1
  9621. | #define HAVE_SYS_STAT_H 1
  9622. | #define HAVE_STDLIB_H 1
  9623. | #define HAVE_STRING_H 1
  9624. | #define HAVE_MEMORY_H 1
  9625. | #define HAVE_STRINGS_H 1
  9626. | #define HAVE_INTTYPES_H 1
  9627. | #define HAVE_STDINT_H 1
  9628. | #define HAVE_UNISTD_H 1
  9629. | #define HAVE_DLFCN_H 1
  9630. | #define LT_OBJDIR ".libs/"
  9631. | #define HAVE_INT8_T 1
  9632. | #define HAVE_INT16_T 1
  9633. | #define HAVE_INT32_T 1
  9634. | #define HAVE_INT64_T 1
  9635. | #define HAVE_INTPTR_T 1
  9636. | #define HAVE_UINT8_T 1
  9637. | #define HAVE_UINT16_T 1
  9638. | #define HAVE_UINT32_T 1
  9639. | #define HAVE_UINT64_T 1
  9640. | #define HAVE_UINTPTR_T 1
  9641. | #define HAVE_DIRENT_H 1
  9642. | #define STDC_HEADERS 1
  9643. | #define HAVE_LIMITS_H 1
  9644. | #define HAVE_SYS_TIME_H 1
  9645. | #define HAVE_UNISTD_H 1
  9646. | #define HAVE_SYS_TYPES_H 1
  9647. | #define HAVE_SYS_SOCKET_H 1
  9648. | #define HAVE_NETDB_H 1
  9649. | #define HAVE_SYS_WAIT_H 1
  9650. | #define HAVE_SIGNAL_H 1
  9651. | #define HAVE_PNG_H 1
  9652. | #define TIME_WITH_SYS_TIME 1
  9653. | #define HAVE_ATEXIT 1
  9654. | #define HAVE_DUP2 1
  9655. | #define HAVE_GETCWD 1
  9656. | #define HAVE_ISASCII 1
  9657. | #define HAVE_MEMCHR 1
  9658. | #define HAVE_MEMMOVE 1
  9659. | #define HAVE_MEMSET 1
  9660. | #define HAVE_MKDIR 1
  9661. | #define HAVE_POW 1
  9662. | #define HAVE_SELECT 1
  9663. | #define HAVE_SOCKET 1
  9664. | #define HAVE_STRCASECMP 1
  9665. | #define HAVE_STRCHR 1
  9666. | #define HAVE_STRSTR 1
  9667. | #define HAVE_STRTOL 1
  9668. | #define HAVE_STRTOUL 1
  9669. | #define HAVE_GETADDRINFO 1
  9670. | #define HAVE_MKSTEMP 1
  9671. | #define HAVE_SDL_H 1
  9672. | #define USE_TIMIDITY_MIDI 1
  9673. | #define HAVE_ZIP_SUPPORT 1
  9674. | #define USE_HQ2X_SCALER 1
  9675. | #define USE_HQ3X_SCALER 1
  9676. | #define USE_HQ4X_SCALER 1
  9677. | #define USE_XBR_SCALER 1
  9678. | /* end confdefs.h. */
  9679. |
  9680. | int
  9681. | main ()
  9682. | {
  9683. |
  9684. | ;
  9685. | return 0;
  9686. | }
  9687. configure:21141: result: no
  9688. configure:21113: checking whether C++ compiler accepts -Wduplicated-cond
  9689. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wduplicated-cond -I/opt/x86_64/include conftest.cpp >&5
  9690. error: unknown warning option '-Wduplicated-cond'; did you mean '-Wduplicate-enum'? [-Werror,-Wunknown-warning-option]
  9691. configure:21132: $? = 1
  9692. configure: failed program was:
  9693. | /* confdefs.h */
  9694. | #define PACKAGE_NAME "Exult"
  9695. | #define PACKAGE_TARNAME "exult"
  9696. | #define PACKAGE_VERSION "1.5.0git"
  9697. | #define PACKAGE_STRING "Exult 1.5.0git"
  9698. | #define PACKAGE_BUGREPORT ""
  9699. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9700. | #define PACKAGE "exult"
  9701. | #define VERSION "1.5.0git"
  9702. | #define PACKAGE "exult"
  9703. | #define VERSION "1.5.0git"
  9704. | #define MACOSX 1
  9705. | #define HAVE_CXX17 1
  9706. | #define STDC_HEADERS 1
  9707. | #define HAVE_SYS_TYPES_H 1
  9708. | #define HAVE_SYS_STAT_H 1
  9709. | #define HAVE_STDLIB_H 1
  9710. | #define HAVE_STRING_H 1
  9711. | #define HAVE_MEMORY_H 1
  9712. | #define HAVE_STRINGS_H 1
  9713. | #define HAVE_INTTYPES_H 1
  9714. | #define HAVE_STDINT_H 1
  9715. | #define HAVE_UNISTD_H 1
  9716. | #define HAVE_DLFCN_H 1
  9717. | #define LT_OBJDIR ".libs/"
  9718. | #define HAVE_INT8_T 1
  9719. | #define HAVE_INT16_T 1
  9720. | #define HAVE_INT32_T 1
  9721. | #define HAVE_INT64_T 1
  9722. | #define HAVE_INTPTR_T 1
  9723. | #define HAVE_UINT8_T 1
  9724. | #define HAVE_UINT16_T 1
  9725. | #define HAVE_UINT32_T 1
  9726. | #define HAVE_UINT64_T 1
  9727. | #define HAVE_UINTPTR_T 1
  9728. | #define HAVE_DIRENT_H 1
  9729. | #define STDC_HEADERS 1
  9730. | #define HAVE_LIMITS_H 1
  9731. | #define HAVE_SYS_TIME_H 1
  9732. | #define HAVE_UNISTD_H 1
  9733. | #define HAVE_SYS_TYPES_H 1
  9734. | #define HAVE_SYS_SOCKET_H 1
  9735. | #define HAVE_NETDB_H 1
  9736. | #define HAVE_SYS_WAIT_H 1
  9737. | #define HAVE_SIGNAL_H 1
  9738. | #define HAVE_PNG_H 1
  9739. | #define TIME_WITH_SYS_TIME 1
  9740. | #define HAVE_ATEXIT 1
  9741. | #define HAVE_DUP2 1
  9742. | #define HAVE_GETCWD 1
  9743. | #define HAVE_ISASCII 1
  9744. | #define HAVE_MEMCHR 1
  9745. | #define HAVE_MEMMOVE 1
  9746. | #define HAVE_MEMSET 1
  9747. | #define HAVE_MKDIR 1
  9748. | #define HAVE_POW 1
  9749. | #define HAVE_SELECT 1
  9750. | #define HAVE_SOCKET 1
  9751. | #define HAVE_STRCASECMP 1
  9752. | #define HAVE_STRCHR 1
  9753. | #define HAVE_STRSTR 1
  9754. | #define HAVE_STRTOL 1
  9755. | #define HAVE_STRTOUL 1
  9756. | #define HAVE_GETADDRINFO 1
  9757. | #define HAVE_MKSTEMP 1
  9758. | #define HAVE_SDL_H 1
  9759. | #define USE_TIMIDITY_MIDI 1
  9760. | #define HAVE_ZIP_SUPPORT 1
  9761. | #define USE_HQ2X_SCALER 1
  9762. | #define USE_HQ3X_SCALER 1
  9763. | #define USE_HQ4X_SCALER 1
  9764. | #define USE_XBR_SCALER 1
  9765. | /* end confdefs.h. */
  9766. |
  9767. | int
  9768. | main ()
  9769. | {
  9770. |
  9771. | ;
  9772. | return 0;
  9773. | }
  9774. configure:21141: result: no
  9775. configure:21113: checking whether C++ compiler accepts -Wextra-semi
  9776. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wextra-semi -I/opt/x86_64/include conftest.cpp >&5
  9777. configure:21132: $? = 0
  9778. configure:21141: result: yes
  9779. configure:21113: checking whether C++ compiler accepts -Wformat-nonliteral
  9780. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wformat-nonliteral -I/opt/x86_64/include conftest.cpp >&5
  9781. configure:21132: $? = 0
  9782. configure:21141: result: yes
  9783. configure:21113: checking whether C++ compiler accepts -Wformat-security
  9784. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wformat-security -I/opt/x86_64/include conftest.cpp >&5
  9785. configure:21132: $? = 0
  9786. configure:21141: result: yes
  9787. configure:21113: checking whether C++ compiler accepts -Wlogical-not-parentheses
  9788. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wlogical-not-parentheses -I/opt/x86_64/include conftest.cpp >&5
  9789. configure:21132: $? = 0
  9790. configure:21141: result: yes
  9791. configure:21113: checking whether C++ compiler accepts -Wlogical-op
  9792. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wlogical-op -I/opt/x86_64/include conftest.cpp >&5
  9793. error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Werror,-Wunknown-warning-option]
  9794. configure:21132: $? = 1
  9795. configure: failed program was:
  9796. | /* confdefs.h */
  9797. | #define PACKAGE_NAME "Exult"
  9798. | #define PACKAGE_TARNAME "exult"
  9799. | #define PACKAGE_VERSION "1.5.0git"
  9800. | #define PACKAGE_STRING "Exult 1.5.0git"
  9801. | #define PACKAGE_BUGREPORT ""
  9802. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9803. | #define PACKAGE "exult"
  9804. | #define VERSION "1.5.0git"
  9805. | #define PACKAGE "exult"
  9806. | #define VERSION "1.5.0git"
  9807. | #define MACOSX 1
  9808. | #define HAVE_CXX17 1
  9809. | #define STDC_HEADERS 1
  9810. | #define HAVE_SYS_TYPES_H 1
  9811. | #define HAVE_SYS_STAT_H 1
  9812. | #define HAVE_STDLIB_H 1
  9813. | #define HAVE_STRING_H 1
  9814. | #define HAVE_MEMORY_H 1
  9815. | #define HAVE_STRINGS_H 1
  9816. | #define HAVE_INTTYPES_H 1
  9817. | #define HAVE_STDINT_H 1
  9818. | #define HAVE_UNISTD_H 1
  9819. | #define HAVE_DLFCN_H 1
  9820. | #define LT_OBJDIR ".libs/"
  9821. | #define HAVE_INT8_T 1
  9822. | #define HAVE_INT16_T 1
  9823. | #define HAVE_INT32_T 1
  9824. | #define HAVE_INT64_T 1
  9825. | #define HAVE_INTPTR_T 1
  9826. | #define HAVE_UINT8_T 1
  9827. | #define HAVE_UINT16_T 1
  9828. | #define HAVE_UINT32_T 1
  9829. | #define HAVE_UINT64_T 1
  9830. | #define HAVE_UINTPTR_T 1
  9831. | #define HAVE_DIRENT_H 1
  9832. | #define STDC_HEADERS 1
  9833. | #define HAVE_LIMITS_H 1
  9834. | #define HAVE_SYS_TIME_H 1
  9835. | #define HAVE_UNISTD_H 1
  9836. | #define HAVE_SYS_TYPES_H 1
  9837. | #define HAVE_SYS_SOCKET_H 1
  9838. | #define HAVE_NETDB_H 1
  9839. | #define HAVE_SYS_WAIT_H 1
  9840. | #define HAVE_SIGNAL_H 1
  9841. | #define HAVE_PNG_H 1
  9842. | #define TIME_WITH_SYS_TIME 1
  9843. | #define HAVE_ATEXIT 1
  9844. | #define HAVE_DUP2 1
  9845. | #define HAVE_GETCWD 1
  9846. | #define HAVE_ISASCII 1
  9847. | #define HAVE_MEMCHR 1
  9848. | #define HAVE_MEMMOVE 1
  9849. | #define HAVE_MEMSET 1
  9850. | #define HAVE_MKDIR 1
  9851. | #define HAVE_POW 1
  9852. | #define HAVE_SELECT 1
  9853. | #define HAVE_SOCKET 1
  9854. | #define HAVE_STRCASECMP 1
  9855. | #define HAVE_STRCHR 1
  9856. | #define HAVE_STRSTR 1
  9857. | #define HAVE_STRTOL 1
  9858. | #define HAVE_STRTOUL 1
  9859. | #define HAVE_GETADDRINFO 1
  9860. | #define HAVE_MKSTEMP 1
  9861. | #define HAVE_SDL_H 1
  9862. | #define USE_TIMIDITY_MIDI 1
  9863. | #define HAVE_ZIP_SUPPORT 1
  9864. | #define USE_HQ2X_SCALER 1
  9865. | #define USE_HQ3X_SCALER 1
  9866. | #define USE_HQ4X_SCALER 1
  9867. | #define USE_XBR_SCALER 1
  9868. | /* end confdefs.h. */
  9869. |
  9870. | int
  9871. | main ()
  9872. | {
  9873. |
  9874. | ;
  9875. | return 0;
  9876. | }
  9877. configure:21141: result: no
  9878. configure:21113: checking whether C++ compiler accepts -Wmissing-include-dirs
  9879. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wmissing-include-dirs -I/opt/x86_64/include conftest.cpp >&5
  9880. configure:21132: $? = 0
  9881. configure:21141: result: yes
  9882. configure:21113: checking whether C++ compiler accepts -Wnon-virtual-dtor
  9883. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wnon-virtual-dtor -I/opt/x86_64/include conftest.cpp >&5
  9884. configure:21132: $? = 0
  9885. configure:21141: result: yes
  9886. configure:21113: checking whether C++ compiler accepts -Wnull-dereference
  9887. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wnull-dereference -I/opt/x86_64/include conftest.cpp >&5
  9888. configure:21132: $? = 0
  9889. configure:21141: result: yes
  9890. configure:21113: checking whether C++ compiler accepts -Wold-style-cast
  9891. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wold-style-cast -I/opt/x86_64/include conftest.cpp >&5
  9892. configure:21132: $? = 0
  9893. configure:21141: result: yes
  9894. configure:21113: checking whether C++ compiler accepts -Woverloaded-virtual
  9895. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Woverloaded-virtual -I/opt/x86_64/include conftest.cpp >&5
  9896. configure:21132: $? = 0
  9897. configure:21141: result: yes
  9898. configure:21113: checking whether C++ compiler accepts -Wplacement-new
  9899. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wplacement-new -I/opt/x86_64/include conftest.cpp >&5
  9900. error: unknown warning option '-Wplacement-new' [-Werror,-Wunknown-warning-option]
  9901. configure:21132: $? = 1
  9902. configure: failed program was:
  9903. | /* confdefs.h */
  9904. | #define PACKAGE_NAME "Exult"
  9905. | #define PACKAGE_TARNAME "exult"
  9906. | #define PACKAGE_VERSION "1.5.0git"
  9907. | #define PACKAGE_STRING "Exult 1.5.0git"
  9908. | #define PACKAGE_BUGREPORT ""
  9909. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  9910. | #define PACKAGE "exult"
  9911. | #define VERSION "1.5.0git"
  9912. | #define PACKAGE "exult"
  9913. | #define VERSION "1.5.0git"
  9914. | #define MACOSX 1
  9915. | #define HAVE_CXX17 1
  9916. | #define STDC_HEADERS 1
  9917. | #define HAVE_SYS_TYPES_H 1
  9918. | #define HAVE_SYS_STAT_H 1
  9919. | #define HAVE_STDLIB_H 1
  9920. | #define HAVE_STRING_H 1
  9921. | #define HAVE_MEMORY_H 1
  9922. | #define HAVE_STRINGS_H 1
  9923. | #define HAVE_INTTYPES_H 1
  9924. | #define HAVE_STDINT_H 1
  9925. | #define HAVE_UNISTD_H 1
  9926. | #define HAVE_DLFCN_H 1
  9927. | #define LT_OBJDIR ".libs/"
  9928. | #define HAVE_INT8_T 1
  9929. | #define HAVE_INT16_T 1
  9930. | #define HAVE_INT32_T 1
  9931. | #define HAVE_INT64_T 1
  9932. | #define HAVE_INTPTR_T 1
  9933. | #define HAVE_UINT8_T 1
  9934. | #define HAVE_UINT16_T 1
  9935. | #define HAVE_UINT32_T 1
  9936. | #define HAVE_UINT64_T 1
  9937. | #define HAVE_UINTPTR_T 1
  9938. | #define HAVE_DIRENT_H 1
  9939. | #define STDC_HEADERS 1
  9940. | #define HAVE_LIMITS_H 1
  9941. | #define HAVE_SYS_TIME_H 1
  9942. | #define HAVE_UNISTD_H 1
  9943. | #define HAVE_SYS_TYPES_H 1
  9944. | #define HAVE_SYS_SOCKET_H 1
  9945. | #define HAVE_NETDB_H 1
  9946. | #define HAVE_SYS_WAIT_H 1
  9947. | #define HAVE_SIGNAL_H 1
  9948. | #define HAVE_PNG_H 1
  9949. | #define TIME_WITH_SYS_TIME 1
  9950. | #define HAVE_ATEXIT 1
  9951. | #define HAVE_DUP2 1
  9952. | #define HAVE_GETCWD 1
  9953. | #define HAVE_ISASCII 1
  9954. | #define HAVE_MEMCHR 1
  9955. | #define HAVE_MEMMOVE 1
  9956. | #define HAVE_MEMSET 1
  9957. | #define HAVE_MKDIR 1
  9958. | #define HAVE_POW 1
  9959. | #define HAVE_SELECT 1
  9960. | #define HAVE_SOCKET 1
  9961. | #define HAVE_STRCASECMP 1
  9962. | #define HAVE_STRCHR 1
  9963. | #define HAVE_STRSTR 1
  9964. | #define HAVE_STRTOL 1
  9965. | #define HAVE_STRTOUL 1
  9966. | #define HAVE_GETADDRINFO 1
  9967. | #define HAVE_MKSTEMP 1
  9968. | #define HAVE_SDL_H 1
  9969. | #define USE_TIMIDITY_MIDI 1
  9970. | #define HAVE_ZIP_SUPPORT 1
  9971. | #define USE_HQ2X_SCALER 1
  9972. | #define USE_HQ3X_SCALER 1
  9973. | #define USE_HQ4X_SCALER 1
  9974. | #define USE_XBR_SCALER 1
  9975. | /* end confdefs.h. */
  9976. |
  9977. | int
  9978. | main ()
  9979. | {
  9980. |
  9981. | ;
  9982. | return 0;
  9983. | }
  9984. configure:21141: result: no
  9985. configure:21113: checking whether C++ compiler accepts -Wredundant-decls
  9986. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wredundant-decls -I/opt/x86_64/include conftest.cpp >&5
  9987. configure:21132: $? = 0
  9988. configure:21141: result: yes
  9989. configure:21113: checking whether C++ compiler accepts -Wshift-negative-value
  9990. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wshift-negative-value -I/opt/x86_64/include conftest.cpp >&5
  9991. configure:21132: $? = 0
  9992. configure:21141: result: yes
  9993. configure:21113: checking whether C++ compiler accepts -Wshift-overflow
  9994. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wshift-overflow -I/opt/x86_64/include conftest.cpp >&5
  9995. configure:21132: $? = 0
  9996. configure:21141: result: yes
  9997. configure:21113: checking whether C++ compiler accepts -Wtrigraphs
  9998. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wtrigraphs -I/opt/x86_64/include conftest.cpp >&5
  9999. configure:21132: $? = 0
  10000. configure:21141: result: yes
  10001. configure:21113: checking whether C++ compiler accepts -Wundef
  10002. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wundef -I/opt/x86_64/include conftest.cpp >&5
  10003. configure:21132: $? = 0
  10004. configure:21141: result: yes
  10005. configure:21113: checking whether C++ compiler accepts -Wuninitialized
  10006. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wuninitialized -I/opt/x86_64/include conftest.cpp >&5
  10007. configure:21132: $? = 0
  10008. configure:21141: result: yes
  10009. configure:21113: checking whether C++ compiler accepts -Wuseless-cast
  10010. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wuseless-cast -I/opt/x86_64/include conftest.cpp >&5
  10011. error: unknown warning option '-Wuseless-cast' [-Werror,-Wunknown-warning-option]
  10012. configure:21132: $? = 1
  10013. configure: failed program was:
  10014. | /* confdefs.h */
  10015. | #define PACKAGE_NAME "Exult"
  10016. | #define PACKAGE_TARNAME "exult"
  10017. | #define PACKAGE_VERSION "1.5.0git"
  10018. | #define PACKAGE_STRING "Exult 1.5.0git"
  10019. | #define PACKAGE_BUGREPORT ""
  10020. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  10021. | #define PACKAGE "exult"
  10022. | #define VERSION "1.5.0git"
  10023. | #define PACKAGE "exult"
  10024. | #define VERSION "1.5.0git"
  10025. | #define MACOSX 1
  10026. | #define HAVE_CXX17 1
  10027. | #define STDC_HEADERS 1
  10028. | #define HAVE_SYS_TYPES_H 1
  10029. | #define HAVE_SYS_STAT_H 1
  10030. | #define HAVE_STDLIB_H 1
  10031. | #define HAVE_STRING_H 1
  10032. | #define HAVE_MEMORY_H 1
  10033. | #define HAVE_STRINGS_H 1
  10034. | #define HAVE_INTTYPES_H 1
  10035. | #define HAVE_STDINT_H 1
  10036. | #define HAVE_UNISTD_H 1
  10037. | #define HAVE_DLFCN_H 1
  10038. | #define LT_OBJDIR ".libs/"
  10039. | #define HAVE_INT8_T 1
  10040. | #define HAVE_INT16_T 1
  10041. | #define HAVE_INT32_T 1
  10042. | #define HAVE_INT64_T 1
  10043. | #define HAVE_INTPTR_T 1
  10044. | #define HAVE_UINT8_T 1
  10045. | #define HAVE_UINT16_T 1
  10046. | #define HAVE_UINT32_T 1
  10047. | #define HAVE_UINT64_T 1
  10048. | #define HAVE_UINTPTR_T 1
  10049. | #define HAVE_DIRENT_H 1
  10050. | #define STDC_HEADERS 1
  10051. | #define HAVE_LIMITS_H 1
  10052. | #define HAVE_SYS_TIME_H 1
  10053. | #define HAVE_UNISTD_H 1
  10054. | #define HAVE_SYS_TYPES_H 1
  10055. | #define HAVE_SYS_SOCKET_H 1
  10056. | #define HAVE_NETDB_H 1
  10057. | #define HAVE_SYS_WAIT_H 1
  10058. | #define HAVE_SIGNAL_H 1
  10059. | #define HAVE_PNG_H 1
  10060. | #define TIME_WITH_SYS_TIME 1
  10061. | #define HAVE_ATEXIT 1
  10062. | #define HAVE_DUP2 1
  10063. | #define HAVE_GETCWD 1
  10064. | #define HAVE_ISASCII 1
  10065. | #define HAVE_MEMCHR 1
  10066. | #define HAVE_MEMMOVE 1
  10067. | #define HAVE_MEMSET 1
  10068. | #define HAVE_MKDIR 1
  10069. | #define HAVE_POW 1
  10070. | #define HAVE_SELECT 1
  10071. | #define HAVE_SOCKET 1
  10072. | #define HAVE_STRCASECMP 1
  10073. | #define HAVE_STRCHR 1
  10074. | #define HAVE_STRSTR 1
  10075. | #define HAVE_STRTOL 1
  10076. | #define HAVE_STRTOUL 1
  10077. | #define HAVE_GETADDRINFO 1
  10078. | #define HAVE_MKSTEMP 1
  10079. | #define HAVE_SDL_H 1
  10080. | #define USE_TIMIDITY_MIDI 1
  10081. | #define HAVE_ZIP_SUPPORT 1
  10082. | #define USE_HQ2X_SCALER 1
  10083. | #define USE_HQ3X_SCALER 1
  10084. | #define USE_HQ4X_SCALER 1
  10085. | #define USE_XBR_SCALER 1
  10086. | /* end confdefs.h. */
  10087. |
  10088. | int
  10089. | main ()
  10090. | {
  10091. |
  10092. | ;
  10093. | return 0;
  10094. | }
  10095. configure:21141: result: no
  10096. configure:21113: checking whether C++ compiler accepts -Wwrite-strings
  10097. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wwrite-strings -I/opt/x86_64/include conftest.cpp >&5
  10098. configure:21132: $? = 0
  10099. configure:21141: result: yes
  10100. configure:21113: checking whether C++ compiler accepts -Wzero-as-null-pointer-constant
  10101. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wzero-as-null-pointer-constant -I/opt/x86_64/include conftest.cpp >&5
  10102. configure:21132: $? = 0
  10103. configure:21141: result: yes
  10104. configure:21113: checking whether C++ compiler accepts -Wunused-const-variables
  10105. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wunused-const-variables -I/opt/x86_64/include conftest.cpp >&5
  10106. error: unknown warning option '-Wunused-const-variables'; did you mean '-Wunused-const-variable'? [-Werror,-Wunknown-warning-option]
  10107. configure:21132: $? = 1
  10108. configure: failed program was:
  10109. | /* confdefs.h */
  10110. | #define PACKAGE_NAME "Exult"
  10111. | #define PACKAGE_TARNAME "exult"
  10112. | #define PACKAGE_VERSION "1.5.0git"
  10113. | #define PACKAGE_STRING "Exult 1.5.0git"
  10114. | #define PACKAGE_BUGREPORT ""
  10115. | #define PACKAGE_URL "http://exult.sourceforge.net/"
  10116. | #define PACKAGE "exult"
  10117. | #define VERSION "1.5.0git"
  10118. | #define PACKAGE "exult"
  10119. | #define VERSION "1.5.0git"
  10120. | #define MACOSX 1
  10121. | #define HAVE_CXX17 1
  10122. | #define STDC_HEADERS 1
  10123. | #define HAVE_SYS_TYPES_H 1
  10124. | #define HAVE_SYS_STAT_H 1
  10125. | #define HAVE_STDLIB_H 1
  10126. | #define HAVE_STRING_H 1
  10127. | #define HAVE_MEMORY_H 1
  10128. | #define HAVE_STRINGS_H 1
  10129. | #define HAVE_INTTYPES_H 1
  10130. | #define HAVE_STDINT_H 1
  10131. | #define HAVE_UNISTD_H 1
  10132. | #define HAVE_DLFCN_H 1
  10133. | #define LT_OBJDIR ".libs/"
  10134. | #define HAVE_INT8_T 1
  10135. | #define HAVE_INT16_T 1
  10136. | #define HAVE_INT32_T 1
  10137. | #define HAVE_INT64_T 1
  10138. | #define HAVE_INTPTR_T 1
  10139. | #define HAVE_UINT8_T 1
  10140. | #define HAVE_UINT16_T 1
  10141. | #define HAVE_UINT32_T 1
  10142. | #define HAVE_UINT64_T 1
  10143. | #define HAVE_UINTPTR_T 1
  10144. | #define HAVE_DIRENT_H 1
  10145. | #define STDC_HEADERS 1
  10146. | #define HAVE_LIMITS_H 1
  10147. | #define HAVE_SYS_TIME_H 1
  10148. | #define HAVE_UNISTD_H 1
  10149. | #define HAVE_SYS_TYPES_H 1
  10150. | #define HAVE_SYS_SOCKET_H 1
  10151. | #define HAVE_NETDB_H 1
  10152. | #define HAVE_SYS_WAIT_H 1
  10153. | #define HAVE_SIGNAL_H 1
  10154. | #define HAVE_PNG_H 1
  10155. | #define TIME_WITH_SYS_TIME 1
  10156. | #define HAVE_ATEXIT 1
  10157. | #define HAVE_DUP2 1
  10158. | #define HAVE_GETCWD 1
  10159. | #define HAVE_ISASCII 1
  10160. | #define HAVE_MEMCHR 1
  10161. | #define HAVE_MEMMOVE 1
  10162. | #define HAVE_MEMSET 1
  10163. | #define HAVE_MKDIR 1
  10164. | #define HAVE_POW 1
  10165. | #define HAVE_SELECT 1
  10166. | #define HAVE_SOCKET 1
  10167. | #define HAVE_STRCASECMP 1
  10168. | #define HAVE_STRCHR 1
  10169. | #define HAVE_STRSTR 1
  10170. | #define HAVE_STRTOL 1
  10171. | #define HAVE_STRTOUL 1
  10172. | #define HAVE_GETADDRINFO 1
  10173. | #define HAVE_MKSTEMP 1
  10174. | #define HAVE_SDL_H 1
  10175. | #define USE_TIMIDITY_MIDI 1
  10176. | #define HAVE_ZIP_SUPPORT 1
  10177. | #define USE_HQ2X_SCALER 1
  10178. | #define USE_HQ3X_SCALER 1
  10179. | #define USE_HQ4X_SCALER 1
  10180. | #define USE_XBR_SCALER 1
  10181. | /* end confdefs.h. */
  10182. |
  10183. | int
  10184. | main ()
  10185. | {
  10186. |
  10187. | ;
  10188. | return 0;
  10189. | }
  10190. configure:21141: result: no
  10191. configure:21113: checking whether C++ compiler accepts -Wabsolute-value
  10192. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wabsolute-value -I/opt/x86_64/include conftest.cpp >&5
  10193. configure:21132: $? = 0
  10194. configure:21141: result: yes
  10195. configure:21113: checking whether C++ compiler accepts -Wdeprecated-register
  10196. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wdeprecated-register -I/opt/x86_64/include conftest.cpp >&5
  10197. configure:21132: $? = 0
  10198. configure:21141: result: yes
  10199. configure:21113: checking whether C++ compiler accepts -Wmismatched-tags
  10200. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wmismatched-tags -I/opt/x86_64/include conftest.cpp >&5
  10201. configure:21132: $? = 0
  10202. configure:21141: result: yes
  10203. configure:21113: checking whether C++ compiler accepts -Wunused-private-field
  10204. configure:21132: /usr/bin/clang++ -std=c++17 -c -I/opt/x86_64/include -stdlib=libc++ -O2 -Werror -Wunused-private-field -I/opt/x86_64/include conftest.cpp >&5
  10205. configure:21132: $? = 0
  10206. configure:21141: result: yes
  10207. configure:21166: checking whether to build only the main program
  10208. configure:21191: result: no
  10209. configure:21203: checking whether to build the usecode compiler
  10210. configure:21206: result: no
  10211. configure:21237: checking whether to build the data files
  10212. configure:21259: result: yes
  10213. configure:21271: checking whether to build the Exult mods
  10214. configure:21274: result: no
  10215. configure:21300: checking for freetype-config
  10216. configure:21318: found /opt/x86_64/bin//freetype-config
  10217. configure:21330: result: /opt/x86_64/bin//freetype-config
  10218. configure:21356: checking whether to build Exult Studio
  10219. configure:21383: result: no
  10220. configure:21396: checking whether to enable the usecode debugger
  10221. configure:21418: result: no
  10222. configure:21430: checking whether to display the usecode container in Gumps
  10223. configure:21439: result: no
  10224. configure:21451: checking whether to display non-readied objects in Gumps
  10225. configure:21460: result: no
  10226. configure:21472: checking whether to build the Gnome SHP Thumbnailer
  10227. configure:21499: result: no
  10228. configure:21519: checking whether to build the GIMP plugin
  10229. configure:21629: result: no
  10230. configure:21881: checking that generated files are newer than configure
  10231. configure:21887: result: done
  10232. configure:22010: creating ./config.status
  10233.  
  10234. ## ---------------------- ##
  10235. ## Running config.status. ##
  10236. ## ---------------------- ##
  10237.  
  10238. This file was extended by Exult config.status 1.5.0git, which was
  10239. generated by GNU Autoconf 2.69. Invocation command line was
  10240.  
  10241. CONFIG_FILES =
  10242. CONFIG_HEADERS =
  10243. CONFIG_LINKS =
  10244. CONFIG_COMMANDS =
  10245. $ ./config.status --quiet
  10246.  
  10247. on iMac.fritz.box
  10248.  
  10249. config.status:1320: creating exult.spec
  10250. config.status:1320: creating Info.plist
  10251. config.status:1320: creating Info-ios.plist
  10252. config.status:1320: creating Makefile
  10253. config.status:1320: creating audio/Makefile
  10254. config.status:1320: creating audio/midi_drivers/Makefile
  10255. config.status:1320: creating audio/midi_drivers/timidity/Makefile
  10256. config.status:1320: creating audio/midi_drivers/mt32emu/Makefile
  10257. config.status:1320: creating conf/Makefile
  10258. config.status:1320: creating content/Makefile
  10259. config.status:1320: creating content/sifixes/Makefile
  10260. config.status:1320: creating content/si/Makefile
  10261. config.status:1320: creating content/bgkeyring/Makefile
  10262. config.status:1320: creating content/bg/Makefile
  10263. config.status:1320: creating content/islefaq/Makefile
  10264. config.status:1320: creating files/Makefile
  10265. config.status:1320: creating files/sha1/Makefile
  10266. config.status:1320: creating files/zip/Makefile
  10267. config.status:1320: creating gamemgr/Makefile
  10268. config.status:1320: creating gumps/Makefile
  10269. config.status:1320: creating pathfinder/Makefile
  10270. config.status:1320: creating flic/Makefile
  10271. config.status:1320: creating tools/Makefile
  10272. config.status:1320: creating data/Makefile
  10273. config.status:1320: creating docs/Makefile
  10274. config.status:1320: creating desktop/Makefile
  10275. config.status:1320: creating objs/Makefile
  10276. config.status:1320: creating imagewin/Makefile
  10277. config.status:1320: creating shapes/Makefile
  10278. config.status:1320: creating shapes/shapeinf/Makefile
  10279. config.status:1320: creating usecode/Makefile
  10280. config.status:1320: creating usecode/compiler/Makefile
  10281. config.status:1320: creating usecode/ucxt/Makefile
  10282. config.status:1320: creating usecode/ucxt/Docs/Makefile
  10283. config.status:1320: creating usecode/ucxt/data/Makefile
  10284. config.status:1320: creating usecode/ucxt/include/Makefile
  10285. config.status:1320: creating usecode/ucxt/src/Makefile
  10286. config.status:1320: creating mapedit/Makefile
  10287. config.status:1320: creating server/Makefile
  10288. config.status:1320: creating config.h
  10289. config.status:1501: config.h is unchanged
  10290. config.status:1549: executing depfiles commands
  10291. config.status:1549: executing libtool commands
  10292.  
  10293. ## ---------------- ##
  10294. ## Cache variables. ##
  10295. ## ---------------- ##
  10296.  
  10297. ac_cv_build=x86_64-apple-darwin19.2.0
  10298. ac_cv_c_compiler_gnu=yes
  10299. ac_cv_c_const=yes
  10300. ac_cv_c_inline=inline
  10301. ac_cv_cxx_compiler_gnu=yes
  10302. ac_cv_env_CCC_set=
  10303. ac_cv_env_CCC_value=
  10304. ac_cv_env_CC_set=set
  10305. ac_cv_env_CC_value=/usr/bin/clang
  10306. ac_cv_env_CFLAGS_set=set
  10307. ac_cv_env_CFLAGS_value='-I/opt/x86_64/include '
  10308. ac_cv_env_CPPFLAGS_set=set
  10309. ac_cv_env_CPPFLAGS_value='-I/opt/x86_64/include '
  10310. ac_cv_env_CPP_set=
  10311. ac_cv_env_CPP_value=
  10312. ac_cv_env_CXXCPP_set=
  10313. ac_cv_env_CXXCPP_value=
  10314. ac_cv_env_CXXFLAGS_set=set
  10315. ac_cv_env_CXXFLAGS_value='-I/opt/x86_64/include '
  10316. ac_cv_env_CXX_set=set
  10317. ac_cv_env_CXX_value=/usr/bin/clang++
  10318. ac_cv_env_GLADE_CFLAGS_set=
  10319. ac_cv_env_GLADE_CFLAGS_value=
  10320. ac_cv_env_GLADE_LIBS_set=
  10321. ac_cv_env_GLADE_LIBS_value=
  10322. ac_cv_env_LDFLAGS_set=set
  10323. ac_cv_env_LDFLAGS_value='-L/opt/x86_64/lib '
  10324. ac_cv_env_LIBGNOMEUI_CFLAGS_set=
  10325. ac_cv_env_LIBGNOMEUI_CFLAGS_value=
  10326. ac_cv_env_LIBGNOMEUI_LIBS_set=
  10327. ac_cv_env_LIBGNOMEUI_LIBS_value=
  10328. ac_cv_env_LIBS_set=
  10329. ac_cv_env_LIBS_value=
  10330. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  10331. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  10332. ac_cv_env_OGG_CFLAGS_set=
  10333. ac_cv_env_OGG_CFLAGS_value=
  10334. ac_cv_env_OGG_LIBS_set=
  10335. ac_cv_env_OGG_LIBS_value=
  10336. ac_cv_env_PKG_CONFIG_LIBDIR_set=
  10337. ac_cv_env_PKG_CONFIG_LIBDIR_value=
  10338. ac_cv_env_PKG_CONFIG_PATH_set=set
  10339. ac_cv_env_PKG_CONFIG_PATH_value=/opt/x86_64/lib/pkgconfig
  10340. ac_cv_env_PKG_CONFIG_set=set
  10341. ac_cv_env_PKG_CONFIG_value=/opt/x86_64/bin/pkg-config
  10342. ac_cv_env_YACC_set=
  10343. ac_cv_env_YACC_value=
  10344. ac_cv_env_YFLAGS_set=
  10345. ac_cv_env_YFLAGS_value=
  10346. ac_cv_env_build_alias_set=
  10347. ac_cv_env_build_alias_value=
  10348. ac_cv_env_host_alias_set=
  10349. ac_cv_env_host_alias_value=
  10350. ac_cv_env_target_alias_set=
  10351. ac_cv_env_target_alias_value=
  10352. ac_cv_func_atexit=yes
  10353. ac_cv_func_dup2=yes
  10354. ac_cv_func_getaddrinfo=yes
  10355. ac_cv_func_getcwd=yes
  10356. ac_cv_func_isascii=yes
  10357. ac_cv_func_memchr=yes
  10358. ac_cv_func_memcmp_working=yes
  10359. ac_cv_func_memmove=yes
  10360. ac_cv_func_memset=yes
  10361. ac_cv_func_mkdir=yes
  10362. ac_cv_func_mkstemp=yes
  10363. ac_cv_func_pow=yes
  10364. ac_cv_func_select=yes
  10365. ac_cv_func_socket=yes
  10366. ac_cv_func_strcasecmp=yes
  10367. ac_cv_func_strchr=yes
  10368. ac_cv_func_strstr=yes
  10369. ac_cv_func_strtol=yes
  10370. ac_cv_func_strtoul=yes
  10371. ac_cv_header_alsa_asoundlib_h=no
  10372. ac_cv_header_dirent_dirent_h=yes
  10373. ac_cv_header_dlfcn_h=yes
  10374. ac_cv_header_fluidsynth_h=no
  10375. ac_cv_header_inttypes_h=yes
  10376. ac_cv_header_limits_h=yes
  10377. ac_cv_header_memory_h=yes
  10378. ac_cv_header_netdb_h=yes
  10379. ac_cv_header_png_h=yes
  10380. ac_cv_header_signal_h=yes
  10381. ac_cv_header_stdc=yes
  10382. ac_cv_header_stdint_h=yes
  10383. ac_cv_header_stdlib_h=yes
  10384. ac_cv_header_string_h=yes
  10385. ac_cv_header_strings_h=yes
  10386. ac_cv_header_sys_socket_h=yes
  10387. ac_cv_header_sys_stat_h=yes
  10388. ac_cv_header_sys_time_h=yes
  10389. ac_cv_header_sys_types_h=yes
  10390. ac_cv_header_sys_wait_h=yes
  10391. ac_cv_header_time=yes
  10392. ac_cv_header_unistd_h=yes
  10393. ac_cv_header_zlib_h=yes
  10394. ac_cv_host=x86_64-apple-darwin19.2.0
  10395. ac_cv_lib_lex='none needed'
  10396. ac_cv_objext=o
  10397. ac_cv_path_EGREP='/usr/bin/grep -E'
  10398. ac_cv_path_FGREP='/usr/bin/grep -F'
  10399. ac_cv_path_FT2CONFIG=/opt/x86_64/bin//freetype-config
  10400. ac_cv_path_GREP=/usr/bin/grep
  10401. ac_cv_path_SDL_CONFIG=/opt/x86_64/bin//sdl2-config
  10402. ac_cv_path_SED=/usr/bin/sed
  10403. ac_cv_path_install='/usr/bin/install -c'
  10404. ac_cv_path_lt_DD=/bin/dd
  10405. ac_cv_prog_AWK=awk
  10406. ac_cv_prog_CPP='/usr/bin/clang -E'
  10407. ac_cv_prog_CXXCPP='/usr/bin/clang++ -std=c++17 -E'
  10408. ac_cv_prog_LEX=flex
  10409. ac_cv_prog_YACC='bison -y'
  10410. ac_cv_prog_ac_ct_AR=ar
  10411. ac_cv_prog_ac_ct_CC=/usr/bin/clang
  10412. ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
  10413. ac_cv_prog_ac_ct_LIPO=lipo
  10414. ac_cv_prog_ac_ct_NMEDIT=nmedit
  10415. ac_cv_prog_ac_ct_OBJDUMP=objdump
  10416. ac_cv_prog_ac_ct_OTOOL=otool
  10417. ac_cv_prog_ac_ct_RANLIB=ranlib
  10418. ac_cv_prog_ac_ct_STRIP=strip
  10419. ac_cv_prog_cc_c89=
  10420. ac_cv_prog_cc_g=yes
  10421. ac_cv_prog_cxx_g=yes
  10422. ac_cv_prog_lex_root=lex.yy
  10423. ac_cv_prog_lex_yytext_pointer=no
  10424. ac_cv_prog_make_make_set=yes
  10425. ac_cv_search_opendir='none required'
  10426. ac_cv_struct_tm=time.h
  10427. ac_cv_target=x86_64-apple-darwin19.2.0
  10428. ac_cv_type_int16_t=yes
  10429. ac_cv_type_int32_t=yes
  10430. ac_cv_type_int64_t=yes
  10431. ac_cv_type_int8_t=yes
  10432. ac_cv_type_intptr_t=yes
  10433. ac_cv_type_size_t=yes
  10434. ac_cv_type_uint16_t=yes
  10435. ac_cv_type_uint32_t=yes
  10436. ac_cv_type_uint64_t=yes
  10437. ac_cv_type_uint8_t=yes
  10438. ac_cv_type_uintptr_t=yes
  10439. am_cv_CC_dependencies_compiler_type=gcc3
  10440. am_cv_CXX_dependencies_compiler_type=gcc3
  10441. am_cv_make_support_nested_variables=yes
  10442. am_cv_prog_cc_c_o=yes
  10443. ax_cv_check_cxxflags___O2___Werror__Wabsolute_value=yes
  10444. ax_cv_check_cxxflags___O2___Werror__Wall=yes
  10445. ax_cv_check_cxxflags___O2___Werror__Walloc_zero=no
  10446. ax_cv_check_cxxflags___O2___Werror__Walloca=no
  10447. ax_cv_check_cxxflags___O2___Werror__Wcast_align=yes
  10448. ax_cv_check_cxxflags___O2___Werror__Wcast_qual=yes
  10449. ax_cv_check_cxxflags___O2___Werror__Wcatch_value_3=no
  10450. ax_cv_check_cxxflags___O2___Werror__Wconditionally_supported=no
  10451. ax_cv_check_cxxflags___O2___Werror__Wcpp14_compat=yes
  10452. ax_cv_check_cxxflags___O2___Werror__Wcpp17_compat=yes
  10453. ax_cv_check_cxxflags___O2___Werror__Wctor_dtor_privacy=yes
  10454. ax_cv_check_cxxflags___O2___Werror__Wdeprecated_register=yes
  10455. ax_cv_check_cxxflags___O2___Werror__Wdisabled_optimization=yes
  10456. ax_cv_check_cxxflags___O2___Werror__Wduplicated_branches=no
  10457. ax_cv_check_cxxflags___O2___Werror__Wduplicated_cond=no
  10458. ax_cv_check_cxxflags___O2___Werror__Wextra=yes
  10459. ax_cv_check_cxxflags___O2___Werror__Wextra_semi=yes
  10460. ax_cv_check_cxxflags___O2___Werror__Wformat_nonliteral=yes
  10461. ax_cv_check_cxxflags___O2___Werror__Wformat_security=yes
  10462. ax_cv_check_cxxflags___O2___Werror__Wlogical_not_parentheses=yes
  10463. ax_cv_check_cxxflags___O2___Werror__Wlogical_op=no
  10464. ax_cv_check_cxxflags___O2___Werror__Wmismatched_tags=yes
  10465. ax_cv_check_cxxflags___O2___Werror__Wmissing_include_dirs=yes
  10466. ax_cv_check_cxxflags___O2___Werror__Wnon_virtual_dtor=yes
  10467. ax_cv_check_cxxflags___O2___Werror__Wnull_dereference=yes
  10468. ax_cv_check_cxxflags___O2___Werror__Wold_style_cast=yes
  10469. ax_cv_check_cxxflags___O2___Werror__Woverloaded_virtual=yes
  10470. ax_cv_check_cxxflags___O2___Werror__Wplacement_new=no
  10471. ax_cv_check_cxxflags___O2___Werror__Wredundant_decls=yes
  10472. ax_cv_check_cxxflags___O2___Werror__Wshift_negative_value=yes
  10473. ax_cv_check_cxxflags___O2___Werror__Wshift_overflow=yes
  10474. ax_cv_check_cxxflags___O2___Werror__Wtrigraphs=yes
  10475. ax_cv_check_cxxflags___O2___Werror__Wundef=yes
  10476. ax_cv_check_cxxflags___O2___Werror__Wuninitialized=yes
  10477. ax_cv_check_cxxflags___O2___Werror__Wunused_const_variables=no
  10478. ax_cv_check_cxxflags___O2___Werror__Wunused_private_field=yes
  10479. ax_cv_check_cxxflags___O2___Werror__Wuseless_cast=no
  10480. ax_cv_check_cxxflags___O2___Werror__Wwrite_strings=yes
  10481. ax_cv_check_cxxflags___O2___Werror__Wzero_as_null_pointer_constant=yes
  10482. ax_cv_check_cxxflags___O2___Werror__pedantic=yes
  10483. ax_cv_cxx_compile_cxx17__std_cpp17=yes
  10484. lt_cv_apple_cc_single_mod=yes
  10485. lt_cv_ar_at_file=no
  10486. lt_cv_deplibs_check_method=pass_all
  10487. lt_cv_file_magic_cmd='$MAGIC_CMD'
  10488. lt_cv_file_magic_test_file=
  10489. lt_cv_ld_exported_symbols_list=yes
  10490. lt_cv_ld_force_load=yes
  10491. lt_cv_ld_reload_flag=-r
  10492. lt_cv_nm_interface='BSD nm'
  10493. lt_cv_objdir=.libs
  10494. lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  10495. lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  10496. lt_cv_path_NM='/usr/bin/nm -B'
  10497. lt_cv_path_mainfest_tool=no
  10498. lt_cv_prog_compiler_c_o=yes
  10499. lt_cv_prog_compiler_c_o_CXX=yes
  10500. lt_cv_prog_compiler_pic='-fno-common -DPIC'
  10501. lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
  10502. lt_cv_prog_compiler_pic_works=yes
  10503. lt_cv_prog_compiler_pic_works_CXX=yes
  10504. lt_cv_prog_compiler_rtti_exceptions=yes
  10505. lt_cv_prog_compiler_static_works=no
  10506. lt_cv_prog_compiler_static_works_CXX=no
  10507. lt_cv_prog_gnu_ld=no
  10508. lt_cv_prog_gnu_ldcxx=no
  10509. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  10510. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  10511. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
  10512. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
  10513. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
  10514. lt_cv_sys_global_symbol_to_import=
  10515. lt_cv_sys_max_cmd_len=196608
  10516. lt_cv_to_host_file_cmd=func_convert_file_noop
  10517. lt_cv_to_tool_file_cmd=func_convert_file_noop
  10518. lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
  10519. pkg_cv_OGG_CFLAGS=-I/opt/x86_64/include
  10520. pkg_cv_OGG_LIBS='-L/opt/x86_64/lib -logg -lvorbis -lvorbisfile'
  10521.  
  10522. ## ----------------- ##
  10523. ## Output variables. ##
  10524. ## ----------------- ##
  10525.  
  10526. ACLOCAL='${SHELL} /Users/Dominus/code/git/exult/missing aclocal-1.15'
  10527. AMDEPBACKSLASH='\'
  10528. AMDEP_FALSE='#'
  10529. AMDEP_TRUE=''
  10530. AMTAR='$${TAR-tar}'
  10531. AM_BACKSLASH='\'
  10532. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  10533. AM_DEFAULT_VERBOSITY='1'
  10534. AM_V='$(V)'
  10535. AR='ar'
  10536. AR_FLAGS='cr'
  10537. AUTOCONF='${SHELL} /Users/Dominus/code/git/exult/missing autoconf'
  10538. AUTOHEADER='${SHELL} /Users/Dominus/code/git/exult/missing autoheader'
  10539. AUTOMAKE='${SHELL} /Users/Dominus/code/git/exult/missing automake-1.15'
  10540. AWK='awk'
  10541. BUILD_COMPILER_FALSE=''
  10542. BUILD_COMPILER_TRUE='#'
  10543. BUILD_GTHUMB_FALSE=''
  10544. BUILD_GTHUMB_TRUE='#'
  10545. BUILD_MODS_FALSE=''
  10546. BUILD_MODS_TRUE='#'
  10547. BUILD_MT32EMU_FALSE=''
  10548. BUILD_MT32EMU_TRUE='#'
  10549. BUILD_STUDIO_FALSE=''
  10550. BUILD_STUDIO_TRUE='#'
  10551. BUILD_TOOLS_FALSE='#'
  10552. BUILD_TOOLS_TRUE=''
  10553. CC='/usr/bin/clang'
  10554. CCDEPMODE='depmode=gcc3'
  10555. CFLAGS=' -I/opt/x86_64/include'
  10556. CPP='/usr/bin/clang -E'
  10557. CPPFLAGS='-I/opt/x86_64/include '
  10558. CROSS_COMPILING_FALSE=''
  10559. CROSS_COMPILING_TRUE='#'
  10560. CXX='/usr/bin/clang++ -std=c++17'
  10561. CXXCPP='/usr/bin/clang++ -std=c++17 -E'
  10562. CXXDEPMODE='depmode=gcc3'
  10563. CXXFLAGS=' -I/opt/x86_64/include -stdlib=libc++ '
  10564. CYGPATH_W='echo'
  10565. DATA_FILES_FALSE='#'
  10566. DATA_FILES_TRUE=''
  10567. DEBUG_FLAGS=' -O2 -Wall -Wextra -pedantic -Wc++14-compat -Wc++17-compat -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wextra-semi -Wformat-nonliteral -Wformat-security -Wlogical-not-parentheses -Wmissing-include-dirs -Wnon-virtual-dtor -Wnull-dereference -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshift-negative-value -Wshift-overflow -Wtrigraphs -Wundef -Wuninitialized -Wwrite-strings -Wzero-as-null-pointer-constant -Wabsolute-value -Wdeprecated-register -Wmismatched-tags -Wunused-private-field'
  10568. DEFS='-DHAVE_CONFIG_H'
  10569. DEPDIR='.deps'
  10570. DESKTOPDIR='${datarootdir}/applications'
  10571. DLLTOOL='false'
  10572. DSYMUTIL='dsymutil'
  10573. DUMPBIN=''
  10574. ECHO_C='\c'
  10575. ECHO_N=''
  10576. ECHO_T=''
  10577. EGREP='/usr/bin/grep -E'
  10578. EXEEXT=''
  10579. EXE_TARGET='exult'
  10580. EXPACK=''
  10581. EXULT_DATADIR='/Library/Application\ Support/Exult/data'
  10582. FGREP='/usr/bin/grep -F'
  10583. FREETYPE2_INCLUDES='-I/opt/x86_64/include/freetype2'
  10584. FREETYPE2_LIBS='-L/opt/x86_64/lib -lfreetype'
  10585. FT2CONFIG='/opt/x86_64/bin//freetype-config'
  10586. GCC_AR=''
  10587. GCC_NM=''
  10588. GCC_RANLIB=''
  10589. GIMPTOOL=''
  10590. GIMP_INCLUDES=''
  10591. GIMP_LIBS=''
  10592. GIMP_PLUGIN_FALSE=''
  10593. GIMP_PLUGIN_PREFIX=''
  10594. GIMP_PLUGIN_TRUE='#'
  10595. GLADE_CFLAGS=''
  10596. GLADE_LIBS=''
  10597. GREP='/usr/bin/grep'
  10598. HAVE_CXX14=''
  10599. HAVE_CXX17='1'
  10600. HAVE_PNG_FALSE='#'
  10601. HAVE_PNG_TRUE=''
  10602. HEAD2DATA=''
  10603. ICONDIR='${datarootdir}/icons'
  10604. ICON_FILE=''
  10605. INSTALL_DATA='${INSTALL} -m 644'
  10606. INSTALL_PROGRAM='${INSTALL}'
  10607. INSTALL_SCRIPT='${INSTALL}'
  10608. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  10609. LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
  10610. LDFLAGS='-L/opt/x86_64/lib '
  10611. LEX='flex'
  10612. LEXLIB=''
  10613. LEXYACC_FALSE='#'
  10614. LEXYACC_TRUE=''
  10615. LEX_OUTPUT_ROOT='lex.yy'
  10616. LIBGNOMEUI_CFLAGS=''
  10617. LIBGNOMEUI_LIBS=''
  10618. LIBOBJS=''
  10619. LIBS=''
  10620. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  10621. LIBTOOL_DEPS='./ltmain.sh'
  10622. LIPO='lipo'
  10623. LN_S='ln -s'
  10624. LTLIBOBJS=''
  10625. LTO_CFLAGS=''
  10626. LT_SYS_LIBRARY_PATH=''
  10627. MACOSX_FALSE='#'
  10628. MACOSX_TRUE=''
  10629. MAKEINFO='${SHELL} /Users/Dominus/code/git/exult/missing makeinfo'
  10630. MANIFEST_TOOL=':'
  10631. MKDIR_P='./install-sh -c -d'
  10632. NM='/usr/bin/nm -B'
  10633. NMEDIT='nmedit'
  10634. OBJDUMP='objdump'
  10635. OBJEXT='o'
  10636. OGG_CFLAGS='-I/opt/x86_64/include'
  10637. OGG_LIBS='-L/opt/x86_64/lib -logg -lvorbis -lvorbisfile'
  10638. OSX_CODE_SIGNATURE=''
  10639. OTOOL64=':'
  10640. OTOOL='otool'
  10641. PACKAGE='exult'
  10642. PACKAGE_BUGREPORT=''
  10643. PACKAGE_NAME='Exult'
  10644. PACKAGE_STRING='Exult 1.5.0git'
  10645. PACKAGE_TARNAME='exult'
  10646. PACKAGE_URL='http://exult.sourceforge.net/'
  10647. PACKAGE_VERSION='1.5.0git'
  10648. PATH_SEPARATOR=':'
  10649. PKG_CONFIG='/opt/x86_64/bin/pkg-config'
  10650. PKG_CONFIG_LIBDIR=''
  10651. PKG_CONFIG_PATH='/opt/x86_64/lib/pkgconfig'
  10652. RANLIB='ranlib'
  10653. SDL_CFLAGS='-I/opt/x86_64/include/SDL2 -D_THREAD_SAFE'
  10654. SDL_CONFIG='/opt/x86_64/bin//sdl2-config'
  10655. SDL_LIBS='-L/opt/x86_64/lib -lSDL2'
  10656. SED='/usr/bin/sed'
  10657. SET_MAKE=''
  10658. SHELL='/bin/sh'
  10659. STRIP='strip'
  10660. SYSLIBS='-framework CoreFoundation -framework AudioUnit -framework AudioToolbox -framework CoreMIDI'
  10661. VERSION='1.5.0git'
  10662. VORBISENC_LIBS=''
  10663. VORBISFILE_LIBS=''
  10664. VORBIS_CFLAGS=''
  10665. VORBIS_LIBS=''
  10666. WARNINGS=' -Wall -Wextra -pedantic -Wc++14-compat -Wc++17-compat -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wextra-semi -Wformat-nonliteral -Wformat-security -Wlogical-not-parentheses -Wmissing-include-dirs -Wnon-virtual-dtor -Wnull-dereference -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshift-negative-value -Wshift-overflow -Wtrigraphs -Wundef -Wuninitialized -Wwrite-strings -Wzero-as-null-pointer-constant -Wabsolute-value -Wdeprecated-register -Wmismatched-tags -Wunused-private-field'
  10667. WINDOWING_SYSTEM='-DMACOSX'
  10668. WITH_OSX_CODE_SIGNATURE_FALSE=''
  10669. WITH_OSX_CODE_SIGNATURE_TRUE='#'
  10670. YACC='bison -y'
  10671. YFLAGS=''
  10672. ZLIB_LIBS='-lz'
  10673. ac_ct_AR='ar'
  10674. ac_ct_CC='/usr/bin/clang'
  10675. ac_ct_CXX=''
  10676. ac_ct_DUMPBIN=''
  10677. am__EXEEXT_FALSE=''
  10678. am__EXEEXT_TRUE='#'
  10679. am__fastdepCC_FALSE='#'
  10680. am__fastdepCC_TRUE=''
  10681. am__fastdepCXX_FALSE='#'
  10682. am__fastdepCXX_TRUE=''
  10683. am__include='include'
  10684. am__isrc=''
  10685. am__leading_dot='.'
  10686. am__nodep='_no'
  10687. am__quote=''
  10688. am__tar='$${TAR-tar} chof - "$$tardir"'
  10689. am__untar='$${TAR-tar} xf -'
  10690. bindir='${exec_prefix}/bin'
  10691. build='x86_64-apple-darwin19.2.0'
  10692. build_alias=''
  10693. build_cpu='x86_64'
  10694. build_os='darwin19.2.0'
  10695. build_vendor='apple'
  10696. datadir='${datarootdir}'
  10697. datarootdir='${prefix}/share'
  10698. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  10699. dvidir='${docdir}'
  10700. exec_prefix='${prefix}'
  10701. host='x86_64-apple-darwin19.2.0'
  10702. host_alias=''
  10703. host_cpu='x86_64'
  10704. host_os='darwin19.2.0'
  10705. host_vendor='apple'
  10706. htmldir='${docdir}'
  10707. includedir='${prefix}/include'
  10708. infodir='${datarootdir}/info'
  10709. install_sh='${SHELL} /Users/Dominus/code/git/exult/install-sh'
  10710. libdir='${exec_prefix}/lib'
  10711. libexecdir='${exec_prefix}/libexec'
  10712. localedir='${datarootdir}/locale'
  10713. localstatedir='${prefix}/var'
  10714. mandir='${datarootdir}/man'
  10715. mkdir_p='$(MKDIR_P)'
  10716. oldincludedir='/usr/include'
  10717. pdfdir='${docdir}'
  10718. prefix='/usr/local'
  10719. program_transform_name='s,x,x,'
  10720. psdir='${docdir}'
  10721. sbindir='${exec_prefix}/sbin'
  10722. sharedstatedir='${prefix}/com'
  10723. sysconfdir='${prefix}/etc'
  10724. target='x86_64-apple-darwin19.2.0'
  10725. target_alias=''
  10726. target_cpu='x86_64'
  10727. target_os='darwin19.2.0'
  10728. target_vendor='apple'
  10729. x_libraries=''
  10730.  
  10731. ## ----------- ##
  10732. ## confdefs.h. ##
  10733. ## ----------- ##
  10734.  
  10735. /* confdefs.h */
  10736. #define PACKAGE_NAME "Exult"
  10737. #define PACKAGE_TARNAME "exult"
  10738. #define PACKAGE_VERSION "1.5.0git"
  10739. #define PACKAGE_STRING "Exult 1.5.0git"
  10740. #define PACKAGE_BUGREPORT ""
  10741. #define PACKAGE_URL "http://exult.sourceforge.net/"
  10742. #define PACKAGE "exult"
  10743. #define VERSION "1.5.0git"
  10744. #define PACKAGE "exult"
  10745. #define VERSION "1.5.0git"
  10746. #define MACOSX 1
  10747. #define HAVE_CXX17 1
  10748. #define STDC_HEADERS 1
  10749. #define HAVE_SYS_TYPES_H 1
  10750. #define HAVE_SYS_STAT_H 1
  10751. #define HAVE_STDLIB_H 1
  10752. #define HAVE_STRING_H 1
  10753. #define HAVE_MEMORY_H 1
  10754. #define HAVE_STRINGS_H 1
  10755. #define HAVE_INTTYPES_H 1
  10756. #define HAVE_STDINT_H 1
  10757. #define HAVE_UNISTD_H 1
  10758. #define HAVE_DLFCN_H 1
  10759. #define LT_OBJDIR ".libs/"
  10760. #define HAVE_INT8_T 1
  10761. #define HAVE_INT16_T 1
  10762. #define HAVE_INT32_T 1
  10763. #define HAVE_INT64_T 1
  10764. #define HAVE_INTPTR_T 1
  10765. #define HAVE_UINT8_T 1
  10766. #define HAVE_UINT16_T 1
  10767. #define HAVE_UINT32_T 1
  10768. #define HAVE_UINT64_T 1
  10769. #define HAVE_UINTPTR_T 1
  10770. #define HAVE_DIRENT_H 1
  10771. #define STDC_HEADERS 1
  10772. #define HAVE_LIMITS_H 1
  10773. #define HAVE_SYS_TIME_H 1
  10774. #define HAVE_UNISTD_H 1
  10775. #define HAVE_SYS_TYPES_H 1
  10776. #define HAVE_SYS_SOCKET_H 1
  10777. #define HAVE_NETDB_H 1
  10778. #define HAVE_SYS_WAIT_H 1
  10779. #define HAVE_SIGNAL_H 1
  10780. #define HAVE_PNG_H 1
  10781. #define TIME_WITH_SYS_TIME 1
  10782. #define HAVE_ATEXIT 1
  10783. #define HAVE_DUP2 1
  10784. #define HAVE_GETCWD 1
  10785. #define HAVE_ISASCII 1
  10786. #define HAVE_MEMCHR 1
  10787. #define HAVE_MEMMOVE 1
  10788. #define HAVE_MEMSET 1
  10789. #define HAVE_MKDIR 1
  10790. #define HAVE_POW 1
  10791. #define HAVE_SELECT 1
  10792. #define HAVE_SOCKET 1
  10793. #define HAVE_STRCASECMP 1
  10794. #define HAVE_STRCHR 1
  10795. #define HAVE_STRSTR 1
  10796. #define HAVE_STRTOL 1
  10797. #define HAVE_STRTOUL 1
  10798. #define HAVE_GETADDRINFO 1
  10799. #define HAVE_MKSTEMP 1
  10800. #define HAVE_SDL_H 1
  10801. #define USE_TIMIDITY_MIDI 1
  10802. #define HAVE_ZIP_SUPPORT 1
  10803. #define USE_HQ2X_SCALER 1
  10804. #define USE_HQ3X_SCALER 1
  10805. #define USE_HQ4X_SCALER 1
  10806. #define USE_XBR_SCALER 1
  10807. #define HAVE_FREETYPE2 1
  10808.  
  10809. configure: exit 0
Add Comment
Please, Sign In to add comment