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