diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
commit | 684a27ce13a9a08f4f1d94621cdab1232d2d33cf (patch) | |
tree | 4b85d42802b588767b6ac7b6972f2093154c7196 /configure | |
parent | 1e3808b3338ff3b1499e000ce1f23e87d6050b8c (diff) | |
download | mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.gz mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.bz2 mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.zip |
Added GNU configure stuff
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6575 |
1 files changed, 6575 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 0000000..97bd53e --- /dev/null +++ b/configure | |||
@@ -0,0 +1,6575 @@ | |||
1 | #! /bin/sh | ||
2 | # Guess values for system-dependent variables and create Makefiles. | ||
3 | # Generated by GNU Autoconf 2.63 for Maze Of Life 2.0. | ||
4 | # | ||
5 | # Report bugs to <BUG-REPORT-ADDRESS>. | ||
6 | # | ||
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
9 | # This configure script is free software; the Free Software Foundation | ||
10 | # gives unlimited permission to copy, distribute and modify it. | ||
11 | ## --------------------- ## | ||
12 | ## M4sh Initialization. ## | ||
13 | ## --------------------- ## | ||
14 | |||
15 | # Be more Bourne compatible | ||
16 | DUALCASE=1; export DUALCASE # for MKS sh | ||
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
18 | emulate sh | ||
19 | NULLCMD=: | ||
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
21 | # is contrary to our usage. Disable this feature. | ||
22 | alias -g '${1+"$@"}'='"$@"' | ||
23 | setopt NO_GLOB_SUBST | ||
24 | else | ||
25 | case `(set -o) 2>/dev/null` in | ||
26 | *posix*) set -o posix ;; | ||
27 | esac | ||
28 | |||
29 | fi | ||
30 | |||
31 | |||
32 | |||
33 | |||
34 | # PATH needs CR | ||
35 | # Avoid depending upon Character Ranges. | ||
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
39 | as_cr_digits='0123456789' | ||
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
41 | |||
42 | as_nl=' | ||
43 | ' | ||
44 | export as_nl | ||
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
66 | ' | ||
67 | export as_echo_n_body | ||
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
69 | fi | ||
70 | export as_echo_body | ||
71 | as_echo='sh -c $as_echo_body as_echo' | ||
72 | fi | ||
73 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | # Support unset when possible. | ||
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
85 | as_unset=unset | ||
86 | else | ||
87 | as_unset=false | ||
88 | fi | ||
89 | |||
90 | |||
91 | # IFS | ||
92 | # We need space, tab and new line, in precisely that order. Quoting is | ||
93 | # there to prevent editors from complaining about space-tab. | ||
94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
95 | # splitting by setting IFS to empty value.) | ||
96 | IFS=" "" $as_nl" | ||
97 | |||
98 | # Find who we are. Look in the path if we contain no directory separator. | ||
99 | case $0 in | ||
100 | *[\\/]* ) as_myself=$0 ;; | ||
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
102 | for as_dir in $PATH | ||
103 | do | ||
104 | IFS=$as_save_IFS | ||
105 | test -z "$as_dir" && as_dir=. | ||
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
107 | done | ||
108 | IFS=$as_save_IFS | ||
109 | |||
110 | ;; | ||
111 | esac | ||
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
113 | # in which case we are not to be found in the path. | ||
114 | if test "x$as_myself" = x; then | ||
115 | as_myself=$0 | ||
116 | fi | ||
117 | if test ! -f "$as_myself"; then | ||
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
119 | { (exit 1); exit 1; } | ||
120 | fi | ||
121 | |||
122 | # Work around bugs in pre-3.0 UWIN ksh. | ||
123 | for as_var in ENV MAIL MAILPATH | ||
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
125 | done | ||
126 | PS1='$ ' | ||
127 | PS2='> ' | ||
128 | PS4='+ ' | ||
129 | |||
130 | # NLS nuisances. | ||
131 | LC_ALL=C | ||
132 | export LC_ALL | ||
133 | LANGUAGE=C | ||
134 | export LANGUAGE | ||
135 | |||
136 | # Required to use basename. | ||
137 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
139 | as_expr=expr | ||
140 | else | ||
141 | as_expr=false | ||
142 | fi | ||
143 | |||
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
145 | as_basename=basename | ||
146 | else | ||
147 | as_basename=false | ||
148 | fi | ||
149 | |||
150 | |||
151 | # Name of the executable. | ||
152 | as_me=`$as_basename -- "$0" || | ||
153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
154 | X"$0" : 'X\(//\)$' \| \ | ||
155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
156 | $as_echo X/"$0" | | ||
157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
158 | s//\1/ | ||
159 | q | ||
160 | } | ||
161 | /^X\/\(\/\/\)$/{ | ||
162 | s//\1/ | ||
163 | q | ||
164 | } | ||
165 | /^X\/\(\/\).*/{ | ||
166 | s//\1/ | ||
167 | q | ||
168 | } | ||
169 | s/.*/./; q'` | ||
170 | |||
171 | # CDPATH. | ||
172 | $as_unset CDPATH | ||
173 | |||
174 | |||
175 | if test "x$CONFIG_SHELL" = x; then | ||
176 | if (eval ":") 2>/dev/null; then | ||
177 | as_have_required=yes | ||
178 | else | ||
179 | as_have_required=no | ||
180 | fi | ||
181 | |||
182 | if test $as_have_required = yes && (eval ": | ||
183 | (as_func_return () { | ||
184 | (exit \$1) | ||
185 | } | ||
186 | as_func_success () { | ||
187 | as_func_return 0 | ||
188 | } | ||
189 | as_func_failure () { | ||
190 | as_func_return 1 | ||
191 | } | ||
192 | as_func_ret_success () { | ||
193 | return 0 | ||
194 | } | ||
195 | as_func_ret_failure () { | ||
196 | return 1 | ||
197 | } | ||
198 | |||
199 | exitcode=0 | ||
200 | if as_func_success; then | ||
201 | : | ||
202 | else | ||
203 | exitcode=1 | ||
204 | echo as_func_success failed. | ||
205 | fi | ||
206 | |||
207 | if as_func_failure; then | ||
208 | exitcode=1 | ||
209 | echo as_func_failure succeeded. | ||
210 | fi | ||
211 | |||
212 | if as_func_ret_success; then | ||
213 | : | ||
214 | else | ||
215 | exitcode=1 | ||
216 | echo as_func_ret_success failed. | ||
217 | fi | ||
218 | |||
219 | if as_func_ret_failure; then | ||
220 | exitcode=1 | ||
221 | echo as_func_ret_failure succeeded. | ||
222 | fi | ||
223 | |||
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
225 | : | ||
226 | else | ||
227 | exitcode=1 | ||
228 | echo positional parameters were not saved. | ||
229 | fi | ||
230 | |||
231 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
232 | |||
233 | ( | ||
234 | as_lineno_1=\$LINENO | ||
235 | as_lineno_2=\$LINENO | ||
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
238 | ") 2> /dev/null; then | ||
239 | : | ||
240 | else | ||
241 | as_candidate_shells= | ||
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
244 | do | ||
245 | IFS=$as_save_IFS | ||
246 | test -z "$as_dir" && as_dir=. | ||
247 | case $as_dir in | ||
248 | /*) | ||
249 | for as_base in sh bash ksh sh5; do | ||
250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | ||
251 | done;; | ||
252 | esac | ||
253 | done | ||
254 | IFS=$as_save_IFS | ||
255 | |||
256 | |||
257 | for as_shell in $as_candidate_shells $SHELL; do | ||
258 | # Try only shells that exist, to save several forks. | ||
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
262 | emulate sh | ||
263 | NULLCMD=: | ||
264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
265 | # is contrary to our usage. Disable this feature. | ||
266 | alias -g '${1+"$@"}'='"$@"' | ||
267 | setopt NO_GLOB_SUBST | ||
268 | else | ||
269 | case `(set -o) 2>/dev/null` in | ||
270 | *posix*) set -o posix ;; | ||
271 | esac | ||
272 | |||
273 | fi | ||
274 | |||
275 | |||
276 | : | ||
277 | _ASEOF | ||
278 | }; then | ||
279 | CONFIG_SHELL=$as_shell | ||
280 | as_have_required=yes | ||
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
283 | emulate sh | ||
284 | NULLCMD=: | ||
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
286 | # is contrary to our usage. Disable this feature. | ||
287 | alias -g '${1+"$@"}'='"$@"' | ||
288 | setopt NO_GLOB_SUBST | ||
289 | else | ||
290 | case `(set -o) 2>/dev/null` in | ||
291 | *posix*) set -o posix ;; | ||
292 | esac | ||
293 | |||
294 | fi | ||
295 | |||
296 | |||
297 | : | ||
298 | (as_func_return () { | ||
299 | (exit $1) | ||
300 | } | ||
301 | as_func_success () { | ||
302 | as_func_return 0 | ||
303 | } | ||
304 | as_func_failure () { | ||
305 | as_func_return 1 | ||
306 | } | ||
307 | as_func_ret_success () { | ||
308 | return 0 | ||
309 | } | ||
310 | as_func_ret_failure () { | ||
311 | return 1 | ||
312 | } | ||
313 | |||
314 | exitcode=0 | ||
315 | if as_func_success; then | ||
316 | : | ||
317 | else | ||
318 | exitcode=1 | ||
319 | echo as_func_success failed. | ||
320 | fi | ||
321 | |||
322 | if as_func_failure; then | ||
323 | exitcode=1 | ||
324 | echo as_func_failure succeeded. | ||
325 | fi | ||
326 | |||
327 | if as_func_ret_success; then | ||
328 | : | ||
329 | else | ||
330 | exitcode=1 | ||
331 | echo as_func_ret_success failed. | ||
332 | fi | ||
333 | |||
334 | if as_func_ret_failure; then | ||
335 | exitcode=1 | ||
336 | echo as_func_ret_failure succeeded. | ||
337 | fi | ||
338 | |||
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
340 | : | ||
341 | else | ||
342 | exitcode=1 | ||
343 | echo positional parameters were not saved. | ||
344 | fi | ||
345 | |||
346 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
347 | |||
348 | ( | ||
349 | as_lineno_1=$LINENO | ||
350 | as_lineno_2=$LINENO | ||
351 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | ||
353 | |||
354 | _ASEOF | ||
355 | }; then | ||
356 | break | ||
357 | fi | ||
358 | |||
359 | fi | ||
360 | |||
361 | done | ||
362 | |||
363 | if test "x$CONFIG_SHELL" != x; then | ||
364 | for as_var in BASH_ENV ENV | ||
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
366 | done | ||
367 | export CONFIG_SHELL | ||
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
369 | fi | ||
370 | |||
371 | |||
372 | if test $as_have_required = no; then | ||
373 | echo This script requires a shell more modern than all the | ||
374 | echo shells that I found on your system. Please install a | ||
375 | echo modern shell, or manually run the script under such a | ||
376 | echo shell if you do have one. | ||
377 | { (exit 1); exit 1; } | ||
378 | fi | ||
379 | |||
380 | |||
381 | fi | ||
382 | |||
383 | fi | ||
384 | |||
385 | |||
386 | |||
387 | (eval "as_func_return () { | ||
388 | (exit \$1) | ||
389 | } | ||
390 | as_func_success () { | ||
391 | as_func_return 0 | ||
392 | } | ||
393 | as_func_failure () { | ||
394 | as_func_return 1 | ||
395 | } | ||
396 | as_func_ret_success () { | ||
397 | return 0 | ||
398 | } | ||
399 | as_func_ret_failure () { | ||
400 | return 1 | ||
401 | } | ||
402 | |||
403 | exitcode=0 | ||
404 | if as_func_success; then | ||
405 | : | ||
406 | else | ||
407 | exitcode=1 | ||
408 | echo as_func_success failed. | ||
409 | fi | ||
410 | |||
411 | if as_func_failure; then | ||
412 | exitcode=1 | ||
413 | echo as_func_failure succeeded. | ||
414 | fi | ||
415 | |||
416 | if as_func_ret_success; then | ||
417 | : | ||
418 | else | ||
419 | exitcode=1 | ||
420 | echo as_func_ret_success failed. | ||
421 | fi | ||
422 | |||
423 | if as_func_ret_failure; then | ||
424 | exitcode=1 | ||
425 | echo as_func_ret_failure succeeded. | ||
426 | fi | ||
427 | |||
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
429 | : | ||
430 | else | ||
431 | exitcode=1 | ||
432 | echo positional parameters were not saved. | ||
433 | fi | ||
434 | |||
435 | test \$exitcode = 0") || { | ||
436 | echo No shell found that supports shell functions. | ||
437 | echo Please tell bug-autoconf@gnu.org about your system, | ||
438 | echo including any error possibly output before this message. | ||
439 | echo This can help us improve future autoconf versions. | ||
440 | echo Configuration will now proceed without shell functions. | ||
441 | } | ||
442 | |||
443 | |||
444 | |||
445 | as_lineno_1=$LINENO | ||
446 | as_lineno_2=$LINENO | ||
447 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
449 | |||
450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
451 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
452 | # line-number line after each line using $LINENO; the second 'sed' | ||
453 | # does the real work. The second script uses 'N' to pair each | ||
454 | # line-number line with the line containing $LINENO, and appends | ||
455 | # trailing '-' during substitution so that $LINENO is not a special | ||
456 | # case at line end. | ||
457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
458 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
459 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
460 | sed -n ' | ||
461 | p | ||
462 | /[$]LINENO/= | ||
463 | ' <$as_myself | | ||
464 | sed ' | ||
465 | s/[$]LINENO.*/&-/ | ||
466 | t lineno | ||
467 | b | ||
468 | :lineno | ||
469 | N | ||
470 | :loop | ||
471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
472 | t loop | ||
473 | s/-\n.*// | ||
474 | ' >$as_me.lineno && | ||
475 | chmod +x "$as_me.lineno" || | ||
476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
477 | { (exit 1); exit 1; }; } | ||
478 | |||
479 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
480 | # (the dirname of $[0] is not the place where we might find the | ||
481 | # original and so on. Autoconf is especially sensitive to this). | ||
482 | . "./$as_me.lineno" | ||
483 | # Exit status is that of the last command. | ||
484 | exit | ||
485 | } | ||
486 | |||
487 | |||
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
489 | as_dirname=dirname | ||
490 | else | ||
491 | as_dirname=false | ||
492 | fi | ||
493 | |||
494 | ECHO_C= ECHO_N= ECHO_T= | ||
495 | case `echo -n x` in | ||
496 | -n*) | ||
497 | case `echo 'x\c'` in | ||
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
499 | *) ECHO_C='\c';; | ||
500 | esac;; | ||
501 | *) | ||
502 | ECHO_N='-n';; | ||
503 | esac | ||
504 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
506 | as_expr=expr | ||
507 | else | ||
508 | as_expr=false | ||
509 | fi | ||
510 | |||
511 | rm -f conf$$ conf$$.exe conf$$.file | ||
512 | if test -d conf$$.dir; then | ||
513 | rm -f conf$$.dir/conf$$.file | ||
514 | else | ||
515 | rm -f conf$$.dir | ||
516 | mkdir conf$$.dir 2>/dev/null | ||
517 | fi | ||
518 | if (echo >conf$$.file) 2>/dev/null; then | ||
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
520 | as_ln_s='ln -s' | ||
521 | # ... but there are two gotchas: | ||
522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
524 | # In both cases, we have to default to `cp -p'. | ||
525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
526 | as_ln_s='cp -p' | ||
527 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
528 | as_ln_s=ln | ||
529 | else | ||
530 | as_ln_s='cp -p' | ||
531 | fi | ||
532 | else | ||
533 | as_ln_s='cp -p' | ||
534 | fi | ||
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
536 | rmdir conf$$.dir 2>/dev/null | ||
537 | |||
538 | if mkdir -p . 2>/dev/null; then | ||
539 | as_mkdir_p=: | ||
540 | else | ||
541 | test -d ./-p && rmdir ./-p | ||
542 | as_mkdir_p=false | ||
543 | fi | ||
544 | |||
545 | if test -x / >/dev/null 2>&1; then | ||
546 | as_test_x='test -x' | ||
547 | else | ||
548 | if ls -dL / >/dev/null 2>&1; then | ||
549 | as_ls_L_option=L | ||
550 | else | ||
551 | as_ls_L_option= | ||
552 | fi | ||
553 | as_test_x=' | ||
554 | eval sh -c '\'' | ||
555 | if test -d "$1"; then | ||
556 | test -d "$1/."; | ||
557 | else | ||
558 | case $1 in | ||
559 | -*)set "./$1";; | ||
560 | esac; | ||
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
562 | ???[sx]*):;;*)false;;esac;fi | ||
563 | '\'' sh | ||
564 | ' | ||
565 | fi | ||
566 | as_executable_p=$as_test_x | ||
567 | |||
568 | # Sed expression to map a string onto a valid CPP name. | ||
569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
570 | |||
571 | # Sed expression to map a string onto a valid variable name. | ||
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
573 | |||
574 | |||
575 | |||
576 | exec 7<&0 </dev/null 6>&1 | ||
577 | |||
578 | # Name of the host. | ||
579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
580 | # so uname gets run too. | ||
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
582 | |||
583 | # | ||
584 | # Initializations. | ||
585 | # | ||
586 | ac_default_prefix=/usr/local | ||
587 | ac_clean_files= | ||
588 | ac_config_libobj_dir=. | ||
589 | LIBOBJS= | ||
590 | cross_compiling=no | ||
591 | subdirs= | ||
592 | MFLAGS= | ||
593 | MAKEFLAGS= | ||
594 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
595 | |||
596 | # Identity of this package. | ||
597 | PACKAGE_NAME='Maze Of Life' | ||
598 | PACKAGE_TARNAME='maze-of-life' | ||
599 | PACKAGE_VERSION='2.0' | ||
600 | PACKAGE_STRING='Maze Of Life 2.0' | ||
601 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | ||
602 | |||
603 | ac_unique_file="src/mazeoflife.cpp" | ||
604 | # Factoring default headers for most tests. | ||
605 | ac_includes_default="\ | ||
606 | #include <stdio.h> | ||
607 | #ifdef HAVE_SYS_TYPES_H | ||
608 | # include <sys/types.h> | ||
609 | #endif | ||
610 | #ifdef HAVE_SYS_STAT_H | ||
611 | # include <sys/stat.h> | ||
612 | #endif | ||
613 | #ifdef STDC_HEADERS | ||
614 | # include <stdlib.h> | ||
615 | # include <stddef.h> | ||
616 | #else | ||
617 | # ifdef HAVE_STDLIB_H | ||
618 | # include <stdlib.h> | ||
619 | # endif | ||
620 | #endif | ||
621 | #ifdef HAVE_STRING_H | ||
622 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
623 | # include <memory.h> | ||
624 | # endif | ||
625 | # include <string.h> | ||
626 | #endif | ||
627 | #ifdef HAVE_STRINGS_H | ||
628 | # include <strings.h> | ||
629 | #endif | ||
630 | #ifdef HAVE_INTTYPES_H | ||
631 | # include <inttypes.h> | ||
632 | #endif | ||
633 | #ifdef HAVE_STDINT_H | ||
634 | # include <stdint.h> | ||
635 | #endif | ||
636 | #ifdef HAVE_UNISTD_H | ||
637 | # include <unistd.h> | ||
638 | #endif" | ||
639 | |||
640 | ac_subst_vars='LTLIBOBJS | ||
641 | LIBOBJS | ||
642 | EGREP | ||
643 | GREP | ||
644 | CPP | ||
645 | SDL_LIBS | ||
646 | SDL_CFLAGS | ||
647 | PKG_CONFIG | ||
648 | am__fastdepCC_FALSE | ||
649 | am__fastdepCC_TRUE | ||
650 | CCDEPMODE | ||
651 | ac_ct_CC | ||
652 | CFLAGS | ||
653 | CC | ||
654 | am__fastdepCXX_FALSE | ||
655 | am__fastdepCXX_TRUE | ||
656 | CXXDEPMODE | ||
657 | AMDEPBACKSLASH | ||
658 | AMDEP_FALSE | ||
659 | AMDEP_TRUE | ||
660 | am__quote | ||
661 | am__include | ||
662 | DEPDIR | ||
663 | OBJEXT | ||
664 | EXEEXT | ||
665 | ac_ct_CXX | ||
666 | CPPFLAGS | ||
667 | LDFLAGS | ||
668 | CXXFLAGS | ||
669 | CXX | ||
670 | am__untar | ||
671 | am__tar | ||
672 | AMTAR | ||
673 | am__leading_dot | ||
674 | SET_MAKE | ||
675 | AWK | ||
676 | mkdir_p | ||
677 | MKDIR_P | ||
678 | INSTALL_STRIP_PROGRAM | ||
679 | STRIP | ||
680 | install_sh | ||
681 | MAKEINFO | ||
682 | AUTOHEADER | ||
683 | AUTOMAKE | ||
684 | AUTOCONF | ||
685 | ACLOCAL | ||
686 | VERSION | ||
687 | PACKAGE | ||
688 | CYGPATH_W | ||
689 | am__isrc | ||
690 | INSTALL_DATA | ||
691 | INSTALL_SCRIPT | ||
692 | INSTALL_PROGRAM | ||
693 | target_alias | ||
694 | host_alias | ||
695 | build_alias | ||
696 | LIBS | ||
697 | ECHO_T | ||
698 | ECHO_N | ||
699 | ECHO_C | ||
700 | DEFS | ||
701 | mandir | ||
702 | localedir | ||
703 | libdir | ||
704 | psdir | ||
705 | pdfdir | ||
706 | dvidir | ||
707 | htmldir | ||
708 | infodir | ||
709 | docdir | ||
710 | oldincludedir | ||
711 | includedir | ||
712 | localstatedir | ||
713 | sharedstatedir | ||
714 | sysconfdir | ||
715 | datadir | ||
716 | datarootdir | ||
717 | libexecdir | ||
718 | sbindir | ||
719 | bindir | ||
720 | program_transform_name | ||
721 | prefix | ||
722 | exec_prefix | ||
723 | PACKAGE_BUGREPORT | ||
724 | PACKAGE_STRING | ||
725 | PACKAGE_VERSION | ||
726 | PACKAGE_TARNAME | ||
727 | PACKAGE_NAME | ||
728 | PATH_SEPARATOR | ||
729 | SHELL' | ||
730 | ac_subst_files='' | ||
731 | ac_user_opts=' | ||
732 | enable_option_checking | ||
733 | enable_dependency_tracking | ||
734 | ' | ||
735 | ac_precious_vars='build_alias | ||
736 | host_alias | ||
737 | target_alias | ||
738 | CXX | ||
739 | CXXFLAGS | ||
740 | LDFLAGS | ||
741 | LIBS | ||
742 | CPPFLAGS | ||
743 | CCC | ||
744 | CC | ||
745 | CFLAGS | ||
746 | PKG_CONFIG | ||
747 | SDL_CFLAGS | ||
748 | SDL_LIBS | ||
749 | CPP' | ||
750 | |||
751 | |||
752 | # Initialize some variables set by options. | ||
753 | ac_init_help= | ||
754 | ac_init_version=false | ||
755 | ac_unrecognized_opts= | ||
756 | ac_unrecognized_sep= | ||
757 | # The variables have the same names as the options, with | ||
758 | # dashes changed to underlines. | ||
759 | cache_file=/dev/null | ||
760 | exec_prefix=NONE | ||
761 | no_create= | ||
762 | no_recursion= | ||
763 | prefix=NONE | ||
764 | program_prefix=NONE | ||
765 | program_suffix=NONE | ||
766 | program_transform_name=s,x,x, | ||
767 | silent= | ||
768 | site= | ||
769 | srcdir= | ||
770 | verbose= | ||
771 | x_includes=NONE | ||
772 | x_libraries=NONE | ||
773 | |||
774 | # Installation directory options. | ||
775 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
776 | # and all the variables that are supposed to be based on exec_prefix | ||
777 | # by default will actually change. | ||
778 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
779 | # (The list follows the same order as the GNU Coding Standards.) | ||
780 | bindir='${exec_prefix}/bin' | ||
781 | sbindir='${exec_prefix}/sbin' | ||
782 | libexecdir='${exec_prefix}/libexec' | ||
783 | datarootdir='${prefix}/share' | ||
784 | datadir='${datarootdir}' | ||
785 | sysconfdir='${prefix}/etc' | ||
786 | sharedstatedir='${prefix}/com' | ||
787 | localstatedir='${prefix}/var' | ||
788 | includedir='${prefix}/include' | ||
789 | oldincludedir='/usr/include' | ||
790 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
791 | infodir='${datarootdir}/info' | ||
792 | htmldir='${docdir}' | ||
793 | dvidir='${docdir}' | ||
794 | pdfdir='${docdir}' | ||
795 | psdir='${docdir}' | ||
796 | libdir='${exec_prefix}/lib' | ||
797 | localedir='${datarootdir}/locale' | ||
798 | mandir='${datarootdir}/man' | ||
799 | |||
800 | ac_prev= | ||
801 | ac_dashdash= | ||
802 | for ac_option | ||
803 | do | ||
804 | # If the previous option needs an argument, assign it. | ||
805 | if test -n "$ac_prev"; then | ||
806 | eval $ac_prev=\$ac_option | ||
807 | ac_prev= | ||
808 | continue | ||
809 | fi | ||
810 | |||
811 | case $ac_option in | ||
812 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
813 | *) ac_optarg=yes ;; | ||
814 | esac | ||
815 | |||
816 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
817 | |||
818 | case $ac_dashdash$ac_option in | ||
819 | --) | ||
820 | ac_dashdash=yes ;; | ||
821 | |||
822 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
823 | ac_prev=bindir ;; | ||
824 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
825 | bindir=$ac_optarg ;; | ||
826 | |||
827 | -build | --build | --buil | --bui | --bu) | ||
828 | ac_prev=build_alias ;; | ||
829 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
830 | build_alias=$ac_optarg ;; | ||
831 | |||
832 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
833 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
834 | ac_prev=cache_file ;; | ||
835 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
836 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
837 | cache_file=$ac_optarg ;; | ||
838 | |||
839 | --config-cache | -C) | ||
840 | cache_file=config.cache ;; | ||
841 | |||
842 | -datadir | --datadir | --datadi | --datad) | ||
843 | ac_prev=datadir ;; | ||
844 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
845 | datadir=$ac_optarg ;; | ||
846 | |||
847 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
848 | | --dataroo | --dataro | --datar) | ||
849 | ac_prev=datarootdir ;; | ||
850 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
851 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
852 | datarootdir=$ac_optarg ;; | ||
853 | |||
854 | -disable-* | --disable-*) | ||
855 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
856 | # Reject names that are not valid shell variable names. | ||
857 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
858 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | ||
859 | { (exit 1); exit 1; }; } | ||
860 | ac_useropt_orig=$ac_useropt | ||
861 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
862 | case $ac_user_opts in | ||
863 | *" | ||
864 | "enable_$ac_useropt" | ||
865 | "*) ;; | ||
866 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
867 | ac_unrecognized_sep=', ';; | ||
868 | esac | ||
869 | eval enable_$ac_useropt=no ;; | ||
870 | |||
871 | -docdir | --docdir | --docdi | --doc | --do) | ||
872 | ac_prev=docdir ;; | ||
873 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
874 | docdir=$ac_optarg ;; | ||
875 | |||
876 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
877 | ac_prev=dvidir ;; | ||
878 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
879 | dvidir=$ac_optarg ;; | ||
880 | |||
881 | -enable-* | --enable-*) | ||
882 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
883 | # Reject names that are not valid shell variable names. | ||
884 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
885 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | ||
886 | { (exit 1); exit 1; }; } | ||
887 | ac_useropt_orig=$ac_useropt | ||
888 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
889 | case $ac_user_opts in | ||
890 | *" | ||
891 | "enable_$ac_useropt" | ||
892 | "*) ;; | ||
893 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
894 | ac_unrecognized_sep=', ';; | ||
895 | esac | ||
896 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
897 | |||
898 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
899 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
900 | | --exec | --exe | --ex) | ||
901 | ac_prev=exec_prefix ;; | ||
902 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
903 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
904 | | --exec=* | --exe=* | --ex=*) | ||
905 | exec_prefix=$ac_optarg ;; | ||
906 | |||
907 | -gas | --gas | --ga | --g) | ||
908 | # Obsolete; use --with-gas. | ||
909 | with_gas=yes ;; | ||
910 | |||
911 | -help | --help | --hel | --he | -h) | ||
912 | ac_init_help=long ;; | ||
913 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
914 | ac_init_help=recursive ;; | ||
915 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
916 | ac_init_help=short ;; | ||
917 | |||
918 | -host | --host | --hos | --ho) | ||
919 | ac_prev=host_alias ;; | ||
920 | -host=* | --host=* | --hos=* | --ho=*) | ||
921 | host_alias=$ac_optarg ;; | ||
922 | |||
923 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
924 | ac_prev=htmldir ;; | ||
925 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
926 | | --ht=*) | ||
927 | htmldir=$ac_optarg ;; | ||
928 | |||
929 | -includedir | --includedir | --includedi | --included | --include \ | ||
930 | | --includ | --inclu | --incl | --inc) | ||
931 | ac_prev=includedir ;; | ||
932 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
933 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
934 | includedir=$ac_optarg ;; | ||
935 | |||
936 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
937 | ac_prev=infodir ;; | ||
938 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
939 | infodir=$ac_optarg ;; | ||
940 | |||
941 | -libdir | --libdir | --libdi | --libd) | ||
942 | ac_prev=libdir ;; | ||
943 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
944 | libdir=$ac_optarg ;; | ||
945 | |||
946 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
947 | | --libexe | --libex | --libe) | ||
948 | ac_prev=libexecdir ;; | ||
949 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
950 | | --libexe=* | --libex=* | --libe=*) | ||
951 | libexecdir=$ac_optarg ;; | ||
952 | |||
953 | -localedir | --localedir | --localedi | --localed | --locale) | ||
954 | ac_prev=localedir ;; | ||
955 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
956 | localedir=$ac_optarg ;; | ||
957 | |||
958 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
959 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
960 | ac_prev=localstatedir ;; | ||
961 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
962 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
963 | localstatedir=$ac_optarg ;; | ||
964 | |||
965 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
966 | ac_prev=mandir ;; | ||
967 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
968 | mandir=$ac_optarg ;; | ||
969 | |||
970 | -nfp | --nfp | --nf) | ||
971 | # Obsolete; use --without-fp. | ||
972 | with_fp=no ;; | ||
973 | |||
974 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
975 | | --no-cr | --no-c | -n) | ||
976 | no_create=yes ;; | ||
977 | |||
978 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
979 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
980 | no_recursion=yes ;; | ||
981 | |||
982 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
983 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
984 | | --oldin | --oldi | --old | --ol | --o) | ||
985 | ac_prev=oldincludedir ;; | ||
986 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
987 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
988 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
989 | oldincludedir=$ac_optarg ;; | ||
990 | |||
991 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
992 | ac_prev=prefix ;; | ||
993 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
994 | prefix=$ac_optarg ;; | ||
995 | |||
996 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
997 | | --program-pre | --program-pr | --program-p) | ||
998 | ac_prev=program_prefix ;; | ||
999 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
1000 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
1001 | program_prefix=$ac_optarg ;; | ||
1002 | |||
1003 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
1004 | | --program-suf | --program-su | --program-s) | ||
1005 | ac_prev=program_suffix ;; | ||
1006 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
1007 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
1008 | program_suffix=$ac_optarg ;; | ||
1009 | |||
1010 | -program-transform-name | --program-transform-name \ | ||
1011 | | --program-transform-nam | --program-transform-na \ | ||
1012 | | --program-transform-n | --program-transform- \ | ||
1013 | | --program-transform | --program-transfor \ | ||
1014 | | --program-transfo | --program-transf \ | ||
1015 | | --program-trans | --program-tran \ | ||
1016 | | --progr-tra | --program-tr | --program-t) | ||
1017 | ac_prev=program_transform_name ;; | ||
1018 | -program-transform-name=* | --program-transform-name=* \ | ||
1019 | | --program-transform-nam=* | --program-transform-na=* \ | ||
1020 | | --program-transform-n=* | --program-transform-=* \ | ||
1021 | | --program-transform=* | --program-transfor=* \ | ||
1022 | | --program-transfo=* | --program-transf=* \ | ||
1023 | | --program-trans=* | --program-tran=* \ | ||
1024 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
1025 | program_transform_name=$ac_optarg ;; | ||
1026 | |||
1027 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
1028 | ac_prev=pdfdir ;; | ||
1029 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
1030 | pdfdir=$ac_optarg ;; | ||
1031 | |||
1032 | -psdir | --psdir | --psdi | --psd | --ps) | ||
1033 | ac_prev=psdir ;; | ||
1034 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
1035 | psdir=$ac_optarg ;; | ||
1036 | |||
1037 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1038 | | -silent | --silent | --silen | --sile | --sil) | ||
1039 | silent=yes ;; | ||
1040 | |||
1041 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
1042 | ac_prev=sbindir ;; | ||
1043 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
1044 | | --sbi=* | --sb=*) | ||
1045 | sbindir=$ac_optarg ;; | ||
1046 | |||
1047 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
1048 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
1049 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
1050 | | --sha | --sh) | ||
1051 | ac_prev=sharedstatedir ;; | ||
1052 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
1053 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
1054 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
1055 | | --sha=* | --sh=*) | ||
1056 | sharedstatedir=$ac_optarg ;; | ||
1057 | |||
1058 | -site | --site | --sit) | ||
1059 | ac_prev=site ;; | ||
1060 | -site=* | --site=* | --sit=*) | ||
1061 | site=$ac_optarg ;; | ||
1062 | |||
1063 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
1064 | ac_prev=srcdir ;; | ||
1065 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
1066 | srcdir=$ac_optarg ;; | ||
1067 | |||
1068 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
1069 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
1070 | ac_prev=sysconfdir ;; | ||
1071 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
1072 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
1073 | sysconfdir=$ac_optarg ;; | ||
1074 | |||
1075 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
1076 | ac_prev=target_alias ;; | ||
1077 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
1078 | target_alias=$ac_optarg ;; | ||
1079 | |||
1080 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
1081 | verbose=yes ;; | ||
1082 | |||
1083 | -version | --version | --versio | --versi | --vers | -V) | ||
1084 | ac_init_version=: ;; | ||
1085 | |||
1086 | -with-* | --with-*) | ||
1087 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
1088 | # Reject names that are not valid shell variable names. | ||
1089 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1090 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | ||
1091 | { (exit 1); exit 1; }; } | ||
1092 | ac_useropt_orig=$ac_useropt | ||
1093 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1094 | case $ac_user_opts in | ||
1095 | *" | ||
1096 | "with_$ac_useropt" | ||
1097 | "*) ;; | ||
1098 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
1099 | ac_unrecognized_sep=', ';; | ||
1100 | esac | ||
1101 | eval with_$ac_useropt=\$ac_optarg ;; | ||
1102 | |||
1103 | -without-* | --without-*) | ||
1104 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
1105 | # Reject names that are not valid shell variable names. | ||
1106 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1107 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | ||
1108 | { (exit 1); exit 1; }; } | ||
1109 | ac_useropt_orig=$ac_useropt | ||
1110 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1111 | case $ac_user_opts in | ||
1112 | *" | ||
1113 | "with_$ac_useropt" | ||
1114 | "*) ;; | ||
1115 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
1116 | ac_unrecognized_sep=', ';; | ||
1117 | esac | ||
1118 | eval with_$ac_useropt=no ;; | ||
1119 | |||
1120 | --x) | ||
1121 | # Obsolete; use --with-x. | ||
1122 | with_x=yes ;; | ||
1123 | |||
1124 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
1125 | | --x-incl | --x-inc | --x-in | --x-i) | ||
1126 | ac_prev=x_includes ;; | ||
1127 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
1128 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
1129 | x_includes=$ac_optarg ;; | ||
1130 | |||
1131 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
1132 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
1133 | ac_prev=x_libraries ;; | ||
1134 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
1135 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
1136 | x_libraries=$ac_optarg ;; | ||
1137 | |||
1138 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | ||
1139 | Try \`$0 --help' for more information." >&2 | ||
1140 | { (exit 1); exit 1; }; } | ||
1141 | ;; | ||
1142 | |||
1143 | *=*) | ||
1144 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
1145 | # Reject names that are not valid shell variable names. | ||
1146 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
1147 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
1148 | { (exit 1); exit 1; }; } | ||
1149 | eval $ac_envvar=\$ac_optarg | ||
1150 | export $ac_envvar ;; | ||
1151 | |||
1152 | *) | ||
1153 | # FIXME: should be removed in autoconf 3.0. | ||
1154 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
1155 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
1156 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
1157 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
1158 | ;; | ||
1159 | |||
1160 | esac | ||
1161 | done | ||
1162 | |||
1163 | if test -n "$ac_prev"; then | ||
1164 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
1165 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | ||
1166 | { (exit 1); exit 1; }; } | ||
1167 | fi | ||
1168 | |||
1169 | if test -n "$ac_unrecognized_opts"; then | ||
1170 | case $enable_option_checking in | ||
1171 | no) ;; | ||
1172 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | ||
1173 | { (exit 1); exit 1; }; } ;; | ||
1174 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1175 | esac | ||
1176 | fi | ||
1177 | |||
1178 | # Check all directory arguments for consistency. | ||
1179 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
1180 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
1181 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
1182 | libdir localedir mandir | ||
1183 | do | ||
1184 | eval ac_val=\$$ac_var | ||
1185 | # Remove trailing slashes. | ||
1186 | case $ac_val in | ||
1187 | */ ) | ||
1188 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
1189 | eval $ac_var=\$ac_val;; | ||
1190 | esac | ||
1191 | # Be sure to have absolute directory names. | ||
1192 | case $ac_val in | ||
1193 | [\\/$]* | ?:[\\/]* ) continue;; | ||
1194 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
1195 | esac | ||
1196 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
1197 | { (exit 1); exit 1; }; } | ||
1198 | done | ||
1199 | |||
1200 | # There might be people who depend on the old broken behavior: `$host' | ||
1201 | # used to hold the argument of --host etc. | ||
1202 | # FIXME: To remove some day. | ||
1203 | build=$build_alias | ||
1204 | host=$host_alias | ||
1205 | target=$target_alias | ||
1206 | |||
1207 | # FIXME: To remove some day. | ||
1208 | if test "x$host_alias" != x; then | ||
1209 | if test "x$build_alias" = x; then | ||
1210 | cross_compiling=maybe | ||
1211 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
1212 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
1213 | elif test "x$build_alias" != "x$host_alias"; then | ||
1214 | cross_compiling=yes | ||
1215 | fi | ||
1216 | fi | ||
1217 | |||
1218 | ac_tool_prefix= | ||
1219 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1220 | |||
1221 | test "$silent" = yes && exec 6>/dev/null | ||
1222 | |||
1223 | |||
1224 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1225 | ac_ls_di=`ls -di .` && | ||
1226 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1227 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 | ||
1228 | { (exit 1); exit 1; }; } | ||
1229 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1230 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
1231 | { (exit 1); exit 1; }; } | ||
1232 | |||
1233 | |||
1234 | # Find the source files, if location was not specified. | ||
1235 | if test -z "$srcdir"; then | ||
1236 | ac_srcdir_defaulted=yes | ||
1237 | # Try the directory containing this script, then the parent directory. | ||
1238 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
1239 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
1240 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
1241 | X"$as_myself" : 'X\(//\)$' \| \ | ||
1242 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
1243 | $as_echo X"$as_myself" | | ||
1244 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
1245 | s//\1/ | ||
1246 | q | ||
1247 | } | ||
1248 | /^X\(\/\/\)[^/].*/{ | ||
1249 | s//\1/ | ||
1250 | q | ||
1251 | } | ||
1252 | /^X\(\/\/\)$/{ | ||
1253 | s//\1/ | ||
1254 | q | ||
1255 | } | ||
1256 | /^X\(\/\).*/{ | ||
1257 | s//\1/ | ||
1258 | q | ||
1259 | } | ||
1260 | s/.*/./; q'` | ||
1261 | srcdir=$ac_confdir | ||
1262 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1263 | srcdir=.. | ||
1264 | fi | ||
1265 | else | ||
1266 | ac_srcdir_defaulted=no | ||
1267 | fi | ||
1268 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1269 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
1270 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
1271 | { (exit 1); exit 1; }; } | ||
1272 | fi | ||
1273 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1274 | ac_abs_confdir=`( | ||
1275 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | ||
1276 | { (exit 1); exit 1; }; } | ||
1277 | pwd)` | ||
1278 | # When building in place, set srcdir=. | ||
1279 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1280 | srcdir=. | ||
1281 | fi | ||
1282 | # Remove unnecessary trailing slashes from srcdir. | ||
1283 | # Double slashes in file names in object file debugging info | ||
1284 | # mess up M-x gdb in Emacs. | ||
1285 | case $srcdir in | ||
1286 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1287 | esac | ||
1288 | for ac_var in $ac_precious_vars; do | ||
1289 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
1290 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
1291 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
1292 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
1293 | done | ||
1294 | |||
1295 | # | ||
1296 | # Report the --help message. | ||
1297 | # | ||
1298 | if test "$ac_init_help" = "long"; then | ||
1299 | # Omit some internal or obsolete options to make the list less imposing. | ||
1300 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
1301 | cat <<_ACEOF | ||
1302 | \`configure' configures Maze Of Life 2.0 to adapt to many kinds of systems. | ||
1303 | |||
1304 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1305 | |||
1306 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1307 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1308 | |||
1309 | Defaults for the options are specified in brackets. | ||
1310 | |||
1311 | Configuration: | ||
1312 | -h, --help display this help and exit | ||
1313 | --help=short display options specific to this package | ||
1314 | --help=recursive display the short help of all the included packages | ||
1315 | -V, --version display version information and exit | ||
1316 | -q, --quiet, --silent do not print \`checking...' messages | ||
1317 | --cache-file=FILE cache test results in FILE [disabled] | ||
1318 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
1319 | -n, --no-create do not create output files | ||
1320 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
1321 | |||
1322 | Installation directories: | ||
1323 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
1324 | [$ac_default_prefix] | ||
1325 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
1326 | [PREFIX] | ||
1327 | |||
1328 | By default, \`make install' will install all the files in | ||
1329 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1330 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1331 | for instance \`--prefix=\$HOME'. | ||
1332 | |||
1333 | For better control, use the options below. | ||
1334 | |||
1335 | Fine tuning of the installation directories: | ||
1336 | --bindir=DIR user executables [EPREFIX/bin] | ||
1337 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
1338 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
1339 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
1340 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
1341 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
1342 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
1343 | --includedir=DIR C header files [PREFIX/include] | ||
1344 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
1345 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
1346 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
1347 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
1348 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
1349 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
1350 | --docdir=DIR documentation root [DATAROOTDIR/doc/maze-of-life] | ||
1351 | --htmldir=DIR html documentation [DOCDIR] | ||
1352 | --dvidir=DIR dvi documentation [DOCDIR] | ||
1353 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
1354 | --psdir=DIR ps documentation [DOCDIR] | ||
1355 | _ACEOF | ||
1356 | |||
1357 | cat <<\_ACEOF | ||
1358 | |||
1359 | Program names: | ||
1360 | --program-prefix=PREFIX prepend PREFIX to installed program names | ||
1361 | --program-suffix=SUFFIX append SUFFIX to installed program names | ||
1362 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | ||
1363 | _ACEOF | ||
1364 | fi | ||
1365 | |||
1366 | if test -n "$ac_init_help"; then | ||
1367 | case $ac_init_help in | ||
1368 | short | recursive ) echo "Configuration of Maze Of Life 2.0:";; | ||
1369 | esac | ||
1370 | cat <<\_ACEOF | ||
1371 | |||
1372 | Optional Features: | ||
1373 | --disable-option-checking ignore unrecognized --enable/--with options | ||
1374 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
1375 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
1376 | --disable-dependency-tracking speeds up one-time build | ||
1377 | --enable-dependency-tracking do not reject slow dependency extractors | ||
1378 | |||
1379 | Some influential environment variables: | ||
1380 | CXX C++ compiler command | ||
1381 | CXXFLAGS C++ compiler flags | ||
1382 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
1383 | nonstandard directory <lib dir> | ||
1384 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
1385 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | ||
1386 | you have headers in a nonstandard directory <include dir> | ||
1387 | CC C compiler command | ||
1388 | CFLAGS C compiler flags | ||
1389 | PKG_CONFIG path to pkg-config utility | ||
1390 | SDL_CFLAGS C compiler flags for SDL, overriding pkg-config | ||
1391 | SDL_LIBS linker flags for SDL, overriding pkg-config | ||
1392 | CPP C preprocessor | ||
1393 | |||
1394 | Use these variables to override the choices made by `configure' or to help | ||
1395 | it to find libraries and programs with nonstandard names/locations. | ||
1396 | |||
1397 | Report bugs to <BUG-REPORT-ADDRESS>. | ||
1398 | _ACEOF | ||
1399 | ac_status=$? | ||
1400 | fi | ||
1401 | |||
1402 | if test "$ac_init_help" = "recursive"; then | ||
1403 | # If there are subdirs, report their specific --help. | ||
1404 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
1405 | test -d "$ac_dir" || | ||
1406 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
1407 | continue | ||
1408 | ac_builddir=. | ||
1409 | |||
1410 | case "$ac_dir" in | ||
1411 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1412 | *) | ||
1413 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
1414 | # A ".." for each directory in $ac_dir_suffix. | ||
1415 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
1416 | case $ac_top_builddir_sub in | ||
1417 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1418 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
1419 | esac ;; | ||
1420 | esac | ||
1421 | ac_abs_top_builddir=$ac_pwd | ||
1422 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1423 | # for backward compatibility: | ||
1424 | ac_top_builddir=$ac_top_build_prefix | ||
1425 | |||
1426 | case $srcdir in | ||
1427 | .) # We are building in place. | ||
1428 | ac_srcdir=. | ||
1429 | ac_top_srcdir=$ac_top_builddir_sub | ||
1430 | ac_abs_top_srcdir=$ac_pwd ;; | ||
1431 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
1432 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
1433 | ac_top_srcdir=$srcdir | ||
1434 | ac_abs_top_srcdir=$srcdir ;; | ||
1435 | *) # Relative name. | ||
1436 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
1437 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
1438 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
1439 | esac | ||
1440 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
1441 | |||
1442 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
1443 | # Check for guested configure. | ||
1444 | if test -f "$ac_srcdir/configure.gnu"; then | ||
1445 | echo && | ||
1446 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
1447 | elif test -f "$ac_srcdir/configure"; then | ||
1448 | echo && | ||
1449 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
1450 | else | ||
1451 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
1452 | fi || ac_status=$? | ||
1453 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
1454 | done | ||
1455 | fi | ||
1456 | |||
1457 | test -n "$ac_init_help" && exit $ac_status | ||
1458 | if $ac_init_version; then | ||
1459 | cat <<\_ACEOF | ||
1460 | Maze Of Life configure 2.0 | ||
1461 | generated by GNU Autoconf 2.63 | ||
1462 | |||
1463 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
1464 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
1465 | This configure script is free software; the Free Software Foundation | ||
1466 | gives unlimited permission to copy, distribute and modify it. | ||
1467 | _ACEOF | ||
1468 | exit | ||
1469 | fi | ||
1470 | cat >config.log <<_ACEOF | ||
1471 | This file contains any messages produced by compilers while | ||
1472 | running configure, to aid debugging if configure makes a mistake. | ||
1473 | |||
1474 | It was created by Maze Of Life $as_me 2.0, which was | ||
1475 | generated by GNU Autoconf 2.63. Invocation command line was | ||
1476 | |||
1477 | $ $0 $@ | ||
1478 | |||
1479 | _ACEOF | ||
1480 | exec 5>>config.log | ||
1481 | { | ||
1482 | cat <<_ASUNAME | ||
1483 | ## --------- ## | ||
1484 | ## Platform. ## | ||
1485 | ## --------- ## | ||
1486 | |||
1487 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1488 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1489 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1490 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1491 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1492 | |||
1493 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1494 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1495 | |||
1496 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1497 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1498 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1499 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
1500 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1501 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1502 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1503 | |||
1504 | _ASUNAME | ||
1505 | |||
1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1507 | for as_dir in $PATH | ||
1508 | do | ||
1509 | IFS=$as_save_IFS | ||
1510 | test -z "$as_dir" && as_dir=. | ||
1511 | $as_echo "PATH: $as_dir" | ||
1512 | done | ||
1513 | IFS=$as_save_IFS | ||
1514 | |||
1515 | } >&5 | ||
1516 | |||
1517 | cat >&5 <<_ACEOF | ||
1518 | |||
1519 | |||
1520 | ## ----------- ## | ||
1521 | ## Core tests. ## | ||
1522 | ## ----------- ## | ||
1523 | |||
1524 | _ACEOF | ||
1525 | |||
1526 | |||
1527 | # Keep a trace of the command line. | ||
1528 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
1529 | # Strip out --silent because we don't want to record it for future runs. | ||
1530 | # Also quote any args containing shell meta-characters. | ||
1531 | # Make two passes to allow for proper duplicate-argument suppression. | ||
1532 | ac_configure_args= | ||
1533 | ac_configure_args0= | ||
1534 | ac_configure_args1= | ||
1535 | ac_must_keep_next=false | ||
1536 | for ac_pass in 1 2 | ||
1537 | do | ||
1538 | for ac_arg | ||
1539 | do | ||
1540 | case $ac_arg in | ||
1541 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1542 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1543 | | -silent | --silent | --silen | --sile | --sil) | ||
1544 | continue ;; | ||
1545 | *\'*) | ||
1546 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1547 | esac | ||
1548 | case $ac_pass in | ||
1549 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1550 | 2) | ||
1551 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1552 | if test $ac_must_keep_next = true; then | ||
1553 | ac_must_keep_next=false # Got value, back to normal. | ||
1554 | else | ||
1555 | case $ac_arg in | ||
1556 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1557 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1558 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1559 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
1560 | case "$ac_configure_args0 " in | ||
1561 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1562 | esac | ||
1563 | ;; | ||
1564 | -* ) ac_must_keep_next=true ;; | ||
1565 | esac | ||
1566 | fi | ||
1567 | ac_configure_args="$ac_configure_args '$ac_arg'" | ||
1568 | ;; | ||
1569 | esac | ||
1570 | done | ||
1571 | done | ||
1572 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1573 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1574 | |||
1575 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
1576 | # config.log. We remove comments because anyway the quotes in there | ||
1577 | # would cause problems or look ugly. | ||
1578 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
1579 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
1580 | trap 'exit_status=$? | ||
1581 | # Save into config.log some information that might help in debugging. | ||
1582 | { | ||
1583 | echo | ||
1584 | |||
1585 | cat <<\_ASBOX | ||
1586 | ## ---------------- ## | ||
1587 | ## Cache variables. ## | ||
1588 | ## ---------------- ## | ||
1589 | _ASBOX | ||
1590 | echo | ||
1591 | # The following way of writing the cache mishandles newlines in values, | ||
1592 | ( | ||
1593 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
1594 | eval ac_val=\$$ac_var | ||
1595 | case $ac_val in #( | ||
1596 | *${as_nl}*) | ||
1597 | case $ac_var in #( | ||
1598 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | ||
1599 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
1600 | esac | ||
1601 | case $ac_var in #( | ||
1602 | _ | IFS | as_nl) ;; #( | ||
1603 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
1604 | *) $as_unset $ac_var ;; | ||
1605 | esac ;; | ||
1606 | esac | ||
1607 | done | ||
1608 | (set) 2>&1 | | ||
1609 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
1610 | *${as_nl}ac_space=\ *) | ||
1611 | sed -n \ | ||
1612 | "s/'\''/'\''\\\\'\'''\''/g; | ||
1613 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
1614 | ;; #( | ||
1615 | *) | ||
1616 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
1617 | ;; | ||
1618 | esac | | ||
1619 | sort | ||
1620 | ) | ||
1621 | echo | ||
1622 | |||
1623 | cat <<\_ASBOX | ||
1624 | ## ----------------- ## | ||
1625 | ## Output variables. ## | ||
1626 | ## ----------------- ## | ||
1627 | _ASBOX | ||
1628 | echo | ||
1629 | for ac_var in $ac_subst_vars | ||
1630 | do | ||
1631 | eval ac_val=\$$ac_var | ||
1632 | case $ac_val in | ||
1633 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1634 | esac | ||
1635 | $as_echo "$ac_var='\''$ac_val'\''" | ||
1636 | done | sort | ||
1637 | echo | ||
1638 | |||
1639 | if test -n "$ac_subst_files"; then | ||
1640 | cat <<\_ASBOX | ||
1641 | ## ------------------- ## | ||
1642 | ## File substitutions. ## | ||
1643 | ## ------------------- ## | ||
1644 | _ASBOX | ||
1645 | echo | ||
1646 | for ac_var in $ac_subst_files | ||
1647 | do | ||
1648 | eval ac_val=\$$ac_var | ||
1649 | case $ac_val in | ||
1650 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1651 | esac | ||
1652 | $as_echo "$ac_var='\''$ac_val'\''" | ||
1653 | done | sort | ||
1654 | echo | ||
1655 | fi | ||
1656 | |||
1657 | if test -s confdefs.h; then | ||
1658 | cat <<\_ASBOX | ||
1659 | ## ----------- ## | ||
1660 | ## confdefs.h. ## | ||
1661 | ## ----------- ## | ||
1662 | _ASBOX | ||
1663 | echo | ||
1664 | cat confdefs.h | ||
1665 | echo | ||
1666 | fi | ||
1667 | test "$ac_signal" != 0 && | ||
1668 | $as_echo "$as_me: caught signal $ac_signal" | ||
1669 | $as_echo "$as_me: exit $exit_status" | ||
1670 | } >&5 | ||
1671 | rm -f core *.core core.conftest.* && | ||
1672 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
1673 | exit $exit_status | ||
1674 | ' 0 | ||
1675 | for ac_signal in 1 2 13 15; do | ||
1676 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1677 | done | ||
1678 | ac_signal=0 | ||
1679 | |||
1680 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1681 | rm -f -r conftest* confdefs.h | ||
1682 | |||
1683 | # Predefined preprocessor variables. | ||
1684 | |||
1685 | cat >>confdefs.h <<_ACEOF | ||
1686 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
1687 | _ACEOF | ||
1688 | |||
1689 | |||
1690 | cat >>confdefs.h <<_ACEOF | ||
1691 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1692 | _ACEOF | ||
1693 | |||
1694 | |||
1695 | cat >>confdefs.h <<_ACEOF | ||
1696 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1697 | _ACEOF | ||
1698 | |||
1699 | |||
1700 | cat >>confdefs.h <<_ACEOF | ||
1701 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
1702 | _ACEOF | ||
1703 | |||
1704 | |||
1705 | cat >>confdefs.h <<_ACEOF | ||
1706 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1707 | _ACEOF | ||
1708 | |||
1709 | |||
1710 | # Let the site file select an alternate cache file if it wants to. | ||
1711 | # Prefer an explicitly selected file to automatically selected ones. | ||
1712 | ac_site_file1=NONE | ||
1713 | ac_site_file2=NONE | ||
1714 | if test -n "$CONFIG_SITE"; then | ||
1715 | ac_site_file1=$CONFIG_SITE | ||
1716 | elif test "x$prefix" != xNONE; then | ||
1717 | ac_site_file1=$prefix/share/config.site | ||
1718 | ac_site_file2=$prefix/etc/config.site | ||
1719 | else | ||
1720 | ac_site_file1=$ac_default_prefix/share/config.site | ||
1721 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
1722 | fi | ||
1723 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1724 | do | ||
1725 | test "x$ac_site_file" = xNONE && continue | ||
1726 | if test -r "$ac_site_file"; then | ||
1727 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1728 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1729 | sed 's/^/| /' "$ac_site_file" >&5 | ||
1730 | . "$ac_site_file" | ||
1731 | fi | ||
1732 | done | ||
1733 | |||
1734 | if test -r "$cache_file"; then | ||
1735 | # Some versions of bash will fail to source /dev/null (special | ||
1736 | # files actually), so we avoid doing that. | ||
1737 | if test -f "$cache_file"; then | ||
1738 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1739 | $as_echo "$as_me: loading cache $cache_file" >&6;} | ||
1740 | case $cache_file in | ||
1741 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
1742 | *) . "./$cache_file";; | ||
1743 | esac | ||
1744 | fi | ||
1745 | else | ||
1746 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1747 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
1748 | >$cache_file | ||
1749 | fi | ||
1750 | |||
1751 | # Check that the precious variables saved in the cache have kept the same | ||
1752 | # value. | ||
1753 | ac_cache_corrupted=false | ||
1754 | for ac_var in $ac_precious_vars; do | ||
1755 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1756 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
1757 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
1758 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
1759 | case $ac_old_set,$ac_new_set in | ||
1760 | set,) | ||
1761 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1762 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1763 | ac_cache_corrupted=: ;; | ||
1764 | ,set) | ||
1765 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1766 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1767 | ac_cache_corrupted=: ;; | ||
1768 | ,);; | ||
1769 | *) | ||
1770 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1771 | # differences in whitespace do not lead to failure. | ||
1772 | ac_old_val_w=`echo x $ac_old_val` | ||
1773 | ac_new_val_w=`echo x $ac_new_val` | ||
1774 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
1775 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1776 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1777 | ac_cache_corrupted=: | ||
1778 | else | ||
1779 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
1780 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
1781 | eval $ac_var=\$ac_old_val | ||
1782 | fi | ||
1783 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | ||
1784 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
1785 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | ||
1786 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
1787 | fi;; | ||
1788 | esac | ||
1789 | # Pass precious variables to config.status. | ||
1790 | if test "$ac_new_set" = set; then | ||
1791 | case $ac_new_val in | ||
1792 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1793 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
1794 | esac | ||
1795 | case " $ac_configure_args " in | ||
1796 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1797 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1798 | esac | ||
1799 | fi | ||
1800 | done | ||
1801 | if $ac_cache_corrupted; then | ||
1802 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
1803 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
1804 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1805 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1806 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1807 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1808 | { (exit 1); exit 1; }; } | ||
1809 | fi | ||
1810 | |||
1811 | |||
1812 | |||
1813 | |||
1814 | |||
1815 | |||
1816 | |||
1817 | |||
1818 | |||
1819 | |||
1820 | |||
1821 | |||
1822 | |||
1823 | |||
1824 | |||
1825 | |||
1826 | |||
1827 | |||
1828 | |||
1829 | |||
1830 | |||
1831 | |||
1832 | |||
1833 | |||
1834 | |||
1835 | ac_ext=c | ||
1836 | ac_cpp='$CPP $CPPFLAGS' | ||
1837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1840 | |||
1841 | |||
1842 | am__api_version='1.10' | ||
1843 | |||
1844 | ac_aux_dir= | ||
1845 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
1846 | if test -f "$ac_dir/install-sh"; then | ||
1847 | ac_aux_dir=$ac_dir | ||
1848 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
1849 | break | ||
1850 | elif test -f "$ac_dir/install.sh"; then | ||
1851 | ac_aux_dir=$ac_dir | ||
1852 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
1853 | break | ||
1854 | elif test -f "$ac_dir/shtool"; then | ||
1855 | ac_aux_dir=$ac_dir | ||
1856 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
1857 | break | ||
1858 | fi | ||
1859 | done | ||
1860 | if test -z "$ac_aux_dir"; then | ||
1861 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | ||
1862 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
1863 | { (exit 1); exit 1; }; } | ||
1864 | fi | ||
1865 | |||
1866 | # These three variables are undocumented and unsupported, | ||
1867 | # and are intended to be withdrawn in a future Autoconf release. | ||
1868 | # They can cause serious problems if a builder's source tree is in a directory | ||
1869 | # whose full name contains unusual characters. | ||
1870 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
1871 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
1872 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
1873 | |||
1874 | |||
1875 | # Find a good install program. We prefer a C program (faster), | ||
1876 | # so one script is as good as another. But avoid the broken or | ||
1877 | # incompatible versions: | ||
1878 | # SysV /etc/install, /usr/sbin/install | ||
1879 | # SunOS /usr/etc/install | ||
1880 | # IRIX /sbin/install | ||
1881 | # AIX /bin/install | ||
1882 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
1883 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
1884 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
1885 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
1886 | # OS/2's system install, which has a completely different semantic | ||
1887 | # ./install, which can be erroneously created by make from ./install.sh. | ||
1888 | # Reject install programs that cannot install multiple files. | ||
1889 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
1890 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
1891 | if test -z "$INSTALL"; then | ||
1892 | if test "${ac_cv_path_install+set}" = set; then | ||
1893 | $as_echo_n "(cached) " >&6 | ||
1894 | else | ||
1895 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1896 | for as_dir in $PATH | ||
1897 | do | ||
1898 | IFS=$as_save_IFS | ||
1899 | test -z "$as_dir" && as_dir=. | ||
1900 | # Account for people who put trailing slashes in PATH elements. | ||
1901 | case $as_dir/ in | ||
1902 | ./ | .// | /cC/* | \ | ||
1903 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
1904 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
1905 | /usr/ucb/* ) ;; | ||
1906 | *) | ||
1907 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
1908 | # Don't use installbsd from OSF since it installs stuff as root | ||
1909 | # by default. | ||
1910 | for ac_prog in ginstall scoinst install; do | ||
1911 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1912 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | ||
1913 | if test $ac_prog = install && | ||
1914 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
1915 | # AIX install. It has an incompatible calling convention. | ||
1916 | : | ||
1917 | elif test $ac_prog = install && | ||
1918 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
1919 | # program-specific install script used by HP pwplus--don't use. | ||
1920 | : | ||
1921 | else | ||
1922 | rm -rf conftest.one conftest.two conftest.dir | ||
1923 | echo one > conftest.one | ||
1924 | echo two > conftest.two | ||
1925 | mkdir conftest.dir | ||
1926 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
1927 | test -s conftest.one && test -s conftest.two && | ||
1928 | test -s conftest.dir/conftest.one && | ||
1929 | test -s conftest.dir/conftest.two | ||
1930 | then | ||
1931 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
1932 | break 3 | ||
1933 | fi | ||
1934 | fi | ||
1935 | fi | ||
1936 | done | ||
1937 | done | ||
1938 | ;; | ||
1939 | esac | ||
1940 | |||
1941 | done | ||
1942 | IFS=$as_save_IFS | ||
1943 | |||
1944 | rm -rf conftest.one conftest.two conftest.dir | ||
1945 | |||
1946 | fi | ||
1947 | if test "${ac_cv_path_install+set}" = set; then | ||
1948 | INSTALL=$ac_cv_path_install | ||
1949 | else | ||
1950 | # As a last resort, use the slow shell script. Don't cache a | ||
1951 | # value for INSTALL within a source directory, because that will | ||
1952 | # break other packages using the cache if that directory is | ||
1953 | # removed, or if the value is a relative name. | ||
1954 | INSTALL=$ac_install_sh | ||
1955 | fi | ||
1956 | fi | ||
1957 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
1958 | $as_echo "$INSTALL" >&6; } | ||
1959 | |||
1960 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
1961 | # It thinks the first close brace ends the variable substitution. | ||
1962 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
1963 | |||
1964 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
1965 | |||
1966 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
1967 | |||
1968 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | ||
1969 | $as_echo_n "checking whether build environment is sane... " >&6; } | ||
1970 | # Just in case | ||
1971 | sleep 1 | ||
1972 | echo timestamp > conftest.file | ||
1973 | # Do `set' in a subshell so we don't clobber the current shell's | ||
1974 | # arguments. Must try -L first in case configure is actually a | ||
1975 | # symlink; some systems play weird games with the mod time of symlinks | ||
1976 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
1977 | # directory). | ||
1978 | if ( | ||
1979 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | ||
1980 | if test "$*" = "X"; then | ||
1981 | # -L didn't work. | ||
1982 | set X `ls -t $srcdir/configure conftest.file` | ||
1983 | fi | ||
1984 | rm -f conftest.file | ||
1985 | if test "$*" != "X $srcdir/configure conftest.file" \ | ||
1986 | && test "$*" != "X conftest.file $srcdir/configure"; then | ||
1987 | |||
1988 | # If neither matched, then we have a broken ls. This can happen | ||
1989 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
1990 | # broken ls alias from the environment. This has actually | ||
1991 | # happened. Such a system could not be considered "sane". | ||
1992 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | ||
1993 | alias in your environment" >&5 | ||
1994 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
1995 | alias in your environment" >&2;} | ||
1996 | { (exit 1); exit 1; }; } | ||
1997 | fi | ||
1998 | |||
1999 | test "$2" = conftest.file | ||
2000 | ) | ||
2001 | then | ||
2002 | # Ok. | ||
2003 | : | ||
2004 | else | ||
2005 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
2006 | Check your system clock" >&5 | ||
2007 | $as_echo "$as_me: error: newly created file is older than distributed files! | ||
2008 | Check your system clock" >&2;} | ||
2009 | { (exit 1); exit 1; }; } | ||
2010 | fi | ||
2011 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2012 | $as_echo "yes" >&6; } | ||
2013 | test "$program_prefix" != NONE && | ||
2014 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
2015 | # Use a double $ so make ignores it. | ||
2016 | test "$program_suffix" != NONE && | ||
2017 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | ||
2018 | # Double any \ or $. | ||
2019 | # By default was `s,x,x', remove it if useless. | ||
2020 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
2021 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
2022 | |||
2023 | # expand $ac_aux_dir to an absolute path | ||
2024 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2025 | |||
2026 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
2027 | # Use eval to expand $SHELL | ||
2028 | if eval "$MISSING --run true"; then | ||
2029 | am_missing_run="$MISSING --run " | ||
2030 | else | ||
2031 | am_missing_run= | ||
2032 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | ||
2033 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | ||
2034 | fi | ||
2035 | |||
2036 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | ||
2037 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | ||
2038 | if test -z "$MKDIR_P"; then | ||
2039 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
2040 | $as_echo_n "(cached) " >&6 | ||
2041 | else | ||
2042 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2043 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
2044 | do | ||
2045 | IFS=$as_save_IFS | ||
2046 | test -z "$as_dir" && as_dir=. | ||
2047 | for ac_prog in mkdir gmkdir; do | ||
2048 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2049 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | ||
2050 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | ||
2051 | 'mkdir (GNU coreutils) '* | \ | ||
2052 | 'mkdir (coreutils) '* | \ | ||
2053 | 'mkdir (fileutils) '4.1*) | ||
2054 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ||
2055 | break 3;; | ||
2056 | esac | ||
2057 | done | ||
2058 | done | ||
2059 | done | ||
2060 | IFS=$as_save_IFS | ||
2061 | |||
2062 | fi | ||
2063 | |||
2064 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
2065 | MKDIR_P="$ac_cv_path_mkdir -p" | ||
2066 | else | ||
2067 | # As a last resort, use the slow shell script. Don't cache a | ||
2068 | # value for MKDIR_P within a source directory, because that will | ||
2069 | # break other packages using the cache if that directory is | ||
2070 | # removed, or if the value is a relative name. | ||
2071 | test -d ./--version && rmdir ./--version | ||
2072 | MKDIR_P="$ac_install_sh -d" | ||
2073 | fi | ||
2074 | fi | ||
2075 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
2076 | $as_echo "$MKDIR_P" >&6; } | ||
2077 | |||
2078 | mkdir_p="$MKDIR_P" | ||
2079 | case $mkdir_p in | ||
2080 | [\\/$]* | ?:[\\/]*) ;; | ||
2081 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
2082 | esac | ||
2083 | |||
2084 | for ac_prog in gawk mawk nawk awk | ||
2085 | do | ||
2086 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2087 | set dummy $ac_prog; ac_word=$2 | ||
2088 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2089 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2090 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
2091 | $as_echo_n "(cached) " >&6 | ||
2092 | else | ||
2093 | if test -n "$AWK"; then | ||
2094 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
2095 | else | ||
2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2097 | for as_dir in $PATH | ||
2098 | do | ||
2099 | IFS=$as_save_IFS | ||
2100 | test -z "$as_dir" && as_dir=. | ||
2101 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2102 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2103 | ac_cv_prog_AWK="$ac_prog" | ||
2104 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2105 | break 2 | ||
2106 | fi | ||
2107 | done | ||
2108 | done | ||
2109 | IFS=$as_save_IFS | ||
2110 | |||
2111 | fi | ||
2112 | fi | ||
2113 | AWK=$ac_cv_prog_AWK | ||
2114 | if test -n "$AWK"; then | ||
2115 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | ||
2116 | $as_echo "$AWK" >&6; } | ||
2117 | else | ||
2118 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2119 | $as_echo "no" >&6; } | ||
2120 | fi | ||
2121 | |||
2122 | |||
2123 | test -n "$AWK" && break | ||
2124 | done | ||
2125 | |||
2126 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
2127 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | ||
2128 | set x ${MAKE-make} | ||
2129 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
2130 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2131 | $as_echo_n "(cached) " >&6 | ||
2132 | else | ||
2133 | cat >conftest.make <<\_ACEOF | ||
2134 | SHELL = /bin/sh | ||
2135 | all: | ||
2136 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
2137 | _ACEOF | ||
2138 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
2139 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
2140 | *@@@%%%=?*=@@@%%%*) | ||
2141 | eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
2142 | *) | ||
2143 | eval ac_cv_prog_make_${ac_make}_set=no;; | ||
2144 | esac | ||
2145 | rm -f conftest.make | ||
2146 | fi | ||
2147 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
2148 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2149 | $as_echo "yes" >&6; } | ||
2150 | SET_MAKE= | ||
2151 | else | ||
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2153 | $as_echo "no" >&6; } | ||
2154 | SET_MAKE="MAKE=${MAKE-make}" | ||
2155 | fi | ||
2156 | |||
2157 | rm -rf .tst 2>/dev/null | ||
2158 | mkdir .tst 2>/dev/null | ||
2159 | if test -d .tst; then | ||
2160 | am__leading_dot=. | ||
2161 | else | ||
2162 | am__leading_dot=_ | ||
2163 | fi | ||
2164 | rmdir .tst 2>/dev/null | ||
2165 | |||
2166 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
2167 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
2168 | # is not polluted with repeated "-I." | ||
2169 | am__isrc=' -I$(srcdir)' | ||
2170 | # test to see if srcdir already configured | ||
2171 | if test -f $srcdir/config.status; then | ||
2172 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | ||
2173 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | ||
2174 | { (exit 1); exit 1; }; } | ||
2175 | fi | ||
2176 | fi | ||
2177 | |||
2178 | # test whether we have cygpath | ||
2179 | if test -z "$CYGPATH_W"; then | ||
2180 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
2181 | CYGPATH_W='cygpath -w' | ||
2182 | else | ||
2183 | CYGPATH_W=echo | ||
2184 | fi | ||
2185 | fi | ||
2186 | |||
2187 | |||
2188 | # Define the identity of the package. | ||
2189 | PACKAGE='maze-of-life' | ||
2190 | VERSION='2.0' | ||
2191 | |||
2192 | |||
2193 | cat >>confdefs.h <<_ACEOF | ||
2194 | #define PACKAGE "$PACKAGE" | ||
2195 | _ACEOF | ||
2196 | |||
2197 | |||
2198 | cat >>confdefs.h <<_ACEOF | ||
2199 | #define VERSION "$VERSION" | ||
2200 | _ACEOF | ||
2201 | |||
2202 | # Some tools Automake needs. | ||
2203 | |||
2204 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
2205 | |||
2206 | |||
2207 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
2208 | |||
2209 | |||
2210 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
2211 | |||
2212 | |||
2213 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
2214 | |||
2215 | |||
2216 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
2217 | |||
2218 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | ||
2219 | |||
2220 | # Installed binaries are usually stripped using `strip' when the user | ||
2221 | # run `make install-strip'. However `strip' might not be the right | ||
2222 | # tool to use in cross-compilation environments, therefore Automake | ||
2223 | # will honor the `STRIP' environment variable to overrule this program. | ||
2224 | if test "$cross_compiling" != no; then | ||
2225 | if test -n "$ac_tool_prefix"; then | ||
2226 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
2227 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
2228 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2229 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2230 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
2231 | $as_echo_n "(cached) " >&6 | ||
2232 | else | ||
2233 | if test -n "$STRIP"; then | ||
2234 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
2235 | else | ||
2236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2237 | for as_dir in $PATH | ||
2238 | do | ||
2239 | IFS=$as_save_IFS | ||
2240 | test -z "$as_dir" && as_dir=. | ||
2241 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2242 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2243 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
2244 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2245 | break 2 | ||
2246 | fi | ||
2247 | done | ||
2248 | done | ||
2249 | IFS=$as_save_IFS | ||
2250 | |||
2251 | fi | ||
2252 | fi | ||
2253 | STRIP=$ac_cv_prog_STRIP | ||
2254 | if test -n "$STRIP"; then | ||
2255 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
2256 | $as_echo "$STRIP" >&6; } | ||
2257 | else | ||
2258 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2259 | $as_echo "no" >&6; } | ||
2260 | fi | ||
2261 | |||
2262 | |||
2263 | fi | ||
2264 | if test -z "$ac_cv_prog_STRIP"; then | ||
2265 | ac_ct_STRIP=$STRIP | ||
2266 | # Extract the first word of "strip", so it can be a program name with args. | ||
2267 | set dummy strip; ac_word=$2 | ||
2268 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2269 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2270 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
2271 | $as_echo_n "(cached) " >&6 | ||
2272 | else | ||
2273 | if test -n "$ac_ct_STRIP"; then | ||
2274 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
2275 | else | ||
2276 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2277 | for as_dir in $PATH | ||
2278 | do | ||
2279 | IFS=$as_save_IFS | ||
2280 | test -z "$as_dir" && as_dir=. | ||
2281 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2282 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2283 | ac_cv_prog_ac_ct_STRIP="strip" | ||
2284 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2285 | break 2 | ||
2286 | fi | ||
2287 | done | ||
2288 | done | ||
2289 | IFS=$as_save_IFS | ||
2290 | |||
2291 | fi | ||
2292 | fi | ||
2293 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
2294 | if test -n "$ac_ct_STRIP"; then | ||
2295 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
2296 | $as_echo "$ac_ct_STRIP" >&6; } | ||
2297 | else | ||
2298 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2299 | $as_echo "no" >&6; } | ||
2300 | fi | ||
2301 | |||
2302 | if test "x$ac_ct_STRIP" = x; then | ||
2303 | STRIP=":" | ||
2304 | else | ||
2305 | case $cross_compiling:$ac_tool_warned in | ||
2306 | yes:) | ||
2307 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2308 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2309 | ac_tool_warned=yes ;; | ||
2310 | esac | ||
2311 | STRIP=$ac_ct_STRIP | ||
2312 | fi | ||
2313 | else | ||
2314 | STRIP="$ac_cv_prog_STRIP" | ||
2315 | fi | ||
2316 | |||
2317 | fi | ||
2318 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
2319 | |||
2320 | # We need awk for the "check" target. The system "awk" is bad on | ||
2321 | # some platforms. | ||
2322 | # Always define AMTAR for backward compatibility. | ||
2323 | |||
2324 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2325 | |||
2326 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
2327 | |||
2328 | |||
2329 | |||
2330 | |||
2331 | |||
2332 | |||
2333 | ac_config_headers="$ac_config_headers config.h" | ||
2334 | |||
2335 | |||
2336 | # Checks for programs. | ||
2337 | ac_ext=cpp | ||
2338 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
2339 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2340 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2341 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
2342 | if test -z "$CXX"; then | ||
2343 | if test -n "$CCC"; then | ||
2344 | CXX=$CCC | ||
2345 | else | ||
2346 | if test -n "$ac_tool_prefix"; then | ||
2347 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | ||
2348 | do | ||
2349 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
2350 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
2351 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2352 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2353 | if test "${ac_cv_prog_CXX+set}" = set; then | ||
2354 | $as_echo_n "(cached) " >&6 | ||
2355 | else | ||
2356 | if test -n "$CXX"; then | ||
2357 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||
2358 | else | ||
2359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2360 | for as_dir in $PATH | ||
2361 | do | ||
2362 | IFS=$as_save_IFS | ||
2363 | test -z "$as_dir" && as_dir=. | ||
2364 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2365 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2366 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ||
2367 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2368 | break 2 | ||
2369 | fi | ||
2370 | done | ||
2371 | done | ||
2372 | IFS=$as_save_IFS | ||
2373 | |||
2374 | fi | ||
2375 | fi | ||
2376 | CXX=$ac_cv_prog_CXX | ||
2377 | if test -n "$CXX"; then | ||
2378 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 | ||
2379 | $as_echo "$CXX" >&6; } | ||
2380 | else | ||
2381 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2382 | $as_echo "no" >&6; } | ||
2383 | fi | ||
2384 | |||
2385 | |||
2386 | test -n "$CXX" && break | ||
2387 | done | ||
2388 | fi | ||
2389 | if test -z "$CXX"; then | ||
2390 | ac_ct_CXX=$CXX | ||
2391 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | ||
2392 | do | ||
2393 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2394 | set dummy $ac_prog; ac_word=$2 | ||
2395 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2396 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2397 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | ||
2398 | $as_echo_n "(cached) " >&6 | ||
2399 | else | ||
2400 | if test -n "$ac_ct_CXX"; then | ||
2401 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||
2402 | else | ||
2403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2404 | for as_dir in $PATH | ||
2405 | do | ||
2406 | IFS=$as_save_IFS | ||
2407 | test -z "$as_dir" && as_dir=. | ||
2408 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2409 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2410 | ac_cv_prog_ac_ct_CXX="$ac_prog" | ||
2411 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2412 | break 2 | ||
2413 | fi | ||
2414 | done | ||
2415 | done | ||
2416 | IFS=$as_save_IFS | ||
2417 | |||
2418 | fi | ||
2419 | fi | ||
2420 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||
2421 | if test -n "$ac_ct_CXX"; then | ||
2422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | ||
2423 | $as_echo "$ac_ct_CXX" >&6; } | ||
2424 | else | ||
2425 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2426 | $as_echo "no" >&6; } | ||
2427 | fi | ||
2428 | |||
2429 | |||
2430 | test -n "$ac_ct_CXX" && break | ||
2431 | done | ||
2432 | |||
2433 | if test "x$ac_ct_CXX" = x; then | ||
2434 | CXX="g++" | ||
2435 | else | ||
2436 | case $cross_compiling:$ac_tool_warned in | ||
2437 | yes:) | ||
2438 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2439 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2440 | ac_tool_warned=yes ;; | ||
2441 | esac | ||
2442 | CXX=$ac_ct_CXX | ||
2443 | fi | ||
2444 | fi | ||
2445 | |||
2446 | fi | ||
2447 | fi | ||
2448 | # Provide some information about the compiler. | ||
2449 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | ||
2450 | set X $ac_compile | ||
2451 | ac_compiler=$2 | ||
2452 | { (ac_try="$ac_compiler --version >&5" | ||
2453 | case "(($ac_try" in | ||
2454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2455 | *) ac_try_echo=$ac_try;; | ||
2456 | esac | ||
2457 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2458 | $as_echo "$ac_try_echo") >&5 | ||
2459 | (eval "$ac_compiler --version >&5") 2>&5 | ||
2460 | ac_status=$? | ||
2461 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2462 | (exit $ac_status); } | ||
2463 | { (ac_try="$ac_compiler -v >&5" | ||
2464 | case "(($ac_try" in | ||
2465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2466 | *) ac_try_echo=$ac_try;; | ||
2467 | esac | ||
2468 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2469 | $as_echo "$ac_try_echo") >&5 | ||
2470 | (eval "$ac_compiler -v >&5") 2>&5 | ||
2471 | ac_status=$? | ||
2472 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2473 | (exit $ac_status); } | ||
2474 | { (ac_try="$ac_compiler -V >&5" | ||
2475 | case "(($ac_try" in | ||
2476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2477 | *) ac_try_echo=$ac_try;; | ||
2478 | esac | ||
2479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2480 | $as_echo "$ac_try_echo") >&5 | ||
2481 | (eval "$ac_compiler -V >&5") 2>&5 | ||
2482 | ac_status=$? | ||
2483 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2484 | (exit $ac_status); } | ||
2485 | |||
2486 | cat >conftest.$ac_ext <<_ACEOF | ||
2487 | /* confdefs.h. */ | ||
2488 | _ACEOF | ||
2489 | cat confdefs.h >>conftest.$ac_ext | ||
2490 | cat >>conftest.$ac_ext <<_ACEOF | ||
2491 | /* end confdefs.h. */ | ||
2492 | |||
2493 | int | ||
2494 | main () | ||
2495 | { | ||
2496 | |||
2497 | ; | ||
2498 | return 0; | ||
2499 | } | ||
2500 | _ACEOF | ||
2501 | ac_clean_files_save=$ac_clean_files | ||
2502 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
2503 | # Try to create an executable without -o first, disregard a.out. | ||
2504 | # It will help us diagnose broken compilers, and finding out an intuition | ||
2505 | # of exeext. | ||
2506 | { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | ||
2507 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } | ||
2508 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
2509 | |||
2510 | # The possible output files: | ||
2511 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
2512 | |||
2513 | ac_rmfiles= | ||
2514 | for ac_file in $ac_files | ||
2515 | do | ||
2516 | case $ac_file in | ||
2517 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
2518 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
2519 | esac | ||
2520 | done | ||
2521 | rm -f $ac_rmfiles | ||
2522 | |||
2523 | if { (ac_try="$ac_link_default" | ||
2524 | case "(($ac_try" in | ||
2525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2526 | *) ac_try_echo=$ac_try;; | ||
2527 | esac | ||
2528 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2529 | $as_echo "$ac_try_echo") >&5 | ||
2530 | (eval "$ac_link_default") 2>&5 | ||
2531 | ac_status=$? | ||
2532 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2533 | (exit $ac_status); }; then | ||
2534 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
2535 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
2536 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
2537 | # so that the user can short-circuit this test for compilers unknown to | ||
2538 | # Autoconf. | ||
2539 | for ac_file in $ac_files '' | ||
2540 | do | ||
2541 | test -f "$ac_file" || continue | ||
2542 | case $ac_file in | ||
2543 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
2544 | ;; | ||
2545 | [ab].out ) | ||
2546 | # We found the default executable, but exeext='' is most | ||
2547 | # certainly right. | ||
2548 | break;; | ||
2549 | *.* ) | ||
2550 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | ||
2551 | then :; else | ||
2552 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
2553 | fi | ||
2554 | # We set ac_cv_exeext here because the later test for it is not | ||
2555 | # safe: cross compilers may not add the suffix if given an `-o' | ||
2556 | # argument, so we may need to know it at that point already. | ||
2557 | # Even if this section looks crufty: it has the advantage of | ||
2558 | # actually working. | ||
2559 | break;; | ||
2560 | * ) | ||
2561 | break;; | ||
2562 | esac | ||
2563 | done | ||
2564 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2565 | |||
2566 | else | ||
2567 | ac_file='' | ||
2568 | fi | ||
2569 | |||
2570 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2571 | $as_echo "$ac_file" >&6; } | ||
2572 | if test -z "$ac_file"; then | ||
2573 | $as_echo "$as_me: failed program was:" >&5 | ||
2574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2575 | |||
2576 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
2577 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2578 | { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables | ||
2579 | See \`config.log' for more details." >&5 | ||
2580 | $as_echo "$as_me: error: C++ compiler cannot create executables | ||
2581 | See \`config.log' for more details." >&2;} | ||
2582 | { (exit 77); exit 77; }; }; } | ||
2583 | fi | ||
2584 | |||
2585 | ac_exeext=$ac_cv_exeext | ||
2586 | |||
2587 | # Check that the compiler produces executables we can run. If not, either | ||
2588 | # the compiler is broken, or we cross compile. | ||
2589 | { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | ||
2590 | $as_echo_n "checking whether the C++ compiler works... " >&6; } | ||
2591 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
2592 | # If not cross compiling, check that we can run a simple program. | ||
2593 | if test "$cross_compiling" != yes; then | ||
2594 | if { ac_try='./$ac_file' | ||
2595 | { (case "(($ac_try" in | ||
2596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2597 | *) ac_try_echo=$ac_try;; | ||
2598 | esac | ||
2599 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2600 | $as_echo "$ac_try_echo") >&5 | ||
2601 | (eval "$ac_try") 2>&5 | ||
2602 | ac_status=$? | ||
2603 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2604 | (exit $ac_status); }; }; then | ||
2605 | cross_compiling=no | ||
2606 | else | ||
2607 | if test "$cross_compiling" = maybe; then | ||
2608 | cross_compiling=yes | ||
2609 | else | ||
2610 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
2611 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2612 | { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | ||
2613 | If you meant to cross compile, use \`--host'. | ||
2614 | See \`config.log' for more details." >&5 | ||
2615 | $as_echo "$as_me: error: cannot run C++ compiled programs. | ||
2616 | If you meant to cross compile, use \`--host'. | ||
2617 | See \`config.log' for more details." >&2;} | ||
2618 | { (exit 1); exit 1; }; }; } | ||
2619 | fi | ||
2620 | fi | ||
2621 | fi | ||
2622 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2623 | $as_echo "yes" >&6; } | ||
2624 | |||
2625 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
2626 | ac_clean_files=$ac_clean_files_save | ||
2627 | # Check that the compiler produces executables we can run. If not, either | ||
2628 | # the compiler is broken, or we cross compile. | ||
2629 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
2630 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
2631 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
2632 | $as_echo "$cross_compiling" >&6; } | ||
2633 | |||
2634 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
2635 | $as_echo_n "checking for suffix of executables... " >&6; } | ||
2636 | if { (ac_try="$ac_link" | ||
2637 | case "(($ac_try" in | ||
2638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2639 | *) ac_try_echo=$ac_try;; | ||
2640 | esac | ||
2641 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2642 | $as_echo "$ac_try_echo") >&5 | ||
2643 | (eval "$ac_link") 2>&5 | ||
2644 | ac_status=$? | ||
2645 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2646 | (exit $ac_status); }; then | ||
2647 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
2648 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
2649 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
2650 | # `rm'. | ||
2651 | for ac_file in conftest.exe conftest conftest.*; do | ||
2652 | test -f "$ac_file" || continue | ||
2653 | case $ac_file in | ||
2654 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
2655 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
2656 | break;; | ||
2657 | * ) break;; | ||
2658 | esac | ||
2659 | done | ||
2660 | else | ||
2661 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
2662 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2663 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
2664 | See \`config.log' for more details." >&5 | ||
2665 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
2666 | See \`config.log' for more details." >&2;} | ||
2667 | { (exit 1); exit 1; }; }; } | ||
2668 | fi | ||
2669 | |||
2670 | rm -f conftest$ac_cv_exeext | ||
2671 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
2672 | $as_echo "$ac_cv_exeext" >&6; } | ||
2673 | |||
2674 | rm -f conftest.$ac_ext | ||
2675 | EXEEXT=$ac_cv_exeext | ||
2676 | ac_exeext=$EXEEXT | ||
2677 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
2678 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
2679 | if test "${ac_cv_objext+set}" = set; then | ||
2680 | $as_echo_n "(cached) " >&6 | ||
2681 | else | ||
2682 | cat >conftest.$ac_ext <<_ACEOF | ||
2683 | /* confdefs.h. */ | ||
2684 | _ACEOF | ||
2685 | cat confdefs.h >>conftest.$ac_ext | ||
2686 | cat >>conftest.$ac_ext <<_ACEOF | ||
2687 | /* end confdefs.h. */ | ||
2688 | |||
2689 | int | ||
2690 | main () | ||
2691 | { | ||
2692 | |||
2693 | ; | ||
2694 | return 0; | ||
2695 | } | ||
2696 | _ACEOF | ||
2697 | rm -f conftest.o conftest.obj | ||
2698 | if { (ac_try="$ac_compile" | ||
2699 | case "(($ac_try" in | ||
2700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2701 | *) ac_try_echo=$ac_try;; | ||
2702 | esac | ||
2703 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2704 | $as_echo "$ac_try_echo") >&5 | ||
2705 | (eval "$ac_compile") 2>&5 | ||
2706 | ac_status=$? | ||
2707 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2708 | (exit $ac_status); }; then | ||
2709 | for ac_file in conftest.o conftest.obj conftest.*; do | ||
2710 | test -f "$ac_file" || continue; | ||
2711 | case $ac_file in | ||
2712 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
2713 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
2714 | break;; | ||
2715 | esac | ||
2716 | done | ||
2717 | else | ||
2718 | $as_echo "$as_me: failed program was:" >&5 | ||
2719 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2720 | |||
2721 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
2722 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2723 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
2724 | See \`config.log' for more details." >&5 | ||
2725 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
2726 | See \`config.log' for more details." >&2;} | ||
2727 | { (exit 1); exit 1; }; }; } | ||
2728 | fi | ||
2729 | |||
2730 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2731 | fi | ||
2732 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
2733 | $as_echo "$ac_cv_objext" >&6; } | ||
2734 | OBJEXT=$ac_cv_objext | ||
2735 | ac_objext=$OBJEXT | ||
2736 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | ||
2737 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | ||
2738 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | cat >conftest.$ac_ext <<_ACEOF | ||
2742 | /* confdefs.h. */ | ||
2743 | _ACEOF | ||
2744 | cat confdefs.h >>conftest.$ac_ext | ||
2745 | cat >>conftest.$ac_ext <<_ACEOF | ||
2746 | /* end confdefs.h. */ | ||
2747 | |||
2748 | int | ||
2749 | main () | ||
2750 | { | ||
2751 | #ifndef __GNUC__ | ||
2752 | choke me | ||
2753 | #endif | ||
2754 | |||
2755 | ; | ||
2756 | return 0; | ||
2757 | } | ||
2758 | _ACEOF | ||
2759 | rm -f conftest.$ac_objext | ||
2760 | if { (ac_try="$ac_compile" | ||
2761 | case "(($ac_try" in | ||
2762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2763 | *) ac_try_echo=$ac_try;; | ||
2764 | esac | ||
2765 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2766 | $as_echo "$ac_try_echo") >&5 | ||
2767 | (eval "$ac_compile") 2>conftest.er1 | ||
2768 | ac_status=$? | ||
2769 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2770 | rm -f conftest.er1 | ||
2771 | cat conftest.err >&5 | ||
2772 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2773 | (exit $ac_status); } && { | ||
2774 | test -z "$ac_cxx_werror_flag" || | ||
2775 | test ! -s conftest.err | ||
2776 | } && test -s conftest.$ac_objext; then | ||
2777 | ac_compiler_gnu=yes | ||
2778 | else | ||
2779 | $as_echo "$as_me: failed program was:" >&5 | ||
2780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2781 | |||
2782 | ac_compiler_gnu=no | ||
2783 | fi | ||
2784 | |||
2785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2786 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ||
2787 | |||
2788 | fi | ||
2789 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | ||
2790 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | ||
2791 | if test $ac_compiler_gnu = yes; then | ||
2792 | GXX=yes | ||
2793 | else | ||
2794 | GXX= | ||
2795 | fi | ||
2796 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ||
2797 | ac_save_CXXFLAGS=$CXXFLAGS | ||
2798 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | ||
2799 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } | ||
2800 | if test "${ac_cv_prog_cxx_g+set}" = set; then | ||
2801 | $as_echo_n "(cached) " >&6 | ||
2802 | else | ||
2803 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | ||
2804 | ac_cxx_werror_flag=yes | ||
2805 | ac_cv_prog_cxx_g=no | ||
2806 | CXXFLAGS="-g" | ||
2807 | cat >conftest.$ac_ext <<_ACEOF | ||
2808 | /* confdefs.h. */ | ||
2809 | _ACEOF | ||
2810 | cat confdefs.h >>conftest.$ac_ext | ||
2811 | cat >>conftest.$ac_ext <<_ACEOF | ||
2812 | /* end confdefs.h. */ | ||
2813 | |||
2814 | int | ||
2815 | main () | ||
2816 | { | ||
2817 | |||
2818 | ; | ||
2819 | return 0; | ||
2820 | } | ||
2821 | _ACEOF | ||
2822 | rm -f conftest.$ac_objext | ||
2823 | if { (ac_try="$ac_compile" | ||
2824 | case "(($ac_try" in | ||
2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2826 | *) ac_try_echo=$ac_try;; | ||
2827 | esac | ||
2828 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2829 | $as_echo "$ac_try_echo") >&5 | ||
2830 | (eval "$ac_compile") 2>conftest.er1 | ||
2831 | ac_status=$? | ||
2832 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2833 | rm -f conftest.er1 | ||
2834 | cat conftest.err >&5 | ||
2835 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2836 | (exit $ac_status); } && { | ||
2837 | test -z "$ac_cxx_werror_flag" || | ||
2838 | test ! -s conftest.err | ||
2839 | } && test -s conftest.$ac_objext; then | ||
2840 | ac_cv_prog_cxx_g=yes | ||
2841 | else | ||
2842 | $as_echo "$as_me: failed program was:" >&5 | ||
2843 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2844 | |||
2845 | CXXFLAGS="" | ||
2846 | cat >conftest.$ac_ext <<_ACEOF | ||
2847 | /* confdefs.h. */ | ||
2848 | _ACEOF | ||
2849 | cat confdefs.h >>conftest.$ac_ext | ||
2850 | cat >>conftest.$ac_ext <<_ACEOF | ||
2851 | /* end confdefs.h. */ | ||
2852 | |||
2853 | int | ||
2854 | main () | ||
2855 | { | ||
2856 | |||
2857 | ; | ||
2858 | return 0; | ||
2859 | } | ||
2860 | _ACEOF | ||
2861 | rm -f conftest.$ac_objext | ||
2862 | if { (ac_try="$ac_compile" | ||
2863 | case "(($ac_try" in | ||
2864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2865 | *) ac_try_echo=$ac_try;; | ||
2866 | esac | ||
2867 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2868 | $as_echo "$ac_try_echo") >&5 | ||
2869 | (eval "$ac_compile") 2>conftest.er1 | ||
2870 | ac_status=$? | ||
2871 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2872 | rm -f conftest.er1 | ||
2873 | cat conftest.err >&5 | ||
2874 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2875 | (exit $ac_status); } && { | ||
2876 | test -z "$ac_cxx_werror_flag" || | ||
2877 | test ! -s conftest.err | ||
2878 | } && test -s conftest.$ac_objext; then | ||
2879 | : | ||
2880 | else | ||
2881 | $as_echo "$as_me: failed program was:" >&5 | ||
2882 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2883 | |||
2884 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
2885 | CXXFLAGS="-g" | ||
2886 | cat >conftest.$ac_ext <<_ACEOF | ||
2887 | /* confdefs.h. */ | ||
2888 | _ACEOF | ||
2889 | cat confdefs.h >>conftest.$ac_ext | ||
2890 | cat >>conftest.$ac_ext <<_ACEOF | ||
2891 | /* end confdefs.h. */ | ||
2892 | |||
2893 | int | ||
2894 | main () | ||
2895 | { | ||
2896 | |||
2897 | ; | ||
2898 | return 0; | ||
2899 | } | ||
2900 | _ACEOF | ||
2901 | rm -f conftest.$ac_objext | ||
2902 | if { (ac_try="$ac_compile" | ||
2903 | case "(($ac_try" in | ||
2904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2905 | *) ac_try_echo=$ac_try;; | ||
2906 | esac | ||
2907 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
2908 | $as_echo "$ac_try_echo") >&5 | ||
2909 | (eval "$ac_compile") 2>conftest.er1 | ||
2910 | ac_status=$? | ||
2911 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2912 | rm -f conftest.er1 | ||
2913 | cat conftest.err >&5 | ||
2914 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2915 | (exit $ac_status); } && { | ||
2916 | test -z "$ac_cxx_werror_flag" || | ||
2917 | test ! -s conftest.err | ||
2918 | } && test -s conftest.$ac_objext; then | ||
2919 | ac_cv_prog_cxx_g=yes | ||
2920 | else | ||
2921 | $as_echo "$as_me: failed program was:" >&5 | ||
2922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2923 | |||
2924 | |||
2925 | fi | ||
2926 | |||
2927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2928 | fi | ||
2929 | |||
2930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2931 | fi | ||
2932 | |||
2933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2934 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
2935 | fi | ||
2936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
2937 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | ||
2938 | if test "$ac_test_CXXFLAGS" = set; then | ||
2939 | CXXFLAGS=$ac_save_CXXFLAGS | ||
2940 | elif test $ac_cv_prog_cxx_g = yes; then | ||
2941 | if test "$GXX" = yes; then | ||
2942 | CXXFLAGS="-g -O2" | ||
2943 | else | ||
2944 | CXXFLAGS="-g" | ||
2945 | fi | ||
2946 | else | ||
2947 | if test "$GXX" = yes; then | ||
2948 | CXXFLAGS="-O2" | ||
2949 | else | ||
2950 | CXXFLAGS= | ||
2951 | fi | ||
2952 | fi | ||
2953 | ac_ext=c | ||
2954 | ac_cpp='$CPP $CPPFLAGS' | ||
2955 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2956 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2957 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2958 | DEPDIR="${am__leading_dot}deps" | ||
2959 | |||
2960 | ac_config_commands="$ac_config_commands depfiles" | ||
2961 | |||
2962 | |||
2963 | am_make=${MAKE-make} | ||
2964 | cat > confinc << 'END' | ||
2965 | am__doit: | ||
2966 | @echo done | ||
2967 | .PHONY: am__doit | ||
2968 | END | ||
2969 | # If we don't find an include directive, just comment out the code. | ||
2970 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | ||
2971 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | ||
2972 | am__include="#" | ||
2973 | am__quote= | ||
2974 | _am_result=none | ||
2975 | # First try GNU make style include. | ||
2976 | echo "include confinc" > confmf | ||
2977 | # We grep out `Entering directory' and `Leaving directory' | ||
2978 | # messages which can occur if `w' ends up in MAKEFLAGS. | ||
2979 | # In particular we don't look at `^make:' because GNU make might | ||
2980 | # be invoked under some other name (usually "gmake"), in which | ||
2981 | # case it prints its new name instead of `make'. | ||
2982 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | ||
2983 | am__include=include | ||
2984 | am__quote= | ||
2985 | _am_result=GNU | ||
2986 | fi | ||
2987 | # Now try BSD make style include. | ||
2988 | if test "$am__include" = "#"; then | ||
2989 | echo '.include "confinc"' > confmf | ||
2990 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | ||
2991 | am__include=.include | ||
2992 | am__quote="\"" | ||
2993 | _am_result=BSD | ||
2994 | fi | ||
2995 | fi | ||
2996 | |||
2997 | |||
2998 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
2999 | $as_echo "$_am_result" >&6; } | ||
3000 | rm -f confinc confmf | ||
3001 | |||
3002 | # Check whether --enable-dependency-tracking was given. | ||
3003 | if test "${enable_dependency_tracking+set}" = set; then | ||
3004 | enableval=$enable_dependency_tracking; | ||
3005 | fi | ||
3006 | |||
3007 | if test "x$enable_dependency_tracking" != xno; then | ||
3008 | am_depcomp="$ac_aux_dir/depcomp" | ||
3009 | AMDEPBACKSLASH='\' | ||
3010 | fi | ||
3011 | if test "x$enable_dependency_tracking" != xno; then | ||
3012 | AMDEP_TRUE= | ||
3013 | AMDEP_FALSE='#' | ||
3014 | else | ||
3015 | AMDEP_TRUE='#' | ||
3016 | AMDEP_FALSE= | ||
3017 | fi | ||
3018 | |||
3019 | |||
3020 | |||
3021 | depcc="$CXX" am_compiler_list= | ||
3022 | |||
3023 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | ||
3024 | $as_echo_n "checking dependency style of $depcc... " >&6; } | ||
3025 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | ||
3026 | $as_echo_n "(cached) " >&6 | ||
3027 | else | ||
3028 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
3029 | # We make a subdir and do the tests there. Otherwise we can end up | ||
3030 | # making bogus files that we don't know about and never remove. For | ||
3031 | # instance it was reported that on HP-UX the gcc test will end up | ||
3032 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
3033 | # in D'. | ||
3034 | mkdir conftest.dir | ||
3035 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
3036 | # using a relative directory. | ||
3037 | cp "$am_depcomp" conftest.dir | ||
3038 | cd conftest.dir | ||
3039 | # We will build objects and dependencies in a subdirectory because | ||
3040 | # it helps to detect inapplicable dependency modes. For instance | ||
3041 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
3042 | # side effect of compilation, but ICC will put the dependencies in | ||
3043 | # the current directory while Tru64 will put them in the object | ||
3044 | # directory. | ||
3045 | mkdir sub | ||
3046 | |||
3047 | am_cv_CXX_dependencies_compiler_type=none | ||
3048 | if test "$am_compiler_list" = ""; then | ||
3049 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
3050 | fi | ||
3051 | for depmode in $am_compiler_list; do | ||
3052 | # Setup a source with many dependencies, because some compilers | ||
3053 | # like to wrap large dependency lists on column 80 (with \), and | ||
3054 | # we should not choose a depcomp mode which is confused by this. | ||
3055 | # | ||
3056 | # We need to recreate these files for each test, as the compiler may | ||
3057 | # overwrite some of them when testing with obscure command lines. | ||
3058 | # This happens at least with the AIX C compiler. | ||
3059 | : > sub/conftest.c | ||
3060 | for i in 1 2 3 4 5 6; do | ||
3061 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
3062 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
3063 | # Solaris 8's {/usr,}/bin/sh. | ||
3064 | touch sub/conftst$i.h | ||
3065 | done | ||
3066 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
3067 | |||
3068 | case $depmode in | ||
3069 | nosideeffect) | ||
3070 | # after this tag, mechanisms are not by side-effect, so they'll | ||
3071 | # only be used when explicitly requested | ||
3072 | if test "x$enable_dependency_tracking" = xyes; then | ||
3073 | continue | ||
3074 | else | ||
3075 | break | ||
3076 | fi | ||
3077 | ;; | ||
3078 | none) break ;; | ||
3079 | esac | ||
3080 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
3081 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
3082 | # handle `-M -o', and we need to detect this. | ||
3083 | if depmode=$depmode \ | ||
3084 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | ||
3085 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
3086 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | ||
3087 | >/dev/null 2>conftest.err && | ||
3088 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
3089 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
3090 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | ||
3091 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
3092 | # icc doesn't choke on unknown options, it will just issue warnings | ||
3093 | # or remarks (even with -Werror). So we grep stderr for any message | ||
3094 | # that says an option was ignored or not supported. | ||
3095 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
3096 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
3097 | # The diagnosis changed in icc 8.0: | ||
3098 | # icc: Command line remark: option '-MP' not supported | ||
3099 | if (grep 'ignoring option' conftest.err || | ||
3100 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
3101 | am_cv_CXX_dependencies_compiler_type=$depmode | ||
3102 | break | ||
3103 | fi | ||
3104 | fi | ||
3105 | done | ||
3106 | |||
3107 | cd .. | ||
3108 | rm -rf conftest.dir | ||
3109 | else | ||
3110 | am_cv_CXX_dependencies_compiler_type=none | ||
3111 | fi | ||
3112 | |||
3113 | fi | ||
3114 | { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | ||
3115 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | ||
3116 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | ||
3117 | |||
3118 | if | ||
3119 | test "x$enable_dependency_tracking" != xno \ | ||
3120 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | ||
3121 | am__fastdepCXX_TRUE= | ||
3122 | am__fastdepCXX_FALSE='#' | ||
3123 | else | ||
3124 | am__fastdepCXX_TRUE='#' | ||
3125 | am__fastdepCXX_FALSE= | ||
3126 | fi | ||
3127 | |||
3128 | |||
3129 | ac_ext=c | ||
3130 | ac_cpp='$CPP $CPPFLAGS' | ||
3131 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3132 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3133 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3134 | if test -n "$ac_tool_prefix"; then | ||
3135 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
3136 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
3137 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3138 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3139 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3140 | $as_echo_n "(cached) " >&6 | ||
3141 | else | ||
3142 | if test -n "$CC"; then | ||
3143 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3144 | else | ||
3145 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3146 | for as_dir in $PATH | ||
3147 | do | ||
3148 | IFS=$as_save_IFS | ||
3149 | test -z "$as_dir" && as_dir=. | ||
3150 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3151 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3152 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
3153 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3154 | break 2 | ||
3155 | fi | ||
3156 | done | ||
3157 | done | ||
3158 | IFS=$as_save_IFS | ||
3159 | |||
3160 | fi | ||
3161 | fi | ||
3162 | CC=$ac_cv_prog_CC | ||
3163 | if test -n "$CC"; then | ||
3164 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3165 | $as_echo "$CC" >&6; } | ||
3166 | else | ||
3167 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3168 | $as_echo "no" >&6; } | ||
3169 | fi | ||
3170 | |||
3171 | |||
3172 | fi | ||
3173 | if test -z "$ac_cv_prog_CC"; then | ||
3174 | ac_ct_CC=$CC | ||
3175 | # Extract the first word of "gcc", so it can be a program name with args. | ||
3176 | set dummy gcc; ac_word=$2 | ||
3177 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3178 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3179 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3180 | $as_echo_n "(cached) " >&6 | ||
3181 | else | ||
3182 | if test -n "$ac_ct_CC"; then | ||
3183 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3184 | else | ||
3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3186 | for as_dir in $PATH | ||
3187 | do | ||
3188 | IFS=$as_save_IFS | ||
3189 | test -z "$as_dir" && as_dir=. | ||
3190 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3191 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3192 | ac_cv_prog_ac_ct_CC="gcc" | ||
3193 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3194 | break 2 | ||
3195 | fi | ||
3196 | done | ||
3197 | done | ||
3198 | IFS=$as_save_IFS | ||
3199 | |||
3200 | fi | ||
3201 | fi | ||
3202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3203 | if test -n "$ac_ct_CC"; then | ||
3204 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3205 | $as_echo "$ac_ct_CC" >&6; } | ||
3206 | else | ||
3207 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3208 | $as_echo "no" >&6; } | ||
3209 | fi | ||
3210 | |||
3211 | if test "x$ac_ct_CC" = x; then | ||
3212 | CC="" | ||
3213 | else | ||
3214 | case $cross_compiling:$ac_tool_warned in | ||
3215 | yes:) | ||
3216 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
3217 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
3218 | ac_tool_warned=yes ;; | ||
3219 | esac | ||
3220 | CC=$ac_ct_CC | ||
3221 | fi | ||
3222 | else | ||
3223 | CC="$ac_cv_prog_CC" | ||
3224 | fi | ||
3225 | |||
3226 | if test -z "$CC"; then | ||
3227 | if test -n "$ac_tool_prefix"; then | ||
3228 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
3229 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
3230 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3231 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3232 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3233 | $as_echo_n "(cached) " >&6 | ||
3234 | else | ||
3235 | if test -n "$CC"; then | ||
3236 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3237 | else | ||
3238 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3239 | for as_dir in $PATH | ||
3240 | do | ||
3241 | IFS=$as_save_IFS | ||
3242 | test -z "$as_dir" && as_dir=. | ||
3243 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3244 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3245 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
3246 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3247 | break 2 | ||
3248 | fi | ||
3249 | done | ||
3250 | done | ||
3251 | IFS=$as_save_IFS | ||
3252 | |||
3253 | fi | ||
3254 | fi | ||
3255 | CC=$ac_cv_prog_CC | ||
3256 | if test -n "$CC"; then | ||
3257 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3258 | $as_echo "$CC" >&6; } | ||
3259 | else | ||
3260 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3261 | $as_echo "no" >&6; } | ||
3262 | fi | ||
3263 | |||
3264 | |||
3265 | fi | ||
3266 | fi | ||
3267 | if test -z "$CC"; then | ||
3268 | # Extract the first word of "cc", so it can be a program name with args. | ||
3269 | set dummy cc; ac_word=$2 | ||
3270 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3271 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3272 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3273 | $as_echo_n "(cached) " >&6 | ||
3274 | else | ||
3275 | if test -n "$CC"; then | ||
3276 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3277 | else | ||
3278 | ac_prog_rejected=no | ||
3279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3280 | for as_dir in $PATH | ||
3281 | do | ||
3282 | IFS=$as_save_IFS | ||
3283 | test -z "$as_dir" && as_dir=. | ||
3284 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3285 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3286 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
3287 | ac_prog_rejected=yes | ||
3288 | continue | ||
3289 | fi | ||
3290 | ac_cv_prog_CC="cc" | ||
3291 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3292 | break 2 | ||
3293 | fi | ||
3294 | done | ||
3295 | done | ||
3296 | IFS=$as_save_IFS | ||
3297 | |||
3298 | if test $ac_prog_rejected = yes; then | ||
3299 | # We found a bogon in the path, so make sure we never use it. | ||
3300 | set dummy $ac_cv_prog_CC | ||
3301 | shift | ||
3302 | if test $# != 0; then | ||
3303 | # We chose a different compiler from the bogus one. | ||
3304 | # However, it has the same basename, so the bogon will be chosen | ||
3305 | # first if we set CC to just the basename; use the full file name. | ||
3306 | shift | ||
3307 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
3308 | fi | ||
3309 | fi | ||
3310 | fi | ||
3311 | fi | ||
3312 | CC=$ac_cv_prog_CC | ||
3313 | if test -n "$CC"; then | ||
3314 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3315 | $as_echo "$CC" >&6; } | ||
3316 | else | ||
3317 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3318 | $as_echo "no" >&6; } | ||
3319 | fi | ||
3320 | |||
3321 | |||
3322 | fi | ||
3323 | if test -z "$CC"; then | ||
3324 | if test -n "$ac_tool_prefix"; then | ||
3325 | for ac_prog in cl.exe | ||
3326 | do | ||
3327 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
3328 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
3329 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3330 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3331 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3332 | $as_echo_n "(cached) " >&6 | ||
3333 | else | ||
3334 | if test -n "$CC"; then | ||
3335 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3336 | else | ||
3337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3338 | for as_dir in $PATH | ||
3339 | do | ||
3340 | IFS=$as_save_IFS | ||
3341 | test -z "$as_dir" && as_dir=. | ||
3342 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3343 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3344 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
3345 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3346 | break 2 | ||
3347 | fi | ||
3348 | done | ||
3349 | done | ||
3350 | IFS=$as_save_IFS | ||
3351 | |||
3352 | fi | ||
3353 | fi | ||
3354 | CC=$ac_cv_prog_CC | ||
3355 | if test -n "$CC"; then | ||
3356 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3357 | $as_echo "$CC" >&6; } | ||
3358 | else | ||
3359 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3360 | $as_echo "no" >&6; } | ||
3361 | fi | ||
3362 | |||
3363 | |||
3364 | test -n "$CC" && break | ||
3365 | done | ||
3366 | fi | ||
3367 | if test -z "$CC"; then | ||
3368 | ac_ct_CC=$CC | ||
3369 | for ac_prog in cl.exe | ||
3370 | do | ||
3371 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3372 | set dummy $ac_prog; ac_word=$2 | ||
3373 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3374 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3375 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3376 | $as_echo_n "(cached) " >&6 | ||
3377 | else | ||
3378 | if test -n "$ac_ct_CC"; then | ||
3379 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3380 | else | ||
3381 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3382 | for as_dir in $PATH | ||
3383 | do | ||
3384 | IFS=$as_save_IFS | ||
3385 | test -z "$as_dir" && as_dir=. | ||
3386 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3387 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3388 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
3389 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3390 | break 2 | ||
3391 | fi | ||
3392 | done | ||
3393 | done | ||
3394 | IFS=$as_save_IFS | ||
3395 | |||
3396 | fi | ||
3397 | fi | ||
3398 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3399 | if test -n "$ac_ct_CC"; then | ||
3400 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3401 | $as_echo "$ac_ct_CC" >&6; } | ||
3402 | else | ||
3403 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3404 | $as_echo "no" >&6; } | ||
3405 | fi | ||
3406 | |||
3407 | |||
3408 | test -n "$ac_ct_CC" && break | ||
3409 | done | ||
3410 | |||
3411 | if test "x$ac_ct_CC" = x; then | ||
3412 | CC="" | ||
3413 | else | ||
3414 | case $cross_compiling:$ac_tool_warned in | ||
3415 | yes:) | ||
3416 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
3417 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
3418 | ac_tool_warned=yes ;; | ||
3419 | esac | ||
3420 | CC=$ac_ct_CC | ||
3421 | fi | ||
3422 | fi | ||
3423 | |||
3424 | fi | ||
3425 | |||
3426 | |||
3427 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3428 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3429 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
3430 | See \`config.log' for more details." >&5 | ||
3431 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
3432 | See \`config.log' for more details." >&2;} | ||
3433 | { (exit 1); exit 1; }; }; } | ||
3434 | |||
3435 | # Provide some information about the compiler. | ||
3436 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | ||
3437 | set X $ac_compile | ||
3438 | ac_compiler=$2 | ||
3439 | { (ac_try="$ac_compiler --version >&5" | ||
3440 | case "(($ac_try" in | ||
3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3442 | *) ac_try_echo=$ac_try;; | ||
3443 | esac | ||
3444 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3445 | $as_echo "$ac_try_echo") >&5 | ||
3446 | (eval "$ac_compiler --version >&5") 2>&5 | ||
3447 | ac_status=$? | ||
3448 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3449 | (exit $ac_status); } | ||
3450 | { (ac_try="$ac_compiler -v >&5" | ||
3451 | case "(($ac_try" in | ||
3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3453 | *) ac_try_echo=$ac_try;; | ||
3454 | esac | ||
3455 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3456 | $as_echo "$ac_try_echo") >&5 | ||
3457 | (eval "$ac_compiler -v >&5") 2>&5 | ||
3458 | ac_status=$? | ||
3459 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3460 | (exit $ac_status); } | ||
3461 | { (ac_try="$ac_compiler -V >&5" | ||
3462 | case "(($ac_try" in | ||
3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3464 | *) ac_try_echo=$ac_try;; | ||
3465 | esac | ||
3466 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3467 | $as_echo "$ac_try_echo") >&5 | ||
3468 | (eval "$ac_compiler -V >&5") 2>&5 | ||
3469 | ac_status=$? | ||
3470 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3471 | (exit $ac_status); } | ||
3472 | |||
3473 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
3474 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||
3475 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
3476 | $as_echo_n "(cached) " >&6 | ||
3477 | else | ||
3478 | cat >conftest.$ac_ext <<_ACEOF | ||
3479 | /* confdefs.h. */ | ||
3480 | _ACEOF | ||
3481 | cat confdefs.h >>conftest.$ac_ext | ||
3482 | cat >>conftest.$ac_ext <<_ACEOF | ||
3483 | /* end confdefs.h. */ | ||
3484 | |||
3485 | int | ||
3486 | main () | ||
3487 | { | ||
3488 | #ifndef __GNUC__ | ||
3489 | choke me | ||
3490 | #endif | ||
3491 | |||
3492 | ; | ||
3493 | return 0; | ||
3494 | } | ||
3495 | _ACEOF | ||
3496 | rm -f conftest.$ac_objext | ||
3497 | if { (ac_try="$ac_compile" | ||
3498 | case "(($ac_try" in | ||
3499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3500 | *) ac_try_echo=$ac_try;; | ||
3501 | esac | ||
3502 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3503 | $as_echo "$ac_try_echo") >&5 | ||
3504 | (eval "$ac_compile") 2>conftest.er1 | ||
3505 | ac_status=$? | ||
3506 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3507 | rm -f conftest.er1 | ||
3508 | cat conftest.err >&5 | ||
3509 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3510 | (exit $ac_status); } && { | ||
3511 | test -z "$ac_c_werror_flag" || | ||
3512 | test ! -s conftest.err | ||
3513 | } && test -s conftest.$ac_objext; then | ||
3514 | ac_compiler_gnu=yes | ||
3515 | else | ||
3516 | $as_echo "$as_me: failed program was:" >&5 | ||
3517 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3518 | |||
3519 | ac_compiler_gnu=no | ||
3520 | fi | ||
3521 | |||
3522 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3523 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
3524 | |||
3525 | fi | ||
3526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
3527 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
3528 | if test $ac_compiler_gnu = yes; then | ||
3529 | GCC=yes | ||
3530 | else | ||
3531 | GCC= | ||
3532 | fi | ||
3533 | ac_test_CFLAGS=${CFLAGS+set} | ||
3534 | ac_save_CFLAGS=$CFLAGS | ||
3535 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
3536 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | ||
3537 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
3538 | $as_echo_n "(cached) " >&6 | ||
3539 | else | ||
3540 | ac_save_c_werror_flag=$ac_c_werror_flag | ||
3541 | ac_c_werror_flag=yes | ||
3542 | ac_cv_prog_cc_g=no | ||
3543 | CFLAGS="-g" | ||
3544 | cat >conftest.$ac_ext <<_ACEOF | ||
3545 | /* confdefs.h. */ | ||
3546 | _ACEOF | ||
3547 | cat confdefs.h >>conftest.$ac_ext | ||
3548 | cat >>conftest.$ac_ext <<_ACEOF | ||
3549 | /* end confdefs.h. */ | ||
3550 | |||
3551 | int | ||
3552 | main () | ||
3553 | { | ||
3554 | |||
3555 | ; | ||
3556 | return 0; | ||
3557 | } | ||
3558 | _ACEOF | ||
3559 | rm -f conftest.$ac_objext | ||
3560 | if { (ac_try="$ac_compile" | ||
3561 | case "(($ac_try" in | ||
3562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3563 | *) ac_try_echo=$ac_try;; | ||
3564 | esac | ||
3565 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3566 | $as_echo "$ac_try_echo") >&5 | ||
3567 | (eval "$ac_compile") 2>conftest.er1 | ||
3568 | ac_status=$? | ||
3569 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3570 | rm -f conftest.er1 | ||
3571 | cat conftest.err >&5 | ||
3572 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3573 | (exit $ac_status); } && { | ||
3574 | test -z "$ac_c_werror_flag" || | ||
3575 | test ! -s conftest.err | ||
3576 | } && test -s conftest.$ac_objext; then | ||
3577 | ac_cv_prog_cc_g=yes | ||
3578 | else | ||
3579 | $as_echo "$as_me: failed program was:" >&5 | ||
3580 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3581 | |||
3582 | CFLAGS="" | ||
3583 | cat >conftest.$ac_ext <<_ACEOF | ||
3584 | /* confdefs.h. */ | ||
3585 | _ACEOF | ||
3586 | cat confdefs.h >>conftest.$ac_ext | ||
3587 | cat >>conftest.$ac_ext <<_ACEOF | ||
3588 | /* end confdefs.h. */ | ||
3589 | |||
3590 | int | ||
3591 | main () | ||
3592 | { | ||
3593 | |||
3594 | ; | ||
3595 | return 0; | ||
3596 | } | ||
3597 | _ACEOF | ||
3598 | rm -f conftest.$ac_objext | ||
3599 | if { (ac_try="$ac_compile" | ||
3600 | case "(($ac_try" in | ||
3601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3602 | *) ac_try_echo=$ac_try;; | ||
3603 | esac | ||
3604 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3605 | $as_echo "$ac_try_echo") >&5 | ||
3606 | (eval "$ac_compile") 2>conftest.er1 | ||
3607 | ac_status=$? | ||
3608 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3609 | rm -f conftest.er1 | ||
3610 | cat conftest.err >&5 | ||
3611 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3612 | (exit $ac_status); } && { | ||
3613 | test -z "$ac_c_werror_flag" || | ||
3614 | test ! -s conftest.err | ||
3615 | } && test -s conftest.$ac_objext; then | ||
3616 | : | ||
3617 | else | ||
3618 | $as_echo "$as_me: failed program was:" >&5 | ||
3619 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3620 | |||
3621 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3622 | CFLAGS="-g" | ||
3623 | cat >conftest.$ac_ext <<_ACEOF | ||
3624 | /* confdefs.h. */ | ||
3625 | _ACEOF | ||
3626 | cat confdefs.h >>conftest.$ac_ext | ||
3627 | cat >>conftest.$ac_ext <<_ACEOF | ||
3628 | /* end confdefs.h. */ | ||
3629 | |||
3630 | int | ||
3631 | main () | ||
3632 | { | ||
3633 | |||
3634 | ; | ||
3635 | return 0; | ||
3636 | } | ||
3637 | _ACEOF | ||
3638 | rm -f conftest.$ac_objext | ||
3639 | if { (ac_try="$ac_compile" | ||
3640 | case "(($ac_try" in | ||
3641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3642 | *) ac_try_echo=$ac_try;; | ||
3643 | esac | ||
3644 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3645 | $as_echo "$ac_try_echo") >&5 | ||
3646 | (eval "$ac_compile") 2>conftest.er1 | ||
3647 | ac_status=$? | ||
3648 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3649 | rm -f conftest.er1 | ||
3650 | cat conftest.err >&5 | ||
3651 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3652 | (exit $ac_status); } && { | ||
3653 | test -z "$ac_c_werror_flag" || | ||
3654 | test ! -s conftest.err | ||
3655 | } && test -s conftest.$ac_objext; then | ||
3656 | ac_cv_prog_cc_g=yes | ||
3657 | else | ||
3658 | $as_echo "$as_me: failed program was:" >&5 | ||
3659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3660 | |||
3661 | |||
3662 | fi | ||
3663 | |||
3664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3665 | fi | ||
3666 | |||
3667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3668 | fi | ||
3669 | |||
3670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3671 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3672 | fi | ||
3673 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3674 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
3675 | if test "$ac_test_CFLAGS" = set; then | ||
3676 | CFLAGS=$ac_save_CFLAGS | ||
3677 | elif test $ac_cv_prog_cc_g = yes; then | ||
3678 | if test "$GCC" = yes; then | ||
3679 | CFLAGS="-g -O2" | ||
3680 | else | ||
3681 | CFLAGS="-g" | ||
3682 | fi | ||
3683 | else | ||
3684 | if test "$GCC" = yes; then | ||
3685 | CFLAGS="-O2" | ||
3686 | else | ||
3687 | CFLAGS= | ||
3688 | fi | ||
3689 | fi | ||
3690 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | ||
3691 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | ||
3692 | if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
3693 | $as_echo_n "(cached) " >&6 | ||
3694 | else | ||
3695 | ac_cv_prog_cc_c89=no | ||
3696 | ac_save_CC=$CC | ||
3697 | cat >conftest.$ac_ext <<_ACEOF | ||
3698 | /* confdefs.h. */ | ||
3699 | _ACEOF | ||
3700 | cat confdefs.h >>conftest.$ac_ext | ||
3701 | cat >>conftest.$ac_ext <<_ACEOF | ||
3702 | /* end confdefs.h. */ | ||
3703 | #include <stdarg.h> | ||
3704 | #include <stdio.h> | ||
3705 | #include <sys/types.h> | ||
3706 | #include <sys/stat.h> | ||
3707 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
3708 | struct buf { int x; }; | ||
3709 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3710 | static char *e (p, i) | ||
3711 | char **p; | ||
3712 | int i; | ||
3713 | { | ||
3714 | return p[i]; | ||
3715 | } | ||
3716 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
3717 | { | ||
3718 | char *s; | ||
3719 | va_list v; | ||
3720 | va_start (v,p); | ||
3721 | s = g (p, va_arg (v,int)); | ||
3722 | va_end (v); | ||
3723 | return s; | ||
3724 | } | ||
3725 | |||
3726 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
3727 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
3728 | These don't provoke an error unfortunately, instead are silently treated | ||
3729 | as 'x'. The following induces an error, until -std is added to get | ||
3730 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
3731 | array size at least. It's necessary to write '\x00'==0 to get something | ||
3732 | that's true only with -std. */ | ||
3733 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
3734 | |||
3735 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
3736 | inside strings and character constants. */ | ||
3737 | #define FOO(x) 'x' | ||
3738 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3739 | |||
3740 | int test (int i, double x); | ||
3741 | struct s1 {int (*f) (int a);}; | ||
3742 | struct s2 {int (*f) (double a);}; | ||
3743 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3744 | int argc; | ||
3745 | char **argv; | ||
3746 | int | ||
3747 | main () | ||
3748 | { | ||
3749 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3750 | ; | ||
3751 | return 0; | ||
3752 | } | ||
3753 | _ACEOF | ||
3754 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
3755 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3756 | do | ||
3757 | CC="$ac_save_CC $ac_arg" | ||
3758 | rm -f conftest.$ac_objext | ||
3759 | if { (ac_try="$ac_compile" | ||
3760 | case "(($ac_try" in | ||
3761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3762 | *) ac_try_echo=$ac_try;; | ||
3763 | esac | ||
3764 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3765 | $as_echo "$ac_try_echo") >&5 | ||
3766 | (eval "$ac_compile") 2>conftest.er1 | ||
3767 | ac_status=$? | ||
3768 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3769 | rm -f conftest.er1 | ||
3770 | cat conftest.err >&5 | ||
3771 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3772 | (exit $ac_status); } && { | ||
3773 | test -z "$ac_c_werror_flag" || | ||
3774 | test ! -s conftest.err | ||
3775 | } && test -s conftest.$ac_objext; then | ||
3776 | ac_cv_prog_cc_c89=$ac_arg | ||
3777 | else | ||
3778 | $as_echo "$as_me: failed program was:" >&5 | ||
3779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3780 | |||
3781 | |||
3782 | fi | ||
3783 | |||
3784 | rm -f core conftest.err conftest.$ac_objext | ||
3785 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
3786 | done | ||
3787 | rm -f conftest.$ac_ext | ||
3788 | CC=$ac_save_CC | ||
3789 | |||
3790 | fi | ||
3791 | # AC_CACHE_VAL | ||
3792 | case "x$ac_cv_prog_cc_c89" in | ||
3793 | x) | ||
3794 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 | ||
3795 | $as_echo "none needed" >&6; } ;; | ||
3796 | xno) | ||
3797 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | ||
3798 | $as_echo "unsupported" >&6; } ;; | ||
3799 | *) | ||
3800 | CC="$CC $ac_cv_prog_cc_c89" | ||
3801 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | ||
3802 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||
3803 | esac | ||
3804 | |||
3805 | |||
3806 | ac_ext=c | ||
3807 | ac_cpp='$CPP $CPPFLAGS' | ||
3808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3811 | |||
3812 | depcc="$CC" am_compiler_list= | ||
3813 | |||
3814 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | ||
3815 | $as_echo_n "checking dependency style of $depcc... " >&6; } | ||
3816 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
3817 | $as_echo_n "(cached) " >&6 | ||
3818 | else | ||
3819 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
3820 | # We make a subdir and do the tests there. Otherwise we can end up | ||
3821 | # making bogus files that we don't know about and never remove. For | ||
3822 | # instance it was reported that on HP-UX the gcc test will end up | ||
3823 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
3824 | # in D'. | ||
3825 | mkdir conftest.dir | ||
3826 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
3827 | # using a relative directory. | ||
3828 | cp "$am_depcomp" conftest.dir | ||
3829 | cd conftest.dir | ||
3830 | # We will build objects and dependencies in a subdirectory because | ||
3831 | # it helps to detect inapplicable dependency modes. For instance | ||
3832 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
3833 | # side effect of compilation, but ICC will put the dependencies in | ||
3834 | # the current directory while Tru64 will put them in the object | ||
3835 | # directory. | ||
3836 | mkdir sub | ||
3837 | |||
3838 | am_cv_CC_dependencies_compiler_type=none | ||
3839 | if test "$am_compiler_list" = ""; then | ||
3840 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
3841 | fi | ||
3842 | for depmode in $am_compiler_list; do | ||
3843 | # Setup a source with many dependencies, because some compilers | ||
3844 | # like to wrap large dependency lists on column 80 (with \), and | ||
3845 | # we should not choose a depcomp mode which is confused by this. | ||
3846 | # | ||
3847 | # We need to recreate these files for each test, as the compiler may | ||
3848 | # overwrite some of them when testing with obscure command lines. | ||
3849 | # This happens at least with the AIX C compiler. | ||
3850 | : > sub/conftest.c | ||
3851 | for i in 1 2 3 4 5 6; do | ||
3852 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
3853 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
3854 | # Solaris 8's {/usr,}/bin/sh. | ||
3855 | touch sub/conftst$i.h | ||
3856 | done | ||
3857 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
3858 | |||
3859 | case $depmode in | ||
3860 | nosideeffect) | ||
3861 | # after this tag, mechanisms are not by side-effect, so they'll | ||
3862 | # only be used when explicitly requested | ||
3863 | if test "x$enable_dependency_tracking" = xyes; then | ||
3864 | continue | ||
3865 | else | ||
3866 | break | ||
3867 | fi | ||
3868 | ;; | ||
3869 | none) break ;; | ||
3870 | esac | ||
3871 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
3872 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
3873 | # handle `-M -o', and we need to detect this. | ||
3874 | if depmode=$depmode \ | ||
3875 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | ||
3876 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
3877 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | ||
3878 | >/dev/null 2>conftest.err && | ||
3879 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
3880 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
3881 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | ||
3882 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
3883 | # icc doesn't choke on unknown options, it will just issue warnings | ||
3884 | # or remarks (even with -Werror). So we grep stderr for any message | ||
3885 | # that says an option was ignored or not supported. | ||
3886 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
3887 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
3888 | # The diagnosis changed in icc 8.0: | ||
3889 | # icc: Command line remark: option '-MP' not supported | ||
3890 | if (grep 'ignoring option' conftest.err || | ||
3891 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
3892 | am_cv_CC_dependencies_compiler_type=$depmode | ||
3893 | break | ||
3894 | fi | ||
3895 | fi | ||
3896 | done | ||
3897 | |||
3898 | cd .. | ||
3899 | rm -rf conftest.dir | ||
3900 | else | ||
3901 | am_cv_CC_dependencies_compiler_type=none | ||
3902 | fi | ||
3903 | |||
3904 | fi | ||
3905 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
3906 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
3907 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | ||
3908 | |||
3909 | if | ||
3910 | test "x$enable_dependency_tracking" != xno \ | ||
3911 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | ||
3912 | am__fastdepCC_TRUE= | ||
3913 | am__fastdepCC_FALSE='#' | ||
3914 | else | ||
3915 | am__fastdepCC_TRUE='#' | ||
3916 | am__fastdepCC_FALSE= | ||
3917 | fi | ||
3918 | |||
3919 | |||
3920 | |||
3921 | # Checks for libraries. | ||
3922 | |||
3923 | |||
3924 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
3925 | if test -n "$ac_tool_prefix"; then | ||
3926 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | ||
3927 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | ||
3928 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3929 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3930 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | ||
3931 | $as_echo_n "(cached) " >&6 | ||
3932 | else | ||
3933 | case $PKG_CONFIG in | ||
3934 | [\\/]* | ?:[\\/]*) | ||
3935 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | ||
3936 | ;; | ||
3937 | *) | ||
3938 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3939 | for as_dir in $PATH | ||
3940 | do | ||
3941 | IFS=$as_save_IFS | ||
3942 | test -z "$as_dir" && as_dir=. | ||
3943 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3944 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3945 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
3946 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3947 | break 2 | ||
3948 | fi | ||
3949 | done | ||
3950 | done | ||
3951 | IFS=$as_save_IFS | ||
3952 | |||
3953 | ;; | ||
3954 | esac | ||
3955 | fi | ||
3956 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | ||
3957 | if test -n "$PKG_CONFIG"; then | ||
3958 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | ||
3959 | $as_echo "$PKG_CONFIG" >&6; } | ||
3960 | else | ||
3961 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3962 | $as_echo "no" >&6; } | ||
3963 | fi | ||
3964 | |||
3965 | |||
3966 | fi | ||
3967 | if test -z "$ac_cv_path_PKG_CONFIG"; then | ||
3968 | ac_pt_PKG_CONFIG=$PKG_CONFIG | ||
3969 | # Extract the first word of "pkg-config", so it can be a program name with args. | ||
3970 | set dummy pkg-config; ac_word=$2 | ||
3971 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3972 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3973 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | ||
3974 | $as_echo_n "(cached) " >&6 | ||
3975 | else | ||
3976 | case $ac_pt_PKG_CONFIG in | ||
3977 | [\\/]* | ?:[\\/]*) | ||
3978 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | ||
3979 | ;; | ||
3980 | *) | ||
3981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3982 | for as_dir in $PATH | ||
3983 | do | ||
3984 | IFS=$as_save_IFS | ||
3985 | test -z "$as_dir" && as_dir=. | ||
3986 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3987 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3988 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
3989 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3990 | break 2 | ||
3991 | fi | ||
3992 | done | ||
3993 | done | ||
3994 | IFS=$as_save_IFS | ||
3995 | |||
3996 | ;; | ||
3997 | esac | ||
3998 | fi | ||
3999 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | ||
4000 | if test -n "$ac_pt_PKG_CONFIG"; then | ||
4001 | { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 | ||
4002 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } | ||
4003 | else | ||
4004 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4005 | $as_echo "no" >&6; } | ||
4006 | fi | ||
4007 | |||
4008 | if test "x$ac_pt_PKG_CONFIG" = x; then | ||
4009 | PKG_CONFIG="" | ||
4010 | else | ||
4011 | case $cross_compiling:$ac_tool_warned in | ||
4012 | yes:) | ||
4013 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
4014 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
4015 | ac_tool_warned=yes ;; | ||
4016 | esac | ||
4017 | PKG_CONFIG=$ac_pt_PKG_CONFIG | ||
4018 | fi | ||
4019 | else | ||
4020 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | ||
4021 | fi | ||
4022 | |||
4023 | fi | ||
4024 | if test -n "$PKG_CONFIG"; then | ||
4025 | _pkg_min_version=0.9.0 | ||
4026 | { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 | ||
4027 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | ||
4028 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
4029 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
4030 | $as_echo "yes" >&6; } | ||
4031 | else | ||
4032 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4033 | $as_echo "no" >&6; } | ||
4034 | PKG_CONFIG="" | ||
4035 | fi | ||
4036 | |||
4037 | fi | ||
4038 | |||
4039 | pkg_failed=no | ||
4040 | { $as_echo "$as_me:$LINENO: checking for SDL" >&5 | ||
4041 | $as_echo_n "checking for SDL... " >&6; } | ||
4042 | |||
4043 | if test -n "$PKG_CONFIG"; then | ||
4044 | if test -n "$SDL_CFLAGS"; then | ||
4045 | pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" | ||
4046 | else | ||
4047 | if test -n "$PKG_CONFIG" && \ | ||
4048 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5 | ||
4049 | ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5 | ||
4050 | ac_status=$? | ||
4051 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4052 | (exit $ac_status); }; then | ||
4053 | pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2" 2>/dev/null` | ||
4054 | else | ||
4055 | pkg_failed=yes | ||
4056 | fi | ||
4057 | fi | ||
4058 | else | ||
4059 | pkg_failed=untried | ||
4060 | fi | ||
4061 | if test -n "$PKG_CONFIG"; then | ||
4062 | if test -n "$SDL_LIBS"; then | ||
4063 | pkg_cv_SDL_LIBS="$SDL_LIBS" | ||
4064 | else | ||
4065 | if test -n "$PKG_CONFIG" && \ | ||
4066 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5 | ||
4067 | ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5 | ||
4068 | ac_status=$? | ||
4069 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4070 | (exit $ac_status); }; then | ||
4071 | pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2" 2>/dev/null` | ||
4072 | else | ||
4073 | pkg_failed=yes | ||
4074 | fi | ||
4075 | fi | ||
4076 | else | ||
4077 | pkg_failed=untried | ||
4078 | fi | ||
4079 | |||
4080 | |||
4081 | |||
4082 | if test $pkg_failed = yes; then | ||
4083 | |||
4084 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
4085 | _pkg_short_errors_supported=yes | ||
4086 | else | ||
4087 | _pkg_short_errors_supported=no | ||
4088 | fi | ||
4089 | if test $_pkg_short_errors_supported = yes; then | ||
4090 | SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2"` | ||
4091 | else | ||
4092 | SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2"` | ||
4093 | fi | ||
4094 | # Put the nasty error message in config.log where it belongs | ||
4095 | echo "$SDL_PKG_ERRORS" >&5 | ||
4096 | |||
4097 | { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2) were not met: | ||
4098 | |||
4099 | $SDL_PKG_ERRORS | ||
4100 | |||
4101 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4102 | installed software in a non-standard prefix. | ||
4103 | |||
4104 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4105 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4106 | See the pkg-config man page for more details. | ||
4107 | " >&5 | ||
4108 | $as_echo "$as_me: error: Package requirements (sdl >= 1.2) were not met: | ||
4109 | |||
4110 | $SDL_PKG_ERRORS | ||
4111 | |||
4112 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4113 | installed software in a non-standard prefix. | ||
4114 | |||
4115 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4116 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4117 | See the pkg-config man page for more details. | ||
4118 | " >&2;} | ||
4119 | { (exit 1); exit 1; }; } | ||
4120 | elif test $pkg_failed = untried; then | ||
4121 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
4122 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4123 | { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it | ||
4124 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4125 | path to pkg-config. | ||
4126 | |||
4127 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4128 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4129 | See the pkg-config man page for more details. | ||
4130 | |||
4131 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4132 | See \`config.log' for more details." >&5 | ||
4133 | $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it | ||
4134 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4135 | path to pkg-config. | ||
4136 | |||
4137 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4138 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4139 | See the pkg-config man page for more details. | ||
4140 | |||
4141 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4142 | See \`config.log' for more details." >&2;} | ||
4143 | { (exit 1); exit 1; }; }; } | ||
4144 | else | ||
4145 | SDL_CFLAGS=$pkg_cv_SDL_CFLAGS | ||
4146 | SDL_LIBS=$pkg_cv_SDL_LIBS | ||
4147 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
4148 | $as_echo "yes" >&6; } | ||
4149 | : | ||
4150 | fi | ||
4151 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
4152 | LDFLAGS="$SDL_LIBS" | ||
4153 | |||
4154 | # Checks for header files. | ||
4155 | |||
4156 | # Checks for typedefs, structures, and compiler characteristics. | ||
4157 | |||
4158 | ac_ext=c | ||
4159 | ac_cpp='$CPP $CPPFLAGS' | ||
4160 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4161 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4162 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
4163 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
4164 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | ||
4165 | # On Suns, sometimes $CPP names a directory. | ||
4166 | if test -n "$CPP" && test -d "$CPP"; then | ||
4167 | CPP= | ||
4168 | fi | ||
4169 | if test -z "$CPP"; then | ||
4170 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
4171 | $as_echo_n "(cached) " >&6 | ||
4172 | else | ||
4173 | # Double quotes because CPP needs to be expanded | ||
4174 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
4175 | do | ||
4176 | ac_preproc_ok=false | ||
4177 | for ac_c_preproc_warn_flag in '' yes | ||
4178 | do | ||
4179 | # Use a header file that comes with gcc, so configuring glibc | ||
4180 | # with a fresh cross-compiler works. | ||
4181 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4182 | # <limits.h> exists even on freestanding compilers. | ||
4183 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
4184 | # not just through cpp. "Syntax error" is here to catch this case. | ||
4185 | cat >conftest.$ac_ext <<_ACEOF | ||
4186 | /* confdefs.h. */ | ||
4187 | _ACEOF | ||
4188 | cat confdefs.h >>conftest.$ac_ext | ||
4189 | cat >>conftest.$ac_ext <<_ACEOF | ||
4190 | /* end confdefs.h. */ | ||
4191 | #ifdef __STDC__ | ||
4192 | # include <limits.h> | ||
4193 | #else | ||
4194 | # include <assert.h> | ||
4195 | #endif | ||
4196 | Syntax error | ||
4197 | _ACEOF | ||
4198 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4199 | case "(($ac_try" in | ||
4200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4201 | *) ac_try_echo=$ac_try;; | ||
4202 | esac | ||
4203 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4204 | $as_echo "$ac_try_echo") >&5 | ||
4205 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4206 | ac_status=$? | ||
4207 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4208 | rm -f conftest.er1 | ||
4209 | cat conftest.err >&5 | ||
4210 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4211 | (exit $ac_status); } >/dev/null && { | ||
4212 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4213 | test ! -s conftest.err | ||
4214 | }; then | ||
4215 | : | ||
4216 | else | ||
4217 | $as_echo "$as_me: failed program was:" >&5 | ||
4218 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4219 | |||
4220 | # Broken: fails on valid input. | ||
4221 | continue | ||
4222 | fi | ||
4223 | |||
4224 | rm -f conftest.err conftest.$ac_ext | ||
4225 | |||
4226 | # OK, works on sane cases. Now check whether nonexistent headers | ||
4227 | # can be detected and how. | ||
4228 | cat >conftest.$ac_ext <<_ACEOF | ||
4229 | /* confdefs.h. */ | ||
4230 | _ACEOF | ||
4231 | cat confdefs.h >>conftest.$ac_ext | ||
4232 | cat >>conftest.$ac_ext <<_ACEOF | ||
4233 | /* end confdefs.h. */ | ||
4234 | #include <ac_nonexistent.h> | ||
4235 | _ACEOF | ||
4236 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4237 | case "(($ac_try" in | ||
4238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4239 | *) ac_try_echo=$ac_try;; | ||
4240 | esac | ||
4241 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4242 | $as_echo "$ac_try_echo") >&5 | ||
4243 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4244 | ac_status=$? | ||
4245 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4246 | rm -f conftest.er1 | ||
4247 | cat conftest.err >&5 | ||
4248 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4249 | (exit $ac_status); } >/dev/null && { | ||
4250 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4251 | test ! -s conftest.err | ||
4252 | }; then | ||
4253 | # Broken: success on invalid input. | ||
4254 | continue | ||
4255 | else | ||
4256 | $as_echo "$as_me: failed program was:" >&5 | ||
4257 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4258 | |||
4259 | # Passes both tests. | ||
4260 | ac_preproc_ok=: | ||
4261 | break | ||
4262 | fi | ||
4263 | |||
4264 | rm -f conftest.err conftest.$ac_ext | ||
4265 | |||
4266 | done | ||
4267 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4268 | rm -f conftest.err conftest.$ac_ext | ||
4269 | if $ac_preproc_ok; then | ||
4270 | break | ||
4271 | fi | ||
4272 | |||
4273 | done | ||
4274 | ac_cv_prog_CPP=$CPP | ||
4275 | |||
4276 | fi | ||
4277 | CPP=$ac_cv_prog_CPP | ||
4278 | else | ||
4279 | ac_cv_prog_CPP=$CPP | ||
4280 | fi | ||
4281 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | ||
4282 | $as_echo "$CPP" >&6; } | ||
4283 | ac_preproc_ok=false | ||
4284 | for ac_c_preproc_warn_flag in '' yes | ||
4285 | do | ||
4286 | # Use a header file that comes with gcc, so configuring glibc | ||
4287 | # with a fresh cross-compiler works. | ||
4288 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4289 | # <limits.h> exists even on freestanding compilers. | ||
4290 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
4291 | # not just through cpp. "Syntax error" is here to catch this case. | ||
4292 | cat >conftest.$ac_ext <<_ACEOF | ||
4293 | /* confdefs.h. */ | ||
4294 | _ACEOF | ||
4295 | cat confdefs.h >>conftest.$ac_ext | ||
4296 | cat >>conftest.$ac_ext <<_ACEOF | ||
4297 | /* end confdefs.h. */ | ||
4298 | #ifdef __STDC__ | ||
4299 | # include <limits.h> | ||
4300 | #else | ||
4301 | # include <assert.h> | ||
4302 | #endif | ||
4303 | Syntax error | ||
4304 | _ACEOF | ||
4305 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4306 | case "(($ac_try" in | ||
4307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4308 | *) ac_try_echo=$ac_try;; | ||
4309 | esac | ||
4310 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4311 | $as_echo "$ac_try_echo") >&5 | ||
4312 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4313 | ac_status=$? | ||
4314 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4315 | rm -f conftest.er1 | ||
4316 | cat conftest.err >&5 | ||
4317 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4318 | (exit $ac_status); } >/dev/null && { | ||
4319 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4320 | test ! -s conftest.err | ||
4321 | }; then | ||
4322 | : | ||
4323 | else | ||
4324 | $as_echo "$as_me: failed program was:" >&5 | ||
4325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4326 | |||
4327 | # Broken: fails on valid input. | ||
4328 | continue | ||
4329 | fi | ||
4330 | |||
4331 | rm -f conftest.err conftest.$ac_ext | ||
4332 | |||
4333 | # OK, works on sane cases. Now check whether nonexistent headers | ||
4334 | # can be detected and how. | ||
4335 | cat >conftest.$ac_ext <<_ACEOF | ||
4336 | /* confdefs.h. */ | ||
4337 | _ACEOF | ||
4338 | cat confdefs.h >>conftest.$ac_ext | ||
4339 | cat >>conftest.$ac_ext <<_ACEOF | ||
4340 | /* end confdefs.h. */ | ||
4341 | #include <ac_nonexistent.h> | ||
4342 | _ACEOF | ||
4343 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4344 | case "(($ac_try" in | ||
4345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4346 | *) ac_try_echo=$ac_try;; | ||
4347 | esac | ||
4348 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4349 | $as_echo "$ac_try_echo") >&5 | ||
4350 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4351 | ac_status=$? | ||
4352 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4353 | rm -f conftest.er1 | ||
4354 | cat conftest.err >&5 | ||
4355 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4356 | (exit $ac_status); } >/dev/null && { | ||
4357 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4358 | test ! -s conftest.err | ||
4359 | }; then | ||
4360 | # Broken: success on invalid input. | ||
4361 | continue | ||
4362 | else | ||
4363 | $as_echo "$as_me: failed program was:" >&5 | ||
4364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4365 | |||
4366 | # Passes both tests. | ||
4367 | ac_preproc_ok=: | ||
4368 | break | ||
4369 | fi | ||
4370 | |||
4371 | rm -f conftest.err conftest.$ac_ext | ||
4372 | |||
4373 | done | ||
4374 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4375 | rm -f conftest.err conftest.$ac_ext | ||
4376 | if $ac_preproc_ok; then | ||
4377 | : | ||
4378 | else | ||
4379 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
4380 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4381 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
4382 | See \`config.log' for more details." >&5 | ||
4383 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
4384 | See \`config.log' for more details." >&2;} | ||
4385 | { (exit 1); exit 1; }; }; } | ||
4386 | fi | ||
4387 | |||
4388 | ac_ext=c | ||
4389 | ac_cpp='$CPP $CPPFLAGS' | ||
4390 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4391 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4392 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
4393 | |||
4394 | |||
4395 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | ||
4396 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||
4397 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4398 | $as_echo_n "(cached) " >&6 | ||
4399 | else | ||
4400 | if test -z "$GREP"; then | ||
4401 | ac_path_GREP_found=false | ||
4402 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
4403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4404 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4405 | do | ||
4406 | IFS=$as_save_IFS | ||
4407 | test -z "$as_dir" && as_dir=. | ||
4408 | for ac_prog in grep ggrep; do | ||
4409 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
4410 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4411 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | ||
4412 | # Check for GNU ac_path_GREP and select it if it is found. | ||
4413 | # Check for GNU $ac_path_GREP | ||
4414 | case `"$ac_path_GREP" --version 2>&1` in | ||
4415 | *GNU*) | ||
4416 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
4417 | *) | ||
4418 | ac_count=0 | ||
4419 | $as_echo_n 0123456789 >"conftest.in" | ||
4420 | while : | ||
4421 | do | ||
4422 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4423 | mv "conftest.tmp" "conftest.in" | ||
4424 | cp "conftest.in" "conftest.nl" | ||
4425 | $as_echo 'GREP' >> "conftest.nl" | ||
4426 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4427 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4428 | ac_count=`expr $ac_count + 1` | ||
4429 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
4430 | # Best one so far, save it but keep looking for a better one | ||
4431 | ac_cv_path_GREP="$ac_path_GREP" | ||
4432 | ac_path_GREP_max=$ac_count | ||
4433 | fi | ||
4434 | # 10*(2^10) chars as input seems more than enough | ||
4435 | test $ac_count -gt 10 && break | ||
4436 | done | ||
4437 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4438 | esac | ||
4439 | |||
4440 | $ac_path_GREP_found && break 3 | ||
4441 | done | ||
4442 | done | ||
4443 | done | ||
4444 | IFS=$as_save_IFS | ||
4445 | if test -z "$ac_cv_path_GREP"; then | ||
4446 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4447 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4448 | { (exit 1); exit 1; }; } | ||
4449 | fi | ||
4450 | else | ||
4451 | ac_cv_path_GREP=$GREP | ||
4452 | fi | ||
4453 | |||
4454 | fi | ||
4455 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | ||
4456 | $as_echo "$ac_cv_path_GREP" >&6; } | ||
4457 | GREP="$ac_cv_path_GREP" | ||
4458 | |||
4459 | |||
4460 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | ||
4461 | $as_echo_n "checking for egrep... " >&6; } | ||
4462 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4463 | $as_echo_n "(cached) " >&6 | ||
4464 | else | ||
4465 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
4466 | then ac_cv_path_EGREP="$GREP -E" | ||
4467 | else | ||
4468 | if test -z "$EGREP"; then | ||
4469 | ac_path_EGREP_found=false | ||
4470 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
4471 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4472 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4473 | do | ||
4474 | IFS=$as_save_IFS | ||
4475 | test -z "$as_dir" && as_dir=. | ||
4476 | for ac_prog in egrep; do | ||
4477 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
4478 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4479 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | ||
4480 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
4481 | # Check for GNU $ac_path_EGREP | ||
4482 | case `"$ac_path_EGREP" --version 2>&1` in | ||
4483 | *GNU*) | ||
4484 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
4485 | *) | ||
4486 | ac_count=0 | ||
4487 | $as_echo_n 0123456789 >"conftest.in" | ||
4488 | while : | ||
4489 | do | ||
4490 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4491 | mv "conftest.tmp" "conftest.in" | ||
4492 | cp "conftest.in" "conftest.nl" | ||
4493 | $as_echo 'EGREP' >> "conftest.nl" | ||
4494 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4495 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4496 | ac_count=`expr $ac_count + 1` | ||
4497 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
4498 | # Best one so far, save it but keep looking for a better one | ||
4499 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
4500 | ac_path_EGREP_max=$ac_count | ||
4501 | fi | ||
4502 | # 10*(2^10) chars as input seems more than enough | ||
4503 | test $ac_count -gt 10 && break | ||
4504 | done | ||
4505 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4506 | esac | ||
4507 | |||
4508 | $ac_path_EGREP_found && break 3 | ||
4509 | done | ||
4510 | done | ||
4511 | done | ||
4512 | IFS=$as_save_IFS | ||
4513 | if test -z "$ac_cv_path_EGREP"; then | ||
4514 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4515 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4516 | { (exit 1); exit 1; }; } | ||
4517 | fi | ||
4518 | else | ||
4519 | ac_cv_path_EGREP=$EGREP | ||
4520 | fi | ||
4521 | |||
4522 | fi | ||
4523 | fi | ||
4524 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | ||
4525 | $as_echo "$ac_cv_path_EGREP" >&6; } | ||
4526 | EGREP="$ac_cv_path_EGREP" | ||
4527 | |||
4528 | |||
4529 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
4530 | $as_echo_n "checking for ANSI C header files... " >&6; } | ||
4531 | if test "${ac_cv_header_stdc+set}" = set; then | ||
4532 | $as_echo_n "(cached) " >&6 | ||
4533 | else | ||
4534 | cat >conftest.$ac_ext <<_ACEOF | ||
4535 | /* confdefs.h. */ | ||
4536 | _ACEOF | ||
4537 | cat confdefs.h >>conftest.$ac_ext | ||
4538 | cat >>conftest.$ac_ext <<_ACEOF | ||
4539 | /* end confdefs.h. */ | ||
4540 | #include <stdlib.h> | ||
4541 | #include <stdarg.h> | ||
4542 | #include <string.h> | ||
4543 | #include <float.h> | ||
4544 | |||
4545 | int | ||
4546 | main () | ||
4547 | { | ||
4548 | |||
4549 | ; | ||
4550 | return 0; | ||
4551 | } | ||
4552 | _ACEOF | ||
4553 | rm -f conftest.$ac_objext | ||
4554 | if { (ac_try="$ac_compile" | ||
4555 | case "(($ac_try" in | ||
4556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4557 | *) ac_try_echo=$ac_try;; | ||
4558 | esac | ||
4559 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4560 | $as_echo "$ac_try_echo") >&5 | ||
4561 | (eval "$ac_compile") 2>conftest.er1 | ||
4562 | ac_status=$? | ||
4563 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4564 | rm -f conftest.er1 | ||
4565 | cat conftest.err >&5 | ||
4566 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4567 | (exit $ac_status); } && { | ||
4568 | test -z "$ac_c_werror_flag" || | ||
4569 | test ! -s conftest.err | ||
4570 | } && test -s conftest.$ac_objext; then | ||
4571 | ac_cv_header_stdc=yes | ||
4572 | else | ||
4573 | $as_echo "$as_me: failed program was:" >&5 | ||
4574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4575 | |||
4576 | ac_cv_header_stdc=no | ||
4577 | fi | ||
4578 | |||
4579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4580 | |||
4581 | if test $ac_cv_header_stdc = yes; then | ||
4582 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
4583 | cat >conftest.$ac_ext <<_ACEOF | ||
4584 | /* confdefs.h. */ | ||
4585 | _ACEOF | ||
4586 | cat confdefs.h >>conftest.$ac_ext | ||
4587 | cat >>conftest.$ac_ext <<_ACEOF | ||
4588 | /* end confdefs.h. */ | ||
4589 | #include <string.h> | ||
4590 | |||
4591 | _ACEOF | ||
4592 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4593 | $EGREP "memchr" >/dev/null 2>&1; then | ||
4594 | : | ||
4595 | else | ||
4596 | ac_cv_header_stdc=no | ||
4597 | fi | ||
4598 | rm -f conftest* | ||
4599 | |||
4600 | fi | ||
4601 | |||
4602 | if test $ac_cv_header_stdc = yes; then | ||
4603 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
4604 | cat >conftest.$ac_ext <<_ACEOF | ||
4605 | /* confdefs.h. */ | ||
4606 | _ACEOF | ||
4607 | cat confdefs.h >>conftest.$ac_ext | ||
4608 | cat >>conftest.$ac_ext <<_ACEOF | ||
4609 | /* end confdefs.h. */ | ||
4610 | #include <stdlib.h> | ||
4611 | |||
4612 | _ACEOF | ||
4613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4614 | $EGREP "free" >/dev/null 2>&1; then | ||
4615 | : | ||
4616 | else | ||
4617 | ac_cv_header_stdc=no | ||
4618 | fi | ||
4619 | rm -f conftest* | ||
4620 | |||
4621 | fi | ||
4622 | |||
4623 | if test $ac_cv_header_stdc = yes; then | ||
4624 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
4625 | if test "$cross_compiling" = yes; then | ||
4626 | : | ||
4627 | else | ||
4628 | cat >conftest.$ac_ext <<_ACEOF | ||
4629 | /* confdefs.h. */ | ||
4630 | _ACEOF | ||
4631 | cat confdefs.h >>conftest.$ac_ext | ||
4632 | cat >>conftest.$ac_ext <<_ACEOF | ||
4633 | /* end confdefs.h. */ | ||
4634 | #include <ctype.h> | ||
4635 | #include <stdlib.h> | ||
4636 | #if ((' ' & 0x0FF) == 0x020) | ||
4637 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
4638 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
4639 | #else | ||
4640 | # define ISLOWER(c) \ | ||
4641 | (('a' <= (c) && (c) <= 'i') \ | ||
4642 | || ('j' <= (c) && (c) <= 'r') \ | ||
4643 | || ('s' <= (c) && (c) <= 'z')) | ||
4644 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
4645 | #endif | ||
4646 | |||
4647 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
4648 | int | ||
4649 | main () | ||
4650 | { | ||
4651 | int i; | ||
4652 | for (i = 0; i < 256; i++) | ||
4653 | if (XOR (islower (i), ISLOWER (i)) | ||
4654 | || toupper (i) != TOUPPER (i)) | ||
4655 | return 2; | ||
4656 | return 0; | ||
4657 | } | ||
4658 | _ACEOF | ||
4659 | rm -f conftest$ac_exeext | ||
4660 | if { (ac_try="$ac_link" | ||
4661 | case "(($ac_try" in | ||
4662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4663 | *) ac_try_echo=$ac_try;; | ||
4664 | esac | ||
4665 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4666 | $as_echo "$ac_try_echo") >&5 | ||
4667 | (eval "$ac_link") 2>&5 | ||
4668 | ac_status=$? | ||
4669 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4670 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
4671 | { (case "(($ac_try" in | ||
4672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4673 | *) ac_try_echo=$ac_try;; | ||
4674 | esac | ||
4675 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4676 | $as_echo "$ac_try_echo") >&5 | ||
4677 | (eval "$ac_try") 2>&5 | ||
4678 | ac_status=$? | ||
4679 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4680 | (exit $ac_status); }; }; then | ||
4681 | : | ||
4682 | else | ||
4683 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
4684 | $as_echo "$as_me: failed program was:" >&5 | ||
4685 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4686 | |||
4687 | ( exit $ac_status ) | ||
4688 | ac_cv_header_stdc=no | ||
4689 | fi | ||
4690 | rm -rf conftest.dSYM | ||
4691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4692 | fi | ||
4693 | |||
4694 | |||
4695 | fi | ||
4696 | fi | ||
4697 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
4698 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
4699 | if test $ac_cv_header_stdc = yes; then | ||
4700 | |||
4701 | cat >>confdefs.h <<\_ACEOF | ||
4702 | #define STDC_HEADERS 1 | ||
4703 | _ACEOF | ||
4704 | |||
4705 | fi | ||
4706 | |||
4707 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
4708 | |||
4709 | |||
4710 | |||
4711 | |||
4712 | |||
4713 | |||
4714 | |||
4715 | |||
4716 | |||
4717 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4718 | inttypes.h stdint.h unistd.h | ||
4719 | do | ||
4720 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
4721 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
4722 | $as_echo_n "checking for $ac_header... " >&6; } | ||
4723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4724 | $as_echo_n "(cached) " >&6 | ||
4725 | else | ||
4726 | cat >conftest.$ac_ext <<_ACEOF | ||
4727 | /* confdefs.h. */ | ||
4728 | _ACEOF | ||
4729 | cat confdefs.h >>conftest.$ac_ext | ||
4730 | cat >>conftest.$ac_ext <<_ACEOF | ||
4731 | /* end confdefs.h. */ | ||
4732 | $ac_includes_default | ||
4733 | |||
4734 | #include <$ac_header> | ||
4735 | _ACEOF | ||
4736 | rm -f conftest.$ac_objext | ||
4737 | if { (ac_try="$ac_compile" | ||
4738 | case "(($ac_try" in | ||
4739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4740 | *) ac_try_echo=$ac_try;; | ||
4741 | esac | ||
4742 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4743 | $as_echo "$ac_try_echo") >&5 | ||
4744 | (eval "$ac_compile") 2>conftest.er1 | ||
4745 | ac_status=$? | ||
4746 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4747 | rm -f conftest.er1 | ||
4748 | cat conftest.err >&5 | ||
4749 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4750 | (exit $ac_status); } && { | ||
4751 | test -z "$ac_c_werror_flag" || | ||
4752 | test ! -s conftest.err | ||
4753 | } && test -s conftest.$ac_objext; then | ||
4754 | eval "$as_ac_Header=yes" | ||
4755 | else | ||
4756 | $as_echo "$as_me: failed program was:" >&5 | ||
4757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4758 | |||
4759 | eval "$as_ac_Header=no" | ||
4760 | fi | ||
4761 | |||
4762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4763 | fi | ||
4764 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
4765 | $as_echo "$as_val"'` | ||
4766 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
4767 | $as_echo "$ac_res" >&6; } | ||
4768 | as_val=`eval 'as_val=${'$as_ac_Header'} | ||
4769 | $as_echo "$as_val"'` | ||
4770 | if test "x$as_val" = x""yes; then | ||
4771 | cat >>confdefs.h <<_ACEOF | ||
4772 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
4773 | _ACEOF | ||
4774 | |||
4775 | fi | ||
4776 | |||
4777 | done | ||
4778 | |||
4779 | |||
4780 | { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | ||
4781 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } | ||
4782 | if test "${ac_cv_header_stdbool_h+set}" = set; then | ||
4783 | $as_echo_n "(cached) " >&6 | ||
4784 | else | ||
4785 | cat >conftest.$ac_ext <<_ACEOF | ||
4786 | /* confdefs.h. */ | ||
4787 | _ACEOF | ||
4788 | cat confdefs.h >>conftest.$ac_ext | ||
4789 | cat >>conftest.$ac_ext <<_ACEOF | ||
4790 | /* end confdefs.h. */ | ||
4791 | |||
4792 | #include <stdbool.h> | ||
4793 | #ifndef bool | ||
4794 | "error: bool is not defined" | ||
4795 | #endif | ||
4796 | #ifndef false | ||
4797 | "error: false is not defined" | ||
4798 | #endif | ||
4799 | #if false | ||
4800 | "error: false is not 0" | ||
4801 | #endif | ||
4802 | #ifndef true | ||
4803 | "error: true is not defined" | ||
4804 | #endif | ||
4805 | #if true != 1 | ||
4806 | "error: true is not 1" | ||
4807 | #endif | ||
4808 | #ifndef __bool_true_false_are_defined | ||
4809 | "error: __bool_true_false_are_defined is not defined" | ||
4810 | #endif | ||
4811 | |||
4812 | struct s { _Bool s: 1; _Bool t; } s; | ||
4813 | |||
4814 | char a[true == 1 ? 1 : -1]; | ||
4815 | char b[false == 0 ? 1 : -1]; | ||
4816 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | ||
4817 | char d[(bool) 0.5 == true ? 1 : -1]; | ||
4818 | bool e = &s; | ||
4819 | char f[(_Bool) 0.0 == false ? 1 : -1]; | ||
4820 | char g[true]; | ||
4821 | char h[sizeof (_Bool)]; | ||
4822 | char i[sizeof s.t]; | ||
4823 | enum { j = false, k = true, l = false * true, m = true * 256 }; | ||
4824 | /* The following fails for | ||
4825 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ | ||
4826 | _Bool n[m]; | ||
4827 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | ||
4828 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | ||
4829 | # if defined __xlc__ || defined __GNUC__ | ||
4830 | /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 | ||
4831 | reported by James Lemley on 2005-10-05; see | ||
4832 | http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html | ||
4833 | This test is not quite right, since xlc is allowed to | ||
4834 | reject this program, as the initializer for xlcbug is | ||
4835 | not one of the forms that C requires support for. | ||
4836 | However, doing the test right would require a runtime | ||
4837 | test, and that would make cross-compilation harder. | ||
4838 | Let us hope that IBM fixes the xlc bug, and also adds | ||
4839 | support for this kind of constant expression. In the | ||
4840 | meantime, this test will reject xlc, which is OK, since | ||
4841 | our stdbool.h substitute should suffice. We also test | ||
4842 | this with GCC, where it should work, to detect more | ||
4843 | quickly whether someone messes up the test in the | ||
4844 | future. */ | ||
4845 | char digs[] = "0123456789"; | ||
4846 | int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); | ||
4847 | # endif | ||
4848 | /* Catch a bug in an HP-UX C compiler. See | ||
4849 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | ||
4850 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | ||
4851 | */ | ||
4852 | _Bool q = true; | ||
4853 | _Bool *pq = &q; | ||
4854 | |||
4855 | int | ||
4856 | main () | ||
4857 | { | ||
4858 | |||
4859 | *pq |= q; | ||
4860 | *pq |= ! q; | ||
4861 | /* Refer to every declared value, to avoid compiler optimizations. */ | ||
4862 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ||
4863 | + !m + !n + !o + !p + !q + !pq); | ||
4864 | |||
4865 | ; | ||
4866 | return 0; | ||
4867 | } | ||
4868 | _ACEOF | ||
4869 | rm -f conftest.$ac_objext | ||
4870 | if { (ac_try="$ac_compile" | ||
4871 | case "(($ac_try" in | ||
4872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4873 | *) ac_try_echo=$ac_try;; | ||
4874 | esac | ||
4875 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4876 | $as_echo "$ac_try_echo") >&5 | ||
4877 | (eval "$ac_compile") 2>conftest.er1 | ||
4878 | ac_status=$? | ||
4879 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4880 | rm -f conftest.er1 | ||
4881 | cat conftest.err >&5 | ||
4882 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4883 | (exit $ac_status); } && { | ||
4884 | test -z "$ac_c_werror_flag" || | ||
4885 | test ! -s conftest.err | ||
4886 | } && test -s conftest.$ac_objext; then | ||
4887 | ac_cv_header_stdbool_h=yes | ||
4888 | else | ||
4889 | $as_echo "$as_me: failed program was:" >&5 | ||
4890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4891 | |||
4892 | ac_cv_header_stdbool_h=no | ||
4893 | fi | ||
4894 | |||
4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4896 | fi | ||
4897 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | ||
4898 | $as_echo "$ac_cv_header_stdbool_h" >&6; } | ||
4899 | { $as_echo "$as_me:$LINENO: checking for _Bool" >&5 | ||
4900 | $as_echo_n "checking for _Bool... " >&6; } | ||
4901 | if test "${ac_cv_type__Bool+set}" = set; then | ||
4902 | $as_echo_n "(cached) " >&6 | ||
4903 | else | ||
4904 | ac_cv_type__Bool=no | ||
4905 | cat >conftest.$ac_ext <<_ACEOF | ||
4906 | /* confdefs.h. */ | ||
4907 | _ACEOF | ||
4908 | cat confdefs.h >>conftest.$ac_ext | ||
4909 | cat >>conftest.$ac_ext <<_ACEOF | ||
4910 | /* end confdefs.h. */ | ||
4911 | $ac_includes_default | ||
4912 | int | ||
4913 | main () | ||
4914 | { | ||
4915 | if (sizeof (_Bool)) | ||
4916 | return 0; | ||
4917 | ; | ||
4918 | return 0; | ||
4919 | } | ||
4920 | _ACEOF | ||
4921 | rm -f conftest.$ac_objext | ||
4922 | if { (ac_try="$ac_compile" | ||
4923 | case "(($ac_try" in | ||
4924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4925 | *) ac_try_echo=$ac_try;; | ||
4926 | esac | ||
4927 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4928 | $as_echo "$ac_try_echo") >&5 | ||
4929 | (eval "$ac_compile") 2>conftest.er1 | ||
4930 | ac_status=$? | ||
4931 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4932 | rm -f conftest.er1 | ||
4933 | cat conftest.err >&5 | ||
4934 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4935 | (exit $ac_status); } && { | ||
4936 | test -z "$ac_c_werror_flag" || | ||
4937 | test ! -s conftest.err | ||
4938 | } && test -s conftest.$ac_objext; then | ||
4939 | cat >conftest.$ac_ext <<_ACEOF | ||
4940 | /* confdefs.h. */ | ||
4941 | _ACEOF | ||
4942 | cat confdefs.h >>conftest.$ac_ext | ||
4943 | cat >>conftest.$ac_ext <<_ACEOF | ||
4944 | /* end confdefs.h. */ | ||
4945 | $ac_includes_default | ||
4946 | int | ||
4947 | main () | ||
4948 | { | ||
4949 | if (sizeof ((_Bool))) | ||
4950 | return 0; | ||
4951 | ; | ||
4952 | return 0; | ||
4953 | } | ||
4954 | _ACEOF | ||
4955 | rm -f conftest.$ac_objext | ||
4956 | if { (ac_try="$ac_compile" | ||
4957 | case "(($ac_try" in | ||
4958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4959 | *) ac_try_echo=$ac_try;; | ||
4960 | esac | ||
4961 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4962 | $as_echo "$ac_try_echo") >&5 | ||
4963 | (eval "$ac_compile") 2>conftest.er1 | ||
4964 | ac_status=$? | ||
4965 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4966 | rm -f conftest.er1 | ||
4967 | cat conftest.err >&5 | ||
4968 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4969 | (exit $ac_status); } && { | ||
4970 | test -z "$ac_c_werror_flag" || | ||
4971 | test ! -s conftest.err | ||
4972 | } && test -s conftest.$ac_objext; then | ||
4973 | : | ||
4974 | else | ||
4975 | $as_echo "$as_me: failed program was:" >&5 | ||
4976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4977 | |||
4978 | ac_cv_type__Bool=yes | ||
4979 | fi | ||
4980 | |||
4981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4982 | else | ||
4983 | $as_echo "$as_me: failed program was:" >&5 | ||
4984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4985 | |||
4986 | |||
4987 | fi | ||
4988 | |||
4989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4990 | fi | ||
4991 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | ||
4992 | $as_echo "$ac_cv_type__Bool" >&6; } | ||
4993 | if test "x$ac_cv_type__Bool" = x""yes; then | ||
4994 | |||
4995 | cat >>confdefs.h <<_ACEOF | ||
4996 | #define HAVE__BOOL 1 | ||
4997 | _ACEOF | ||
4998 | |||
4999 | |||
5000 | fi | ||
5001 | |||
5002 | if test $ac_cv_header_stdbool_h = yes; then | ||
5003 | |||
5004 | cat >>confdefs.h <<\_ACEOF | ||
5005 | #define HAVE_STDBOOL_H 1 | ||
5006 | _ACEOF | ||
5007 | |||
5008 | fi | ||
5009 | |||
5010 | |||
5011 | # Checks for library functions. | ||
5012 | |||
5013 | for ac_func in atexit | ||
5014 | do | ||
5015 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
5016 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
5017 | $as_echo_n "checking for $ac_func... " >&6; } | ||
5018 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5019 | $as_echo_n "(cached) " >&6 | ||
5020 | else | ||
5021 | cat >conftest.$ac_ext <<_ACEOF | ||
5022 | /* confdefs.h. */ | ||
5023 | _ACEOF | ||
5024 | cat confdefs.h >>conftest.$ac_ext | ||
5025 | cat >>conftest.$ac_ext <<_ACEOF | ||
5026 | /* end confdefs.h. */ | ||
5027 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
5028 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
5029 | #define $ac_func innocuous_$ac_func | ||
5030 | |||
5031 | /* System header to define __stub macros and hopefully few prototypes, | ||
5032 | which can conflict with char $ac_func (); below. | ||
5033 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
5034 | <limits.h> exists even on freestanding compilers. */ | ||
5035 | |||
5036 | #ifdef __STDC__ | ||
5037 | # include <limits.h> | ||
5038 | #else | ||
5039 | # include <assert.h> | ||
5040 | #endif | ||
5041 | |||
5042 | #undef $ac_func | ||
5043 | |||
5044 | /* Override any GCC internal prototype to avoid an error. | ||
5045 | Use char because int might match the return type of a GCC | ||
5046 | builtin and then its argument prototype would still apply. */ | ||
5047 | #ifdef __cplusplus | ||
5048 | extern "C" | ||
5049 | #endif | ||
5050 | char $ac_func (); | ||
5051 | /* The GNU C library defines this for functions which it implements | ||
5052 | to always fail with ENOSYS. Some functions are actually named | ||
5053 | something starting with __ and the normal name is an alias. */ | ||
5054 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
5055 | choke me | ||
5056 | #endif | ||
5057 | |||
5058 | int | ||
5059 | main () | ||
5060 | { | ||
5061 | return $ac_func (); | ||
5062 | ; | ||
5063 | return 0; | ||
5064 | } | ||
5065 | _ACEOF | ||
5066 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5067 | if { (ac_try="$ac_link" | ||
5068 | case "(($ac_try" in | ||
5069 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5070 | *) ac_try_echo=$ac_try;; | ||
5071 | esac | ||
5072 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
5073 | $as_echo "$ac_try_echo") >&5 | ||
5074 | (eval "$ac_link") 2>conftest.er1 | ||
5075 | ac_status=$? | ||
5076 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5077 | rm -f conftest.er1 | ||
5078 | cat conftest.err >&5 | ||
5079 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5080 | (exit $ac_status); } && { | ||
5081 | test -z "$ac_c_werror_flag" || | ||
5082 | test ! -s conftest.err | ||
5083 | } && test -s conftest$ac_exeext && { | ||
5084 | test "$cross_compiling" = yes || | ||
5085 | $as_test_x conftest$ac_exeext | ||
5086 | }; then | ||
5087 | eval "$as_ac_var=yes" | ||
5088 | else | ||
5089 | $as_echo "$as_me: failed program was:" >&5 | ||
5090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5091 | |||
5092 | eval "$as_ac_var=no" | ||
5093 | fi | ||
5094 | |||
5095 | rm -rf conftest.dSYM | ||
5096 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5097 | conftest$ac_exeext conftest.$ac_ext | ||
5098 | fi | ||
5099 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
5100 | $as_echo "$as_val"'` | ||
5101 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5102 | $as_echo "$ac_res" >&6; } | ||
5103 | as_val=`eval 'as_val=${'$as_ac_var'} | ||
5104 | $as_echo "$as_val"'` | ||
5105 | if test "x$as_val" = x""yes; then | ||
5106 | cat >>confdefs.h <<_ACEOF | ||
5107 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
5108 | _ACEOF | ||
5109 | |||
5110 | fi | ||
5111 | done | ||
5112 | |||
5113 | |||
5114 | ac_config_files="$ac_config_files Makefile src/Makefile" | ||
5115 | |||
5116 | cat >confcache <<\_ACEOF | ||
5117 | # This file is a shell script that caches the results of configure | ||
5118 | # tests run on this system so they can be shared between configure | ||
5119 | # scripts and configure runs, see configure's option --config-cache. | ||
5120 | # It is not useful on other systems. If it contains results you don't | ||
5121 | # want to keep, you may remove or edit it. | ||
5122 | # | ||
5123 | # config.status only pays attention to the cache file if you give it | ||
5124 | # the --recheck option to rerun configure. | ||
5125 | # | ||
5126 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
5127 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
5128 | # following values. | ||
5129 | |||
5130 | _ACEOF | ||
5131 | |||
5132 | # The following way of writing the cache mishandles newlines in values, | ||
5133 | # but we know of no workaround that is simple, portable, and efficient. | ||
5134 | # So, we kill variables containing newlines. | ||
5135 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
5136 | # and sets the high bit in the cache file unless we assign to the vars. | ||
5137 | ( | ||
5138 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
5139 | eval ac_val=\$$ac_var | ||
5140 | case $ac_val in #( | ||
5141 | *${as_nl}*) | ||
5142 | case $ac_var in #( | ||
5143 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | ||
5144 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
5145 | esac | ||
5146 | case $ac_var in #( | ||
5147 | _ | IFS | as_nl) ;; #( | ||
5148 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
5149 | *) $as_unset $ac_var ;; | ||
5150 | esac ;; | ||
5151 | esac | ||
5152 | done | ||
5153 | |||
5154 | (set) 2>&1 | | ||
5155 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | ||
5156 | *${as_nl}ac_space=\ *) | ||
5157 | # `set' does not quote correctly, so add quotes (double-quote | ||
5158 | # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
5159 | sed -n \ | ||
5160 | "s/'/'\\\\''/g; | ||
5161 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
5162 | ;; #( | ||
5163 | *) | ||
5164 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
5165 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
5166 | ;; | ||
5167 | esac | | ||
5168 | sort | ||
5169 | ) | | ||
5170 | sed ' | ||
5171 | /^ac_cv_env_/b end | ||
5172 | t clear | ||
5173 | :clear | ||
5174 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
5175 | t end | ||
5176 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
5177 | :end' >>confcache | ||
5178 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | ||
5179 | if test -w "$cache_file"; then | ||
5180 | test "x$cache_file" != "x/dev/null" && | ||
5181 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | ||
5182 | $as_echo "$as_me: updating cache $cache_file" >&6;} | ||
5183 | cat confcache >$cache_file | ||
5184 | else | ||
5185 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | ||
5186 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
5187 | fi | ||
5188 | fi | ||
5189 | rm -f confcache | ||
5190 | |||
5191 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
5192 | # Let make expand exec_prefix. | ||
5193 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
5194 | |||
5195 | DEFS=-DHAVE_CONFIG_H | ||
5196 | |||
5197 | ac_libobjs= | ||
5198 | ac_ltlibobjs= | ||
5199 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
5200 | # 1. Remove the extension, and $U if already installed. | ||
5201 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ||
5202 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | ||
5203 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | ||
5204 | # will be set to the directory where LIBOBJS objects are built. | ||
5205 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | ||
5206 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | ||
5207 | done | ||
5208 | LIBOBJS=$ac_libobjs | ||
5209 | |||
5210 | LTLIBOBJS=$ac_ltlibobjs | ||
5211 | |||
5212 | |||
5213 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
5214 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | ||
5215 | Usually this means the macro was only invoked conditionally." >&5 | ||
5216 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | ||
5217 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5218 | { (exit 1); exit 1; }; } | ||
5219 | fi | ||
5220 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | ||
5221 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | ||
5222 | Usually this means the macro was only invoked conditionally." >&5 | ||
5223 | $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | ||
5224 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5225 | { (exit 1); exit 1; }; } | ||
5226 | fi | ||
5227 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
5228 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | ||
5229 | Usually this means the macro was only invoked conditionally." >&5 | ||
5230 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | ||
5231 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5232 | { (exit 1); exit 1; }; } | ||
5233 | fi | ||
5234 | |||
5235 | : ${CONFIG_STATUS=./config.status} | ||
5236 | ac_write_fail=0 | ||
5237 | ac_clean_files_save=$ac_clean_files | ||
5238 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
5239 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
5240 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
5241 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5242 | #! $SHELL | ||
5243 | # Generated by $as_me. | ||
5244 | # Run this file to recreate the current configuration. | ||
5245 | # Compiler output produced by configure, useful for debugging | ||
5246 | # configure, is in config.log if it exists. | ||
5247 | |||
5248 | debug=false | ||
5249 | ac_cs_recheck=false | ||
5250 | ac_cs_silent=false | ||
5251 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
5252 | _ACEOF | ||
5253 | |||
5254 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5255 | ## --------------------- ## | ||
5256 | ## M4sh Initialization. ## | ||
5257 | ## --------------------- ## | ||
5258 | |||
5259 | # Be more Bourne compatible | ||
5260 | DUALCASE=1; export DUALCASE # for MKS sh | ||
5261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
5262 | emulate sh | ||
5263 | NULLCMD=: | ||
5264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
5265 | # is contrary to our usage. Disable this feature. | ||
5266 | alias -g '${1+"$@"}'='"$@"' | ||
5267 | setopt NO_GLOB_SUBST | ||
5268 | else | ||
5269 | case `(set -o) 2>/dev/null` in | ||
5270 | *posix*) set -o posix ;; | ||
5271 | esac | ||
5272 | |||
5273 | fi | ||
5274 | |||
5275 | |||
5276 | |||
5277 | |||
5278 | # PATH needs CR | ||
5279 | # Avoid depending upon Character Ranges. | ||
5280 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5281 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5282 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5283 | as_cr_digits='0123456789' | ||
5284 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5285 | |||
5286 | as_nl=' | ||
5287 | ' | ||
5288 | export as_nl | ||
5289 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
5290 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
5291 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5292 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5293 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
5294 | as_echo='printf %s\n' | ||
5295 | as_echo_n='printf %s' | ||
5296 | else | ||
5297 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
5298 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
5299 | as_echo_n='/usr/ucb/echo -n' | ||
5300 | else | ||
5301 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
5302 | as_echo_n_body='eval | ||
5303 | arg=$1; | ||
5304 | case $arg in | ||
5305 | *"$as_nl"*) | ||
5306 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
5307 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
5308 | esac; | ||
5309 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
5310 | ' | ||
5311 | export as_echo_n_body | ||
5312 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
5313 | fi | ||
5314 | export as_echo_body | ||
5315 | as_echo='sh -c $as_echo_body as_echo' | ||
5316 | fi | ||
5317 | |||
5318 | # The user is always right. | ||
5319 | if test "${PATH_SEPARATOR+set}" != set; then | ||
5320 | PATH_SEPARATOR=: | ||
5321 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
5322 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
5323 | PATH_SEPARATOR=';' | ||
5324 | } | ||
5325 | fi | ||
5326 | |||
5327 | # Support unset when possible. | ||
5328 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5329 | as_unset=unset | ||
5330 | else | ||
5331 | as_unset=false | ||
5332 | fi | ||
5333 | |||
5334 | |||
5335 | # IFS | ||
5336 | # We need space, tab and new line, in precisely that order. Quoting is | ||
5337 | # there to prevent editors from complaining about space-tab. | ||
5338 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
5339 | # splitting by setting IFS to empty value.) | ||
5340 | IFS=" "" $as_nl" | ||
5341 | |||
5342 | # Find who we are. Look in the path if we contain no directory separator. | ||
5343 | case $0 in | ||
5344 | *[\\/]* ) as_myself=$0 ;; | ||
5345 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5346 | for as_dir in $PATH | ||
5347 | do | ||
5348 | IFS=$as_save_IFS | ||
5349 | test -z "$as_dir" && as_dir=. | ||
5350 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5351 | done | ||
5352 | IFS=$as_save_IFS | ||
5353 | |||
5354 | ;; | ||
5355 | esac | ||
5356 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
5357 | # in which case we are not to be found in the path. | ||
5358 | if test "x$as_myself" = x; then | ||
5359 | as_myself=$0 | ||
5360 | fi | ||
5361 | if test ! -f "$as_myself"; then | ||
5362 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
5363 | { (exit 1); exit 1; } | ||
5364 | fi | ||
5365 | |||
5366 | # Work around bugs in pre-3.0 UWIN ksh. | ||
5367 | for as_var in ENV MAIL MAILPATH | ||
5368 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
5369 | done | ||
5370 | PS1='$ ' | ||
5371 | PS2='> ' | ||
5372 | PS4='+ ' | ||
5373 | |||
5374 | # NLS nuisances. | ||
5375 | LC_ALL=C | ||
5376 | export LC_ALL | ||
5377 | LANGUAGE=C | ||
5378 | export LANGUAGE | ||
5379 | |||
5380 | # Required to use basename. | ||
5381 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5383 | as_expr=expr | ||
5384 | else | ||
5385 | as_expr=false | ||
5386 | fi | ||
5387 | |||
5388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
5389 | as_basename=basename | ||
5390 | else | ||
5391 | as_basename=false | ||
5392 | fi | ||
5393 | |||
5394 | |||
5395 | # Name of the executable. | ||
5396 | as_me=`$as_basename -- "$0" || | ||
5397 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
5398 | X"$0" : 'X\(//\)$' \| \ | ||
5399 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
5400 | $as_echo X/"$0" | | ||
5401 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
5402 | s//\1/ | ||
5403 | q | ||
5404 | } | ||
5405 | /^X\/\(\/\/\)$/{ | ||
5406 | s//\1/ | ||
5407 | q | ||
5408 | } | ||
5409 | /^X\/\(\/\).*/{ | ||
5410 | s//\1/ | ||
5411 | q | ||
5412 | } | ||
5413 | s/.*/./; q'` | ||
5414 | |||
5415 | # CDPATH. | ||
5416 | $as_unset CDPATH | ||
5417 | |||
5418 | |||
5419 | |||
5420 | as_lineno_1=$LINENO | ||
5421 | as_lineno_2=$LINENO | ||
5422 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
5423 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
5424 | |||
5425 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
5426 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
5427 | # line-number line after each line using $LINENO; the second 'sed' | ||
5428 | # does the real work. The second script uses 'N' to pair each | ||
5429 | # line-number line with the line containing $LINENO, and appends | ||
5430 | # trailing '-' during substitution so that $LINENO is not a special | ||
5431 | # case at line end. | ||
5432 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
5433 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
5434 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
5435 | sed -n ' | ||
5436 | p | ||
5437 | /[$]LINENO/= | ||
5438 | ' <$as_myself | | ||
5439 | sed ' | ||
5440 | s/[$]LINENO.*/&-/ | ||
5441 | t lineno | ||
5442 | b | ||
5443 | :lineno | ||
5444 | N | ||
5445 | :loop | ||
5446 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
5447 | t loop | ||
5448 | s/-\n.*// | ||
5449 | ' >$as_me.lineno && | ||
5450 | chmod +x "$as_me.lineno" || | ||
5451 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
5452 | { (exit 1); exit 1; }; } | ||
5453 | |||
5454 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
5455 | # (the dirname of $[0] is not the place where we might find the | ||
5456 | # original and so on. Autoconf is especially sensitive to this). | ||
5457 | . "./$as_me.lineno" | ||
5458 | # Exit status is that of the last command. | ||
5459 | exit | ||
5460 | } | ||
5461 | |||
5462 | |||
5463 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
5464 | as_dirname=dirname | ||
5465 | else | ||
5466 | as_dirname=false | ||
5467 | fi | ||
5468 | |||
5469 | ECHO_C= ECHO_N= ECHO_T= | ||
5470 | case `echo -n x` in | ||
5471 | -n*) | ||
5472 | case `echo 'x\c'` in | ||
5473 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
5474 | *) ECHO_C='\c';; | ||
5475 | esac;; | ||
5476 | *) | ||
5477 | ECHO_N='-n';; | ||
5478 | esac | ||
5479 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5480 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5481 | as_expr=expr | ||
5482 | else | ||
5483 | as_expr=false | ||
5484 | fi | ||
5485 | |||
5486 | rm -f conf$$ conf$$.exe conf$$.file | ||
5487 | if test -d conf$$.dir; then | ||
5488 | rm -f conf$$.dir/conf$$.file | ||
5489 | else | ||
5490 | rm -f conf$$.dir | ||
5491 | mkdir conf$$.dir 2>/dev/null | ||
5492 | fi | ||
5493 | if (echo >conf$$.file) 2>/dev/null; then | ||
5494 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
5495 | as_ln_s='ln -s' | ||
5496 | # ... but there are two gotchas: | ||
5497 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
5498 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
5499 | # In both cases, we have to default to `cp -p'. | ||
5500 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
5501 | as_ln_s='cp -p' | ||
5502 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
5503 | as_ln_s=ln | ||
5504 | else | ||
5505 | as_ln_s='cp -p' | ||
5506 | fi | ||
5507 | else | ||
5508 | as_ln_s='cp -p' | ||
5509 | fi | ||
5510 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
5511 | rmdir conf$$.dir 2>/dev/null | ||
5512 | |||
5513 | if mkdir -p . 2>/dev/null; then | ||
5514 | as_mkdir_p=: | ||
5515 | else | ||
5516 | test -d ./-p && rmdir ./-p | ||
5517 | as_mkdir_p=false | ||
5518 | fi | ||
5519 | |||
5520 | if test -x / >/dev/null 2>&1; then | ||
5521 | as_test_x='test -x' | ||
5522 | else | ||
5523 | if ls -dL / >/dev/null 2>&1; then | ||
5524 | as_ls_L_option=L | ||
5525 | else | ||
5526 | as_ls_L_option= | ||
5527 | fi | ||
5528 | as_test_x=' | ||
5529 | eval sh -c '\'' | ||
5530 | if test -d "$1"; then | ||
5531 | test -d "$1/."; | ||
5532 | else | ||
5533 | case $1 in | ||
5534 | -*)set "./$1";; | ||
5535 | esac; | ||
5536 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
5537 | ???[sx]*):;;*)false;;esac;fi | ||
5538 | '\'' sh | ||
5539 | ' | ||
5540 | fi | ||
5541 | as_executable_p=$as_test_x | ||
5542 | |||
5543 | # Sed expression to map a string onto a valid CPP name. | ||
5544 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
5545 | |||
5546 | # Sed expression to map a string onto a valid variable name. | ||
5547 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5548 | |||
5549 | |||
5550 | exec 6>&1 | ||
5551 | |||
5552 | # Save the log message, to keep $[0] and so on meaningful, and to | ||
5553 | # report actual input values of CONFIG_FILES etc. instead of their | ||
5554 | # values after options handling. | ||
5555 | ac_log=" | ||
5556 | This file was extended by Maze Of Life $as_me 2.0, which was | ||
5557 | generated by GNU Autoconf 2.63. Invocation command line was | ||
5558 | |||
5559 | CONFIG_FILES = $CONFIG_FILES | ||
5560 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
5561 | CONFIG_LINKS = $CONFIG_LINKS | ||
5562 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
5563 | $ $0 $@ | ||
5564 | |||
5565 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5566 | " | ||
5567 | |||
5568 | _ACEOF | ||
5569 | |||
5570 | case $ac_config_files in *" | ||
5571 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
5572 | esac | ||
5573 | |||
5574 | case $ac_config_headers in *" | ||
5575 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
5576 | esac | ||
5577 | |||
5578 | |||
5579 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5580 | # Files that config.status was made for. | ||
5581 | config_files="$ac_config_files" | ||
5582 | config_headers="$ac_config_headers" | ||
5583 | config_commands="$ac_config_commands" | ||
5584 | |||
5585 | _ACEOF | ||
5586 | |||
5587 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5588 | ac_cs_usage="\ | ||
5589 | \`$as_me' instantiates files from templates according to the | ||
5590 | current configuration. | ||
5591 | |||
5592 | Usage: $0 [OPTION]... [FILE]... | ||
5593 | |||
5594 | -h, --help print this help, then exit | ||
5595 | -V, --version print version number and configuration settings, then exit | ||
5596 | -q, --quiet, --silent | ||
5597 | do not print progress messages | ||
5598 | -d, --debug don't remove temporary files | ||
5599 | --recheck update $as_me by reconfiguring in the same conditions | ||
5600 | --file=FILE[:TEMPLATE] | ||
5601 | instantiate the configuration file FILE | ||
5602 | --header=FILE[:TEMPLATE] | ||
5603 | instantiate the configuration header FILE | ||
5604 | |||
5605 | Configuration files: | ||
5606 | $config_files | ||
5607 | |||
5608 | Configuration headers: | ||
5609 | $config_headers | ||
5610 | |||
5611 | Configuration commands: | ||
5612 | $config_commands | ||
5613 | |||
5614 | Report bugs to <bug-autoconf@gnu.org>." | ||
5615 | |||
5616 | _ACEOF | ||
5617 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5618 | ac_cs_version="\\ | ||
5619 | Maze Of Life config.status 2.0 | ||
5620 | configured by $0, generated by GNU Autoconf 2.63, | ||
5621 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
5622 | |||
5623 | Copyright (C) 2008 Free Software Foundation, Inc. | ||
5624 | This config.status script is free software; the Free Software Foundation | ||
5625 | gives unlimited permission to copy, distribute and modify it." | ||
5626 | |||
5627 | ac_pwd='$ac_pwd' | ||
5628 | srcdir='$srcdir' | ||
5629 | INSTALL='$INSTALL' | ||
5630 | MKDIR_P='$MKDIR_P' | ||
5631 | AWK='$AWK' | ||
5632 | test -n "\$AWK" || AWK=awk | ||
5633 | _ACEOF | ||
5634 | |||
5635 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5636 | # The default lists apply if the user does not specify any file. | ||
5637 | ac_need_defaults=: | ||
5638 | while test $# != 0 | ||
5639 | do | ||
5640 | case $1 in | ||
5641 | --*=*) | ||
5642 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
5643 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | ||
5644 | ac_shift=: | ||
5645 | ;; | ||
5646 | *) | ||
5647 | ac_option=$1 | ||
5648 | ac_optarg=$2 | ||
5649 | ac_shift=shift | ||
5650 | ;; | ||
5651 | esac | ||
5652 | |||
5653 | case $ac_option in | ||
5654 | # Handling of the options. | ||
5655 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
5656 | ac_cs_recheck=: ;; | ||
5657 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | ||
5658 | $as_echo "$ac_cs_version"; exit ;; | ||
5659 | --debug | --debu | --deb | --de | --d | -d ) | ||
5660 | debug=: ;; | ||
5661 | --file | --fil | --fi | --f ) | ||
5662 | $ac_shift | ||
5663 | case $ac_optarg in | ||
5664 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
5665 | esac | ||
5666 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | ||
5667 | ac_need_defaults=false;; | ||
5668 | --header | --heade | --head | --hea ) | ||
5669 | $ac_shift | ||
5670 | case $ac_optarg in | ||
5671 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
5672 | esac | ||
5673 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | ||
5674 | ac_need_defaults=false;; | ||
5675 | --he | --h) | ||
5676 | # Conflict between --help and --header | ||
5677 | { $as_echo "$as_me: error: ambiguous option: $1 | ||
5678 | Try \`$0 --help' for more information." >&2 | ||
5679 | { (exit 1); exit 1; }; };; | ||
5680 | --help | --hel | -h ) | ||
5681 | $as_echo "$ac_cs_usage"; exit ;; | ||
5682 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
5683 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
5684 | ac_cs_silent=: ;; | ||
5685 | |||
5686 | # This is an error. | ||
5687 | -*) { $as_echo "$as_me: error: unrecognized option: $1 | ||
5688 | Try \`$0 --help' for more information." >&2 | ||
5689 | { (exit 1); exit 1; }; } ;; | ||
5690 | |||
5691 | *) ac_config_targets="$ac_config_targets $1" | ||
5692 | ac_need_defaults=false ;; | ||
5693 | |||
5694 | esac | ||
5695 | shift | ||
5696 | done | ||
5697 | |||
5698 | ac_configure_extra_args= | ||
5699 | |||
5700 | if $ac_cs_silent; then | ||
5701 | exec 6>/dev/null | ||
5702 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
5703 | fi | ||
5704 | |||
5705 | _ACEOF | ||
5706 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5707 | if \$ac_cs_recheck; then | ||
5708 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
5709 | shift | ||
5710 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
5711 | CONFIG_SHELL='$SHELL' | ||
5712 | export CONFIG_SHELL | ||
5713 | exec "\$@" | ||
5714 | fi | ||
5715 | |||
5716 | _ACEOF | ||
5717 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5718 | exec 5>>config.log | ||
5719 | { | ||
5720 | echo | ||
5721 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
5722 | ## Running $as_me. ## | ||
5723 | _ASBOX | ||
5724 | $as_echo "$ac_log" | ||
5725 | } >&5 | ||
5726 | |||
5727 | _ACEOF | ||
5728 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5729 | # | ||
5730 | # INIT-COMMANDS | ||
5731 | # | ||
5732 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
5733 | |||
5734 | _ACEOF | ||
5735 | |||
5736 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5737 | |||
5738 | # Handling of arguments. | ||
5739 | for ac_config_target in $ac_config_targets | ||
5740 | do | ||
5741 | case $ac_config_target in | ||
5742 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | ||
5743 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | ||
5744 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
5745 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | ||
5746 | |||
5747 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
5748 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
5749 | { (exit 1); exit 1; }; };; | ||
5750 | esac | ||
5751 | done | ||
5752 | |||
5753 | |||
5754 | # If the user did not use the arguments to specify the items to instantiate, | ||
5755 | # then the envvar interface is used. Set only those that are not. | ||
5756 | # We use the long form for the default assignment because of an extremely | ||
5757 | # bizarre bug on SunOS 4.1.3. | ||
5758 | if $ac_need_defaults; then | ||
5759 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
5760 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | ||
5761 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | ||
5762 | fi | ||
5763 | |||
5764 | # Have a temporary directory for convenience. Make it in the build tree | ||
5765 | # simply because there is no reason against having it here, and in addition, | ||
5766 | # creating and moving files from /tmp can sometimes cause problems. | ||
5767 | # Hook for its removal unless debugging. | ||
5768 | # Note that there is a small window in which the directory will not be cleaned: | ||
5769 | # after its creation but before its name has been assigned to `$tmp'. | ||
5770 | $debug || | ||
5771 | { | ||
5772 | tmp= | ||
5773 | trap 'exit_status=$? | ||
5774 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | ||
5775 | ' 0 | ||
5776 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
5777 | } | ||
5778 | # Create a (secure) tmp directory for tmp files. | ||
5779 | |||
5780 | { | ||
5781 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | ||
5782 | test -n "$tmp" && test -d "$tmp" | ||
5783 | } || | ||
5784 | { | ||
5785 | tmp=./conf$$-$RANDOM | ||
5786 | (umask 077 && mkdir "$tmp") | ||
5787 | } || | ||
5788 | { | ||
5789 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | ||
5790 | { (exit 1); exit 1; } | ||
5791 | } | ||
5792 | |||
5793 | # Set up the scripts for CONFIG_FILES section. | ||
5794 | # No need to generate them if there are no CONFIG_FILES. | ||
5795 | # This happens for instance with `./config.status config.h'. | ||
5796 | if test -n "$CONFIG_FILES"; then | ||
5797 | |||
5798 | |||
5799 | ac_cr=' ' | ||
5800 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
5801 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
5802 | ac_cs_awk_cr='\\r' | ||
5803 | else | ||
5804 | ac_cs_awk_cr=$ac_cr | ||
5805 | fi | ||
5806 | |||
5807 | echo 'BEGIN {' >"$tmp/subs1.awk" && | ||
5808 | _ACEOF | ||
5809 | |||
5810 | |||
5811 | { | ||
5812 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
5813 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
5814 | echo "_ACEOF" | ||
5815 | } >conf$$subs.sh || | ||
5816 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
5817 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
5818 | { (exit 1); exit 1; }; } | ||
5819 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ||
5820 | ac_delim='%!_!# ' | ||
5821 | for ac_last_try in false false false false false :; do | ||
5822 | . ./conf$$subs.sh || | ||
5823 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
5824 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
5825 | { (exit 1); exit 1; }; } | ||
5826 | |||
5827 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | ||
5828 | if test $ac_delim_n = $ac_delim_num; then | ||
5829 | break | ||
5830 | elif $ac_last_try; then | ||
5831 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
5832 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
5833 | { (exit 1); exit 1; }; } | ||
5834 | else | ||
5835 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
5836 | fi | ||
5837 | done | ||
5838 | rm -f conf$$subs.sh | ||
5839 | |||
5840 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5841 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | ||
5842 | _ACEOF | ||
5843 | sed -n ' | ||
5844 | h | ||
5845 | s/^/S["/; s/!.*/"]=/ | ||
5846 | p | ||
5847 | g | ||
5848 | s/^[^!]*!// | ||
5849 | :repl | ||
5850 | t repl | ||
5851 | s/'"$ac_delim"'$// | ||
5852 | t delim | ||
5853 | :nl | ||
5854 | h | ||
5855 | s/\(.\{148\}\).*/\1/ | ||
5856 | t more1 | ||
5857 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
5858 | p | ||
5859 | n | ||
5860 | b repl | ||
5861 | :more1 | ||
5862 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5863 | p | ||
5864 | g | ||
5865 | s/.\{148\}// | ||
5866 | t nl | ||
5867 | :delim | ||
5868 | h | ||
5869 | s/\(.\{148\}\).*/\1/ | ||
5870 | t more2 | ||
5871 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
5872 | p | ||
5873 | b | ||
5874 | :more2 | ||
5875 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5876 | p | ||
5877 | g | ||
5878 | s/.\{148\}// | ||
5879 | t delim | ||
5880 | ' <conf$$subs.awk | sed ' | ||
5881 | /^[^""]/{ | ||
5882 | N | ||
5883 | s/\n// | ||
5884 | } | ||
5885 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
5886 | rm -f conf$$subs.awk | ||
5887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5888 | _ACAWK | ||
5889 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | ||
5890 | for (key in S) S_is_set[key] = 1 | ||
5891 | FS = "" | ||
5892 | |||
5893 | } | ||
5894 | { | ||
5895 | line = $ 0 | ||
5896 | nfields = split(line, field, "@") | ||
5897 | substed = 0 | ||
5898 | len = length(field[1]) | ||
5899 | for (i = 2; i < nfields; i++) { | ||
5900 | key = field[i] | ||
5901 | keylen = length(key) | ||
5902 | if (S_is_set[key]) { | ||
5903 | value = S[key] | ||
5904 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
5905 | len += length(value) + length(field[++i]) | ||
5906 | substed = 1 | ||
5907 | } else | ||
5908 | len += 1 + keylen | ||
5909 | } | ||
5910 | |||
5911 | print line | ||
5912 | } | ||
5913 | |||
5914 | _ACAWK | ||
5915 | _ACEOF | ||
5916 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5917 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
5918 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
5919 | else | ||
5920 | cat | ||
5921 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | ||
5922 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | ||
5923 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | ||
5924 | { (exit 1); exit 1; }; } | ||
5925 | _ACEOF | ||
5926 | |||
5927 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
5928 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
5929 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
5930 | # (actually we leave an empty line to preserve line numbers). | ||
5931 | if test "x$srcdir" = x.; then | ||
5932 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
5933 | s/:*\$(srcdir):*/:/ | ||
5934 | s/:*\${srcdir}:*/:/ | ||
5935 | s/:*@srcdir@:*/:/ | ||
5936 | s/^\([^=]*=[ ]*\):*/\1/ | ||
5937 | s/:*$// | ||
5938 | s/^[^=]*=[ ]*$// | ||
5939 | }' | ||
5940 | fi | ||
5941 | |||
5942 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5943 | fi # test -n "$CONFIG_FILES" | ||
5944 | |||
5945 | # Set up the scripts for CONFIG_HEADERS section. | ||
5946 | # No need to generate them if there are no CONFIG_HEADERS. | ||
5947 | # This happens for instance with `./config.status Makefile'. | ||
5948 | if test -n "$CONFIG_HEADERS"; then | ||
5949 | cat >"$tmp/defines.awk" <<\_ACAWK || | ||
5950 | BEGIN { | ||
5951 | _ACEOF | ||
5952 | |||
5953 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
5954 | # here-document in config.status, that substitutes the proper values into | ||
5955 | # config.h.in to produce config.h. | ||
5956 | |||
5957 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
5958 | # handling of long lines. | ||
5959 | ac_delim='%!_!# ' | ||
5960 | for ac_last_try in false false :; do | ||
5961 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | ||
5962 | if test -z "$ac_t"; then | ||
5963 | break | ||
5964 | elif $ac_last_try; then | ||
5965 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | ||
5966 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | ||
5967 | { (exit 1); exit 1; }; } | ||
5968 | else | ||
5969 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
5970 | fi | ||
5971 | done | ||
5972 | |||
5973 | # For the awk script, D is an array of macro values keyed by name, | ||
5974 | # likewise P contains macro parameters if any. Preserve backslash | ||
5975 | # newline sequences. | ||
5976 | |||
5977 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
5978 | sed -n ' | ||
5979 | s/.\{148\}/&'"$ac_delim"'/g | ||
5980 | t rset | ||
5981 | :rset | ||
5982 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
5983 | t def | ||
5984 | d | ||
5985 | :def | ||
5986 | s/\\$// | ||
5987 | t bsnl | ||
5988 | s/["\\]/\\&/g | ||
5989 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5990 | D["\1"]=" \3"/p | ||
5991 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
5992 | d | ||
5993 | :bsnl | ||
5994 | s/["\\]/\\&/g | ||
5995 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5996 | D["\1"]=" \3\\\\\\n"\\/p | ||
5997 | t cont | ||
5998 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
5999 | t cont | ||
6000 | d | ||
6001 | :cont | ||
6002 | n | ||
6003 | s/.\{148\}/&'"$ac_delim"'/g | ||
6004 | t clear | ||
6005 | :clear | ||
6006 | s/\\$// | ||
6007 | t bsnlc | ||
6008 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
6009 | d | ||
6010 | :bsnlc | ||
6011 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
6012 | b cont | ||
6013 | ' <confdefs.h | sed ' | ||
6014 | s/'"$ac_delim"'/"\\\ | ||
6015 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
6016 | |||
6017 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6018 | for (key in D) D_is_set[key] = 1 | ||
6019 | FS = "" | ||
6020 | } | ||
6021 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
6022 | line = \$ 0 | ||
6023 | split(line, arg, " ") | ||
6024 | if (arg[1] == "#") { | ||
6025 | defundef = arg[2] | ||
6026 | mac1 = arg[3] | ||
6027 | } else { | ||
6028 | defundef = substr(arg[1], 2) | ||
6029 | mac1 = arg[2] | ||
6030 | } | ||
6031 | split(mac1, mac2, "(") #) | ||
6032 | macro = mac2[1] | ||
6033 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
6034 | if (D_is_set[macro]) { | ||
6035 | # Preserve the white space surrounding the "#". | ||
6036 | print prefix "define", macro P[macro] D[macro] | ||
6037 | next | ||
6038 | } else { | ||
6039 | # Replace #undef with comments. This is necessary, for example, | ||
6040 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
6041 | # on some systems where configure will not decide to define it. | ||
6042 | if (defundef == "undef") { | ||
6043 | print "/*", prefix defundef, macro, "*/" | ||
6044 | next | ||
6045 | } | ||
6046 | } | ||
6047 | } | ||
6048 | { print } | ||
6049 | _ACAWK | ||
6050 | _ACEOF | ||
6051 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6052 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | ||
6053 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | ||
6054 | { (exit 1); exit 1; }; } | ||
6055 | fi # test -n "$CONFIG_HEADERS" | ||
6056 | |||
6057 | |||
6058 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
6059 | shift | ||
6060 | for ac_tag | ||
6061 | do | ||
6062 | case $ac_tag in | ||
6063 | :[FHLC]) ac_mode=$ac_tag; continue;; | ||
6064 | esac | ||
6065 | case $ac_mode$ac_tag in | ||
6066 | :[FHL]*:*);; | ||
6067 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 | ||
6068 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} | ||
6069 | { (exit 1); exit 1; }; };; | ||
6070 | :[FH]-) ac_tag=-:-;; | ||
6071 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
6072 | esac | ||
6073 | ac_save_IFS=$IFS | ||
6074 | IFS=: | ||
6075 | set x $ac_tag | ||
6076 | IFS=$ac_save_IFS | ||
6077 | shift | ||
6078 | ac_file=$1 | ||
6079 | shift | ||
6080 | |||
6081 | case $ac_mode in | ||
6082 | :L) ac_source=$1;; | ||
6083 | :[FH]) | ||
6084 | ac_file_inputs= | ||
6085 | for ac_f | ||
6086 | do | ||
6087 | case $ac_f in | ||
6088 | -) ac_f="$tmp/stdin";; | ||
6089 | *) # Look for the file first in the build tree, then in the source tree | ||
6090 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
6091 | # because $ac_f cannot contain `:'. | ||
6092 | test -f "$ac_f" || | ||
6093 | case $ac_f in | ||
6094 | [\\/$]*) false;; | ||
6095 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
6096 | esac || | ||
6097 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | ||
6098 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
6099 | { (exit 1); exit 1; }; };; | ||
6100 | esac | ||
6101 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | ||
6102 | ac_file_inputs="$ac_file_inputs '$ac_f'" | ||
6103 | done | ||
6104 | |||
6105 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
6106 | # use $as_me), people would be surprised to read: | ||
6107 | # /* config.h. Generated by config.status. */ | ||
6108 | configure_input='Generated from '` | ||
6109 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | ||
6110 | `' by configure.' | ||
6111 | if test x"$ac_file" != x-; then | ||
6112 | configure_input="$ac_file. $configure_input" | ||
6113 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
6114 | $as_echo "$as_me: creating $ac_file" >&6;} | ||
6115 | fi | ||
6116 | # Neutralize special characters interpreted by sed in replacement strings. | ||
6117 | case $configure_input in #( | ||
6118 | *\&* | *\|* | *\\* ) | ||
6119 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
6120 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
6121 | *) ac_sed_conf_input=$configure_input;; | ||
6122 | esac | ||
6123 | |||
6124 | case $ac_tag in | ||
6125 | *:-:* | *:-) cat >"$tmp/stdin" \ | ||
6126 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | ||
6127 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
6128 | { (exit 1); exit 1; }; } ;; | ||
6129 | esac | ||
6130 | ;; | ||
6131 | esac | ||
6132 | |||
6133 | ac_dir=`$as_dirname -- "$ac_file" || | ||
6134 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6135 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
6136 | X"$ac_file" : 'X\(//\)$' \| \ | ||
6137 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | ||
6138 | $as_echo X"$ac_file" | | ||
6139 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6140 | s//\1/ | ||
6141 | q | ||
6142 | } | ||
6143 | /^X\(\/\/\)[^/].*/{ | ||
6144 | s//\1/ | ||
6145 | q | ||
6146 | } | ||
6147 | /^X\(\/\/\)$/{ | ||
6148 | s//\1/ | ||
6149 | q | ||
6150 | } | ||
6151 | /^X\(\/\).*/{ | ||
6152 | s//\1/ | ||
6153 | q | ||
6154 | } | ||
6155 | s/.*/./; q'` | ||
6156 | { as_dir="$ac_dir" | ||
6157 | case $as_dir in #( | ||
6158 | -*) as_dir=./$as_dir;; | ||
6159 | esac | ||
6160 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
6161 | as_dirs= | ||
6162 | while :; do | ||
6163 | case $as_dir in #( | ||
6164 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
6165 | *) as_qdir=$as_dir;; | ||
6166 | esac | ||
6167 | as_dirs="'$as_qdir' $as_dirs" | ||
6168 | as_dir=`$as_dirname -- "$as_dir" || | ||
6169 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6170 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
6171 | X"$as_dir" : 'X\(//\)$' \| \ | ||
6172 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
6173 | $as_echo X"$as_dir" | | ||
6174 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6175 | s//\1/ | ||
6176 | q | ||
6177 | } | ||
6178 | /^X\(\/\/\)[^/].*/{ | ||
6179 | s//\1/ | ||
6180 | q | ||
6181 | } | ||
6182 | /^X\(\/\/\)$/{ | ||
6183 | s//\1/ | ||
6184 | q | ||
6185 | } | ||
6186 | /^X\(\/\).*/{ | ||
6187 | s//\1/ | ||
6188 | q | ||
6189 | } | ||
6190 | s/.*/./; q'` | ||
6191 | test -d "$as_dir" && break | ||
6192 | done | ||
6193 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
6194 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
6195 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
6196 | { (exit 1); exit 1; }; }; } | ||
6197 | ac_builddir=. | ||
6198 | |||
6199 | case "$ac_dir" in | ||
6200 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
6201 | *) | ||
6202 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
6203 | # A ".." for each directory in $ac_dir_suffix. | ||
6204 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
6205 | case $ac_top_builddir_sub in | ||
6206 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
6207 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
6208 | esac ;; | ||
6209 | esac | ||
6210 | ac_abs_top_builddir=$ac_pwd | ||
6211 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
6212 | # for backward compatibility: | ||
6213 | ac_top_builddir=$ac_top_build_prefix | ||
6214 | |||
6215 | case $srcdir in | ||
6216 | .) # We are building in place. | ||
6217 | ac_srcdir=. | ||
6218 | ac_top_srcdir=$ac_top_builddir_sub | ||
6219 | ac_abs_top_srcdir=$ac_pwd ;; | ||
6220 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
6221 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
6222 | ac_top_srcdir=$srcdir | ||
6223 | ac_abs_top_srcdir=$srcdir ;; | ||
6224 | *) # Relative name. | ||
6225 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
6226 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
6227 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
6228 | esac | ||
6229 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
6230 | |||
6231 | |||
6232 | case $ac_mode in | ||
6233 | :F) | ||
6234 | # | ||
6235 | # CONFIG_FILE | ||
6236 | # | ||
6237 | |||
6238 | case $INSTALL in | ||
6239 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
6240 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | ||
6241 | esac | ||
6242 | ac_MKDIR_P=$MKDIR_P | ||
6243 | case $MKDIR_P in | ||
6244 | [\\/$]* | ?:[\\/]* ) ;; | ||
6245 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | ||
6246 | esac | ||
6247 | _ACEOF | ||
6248 | |||
6249 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6250 | # If the template does not know about datarootdir, expand it. | ||
6251 | # FIXME: This hack should be removed a few years after 2.60. | ||
6252 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
6253 | |||
6254 | ac_sed_dataroot=' | ||
6255 | /datarootdir/ { | ||
6256 | p | ||
6257 | q | ||
6258 | } | ||
6259 | /@datadir@/p | ||
6260 | /@docdir@/p | ||
6261 | /@infodir@/p | ||
6262 | /@localedir@/p | ||
6263 | /@mandir@/p | ||
6264 | ' | ||
6265 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | ||
6266 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
6267 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
6268 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
6269 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
6270 | _ACEOF | ||
6271 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6272 | ac_datarootdir_hack=' | ||
6273 | s&@datadir@&$datadir&g | ||
6274 | s&@docdir@&$docdir&g | ||
6275 | s&@infodir@&$infodir&g | ||
6276 | s&@localedir@&$localedir&g | ||
6277 | s&@mandir@&$mandir&g | ||
6278 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
6279 | esac | ||
6280 | _ACEOF | ||
6281 | |||
6282 | # Neutralize VPATH when `$srcdir' = `.'. | ||
6283 | # Shell code in configure.ac might set extrasub. | ||
6284 | # FIXME: do we really want to maintain this feature? | ||
6285 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6286 | ac_sed_extra="$ac_vpsub | ||
6287 | $extrasub | ||
6288 | _ACEOF | ||
6289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6290 | :t | ||
6291 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
6292 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
6293 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
6294 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
6295 | s&@srcdir@&$ac_srcdir&;t t | ||
6296 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
6297 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
6298 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
6299 | s&@builddir@&$ac_builddir&;t t | ||
6300 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
6301 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
6302 | s&@INSTALL@&$ac_INSTALL&;t t | ||
6303 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
6304 | $ac_datarootdir_hack | ||
6305 | " | ||
6306 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | ||
6307 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | ||
6308 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
6309 | { (exit 1); exit 1; }; } | ||
6310 | |||
6311 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | ||
6312 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | ||
6313 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | ||
6314 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
6315 | which seems to be undefined. Please make sure it is defined." >&5 | ||
6316 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
6317 | which seems to be undefined. Please make sure it is defined." >&2;} | ||
6318 | |||
6319 | rm -f "$tmp/stdin" | ||
6320 | case $ac_file in | ||
6321 | -) cat "$tmp/out" && rm -f "$tmp/out";; | ||
6322 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | ||
6323 | esac \ | ||
6324 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | ||
6325 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
6326 | { (exit 1); exit 1; }; } | ||
6327 | ;; | ||
6328 | :H) | ||
6329 | # | ||
6330 | # CONFIG_HEADER | ||
6331 | # | ||
6332 | if test x"$ac_file" != x-; then | ||
6333 | { | ||
6334 | $as_echo "/* $configure_input */" \ | ||
6335 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | ||
6336 | } >"$tmp/config.h" \ | ||
6337 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | ||
6338 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
6339 | { (exit 1); exit 1; }; } | ||
6340 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | ||
6341 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | ||
6342 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | ||
6343 | else | ||
6344 | rm -f "$ac_file" | ||
6345 | mv "$tmp/config.h" "$ac_file" \ | ||
6346 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | ||
6347 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
6348 | { (exit 1); exit 1; }; } | ||
6349 | fi | ||
6350 | else | ||
6351 | $as_echo "/* $configure_input */" \ | ||
6352 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | ||
6353 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | ||
6354 | $as_echo "$as_me: error: could not create -" >&2;} | ||
6355 | { (exit 1); exit 1; }; } | ||
6356 | fi | ||
6357 | # Compute "$ac_file"'s index in $config_headers. | ||
6358 | _am_arg="$ac_file" | ||
6359 | _am_stamp_count=1 | ||
6360 | for _am_header in $config_headers :; do | ||
6361 | case $_am_header in | ||
6362 | $_am_arg | $_am_arg:* ) | ||
6363 | break ;; | ||
6364 | * ) | ||
6365 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
6366 | esac | ||
6367 | done | ||
6368 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | ||
6369 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6370 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | ||
6371 | X"$_am_arg" : 'X\(//\)$' \| \ | ||
6372 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | ||
6373 | $as_echo X"$_am_arg" | | ||
6374 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6375 | s//\1/ | ||
6376 | q | ||
6377 | } | ||
6378 | /^X\(\/\/\)[^/].*/{ | ||
6379 | s//\1/ | ||
6380 | q | ||
6381 | } | ||
6382 | /^X\(\/\/\)$/{ | ||
6383 | s//\1/ | ||
6384 | q | ||
6385 | } | ||
6386 | /^X\(\/\).*/{ | ||
6387 | s//\1/ | ||
6388 | q | ||
6389 | } | ||
6390 | s/.*/./; q'`/stamp-h$_am_stamp_count | ||
6391 | ;; | ||
6392 | |||
6393 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 | ||
6394 | $as_echo "$as_me: executing $ac_file commands" >&6;} | ||
6395 | ;; | ||
6396 | esac | ||
6397 | |||
6398 | |||
6399 | case $ac_file$ac_mode in | ||
6400 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | ||
6401 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | ||
6402 | # are listed without --file. Let's play safe and only enable the eval | ||
6403 | # if we detect the quoting. | ||
6404 | case $CONFIG_FILES in | ||
6405 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
6406 | *) set x $CONFIG_FILES ;; | ||
6407 | esac | ||
6408 | shift | ||
6409 | for mf | ||
6410 | do | ||
6411 | # Strip MF so we end up with the name of the file. | ||
6412 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
6413 | # Check whether this is an Automake generated Makefile or not. | ||
6414 | # We used to match only the files named `Makefile.in', but | ||
6415 | # some people rename them; so instead we look at the file content. | ||
6416 | # Grep'ing the first line is not enough: some people post-process | ||
6417 | # each Makefile.in and add a new line on top of each file to say so. | ||
6418 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
6419 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
6420 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
6421 | dirpart=`$as_dirname -- "$mf" || | ||
6422 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6423 | X"$mf" : 'X\(//\)[^/]' \| \ | ||
6424 | X"$mf" : 'X\(//\)$' \| \ | ||
6425 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | ||
6426 | $as_echo X"$mf" | | ||
6427 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6428 | s//\1/ | ||
6429 | q | ||
6430 | } | ||
6431 | /^X\(\/\/\)[^/].*/{ | ||
6432 | s//\1/ | ||
6433 | q | ||
6434 | } | ||
6435 | /^X\(\/\/\)$/{ | ||
6436 | s//\1/ | ||
6437 | q | ||
6438 | } | ||
6439 | /^X\(\/\).*/{ | ||
6440 | s//\1/ | ||
6441 | q | ||
6442 | } | ||
6443 | s/.*/./; q'` | ||
6444 | else | ||
6445 | continue | ||
6446 | fi | ||
6447 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
6448 | # from the Makefile without running `make'. | ||
6449 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
6450 | test -z "$DEPDIR" && continue | ||
6451 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
6452 | test -z "am__include" && continue | ||
6453 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
6454 | # When using ansi2knr, U may be empty or an underscore; expand it | ||
6455 | U=`sed -n 's/^U = //p' < "$mf"` | ||
6456 | # Find all dependency output files, they are included files with | ||
6457 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
6458 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
6459 | # expansion. | ||
6460 | for file in `sed -n " | ||
6461 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
6462 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | ||
6463 | # Make sure the directory exists. | ||
6464 | test -f "$dirpart/$file" && continue | ||
6465 | fdir=`$as_dirname -- "$file" || | ||
6466 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6467 | X"$file" : 'X\(//\)[^/]' \| \ | ||
6468 | X"$file" : 'X\(//\)$' \| \ | ||
6469 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | ||
6470 | $as_echo X"$file" | | ||
6471 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6472 | s//\1/ | ||
6473 | q | ||
6474 | } | ||
6475 | /^X\(\/\/\)[^/].*/{ | ||
6476 | s//\1/ | ||
6477 | q | ||
6478 | } | ||
6479 | /^X\(\/\/\)$/{ | ||
6480 | s//\1/ | ||
6481 | q | ||
6482 | } | ||
6483 | /^X\(\/\).*/{ | ||
6484 | s//\1/ | ||
6485 | q | ||
6486 | } | ||
6487 | s/.*/./; q'` | ||
6488 | { as_dir=$dirpart/$fdir | ||
6489 | case $as_dir in #( | ||
6490 | -*) as_dir=./$as_dir;; | ||
6491 | esac | ||
6492 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
6493 | as_dirs= | ||
6494 | while :; do | ||
6495 | case $as_dir in #( | ||
6496 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
6497 | *) as_qdir=$as_dir;; | ||
6498 | esac | ||
6499 | as_dirs="'$as_qdir' $as_dirs" | ||
6500 | as_dir=`$as_dirname -- "$as_dir" || | ||
6501 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6502 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
6503 | X"$as_dir" : 'X\(//\)$' \| \ | ||
6504 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
6505 | $as_echo X"$as_dir" | | ||
6506 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
6507 | s//\1/ | ||
6508 | q | ||
6509 | } | ||
6510 | /^X\(\/\/\)[^/].*/{ | ||
6511 | s//\1/ | ||
6512 | q | ||
6513 | } | ||
6514 | /^X\(\/\/\)$/{ | ||
6515 | s//\1/ | ||
6516 | q | ||
6517 | } | ||
6518 | /^X\(\/\).*/{ | ||
6519 | s//\1/ | ||
6520 | q | ||
6521 | } | ||
6522 | s/.*/./; q'` | ||
6523 | test -d "$as_dir" && break | ||
6524 | done | ||
6525 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
6526 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
6527 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
6528 | { (exit 1); exit 1; }; }; } | ||
6529 | # echo "creating $dirpart/$file" | ||
6530 | echo '# dummy' > "$dirpart/$file" | ||
6531 | done | ||
6532 | done | ||
6533 | } | ||
6534 | ;; | ||
6535 | |||
6536 | esac | ||
6537 | done # for ac_tag | ||
6538 | |||
6539 | |||
6540 | { (exit 0); exit 0; } | ||
6541 | _ACEOF | ||
6542 | chmod +x $CONFIG_STATUS | ||
6543 | ac_clean_files=$ac_clean_files_save | ||
6544 | |||
6545 | test $ac_write_fail = 0 || | ||
6546 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | ||
6547 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | ||
6548 | { (exit 1); exit 1; }; } | ||
6549 | |||
6550 | |||
6551 | # configure is writing to config.log, and then calls config.status. | ||
6552 | # config.status does its own redirection, appending to config.log. | ||
6553 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
6554 | # by configure, so config.status won't be able to write to it; its | ||
6555 | # output is simply discarded. So we exec the FD to /dev/null, | ||
6556 | # effectively closing config.log, so it can be properly (re)opened and | ||
6557 | # appended to by config.status. When coming back to configure, we | ||
6558 | # need to make the FD available again. | ||
6559 | if test "$no_create" != yes; then | ||
6560 | ac_cs_success=: | ||
6561 | ac_config_status_args= | ||
6562 | test "$silent" = yes && | ||
6563 | ac_config_status_args="$ac_config_status_args --quiet" | ||
6564 | exec 5>/dev/null | ||
6565 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
6566 | exec 5>>config.log | ||
6567 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
6568 | # would make configure fail if this is the last instruction. | ||
6569 | $ac_cs_success || { (exit 1); exit 1; } | ||
6570 | fi | ||
6571 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
6572 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
6573 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
6574 | fi | ||
6575 | |||