1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.63 for FULL-PACKAGE-NAME VERSION. |
---|
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='FULL-PACKAGE-NAME' |
---|
598 | PACKAGE_TARNAME='full-package-name' |
---|
599 | PACKAGE_VERSION='VERSION' |
---|
600 | PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' |
---|
601 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' |
---|
602 | |
---|
603 | ac_unique_file="rmodulon.h" |
---|
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 | INSTALL_DATA |
---|
646 | INSTALL_SCRIPT |
---|
647 | INSTALL_PROGRAM |
---|
648 | LN_S |
---|
649 | ac_ct_CC |
---|
650 | CFLAGS |
---|
651 | CC |
---|
652 | OBJEXT |
---|
653 | EXEEXT |
---|
654 | ac_ct_CXX |
---|
655 | CPPFLAGS |
---|
656 | LDFLAGS |
---|
657 | CXXFLAGS |
---|
658 | CXX |
---|
659 | target_alias |
---|
660 | host_alias |
---|
661 | build_alias |
---|
662 | LIBS |
---|
663 | ECHO_T |
---|
664 | ECHO_N |
---|
665 | ECHO_C |
---|
666 | DEFS |
---|
667 | mandir |
---|
668 | localedir |
---|
669 | libdir |
---|
670 | psdir |
---|
671 | pdfdir |
---|
672 | dvidir |
---|
673 | htmldir |
---|
674 | infodir |
---|
675 | docdir |
---|
676 | oldincludedir |
---|
677 | includedir |
---|
678 | localstatedir |
---|
679 | sharedstatedir |
---|
680 | sysconfdir |
---|
681 | datadir |
---|
682 | datarootdir |
---|
683 | libexecdir |
---|
684 | sbindir |
---|
685 | bindir |
---|
686 | program_transform_name |
---|
687 | prefix |
---|
688 | exec_prefix |
---|
689 | PACKAGE_BUGREPORT |
---|
690 | PACKAGE_STRING |
---|
691 | PACKAGE_VERSION |
---|
692 | PACKAGE_TARNAME |
---|
693 | PACKAGE_NAME |
---|
694 | PATH_SEPARATOR |
---|
695 | SHELL' |
---|
696 | ac_subst_files='' |
---|
697 | ac_user_opts=' |
---|
698 | enable_option_checking |
---|
699 | ' |
---|
700 | ac_precious_vars='build_alias |
---|
701 | host_alias |
---|
702 | target_alias |
---|
703 | CXX |
---|
704 | CXXFLAGS |
---|
705 | LDFLAGS |
---|
706 | LIBS |
---|
707 | CPPFLAGS |
---|
708 | CCC |
---|
709 | CC |
---|
710 | CFLAGS |
---|
711 | CPP' |
---|
712 | |
---|
713 | |
---|
714 | # Initialize some variables set by options. |
---|
715 | ac_init_help= |
---|
716 | ac_init_version=false |
---|
717 | ac_unrecognized_opts= |
---|
718 | ac_unrecognized_sep= |
---|
719 | # The variables have the same names as the options, with |
---|
720 | # dashes changed to underlines. |
---|
721 | cache_file=/dev/null |
---|
722 | exec_prefix=NONE |
---|
723 | no_create= |
---|
724 | no_recursion= |
---|
725 | prefix=NONE |
---|
726 | program_prefix=NONE |
---|
727 | program_suffix=NONE |
---|
728 | program_transform_name=s,x,x, |
---|
729 | silent= |
---|
730 | site= |
---|
731 | srcdir= |
---|
732 | verbose= |
---|
733 | x_includes=NONE |
---|
734 | x_libraries=NONE |
---|
735 | |
---|
736 | # Installation directory options. |
---|
737 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
738 | # and all the variables that are supposed to be based on exec_prefix |
---|
739 | # by default will actually change. |
---|
740 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
741 | # (The list follows the same order as the GNU Coding Standards.) |
---|
742 | bindir='${exec_prefix}/bin' |
---|
743 | sbindir='${exec_prefix}/sbin' |
---|
744 | libexecdir='${exec_prefix}/libexec' |
---|
745 | datarootdir='${prefix}/share' |
---|
746 | datadir='${datarootdir}' |
---|
747 | sysconfdir='${prefix}/etc' |
---|
748 | sharedstatedir='${prefix}/com' |
---|
749 | localstatedir='${prefix}/var' |
---|
750 | includedir='${prefix}/include' |
---|
751 | oldincludedir='/usr/include' |
---|
752 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
753 | infodir='${datarootdir}/info' |
---|
754 | htmldir='${docdir}' |
---|
755 | dvidir='${docdir}' |
---|
756 | pdfdir='${docdir}' |
---|
757 | psdir='${docdir}' |
---|
758 | libdir='${exec_prefix}/lib' |
---|
759 | localedir='${datarootdir}/locale' |
---|
760 | mandir='${datarootdir}/man' |
---|
761 | |
---|
762 | ac_prev= |
---|
763 | ac_dashdash= |
---|
764 | for ac_option |
---|
765 | do |
---|
766 | # If the previous option needs an argument, assign it. |
---|
767 | if test -n "$ac_prev"; then |
---|
768 | eval $ac_prev=\$ac_option |
---|
769 | ac_prev= |
---|
770 | continue |
---|
771 | fi |
---|
772 | |
---|
773 | case $ac_option in |
---|
774 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
775 | *) ac_optarg=yes ;; |
---|
776 | esac |
---|
777 | |
---|
778 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
779 | |
---|
780 | case $ac_dashdash$ac_option in |
---|
781 | --) |
---|
782 | ac_dashdash=yes ;; |
---|
783 | |
---|
784 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
785 | ac_prev=bindir ;; |
---|
786 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
787 | bindir=$ac_optarg ;; |
---|
788 | |
---|
789 | -build | --build | --buil | --bui | --bu) |
---|
790 | ac_prev=build_alias ;; |
---|
791 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
792 | build_alias=$ac_optarg ;; |
---|
793 | |
---|
794 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
795 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
796 | ac_prev=cache_file ;; |
---|
797 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
798 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
799 | cache_file=$ac_optarg ;; |
---|
800 | |
---|
801 | --config-cache | -C) |
---|
802 | cache_file=config.cache ;; |
---|
803 | |
---|
804 | -datadir | --datadir | --datadi | --datad) |
---|
805 | ac_prev=datadir ;; |
---|
806 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
807 | datadir=$ac_optarg ;; |
---|
808 | |
---|
809 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
810 | | --dataroo | --dataro | --datar) |
---|
811 | ac_prev=datarootdir ;; |
---|
812 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
813 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
814 | datarootdir=$ac_optarg ;; |
---|
815 | |
---|
816 | -disable-* | --disable-*) |
---|
817 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
818 | # Reject names that are not valid shell variable names. |
---|
819 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
820 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
821 | { (exit 1); exit 1; }; } |
---|
822 | ac_useropt_orig=$ac_useropt |
---|
823 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
824 | case $ac_user_opts in |
---|
825 | *" |
---|
826 | "enable_$ac_useropt" |
---|
827 | "*) ;; |
---|
828 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
829 | ac_unrecognized_sep=', ';; |
---|
830 | esac |
---|
831 | eval enable_$ac_useropt=no ;; |
---|
832 | |
---|
833 | -docdir | --docdir | --docdi | --doc | --do) |
---|
834 | ac_prev=docdir ;; |
---|
835 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
836 | docdir=$ac_optarg ;; |
---|
837 | |
---|
838 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
839 | ac_prev=dvidir ;; |
---|
840 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
841 | dvidir=$ac_optarg ;; |
---|
842 | |
---|
843 | -enable-* | --enable-*) |
---|
844 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
845 | # Reject names that are not valid shell variable names. |
---|
846 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
847 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
848 | { (exit 1); exit 1; }; } |
---|
849 | ac_useropt_orig=$ac_useropt |
---|
850 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
851 | case $ac_user_opts in |
---|
852 | *" |
---|
853 | "enable_$ac_useropt" |
---|
854 | "*) ;; |
---|
855 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
856 | ac_unrecognized_sep=', ';; |
---|
857 | esac |
---|
858 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
859 | |
---|
860 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
861 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
862 | | --exec | --exe | --ex) |
---|
863 | ac_prev=exec_prefix ;; |
---|
864 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
865 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
866 | | --exec=* | --exe=* | --ex=*) |
---|
867 | exec_prefix=$ac_optarg ;; |
---|
868 | |
---|
869 | -gas | --gas | --ga | --g) |
---|
870 | # Obsolete; use --with-gas. |
---|
871 | with_gas=yes ;; |
---|
872 | |
---|
873 | -help | --help | --hel | --he | -h) |
---|
874 | ac_init_help=long ;; |
---|
875 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
876 | ac_init_help=recursive ;; |
---|
877 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
878 | ac_init_help=short ;; |
---|
879 | |
---|
880 | -host | --host | --hos | --ho) |
---|
881 | ac_prev=host_alias ;; |
---|
882 | -host=* | --host=* | --hos=* | --ho=*) |
---|
883 | host_alias=$ac_optarg ;; |
---|
884 | |
---|
885 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
886 | ac_prev=htmldir ;; |
---|
887 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
888 | | --ht=*) |
---|
889 | htmldir=$ac_optarg ;; |
---|
890 | |
---|
891 | -includedir | --includedir | --includedi | --included | --include \ |
---|
892 | | --includ | --inclu | --incl | --inc) |
---|
893 | ac_prev=includedir ;; |
---|
894 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
895 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
896 | includedir=$ac_optarg ;; |
---|
897 | |
---|
898 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
899 | ac_prev=infodir ;; |
---|
900 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
901 | infodir=$ac_optarg ;; |
---|
902 | |
---|
903 | -libdir | --libdir | --libdi | --libd) |
---|
904 | ac_prev=libdir ;; |
---|
905 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
906 | libdir=$ac_optarg ;; |
---|
907 | |
---|
908 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
909 | | --libexe | --libex | --libe) |
---|
910 | ac_prev=libexecdir ;; |
---|
911 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
912 | | --libexe=* | --libex=* | --libe=*) |
---|
913 | libexecdir=$ac_optarg ;; |
---|
914 | |
---|
915 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
916 | ac_prev=localedir ;; |
---|
917 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
918 | localedir=$ac_optarg ;; |
---|
919 | |
---|
920 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
921 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
922 | ac_prev=localstatedir ;; |
---|
923 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
924 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
925 | localstatedir=$ac_optarg ;; |
---|
926 | |
---|
927 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
928 | ac_prev=mandir ;; |
---|
929 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
930 | mandir=$ac_optarg ;; |
---|
931 | |
---|
932 | -nfp | --nfp | --nf) |
---|
933 | # Obsolete; use --without-fp. |
---|
934 | with_fp=no ;; |
---|
935 | |
---|
936 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
937 | | --no-cr | --no-c | -n) |
---|
938 | no_create=yes ;; |
---|
939 | |
---|
940 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
941 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
942 | no_recursion=yes ;; |
---|
943 | |
---|
944 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
945 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
946 | | --oldin | --oldi | --old | --ol | --o) |
---|
947 | ac_prev=oldincludedir ;; |
---|
948 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
949 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
950 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
951 | oldincludedir=$ac_optarg ;; |
---|
952 | |
---|
953 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
954 | ac_prev=prefix ;; |
---|
955 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
956 | prefix=$ac_optarg ;; |
---|
957 | |
---|
958 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
959 | | --program-pre | --program-pr | --program-p) |
---|
960 | ac_prev=program_prefix ;; |
---|
961 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
962 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
963 | program_prefix=$ac_optarg ;; |
---|
964 | |
---|
965 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
966 | | --program-suf | --program-su | --program-s) |
---|
967 | ac_prev=program_suffix ;; |
---|
968 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
969 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
970 | program_suffix=$ac_optarg ;; |
---|
971 | |
---|
972 | -program-transform-name | --program-transform-name \ |
---|
973 | | --program-transform-nam | --program-transform-na \ |
---|
974 | | --program-transform-n | --program-transform- \ |
---|
975 | | --program-transform | --program-transfor \ |
---|
976 | | --program-transfo | --program-transf \ |
---|
977 | | --program-trans | --program-tran \ |
---|
978 | | --progr-tra | --program-tr | --program-t) |
---|
979 | ac_prev=program_transform_name ;; |
---|
980 | -program-transform-name=* | --program-transform-name=* \ |
---|
981 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
982 | | --program-transform-n=* | --program-transform-=* \ |
---|
983 | | --program-transform=* | --program-transfor=* \ |
---|
984 | | --program-transfo=* | --program-transf=* \ |
---|
985 | | --program-trans=* | --program-tran=* \ |
---|
986 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
987 | program_transform_name=$ac_optarg ;; |
---|
988 | |
---|
989 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
990 | ac_prev=pdfdir ;; |
---|
991 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
992 | pdfdir=$ac_optarg ;; |
---|
993 | |
---|
994 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
995 | ac_prev=psdir ;; |
---|
996 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
997 | psdir=$ac_optarg ;; |
---|
998 | |
---|
999 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1000 | | -silent | --silent | --silen | --sile | --sil) |
---|
1001 | silent=yes ;; |
---|
1002 | |
---|
1003 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1004 | ac_prev=sbindir ;; |
---|
1005 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1006 | | --sbi=* | --sb=*) |
---|
1007 | sbindir=$ac_optarg ;; |
---|
1008 | |
---|
1009 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1010 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1011 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1012 | | --sha | --sh) |
---|
1013 | ac_prev=sharedstatedir ;; |
---|
1014 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1015 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1016 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1017 | | --sha=* | --sh=*) |
---|
1018 | sharedstatedir=$ac_optarg ;; |
---|
1019 | |
---|
1020 | -site | --site | --sit) |
---|
1021 | ac_prev=site ;; |
---|
1022 | -site=* | --site=* | --sit=*) |
---|
1023 | site=$ac_optarg ;; |
---|
1024 | |
---|
1025 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1026 | ac_prev=srcdir ;; |
---|
1027 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1028 | srcdir=$ac_optarg ;; |
---|
1029 | |
---|
1030 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1031 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1032 | ac_prev=sysconfdir ;; |
---|
1033 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1034 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1035 | sysconfdir=$ac_optarg ;; |
---|
1036 | |
---|
1037 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1038 | ac_prev=target_alias ;; |
---|
1039 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1040 | target_alias=$ac_optarg ;; |
---|
1041 | |
---|
1042 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1043 | verbose=yes ;; |
---|
1044 | |
---|
1045 | -version | --version | --versio | --versi | --vers | -V) |
---|
1046 | ac_init_version=: ;; |
---|
1047 | |
---|
1048 | -with-* | --with-*) |
---|
1049 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1050 | # Reject names that are not valid shell variable names. |
---|
1051 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1052 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1053 | { (exit 1); exit 1; }; } |
---|
1054 | ac_useropt_orig=$ac_useropt |
---|
1055 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1056 | case $ac_user_opts in |
---|
1057 | *" |
---|
1058 | "with_$ac_useropt" |
---|
1059 | "*) ;; |
---|
1060 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1061 | ac_unrecognized_sep=', ';; |
---|
1062 | esac |
---|
1063 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1064 | |
---|
1065 | -without-* | --without-*) |
---|
1066 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1067 | # Reject names that are not valid shell variable names. |
---|
1068 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1069 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1070 | { (exit 1); exit 1; }; } |
---|
1071 | ac_useropt_orig=$ac_useropt |
---|
1072 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1073 | case $ac_user_opts in |
---|
1074 | *" |
---|
1075 | "with_$ac_useropt" |
---|
1076 | "*) ;; |
---|
1077 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1078 | ac_unrecognized_sep=', ';; |
---|
1079 | esac |
---|
1080 | eval with_$ac_useropt=no ;; |
---|
1081 | |
---|
1082 | --x) |
---|
1083 | # Obsolete; use --with-x. |
---|
1084 | with_x=yes ;; |
---|
1085 | |
---|
1086 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1087 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1088 | ac_prev=x_includes ;; |
---|
1089 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1090 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1091 | x_includes=$ac_optarg ;; |
---|
1092 | |
---|
1093 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1094 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1095 | ac_prev=x_libraries ;; |
---|
1096 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1097 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1098 | x_libraries=$ac_optarg ;; |
---|
1099 | |
---|
1100 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
---|
1101 | Try \`$0 --help' for more information." >&2 |
---|
1102 | { (exit 1); exit 1; }; } |
---|
1103 | ;; |
---|
1104 | |
---|
1105 | *=*) |
---|
1106 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1107 | # Reject names that are not valid shell variable names. |
---|
1108 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
1109 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
1110 | { (exit 1); exit 1; }; } |
---|
1111 | eval $ac_envvar=\$ac_optarg |
---|
1112 | export $ac_envvar ;; |
---|
1113 | |
---|
1114 | *) |
---|
1115 | # FIXME: should be removed in autoconf 3.0. |
---|
1116 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1117 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1118 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1119 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
1120 | ;; |
---|
1121 | |
---|
1122 | esac |
---|
1123 | done |
---|
1124 | |
---|
1125 | if test -n "$ac_prev"; then |
---|
1126 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1127 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
1128 | { (exit 1); exit 1; }; } |
---|
1129 | fi |
---|
1130 | |
---|
1131 | if test -n "$ac_unrecognized_opts"; then |
---|
1132 | case $enable_option_checking in |
---|
1133 | no) ;; |
---|
1134 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
---|
1135 | { (exit 1); exit 1; }; } ;; |
---|
1136 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1137 | esac |
---|
1138 | fi |
---|
1139 | |
---|
1140 | # Check all directory arguments for consistency. |
---|
1141 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1142 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1143 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1144 | libdir localedir mandir |
---|
1145 | do |
---|
1146 | eval ac_val=\$$ac_var |
---|
1147 | # Remove trailing slashes. |
---|
1148 | case $ac_val in |
---|
1149 | */ ) |
---|
1150 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1151 | eval $ac_var=\$ac_val;; |
---|
1152 | esac |
---|
1153 | # Be sure to have absolute directory names. |
---|
1154 | case $ac_val in |
---|
1155 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1156 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1157 | esac |
---|
1158 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
1159 | { (exit 1); exit 1; }; } |
---|
1160 | done |
---|
1161 | |
---|
1162 | # There might be people who depend on the old broken behavior: `$host' |
---|
1163 | # used to hold the argument of --host etc. |
---|
1164 | # FIXME: To remove some day. |
---|
1165 | build=$build_alias |
---|
1166 | host=$host_alias |
---|
1167 | target=$target_alias |
---|
1168 | |
---|
1169 | # FIXME: To remove some day. |
---|
1170 | if test "x$host_alias" != x; then |
---|
1171 | if test "x$build_alias" = x; then |
---|
1172 | cross_compiling=maybe |
---|
1173 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
1174 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
1175 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1176 | cross_compiling=yes |
---|
1177 | fi |
---|
1178 | fi |
---|
1179 | |
---|
1180 | ac_tool_prefix= |
---|
1181 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1182 | |
---|
1183 | test "$silent" = yes && exec 6>/dev/null |
---|
1184 | |
---|
1185 | |
---|
1186 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1187 | ac_ls_di=`ls -di .` && |
---|
1188 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1189 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
---|
1190 | { (exit 1); exit 1; }; } |
---|
1191 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1192 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
1193 | { (exit 1); exit 1; }; } |
---|
1194 | |
---|
1195 | |
---|
1196 | # Find the source files, if location was not specified. |
---|
1197 | if test -z "$srcdir"; then |
---|
1198 | ac_srcdir_defaulted=yes |
---|
1199 | # Try the directory containing this script, then the parent directory. |
---|
1200 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1201 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1202 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1203 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1204 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1205 | $as_echo X"$as_myself" | |
---|
1206 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1207 | s//\1/ |
---|
1208 | q |
---|
1209 | } |
---|
1210 | /^X\(\/\/\)[^/].*/{ |
---|
1211 | s//\1/ |
---|
1212 | q |
---|
1213 | } |
---|
1214 | /^X\(\/\/\)$/{ |
---|
1215 | s//\1/ |
---|
1216 | q |
---|
1217 | } |
---|
1218 | /^X\(\/\).*/{ |
---|
1219 | s//\1/ |
---|
1220 | q |
---|
1221 | } |
---|
1222 | s/.*/./; q'` |
---|
1223 | srcdir=$ac_confdir |
---|
1224 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1225 | srcdir=.. |
---|
1226 | fi |
---|
1227 | else |
---|
1228 | ac_srcdir_defaulted=no |
---|
1229 | fi |
---|
1230 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1231 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1232 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
1233 | { (exit 1); exit 1; }; } |
---|
1234 | fi |
---|
1235 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1236 | ac_abs_confdir=`( |
---|
1237 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
---|
1238 | { (exit 1); exit 1; }; } |
---|
1239 | pwd)` |
---|
1240 | # When building in place, set srcdir=. |
---|
1241 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1242 | srcdir=. |
---|
1243 | fi |
---|
1244 | # Remove unnecessary trailing slashes from srcdir. |
---|
1245 | # Double slashes in file names in object file debugging info |
---|
1246 | # mess up M-x gdb in Emacs. |
---|
1247 | case $srcdir in |
---|
1248 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1249 | esac |
---|
1250 | for ac_var in $ac_precious_vars; do |
---|
1251 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1252 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1253 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1254 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1255 | done |
---|
1256 | |
---|
1257 | # |
---|
1258 | # Report the --help message. |
---|
1259 | # |
---|
1260 | if test "$ac_init_help" = "long"; then |
---|
1261 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1262 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1263 | cat <<_ACEOF |
---|
1264 | \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems. |
---|
1265 | |
---|
1266 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1267 | |
---|
1268 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1269 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1270 | |
---|
1271 | Defaults for the options are specified in brackets. |
---|
1272 | |
---|
1273 | Configuration: |
---|
1274 | -h, --help display this help and exit |
---|
1275 | --help=short display options specific to this package |
---|
1276 | --help=recursive display the short help of all the included packages |
---|
1277 | -V, --version display version information and exit |
---|
1278 | -q, --quiet, --silent do not print \`checking...' messages |
---|
1279 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1280 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1281 | -n, --no-create do not create output files |
---|
1282 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1283 | |
---|
1284 | Installation directories: |
---|
1285 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1286 | [$ac_default_prefix] |
---|
1287 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1288 | [PREFIX] |
---|
1289 | |
---|
1290 | By default, \`make install' will install all the files in |
---|
1291 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1292 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1293 | for instance \`--prefix=\$HOME'. |
---|
1294 | |
---|
1295 | For better control, use the options below. |
---|
1296 | |
---|
1297 | Fine tuning of the installation directories: |
---|
1298 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1299 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1300 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1301 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1302 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1303 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1304 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1305 | --includedir=DIR C header files [PREFIX/include] |
---|
1306 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1307 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1308 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1309 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1310 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1311 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1312 | --docdir=DIR documentation root |
---|
1313 | [DATAROOTDIR/doc/full-package-name] |
---|
1314 | --htmldir=DIR html documentation [DOCDIR] |
---|
1315 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1316 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1317 | --psdir=DIR ps documentation [DOCDIR] |
---|
1318 | _ACEOF |
---|
1319 | |
---|
1320 | cat <<\_ACEOF |
---|
1321 | _ACEOF |
---|
1322 | fi |
---|
1323 | |
---|
1324 | if test -n "$ac_init_help"; then |
---|
1325 | case $ac_init_help in |
---|
1326 | short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";; |
---|
1327 | esac |
---|
1328 | cat <<\_ACEOF |
---|
1329 | |
---|
1330 | Some influential environment variables: |
---|
1331 | CXX C++ compiler command |
---|
1332 | CXXFLAGS C++ compiler flags |
---|
1333 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1334 | nonstandard directory <lib dir> |
---|
1335 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1336 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
1337 | you have headers in a nonstandard directory <include dir> |
---|
1338 | CC C compiler command |
---|
1339 | CFLAGS C compiler flags |
---|
1340 | CPP C preprocessor |
---|
1341 | |
---|
1342 | Use these variables to override the choices made by `configure' or to help |
---|
1343 | it to find libraries and programs with nonstandard names/locations. |
---|
1344 | |
---|
1345 | Report bugs to <BUG-REPORT-ADDRESS>. |
---|
1346 | _ACEOF |
---|
1347 | ac_status=$? |
---|
1348 | fi |
---|
1349 | |
---|
1350 | if test "$ac_init_help" = "recursive"; then |
---|
1351 | # If there are subdirs, report their specific --help. |
---|
1352 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1353 | test -d "$ac_dir" || |
---|
1354 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1355 | continue |
---|
1356 | ac_builddir=. |
---|
1357 | |
---|
1358 | case "$ac_dir" in |
---|
1359 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1360 | *) |
---|
1361 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1362 | # A ".." for each directory in $ac_dir_suffix. |
---|
1363 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1364 | case $ac_top_builddir_sub in |
---|
1365 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1366 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1367 | esac ;; |
---|
1368 | esac |
---|
1369 | ac_abs_top_builddir=$ac_pwd |
---|
1370 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1371 | # for backward compatibility: |
---|
1372 | ac_top_builddir=$ac_top_build_prefix |
---|
1373 | |
---|
1374 | case $srcdir in |
---|
1375 | .) # We are building in place. |
---|
1376 | ac_srcdir=. |
---|
1377 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1378 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1379 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1380 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1381 | ac_top_srcdir=$srcdir |
---|
1382 | ac_abs_top_srcdir=$srcdir ;; |
---|
1383 | *) # Relative name. |
---|
1384 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1385 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1386 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1387 | esac |
---|
1388 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1389 | |
---|
1390 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1391 | # Check for guested configure. |
---|
1392 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1393 | echo && |
---|
1394 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1395 | elif test -f "$ac_srcdir/configure"; then |
---|
1396 | echo && |
---|
1397 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1398 | else |
---|
1399 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1400 | fi || ac_status=$? |
---|
1401 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1402 | done |
---|
1403 | fi |
---|
1404 | |
---|
1405 | test -n "$ac_init_help" && exit $ac_status |
---|
1406 | if $ac_init_version; then |
---|
1407 | cat <<\_ACEOF |
---|
1408 | FULL-PACKAGE-NAME configure VERSION |
---|
1409 | generated by GNU Autoconf 2.63 |
---|
1410 | |
---|
1411 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
1412 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
---|
1413 | This configure script is free software; the Free Software Foundation |
---|
1414 | gives unlimited permission to copy, distribute and modify it. |
---|
1415 | _ACEOF |
---|
1416 | exit |
---|
1417 | fi |
---|
1418 | cat >config.log <<_ACEOF |
---|
1419 | This file contains any messages produced by compilers while |
---|
1420 | running configure, to aid debugging if configure makes a mistake. |
---|
1421 | |
---|
1422 | It was created by FULL-PACKAGE-NAME $as_me VERSION, which was |
---|
1423 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
1424 | |
---|
1425 | $ $0 $@ |
---|
1426 | |
---|
1427 | _ACEOF |
---|
1428 | exec 5>>config.log |
---|
1429 | { |
---|
1430 | cat <<_ASUNAME |
---|
1431 | ## --------- ## |
---|
1432 | ## Platform. ## |
---|
1433 | ## --------- ## |
---|
1434 | |
---|
1435 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1436 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1437 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1438 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1439 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1440 | |
---|
1441 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1442 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1443 | |
---|
1444 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1445 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1446 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1447 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1448 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1449 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1450 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1451 | |
---|
1452 | _ASUNAME |
---|
1453 | |
---|
1454 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1455 | for as_dir in $PATH |
---|
1456 | do |
---|
1457 | IFS=$as_save_IFS |
---|
1458 | test -z "$as_dir" && as_dir=. |
---|
1459 | $as_echo "PATH: $as_dir" |
---|
1460 | done |
---|
1461 | IFS=$as_save_IFS |
---|
1462 | |
---|
1463 | } >&5 |
---|
1464 | |
---|
1465 | cat >&5 <<_ACEOF |
---|
1466 | |
---|
1467 | |
---|
1468 | ## ----------- ## |
---|
1469 | ## Core tests. ## |
---|
1470 | ## ----------- ## |
---|
1471 | |
---|
1472 | _ACEOF |
---|
1473 | |
---|
1474 | |
---|
1475 | # Keep a trace of the command line. |
---|
1476 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1477 | # Strip out --silent because we don't want to record it for future runs. |
---|
1478 | # Also quote any args containing shell meta-characters. |
---|
1479 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1480 | ac_configure_args= |
---|
1481 | ac_configure_args0= |
---|
1482 | ac_configure_args1= |
---|
1483 | ac_must_keep_next=false |
---|
1484 | for ac_pass in 1 2 |
---|
1485 | do |
---|
1486 | for ac_arg |
---|
1487 | do |
---|
1488 | case $ac_arg in |
---|
1489 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1490 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1491 | | -silent | --silent | --silen | --sile | --sil) |
---|
1492 | continue ;; |
---|
1493 | *\'*) |
---|
1494 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1495 | esac |
---|
1496 | case $ac_pass in |
---|
1497 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1498 | 2) |
---|
1499 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1500 | if test $ac_must_keep_next = true; then |
---|
1501 | ac_must_keep_next=false # Got value, back to normal. |
---|
1502 | else |
---|
1503 | case $ac_arg in |
---|
1504 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1505 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1506 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1507 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1508 | case "$ac_configure_args0 " in |
---|
1509 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1510 | esac |
---|
1511 | ;; |
---|
1512 | -* ) ac_must_keep_next=true ;; |
---|
1513 | esac |
---|
1514 | fi |
---|
1515 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
1516 | ;; |
---|
1517 | esac |
---|
1518 | done |
---|
1519 | done |
---|
1520 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1521 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1522 | |
---|
1523 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1524 | # config.log. We remove comments because anyway the quotes in there |
---|
1525 | # would cause problems or look ugly. |
---|
1526 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1527 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1528 | trap 'exit_status=$? |
---|
1529 | # Save into config.log some information that might help in debugging. |
---|
1530 | { |
---|
1531 | echo |
---|
1532 | |
---|
1533 | cat <<\_ASBOX |
---|
1534 | ## ---------------- ## |
---|
1535 | ## Cache variables. ## |
---|
1536 | ## ---------------- ## |
---|
1537 | _ASBOX |
---|
1538 | echo |
---|
1539 | # The following way of writing the cache mishandles newlines in values, |
---|
1540 | ( |
---|
1541 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1542 | eval ac_val=\$$ac_var |
---|
1543 | case $ac_val in #( |
---|
1544 | *${as_nl}*) |
---|
1545 | case $ac_var in #( |
---|
1546 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1547 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1548 | esac |
---|
1549 | case $ac_var in #( |
---|
1550 | _ | IFS | as_nl) ;; #( |
---|
1551 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1552 | *) $as_unset $ac_var ;; |
---|
1553 | esac ;; |
---|
1554 | esac |
---|
1555 | done |
---|
1556 | (set) 2>&1 | |
---|
1557 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1558 | *${as_nl}ac_space=\ *) |
---|
1559 | sed -n \ |
---|
1560 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1561 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1562 | ;; #( |
---|
1563 | *) |
---|
1564 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1565 | ;; |
---|
1566 | esac | |
---|
1567 | sort |
---|
1568 | ) |
---|
1569 | echo |
---|
1570 | |
---|
1571 | cat <<\_ASBOX |
---|
1572 | ## ----------------- ## |
---|
1573 | ## Output variables. ## |
---|
1574 | ## ----------------- ## |
---|
1575 | _ASBOX |
---|
1576 | echo |
---|
1577 | for ac_var in $ac_subst_vars |
---|
1578 | do |
---|
1579 | eval ac_val=\$$ac_var |
---|
1580 | case $ac_val in |
---|
1581 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1582 | esac |
---|
1583 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1584 | done | sort |
---|
1585 | echo |
---|
1586 | |
---|
1587 | if test -n "$ac_subst_files"; then |
---|
1588 | cat <<\_ASBOX |
---|
1589 | ## ------------------- ## |
---|
1590 | ## File substitutions. ## |
---|
1591 | ## ------------------- ## |
---|
1592 | _ASBOX |
---|
1593 | echo |
---|
1594 | for ac_var in $ac_subst_files |
---|
1595 | do |
---|
1596 | eval ac_val=\$$ac_var |
---|
1597 | case $ac_val in |
---|
1598 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1599 | esac |
---|
1600 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1601 | done | sort |
---|
1602 | echo |
---|
1603 | fi |
---|
1604 | |
---|
1605 | if test -s confdefs.h; then |
---|
1606 | cat <<\_ASBOX |
---|
1607 | ## ----------- ## |
---|
1608 | ## confdefs.h. ## |
---|
1609 | ## ----------- ## |
---|
1610 | _ASBOX |
---|
1611 | echo |
---|
1612 | cat confdefs.h |
---|
1613 | echo |
---|
1614 | fi |
---|
1615 | test "$ac_signal" != 0 && |
---|
1616 | $as_echo "$as_me: caught signal $ac_signal" |
---|
1617 | $as_echo "$as_me: exit $exit_status" |
---|
1618 | } >&5 |
---|
1619 | rm -f core *.core core.conftest.* && |
---|
1620 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1621 | exit $exit_status |
---|
1622 | ' 0 |
---|
1623 | for ac_signal in 1 2 13 15; do |
---|
1624 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1625 | done |
---|
1626 | ac_signal=0 |
---|
1627 | |
---|
1628 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1629 | rm -f -r conftest* confdefs.h |
---|
1630 | |
---|
1631 | # Predefined preprocessor variables. |
---|
1632 | |
---|
1633 | cat >>confdefs.h <<_ACEOF |
---|
1634 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1635 | _ACEOF |
---|
1636 | |
---|
1637 | |
---|
1638 | cat >>confdefs.h <<_ACEOF |
---|
1639 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1640 | _ACEOF |
---|
1641 | |
---|
1642 | |
---|
1643 | cat >>confdefs.h <<_ACEOF |
---|
1644 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1645 | _ACEOF |
---|
1646 | |
---|
1647 | |
---|
1648 | cat >>confdefs.h <<_ACEOF |
---|
1649 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1650 | _ACEOF |
---|
1651 | |
---|
1652 | |
---|
1653 | cat >>confdefs.h <<_ACEOF |
---|
1654 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1655 | _ACEOF |
---|
1656 | |
---|
1657 | |
---|
1658 | # Let the site file select an alternate cache file if it wants to. |
---|
1659 | # Prefer an explicitly selected file to automatically selected ones. |
---|
1660 | ac_site_file1=NONE |
---|
1661 | ac_site_file2=NONE |
---|
1662 | if test -n "$CONFIG_SITE"; then |
---|
1663 | ac_site_file1=$CONFIG_SITE |
---|
1664 | elif test "x$prefix" != xNONE; then |
---|
1665 | ac_site_file1=$prefix/share/config.site |
---|
1666 | ac_site_file2=$prefix/etc/config.site |
---|
1667 | else |
---|
1668 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
1669 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
1670 | fi |
---|
1671 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
1672 | do |
---|
1673 | test "x$ac_site_file" = xNONE && continue |
---|
1674 | if test -r "$ac_site_file"; then |
---|
1675 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1676 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1677 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1678 | . "$ac_site_file" |
---|
1679 | fi |
---|
1680 | done |
---|
1681 | |
---|
1682 | if test -r "$cache_file"; then |
---|
1683 | # Some versions of bash will fail to source /dev/null (special |
---|
1684 | # files actually), so we avoid doing that. |
---|
1685 | if test -f "$cache_file"; then |
---|
1686 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1687 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
1688 | case $cache_file in |
---|
1689 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1690 | *) . "./$cache_file";; |
---|
1691 | esac |
---|
1692 | fi |
---|
1693 | else |
---|
1694 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1695 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
1696 | >$cache_file |
---|
1697 | fi |
---|
1698 | |
---|
1699 | # Check that the precious variables saved in the cache have kept the same |
---|
1700 | # value. |
---|
1701 | ac_cache_corrupted=false |
---|
1702 | for ac_var in $ac_precious_vars; do |
---|
1703 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1704 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1705 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1706 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1707 | case $ac_old_set,$ac_new_set in |
---|
1708 | set,) |
---|
1709 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1710 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1711 | ac_cache_corrupted=: ;; |
---|
1712 | ,set) |
---|
1713 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1714 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1715 | ac_cache_corrupted=: ;; |
---|
1716 | ,);; |
---|
1717 | *) |
---|
1718 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1719 | # differences in whitespace do not lead to failure. |
---|
1720 | ac_old_val_w=`echo x $ac_old_val` |
---|
1721 | ac_new_val_w=`echo x $ac_new_val` |
---|
1722 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
1723 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1724 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1725 | ac_cache_corrupted=: |
---|
1726 | else |
---|
1727 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
1728 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
1729 | eval $ac_var=\$ac_old_val |
---|
1730 | fi |
---|
1731 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
---|
1732 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
1733 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
---|
1734 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
1735 | fi;; |
---|
1736 | esac |
---|
1737 | # Pass precious variables to config.status. |
---|
1738 | if test "$ac_new_set" = set; then |
---|
1739 | case $ac_new_val in |
---|
1740 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1741 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1742 | esac |
---|
1743 | case " $ac_configure_args " in |
---|
1744 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1745 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1746 | esac |
---|
1747 | fi |
---|
1748 | done |
---|
1749 | if $ac_cache_corrupted; then |
---|
1750 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
1751 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1752 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1753 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1754 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1755 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1756 | { (exit 1); exit 1; }; } |
---|
1757 | fi |
---|
1758 | |
---|
1759 | |
---|
1760 | |
---|
1761 | |
---|
1762 | |
---|
1763 | |
---|
1764 | |
---|
1765 | |
---|
1766 | |
---|
1767 | |
---|
1768 | |
---|
1769 | |
---|
1770 | |
---|
1771 | |
---|
1772 | |
---|
1773 | |
---|
1774 | |
---|
1775 | |
---|
1776 | |
---|
1777 | |
---|
1778 | |
---|
1779 | |
---|
1780 | |
---|
1781 | |
---|
1782 | |
---|
1783 | ac_ext=c |
---|
1784 | ac_cpp='$CPP $CPPFLAGS' |
---|
1785 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1786 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1787 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1788 | |
---|
1789 | |
---|
1790 | |
---|
1791 | ac_config_headers="$ac_config_headers config.h" |
---|
1792 | |
---|
1793 | |
---|
1794 | # Checks for programs. |
---|
1795 | ac_ext=cpp |
---|
1796 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
1797 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1798 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1799 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
1800 | if test -z "$CXX"; then |
---|
1801 | if test -n "$CCC"; then |
---|
1802 | CXX=$CCC |
---|
1803 | else |
---|
1804 | if test -n "$ac_tool_prefix"; then |
---|
1805 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
1806 | do |
---|
1807 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
1808 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
1809 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1810 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1811 | if test "${ac_cv_prog_CXX+set}" = set; then |
---|
1812 | $as_echo_n "(cached) " >&6 |
---|
1813 | else |
---|
1814 | if test -n "$CXX"; then |
---|
1815 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
1816 | else |
---|
1817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1818 | for as_dir in $PATH |
---|
1819 | do |
---|
1820 | IFS=$as_save_IFS |
---|
1821 | test -z "$as_dir" && as_dir=. |
---|
1822 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1823 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1824 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
1825 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1826 | break 2 |
---|
1827 | fi |
---|
1828 | done |
---|
1829 | done |
---|
1830 | IFS=$as_save_IFS |
---|
1831 | |
---|
1832 | fi |
---|
1833 | fi |
---|
1834 | CXX=$ac_cv_prog_CXX |
---|
1835 | if test -n "$CXX"; then |
---|
1836 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
---|
1837 | $as_echo "$CXX" >&6; } |
---|
1838 | else |
---|
1839 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1840 | $as_echo "no" >&6; } |
---|
1841 | fi |
---|
1842 | |
---|
1843 | |
---|
1844 | test -n "$CXX" && break |
---|
1845 | done |
---|
1846 | fi |
---|
1847 | if test -z "$CXX"; then |
---|
1848 | ac_ct_CXX=$CXX |
---|
1849 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
1850 | do |
---|
1851 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1852 | set dummy $ac_prog; ac_word=$2 |
---|
1853 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1854 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1855 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
---|
1856 | $as_echo_n "(cached) " >&6 |
---|
1857 | else |
---|
1858 | if test -n "$ac_ct_CXX"; then |
---|
1859 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
1860 | else |
---|
1861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1862 | for as_dir in $PATH |
---|
1863 | do |
---|
1864 | IFS=$as_save_IFS |
---|
1865 | test -z "$as_dir" && as_dir=. |
---|
1866 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1867 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1868 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
1869 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1870 | break 2 |
---|
1871 | fi |
---|
1872 | done |
---|
1873 | done |
---|
1874 | IFS=$as_save_IFS |
---|
1875 | |
---|
1876 | fi |
---|
1877 | fi |
---|
1878 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
1879 | if test -n "$ac_ct_CXX"; then |
---|
1880 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
---|
1881 | $as_echo "$ac_ct_CXX" >&6; } |
---|
1882 | else |
---|
1883 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1884 | $as_echo "no" >&6; } |
---|
1885 | fi |
---|
1886 | |
---|
1887 | |
---|
1888 | test -n "$ac_ct_CXX" && break |
---|
1889 | done |
---|
1890 | |
---|
1891 | if test "x$ac_ct_CXX" = x; then |
---|
1892 | CXX="g++" |
---|
1893 | else |
---|
1894 | case $cross_compiling:$ac_tool_warned in |
---|
1895 | yes:) |
---|
1896 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
1897 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
1898 | ac_tool_warned=yes ;; |
---|
1899 | esac |
---|
1900 | CXX=$ac_ct_CXX |
---|
1901 | fi |
---|
1902 | fi |
---|
1903 | |
---|
1904 | fi |
---|
1905 | fi |
---|
1906 | # Provide some information about the compiler. |
---|
1907 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
---|
1908 | set X $ac_compile |
---|
1909 | ac_compiler=$2 |
---|
1910 | { (ac_try="$ac_compiler --version >&5" |
---|
1911 | case "(($ac_try" in |
---|
1912 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1913 | *) ac_try_echo=$ac_try;; |
---|
1914 | esac |
---|
1915 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
1916 | $as_echo "$ac_try_echo") >&5 |
---|
1917 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
1918 | ac_status=$? |
---|
1919 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1920 | (exit $ac_status); } |
---|
1921 | { (ac_try="$ac_compiler -v >&5" |
---|
1922 | case "(($ac_try" in |
---|
1923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1924 | *) ac_try_echo=$ac_try;; |
---|
1925 | esac |
---|
1926 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
1927 | $as_echo "$ac_try_echo") >&5 |
---|
1928 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
1929 | ac_status=$? |
---|
1930 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1931 | (exit $ac_status); } |
---|
1932 | { (ac_try="$ac_compiler -V >&5" |
---|
1933 | case "(($ac_try" in |
---|
1934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1935 | *) ac_try_echo=$ac_try;; |
---|
1936 | esac |
---|
1937 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
1938 | $as_echo "$ac_try_echo") >&5 |
---|
1939 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
1940 | ac_status=$? |
---|
1941 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1942 | (exit $ac_status); } |
---|
1943 | |
---|
1944 | cat >conftest.$ac_ext <<_ACEOF |
---|
1945 | /* confdefs.h. */ |
---|
1946 | _ACEOF |
---|
1947 | cat confdefs.h >>conftest.$ac_ext |
---|
1948 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1949 | /* end confdefs.h. */ |
---|
1950 | |
---|
1951 | int |
---|
1952 | main () |
---|
1953 | { |
---|
1954 | |
---|
1955 | ; |
---|
1956 | return 0; |
---|
1957 | } |
---|
1958 | _ACEOF |
---|
1959 | ac_clean_files_save=$ac_clean_files |
---|
1960 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
1961 | # Try to create an executable without -o first, disregard a.out. |
---|
1962 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
1963 | # of exeext. |
---|
1964 | { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
---|
1965 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } |
---|
1966 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
1967 | |
---|
1968 | # The possible output files: |
---|
1969 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
1970 | |
---|
1971 | ac_rmfiles= |
---|
1972 | for ac_file in $ac_files |
---|
1973 | do |
---|
1974 | case $ac_file in |
---|
1975 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
1976 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
1977 | esac |
---|
1978 | done |
---|
1979 | rm -f $ac_rmfiles |
---|
1980 | |
---|
1981 | if { (ac_try="$ac_link_default" |
---|
1982 | case "(($ac_try" in |
---|
1983 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1984 | *) ac_try_echo=$ac_try;; |
---|
1985 | esac |
---|
1986 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
1987 | $as_echo "$ac_try_echo") >&5 |
---|
1988 | (eval "$ac_link_default") 2>&5 |
---|
1989 | ac_status=$? |
---|
1990 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1991 | (exit $ac_status); }; then |
---|
1992 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
1993 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
1994 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
1995 | # so that the user can short-circuit this test for compilers unknown to |
---|
1996 | # Autoconf. |
---|
1997 | for ac_file in $ac_files '' |
---|
1998 | do |
---|
1999 | test -f "$ac_file" || continue |
---|
2000 | case $ac_file in |
---|
2001 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
2002 | ;; |
---|
2003 | [ab].out ) |
---|
2004 | # We found the default executable, but exeext='' is most |
---|
2005 | # certainly right. |
---|
2006 | break;; |
---|
2007 | *.* ) |
---|
2008 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
2009 | then :; else |
---|
2010 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2011 | fi |
---|
2012 | # We set ac_cv_exeext here because the later test for it is not |
---|
2013 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
2014 | # argument, so we may need to know it at that point already. |
---|
2015 | # Even if this section looks crufty: it has the advantage of |
---|
2016 | # actually working. |
---|
2017 | break;; |
---|
2018 | * ) |
---|
2019 | break;; |
---|
2020 | esac |
---|
2021 | done |
---|
2022 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
2023 | |
---|
2024 | else |
---|
2025 | ac_file='' |
---|
2026 | fi |
---|
2027 | |
---|
2028 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2029 | $as_echo "$ac_file" >&6; } |
---|
2030 | if test -z "$ac_file"; then |
---|
2031 | $as_echo "$as_me: failed program was:" >&5 |
---|
2032 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2033 | |
---|
2034 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2035 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2036 | { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
---|
2037 | See \`config.log' for more details." >&5 |
---|
2038 | $as_echo "$as_me: error: C++ compiler cannot create executables |
---|
2039 | See \`config.log' for more details." >&2;} |
---|
2040 | { (exit 77); exit 77; }; }; } |
---|
2041 | fi |
---|
2042 | |
---|
2043 | ac_exeext=$ac_cv_exeext |
---|
2044 | |
---|
2045 | # Check that the compiler produces executables we can run. If not, either |
---|
2046 | # the compiler is broken, or we cross compile. |
---|
2047 | { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
---|
2048 | $as_echo_n "checking whether the C++ compiler works... " >&6; } |
---|
2049 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2050 | # If not cross compiling, check that we can run a simple program. |
---|
2051 | if test "$cross_compiling" != yes; then |
---|
2052 | if { ac_try='./$ac_file' |
---|
2053 | { (case "(($ac_try" in |
---|
2054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2055 | *) ac_try_echo=$ac_try;; |
---|
2056 | esac |
---|
2057 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2058 | $as_echo "$ac_try_echo") >&5 |
---|
2059 | (eval "$ac_try") 2>&5 |
---|
2060 | ac_status=$? |
---|
2061 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2062 | (exit $ac_status); }; }; then |
---|
2063 | cross_compiling=no |
---|
2064 | else |
---|
2065 | if test "$cross_compiling" = maybe; then |
---|
2066 | cross_compiling=yes |
---|
2067 | else |
---|
2068 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2069 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2070 | { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
---|
2071 | If you meant to cross compile, use \`--host'. |
---|
2072 | See \`config.log' for more details." >&5 |
---|
2073 | $as_echo "$as_me: error: cannot run C++ compiled programs. |
---|
2074 | If you meant to cross compile, use \`--host'. |
---|
2075 | See \`config.log' for more details." >&2;} |
---|
2076 | { (exit 1); exit 1; }; }; } |
---|
2077 | fi |
---|
2078 | fi |
---|
2079 | fi |
---|
2080 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2081 | $as_echo "yes" >&6; } |
---|
2082 | |
---|
2083 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
2084 | ac_clean_files=$ac_clean_files_save |
---|
2085 | # Check that the compiler produces executables we can run. If not, either |
---|
2086 | # the compiler is broken, or we cross compile. |
---|
2087 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2088 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
2089 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2090 | $as_echo "$cross_compiling" >&6; } |
---|
2091 | |
---|
2092 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2093 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
2094 | if { (ac_try="$ac_link" |
---|
2095 | case "(($ac_try" in |
---|
2096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2097 | *) ac_try_echo=$ac_try;; |
---|
2098 | esac |
---|
2099 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2100 | $as_echo "$ac_try_echo") >&5 |
---|
2101 | (eval "$ac_link") 2>&5 |
---|
2102 | ac_status=$? |
---|
2103 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2104 | (exit $ac_status); }; then |
---|
2105 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2106 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2107 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2108 | # `rm'. |
---|
2109 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2110 | test -f "$ac_file" || continue |
---|
2111 | case $ac_file in |
---|
2112 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2113 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2114 | break;; |
---|
2115 | * ) break;; |
---|
2116 | esac |
---|
2117 | done |
---|
2118 | else |
---|
2119 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2120 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2121 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2122 | See \`config.log' for more details." >&5 |
---|
2123 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2124 | See \`config.log' for more details." >&2;} |
---|
2125 | { (exit 1); exit 1; }; }; } |
---|
2126 | fi |
---|
2127 | |
---|
2128 | rm -f conftest$ac_cv_exeext |
---|
2129 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2130 | $as_echo "$ac_cv_exeext" >&6; } |
---|
2131 | |
---|
2132 | rm -f conftest.$ac_ext |
---|
2133 | EXEEXT=$ac_cv_exeext |
---|
2134 | ac_exeext=$EXEEXT |
---|
2135 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2136 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
2137 | if test "${ac_cv_objext+set}" = set; then |
---|
2138 | $as_echo_n "(cached) " >&6 |
---|
2139 | else |
---|
2140 | cat >conftest.$ac_ext <<_ACEOF |
---|
2141 | /* confdefs.h. */ |
---|
2142 | _ACEOF |
---|
2143 | cat confdefs.h >>conftest.$ac_ext |
---|
2144 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2145 | /* end confdefs.h. */ |
---|
2146 | |
---|
2147 | int |
---|
2148 | main () |
---|
2149 | { |
---|
2150 | |
---|
2151 | ; |
---|
2152 | return 0; |
---|
2153 | } |
---|
2154 | _ACEOF |
---|
2155 | rm -f conftest.o conftest.obj |
---|
2156 | if { (ac_try="$ac_compile" |
---|
2157 | case "(($ac_try" in |
---|
2158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2159 | *) ac_try_echo=$ac_try;; |
---|
2160 | esac |
---|
2161 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2162 | $as_echo "$ac_try_echo") >&5 |
---|
2163 | (eval "$ac_compile") 2>&5 |
---|
2164 | ac_status=$? |
---|
2165 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2166 | (exit $ac_status); }; then |
---|
2167 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
2168 | test -f "$ac_file" || continue; |
---|
2169 | case $ac_file in |
---|
2170 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
2171 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2172 | break;; |
---|
2173 | esac |
---|
2174 | done |
---|
2175 | else |
---|
2176 | $as_echo "$as_me: failed program was:" >&5 |
---|
2177 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2178 | |
---|
2179 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2180 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2181 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2182 | See \`config.log' for more details." >&5 |
---|
2183 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2184 | See \`config.log' for more details." >&2;} |
---|
2185 | { (exit 1); exit 1; }; }; } |
---|
2186 | fi |
---|
2187 | |
---|
2188 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2189 | fi |
---|
2190 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2191 | $as_echo "$ac_cv_objext" >&6; } |
---|
2192 | OBJEXT=$ac_cv_objext |
---|
2193 | ac_objext=$OBJEXT |
---|
2194 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
---|
2195 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
2196 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
---|
2197 | $as_echo_n "(cached) " >&6 |
---|
2198 | else |
---|
2199 | cat >conftest.$ac_ext <<_ACEOF |
---|
2200 | /* confdefs.h. */ |
---|
2201 | _ACEOF |
---|
2202 | cat confdefs.h >>conftest.$ac_ext |
---|
2203 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2204 | /* end confdefs.h. */ |
---|
2205 | |
---|
2206 | int |
---|
2207 | main () |
---|
2208 | { |
---|
2209 | #ifndef __GNUC__ |
---|
2210 | choke me |
---|
2211 | #endif |
---|
2212 | |
---|
2213 | ; |
---|
2214 | return 0; |
---|
2215 | } |
---|
2216 | _ACEOF |
---|
2217 | rm -f conftest.$ac_objext |
---|
2218 | if { (ac_try="$ac_compile" |
---|
2219 | case "(($ac_try" in |
---|
2220 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2221 | *) ac_try_echo=$ac_try;; |
---|
2222 | esac |
---|
2223 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2224 | $as_echo "$ac_try_echo") >&5 |
---|
2225 | (eval "$ac_compile") 2>conftest.er1 |
---|
2226 | ac_status=$? |
---|
2227 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2228 | rm -f conftest.er1 |
---|
2229 | cat conftest.err >&5 |
---|
2230 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2231 | (exit $ac_status); } && { |
---|
2232 | test -z "$ac_cxx_werror_flag" || |
---|
2233 | test ! -s conftest.err |
---|
2234 | } && test -s conftest.$ac_objext; then |
---|
2235 | ac_compiler_gnu=yes |
---|
2236 | else |
---|
2237 | $as_echo "$as_me: failed program was:" >&5 |
---|
2238 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2239 | |
---|
2240 | ac_compiler_gnu=no |
---|
2241 | fi |
---|
2242 | |
---|
2243 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2244 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
2245 | |
---|
2246 | fi |
---|
2247 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
2248 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
2249 | if test $ac_compiler_gnu = yes; then |
---|
2250 | GXX=yes |
---|
2251 | else |
---|
2252 | GXX= |
---|
2253 | fi |
---|
2254 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
2255 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
2256 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
---|
2257 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
2258 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
---|
2259 | $as_echo_n "(cached) " >&6 |
---|
2260 | else |
---|
2261 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
2262 | ac_cxx_werror_flag=yes |
---|
2263 | ac_cv_prog_cxx_g=no |
---|
2264 | CXXFLAGS="-g" |
---|
2265 | cat >conftest.$ac_ext <<_ACEOF |
---|
2266 | /* confdefs.h. */ |
---|
2267 | _ACEOF |
---|
2268 | cat confdefs.h >>conftest.$ac_ext |
---|
2269 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2270 | /* end confdefs.h. */ |
---|
2271 | |
---|
2272 | int |
---|
2273 | main () |
---|
2274 | { |
---|
2275 | |
---|
2276 | ; |
---|
2277 | return 0; |
---|
2278 | } |
---|
2279 | _ACEOF |
---|
2280 | rm -f conftest.$ac_objext |
---|
2281 | if { (ac_try="$ac_compile" |
---|
2282 | case "(($ac_try" in |
---|
2283 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2284 | *) ac_try_echo=$ac_try;; |
---|
2285 | esac |
---|
2286 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2287 | $as_echo "$ac_try_echo") >&5 |
---|
2288 | (eval "$ac_compile") 2>conftest.er1 |
---|
2289 | ac_status=$? |
---|
2290 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2291 | rm -f conftest.er1 |
---|
2292 | cat conftest.err >&5 |
---|
2293 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2294 | (exit $ac_status); } && { |
---|
2295 | test -z "$ac_cxx_werror_flag" || |
---|
2296 | test ! -s conftest.err |
---|
2297 | } && test -s conftest.$ac_objext; then |
---|
2298 | ac_cv_prog_cxx_g=yes |
---|
2299 | else |
---|
2300 | $as_echo "$as_me: failed program was:" >&5 |
---|
2301 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2302 | |
---|
2303 | CXXFLAGS="" |
---|
2304 | cat >conftest.$ac_ext <<_ACEOF |
---|
2305 | /* confdefs.h. */ |
---|
2306 | _ACEOF |
---|
2307 | cat confdefs.h >>conftest.$ac_ext |
---|
2308 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2309 | /* end confdefs.h. */ |
---|
2310 | |
---|
2311 | int |
---|
2312 | main () |
---|
2313 | { |
---|
2314 | |
---|
2315 | ; |
---|
2316 | return 0; |
---|
2317 | } |
---|
2318 | _ACEOF |
---|
2319 | rm -f conftest.$ac_objext |
---|
2320 | if { (ac_try="$ac_compile" |
---|
2321 | case "(($ac_try" in |
---|
2322 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2323 | *) ac_try_echo=$ac_try;; |
---|
2324 | esac |
---|
2325 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2326 | $as_echo "$ac_try_echo") >&5 |
---|
2327 | (eval "$ac_compile") 2>conftest.er1 |
---|
2328 | ac_status=$? |
---|
2329 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2330 | rm -f conftest.er1 |
---|
2331 | cat conftest.err >&5 |
---|
2332 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2333 | (exit $ac_status); } && { |
---|
2334 | test -z "$ac_cxx_werror_flag" || |
---|
2335 | test ! -s conftest.err |
---|
2336 | } && test -s conftest.$ac_objext; then |
---|
2337 | : |
---|
2338 | else |
---|
2339 | $as_echo "$as_me: failed program was:" >&5 |
---|
2340 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2341 | |
---|
2342 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
2343 | CXXFLAGS="-g" |
---|
2344 | cat >conftest.$ac_ext <<_ACEOF |
---|
2345 | /* confdefs.h. */ |
---|
2346 | _ACEOF |
---|
2347 | cat confdefs.h >>conftest.$ac_ext |
---|
2348 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2349 | /* end confdefs.h. */ |
---|
2350 | |
---|
2351 | int |
---|
2352 | main () |
---|
2353 | { |
---|
2354 | |
---|
2355 | ; |
---|
2356 | return 0; |
---|
2357 | } |
---|
2358 | _ACEOF |
---|
2359 | rm -f conftest.$ac_objext |
---|
2360 | if { (ac_try="$ac_compile" |
---|
2361 | case "(($ac_try" in |
---|
2362 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2363 | *) ac_try_echo=$ac_try;; |
---|
2364 | esac |
---|
2365 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2366 | $as_echo "$ac_try_echo") >&5 |
---|
2367 | (eval "$ac_compile") 2>conftest.er1 |
---|
2368 | ac_status=$? |
---|
2369 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2370 | rm -f conftest.er1 |
---|
2371 | cat conftest.err >&5 |
---|
2372 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2373 | (exit $ac_status); } && { |
---|
2374 | test -z "$ac_cxx_werror_flag" || |
---|
2375 | test ! -s conftest.err |
---|
2376 | } && test -s conftest.$ac_objext; then |
---|
2377 | ac_cv_prog_cxx_g=yes |
---|
2378 | else |
---|
2379 | $as_echo "$as_me: failed program was:" >&5 |
---|
2380 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2381 | |
---|
2382 | |
---|
2383 | fi |
---|
2384 | |
---|
2385 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2386 | fi |
---|
2387 | |
---|
2388 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2389 | fi |
---|
2390 | |
---|
2391 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2392 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
2393 | fi |
---|
2394 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
---|
2395 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
2396 | if test "$ac_test_CXXFLAGS" = set; then |
---|
2397 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
2398 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
2399 | if test "$GXX" = yes; then |
---|
2400 | CXXFLAGS="-g -O2" |
---|
2401 | else |
---|
2402 | CXXFLAGS="-g" |
---|
2403 | fi |
---|
2404 | else |
---|
2405 | if test "$GXX" = yes; then |
---|
2406 | CXXFLAGS="-O2" |
---|
2407 | else |
---|
2408 | CXXFLAGS= |
---|
2409 | fi |
---|
2410 | fi |
---|
2411 | ac_ext=c |
---|
2412 | ac_cpp='$CPP $CPPFLAGS' |
---|
2413 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2414 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2415 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2416 | |
---|
2417 | ac_ext=c |
---|
2418 | ac_cpp='$CPP $CPPFLAGS' |
---|
2419 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2420 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2421 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2422 | if test -n "$ac_tool_prefix"; then |
---|
2423 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
2424 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
2425 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2426 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2427 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2428 | $as_echo_n "(cached) " >&6 |
---|
2429 | else |
---|
2430 | if test -n "$CC"; then |
---|
2431 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2432 | else |
---|
2433 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2434 | for as_dir in $PATH |
---|
2435 | do |
---|
2436 | IFS=$as_save_IFS |
---|
2437 | test -z "$as_dir" && as_dir=. |
---|
2438 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2439 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2440 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
2441 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2442 | break 2 |
---|
2443 | fi |
---|
2444 | done |
---|
2445 | done |
---|
2446 | IFS=$as_save_IFS |
---|
2447 | |
---|
2448 | fi |
---|
2449 | fi |
---|
2450 | CC=$ac_cv_prog_CC |
---|
2451 | if test -n "$CC"; then |
---|
2452 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2453 | $as_echo "$CC" >&6; } |
---|
2454 | else |
---|
2455 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2456 | $as_echo "no" >&6; } |
---|
2457 | fi |
---|
2458 | |
---|
2459 | |
---|
2460 | fi |
---|
2461 | if test -z "$ac_cv_prog_CC"; then |
---|
2462 | ac_ct_CC=$CC |
---|
2463 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2464 | set dummy gcc; ac_word=$2 |
---|
2465 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2466 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2467 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2468 | $as_echo_n "(cached) " >&6 |
---|
2469 | else |
---|
2470 | if test -n "$ac_ct_CC"; then |
---|
2471 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2472 | else |
---|
2473 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2474 | for as_dir in $PATH |
---|
2475 | do |
---|
2476 | IFS=$as_save_IFS |
---|
2477 | test -z "$as_dir" && as_dir=. |
---|
2478 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2479 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2480 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2481 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2482 | break 2 |
---|
2483 | fi |
---|
2484 | done |
---|
2485 | done |
---|
2486 | IFS=$as_save_IFS |
---|
2487 | |
---|
2488 | fi |
---|
2489 | fi |
---|
2490 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2491 | if test -n "$ac_ct_CC"; then |
---|
2492 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2493 | $as_echo "$ac_ct_CC" >&6; } |
---|
2494 | else |
---|
2495 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2496 | $as_echo "no" >&6; } |
---|
2497 | fi |
---|
2498 | |
---|
2499 | if test "x$ac_ct_CC" = x; then |
---|
2500 | CC="" |
---|
2501 | else |
---|
2502 | case $cross_compiling:$ac_tool_warned in |
---|
2503 | yes:) |
---|
2504 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2505 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2506 | ac_tool_warned=yes ;; |
---|
2507 | esac |
---|
2508 | CC=$ac_ct_CC |
---|
2509 | fi |
---|
2510 | else |
---|
2511 | CC="$ac_cv_prog_CC" |
---|
2512 | fi |
---|
2513 | |
---|
2514 | if test -z "$CC"; then |
---|
2515 | if test -n "$ac_tool_prefix"; then |
---|
2516 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2517 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2518 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2519 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2520 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2521 | $as_echo_n "(cached) " >&6 |
---|
2522 | else |
---|
2523 | if test -n "$CC"; then |
---|
2524 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2525 | else |
---|
2526 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2527 | for as_dir in $PATH |
---|
2528 | do |
---|
2529 | IFS=$as_save_IFS |
---|
2530 | test -z "$as_dir" && as_dir=. |
---|
2531 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2532 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2533 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2534 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2535 | break 2 |
---|
2536 | fi |
---|
2537 | done |
---|
2538 | done |
---|
2539 | IFS=$as_save_IFS |
---|
2540 | |
---|
2541 | fi |
---|
2542 | fi |
---|
2543 | CC=$ac_cv_prog_CC |
---|
2544 | if test -n "$CC"; then |
---|
2545 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2546 | $as_echo "$CC" >&6; } |
---|
2547 | else |
---|
2548 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2549 | $as_echo "no" >&6; } |
---|
2550 | fi |
---|
2551 | |
---|
2552 | |
---|
2553 | fi |
---|
2554 | fi |
---|
2555 | if test -z "$CC"; then |
---|
2556 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2557 | set dummy cc; ac_word=$2 |
---|
2558 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2559 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2560 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2561 | $as_echo_n "(cached) " >&6 |
---|
2562 | else |
---|
2563 | if test -n "$CC"; then |
---|
2564 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2565 | else |
---|
2566 | ac_prog_rejected=no |
---|
2567 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2568 | for as_dir in $PATH |
---|
2569 | do |
---|
2570 | IFS=$as_save_IFS |
---|
2571 | test -z "$as_dir" && as_dir=. |
---|
2572 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2573 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2574 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2575 | ac_prog_rejected=yes |
---|
2576 | continue |
---|
2577 | fi |
---|
2578 | ac_cv_prog_CC="cc" |
---|
2579 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2580 | break 2 |
---|
2581 | fi |
---|
2582 | done |
---|
2583 | done |
---|
2584 | IFS=$as_save_IFS |
---|
2585 | |
---|
2586 | if test $ac_prog_rejected = yes; then |
---|
2587 | # We found a bogon in the path, so make sure we never use it. |
---|
2588 | set dummy $ac_cv_prog_CC |
---|
2589 | shift |
---|
2590 | if test $# != 0; then |
---|
2591 | # We chose a different compiler from the bogus one. |
---|
2592 | # However, it has the same basename, so the bogon will be chosen |
---|
2593 | # first if we set CC to just the basename; use the full file name. |
---|
2594 | shift |
---|
2595 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2596 | fi |
---|
2597 | fi |
---|
2598 | fi |
---|
2599 | fi |
---|
2600 | CC=$ac_cv_prog_CC |
---|
2601 | if test -n "$CC"; then |
---|
2602 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2603 | $as_echo "$CC" >&6; } |
---|
2604 | else |
---|
2605 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2606 | $as_echo "no" >&6; } |
---|
2607 | fi |
---|
2608 | |
---|
2609 | |
---|
2610 | fi |
---|
2611 | if test -z "$CC"; then |
---|
2612 | if test -n "$ac_tool_prefix"; then |
---|
2613 | for ac_prog in cl.exe |
---|
2614 | do |
---|
2615 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2616 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2617 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2618 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2619 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2620 | $as_echo_n "(cached) " >&6 |
---|
2621 | else |
---|
2622 | if test -n "$CC"; then |
---|
2623 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2624 | else |
---|
2625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2626 | for as_dir in $PATH |
---|
2627 | do |
---|
2628 | IFS=$as_save_IFS |
---|
2629 | test -z "$as_dir" && as_dir=. |
---|
2630 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2631 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2632 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2633 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2634 | break 2 |
---|
2635 | fi |
---|
2636 | done |
---|
2637 | done |
---|
2638 | IFS=$as_save_IFS |
---|
2639 | |
---|
2640 | fi |
---|
2641 | fi |
---|
2642 | CC=$ac_cv_prog_CC |
---|
2643 | if test -n "$CC"; then |
---|
2644 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2645 | $as_echo "$CC" >&6; } |
---|
2646 | else |
---|
2647 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2648 | $as_echo "no" >&6; } |
---|
2649 | fi |
---|
2650 | |
---|
2651 | |
---|
2652 | test -n "$CC" && break |
---|
2653 | done |
---|
2654 | fi |
---|
2655 | if test -z "$CC"; then |
---|
2656 | ac_ct_CC=$CC |
---|
2657 | for ac_prog in cl.exe |
---|
2658 | do |
---|
2659 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2660 | set dummy $ac_prog; ac_word=$2 |
---|
2661 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2662 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2663 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2664 | $as_echo_n "(cached) " >&6 |
---|
2665 | else |
---|
2666 | if test -n "$ac_ct_CC"; then |
---|
2667 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2668 | else |
---|
2669 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2670 | for as_dir in $PATH |
---|
2671 | do |
---|
2672 | IFS=$as_save_IFS |
---|
2673 | test -z "$as_dir" && as_dir=. |
---|
2674 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2675 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2676 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2677 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2678 | break 2 |
---|
2679 | fi |
---|
2680 | done |
---|
2681 | done |
---|
2682 | IFS=$as_save_IFS |
---|
2683 | |
---|
2684 | fi |
---|
2685 | fi |
---|
2686 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2687 | if test -n "$ac_ct_CC"; then |
---|
2688 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2689 | $as_echo "$ac_ct_CC" >&6; } |
---|
2690 | else |
---|
2691 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2692 | $as_echo "no" >&6; } |
---|
2693 | fi |
---|
2694 | |
---|
2695 | |
---|
2696 | test -n "$ac_ct_CC" && break |
---|
2697 | done |
---|
2698 | |
---|
2699 | if test "x$ac_ct_CC" = x; then |
---|
2700 | CC="" |
---|
2701 | else |
---|
2702 | case $cross_compiling:$ac_tool_warned in |
---|
2703 | yes:) |
---|
2704 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2705 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2706 | ac_tool_warned=yes ;; |
---|
2707 | esac |
---|
2708 | CC=$ac_ct_CC |
---|
2709 | fi |
---|
2710 | fi |
---|
2711 | |
---|
2712 | fi |
---|
2713 | |
---|
2714 | |
---|
2715 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2716 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2717 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2718 | See \`config.log' for more details." >&5 |
---|
2719 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2720 | See \`config.log' for more details." >&2;} |
---|
2721 | { (exit 1); exit 1; }; }; } |
---|
2722 | |
---|
2723 | # Provide some information about the compiler. |
---|
2724 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
2725 | set X $ac_compile |
---|
2726 | ac_compiler=$2 |
---|
2727 | { (ac_try="$ac_compiler --version >&5" |
---|
2728 | case "(($ac_try" in |
---|
2729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2730 | *) ac_try_echo=$ac_try;; |
---|
2731 | esac |
---|
2732 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2733 | $as_echo "$ac_try_echo") >&5 |
---|
2734 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
2735 | ac_status=$? |
---|
2736 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2737 | (exit $ac_status); } |
---|
2738 | { (ac_try="$ac_compiler -v >&5" |
---|
2739 | case "(($ac_try" in |
---|
2740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2741 | *) ac_try_echo=$ac_try;; |
---|
2742 | esac |
---|
2743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2744 | $as_echo "$ac_try_echo") >&5 |
---|
2745 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
2746 | ac_status=$? |
---|
2747 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2748 | (exit $ac_status); } |
---|
2749 | { (ac_try="$ac_compiler -V >&5" |
---|
2750 | case "(($ac_try" in |
---|
2751 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2752 | *) ac_try_echo=$ac_try;; |
---|
2753 | esac |
---|
2754 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2755 | $as_echo "$ac_try_echo") >&5 |
---|
2756 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
2757 | ac_status=$? |
---|
2758 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2759 | (exit $ac_status); } |
---|
2760 | |
---|
2761 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2762 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
2763 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2764 | $as_echo_n "(cached) " >&6 |
---|
2765 | else |
---|
2766 | cat >conftest.$ac_ext <<_ACEOF |
---|
2767 | /* confdefs.h. */ |
---|
2768 | _ACEOF |
---|
2769 | cat confdefs.h >>conftest.$ac_ext |
---|
2770 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2771 | /* end confdefs.h. */ |
---|
2772 | |
---|
2773 | int |
---|
2774 | main () |
---|
2775 | { |
---|
2776 | #ifndef __GNUC__ |
---|
2777 | choke me |
---|
2778 | #endif |
---|
2779 | |
---|
2780 | ; |
---|
2781 | return 0; |
---|
2782 | } |
---|
2783 | _ACEOF |
---|
2784 | rm -f conftest.$ac_objext |
---|
2785 | if { (ac_try="$ac_compile" |
---|
2786 | case "(($ac_try" in |
---|
2787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2788 | *) ac_try_echo=$ac_try;; |
---|
2789 | esac |
---|
2790 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2791 | $as_echo "$ac_try_echo") >&5 |
---|
2792 | (eval "$ac_compile") 2>conftest.er1 |
---|
2793 | ac_status=$? |
---|
2794 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2795 | rm -f conftest.er1 |
---|
2796 | cat conftest.err >&5 |
---|
2797 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2798 | (exit $ac_status); } && { |
---|
2799 | test -z "$ac_c_werror_flag" || |
---|
2800 | test ! -s conftest.err |
---|
2801 | } && test -s conftest.$ac_objext; then |
---|
2802 | ac_compiler_gnu=yes |
---|
2803 | else |
---|
2804 | $as_echo "$as_me: failed program was:" >&5 |
---|
2805 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2806 | |
---|
2807 | ac_compiler_gnu=no |
---|
2808 | fi |
---|
2809 | |
---|
2810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2811 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2812 | |
---|
2813 | fi |
---|
2814 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2815 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
2816 | if test $ac_compiler_gnu = yes; then |
---|
2817 | GCC=yes |
---|
2818 | else |
---|
2819 | GCC= |
---|
2820 | fi |
---|
2821 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2822 | ac_save_CFLAGS=$CFLAGS |
---|
2823 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2824 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
2825 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2826 | $as_echo_n "(cached) " >&6 |
---|
2827 | else |
---|
2828 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
2829 | ac_c_werror_flag=yes |
---|
2830 | ac_cv_prog_cc_g=no |
---|
2831 | CFLAGS="-g" |
---|
2832 | cat >conftest.$ac_ext <<_ACEOF |
---|
2833 | /* confdefs.h. */ |
---|
2834 | _ACEOF |
---|
2835 | cat confdefs.h >>conftest.$ac_ext |
---|
2836 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2837 | /* end confdefs.h. */ |
---|
2838 | |
---|
2839 | int |
---|
2840 | main () |
---|
2841 | { |
---|
2842 | |
---|
2843 | ; |
---|
2844 | return 0; |
---|
2845 | } |
---|
2846 | _ACEOF |
---|
2847 | rm -f conftest.$ac_objext |
---|
2848 | if { (ac_try="$ac_compile" |
---|
2849 | case "(($ac_try" in |
---|
2850 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2851 | *) ac_try_echo=$ac_try;; |
---|
2852 | esac |
---|
2853 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2854 | $as_echo "$ac_try_echo") >&5 |
---|
2855 | (eval "$ac_compile") 2>conftest.er1 |
---|
2856 | ac_status=$? |
---|
2857 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2858 | rm -f conftest.er1 |
---|
2859 | cat conftest.err >&5 |
---|
2860 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2861 | (exit $ac_status); } && { |
---|
2862 | test -z "$ac_c_werror_flag" || |
---|
2863 | test ! -s conftest.err |
---|
2864 | } && test -s conftest.$ac_objext; then |
---|
2865 | ac_cv_prog_cc_g=yes |
---|
2866 | else |
---|
2867 | $as_echo "$as_me: failed program was:" >&5 |
---|
2868 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2869 | |
---|
2870 | CFLAGS="" |
---|
2871 | cat >conftest.$ac_ext <<_ACEOF |
---|
2872 | /* confdefs.h. */ |
---|
2873 | _ACEOF |
---|
2874 | cat confdefs.h >>conftest.$ac_ext |
---|
2875 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2876 | /* end confdefs.h. */ |
---|
2877 | |
---|
2878 | int |
---|
2879 | main () |
---|
2880 | { |
---|
2881 | |
---|
2882 | ; |
---|
2883 | return 0; |
---|
2884 | } |
---|
2885 | _ACEOF |
---|
2886 | rm -f conftest.$ac_objext |
---|
2887 | if { (ac_try="$ac_compile" |
---|
2888 | case "(($ac_try" in |
---|
2889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2890 | *) ac_try_echo=$ac_try;; |
---|
2891 | esac |
---|
2892 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2893 | $as_echo "$ac_try_echo") >&5 |
---|
2894 | (eval "$ac_compile") 2>conftest.er1 |
---|
2895 | ac_status=$? |
---|
2896 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2897 | rm -f conftest.er1 |
---|
2898 | cat conftest.err >&5 |
---|
2899 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2900 | (exit $ac_status); } && { |
---|
2901 | test -z "$ac_c_werror_flag" || |
---|
2902 | test ! -s conftest.err |
---|
2903 | } && test -s conftest.$ac_objext; then |
---|
2904 | : |
---|
2905 | else |
---|
2906 | $as_echo "$as_me: failed program was:" >&5 |
---|
2907 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2908 | |
---|
2909 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2910 | CFLAGS="-g" |
---|
2911 | cat >conftest.$ac_ext <<_ACEOF |
---|
2912 | /* confdefs.h. */ |
---|
2913 | _ACEOF |
---|
2914 | cat confdefs.h >>conftest.$ac_ext |
---|
2915 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2916 | /* end confdefs.h. */ |
---|
2917 | |
---|
2918 | int |
---|
2919 | main () |
---|
2920 | { |
---|
2921 | |
---|
2922 | ; |
---|
2923 | return 0; |
---|
2924 | } |
---|
2925 | _ACEOF |
---|
2926 | rm -f conftest.$ac_objext |
---|
2927 | if { (ac_try="$ac_compile" |
---|
2928 | case "(($ac_try" in |
---|
2929 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2930 | *) ac_try_echo=$ac_try;; |
---|
2931 | esac |
---|
2932 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2933 | $as_echo "$ac_try_echo") >&5 |
---|
2934 | (eval "$ac_compile") 2>conftest.er1 |
---|
2935 | ac_status=$? |
---|
2936 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2937 | rm -f conftest.er1 |
---|
2938 | cat conftest.err >&5 |
---|
2939 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2940 | (exit $ac_status); } && { |
---|
2941 | test -z "$ac_c_werror_flag" || |
---|
2942 | test ! -s conftest.err |
---|
2943 | } && test -s conftest.$ac_objext; then |
---|
2944 | ac_cv_prog_cc_g=yes |
---|
2945 | else |
---|
2946 | $as_echo "$as_me: failed program was:" >&5 |
---|
2947 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2948 | |
---|
2949 | |
---|
2950 | fi |
---|
2951 | |
---|
2952 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2953 | fi |
---|
2954 | |
---|
2955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2956 | fi |
---|
2957 | |
---|
2958 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2959 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2960 | fi |
---|
2961 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2962 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
2963 | if test "$ac_test_CFLAGS" = set; then |
---|
2964 | CFLAGS=$ac_save_CFLAGS |
---|
2965 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2966 | if test "$GCC" = yes; then |
---|
2967 | CFLAGS="-g -O2" |
---|
2968 | else |
---|
2969 | CFLAGS="-g" |
---|
2970 | fi |
---|
2971 | else |
---|
2972 | if test "$GCC" = yes; then |
---|
2973 | CFLAGS="-O2" |
---|
2974 | else |
---|
2975 | CFLAGS= |
---|
2976 | fi |
---|
2977 | fi |
---|
2978 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
2979 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
2980 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
2981 | $as_echo_n "(cached) " >&6 |
---|
2982 | else |
---|
2983 | ac_cv_prog_cc_c89=no |
---|
2984 | ac_save_CC=$CC |
---|
2985 | cat >conftest.$ac_ext <<_ACEOF |
---|
2986 | /* confdefs.h. */ |
---|
2987 | _ACEOF |
---|
2988 | cat confdefs.h >>conftest.$ac_ext |
---|
2989 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2990 | /* end confdefs.h. */ |
---|
2991 | #include <stdarg.h> |
---|
2992 | #include <stdio.h> |
---|
2993 | #include <sys/types.h> |
---|
2994 | #include <sys/stat.h> |
---|
2995 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2996 | struct buf { int x; }; |
---|
2997 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2998 | static char *e (p, i) |
---|
2999 | char **p; |
---|
3000 | int i; |
---|
3001 | { |
---|
3002 | return p[i]; |
---|
3003 | } |
---|
3004 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3005 | { |
---|
3006 | char *s; |
---|
3007 | va_list v; |
---|
3008 | va_start (v,p); |
---|
3009 | s = g (p, va_arg (v,int)); |
---|
3010 | va_end (v); |
---|
3011 | return s; |
---|
3012 | } |
---|
3013 | |
---|
3014 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
3015 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
3016 | These don't provoke an error unfortunately, instead are silently treated |
---|
3017 | as 'x'. The following induces an error, until -std is added to get |
---|
3018 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
3019 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
3020 | that's true only with -std. */ |
---|
3021 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
3022 | |
---|
3023 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
3024 | inside strings and character constants. */ |
---|
3025 | #define FOO(x) 'x' |
---|
3026 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
3027 | |
---|
3028 | int test (int i, double x); |
---|
3029 | struct s1 {int (*f) (int a);}; |
---|
3030 | struct s2 {int (*f) (double a);}; |
---|
3031 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
3032 | int argc; |
---|
3033 | char **argv; |
---|
3034 | int |
---|
3035 | main () |
---|
3036 | { |
---|
3037 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3038 | ; |
---|
3039 | return 0; |
---|
3040 | } |
---|
3041 | _ACEOF |
---|
3042 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
3043 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3044 | do |
---|
3045 | CC="$ac_save_CC $ac_arg" |
---|
3046 | rm -f conftest.$ac_objext |
---|
3047 | if { (ac_try="$ac_compile" |
---|
3048 | case "(($ac_try" in |
---|
3049 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3050 | *) ac_try_echo=$ac_try;; |
---|
3051 | esac |
---|
3052 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3053 | $as_echo "$ac_try_echo") >&5 |
---|
3054 | (eval "$ac_compile") 2>conftest.er1 |
---|
3055 | ac_status=$? |
---|
3056 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3057 | rm -f conftest.er1 |
---|
3058 | cat conftest.err >&5 |
---|
3059 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3060 | (exit $ac_status); } && { |
---|
3061 | test -z "$ac_c_werror_flag" || |
---|
3062 | test ! -s conftest.err |
---|
3063 | } && test -s conftest.$ac_objext; then |
---|
3064 | ac_cv_prog_cc_c89=$ac_arg |
---|
3065 | else |
---|
3066 | $as_echo "$as_me: failed program was:" >&5 |
---|
3067 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3068 | |
---|
3069 | |
---|
3070 | fi |
---|
3071 | |
---|
3072 | rm -f core conftest.err conftest.$ac_objext |
---|
3073 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
3074 | done |
---|
3075 | rm -f conftest.$ac_ext |
---|
3076 | CC=$ac_save_CC |
---|
3077 | |
---|
3078 | fi |
---|
3079 | # AC_CACHE_VAL |
---|
3080 | case "x$ac_cv_prog_cc_c89" in |
---|
3081 | x) |
---|
3082 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
---|
3083 | $as_echo "none needed" >&6; } ;; |
---|
3084 | xno) |
---|
3085 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
3086 | $as_echo "unsupported" >&6; } ;; |
---|
3087 | *) |
---|
3088 | CC="$CC $ac_cv_prog_cc_c89" |
---|
3089 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
3090 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
3091 | esac |
---|
3092 | |
---|
3093 | |
---|
3094 | ac_ext=c |
---|
3095 | ac_cpp='$CPP $CPPFLAGS' |
---|
3096 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3097 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3098 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3099 | |
---|
3100 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
---|
3101 | $as_echo_n "checking whether ln -s works... " >&6; } |
---|
3102 | LN_S=$as_ln_s |
---|
3103 | if test "$LN_S" = "ln -s"; then |
---|
3104 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
3105 | $as_echo "yes" >&6; } |
---|
3106 | else |
---|
3107 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
---|
3108 | $as_echo "no, using $LN_S" >&6; } |
---|
3109 | fi |
---|
3110 | |
---|
3111 | ac_aux_dir= |
---|
3112 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
3113 | if test -f "$ac_dir/install-sh"; then |
---|
3114 | ac_aux_dir=$ac_dir |
---|
3115 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
3116 | break |
---|
3117 | elif test -f "$ac_dir/install.sh"; then |
---|
3118 | ac_aux_dir=$ac_dir |
---|
3119 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
3120 | break |
---|
3121 | elif test -f "$ac_dir/shtool"; then |
---|
3122 | ac_aux_dir=$ac_dir |
---|
3123 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
3124 | break |
---|
3125 | fi |
---|
3126 | done |
---|
3127 | if test -z "$ac_aux_dir"; then |
---|
3128 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
3129 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
3130 | { (exit 1); exit 1; }; } |
---|
3131 | fi |
---|
3132 | |
---|
3133 | # These three variables are undocumented and unsupported, |
---|
3134 | # and are intended to be withdrawn in a future Autoconf release. |
---|
3135 | # They can cause serious problems if a builder's source tree is in a directory |
---|
3136 | # whose full name contains unusual characters. |
---|
3137 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
3138 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
3139 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
3140 | |
---|
3141 | |
---|
3142 | # Find a good install program. We prefer a C program (faster), |
---|
3143 | # so one script is as good as another. But avoid the broken or |
---|
3144 | # incompatible versions: |
---|
3145 | # SysV /etc/install, /usr/sbin/install |
---|
3146 | # SunOS /usr/etc/install |
---|
3147 | # IRIX /sbin/install |
---|
3148 | # AIX /bin/install |
---|
3149 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
3150 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
3151 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
3152 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
3153 | # OS/2's system install, which has a completely different semantic |
---|
3154 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
3155 | # Reject install programs that cannot install multiple files. |
---|
3156 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
3157 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
3158 | if test -z "$INSTALL"; then |
---|
3159 | if test "${ac_cv_path_install+set}" = set; then |
---|
3160 | $as_echo_n "(cached) " >&6 |
---|
3161 | else |
---|
3162 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3163 | for as_dir in $PATH |
---|
3164 | do |
---|
3165 | IFS=$as_save_IFS |
---|
3166 | test -z "$as_dir" && as_dir=. |
---|
3167 | # Account for people who put trailing slashes in PATH elements. |
---|
3168 | case $as_dir/ in |
---|
3169 | ./ | .// | /cC/* | \ |
---|
3170 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
3171 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
3172 | /usr/ucb/* ) ;; |
---|
3173 | *) |
---|
3174 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
3175 | # Don't use installbsd from OSF since it installs stuff as root |
---|
3176 | # by default. |
---|
3177 | for ac_prog in ginstall scoinst install; do |
---|
3178 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3179 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
3180 | if test $ac_prog = install && |
---|
3181 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
3182 | # AIX install. It has an incompatible calling convention. |
---|
3183 | : |
---|
3184 | elif test $ac_prog = install && |
---|
3185 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
3186 | # program-specific install script used by HP pwplus--don't use. |
---|
3187 | : |
---|
3188 | else |
---|
3189 | rm -rf conftest.one conftest.two conftest.dir |
---|
3190 | echo one > conftest.one |
---|
3191 | echo two > conftest.two |
---|
3192 | mkdir conftest.dir |
---|
3193 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
3194 | test -s conftest.one && test -s conftest.two && |
---|
3195 | test -s conftest.dir/conftest.one && |
---|
3196 | test -s conftest.dir/conftest.two |
---|
3197 | then |
---|
3198 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
3199 | break 3 |
---|
3200 | fi |
---|
3201 | fi |
---|
3202 | fi |
---|
3203 | done |
---|
3204 | done |
---|
3205 | ;; |
---|
3206 | esac |
---|
3207 | |
---|
3208 | done |
---|
3209 | IFS=$as_save_IFS |
---|
3210 | |
---|
3211 | rm -rf conftest.one conftest.two conftest.dir |
---|
3212 | |
---|
3213 | fi |
---|
3214 | if test "${ac_cv_path_install+set}" = set; then |
---|
3215 | INSTALL=$ac_cv_path_install |
---|
3216 | else |
---|
3217 | # As a last resort, use the slow shell script. Don't cache a |
---|
3218 | # value for INSTALL within a source directory, because that will |
---|
3219 | # break other packages using the cache if that directory is |
---|
3220 | # removed, or if the value is a relative name. |
---|
3221 | INSTALL=$ac_install_sh |
---|
3222 | fi |
---|
3223 | fi |
---|
3224 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
3225 | $as_echo "$INSTALL" >&6; } |
---|
3226 | |
---|
3227 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
3228 | # It thinks the first close brace ends the variable substitution. |
---|
3229 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
3230 | |
---|
3231 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
3232 | |
---|
3233 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
3234 | |
---|
3235 | |
---|
3236 | # Checks for libraries. |
---|
3237 | |
---|
3238 | # Checks for header files. |
---|
3239 | |
---|
3240 | ac_ext=c |
---|
3241 | ac_cpp='$CPP $CPPFLAGS' |
---|
3242 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3243 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3244 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3245 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
3246 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
3247 | # On Suns, sometimes $CPP names a directory. |
---|
3248 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3249 | CPP= |
---|
3250 | fi |
---|
3251 | if test -z "$CPP"; then |
---|
3252 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3253 | $as_echo_n "(cached) " >&6 |
---|
3254 | else |
---|
3255 | # Double quotes because CPP needs to be expanded |
---|
3256 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3257 | do |
---|
3258 | ac_preproc_ok=false |
---|
3259 | for ac_c_preproc_warn_flag in '' yes |
---|
3260 | do |
---|
3261 | # Use a header file that comes with gcc, so configuring glibc |
---|
3262 | # with a fresh cross-compiler works. |
---|
3263 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3264 | # <limits.h> exists even on freestanding compilers. |
---|
3265 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3266 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3267 | cat >conftest.$ac_ext <<_ACEOF |
---|
3268 | /* confdefs.h. */ |
---|
3269 | _ACEOF |
---|
3270 | cat confdefs.h >>conftest.$ac_ext |
---|
3271 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3272 | /* end confdefs.h. */ |
---|
3273 | #ifdef __STDC__ |
---|
3274 | # include <limits.h> |
---|
3275 | #else |
---|
3276 | # include <assert.h> |
---|
3277 | #endif |
---|
3278 | Syntax error |
---|
3279 | _ACEOF |
---|
3280 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3281 | case "(($ac_try" in |
---|
3282 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3283 | *) ac_try_echo=$ac_try;; |
---|
3284 | esac |
---|
3285 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3286 | $as_echo "$ac_try_echo") >&5 |
---|
3287 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3288 | ac_status=$? |
---|
3289 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3290 | rm -f conftest.er1 |
---|
3291 | cat conftest.err >&5 |
---|
3292 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3293 | (exit $ac_status); } >/dev/null && { |
---|
3294 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3295 | test ! -s conftest.err |
---|
3296 | }; then |
---|
3297 | : |
---|
3298 | else |
---|
3299 | $as_echo "$as_me: failed program was:" >&5 |
---|
3300 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3301 | |
---|
3302 | # Broken: fails on valid input. |
---|
3303 | continue |
---|
3304 | fi |
---|
3305 | |
---|
3306 | rm -f conftest.err conftest.$ac_ext |
---|
3307 | |
---|
3308 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3309 | # can be detected and how. |
---|
3310 | cat >conftest.$ac_ext <<_ACEOF |
---|
3311 | /* confdefs.h. */ |
---|
3312 | _ACEOF |
---|
3313 | cat confdefs.h >>conftest.$ac_ext |
---|
3314 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3315 | /* end confdefs.h. */ |
---|
3316 | #include <ac_nonexistent.h> |
---|
3317 | _ACEOF |
---|
3318 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3319 | case "(($ac_try" in |
---|
3320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3321 | *) ac_try_echo=$ac_try;; |
---|
3322 | esac |
---|
3323 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3324 | $as_echo "$ac_try_echo") >&5 |
---|
3325 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3326 | ac_status=$? |
---|
3327 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3328 | rm -f conftest.er1 |
---|
3329 | cat conftest.err >&5 |
---|
3330 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3331 | (exit $ac_status); } >/dev/null && { |
---|
3332 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3333 | test ! -s conftest.err |
---|
3334 | }; then |
---|
3335 | # Broken: success on invalid input. |
---|
3336 | continue |
---|
3337 | else |
---|
3338 | $as_echo "$as_me: failed program was:" >&5 |
---|
3339 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3340 | |
---|
3341 | # Passes both tests. |
---|
3342 | ac_preproc_ok=: |
---|
3343 | break |
---|
3344 | fi |
---|
3345 | |
---|
3346 | rm -f conftest.err conftest.$ac_ext |
---|
3347 | |
---|
3348 | done |
---|
3349 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3350 | rm -f conftest.err conftest.$ac_ext |
---|
3351 | if $ac_preproc_ok; then |
---|
3352 | break |
---|
3353 | fi |
---|
3354 | |
---|
3355 | done |
---|
3356 | ac_cv_prog_CPP=$CPP |
---|
3357 | |
---|
3358 | fi |
---|
3359 | CPP=$ac_cv_prog_CPP |
---|
3360 | else |
---|
3361 | ac_cv_prog_CPP=$CPP |
---|
3362 | fi |
---|
3363 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3364 | $as_echo "$CPP" >&6; } |
---|
3365 | ac_preproc_ok=false |
---|
3366 | for ac_c_preproc_warn_flag in '' yes |
---|
3367 | do |
---|
3368 | # Use a header file that comes with gcc, so configuring glibc |
---|
3369 | # with a fresh cross-compiler works. |
---|
3370 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3371 | # <limits.h> exists even on freestanding compilers. |
---|
3372 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3373 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3374 | cat >conftest.$ac_ext <<_ACEOF |
---|
3375 | /* confdefs.h. */ |
---|
3376 | _ACEOF |
---|
3377 | cat confdefs.h >>conftest.$ac_ext |
---|
3378 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3379 | /* end confdefs.h. */ |
---|
3380 | #ifdef __STDC__ |
---|
3381 | # include <limits.h> |
---|
3382 | #else |
---|
3383 | # include <assert.h> |
---|
3384 | #endif |
---|
3385 | Syntax error |
---|
3386 | _ACEOF |
---|
3387 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3388 | case "(($ac_try" in |
---|
3389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3390 | *) ac_try_echo=$ac_try;; |
---|
3391 | esac |
---|
3392 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3393 | $as_echo "$ac_try_echo") >&5 |
---|
3394 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3395 | ac_status=$? |
---|
3396 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3397 | rm -f conftest.er1 |
---|
3398 | cat conftest.err >&5 |
---|
3399 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3400 | (exit $ac_status); } >/dev/null && { |
---|
3401 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3402 | test ! -s conftest.err |
---|
3403 | }; then |
---|
3404 | : |
---|
3405 | else |
---|
3406 | $as_echo "$as_me: failed program was:" >&5 |
---|
3407 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3408 | |
---|
3409 | # Broken: fails on valid input. |
---|
3410 | continue |
---|
3411 | fi |
---|
3412 | |
---|
3413 | rm -f conftest.err conftest.$ac_ext |
---|
3414 | |
---|
3415 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3416 | # can be detected and how. |
---|
3417 | cat >conftest.$ac_ext <<_ACEOF |
---|
3418 | /* confdefs.h. */ |
---|
3419 | _ACEOF |
---|
3420 | cat confdefs.h >>conftest.$ac_ext |
---|
3421 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3422 | /* end confdefs.h. */ |
---|
3423 | #include <ac_nonexistent.h> |
---|
3424 | _ACEOF |
---|
3425 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3426 | case "(($ac_try" in |
---|
3427 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3428 | *) ac_try_echo=$ac_try;; |
---|
3429 | esac |
---|
3430 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3431 | $as_echo "$ac_try_echo") >&5 |
---|
3432 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3433 | ac_status=$? |
---|
3434 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3435 | rm -f conftest.er1 |
---|
3436 | cat conftest.err >&5 |
---|
3437 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3438 | (exit $ac_status); } >/dev/null && { |
---|
3439 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3440 | test ! -s conftest.err |
---|
3441 | }; then |
---|
3442 | # Broken: success on invalid input. |
---|
3443 | continue |
---|
3444 | else |
---|
3445 | $as_echo "$as_me: failed program was:" >&5 |
---|
3446 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3447 | |
---|
3448 | # Passes both tests. |
---|
3449 | ac_preproc_ok=: |
---|
3450 | break |
---|
3451 | fi |
---|
3452 | |
---|
3453 | rm -f conftest.err conftest.$ac_ext |
---|
3454 | |
---|
3455 | done |
---|
3456 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3457 | rm -f conftest.err conftest.$ac_ext |
---|
3458 | if $ac_preproc_ok; then |
---|
3459 | : |
---|
3460 | else |
---|
3461 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
3462 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3463 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
3464 | See \`config.log' for more details." >&5 |
---|
3465 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
3466 | See \`config.log' for more details." >&2;} |
---|
3467 | { (exit 1); exit 1; }; }; } |
---|
3468 | fi |
---|
3469 | |
---|
3470 | ac_ext=c |
---|
3471 | ac_cpp='$CPP $CPPFLAGS' |
---|
3472 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3473 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3474 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3475 | |
---|
3476 | |
---|
3477 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
3478 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
3479 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
3480 | $as_echo_n "(cached) " >&6 |
---|
3481 | else |
---|
3482 | if test -z "$GREP"; then |
---|
3483 | ac_path_GREP_found=false |
---|
3484 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
3485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3486 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
3487 | do |
---|
3488 | IFS=$as_save_IFS |
---|
3489 | test -z "$as_dir" && as_dir=. |
---|
3490 | for ac_prog in grep ggrep; do |
---|
3491 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3492 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
3493 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
3494 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
3495 | # Check for GNU $ac_path_GREP |
---|
3496 | case `"$ac_path_GREP" --version 2>&1` in |
---|
3497 | *GNU*) |
---|
3498 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
3499 | *) |
---|
3500 | ac_count=0 |
---|
3501 | $as_echo_n 0123456789 >"conftest.in" |
---|
3502 | while : |
---|
3503 | do |
---|
3504 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
3505 | mv "conftest.tmp" "conftest.in" |
---|
3506 | cp "conftest.in" "conftest.nl" |
---|
3507 | $as_echo 'GREP' >> "conftest.nl" |
---|
3508 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
3509 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
3510 | ac_count=`expr $ac_count + 1` |
---|
3511 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
3512 | # Best one so far, save it but keep looking for a better one |
---|
3513 | ac_cv_path_GREP="$ac_path_GREP" |
---|
3514 | ac_path_GREP_max=$ac_count |
---|
3515 | fi |
---|
3516 | # 10*(2^10) chars as input seems more than enough |
---|
3517 | test $ac_count -gt 10 && break |
---|
3518 | done |
---|
3519 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
3520 | esac |
---|
3521 | |
---|
3522 | $ac_path_GREP_found && break 3 |
---|
3523 | done |
---|
3524 | done |
---|
3525 | done |
---|
3526 | IFS=$as_save_IFS |
---|
3527 | if test -z "$ac_cv_path_GREP"; then |
---|
3528 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
3529 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
3530 | { (exit 1); exit 1; }; } |
---|
3531 | fi |
---|
3532 | else |
---|
3533 | ac_cv_path_GREP=$GREP |
---|
3534 | fi |
---|
3535 | |
---|
3536 | fi |
---|
3537 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
3538 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
3539 | GREP="$ac_cv_path_GREP" |
---|
3540 | |
---|
3541 | |
---|
3542 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
3543 | $as_echo_n "checking for egrep... " >&6; } |
---|
3544 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
3545 | $as_echo_n "(cached) " >&6 |
---|
3546 | else |
---|
3547 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
3548 | then ac_cv_path_EGREP="$GREP -E" |
---|
3549 | else |
---|
3550 | if test -z "$EGREP"; then |
---|
3551 | ac_path_EGREP_found=false |
---|
3552 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
3553 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3554 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
3555 | do |
---|
3556 | IFS=$as_save_IFS |
---|
3557 | test -z "$as_dir" && as_dir=. |
---|
3558 | for ac_prog in egrep; do |
---|
3559 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3560 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
3561 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
3562 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
3563 | # Check for GNU $ac_path_EGREP |
---|
3564 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
3565 | *GNU*) |
---|
3566 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
3567 | *) |
---|
3568 | ac_count=0 |
---|
3569 | $as_echo_n 0123456789 >"conftest.in" |
---|
3570 | while : |
---|
3571 | do |
---|
3572 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
3573 | mv "conftest.tmp" "conftest.in" |
---|
3574 | cp "conftest.in" "conftest.nl" |
---|
3575 | $as_echo 'EGREP' >> "conftest.nl" |
---|
3576 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
3577 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
3578 | ac_count=`expr $ac_count + 1` |
---|
3579 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
3580 | # Best one so far, save it but keep looking for a better one |
---|
3581 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
3582 | ac_path_EGREP_max=$ac_count |
---|
3583 | fi |
---|
3584 | # 10*(2^10) chars as input seems more than enough |
---|
3585 | test $ac_count -gt 10 && break |
---|
3586 | done |
---|
3587 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
3588 | esac |
---|
3589 | |
---|
3590 | $ac_path_EGREP_found && break 3 |
---|
3591 | done |
---|
3592 | done |
---|
3593 | done |
---|
3594 | IFS=$as_save_IFS |
---|
3595 | if test -z "$ac_cv_path_EGREP"; then |
---|
3596 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
3597 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
3598 | { (exit 1); exit 1; }; } |
---|
3599 | fi |
---|
3600 | else |
---|
3601 | ac_cv_path_EGREP=$EGREP |
---|
3602 | fi |
---|
3603 | |
---|
3604 | fi |
---|
3605 | fi |
---|
3606 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
3607 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
3608 | EGREP="$ac_cv_path_EGREP" |
---|
3609 | |
---|
3610 | |
---|
3611 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
3612 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
3613 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
3614 | $as_echo_n "(cached) " >&6 |
---|
3615 | else |
---|
3616 | cat >conftest.$ac_ext <<_ACEOF |
---|
3617 | /* confdefs.h. */ |
---|
3618 | _ACEOF |
---|
3619 | cat confdefs.h >>conftest.$ac_ext |
---|
3620 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3621 | /* end confdefs.h. */ |
---|
3622 | #include <stdlib.h> |
---|
3623 | #include <stdarg.h> |
---|
3624 | #include <string.h> |
---|
3625 | #include <float.h> |
---|
3626 | |
---|
3627 | int |
---|
3628 | main () |
---|
3629 | { |
---|
3630 | |
---|
3631 | ; |
---|
3632 | return 0; |
---|
3633 | } |
---|
3634 | _ACEOF |
---|
3635 | rm -f conftest.$ac_objext |
---|
3636 | if { (ac_try="$ac_compile" |
---|
3637 | case "(($ac_try" in |
---|
3638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3639 | *) ac_try_echo=$ac_try;; |
---|
3640 | esac |
---|
3641 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3642 | $as_echo "$ac_try_echo") >&5 |
---|
3643 | (eval "$ac_compile") 2>conftest.er1 |
---|
3644 | ac_status=$? |
---|
3645 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3646 | rm -f conftest.er1 |
---|
3647 | cat conftest.err >&5 |
---|
3648 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3649 | (exit $ac_status); } && { |
---|
3650 | test -z "$ac_c_werror_flag" || |
---|
3651 | test ! -s conftest.err |
---|
3652 | } && test -s conftest.$ac_objext; then |
---|
3653 | ac_cv_header_stdc=yes |
---|
3654 | else |
---|
3655 | $as_echo "$as_me: failed program was:" >&5 |
---|
3656 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3657 | |
---|
3658 | ac_cv_header_stdc=no |
---|
3659 | fi |
---|
3660 | |
---|
3661 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3662 | |
---|
3663 | if test $ac_cv_header_stdc = yes; then |
---|
3664 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
3665 | cat >conftest.$ac_ext <<_ACEOF |
---|
3666 | /* confdefs.h. */ |
---|
3667 | _ACEOF |
---|
3668 | cat confdefs.h >>conftest.$ac_ext |
---|
3669 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3670 | /* end confdefs.h. */ |
---|
3671 | #include <string.h> |
---|
3672 | |
---|
3673 | _ACEOF |
---|
3674 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3675 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
3676 | : |
---|
3677 | else |
---|
3678 | ac_cv_header_stdc=no |
---|
3679 | fi |
---|
3680 | rm -f conftest* |
---|
3681 | |
---|
3682 | fi |
---|
3683 | |
---|
3684 | if test $ac_cv_header_stdc = yes; then |
---|
3685 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
3686 | cat >conftest.$ac_ext <<_ACEOF |
---|
3687 | /* confdefs.h. */ |
---|
3688 | _ACEOF |
---|
3689 | cat confdefs.h >>conftest.$ac_ext |
---|
3690 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3691 | /* end confdefs.h. */ |
---|
3692 | #include <stdlib.h> |
---|
3693 | |
---|
3694 | _ACEOF |
---|
3695 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3696 | $EGREP "free" >/dev/null 2>&1; then |
---|
3697 | : |
---|
3698 | else |
---|
3699 | ac_cv_header_stdc=no |
---|
3700 | fi |
---|
3701 | rm -f conftest* |
---|
3702 | |
---|
3703 | fi |
---|
3704 | |
---|
3705 | if test $ac_cv_header_stdc = yes; then |
---|
3706 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
3707 | if test "$cross_compiling" = yes; then |
---|
3708 | : |
---|
3709 | else |
---|
3710 | cat >conftest.$ac_ext <<_ACEOF |
---|
3711 | /* confdefs.h. */ |
---|
3712 | _ACEOF |
---|
3713 | cat confdefs.h >>conftest.$ac_ext |
---|
3714 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3715 | /* end confdefs.h. */ |
---|
3716 | #include <ctype.h> |
---|
3717 | #include <stdlib.h> |
---|
3718 | #if ((' ' & 0x0FF) == 0x020) |
---|
3719 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
3720 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
3721 | #else |
---|
3722 | # define ISLOWER(c) \ |
---|
3723 | (('a' <= (c) && (c) <= 'i') \ |
---|
3724 | || ('j' <= (c) && (c) <= 'r') \ |
---|
3725 | || ('s' <= (c) && (c) <= 'z')) |
---|
3726 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
3727 | #endif |
---|
3728 | |
---|
3729 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
3730 | int |
---|
3731 | main () |
---|
3732 | { |
---|
3733 | int i; |
---|
3734 | for (i = 0; i < 256; i++) |
---|
3735 | if (XOR (islower (i), ISLOWER (i)) |
---|
3736 | || toupper (i) != TOUPPER (i)) |
---|
3737 | return 2; |
---|
3738 | return 0; |
---|
3739 | } |
---|
3740 | _ACEOF |
---|
3741 | rm -f conftest$ac_exeext |
---|
3742 | if { (ac_try="$ac_link" |
---|
3743 | case "(($ac_try" in |
---|
3744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3745 | *) ac_try_echo=$ac_try;; |
---|
3746 | esac |
---|
3747 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3748 | $as_echo "$ac_try_echo") >&5 |
---|
3749 | (eval "$ac_link") 2>&5 |
---|
3750 | ac_status=$? |
---|
3751 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3752 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
3753 | { (case "(($ac_try" in |
---|
3754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3755 | *) ac_try_echo=$ac_try;; |
---|
3756 | esac |
---|
3757 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3758 | $as_echo "$ac_try_echo") >&5 |
---|
3759 | (eval "$ac_try") 2>&5 |
---|
3760 | ac_status=$? |
---|
3761 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3762 | (exit $ac_status); }; }; then |
---|
3763 | : |
---|
3764 | else |
---|
3765 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
3766 | $as_echo "$as_me: failed program was:" >&5 |
---|
3767 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3768 | |
---|
3769 | ( exit $ac_status ) |
---|
3770 | ac_cv_header_stdc=no |
---|
3771 | fi |
---|
3772 | rm -rf conftest.dSYM |
---|
3773 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
3774 | fi |
---|
3775 | |
---|
3776 | |
---|
3777 | fi |
---|
3778 | fi |
---|
3779 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
3780 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
3781 | if test $ac_cv_header_stdc = yes; then |
---|
3782 | |
---|
3783 | cat >>confdefs.h <<\_ACEOF |
---|
3784 | #define STDC_HEADERS 1 |
---|
3785 | _ACEOF |
---|
3786 | |
---|
3787 | fi |
---|
3788 | |
---|
3789 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
3790 | |
---|
3791 | |
---|
3792 | |
---|
3793 | |
---|
3794 | |
---|
3795 | |
---|
3796 | |
---|
3797 | |
---|
3798 | |
---|
3799 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
3800 | inttypes.h stdint.h unistd.h |
---|
3801 | do |
---|
3802 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3803 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3804 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
3805 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3806 | $as_echo_n "(cached) " >&6 |
---|
3807 | else |
---|
3808 | cat >conftest.$ac_ext <<_ACEOF |
---|
3809 | /* confdefs.h. */ |
---|
3810 | _ACEOF |
---|
3811 | cat confdefs.h >>conftest.$ac_ext |
---|
3812 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3813 | /* end confdefs.h. */ |
---|
3814 | $ac_includes_default |
---|
3815 | |
---|
3816 | #include <$ac_header> |
---|
3817 | _ACEOF |
---|
3818 | rm -f conftest.$ac_objext |
---|
3819 | if { (ac_try="$ac_compile" |
---|
3820 | case "(($ac_try" in |
---|
3821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3822 | *) ac_try_echo=$ac_try;; |
---|
3823 | esac |
---|
3824 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3825 | $as_echo "$ac_try_echo") >&5 |
---|
3826 | (eval "$ac_compile") 2>conftest.er1 |
---|
3827 | ac_status=$? |
---|
3828 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3829 | rm -f conftest.er1 |
---|
3830 | cat conftest.err >&5 |
---|
3831 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3832 | (exit $ac_status); } && { |
---|
3833 | test -z "$ac_c_werror_flag" || |
---|
3834 | test ! -s conftest.err |
---|
3835 | } && test -s conftest.$ac_objext; then |
---|
3836 | eval "$as_ac_Header=yes" |
---|
3837 | else |
---|
3838 | $as_echo "$as_me: failed program was:" >&5 |
---|
3839 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3840 | |
---|
3841 | eval "$as_ac_Header=no" |
---|
3842 | fi |
---|
3843 | |
---|
3844 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3845 | fi |
---|
3846 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
3847 | $as_echo "$as_val"'` |
---|
3848 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
3849 | $as_echo "$ac_res" >&6; } |
---|
3850 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
3851 | $as_echo "$as_val"'` |
---|
3852 | if test "x$as_val" = x""yes; then |
---|
3853 | cat >>confdefs.h <<_ACEOF |
---|
3854 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
3855 | _ACEOF |
---|
3856 | |
---|
3857 | fi |
---|
3858 | |
---|
3859 | done |
---|
3860 | |
---|
3861 | |
---|
3862 | |
---|
3863 | |
---|
3864 | |
---|
3865 | for ac_header in float.h stdlib.h string.h |
---|
3866 | do |
---|
3867 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3868 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3869 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3870 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
3871 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3872 | $as_echo_n "(cached) " >&6 |
---|
3873 | fi |
---|
3874 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
3875 | $as_echo "$as_val"'` |
---|
3876 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
3877 | $as_echo "$ac_res" >&6; } |
---|
3878 | else |
---|
3879 | # Is the header compilable? |
---|
3880 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
3881 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
3882 | cat >conftest.$ac_ext <<_ACEOF |
---|
3883 | /* confdefs.h. */ |
---|
3884 | _ACEOF |
---|
3885 | cat confdefs.h >>conftest.$ac_ext |
---|
3886 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3887 | /* end confdefs.h. */ |
---|
3888 | $ac_includes_default |
---|
3889 | #include <$ac_header> |
---|
3890 | _ACEOF |
---|
3891 | rm -f conftest.$ac_objext |
---|
3892 | if { (ac_try="$ac_compile" |
---|
3893 | case "(($ac_try" in |
---|
3894 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3895 | *) ac_try_echo=$ac_try;; |
---|
3896 | esac |
---|
3897 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3898 | $as_echo "$ac_try_echo") >&5 |
---|
3899 | (eval "$ac_compile") 2>conftest.er1 |
---|
3900 | ac_status=$? |
---|
3901 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3902 | rm -f conftest.er1 |
---|
3903 | cat conftest.err >&5 |
---|
3904 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3905 | (exit $ac_status); } && { |
---|
3906 | test -z "$ac_c_werror_flag" || |
---|
3907 | test ! -s conftest.err |
---|
3908 | } && test -s conftest.$ac_objext; then |
---|
3909 | ac_header_compiler=yes |
---|
3910 | else |
---|
3911 | $as_echo "$as_me: failed program was:" >&5 |
---|
3912 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3913 | |
---|
3914 | ac_header_compiler=no |
---|
3915 | fi |
---|
3916 | |
---|
3917 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3918 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
3919 | $as_echo "$ac_header_compiler" >&6; } |
---|
3920 | |
---|
3921 | # Is the header present? |
---|
3922 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
3923 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
3924 | cat >conftest.$ac_ext <<_ACEOF |
---|
3925 | /* confdefs.h. */ |
---|
3926 | _ACEOF |
---|
3927 | cat confdefs.h >>conftest.$ac_ext |
---|
3928 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3929 | /* end confdefs.h. */ |
---|
3930 | #include <$ac_header> |
---|
3931 | _ACEOF |
---|
3932 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3933 | case "(($ac_try" in |
---|
3934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3935 | *) ac_try_echo=$ac_try;; |
---|
3936 | esac |
---|
3937 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3938 | $as_echo "$ac_try_echo") >&5 |
---|
3939 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3940 | ac_status=$? |
---|
3941 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3942 | rm -f conftest.er1 |
---|
3943 | cat conftest.err >&5 |
---|
3944 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3945 | (exit $ac_status); } >/dev/null && { |
---|
3946 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3947 | test ! -s conftest.err |
---|
3948 | }; then |
---|
3949 | ac_header_preproc=yes |
---|
3950 | else |
---|
3951 | $as_echo "$as_me: failed program was:" >&5 |
---|
3952 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3953 | |
---|
3954 | ac_header_preproc=no |
---|
3955 | fi |
---|
3956 | |
---|
3957 | rm -f conftest.err conftest.$ac_ext |
---|
3958 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
3959 | $as_echo "$ac_header_preproc" >&6; } |
---|
3960 | |
---|
3961 | # So? What about this header? |
---|
3962 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
3963 | yes:no: ) |
---|
3964 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
3965 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
3966 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
3967 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
3968 | ac_header_preproc=yes |
---|
3969 | ;; |
---|
3970 | no:yes:* ) |
---|
3971 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
3972 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
3973 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
3974 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
3975 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
3976 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
3977 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
3978 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
3979 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
3980 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
3981 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
3982 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
3983 | ( cat <<\_ASBOX |
---|
3984 | ## --------------------------------- ## |
---|
3985 | ## Report this to BUG-REPORT-ADDRESS ## |
---|
3986 | ## --------------------------------- ## |
---|
3987 | _ASBOX |
---|
3988 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
3989 | ;; |
---|
3990 | esac |
---|
3991 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3992 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
3993 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3994 | $as_echo_n "(cached) " >&6 |
---|
3995 | else |
---|
3996 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
3997 | fi |
---|
3998 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
3999 | $as_echo "$as_val"'` |
---|
4000 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4001 | $as_echo "$ac_res" >&6; } |
---|
4002 | |
---|
4003 | fi |
---|
4004 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
4005 | $as_echo "$as_val"'` |
---|
4006 | if test "x$as_val" = x""yes; then |
---|
4007 | cat >>confdefs.h <<_ACEOF |
---|
4008 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4009 | _ACEOF |
---|
4010 | |
---|
4011 | fi |
---|
4012 | |
---|
4013 | done |
---|
4014 | |
---|
4015 | |
---|
4016 | # Checks for typedefs, structures, and compiler characteristics. |
---|
4017 | { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
---|
4018 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
---|
4019 | if test "${ac_cv_header_stdbool_h+set}" = set; then |
---|
4020 | $as_echo_n "(cached) " >&6 |
---|
4021 | else |
---|
4022 | cat >conftest.$ac_ext <<_ACEOF |
---|
4023 | /* confdefs.h. */ |
---|
4024 | _ACEOF |
---|
4025 | cat confdefs.h >>conftest.$ac_ext |
---|
4026 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4027 | /* end confdefs.h. */ |
---|
4028 | |
---|
4029 | #include <stdbool.h> |
---|
4030 | #ifndef bool |
---|
4031 | "error: bool is not defined" |
---|
4032 | #endif |
---|
4033 | #ifndef false |
---|
4034 | "error: false is not defined" |
---|
4035 | #endif |
---|
4036 | #if false |
---|
4037 | "error: false is not 0" |
---|
4038 | #endif |
---|
4039 | #ifndef true |
---|
4040 | "error: true is not defined" |
---|
4041 | #endif |
---|
4042 | #if true != 1 |
---|
4043 | "error: true is not 1" |
---|
4044 | #endif |
---|
4045 | #ifndef __bool_true_false_are_defined |
---|
4046 | "error: __bool_true_false_are_defined is not defined" |
---|
4047 | #endif |
---|
4048 | |
---|
4049 | struct s { _Bool s: 1; _Bool t; } s; |
---|
4050 | |
---|
4051 | char a[true == 1 ? 1 : -1]; |
---|
4052 | char b[false == 0 ? 1 : -1]; |
---|
4053 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
---|
4054 | char d[(bool) 0.5 == true ? 1 : -1]; |
---|
4055 | bool e = &s; |
---|
4056 | char f[(_Bool) 0.0 == false ? 1 : -1]; |
---|
4057 | char g[true]; |
---|
4058 | char h[sizeof (_Bool)]; |
---|
4059 | char i[sizeof s.t]; |
---|
4060 | enum { j = false, k = true, l = false * true, m = true * 256 }; |
---|
4061 | /* The following fails for |
---|
4062 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
---|
4063 | _Bool n[m]; |
---|
4064 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
---|
4065 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
---|
4066 | # if defined __xlc__ || defined __GNUC__ |
---|
4067 | /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
---|
4068 | reported by James Lemley on 2005-10-05; see |
---|
4069 | http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
---|
4070 | This test is not quite right, since xlc is allowed to |
---|
4071 | reject this program, as the initializer for xlcbug is |
---|
4072 | not one of the forms that C requires support for. |
---|
4073 | However, doing the test right would require a runtime |
---|
4074 | test, and that would make cross-compilation harder. |
---|
4075 | Let us hope that IBM fixes the xlc bug, and also adds |
---|
4076 | support for this kind of constant expression. In the |
---|
4077 | meantime, this test will reject xlc, which is OK, since |
---|
4078 | our stdbool.h substitute should suffice. We also test |
---|
4079 | this with GCC, where it should work, to detect more |
---|
4080 | quickly whether someone messes up the test in the |
---|
4081 | future. */ |
---|
4082 | char digs[] = "0123456789"; |
---|
4083 | int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
---|
4084 | # endif |
---|
4085 | /* Catch a bug in an HP-UX C compiler. See |
---|
4086 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
---|
4087 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
---|
4088 | */ |
---|
4089 | _Bool q = true; |
---|
4090 | _Bool *pq = &q; |
---|
4091 | |
---|
4092 | int |
---|
4093 | main () |
---|
4094 | { |
---|
4095 | |
---|
4096 | *pq |= q; |
---|
4097 | *pq |= ! q; |
---|
4098 | /* Refer to every declared value, to avoid compiler optimizations. */ |
---|
4099 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
---|
4100 | + !m + !n + !o + !p + !q + !pq); |
---|
4101 | |
---|
4102 | ; |
---|
4103 | return 0; |
---|
4104 | } |
---|
4105 | _ACEOF |
---|
4106 | rm -f conftest.$ac_objext |
---|
4107 | if { (ac_try="$ac_compile" |
---|
4108 | case "(($ac_try" in |
---|
4109 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4110 | *) ac_try_echo=$ac_try;; |
---|
4111 | esac |
---|
4112 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4113 | $as_echo "$ac_try_echo") >&5 |
---|
4114 | (eval "$ac_compile") 2>conftest.er1 |
---|
4115 | ac_status=$? |
---|
4116 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4117 | rm -f conftest.er1 |
---|
4118 | cat conftest.err >&5 |
---|
4119 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4120 | (exit $ac_status); } && { |
---|
4121 | test -z "$ac_c_werror_flag" || |
---|
4122 | test ! -s conftest.err |
---|
4123 | } && test -s conftest.$ac_objext; then |
---|
4124 | ac_cv_header_stdbool_h=yes |
---|
4125 | else |
---|
4126 | $as_echo "$as_me: failed program was:" >&5 |
---|
4127 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4128 | |
---|
4129 | ac_cv_header_stdbool_h=no |
---|
4130 | fi |
---|
4131 | |
---|
4132 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4133 | fi |
---|
4134 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
---|
4135 | $as_echo "$ac_cv_header_stdbool_h" >&6; } |
---|
4136 | { $as_echo "$as_me:$LINENO: checking for _Bool" >&5 |
---|
4137 | $as_echo_n "checking for _Bool... " >&6; } |
---|
4138 | if test "${ac_cv_type__Bool+set}" = set; then |
---|
4139 | $as_echo_n "(cached) " >&6 |
---|
4140 | else |
---|
4141 | ac_cv_type__Bool=no |
---|
4142 | cat >conftest.$ac_ext <<_ACEOF |
---|
4143 | /* confdefs.h. */ |
---|
4144 | _ACEOF |
---|
4145 | cat confdefs.h >>conftest.$ac_ext |
---|
4146 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4147 | /* end confdefs.h. */ |
---|
4148 | $ac_includes_default |
---|
4149 | int |
---|
4150 | main () |
---|
4151 | { |
---|
4152 | if (sizeof (_Bool)) |
---|
4153 | return 0; |
---|
4154 | ; |
---|
4155 | return 0; |
---|
4156 | } |
---|
4157 | _ACEOF |
---|
4158 | rm -f conftest.$ac_objext |
---|
4159 | if { (ac_try="$ac_compile" |
---|
4160 | case "(($ac_try" in |
---|
4161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4162 | *) ac_try_echo=$ac_try;; |
---|
4163 | esac |
---|
4164 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4165 | $as_echo "$ac_try_echo") >&5 |
---|
4166 | (eval "$ac_compile") 2>conftest.er1 |
---|
4167 | ac_status=$? |
---|
4168 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4169 | rm -f conftest.er1 |
---|
4170 | cat conftest.err >&5 |
---|
4171 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4172 | (exit $ac_status); } && { |
---|
4173 | test -z "$ac_c_werror_flag" || |
---|
4174 | test ! -s conftest.err |
---|
4175 | } && test -s conftest.$ac_objext; then |
---|
4176 | cat >conftest.$ac_ext <<_ACEOF |
---|
4177 | /* confdefs.h. */ |
---|
4178 | _ACEOF |
---|
4179 | cat confdefs.h >>conftest.$ac_ext |
---|
4180 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4181 | /* end confdefs.h. */ |
---|
4182 | $ac_includes_default |
---|
4183 | int |
---|
4184 | main () |
---|
4185 | { |
---|
4186 | if (sizeof ((_Bool))) |
---|
4187 | return 0; |
---|
4188 | ; |
---|
4189 | return 0; |
---|
4190 | } |
---|
4191 | _ACEOF |
---|
4192 | rm -f conftest.$ac_objext |
---|
4193 | if { (ac_try="$ac_compile" |
---|
4194 | case "(($ac_try" in |
---|
4195 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4196 | *) ac_try_echo=$ac_try;; |
---|
4197 | esac |
---|
4198 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4199 | $as_echo "$ac_try_echo") >&5 |
---|
4200 | (eval "$ac_compile") 2>conftest.er1 |
---|
4201 | ac_status=$? |
---|
4202 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4203 | rm -f conftest.er1 |
---|
4204 | cat conftest.err >&5 |
---|
4205 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4206 | (exit $ac_status); } && { |
---|
4207 | test -z "$ac_c_werror_flag" || |
---|
4208 | test ! -s conftest.err |
---|
4209 | } && test -s conftest.$ac_objext; then |
---|
4210 | : |
---|
4211 | else |
---|
4212 | $as_echo "$as_me: failed program was:" >&5 |
---|
4213 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4214 | |
---|
4215 | ac_cv_type__Bool=yes |
---|
4216 | fi |
---|
4217 | |
---|
4218 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4219 | else |
---|
4220 | $as_echo "$as_me: failed program was:" >&5 |
---|
4221 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4222 | |
---|
4223 | |
---|
4224 | fi |
---|
4225 | |
---|
4226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4227 | fi |
---|
4228 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
---|
4229 | $as_echo "$ac_cv_type__Bool" >&6; } |
---|
4230 | if test "x$ac_cv_type__Bool" = x""yes; then |
---|
4231 | |
---|
4232 | cat >>confdefs.h <<_ACEOF |
---|
4233 | #define HAVE__BOOL 1 |
---|
4234 | _ACEOF |
---|
4235 | |
---|
4236 | |
---|
4237 | fi |
---|
4238 | |
---|
4239 | if test $ac_cv_header_stdbool_h = yes; then |
---|
4240 | |
---|
4241 | cat >>confdefs.h <<\_ACEOF |
---|
4242 | #define HAVE_STDBOOL_H 1 |
---|
4243 | _ACEOF |
---|
4244 | |
---|
4245 | fi |
---|
4246 | |
---|
4247 | { $as_echo "$as_me:$LINENO: checking for inline" >&5 |
---|
4248 | $as_echo_n "checking for inline... " >&6; } |
---|
4249 | if test "${ac_cv_c_inline+set}" = set; then |
---|
4250 | $as_echo_n "(cached) " >&6 |
---|
4251 | else |
---|
4252 | ac_cv_c_inline=no |
---|
4253 | for ac_kw in inline __inline__ __inline; do |
---|
4254 | cat >conftest.$ac_ext <<_ACEOF |
---|
4255 | /* confdefs.h. */ |
---|
4256 | _ACEOF |
---|
4257 | cat confdefs.h >>conftest.$ac_ext |
---|
4258 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4259 | /* end confdefs.h. */ |
---|
4260 | #ifndef __cplusplus |
---|
4261 | typedef int foo_t; |
---|
4262 | static $ac_kw foo_t static_foo () {return 0; } |
---|
4263 | $ac_kw foo_t foo () {return 0; } |
---|
4264 | #endif |
---|
4265 | |
---|
4266 | _ACEOF |
---|
4267 | rm -f conftest.$ac_objext |
---|
4268 | if { (ac_try="$ac_compile" |
---|
4269 | case "(($ac_try" in |
---|
4270 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4271 | *) ac_try_echo=$ac_try;; |
---|
4272 | esac |
---|
4273 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4274 | $as_echo "$ac_try_echo") >&5 |
---|
4275 | (eval "$ac_compile") 2>conftest.er1 |
---|
4276 | ac_status=$? |
---|
4277 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4278 | rm -f conftest.er1 |
---|
4279 | cat conftest.err >&5 |
---|
4280 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4281 | (exit $ac_status); } && { |
---|
4282 | test -z "$ac_c_werror_flag" || |
---|
4283 | test ! -s conftest.err |
---|
4284 | } && test -s conftest.$ac_objext; then |
---|
4285 | ac_cv_c_inline=$ac_kw |
---|
4286 | else |
---|
4287 | $as_echo "$as_me: failed program was:" >&5 |
---|
4288 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4289 | |
---|
4290 | |
---|
4291 | fi |
---|
4292 | |
---|
4293 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4294 | test "$ac_cv_c_inline" != no && break |
---|
4295 | done |
---|
4296 | |
---|
4297 | fi |
---|
4298 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
---|
4299 | $as_echo "$ac_cv_c_inline" >&6; } |
---|
4300 | |
---|
4301 | |
---|
4302 | case $ac_cv_c_inline in |
---|
4303 | inline | yes) ;; |
---|
4304 | *) |
---|
4305 | case $ac_cv_c_inline in |
---|
4306 | no) ac_val=;; |
---|
4307 | *) ac_val=$ac_cv_c_inline;; |
---|
4308 | esac |
---|
4309 | cat >>confdefs.h <<_ACEOF |
---|
4310 | #ifndef __cplusplus |
---|
4311 | #define inline $ac_val |
---|
4312 | #endif |
---|
4313 | _ACEOF |
---|
4314 | ;; |
---|
4315 | esac |
---|
4316 | |
---|
4317 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 |
---|
4318 | $as_echo_n "checking for size_t... " >&6; } |
---|
4319 | if test "${ac_cv_type_size_t+set}" = set; then |
---|
4320 | $as_echo_n "(cached) " >&6 |
---|
4321 | else |
---|
4322 | ac_cv_type_size_t=no |
---|
4323 | cat >conftest.$ac_ext <<_ACEOF |
---|
4324 | /* confdefs.h. */ |
---|
4325 | _ACEOF |
---|
4326 | cat confdefs.h >>conftest.$ac_ext |
---|
4327 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4328 | /* end confdefs.h. */ |
---|
4329 | $ac_includes_default |
---|
4330 | int |
---|
4331 | main () |
---|
4332 | { |
---|
4333 | if (sizeof (size_t)) |
---|
4334 | return 0; |
---|
4335 | ; |
---|
4336 | return 0; |
---|
4337 | } |
---|
4338 | _ACEOF |
---|
4339 | rm -f conftest.$ac_objext |
---|
4340 | if { (ac_try="$ac_compile" |
---|
4341 | case "(($ac_try" in |
---|
4342 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4343 | *) ac_try_echo=$ac_try;; |
---|
4344 | esac |
---|
4345 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4346 | $as_echo "$ac_try_echo") >&5 |
---|
4347 | (eval "$ac_compile") 2>conftest.er1 |
---|
4348 | ac_status=$? |
---|
4349 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4350 | rm -f conftest.er1 |
---|
4351 | cat conftest.err >&5 |
---|
4352 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4353 | (exit $ac_status); } && { |
---|
4354 | test -z "$ac_c_werror_flag" || |
---|
4355 | test ! -s conftest.err |
---|
4356 | } && test -s conftest.$ac_objext; then |
---|
4357 | cat >conftest.$ac_ext <<_ACEOF |
---|
4358 | /* confdefs.h. */ |
---|
4359 | _ACEOF |
---|
4360 | cat confdefs.h >>conftest.$ac_ext |
---|
4361 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4362 | /* end confdefs.h. */ |
---|
4363 | $ac_includes_default |
---|
4364 | int |
---|
4365 | main () |
---|
4366 | { |
---|
4367 | if (sizeof ((size_t))) |
---|
4368 | return 0; |
---|
4369 | ; |
---|
4370 | return 0; |
---|
4371 | } |
---|
4372 | _ACEOF |
---|
4373 | rm -f conftest.$ac_objext |
---|
4374 | if { (ac_try="$ac_compile" |
---|
4375 | case "(($ac_try" in |
---|
4376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4377 | *) ac_try_echo=$ac_try;; |
---|
4378 | esac |
---|
4379 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4380 | $as_echo "$ac_try_echo") >&5 |
---|
4381 | (eval "$ac_compile") 2>conftest.er1 |
---|
4382 | ac_status=$? |
---|
4383 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4384 | rm -f conftest.er1 |
---|
4385 | cat conftest.err >&5 |
---|
4386 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4387 | (exit $ac_status); } && { |
---|
4388 | test -z "$ac_c_werror_flag" || |
---|
4389 | test ! -s conftest.err |
---|
4390 | } && test -s conftest.$ac_objext; then |
---|
4391 | : |
---|
4392 | else |
---|
4393 | $as_echo "$as_me: failed program was:" >&5 |
---|
4394 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4395 | |
---|
4396 | ac_cv_type_size_t=yes |
---|
4397 | fi |
---|
4398 | |
---|
4399 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4400 | else |
---|
4401 | $as_echo "$as_me: failed program was:" >&5 |
---|
4402 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4403 | |
---|
4404 | |
---|
4405 | fi |
---|
4406 | |
---|
4407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4408 | fi |
---|
4409 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
---|
4410 | $as_echo "$ac_cv_type_size_t" >&6; } |
---|
4411 | if test "x$ac_cv_type_size_t" = x""yes; then |
---|
4412 | : |
---|
4413 | else |
---|
4414 | |
---|
4415 | cat >>confdefs.h <<_ACEOF |
---|
4416 | #define size_t unsigned int |
---|
4417 | _ACEOF |
---|
4418 | |
---|
4419 | fi |
---|
4420 | |
---|
4421 | |
---|
4422 | # Checks for library functions. |
---|
4423 | { $as_echo "$as_me:$LINENO: checking for error_at_line" >&5 |
---|
4424 | $as_echo_n "checking for error_at_line... " >&6; } |
---|
4425 | if test "${ac_cv_lib_error_at_line+set}" = set; then |
---|
4426 | $as_echo_n "(cached) " >&6 |
---|
4427 | else |
---|
4428 | cat >conftest.$ac_ext <<_ACEOF |
---|
4429 | /* confdefs.h. */ |
---|
4430 | _ACEOF |
---|
4431 | cat confdefs.h >>conftest.$ac_ext |
---|
4432 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4433 | /* end confdefs.h. */ |
---|
4434 | #include <error.h> |
---|
4435 | int |
---|
4436 | main () |
---|
4437 | { |
---|
4438 | error_at_line (0, 0, "", 0, "an error occurred"); |
---|
4439 | ; |
---|
4440 | return 0; |
---|
4441 | } |
---|
4442 | _ACEOF |
---|
4443 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4444 | if { (ac_try="$ac_link" |
---|
4445 | case "(($ac_try" in |
---|
4446 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4447 | *) ac_try_echo=$ac_try;; |
---|
4448 | esac |
---|
4449 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4450 | $as_echo "$ac_try_echo") >&5 |
---|
4451 | (eval "$ac_link") 2>conftest.er1 |
---|
4452 | ac_status=$? |
---|
4453 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4454 | rm -f conftest.er1 |
---|
4455 | cat conftest.err >&5 |
---|
4456 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4457 | (exit $ac_status); } && { |
---|
4458 | test -z "$ac_c_werror_flag" || |
---|
4459 | test ! -s conftest.err |
---|
4460 | } && test -s conftest$ac_exeext && { |
---|
4461 | test "$cross_compiling" = yes || |
---|
4462 | $as_test_x conftest$ac_exeext |
---|
4463 | }; then |
---|
4464 | ac_cv_lib_error_at_line=yes |
---|
4465 | else |
---|
4466 | $as_echo "$as_me: failed program was:" >&5 |
---|
4467 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4468 | |
---|
4469 | ac_cv_lib_error_at_line=no |
---|
4470 | fi |
---|
4471 | |
---|
4472 | rm -rf conftest.dSYM |
---|
4473 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
4474 | conftest$ac_exeext conftest.$ac_ext |
---|
4475 | fi |
---|
4476 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 |
---|
4477 | $as_echo "$ac_cv_lib_error_at_line" >&6; } |
---|
4478 | if test $ac_cv_lib_error_at_line = no; then |
---|
4479 | case " $LIBOBJS " in |
---|
4480 | *" error.$ac_objext "* ) ;; |
---|
4481 | *) LIBOBJS="$LIBOBJS error.$ac_objext" |
---|
4482 | ;; |
---|
4483 | esac |
---|
4484 | |
---|
4485 | fi |
---|
4486 | |
---|
4487 | |
---|
4488 | |
---|
4489 | |
---|
4490 | |
---|
4491 | |
---|
4492 | for ac_func in memmove memset pow sqrt strchr |
---|
4493 | do |
---|
4494 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4495 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4496 | $as_echo_n "checking for $ac_func... " >&6; } |
---|
4497 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4498 | $as_echo_n "(cached) " >&6 |
---|
4499 | else |
---|
4500 | cat >conftest.$ac_ext <<_ACEOF |
---|
4501 | /* confdefs.h. */ |
---|
4502 | _ACEOF |
---|
4503 | cat confdefs.h >>conftest.$ac_ext |
---|
4504 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4505 | /* end confdefs.h. */ |
---|
4506 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4507 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4508 | #define $ac_func innocuous_$ac_func |
---|
4509 | |
---|
4510 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4511 | which can conflict with char $ac_func (); below. |
---|
4512 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4513 | <limits.h> exists even on freestanding compilers. */ |
---|
4514 | |
---|
4515 | #ifdef __STDC__ |
---|
4516 | # include <limits.h> |
---|
4517 | #else |
---|
4518 | # include <assert.h> |
---|
4519 | #endif |
---|
4520 | |
---|
4521 | #undef $ac_func |
---|
4522 | |
---|
4523 | /* Override any GCC internal prototype to avoid an error. |
---|
4524 | Use char because int might match the return type of a GCC |
---|
4525 | builtin and then its argument prototype would still apply. */ |
---|
4526 | #ifdef __cplusplus |
---|
4527 | extern "C" |
---|
4528 | #endif |
---|
4529 | char $ac_func (); |
---|
4530 | /* The GNU C library defines this for functions which it implements |
---|
4531 | to always fail with ENOSYS. Some functions are actually named |
---|
4532 | something starting with __ and the normal name is an alias. */ |
---|
4533 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
4534 | choke me |
---|
4535 | #endif |
---|
4536 | |
---|
4537 | int |
---|
4538 | main () |
---|
4539 | { |
---|
4540 | return $ac_func (); |
---|
4541 | ; |
---|
4542 | return 0; |
---|
4543 | } |
---|
4544 | _ACEOF |
---|
4545 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4546 | if { (ac_try="$ac_link" |
---|
4547 | case "(($ac_try" in |
---|
4548 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4549 | *) ac_try_echo=$ac_try;; |
---|
4550 | esac |
---|
4551 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4552 | $as_echo "$ac_try_echo") >&5 |
---|
4553 | (eval "$ac_link") 2>conftest.er1 |
---|
4554 | ac_status=$? |
---|
4555 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4556 | rm -f conftest.er1 |
---|
4557 | cat conftest.err >&5 |
---|
4558 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4559 | (exit $ac_status); } && { |
---|
4560 | test -z "$ac_c_werror_flag" || |
---|
4561 | test ! -s conftest.err |
---|
4562 | } && test -s conftest$ac_exeext && { |
---|
4563 | test "$cross_compiling" = yes || |
---|
4564 | $as_test_x conftest$ac_exeext |
---|
4565 | }; then |
---|
4566 | eval "$as_ac_var=yes" |
---|
4567 | else |
---|
4568 | $as_echo "$as_me: failed program was:" >&5 |
---|
4569 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4570 | |
---|
4571 | eval "$as_ac_var=no" |
---|
4572 | fi |
---|
4573 | |
---|
4574 | rm -rf conftest.dSYM |
---|
4575 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
4576 | conftest$ac_exeext conftest.$ac_ext |
---|
4577 | fi |
---|
4578 | ac_res=`eval 'as_val=${'$as_ac_var'} |
---|
4579 | $as_echo "$as_val"'` |
---|
4580 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4581 | $as_echo "$ac_res" >&6; } |
---|
4582 | as_val=`eval 'as_val=${'$as_ac_var'} |
---|
4583 | $as_echo "$as_val"'` |
---|
4584 | if test "x$as_val" = x""yes; then |
---|
4585 | cat >>confdefs.h <<_ACEOF |
---|
4586 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4587 | _ACEOF |
---|
4588 | |
---|
4589 | fi |
---|
4590 | done |
---|
4591 | |
---|
4592 | |
---|
4593 | ac_config_files="$ac_config_files Makefile" |
---|
4594 | |
---|
4595 | cat >confcache <<\_ACEOF |
---|
4596 | # This file is a shell script that caches the results of configure |
---|
4597 | # tests run on this system so they can be shared between configure |
---|
4598 | # scripts and configure runs, see configure's option --config-cache. |
---|
4599 | # It is not useful on other systems. If it contains results you don't |
---|
4600 | # want to keep, you may remove or edit it. |
---|
4601 | # |
---|
4602 | # config.status only pays attention to the cache file if you give it |
---|
4603 | # the --recheck option to rerun configure. |
---|
4604 | # |
---|
4605 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
4606 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
4607 | # following values. |
---|
4608 | |
---|
4609 | _ACEOF |
---|
4610 | |
---|
4611 | # The following way of writing the cache mishandles newlines in values, |
---|
4612 | # but we know of no workaround that is simple, portable, and efficient. |
---|
4613 | # So, we kill variables containing newlines. |
---|
4614 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
4615 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
4616 | ( |
---|
4617 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
4618 | eval ac_val=\$$ac_var |
---|
4619 | case $ac_val in #( |
---|
4620 | *${as_nl}*) |
---|
4621 | case $ac_var in #( |
---|
4622 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
4623 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
4624 | esac |
---|
4625 | case $ac_var in #( |
---|
4626 | _ | IFS | as_nl) ;; #( |
---|
4627 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
4628 | *) $as_unset $ac_var ;; |
---|
4629 | esac ;; |
---|
4630 | esac |
---|
4631 | done |
---|
4632 | |
---|
4633 | (set) 2>&1 | |
---|
4634 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
4635 | *${as_nl}ac_space=\ *) |
---|
4636 | # `set' does not quote correctly, so add quotes (double-quote |
---|
4637 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
4638 | sed -n \ |
---|
4639 | "s/'/'\\\\''/g; |
---|
4640 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
4641 | ;; #( |
---|
4642 | *) |
---|
4643 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
4644 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
4645 | ;; |
---|
4646 | esac | |
---|
4647 | sort |
---|
4648 | ) | |
---|
4649 | sed ' |
---|
4650 | /^ac_cv_env_/b end |
---|
4651 | t clear |
---|
4652 | :clear |
---|
4653 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
4654 | t end |
---|
4655 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
4656 | :end' >>confcache |
---|
4657 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
4658 | if test -w "$cache_file"; then |
---|
4659 | test "x$cache_file" != "x/dev/null" && |
---|
4660 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
4661 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
4662 | cat confcache >$cache_file |
---|
4663 | else |
---|
4664 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
4665 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
4666 | fi |
---|
4667 | fi |
---|
4668 | rm -f confcache |
---|
4669 | |
---|
4670 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
4671 | # Let make expand exec_prefix. |
---|
4672 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
4673 | |
---|
4674 | DEFS=-DHAVE_CONFIG_H |
---|
4675 | |
---|
4676 | ac_libobjs= |
---|
4677 | ac_ltlibobjs= |
---|
4678 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
4679 | # 1. Remove the extension, and $U if already installed. |
---|
4680 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
4681 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
4682 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
4683 | # will be set to the directory where LIBOBJS objects are built. |
---|
4684 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
4685 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
4686 | done |
---|
4687 | LIBOBJS=$ac_libobjs |
---|
4688 | |
---|
4689 | LTLIBOBJS=$ac_ltlibobjs |
---|
4690 | |
---|
4691 | |
---|
4692 | |
---|
4693 | : ${CONFIG_STATUS=./config.status} |
---|
4694 | ac_write_fail=0 |
---|
4695 | ac_clean_files_save=$ac_clean_files |
---|
4696 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
4697 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
4698 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
4699 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
4700 | #! $SHELL |
---|
4701 | # Generated by $as_me. |
---|
4702 | # Run this file to recreate the current configuration. |
---|
4703 | # Compiler output produced by configure, useful for debugging |
---|
4704 | # configure, is in config.log if it exists. |
---|
4705 | |
---|
4706 | debug=false |
---|
4707 | ac_cs_recheck=false |
---|
4708 | ac_cs_silent=false |
---|
4709 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
4710 | _ACEOF |
---|
4711 | |
---|
4712 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
4713 | ## --------------------- ## |
---|
4714 | ## M4sh Initialization. ## |
---|
4715 | ## --------------------- ## |
---|
4716 | |
---|
4717 | # Be more Bourne compatible |
---|
4718 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
4719 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
4720 | emulate sh |
---|
4721 | NULLCMD=: |
---|
4722 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
4723 | # is contrary to our usage. Disable this feature. |
---|
4724 | alias -g '${1+"$@"}'='"$@"' |
---|
4725 | setopt NO_GLOB_SUBST |
---|
4726 | else |
---|
4727 | case `(set -o) 2>/dev/null` in |
---|
4728 | *posix*) set -o posix ;; |
---|
4729 | esac |
---|
4730 | |
---|
4731 | fi |
---|
4732 | |
---|
4733 | |
---|
4734 | |
---|
4735 | |
---|
4736 | # PATH needs CR |
---|
4737 | # Avoid depending upon Character Ranges. |
---|
4738 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
4739 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
4740 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
4741 | as_cr_digits='0123456789' |
---|
4742 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
4743 | |
---|
4744 | as_nl=' |
---|
4745 | ' |
---|
4746 | export as_nl |
---|
4747 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
4748 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
4749 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
4750 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
4751 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
4752 | as_echo='printf %s\n' |
---|
4753 | as_echo_n='printf %s' |
---|
4754 | else |
---|
4755 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
4756 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
4757 | as_echo_n='/usr/ucb/echo -n' |
---|
4758 | else |
---|
4759 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
4760 | as_echo_n_body='eval |
---|
4761 | arg=$1; |
---|
4762 | case $arg in |
---|
4763 | *"$as_nl"*) |
---|
4764 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
4765 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
4766 | esac; |
---|
4767 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
4768 | ' |
---|
4769 | export as_echo_n_body |
---|
4770 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
4771 | fi |
---|
4772 | export as_echo_body |
---|
4773 | as_echo='sh -c $as_echo_body as_echo' |
---|
4774 | fi |
---|
4775 | |
---|
4776 | # The user is always right. |
---|
4777 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
4778 | PATH_SEPARATOR=: |
---|
4779 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
4780 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
4781 | PATH_SEPARATOR=';' |
---|
4782 | } |
---|
4783 | fi |
---|
4784 | |
---|
4785 | # Support unset when possible. |
---|
4786 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
4787 | as_unset=unset |
---|
4788 | else |
---|
4789 | as_unset=false |
---|
4790 | fi |
---|
4791 | |
---|
4792 | |
---|
4793 | # IFS |
---|
4794 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
4795 | # there to prevent editors from complaining about space-tab. |
---|
4796 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
4797 | # splitting by setting IFS to empty value.) |
---|
4798 | IFS=" "" $as_nl" |
---|
4799 | |
---|
4800 | # Find who we are. Look in the path if we contain no directory separator. |
---|
4801 | case $0 in |
---|
4802 | *[\\/]* ) as_myself=$0 ;; |
---|
4803 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4804 | for as_dir in $PATH |
---|
4805 | do |
---|
4806 | IFS=$as_save_IFS |
---|
4807 | test -z "$as_dir" && as_dir=. |
---|
4808 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
4809 | done |
---|
4810 | IFS=$as_save_IFS |
---|
4811 | |
---|
4812 | ;; |
---|
4813 | esac |
---|
4814 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
4815 | # in which case we are not to be found in the path. |
---|
4816 | if test "x$as_myself" = x; then |
---|
4817 | as_myself=$0 |
---|
4818 | fi |
---|
4819 | if test ! -f "$as_myself"; then |
---|
4820 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
4821 | { (exit 1); exit 1; } |
---|
4822 | fi |
---|
4823 | |
---|
4824 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
4825 | for as_var in ENV MAIL MAILPATH |
---|
4826 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
4827 | done |
---|
4828 | PS1='$ ' |
---|
4829 | PS2='> ' |
---|
4830 | PS4='+ ' |
---|
4831 | |
---|
4832 | # NLS nuisances. |
---|
4833 | LC_ALL=C |
---|
4834 | export LC_ALL |
---|
4835 | LANGUAGE=C |
---|
4836 | export LANGUAGE |
---|
4837 | |
---|
4838 | # Required to use basename. |
---|
4839 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
4840 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
4841 | as_expr=expr |
---|
4842 | else |
---|
4843 | as_expr=false |
---|
4844 | fi |
---|
4845 | |
---|
4846 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
4847 | as_basename=basename |
---|
4848 | else |
---|
4849 | as_basename=false |
---|
4850 | fi |
---|
4851 | |
---|
4852 | |
---|
4853 | # Name of the executable. |
---|
4854 | as_me=`$as_basename -- "$0" || |
---|
4855 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
4856 | X"$0" : 'X\(//\)$' \| \ |
---|
4857 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
4858 | $as_echo X/"$0" | |
---|
4859 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
4860 | s//\1/ |
---|
4861 | q |
---|
4862 | } |
---|
4863 | /^X\/\(\/\/\)$/{ |
---|
4864 | s//\1/ |
---|
4865 | q |
---|
4866 | } |
---|
4867 | /^X\/\(\/\).*/{ |
---|
4868 | s//\1/ |
---|
4869 | q |
---|
4870 | } |
---|
4871 | s/.*/./; q'` |
---|
4872 | |
---|
4873 | # CDPATH. |
---|
4874 | $as_unset CDPATH |
---|
4875 | |
---|
4876 | |
---|
4877 | |
---|
4878 | as_lineno_1=$LINENO |
---|
4879 | as_lineno_2=$LINENO |
---|
4880 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4881 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
4882 | |
---|
4883 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
4884 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
4885 | # line-number line after each line using $LINENO; the second 'sed' |
---|
4886 | # does the real work. The second script uses 'N' to pair each |
---|
4887 | # line-number line with the line containing $LINENO, and appends |
---|
4888 | # trailing '-' during substitution so that $LINENO is not a special |
---|
4889 | # case at line end. |
---|
4890 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
4891 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
4892 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
4893 | sed -n ' |
---|
4894 | p |
---|
4895 | /[$]LINENO/= |
---|
4896 | ' <$as_myself | |
---|
4897 | sed ' |
---|
4898 | s/[$]LINENO.*/&-/ |
---|
4899 | t lineno |
---|
4900 | b |
---|
4901 | :lineno |
---|
4902 | N |
---|
4903 | :loop |
---|
4904 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
4905 | t loop |
---|
4906 | s/-\n.*// |
---|
4907 | ' >$as_me.lineno && |
---|
4908 | chmod +x "$as_me.lineno" || |
---|
4909 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
4910 | { (exit 1); exit 1; }; } |
---|
4911 | |
---|
4912 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
4913 | # (the dirname of $[0] is not the place where we might find the |
---|
4914 | # original and so on. Autoconf is especially sensitive to this). |
---|
4915 | . "./$as_me.lineno" |
---|
4916 | # Exit status is that of the last command. |
---|
4917 | exit |
---|
4918 | } |
---|
4919 | |
---|
4920 | |
---|
4921 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
4922 | as_dirname=dirname |
---|
4923 | else |
---|
4924 | as_dirname=false |
---|
4925 | fi |
---|
4926 | |
---|
4927 | ECHO_C= ECHO_N= ECHO_T= |
---|
4928 | case `echo -n x` in |
---|
4929 | -n*) |
---|
4930 | case `echo 'x\c'` in |
---|
4931 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
4932 | *) ECHO_C='\c';; |
---|
4933 | esac;; |
---|
4934 | *) |
---|
4935 | ECHO_N='-n';; |
---|
4936 | esac |
---|
4937 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
4938 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
4939 | as_expr=expr |
---|
4940 | else |
---|
4941 | as_expr=false |
---|
4942 | fi |
---|
4943 | |
---|
4944 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4945 | if test -d conf$$.dir; then |
---|
4946 | rm -f conf$$.dir/conf$$.file |
---|
4947 | else |
---|
4948 | rm -f conf$$.dir |
---|
4949 | mkdir conf$$.dir 2>/dev/null |
---|
4950 | fi |
---|
4951 | if (echo >conf$$.file) 2>/dev/null; then |
---|
4952 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
4953 | as_ln_s='ln -s' |
---|
4954 | # ... but there are two gotchas: |
---|
4955 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
4956 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
4957 | # In both cases, we have to default to `cp -p'. |
---|
4958 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
4959 | as_ln_s='cp -p' |
---|
4960 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
4961 | as_ln_s=ln |
---|
4962 | else |
---|
4963 | as_ln_s='cp -p' |
---|
4964 | fi |
---|
4965 | else |
---|
4966 | as_ln_s='cp -p' |
---|
4967 | fi |
---|
4968 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
4969 | rmdir conf$$.dir 2>/dev/null |
---|
4970 | |
---|
4971 | if mkdir -p . 2>/dev/null; then |
---|
4972 | as_mkdir_p=: |
---|
4973 | else |
---|
4974 | test -d ./-p && rmdir ./-p |
---|
4975 | as_mkdir_p=false |
---|
4976 | fi |
---|
4977 | |
---|
4978 | if test -x / >/dev/null 2>&1; then |
---|
4979 | as_test_x='test -x' |
---|
4980 | else |
---|
4981 | if ls -dL / >/dev/null 2>&1; then |
---|
4982 | as_ls_L_option=L |
---|
4983 | else |
---|
4984 | as_ls_L_option= |
---|
4985 | fi |
---|
4986 | as_test_x=' |
---|
4987 | eval sh -c '\'' |
---|
4988 | if test -d "$1"; then |
---|
4989 | test -d "$1/."; |
---|
4990 | else |
---|
4991 | case $1 in |
---|
4992 | -*)set "./$1";; |
---|
4993 | esac; |
---|
4994 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
4995 | ???[sx]*):;;*)false;;esac;fi |
---|
4996 | '\'' sh |
---|
4997 | ' |
---|
4998 | fi |
---|
4999 | as_executable_p=$as_test_x |
---|
5000 | |
---|
5001 | # Sed expression to map a string onto a valid CPP name. |
---|
5002 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5003 | |
---|
5004 | # Sed expression to map a string onto a valid variable name. |
---|
5005 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5006 | |
---|
5007 | |
---|
5008 | exec 6>&1 |
---|
5009 | |
---|
5010 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
5011 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5012 | # values after options handling. |
---|
5013 | ac_log=" |
---|
5014 | This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was |
---|
5015 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
5016 | |
---|
5017 | CONFIG_FILES = $CONFIG_FILES |
---|
5018 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5019 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5020 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5021 | $ $0 $@ |
---|
5022 | |
---|
5023 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
5024 | " |
---|
5025 | |
---|
5026 | _ACEOF |
---|
5027 | |
---|
5028 | case $ac_config_files in *" |
---|
5029 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
5030 | esac |
---|
5031 | |
---|
5032 | case $ac_config_headers in *" |
---|
5033 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
5034 | esac |
---|
5035 | |
---|
5036 | |
---|
5037 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5038 | # Files that config.status was made for. |
---|
5039 | config_files="$ac_config_files" |
---|
5040 | config_headers="$ac_config_headers" |
---|
5041 | |
---|
5042 | _ACEOF |
---|
5043 | |
---|
5044 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5045 | ac_cs_usage="\ |
---|
5046 | \`$as_me' instantiates files from templates according to the |
---|
5047 | current configuration. |
---|
5048 | |
---|
5049 | Usage: $0 [OPTION]... [FILE]... |
---|
5050 | |
---|
5051 | -h, --help print this help, then exit |
---|
5052 | -V, --version print version number and configuration settings, then exit |
---|
5053 | -q, --quiet, --silent |
---|
5054 | do not print progress messages |
---|
5055 | -d, --debug don't remove temporary files |
---|
5056 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5057 | --file=FILE[:TEMPLATE] |
---|
5058 | instantiate the configuration file FILE |
---|
5059 | --header=FILE[:TEMPLATE] |
---|
5060 | instantiate the configuration header FILE |
---|
5061 | |
---|
5062 | Configuration files: |
---|
5063 | $config_files |
---|
5064 | |
---|
5065 | Configuration headers: |
---|
5066 | $config_headers |
---|
5067 | |
---|
5068 | Report bugs to <bug-autoconf@gnu.org>." |
---|
5069 | |
---|
5070 | _ACEOF |
---|
5071 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5072 | ac_cs_version="\\ |
---|
5073 | FULL-PACKAGE-NAME config.status VERSION |
---|
5074 | configured by $0, generated by GNU Autoconf 2.63, |
---|
5075 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
5076 | |
---|
5077 | Copyright (C) 2008 Free Software Foundation, Inc. |
---|
5078 | This config.status script is free software; the Free Software Foundation |
---|
5079 | gives unlimited permission to copy, distribute and modify it." |
---|
5080 | |
---|
5081 | ac_pwd='$ac_pwd' |
---|
5082 | srcdir='$srcdir' |
---|
5083 | INSTALL='$INSTALL' |
---|
5084 | test -n "\$AWK" || AWK=awk |
---|
5085 | _ACEOF |
---|
5086 | |
---|
5087 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5088 | # The default lists apply if the user does not specify any file. |
---|
5089 | ac_need_defaults=: |
---|
5090 | while test $# != 0 |
---|
5091 | do |
---|
5092 | case $1 in |
---|
5093 | --*=*) |
---|
5094 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
5095 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
5096 | ac_shift=: |
---|
5097 | ;; |
---|
5098 | *) |
---|
5099 | ac_option=$1 |
---|
5100 | ac_optarg=$2 |
---|
5101 | ac_shift=shift |
---|
5102 | ;; |
---|
5103 | esac |
---|
5104 | |
---|
5105 | case $ac_option in |
---|
5106 | # Handling of the options. |
---|
5107 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5108 | ac_cs_recheck=: ;; |
---|
5109 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
5110 | $as_echo "$ac_cs_version"; exit ;; |
---|
5111 | --debug | --debu | --deb | --de | --d | -d ) |
---|
5112 | debug=: ;; |
---|
5113 | --file | --fil | --fi | --f ) |
---|
5114 | $ac_shift |
---|
5115 | case $ac_optarg in |
---|
5116 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5117 | esac |
---|
5118 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
---|
5119 | ac_need_defaults=false;; |
---|
5120 | --header | --heade | --head | --hea ) |
---|
5121 | $ac_shift |
---|
5122 | case $ac_optarg in |
---|
5123 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5124 | esac |
---|
5125 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
---|
5126 | ac_need_defaults=false;; |
---|
5127 | --he | --h) |
---|
5128 | # Conflict between --help and --header |
---|
5129 | { $as_echo "$as_me: error: ambiguous option: $1 |
---|
5130 | Try \`$0 --help' for more information." >&2 |
---|
5131 | { (exit 1); exit 1; }; };; |
---|
5132 | --help | --hel | -h ) |
---|
5133 | $as_echo "$ac_cs_usage"; exit ;; |
---|
5134 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5135 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5136 | ac_cs_silent=: ;; |
---|
5137 | |
---|
5138 | # This is an error. |
---|
5139 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
---|
5140 | Try \`$0 --help' for more information." >&2 |
---|
5141 | { (exit 1); exit 1; }; } ;; |
---|
5142 | |
---|
5143 | *) ac_config_targets="$ac_config_targets $1" |
---|
5144 | ac_need_defaults=false ;; |
---|
5145 | |
---|
5146 | esac |
---|
5147 | shift |
---|
5148 | done |
---|
5149 | |
---|
5150 | ac_configure_extra_args= |
---|
5151 | |
---|
5152 | if $ac_cs_silent; then |
---|
5153 | exec 6>/dev/null |
---|
5154 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5155 | fi |
---|
5156 | |
---|
5157 | _ACEOF |
---|
5158 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5159 | if \$ac_cs_recheck; then |
---|
5160 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5161 | shift |
---|
5162 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
5163 | CONFIG_SHELL='$SHELL' |
---|
5164 | export CONFIG_SHELL |
---|
5165 | exec "\$@" |
---|
5166 | fi |
---|
5167 | |
---|
5168 | _ACEOF |
---|
5169 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5170 | exec 5>>config.log |
---|
5171 | { |
---|
5172 | echo |
---|
5173 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5174 | ## Running $as_me. ## |
---|
5175 | _ASBOX |
---|
5176 | $as_echo "$ac_log" |
---|
5177 | } >&5 |
---|
5178 | |
---|
5179 | _ACEOF |
---|
5180 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5181 | _ACEOF |
---|
5182 | |
---|
5183 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5184 | |
---|
5185 | # Handling of arguments. |
---|
5186 | for ac_config_target in $ac_config_targets |
---|
5187 | do |
---|
5188 | case $ac_config_target in |
---|
5189 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5190 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5191 | |
---|
5192 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
5193 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
5194 | { (exit 1); exit 1; }; };; |
---|
5195 | esac |
---|
5196 | done |
---|
5197 | |
---|
5198 | |
---|
5199 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5200 | # then the envvar interface is used. Set only those that are not. |
---|
5201 | # We use the long form for the default assignment because of an extremely |
---|
5202 | # bizarre bug on SunOS 4.1.3. |
---|
5203 | if $ac_need_defaults; then |
---|
5204 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5205 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5206 | fi |
---|
5207 | |
---|
5208 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5209 | # simply because there is no reason against having it here, and in addition, |
---|
5210 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5211 | # Hook for its removal unless debugging. |
---|
5212 | # Note that there is a small window in which the directory will not be cleaned: |
---|
5213 | # after its creation but before its name has been assigned to `$tmp'. |
---|
5214 | $debug || |
---|
5215 | { |
---|
5216 | tmp= |
---|
5217 | trap 'exit_status=$? |
---|
5218 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
5219 | ' 0 |
---|
5220 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
5221 | } |
---|
5222 | # Create a (secure) tmp directory for tmp files. |
---|
5223 | |
---|
5224 | { |
---|
5225 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
5226 | test -n "$tmp" && test -d "$tmp" |
---|
5227 | } || |
---|
5228 | { |
---|
5229 | tmp=./conf$$-$RANDOM |
---|
5230 | (umask 077 && mkdir "$tmp") |
---|
5231 | } || |
---|
5232 | { |
---|
5233 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
---|
5234 | { (exit 1); exit 1; } |
---|
5235 | } |
---|
5236 | |
---|
5237 | # Set up the scripts for CONFIG_FILES section. |
---|
5238 | # No need to generate them if there are no CONFIG_FILES. |
---|
5239 | # This happens for instance with `./config.status config.h'. |
---|
5240 | if test -n "$CONFIG_FILES"; then |
---|
5241 | |
---|
5242 | |
---|
5243 | ac_cr=' |
---|
5244 | ' |
---|
5245 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
5246 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
5247 | ac_cs_awk_cr='\\r' |
---|
5248 | else |
---|
5249 | ac_cs_awk_cr=$ac_cr |
---|
5250 | fi |
---|
5251 | |
---|
5252 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
---|
5253 | _ACEOF |
---|
5254 | |
---|
5255 | |
---|
5256 | { |
---|
5257 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
5258 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
5259 | echo "_ACEOF" |
---|
5260 | } >conf$$subs.sh || |
---|
5261 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5262 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5263 | { (exit 1); exit 1; }; } |
---|
5264 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
---|
5265 | ac_delim='%!_!# ' |
---|
5266 | for ac_last_try in false false false false false :; do |
---|
5267 | . ./conf$$subs.sh || |
---|
5268 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5269 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5270 | { (exit 1); exit 1; }; } |
---|
5271 | |
---|
5272 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
5273 | if test $ac_delim_n = $ac_delim_num; then |
---|
5274 | break |
---|
5275 | elif $ac_last_try; then |
---|
5276 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5277 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5278 | { (exit 1); exit 1; }; } |
---|
5279 | else |
---|
5280 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5281 | fi |
---|
5282 | done |
---|
5283 | rm -f conf$$subs.sh |
---|
5284 | |
---|
5285 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5286 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
---|
5287 | _ACEOF |
---|
5288 | sed -n ' |
---|
5289 | h |
---|
5290 | s/^/S["/; s/!.*/"]=/ |
---|
5291 | p |
---|
5292 | g |
---|
5293 | s/^[^!]*!// |
---|
5294 | :repl |
---|
5295 | t repl |
---|
5296 | s/'"$ac_delim"'$// |
---|
5297 | t delim |
---|
5298 | :nl |
---|
5299 | h |
---|
5300 | s/\(.\{148\}\).*/\1/ |
---|
5301 | t more1 |
---|
5302 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
5303 | p |
---|
5304 | n |
---|
5305 | b repl |
---|
5306 | :more1 |
---|
5307 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5308 | p |
---|
5309 | g |
---|
5310 | s/.\{148\}// |
---|
5311 | t nl |
---|
5312 | :delim |
---|
5313 | h |
---|
5314 | s/\(.\{148\}\).*/\1/ |
---|
5315 | t more2 |
---|
5316 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
5317 | p |
---|
5318 | b |
---|
5319 | :more2 |
---|
5320 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5321 | p |
---|
5322 | g |
---|
5323 | s/.\{148\}// |
---|
5324 | t delim |
---|
5325 | ' <conf$$subs.awk | sed ' |
---|
5326 | /^[^""]/{ |
---|
5327 | N |
---|
5328 | s/\n// |
---|
5329 | } |
---|
5330 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
5331 | rm -f conf$$subs.awk |
---|
5332 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5333 | _ACAWK |
---|
5334 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
---|
5335 | for (key in S) S_is_set[key] = 1 |
---|
5336 | FS = "" |
---|
5337 | |
---|
5338 | } |
---|
5339 | { |
---|
5340 | line = $ 0 |
---|
5341 | nfields = split(line, field, "@") |
---|
5342 | substed = 0 |
---|
5343 | len = length(field[1]) |
---|
5344 | for (i = 2; i < nfields; i++) { |
---|
5345 | key = field[i] |
---|
5346 | keylen = length(key) |
---|
5347 | if (S_is_set[key]) { |
---|
5348 | value = S[key] |
---|
5349 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
5350 | len += length(value) + length(field[++i]) |
---|
5351 | substed = 1 |
---|
5352 | } else |
---|
5353 | len += 1 + keylen |
---|
5354 | } |
---|
5355 | |
---|
5356 | print line |
---|
5357 | } |
---|
5358 | |
---|
5359 | _ACAWK |
---|
5360 | _ACEOF |
---|
5361 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5362 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
5363 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
5364 | else |
---|
5365 | cat |
---|
5366 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
---|
5367 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
---|
5368 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
---|
5369 | { (exit 1); exit 1; }; } |
---|
5370 | _ACEOF |
---|
5371 | |
---|
5372 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
5373 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
5374 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
5375 | # (actually we leave an empty line to preserve line numbers). |
---|
5376 | if test "x$srcdir" = x.; then |
---|
5377 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
5378 | s/:*\$(srcdir):*/:/ |
---|
5379 | s/:*\${srcdir}:*/:/ |
---|
5380 | s/:*@srcdir@:*/:/ |
---|
5381 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
5382 | s/:*$// |
---|
5383 | s/^[^=]*=[ ]*$// |
---|
5384 | }' |
---|
5385 | fi |
---|
5386 | |
---|
5387 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5388 | fi # test -n "$CONFIG_FILES" |
---|
5389 | |
---|
5390 | # Set up the scripts for CONFIG_HEADERS section. |
---|
5391 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
5392 | # This happens for instance with `./config.status Makefile'. |
---|
5393 | if test -n "$CONFIG_HEADERS"; then |
---|
5394 | cat >"$tmp/defines.awk" <<\_ACAWK || |
---|
5395 | BEGIN { |
---|
5396 | _ACEOF |
---|
5397 | |
---|
5398 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
5399 | # here-document in config.status, that substitutes the proper values into |
---|
5400 | # config.h.in to produce config.h. |
---|
5401 | |
---|
5402 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
5403 | # handling of long lines. |
---|
5404 | ac_delim='%!_!# ' |
---|
5405 | for ac_last_try in false false :; do |
---|
5406 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
---|
5407 | if test -z "$ac_t"; then |
---|
5408 | break |
---|
5409 | elif $ac_last_try; then |
---|
5410 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
---|
5411 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
---|
5412 | { (exit 1); exit 1; }; } |
---|
5413 | else |
---|
5414 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5415 | fi |
---|
5416 | done |
---|
5417 | |
---|
5418 | # For the awk script, D is an array of macro values keyed by name, |
---|
5419 | # likewise P contains macro parameters if any. Preserve backslash |
---|
5420 | # newline sequences. |
---|
5421 | |
---|
5422 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
5423 | sed -n ' |
---|
5424 | s/.\{148\}/&'"$ac_delim"'/g |
---|
5425 | t rset |
---|
5426 | :rset |
---|
5427 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
5428 | t def |
---|
5429 | d |
---|
5430 | :def |
---|
5431 | s/\\$// |
---|
5432 | t bsnl |
---|
5433 | s/["\\]/\\&/g |
---|
5434 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
5435 | D["\1"]=" \3"/p |
---|
5436 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
5437 | d |
---|
5438 | :bsnl |
---|
5439 | s/["\\]/\\&/g |
---|
5440 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
5441 | D["\1"]=" \3\\\\\\n"\\/p |
---|
5442 | t cont |
---|
5443 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
5444 | t cont |
---|
5445 | d |
---|
5446 | :cont |
---|
5447 | n |
---|
5448 | s/.\{148\}/&'"$ac_delim"'/g |
---|
5449 | t clear |
---|
5450 | :clear |
---|
5451 | s/\\$// |
---|
5452 | t bsnlc |
---|
5453 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
5454 | d |
---|
5455 | :bsnlc |
---|
5456 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
5457 | b cont |
---|
5458 | ' <confdefs.h | sed ' |
---|
5459 | s/'"$ac_delim"'/"\\\ |
---|
5460 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
5461 | |
---|
5462 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5463 | for (key in D) D_is_set[key] = 1 |
---|
5464 | FS = "" |
---|
5465 | } |
---|
5466 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
5467 | line = \$ 0 |
---|
5468 | split(line, arg, " ") |
---|
5469 | if (arg[1] == "#") { |
---|
5470 | defundef = arg[2] |
---|
5471 | mac1 = arg[3] |
---|
5472 | } else { |
---|
5473 | defundef = substr(arg[1], 2) |
---|
5474 | mac1 = arg[2] |
---|
5475 | } |
---|
5476 | split(mac1, mac2, "(") #) |
---|
5477 | macro = mac2[1] |
---|
5478 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
5479 | if (D_is_set[macro]) { |
---|
5480 | # Preserve the white space surrounding the "#". |
---|
5481 | print prefix "define", macro P[macro] D[macro] |
---|
5482 | next |
---|
5483 | } else { |
---|
5484 | # Replace #undef with comments. This is necessary, for example, |
---|
5485 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
5486 | # on some systems where configure will not decide to define it. |
---|
5487 | if (defundef == "undef") { |
---|
5488 | print "/*", prefix defundef, macro, "*/" |
---|
5489 | next |
---|
5490 | } |
---|
5491 | } |
---|
5492 | } |
---|
5493 | { print } |
---|
5494 | _ACAWK |
---|
5495 | _ACEOF |
---|
5496 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5497 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
---|
5498 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
---|
5499 | { (exit 1); exit 1; }; } |
---|
5500 | fi # test -n "$CONFIG_HEADERS" |
---|
5501 | |
---|
5502 | |
---|
5503 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
---|
5504 | shift |
---|
5505 | for ac_tag |
---|
5506 | do |
---|
5507 | case $ac_tag in |
---|
5508 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
5509 | esac |
---|
5510 | case $ac_mode$ac_tag in |
---|
5511 | :[FHL]*:*);; |
---|
5512 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
---|
5513 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
---|
5514 | { (exit 1); exit 1; }; };; |
---|
5515 | :[FH]-) ac_tag=-:-;; |
---|
5516 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
5517 | esac |
---|
5518 | ac_save_IFS=$IFS |
---|
5519 | IFS=: |
---|
5520 | set x $ac_tag |
---|
5521 | IFS=$ac_save_IFS |
---|
5522 | shift |
---|
5523 | ac_file=$1 |
---|
5524 | shift |
---|
5525 | |
---|
5526 | case $ac_mode in |
---|
5527 | :L) ac_source=$1;; |
---|
5528 | :[FH]) |
---|
5529 | ac_file_inputs= |
---|
5530 | for ac_f |
---|
5531 | do |
---|
5532 | case $ac_f in |
---|
5533 | -) ac_f="$tmp/stdin";; |
---|
5534 | *) # Look for the file first in the build tree, then in the source tree |
---|
5535 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
5536 | # because $ac_f cannot contain `:'. |
---|
5537 | test -f "$ac_f" || |
---|
5538 | case $ac_f in |
---|
5539 | [\\/$]*) false;; |
---|
5540 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
5541 | esac || |
---|
5542 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
5543 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
5544 | { (exit 1); exit 1; }; };; |
---|
5545 | esac |
---|
5546 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
5547 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
---|
5548 | done |
---|
5549 | |
---|
5550 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5551 | # use $as_me), people would be surprised to read: |
---|
5552 | # /* config.h. Generated by config.status. */ |
---|
5553 | configure_input='Generated from '` |
---|
5554 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
5555 | `' by configure.' |
---|
5556 | if test x"$ac_file" != x-; then |
---|
5557 | configure_input="$ac_file. $configure_input" |
---|
5558 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
5559 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
5560 | fi |
---|
5561 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
5562 | case $configure_input in #( |
---|
5563 | *\&* | *\|* | *\\* ) |
---|
5564 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
5565 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
5566 | *) ac_sed_conf_input=$configure_input;; |
---|
5567 | esac |
---|
5568 | |
---|
5569 | case $ac_tag in |
---|
5570 | *:-:* | *:-) cat >"$tmp/stdin" \ |
---|
5571 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
5572 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
5573 | { (exit 1); exit 1; }; } ;; |
---|
5574 | esac |
---|
5575 | ;; |
---|
5576 | esac |
---|
5577 | |
---|
5578 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
5579 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5580 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5581 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5582 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
5583 | $as_echo X"$ac_file" | |
---|
5584 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5585 | s//\1/ |
---|
5586 | q |
---|
5587 | } |
---|
5588 | /^X\(\/\/\)[^/].*/{ |
---|
5589 | s//\1/ |
---|
5590 | q |
---|
5591 | } |
---|
5592 | /^X\(\/\/\)$/{ |
---|
5593 | s//\1/ |
---|
5594 | q |
---|
5595 | } |
---|
5596 | /^X\(\/\).*/{ |
---|
5597 | s//\1/ |
---|
5598 | q |
---|
5599 | } |
---|
5600 | s/.*/./; q'` |
---|
5601 | { as_dir="$ac_dir" |
---|
5602 | case $as_dir in #( |
---|
5603 | -*) as_dir=./$as_dir;; |
---|
5604 | esac |
---|
5605 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
5606 | as_dirs= |
---|
5607 | while :; do |
---|
5608 | case $as_dir in #( |
---|
5609 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
5610 | *) as_qdir=$as_dir;; |
---|
5611 | esac |
---|
5612 | as_dirs="'$as_qdir' $as_dirs" |
---|
5613 | as_dir=`$as_dirname -- "$as_dir" || |
---|
5614 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5615 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5616 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5617 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
5618 | $as_echo X"$as_dir" | |
---|
5619 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5620 | s//\1/ |
---|
5621 | q |
---|
5622 | } |
---|
5623 | /^X\(\/\/\)[^/].*/{ |
---|
5624 | s//\1/ |
---|
5625 | q |
---|
5626 | } |
---|
5627 | /^X\(\/\/\)$/{ |
---|
5628 | s//\1/ |
---|
5629 | q |
---|
5630 | } |
---|
5631 | /^X\(\/\).*/{ |
---|
5632 | s//\1/ |
---|
5633 | q |
---|
5634 | } |
---|
5635 | s/.*/./; q'` |
---|
5636 | test -d "$as_dir" && break |
---|
5637 | done |
---|
5638 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
5639 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
5640 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
5641 | { (exit 1); exit 1; }; }; } |
---|
5642 | ac_builddir=. |
---|
5643 | |
---|
5644 | case "$ac_dir" in |
---|
5645 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5646 | *) |
---|
5647 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
5648 | # A ".." for each directory in $ac_dir_suffix. |
---|
5649 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
5650 | case $ac_top_builddir_sub in |
---|
5651 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5652 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
5653 | esac ;; |
---|
5654 | esac |
---|
5655 | ac_abs_top_builddir=$ac_pwd |
---|
5656 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
5657 | # for backward compatibility: |
---|
5658 | ac_top_builddir=$ac_top_build_prefix |
---|
5659 | |
---|
5660 | case $srcdir in |
---|
5661 | .) # We are building in place. |
---|
5662 | ac_srcdir=. |
---|
5663 | ac_top_srcdir=$ac_top_builddir_sub |
---|
5664 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
5665 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
5666 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
5667 | ac_top_srcdir=$srcdir |
---|
5668 | ac_abs_top_srcdir=$srcdir ;; |
---|
5669 | *) # Relative name. |
---|
5670 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
5671 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
5672 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
5673 | esac |
---|
5674 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
5675 | |
---|
5676 | |
---|
5677 | case $ac_mode in |
---|
5678 | :F) |
---|
5679 | # |
---|
5680 | # CONFIG_FILE |
---|
5681 | # |
---|
5682 | |
---|
5683 | case $INSTALL in |
---|
5684 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
5685 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
5686 | esac |
---|
5687 | _ACEOF |
---|
5688 | |
---|
5689 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5690 | # If the template does not know about datarootdir, expand it. |
---|
5691 | # FIXME: This hack should be removed a few years after 2.60. |
---|
5692 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
5693 | |
---|
5694 | ac_sed_dataroot=' |
---|
5695 | /datarootdir/ { |
---|
5696 | p |
---|
5697 | q |
---|
5698 | } |
---|
5699 | /@datadir@/p |
---|
5700 | /@docdir@/p |
---|
5701 | /@infodir@/p |
---|
5702 | /@localedir@/p |
---|
5703 | /@mandir@/p |
---|
5704 | ' |
---|
5705 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
5706 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
5707 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
5708 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
5709 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
5710 | _ACEOF |
---|
5711 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5712 | ac_datarootdir_hack=' |
---|
5713 | s&@datadir@&$datadir&g |
---|
5714 | s&@docdir@&$docdir&g |
---|
5715 | s&@infodir@&$infodir&g |
---|
5716 | s&@localedir@&$localedir&g |
---|
5717 | s&@mandir@&$mandir&g |
---|
5718 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
5719 | esac |
---|
5720 | _ACEOF |
---|
5721 | |
---|
5722 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
5723 | # Shell code in configure.ac might set extrasub. |
---|
5724 | # FIXME: do we really want to maintain this feature? |
---|
5725 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5726 | ac_sed_extra="$ac_vpsub |
---|
5727 | $extrasub |
---|
5728 | _ACEOF |
---|
5729 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5730 | :t |
---|
5731 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
5732 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
5733 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
5734 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
5735 | s&@srcdir@&$ac_srcdir&;t t |
---|
5736 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
5737 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
5738 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
5739 | s&@builddir@&$ac_builddir&;t t |
---|
5740 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
5741 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
5742 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
5743 | $ac_datarootdir_hack |
---|
5744 | " |
---|
5745 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
---|
5746 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
5747 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
5748 | { (exit 1); exit 1; }; } |
---|
5749 | |
---|
5750 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
5751 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
5752 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
5753 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
5754 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
5755 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
5756 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
5757 | |
---|
5758 | rm -f "$tmp/stdin" |
---|
5759 | case $ac_file in |
---|
5760 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
---|
5761 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
---|
5762 | esac \ |
---|
5763 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
5764 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
5765 | { (exit 1); exit 1; }; } |
---|
5766 | ;; |
---|
5767 | :H) |
---|
5768 | # |
---|
5769 | # CONFIG_HEADER |
---|
5770 | # |
---|
5771 | if test x"$ac_file" != x-; then |
---|
5772 | { |
---|
5773 | $as_echo "/* $configure_input */" \ |
---|
5774 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
---|
5775 | } >"$tmp/config.h" \ |
---|
5776 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
5777 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
5778 | { (exit 1); exit 1; }; } |
---|
5779 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
---|
5780 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
5781 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
5782 | else |
---|
5783 | rm -f "$ac_file" |
---|
5784 | mv "$tmp/config.h" "$ac_file" \ |
---|
5785 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
5786 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
5787 | { (exit 1); exit 1; }; } |
---|
5788 | fi |
---|
5789 | else |
---|
5790 | $as_echo "/* $configure_input */" \ |
---|
5791 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
---|
5792 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
---|
5793 | $as_echo "$as_me: error: could not create -" >&2;} |
---|
5794 | { (exit 1); exit 1; }; } |
---|
5795 | fi |
---|
5796 | ;; |
---|
5797 | |
---|
5798 | |
---|
5799 | esac |
---|
5800 | |
---|
5801 | done # for ac_tag |
---|
5802 | |
---|
5803 | |
---|
5804 | { (exit 0); exit 0; } |
---|
5805 | _ACEOF |
---|
5806 | chmod +x $CONFIG_STATUS |
---|
5807 | ac_clean_files=$ac_clean_files_save |
---|
5808 | |
---|
5809 | test $ac_write_fail = 0 || |
---|
5810 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
---|
5811 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
---|
5812 | { (exit 1); exit 1; }; } |
---|
5813 | |
---|
5814 | |
---|
5815 | # configure is writing to config.log, and then calls config.status. |
---|
5816 | # config.status does its own redirection, appending to config.log. |
---|
5817 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
5818 | # by configure, so config.status won't be able to write to it; its |
---|
5819 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
5820 | # effectively closing config.log, so it can be properly (re)opened and |
---|
5821 | # appended to by config.status. When coming back to configure, we |
---|
5822 | # need to make the FD available again. |
---|
5823 | if test "$no_create" != yes; then |
---|
5824 | ac_cs_success=: |
---|
5825 | ac_config_status_args= |
---|
5826 | test "$silent" = yes && |
---|
5827 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
5828 | exec 5>/dev/null |
---|
5829 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
5830 | exec 5>>config.log |
---|
5831 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
5832 | # would make configure fail if this is the last instruction. |
---|
5833 | $ac_cs_success || { (exit 1); exit 1; } |
---|
5834 | fi |
---|
5835 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
5836 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
5837 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
5838 | fi |
---|
5839 | |
---|