Guest User

config.log

a guest
Nov 27th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.96 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 OpenModelica configure dev, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --prefix=/opt/local --with-omniORB=/opt/local --disable-python-interface --disable-modelica3d --without-paradiseo --disable-omnotebook --with-lapack=-llapack -lblas --without-rml --without-omc
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = elMaco.local
  14. uname -m = x86_64
  15. uname -r = 13.0.0
  16. uname -s = Darwin
  17. uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/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 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
  27. Kernel configured for up to 8 processors.
  28. 8 processors are physically available.
  29. 8 processors are logically available.
  30. Processor type: i486 (Intel 80486)
  31. Processors active: 0 1 2 3 4 5 6 7
  32. Primary memory available: 10.00 gigabytes
  33. Default processor set: 260 tasks, 1535 threads, 8 processors
  34. Load average: 2.44, Mach factor: 5.54
  35. /bin/machine = unknown
  36. /usr/bin/oslevel = unknown
  37. /bin/universe = unknown
  38.  
  39. PATH: /opt/local/bin
  40. PATH: /opt/local/sbin
  41. PATH: /bin
  42. PATH: /sbin
  43. PATH: /usr/bin
  44. PATH: /usr/sbin
  45.  
  46.  
  47. ## ----------- ##
  48. ## Core tests. ##
  49. ## ----------- ##
  50.  
  51. configure:2506: checking build system type
  52. configure:2520: result: x86_64-apple-darwin13.0.0
  53. configure:2540: checking host system type
  54. configure:2553: result: x86_64-apple-darwin13.0.0
  55. configure:2644: checking for gcc
  56. configure:2671: result: /usr/bin/clang
  57. configure:2900: checking for C compiler version
  58. configure:2909: /usr/bin/clang --version >&5
  59. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  60. Target: x86_64-apple-darwin13.0.0
  61. Thread model: posix
  62. configure:2920: $? = 0
  63. configure:2909: /usr/bin/clang -v >&5
  64. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  65. Target: x86_64-apple-darwin13.0.0
  66. Thread model: posix
  67. configure:2920: $? = 0
  68. configure:2909: /usr/bin/clang -V >&5
  69. clang: error: argument to '-V' is missing (expected 1 value)
  70. clang: error: no input files
  71. configure:2920: $? = 1
  72. configure:2909: /usr/bin/clang -qversion >&5
  73. clang: error: no input files
  74. configure:2920: $? = 1
  75. configure:2940: checking whether the C compiler works
  76. configure:2962: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  77. configure:2966: $? = 0
  78. configure:3014: result: yes
  79. configure:3017: checking for C compiler default output file name
  80. configure:3019: result: a.out
  81. configure:3025: checking for suffix of executables
  82. configure:3032: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  83. configure:3036: $? = 0
  84. configure:3058: result:
  85. configure:3080: checking whether we are cross compiling
  86. configure:3088: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  87. configure:3092: $? = 0
  88. configure:3099: ./conftest
  89. configure:3103: $? = 0
  90. configure:3118: result: no
  91. configure:3123: checking for suffix of object files
  92. configure:3145: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  93. configure:3149: $? = 0
  94. configure:3170: result: o
  95. configure:3174: checking whether we are using the GNU C compiler
  96. configure:3193: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  97. configure:3193: $? = 0
  98. configure:3202: result: yes
  99. configure:3211: checking whether /usr/bin/clang accepts -g
  100. configure:3231: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
  101. configure:3231: $? = 0
  102. configure:3272: result: yes
  103. configure:3289: checking for /usr/bin/clang option to accept ISO C89
  104. configure:3352: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  105. configure:3352: $? = 0
  106. configure:3365: result: none needed
  107. configure:3497: checking for C++ compiler version
  108. configure:3506: /usr/bin/clang++ --version >&5
  109. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  110. Target: x86_64-apple-darwin13.0.0
  111. Thread model: posix
  112. configure:3517: $? = 0
  113. configure:3506: /usr/bin/clang++ -v >&5
  114. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  115. Target: x86_64-apple-darwin13.0.0
  116. Thread model: posix
  117. configure:3517: $? = 0
  118. configure:3506: /usr/bin/clang++ -V >&5
  119. clang: error: argument to '-V' is missing (expected 1 value)
  120. clang: error: no input files
  121. configure:3517: $? = 1
  122. configure:3506: /usr/bin/clang++ -qversion >&5
  123. clang: error: no input files
  124. configure:3517: $? = 1
  125. configure:3521: checking whether we are using the GNU C++ compiler
  126. configure:3540: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -stdlib=libc++ -I/opt/local/include conftest.cpp >&5
  127. configure:3540: $? = 0
  128. configure:3549: result: yes
  129. configure:3558: checking whether /usr/bin/clang++ accepts -g
  130. configure:3578: /usr/bin/clang++ -c -g -I/opt/local/include conftest.cpp >&5
  131. configure:3578: $? = 0
  132. configure:3619: result: yes
  133. configure:3647: checking how to run the C preprocessor
  134. configure:3678: /usr/bin/clang -E -I/opt/local/include conftest.c
  135. configure:3678: $? = 0
  136. configure:3692: /usr/bin/clang -E -I/opt/local/include conftest.c
  137. conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
  138. #include <ac_nonexistent.h>
  139. ^
  140. 1 error generated.
  141. configure:3692: $? = 1
  142. configure: failed program was:
  143. | /* confdefs.h */
  144. | #define PACKAGE_NAME "OpenModelica"
  145. | #define PACKAGE_TARNAME "openmodelica"
  146. | #define PACKAGE_VERSION "dev"
  147. | #define PACKAGE_STRING "OpenModelica dev"
  148. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  149. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  150. | /* end confdefs.h. */
  151. | #include <ac_nonexistent.h>
  152. configure:3717: result: /usr/bin/clang -E
  153. configure:3737: /usr/bin/clang -E -I/opt/local/include conftest.c
  154. configure:3737: $? = 0
  155. configure:3751: /usr/bin/clang -E -I/opt/local/include conftest.c
  156. conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
  157. #include <ac_nonexistent.h>
  158. ^
  159. 1 error generated.
  160. configure:3751: $? = 1
  161. configure: failed program was:
  162. | /* confdefs.h */
  163. | #define PACKAGE_NAME "OpenModelica"
  164. | #define PACKAGE_TARNAME "openmodelica"
  165. | #define PACKAGE_VERSION "dev"
  166. | #define PACKAGE_STRING "OpenModelica dev"
  167. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  168. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  169. | /* end confdefs.h. */
  170. | #include <ac_nonexistent.h>
  171. configure:3779: checking whether make sets $(MAKE)
  172. configure:3801: result: yes
  173. configure:3815: checking for flex
  174. configure:3831: found /opt/local/bin/flex
  175. configure:3842: result: flex
  176. configure:3880: flex conftest.l
  177. configure:3884: $? = 0
  178. configure:3886: checking lex output file root
  179. configure:3900: result: lex.yy
  180. configure:3905: checking lex library
  181. configure:3919: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  182. Undefined symbols for architecture x86_64:
  183. "_yywrap", referenced from:
  184. _yylex in conftest-x3GjKS.o
  185. _main in conftest-x3GjKS.o
  186. ld: symbol(s) not found for architecture x86_64
  187. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  188. configure:3919: $? = 1
  189. configure: failed program was:
  190. | /* confdefs.h */
  191. | #define PACKAGE_NAME "OpenModelica"
  192. | #define PACKAGE_TARNAME "openmodelica"
  193. | #define PACKAGE_VERSION "dev"
  194. | #define PACKAGE_STRING "OpenModelica dev"
  195. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  196. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  197. | /* end confdefs.h. */
  198. |
  199. | #line 3 "lex.yy.c"
  200. |
  201. | #define YY_INT_ALIGNED short int
  202. |
  203. | /* A lexical scanner generated by flex */
  204. |
  205. | #define FLEX_SCANNER
  206. | #define YY_FLEX_MAJOR_VERSION 2
  207. | #define YY_FLEX_MINOR_VERSION 5
  208. | #define YY_FLEX_SUBMINOR_VERSION 37
  209. | #if YY_FLEX_SUBMINOR_VERSION > 0
  210. | #define FLEX_BETA
  211. | #endif
  212. |
  213. | /* First, we deal with platform-specific or compiler-specific issues. */
  214. |
  215. | /* begin standard C headers. */
  216. | #include <stdio.h>
  217. | #include <string.h>
  218. | #include <errno.h>
  219. | #include <stdlib.h>
  220. |
  221. | /* end standard C headers. */
  222. |
  223. | /* flex integer type definitions */
  224. |
  225. | #ifndef FLEXINT_H
  226. | #define FLEXINT_H
  227. |
  228. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  229. |
  230. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  231. |
  232. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  233. | * if you want the limit (max/min) macros for int types.
  234. | */
  235. | #ifndef __STDC_LIMIT_MACROS
  236. | #define __STDC_LIMIT_MACROS 1
  237. | #endif
  238. |
  239. | #include <inttypes.h>
  240. | typedef int8_t flex_int8_t;
  241. | typedef uint8_t flex_uint8_t;
  242. | typedef int16_t flex_int16_t;
  243. | typedef uint16_t flex_uint16_t;
  244. | typedef int32_t flex_int32_t;
  245. | typedef uint32_t flex_uint32_t;
  246. | #else
  247. | typedef signed char flex_int8_t;
  248. | typedef short int flex_int16_t;
  249. | typedef int flex_int32_t;
  250. | typedef unsigned char flex_uint8_t;
  251. | typedef unsigned short int flex_uint16_t;
  252. | typedef unsigned int flex_uint32_t;
  253. |
  254. | /* Limits of integral types. */
  255. | #ifndef INT8_MIN
  256. | #define INT8_MIN (-128)
  257. | #endif
  258. | #ifndef INT16_MIN
  259. | #define INT16_MIN (-32767-1)
  260. | #endif
  261. | #ifndef INT32_MIN
  262. | #define INT32_MIN (-2147483647-1)
  263. | #endif
  264. | #ifndef INT8_MAX
  265. | #define INT8_MAX (127)
  266. | #endif
  267. | #ifndef INT16_MAX
  268. | #define INT16_MAX (32767)
  269. | #endif
  270. | #ifndef INT32_MAX
  271. | #define INT32_MAX (2147483647)
  272. | #endif
  273. | #ifndef UINT8_MAX
  274. | #define UINT8_MAX (255U)
  275. | #endif
  276. | #ifndef UINT16_MAX
  277. | #define UINT16_MAX (65535U)
  278. | #endif
  279. | #ifndef UINT32_MAX
  280. | #define UINT32_MAX (4294967295U)
  281. | #endif
  282. |
  283. | #endif /* ! C99 */
  284. |
  285. | #endif /* ! FLEXINT_H */
  286. |
  287. | #ifdef __cplusplus
  288. |
  289. | /* The "const" storage-class-modifier is valid. */
  290. | #define YY_USE_CONST
  291. |
  292. | #else /* ! __cplusplus */
  293. |
  294. | /* C99 requires __STDC__ to be defined as 1. */
  295. | #if defined (__STDC__)
  296. |
  297. | #define YY_USE_CONST
  298. |
  299. | #endif /* defined (__STDC__) */
  300. | #endif /* ! __cplusplus */
  301. |
  302. | #ifdef YY_USE_CONST
  303. | #define yyconst const
  304. | #else
  305. | #define yyconst
  306. | #endif
  307. |
  308. | /* Returned upon end-of-file. */
  309. | #define YY_NULL 0
  310. |
  311. | /* Promotes a possibly negative, possibly signed char to an unsigned
  312. | * integer for use as an array index. If the signed char is negative,
  313. | * we want to instead treat it as an 8-bit unsigned char, hence the
  314. | * double cast.
  315. | */
  316. | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  317. |
  318. | /* Enter a start condition. This macro really ought to take a parameter,
  319. | * but we do it the disgusting crufty way forced on us by the ()-less
  320. | * definition of BEGIN.
  321. | */
  322. | #define BEGIN (yy_start) = 1 + 2 *
  323. |
  324. | /* Translate the current start state into a value that can be later handed
  325. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  326. | * compatibility.
  327. | */
  328. | #define YY_START (((yy_start) - 1) / 2)
  329. | #define YYSTATE YY_START
  330. |
  331. | /* Action number for EOF rule of a given start state. */
  332. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  333. |
  334. | /* Special action meaning "start processing a new file". */
  335. | #define YY_NEW_FILE yyrestart(yyin )
  336. |
  337. | #define YY_END_OF_BUFFER_CHAR 0
  338. |
  339. | /* Size of default input buffer. */
  340. | #ifndef YY_BUF_SIZE
  341. | #define YY_BUF_SIZE 16384
  342. | #endif
  343. |
  344. | /* The state buf must be large enough to hold one state per character in the main buffer.
  345. | */
  346. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  347. |
  348. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  349. | #define YY_TYPEDEF_YY_BUFFER_STATE
  350. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  351. | #endif
  352. |
  353. | #ifndef YY_TYPEDEF_YY_SIZE_T
  354. | #define YY_TYPEDEF_YY_SIZE_T
  355. | typedef size_t yy_size_t;
  356. | #endif
  357. |
  358. | extern yy_size_t yyleng;
  359. |
  360. | extern FILE *yyin, *yyout;
  361. |
  362. | #define EOB_ACT_CONTINUE_SCAN 0
  363. | #define EOB_ACT_END_OF_FILE 1
  364. | #define EOB_ACT_LAST_MATCH 2
  365. |
  366. | #define YY_LESS_LINENO(n)
  367. |
  368. | /* Return all but the first "n" matched characters back to the input stream. */
  369. | #define yyless(n) \
  370. | do \
  371. | { \
  372. | /* Undo effects of setting up yytext. */ \
  373. | int yyless_macro_arg = (n); \
  374. | YY_LESS_LINENO(yyless_macro_arg);\
  375. | *yy_cp = (yy_hold_char); \
  376. | YY_RESTORE_YY_MORE_OFFSET \
  377. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  378. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  379. | } \
  380. | while ( 0 )
  381. |
  382. | #define unput(c) yyunput( c, (yytext_ptr) )
  383. |
  384. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  385. | #define YY_STRUCT_YY_BUFFER_STATE
  386. | struct yy_buffer_state
  387. | {
  388. | FILE *yy_input_file;
  389. |
  390. | char *yy_ch_buf; /* input buffer */
  391. | char *yy_buf_pos; /* current position in input buffer */
  392. |
  393. | /* Size of input buffer in bytes, not including room for EOB
  394. | * characters.
  395. | */
  396. | yy_size_t yy_buf_size;
  397. |
  398. | /* Number of characters read into yy_ch_buf, not including EOB
  399. | * characters.
  400. | */
  401. | yy_size_t yy_n_chars;
  402. |
  403. | /* Whether we "own" the buffer - i.e., we know we created it,
  404. | * and can realloc() it to grow it, and should free() it to
  405. | * delete it.
  406. | */
  407. | int yy_is_our_buffer;
  408. |
  409. | /* Whether this is an "interactive" input source; if so, and
  410. | * if we're using stdio for input, then we want to use getc()
  411. | * instead of fread(), to make sure we stop fetching input after
  412. | * each newline.
  413. | */
  414. | int yy_is_interactive;
  415. |
  416. | /* Whether we're considered to be at the beginning of a line.
  417. | * If so, '^' rules will be active on the next match, otherwise
  418. | * not.
  419. | */
  420. | int yy_at_bol;
  421. |
  422. | int yy_bs_lineno; /**< The line count. */
  423. | int yy_bs_column; /**< The column count. */
  424. |
  425. | /* Whether to try to fill the input buffer when we reach the
  426. | * end of it.
  427. | */
  428. | int yy_fill_buffer;
  429. |
  430. | int yy_buffer_status;
  431. |
  432. | #define YY_BUFFER_NEW 0
  433. | #define YY_BUFFER_NORMAL 1
  434. | /* When an EOF's been seen but there's still some text to process
  435. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  436. | * shouldn't try reading from the input source any more. We might
  437. | * still have a bunch of tokens to match, though, because of
  438. | * possible backing-up.
  439. | *
  440. | * When we actually see the EOF, we change the status to "new"
  441. | * (via yyrestart()), so that the user can continue scanning by
  442. | * just pointing yyin at a new input file.
  443. | */
  444. | #define YY_BUFFER_EOF_PENDING 2
  445. |
  446. | };
  447. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  448. |
  449. | /* Stack of input buffers. */
  450. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  451. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  452. | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
  453. |
  454. | /* We provide macros for accessing buffer states in case in the
  455. | * future we want to put the buffer states in a more general
  456. | * "scanner state".
  457. | *
  458. | * Returns the top of the stack, or NULL.
  459. | */
  460. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  461. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  462. | : NULL)
  463. |
  464. | /* Same as previous macro, but useful when we know that the buffer stack is not
  465. | * NULL or when we need an lvalue. For internal use only.
  466. | */
  467. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  468. |
  469. | /* yy_hold_char holds the character lost when yytext is formed. */
  470. | static char yy_hold_char;
  471. | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
  472. | yy_size_t yyleng;
  473. |
  474. | /* Points to current character in buffer. */
  475. | static char *yy_c_buf_p = (char *) 0;
  476. | static int yy_init = 0; /* whether we need to initialize */
  477. | static int yy_start = 0; /* start state number */
  478. |
  479. | /* Flag which is used to allow yywrap()'s to do buffer switches
  480. | * instead of setting up a fresh yyin. A bit of a hack ...
  481. | */
  482. | static int yy_did_buffer_switch_on_eof;
  483. |
  484. | void yyrestart (FILE *input_file );
  485. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  486. | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  487. | void yy_delete_buffer (YY_BUFFER_STATE b );
  488. | void yy_flush_buffer (YY_BUFFER_STATE b );
  489. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  490. | void yypop_buffer_state (void );
  491. |
  492. | static void yyensure_buffer_stack (void );
  493. | static void yy_load_buffer_state (void );
  494. | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
  495. |
  496. | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
  497. |
  498. | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  499. | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  500. | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  501. |
  502. | void *yyalloc (yy_size_t );
  503. | void *yyrealloc (void *,yy_size_t );
  504. | void yyfree (void * );
  505. |
  506. | #define yy_new_buffer yy_create_buffer
  507. |
  508. | #define yy_set_interactive(is_interactive) \
  509. | { \
  510. | if ( ! YY_CURRENT_BUFFER ){ \
  511. | yyensure_buffer_stack (); \
  512. | YY_CURRENT_BUFFER_LVALUE = \
  513. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  514. | } \
  515. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  516. | }
  517. |
  518. | #define yy_set_bol(at_bol) \
  519. | { \
  520. | if ( ! YY_CURRENT_BUFFER ){\
  521. | yyensure_buffer_stack (); \
  522. | YY_CURRENT_BUFFER_LVALUE = \
  523. | yy_create_buffer(yyin,YY_BUF_SIZE ); \
  524. | } \
  525. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  526. | }
  527. |
  528. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  529. |
  530. | /* Begin user sect3 */
  531. |
  532. | typedef unsigned char YY_CHAR;
  533. |
  534. | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  535. |
  536. | typedef int yy_state_type;
  537. |
  538. | extern int yylineno;
  539. |
  540. | int yylineno = 1;
  541. |
  542. | extern char *yytext;
  543. | #define yytext_ptr yytext
  544. |
  545. | static yy_state_type yy_get_previous_state (void );
  546. | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
  547. | static int yy_get_next_buffer (void );
  548. | static void yy_fatal_error (yyconst char msg[] );
  549. |
  550. | /* Done after the current pattern has been matched and before the
  551. | * corresponding action - sets up yytext.
  552. | */
  553. | #define YY_DO_BEFORE_ACTION \
  554. | (yytext_ptr) = yy_bp; \
  555. | (yytext_ptr) -= (yy_more_len); \
  556. | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
  557. | (yy_hold_char) = *yy_cp; \
  558. | *yy_cp = '\0'; \
  559. | (yy_c_buf_p) = yy_cp;
  560. |
  561. | #define YY_NUM_RULES 8
  562. | #define YY_END_OF_BUFFER 9
  563. | /* This struct is not used in this scanner,
  564. | but its presence is necessary. */
  565. | struct yy_trans_info
  566. | {
  567. | flex_int32_t yy_verify;
  568. | flex_int32_t yy_nxt;
  569. | };
  570. | static yyconst flex_int16_t yy_acclist[23] =
  571. | { 0,
  572. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  573. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  574. | 7, 8
  575. | } ;
  576. |
  577. | static yyconst flex_int16_t yy_accept[14] =
  578. | { 0,
  579. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  580. | 20, 23, 23
  581. | } ;
  582. |
  583. | static yyconst flex_int32_t yy_ec[256] =
  584. | { 0,
  585. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  586. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  587. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  588. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  589. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  590. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  591. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  592. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  593. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  594. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  595. |
  596. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  597. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  598. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  599. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  600. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  601. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  602. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  603. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  604. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  605. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  606. |
  607. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  608. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  609. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  610. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  611. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  612. | 1, 1, 1, 1, 1
  613. | } ;
  614. |
  615. | static yyconst flex_int32_t yy_meta[9] =
  616. | { 0,
  617. | 1, 1, 1, 1, 1, 1, 1, 1
  618. | } ;
  619. |
  620. | static yyconst flex_int16_t yy_base[13] =
  621. | { 0,
  622. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  623. | 10, 10
  624. | } ;
  625. |
  626. | static yyconst flex_int16_t yy_def[13] =
  627. | { 0,
  628. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  629. | 12, 0
  630. | } ;
  631. |
  632. | static yyconst flex_int16_t yy_nxt[19] =
  633. | { 0,
  634. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  635. | 12, 12, 12, 12, 12, 12, 12, 12
  636. | } ;
  637. |
  638. | static yyconst flex_int16_t yy_chk[19] =
  639. | { 0,
  640. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  641. | 12, 12, 12, 12, 12, 12, 12, 12
  642. | } ;
  643. |
  644. | extern int yy_flex_debug;
  645. | int yy_flex_debug = 0;
  646. |
  647. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  648. | static char *yy_full_match;
  649. | static int yy_lp;
  650. | #define REJECT \
  651. | { \
  652. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  653. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  654. | ++(yy_lp); \
  655. | goto find_rule; \
  656. | }
  657. |
  658. | static int yy_more_flag = 0;
  659. | static int yy_more_len = 0;
  660. | #define yymore() ((yy_more_flag) = 1)
  661. | #define YY_MORE_ADJ (yy_more_len)
  662. | #define YY_RESTORE_YY_MORE_OFFSET
  663. | char *yytext;
  664. | #line 1 "conftest.l"
  665. | #line 469 "lex.yy.c"
  666. |
  667. | #define INITIAL 0
  668. |
  669. | #ifndef YY_NO_UNISTD_H
  670. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  671. | * down here because we want the user's section 1 to have been scanned first.
  672. | * The user has a chance to override it with an option.
  673. | */
  674. | #include <unistd.h>
  675. | #endif
  676. |
  677. | #ifndef YY_EXTRA_TYPE
  678. | #define YY_EXTRA_TYPE void *
  679. | #endif
  680. |
  681. | static int yy_init_globals (void );
  682. |
  683. | /* Accessor methods to globals.
  684. | These are made visible to non-reentrant scanners for convenience. */
  685. |
  686. | int yylex_destroy (void );
  687. |
  688. | int yyget_debug (void );
  689. |
  690. | void yyset_debug (int debug_flag );
  691. |
  692. | YY_EXTRA_TYPE yyget_extra (void );
  693. |
  694. | void yyset_extra (YY_EXTRA_TYPE user_defined );
  695. |
  696. | FILE *yyget_in (void );
  697. |
  698. | void yyset_in (FILE * in_str );
  699. |
  700. | FILE *yyget_out (void );
  701. |
  702. | void yyset_out (FILE * out_str );
  703. |
  704. | yy_size_t yyget_leng (void );
  705. |
  706. | char *yyget_text (void );
  707. |
  708. | int yyget_lineno (void );
  709. |
  710. | void yyset_lineno (int line_number );
  711. |
  712. | /* Macros after this point can all be overridden by user definitions in
  713. | * section 1.
  714. | */
  715. |
  716. | #ifndef YY_SKIP_YYWRAP
  717. | #ifdef __cplusplus
  718. | extern "C" int yywrap (void );
  719. | #else
  720. | extern int yywrap (void );
  721. | #endif
  722. | #endif
  723. |
  724. | static void yyunput (int c,char *buf_ptr );
  725. |
  726. | #ifndef yytext_ptr
  727. | static void yy_flex_strncpy (char *,yyconst char *,int );
  728. | #endif
  729. |
  730. | #ifdef YY_NEED_STRLEN
  731. | static int yy_flex_strlen (yyconst char * );
  732. | #endif
  733. |
  734. | #ifndef YY_NO_INPUT
  735. |
  736. | #ifdef __cplusplus
  737. | static int yyinput (void );
  738. | #else
  739. | static int input (void );
  740. | #endif
  741. |
  742. | #endif
  743. |
  744. | /* Amount of stuff to slurp up with each read. */
  745. | #ifndef YY_READ_BUF_SIZE
  746. | #define YY_READ_BUF_SIZE 8192
  747. | #endif
  748. |
  749. | /* Copy whatever the last rule matched to the standard output. */
  750. | #ifndef ECHO
  751. | /* This used to be an fputs(), but since the string might contain NUL's,
  752. | * we now use fwrite().
  753. | */
  754. | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  755. | #endif
  756. |
  757. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  758. | * is returned in "result".
  759. | */
  760. | #ifndef YY_INPUT
  761. | #define YY_INPUT(buf,result,max_size) \
  762. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  763. | { \
  764. | int c = '*'; \
  765. | size_t n; \
  766. | for ( n = 0; n < max_size && \
  767. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  768. | buf[n] = (char) c; \
  769. | if ( c == '\n' ) \
  770. | buf[n++] = (char) c; \
  771. | if ( c == EOF && ferror( yyin ) ) \
  772. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  773. | result = n; \
  774. | } \
  775. | else \
  776. | { \
  777. | errno=0; \
  778. | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  779. | { \
  780. | if( errno != EINTR) \
  781. | { \
  782. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  783. | break; \
  784. | } \
  785. | errno=0; \
  786. | clearerr(yyin); \
  787. | } \
  788. | }\
  789. | \
  790. |
  791. | #endif
  792. |
  793. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  794. | * we don't want an extra ';' after the "return" because that will cause
  795. | * some compilers to complain about unreachable statements.
  796. | */
  797. | #ifndef yyterminate
  798. | #define yyterminate() return YY_NULL
  799. | #endif
  800. |
  801. | /* Number of entries by which start-condition stack grows. */
  802. | #ifndef YY_START_STACK_INCR
  803. | #define YY_START_STACK_INCR 25
  804. | #endif
  805. |
  806. | /* Report a fatal error. */
  807. | #ifndef YY_FATAL_ERROR
  808. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  809. | #endif
  810. |
  811. | /* end tables serialization structures and prototypes */
  812. |
  813. | /* Default declaration of generated scanner - a define so the user can
  814. | * easily add parameters.
  815. | */
  816. | #ifndef YY_DECL
  817. | #define YY_DECL_IS_OURS 1
  818. |
  819. | extern int yylex (void);
  820. |
  821. | #define YY_DECL int yylex (void)
  822. | #endif /* !YY_DECL */
  823. |
  824. | /* Code executed at the beginning of each rule, after yytext and yyleng
  825. | * have been set up.
  826. | */
  827. | #ifndef YY_USER_ACTION
  828. | #define YY_USER_ACTION
  829. | #endif
  830. |
  831. | /* Code executed at the end of each rule. */
  832. | #ifndef YY_BREAK
  833. | #define YY_BREAK break;
  834. | #endif
  835. |
  836. | #define YY_RULE_SETUP \
  837. | YY_USER_ACTION
  838. |
  839. | /** The main scanner function which does all the work.
  840. | */
  841. | YY_DECL
  842. | {
  843. | register yy_state_type yy_current_state;
  844. | register char *yy_cp, *yy_bp;
  845. | register int yy_act;
  846. |
  847. | #line 1 "conftest.l"
  848. |
  849. | #line 653 "lex.yy.c"
  850. |
  851. | if ( !(yy_init) )
  852. | {
  853. | (yy_init) = 1;
  854. |
  855. | #ifdef YY_USER_INIT
  856. | YY_USER_INIT;
  857. | #endif
  858. |
  859. | /* Create the reject buffer large enough to save one state per allowed character. */
  860. | if ( ! (yy_state_buf) )
  861. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  862. | if ( ! (yy_state_buf) )
  863. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  864. |
  865. | if ( ! (yy_start) )
  866. | (yy_start) = 1; /* first start state */
  867. |
  868. | if ( ! yyin )
  869. | yyin = stdin;
  870. |
  871. | if ( ! yyout )
  872. | yyout = stdout;
  873. |
  874. | if ( ! YY_CURRENT_BUFFER ) {
  875. | yyensure_buffer_stack ();
  876. | YY_CURRENT_BUFFER_LVALUE =
  877. | yy_create_buffer(yyin,YY_BUF_SIZE );
  878. | }
  879. |
  880. | yy_load_buffer_state( );
  881. | }
  882. |
  883. | while ( 1 ) /* loops until end-of-file is reached */
  884. | {
  885. | (yy_more_len) = 0;
  886. | if ( (yy_more_flag) )
  887. | {
  888. | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
  889. | (yy_more_flag) = 0;
  890. | }
  891. | yy_cp = (yy_c_buf_p);
  892. |
  893. | /* Support of yytext. */
  894. | *yy_cp = (yy_hold_char);
  895. |
  896. | /* yy_bp points to the position in yy_ch_buf of the start of
  897. | * the current run.
  898. | */
  899. | yy_bp = yy_cp;
  900. |
  901. | yy_current_state = (yy_start);
  902. |
  903. | (yy_state_ptr) = (yy_state_buf);
  904. | *(yy_state_ptr)++ = yy_current_state;
  905. |
  906. | yy_match:
  907. | do
  908. | {
  909. | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  910. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  911. | {
  912. | yy_current_state = (int) yy_def[yy_current_state];
  913. | if ( yy_current_state >= 13 )
  914. | yy_c = yy_meta[(unsigned int) yy_c];
  915. | }
  916. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  917. | *(yy_state_ptr)++ = yy_current_state;
  918. | ++yy_cp;
  919. | }
  920. | while ( yy_base[yy_current_state] != 10 );
  921. |
  922. | yy_find_action:
  923. | yy_current_state = *--(yy_state_ptr);
  924. | (yy_lp) = yy_accept[yy_current_state];
  925. | find_rule: /* we branch to this label when backing up */
  926. | for ( ; ; ) /* until we find what rule we matched */
  927. | {
  928. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  929. | {
  930. | yy_act = yy_acclist[(yy_lp)];
  931. | {
  932. | (yy_full_match) = yy_cp;
  933. | break;
  934. | }
  935. | }
  936. | --yy_cp;
  937. | yy_current_state = *--(yy_state_ptr);
  938. | (yy_lp) = yy_accept[yy_current_state];
  939. | }
  940. |
  941. | YY_DO_BEFORE_ACTION;
  942. |
  943. | do_action: /* This label is used only to access EOF actions. */
  944. |
  945. | switch ( yy_act )
  946. | { /* beginning of action switch */
  947. | case 1:
  948. | YY_RULE_SETUP
  949. | #line 2 "conftest.l"
  950. | { ECHO; }
  951. | YY_BREAK
  952. | case 2:
  953. | YY_RULE_SETUP
  954. | #line 3 "conftest.l"
  955. | { REJECT; }
  956. | YY_BREAK
  957. | case 3:
  958. | YY_RULE_SETUP
  959. | #line 4 "conftest.l"
  960. | { yymore (); }
  961. | YY_BREAK
  962. | case 4:
  963. | YY_RULE_SETUP
  964. | #line 5 "conftest.l"
  965. | { yyless (1); }
  966. | YY_BREAK
  967. | case 5:
  968. | YY_RULE_SETUP
  969. | #line 6 "conftest.l"
  970. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  971. | yyless ((input () != 0)); }
  972. | YY_BREAK
  973. | case 6:
  974. | YY_RULE_SETUP
  975. | #line 8 "conftest.l"
  976. | { unput (yytext[0]); }
  977. | YY_BREAK
  978. | case 7:
  979. | YY_RULE_SETUP
  980. | #line 9 "conftest.l"
  981. | { BEGIN INITIAL; }
  982. | YY_BREAK
  983. | case 8:
  984. | YY_RULE_SETUP
  985. | #line 10 "conftest.l"
  986. | ECHO;
  987. | YY_BREAK
  988. | #line 792 "lex.yy.c"
  989. | case YY_STATE_EOF(INITIAL):
  990. | yyterminate();
  991. |
  992. | case YY_END_OF_BUFFER:
  993. | {
  994. | /* Amount of text matched not including the EOB char. */
  995. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  996. |
  997. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  998. | *yy_cp = (yy_hold_char);
  999. | YY_RESTORE_YY_MORE_OFFSET
  1000. |
  1001. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1002. | {
  1003. | /* We're scanning a new file or input source. It's
  1004. | * possible that this happened because the user
  1005. | * just pointed yyin at a new source and called
  1006. | * yylex(). If so, then we have to assure
  1007. | * consistency between YY_CURRENT_BUFFER and our
  1008. | * globals. Here is the right place to do so, because
  1009. | * this is the first action (other than possibly a
  1010. | * back-up) that will match for the new input source.
  1011. | */
  1012. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1013. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1014. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1015. | }
  1016. |
  1017. | /* Note that here we test for yy_c_buf_p "<=" to the position
  1018. | * of the first EOB in the buffer, since yy_c_buf_p will
  1019. | * already have been incremented past the NUL character
  1020. | * (since all states make transitions on EOB to the
  1021. | * end-of-buffer state). Contrast this with the test
  1022. | * in input().
  1023. | */
  1024. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1025. | { /* This was really a NUL. */
  1026. | yy_state_type yy_next_state;
  1027. |
  1028. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1029. |
  1030. | yy_current_state = yy_get_previous_state( );
  1031. |
  1032. | /* Okay, we're now positioned to make the NUL
  1033. | * transition. We couldn't have
  1034. | * yy_get_previous_state() go ahead and do it
  1035. | * for us because it doesn't know how to deal
  1036. | * with the possibility of jamming (and we don't
  1037. | * want to build jamming into it because then it
  1038. | * will run more slowly).
  1039. | */
  1040. |
  1041. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  1042. |
  1043. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1044. |
  1045. | if ( yy_next_state )
  1046. | {
  1047. | /* Consume the NUL. */
  1048. | yy_cp = ++(yy_c_buf_p);
  1049. | yy_current_state = yy_next_state;
  1050. | goto yy_match;
  1051. | }
  1052. |
  1053. | else
  1054. | {
  1055. | yy_cp = (yy_c_buf_p);
  1056. | goto yy_find_action;
  1057. | }
  1058. | }
  1059. |
  1060. | else switch ( yy_get_next_buffer( ) )
  1061. | {
  1062. | case EOB_ACT_END_OF_FILE:
  1063. | {
  1064. | (yy_did_buffer_switch_on_eof) = 0;
  1065. |
  1066. | if ( yywrap( ) )
  1067. | {
  1068. | /* Note: because we've taken care in
  1069. | * yy_get_next_buffer() to have set up
  1070. | * yytext, we can now set up
  1071. | * yy_c_buf_p so that if some total
  1072. | * hoser (like flex itself) wants to
  1073. | * call the scanner after we return the
  1074. | * YY_NULL, it'll still work - another
  1075. | * YY_NULL will get returned.
  1076. | */
  1077. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1078. |
  1079. | yy_act = YY_STATE_EOF(YY_START);
  1080. | goto do_action;
  1081. | }
  1082. |
  1083. | else
  1084. | {
  1085. | if ( ! (yy_did_buffer_switch_on_eof) )
  1086. | YY_NEW_FILE;
  1087. | }
  1088. | break;
  1089. | }
  1090. |
  1091. | case EOB_ACT_CONTINUE_SCAN:
  1092. | (yy_c_buf_p) =
  1093. | (yytext_ptr) + yy_amount_of_matched_text;
  1094. |
  1095. | yy_current_state = yy_get_previous_state( );
  1096. |
  1097. | yy_cp = (yy_c_buf_p);
  1098. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1099. | goto yy_match;
  1100. |
  1101. | case EOB_ACT_LAST_MATCH:
  1102. | (yy_c_buf_p) =
  1103. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1104. |
  1105. | yy_current_state = yy_get_previous_state( );
  1106. |
  1107. | yy_cp = (yy_c_buf_p);
  1108. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1109. | goto yy_find_action;
  1110. | }
  1111. | break;
  1112. | }
  1113. |
  1114. | default:
  1115. | YY_FATAL_ERROR(
  1116. | "fatal flex scanner internal error--no action found" );
  1117. | } /* end of action switch */
  1118. | } /* end of scanning one token */
  1119. | } /* end of yylex */
  1120. |
  1121. | /* yy_get_next_buffer - try to read in a new buffer
  1122. | *
  1123. | * Returns a code representing an action:
  1124. | * EOB_ACT_LAST_MATCH -
  1125. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1126. | * EOB_ACT_END_OF_FILE - end of file
  1127. | */
  1128. | static int yy_get_next_buffer (void)
  1129. | {
  1130. | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1131. | register char *source = (yytext_ptr);
  1132. | register int number_to_move, i;
  1133. | int ret_val;
  1134. |
  1135. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1136. | YY_FATAL_ERROR(
  1137. | "fatal flex scanner internal error--end of buffer missed" );
  1138. |
  1139. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1140. | { /* Don't try to fill the buffer, so this is an EOF. */
  1141. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1142. | {
  1143. | /* We matched a single character, the EOB, so
  1144. | * treat this as a final EOF.
  1145. | */
  1146. | return EOB_ACT_END_OF_FILE;
  1147. | }
  1148. |
  1149. | else
  1150. | {
  1151. | /* We matched some text prior to the EOB, first
  1152. | * process it.
  1153. | */
  1154. | return EOB_ACT_LAST_MATCH;
  1155. | }
  1156. | }
  1157. |
  1158. | /* Try to read more data. */
  1159. |
  1160. | /* First move last chars to start of buffer. */
  1161. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
  1162. |
  1163. | for ( i = 0; i < number_to_move; ++i )
  1164. | *(dest++) = *(source++);
  1165. |
  1166. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1167. | /* don't do the read, it's not guaranteed to return an EOF,
  1168. | * just force an EOF
  1169. | */
  1170. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1171. |
  1172. | else
  1173. | {
  1174. | yy_size_t num_to_read =
  1175. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1176. |
  1177. | while ( num_to_read <= 0 )
  1178. | { /* Not enough room in the buffer - grow it. */
  1179. |
  1180. | YY_FATAL_ERROR(
  1181. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1182. |
  1183. | }
  1184. |
  1185. | if ( num_to_read > YY_READ_BUF_SIZE )
  1186. | num_to_read = YY_READ_BUF_SIZE;
  1187. |
  1188. | /* Read in more data. */
  1189. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1190. | (yy_n_chars), num_to_read );
  1191. |
  1192. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1193. | }
  1194. |
  1195. | if ( (yy_n_chars) == 0 )
  1196. | {
  1197. | if ( number_to_move == YY_MORE_ADJ )
  1198. | {
  1199. | ret_val = EOB_ACT_END_OF_FILE;
  1200. | yyrestart(yyin );
  1201. | }
  1202. |
  1203. | else
  1204. | {
  1205. | ret_val = EOB_ACT_LAST_MATCH;
  1206. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1207. | YY_BUFFER_EOF_PENDING;
  1208. | }
  1209. | }
  1210. |
  1211. | else
  1212. | ret_val = EOB_ACT_CONTINUE_SCAN;
  1213. |
  1214. | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1215. | /* Extend the array by 50%, plus the number we really need. */
  1216. | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1217. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
  1218. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1219. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1220. | }
  1221. |
  1222. | (yy_n_chars) += number_to_move;
  1223. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1224. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1225. |
  1226. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1227. |
  1228. | return ret_val;
  1229. | }
  1230. |
  1231. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1232. |
  1233. | static yy_state_type yy_get_previous_state (void)
  1234. | {
  1235. | register yy_state_type yy_current_state;
  1236. | register char *yy_cp;
  1237. |
  1238. | yy_current_state = (yy_start);
  1239. |
  1240. | (yy_state_ptr) = (yy_state_buf);
  1241. | *(yy_state_ptr)++ = yy_current_state;
  1242. |
  1243. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1244. | {
  1245. | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1246. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1247. | {
  1248. | yy_current_state = (int) yy_def[yy_current_state];
  1249. | if ( yy_current_state >= 13 )
  1250. | yy_c = yy_meta[(unsigned int) yy_c];
  1251. | }
  1252. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1253. | *(yy_state_ptr)++ = yy_current_state;
  1254. | }
  1255. |
  1256. | return yy_current_state;
  1257. | }
  1258. |
  1259. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1260. | *
  1261. | * synopsis
  1262. | * next_state = yy_try_NUL_trans( current_state );
  1263. | */
  1264. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  1265. | {
  1266. | register int yy_is_jam;
  1267. |
  1268. | register YY_CHAR yy_c = 1;
  1269. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1270. | {
  1271. | yy_current_state = (int) yy_def[yy_current_state];
  1272. | if ( yy_current_state >= 13 )
  1273. | yy_c = yy_meta[(unsigned int) yy_c];
  1274. | }
  1275. | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1276. | yy_is_jam = (yy_current_state == 12);
  1277. | if ( ! yy_is_jam )
  1278. | *(yy_state_ptr)++ = yy_current_state;
  1279. |
  1280. | return yy_is_jam ? 0 : yy_current_state;
  1281. | }
  1282. |
  1283. | static void yyunput (int c, register char * yy_bp )
  1284. | {
  1285. | register char *yy_cp;
  1286. |
  1287. | yy_cp = (yy_c_buf_p);
  1288. |
  1289. | /* undo effects of setting up yytext */
  1290. | *yy_cp = (yy_hold_char);
  1291. |
  1292. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1293. | { /* need to shift things up to make room */
  1294. | /* +2 for EOB chars. */
  1295. | register yy_size_t number_to_move = (yy_n_chars) + 2;
  1296. | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1297. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1298. | register char *source =
  1299. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1300. |
  1301. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1302. | *--dest = *--source;
  1303. |
  1304. | yy_cp += (int) (dest - source);
  1305. | yy_bp += (int) (dest - source);
  1306. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1307. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1308. |
  1309. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1310. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1311. | }
  1312. |
  1313. | *--yy_cp = (char) c;
  1314. |
  1315. | (yytext_ptr) = yy_bp;
  1316. | (yy_hold_char) = *yy_cp;
  1317. | (yy_c_buf_p) = yy_cp;
  1318. | }
  1319. |
  1320. | #ifndef YY_NO_INPUT
  1321. | #ifdef __cplusplus
  1322. | static int yyinput (void)
  1323. | #else
  1324. | static int input (void)
  1325. | #endif
  1326. |
  1327. | {
  1328. | int c;
  1329. |
  1330. | *(yy_c_buf_p) = (yy_hold_char);
  1331. |
  1332. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1333. | {
  1334. | /* yy_c_buf_p now points to the character we want to return.
  1335. | * If this occurs *before* the EOB characters, then it's a
  1336. | * valid NUL; if not, then we've hit the end of the buffer.
  1337. | */
  1338. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1339. | /* This was really a NUL. */
  1340. | *(yy_c_buf_p) = '\0';
  1341. |
  1342. | else
  1343. | { /* need more input */
  1344. | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
  1345. | ++(yy_c_buf_p);
  1346. |
  1347. | switch ( yy_get_next_buffer( ) )
  1348. | {
  1349. | case EOB_ACT_LAST_MATCH:
  1350. | /* This happens because yy_g_n_b()
  1351. | * sees that we've accumulated a
  1352. | * token and flags that we need to
  1353. | * try matching the token before
  1354. | * proceeding. But for input(),
  1355. | * there's no matching to consider.
  1356. | * So convert the EOB_ACT_LAST_MATCH
  1357. | * to EOB_ACT_END_OF_FILE.
  1358. | */
  1359. |
  1360. | /* Reset buffer status. */
  1361. | yyrestart(yyin );
  1362. |
  1363. | /*FALLTHROUGH*/
  1364. |
  1365. | case EOB_ACT_END_OF_FILE:
  1366. | {
  1367. | if ( yywrap( ) )
  1368. | return EOF;
  1369. |
  1370. | if ( ! (yy_did_buffer_switch_on_eof) )
  1371. | YY_NEW_FILE;
  1372. | #ifdef __cplusplus
  1373. | return yyinput();
  1374. | #else
  1375. | return input();
  1376. | #endif
  1377. | }
  1378. |
  1379. | case EOB_ACT_CONTINUE_SCAN:
  1380. | (yy_c_buf_p) = (yytext_ptr) + offset;
  1381. | break;
  1382. | }
  1383. | }
  1384. | }
  1385. |
  1386. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  1387. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  1388. | (yy_hold_char) = *++(yy_c_buf_p);
  1389. |
  1390. | return c;
  1391. | }
  1392. | #endif /* ifndef YY_NO_INPUT */
  1393. |
  1394. | /** Immediately switch to a different input stream.
  1395. | * @param input_file A readable stream.
  1396. | *
  1397. | * @note This function does not reset the start condition to @c INITIAL .
  1398. | */
  1399. | void yyrestart (FILE * input_file )
  1400. | {
  1401. |
  1402. | if ( ! YY_CURRENT_BUFFER ){
  1403. | yyensure_buffer_stack ();
  1404. | YY_CURRENT_BUFFER_LVALUE =
  1405. | yy_create_buffer(yyin,YY_BUF_SIZE );
  1406. | }
  1407. |
  1408. | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
  1409. | yy_load_buffer_state( );
  1410. | }
  1411. |
  1412. | /** Switch to a different input buffer.
  1413. | * @param new_buffer The new input buffer.
  1414. | *
  1415. | */
  1416. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  1417. | {
  1418. |
  1419. | /* TODO. We should be able to replace this entire function body
  1420. | * with
  1421. | * yypop_buffer_state();
  1422. | * yypush_buffer_state(new_buffer);
  1423. | */
  1424. | yyensure_buffer_stack ();
  1425. | if ( YY_CURRENT_BUFFER == new_buffer )
  1426. | return;
  1427. |
  1428. | if ( YY_CURRENT_BUFFER )
  1429. | {
  1430. | /* Flush out information for old buffer. */
  1431. | *(yy_c_buf_p) = (yy_hold_char);
  1432. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1433. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1434. | }
  1435. |
  1436. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1437. | yy_load_buffer_state( );
  1438. |
  1439. | /* We don't actually know whether we did this switch during
  1440. | * EOF (yywrap()) processing, but the only time this flag
  1441. | * is looked at is after yywrap() is called, so it's safe
  1442. | * to go ahead and always set it.
  1443. | */
  1444. | (yy_did_buffer_switch_on_eof) = 1;
  1445. | }
  1446. |
  1447. | static void yy_load_buffer_state (void)
  1448. | {
  1449. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1450. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1451. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1452. | (yy_hold_char) = *(yy_c_buf_p);
  1453. | }
  1454. |
  1455. | /** Allocate and initialize an input buffer state.
  1456. | * @param file A readable stream.
  1457. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1458. | *
  1459. | * @return the allocated buffer state.
  1460. | */
  1461. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  1462. | {
  1463. | YY_BUFFER_STATE b;
  1464. |
  1465. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1466. | if ( ! b )
  1467. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1468. |
  1469. | b->yy_buf_size = size;
  1470. |
  1471. | /* yy_ch_buf has to be 2 characters longer than the size given because
  1472. | * we need to put in 2 end-of-buffer characters.
  1473. | */
  1474. | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
  1475. | if ( ! b->yy_ch_buf )
  1476. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1477. |
  1478. | b->yy_is_our_buffer = 1;
  1479. |
  1480. | yy_init_buffer(b,file );
  1481. |
  1482. | return b;
  1483. | }
  1484. |
  1485. | /** Destroy the buffer.
  1486. | * @param b a buffer created with yy_create_buffer()
  1487. | *
  1488. | */
  1489. | void yy_delete_buffer (YY_BUFFER_STATE b )
  1490. | {
  1491. |
  1492. | if ( ! b )
  1493. | return;
  1494. |
  1495. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1496. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1497. |
  1498. | if ( b->yy_is_our_buffer )
  1499. | yyfree((void *) b->yy_ch_buf );
  1500. |
  1501. | yyfree((void *) b );
  1502. | }
  1503. |
  1504. | /* Initializes or reinitializes a buffer.
  1505. | * This function is sometimes called more than once on the same buffer,
  1506. | * such as during a yyrestart() or at EOF.
  1507. | */
  1508. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  1509. |
  1510. | {
  1511. | int oerrno = errno;
  1512. |
  1513. | yy_flush_buffer(b );
  1514. |
  1515. | b->yy_input_file = file;
  1516. | b->yy_fill_buffer = 1;
  1517. |
  1518. | /* If b is the current buffer, then yy_init_buffer was _probably_
  1519. | * called from yyrestart() or through yy_get_next_buffer.
  1520. | * In that case, we don't want to reset the lineno or column.
  1521. | */
  1522. | if (b != YY_CURRENT_BUFFER){
  1523. | b->yy_bs_lineno = 1;
  1524. | b->yy_bs_column = 0;
  1525. | }
  1526. |
  1527. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1528. |
  1529. | errno = oerrno;
  1530. | }
  1531. |
  1532. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1533. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1534. | *
  1535. | */
  1536. | void yy_flush_buffer (YY_BUFFER_STATE b )
  1537. | {
  1538. | if ( ! b )
  1539. | return;
  1540. |
  1541. | b->yy_n_chars = 0;
  1542. |
  1543. | /* We always need two end-of-buffer characters. The first causes
  1544. | * a transition to the end-of-buffer state. The second causes
  1545. | * a jam in that state.
  1546. | */
  1547. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1548. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1549. |
  1550. | b->yy_buf_pos = &b->yy_ch_buf[0];
  1551. |
  1552. | b->yy_at_bol = 1;
  1553. | b->yy_buffer_status = YY_BUFFER_NEW;
  1554. |
  1555. | if ( b == YY_CURRENT_BUFFER )
  1556. | yy_load_buffer_state( );
  1557. | }
  1558. |
  1559. | /** Pushes the new state onto the stack. The new state becomes
  1560. | * the current state. This function will allocate the stack
  1561. | * if necessary.
  1562. | * @param new_buffer The new state.
  1563. | *
  1564. | */
  1565. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1566. | {
  1567. | if (new_buffer == NULL)
  1568. | return;
  1569. |
  1570. | yyensure_buffer_stack();
  1571. |
  1572. | /* This block is copied from yy_switch_to_buffer. */
  1573. | if ( YY_CURRENT_BUFFER )
  1574. | {
  1575. | /* Flush out information for old buffer. */
  1576. | *(yy_c_buf_p) = (yy_hold_char);
  1577. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1578. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1579. | }
  1580. |
  1581. | /* Only push if top exists. Otherwise, replace top. */
  1582. | if (YY_CURRENT_BUFFER)
  1583. | (yy_buffer_stack_top)++;
  1584. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1585. |
  1586. | /* copied from yy_switch_to_buffer. */
  1587. | yy_load_buffer_state( );
  1588. | (yy_did_buffer_switch_on_eof) = 1;
  1589. | }
  1590. |
  1591. | /** Removes and deletes the top of the stack, if present.
  1592. | * The next element becomes the new top.
  1593. | *
  1594. | */
  1595. | void yypop_buffer_state (void)
  1596. | {
  1597. | if (!YY_CURRENT_BUFFER)
  1598. | return;
  1599. |
  1600. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1601. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1602. | if ((yy_buffer_stack_top) > 0)
  1603. | --(yy_buffer_stack_top);
  1604. |
  1605. | if (YY_CURRENT_BUFFER) {
  1606. | yy_load_buffer_state( );
  1607. | (yy_did_buffer_switch_on_eof) = 1;
  1608. | }
  1609. | }
  1610. |
  1611. | /* Allocates the stack if it does not exist.
  1612. | * Guarantees space for at least one push.
  1613. | */
  1614. | static void yyensure_buffer_stack (void)
  1615. | {
  1616. | yy_size_t num_to_alloc;
  1617. |
  1618. | if (!(yy_buffer_stack)) {
  1619. |
  1620. | /* First allocation is just for 2 elements, since we don't know if this
  1621. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1622. | * immediate realloc on the next call.
  1623. | */
  1624. | num_to_alloc = 1;
  1625. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1626. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  1627. | );
  1628. | if ( ! (yy_buffer_stack) )
  1629. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1630. |
  1631. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1632. |
  1633. | (yy_buffer_stack_max) = num_to_alloc;
  1634. | (yy_buffer_stack_top) = 0;
  1635. | return;
  1636. | }
  1637. |
  1638. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1639. |
  1640. | /* Increase the buffer to prepare for a possible push. */
  1641. | int grow_size = 8 /* arbitrary grow size */;
  1642. |
  1643. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1644. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1645. | ((yy_buffer_stack),
  1646. | num_to_alloc * sizeof(struct yy_buffer_state*)
  1647. | );
  1648. | if ( ! (yy_buffer_stack) )
  1649. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1650. |
  1651. | /* zero only the new slots.*/
  1652. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1653. | (yy_buffer_stack_max) = num_to_alloc;
  1654. | }
  1655. | }
  1656. |
  1657. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1658. | * @param base the character buffer
  1659. | * @param size the size in bytes of the character buffer
  1660. | *
  1661. | * @return the newly allocated buffer state object.
  1662. | */
  1663. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  1664. | {
  1665. | YY_BUFFER_STATE b;
  1666. |
  1667. | if ( size < 2 ||
  1668. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1669. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  1670. | /* They forgot to leave room for the EOB's. */
  1671. | return 0;
  1672. |
  1673. | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
  1674. | if ( ! b )
  1675. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1676. |
  1677. | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  1678. | b->yy_buf_pos = b->yy_ch_buf = base;
  1679. | b->yy_is_our_buffer = 0;
  1680. | b->yy_input_file = 0;
  1681. | b->yy_n_chars = b->yy_buf_size;
  1682. | b->yy_is_interactive = 0;
  1683. | b->yy_at_bol = 1;
  1684. | b->yy_fill_buffer = 0;
  1685. | b->yy_buffer_status = YY_BUFFER_NEW;
  1686. |
  1687. | yy_switch_to_buffer(b );
  1688. |
  1689. | return b;
  1690. | }
  1691. |
  1692. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1693. | * scan from a @e copy of @a str.
  1694. | * @param yystr a NUL-terminated string to scan
  1695. | *
  1696. | * @return the newly allocated buffer state object.
  1697. | * @note If you want to scan bytes that may contain NUL values, then use
  1698. | * yy_scan_bytes() instead.
  1699. | */
  1700. | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
  1701. | {
  1702. |
  1703. | return yy_scan_bytes(yystr,strlen(yystr) );
  1704. | }
  1705. |
  1706. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1707. | * scan from a @e copy of @a bytes.
  1708. | * @param yybytes the byte buffer to scan
  1709. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  1710. | *
  1711. | * @return the newly allocated buffer state object.
  1712. | */
  1713. | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
  1714. | {
  1715. | YY_BUFFER_STATE b;
  1716. | char *buf;
  1717. | yy_size_t n;
  1718. | int i;
  1719. |
  1720. | /* Get memory for full buffer, including space for trailing EOB's. */
  1721. | n = _yybytes_len + 2;
  1722. | buf = (char *) yyalloc(n );
  1723. | if ( ! buf )
  1724. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1725. |
  1726. | for ( i = 0; i < _yybytes_len; ++i )
  1727. | buf[i] = yybytes[i];
  1728. |
  1729. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1730. |
  1731. | b = yy_scan_buffer(buf,n );
  1732. | if ( ! b )
  1733. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1734. |
  1735. | /* It's okay to grow etc. this buffer, and we should throw it
  1736. | * away when we're done.
  1737. | */
  1738. | b->yy_is_our_buffer = 1;
  1739. |
  1740. | return b;
  1741. | }
  1742. |
  1743. | #ifndef YY_EXIT_FAILURE
  1744. | #define YY_EXIT_FAILURE 2
  1745. | #endif
  1746. |
  1747. | static void yy_fatal_error (yyconst char* msg )
  1748. | {
  1749. | (void) fprintf( stderr, "%s\n", msg );
  1750. | exit( YY_EXIT_FAILURE );
  1751. | }
  1752. |
  1753. | /* Redefine yyless() so it works in section 3 code. */
  1754. |
  1755. | #undef yyless
  1756. | #define yyless(n) \
  1757. | do \
  1758. | { \
  1759. | /* Undo effects of setting up yytext. */ \
  1760. | int yyless_macro_arg = (n); \
  1761. | YY_LESS_LINENO(yyless_macro_arg);\
  1762. | yytext[yyleng] = (yy_hold_char); \
  1763. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  1764. | (yy_hold_char) = *(yy_c_buf_p); \
  1765. | *(yy_c_buf_p) = '\0'; \
  1766. | yyleng = yyless_macro_arg; \
  1767. | } \
  1768. | while ( 0 )
  1769. |
  1770. | /* Accessor methods (get/set functions) to struct members. */
  1771. |
  1772. | /** Get the current line number.
  1773. | *
  1774. | */
  1775. | int yyget_lineno (void)
  1776. | {
  1777. |
  1778. | return yylineno;
  1779. | }
  1780. |
  1781. | /** Get the input stream.
  1782. | *
  1783. | */
  1784. | FILE *yyget_in (void)
  1785. | {
  1786. | return yyin;
  1787. | }
  1788. |
  1789. | /** Get the output stream.
  1790. | *
  1791. | */
  1792. | FILE *yyget_out (void)
  1793. | {
  1794. | return yyout;
  1795. | }
  1796. |
  1797. | /** Get the length of the current token.
  1798. | *
  1799. | */
  1800. | yy_size_t yyget_leng (void)
  1801. | {
  1802. | return yyleng;
  1803. | }
  1804. |
  1805. | /** Get the current token.
  1806. | *
  1807. | */
  1808. |
  1809. | char *yyget_text (void)
  1810. | {
  1811. | return yytext;
  1812. | }
  1813. |
  1814. | /** Set the current line number.
  1815. | * @param line_number
  1816. | *
  1817. | */
  1818. | void yyset_lineno (int line_number )
  1819. | {
  1820. |
  1821. | yylineno = line_number;
  1822. | }
  1823. |
  1824. | /** Set the input stream. This does not discard the current
  1825. | * input buffer.
  1826. | * @param in_str A readable stream.
  1827. | *
  1828. | * @see yy_switch_to_buffer
  1829. | */
  1830. | void yyset_in (FILE * in_str )
  1831. | {
  1832. | yyin = in_str ;
  1833. | }
  1834. |
  1835. | void yyset_out (FILE * out_str )
  1836. | {
  1837. | yyout = out_str ;
  1838. | }
  1839. |
  1840. | int yyget_debug (void)
  1841. | {
  1842. | return yy_flex_debug;
  1843. | }
  1844. |
  1845. | void yyset_debug (int bdebug )
  1846. | {
  1847. | yy_flex_debug = bdebug ;
  1848. | }
  1849. |
  1850. | static int yy_init_globals (void)
  1851. | {
  1852. | /* Initialization is the same as for the non-reentrant scanner.
  1853. | * This function is called from yylex_destroy(), so don't allocate here.
  1854. | */
  1855. |
  1856. | (yy_buffer_stack) = 0;
  1857. | (yy_buffer_stack_top) = 0;
  1858. | (yy_buffer_stack_max) = 0;
  1859. | (yy_c_buf_p) = (char *) 0;
  1860. | (yy_init) = 0;
  1861. | (yy_start) = 0;
  1862. |
  1863. | (yy_state_buf) = 0;
  1864. | (yy_state_ptr) = 0;
  1865. | (yy_full_match) = 0;
  1866. | (yy_lp) = 0;
  1867. |
  1868. | /* Defined in main.c */
  1869. | #ifdef YY_STDINIT
  1870. | yyin = stdin;
  1871. | yyout = stdout;
  1872. | #else
  1873. | yyin = (FILE *) 0;
  1874. | yyout = (FILE *) 0;
  1875. | #endif
  1876. |
  1877. | /* For future reference: Set errno on error, since we are called by
  1878. | * yylex_init()
  1879. | */
  1880. | return 0;
  1881. | }
  1882. |
  1883. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  1884. | int yylex_destroy (void)
  1885. | {
  1886. |
  1887. | /* Pop the buffer stack, destroying each element. */
  1888. | while(YY_CURRENT_BUFFER){
  1889. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1890. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1891. | yypop_buffer_state();
  1892. | }
  1893. |
  1894. | /* Destroy the stack itself. */
  1895. | yyfree((yy_buffer_stack) );
  1896. | (yy_buffer_stack) = NULL;
  1897. |
  1898. | yyfree ( (yy_state_buf) );
  1899. | (yy_state_buf) = NULL;
  1900. |
  1901. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  1902. | * yylex() is called, initialization will occur. */
  1903. | yy_init_globals( );
  1904. |
  1905. | return 0;
  1906. | }
  1907. |
  1908. | /*
  1909. | * Internal utility routines.
  1910. | */
  1911. |
  1912. | #ifndef yytext_ptr
  1913. | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
  1914. | {
  1915. | register int i;
  1916. | for ( i = 0; i < n; ++i )
  1917. | s1[i] = s2[i];
  1918. | }
  1919. | #endif
  1920. |
  1921. | #ifdef YY_NEED_STRLEN
  1922. | static int yy_flex_strlen (yyconst char * s )
  1923. | {
  1924. | register int n;
  1925. | for ( n = 0; s[n]; ++n )
  1926. | ;
  1927. |
  1928. | return n;
  1929. | }
  1930. | #endif
  1931. |
  1932. | void *yyalloc (yy_size_t size )
  1933. | {
  1934. | return (void *) malloc( size );
  1935. | }
  1936. |
  1937. | void *yyrealloc (void * ptr, yy_size_t size )
  1938. | {
  1939. | /* The cast to (char *) in the following accommodates both
  1940. | * implementations that use char* generic pointers, and those
  1941. | * that use void* generic pointers. It works with the latter
  1942. | * because both ANSI C and C++ allow castless assignment from
  1943. | * any pointer type to void*, and deal with argument conversions
  1944. | * as though doing an assignment.
  1945. | */
  1946. | return (void *) realloc( (char *) ptr, size );
  1947. | }
  1948. |
  1949. | void yyfree (void * ptr )
  1950. | {
  1951. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  1952. | }
  1953. |
  1954. | #define YYTABLES_NAME "yytables"
  1955. |
  1956. | #line 10 "conftest.l"
  1957. |
  1958. |
  1959. | #ifdef YYTEXT_POINTER
  1960. | extern char *yytext;
  1961. | #endif
  1962. | int
  1963. | main (void)
  1964. | {
  1965. | return ! yylex () + ! yywrap ();
  1966. | }
  1967. configure:3919: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lfl >&5
  1968. configure:3919: $? = 0
  1969. configure:3929: result: -lfl
  1970. configure:3935: checking whether yytext is a pointer
  1971. configure:3952: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lfl >&5
  1972. configure:3952: $? = 0
  1973. configure:3960: result: yes
  1974. configure:4076: checking for Fortran compiler version
  1975. configure:4085: /opt/local/bin/gfortran-mp-4.8 --version >&5
  1976. GNU Fortran (MacPorts gcc48 4.8.2_0) 4.8.2
  1977. Copyright (C) 2013 Free Software Foundation, Inc.
  1978.  
  1979. GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
  1980. You may redistribute copies of GNU Fortran
  1981. under the terms of the GNU General Public License.
  1982. For more information about these matters, see the file named COPYING
  1983.  
  1984. configure:4096: $? = 0
  1985. configure:4085: /opt/local/bin/gfortran-mp-4.8 -v >&5
  1986. Using built-in specs.
  1987. COLLECT_GCC=/opt/local/bin/gfortran-mp-4.8
  1988. COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin13/4.8.2/lto-wrapper
  1989. Target: x86_64-apple-darwin13
  1990. Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/work/gcc-4.8.2/configure --prefix=/opt/local --build=x86_64-apple-darwin13 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.2_0'
  1991. Thread model: posix
  1992. gcc version 4.8.2 (MacPorts gcc48 4.8.2_0)
  1993. configure:4096: $? = 0
  1994. configure:4085: /opt/local/bin/gfortran-mp-4.8 -V >&5
  1995. gfortran-mp-4.8: error: unrecognized command line option '-V'
  1996. gfortran-mp-4.8: fatal error: no input files
  1997. compilation terminated.
  1998. configure:4096: $? = 1
  1999. configure:4085: /opt/local/bin/gfortran-mp-4.8 -qversion >&5
  2000. gfortran-mp-4.8: error: unrecognized command line option '-qversion'
  2001. gfortran-mp-4.8: fatal error: no input files
  2002. compilation terminated.
  2003. configure:4096: $? = 1
  2004. configure:4105: checking whether we are using the GNU Fortran compiler
  2005. configure:4118: /opt/local/bin/gfortran-mp-4.8 -c -pipe -Os -m64 conftest.F >&5
  2006. configure:4118: $? = 0
  2007. configure:4127: result: yes
  2008. configure:4133: checking whether /opt/local/bin/gfortran-mp-4.8 accepts -g
  2009. configure:4144: /opt/local/bin/gfortran-mp-4.8 -c -g conftest.f >&5
  2010. configure:4144: $? = 0
  2011. configure:4152: result: yes
  2012. configure:4184: checking if -Werror works
  2013. configure:4197: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2014. configure:4197: $? = 0
  2015. configure:4198: result: ok
  2016. configure:4320: checking for omc
  2017. configure:4324: result: building it through bootstrapping (you might end up unable to recompile omc if you modify source code)
  2018. configure:4511: checking for grep that handles long lines and -e
  2019. configure:4569: result: /opt/local/bin/grep
  2020. configure:4574: checking for egrep
  2021. configure:4636: result: /opt/local/bin/grep -E
  2022. configure:4641: checking for ANSI C header files
  2023. configure:4661: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2024. configure:4661: $? = 0
  2025. configure:4734: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2026. configure:4734: $? = 0
  2027. configure:4734: ./conftest
  2028. configure:4734: $? = 0
  2029. configure:4745: result: yes
  2030. configure:4758: checking for sys/types.h
  2031. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2032. configure:4758: $? = 0
  2033. configure:4758: result: yes
  2034. configure:4758: checking for sys/stat.h
  2035. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2036. configure:4758: $? = 0
  2037. configure:4758: result: yes
  2038. configure:4758: checking for stdlib.h
  2039. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2040. configure:4758: $? = 0
  2041. configure:4758: result: yes
  2042. configure:4758: checking for string.h
  2043. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2044. configure:4758: $? = 0
  2045. configure:4758: result: yes
  2046. configure:4758: checking for memory.h
  2047. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2048. configure:4758: $? = 0
  2049. configure:4758: result: yes
  2050. configure:4758: checking for strings.h
  2051. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2052. configure:4758: $? = 0
  2053. configure:4758: result: yes
  2054. configure:4758: checking for inttypes.h
  2055. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2056. configure:4758: $? = 0
  2057. configure:4758: result: yes
  2058. configure:4758: checking for stdint.h
  2059. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2060. configure:4758: $? = 0
  2061. configure:4758: result: yes
  2062. configure:4758: checking for unistd.h
  2063. configure:4758: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2064. configure:4758: $? = 0
  2065. configure:4758: result: yes
  2066. configure:4773: checking sys/time.h usability
  2067. configure:4773: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2068. configure:4773: $? = 0
  2069. configure:4773: result: yes
  2070. configure:4773: checking sys/time.h presence
  2071. configure:4773: /usr/bin/clang -E -I/opt/local/include conftest.c
  2072. configure:4773: $? = 0
  2073. configure:4773: result: yes
  2074. configure:4773: checking for sys/time.h
  2075. configure:4773: result: yes
  2076. configure:4773: checking sqlite3.h usability
  2077. configure:4773: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2078. configure:4773: $? = 0
  2079. configure:4773: result: yes
  2080. configure:4773: checking sqlite3.h presence
  2081. configure:4773: /usr/bin/clang -E -I/opt/local/include conftest.c
  2082. configure:4773: $? = 0
  2083. configure:4773: result: yes
  2084. configure:4773: checking for sqlite3.h
  2085. configure:4773: result: yes
  2086. configure:4787: checking f2c.h usability
  2087. configure:4787: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2088. conftest.c:55:10: fatal error: 'f2c.h' file not found
  2089. #include <f2c.h>
  2090. ^
  2091. 1 error generated.
  2092. configure:4787: $? = 1
  2093. configure: failed program was:
  2094. | /* confdefs.h */
  2095. | #define PACKAGE_NAME "OpenModelica"
  2096. | #define PACKAGE_TARNAME "openmodelica"
  2097. | #define PACKAGE_VERSION "dev"
  2098. | #define PACKAGE_STRING "OpenModelica dev"
  2099. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2100. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2101. | #define YYTEXT_POINTER 1
  2102. | #define STDC_HEADERS 1
  2103. | #define HAVE_SYS_TYPES_H 1
  2104. | #define HAVE_SYS_STAT_H 1
  2105. | #define HAVE_STDLIB_H 1
  2106. | #define HAVE_STRING_H 1
  2107. | #define HAVE_MEMORY_H 1
  2108. | #define HAVE_STRINGS_H 1
  2109. | #define HAVE_INTTYPES_H 1
  2110. | #define HAVE_STDINT_H 1
  2111. | #define HAVE_UNISTD_H 1
  2112. | #define HAVE_SYS_TIME_H 1
  2113. | #define HAVE_SQLITE3_H 1
  2114. | /* end confdefs.h. */
  2115. | #include <stdio.h>
  2116. | #ifdef HAVE_SYS_TYPES_H
  2117. | # include <sys/types.h>
  2118. | #endif
  2119. | #ifdef HAVE_SYS_STAT_H
  2120. | # include <sys/stat.h>
  2121. | #endif
  2122. | #ifdef STDC_HEADERS
  2123. | # include <stdlib.h>
  2124. | # include <stddef.h>
  2125. | #else
  2126. | # ifdef HAVE_STDLIB_H
  2127. | # include <stdlib.h>
  2128. | # endif
  2129. | #endif
  2130. | #ifdef HAVE_STRING_H
  2131. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2132. | # include <memory.h>
  2133. | # endif
  2134. | # include <string.h>
  2135. | #endif
  2136. | #ifdef HAVE_STRINGS_H
  2137. | # include <strings.h>
  2138. | #endif
  2139. | #ifdef HAVE_INTTYPES_H
  2140. | # include <inttypes.h>
  2141. | #endif
  2142. | #ifdef HAVE_STDINT_H
  2143. | # include <stdint.h>
  2144. | #endif
  2145. | #ifdef HAVE_UNISTD_H
  2146. | # include <unistd.h>
  2147. | #endif
  2148. | #include <f2c.h>
  2149. configure:4787: result: no
  2150. configure:4787: checking f2c.h presence
  2151. configure:4787: /usr/bin/clang -E -I/opt/local/include conftest.c
  2152. conftest.c:22:10: fatal error: 'f2c.h' file not found
  2153. #include <f2c.h>
  2154. ^
  2155. 1 error generated.
  2156. configure:4787: $? = 1
  2157. configure: failed program was:
  2158. | /* confdefs.h */
  2159. | #define PACKAGE_NAME "OpenModelica"
  2160. | #define PACKAGE_TARNAME "openmodelica"
  2161. | #define PACKAGE_VERSION "dev"
  2162. | #define PACKAGE_STRING "OpenModelica dev"
  2163. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2164. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2165. | #define YYTEXT_POINTER 1
  2166. | #define STDC_HEADERS 1
  2167. | #define HAVE_SYS_TYPES_H 1
  2168. | #define HAVE_SYS_STAT_H 1
  2169. | #define HAVE_STDLIB_H 1
  2170. | #define HAVE_STRING_H 1
  2171. | #define HAVE_MEMORY_H 1
  2172. | #define HAVE_STRINGS_H 1
  2173. | #define HAVE_INTTYPES_H 1
  2174. | #define HAVE_STDINT_H 1
  2175. | #define HAVE_UNISTD_H 1
  2176. | #define HAVE_SYS_TIME_H 1
  2177. | #define HAVE_SQLITE3_H 1
  2178. | /* end confdefs.h. */
  2179. | #include <f2c.h>
  2180. configure:4787: result: no
  2181. configure:4787: checking for f2c.h
  2182. configure:4787: result: no
  2183. configure:4800: checking for antlr.Tool support
  2184. configure:4808: result: yes
  2185. configure:4815: checking if the user wants to compile OMShell-terminal
  2186. configure:4827: result: yes
  2187. configure:4829: checking readline/readline.h usability
  2188. configure:4829: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2189. configure:4829: $? = 0
  2190. configure:4829: result: yes
  2191. configure:4829: checking readline/readline.h presence
  2192. configure:4829: /usr/bin/clang -E -I/opt/local/include conftest.c
  2193. configure:4829: $? = 0
  2194. configure:4829: result: yes
  2195. configure:4829: checking for readline/readline.h
  2196. configure:4829: result: yes
  2197. configure:4837: checking readline/history.h usability
  2198. configure:4837: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2199. configure:4837: $? = 0
  2200. configure:4837: result: yes
  2201. configure:4837: checking readline/history.h presence
  2202. configure:4837: /usr/bin/clang -E -I/opt/local/include conftest.c
  2203. configure:4837: $? = 0
  2204. configure:4837: result: yes
  2205. configure:4837: checking for readline/history.h
  2206. configure:4837: result: yes
  2207. configure:4857: checking for library containing readline
  2208. configure:4888: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2209. Undefined symbols for architecture x86_64:
  2210. "_readline", referenced from:
  2211. _main in conftest-k9xZvm.o
  2212. ld: symbol(s) not found for architecture x86_64
  2213. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2214. configure:4888: $? = 1
  2215. configure: failed program was:
  2216. | /* confdefs.h */
  2217. | #define PACKAGE_NAME "OpenModelica"
  2218. | #define PACKAGE_TARNAME "openmodelica"
  2219. | #define PACKAGE_VERSION "dev"
  2220. | #define PACKAGE_STRING "OpenModelica dev"
  2221. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2222. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2223. | #define YYTEXT_POINTER 1
  2224. | #define STDC_HEADERS 1
  2225. | #define HAVE_SYS_TYPES_H 1
  2226. | #define HAVE_SYS_STAT_H 1
  2227. | #define HAVE_STDLIB_H 1
  2228. | #define HAVE_STRING_H 1
  2229. | #define HAVE_MEMORY_H 1
  2230. | #define HAVE_STRINGS_H 1
  2231. | #define HAVE_INTTYPES_H 1
  2232. | #define HAVE_STDINT_H 1
  2233. | #define HAVE_UNISTD_H 1
  2234. | #define HAVE_SYS_TIME_H 1
  2235. | #define HAVE_SQLITE3_H 1
  2236. | /* end confdefs.h. */
  2237. |
  2238. | /* Override any GCC internal prototype to avoid an error.
  2239. | Use char because int might match the return type of a GCC
  2240. | builtin and then its argument prototype would still apply. */
  2241. | #ifdef __cplusplus
  2242. | extern "C"
  2243. | #endif
  2244. | char readline ();
  2245. | int
  2246. | main ()
  2247. | {
  2248. | return readline ();
  2249. | ;
  2250. | return 0;
  2251. | }
  2252. configure:4888: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lreadline >&5
  2253. configure:4888: $? = 0
  2254. configure:4905: result: -lreadline
  2255. configure:4959: checking expat.h usability
  2256. configure:4959: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2257. configure:4959: $? = 0
  2258. configure:4959: result: yes
  2259. configure:4959: checking expat.h presence
  2260. configure:4959: /usr/bin/clang -E -I/opt/local/include conftest.c
  2261. configure:4959: $? = 0
  2262. configure:4959: result: yes
  2263. configure:4959: checking for expat.h
  2264. configure:4959: result: yes
  2265. configure:4968: checking for an ANSI C-conforming const
  2266. configure:5034: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2267. configure:5034: $? = 0
  2268. configure:5041: result: yes
  2269. configure:5049: checking for size_t
  2270. configure:5049: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2271. configure:5049: $? = 0
  2272. configure:5049: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2273. conftest.c:58:21: error: expected expression
  2274. if (sizeof ((size_t)))
  2275. ^
  2276. 1 error generated.
  2277. configure:5049: $? = 1
  2278. configure: failed program was:
  2279. | /* confdefs.h */
  2280. | #define PACKAGE_NAME "OpenModelica"
  2281. | #define PACKAGE_TARNAME "openmodelica"
  2282. | #define PACKAGE_VERSION "dev"
  2283. | #define PACKAGE_STRING "OpenModelica dev"
  2284. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2285. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2286. | #define YYTEXT_POINTER 1
  2287. | #define STDC_HEADERS 1
  2288. | #define HAVE_SYS_TYPES_H 1
  2289. | #define HAVE_SYS_STAT_H 1
  2290. | #define HAVE_STDLIB_H 1
  2291. | #define HAVE_STRING_H 1
  2292. | #define HAVE_MEMORY_H 1
  2293. | #define HAVE_STRINGS_H 1
  2294. | #define HAVE_INTTYPES_H 1
  2295. | #define HAVE_STDINT_H 1
  2296. | #define HAVE_UNISTD_H 1
  2297. | #define HAVE_SYS_TIME_H 1
  2298. | #define HAVE_SQLITE3_H 1
  2299. | /* end confdefs.h. */
  2300. | #include <stdio.h>
  2301. | #ifdef HAVE_SYS_TYPES_H
  2302. | # include <sys/types.h>
  2303. | #endif
  2304. | #ifdef HAVE_SYS_STAT_H
  2305. | # include <sys/stat.h>
  2306. | #endif
  2307. | #ifdef STDC_HEADERS
  2308. | # include <stdlib.h>
  2309. | # include <stddef.h>
  2310. | #else
  2311. | # ifdef HAVE_STDLIB_H
  2312. | # include <stdlib.h>
  2313. | # endif
  2314. | #endif
  2315. | #ifdef HAVE_STRING_H
  2316. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2317. | # include <memory.h>
  2318. | # endif
  2319. | # include <string.h>
  2320. | #endif
  2321. | #ifdef HAVE_STRINGS_H
  2322. | # include <strings.h>
  2323. | #endif
  2324. | #ifdef HAVE_INTTYPES_H
  2325. | # include <inttypes.h>
  2326. | #endif
  2327. | #ifdef HAVE_STDINT_H
  2328. | # include <stdint.h>
  2329. | #endif
  2330. | #ifdef HAVE_UNISTD_H
  2331. | # include <unistd.h>
  2332. | #endif
  2333. | int
  2334. | main ()
  2335. | {
  2336. | if (sizeof ((size_t)))
  2337. | return 0;
  2338. | ;
  2339. | return 0;
  2340. | }
  2341. configure:5049: result: yes
  2342. configure:5063: checking for vprintf
  2343. configure:5063: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2344. conftest.c:45:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
  2345. char vprintf ();
  2346. ^
  2347. conftest.c:45:6: note: 'vprintf' is a builtin with type 'int (const char *, __va_list_tag *)'
  2348. 1 warning generated.
  2349. configure:5063: $? = 0
  2350. configure:5063: result: yes
  2351. configure:5069: checking for _doprnt
  2352. configure:5069: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2353. Undefined symbols for architecture x86_64:
  2354. "__doprnt", referenced from:
  2355. _main in conftest-5wVGXa.o
  2356. ld: symbol(s) not found for architecture x86_64
  2357. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2358. configure:5069: $? = 1
  2359. configure: failed program was:
  2360. | /* confdefs.h */
  2361. | #define PACKAGE_NAME "OpenModelica"
  2362. | #define PACKAGE_TARNAME "openmodelica"
  2363. | #define PACKAGE_VERSION "dev"
  2364. | #define PACKAGE_STRING "OpenModelica dev"
  2365. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2366. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2367. | #define YYTEXT_POINTER 1
  2368. | #define STDC_HEADERS 1
  2369. | #define HAVE_SYS_TYPES_H 1
  2370. | #define HAVE_SYS_STAT_H 1
  2371. | #define HAVE_STDLIB_H 1
  2372. | #define HAVE_STRING_H 1
  2373. | #define HAVE_MEMORY_H 1
  2374. | #define HAVE_STRINGS_H 1
  2375. | #define HAVE_INTTYPES_H 1
  2376. | #define HAVE_STDINT_H 1
  2377. | #define HAVE_UNISTD_H 1
  2378. | #define HAVE_SYS_TIME_H 1
  2379. | #define HAVE_SQLITE3_H 1
  2380. | #define HAVE_VPRINTF 1
  2381. | /* end confdefs.h. */
  2382. | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
  2383. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2384. | #define _doprnt innocuous__doprnt
  2385. |
  2386. | /* System header to define __stub macros and hopefully few prototypes,
  2387. | which can conflict with char _doprnt (); below.
  2388. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2389. | <limits.h> exists even on freestanding compilers. */
  2390. |
  2391. | #ifdef __STDC__
  2392. | # include <limits.h>
  2393. | #else
  2394. | # include <assert.h>
  2395. | #endif
  2396. |
  2397. | #undef _doprnt
  2398. |
  2399. | /* Override any GCC internal prototype to avoid an error.
  2400. | Use char because int might match the return type of a GCC
  2401. | builtin and then its argument prototype would still apply. */
  2402. | #ifdef __cplusplus
  2403. | extern "C"
  2404. | #endif
  2405. | char _doprnt ();
  2406. | /* The GNU C library defines this for functions which it implements
  2407. | to always fail with ENOSYS. Some functions are actually named
  2408. | something starting with __ and the normal name is an alias. */
  2409. | #if defined __stub__doprnt || defined __stub____doprnt
  2410. | choke me
  2411. | #endif
  2412. |
  2413. | int
  2414. | main ()
  2415. | {
  2416. | return _doprnt ();
  2417. | ;
  2418. | return 0;
  2419. | }
  2420. configure:5069: result: no
  2421. configure:5083: checking for getcwd
  2422. configure:5083: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2423. configure:5083: $? = 0
  2424. configure:5083: result: yes
  2425. configure:5083: checking for select
  2426. configure:5083: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2427. configure:5083: $? = 0
  2428. configure:5083: result: yes
  2429. configure:5083: checking for strdup
  2430. configure:5083: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2431. conftest.c:48:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
  2432. char strdup ();
  2433. ^
  2434. conftest.c:48:6: note: 'strdup' is a builtin with type 'char *(const char *)'
  2435. 1 warning generated.
  2436. configure:5083: $? = 0
  2437. configure:5083: result: yes
  2438. configure:5083: checking for strerror
  2439. configure:5083: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2440. conftest.c:49:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
  2441. char strerror ();
  2442. ^
  2443. conftest.c:49:6: note: 'strerror' is a builtin with type 'char *(int)'
  2444. 1 warning generated.
  2445. configure:5083: $? = 0
  2446. configure:5083: result: yes
  2447. configure:5094: checking for scandir
  2448. configure:5122: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2449. conftest.c:34:56: error: expected ';' at end of declaration
  2450. int file_select_directories(const struct dirent *entry) {
  2451. ^
  2452. ;
  2453. 1 error generated.
  2454. configure:5122: $? = 1
  2455. configure: failed program was:
  2456. | /* confdefs.h */
  2457. | #define PACKAGE_NAME "OpenModelica"
  2458. | #define PACKAGE_TARNAME "openmodelica"
  2459. | #define PACKAGE_VERSION "dev"
  2460. | #define PACKAGE_STRING "OpenModelica dev"
  2461. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2462. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2463. | #define YYTEXT_POINTER 1
  2464. | #define STDC_HEADERS 1
  2465. | #define HAVE_SYS_TYPES_H 1
  2466. | #define HAVE_SYS_STAT_H 1
  2467. | #define HAVE_STDLIB_H 1
  2468. | #define HAVE_STRING_H 1
  2469. | #define HAVE_MEMORY_H 1
  2470. | #define HAVE_STRINGS_H 1
  2471. | #define HAVE_INTTYPES_H 1
  2472. | #define HAVE_STDINT_H 1
  2473. | #define HAVE_UNISTD_H 1
  2474. | #define HAVE_SYS_TIME_H 1
  2475. | #define HAVE_SQLITE3_H 1
  2476. | #define HAVE_VPRINTF 1
  2477. | #define HAVE_GETCWD 1
  2478. | #define HAVE_SELECT 1
  2479. | #define HAVE_STRDUP 1
  2480. | #define HAVE_STRERROR 1
  2481. | /* end confdefs.h. */
  2482. |
  2483. | #include <dirent.h>
  2484. |
  2485. | int
  2486. | main ()
  2487. | {
  2488. |
  2489. | int file_select_directories(const struct dirent *entry) {
  2490. | return 0;
  2491. | }
  2492. |
  2493. | int main() {
  2494. | char dir[]=".";
  2495. | int count;
  2496. | struct dirent **files;
  2497. | scandir(dir, &files, file_select_directories, 0);
  2498. | return 0;
  2499. | }
  2500. |
  2501. | ;
  2502. | return 0;
  2503. | }
  2504. configure:5127: result: no
  2505. configure:5133: checking for OpenMP
  2506. configure:5171: /usr/bin/clang -o conftest -fopenmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2507. conftest.c:29:4: error: "Not an OpenMP compiler"
  2508. #error "Not an OpenMP compiler"
  2509. ^
  2510. conftest.c:31:10: fatal error: 'omp.h' file not found
  2511. #include <omp.h>
  2512. ^
  2513. 2 errors generated.
  2514. configure:5171: $? = 1
  2515. configure: failed program was:
  2516. | /* confdefs.h */
  2517. | #define PACKAGE_NAME "OpenModelica"
  2518. | #define PACKAGE_TARNAME "openmodelica"
  2519. | #define PACKAGE_VERSION "dev"
  2520. | #define PACKAGE_STRING "OpenModelica dev"
  2521. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2522. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2523. | #define YYTEXT_POINTER 1
  2524. | #define STDC_HEADERS 1
  2525. | #define HAVE_SYS_TYPES_H 1
  2526. | #define HAVE_SYS_STAT_H 1
  2527. | #define HAVE_STDLIB_H 1
  2528. | #define HAVE_STRING_H 1
  2529. | #define HAVE_MEMORY_H 1
  2530. | #define HAVE_STRINGS_H 1
  2531. | #define HAVE_INTTYPES_H 1
  2532. | #define HAVE_STDINT_H 1
  2533. | #define HAVE_UNISTD_H 1
  2534. | #define HAVE_SYS_TIME_H 1
  2535. | #define HAVE_SQLITE3_H 1
  2536. | #define HAVE_VPRINTF 1
  2537. | #define HAVE_GETCWD 1
  2538. | #define HAVE_SELECT 1
  2539. | #define HAVE_STRDUP 1
  2540. | #define HAVE_STRERROR 1
  2541. | /* end confdefs.h. */
  2542. |
  2543. | #if !defined(_OPENMP)
  2544. | #error "Not an OpenMP compiler"
  2545. | #endif
  2546. | #include <omp.h>
  2547. | #include <stdio.h>
  2548. |
  2549. | int
  2550. | main ()
  2551. | {
  2552. | int main() {
  2553. | int i;
  2554. | #pragma omp parallel for private(i) schedule(dynamic)
  2555. | for (i=0; i<16; i++)
  2556. | printf("Thread %d\n", i);
  2557. | return 0;
  2558. | }
  2559. |
  2560. | ;
  2561. | return 0;
  2562. | }
  2563. configure:5178: result: no
  2564. configure:5202: checking runtime compiler
  2565. configure:5217: /usr/bin/clang -o conftest -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2566. configure:5217: $? = 0
  2567. configure:5218: result: /usr/bin/clang ok
  2568. configure:5226: checking runtime compiler CFLAGS
  2569. configure:5242: /usr/bin/clang -o conftest -O0 -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2570. conftest.c:31:11: error: expected ';' at end of declaration
  2571. int main() {return 0;}
  2572. ^
  2573. ;
  2574. 1 error generated.
  2575. configure:5242: $? = 1
  2576. configure: failed program was:
  2577. | /* confdefs.h */
  2578. | #define PACKAGE_NAME "OpenModelica"
  2579. | #define PACKAGE_TARNAME "openmodelica"
  2580. | #define PACKAGE_VERSION "dev"
  2581. | #define PACKAGE_STRING "OpenModelica dev"
  2582. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2583. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2584. | #define YYTEXT_POINTER 1
  2585. | #define STDC_HEADERS 1
  2586. | #define HAVE_SYS_TYPES_H 1
  2587. | #define HAVE_SYS_STAT_H 1
  2588. | #define HAVE_STDLIB_H 1
  2589. | #define HAVE_STRING_H 1
  2590. | #define HAVE_MEMORY_H 1
  2591. | #define HAVE_STRINGS_H 1
  2592. | #define HAVE_INTTYPES_H 1
  2593. | #define HAVE_STDINT_H 1
  2594. | #define HAVE_UNISTD_H 1
  2595. | #define HAVE_SYS_TIME_H 1
  2596. | #define HAVE_SQLITE3_H 1
  2597. | #define HAVE_VPRINTF 1
  2598. | #define HAVE_GETCWD 1
  2599. | #define HAVE_SELECT 1
  2600. | #define HAVE_STRDUP 1
  2601. | #define HAVE_STRERROR 1
  2602. | /* end confdefs.h. */
  2603. |
  2604. | int
  2605. | main ()
  2606. | {
  2607. | int main() {return 0;}
  2608. | ;
  2609. | return 0;
  2610. | }
  2611. configure:5242: /usr/bin/clang -o conftest -falign-functions -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2612. clang: error: argument unused during compilation: '-falign-functions'
  2613. configure:5242: $? = 1
  2614. configure: failed program was:
  2615. | /* confdefs.h */
  2616. | #define PACKAGE_NAME "OpenModelica"
  2617. | #define PACKAGE_TARNAME "openmodelica"
  2618. | #define PACKAGE_VERSION "dev"
  2619. | #define PACKAGE_STRING "OpenModelica dev"
  2620. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2621. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2622. | #define YYTEXT_POINTER 1
  2623. | #define STDC_HEADERS 1
  2624. | #define HAVE_SYS_TYPES_H 1
  2625. | #define HAVE_SYS_STAT_H 1
  2626. | #define HAVE_STDLIB_H 1
  2627. | #define HAVE_STRING_H 1
  2628. | #define HAVE_MEMORY_H 1
  2629. | #define HAVE_STRINGS_H 1
  2630. | #define HAVE_INTTYPES_H 1
  2631. | #define HAVE_STDINT_H 1
  2632. | #define HAVE_UNISTD_H 1
  2633. | #define HAVE_SYS_TIME_H 1
  2634. | #define HAVE_SQLITE3_H 1
  2635. | #define HAVE_VPRINTF 1
  2636. | #define HAVE_GETCWD 1
  2637. | #define HAVE_SELECT 1
  2638. | #define HAVE_STRDUP 1
  2639. | #define HAVE_STRERROR 1
  2640. | /* end confdefs.h. */
  2641. |
  2642. | int
  2643. | main ()
  2644. | {
  2645. | int main() {return 0;}
  2646. | ;
  2647. | return 0;
  2648. | }
  2649. configure:5242: /usr/bin/clang -o conftest -march=native -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2650. conftest.c:31:11: error: expected ';' at end of declaration
  2651. int main() {return 0;}
  2652. ^
  2653. ;
  2654. 1 error generated.
  2655. configure:5242: $? = 1
  2656. configure: failed program was:
  2657. | /* confdefs.h */
  2658. | #define PACKAGE_NAME "OpenModelica"
  2659. | #define PACKAGE_TARNAME "openmodelica"
  2660. | #define PACKAGE_VERSION "dev"
  2661. | #define PACKAGE_STRING "OpenModelica dev"
  2662. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2663. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2664. | #define YYTEXT_POINTER 1
  2665. | #define STDC_HEADERS 1
  2666. | #define HAVE_SYS_TYPES_H 1
  2667. | #define HAVE_SYS_STAT_H 1
  2668. | #define HAVE_STDLIB_H 1
  2669. | #define HAVE_STRING_H 1
  2670. | #define HAVE_MEMORY_H 1
  2671. | #define HAVE_STRINGS_H 1
  2672. | #define HAVE_INTTYPES_H 1
  2673. | #define HAVE_STDINT_H 1
  2674. | #define HAVE_UNISTD_H 1
  2675. | #define HAVE_SYS_TIME_H 1
  2676. | #define HAVE_SQLITE3_H 1
  2677. | #define HAVE_VPRINTF 1
  2678. | #define HAVE_GETCWD 1
  2679. | #define HAVE_SELECT 1
  2680. | #define HAVE_STRDUP 1
  2681. | #define HAVE_STRERROR 1
  2682. | /* end confdefs.h. */
  2683. |
  2684. | int
  2685. | main ()
  2686. | {
  2687. | int main() {return 0;}
  2688. | ;
  2689. | return 0;
  2690. | }
  2691. configure:5242: /usr/bin/clang -o conftest -mfpmath=sse -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2692. clang: error: argument unused during compilation: '-mfpmath=sse'
  2693. configure:5242: $? = 1
  2694. configure: failed program was:
  2695. | /* confdefs.h */
  2696. | #define PACKAGE_NAME "OpenModelica"
  2697. | #define PACKAGE_TARNAME "openmodelica"
  2698. | #define PACKAGE_VERSION "dev"
  2699. | #define PACKAGE_STRING "OpenModelica dev"
  2700. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2701. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2702. | #define YYTEXT_POINTER 1
  2703. | #define STDC_HEADERS 1
  2704. | #define HAVE_SYS_TYPES_H 1
  2705. | #define HAVE_SYS_STAT_H 1
  2706. | #define HAVE_STDLIB_H 1
  2707. | #define HAVE_STRING_H 1
  2708. | #define HAVE_MEMORY_H 1
  2709. | #define HAVE_STRINGS_H 1
  2710. | #define HAVE_INTTYPES_H 1
  2711. | #define HAVE_STDINT_H 1
  2712. | #define HAVE_UNISTD_H 1
  2713. | #define HAVE_SYS_TIME_H 1
  2714. | #define HAVE_SQLITE3_H 1
  2715. | #define HAVE_VPRINTF 1
  2716. | #define HAVE_GETCWD 1
  2717. | #define HAVE_SELECT 1
  2718. | #define HAVE_STRDUP 1
  2719. | #define HAVE_STRERROR 1
  2720. | /* end confdefs.h. */
  2721. |
  2722. | int
  2723. | main ()
  2724. | {
  2725. | int main() {return 0;}
  2726. | ;
  2727. | return 0;
  2728. | }
  2729. configure:5271: result:
  2730. configure:5289: checking for library containing dlopen
  2731. configure:5320: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2732. configure:5320: $? = 0
  2733. configure:5337: result: none required
  2734. configure:5345: checking for library containing sqrt
  2735. configure:5376: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2736. conftest.c:34:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration]
  2737. char sqrt ();
  2738. ^
  2739. conftest.c:34:6: note: 'sqrt' is a builtin with type 'double (double)'
  2740. 1 warning generated.
  2741. configure:5376: $? = 0
  2742. configure:5393: result: none required
  2743. configure:5401: checking for library containing colamd
  2744. configure:5432: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  2745. Undefined symbols for architecture x86_64:
  2746. "_colamd", referenced from:
  2747. _main in conftest-IUoSVd.o
  2748. ld: symbol(s) not found for architecture x86_64
  2749. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2750. configure:5432: $? = 1
  2751. configure: failed program was:
  2752. | /* confdefs.h */
  2753. | #define PACKAGE_NAME "OpenModelica"
  2754. | #define PACKAGE_TARNAME "openmodelica"
  2755. | #define PACKAGE_VERSION "dev"
  2756. | #define PACKAGE_STRING "OpenModelica dev"
  2757. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2758. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2759. | #define YYTEXT_POINTER 1
  2760. | #define STDC_HEADERS 1
  2761. | #define HAVE_SYS_TYPES_H 1
  2762. | #define HAVE_SYS_STAT_H 1
  2763. | #define HAVE_STDLIB_H 1
  2764. | #define HAVE_STRING_H 1
  2765. | #define HAVE_MEMORY_H 1
  2766. | #define HAVE_STRINGS_H 1
  2767. | #define HAVE_INTTYPES_H 1
  2768. | #define HAVE_STDINT_H 1
  2769. | #define HAVE_UNISTD_H 1
  2770. | #define HAVE_SYS_TIME_H 1
  2771. | #define HAVE_SQLITE3_H 1
  2772. | #define HAVE_VPRINTF 1
  2773. | #define HAVE_GETCWD 1
  2774. | #define HAVE_SELECT 1
  2775. | #define HAVE_STRDUP 1
  2776. | #define HAVE_STRERROR 1
  2777. | /* end confdefs.h. */
  2778. |
  2779. | /* Override any GCC internal prototype to avoid an error.
  2780. | Use char because int might match the return type of a GCC
  2781. | builtin and then its argument prototype would still apply. */
  2782. | #ifdef __cplusplus
  2783. | extern "C"
  2784. | #endif
  2785. | char colamd ();
  2786. | int
  2787. | main ()
  2788. | {
  2789. | return colamd ();
  2790. | ;
  2791. | return 0;
  2792. | }
  2793. configure:5432: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lcolamd >&5
  2794. configure:5432: $? = 0
  2795. configure:5449: result: -lcolamd
  2796. configure:5457: checking for library containing make_lp
  2797. configure:5488: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lcolamd >&5
  2798. Undefined symbols for architecture x86_64:
  2799. "_make_lp", referenced from:
  2800. _main in conftest-O6pnjn.o
  2801. ld: symbol(s) not found for architecture x86_64
  2802. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2803. configure:5488: $? = 1
  2804. configure: failed program was:
  2805. | /* confdefs.h */
  2806. | #define PACKAGE_NAME "OpenModelica"
  2807. | #define PACKAGE_TARNAME "openmodelica"
  2808. | #define PACKAGE_VERSION "dev"
  2809. | #define PACKAGE_STRING "OpenModelica dev"
  2810. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2811. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2812. | #define YYTEXT_POINTER 1
  2813. | #define STDC_HEADERS 1
  2814. | #define HAVE_SYS_TYPES_H 1
  2815. | #define HAVE_SYS_STAT_H 1
  2816. | #define HAVE_STDLIB_H 1
  2817. | #define HAVE_STRING_H 1
  2818. | #define HAVE_MEMORY_H 1
  2819. | #define HAVE_STRINGS_H 1
  2820. | #define HAVE_INTTYPES_H 1
  2821. | #define HAVE_STDINT_H 1
  2822. | #define HAVE_UNISTD_H 1
  2823. | #define HAVE_SYS_TIME_H 1
  2824. | #define HAVE_SQLITE3_H 1
  2825. | #define HAVE_VPRINTF 1
  2826. | #define HAVE_GETCWD 1
  2827. | #define HAVE_SELECT 1
  2828. | #define HAVE_STRDUP 1
  2829. | #define HAVE_STRERROR 1
  2830. | /* end confdefs.h. */
  2831. |
  2832. | /* Override any GCC internal prototype to avoid an error.
  2833. | Use char because int might match the return type of a GCC
  2834. | builtin and then its argument prototype would still apply. */
  2835. | #ifdef __cplusplus
  2836. | extern "C"
  2837. | #endif
  2838. | char make_lp ();
  2839. | int
  2840. | main ()
  2841. | {
  2842. | return make_lp ();
  2843. | ;
  2844. | return 0;
  2845. | }
  2846. configure:5488: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llpsolve55_pic -lcolamd >&5
  2847. ld: library not found for -llpsolve55_pic
  2848. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2849. configure:5488: $? = 1
  2850. configure: failed program was:
  2851. | /* confdefs.h */
  2852. | #define PACKAGE_NAME "OpenModelica"
  2853. | #define PACKAGE_TARNAME "openmodelica"
  2854. | #define PACKAGE_VERSION "dev"
  2855. | #define PACKAGE_STRING "OpenModelica dev"
  2856. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2857. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2858. | #define YYTEXT_POINTER 1
  2859. | #define STDC_HEADERS 1
  2860. | #define HAVE_SYS_TYPES_H 1
  2861. | #define HAVE_SYS_STAT_H 1
  2862. | #define HAVE_STDLIB_H 1
  2863. | #define HAVE_STRING_H 1
  2864. | #define HAVE_MEMORY_H 1
  2865. | #define HAVE_STRINGS_H 1
  2866. | #define HAVE_INTTYPES_H 1
  2867. | #define HAVE_STDINT_H 1
  2868. | #define HAVE_UNISTD_H 1
  2869. | #define HAVE_SYS_TIME_H 1
  2870. | #define HAVE_SQLITE3_H 1
  2871. | #define HAVE_VPRINTF 1
  2872. | #define HAVE_GETCWD 1
  2873. | #define HAVE_SELECT 1
  2874. | #define HAVE_STRDUP 1
  2875. | #define HAVE_STRERROR 1
  2876. | /* end confdefs.h. */
  2877. |
  2878. | /* Override any GCC internal prototype to avoid an error.
  2879. | Use char because int might match the return type of a GCC
  2880. | builtin and then its argument prototype would still apply. */
  2881. | #ifdef __cplusplus
  2882. | extern "C"
  2883. | #endif
  2884. | char make_lp ();
  2885. | int
  2886. | main ()
  2887. | {
  2888. | return make_lp ();
  2889. | ;
  2890. | return 0;
  2891. | }
  2892. configure:5488: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llpsolve55 -lcolamd >&5
  2893. configure:5488: $? = 0
  2894. configure:5505: result: -llpsolve55
  2895. configure:5668: checking lp_lib.h usability
  2896. configure:5668: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  2897. conftest.c:60:10: fatal error: 'lp_lib.h' file not found
  2898. #include <lp_lib.h>
  2899. ^
  2900. 1 error generated.
  2901. configure:5668: $? = 1
  2902. configure: failed program was:
  2903. | /* confdefs.h */
  2904. | #define PACKAGE_NAME "OpenModelica"
  2905. | #define PACKAGE_TARNAME "openmodelica"
  2906. | #define PACKAGE_VERSION "dev"
  2907. | #define PACKAGE_STRING "OpenModelica dev"
  2908. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2909. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2910. | #define YYTEXT_POINTER 1
  2911. | #define STDC_HEADERS 1
  2912. | #define HAVE_SYS_TYPES_H 1
  2913. | #define HAVE_SYS_STAT_H 1
  2914. | #define HAVE_STDLIB_H 1
  2915. | #define HAVE_STRING_H 1
  2916. | #define HAVE_MEMORY_H 1
  2917. | #define HAVE_STRINGS_H 1
  2918. | #define HAVE_INTTYPES_H 1
  2919. | #define HAVE_STDINT_H 1
  2920. | #define HAVE_UNISTD_H 1
  2921. | #define HAVE_SYS_TIME_H 1
  2922. | #define HAVE_SQLITE3_H 1
  2923. | #define HAVE_VPRINTF 1
  2924. | #define HAVE_GETCWD 1
  2925. | #define HAVE_SELECT 1
  2926. | #define HAVE_STRDUP 1
  2927. | #define HAVE_STRERROR 1
  2928. | /* end confdefs.h. */
  2929. | #include <stdio.h>
  2930. | #ifdef HAVE_SYS_TYPES_H
  2931. | # include <sys/types.h>
  2932. | #endif
  2933. | #ifdef HAVE_SYS_STAT_H
  2934. | # include <sys/stat.h>
  2935. | #endif
  2936. | #ifdef STDC_HEADERS
  2937. | # include <stdlib.h>
  2938. | # include <stddef.h>
  2939. | #else
  2940. | # ifdef HAVE_STDLIB_H
  2941. | # include <stdlib.h>
  2942. | # endif
  2943. | #endif
  2944. | #ifdef HAVE_STRING_H
  2945. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2946. | # include <memory.h>
  2947. | # endif
  2948. | # include <string.h>
  2949. | #endif
  2950. | #ifdef HAVE_STRINGS_H
  2951. | # include <strings.h>
  2952. | #endif
  2953. | #ifdef HAVE_INTTYPES_H
  2954. | # include <inttypes.h>
  2955. | #endif
  2956. | #ifdef HAVE_STDINT_H
  2957. | # include <stdint.h>
  2958. | #endif
  2959. | #ifdef HAVE_UNISTD_H
  2960. | # include <unistd.h>
  2961. | #endif
  2962. | #include <lp_lib.h>
  2963. configure:5668: result: no
  2964. configure:5668: checking lp_lib.h presence
  2965. configure:5668: /usr/bin/clang -E -I/opt/local/include conftest.c
  2966. conftest.c:27:10: fatal error: 'lp_lib.h' file not found
  2967. #include <lp_lib.h>
  2968. ^
  2969. 1 error generated.
  2970. configure:5668: $? = 1
  2971. configure: failed program was:
  2972. | /* confdefs.h */
  2973. | #define PACKAGE_NAME "OpenModelica"
  2974. | #define PACKAGE_TARNAME "openmodelica"
  2975. | #define PACKAGE_VERSION "dev"
  2976. | #define PACKAGE_STRING "OpenModelica dev"
  2977. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  2978. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  2979. | #define YYTEXT_POINTER 1
  2980. | #define STDC_HEADERS 1
  2981. | #define HAVE_SYS_TYPES_H 1
  2982. | #define HAVE_SYS_STAT_H 1
  2983. | #define HAVE_STDLIB_H 1
  2984. | #define HAVE_STRING_H 1
  2985. | #define HAVE_MEMORY_H 1
  2986. | #define HAVE_STRINGS_H 1
  2987. | #define HAVE_INTTYPES_H 1
  2988. | #define HAVE_STDINT_H 1
  2989. | #define HAVE_UNISTD_H 1
  2990. | #define HAVE_SYS_TIME_H 1
  2991. | #define HAVE_SQLITE3_H 1
  2992. | #define HAVE_VPRINTF 1
  2993. | #define HAVE_GETCWD 1
  2994. | #define HAVE_SELECT 1
  2995. | #define HAVE_STRDUP 1
  2996. | #define HAVE_STRERROR 1
  2997. | /* end confdefs.h. */
  2998. | #include <lp_lib.h>
  2999. configure:5668: result: no
  3000. configure:5668: checking for lp_lib.h
  3001. configure:5668: result: no
  3002. configure:5673: checking lpsolve/lp_lib.h usability
  3003. configure:5673: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
  3004. configure:5673: $? = 0
  3005. configure:5673: result: yes
  3006. configure:5673: checking lpsolve/lp_lib.h presence
  3007. configure:5673: /usr/bin/clang -E -I/opt/local/include conftest.c
  3008. configure:5673: $? = 0
  3009. configure:5673: result: yes
  3010. configure:5673: checking for lpsolve/lp_lib.h
  3011. configure:5673: result: yes
  3012. configure:5688: checking for socket
  3013. configure:5688: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  3014. configure:5688: $? = 0
  3015. configure:5688: result: yes
  3016. configure:5741: checking for gethostbyname
  3017. configure:5741: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
  3018. configure:5741: $? = 0
  3019. configure:5741: result: yes
  3020. configure:5876: checking LAPACK/BLAS flags
  3021. configure:5910: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llapack -lblas >&5
  3022. Undefined symbols for architecture x86_64:
  3023. "_ATL_dger", referenced from:
  3024. _ATL_dgetf2 in liblapack.a(ATL_dgetf2.o)
  3025. "_ATL_xerbla", referenced from:
  3026. _atl_f77wrap_dgesv_ in liblapack.a(ATL_f77wrap_dgesv.o)
  3027. ld: symbol(s) not found for architecture x86_64
  3028. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  3029. configure:5910: $? = 1
  3030. configure: failed program was:
  3031. | /* confdefs.h */
  3032. | #define PACKAGE_NAME "OpenModelica"
  3033. | #define PACKAGE_TARNAME "openmodelica"
  3034. | #define PACKAGE_VERSION "dev"
  3035. | #define PACKAGE_STRING "OpenModelica dev"
  3036. | #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  3037. | #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  3038. | #define YYTEXT_POINTER 1
  3039. | #define STDC_HEADERS 1
  3040. | #define HAVE_SYS_TYPES_H 1
  3041. | #define HAVE_SYS_STAT_H 1
  3042. | #define HAVE_STDLIB_H 1
  3043. | #define HAVE_STRING_H 1
  3044. | #define HAVE_MEMORY_H 1
  3045. | #define HAVE_STRINGS_H 1
  3046. | #define HAVE_INTTYPES_H 1
  3047. | #define HAVE_STDINT_H 1
  3048. | #define HAVE_UNISTD_H 1
  3049. | #define HAVE_SYS_TIME_H 1
  3050. | #define HAVE_SQLITE3_H 1
  3051. | #define HAVE_VPRINTF 1
  3052. | #define HAVE_GETCWD 1
  3053. | #define HAVE_SELECT 1
  3054. | #define HAVE_STRDUP 1
  3055. | #define HAVE_STRERROR 1
  3056. | /* end confdefs.h. */
  3057. |
  3058. | /* Override any GCC internal prototype to avoid an error.
  3059. | Use char because int might match the return type of a GCC
  3060. | builtin and then its argument prototype would still apply. */
  3061. | #ifdef __cplusplus
  3062. | extern "C"
  3063. | #endif
  3064. | char dgesv_ ();
  3065. | int
  3066. | main ()
  3067. | {
  3068. | return dgesv_ ();
  3069. | ;
  3070. | return 0;
  3071. | }
  3072. configure:5913: error: dgesv (LAPACK) linking failed using -llapack -lblas
  3073.  
  3074. ## ---------------- ##
  3075. ## Cache variables. ##
  3076. ## ---------------- ##
  3077.  
  3078. ac_cv_build=x86_64-apple-darwin13.0.0
  3079. ac_cv_c_compiler_gnu=yes
  3080. ac_cv_c_const=yes
  3081. ac_cv_cxx_compiler_gnu=yes
  3082. ac_cv_env_CCC_set=
  3083. ac_cv_env_CCC_value=
  3084. ac_cv_env_CC_set=set
  3085. ac_cv_env_CC_value=/usr/bin/clang
  3086. ac_cv_env_CFLAGS_set=set
  3087. ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
  3088. ac_cv_env_CPPFLAGS_set=set
  3089. ac_cv_env_CPPFLAGS_value=-I/opt/local/include
  3090. ac_cv_env_CPP_set=
  3091. ac_cv_env_CPP_value=
  3092. ac_cv_env_CXXFLAGS_set=set
  3093. ac_cv_env_CXXFLAGS_value='-pipe -Os -arch x86_64 -stdlib=libc++'
  3094. ac_cv_env_CXX_set=set
  3095. ac_cv_env_CXX_value=/usr/bin/clang++
  3096. ac_cv_env_FCFLAGS_set=set
  3097. ac_cv_env_FCFLAGS_value='-pipe -Os -m64'
  3098. ac_cv_env_FC_set=set
  3099. ac_cv_env_FC_value=/opt/local/bin/gfortran-mp-4.8
  3100. ac_cv_env_LDFLAGS_set=set
  3101. ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
  3102. ac_cv_env_LIBS_set=
  3103. ac_cv_env_LIBS_value=
  3104. ac_cv_env_OMPCC_set=
  3105. ac_cv_env_OMPCC_value=
  3106. ac_cv_env_RUNTIMECC_set=
  3107. ac_cv_env_RUNTIMECC_value=
  3108. ac_cv_env_RUNTIMECFLAGS_set=
  3109. ac_cv_env_RUNTIMECFLAGS_value=
  3110. ac_cv_env_build_alias_set=
  3111. ac_cv_env_build_alias_value=
  3112. ac_cv_env_host_alias_set=
  3113. ac_cv_env_host_alias_value=
  3114. ac_cv_env_target_alias_set=
  3115. ac_cv_env_target_alias_value=
  3116. ac_cv_fc_compiler_gnu=yes
  3117. ac_cv_func__doprnt=no
  3118. ac_cv_func_getcwd=yes
  3119. ac_cv_func_gethostbyname=yes
  3120. ac_cv_func_select=yes
  3121. ac_cv_func_socket=yes
  3122. ac_cv_func_strdup=yes
  3123. ac_cv_func_strerror=yes
  3124. ac_cv_func_vprintf=yes
  3125. ac_cv_header_expat_h=yes
  3126. ac_cv_header_f2c_h=no
  3127. ac_cv_header_inttypes_h=yes
  3128. ac_cv_header_lp_lib_h=no
  3129. ac_cv_header_lpsolve_lp_lib_h=yes
  3130. ac_cv_header_memory_h=yes
  3131. ac_cv_header_readline_history_h=yes
  3132. ac_cv_header_readline_readline_h=yes
  3133. ac_cv_header_sqlite3_h=yes
  3134. ac_cv_header_stdc=yes
  3135. ac_cv_header_stdint_h=yes
  3136. ac_cv_header_stdlib_h=yes
  3137. ac_cv_header_string_h=yes
  3138. ac_cv_header_strings_h=yes
  3139. ac_cv_header_sys_stat_h=yes
  3140. ac_cv_header_sys_time_h=yes
  3141. ac_cv_header_sys_types_h=yes
  3142. ac_cv_header_unistd_h=yes
  3143. ac_cv_host=x86_64-apple-darwin13.0.0
  3144. ac_cv_lib_lex=-lfl
  3145. ac_cv_objext=o
  3146. ac_cv_path_EGREP='/opt/local/bin/grep -E'
  3147. ac_cv_path_GREP=/opt/local/bin/grep
  3148. ac_cv_prog_CPP='/usr/bin/clang -E'
  3149. ac_cv_prog_LEX=flex
  3150. ac_cv_prog_ac_ct_CC=/usr/bin/clang
  3151. ac_cv_prog_cc_c89=
  3152. ac_cv_prog_cc_g=yes
  3153. ac_cv_prog_cxx_g=yes
  3154. ac_cv_prog_fc_g=yes
  3155. ac_cv_prog_lex_root=lex.yy
  3156. ac_cv_prog_lex_yytext_pointer=yes
  3157. ac_cv_prog_make_make_set=yes
  3158. ac_cv_search_colamd=-lcolamd
  3159. ac_cv_search_dlopen='none required'
  3160. ac_cv_search_make_lp=-llpsolve55
  3161. ac_cv_search_readline=-lreadline
  3162. ac_cv_search_sqrt='none required'
  3163. ac_cv_type_size_t=yes
  3164.  
  3165. ## ----------------- ##
  3166. ## Output variables. ##
  3167. ## ----------------- ##
  3168.  
  3169. APP=''
  3170. AR='ar'
  3171. AR_SH=''
  3172. BOOSTHOME=''
  3173. BOOTSTRAP_TARGET=''
  3174. CC='/usr/bin/clang'
  3175. CFLAGS='-pipe -Os -arch x86_64'
  3176. CONFIG_WITH_OPENMP='0'
  3177. CORBACFLAGS=''
  3178. CORBALIBS=''
  3179. CORBA_QMAKE_INCLUDES=''
  3180. CPP='/usr/bin/clang -E'
  3181. CPPFLAGS='-I/opt/local/include'
  3182. CPPFLAGS_F2C=''
  3183. CXX='/usr/bin/clang++'
  3184. CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
  3185. DEFS=''
  3186. ECHO_C='\c'
  3187. ECHO_N=''
  3188. ECHO_T=''
  3189. EGREP='/opt/local/bin/grep -E'
  3190. EXE=''
  3191. EXEEXT=''
  3192. FC='/opt/local/bin/gfortran-mp-4.8'
  3193. FCFLAGS='-pipe -Os -m64'
  3194. FMILIB_SHARED=''
  3195. FPMATHFORTRAN=''
  3196. GENERATED_AUTOCONF_FILES=''
  3197. GREP='/opt/local/bin/grep'
  3198. IDLCMD=''
  3199. IDLPATH=''
  3200. IDLPYTHONCMD=''
  3201. IPOPT_CFLAGS=''
  3202. IPOPT_LDFLAGS=''
  3203. LAPACK_TARGET=''
  3204. LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
  3205. LDFLAGS_SOCKET=''
  3206. LD_LAPACK='-llapack -lblas'
  3207. LEX='flex'
  3208. LEXLIB='-lfl'
  3209. LEX_OUTPUT_ROOT='lex.yy'
  3210. LIBF2C='libf2c/libf2c.a'
  3211. LIBFMILIB=''
  3212. LIBFMIRUNTIME=''
  3213. LIBGC=''
  3214. LIBLPSOLVE55='-llpsolve55 -lcolamd '
  3215. LIBNSL=''
  3216. LIBOBJS=''
  3217. LIBREADLINE='-lreadline '
  3218. LIBRUNTIME=''
  3219. LIBS='-llapack -lblas'
  3220. LIBSIMULATION=''
  3221. LIBSOCKET=''
  3222. LINK=''
  3223. LIS_LDFLAGS=''
  3224. LPSOLVEINC='lpsolve/lp_lib.h'
  3225. LRELEASE=''
  3226. LTLIBOBJS=''
  3227. MAKE='make'
  3228. MODELICA3D=''
  3229. MODELICA_SPEC_PLATFORM=''
  3230. MSL_EXTRA_ARGS=''
  3231. OBJEXT='o'
  3232. OMC='/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_18299/build/bin/omc'
  3233. OMCTARGET='omc-bootstrapped'
  3234. OMC_LIBS=''
  3235. OMNOTEBOOK=''
  3236. OMOPTIM_CC=''
  3237. OMOPTIM_CXX=''
  3238. OMPCC='/usr/bin/clang'
  3239. OMSHELL_TERMINAL='mosh'
  3240. OPENBLAS_EXTRA_ARGS=''
  3241. OPENCL=''
  3242. OPENMODELICA_SPEC_PLATFORM=''
  3243. OS_TARGET=''
  3244. PACKAGE_BUGREPORT='https://trac.modelica.org/Modelica'
  3245. PACKAGE_NAME='OpenModelica'
  3246. PACKAGE_STRING='OpenModelica dev'
  3247. PACKAGE_TARNAME='openmodelica'
  3248. PACKAGE_URL='https://trac.openmodelica.org/OpenModelica'
  3249. PACKAGE_VERSION='dev'
  3250. PATH_SEPARATOR=':'
  3251. PYTHON_INTERFACE=''
  3252. QMAKE=''
  3253. QT_USE_CORBA=''
  3254. RMLC=''
  3255. RML_TRACE=''
  3256. RPATH=''
  3257. RT_LDFLAGS=''
  3258. RT_LDFLAGS_GENERATED_CODE=''
  3259. RT_LDFLAGS_GENERATED_CODE_SIM=''
  3260. RT_LDFLAGS_SIM=''
  3261. RUNTIMECC='/usr/bin/clang'
  3262. RUNTIMECFLAGS=''
  3263. SET_MAKE=''
  3264. SHELL='/bin/sh'
  3265. SHREXT=''
  3266. SOURCE_REVISION=''
  3267. SUNDIALS_LDFLAGS=''
  3268. USE_CORBA=''
  3269. USE_MODPAR=''
  3270. WITH_HWLOC=''
  3271. WITH_IPOPT=''
  3272. WITH_SUNDIALS=''
  3273. ac_ct_CC='/usr/bin/clang'
  3274. ac_ct_CXX=''
  3275. ac_ct_FC=''
  3276. antlrinc=''
  3277. antlrlib=''
  3278. bindir='${exec_prefix}/bin'
  3279. build='x86_64-apple-darwin13.0.0'
  3280. build_alias=''
  3281. build_cpu='x86_64'
  3282. build_os='darwin13.0.0'
  3283. build_vendor='apple'
  3284. datadir='${datarootdir}'
  3285. datarootdir='${prefix}/share'
  3286. date=''
  3287. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  3288. dvidir='${docdir}'
  3289. exec_prefix='NONE'
  3290. host='x86_64-apple-darwin13.0.0'
  3291. host_alias=''
  3292. host_cpu='x86_64'
  3293. host_os='darwin13.0.0'
  3294. host_vendor='apple'
  3295. htmldir='${docdir}'
  3296. includedir='${prefix}/include'
  3297. infodir='${datarootdir}/info'
  3298. libdir='${exec_prefix}/lib'
  3299. libexecdir='${exec_prefix}/libexec'
  3300. localedir='${datarootdir}/locale'
  3301. localstatedir='${prefix}/var'
  3302. mandir='${datarootdir}/man'
  3303. oldincludedir='/usr/include'
  3304. omc_antlr_jar='build/share/omc/java/antlr-3.1.3.jar'
  3305. pdfdir='${docdir}'
  3306. prefix='/opt/local'
  3307. program_transform_name='s,x,x,'
  3308. psdir='${docdir}'
  3309. rmlc_bin=''
  3310. rmlhome='CONFIGUREDWITHOUTRMLDONTTRYTHISMAKEFILETARGETAGAIN'
  3311. rmlinc=''
  3312. sbindir='${exec_prefix}/sbin'
  3313. sharedstatedir='${prefix}/com'
  3314. sysconfdir='${prefix}/etc'
  3315. target_alias=''
  3316. with_paradiseo='no'
  3317. with_paradiseo_include=''
  3318. with_paradiseo_lib=''
  3319. with_qwt=''
  3320. with_qwt_suffix=''
  3321.  
  3322. ## ----------- ##
  3323. ## confdefs.h. ##
  3324. ## ----------- ##
  3325.  
  3326. /* confdefs.h */
  3327. #define PACKAGE_NAME "OpenModelica"
  3328. #define PACKAGE_TARNAME "openmodelica"
  3329. #define PACKAGE_VERSION "dev"
  3330. #define PACKAGE_STRING "OpenModelica dev"
  3331. #define PACKAGE_BUGREPORT "https://trac.modelica.org/Modelica"
  3332. #define PACKAGE_URL "https://trac.openmodelica.org/OpenModelica"
  3333. #define YYTEXT_POINTER 1
  3334. #define STDC_HEADERS 1
  3335. #define HAVE_SYS_TYPES_H 1
  3336. #define HAVE_SYS_STAT_H 1
  3337. #define HAVE_STDLIB_H 1
  3338. #define HAVE_STRING_H 1
  3339. #define HAVE_MEMORY_H 1
  3340. #define HAVE_STRINGS_H 1
  3341. #define HAVE_INTTYPES_H 1
  3342. #define HAVE_STDINT_H 1
  3343. #define HAVE_UNISTD_H 1
  3344. #define HAVE_SYS_TIME_H 1
  3345. #define HAVE_SQLITE3_H 1
  3346. #define HAVE_VPRINTF 1
  3347. #define HAVE_GETCWD 1
  3348. #define HAVE_SELECT 1
  3349. #define HAVE_STRDUP 1
  3350. #define HAVE_STRERROR 1
  3351.  
  3352. configure: exit 1
Add Comment
Please, Sign In to add comment