1 | This file contains any messages produced by compilers while |
---|
2 | running configure, to aid debugging if configure makes a mistake. |
---|
3 | |
---|
4 | It was created by OGRE configure 1.4.5, which was |
---|
5 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = tardis-b15 |
---|
14 | uname -m = i686 |
---|
15 | uname -r = 2.6.21.4-generic32-isg-ee-sm-pxe-smp-1 |
---|
16 | uname -s = Linux |
---|
17 | uname -v = #1 SMP Fri Jun 22 08:14:46 CEST 2007 |
---|
18 | |
---|
19 | /usr/bin/uname -p = unknown |
---|
20 | /bin/uname -X = unknown |
---|
21 | |
---|
22 | /bin/arch = i686 |
---|
23 | /usr/bin/arch -k = unknown |
---|
24 | /usr/convex/getsysinfo = unknown |
---|
25 | /usr/bin/hostinfo = unknown |
---|
26 | /bin/machine = unknown |
---|
27 | /usr/bin/oslevel = unknown |
---|
28 | /bin/universe = unknown |
---|
29 | |
---|
30 | PATH: /usr/bin_override |
---|
31 | PATH: /bin |
---|
32 | PATH: /usr/bin |
---|
33 | PATH: /usr/sepp/bin |
---|
34 | PATH: /usr/isgtc/bin |
---|
35 | PATH: /usr/openwin/bin |
---|
36 | PATH: /usr/X11R6/bin |
---|
37 | PATH: /usr/bin/X11 |
---|
38 | PATH: /usr/games |
---|
39 | PATH: /usr/dt/bin |
---|
40 | PATH: /usr/ccs/bin |
---|
41 | PATH: /usr/sbin |
---|
42 | PATH: /opt/SUNWut/bin |
---|
43 | PATH: /usr/local/bin |
---|
44 | PATH: /usr/ucb |
---|
45 | |
---|
46 | |
---|
47 | ## ----------- ## |
---|
48 | ## Core tests. ## |
---|
49 | ## ----------- ## |
---|
50 | |
---|
51 | configure:2116: checking build system type |
---|
52 | configure:2134: result: i686-pc-linux-gnu |
---|
53 | configure:2156: checking host system type |
---|
54 | configure:2171: result: i686-pc-linux-gnu |
---|
55 | configure:2193: checking target system type |
---|
56 | configure:2208: result: i686-pc-linux-gnu |
---|
57 | configure:2254: checking for a BSD-compatible install |
---|
58 | configure:2310: result: /usr/bin/install -c |
---|
59 | configure:2321: checking whether build environment is sane |
---|
60 | configure:2364: result: yes |
---|
61 | configure:2392: checking for a thread-safe mkdir -p |
---|
62 | configure:2431: result: /bin/mkdir -p |
---|
63 | configure:2444: checking for gawk |
---|
64 | configure:2460: found /usr/sepp/bin/gawk |
---|
65 | configure:2471: result: gawk |
---|
66 | configure:2482: checking whether make sets $(MAKE) |
---|
67 | configure:2503: result: yes |
---|
68 | configure:2742: checking for gcc |
---|
69 | configure:2758: found /usr/bin/gcc |
---|
70 | configure:2769: result: gcc |
---|
71 | configure:3007: checking for C compiler version |
---|
72 | configure:3014: gcc --version >&5 |
---|
73 | gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) |
---|
74 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
75 | This is free software; see the source for copying conditions. There is NO |
---|
76 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
77 | |
---|
78 | configure:3017: $? = 0 |
---|
79 | configure:3024: gcc -v >&5 |
---|
80 | Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs |
---|
81 | Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux |
---|
82 | Thread model: posix |
---|
83 | gcc version 3.3.5 (Debian 1:3.3.5-13) |
---|
84 | configure:3027: $? = 0 |
---|
85 | configure:3034: gcc -V >&5 |
---|
86 | gcc: `-V' option must have argument |
---|
87 | configure:3037: $? = 1 |
---|
88 | configure:3060: checking for C compiler default output file name |
---|
89 | configure:3087: gcc conftest.c >&5 |
---|
90 | configure:3090: $? = 0 |
---|
91 | configure:3128: result: a.out |
---|
92 | configure:3145: checking whether the C compiler works |
---|
93 | configure:3155: ./a.out |
---|
94 | configure:3158: $? = 0 |
---|
95 | configure:3175: result: yes |
---|
96 | configure:3182: checking whether we are cross compiling |
---|
97 | configure:3184: result: no |
---|
98 | configure:3187: checking for suffix of executables |
---|
99 | configure:3194: gcc -o conftest conftest.c >&5 |
---|
100 | configure:3197: $? = 0 |
---|
101 | configure:3221: result: |
---|
102 | configure:3227: checking for suffix of object files |
---|
103 | configure:3253: gcc -c conftest.c >&5 |
---|
104 | configure:3256: $? = 0 |
---|
105 | configure:3279: result: o |
---|
106 | configure:3283: checking whether we are using the GNU C compiler |
---|
107 | configure:3312: gcc -c conftest.c >&5 |
---|
108 | configure:3318: $? = 0 |
---|
109 | configure:3335: result: yes |
---|
110 | configure:3340: checking whether gcc accepts -g |
---|
111 | configure:3370: gcc -c -g conftest.c >&5 |
---|
112 | configure:3376: $? = 0 |
---|
113 | configure:3475: result: yes |
---|
114 | configure:3492: checking for gcc option to accept ISO C89 |
---|
115 | configure:3566: gcc -c -g -O2 conftest.c >&5 |
---|
116 | configure:3572: $? = 0 |
---|
117 | configure:3595: result: none needed |
---|
118 | configure:3624: checking for style of include used by make |
---|
119 | configure:3652: result: GNU |
---|
120 | configure:3677: checking dependency style of gcc |
---|
121 | configure:3768: result: gcc3 |
---|
122 | configure:3841: checking for g++ |
---|
123 | configure:3857: found /usr/bin/g++ |
---|
124 | configure:3868: result: g++ |
---|
125 | configure:3899: checking for C++ compiler version |
---|
126 | configure:3906: g++ --version >&5 |
---|
127 | g++ (GCC) 3.3.5 (Debian 1:3.3.5-13) |
---|
128 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
129 | This is free software; see the source for copying conditions. There is NO |
---|
130 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
131 | |
---|
132 | configure:3909: $? = 0 |
---|
133 | configure:3916: g++ -v >&5 |
---|
134 | Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs |
---|
135 | Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux |
---|
136 | Thread model: posix |
---|
137 | gcc version 3.3.5 (Debian 1:3.3.5-13) |
---|
138 | configure:3919: $? = 0 |
---|
139 | configure:3926: g++ -V >&5 |
---|
140 | g++: `-V' option must have argument |
---|
141 | configure:3929: $? = 1 |
---|
142 | configure:3932: checking whether we are using the GNU C++ compiler |
---|
143 | configure:3961: g++ -c conftest.cpp >&5 |
---|
144 | configure:3967: $? = 0 |
---|
145 | configure:3984: result: yes |
---|
146 | configure:3989: checking whether g++ accepts -g |
---|
147 | configure:4019: g++ -c -g conftest.cpp >&5 |
---|
148 | configure:4025: $? = 0 |
---|
149 | configure:4124: result: yes |
---|
150 | configure:4149: checking dependency style of g++ |
---|
151 | configure:4240: result: gcc3 |
---|
152 | configure:4256: checking whether gcc and cc understand -c and -o together |
---|
153 | configure:4291: gcc -c conftest.c -o conftest2.o >&5 |
---|
154 | configure:4294: $? = 0 |
---|
155 | configure:4300: gcc -c conftest.c -o conftest2.o >&5 |
---|
156 | configure:4303: $? = 0 |
---|
157 | configure:4314: cc -c conftest.c >&5 |
---|
158 | configure:4317: $? = 0 |
---|
159 | configure:4325: cc -c conftest.c -o conftest2.o >&5 |
---|
160 | configure:4328: $? = 0 |
---|
161 | configure:4334: cc -c conftest.c -o conftest2.o >&5 |
---|
162 | configure:4337: $? = 0 |
---|
163 | configure:4355: result: yes |
---|
164 | configure:4394: checking for a BSD-compatible install |
---|
165 | configure:4450: result: /usr/bin/install -c |
---|
166 | configure:4465: checking for bison |
---|
167 | configure:4481: found /usr/sepp/bin/bison |
---|
168 | configure:4492: result: bison -y |
---|
169 | configure:4509: checking for flex |
---|
170 | configure:4525: found /usr/bin/flex |
---|
171 | configure:4536: result: flex |
---|
172 | configure:4573: flex conftest.l |
---|
173 | configure:4576: $? = 0 |
---|
174 | configure:4578: checking lex output file root |
---|
175 | configure:4594: result: lex.yy |
---|
176 | configure:4599: checking lex library |
---|
177 | configure:4618: gcc -o conftest -g -O2 conftest.c >&5 |
---|
178 | /tmp/ccSITSuw.o(.text+0x3d5): In function `yylex': |
---|
179 | /home/landauf/orxonoxv2/ogre/lex.yy.c:825: undefined reference to `yywrap' |
---|
180 | /tmp/ccSITSuw.o(.text+0xb3d): In function `input': |
---|
181 | /home/landauf/orxonoxv2/ogre/lex.yy.c:1118: undefined reference to `yywrap' |
---|
182 | /tmp/ccSITSuw.o(.text+0x1399): In function `main': |
---|
183 | /home/landauf/orxonoxv2/ogre/conftest.l:17: undefined reference to `yywrap' |
---|
184 | collect2: ld returned 1 exit status |
---|
185 | configure:4624: $? = 1 |
---|
186 | configure: failed program was: |
---|
187 | | |
---|
188 | | #line 3 "lex.yy.c" |
---|
189 | | |
---|
190 | | #define YY_INT_ALIGNED short int |
---|
191 | | |
---|
192 | | /* A lexical scanner generated by flex */ |
---|
193 | | |
---|
194 | | #define FLEX_SCANNER |
---|
195 | | #define YY_FLEX_MAJOR_VERSION 2 |
---|
196 | | #define YY_FLEX_MINOR_VERSION 5 |
---|
197 | | #define YY_FLEX_SUBMINOR_VERSION 31 |
---|
198 | | #if YY_FLEX_SUBMINOR_VERSION > 0 |
---|
199 | | #define FLEX_BETA |
---|
200 | | #endif |
---|
201 | | |
---|
202 | | /* First, we deal with platform-specific or compiler-specific issues. */ |
---|
203 | | |
---|
204 | | /* begin standard C headers. */ |
---|
205 | | #include <stdio.h> |
---|
206 | | #include <string.h> |
---|
207 | | #include <errno.h> |
---|
208 | | #include <stdlib.h> |
---|
209 | | |
---|
210 | | /* end standard C headers. */ |
---|
211 | | |
---|
212 | | /* flex integer type definitions */ |
---|
213 | | |
---|
214 | | #ifndef FLEXINT_H |
---|
215 | | #define FLEXINT_H |
---|
216 | | |
---|
217 | | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
---|
218 | | |
---|
219 | | #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L |
---|
220 | | #include <inttypes.h> |
---|
221 | | typedef int8_t flex_int8_t; |
---|
222 | | typedef uint8_t flex_uint8_t; |
---|
223 | | typedef int16_t flex_int16_t; |
---|
224 | | typedef uint16_t flex_uint16_t; |
---|
225 | | typedef int32_t flex_int32_t; |
---|
226 | | typedef uint32_t flex_uint32_t; |
---|
227 | | #else |
---|
228 | | typedef signed char flex_int8_t; |
---|
229 | | typedef short int flex_int16_t; |
---|
230 | | typedef int flex_int32_t; |
---|
231 | | typedef unsigned char flex_uint8_t; |
---|
232 | | typedef unsigned short int flex_uint16_t; |
---|
233 | | typedef unsigned int flex_uint32_t; |
---|
234 | | #endif /* ! C99 */ |
---|
235 | | |
---|
236 | | /* Limits of integral types. */ |
---|
237 | | #ifndef INT8_MIN |
---|
238 | | #define INT8_MIN (-128) |
---|
239 | | #endif |
---|
240 | | #ifndef INT16_MIN |
---|
241 | | #define INT16_MIN (-32767-1) |
---|
242 | | #endif |
---|
243 | | #ifndef INT32_MIN |
---|
244 | | #define INT32_MIN (-2147483647-1) |
---|
245 | | #endif |
---|
246 | | #ifndef INT8_MAX |
---|
247 | | #define INT8_MAX (127) |
---|
248 | | #endif |
---|
249 | | #ifndef INT16_MAX |
---|
250 | | #define INT16_MAX (32767) |
---|
251 | | #endif |
---|
252 | | #ifndef INT32_MAX |
---|
253 | | #define INT32_MAX (2147483647) |
---|
254 | | #endif |
---|
255 | | #ifndef UINT8_MAX |
---|
256 | | #define UINT8_MAX (255U) |
---|
257 | | #endif |
---|
258 | | #ifndef UINT16_MAX |
---|
259 | | #define UINT16_MAX (65535U) |
---|
260 | | #endif |
---|
261 | | #ifndef UINT32_MAX |
---|
262 | | #define UINT32_MAX (4294967295U) |
---|
263 | | #endif |
---|
264 | | |
---|
265 | | #endif /* ! FLEXINT_H */ |
---|
266 | | |
---|
267 | | #ifdef __cplusplus |
---|
268 | | |
---|
269 | | /* The "const" storage-class-modifier is valid. */ |
---|
270 | | #define YY_USE_CONST |
---|
271 | | |
---|
272 | | #else /* ! __cplusplus */ |
---|
273 | | |
---|
274 | | #if __STDC__ |
---|
275 | | |
---|
276 | | #define YY_USE_CONST |
---|
277 | | |
---|
278 | | #endif /* __STDC__ */ |
---|
279 | | #endif /* ! __cplusplus */ |
---|
280 | | |
---|
281 | | #ifdef YY_USE_CONST |
---|
282 | | #define yyconst const |
---|
283 | | #else |
---|
284 | | #define yyconst |
---|
285 | | #endif |
---|
286 | | |
---|
287 | | /* Returned upon end-of-file. */ |
---|
288 | | #define YY_NULL 0 |
---|
289 | | |
---|
290 | | /* Promotes a possibly negative, possibly signed char to an unsigned |
---|
291 | | * integer for use as an array index. If the signed char is negative, |
---|
292 | | * we want to instead treat it as an 8-bit unsigned char, hence the |
---|
293 | | * double cast. |
---|
294 | | */ |
---|
295 | | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
---|
296 | | |
---|
297 | | /* Enter a start condition. This macro really ought to take a parameter, |
---|
298 | | * but we do it the disgusting crufty way forced on us by the ()-less |
---|
299 | | * definition of BEGIN. |
---|
300 | | */ |
---|
301 | | #define BEGIN (yy_start) = 1 + 2 * |
---|
302 | | |
---|
303 | | /* Translate the current start state into a value that can be later handed |
---|
304 | | * to BEGIN to return to the state. The YYSTATE alias is for lex |
---|
305 | | * compatibility. |
---|
306 | | */ |
---|
307 | | #define YY_START (((yy_start) - 1) / 2) |
---|
308 | | #define YYSTATE YY_START |
---|
309 | | |
---|
310 | | /* Action number for EOF rule of a given start state. */ |
---|
311 | | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
---|
312 | | |
---|
313 | | /* Special action meaning "start processing a new file". */ |
---|
314 | | #define YY_NEW_FILE yyrestart(yyin ) |
---|
315 | | |
---|
316 | | #define YY_END_OF_BUFFER_CHAR 0 |
---|
317 | | |
---|
318 | | /* Size of default input buffer. */ |
---|
319 | | #ifndef YY_BUF_SIZE |
---|
320 | | #define YY_BUF_SIZE 16384 |
---|
321 | | #endif |
---|
322 | | |
---|
323 | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE |
---|
324 | | #define YY_TYPEDEF_YY_BUFFER_STATE |
---|
325 | | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
---|
326 | | #endif |
---|
327 | | |
---|
328 | | extern int yyleng; |
---|
329 | | |
---|
330 | | extern FILE *yyin, *yyout; |
---|
331 | | |
---|
332 | | #define EOB_ACT_CONTINUE_SCAN 0 |
---|
333 | | #define EOB_ACT_END_OF_FILE 1 |
---|
334 | | #define EOB_ACT_LAST_MATCH 2 |
---|
335 | | |
---|
336 | | #define YY_LESS_LINENO(n) |
---|
337 | | |
---|
338 | | /* Return all but the first "n" matched characters back to the input stream. */ |
---|
339 | | #define yyless(n) \ |
---|
340 | | do \ |
---|
341 | | { \ |
---|
342 | | /* Undo effects of setting up yytext. */ \ |
---|
343 | | int yyless_macro_arg = (n); \ |
---|
344 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
345 | | *yy_cp = (yy_hold_char); \ |
---|
346 | | YY_RESTORE_YY_MORE_OFFSET \ |
---|
347 | | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ |
---|
348 | | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ |
---|
349 | | } \ |
---|
350 | | while ( 0 ) |
---|
351 | | |
---|
352 | | #define unput(c) yyunput( c, (yytext_ptr) ) |
---|
353 | | |
---|
354 | | /* The following is because we cannot portably get our hands on size_t |
---|
355 | | * (without autoconf's help, which isn't available because we want |
---|
356 | | * flex-generated scanners to compile on their own). |
---|
357 | | */ |
---|
358 | | |
---|
359 | | #ifndef YY_TYPEDEF_YY_SIZE_T |
---|
360 | | #define YY_TYPEDEF_YY_SIZE_T |
---|
361 | | typedef unsigned int yy_size_t; |
---|
362 | | #endif |
---|
363 | | |
---|
364 | | #ifndef YY_STRUCT_YY_BUFFER_STATE |
---|
365 | | #define YY_STRUCT_YY_BUFFER_STATE |
---|
366 | | struct yy_buffer_state |
---|
367 | | { |
---|
368 | | FILE *yy_input_file; |
---|
369 | | |
---|
370 | | char *yy_ch_buf; /* input buffer */ |
---|
371 | | char *yy_buf_pos; /* current position in input buffer */ |
---|
372 | | |
---|
373 | | /* Size of input buffer in bytes, not including room for EOB |
---|
374 | | * characters. |
---|
375 | | */ |
---|
376 | | yy_size_t yy_buf_size; |
---|
377 | | |
---|
378 | | /* Number of characters read into yy_ch_buf, not including EOB |
---|
379 | | * characters. |
---|
380 | | */ |
---|
381 | | int yy_n_chars; |
---|
382 | | |
---|
383 | | /* Whether we "own" the buffer - i.e., we know we created it, |
---|
384 | | * and can realloc() it to grow it, and should free() it to |
---|
385 | | * delete it. |
---|
386 | | */ |
---|
387 | | int yy_is_our_buffer; |
---|
388 | | |
---|
389 | | /* Whether this is an "interactive" input source; if so, and |
---|
390 | | * if we're using stdio for input, then we want to use getc() |
---|
391 | | * instead of fread(), to make sure we stop fetching input after |
---|
392 | | * each newline. |
---|
393 | | */ |
---|
394 | | int yy_is_interactive; |
---|
395 | | |
---|
396 | | /* Whether we're considered to be at the beginning of a line. |
---|
397 | | * If so, '^' rules will be active on the next match, otherwise |
---|
398 | | * not. |
---|
399 | | */ |
---|
400 | | int yy_at_bol; |
---|
401 | | |
---|
402 | | int yy_bs_lineno; /**< The line count. */ |
---|
403 | | int yy_bs_column; /**< The column count. */ |
---|
404 | | |
---|
405 | | /* Whether to try to fill the input buffer when we reach the |
---|
406 | | * end of it. |
---|
407 | | */ |
---|
408 | | int yy_fill_buffer; |
---|
409 | | |
---|
410 | | int yy_buffer_status; |
---|
411 | | |
---|
412 | | #define YY_BUFFER_NEW 0 |
---|
413 | | #define YY_BUFFER_NORMAL 1 |
---|
414 | | /* When an EOF's been seen but there's still some text to process |
---|
415 | | * then we mark the buffer as YY_EOF_PENDING, to indicate that we |
---|
416 | | * shouldn't try reading from the input source any more. We might |
---|
417 | | * still have a bunch of tokens to match, though, because of |
---|
418 | | * possible backing-up. |
---|
419 | | * |
---|
420 | | * When we actually see the EOF, we change the status to "new" |
---|
421 | | * (via yyrestart()), so that the user can continue scanning by |
---|
422 | | * just pointing yyin at a new input file. |
---|
423 | | */ |
---|
424 | | #define YY_BUFFER_EOF_PENDING 2 |
---|
425 | | |
---|
426 | | }; |
---|
427 | | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ |
---|
428 | | |
---|
429 | | /* Stack of input buffers. */ |
---|
430 | | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ |
---|
431 | | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ |
---|
432 | | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ |
---|
433 | | |
---|
434 | | /* We provide macros for accessing buffer states in case in the |
---|
435 | | * future we want to put the buffer states in a more general |
---|
436 | | * "scanner state". |
---|
437 | | * |
---|
438 | | * Returns the top of the stack, or NULL. |
---|
439 | | */ |
---|
440 | | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ |
---|
441 | | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ |
---|
442 | | : NULL) |
---|
443 | | |
---|
444 | | /* Same as previous macro, but useful when we know that the buffer stack is not |
---|
445 | | * NULL or when we need an lvalue. For internal use only. |
---|
446 | | */ |
---|
447 | | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
---|
448 | | |
---|
449 | | /* yy_hold_char holds the character lost when yytext is formed. */ |
---|
450 | | static char yy_hold_char; |
---|
451 | | static int yy_n_chars; /* number of characters read into yy_ch_buf */ |
---|
452 | | int yyleng; |
---|
453 | | |
---|
454 | | /* Points to current character in buffer. */ |
---|
455 | | static char *yy_c_buf_p = (char *) 0; |
---|
456 | | static int yy_init = 1; /* whether we need to initialize */ |
---|
457 | | static int yy_start = 0; /* start state number */ |
---|
458 | | |
---|
459 | | /* Flag which is used to allow yywrap()'s to do buffer switches |
---|
460 | | * instead of setting up a fresh yyin. A bit of a hack ... |
---|
461 | | */ |
---|
462 | | static int yy_did_buffer_switch_on_eof; |
---|
463 | | |
---|
464 | | void yyrestart (FILE *input_file ); |
---|
465 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); |
---|
466 | | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); |
---|
467 | | void yy_delete_buffer (YY_BUFFER_STATE b ); |
---|
468 | | void yy_flush_buffer (YY_BUFFER_STATE b ); |
---|
469 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); |
---|
470 | | void yypop_buffer_state (void ); |
---|
471 | | |
---|
472 | | static void yyensure_buffer_stack (void ); |
---|
473 | | static void yy_load_buffer_state (void ); |
---|
474 | | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); |
---|
475 | | |
---|
476 | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) |
---|
477 | | |
---|
478 | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); |
---|
479 | | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); |
---|
480 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); |
---|
481 | | |
---|
482 | | void *yyalloc (yy_size_t ); |
---|
483 | | void *yyrealloc (void *,yy_size_t ); |
---|
484 | | void yyfree (void * ); |
---|
485 | | |
---|
486 | | #define yy_new_buffer yy_create_buffer |
---|
487 | | |
---|
488 | | #define yy_set_interactive(is_interactive) \ |
---|
489 | | { \ |
---|
490 | | if ( ! YY_CURRENT_BUFFER ){ \ |
---|
491 | | yyensure_buffer_stack (); \ |
---|
492 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
493 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
494 | | } \ |
---|
495 | | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ |
---|
496 | | } |
---|
497 | | |
---|
498 | | #define yy_set_bol(at_bol) \ |
---|
499 | | { \ |
---|
500 | | if ( ! YY_CURRENT_BUFFER ){\ |
---|
501 | | yyensure_buffer_stack (); \ |
---|
502 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
503 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
504 | | } \ |
---|
505 | | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ |
---|
506 | | } |
---|
507 | | |
---|
508 | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
---|
509 | | |
---|
510 | | /* Begin user sect3 */ |
---|
511 | | |
---|
512 | | typedef unsigned char YY_CHAR; |
---|
513 | | |
---|
514 | | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; |
---|
515 | | |
---|
516 | | typedef int yy_state_type; |
---|
517 | | |
---|
518 | | extern int yylineno; |
---|
519 | | |
---|
520 | | int yylineno = 1; |
---|
521 | | |
---|
522 | | extern char *yytext; |
---|
523 | | #define yytext_ptr yytext |
---|
524 | | |
---|
525 | | static yy_state_type yy_get_previous_state (void ); |
---|
526 | | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); |
---|
527 | | static int yy_get_next_buffer (void ); |
---|
528 | | static void yy_fatal_error (yyconst char msg[] ); |
---|
529 | | |
---|
530 | | /* Done after the current pattern has been matched and before the |
---|
531 | | * corresponding action - sets up yytext. |
---|
532 | | */ |
---|
533 | | #define YY_DO_BEFORE_ACTION \ |
---|
534 | | (yytext_ptr) = yy_bp; \ |
---|
535 | | (yytext_ptr) -= (yy_more_len); \ |
---|
536 | | yyleng = (size_t) (yy_cp - (yytext_ptr)); \ |
---|
537 | | (yy_hold_char) = *yy_cp; \ |
---|
538 | | *yy_cp = '\0'; \ |
---|
539 | | (yy_c_buf_p) = yy_cp; |
---|
540 | | |
---|
541 | | #define YY_NUM_RULES 8 |
---|
542 | | #define YY_END_OF_BUFFER 9 |
---|
543 | | /* This struct is not used in this scanner, |
---|
544 | | but its presence is necessary. */ |
---|
545 | | struct yy_trans_info |
---|
546 | | { |
---|
547 | | flex_int32_t yy_verify; |
---|
548 | | flex_int32_t yy_nxt; |
---|
549 | | }; |
---|
550 | | static yyconst flex_int16_t yy_acclist[23] = |
---|
551 | | { 0, |
---|
552 | | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, |
---|
553 | | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, |
---|
554 | | 7, 8 |
---|
555 | | } ; |
---|
556 | | |
---|
557 | | static yyconst flex_int16_t yy_accept[14] = |
---|
558 | | { 0, |
---|
559 | | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, |
---|
560 | | 20, 23, 23 |
---|
561 | | } ; |
---|
562 | | |
---|
563 | | static yyconst flex_int32_t yy_ec[256] = |
---|
564 | | { 0, |
---|
565 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, |
---|
566 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
567 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
568 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
569 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
570 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
571 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
572 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
573 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
574 | | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, |
---|
575 | | |
---|
576 | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
577 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
578 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
579 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
580 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
581 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
582 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
583 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
584 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
585 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
586 | | |
---|
587 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
588 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
589 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
590 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
591 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
592 | | 1, 1, 1, 1, 1 |
---|
593 | | } ; |
---|
594 | | |
---|
595 | | static yyconst flex_int32_t yy_meta[9] = |
---|
596 | | { 0, |
---|
597 | | 1, 1, 1, 1, 1, 1, 1, 1 |
---|
598 | | } ; |
---|
599 | | |
---|
600 | | static yyconst flex_int16_t yy_base[13] = |
---|
601 | | { 0, |
---|
602 | | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, |
---|
603 | | 10, 10 |
---|
604 | | } ; |
---|
605 | | |
---|
606 | | static yyconst flex_int16_t yy_def[13] = |
---|
607 | | { 0, |
---|
608 | | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, |
---|
609 | | 12, 0 |
---|
610 | | } ; |
---|
611 | | |
---|
612 | | static yyconst flex_int16_t yy_nxt[19] = |
---|
613 | | { 0, |
---|
614 | | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, |
---|
615 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
616 | | } ; |
---|
617 | | |
---|
618 | | static yyconst flex_int16_t yy_chk[19] = |
---|
619 | | { 0, |
---|
620 | | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, |
---|
621 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
622 | | } ; |
---|
623 | | |
---|
624 | | extern int yy_flex_debug; |
---|
625 | | int yy_flex_debug = 0; |
---|
626 | | |
---|
627 | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; |
---|
628 | | static char *yy_full_match; |
---|
629 | | static int yy_lp; |
---|
630 | | #define REJECT \ |
---|
631 | | { \ |
---|
632 | | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ |
---|
633 | | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ |
---|
634 | | ++(yy_lp); \ |
---|
635 | | goto find_rule; \ |
---|
636 | | } |
---|
637 | | |
---|
638 | | static int yy_more_flag = 0; |
---|
639 | | static int yy_more_len = 0; |
---|
640 | | #define yymore() ((yy_more_flag) = 1) |
---|
641 | | #define YY_MORE_ADJ (yy_more_len) |
---|
642 | | #define YY_RESTORE_YY_MORE_OFFSET |
---|
643 | | char *yytext; |
---|
644 | | #line 1 "conftest.l" |
---|
645 | | #line 460 "lex.yy.c" |
---|
646 | | |
---|
647 | | #define INITIAL 0 |
---|
648 | | |
---|
649 | | #ifndef YY_NO_UNISTD_H |
---|
650 | | /* Special case for "unistd.h", since it is non-ANSI. We include it way |
---|
651 | | * down here because we want the user's section 1 to have been scanned first. |
---|
652 | | * The user has a chance to override it with an option. |
---|
653 | | */ |
---|
654 | | #include <unistd.h> |
---|
655 | | #endif |
---|
656 | | |
---|
657 | | #ifndef YY_EXTRA_TYPE |
---|
658 | | #define YY_EXTRA_TYPE void * |
---|
659 | | #endif |
---|
660 | | |
---|
661 | | /* Macros after this point can all be overridden by user definitions in |
---|
662 | | * section 1. |
---|
663 | | */ |
---|
664 | | |
---|
665 | | #ifndef YY_SKIP_YYWRAP |
---|
666 | | #ifdef __cplusplus |
---|
667 | | extern "C" int yywrap (void ); |
---|
668 | | #else |
---|
669 | | extern int yywrap (void ); |
---|
670 | | #endif |
---|
671 | | #endif |
---|
672 | | |
---|
673 | | static void yyunput (int c,char *buf_ptr ); |
---|
674 | | |
---|
675 | | #ifndef yytext_ptr |
---|
676 | | static void yy_flex_strncpy (char *,yyconst char *,int ); |
---|
677 | | #endif |
---|
678 | | |
---|
679 | | #ifdef YY_NEED_STRLEN |
---|
680 | | static int yy_flex_strlen (yyconst char * ); |
---|
681 | | #endif |
---|
682 | | |
---|
683 | | #ifndef YY_NO_INPUT |
---|
684 | | |
---|
685 | | #ifdef __cplusplus |
---|
686 | | static int yyinput (void ); |
---|
687 | | #else |
---|
688 | | static int input (void ); |
---|
689 | | #endif |
---|
690 | | |
---|
691 | | #endif |
---|
692 | | |
---|
693 | | /* Amount of stuff to slurp up with each read. */ |
---|
694 | | #ifndef YY_READ_BUF_SIZE |
---|
695 | | #define YY_READ_BUF_SIZE 8192 |
---|
696 | | #endif |
---|
697 | | |
---|
698 | | /* Copy whatever the last rule matched to the standard output. */ |
---|
699 | | #ifndef ECHO |
---|
700 | | /* This used to be an fputs(), but since the string might contain NUL's, |
---|
701 | | * we now use fwrite(). |
---|
702 | | */ |
---|
703 | | #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
---|
704 | | #endif |
---|
705 | | |
---|
706 | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
---|
707 | | * is returned in "result". |
---|
708 | | */ |
---|
709 | | #ifndef YY_INPUT |
---|
710 | | #define YY_INPUT(buf,result,max_size) \ |
---|
711 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
---|
712 | | { \ |
---|
713 | | int c = '*'; \ |
---|
714 | | size_t n; \ |
---|
715 | | for ( n = 0; n < max_size && \ |
---|
716 | | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
---|
717 | | buf[n] = (char) c; \ |
---|
718 | | if ( c == '\n' ) \ |
---|
719 | | buf[n++] = (char) c; \ |
---|
720 | | if ( c == EOF && ferror( yyin ) ) \ |
---|
721 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
722 | | result = n; \ |
---|
723 | | } \ |
---|
724 | | else \ |
---|
725 | | { \ |
---|
726 | | errno=0; \ |
---|
727 | | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ |
---|
728 | | { \ |
---|
729 | | if( errno != EINTR) \ |
---|
730 | | { \ |
---|
731 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
732 | | break; \ |
---|
733 | | } \ |
---|
734 | | errno=0; \ |
---|
735 | | clearerr(yyin); \ |
---|
736 | | } \ |
---|
737 | | }\ |
---|
738 | | \ |
---|
739 | | |
---|
740 | | #endif |
---|
741 | | |
---|
742 | | /* No semi-colon after return; correct usage is to write "yyterminate();" - |
---|
743 | | * we don't want an extra ';' after the "return" because that will cause |
---|
744 | | * some compilers to complain about unreachable statements. |
---|
745 | | */ |
---|
746 | | #ifndef yyterminate |
---|
747 | | #define yyterminate() return YY_NULL |
---|
748 | | #endif |
---|
749 | | |
---|
750 | | /* Number of entries by which start-condition stack grows. */ |
---|
751 | | #ifndef YY_START_STACK_INCR |
---|
752 | | #define YY_START_STACK_INCR 25 |
---|
753 | | #endif |
---|
754 | | |
---|
755 | | /* Report a fatal error. */ |
---|
756 | | #ifndef YY_FATAL_ERROR |
---|
757 | | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
---|
758 | | #endif |
---|
759 | | |
---|
760 | | /* end tables serialization structures and prototypes */ |
---|
761 | | |
---|
762 | | /* Default declaration of generated scanner - a define so the user can |
---|
763 | | * easily add parameters. |
---|
764 | | */ |
---|
765 | | #ifndef YY_DECL |
---|
766 | | #define YY_DECL_IS_OURS 1 |
---|
767 | | |
---|
768 | | extern int yylex (void); |
---|
769 | | |
---|
770 | | #define YY_DECL int yylex (void) |
---|
771 | | #endif /* !YY_DECL */ |
---|
772 | | |
---|
773 | | /* Code executed at the beginning of each rule, after yytext and yyleng |
---|
774 | | * have been set up. |
---|
775 | | */ |
---|
776 | | #ifndef YY_USER_ACTION |
---|
777 | | #define YY_USER_ACTION |
---|
778 | | #endif |
---|
779 | | |
---|
780 | | /* Code executed at the end of each rule. */ |
---|
781 | | #ifndef YY_BREAK |
---|
782 | | #define YY_BREAK break; |
---|
783 | | #endif |
---|
784 | | |
---|
785 | | #define YY_RULE_SETUP \ |
---|
786 | | YY_USER_ACTION |
---|
787 | | |
---|
788 | | /** The main scanner function which does all the work. |
---|
789 | | */ |
---|
790 | | YY_DECL |
---|
791 | | { |
---|
792 | | register yy_state_type yy_current_state; |
---|
793 | | register char *yy_cp, *yy_bp; |
---|
794 | | register int yy_act; |
---|
795 | | |
---|
796 | | #line 1 "conftest.l" |
---|
797 | | |
---|
798 | | #line 613 "lex.yy.c" |
---|
799 | | |
---|
800 | | if ( (yy_init) ) |
---|
801 | | { |
---|
802 | | (yy_init) = 0; |
---|
803 | | |
---|
804 | | #ifdef YY_USER_INIT |
---|
805 | | YY_USER_INIT; |
---|
806 | | #endif |
---|
807 | | |
---|
808 | | if ( ! (yy_state_buf) ) |
---|
809 | | (yy_state_buf) = (yy_state_type *)yyalloc(((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) ); |
---|
810 | | |
---|
811 | | if ( ! (yy_start) ) |
---|
812 | | (yy_start) = 1; /* first start state */ |
---|
813 | | |
---|
814 | | if ( ! yyin ) |
---|
815 | | yyin = stdin; |
---|
816 | | |
---|
817 | | if ( ! yyout ) |
---|
818 | | yyout = stdout; |
---|
819 | | |
---|
820 | | if ( ! YY_CURRENT_BUFFER ) { |
---|
821 | | yyensure_buffer_stack (); |
---|
822 | | YY_CURRENT_BUFFER_LVALUE = |
---|
823 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
824 | | } |
---|
825 | | |
---|
826 | | yy_load_buffer_state( ); |
---|
827 | | } |
---|
828 | | |
---|
829 | | while ( 1 ) /* loops until end-of-file is reached */ |
---|
830 | | { |
---|
831 | | (yy_more_len) = 0; |
---|
832 | | if ( (yy_more_flag) ) |
---|
833 | | { |
---|
834 | | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); |
---|
835 | | (yy_more_flag) = 0; |
---|
836 | | } |
---|
837 | | yy_cp = (yy_c_buf_p); |
---|
838 | | |
---|
839 | | /* Support of yytext. */ |
---|
840 | | *yy_cp = (yy_hold_char); |
---|
841 | | |
---|
842 | | /* yy_bp points to the position in yy_ch_buf of the start of |
---|
843 | | * the current run. |
---|
844 | | */ |
---|
845 | | yy_bp = yy_cp; |
---|
846 | | |
---|
847 | | yy_current_state = (yy_start); |
---|
848 | | |
---|
849 | | (yy_state_ptr) = (yy_state_buf); |
---|
850 | | *(yy_state_ptr)++ = yy_current_state; |
---|
851 | | |
---|
852 | | yy_match: |
---|
853 | | do |
---|
854 | | { |
---|
855 | | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
---|
856 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
857 | | { |
---|
858 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
859 | | if ( yy_current_state >= 13 ) |
---|
860 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
861 | | } |
---|
862 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
863 | | *(yy_state_ptr)++ = yy_current_state; |
---|
864 | | ++yy_cp; |
---|
865 | | } |
---|
866 | | while ( yy_base[yy_current_state] != 10 ); |
---|
867 | | |
---|
868 | | yy_find_action: |
---|
869 | | yy_current_state = *--(yy_state_ptr); |
---|
870 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
871 | | find_rule: /* we branch to this label when backing up */ |
---|
872 | | for ( ; ; ) /* until we find what rule we matched */ |
---|
873 | | { |
---|
874 | | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) |
---|
875 | | { |
---|
876 | | yy_act = yy_acclist[(yy_lp)]; |
---|
877 | | { |
---|
878 | | (yy_full_match) = yy_cp; |
---|
879 | | break; |
---|
880 | | } |
---|
881 | | } |
---|
882 | | --yy_cp; |
---|
883 | | yy_current_state = *--(yy_state_ptr); |
---|
884 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
885 | | } |
---|
886 | | |
---|
887 | | YY_DO_BEFORE_ACTION; |
---|
888 | | |
---|
889 | | do_action: /* This label is used only to access EOF actions. */ |
---|
890 | | |
---|
891 | | switch ( yy_act ) |
---|
892 | | { /* beginning of action switch */ |
---|
893 | | case 1: |
---|
894 | | YY_RULE_SETUP |
---|
895 | | #line 2 "conftest.l" |
---|
896 | | { ECHO; } |
---|
897 | | YY_BREAK |
---|
898 | | case 2: |
---|
899 | | YY_RULE_SETUP |
---|
900 | | #line 3 "conftest.l" |
---|
901 | | { REJECT; } |
---|
902 | | YY_BREAK |
---|
903 | | case 3: |
---|
904 | | YY_RULE_SETUP |
---|
905 | | #line 4 "conftest.l" |
---|
906 | | { yymore (); } |
---|
907 | | YY_BREAK |
---|
908 | | case 4: |
---|
909 | | YY_RULE_SETUP |
---|
910 | | #line 5 "conftest.l" |
---|
911 | | { yyless (1); } |
---|
912 | | YY_BREAK |
---|
913 | | case 5: |
---|
914 | | YY_RULE_SETUP |
---|
915 | | #line 6 "conftest.l" |
---|
916 | | { yyless (input () != 0); } |
---|
917 | | YY_BREAK |
---|
918 | | case 6: |
---|
919 | | YY_RULE_SETUP |
---|
920 | | #line 7 "conftest.l" |
---|
921 | | { unput (yytext[0]); } |
---|
922 | | YY_BREAK |
---|
923 | | case 7: |
---|
924 | | YY_RULE_SETUP |
---|
925 | | #line 8 "conftest.l" |
---|
926 | | { BEGIN INITIAL; } |
---|
927 | | YY_BREAK |
---|
928 | | case 8: |
---|
929 | | YY_RULE_SETUP |
---|
930 | | #line 9 "conftest.l" |
---|
931 | | ECHO; |
---|
932 | | YY_BREAK |
---|
933 | | #line 748 "lex.yy.c" |
---|
934 | | case YY_STATE_EOF(INITIAL): |
---|
935 | | yyterminate(); |
---|
936 | | |
---|
937 | | case YY_END_OF_BUFFER: |
---|
938 | | { |
---|
939 | | /* Amount of text matched not including the EOB char. */ |
---|
940 | | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; |
---|
941 | | |
---|
942 | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ |
---|
943 | | *yy_cp = (yy_hold_char); |
---|
944 | | YY_RESTORE_YY_MORE_OFFSET |
---|
945 | | |
---|
946 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) |
---|
947 | | { |
---|
948 | | /* We're scanning a new file or input source. It's |
---|
949 | | * possible that this happened because the user |
---|
950 | | * just pointed yyin at a new source and called |
---|
951 | | * yylex(). If so, then we have to assure |
---|
952 | | * consistency between YY_CURRENT_BUFFER and our |
---|
953 | | * globals. Here is the right place to do so, because |
---|
954 | | * this is the first action (other than possibly a |
---|
955 | | * back-up) that will match for the new input source. |
---|
956 | | */ |
---|
957 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
958 | | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; |
---|
959 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; |
---|
960 | | } |
---|
961 | | |
---|
962 | | /* Note that here we test for yy_c_buf_p "<=" to the position |
---|
963 | | * of the first EOB in the buffer, since yy_c_buf_p will |
---|
964 | | * already have been incremented past the NUL character |
---|
965 | | * (since all states make transitions on EOB to the |
---|
966 | | * end-of-buffer state). Contrast this with the test |
---|
967 | | * in input(). |
---|
968 | | */ |
---|
969 | | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
970 | | { /* This was really a NUL. */ |
---|
971 | | yy_state_type yy_next_state; |
---|
972 | | |
---|
973 | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; |
---|
974 | | |
---|
975 | | yy_current_state = yy_get_previous_state( ); |
---|
976 | | |
---|
977 | | /* Okay, we're now positioned to make the NUL |
---|
978 | | * transition. We couldn't have |
---|
979 | | * yy_get_previous_state() go ahead and do it |
---|
980 | | * for us because it doesn't know how to deal |
---|
981 | | * with the possibility of jamming (and we don't |
---|
982 | | * want to build jamming into it because then it |
---|
983 | | * will run more slowly). |
---|
984 | | */ |
---|
985 | | |
---|
986 | | yy_next_state = yy_try_NUL_trans( yy_current_state ); |
---|
987 | | |
---|
988 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
989 | | |
---|
990 | | if ( yy_next_state ) |
---|
991 | | { |
---|
992 | | /* Consume the NUL. */ |
---|
993 | | yy_cp = ++(yy_c_buf_p); |
---|
994 | | yy_current_state = yy_next_state; |
---|
995 | | goto yy_match; |
---|
996 | | } |
---|
997 | | |
---|
998 | | else |
---|
999 | | { |
---|
1000 | | yy_cp = (yy_c_buf_p); |
---|
1001 | | goto yy_find_action; |
---|
1002 | | } |
---|
1003 | | } |
---|
1004 | | |
---|
1005 | | else switch ( yy_get_next_buffer( ) ) |
---|
1006 | | { |
---|
1007 | | case EOB_ACT_END_OF_FILE: |
---|
1008 | | { |
---|
1009 | | (yy_did_buffer_switch_on_eof) = 0; |
---|
1010 | | |
---|
1011 | | if ( yywrap( ) ) |
---|
1012 | | { |
---|
1013 | | /* Note: because we've taken care in |
---|
1014 | | * yy_get_next_buffer() to have set up |
---|
1015 | | * yytext, we can now set up |
---|
1016 | | * yy_c_buf_p so that if some total |
---|
1017 | | * hoser (like flex itself) wants to |
---|
1018 | | * call the scanner after we return the |
---|
1019 | | * YY_NULL, it'll still work - another |
---|
1020 | | * YY_NULL will get returned. |
---|
1021 | | */ |
---|
1022 | | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; |
---|
1023 | | |
---|
1024 | | yy_act = YY_STATE_EOF(YY_START); |
---|
1025 | | goto do_action; |
---|
1026 | | } |
---|
1027 | | |
---|
1028 | | else |
---|
1029 | | { |
---|
1030 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
1031 | | YY_NEW_FILE; |
---|
1032 | | } |
---|
1033 | | break; |
---|
1034 | | } |
---|
1035 | | |
---|
1036 | | case EOB_ACT_CONTINUE_SCAN: |
---|
1037 | | (yy_c_buf_p) = |
---|
1038 | | (yytext_ptr) + yy_amount_of_matched_text; |
---|
1039 | | |
---|
1040 | | yy_current_state = yy_get_previous_state( ); |
---|
1041 | | |
---|
1042 | | yy_cp = (yy_c_buf_p); |
---|
1043 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
1044 | | goto yy_match; |
---|
1045 | | |
---|
1046 | | case EOB_ACT_LAST_MATCH: |
---|
1047 | | (yy_c_buf_p) = |
---|
1048 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; |
---|
1049 | | |
---|
1050 | | yy_current_state = yy_get_previous_state( ); |
---|
1051 | | |
---|
1052 | | yy_cp = (yy_c_buf_p); |
---|
1053 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
1054 | | goto yy_find_action; |
---|
1055 | | } |
---|
1056 | | break; |
---|
1057 | | } |
---|
1058 | | |
---|
1059 | | default: |
---|
1060 | | YY_FATAL_ERROR( |
---|
1061 | | "fatal flex scanner internal error--no action found" ); |
---|
1062 | | } /* end of action switch */ |
---|
1063 | | } /* end of scanning one token */ |
---|
1064 | | } /* end of yylex */ |
---|
1065 | | |
---|
1066 | | /* yy_get_next_buffer - try to read in a new buffer |
---|
1067 | | * |
---|
1068 | | * Returns a code representing an action: |
---|
1069 | | * EOB_ACT_LAST_MATCH - |
---|
1070 | | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position |
---|
1071 | | * EOB_ACT_END_OF_FILE - end of file |
---|
1072 | | */ |
---|
1073 | | static int yy_get_next_buffer (void) |
---|
1074 | | { |
---|
1075 | | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; |
---|
1076 | | register char *source = (yytext_ptr); |
---|
1077 | | register int number_to_move, i; |
---|
1078 | | int ret_val; |
---|
1079 | | |
---|
1080 | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) |
---|
1081 | | YY_FATAL_ERROR( |
---|
1082 | | "fatal flex scanner internal error--end of buffer missed" ); |
---|
1083 | | |
---|
1084 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) |
---|
1085 | | { /* Don't try to fill the buffer, so this is an EOF. */ |
---|
1086 | | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) |
---|
1087 | | { |
---|
1088 | | /* We matched a single character, the EOB, so |
---|
1089 | | * treat this as a final EOF. |
---|
1090 | | */ |
---|
1091 | | return EOB_ACT_END_OF_FILE; |
---|
1092 | | } |
---|
1093 | | |
---|
1094 | | else |
---|
1095 | | { |
---|
1096 | | /* We matched some text prior to the EOB, first |
---|
1097 | | * process it. |
---|
1098 | | */ |
---|
1099 | | return EOB_ACT_LAST_MATCH; |
---|
1100 | | } |
---|
1101 | | } |
---|
1102 | | |
---|
1103 | | /* Try to read more data. */ |
---|
1104 | | |
---|
1105 | | /* First move last chars to start of buffer. */ |
---|
1106 | | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; |
---|
1107 | | |
---|
1108 | | for ( i = 0; i < number_to_move; ++i ) |
---|
1109 | | *(dest++) = *(source++); |
---|
1110 | | |
---|
1111 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) |
---|
1112 | | /* don't do the read, it's not guaranteed to return an EOF, |
---|
1113 | | * just force an EOF |
---|
1114 | | */ |
---|
1115 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; |
---|
1116 | | |
---|
1117 | | else |
---|
1118 | | { |
---|
1119 | | size_t num_to_read = |
---|
1120 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; |
---|
1121 | | |
---|
1122 | | while ( num_to_read <= 0 ) |
---|
1123 | | { /* Not enough room in the buffer - grow it. */ |
---|
1124 | | |
---|
1125 | | YY_FATAL_ERROR( |
---|
1126 | | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); |
---|
1127 | | |
---|
1128 | | } |
---|
1129 | | |
---|
1130 | | if ( num_to_read > YY_READ_BUF_SIZE ) |
---|
1131 | | num_to_read = YY_READ_BUF_SIZE; |
---|
1132 | | |
---|
1133 | | /* Read in more data. */ |
---|
1134 | | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), |
---|
1135 | | (yy_n_chars), num_to_read ); |
---|
1136 | | |
---|
1137 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1138 | | } |
---|
1139 | | |
---|
1140 | | if ( (yy_n_chars) == 0 ) |
---|
1141 | | { |
---|
1142 | | if ( number_to_move == YY_MORE_ADJ ) |
---|
1143 | | { |
---|
1144 | | ret_val = EOB_ACT_END_OF_FILE; |
---|
1145 | | yyrestart(yyin ); |
---|
1146 | | } |
---|
1147 | | |
---|
1148 | | else |
---|
1149 | | { |
---|
1150 | | ret_val = EOB_ACT_LAST_MATCH; |
---|
1151 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = |
---|
1152 | | YY_BUFFER_EOF_PENDING; |
---|
1153 | | } |
---|
1154 | | } |
---|
1155 | | |
---|
1156 | | else |
---|
1157 | | ret_val = EOB_ACT_CONTINUE_SCAN; |
---|
1158 | | |
---|
1159 | | (yy_n_chars) += number_to_move; |
---|
1160 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; |
---|
1161 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; |
---|
1162 | | |
---|
1163 | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; |
---|
1164 | | |
---|
1165 | | return ret_val; |
---|
1166 | | } |
---|
1167 | | |
---|
1168 | | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
---|
1169 | | |
---|
1170 | | static yy_state_type yy_get_previous_state (void) |
---|
1171 | | { |
---|
1172 | | register yy_state_type yy_current_state; |
---|
1173 | | register char *yy_cp; |
---|
1174 | | |
---|
1175 | | yy_current_state = (yy_start); |
---|
1176 | | |
---|
1177 | | (yy_state_ptr) = (yy_state_buf); |
---|
1178 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1179 | | |
---|
1180 | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) |
---|
1181 | | { |
---|
1182 | | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
---|
1183 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
1184 | | { |
---|
1185 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
1186 | | if ( yy_current_state >= 13 ) |
---|
1187 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
1188 | | } |
---|
1189 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
1190 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1191 | | } |
---|
1192 | | |
---|
1193 | | return yy_current_state; |
---|
1194 | | } |
---|
1195 | | |
---|
1196 | | /* yy_try_NUL_trans - try to make a transition on the NUL character |
---|
1197 | | * |
---|
1198 | | * synopsis |
---|
1199 | | * next_state = yy_try_NUL_trans( current_state ); |
---|
1200 | | */ |
---|
1201 | | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) |
---|
1202 | | { |
---|
1203 | | register int yy_is_jam; |
---|
1204 | | |
---|
1205 | | register YY_CHAR yy_c = 1; |
---|
1206 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
1207 | | { |
---|
1208 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
1209 | | if ( yy_current_state >= 13 ) |
---|
1210 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
1211 | | } |
---|
1212 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
1213 | | yy_is_jam = (yy_current_state == 12); |
---|
1214 | | if ( ! yy_is_jam ) |
---|
1215 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1216 | | |
---|
1217 | | return yy_is_jam ? 0 : yy_current_state; |
---|
1218 | | } |
---|
1219 | | |
---|
1220 | | static void yyunput (int c, register char * yy_bp ) |
---|
1221 | | { |
---|
1222 | | register char *yy_cp; |
---|
1223 | | |
---|
1224 | | yy_cp = (yy_c_buf_p); |
---|
1225 | | |
---|
1226 | | /* undo effects of setting up yytext */ |
---|
1227 | | *yy_cp = (yy_hold_char); |
---|
1228 | | |
---|
1229 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
1230 | | { /* need to shift things up to make room */ |
---|
1231 | | /* +2 for EOB chars. */ |
---|
1232 | | register int number_to_move = (yy_n_chars) + 2; |
---|
1233 | | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ |
---|
1234 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; |
---|
1235 | | register char *source = |
---|
1236 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; |
---|
1237 | | |
---|
1238 | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
---|
1239 | | *--dest = *--source; |
---|
1240 | | |
---|
1241 | | yy_cp += (int) (dest - source); |
---|
1242 | | yy_bp += (int) (dest - source); |
---|
1243 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = |
---|
1244 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; |
---|
1245 | | |
---|
1246 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
1247 | | YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
---|
1248 | | } |
---|
1249 | | |
---|
1250 | | *--yy_cp = (char) c; |
---|
1251 | | |
---|
1252 | | (yytext_ptr) = yy_bp; |
---|
1253 | | (yy_hold_char) = *yy_cp; |
---|
1254 | | (yy_c_buf_p) = yy_cp; |
---|
1255 | | } |
---|
1256 | | |
---|
1257 | | #ifndef YY_NO_INPUT |
---|
1258 | | #ifdef __cplusplus |
---|
1259 | | static int yyinput (void) |
---|
1260 | | #else |
---|
1261 | | static int input (void) |
---|
1262 | | #endif |
---|
1263 | | |
---|
1264 | | { |
---|
1265 | | int c; |
---|
1266 | | |
---|
1267 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1268 | | |
---|
1269 | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) |
---|
1270 | | { |
---|
1271 | | /* yy_c_buf_p now points to the character we want to return. |
---|
1272 | | * If this occurs *before* the EOB characters, then it's a |
---|
1273 | | * valid NUL; if not, then we've hit the end of the buffer. |
---|
1274 | | */ |
---|
1275 | | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
1276 | | /* This was really a NUL. */ |
---|
1277 | | *(yy_c_buf_p) = '\0'; |
---|
1278 | | |
---|
1279 | | else |
---|
1280 | | { /* need more input */ |
---|
1281 | | int offset = (yy_c_buf_p) - (yytext_ptr); |
---|
1282 | | ++(yy_c_buf_p); |
---|
1283 | | |
---|
1284 | | switch ( yy_get_next_buffer( ) ) |
---|
1285 | | { |
---|
1286 | | case EOB_ACT_LAST_MATCH: |
---|
1287 | | /* This happens because yy_g_n_b() |
---|
1288 | | * sees that we've accumulated a |
---|
1289 | | * token and flags that we need to |
---|
1290 | | * try matching the token before |
---|
1291 | | * proceeding. But for input(), |
---|
1292 | | * there's no matching to consider. |
---|
1293 | | * So convert the EOB_ACT_LAST_MATCH |
---|
1294 | | * to EOB_ACT_END_OF_FILE. |
---|
1295 | | */ |
---|
1296 | | |
---|
1297 | | /* Reset buffer status. */ |
---|
1298 | | yyrestart(yyin ); |
---|
1299 | | |
---|
1300 | | /*FALLTHROUGH*/ |
---|
1301 | | |
---|
1302 | | case EOB_ACT_END_OF_FILE: |
---|
1303 | | { |
---|
1304 | | if ( yywrap( ) ) |
---|
1305 | | return EOF; |
---|
1306 | | |
---|
1307 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
1308 | | YY_NEW_FILE; |
---|
1309 | | #ifdef __cplusplus |
---|
1310 | | return yyinput(); |
---|
1311 | | #else |
---|
1312 | | return input(); |
---|
1313 | | #endif |
---|
1314 | | } |
---|
1315 | | |
---|
1316 | | case EOB_ACT_CONTINUE_SCAN: |
---|
1317 | | (yy_c_buf_p) = (yytext_ptr) + offset; |
---|
1318 | | break; |
---|
1319 | | } |
---|
1320 | | } |
---|
1321 | | } |
---|
1322 | | |
---|
1323 | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ |
---|
1324 | | *(yy_c_buf_p) = '\0'; /* preserve yytext */ |
---|
1325 | | (yy_hold_char) = *++(yy_c_buf_p); |
---|
1326 | | |
---|
1327 | | return c; |
---|
1328 | | } |
---|
1329 | | #endif /* ifndef YY_NO_INPUT */ |
---|
1330 | | |
---|
1331 | | /** Immediately switch to a different input stream. |
---|
1332 | | * @param input_file A readable stream. |
---|
1333 | | * |
---|
1334 | | * @note This function does not reset the start condition to @c INITIAL . |
---|
1335 | | */ |
---|
1336 | | void yyrestart (FILE * input_file ) |
---|
1337 | | { |
---|
1338 | | |
---|
1339 | | if ( ! YY_CURRENT_BUFFER ){ |
---|
1340 | | yyensure_buffer_stack (); |
---|
1341 | | YY_CURRENT_BUFFER_LVALUE = |
---|
1342 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
1343 | | } |
---|
1344 | | |
---|
1345 | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); |
---|
1346 | | yy_load_buffer_state( ); |
---|
1347 | | } |
---|
1348 | | |
---|
1349 | | /** Switch to a different input buffer. |
---|
1350 | | * @param new_buffer The new input buffer. |
---|
1351 | | * |
---|
1352 | | */ |
---|
1353 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) |
---|
1354 | | { |
---|
1355 | | |
---|
1356 | | /* TODO. We should be able to replace this entire function body |
---|
1357 | | * with |
---|
1358 | | * yypop_buffer_state(); |
---|
1359 | | * yypush_buffer_state(new_buffer); |
---|
1360 | | */ |
---|
1361 | | yyensure_buffer_stack (); |
---|
1362 | | if ( YY_CURRENT_BUFFER == new_buffer ) |
---|
1363 | | return; |
---|
1364 | | |
---|
1365 | | if ( YY_CURRENT_BUFFER ) |
---|
1366 | | { |
---|
1367 | | /* Flush out information for old buffer. */ |
---|
1368 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1369 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
1370 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1371 | | } |
---|
1372 | | |
---|
1373 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
1374 | | yy_load_buffer_state( ); |
---|
1375 | | |
---|
1376 | | /* We don't actually know whether we did this switch during |
---|
1377 | | * EOF (yywrap()) processing, but the only time this flag |
---|
1378 | | * is looked at is after yywrap() is called, so it's safe |
---|
1379 | | * to go ahead and always set it. |
---|
1380 | | */ |
---|
1381 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1382 | | } |
---|
1383 | | |
---|
1384 | | static void yy_load_buffer_state (void) |
---|
1385 | | { |
---|
1386 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
1387 | | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; |
---|
1388 | | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; |
---|
1389 | | (yy_hold_char) = *(yy_c_buf_p); |
---|
1390 | | } |
---|
1391 | | |
---|
1392 | | /** Allocate and initialize an input buffer state. |
---|
1393 | | * @param file A readable stream. |
---|
1394 | | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. |
---|
1395 | | * |
---|
1396 | | * @return the allocated buffer state. |
---|
1397 | | */ |
---|
1398 | | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) |
---|
1399 | | { |
---|
1400 | | YY_BUFFER_STATE b; |
---|
1401 | | |
---|
1402 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
1403 | | if ( ! b ) |
---|
1404 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
1405 | | |
---|
1406 | | b->yy_buf_size = size; |
---|
1407 | | |
---|
1408 | | /* yy_ch_buf has to be 2 characters longer than the size given because |
---|
1409 | | * we need to put in 2 end-of-buffer characters. |
---|
1410 | | */ |
---|
1411 | | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); |
---|
1412 | | if ( ! b->yy_ch_buf ) |
---|
1413 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
1414 | | |
---|
1415 | | b->yy_is_our_buffer = 1; |
---|
1416 | | |
---|
1417 | | yy_init_buffer(b,file ); |
---|
1418 | | |
---|
1419 | | return b; |
---|
1420 | | } |
---|
1421 | | |
---|
1422 | | /** Destroy the buffer. |
---|
1423 | | * @param b a buffer created with yy_create_buffer() |
---|
1424 | | * |
---|
1425 | | */ |
---|
1426 | | void yy_delete_buffer (YY_BUFFER_STATE b ) |
---|
1427 | | { |
---|
1428 | | |
---|
1429 | | if ( ! b ) |
---|
1430 | | return; |
---|
1431 | | |
---|
1432 | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ |
---|
1433 | | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; |
---|
1434 | | |
---|
1435 | | if ( b->yy_is_our_buffer ) |
---|
1436 | | yyfree((void *) b->yy_ch_buf ); |
---|
1437 | | |
---|
1438 | | yyfree((void *) b ); |
---|
1439 | | } |
---|
1440 | | |
---|
1441 | | #ifndef __cplusplus |
---|
1442 | | extern int isatty (int ); |
---|
1443 | | #endif /* __cplusplus */ |
---|
1444 | | |
---|
1445 | | /* Initializes or reinitializes a buffer. |
---|
1446 | | * This function is sometimes called more than once on the same buffer, |
---|
1447 | | * such as during a yyrestart() or at EOF. |
---|
1448 | | */ |
---|
1449 | | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) |
---|
1450 | | |
---|
1451 | | { |
---|
1452 | | int oerrno = errno; |
---|
1453 | | |
---|
1454 | | yy_flush_buffer(b ); |
---|
1455 | | |
---|
1456 | | b->yy_input_file = file; |
---|
1457 | | b->yy_fill_buffer = 1; |
---|
1458 | | |
---|
1459 | | /* If b is the current buffer, then yy_init_buffer was _probably_ |
---|
1460 | | * called from yyrestart() or through yy_get_next_buffer. |
---|
1461 | | * In that case, we don't want to reset the lineno or column. |
---|
1462 | | */ |
---|
1463 | | if (b != YY_CURRENT_BUFFER){ |
---|
1464 | | b->yy_bs_lineno = 1; |
---|
1465 | | b->yy_bs_column = 0; |
---|
1466 | | } |
---|
1467 | | |
---|
1468 | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; |
---|
1469 | | |
---|
1470 | | errno = oerrno; |
---|
1471 | | } |
---|
1472 | | |
---|
1473 | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. |
---|
1474 | | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. |
---|
1475 | | * |
---|
1476 | | */ |
---|
1477 | | void yy_flush_buffer (YY_BUFFER_STATE b ) |
---|
1478 | | { |
---|
1479 | | if ( ! b ) |
---|
1480 | | return; |
---|
1481 | | |
---|
1482 | | b->yy_n_chars = 0; |
---|
1483 | | |
---|
1484 | | /* We always need two end-of-buffer characters. The first causes |
---|
1485 | | * a transition to the end-of-buffer state. The second causes |
---|
1486 | | * a jam in that state. |
---|
1487 | | */ |
---|
1488 | | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; |
---|
1489 | | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; |
---|
1490 | | |
---|
1491 | | b->yy_buf_pos = &b->yy_ch_buf[0]; |
---|
1492 | | |
---|
1493 | | b->yy_at_bol = 1; |
---|
1494 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
1495 | | |
---|
1496 | | if ( b == YY_CURRENT_BUFFER ) |
---|
1497 | | yy_load_buffer_state( ); |
---|
1498 | | } |
---|
1499 | | |
---|
1500 | | /** Pushes the new state onto the stack. The new state becomes |
---|
1501 | | * the current state. This function will allocate the stack |
---|
1502 | | * if necessary. |
---|
1503 | | * @param new_buffer The new state. |
---|
1504 | | * |
---|
1505 | | */ |
---|
1506 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) |
---|
1507 | | { |
---|
1508 | | if (new_buffer == NULL) |
---|
1509 | | return; |
---|
1510 | | |
---|
1511 | | yyensure_buffer_stack(); |
---|
1512 | | |
---|
1513 | | /* This block is copied from yy_switch_to_buffer. */ |
---|
1514 | | if ( YY_CURRENT_BUFFER ) |
---|
1515 | | { |
---|
1516 | | /* Flush out information for old buffer. */ |
---|
1517 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1518 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
1519 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1520 | | } |
---|
1521 | | |
---|
1522 | | /* Only push if top exists. Otherwise, replace top. */ |
---|
1523 | | if (YY_CURRENT_BUFFER) |
---|
1524 | | (yy_buffer_stack_top)++; |
---|
1525 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
1526 | | |
---|
1527 | | /* copied from yy_switch_to_buffer. */ |
---|
1528 | | yy_load_buffer_state( ); |
---|
1529 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1530 | | } |
---|
1531 | | |
---|
1532 | | /** Removes and deletes the top of the stack, if present. |
---|
1533 | | * The next element becomes the new top. |
---|
1534 | | * |
---|
1535 | | */ |
---|
1536 | | void yypop_buffer_state (void) |
---|
1537 | | { |
---|
1538 | | if (!YY_CURRENT_BUFFER) |
---|
1539 | | return; |
---|
1540 | | |
---|
1541 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
1542 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
1543 | | if ((yy_buffer_stack_top) > 0) |
---|
1544 | | --(yy_buffer_stack_top); |
---|
1545 | | |
---|
1546 | | if (YY_CURRENT_BUFFER) { |
---|
1547 | | yy_load_buffer_state( ); |
---|
1548 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1549 | | } |
---|
1550 | | } |
---|
1551 | | |
---|
1552 | | /* Allocates the stack if it does not exist. |
---|
1553 | | * Guarantees space for at least one push. |
---|
1554 | | */ |
---|
1555 | | static void yyensure_buffer_stack (void) |
---|
1556 | | { |
---|
1557 | | int num_to_alloc; |
---|
1558 | | |
---|
1559 | | if (!(yy_buffer_stack)) { |
---|
1560 | | |
---|
1561 | | /* First allocation is just for 2 elements, since we don't know if this |
---|
1562 | | * scanner will even need a stack. We use 2 instead of 1 to avoid an |
---|
1563 | | * immediate realloc on the next call. |
---|
1564 | | */ |
---|
1565 | | num_to_alloc = 1; |
---|
1566 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc |
---|
1567 | | (num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
1568 | | ); |
---|
1569 | | |
---|
1570 | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); |
---|
1571 | | |
---|
1572 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
1573 | | (yy_buffer_stack_top) = 0; |
---|
1574 | | return; |
---|
1575 | | } |
---|
1576 | | |
---|
1577 | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ |
---|
1578 | | |
---|
1579 | | /* Increase the buffer to prepare for a possible push. */ |
---|
1580 | | int grow_size = 8 /* arbitrary grow size */; |
---|
1581 | | |
---|
1582 | | num_to_alloc = (yy_buffer_stack_max) + grow_size; |
---|
1583 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc |
---|
1584 | | ((yy_buffer_stack), |
---|
1585 | | num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
1586 | | ); |
---|
1587 | | |
---|
1588 | | /* zero only the new slots.*/ |
---|
1589 | | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); |
---|
1590 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
1591 | | } |
---|
1592 | | } |
---|
1593 | | |
---|
1594 | | /** Setup the input buffer state to scan directly from a user-specified character buffer. |
---|
1595 | | * @param base the character buffer |
---|
1596 | | * @param size the size in bytes of the character buffer |
---|
1597 | | * |
---|
1598 | | * @return the newly allocated buffer state object. |
---|
1599 | | */ |
---|
1600 | | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) |
---|
1601 | | { |
---|
1602 | | YY_BUFFER_STATE b; |
---|
1603 | | |
---|
1604 | | if ( size < 2 || |
---|
1605 | | base[size-2] != YY_END_OF_BUFFER_CHAR || |
---|
1606 | | base[size-1] != YY_END_OF_BUFFER_CHAR ) |
---|
1607 | | /* They forgot to leave room for the EOB's. */ |
---|
1608 | | return 0; |
---|
1609 | | |
---|
1610 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
1611 | | if ( ! b ) |
---|
1612 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); |
---|
1613 | | |
---|
1614 | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ |
---|
1615 | | b->yy_buf_pos = b->yy_ch_buf = base; |
---|
1616 | | b->yy_is_our_buffer = 0; |
---|
1617 | | b->yy_input_file = 0; |
---|
1618 | | b->yy_n_chars = b->yy_buf_size; |
---|
1619 | | b->yy_is_interactive = 0; |
---|
1620 | | b->yy_at_bol = 1; |
---|
1621 | | b->yy_fill_buffer = 0; |
---|
1622 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
1623 | | |
---|
1624 | | yy_switch_to_buffer(b ); |
---|
1625 | | |
---|
1626 | | return b; |
---|
1627 | | } |
---|
1628 | | |
---|
1629 | | /** Setup the input buffer state to scan a string. The next call to yylex() will |
---|
1630 | | * scan from a @e copy of @a str. |
---|
1631 | | * @param str a NUL-terminated string to scan |
---|
1632 | | * |
---|
1633 | | * @return the newly allocated buffer state object. |
---|
1634 | | * @note If you want to scan bytes that may contain NUL values, then use |
---|
1635 | | * yy_scan_bytes() instead. |
---|
1636 | | */ |
---|
1637 | | YY_BUFFER_STATE yy_scan_string (yyconst char * yy_str ) |
---|
1638 | | { |
---|
1639 | | |
---|
1640 | | return yy_scan_bytes(yy_str,strlen(yy_str) ); |
---|
1641 | | } |
---|
1642 | | |
---|
1643 | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
---|
1644 | | * scan from a @e copy of @a bytes. |
---|
1645 | | * @param bytes the byte buffer to scan |
---|
1646 | | * @param len the number of bytes in the buffer pointed to by @a bytes. |
---|
1647 | | * |
---|
1648 | | * @return the newly allocated buffer state object. |
---|
1649 | | */ |
---|
1650 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len ) |
---|
1651 | | { |
---|
1652 | | YY_BUFFER_STATE b; |
---|
1653 | | char *buf; |
---|
1654 | | yy_size_t n; |
---|
1655 | | int i; |
---|
1656 | | |
---|
1657 | | /* Get memory for full buffer, including space for trailing EOB's. */ |
---|
1658 | | n = len + 2; |
---|
1659 | | buf = (char *) yyalloc(n ); |
---|
1660 | | if ( ! buf ) |
---|
1661 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); |
---|
1662 | | |
---|
1663 | | for ( i = 0; i < len; ++i ) |
---|
1664 | | buf[i] = bytes[i]; |
---|
1665 | | |
---|
1666 | | buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; |
---|
1667 | | |
---|
1668 | | b = yy_scan_buffer(buf,n ); |
---|
1669 | | if ( ! b ) |
---|
1670 | | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); |
---|
1671 | | |
---|
1672 | | /* It's okay to grow etc. this buffer, and we should throw it |
---|
1673 | | * away when we're done. |
---|
1674 | | */ |
---|
1675 | | b->yy_is_our_buffer = 1; |
---|
1676 | | |
---|
1677 | | return b; |
---|
1678 | | } |
---|
1679 | | |
---|
1680 | | #ifndef YY_EXIT_FAILURE |
---|
1681 | | #define YY_EXIT_FAILURE 2 |
---|
1682 | | #endif |
---|
1683 | | |
---|
1684 | | static void yy_fatal_error (yyconst char* msg ) |
---|
1685 | | { |
---|
1686 | | (void) fprintf( stderr, "%s\n", msg ); |
---|
1687 | | exit( YY_EXIT_FAILURE ); |
---|
1688 | | } |
---|
1689 | | |
---|
1690 | | /* Redefine yyless() so it works in section 3 code. */ |
---|
1691 | | |
---|
1692 | | #undef yyless |
---|
1693 | | #define yyless(n) \ |
---|
1694 | | do \ |
---|
1695 | | { \ |
---|
1696 | | /* Undo effects of setting up yytext. */ \ |
---|
1697 | | int yyless_macro_arg = (n); \ |
---|
1698 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
1699 | | yytext[yyleng] = (yy_hold_char); \ |
---|
1700 | | (yy_c_buf_p) = yytext + yyless_macro_arg; \ |
---|
1701 | | (yy_hold_char) = *(yy_c_buf_p); \ |
---|
1702 | | *(yy_c_buf_p) = '\0'; \ |
---|
1703 | | yyleng = yyless_macro_arg; \ |
---|
1704 | | } \ |
---|
1705 | | while ( 0 ) |
---|
1706 | | |
---|
1707 | | /* Accessor methods (get/set functions) to struct members. */ |
---|
1708 | | |
---|
1709 | | /** Get the current line number. |
---|
1710 | | * |
---|
1711 | | */ |
---|
1712 | | int yyget_lineno (void) |
---|
1713 | | { |
---|
1714 | | |
---|
1715 | | return yylineno; |
---|
1716 | | } |
---|
1717 | | |
---|
1718 | | /** Get the input stream. |
---|
1719 | | * |
---|
1720 | | */ |
---|
1721 | | FILE *yyget_in (void) |
---|
1722 | | { |
---|
1723 | | return yyin; |
---|
1724 | | } |
---|
1725 | | |
---|
1726 | | /** Get the output stream. |
---|
1727 | | * |
---|
1728 | | */ |
---|
1729 | | FILE *yyget_out (void) |
---|
1730 | | { |
---|
1731 | | return yyout; |
---|
1732 | | } |
---|
1733 | | |
---|
1734 | | /** Get the length of the current token. |
---|
1735 | | * |
---|
1736 | | */ |
---|
1737 | | int yyget_leng (void) |
---|
1738 | | { |
---|
1739 | | return yyleng; |
---|
1740 | | } |
---|
1741 | | |
---|
1742 | | /** Get the current token. |
---|
1743 | | * |
---|
1744 | | */ |
---|
1745 | | |
---|
1746 | | char *yyget_text (void) |
---|
1747 | | { |
---|
1748 | | return yytext; |
---|
1749 | | } |
---|
1750 | | |
---|
1751 | | /** Set the current line number. |
---|
1752 | | * @param line_number |
---|
1753 | | * |
---|
1754 | | */ |
---|
1755 | | void yyset_lineno (int line_number ) |
---|
1756 | | { |
---|
1757 | | |
---|
1758 | | yylineno = line_number; |
---|
1759 | | } |
---|
1760 | | |
---|
1761 | | /** Set the input stream. This does not discard the current |
---|
1762 | | * input buffer. |
---|
1763 | | * @param in_str A readable stream. |
---|
1764 | | * |
---|
1765 | | * @see yy_switch_to_buffer |
---|
1766 | | */ |
---|
1767 | | void yyset_in (FILE * in_str ) |
---|
1768 | | { |
---|
1769 | | yyin = in_str ; |
---|
1770 | | } |
---|
1771 | | |
---|
1772 | | void yyset_out (FILE * out_str ) |
---|
1773 | | { |
---|
1774 | | yyout = out_str ; |
---|
1775 | | } |
---|
1776 | | |
---|
1777 | | int yyget_debug (void) |
---|
1778 | | { |
---|
1779 | | return yy_flex_debug; |
---|
1780 | | } |
---|
1781 | | |
---|
1782 | | void yyset_debug (int bdebug ) |
---|
1783 | | { |
---|
1784 | | yy_flex_debug = bdebug ; |
---|
1785 | | } |
---|
1786 | | |
---|
1787 | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ |
---|
1788 | | int yylex_destroy (void) |
---|
1789 | | { |
---|
1790 | | |
---|
1791 | | /* Pop the buffer stack, destroying each element. */ |
---|
1792 | | while(YY_CURRENT_BUFFER){ |
---|
1793 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
1794 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
1795 | | yypop_buffer_state(); |
---|
1796 | | } |
---|
1797 | | |
---|
1798 | | /* Destroy the stack itself. */ |
---|
1799 | | yyfree((yy_buffer_stack) ); |
---|
1800 | | (yy_buffer_stack) = NULL; |
---|
1801 | | |
---|
1802 | | yyfree ( (yy_state_buf) ); |
---|
1803 | | |
---|
1804 | | return 0; |
---|
1805 | | } |
---|
1806 | | |
---|
1807 | | /* |
---|
1808 | | * Internal utility routines. |
---|
1809 | | */ |
---|
1810 | | |
---|
1811 | | #ifndef yytext_ptr |
---|
1812 | | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) |
---|
1813 | | { |
---|
1814 | | register int i; |
---|
1815 | | for ( i = 0; i < n; ++i ) |
---|
1816 | | s1[i] = s2[i]; |
---|
1817 | | } |
---|
1818 | | #endif |
---|
1819 | | |
---|
1820 | | #ifdef YY_NEED_STRLEN |
---|
1821 | | static int yy_flex_strlen (yyconst char * s ) |
---|
1822 | | { |
---|
1823 | | register int n; |
---|
1824 | | for ( n = 0; s[n]; ++n ) |
---|
1825 | | ; |
---|
1826 | | |
---|
1827 | | return n; |
---|
1828 | | } |
---|
1829 | | #endif |
---|
1830 | | |
---|
1831 | | void *yyalloc (yy_size_t size ) |
---|
1832 | | { |
---|
1833 | | return (void *) malloc( size ); |
---|
1834 | | } |
---|
1835 | | |
---|
1836 | | void *yyrealloc (void * ptr, yy_size_t size ) |
---|
1837 | | { |
---|
1838 | | /* The cast to (char *) in the following accommodates both |
---|
1839 | | * implementations that use char* generic pointers, and those |
---|
1840 | | * that use void* generic pointers. It works with the latter |
---|
1841 | | * because both ANSI C and C++ allow castless assignment from |
---|
1842 | | * any pointer type to void*, and deal with argument conversions |
---|
1843 | | * as though doing an assignment. |
---|
1844 | | */ |
---|
1845 | | return (void *) realloc( (char *) ptr, size ); |
---|
1846 | | } |
---|
1847 | | |
---|
1848 | | void yyfree (void * ptr ) |
---|
1849 | | { |
---|
1850 | | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ |
---|
1851 | | } |
---|
1852 | | |
---|
1853 | | #define YYTABLES_NAME "yytables" |
---|
1854 | | |
---|
1855 | | #undef YY_NEW_FILE |
---|
1856 | | #undef YY_FLUSH_BUFFER |
---|
1857 | | #undef yy_set_bol |
---|
1858 | | #undef yy_new_buffer |
---|
1859 | | #undef yy_set_interactive |
---|
1860 | | #undef yytext_ptr |
---|
1861 | | #undef YY_DO_BEFORE_ACTION |
---|
1862 | | |
---|
1863 | | #ifdef YY_DECL_IS_OURS |
---|
1864 | | #undef YY_DECL_IS_OURS |
---|
1865 | | #undef YY_DECL |
---|
1866 | | #endif |
---|
1867 | | #line 9 "conftest.l" |
---|
1868 | | |
---|
1869 | | |
---|
1870 | | #ifdef YYTEXT_POINTER |
---|
1871 | | extern char *yytext; |
---|
1872 | | #endif |
---|
1873 | | int |
---|
1874 | | main (void) |
---|
1875 | | { |
---|
1876 | | return ! yylex () + ! yywrap (); |
---|
1877 | | } |
---|
1878 | configure:4618: gcc -o conftest -g -O2 conftest.c -lfl >&5 |
---|
1879 | configure:4624: $? = 0 |
---|
1880 | configure:4645: result: -lfl |
---|
1881 | configure:4651: checking whether yytext is a pointer |
---|
1882 | configure:4672: gcc -o conftest -g -O2 conftest.c -lfl >&5 |
---|
1883 | configure:4678: $? = 0 |
---|
1884 | configure:4697: result: yes |
---|
1885 | configure:4936: checking for a sed that does not truncate output |
---|
1886 | configure:4992: result: /bin/sed |
---|
1887 | configure:4995: checking for grep that handles long lines and -e |
---|
1888 | configure:5069: result: /bin/grep |
---|
1889 | configure:5074: checking for egrep |
---|
1890 | configure:5152: result: /bin/grep -E |
---|
1891 | configure:5168: checking for ld used by gcc |
---|
1892 | configure:5235: result: /usr/bin/ld |
---|
1893 | configure:5244: checking if the linker (/usr/bin/ld) is GNU ld |
---|
1894 | configure:5259: result: yes |
---|
1895 | configure:5264: checking for /usr/bin/ld option to reload object files |
---|
1896 | configure:5271: result: -r |
---|
1897 | configure:5289: checking for BSD-compatible nm |
---|
1898 | configure:5338: result: /usr/bin/nm -B |
---|
1899 | configure:5342: checking whether ln -s works |
---|
1900 | configure:5346: result: yes |
---|
1901 | configure:5353: checking how to recognize dependent libraries |
---|
1902 | configure:5539: result: pass_all |
---|
1903 | configure:5779: checking how to run the C preprocessor |
---|
1904 | configure:5819: gcc -E conftest.c |
---|
1905 | configure:5825: $? = 0 |
---|
1906 | configure:5856: gcc -E conftest.c |
---|
1907 | conftest.c:11:28: ac_nonexistent.h: No such file or directory |
---|
1908 | configure:5862: $? = 1 |
---|
1909 | configure: failed program was: |
---|
1910 | | /* confdefs.h. */ |
---|
1911 | | #define PACKAGE_NAME "OGRE" |
---|
1912 | | #define PACKAGE_TARNAME "ogre" |
---|
1913 | | #define PACKAGE_VERSION "1.4.5" |
---|
1914 | | #define PACKAGE_STRING "OGRE 1.4.5" |
---|
1915 | | #define PACKAGE_BUGREPORT "" |
---|
1916 | | #define PACKAGE "OGRE" |
---|
1917 | | #define VERSION "1.4.5" |
---|
1918 | | #define YYTEXT_POINTER 1 |
---|
1919 | | /* end confdefs.h. */ |
---|
1920 | | #include <ac_nonexistent.h> |
---|
1921 | configure:5895: result: gcc -E |
---|
1922 | configure:5924: gcc -E conftest.c |
---|
1923 | configure:5930: $? = 0 |
---|
1924 | configure:5961: gcc -E conftest.c |
---|
1925 | conftest.c:11:28: ac_nonexistent.h: No such file or directory |
---|
1926 | configure:5967: $? = 1 |
---|
1927 | configure: failed program was: |
---|
1928 | | /* confdefs.h. */ |
---|
1929 | | #define PACKAGE_NAME "OGRE" |
---|
1930 | | #define PACKAGE_TARNAME "ogre" |
---|
1931 | | #define PACKAGE_VERSION "1.4.5" |
---|
1932 | | #define PACKAGE_STRING "OGRE 1.4.5" |
---|
1933 | | #define PACKAGE_BUGREPORT "" |
---|
1934 | | #define PACKAGE "OGRE" |
---|
1935 | | #define VERSION "1.4.5" |
---|
1936 | | #define YYTEXT_POINTER 1 |
---|
1937 | | /* end confdefs.h. */ |
---|
1938 | | #include <ac_nonexistent.h> |
---|
1939 | configure:6005: checking for ANSI C header files |
---|
1940 | configure:6035: gcc -c -g -O2 conftest.c >&5 |
---|
1941 | configure:6041: $? = 0 |
---|
1942 | configure:6137: gcc -o conftest -g -O2 conftest.c >&5 |
---|
1943 | configure:6140: $? = 0 |
---|
1944 | configure:6146: ./conftest |
---|
1945 | configure:6149: $? = 0 |
---|
1946 | configure:6166: result: yes |
---|
1947 | configure:6190: checking for sys/types.h |
---|
1948 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1949 | configure:6217: $? = 0 |
---|
1950 | configure:6233: result: yes |
---|
1951 | configure:6190: checking for sys/stat.h |
---|
1952 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1953 | configure:6217: $? = 0 |
---|
1954 | configure:6233: result: yes |
---|
1955 | configure:6190: checking for stdlib.h |
---|
1956 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1957 | configure:6217: $? = 0 |
---|
1958 | configure:6233: result: yes |
---|
1959 | configure:6190: checking for string.h |
---|
1960 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1961 | configure:6217: $? = 0 |
---|
1962 | configure:6233: result: yes |
---|
1963 | configure:6190: checking for memory.h |
---|
1964 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1965 | configure:6217: $? = 0 |
---|
1966 | configure:6233: result: yes |
---|
1967 | configure:6190: checking for strings.h |
---|
1968 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1969 | configure:6217: $? = 0 |
---|
1970 | configure:6233: result: yes |
---|
1971 | configure:6190: checking for inttypes.h |
---|
1972 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1973 | configure:6217: $? = 0 |
---|
1974 | configure:6233: result: yes |
---|
1975 | configure:6190: checking for stdint.h |
---|
1976 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1977 | configure:6217: $? = 0 |
---|
1978 | configure:6233: result: yes |
---|
1979 | configure:6190: checking for unistd.h |
---|
1980 | configure:6211: gcc -c -g -O2 conftest.c >&5 |
---|
1981 | configure:6217: $? = 0 |
---|
1982 | configure:6233: result: yes |
---|
1983 | configure:6260: checking dlfcn.h usability |
---|
1984 | configure:6277: gcc -c -g -O2 conftest.c >&5 |
---|
1985 | configure:6283: $? = 0 |
---|
1986 | configure:6297: result: yes |
---|
1987 | configure:6301: checking dlfcn.h presence |
---|
1988 | configure:6316: gcc -E conftest.c |
---|
1989 | configure:6322: $? = 0 |
---|
1990 | configure:6336: result: yes |
---|
1991 | configure:6364: checking for dlfcn.h |
---|
1992 | configure:6372: result: yes |
---|
1993 | configure:6395: checking how to run the C++ preprocessor |
---|
1994 | configure:6431: g++ -E conftest.cpp |
---|
1995 | configure:6437: $? = 0 |
---|
1996 | configure:6468: g++ -E conftest.cpp |
---|
1997 | conftest.cpp:22:28: ac_nonexistent.h: No such file or directory |
---|
1998 | configure:6474: $? = 1 |
---|
1999 | configure: failed program was: |
---|
2000 | | /* confdefs.h. */ |
---|
2001 | | #define PACKAGE_NAME "OGRE" |
---|
2002 | | #define PACKAGE_TARNAME "ogre" |
---|
2003 | | #define PACKAGE_VERSION "1.4.5" |
---|
2004 | | #define PACKAGE_STRING "OGRE 1.4.5" |
---|
2005 | | #define PACKAGE_BUGREPORT "" |
---|
2006 | | #define PACKAGE "OGRE" |
---|
2007 | | #define VERSION "1.4.5" |
---|
2008 | | #define YYTEXT_POINTER 1 |
---|
2009 | | #define STDC_HEADERS 1 |
---|
2010 | | #define HAVE_SYS_TYPES_H 1 |
---|
2011 | | #define HAVE_SYS_STAT_H 1 |
---|
2012 | | #define HAVE_STDLIB_H 1 |
---|
2013 | | #define HAVE_STRING_H 1 |
---|
2014 | | #define HAVE_MEMORY_H 1 |
---|
2015 | | #define HAVE_STRINGS_H 1 |
---|
2016 | | #define HAVE_INTTYPES_H 1 |
---|
2017 | | #define HAVE_STDINT_H 1 |
---|
2018 | | #define HAVE_UNISTD_H 1 |
---|
2019 | | #define HAVE_DLFCN_H 1 |
---|
2020 | | /* end confdefs.h. */ |
---|
2021 | | #include <ac_nonexistent.h> |
---|
2022 | configure:6507: result: g++ -E |
---|
2023 | configure:6536: g++ -E conftest.cpp |
---|
2024 | configure:6542: $? = 0 |
---|
2025 | configure:6573: g++ -E conftest.cpp |
---|
2026 | conftest.cpp:22:28: ac_nonexistent.h: No such file or directory |
---|
2027 | configure:6579: $? = 1 |
---|
2028 | configure: failed program was: |
---|
2029 | | /* confdefs.h. */ |
---|
2030 | | #define PACKAGE_NAME "OGRE" |
---|
2031 | | #define PACKAGE_TARNAME "ogre" |
---|
2032 | | #define PACKAGE_VERSION "1.4.5" |
---|
2033 | | #define PACKAGE_STRING "OGRE 1.4.5" |
---|
2034 | | #define PACKAGE_BUGREPORT "" |
---|
2035 | | #define PACKAGE "OGRE" |
---|
2036 | | #define VERSION "1.4.5" |
---|
2037 | | #define YYTEXT_POINTER 1 |
---|
2038 | | #define STDC_HEADERS 1 |
---|
2039 | | #define HAVE_SYS_TYPES_H 1 |
---|
2040 | | #define HAVE_SYS_STAT_H 1 |
---|
2041 | | #define HAVE_STDLIB_H 1 |
---|
2042 | | #define HAVE_STRING_H 1 |
---|
2043 | | #define HAVE_MEMORY_H 1 |
---|
2044 | | #define HAVE_STRINGS_H 1 |
---|
2045 | | #define HAVE_INTTYPES_H 1 |
---|
2046 | | #define HAVE_STDINT_H 1 |
---|
2047 | | #define HAVE_UNISTD_H 1 |
---|
2048 | | #define HAVE_DLFCN_H 1 |
---|
2049 | | /* end confdefs.h. */ |
---|
2050 | | #include <ac_nonexistent.h> |
---|
2051 | configure:6672: checking for g77 |
---|
2052 | configure:6688: found /usr/sepp/bin/g77 |
---|
2053 | configure:6699: result: g77 |
---|
2054 | configure:6729: checking for Fortran 77 compiler version |
---|
2055 | configure:6736: g77 --version >&5 |
---|
2056 | GNU Fortran (GCC) 3.3.5 |
---|
2057 | Copyright (C) 2002 Free Software Foundation, Inc. |
---|
2058 | |
---|
2059 | GNU Fortran comes with NO WARRANTY, to the extent permitted by law. |
---|
2060 | You may redistribute copies of GNU Fortran |
---|
2061 | under the terms of the GNU General Public License. |
---|
2062 | For more information about these matters, see the file named COPYING |
---|
2063 | or type the command `info -f g77 Copying'. |
---|
2064 | configure:6739: $? = 0 |
---|
2065 | configure:6746: g77 -v >&5 |
---|
2066 | Reading specs from /usr/pack/gcc-3.3.5-mo/i686-debian-linux3.1/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs |
---|
2067 | Configured with: ../configure --prefix=/usr/pack/gcc-3.3.5-mo --exec-prefix=/usr/pack/gcc-3.3.5-mo/i686-debian-linux3.1 --with-gxx-include-dir=/usr/pack/gcc-3.3.5-mo/include/c++ --disable-nls |
---|
2068 | Thread model: posix |
---|
2069 | gcc version 3.3.5 |
---|
2070 | configure:6749: $? = 0 |
---|
2071 | configure:6756: g77 -V >&5 |
---|
2072 | g77: `-V' option must have argument |
---|
2073 | configure:6759: $? = 1 |
---|
2074 | configure:6767: checking whether we are using the GNU Fortran 77 compiler |
---|
2075 | configure:6786: g77 -c conftest.F >&5 |
---|
2076 | configure:6792: $? = 0 |
---|
2077 | configure:6809: result: yes |
---|
2078 | configure:6815: checking whether g77 accepts -g |
---|
2079 | configure:6832: g77 -c -g conftest.f >&5 |
---|
2080 | configure:6838: $? = 0 |
---|
2081 | configure:6854: result: yes |
---|
2082 | configure:6884: checking the maximum length of command line arguments |
---|
2083 | configure:6996: result: 98304 |
---|
2084 | configure:7008: checking command to parse /usr/bin/nm -B output from gcc object |
---|
2085 | configure:7113: gcc -c -g -O2 conftest.c >&5 |
---|
2086 | configure:7116: $? = 0 |
---|
2087 | configure:7120: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm |
---|
2088 | configure:7123: $? = 0 |
---|
2089 | configure:7175: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 |
---|
2090 | configure:7178: $? = 0 |
---|
2091 | configure:7216: result: ok |
---|
2092 | configure:7220: checking for objdir |
---|
2093 | configure:7235: result: .libs |
---|
2094 | configure:7327: checking for ar |
---|
2095 | configure:7343: found /usr/bin/ar |
---|
2096 | configure:7354: result: ar |
---|
2097 | configure:7423: checking for ranlib |
---|
2098 | configure:7439: found /usr/bin/ranlib |
---|
2099 | configure:7450: result: ranlib |
---|
2100 | configure:7519: checking for strip |
---|
2101 | configure:7535: found /usr/bin/strip |
---|
2102 | configure:7546: result: strip |
---|
2103 | configure:7832: checking if gcc supports -fno-rtti -fno-exceptions |
---|
2104 | configure:7853: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 |
---|
2105 | cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC |
---|
2106 | configure:7857: $? = 0 |
---|
2107 | configure:7867: result: no |
---|
2108 | configure:7882: checking for gcc option to produce PIC |
---|
2109 | configure:8114: result: -fPIC |
---|
2110 | configure:8122: checking if gcc PIC flag -fPIC works |
---|
2111 | configure:8143: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 |
---|
2112 | configure:8147: $? = 0 |
---|
2113 | configure:8157: result: yes |
---|
2114 | configure:8185: checking if gcc static flag -static works |
---|
2115 | configure:8213: result: yes |
---|
2116 | configure:8223: checking if gcc supports -c -o file.o |
---|
2117 | configure:8247: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 |
---|
2118 | configure:8251: $? = 0 |
---|
2119 | configure:8270: result: yes |
---|
2120 | configure:8296: checking whether the gcc linker (/usr/bin/ld) supports shared libraries |
---|
2121 | configure:9276: result: yes |
---|
2122 | configure:9297: checking whether -lc should be explicitly linked in |
---|
2123 | configure:9302: gcc -c -g -O2 conftest.c >&5 |
---|
2124 | configure:9305: $? = 0 |
---|
2125 | configure:9320: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 |
---|
2126 | configure:9323: $? = 0 |
---|
2127 | configure:9335: result: no |
---|
2128 | configure:9343: checking dynamic linker characteristics |
---|
2129 | configure:9945: result: GNU/Linux ld.so |
---|
2130 | configure:9954: checking how to hardcode library paths into programs |
---|
2131 | configure:9979: result: immediate |
---|
2132 | configure:9993: checking whether stripping libraries is possible |
---|
2133 | configure:9998: result: yes |
---|
2134 | configure:10800: checking if libtool supports shared libraries |
---|
2135 | configure:10802: result: yes |
---|
2136 | configure:10805: checking whether to build shared libraries |
---|
2137 | configure:10826: result: yes |
---|
2138 | configure:10829: checking whether to build static libraries |
---|
2139 | configure:10833: result: no |
---|
2140 | configure:10926: creating libtool |
---|
2141 | configure:11514: checking for ld used by g++ |
---|
2142 | configure:11581: result: /usr/bin/ld |
---|
2143 | configure:11590: checking if the linker (/usr/bin/ld) is GNU ld |
---|
2144 | configure:11605: result: yes |
---|
2145 | configure:11656: checking whether the g++ linker (/usr/bin/ld) supports shared libraries |
---|
2146 | configure:12630: result: yes |
---|
2147 | configure:12648: g++ -c -g -O2 conftest.cpp >&5 |
---|
2148 | configure:12651: $? = 0 |
---|
2149 | configure:12803: checking for g++ option to produce PIC |
---|
2150 | configure:13087: result: -fPIC |
---|
2151 | configure:13095: checking if g++ PIC flag -fPIC works |
---|
2152 | configure:13116: g++ -c -g -O2 -fPIC -DPIC conftest.cpp >&5 |
---|
2153 | configure:13120: $? = 0 |
---|
2154 | configure:13130: result: yes |
---|
2155 | configure:13158: checking if g++ static flag -static works |
---|
2156 | configure:13186: result: yes |
---|
2157 | configure:13196: checking if g++ supports -c -o file.o |
---|
2158 | configure:13220: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 |
---|
2159 | configure:13224: $? = 0 |
---|
2160 | configure:13243: result: yes |
---|
2161 | configure:13269: checking whether the g++ linker (/usr/bin/ld) supports shared libraries |
---|
2162 | configure:13294: result: yes |
---|
2163 | configure:13361: checking dynamic linker characteristics |
---|
2164 | configure:13911: result: GNU/Linux ld.so |
---|
2165 | configure:13920: checking how to hardcode library paths into programs |
---|
2166 | configure:13945: result: immediate |
---|
2167 | configure:14479: checking if libtool supports shared libraries |
---|
2168 | configure:14481: result: yes |
---|
2169 | configure:14484: checking whether to build shared libraries |
---|
2170 | configure:14504: result: yes |
---|
2171 | configure:14507: checking whether to build static libraries |
---|
2172 | configure:14511: result: no |
---|
2173 | configure:14521: checking for g77 option to produce PIC |
---|
2174 | configure:14753: result: -fPIC |
---|
2175 | configure:14761: checking if g77 PIC flag -fPIC works |
---|
2176 | configure:14782: g77 -c -g -O2 -fPIC conftest.f >&5 |
---|
2177 | configure:14786: $? = 0 |
---|
2178 | configure:14796: result: yes |
---|
2179 | configure:14824: checking if g77 static flag -static works |
---|
2180 | configure:14852: result: yes |
---|
2181 | configure:14862: checking if g77 supports -c -o file.o |
---|
2182 | configure:14886: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 |
---|
2183 | configure:14890: $? = 0 |
---|
2184 | configure:14909: result: yes |
---|
2185 | configure:14935: checking whether the g77 linker (/usr/bin/ld) supports shared libraries |
---|
2186 | configure:15895: result: yes |
---|
2187 | configure:15962: checking dynamic linker characteristics |
---|
2188 | configure:16512: result: GNU/Linux ld.so |
---|
2189 | configure:16521: checking how to hardcode library paths into programs |
---|
2190 | configure:16546: result: immediate |
---|
2191 | configure:20245: checking for ld used by g++ |
---|
2192 | configure:20312: result: /usr/bin/ld |
---|
2193 | configure:20321: checking if the linker (/usr/bin/ld) is GNU ld |
---|
2194 | configure:20336: result: yes |
---|
2195 | configure:20387: checking whether the g++ linker (/usr/bin/ld) supports shared libraries |
---|
2196 | configure:21361: result: yes |
---|
2197 | configure:21379: g++ -c -g -O2 conftest.cpp >&5 |
---|
2198 | configure:21382: $? = 0 |
---|
2199 | configure:21534: checking for g++ option to produce PIC |
---|
2200 | configure:21818: result: -fPIC |
---|
2201 | configure:21826: checking if g++ PIC flag -fPIC works |
---|
2202 | configure:21861: result: yes |
---|
2203 | configure:21889: checking if g++ static flag -static works |
---|
2204 | configure:21917: result: yes |
---|
2205 | configure:21927: checking if g++ supports -c -o file.o |
---|
2206 | configure:21974: result: yes |
---|
2207 | configure:22000: checking whether the g++ linker (/usr/bin/ld) supports shared libraries |
---|
2208 | configure:22025: result: yes |
---|
2209 | configure:22092: checking dynamic linker characteristics |
---|
2210 | configure:22642: result: GNU/Linux ld.so |
---|
2211 | configure:22651: checking how to hardcode library paths into programs |
---|
2212 | configure:22676: result: immediate |
---|
2213 | configure:23130: checking if g++ supports -fvisibility |
---|
2214 | configure:23151: g++ -c -g -O2 -fvisibility=hidden -fvisibility-inlines-hidden conftest.cpp >&5 |
---|
2215 | cc1plus: error: unrecognized option `-fvisibility=hidden' |
---|
2216 | cc1plus: error: unrecognized option `-fvisibility-inlines-hidden' |
---|
2217 | configure:23155: $? = 1 |
---|
2218 | configure:23165: result: no |
---|
2219 | configure:23212: checking whether to use STLPort |
---|
2220 | configure:23219: result: no |
---|
2221 | configure:23266: checking for freetype-config |
---|
2222 | configure:23284: found /usr/bin/freetype-config |
---|
2223 | configure:23297: result: /usr/bin/freetype-config |
---|
2224 | configure:23307: checking for FreeType - version >= 9.0.0 |
---|
2225 | configure:23390: gcc -o conftest -g -O2 -I/usr/include/freetype2 conftest.c -lfreetype -lz >&5 |
---|
2226 | configure:23393: $? = 0 |
---|
2227 | configure:23399: ./conftest |
---|
2228 | configure:23402: $? = 0 |
---|
2229 | configure:23423: result: yes |
---|
2230 | configure:23457: checking for dlopen in -ldl |
---|
2231 | configure:23492: gcc -o conftest -g -O2 conftest.c -ldl >&5 |
---|
2232 | configure:23498: $? = 0 |
---|
2233 | configure:23516: result: yes |
---|
2234 | configure:23528: checking for pow in -lm |
---|
2235 | configure:23563: gcc -o conftest -g -O2 conftest.c -lm -ldl >&5 |
---|
2236 | configure:23569: $? = 0 |
---|
2237 | configure:23587: result: yes |
---|
2238 | configure:23599: checking for gzopen in -lz |
---|
2239 | configure:23634: gcc -o conftest -g -O2 conftest.c -lz -lm -ldl >&5 |
---|
2240 | configure:23640: $? = 0 |
---|
2241 | configure:23658: result: yes |
---|
2242 | configure:23670: checking for pthread_create in -lpthread |
---|
2243 | configure:23705: gcc -o conftest -g -O2 conftest.c -lpthread -lz -lm -ldl >&5 |
---|
2244 | configure:23711: $? = 0 |
---|
2245 | configure:23729: result: yes |
---|
2246 | configure:23740: checking for snprintf |
---|
2247 | configure:23796: gcc -o conftest -g -O2 conftest.c -lpthread -lz -lm -ldl >&5 |
---|
2248 | conftest.c:49: warning: conflicting types for built-in function `snprintf' |
---|
2249 | configure:23802: $? = 0 |
---|
2250 | configure:23819: result: yes |
---|
2251 | configure:23829: checking for vsnprintf |
---|
2252 | configure:23885: gcc -o conftest -g -O2 conftest.c -lpthread -lz -lm -ldl >&5 |
---|
2253 | conftest.c:50: warning: conflicting types for built-in function `vsnprintf' |
---|
2254 | configure:23891: $? = 0 |
---|
2255 | configure:23908: result: yes |
---|
2256 | configure:23954: checking for cppunit-config |
---|
2257 | configure:23972: found /usr/sepp/bin/cppunit-config |
---|
2258 | configure:23985: result: /usr/sepp/bin/cppunit-config |
---|
2259 | configure:23995: checking for Cppunit - version >= 1.10.0 |
---|
2260 | configure:24028: result: 1.12.0 |
---|
2261 | configure:24107: checking for pkg-config |
---|
2262 | configure:24125: found /usr/bin/pkg-config |
---|
2263 | configure:24137: result: /usr/bin/pkg-config |
---|
2264 | configure:24166: checking pkg-config is at least version 0.9.0 |
---|
2265 | configure:24169: result: yes |
---|
2266 | configure:24180: checking for ZZIPLIB |
---|
2267 | configure:24188: $PKG_CONFIG --exists --print-errors "zziplib" |
---|
2268 | Package zziplib was not found in the pkg-config search path. |
---|
2269 | Perhaps you should add the directory containing `zziplib.pc' |
---|
2270 | to the PKG_CONFIG_PATH environment variable |
---|
2271 | No package 'zziplib' found |
---|
2272 | configure:24191: $? = 1 |
---|
2273 | configure:24206: $PKG_CONFIG --exists --print-errors "zziplib" |
---|
2274 | Package zziplib was not found in the pkg-config search path. |
---|
2275 | Perhaps you should add the directory containing `zziplib.pc' |
---|
2276 | to the PKG_CONFIG_PATH environment variable |
---|
2277 | No package 'zziplib' found |
---|
2278 | configure:24209: $? = 1 |
---|
2279 | Package zziplib was not found in the pkg-config search path. |
---|
2280 | Perhaps you should add the directory containing `zziplib.pc' |
---|
2281 | to the PKG_CONFIG_PATH environment variable |
---|
2282 | No package 'zziplib' found |
---|
2283 | configure:24247: error: Package requirements (zziplib) were not met: |
---|
2284 | |
---|
2285 | Package zziplib was not found in the pkg-config search path. |
---|
2286 | Perhaps you should add the directory containing `zziplib.pc' |
---|
2287 | to the PKG_CONFIG_PATH environment variable |
---|
2288 | No package 'zziplib' found |
---|
2289 | |
---|
2290 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
2291 | installed software in a non-standard prefix. |
---|
2292 | |
---|
2293 | Alternatively, you may set the environment variables ZZIPLIB_CFLAGS |
---|
2294 | and ZZIPLIB_LIBS to avoid the need to call pkg-config. |
---|
2295 | See the pkg-config man page for more details. |
---|
2296 | |
---|
2297 | |
---|
2298 | ## ---------------- ## |
---|
2299 | ## Cache variables. ## |
---|
2300 | ## ---------------- ## |
---|
2301 | |
---|
2302 | ac_cv_build=i686-pc-linux-gnu |
---|
2303 | ac_cv_c_compiler_gnu=yes |
---|
2304 | ac_cv_cxx_compiler_gnu=yes |
---|
2305 | ac_cv_env_CCC_set= |
---|
2306 | ac_cv_env_CCC_value= |
---|
2307 | ac_cv_env_CC_set= |
---|
2308 | ac_cv_env_CC_value= |
---|
2309 | ac_cv_env_CEGUI_CFLAGS_set= |
---|
2310 | ac_cv_env_CEGUI_CFLAGS_value= |
---|
2311 | ac_cv_env_CEGUI_LIBS_set= |
---|
2312 | ac_cv_env_CEGUI_LIBS_value= |
---|
2313 | ac_cv_env_CFLAGS_set= |
---|
2314 | ac_cv_env_CFLAGS_value= |
---|
2315 | ac_cv_env_CPPFLAGS_set= |
---|
2316 | ac_cv_env_CPPFLAGS_value= |
---|
2317 | ac_cv_env_CPP_set= |
---|
2318 | ac_cv_env_CPP_value= |
---|
2319 | ac_cv_env_CXXCPP_set= |
---|
2320 | ac_cv_env_CXXCPP_value= |
---|
2321 | ac_cv_env_CXXFLAGS_set= |
---|
2322 | ac_cv_env_CXXFLAGS_value= |
---|
2323 | ac_cv_env_CXX_set= |
---|
2324 | ac_cv_env_CXX_value= |
---|
2325 | ac_cv_env_F77_set= |
---|
2326 | ac_cv_env_F77_value= |
---|
2327 | ac_cv_env_FFLAGS_set= |
---|
2328 | ac_cv_env_FFLAGS_value= |
---|
2329 | ac_cv_env_GTK_CFLAGS_set= |
---|
2330 | ac_cv_env_GTK_CFLAGS_value= |
---|
2331 | ac_cv_env_GTK_LIBS_set= |
---|
2332 | ac_cv_env_GTK_LIBS_value= |
---|
2333 | ac_cv_env_LDFLAGS_set= |
---|
2334 | ac_cv_env_LDFLAGS_value= |
---|
2335 | ac_cv_env_LIBS_set= |
---|
2336 | ac_cv_env_LIBS_value= |
---|
2337 | ac_cv_env_OIS_CFLAGS_set= |
---|
2338 | ac_cv_env_OIS_CFLAGS_value= |
---|
2339 | ac_cv_env_OIS_LIBS_set= |
---|
2340 | ac_cv_env_OIS_LIBS_value= |
---|
2341 | ac_cv_env_OPENEXR_CFLAGS_set= |
---|
2342 | ac_cv_env_OPENEXR_CFLAGS_value= |
---|
2343 | ac_cv_env_OPENEXR_LIBS_set= |
---|
2344 | ac_cv_env_OPENEXR_LIBS_value= |
---|
2345 | ac_cv_env_PKG_CONFIG_set= |
---|
2346 | ac_cv_env_PKG_CONFIG_value= |
---|
2347 | ac_cv_env_XMKMF_set= |
---|
2348 | ac_cv_env_XMKMF_value= |
---|
2349 | ac_cv_env_YACC_set= |
---|
2350 | ac_cv_env_YACC_value= |
---|
2351 | ac_cv_env_YFLAGS_set= |
---|
2352 | ac_cv_env_YFLAGS_value= |
---|
2353 | ac_cv_env_ZZIPLIB_CFLAGS_set= |
---|
2354 | ac_cv_env_ZZIPLIB_CFLAGS_value= |
---|
2355 | ac_cv_env_ZZIPLIB_LIBS_set= |
---|
2356 | ac_cv_env_ZZIPLIB_LIBS_value= |
---|
2357 | ac_cv_env_build_alias_set= |
---|
2358 | ac_cv_env_build_alias_value= |
---|
2359 | ac_cv_env_host_alias_set= |
---|
2360 | ac_cv_env_host_alias_value= |
---|
2361 | ac_cv_env_target_alias_set= |
---|
2362 | ac_cv_env_target_alias_value= |
---|
2363 | ac_cv_f77_compiler_gnu=yes |
---|
2364 | ac_cv_func_snprintf=yes |
---|
2365 | ac_cv_func_vsnprintf=yes |
---|
2366 | ac_cv_header_dlfcn_h=yes |
---|
2367 | ac_cv_header_inttypes_h=yes |
---|
2368 | ac_cv_header_memory_h=yes |
---|
2369 | ac_cv_header_stdc=yes |
---|
2370 | ac_cv_header_stdint_h=yes |
---|
2371 | ac_cv_header_stdlib_h=yes |
---|
2372 | ac_cv_header_string_h=yes |
---|
2373 | ac_cv_header_strings_h=yes |
---|
2374 | ac_cv_header_sys_stat_h=yes |
---|
2375 | ac_cv_header_sys_types_h=yes |
---|
2376 | ac_cv_header_unistd_h=yes |
---|
2377 | ac_cv_host=i686-pc-linux-gnu |
---|
2378 | ac_cv_lib_dl_dlopen=yes |
---|
2379 | ac_cv_lib_lex=-lfl |
---|
2380 | ac_cv_lib_m_pow=yes |
---|
2381 | ac_cv_lib_pthread_pthread_create=yes |
---|
2382 | ac_cv_lib_z_gzopen=yes |
---|
2383 | ac_cv_objext=o |
---|
2384 | ac_cv_path_CPPUNIT_CONFIG=/usr/sepp/bin/cppunit-config |
---|
2385 | ac_cv_path_EGREP='/bin/grep -E' |
---|
2386 | ac_cv_path_FT2_CONFIG=/usr/bin/freetype-config |
---|
2387 | ac_cv_path_GREP=/bin/grep |
---|
2388 | ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config |
---|
2389 | ac_cv_path_install='/usr/bin/install -c' |
---|
2390 | ac_cv_path_mkdir=/bin/mkdir |
---|
2391 | ac_cv_prog_AWK=gawk |
---|
2392 | ac_cv_prog_CPP='gcc -E' |
---|
2393 | ac_cv_prog_CXXCPP='g++ -E' |
---|
2394 | ac_cv_prog_LEX=flex |
---|
2395 | ac_cv_prog_YACC='bison -y' |
---|
2396 | ac_cv_prog_ac_ct_AR=ar |
---|
2397 | ac_cv_prog_ac_ct_CC=gcc |
---|
2398 | ac_cv_prog_ac_ct_CXX=g++ |
---|
2399 | ac_cv_prog_ac_ct_F77=g77 |
---|
2400 | ac_cv_prog_ac_ct_RANLIB=ranlib |
---|
2401 | ac_cv_prog_ac_ct_STRIP=strip |
---|
2402 | ac_cv_prog_cc_c89= |
---|
2403 | ac_cv_prog_cc_g=yes |
---|
2404 | ac_cv_prog_cc_gcc_c_o=yes |
---|
2405 | ac_cv_prog_cxx_g=yes |
---|
2406 | ac_cv_prog_f77_g=yes |
---|
2407 | ac_cv_prog_lex_root=lex.yy |
---|
2408 | ac_cv_prog_lex_yytext_pointer=yes |
---|
2409 | ac_cv_prog_make_make_set=yes |
---|
2410 | ac_cv_target=i686-pc-linux-gnu |
---|
2411 | ac_cv_use_stlport=no |
---|
2412 | am_cv_CC_dependencies_compiler_type=gcc3 |
---|
2413 | am_cv_CXX_dependencies_compiler_type=gcc3 |
---|
2414 | lt_cv_deplibs_check_method=pass_all |
---|
2415 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
---|
2416 | lt_cv_file_magic_test_file= |
---|
2417 | lt_cv_ld_reload_flag=-r |
---|
2418 | lt_cv_objdir=.libs |
---|
2419 | lt_cv_path_LD=/usr/bin/ld |
---|
2420 | lt_cv_path_LDCXX=/usr/bin/ld |
---|
2421 | lt_cv_path_NM='/usr/bin/nm -B' |
---|
2422 | lt_cv_path_SED=/bin/sed |
---|
2423 | lt_cv_prog_compiler_c_o=yes |
---|
2424 | lt_cv_prog_compiler_c_o_CXX=yes |
---|
2425 | lt_cv_prog_compiler_c_o_F77=yes |
---|
2426 | lt_cv_prog_compiler_rtti_exceptions=no |
---|
2427 | lt_cv_prog_gnu_ld=yes |
---|
2428 | lt_cv_prog_gnu_ldcxx=yes |
---|
2429 | lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' |
---|
2430 | lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' |
---|
2431 | lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' |
---|
2432 | lt_cv_sys_max_cmd_len=98304 |
---|
2433 | lt_lt_cv_prog_compiler_c_o='"yes"' |
---|
2434 | lt_lt_cv_prog_compiler_c_o_CXX='"yes"' |
---|
2435 | lt_lt_cv_prog_compiler_c_o_F77='"yes"' |
---|
2436 | lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' |
---|
2437 | lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' |
---|
2438 | lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' |
---|
2439 | |
---|
2440 | ## ----------------- ## |
---|
2441 | ## Output variables. ## |
---|
2442 | ## ----------------- ## |
---|
2443 | |
---|
2444 | ACLOCAL='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run aclocal-1.10' |
---|
2445 | AMDEPBACKSLASH='\' |
---|
2446 | AMDEP_FALSE='#' |
---|
2447 | AMDEP_TRUE='' |
---|
2448 | AMTAR='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run tar' |
---|
2449 | AR='ar' |
---|
2450 | AUTOCONF='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run autoconf' |
---|
2451 | AUTOHEADER='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run autoheader' |
---|
2452 | AUTOMAKE='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run automake-1.10' |
---|
2453 | AWK='gawk' |
---|
2454 | BUILD_CGPLUGIN_FALSE='' |
---|
2455 | BUILD_CGPLUGIN_TRUE='' |
---|
2456 | BUILD_DX9RENDERSYSTEM_FALSE='' |
---|
2457 | BUILD_DX9RENDERSYSTEM_TRUE='' |
---|
2458 | BUILD_EXRPLUGIN_FALSE='' |
---|
2459 | BUILD_EXRPLUGIN_TRUE='' |
---|
2460 | BUILD_UNIT_TESTS_FALSE='#' |
---|
2461 | BUILD_UNIT_TESTS_TRUE='' |
---|
2462 | CC='gcc' |
---|
2463 | CCDEPMODE='depmode=gcc3' |
---|
2464 | CEGUI_CFLAGS='' |
---|
2465 | CEGUI_LIBS='' |
---|
2466 | CFLAGS='-g -O2' |
---|
2467 | CFLAGS_VISIBILITY='' |
---|
2468 | CPP='gcc -E' |
---|
2469 | CPPFLAGS='' |
---|
2470 | CPPUNIT_CFLAGS='-I/usr/pack/cppunit-1.12.0-sd/include' |
---|
2471 | CPPUNIT_CONFIG='/usr/sepp/bin/cppunit-config' |
---|
2472 | CPPUNIT_LIBS='-L/usr/pack/cppunit-1.12.0-sd/i686-debian-linux3.1/lib -lcppunit -ldl' |
---|
2473 | CXX='g++' |
---|
2474 | CXXCPP='g++ -E' |
---|
2475 | CXXDEPMODE='depmode=gcc3' |
---|
2476 | CXXFLAGS='-g -O2' |
---|
2477 | CYGPATH_W='echo' |
---|
2478 | DEFS='' |
---|
2479 | DEPDIR='.deps' |
---|
2480 | ECHO='echo' |
---|
2481 | ECHO_C='' |
---|
2482 | ECHO_N='-n' |
---|
2483 | ECHO_T='' |
---|
2484 | EGREP='/bin/grep -E' |
---|
2485 | EXEEXT='' |
---|
2486 | F77='g77' |
---|
2487 | FFLAGS='-g -O2' |
---|
2488 | FT2_CFLAGS='-I/usr/include/freetype2' |
---|
2489 | FT2_CONFIG='/usr/bin/freetype-config' |
---|
2490 | FT2_LIBS='-lfreetype -lz' |
---|
2491 | GLSUPPORT_CFLAGS='' |
---|
2492 | GLSUPPORT_LIBS='' |
---|
2493 | GL_LIBS='-lGL -lGLU' |
---|
2494 | GREP='/bin/grep' |
---|
2495 | GTK_CFLAGS='' |
---|
2496 | GTK_LIBS='' |
---|
2497 | HAVE_CEGUI_FALSE='' |
---|
2498 | HAVE_CEGUI_TRUE='' |
---|
2499 | INSTALL_DATA='${INSTALL} -m 644' |
---|
2500 | INSTALL_PROGRAM='${INSTALL}' |
---|
2501 | INSTALL_SCRIPT='${INSTALL}' |
---|
2502 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
---|
2503 | LDFLAGS='' |
---|
2504 | LEX='flex' |
---|
2505 | LEXLIB='-lfl' |
---|
2506 | LEX_OUTPUT_ROOT='lex.yy' |
---|
2507 | LIBOBJS='' |
---|
2508 | LIBS='-lpthread -lz -lm -ldl ' |
---|
2509 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
---|
2510 | LN_S='ln -s' |
---|
2511 | LTLIBOBJS='' |
---|
2512 | MAKEINFO='${SHELL} /home/landauf/orxonoxv2/ogre/missing --run makeinfo' |
---|
2513 | OBJEXT='o' |
---|
2514 | OGRE_BUILDING_DEMOS_FALSE='' |
---|
2515 | OGRE_BUILDING_DEMOS_TRUE='' |
---|
2516 | OGRE_BUILD_SSE_FALSE='' |
---|
2517 | OGRE_BUILD_SSE_TRUE='' |
---|
2518 | OGRE_CFLAGS='' |
---|
2519 | OGRE_GLSUPPORT='' |
---|
2520 | OGRE_GUI='' |
---|
2521 | OGRE_LINUX_FALSE='#' |
---|
2522 | OGRE_LINUX_TRUE='' |
---|
2523 | OGRE_NT_FALSE='' |
---|
2524 | OGRE_NT_TRUE='#' |
---|
2525 | OGRE_OSX_FALSE='' |
---|
2526 | OGRE_OSX_TRUE='#' |
---|
2527 | OGRE_PLATFORM='' |
---|
2528 | OGRE_THREAD_LIBS='' |
---|
2529 | OIS_CFLAGS='' |
---|
2530 | OIS_LIBS='' |
---|
2531 | OPENEXR_CFLAGS='' |
---|
2532 | OPENEXR_LIBS='' |
---|
2533 | PACKAGE='OGRE' |
---|
2534 | PACKAGE_BUGREPORT='' |
---|
2535 | PACKAGE_NAME='OGRE' |
---|
2536 | PACKAGE_STRING='OGRE 1.4.5' |
---|
2537 | PACKAGE_TARNAME='ogre' |
---|
2538 | PACKAGE_VERSION='1.4.5' |
---|
2539 | PATH_SEPARATOR=':' |
---|
2540 | PKG_CONFIG='/usr/bin/pkg-config' |
---|
2541 | PLATFORM_CFLAGS='' |
---|
2542 | PLATFORM_LIBS='' |
---|
2543 | PLUGIN_FLAGS='-shared -avoid-version' |
---|
2544 | RANLIB='ranlib' |
---|
2545 | RC='' |
---|
2546 | SAME_PLATFORM_AND_GUI_FALSE='' |
---|
2547 | SAME_PLATFORM_AND_GUI_TRUE='' |
---|
2548 | SED='/bin/sed' |
---|
2549 | SET_MAKE='' |
---|
2550 | SHARED_FLAGS='-shared' |
---|
2551 | SHELL='/bin/sh' |
---|
2552 | STLPORT_CFLAGS='' |
---|
2553 | STLPORT_LIBS='' |
---|
2554 | STRIP='strip' |
---|
2555 | USE_DEVIL_FALSE='' |
---|
2556 | USE_DEVIL_TRUE='' |
---|
2557 | USE_FREEIMAGE_FALSE='' |
---|
2558 | USE_FREEIMAGE_TRUE='' |
---|
2559 | VERSION='1.4.5' |
---|
2560 | XMKMF='' |
---|
2561 | YACC='bison -y' |
---|
2562 | YFLAGS='' |
---|
2563 | ZZIPLIB_CFLAGS='' |
---|
2564 | ZZIPLIB_LIBS='' |
---|
2565 | abs_top_builddir='' |
---|
2566 | ac_ct_CC='gcc' |
---|
2567 | ac_ct_CXX='g++' |
---|
2568 | ac_ct_F77='g77' |
---|
2569 | am__fastdepCC_FALSE='#' |
---|
2570 | am__fastdepCC_TRUE='' |
---|
2571 | am__fastdepCXX_FALSE='#' |
---|
2572 | am__fastdepCXX_TRUE='' |
---|
2573 | am__include='include' |
---|
2574 | am__isrc='' |
---|
2575 | am__leading_dot='.' |
---|
2576 | am__quote='' |
---|
2577 | am__tar='${AMTAR} chof - "$$tardir"' |
---|
2578 | am__untar='${AMTAR} xf -' |
---|
2579 | bindir='${exec_prefix}/bin' |
---|
2580 | build='i686-pc-linux-gnu' |
---|
2581 | build_alias='' |
---|
2582 | build_cpu='i686' |
---|
2583 | build_os='linux-gnu' |
---|
2584 | build_vendor='pc' |
---|
2585 | datadir='${datarootdir}' |
---|
2586 | datarootdir='${prefix}/share' |
---|
2587 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
2588 | dvidir='${docdir}' |
---|
2589 | exec_prefix='NONE' |
---|
2590 | host='i686-pc-linux-gnu' |
---|
2591 | host_alias='' |
---|
2592 | host_cpu='i686' |
---|
2593 | host_os='linux-gnu' |
---|
2594 | host_vendor='pc' |
---|
2595 | htmldir='${docdir}' |
---|
2596 | includedir='${prefix}/include' |
---|
2597 | infodir='${datarootdir}/info' |
---|
2598 | install_sh='$(SHELL) /home/landauf/orxonoxv2/ogre/install-sh' |
---|
2599 | libdir='${exec_prefix}/lib' |
---|
2600 | libexecdir='${exec_prefix}/libexec' |
---|
2601 | localedir='${datarootdir}/locale' |
---|
2602 | localstatedir='${prefix}/var' |
---|
2603 | mandir='${datarootdir}/man' |
---|
2604 | mkdir_p='/bin/mkdir -p' |
---|
2605 | ogreexecdir='' |
---|
2606 | oldincludedir='/usr/include' |
---|
2607 | pdfdir='${docdir}' |
---|
2608 | prefix='NONE' |
---|
2609 | program_transform_name='s,x,x,' |
---|
2610 | psdir='${docdir}' |
---|
2611 | sbindir='${exec_prefix}/sbin' |
---|
2612 | sharedstatedir='${prefix}/com' |
---|
2613 | sysconfdir='${prefix}/etc' |
---|
2614 | target='i686-pc-linux-gnu' |
---|
2615 | target_alias='' |
---|
2616 | target_cpu='i686' |
---|
2617 | target_os='linux-gnu' |
---|
2618 | target_vendor='pc' |
---|
2619 | |
---|
2620 | ## ----------- ## |
---|
2621 | ## confdefs.h. ## |
---|
2622 | ## ----------- ## |
---|
2623 | |
---|
2624 | #define PACKAGE_NAME "OGRE" |
---|
2625 | #define PACKAGE_TARNAME "ogre" |
---|
2626 | #define PACKAGE_VERSION "1.4.5" |
---|
2627 | #define PACKAGE_STRING "OGRE 1.4.5" |
---|
2628 | #define PACKAGE_BUGREPORT "" |
---|
2629 | #define PACKAGE "OGRE" |
---|
2630 | #define VERSION "1.4.5" |
---|
2631 | #define YYTEXT_POINTER 1 |
---|
2632 | #define STDC_HEADERS 1 |
---|
2633 | #define HAVE_SYS_TYPES_H 1 |
---|
2634 | #define HAVE_SYS_STAT_H 1 |
---|
2635 | #define HAVE_STDLIB_H 1 |
---|
2636 | #define HAVE_STRING_H 1 |
---|
2637 | #define HAVE_MEMORY_H 1 |
---|
2638 | #define HAVE_STRINGS_H 1 |
---|
2639 | #define HAVE_INTTYPES_H 1 |
---|
2640 | #define HAVE_STDINT_H 1 |
---|
2641 | #define HAVE_UNISTD_H 1 |
---|
2642 | #define HAVE_DLFCN_H 1 |
---|
2643 | #define HAVE_LIBDL 1 |
---|
2644 | #define HAVE_LIBM 1 |
---|
2645 | #define HAVE_LIBZ 1 |
---|
2646 | #define HAVE_LIBPTHREAD 1 |
---|
2647 | #define HAVE_SNPRINTF |
---|
2648 | #define HAVE_VSNPRINTF |
---|
2649 | |
---|
2650 | configure: exit 1 |
---|