Ticket #46228: config.log

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