Make std::vector<bool> meet C++11 allocator requirements.
[official-gcc.git] / libgcc / configure
blob3f53aafacaa574dfe0eb43a19b9ed58101c7edea
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
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
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
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+"$@"}
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."
234 exit 1
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
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
252 { eval $1=; unset $1;}
254 as_unset=as_fn_unset
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
261 return $1
262 } # as_fn_set_status
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 ()
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
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/
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
305 /^X\(\/\/\)$/{
306 s//\1/
309 /^X\(\/\).*/{
310 s//\1/
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"
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 ()
330 eval $1+=\$2
332 else
333 as_fn_append ()
335 eval $1=\$$1\$2
337 fi # as_fn_append
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 ()
347 as_val=$(( $* ))
349 else
350 as_fn_arith ()
352 as_val=`expr "$@" || test $? -eq 1`
354 fi # as_fn_arith
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 ()
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
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
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
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382 else
383 as_basename=false
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
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/
401 /^X\/\(\/\/\)$/{
402 s//\1/
405 /^X\/\(\/\).*/{
406 s//\1/
409 s/.*/./; q'`
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
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 '
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
432 :lineno
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; }
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
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;;
460 ECHO_N='-n';;
461 esac
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
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'
484 else
485 as_ln_s='cp -p'
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
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
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=
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
518 as_executable_p=$as_test_x
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'"
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'"
527 exec 7<&0 </dev/null 6>&1
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`
535 # Initializations.
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=
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/'
554 ac_unique_file="static-object.mk"
555 ac_includes_default='/* none */'
556 ac_subst_vars='LTLIBOBJS
557 LIBOBJS
558 asm_hidden_op
559 extra_parts
560 cpu_type
561 thread_header
562 tm_defines
563 tm_file
564 tmake_file
565 sfp_machine_header
566 set_use_emutls
567 set_have_cc_tls
568 vis_hide
569 force_explicit_eh_registry
570 fixed_point
571 enable_decimal_float
572 decimal_float
573 long_double_type_size
574 double_type_size
576 OBJEXT
577 EXEEXT
578 ac_ct_CC
579 CPPFLAGS
580 LDFLAGS
581 CFLAGS
583 LN_S
584 STRIP
585 RANLIB
587 LIPO
589 toolexeclibdir
590 toolexecdir
591 target_subdir
592 host_subdir
593 build_subdir
594 build_libsubdir
595 target_noncanonical
596 host_noncanonical
598 INSTALL_DATA
599 INSTALL_SCRIPT
600 INSTALL_PROGRAM
601 MAINT
602 slibdir
603 PICFLAG
604 host_os
605 host_vendor
606 host_cpu
607 host
608 build_os
609 build_vendor
610 build_cpu
611 build
612 enable_vtable_verify
613 enable_shared
614 libgcc_topdir
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
656 with_target_subdir
657 with_cross_host
658 with_ld
659 enable_shared
660 enable_vtable_verify
661 enable_version_specific_runtime_libs
662 with_slibdir
663 enable_maintainer_mode
664 with_build_libsubdir
665 enable_decimal_float
666 with_system_libunwind
667 enable_sjlj_exceptions
668 enable_explicit_exception_frame_registration
669 with_glibc_version
670 enable_tls
672 ac_precious_vars='build_alias
673 host_alias
674 target_alias
676 CFLAGS
677 LDFLAGS
678 LIBS
679 CPPFLAGS
680 CPP'
683 # Initialize some variables set by options.
684 ac_init_help=
685 ac_init_version=false
686 ac_unrecognized_opts=
687 ac_unrecognized_sep=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
690 cache_file=/dev/null
691 exec_prefix=NONE
692 no_create=
693 no_recursion=
694 prefix=NONE
695 program_prefix=NONE
696 program_suffix=NONE
697 program_transform_name=s,x,x,
698 silent=
699 site=
700 srcdir=
701 verbose=
702 x_includes=NONE
703 x_libraries=NONE
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir='${exec_prefix}/bin'
712 sbindir='${exec_prefix}/sbin'
713 libexecdir='${exec_prefix}/libexec'
714 datarootdir='${prefix}/share'
715 datadir='${datarootdir}'
716 sysconfdir='${prefix}/etc'
717 sharedstatedir='${prefix}/com'
718 localstatedir='${prefix}/var'
719 includedir='${prefix}/include'
720 oldincludedir='/usr/include'
721 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
722 infodir='${datarootdir}/info'
723 htmldir='${docdir}'
724 dvidir='${docdir}'
725 pdfdir='${docdir}'
726 psdir='${docdir}'
727 libdir='${exec_prefix}/lib'
728 localedir='${datarootdir}/locale'
729 mandir='${datarootdir}/man'
731 ac_prev=
732 ac_dashdash=
733 for ac_option
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\$ac_option
738 ac_prev=
739 continue
742 case $ac_option in
743 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 *) ac_optarg=yes ;;
745 esac
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
751 ac_dashdash=yes ;;
753 -bindir | --bindir | --bindi | --bind | --bin | --bi)
754 ac_prev=bindir ;;
755 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
756 bindir=$ac_optarg ;;
758 -build | --build | --buil | --bui | --bu)
759 ac_prev=build_alias ;;
760 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
761 build_alias=$ac_optarg ;;
763 -cache-file | --cache-file | --cache-fil | --cache-fi \
764 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
765 ac_prev=cache_file ;;
766 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
767 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
768 cache_file=$ac_optarg ;;
770 --config-cache | -C)
771 cache_file=config.cache ;;
773 -datadir | --datadir | --datadi | --datad)
774 ac_prev=datadir ;;
775 -datadir=* | --datadir=* | --datadi=* | --datad=*)
776 datadir=$ac_optarg ;;
778 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
779 | --dataroo | --dataro | --datar)
780 ac_prev=datarootdir ;;
781 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
782 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
783 datarootdir=$ac_optarg ;;
785 -disable-* | --disable-*)
786 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
790 ac_useropt_orig=$ac_useropt
791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
794 "enable_$ac_useropt"
795 "*) ;;
796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep=', ';;
798 esac
799 eval enable_$ac_useropt=no ;;
801 -docdir | --docdir | --docdi | --doc | --do)
802 ac_prev=docdir ;;
803 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
804 docdir=$ac_optarg ;;
806 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
807 ac_prev=dvidir ;;
808 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
809 dvidir=$ac_optarg ;;
811 -enable-* | --enable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
820 "enable_$ac_useropt"
821 "*) ;;
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
824 esac
825 eval enable_$ac_useropt=\$ac_optarg ;;
827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
829 | --exec | --exe | --ex)
830 ac_prev=exec_prefix ;;
831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
833 | --exec=* | --exe=* | --ex=*)
834 exec_prefix=$ac_optarg ;;
836 -gas | --gas | --ga | --g)
837 # Obsolete; use --with-gas.
838 with_gas=yes ;;
840 -help | --help | --hel | --he | -h)
841 ac_init_help=long ;;
842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
843 ac_init_help=recursive ;;
844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
845 ac_init_help=short ;;
847 -host | --host | --hos | --ho)
848 ac_prev=host_alias ;;
849 -host=* | --host=* | --hos=* | --ho=*)
850 host_alias=$ac_optarg ;;
852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
853 ac_prev=htmldir ;;
854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
855 | --ht=*)
856 htmldir=$ac_optarg ;;
858 -includedir | --includedir | --includedi | --included | --include \
859 | --includ | --inclu | --incl | --inc)
860 ac_prev=includedir ;;
861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
862 | --includ=* | --inclu=* | --incl=* | --inc=*)
863 includedir=$ac_optarg ;;
865 -infodir | --infodir | --infodi | --infod | --info | --inf)
866 ac_prev=infodir ;;
867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
868 infodir=$ac_optarg ;;
870 -libdir | --libdir | --libdi | --libd)
871 ac_prev=libdir ;;
872 -libdir=* | --libdir=* | --libdi=* | --libd=*)
873 libdir=$ac_optarg ;;
875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
876 | --libexe | --libex | --libe)
877 ac_prev=libexecdir ;;
878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
879 | --libexe=* | --libex=* | --libe=*)
880 libexecdir=$ac_optarg ;;
882 -localedir | --localedir | --localedi | --localed | --locale)
883 ac_prev=localedir ;;
884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
885 localedir=$ac_optarg ;;
887 -localstatedir | --localstatedir | --localstatedi | --localstated \
888 | --localstate | --localstat | --localsta | --localst | --locals)
889 ac_prev=localstatedir ;;
890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
892 localstatedir=$ac_optarg ;;
894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
895 ac_prev=mandir ;;
896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897 mandir=$ac_optarg ;;
899 -nfp | --nfp | --nf)
900 # Obsolete; use --without-fp.
901 with_fp=no ;;
903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
904 | --no-cr | --no-c | -n)
905 no_create=yes ;;
907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
909 no_recursion=yes ;;
911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
913 | --oldin | --oldi | --old | --ol | --o)
914 ac_prev=oldincludedir ;;
915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
918 oldincludedir=$ac_optarg ;;
920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
921 ac_prev=prefix ;;
922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
923 prefix=$ac_optarg ;;
925 -program-prefix | --program-prefix | --program-prefi | --program-pref \
926 | --program-pre | --program-pr | --program-p)
927 ac_prev=program_prefix ;;
928 -program-prefix=* | --program-prefix=* | --program-prefi=* \
929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
930 program_prefix=$ac_optarg ;;
932 -program-suffix | --program-suffix | --program-suffi | --program-suff \
933 | --program-suf | --program-su | --program-s)
934 ac_prev=program_suffix ;;
935 -program-suffix=* | --program-suffix=* | --program-suffi=* \
936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
937 program_suffix=$ac_optarg ;;
939 -program-transform-name | --program-transform-name \
940 | --program-transform-nam | --program-transform-na \
941 | --program-transform-n | --program-transform- \
942 | --program-transform | --program-transfor \
943 | --program-transfo | --program-transf \
944 | --program-trans | --program-tran \
945 | --progr-tra | --program-tr | --program-t)
946 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
957 ac_prev=pdfdir ;;
958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
959 pdfdir=$ac_optarg ;;
961 -psdir | --psdir | --psdi | --psd | --ps)
962 ac_prev=psdir ;;
963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
964 psdir=$ac_optarg ;;
966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
967 | -silent | --silent | --silen | --sile | --sil)
968 silent=yes ;;
970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
971 ac_prev=sbindir ;;
972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
973 | --sbi=* | --sb=*)
974 sbindir=$ac_optarg ;;
976 -sharedstatedir | --sharedstatedir | --sharedstatedi \
977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
978 | --sharedst | --shareds | --shared | --share | --shar \
979 | --sha | --sh)
980 ac_prev=sharedstatedir ;;
981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
984 | --sha=* | --sh=*)
985 sharedstatedir=$ac_optarg ;;
987 -site | --site | --sit)
988 ac_prev=site ;;
989 -site=* | --site=* | --sit=*)
990 site=$ac_optarg ;;
992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
993 ac_prev=srcdir ;;
994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
995 srcdir=$ac_optarg ;;
997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
998 | --syscon | --sysco | --sysc | --sys | --sy)
999 ac_prev=sysconfdir ;;
1000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1002 sysconfdir=$ac_optarg ;;
1004 -target | --target | --targe | --targ | --tar | --ta | --t)
1005 ac_prev=target_alias ;;
1006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1007 target_alias=$ac_optarg ;;
1009 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1010 verbose=yes ;;
1012 -version | --version | --versio | --versi | --vers | -V)
1013 ac_init_version=: ;;
1015 -with-* | --with-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid package name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "with_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval with_$ac_useropt=\$ac_optarg ;;
1031 -without-* | --without-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid package name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "with_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval with_$ac_useropt=no ;;
1047 --x)
1048 # Obsolete; use --with-x.
1049 with_x=yes ;;
1051 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1052 | --x-incl | --x-inc | --x-in | --x-i)
1053 ac_prev=x_includes ;;
1054 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1055 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1056 x_includes=$ac_optarg ;;
1058 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1059 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1060 ac_prev=x_libraries ;;
1061 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1062 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1063 x_libraries=$ac_optarg ;;
1065 -*) as_fn_error "unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1069 *=*)
1070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' | [0-9]* | *[!_$as_cr_alnum]* )
1074 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1075 esac
1076 eval $ac_envvar=\$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 esac
1088 done
1090 if test -n "$ac_prev"; then
1091 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error "missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1097 no) ;;
1098 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1100 esac
1103 # Check all directory arguments for consistency.
1104 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val=\$$ac_var
1110 # Remove trailing slashes.
1111 case $ac_val in
1112 */ )
1113 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\$ac_val;;
1115 esac
1116 # Be sure to have absolute directory names.
1117 case $ac_val in
1118 [\\/$]* | ?:[\\/]* ) continue;;
1119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1120 esac
1121 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1122 done
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1127 build=$build_alias
1128 host=$host_alias
1129 target=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then
1134 cross_compiling=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1138 cross_compiling=yes
1142 ac_tool_prefix=
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145 test "$silent" = yes && exec 6>/dev/null
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error "working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error "pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 s//\1/
1170 /^X\(\/\/\)[^/].*/{
1171 s//\1/
1174 /^X\(\/\/\)$/{
1175 s//\1/
1178 /^X\(\/\).*/{
1179 s//\1/
1182 s/.*/./; q'`
1183 srcdir=$ac_confdir
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 srcdir=..
1187 else
1188 ac_srcdir_defaulted=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 ac_abs_confdir=`(
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 pwd)`
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 srcdir=.
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1205 case $srcdir in
1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 esac
1208 for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213 done
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1221 cat <<_ACEOF
1222 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1231 Configuration:
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 [PREFIX]
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1275 _ACEOF
1277 cat <<\_ACEOF
1279 System types:
1280 --build=BUILD configure for building on BUILD [guessed]
1281 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1282 _ACEOF
1285 if test -n "$ac_init_help"; then
1286 case $ac_init_help in
1287 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
1288 esac
1289 cat <<\_ACEOF
1291 Optional Features:
1292 --disable-option-checking ignore unrecognized --enable/--with options
1293 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1294 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1295 --disable-shared don't provide a shared libgcc
1296 --enable-vtable-verify Enable vtable verification feature
1297 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful (and
1300 sometimes confusing) to the casual installer
1301 --enable-decimal-float={no,yes,bid,dpd}
1302 enable decimal float extension to C. Selecting 'bid'
1303 or 'dpd' choses which decimal floating point format
1304 to use
1305 --enable-sjlj-exceptions
1306 force use of builtin_setjmp for exceptions
1307 --enable-explicit-exception-frame-registration
1308 register exception tables explicitly at module
1309 start, for use e.g. for compatibility with
1310 installations without PT_GNU_EH_FRAME support
1311 --enable-tls Use thread-local storage [default=yes]
1313 Optional Packages:
1314 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1315 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1316 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1317 --with-cross-host=HOST Configuring with a cross compiler
1318 --with-ld arrange to use the specified ld (full pathname)
1319 --with-slibdir=DIR shared libraries in DIR LIBDIR
1320 --with-build-libsubdir=DIR Directory where to find libraries for build system
1321 --with-system-libunwind use installed libunwind
1322 --with-glibc-version=M.N
1323 assume GCC used with glibc version M.N or later
1325 Some influential environment variables:
1326 CC C compiler command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1329 nonstandard directory <lib dir>
1330 LIBS libraries to pass to the linker, e.g. -l<library>
1331 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1332 you have headers in a nonstandard directory <include dir>
1333 CPP C preprocessor
1335 Use these variables to override the choices made by `configure' or to help
1336 it to find libraries and programs with nonstandard names/locations.
1338 Report bugs to the package provider.
1339 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1340 General help using GNU software: <http://www.gnu.org/gethelp/>.
1341 _ACEOF
1342 ac_status=$?
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1350 continue
1351 ac_builddir=.
1353 case "$ac_dir" in
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362 esac ;;
1363 esac
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1369 case $srcdir in
1370 .) # We are building in place.
1371 ac_srcdir=.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1378 *) # Relative name.
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 esac
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1388 echo &&
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1391 echo &&
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1393 else
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 fi || ac_status=$?
1396 cd "$ac_pwd" || { ac_status=$?; break; }
1397 done
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1402 cat <<\_ACEOF
1403 GNU C Runtime Library configure 1.0
1404 generated by GNU Autoconf 2.64
1406 Copyright (C) 2009 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1409 _ACEOF
1410 exit
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_c_try_compile LINENO
1418 # --------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_c_try_compile ()
1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423 rm -f conftest.$ac_objext
1424 if { { ac_try="$ac_compile"
1425 case "(($ac_try" in
1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1428 esac
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1432 ac_status=$?
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_c_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1443 ac_retval=0
1444 else
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1448 ac_retval=1
1450 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1451 return $ac_retval
1453 } # ac_fn_c_try_compile
1455 # ac_fn_c_try_cpp LINENO
1456 # ----------------------
1457 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_cpp ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 if { { ac_try="$ac_cpp conftest.$ac_ext"
1462 case "(($ac_try" in
1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1465 esac
1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1469 ac_status=$?
1470 if test -s conftest.err; then
1471 grep -v '^ *+' conftest.err >conftest.er1
1472 cat conftest.er1 >&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } >/dev/null && {
1477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 }; then :
1480 ac_retval=0
1481 else
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1485 ac_retval=1
1487 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1488 return $ac_retval
1490 } # ac_fn_c_try_cpp
1492 # ac_fn_c_try_run LINENO
1493 # ----------------------
1494 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1495 # that executables *can* be run.
1496 ac_fn_c_try_run ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 if { { ac_try="$ac_link"
1500 case "(($ac_try" in
1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502 *) ac_try_echo=$ac_try;;
1503 esac
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_link") 2>&5
1507 ac_status=$?
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1510 { { case "(($ac_try" in
1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1513 esac
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_try") 2>&5
1517 ac_status=$?
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; }; }; then :
1520 ac_retval=0
1521 else
1522 $as_echo "$as_me: program exited with status $ac_status" >&5
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1526 ac_retval=$ac_status
1528 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1530 return $ac_retval
1532 } # ac_fn_c_try_run
1534 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1535 # --------------------------------------------
1536 # Tries to find the compile-time value of EXPR in a program that includes
1537 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1538 # computed
1539 ac_fn_c_compute_int ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 if test "$cross_compiling" = yes; then
1543 # Depending upon the size, compute the lo and hi bounds.
1544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1545 /* end confdefs.h. */
1548 main ()
1550 static int test_array [1 - 2 * !(($2) >= 0)];
1551 test_array [0] = 0
1554 return 0;
1556 _ACEOF
1557 if ac_fn_c_try_compile "$LINENO"; then :
1558 ac_lo=0 ac_mid=0
1559 while :; do
1560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1561 /* end confdefs.h. */
1564 main ()
1566 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1567 test_array [0] = 0
1570 return 0;
1572 _ACEOF
1573 if ac_fn_c_try_compile "$LINENO"; then :
1574 ac_hi=$ac_mid; break
1575 else
1576 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1577 if test $ac_lo -le $ac_mid; then
1578 ac_lo= ac_hi=
1579 break
1581 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1584 done
1585 else
1586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1587 /* end confdefs.h. */
1590 main ()
1592 static int test_array [1 - 2 * !(($2) < 0)];
1593 test_array [0] = 0
1596 return 0;
1598 _ACEOF
1599 if ac_fn_c_try_compile "$LINENO"; then :
1600 ac_hi=-1 ac_mid=-1
1601 while :; do
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1606 main ()
1608 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1609 test_array [0] = 0
1612 return 0;
1614 _ACEOF
1615 if ac_fn_c_try_compile "$LINENO"; then :
1616 ac_lo=$ac_mid; break
1617 else
1618 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1619 if test $ac_mid -le $ac_hi; then
1620 ac_lo= ac_hi=
1621 break
1623 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626 done
1627 else
1628 ac_lo= ac_hi=
1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 # Binary search between lo and hi bounds.
1634 while test "x$ac_lo" != "x$ac_hi"; do
1635 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1640 main ()
1642 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1643 test_array [0] = 0
1646 return 0;
1648 _ACEOF
1649 if ac_fn_c_try_compile "$LINENO"; then :
1650 ac_hi=$ac_mid
1651 else
1652 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 done
1656 case $ac_lo in #((
1657 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1658 '') ac_retval=1 ;;
1659 esac
1660 else
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1664 static long int longval () { return $2; }
1665 static unsigned long int ulongval () { return $2; }
1666 #include <stdio.h>
1667 #include <stdlib.h>
1669 main ()
1672 FILE *f = fopen ("conftest.val", "w");
1673 if (! f)
1674 return 1;
1675 if (($2) < 0)
1677 long int i = longval ();
1678 if (i != ($2))
1679 return 1;
1680 fprintf (f, "%ld", i);
1682 else
1684 unsigned long int i = ulongval ();
1685 if (i != ($2))
1686 return 1;
1687 fprintf (f, "%lu", i);
1689 /* Do not output a trailing newline, as this causes \r\n confusion
1690 on some platforms. */
1691 return ferror (f) || fclose (f) != 0;
1694 return 0;
1696 _ACEOF
1697 if ac_fn_c_try_run "$LINENO"; then :
1698 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1699 else
1700 ac_retval=1
1702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1703 conftest.$ac_objext conftest.beam conftest.$ac_ext
1704 rm -f conftest.val
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1710 } # ac_fn_c_compute_int
1711 cat >config.log <<_ACEOF
1712 This file contains any messages produced by compilers while
1713 running configure, to aid debugging if configure makes a mistake.
1715 It was created by GNU C Runtime Library $as_me 1.0, which was
1716 generated by GNU Autoconf 2.64. Invocation command line was
1718 $ $0 $@
1720 _ACEOF
1721 exec 5>>config.log
1723 cat <<_ASUNAME
1724 ## --------- ##
1725 ## Platform. ##
1726 ## --------- ##
1728 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1729 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1730 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1731 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1732 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1734 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1735 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1737 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1738 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1739 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1740 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1741 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1742 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1743 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1745 _ASUNAME
1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748 for as_dir in $PATH
1750 IFS=$as_save_IFS
1751 test -z "$as_dir" && as_dir=.
1752 $as_echo "PATH: $as_dir"
1753 done
1754 IFS=$as_save_IFS
1756 } >&5
1758 cat >&5 <<_ACEOF
1761 ## ----------- ##
1762 ## Core tests. ##
1763 ## ----------- ##
1765 _ACEOF
1768 # Keep a trace of the command line.
1769 # Strip out --no-create and --no-recursion so they do not pile up.
1770 # Strip out --silent because we don't want to record it for future runs.
1771 # Also quote any args containing shell meta-characters.
1772 # Make two passes to allow for proper duplicate-argument suppression.
1773 ac_configure_args=
1774 ac_configure_args0=
1775 ac_configure_args1=
1776 ac_must_keep_next=false
1777 for ac_pass in 1 2
1779 for ac_arg
1781 case $ac_arg in
1782 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1783 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1784 | -silent | --silent | --silen | --sile | --sil)
1785 continue ;;
1786 *\'*)
1787 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 esac
1789 case $ac_pass in
1790 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1792 as_fn_append ac_configure_args1 " '$ac_arg'"
1793 if test $ac_must_keep_next = true; then
1794 ac_must_keep_next=false # Got value, back to normal.
1795 else
1796 case $ac_arg in
1797 *=* | --config-cache | -C | -disable-* | --disable-* \
1798 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1799 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1800 | -with-* | --with-* | -without-* | --without-* | --x)
1801 case "$ac_configure_args0 " in
1802 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1803 esac
1805 -* ) ac_must_keep_next=true ;;
1806 esac
1808 as_fn_append ac_configure_args " '$ac_arg'"
1810 esac
1811 done
1812 done
1813 { ac_configure_args0=; unset ac_configure_args0;}
1814 { ac_configure_args1=; unset ac_configure_args1;}
1816 # When interrupted or exit'd, cleanup temporary files, and complete
1817 # config.log. We remove comments because anyway the quotes in there
1818 # would cause problems or look ugly.
1819 # WARNING: Use '\'' to represent an apostrophe within the trap.
1820 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1821 trap 'exit_status=$?
1822 # Save into config.log some information that might help in debugging.
1824 echo
1826 cat <<\_ASBOX
1827 ## ---------------- ##
1828 ## Cache variables. ##
1829 ## ---------------- ##
1830 _ASBOX
1831 echo
1832 # The following way of writing the cache mishandles newlines in values,
1834 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1835 eval ac_val=\$$ac_var
1836 case $ac_val in #(
1837 *${as_nl}*)
1838 case $ac_var in #(
1839 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1841 esac
1842 case $ac_var in #(
1843 _ | IFS | as_nl) ;; #(
1844 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1845 *) { eval $ac_var=; unset $ac_var;} ;;
1846 esac ;;
1847 esac
1848 done
1849 (set) 2>&1 |
1850 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1851 *${as_nl}ac_space=\ *)
1852 sed -n \
1853 "s/'\''/'\''\\\\'\'''\''/g;
1854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1855 ;; #(
1857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1859 esac |
1860 sort
1862 echo
1864 cat <<\_ASBOX
1865 ## ----------------- ##
1866 ## Output variables. ##
1867 ## ----------------- ##
1868 _ASBOX
1869 echo
1870 for ac_var in $ac_subst_vars
1872 eval ac_val=\$$ac_var
1873 case $ac_val in
1874 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1875 esac
1876 $as_echo "$ac_var='\''$ac_val'\''"
1877 done | sort
1878 echo
1880 if test -n "$ac_subst_files"; then
1881 cat <<\_ASBOX
1882 ## ------------------- ##
1883 ## File substitutions. ##
1884 ## ------------------- ##
1885 _ASBOX
1886 echo
1887 for ac_var in $ac_subst_files
1889 eval ac_val=\$$ac_var
1890 case $ac_val in
1891 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1892 esac
1893 $as_echo "$ac_var='\''$ac_val'\''"
1894 done | sort
1895 echo
1898 if test -s confdefs.h; then
1899 cat <<\_ASBOX
1900 ## ----------- ##
1901 ## confdefs.h. ##
1902 ## ----------- ##
1903 _ASBOX
1904 echo
1905 cat confdefs.h
1906 echo
1908 test "$ac_signal" != 0 &&
1909 $as_echo "$as_me: caught signal $ac_signal"
1910 $as_echo "$as_me: exit $exit_status"
1911 } >&5
1912 rm -f core *.core core.conftest.* &&
1913 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1914 exit $exit_status
1916 for ac_signal in 1 2 13 15; do
1917 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1918 done
1919 ac_signal=0
1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1922 rm -f -r conftest* confdefs.h
1924 $as_echo "/* confdefs.h */" > confdefs.h
1926 # Predefined preprocessor variables.
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_NAME "$PACKAGE_NAME"
1930 _ACEOF
1932 cat >>confdefs.h <<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1934 _ACEOF
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1938 _ACEOF
1940 cat >>confdefs.h <<_ACEOF
1941 #define PACKAGE_STRING "$PACKAGE_STRING"
1942 _ACEOF
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1946 _ACEOF
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_URL "$PACKAGE_URL"
1950 _ACEOF
1953 # Let the site file select an alternate cache file if it wants to.
1954 # Prefer an explicitly selected file to automatically selected ones.
1955 ac_site_file1=NONE
1956 ac_site_file2=NONE
1957 if test -n "$CONFIG_SITE"; then
1958 ac_site_file1=$CONFIG_SITE
1959 elif test "x$prefix" != xNONE; then
1960 ac_site_file1=$prefix/share/config.site
1961 ac_site_file2=$prefix/etc/config.site
1962 else
1963 ac_site_file1=$ac_default_prefix/share/config.site
1964 ac_site_file2=$ac_default_prefix/etc/config.site
1966 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1968 test "x$ac_site_file" = xNONE && continue
1969 if test -r "$ac_site_file"; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1971 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1972 sed 's/^/| /' "$ac_site_file" >&5
1973 . "$ac_site_file"
1975 done
1977 if test -r "$cache_file"; then
1978 # Some versions of bash will fail to source /dev/null (special
1979 # files actually), so we avoid doing that.
1980 if test -f "$cache_file"; then
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1982 $as_echo "$as_me: loading cache $cache_file" >&6;}
1983 case $cache_file in
1984 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1985 *) . "./$cache_file";;
1986 esac
1988 else
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1990 $as_echo "$as_me: creating cache $cache_file" >&6;}
1991 >$cache_file
1994 # Check that the precious variables saved in the cache have kept the same
1995 # value.
1996 ac_cache_corrupted=false
1997 for ac_var in $ac_precious_vars; do
1998 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1999 eval ac_new_set=\$ac_env_${ac_var}_set
2000 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2001 eval ac_new_val=\$ac_env_${ac_var}_value
2002 case $ac_old_set,$ac_new_set in
2003 set,)
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2006 ac_cache_corrupted=: ;;
2007 ,set)
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2010 ac_cache_corrupted=: ;;
2011 ,);;
2013 if test "x$ac_old_val" != "x$ac_new_val"; then
2014 # differences in whitespace do not lead to failure.
2015 ac_old_val_w=`echo x $ac_old_val`
2016 ac_new_val_w=`echo x $ac_new_val`
2017 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2020 ac_cache_corrupted=:
2021 else
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2024 eval $ac_var=\$ac_old_val
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2027 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2029 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2030 fi;;
2031 esac
2032 # Pass precious variables to config.status.
2033 if test "$ac_new_set" = set; then
2034 case $ac_new_val in
2035 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2036 *) ac_arg=$ac_var=$ac_new_val ;;
2037 esac
2038 case " $ac_configure_args " in
2039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2040 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2041 esac
2043 done
2044 if $ac_cache_corrupted; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2049 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2051 ## -------------------- ##
2052 ## Main body of script. ##
2053 ## -------------------- ##
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2067 # The libgcc should not depend on any header files
2071 # Check whether --with-target-subdir was given.
2072 if test "${with_target_subdir+set}" = set; then :
2073 withval=$with_target_subdir;
2077 # Check whether --with-cross-host was given.
2078 if test "${with_cross_host+set}" = set; then :
2079 withval=$with_cross_host;
2083 # Check whether --with-ld was given.
2084 if test "${with_ld+set}" = set; then :
2085 withval=$with_ld;
2089 if test "${srcdir}" = "."; then
2090 if test -n "${with_build_subdir}"; then
2091 libgcc_topdir="${srcdir}/../.."
2092 with_target_subdir=
2093 elif test -z "${with_target_subdir}"; then
2094 libgcc_topdir="${srcdir}/.."
2095 else
2096 if test "${with_target_subdir}" != "."; then
2097 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2098 else
2099 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2102 else
2103 libgcc_topdir="${srcdir}/.."
2106 ac_aux_dir=
2107 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2108 for ac_t in install-sh install.sh shtool; do
2109 if test -f "$ac_dir/$ac_t"; then
2110 ac_aux_dir=$ac_dir
2111 ac_install_sh="$ac_aux_dir/$ac_t -c"
2112 break 2
2114 done
2115 done
2116 if test -z "$ac_aux_dir"; then
2117 as_fn_error "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2120 # These three variables are undocumented and unsupported,
2121 # and are intended to be withdrawn in a future Autoconf release.
2122 # They can cause serious problems if a builder's source tree is in a directory
2123 # whose full name contains unusual characters.
2124 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2125 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2126 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2129 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2132 # Check whether --enable-shared was given.
2133 if test "${enable_shared+set}" = set; then :
2134 enableval=$enable_shared;
2135 case $enable_shared in
2136 yes | no) ;;
2138 enable_shared=no
2139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2140 for pkg in $enableval; do
2141 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2142 enable_shared=yes
2144 done
2145 IFS="$ac_save_ifs"
2147 esac
2149 else
2150 enable_shared=yes
2155 # Check whether --enable-vtable-verify was given.
2156 if test "${enable_vtable_verify+set}" = set; then :
2157 enableval=$enable_vtable_verify; case "$enableval" in
2158 yes) enable_vtable_verify=yes ;;
2159 no) enable_vtable_verify=no ;;
2160 *) enable_vtable_verify=no;;
2161 esac
2162 else
2163 enable_vtable_verify=no
2168 # Make sure we can run config.sub.
2169 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2170 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2173 $as_echo_n "checking build system type... " >&6; }
2174 if test "${ac_cv_build+set}" = set; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 ac_build_alias=$build_alias
2178 test "x$ac_build_alias" = x &&
2179 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2180 test "x$ac_build_alias" = x &&
2181 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2182 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2183 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2187 $as_echo "$ac_cv_build" >&6; }
2188 case $ac_cv_build in
2189 *-*-*) ;;
2190 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2191 esac
2192 build=$ac_cv_build
2193 ac_save_IFS=$IFS; IFS='-'
2194 set x $ac_cv_build
2195 shift
2196 build_cpu=$1
2197 build_vendor=$2
2198 shift; shift
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2201 build_os=$*
2202 IFS=$ac_save_IFS
2203 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2207 $as_echo_n "checking host system type... " >&6; }
2208 if test "${ac_cv_host+set}" = set; then :
2209 $as_echo_n "(cached) " >&6
2210 else
2211 if test "x$host_alias" = x; then
2212 ac_cv_host=$ac_cv_build
2213 else
2214 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2215 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2220 $as_echo "$ac_cv_host" >&6; }
2221 case $ac_cv_host in
2222 *-*-*) ;;
2223 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2224 esac
2225 host=$ac_cv_host
2226 ac_save_IFS=$IFS; IFS='-'
2227 set x $ac_cv_host
2228 shift
2229 host_cpu=$1
2230 host_vendor=$2
2231 shift; shift
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2234 host_os=$*
2235 IFS=$ac_save_IFS
2236 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2243 case "${host}" in
2244 # PIC is the default on some targets or must not be used.
2245 *-*-darwin*)
2246 # PIC is the default on this platform
2247 # Common symbols not allowed in MH_DYLIB files
2248 PICFLAG=-fno-common
2250 alpha*-dec-osf5*)
2251 # PIC is the default.
2253 hppa*64*-*-hpux*)
2254 # PIC is the default for 64-bit PA HP-UX.
2256 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2258 i[34567]86-*-mingw* | x86_64-*-mingw*)
2260 i[34567]86-*-interix[3-9]*)
2261 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2262 # Instead, we relocate shared libraries at runtime.
2264 i[34567]86-*-nto-qnx*)
2265 # QNX uses GNU C++, but need to define -shared option too, otherwise
2266 # it will coredump.
2267 PICFLAG='-fPIC -shared'
2269 i[34567]86-pc-msdosdjgpp*)
2270 # DJGPP does not support shared libraries at all.
2272 ia64*-*-hpux*)
2273 # On IA64 HP-UX, PIC is the default but the pic flag
2274 # sets the default TLS model and affects inlining.
2275 PICFLAG=-fPIC
2277 mips-sgi-irix6*)
2278 # PIC is the default.
2280 rs6000-ibm-aix* | powerpc-ibm-aix*)
2281 # All AIX code is PIC.
2284 # Some targets support both -fPIC and -fpic, but prefer the latter.
2285 # FIXME: Why?
2286 i[34567]86-*-* | x86_64-*-*)
2287 PICFLAG=-fpic
2289 # FIXME: Override -fPIC default in libgcc only?
2290 sh-*-linux* | sh[2346lbe]*-*-linux*)
2291 PICFLAG=-fpic
2293 # FIXME: Simplify to sh*-*-netbsd*?
2294 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2295 sh64-*-netbsd* | sh64l*-*-netbsd*)
2296 PICFLAG=-fpic
2298 # Default to -fPIC unless specified otherwise.
2300 PICFLAG=-fPIC
2302 esac
2304 # If the user explicitly uses -fpic/-fPIC, keep that.
2305 case "${CFLAGS}" in
2306 *-fpic*)
2307 PICFLAG=-fpic
2309 *-fPIC*)
2310 PICFLAG=-fPIC
2312 esac
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2317 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2318 # Check whether --enable-version-specific-runtime-libs was given.
2319 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2320 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2321 yes) version_specific_libs=yes ;;
2322 no) version_specific_libs=no ;;
2323 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2324 esac
2325 else
2326 version_specific_libs=no
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2330 $as_echo "$version_specific_libs" >&6; }
2333 # Check whether --with-slibdir was given.
2334 if test "${with_slibdir+set}" = set; then :
2335 withval=$with_slibdir; slibdir="$with_slibdir"
2336 else
2337 if test "${version_specific_libs}" = yes; then
2338 slibdir='$(libsubdir)'
2339 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2340 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2341 else
2342 slibdir='$(libdir)'
2348 # Command-line options.
2349 # Very limited version of AC_MAINTAINER_MODE.
2350 # Check whether --enable-maintainer-mode was given.
2351 if test "${enable_maintainer_mode+set}" = set; then :
2352 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2353 yes) MAINT='' ;;
2354 no) MAINT='#' ;;
2355 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2356 esac
2357 maintainer_mode=${enableval}
2358 else
2359 MAINT='#'
2363 # Find a good install program. We prefer a C program (faster),
2364 # so one script is as good as another. But avoid the broken or
2365 # incompatible versions:
2366 # SysV /etc/install, /usr/sbin/install
2367 # SunOS /usr/etc/install
2368 # IRIX /sbin/install
2369 # AIX /bin/install
2370 # AmigaOS /C/install, which installs bootblocks on floppy discs
2371 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374 # OS/2's system install, which has a completely different semantic
2375 # ./install, which can be erroneously created by make from ./install.sh.
2376 # Reject install programs that cannot install multiple files.
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2379 if test -z "$INSTALL"; then
2380 if test "${ac_cv_path_install+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2382 else
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 for as_dir in $PATH
2386 IFS=$as_save_IFS
2387 test -z "$as_dir" && as_dir=.
2388 # Account for people who put trailing slashes in PATH elements.
2389 case $as_dir/ in #((
2390 ./ | .// | /[cC]/* | \
2391 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2392 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2393 /usr/ucb/* ) ;;
2395 # OSF1 and SCO ODT 3.0 have their own names for install.
2396 # Don't use installbsd from OSF since it installs stuff as root
2397 # by default.
2398 for ac_prog in ginstall scoinst install; do
2399 for ac_exec_ext in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2401 if test $ac_prog = install &&
2402 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403 # AIX install. It has an incompatible calling convention.
2405 elif test $ac_prog = install &&
2406 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407 # program-specific install script used by HP pwplus--don't use.
2409 else
2410 rm -rf conftest.one conftest.two conftest.dir
2411 echo one > conftest.one
2412 echo two > conftest.two
2413 mkdir conftest.dir
2414 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2415 test -s conftest.one && test -s conftest.two &&
2416 test -s conftest.dir/conftest.one &&
2417 test -s conftest.dir/conftest.two
2418 then
2419 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420 break 3
2424 done
2425 done
2427 esac
2429 done
2430 IFS=$as_save_IFS
2432 rm -rf conftest.one conftest.two conftest.dir
2435 if test "${ac_cv_path_install+set}" = set; then
2436 INSTALL=$ac_cv_path_install
2437 else
2438 # As a last resort, use the slow shell script. Don't cache a
2439 # value for INSTALL within a source directory, because that will
2440 # break other packages using the cache if that directory is
2441 # removed, or if the value is a relative name.
2442 INSTALL=$ac_install_sh
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446 $as_echo "$INSTALL" >&6; }
2448 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449 # It thinks the first close brace ends the variable substitution.
2450 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2452 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2454 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2457 for ac_prog in gawk mawk nawk awk
2459 # Extract the first word of "$ac_prog", so it can be a program name with args.
2460 set dummy $ac_prog; ac_word=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if test "${ac_cv_prog_AWK+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2465 else
2466 if test -n "$AWK"; then
2467 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2472 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 ac_cv_prog_AWK="$ac_prog"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 break 2
2480 done
2481 done
2482 IFS=$as_save_IFS
2486 AWK=$ac_cv_prog_AWK
2487 if test -n "$AWK"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2489 $as_echo "$AWK" >&6; }
2490 else
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2496 test -n "$AWK" && break
2497 done
2499 # We need awk; bail out if it's missing.
2500 case ${AWK} in
2501 "") as_fn_error "can't build without awk, bailing out" "$LINENO" 5 ;;
2502 esac
2505 case ${build_alias} in
2506 "") build_noncanonical=${build} ;;
2507 *) build_noncanonical=${build_alias} ;;
2508 esac
2510 case ${host_alias} in
2511 "") host_noncanonical=${build_noncanonical} ;;
2512 *) host_noncanonical=${host_alias} ;;
2513 esac
2517 case ${target_alias} in
2518 "") target_noncanonical=${host_noncanonical} ;;
2519 *) target_noncanonical=${target_alias} ;;
2520 esac
2525 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2526 # have matching libraries, they should use host libraries: Makefile.tpl
2527 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2528 # However, they still use the build modules, because the corresponding
2529 # host modules (e.g. bison) are only built for the host when bootstrap
2530 # finishes. So:
2531 # - build_subdir is where we find build modules, and never changes.
2532 # - build_libsubdir is where we find build libraries, and can be overridden.
2534 # Prefix 'build-' so this never conflicts with target_subdir.
2535 build_subdir="build-${build_noncanonical}"
2537 # Check whether --with-build-libsubdir was given.
2538 if test "${with_build_libsubdir+set}" = set; then :
2539 withval=$with_build_libsubdir; build_libsubdir="$withval"
2540 else
2541 build_libsubdir="$build_subdir"
2544 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2545 if ( test $srcdir = . && test -d gcc ) \
2546 || test -d $srcdir/../host-${host_noncanonical}; then
2547 host_subdir="host-${host_noncanonical}"
2548 else
2549 host_subdir=.
2551 # No prefix.
2552 target_subdir=${target_noncanonical}
2555 # Calculate toolexeclibdir
2556 # Also toolexecdir, though it's only used in toolexeclibdir
2557 case ${version_specific_libs} in
2558 yes)
2559 # Need the gcc compiler version to know where to install libraries
2560 # and header files if --enable-version-specific-runtime-libs option
2561 # is selected.
2562 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2563 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2566 if test -n "$with_cross_host" &&
2567 test x"$with_cross_host" != x"no"; then
2568 # Install a library built with a cross compiler in tooldir, not libdir.
2569 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2570 toolexeclibdir='$(toolexecdir)/lib'
2571 else
2572 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2573 toolexeclibdir='$(libdir)'
2575 multi_os_directory=`$CC -print-multi-os-directory`
2576 case $multi_os_directory in
2577 .) ;; # Avoid trailing /.
2578 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2579 esac
2581 esac
2585 if test -n "$ac_tool_prefix"; then
2586 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2587 set dummy ${ac_tool_prefix}ar; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if test "${ac_cv_prog_AR+set}" = set; then :
2591 $as_echo_n "(cached) " >&6
2592 else
2593 if test -n "$AR"; then
2594 ac_cv_prog_AR="$AR" # Let the user override the test.
2595 else
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH
2599 IFS=$as_save_IFS
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_AR="${ac_tool_prefix}ar"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 break 2
2607 done
2608 done
2609 IFS=$as_save_IFS
2613 AR=$ac_cv_prog_AR
2614 if test -n "$AR"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2616 $as_echo "$AR" >&6; }
2617 else
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2624 if test -z "$ac_cv_prog_AR"; then
2625 ac_ct_AR=$AR
2626 # Extract the first word of "ar", so it can be a program name with args.
2627 set dummy ar; ac_word=$2
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2631 $as_echo_n "(cached) " >&6
2632 else
2633 if test -n "$ac_ct_AR"; then
2634 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2635 else
2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 for as_dir in $PATH
2639 IFS=$as_save_IFS
2640 test -z "$as_dir" && as_dir=.
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_ac_ct_AR="ar"
2644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 break 2
2647 done
2648 done
2649 IFS=$as_save_IFS
2653 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2654 if test -n "$ac_ct_AR"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2656 $as_echo "$ac_ct_AR" >&6; }
2657 else
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2662 if test "x$ac_ct_AR" = x; then
2663 AR=""
2664 else
2665 case $cross_compiling:$ac_tool_warned in
2666 yes:)
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2669 ac_tool_warned=yes ;;
2670 esac
2671 AR=$ac_ct_AR
2673 else
2674 AR="$ac_cv_prog_AR"
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2679 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_LIPO+set}" = set; then :
2683 $as_echo_n "(cached) " >&6
2684 else
2685 if test -n "$LIPO"; then
2686 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2691 IFS=$as_save_IFS
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 break 2
2699 done
2700 done
2701 IFS=$as_save_IFS
2705 LIPO=$ac_cv_prog_LIPO
2706 if test -n "$LIPO"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2708 $as_echo "$LIPO" >&6; }
2709 else
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_LIPO"; then
2717 ac_ct_LIPO=$LIPO
2718 # Extract the first word of "lipo", so it can be a program name with args.
2719 set dummy lipo; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2724 else
2725 if test -n "$ac_ct_LIPO"; then
2726 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2727 else
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2731 IFS=$as_save_IFS
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_LIPO="lipo"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 break 2
2739 done
2740 done
2741 IFS=$as_save_IFS
2745 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2746 if test -n "$ac_ct_LIPO"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2748 $as_echo "$ac_ct_LIPO" >&6; }
2749 else
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_LIPO" = x; then
2755 LIPO=":"
2756 else
2757 case $cross_compiling:$ac_tool_warned in
2758 yes:)
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned=yes ;;
2762 esac
2763 LIPO=$ac_ct_LIPO
2765 else
2766 LIPO="$ac_cv_prog_LIPO"
2769 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2771 set dummy ${ac_tool_prefix}nm; ac_word=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if test "${ac_cv_prog_NM+set}" = set; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 if test -n "$NM"; then
2778 ac_cv_prog_NM="$NM" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787 ac_cv_prog_NM="${ac_tool_prefix}nm"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 break 2
2791 done
2792 done
2793 IFS=$as_save_IFS
2797 NM=$ac_cv_prog_NM
2798 if test -n "$NM"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2800 $as_echo "$NM" >&6; }
2801 else
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2808 if test -z "$ac_cv_prog_NM"; then
2809 ac_ct_NM=$NM
2810 # Extract the first word of "nm", so it can be a program name with args.
2811 set dummy nm; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2816 else
2817 if test -n "$ac_ct_NM"; then
2818 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2819 else
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 for as_dir in $PATH
2823 IFS=$as_save_IFS
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_ac_ct_NM="nm"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 break 2
2831 done
2832 done
2833 IFS=$as_save_IFS
2837 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2838 if test -n "$ac_ct_NM"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2840 $as_echo "$ac_ct_NM" >&6; }
2841 else
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2846 if test "x$ac_ct_NM" = x; then
2847 NM=""
2848 else
2849 case $cross_compiling:$ac_tool_warned in
2850 yes:)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2853 ac_tool_warned=yes ;;
2854 esac
2855 NM=$ac_ct_NM
2857 else
2858 NM="$ac_cv_prog_NM"
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2863 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2868 else
2869 if test -n "$RANLIB"; then
2870 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2871 else
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 for as_dir in $PATH
2875 IFS=$as_save_IFS
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 break 2
2883 done
2884 done
2885 IFS=$as_save_IFS
2889 RANLIB=$ac_cv_prog_RANLIB
2890 if test -n "$RANLIB"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2892 $as_echo "$RANLIB" >&6; }
2893 else
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2900 if test -z "$ac_cv_prog_RANLIB"; then
2901 ac_ct_RANLIB=$RANLIB
2902 # Extract the first word of "ranlib", so it can be a program name with args.
2903 set dummy ranlib; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 if test -n "$ac_ct_RANLIB"; then
2910 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2911 else
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2913 for as_dir in $PATH
2915 IFS=$as_save_IFS
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_ac_ct_RANLIB="ranlib"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 break 2
2923 done
2924 done
2925 IFS=$as_save_IFS
2929 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2930 if test -n "$ac_ct_RANLIB"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2932 $as_echo "$ac_ct_RANLIB" >&6; }
2933 else
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2938 if test "x$ac_ct_RANLIB" = x; then
2939 RANLIB=":"
2940 else
2941 case $cross_compiling:$ac_tool_warned in
2942 yes:)
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2945 ac_tool_warned=yes ;;
2946 esac
2947 RANLIB=$ac_ct_RANLIB
2949 else
2950 RANLIB="$ac_cv_prog_RANLIB"
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2955 set dummy ${ac_tool_prefix}strip; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_STRIP+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 if test -n "$STRIP"; then
2962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 break 2
2975 done
2976 done
2977 IFS=$as_save_IFS
2981 STRIP=$ac_cv_prog_STRIP
2982 if test -n "$STRIP"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2984 $as_echo "$STRIP" >&6; }
2985 else
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2992 if test -z "$ac_cv_prog_STRIP"; then
2993 ac_ct_STRIP=$STRIP
2994 # Extract the first word of "strip", so it can be a program name with args.
2995 set dummy strip; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 if test -n "$ac_ct_STRIP"; then
3002 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_ac_ct_STRIP="strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 break 2
3015 done
3016 done
3017 IFS=$as_save_IFS
3021 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3022 if test -n "$ac_ct_STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3024 $as_echo "$ac_ct_STRIP" >&6; }
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3030 if test "x$ac_ct_STRIP" = x; then
3031 STRIP=":"
3032 else
3033 case $cross_compiling:$ac_tool_warned in
3034 yes:)
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned=yes ;;
3038 esac
3039 STRIP=$ac_ct_STRIP
3041 else
3042 STRIP="$ac_cv_prog_STRIP"
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3046 $as_echo_n "checking whether ln -s works... " >&6; }
3047 LN_S=$as_ln_s
3048 if test "$LN_S" = "ln -s"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3050 $as_echo "yes" >&6; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3053 $as_echo "no, using $LN_S" >&6; }
3058 ac_ext=c
3059 ac_cpp='$CPP $CPPFLAGS'
3060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3063 if test -n "$ac_tool_prefix"; then
3064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_CC+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC="$CC" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3077 IFS=$as_save_IFS
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 break 2
3085 done
3086 done
3087 IFS=$as_save_IFS
3091 CC=$ac_cv_prog_CC
3092 if test -n "$CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3095 else
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3102 if test -z "$ac_cv_prog_CC"; then
3103 ac_ct_CC=$CC
3104 # Extract the first word of "gcc", so it can be a program name with args.
3105 set dummy gcc; ac_word=$2
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 $as_echo_n "checking for $ac_word... " >&6; }
3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3110 else
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3113 else
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 for as_dir in $PATH
3117 IFS=$as_save_IFS
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121 ac_cv_prog_ac_ct_CC="gcc"
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 break 2
3125 done
3126 done
3127 IFS=$as_save_IFS
3131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3132 if test -n "$ac_ct_CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3134 $as_echo "$ac_ct_CC" >&6; }
3135 else
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3140 if test "x$ac_ct_CC" = x; then
3141 CC=""
3142 else
3143 case $cross_compiling:$ac_tool_warned in
3144 yes:)
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3147 ac_tool_warned=yes ;;
3148 esac
3149 CC=$ac_ct_CC
3151 else
3152 CC="$ac_cv_prog_CC"
3155 if test -z "$CC"; then
3156 if test -n "$ac_tool_prefix"; then
3157 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3158 set dummy ${ac_tool_prefix}cc; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if test "${ac_cv_prog_CC+set}" = set; then :
3162 $as_echo_n "(cached) " >&6
3163 else
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC="$CC" # Let the user override the test.
3166 else
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 for as_dir in $PATH
3170 IFS=$as_save_IFS
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_CC="${ac_tool_prefix}cc"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 break 2
3178 done
3179 done
3180 IFS=$as_save_IFS
3184 CC=$ac_cv_prog_CC
3185 if test -n "$CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3188 else
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3196 if test -z "$CC"; then
3197 # Extract the first word of "cc", so it can be a program name with args.
3198 set dummy cc; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if test "${ac_cv_prog_CC+set}" = set; then :
3202 $as_echo_n "(cached) " >&6
3203 else
3204 if test -n "$CC"; then
3205 ac_cv_prog_CC="$CC" # Let the user override the test.
3206 else
3207 ac_prog_rejected=no
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 for as_dir in $PATH
3211 IFS=$as_save_IFS
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3216 ac_prog_rejected=yes
3217 continue
3219 ac_cv_prog_CC="cc"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 break 2
3223 done
3224 done
3225 IFS=$as_save_IFS
3227 if test $ac_prog_rejected = yes; then
3228 # We found a bogon in the path, so make sure we never use it.
3229 set dummy $ac_cv_prog_CC
3230 shift
3231 if test $# != 0; then
3232 # We chose a different compiler from the bogus one.
3233 # However, it has the same basename, so the bogon will be chosen
3234 # first if we set CC to just the basename; use the full file name.
3235 shift
3236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3241 CC=$ac_cv_prog_CC
3242 if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3252 if test -z "$CC"; then
3253 if test -n "$ac_tool_prefix"; then
3254 for ac_prog in cl.exe
3256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_CC+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$CC"; then
3264 ac_cv_prog_CC="$CC" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3277 done
3278 done
3279 IFS=$as_save_IFS
3283 CC=$ac_cv_prog_CC
3284 if test -n "$CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286 $as_echo "$CC" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3293 test -n "$CC" && break
3294 done
3296 if test -z "$CC"; then
3297 ac_ct_CC=$CC
3298 for ac_prog in cl.exe
3300 # Extract the first word of "$ac_prog", so it can be a program name with args.
3301 set dummy $ac_prog; ac_word=$2
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 $as_echo_n "checking for $ac_word... " >&6; }
3304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3306 else
3307 if test -n "$ac_ct_CC"; then
3308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 else
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH
3313 IFS=$as_save_IFS
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_ac_ct_CC="$ac_prog"
3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 break 2
3321 done
3322 done
3323 IFS=$as_save_IFS
3327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3328 if test -n "$ac_ct_CC"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3330 $as_echo "$ac_ct_CC" >&6; }
3331 else
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3337 test -n "$ac_ct_CC" && break
3338 done
3340 if test "x$ac_ct_CC" = x; then
3341 CC=""
3342 else
3343 case $cross_compiling:$ac_tool_warned in
3344 yes:)
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned=yes ;;
3348 esac
3349 CC=$ac_ct_CC
3356 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error "no acceptable C compiler found in \$PATH
3359 See \`config.log' for more details." "$LINENO" 5; }
3361 # Provide some information about the compiler.
3362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3363 set X $ac_compile
3364 ac_compiler=$2
3365 for ac_option in --version -v -V -qversion; do
3366 { { ac_try="$ac_compiler $ac_option >&5"
3367 case "(($ac_try" in
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3370 esac
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3374 ac_status=$?
3375 if test -s conftest.err; then
3376 sed '10a\
3377 ... rest of stderr output deleted ...
3378 10q' conftest.err >conftest.er1
3379 cat conftest.er1 >&5
3380 rm -f conftest.er1 conftest.err
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }
3384 done
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3394 return 0;
3396 _ACEOF
3397 # FIXME: Cleanup?
3398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3399 (eval $ac_link) 2>&5
3400 ac_status=$?
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; then :
3403 gcc_no_link=no
3404 else
3405 gcc_no_link=yes
3407 if test x$gcc_no_link = xyes; then
3408 # Setting cross_compile will disable run tests; it will
3409 # also disable AC_CHECK_FILE but that's generally
3410 # correct if we can't link.
3411 cross_compiling=yes
3412 EXEEXT=
3413 else
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3422 return 0;
3424 _ACEOF
3425 ac_clean_files_save=$ac_clean_files
3426 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3427 # Try to create an executable without -o first, disregard a.out.
3428 # It will help us diagnose broken compilers, and finding out an intuition
3429 # of exeext.
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3431 $as_echo_n "checking for C compiler default output file name... " >&6; }
3432 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3434 # The possible output files:
3435 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3437 ac_rmfiles=
3438 for ac_file in $ac_files
3440 case $ac_file in
3441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3443 esac
3444 done
3445 rm -f $ac_rmfiles
3447 if { { ac_try="$ac_link_default"
3448 case "(($ac_try" in
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3451 esac
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_link_default") 2>&5
3455 ac_status=$?
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }; then :
3458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3461 # so that the user can short-circuit this test for compilers unknown to
3462 # Autoconf.
3463 for ac_file in $ac_files ''
3465 test -f "$ac_file" || continue
3466 case $ac_file in
3467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3469 [ab].out )
3470 # We found the default executable, but exeext='' is most
3471 # certainly right.
3472 break;;
3473 *.* )
3474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3475 then :; else
3476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478 # We set ac_cv_exeext here because the later test for it is not
3479 # safe: cross compilers may not add the suffix if given an `-o'
3480 # argument, so we may need to know it at that point already.
3481 # Even if this section looks crufty: it has the advantage of
3482 # actually working.
3483 break;;
3485 break;;
3486 esac
3487 done
3488 test "$ac_cv_exeext" = no && ac_cv_exeext=
3490 else
3491 ac_file=''
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3494 $as_echo "$ac_file" >&6; }
3495 if test -z "$ac_file"; then :
3496 $as_echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 { as_fn_set_status 77
3502 as_fn_error "C compiler cannot create executables
3503 See \`config.log' for more details." "$LINENO" 5; }; }
3505 ac_exeext=$ac_cv_exeext
3507 # Check that the compiler produces executables we can run. If not, either
3508 # the compiler is broken, or we cross compile.
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3510 $as_echo_n "checking whether the C compiler works... " >&6; }
3511 # If not cross compiling, check that we can run a simple program.
3512 if test "$cross_compiling" != yes; then
3513 if { ac_try='./$ac_file'
3514 { { case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_try") 2>&5
3521 ac_status=$?
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; }; then
3524 cross_compiling=no
3525 else
3526 if test "$cross_compiling" = maybe; then
3527 cross_compiling=yes
3528 else
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error "cannot run C compiled programs.
3532 If you meant to cross compile, use \`--host'.
3533 See \`config.log' for more details." "$LINENO" 5; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3538 $as_echo "yes" >&6; }
3540 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3541 ac_clean_files=$ac_clean_files_save
3542 # Check that the compiler produces executables we can run. If not, either
3543 # the compiler is broken, or we cross compile.
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3547 $as_echo "$cross_compiling" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3550 $as_echo_n "checking for suffix of executables... " >&6; }
3551 if { { ac_try="$ac_link"
3552 case "(($ac_try" in
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3555 esac
3556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 $as_echo "$ac_try_echo"; } >&5
3558 (eval "$ac_link") 2>&5
3559 ac_status=$?
3560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561 test $ac_status = 0; }; then :
3562 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3563 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3564 # work properly (i.e., refer to `conftest.exe'), while it won't with
3565 # `rm'.
3566 for ac_file in conftest.exe conftest conftest.*; do
3567 test -f "$ac_file" || continue
3568 case $ac_file in
3569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3570 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3571 break;;
3572 * ) break;;
3573 esac
3574 done
3575 else
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error "cannot compute suffix of executables: cannot compile and link
3579 See \`config.log' for more details." "$LINENO" 5; }
3581 rm -f conftest$ac_cv_exeext
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3583 $as_echo "$ac_cv_exeext" >&6; }
3585 rm -f conftest.$ac_ext
3586 EXEEXT=$ac_cv_exeext
3587 ac_exeext=$EXEEXT
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if test "${ac_cv_objext+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3593 else
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 main ()
3602 return 0;
3604 _ACEOF
3605 rm -f conftest.o conftest.obj
3606 if { { ac_try="$ac_compile"
3607 case "(($ac_try" in
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3610 esac
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compile") 2>&5
3614 ac_status=$?
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 for ac_file in conftest.o conftest.obj conftest.*; do
3618 test -f "$ac_file" || continue;
3619 case $ac_file in
3620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3622 break;;
3623 esac
3624 done
3625 else
3626 $as_echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error "cannot compute suffix of object files: cannot compile
3632 See \`config.log' for more details." "$LINENO" 5; }
3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637 $as_echo "$ac_cv_objext" >&6; }
3638 OBJEXT=$ac_cv_objext
3639 ac_objext=$OBJEXT
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3649 main ()
3651 #ifndef __GNUC__
3652 choke me
3653 #endif
3656 return 0;
3658 _ACEOF
3659 if ac_fn_c_try_compile "$LINENO"; then :
3660 ac_compiler_gnu=yes
3661 else
3662 ac_compiler_gnu=no
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3671 GCC=yes
3672 else
3673 GCC=
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if test "${ac_cv_prog_cc_g+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 ac_save_c_werror_flag=$ac_c_werror_flag
3683 ac_c_werror_flag=yes
3684 ac_cv_prog_cc_g=no
3685 CFLAGS="-g"
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3690 main ()
3694 return 0;
3696 _ACEOF
3697 if ac_fn_c_try_compile "$LINENO"; then :
3698 ac_cv_prog_cc_g=yes
3699 else
3700 CFLAGS=""
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3705 main ()
3709 return 0;
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3714 else
3715 ac_c_werror_flag=$ac_save_c_werror_flag
3716 CFLAGS="-g"
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3721 main ()
3725 return 0;
3727 _ACEOF
3728 if ac_fn_c_try_compile "$LINENO"; then :
3729 ac_cv_prog_cc_g=yes
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 ac_c_werror_flag=$ac_save_c_werror_flag
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
3740 if test "$ac_test_CFLAGS" = set; then
3741 CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743 if test "$GCC" = yes; then
3744 CFLAGS="-g -O2"
3745 else
3746 CFLAGS="-g"
3748 else
3749 if test "$GCC" = yes; then
3750 CFLAGS="-O2"
3751 else
3752 CFLAGS=
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 ac_cv_prog_cc_c89=no
3761 ac_save_CC=$CC
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3764 #include <stdarg.h>
3765 #include <stdio.h>
3766 #include <sys/types.h>
3767 #include <sys/stat.h>
3768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3769 struct buf { int x; };
3770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3771 static char *e (p, i)
3772 char **p;
3773 int i;
3775 return p[i];
3777 static char *f (char * (*g) (char **, int), char **p, ...)
3779 char *s;
3780 va_list v;
3781 va_start (v,p);
3782 s = g (p, va_arg (v,int));
3783 va_end (v);
3784 return s;
3787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3788 function prototypes and stuff, but not '\xHH' hex character constants.
3789 These don't provoke an error unfortunately, instead are silently treated
3790 as 'x'. The following induces an error, until -std is added to get
3791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3792 array size at least. It's necessary to write '\x00'==0 to get something
3793 that's true only with -std. */
3794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3797 inside strings and character constants. */
3798 #define FOO(x) 'x'
3799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3801 int test (int i, double x);
3802 struct s1 {int (*f) (int a);};
3803 struct s2 {int (*f) (double a);};
3804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3805 int argc;
3806 char **argv;
3808 main ()
3810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3812 return 0;
3814 _ACEOF
3815 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3816 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3818 CC="$ac_save_CC $ac_arg"
3819 if ac_fn_c_try_compile "$LINENO"; then :
3820 ac_cv_prog_cc_c89=$ac_arg
3822 rm -f core conftest.err conftest.$ac_objext
3823 test "x$ac_cv_prog_cc_c89" != "xno" && break
3824 done
3825 rm -f conftest.$ac_ext
3826 CC=$ac_save_CC
3829 # AC_CACHE_VAL
3830 case "x$ac_cv_prog_cc_c89" in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3833 $as_echo "none needed" >&6; } ;;
3834 xno)
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3836 $as_echo "unsupported" >&6; } ;;
3838 CC="$CC $ac_cv_prog_cc_c89"
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3841 esac
3842 if test "x$ac_cv_prog_cc_c89" != xno; then :
3846 ac_ext=c
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3852 ac_ext=c
3853 ac_cpp='$CPP $CPPFLAGS'
3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3858 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3859 # On Suns, sometimes $CPP names a directory.
3860 if test -n "$CPP" && test -d "$CPP"; then
3861 CPP=
3863 if test -z "$CPP"; then
3864 if test "${ac_cv_prog_CPP+set}" = set; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 # Double quotes because CPP needs to be expanded
3868 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3870 ac_preproc_ok=false
3871 for ac_c_preproc_warn_flag in '' yes
3873 # Use a header file that comes with gcc, so configuring glibc
3874 # with a fresh cross-compiler works.
3875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3876 # <limits.h> exists even on freestanding compilers.
3877 # On the NeXT, cc -E runs the code through the compiler's parser,
3878 # not just through cpp. "Syntax error" is here to catch this case.
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881 #ifdef __STDC__
3882 # include <limits.h>
3883 #else
3884 # include <assert.h>
3885 #endif
3886 Syntax error
3887 _ACEOF
3888 if ac_fn_c_try_cpp "$LINENO"; then :
3890 else
3891 # Broken: fails on valid input.
3892 continue
3894 rm -f conftest.err conftest.$ac_ext
3896 # OK, works on sane cases. Now check whether nonexistent headers
3897 # can be detected and how.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3900 #include <ac_nonexistent.h>
3901 _ACEOF
3902 if ac_fn_c_try_cpp "$LINENO"; then :
3903 # Broken: success on invalid input.
3904 continue
3905 else
3906 # Passes both tests.
3907 ac_preproc_ok=:
3908 break
3910 rm -f conftest.err conftest.$ac_ext
3912 done
3913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3914 rm -f conftest.err conftest.$ac_ext
3915 if $ac_preproc_ok; then :
3916 break
3919 done
3920 ac_cv_prog_CPP=$CPP
3923 CPP=$ac_cv_prog_CPP
3924 else
3925 ac_cv_prog_CPP=$CPP
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3928 $as_echo "$CPP" >&6; }
3929 ac_preproc_ok=false
3930 for ac_c_preproc_warn_flag in '' yes
3932 # Use a header file that comes with gcc, so configuring glibc
3933 # with a fresh cross-compiler works.
3934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3935 # <limits.h> exists even on freestanding compilers.
3936 # On the NeXT, cc -E runs the code through the compiler's parser,
3937 # not just through cpp. "Syntax error" is here to catch this case.
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3940 #ifdef __STDC__
3941 # include <limits.h>
3942 #else
3943 # include <assert.h>
3944 #endif
3945 Syntax error
3946 _ACEOF
3947 if ac_fn_c_try_cpp "$LINENO"; then :
3949 else
3950 # Broken: fails on valid input.
3951 continue
3953 rm -f conftest.err conftest.$ac_ext
3955 # OK, works on sane cases. Now check whether nonexistent headers
3956 # can be detected and how.
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3959 #include <ac_nonexistent.h>
3960 _ACEOF
3961 if ac_fn_c_try_cpp "$LINENO"; then :
3962 # Broken: success on invalid input.
3963 continue
3964 else
3965 # Passes both tests.
3966 ac_preproc_ok=:
3967 break
3969 rm -f conftest.err conftest.$ac_ext
3971 done
3972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3973 rm -f conftest.err conftest.$ac_ext
3974 if $ac_preproc_ok; then :
3976 else
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3980 See \`config.log' for more details." "$LINENO" 5; }
3983 ac_ext=c
3984 ac_cpp='$CPP $CPPFLAGS'
3985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3990 ac_c_preproc_warn_flag=yes
3994 # The cast to long int works around a bug in the HP C Compiler
3995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3997 # This bug is HP SR number 8606223364.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
3999 $as_echo_n "checking size of double... " >&6; }
4000 if test "${ac_cv_sizeof_double+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4005 else
4006 if test "$ac_cv_type_double" = yes; then
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 { as_fn_set_status 77
4010 as_fn_error "cannot compute sizeof (double)
4011 See \`config.log' for more details." "$LINENO" 5; }; }
4012 else
4013 ac_cv_sizeof_double=0
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4019 $as_echo "$ac_cv_sizeof_double" >&6; }
4023 cat >>confdefs.h <<_ACEOF
4024 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4025 _ACEOF
4028 # The cast to long int works around a bug in the HP C Compiler
4029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4031 # This bug is HP SR number 8606223364.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4033 $as_echo_n "checking size of long double... " >&6; }
4034 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4039 else
4040 if test "$ac_cv_type_long_double" = yes; then
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 { as_fn_set_status 77
4044 as_fn_error "cannot compute sizeof (long double)
4045 See \`config.log' for more details." "$LINENO" 5; }; }
4046 else
4047 ac_cv_sizeof_long_double=0
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4053 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4057 cat >>confdefs.h <<_ACEOF
4058 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4059 _ACEOF
4062 as_fn_arith $ac_cv_sizeof_double \* 8 && double_type_size=$as_val
4063 as_fn_arith $ac_cv_sizeof_long_double \* 8 && long_double_type_size=$as_val
4067 # Check for decimal float support.
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4069 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4070 if test "${libgcc_cv_dfp+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4072 else
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4076 #include <fenv.h>
4079 main ()
4082 _Decimal32 x;
4083 int fe_except =
4084 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4087 return 0;
4089 _ACEOF
4090 if ac_fn_c_try_compile "$LINENO"; then :
4091 libgcc_cv_dfp=yes
4092 else
4093 libgcc_cv_dfp=no
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4098 $as_echo "$libgcc_cv_dfp" >&6; }
4099 decimal_float=$libgcc_cv_dfp
4103 # Check whether --enable-decimal-float was given.
4104 if test "${enable_decimal_float+set}" = set; then :
4105 enableval=$enable_decimal_float;
4106 case $enable_decimal_float in
4107 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
4108 *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4109 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4110 esac
4112 else
4114 case $host in
4115 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
4116 i?86*-*-gnu* | \
4117 i?86*-*-mingw* | x86_64*-*-mingw* | \
4118 i?86*-*-cygwin* | x86_64*-*-cygwin*)
4119 enable_decimal_float=yes
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4123 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4124 enable_decimal_float=no
4126 esac
4131 # x86's use BID format instead of DPD
4132 case x$enable_decimal_float in
4133 xyes)
4134 case $host in
4135 i?86*-*-* | x86_64*-*-*)
4136 enable_decimal_float=bid
4139 enable_decimal_float=dpd
4141 esac
4142 default_decimal_float=$enable_decimal_float
4144 xno)
4145 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4146 # dependency on libdecnumber.
4147 default_decimal_float=dpd
4149 esac
4154 # Check for fixed-point support.
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4156 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4157 if test "${libgcc_cv_fixed_point+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4162 _Sat _Fract x;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 libgcc_cv_fixed_point=yes
4166 else
4167 libgcc_cv_fixed_point=no
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4172 $as_echo "$libgcc_cv_fixed_point" >&6; }
4173 fixed_point=$libgcc_cv_fixed_point
4176 # For platforms with the unwind ABI which includes an unwind library,
4177 # libunwind, we can choose to use the system libunwind.
4178 # config.gcc also contains tests of with_system_libunwind.
4181 # Check whether --with-system-libunwind was given.
4182 if test "${with_system_libunwind+set}" = set; then :
4183 withval=$with_system_libunwind;
4186 # If system-libunwind was not specifically set, pick a default setting.
4187 if test x$with_system_libunwind = x; then
4188 case ${target} in
4189 ia64-*-hpux*) with_system_libunwind=yes ;;
4190 *) with_system_libunwind=no ;;
4191 esac
4193 # Based on system-libunwind and target, do we have ipinfo?
4194 if test x$with_system_libunwind = xyes; then
4195 case ${target} in
4196 ia64-*-*) have_unwind_getipinfo=no ;;
4197 *) have_unwind_getipinfo=yes ;;
4198 esac
4199 else
4200 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4202 case ${target} in
4203 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
4204 *) have_unwind_getipinfo=yes ;;
4205 esac
4209 if test x$have_unwind_getipinfo = xyes; then
4211 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4216 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4217 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4218 # libobjc/configure.ac (for Objective-C).
4219 # FIXME: This should be centralized in config/sjlj.m4.
4220 # Check whether --enable-sjlj-exceptions was given.
4221 if test "${enable_sjlj_exceptions+set}" = set; then :
4222 enableval=$enable_sjlj_exceptions; case "$enableval" in
4223 yes|no|auto) ;;
4224 *) as_fn_error "unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4225 esac
4226 else
4227 enable_sjlj_exceptions=auto
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4232 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4233 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4239 void bar ();
4240 void clean (int *);
4241 void foo ()
4243 int i __attribute__ ((cleanup (clean)));
4244 bar();
4247 _ACEOF
4248 CFLAGS_hold=$CFLAGS
4249 CFLAGS="--save-temps -fexceptions"
4250 libgcc_cv_lib_sjlj_exceptions=unknown
4251 if ac_fn_c_try_compile; then :
4252 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1; then
4253 libgcc_cv_lib_sjlj_exceptions=yes
4254 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1; then
4255 libgcc_cv_lib_sjlj_exceptions=no
4258 CFLAGS=$CFLAGS_hold
4259 rm -f conftest*
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4263 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4265 if test "$enable_sjlj_exceptions" = "auto"; then
4266 enable_sjlj_exceptions=$libgcc_cv_lib_sjlj_exceptions
4269 case $enable_sjlj_exceptions in
4270 yes)
4272 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4278 as_fn_error "unable to detect exception model" "$LINENO" 5
4280 esac
4282 # Check whether --enable-explicit-exception-frame-registration was given.
4283 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4284 enableval=$enable_explicit_exception_frame_registration;
4285 force_explicit_eh_registry=
4286 if test "$enable_explicit_exception_frame_registration" = yes; then
4287 if test "$enable_sjlj_exceptions" = yes; then
4288 as_fn_error "Can't enable both of --enable-sjlj-exceptions
4289 and --enable-explicit-exception-frame-registration" "$LINENO" 5
4291 force_explicit_eh_registry=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4300 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4304 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4305 acl_cv_prog_gnu_ld=yes
4306 else
4307 acl_cv_prog_gnu_ld=no
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4311 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4312 with_gnu_ld=$acl_cv_prog_gnu_ld
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4316 $as_echo_n "checking for thread model used by GCC... " >&6; }
4317 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4319 $as_echo "$target_thread_file" >&6; }
4321 # Check for assembler CFI support.
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4323 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4324 if test "${libgcc_cv_cfi+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4329 asm("\n\
4330 .text\n\
4331 .cfi_startproc\n\
4332 .cfi_personality 0, symbol\n\
4333 .cfi_endproc");
4334 _ACEOF
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336 libgcc_cv_cfi=yes
4337 else
4338 libgcc_cv_cfi=no
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4343 $as_echo "$libgcc_cv_cfi" >&6; }
4345 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4346 # word size rather than the address size.
4347 cat > conftest.c <<EOF
4348 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4349 || defined(__mips64)
4350 host_address=64
4351 #else
4352 host_address=32
4353 #endif
4355 eval `${CC-cc} -E conftest.c | grep host_address=`
4356 rm -f conftest.c
4358 case ${host} in
4359 mips*-*-*)
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4361 $as_echo_n "checking whether the target is hard-float... " >&6; }
4362 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #ifndef __mips_hard_float
4368 #error FOO
4369 #endif
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 libgcc_cv_mips_hard_float=yes
4373 else
4374 libgcc_cv_mips_hard_float=no
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4379 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4380 esac
4382 # Determine the version of glibc, if any, used on the target.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
4384 $as_echo_n "checking for target glibc version... " >&6; }
4386 # Check whether --with-glibc-version was given.
4387 if test "${with_glibc_version+set}" = set; then :
4388 withval=$with_glibc_version;
4389 if echo "$with_glibc_version" | grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
4390 glibc_version_major=`echo "$with_glibc_version" | sed -e 's/\..*//'`
4391 glibc_version_minor=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
4392 else
4393 as_fn_error "option --with-glibc-version requires a version number M.N" "$LINENO" 5
4395 else
4397 if ac_fn_c_compute_int "$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
4399 else
4400 glibc_version_major=0
4403 if ac_fn_c_compute_int "$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
4405 else
4406 glibc_version_minor=0
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
4412 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
4414 # Determine floating-point type for powerpc*-*-linux*.
4415 # Single-precision-only FPRs are not a supported configuration for
4416 # this target, so are not allowed for in this test.
4417 case ${host} in
4418 powerpc*-*-linux*)
4419 cat > conftest.c <<EOF
4420 #ifdef __powerpc64__
4421 ppc_fp_type=64
4422 #elif defined _SOFT_FLOAT
4423 ppc_fp_type=soft
4424 #elif defined _SOFT_DOUBLE
4425 ppc_fp_type=e500v1
4426 #elif defined __NO_FPRS__
4427 ppc_fp_type=e500v2
4428 #else
4429 ppc_fp_type=hard
4430 #endif
4432 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4433 rm -f conftest.c
4434 # glibc 2.19 and later provide all the soft-fp functions, with proper
4435 # interactions with <fenv.h> exception and rounding mode handling, so
4436 # make libgcc's versions into compat symbols if a recent enough glibc
4437 # version is being used.
4438 ppc_fp_compat=
4439 case ${ppc_fp_type} in
4440 soft|e500v1|e500v2)
4441 if test $glibc_version_major -gt 2 \
4442 || ( test $glibc_version_major -eq 2 \
4443 && test $glibc_version_minor -ge 19 ); then
4444 ppc_fp_compat="t-softfp-compat"
4447 esac
4449 esac
4451 # Collect host-machine-specific information.
4452 . ${srcdir}/config.host
4454 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4455 # This is after config.host so we can augment tmake_file.
4456 # Link with -nostartfiles -nodefaultlibs since neither are present while
4457 # building libgcc.
4458 case ${host} in
4459 i?86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
4460 cat > conftest.s <<EOF
4461 .section .eh_frame,"a",@unwind
4462 .zero 4
4463 .section .jcr,"aw",@progbits
4464 .zero 8
4466 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4468 (eval $ac_try) 2>&5
4469 ac_status=$?
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }; }; then
4472 tmake_file="${tmake_file} i386/t-crtstuff"
4475 esac
4477 # Check for visibility support. This is after config.host so that
4478 # we can check for asm_hidden_op.
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4480 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4481 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4485 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4486 libgcc_cv_hidden_visibility_attribute=no
4487 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4489 (eval $ac_try) 2>&5
4490 ac_status=$?
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }; }; then
4493 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
4494 libgcc_cv_hidden_visibility_attribute=yes
4497 rm -f conftest.*
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4501 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4503 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4504 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
4505 else
4506 vis_hide=
4510 # See if we have thread-local storage. We can only test assembler
4511 # since link-time and run-time tests require the newly built
4512 # gcc, which can't be used to build executable due to that libgcc
4513 # is yet to be built here.
4515 # Check whether --enable-tls was given.
4516 if test "${enable_tls+set}" = set; then :
4517 enableval=$enable_tls;
4518 case "$enableval" in
4519 yes|no) ;;
4520 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4521 esac
4523 else
4524 enable_tls=yes
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4529 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4530 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536 __thread int a; int b; int main() { return a = b; }
4537 _ACEOF
4538 if ac_fn_c_try_compile "$LINENO"; then :
4539 gcc_cv_have_cc_tls=yes
4540 else
4541 gcc_cv_have_cc_tls=no
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4547 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4548 set_have_cc_tls=
4549 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4550 set_have_cc_tls="-DHAVE_CC_TLS"
4554 # See if we have emulated thread-local storage.
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4557 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4558 if test "${gcc_cv_use_emutls+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4562 gcc_cv_use_emutls=no
4563 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4564 if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4565 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4566 (eval $ac_try) 2>&5
4567 ac_status=$?
4568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4569 test $ac_status = 0; }; }; then
4570 if grep __emutls_get_address conftest.s > /dev/null; then
4571 gcc_cv_use_emutls=yes
4574 rm -f conftest.*
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4578 $as_echo "$gcc_cv_use_emutls" >&6; }
4579 if test "$gcc_cv_use_emutls" = "yes" ; then
4581 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4584 set_use_emutls=
4585 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4586 set_use_emutls="-DUSE_EMUTLS"
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
4591 $as_echo_n "checking for init priority support... " >&6; }
4592 if test "${libgcc_cv_init_priority+set}" = set; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4602 void ip (void) __attribute__ ((constructor (1)));
4604 return 0;
4606 _ACEOF
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608 libgcc_cv_init_priority=yes
4609 else
4610 libgcc_cv_init_priority=no
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
4615 $as_echo "$libgcc_cv_init_priority" >&6; }
4616 if test $libgcc_cv_init_priority = yes; then
4618 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
4622 # Conditionalize the sfp-machine.h header for this target machine.
4623 if test -z "${sfp_machine_header}"; then
4624 sfp_machine_header=$cpu_type/sfp-machine.h
4625 if test -f ${srcdir}/config/${sfp_machine_header}; then
4627 else
4628 sfp_machine_header=no-sfp-machine.h
4633 # Conditionalize the makefile for this target machine.
4634 tmake_file_=
4635 for f in ${tmake_file}
4637 if test -f ${srcdir}/config/$f
4638 then
4639 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
4641 done
4642 tmake_file="${tmake_file_}"
4645 # Likewise export definitions for libgcc_tm.h
4646 tm_file_=
4647 for f in ${tm_file}
4649 tm_file_="${tm_file_} \$(srcdir)/config/$f"
4650 done
4651 tm_file="${tm_file_}"
4655 # Map from thread model to thread header.
4657 case $target_thread_file in
4658 aix) thread_header=config/rs6000/gthr-aix.h ;;
4659 dce) thread_header=config/pa/gthr-dce.h ;;
4660 lynx) thread_header=config/gthr-lynx.h ;;
4661 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
4662 posix) thread_header=gthr-posix.h ;;
4663 rtems) thread_header=config/gthr-rtems.h ;;
4664 single) thread_header=gthr-single.h ;;
4665 tpf) thread_header=config/s390/gthr-tpf.h ;;
4666 vxworks) thread_header=config/gthr-vxworks.h ;;
4667 win32) thread_header=config/i386/gthr-win32.h ;;
4668 esac
4672 # Substitute configuration variables
4676 ac_config_links="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4678 ac_config_links="$ac_config_links unwind.h:$unwind_header"
4680 ac_config_links="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4682 ac_config_links="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4684 ac_config_links="$ac_config_links gthr-default.h:$thread_header"
4687 # We need multilib support.
4688 ac_config_files="$ac_config_files Makefile"
4690 ac_config_commands="$ac_config_commands default"
4692 cat >confcache <<\_ACEOF
4693 # This file is a shell script that caches the results of configure
4694 # tests run on this system so they can be shared between configure
4695 # scripts and configure runs, see configure's option --config-cache.
4696 # It is not useful on other systems. If it contains results you don't
4697 # want to keep, you may remove or edit it.
4699 # config.status only pays attention to the cache file if you give it
4700 # the --recheck option to rerun configure.
4702 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4703 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4704 # following values.
4706 _ACEOF
4708 # The following way of writing the cache mishandles newlines in values,
4709 # but we know of no workaround that is simple, portable, and efficient.
4710 # So, we kill variables containing newlines.
4711 # Ultrix sh set writes to stderr and can't be redirected directly,
4712 # and sets the high bit in the cache file unless we assign to the vars.
4714 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4715 eval ac_val=\$$ac_var
4716 case $ac_val in #(
4717 *${as_nl}*)
4718 case $ac_var in #(
4719 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4720 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4721 esac
4722 case $ac_var in #(
4723 _ | IFS | as_nl) ;; #(
4724 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4725 *) { eval $ac_var=; unset $ac_var;} ;;
4726 esac ;;
4727 esac
4728 done
4730 (set) 2>&1 |
4731 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4732 *${as_nl}ac_space=\ *)
4733 # `set' does not quote correctly, so add quotes: double-quote
4734 # substitution turns \\\\ into \\, and sed turns \\ into \.
4735 sed -n \
4736 "s/'/'\\\\''/g;
4737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4738 ;; #(
4740 # `set' quotes correctly as required by POSIX, so do not add quotes.
4741 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4743 esac |
4744 sort
4746 sed '
4747 /^ac_cv_env_/b end
4748 t clear
4749 :clear
4750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4751 t end
4752 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4753 :end' >>confcache
4754 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4755 if test -w "$cache_file"; then
4756 test "x$cache_file" != "x/dev/null" &&
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4758 $as_echo "$as_me: updating cache $cache_file" >&6;}
4759 cat confcache >$cache_file
4760 else
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4765 rm -f confcache
4767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4768 # Let make expand exec_prefix.
4769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4771 DEFS=-DHAVE_CONFIG_H
4773 ac_libobjs=
4774 ac_ltlibobjs=
4775 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4776 # 1. Remove the extension, and $U if already installed.
4777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4778 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4780 # will be set to the directory where LIBOBJS objects are built.
4781 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4782 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4783 done
4784 LIBOBJS=$ac_libobjs
4786 LTLIBOBJS=$ac_ltlibobjs
4790 : ${CONFIG_STATUS=./config.status}
4791 ac_write_fail=0
4792 ac_clean_files_save=$ac_clean_files
4793 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4795 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4796 as_write_fail=0
4797 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4798 #! $SHELL
4799 # Generated by $as_me.
4800 # Run this file to recreate the current configuration.
4801 # Compiler output produced by configure, useful for debugging
4802 # configure, is in config.log if it exists.
4804 debug=false
4805 ac_cs_recheck=false
4806 ac_cs_silent=false
4808 SHELL=\${CONFIG_SHELL-$SHELL}
4809 export SHELL
4810 _ASEOF
4811 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4812 ## -------------------- ##
4813 ## M4sh Initialization. ##
4814 ## -------------------- ##
4816 # Be more Bourne compatible
4817 DUALCASE=1; export DUALCASE # for MKS sh
4818 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4819 emulate sh
4820 NULLCMD=:
4821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4822 # is contrary to our usage. Disable this feature.
4823 alias -g '${1+"$@"}'='"$@"'
4824 setopt NO_GLOB_SUBST
4825 else
4826 case `(set -o) 2>/dev/null` in #(
4827 *posix*) :
4828 set -o posix ;; #(
4829 *) :
4831 esac
4835 as_nl='
4837 export as_nl
4838 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4839 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4842 # Prefer a ksh shell builtin over an external printf program on Solaris,
4843 # but without wasting forks for bash or zsh.
4844 if test -z "$BASH_VERSION$ZSH_VERSION" \
4845 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4846 as_echo='print -r --'
4847 as_echo_n='print -rn --'
4848 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4849 as_echo='printf %s\n'
4850 as_echo_n='printf %s'
4851 else
4852 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4853 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4854 as_echo_n='/usr/ucb/echo -n'
4855 else
4856 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4857 as_echo_n_body='eval
4858 arg=$1;
4859 case $arg in #(
4860 *"$as_nl"*)
4861 expr "X$arg" : "X\\(.*\\)$as_nl";
4862 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4863 esac;
4864 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4866 export as_echo_n_body
4867 as_echo_n='sh -c $as_echo_n_body as_echo'
4869 export as_echo_body
4870 as_echo='sh -c $as_echo_body as_echo'
4873 # The user is always right.
4874 if test "${PATH_SEPARATOR+set}" != set; then
4875 PATH_SEPARATOR=:
4876 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4877 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4878 PATH_SEPARATOR=';'
4883 # IFS
4884 # We need space, tab and new line, in precisely that order. Quoting is
4885 # there to prevent editors from complaining about space-tab.
4886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4887 # splitting by setting IFS to empty value.)
4888 IFS=" "" $as_nl"
4890 # Find who we are. Look in the path if we contain no directory separator.
4891 case $0 in #((
4892 *[\\/]* ) as_myself=$0 ;;
4893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4899 done
4900 IFS=$as_save_IFS
4903 esac
4904 # We did not find ourselves, most probably we were run as `sh COMMAND'
4905 # in which case we are not to be found in the path.
4906 if test "x$as_myself" = x; then
4907 as_myself=$0
4909 if test ! -f "$as_myself"; then
4910 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4911 exit 1
4914 # Unset variables that we do not need and which cause bugs (e.g. in
4915 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4916 # suppresses any "Segmentation fault" message there. '((' could
4917 # trigger a bug in pdksh 5.2.14.
4918 for as_var in BASH_ENV ENV MAIL MAILPATH
4919 do eval test x\${$as_var+set} = xset \
4920 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4921 done
4922 PS1='$ '
4923 PS2='> '
4924 PS4='+ '
4926 # NLS nuisances.
4927 LC_ALL=C
4928 export LC_ALL
4929 LANGUAGE=C
4930 export LANGUAGE
4932 # CDPATH.
4933 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4936 # as_fn_error ERROR [LINENO LOG_FD]
4937 # ---------------------------------
4938 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4939 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4940 # script with status $?, using 1 if that was 0.
4941 as_fn_error ()
4943 as_status=$?; test $as_status -eq 0 && as_status=1
4944 if test "$3"; then
4945 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4946 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4948 $as_echo "$as_me: error: $1" >&2
4949 as_fn_exit $as_status
4950 } # as_fn_error
4953 # as_fn_set_status STATUS
4954 # -----------------------
4955 # Set $? to STATUS, without forking.
4956 as_fn_set_status ()
4958 return $1
4959 } # as_fn_set_status
4961 # as_fn_exit STATUS
4962 # -----------------
4963 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4964 as_fn_exit ()
4966 set +e
4967 as_fn_set_status $1
4968 exit $1
4969 } # as_fn_exit
4971 # as_fn_unset VAR
4972 # ---------------
4973 # Portably unset VAR.
4974 as_fn_unset ()
4976 { eval $1=; unset $1;}
4978 as_unset=as_fn_unset
4979 # as_fn_append VAR VALUE
4980 # ----------------------
4981 # Append the text in VALUE to the end of the definition contained in VAR. Take
4982 # advantage of any shell optimizations that allow amortized linear growth over
4983 # repeated appends, instead of the typical quadratic growth present in naive
4984 # implementations.
4985 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4986 eval 'as_fn_append ()
4988 eval $1+=\$2
4990 else
4991 as_fn_append ()
4993 eval $1=\$$1\$2
4995 fi # as_fn_append
4997 # as_fn_arith ARG...
4998 # ------------------
4999 # Perform arithmetic evaluation on the ARGs, and store the result in the
5000 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5001 # must be portable across $(()) and expr.
5002 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5003 eval 'as_fn_arith ()
5005 as_val=$(( $* ))
5007 else
5008 as_fn_arith ()
5010 as_val=`expr "$@" || test $? -eq 1`
5012 fi # as_fn_arith
5015 if expr a : '\(a\)' >/dev/null 2>&1 &&
5016 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5017 as_expr=expr
5018 else
5019 as_expr=false
5022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5023 as_basename=basename
5024 else
5025 as_basename=false
5028 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5029 as_dirname=dirname
5030 else
5031 as_dirname=false
5034 as_me=`$as_basename -- "$0" ||
5035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5036 X"$0" : 'X\(//\)$' \| \
5037 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5038 $as_echo X/"$0" |
5039 sed '/^.*\/\([^/][^/]*\)\/*$/{
5040 s//\1/
5043 /^X\/\(\/\/\)$/{
5044 s//\1/
5047 /^X\/\(\/\).*/{
5048 s//\1/
5051 s/.*/./; q'`
5053 # Avoid depending upon Character Ranges.
5054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5057 as_cr_digits='0123456789'
5058 as_cr_alnum=$as_cr_Letters$as_cr_digits
5060 ECHO_C= ECHO_N= ECHO_T=
5061 case `echo -n x` in #(((((
5062 -n*)
5063 case `echo 'xy\c'` in
5064 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5065 xy) ECHO_C='\c';;
5066 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5067 ECHO_T=' ';;
5068 esac;;
5070 ECHO_N='-n';;
5071 esac
5073 rm -f conf$$ conf$$.exe conf$$.file
5074 if test -d conf$$.dir; then
5075 rm -f conf$$.dir/conf$$.file
5076 else
5077 rm -f conf$$.dir
5078 mkdir conf$$.dir 2>/dev/null
5080 if (echo >conf$$.file) 2>/dev/null; then
5081 if ln -s conf$$.file conf$$ 2>/dev/null; then
5082 as_ln_s='ln -s'
5083 # ... but there are two gotchas:
5084 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5085 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5086 # In both cases, we have to default to `cp -p'.
5087 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5088 as_ln_s='cp -p'
5089 elif ln conf$$.file conf$$ 2>/dev/null; then
5090 as_ln_s=ln
5091 else
5092 as_ln_s='cp -p'
5094 else
5095 as_ln_s='cp -p'
5097 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5098 rmdir conf$$.dir 2>/dev/null
5101 # as_fn_mkdir_p
5102 # -------------
5103 # Create "$as_dir" as a directory, including parents if necessary.
5104 as_fn_mkdir_p ()
5107 case $as_dir in #(
5108 -*) as_dir=./$as_dir;;
5109 esac
5110 test -d "$as_dir" || eval $as_mkdir_p || {
5111 as_dirs=
5112 while :; do
5113 case $as_dir in #(
5114 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5115 *) as_qdir=$as_dir;;
5116 esac
5117 as_dirs="'$as_qdir' $as_dirs"
5118 as_dir=`$as_dirname -- "$as_dir" ||
5119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5120 X"$as_dir" : 'X\(//\)[^/]' \| \
5121 X"$as_dir" : 'X\(//\)$' \| \
5122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5123 $as_echo X"$as_dir" |
5124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5125 s//\1/
5128 /^X\(\/\/\)[^/].*/{
5129 s//\1/
5132 /^X\(\/\/\)$/{
5133 s//\1/
5136 /^X\(\/\).*/{
5137 s//\1/
5140 s/.*/./; q'`
5141 test -d "$as_dir" && break
5142 done
5143 test -z "$as_dirs" || eval "mkdir $as_dirs"
5144 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5147 } # as_fn_mkdir_p
5148 if mkdir -p . 2>/dev/null; then
5149 as_mkdir_p='mkdir -p "$as_dir"'
5150 else
5151 test -d ./-p && rmdir ./-p
5152 as_mkdir_p=false
5155 if test -x / >/dev/null 2>&1; then
5156 as_test_x='test -x'
5157 else
5158 if ls -dL / >/dev/null 2>&1; then
5159 as_ls_L_option=L
5160 else
5161 as_ls_L_option=
5163 as_test_x='
5164 eval sh -c '\''
5165 if test -d "$1"; then
5166 test -d "$1/.";
5167 else
5168 case $1 in #(
5169 -*)set "./$1";;
5170 esac;
5171 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5172 ???[sx]*):;;*)false;;esac;fi
5173 '\'' sh
5176 as_executable_p=$as_test_x
5178 # Sed expression to map a string onto a valid CPP name.
5179 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5181 # Sed expression to map a string onto a valid variable name.
5182 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5185 exec 6>&1
5186 ## ----------------------------------- ##
5187 ## Main body of $CONFIG_STATUS script. ##
5188 ## ----------------------------------- ##
5189 _ASEOF
5190 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5193 # Save the log message, to keep $0 and so on meaningful, and to
5194 # report actual input values of CONFIG_FILES etc. instead of their
5195 # values after options handling.
5196 ac_log="
5197 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5198 generated by GNU Autoconf 2.64. Invocation command line was
5200 CONFIG_FILES = $CONFIG_FILES
5201 CONFIG_HEADERS = $CONFIG_HEADERS
5202 CONFIG_LINKS = $CONFIG_LINKS
5203 CONFIG_COMMANDS = $CONFIG_COMMANDS
5204 $ $0 $@
5206 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5209 _ACEOF
5211 case $ac_config_files in *"
5212 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5213 esac
5215 case $ac_config_headers in *"
5216 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5217 esac
5220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5221 # Files that config.status was made for.
5222 config_files="$ac_config_files"
5223 config_headers="$ac_config_headers"
5224 config_links="$ac_config_links"
5225 config_commands="$ac_config_commands"
5227 _ACEOF
5229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5230 ac_cs_usage="\
5231 \`$as_me' instantiates files and other configuration actions
5232 from templates according to the current configuration. Unless the files
5233 and actions are specified as TAGs, all are instantiated by default.
5235 Usage: $0 [OPTION]... [TAG]...
5237 -h, --help print this help, then exit
5238 -V, --version print version number and configuration settings, then exit
5239 -q, --quiet, --silent
5240 do not print progress messages
5241 -d, --debug don't remove temporary files
5242 --recheck update $as_me by reconfiguring in the same conditions
5243 --file=FILE[:TEMPLATE]
5244 instantiate the configuration file FILE
5245 --header=FILE[:TEMPLATE]
5246 instantiate the configuration header FILE
5248 Configuration files:
5249 $config_files
5251 Configuration headers:
5252 $config_headers
5254 Configuration links:
5255 $config_links
5257 Configuration commands:
5258 $config_commands
5260 Report bugs to the package provider.
5261 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5262 General help using GNU software: <http://www.gnu.org/gethelp/>."
5264 _ACEOF
5265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5266 ac_cs_version="\\
5267 GNU C Runtime Library config.status 1.0
5268 configured by $0, generated by GNU Autoconf 2.64,
5269 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5271 Copyright (C) 2009 Free Software Foundation, Inc.
5272 This config.status script is free software; the Free Software Foundation
5273 gives unlimited permission to copy, distribute and modify it."
5275 ac_pwd='$ac_pwd'
5276 srcdir='$srcdir'
5277 INSTALL='$INSTALL'
5278 AWK='$AWK'
5279 test -n "\$AWK" || AWK=awk
5280 _ACEOF
5282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 # The default lists apply if the user does not specify any file.
5284 ac_need_defaults=:
5285 while test $# != 0
5287 case $1 in
5288 --*=*)
5289 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5290 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5291 ac_shift=:
5294 ac_option=$1
5295 ac_optarg=$2
5296 ac_shift=shift
5298 esac
5300 case $ac_option in
5301 # Handling of the options.
5302 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5303 ac_cs_recheck=: ;;
5304 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5305 $as_echo "$ac_cs_version"; exit ;;
5306 --debug | --debu | --deb | --de | --d | -d )
5307 debug=: ;;
5308 --file | --fil | --fi | --f )
5309 $ac_shift
5310 case $ac_optarg in
5311 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5312 esac
5313 as_fn_append CONFIG_FILES " '$ac_optarg'"
5314 ac_need_defaults=false;;
5315 --header | --heade | --head | --hea )
5316 $ac_shift
5317 case $ac_optarg in
5318 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5319 esac
5320 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5321 ac_need_defaults=false;;
5322 --he | --h)
5323 # Conflict between --help and --header
5324 as_fn_error "ambiguous option: \`$1'
5325 Try \`$0 --help' for more information.";;
5326 --help | --hel | -h )
5327 $as_echo "$ac_cs_usage"; exit ;;
5328 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5329 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5330 ac_cs_silent=: ;;
5332 # This is an error.
5333 -*) as_fn_error "unrecognized option: \`$1'
5334 Try \`$0 --help' for more information." ;;
5336 *) as_fn_append ac_config_targets " $1"
5337 ac_need_defaults=false ;;
5339 esac
5340 shift
5341 done
5343 ac_configure_extra_args=
5345 if $ac_cs_silent; then
5346 exec 6>/dev/null
5347 ac_configure_extra_args="$ac_configure_extra_args --silent"
5350 _ACEOF
5351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5352 if \$ac_cs_recheck; then
5353 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5354 shift
5355 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5356 CONFIG_SHELL='$SHELL'
5357 export CONFIG_SHELL
5358 exec "\$@"
5361 _ACEOF
5362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5363 exec 5>>config.log
5365 echo
5366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5367 ## Running $as_me. ##
5368 _ASBOX
5369 $as_echo "$ac_log"
5370 } >&5
5372 _ACEOF
5373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5375 # INIT-COMMANDS
5377 srcdir=${srcdir}
5378 host=${host}
5379 with_target_subdir=${with_target_subdir}
5380 with_multisubdir=${with_multisubdir}
5381 ac_configure_args="--enable-multilib ${ac_configure_args}"
5382 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5383 libgcc_topdir=${libgcc_topdir}
5384 CC="${CC}"
5387 _ACEOF
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5391 # Handling of arguments.
5392 for ac_config_target in $ac_config_targets
5394 case $ac_config_target in
5395 "auto-target.h") CONFIG_HEADERS="$CONFIG_HEADERS auto-target.h:config.in" ;;
5396 "enable-execute-stack.c") CONFIG_LINKS="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5397 "unwind.h") CONFIG_LINKS="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5398 "md-unwind-support.h") CONFIG_LINKS="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5399 "sfp-machine.h") CONFIG_LINKS="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5400 "gthr-default.h") CONFIG_LINKS="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5401 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5402 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5404 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5405 esac
5406 done
5409 # If the user did not use the arguments to specify the items to instantiate,
5410 # then the envvar interface is used. Set only those that are not.
5411 # We use the long form for the default assignment because of an extremely
5412 # bizarre bug on SunOS 4.1.3.
5413 if $ac_need_defaults; then
5414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5416 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
5417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5420 # Have a temporary directory for convenience. Make it in the build tree
5421 # simply because there is no reason against having it here, and in addition,
5422 # creating and moving files from /tmp can sometimes cause problems.
5423 # Hook for its removal unless debugging.
5424 # Note that there is a small window in which the directory will not be cleaned:
5425 # after its creation but before its name has been assigned to `$tmp'.
5426 $debug ||
5428 tmp=
5429 trap 'exit_status=$?
5430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5432 trap 'as_fn_exit 1' 1 2 13 15
5434 # Create a (secure) tmp directory for tmp files.
5437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5438 test -n "$tmp" && test -d "$tmp"
5439 } ||
5441 tmp=./conf$$-$RANDOM
5442 (umask 077 && mkdir "$tmp")
5443 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5445 # Set up the scripts for CONFIG_FILES section.
5446 # No need to generate them if there are no CONFIG_FILES.
5447 # This happens for instance with `./config.status config.h'.
5448 if test -n "$CONFIG_FILES"; then
5451 ac_cr=`echo X | tr X '\015'`
5452 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5453 # But we know of no other shell where ac_cr would be empty at this
5454 # point, so we can use a bashism as a fallback.
5455 if test "x$ac_cr" = x; then
5456 eval ac_cr=\$\'\\r\'
5458 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5459 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5460 ac_cs_awk_cr='\r'
5461 else
5462 ac_cs_awk_cr=$ac_cr
5465 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5466 _ACEOF
5470 echo "cat >conf$$subs.awk <<_ACEOF" &&
5471 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5472 echo "_ACEOF"
5473 } >conf$$subs.sh ||
5474 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5475 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5476 ac_delim='%!_!# '
5477 for ac_last_try in false false false false false :; do
5478 . ./conf$$subs.sh ||
5479 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5481 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5482 if test $ac_delim_n = $ac_delim_num; then
5483 break
5484 elif $ac_last_try; then
5485 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5486 else
5487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5489 done
5490 rm -f conf$$subs.sh
5492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5493 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5494 _ACEOF
5495 sed -n '
5497 s/^/S["/; s/!.*/"]=/
5500 s/^[^!]*!//
5501 :repl
5502 t repl
5503 s/'"$ac_delim"'$//
5504 t delim
5507 s/\(.\{148\}\).*/\1/
5508 t more1
5509 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5512 b repl
5513 :more1
5514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5517 s/.\{148\}//
5518 t nl
5519 :delim
5521 s/\(.\{148\}\).*/\1/
5522 t more2
5523 s/["\\]/\\&/g; s/^/"/; s/$/"/
5526 :more2
5527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5530 s/.\{148\}//
5531 t delim
5532 ' <conf$$subs.awk | sed '
5533 /^[^""]/{
5535 s/\n//
5537 ' >>$CONFIG_STATUS || ac_write_fail=1
5538 rm -f conf$$subs.awk
5539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5540 _ACAWK
5541 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5542 for (key in S) S_is_set[key] = 1
5543 FS = "\a"
5547 line = $ 0
5548 nfields = split(line, field, "@")
5549 substed = 0
5550 len = length(field[1])
5551 for (i = 2; i < nfields; i++) {
5552 key = field[i]
5553 keylen = length(key)
5554 if (S_is_set[key]) {
5555 value = S[key]
5556 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5557 len += length(value) + length(field[++i])
5558 substed = 1
5559 } else
5560 len += 1 + keylen
5563 print line
5566 _ACAWK
5567 _ACEOF
5568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5569 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5570 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5571 else
5573 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5574 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5575 _ACEOF
5577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5579 # trailing colons and then remove the whole line if VPATH becomes empty
5580 # (actually we leave an empty line to preserve line numbers).
5581 if test "x$srcdir" = x.; then
5582 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5583 s/:*\$(srcdir):*/:/
5584 s/:*\${srcdir}:*/:/
5585 s/:*@srcdir@:*/:/
5586 s/^\([^=]*=[ ]*\):*/\1/
5587 s/:*$//
5588 s/^[^=]*=[ ]*$//
5592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5593 fi # test -n "$CONFIG_FILES"
5595 # Set up the scripts for CONFIG_HEADERS section.
5596 # No need to generate them if there are no CONFIG_HEADERS.
5597 # This happens for instance with `./config.status Makefile'.
5598 if test -n "$CONFIG_HEADERS"; then
5599 cat >"$tmp/defines.awk" <<\_ACAWK ||
5600 BEGIN {
5601 _ACEOF
5603 # Transform confdefs.h into an awk script `defines.awk', embedded as
5604 # here-document in config.status, that substitutes the proper values into
5605 # config.h.in to produce config.h.
5607 # Create a delimiter string that does not exist in confdefs.h, to ease
5608 # handling of long lines.
5609 ac_delim='%!_!# '
5610 for ac_last_try in false false :; do
5611 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5612 if test -z "$ac_t"; then
5613 break
5614 elif $ac_last_try; then
5615 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5616 else
5617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5619 done
5621 # For the awk script, D is an array of macro values keyed by name,
5622 # likewise P contains macro parameters if any. Preserve backslash
5623 # newline sequences.
5625 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5626 sed -n '
5627 s/.\{148\}/&'"$ac_delim"'/g
5628 t rset
5629 :rset
5630 s/^[ ]*#[ ]*define[ ][ ]*/ /
5631 t def
5633 :def
5634 s/\\$//
5635 t bsnl
5636 s/["\\]/\\&/g
5637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5638 D["\1"]=" \3"/p
5639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5641 :bsnl
5642 s/["\\]/\\&/g
5643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5644 D["\1"]=" \3\\\\\\n"\\/p
5645 t cont
5646 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5647 t cont
5649 :cont
5651 s/.\{148\}/&'"$ac_delim"'/g
5652 t clear
5653 :clear
5654 s/\\$//
5655 t bsnlc
5656 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5658 :bsnlc
5659 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5660 b cont
5661 ' <confdefs.h | sed '
5662 s/'"$ac_delim"'/"\\\
5663 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5666 for (key in D) D_is_set[key] = 1
5667 FS = "\a"
5669 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5670 line = \$ 0
5671 split(line, arg, " ")
5672 if (arg[1] == "#") {
5673 defundef = arg[2]
5674 mac1 = arg[3]
5675 } else {
5676 defundef = substr(arg[1], 2)
5677 mac1 = arg[2]
5679 split(mac1, mac2, "(") #)
5680 macro = mac2[1]
5681 prefix = substr(line, 1, index(line, defundef) - 1)
5682 if (D_is_set[macro]) {
5683 # Preserve the white space surrounding the "#".
5684 print prefix "define", macro P[macro] D[macro]
5685 next
5686 } else {
5687 # Replace #undef with comments. This is necessary, for example,
5688 # in the case of _POSIX_SOURCE, which is predefined and required
5689 # on some systems where configure will not decide to define it.
5690 if (defundef == "undef") {
5691 print "/*", prefix defundef, macro, "*/"
5692 next
5696 { print }
5697 _ACAWK
5698 _ACEOF
5699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5700 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5701 fi # test -n "$CONFIG_HEADERS"
5704 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
5705 shift
5706 for ac_tag
5708 case $ac_tag in
5709 :[FHLC]) ac_mode=$ac_tag; continue;;
5710 esac
5711 case $ac_mode$ac_tag in
5712 :[FHL]*:*);;
5713 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5714 :[FH]-) ac_tag=-:-;;
5715 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5716 esac
5717 ac_save_IFS=$IFS
5718 IFS=:
5719 set x $ac_tag
5720 IFS=$ac_save_IFS
5721 shift
5722 ac_file=$1
5723 shift
5725 case $ac_mode in
5726 :L) ac_source=$1;;
5727 :[FH])
5728 ac_file_inputs=
5729 for ac_f
5731 case $ac_f in
5732 -) ac_f="$tmp/stdin";;
5733 *) # Look for the file first in the build tree, then in the source tree
5734 # (if the path is not absolute). The absolute path cannot be DOS-style,
5735 # because $ac_f cannot contain `:'.
5736 test -f "$ac_f" ||
5737 case $ac_f in
5738 [\\/$]*) false;;
5739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5740 esac ||
5741 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5742 esac
5743 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5744 as_fn_append ac_file_inputs " '$ac_f'"
5745 done
5747 # Let's still pretend it is `configure' which instantiates (i.e., don't
5748 # use $as_me), people would be surprised to read:
5749 # /* config.h. Generated by config.status. */
5750 configure_input='Generated from '`
5751 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5752 `' by configure.'
5753 if test x"$ac_file" != x-; then
5754 configure_input="$ac_file. $configure_input"
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5756 $as_echo "$as_me: creating $ac_file" >&6;}
5758 # Neutralize special characters interpreted by sed in replacement strings.
5759 case $configure_input in #(
5760 *\&* | *\|* | *\\* )
5761 ac_sed_conf_input=`$as_echo "$configure_input" |
5762 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5763 *) ac_sed_conf_input=$configure_input;;
5764 esac
5766 case $ac_tag in
5767 *:-:* | *:-) cat >"$tmp/stdin" \
5768 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5769 esac
5771 esac
5773 ac_dir=`$as_dirname -- "$ac_file" ||
5774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5775 X"$ac_file" : 'X\(//\)[^/]' \| \
5776 X"$ac_file" : 'X\(//\)$' \| \
5777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5778 $as_echo X"$ac_file" |
5779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5780 s//\1/
5783 /^X\(\/\/\)[^/].*/{
5784 s//\1/
5787 /^X\(\/\/\)$/{
5788 s//\1/
5791 /^X\(\/\).*/{
5792 s//\1/
5795 s/.*/./; q'`
5796 as_dir="$ac_dir"; as_fn_mkdir_p
5797 ac_builddir=.
5799 case "$ac_dir" in
5800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5803 # A ".." for each directory in $ac_dir_suffix.
5804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5805 case $ac_top_builddir_sub in
5806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5808 esac ;;
5809 esac
5810 ac_abs_top_builddir=$ac_pwd
5811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5812 # for backward compatibility:
5813 ac_top_builddir=$ac_top_build_prefix
5815 case $srcdir in
5816 .) # We are building in place.
5817 ac_srcdir=.
5818 ac_top_srcdir=$ac_top_builddir_sub
5819 ac_abs_top_srcdir=$ac_pwd ;;
5820 [\\/]* | ?:[\\/]* ) # Absolute name.
5821 ac_srcdir=$srcdir$ac_dir_suffix;
5822 ac_top_srcdir=$srcdir
5823 ac_abs_top_srcdir=$srcdir ;;
5824 *) # Relative name.
5825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5826 ac_top_srcdir=$ac_top_build_prefix$srcdir
5827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5828 esac
5829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5832 case $ac_mode in
5835 # CONFIG_FILE
5838 case $INSTALL in
5839 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5840 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5841 esac
5842 _ACEOF
5844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5845 # If the template does not know about datarootdir, expand it.
5846 # FIXME: This hack should be removed a few years after 2.60.
5847 ac_datarootdir_hack=; ac_datarootdir_seen=
5848 ac_sed_dataroot='
5849 /datarootdir/ {
5853 /@datadir@/p
5854 /@docdir@/p
5855 /@infodir@/p
5856 /@localedir@/p
5857 /@mandir@/p'
5858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5859 *datarootdir*) ac_datarootdir_seen=yes;;
5860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5863 _ACEOF
5864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5865 ac_datarootdir_hack='
5866 s&@datadir@&$datadir&g
5867 s&@docdir@&$docdir&g
5868 s&@infodir@&$infodir&g
5869 s&@localedir@&$localedir&g
5870 s&@mandir@&$mandir&g
5871 s&\\\${datarootdir}&$datarootdir&g' ;;
5872 esac
5873 _ACEOF
5875 # Neutralize VPATH when `$srcdir' = `.'.
5876 # Shell code in configure.ac might set extrasub.
5877 # FIXME: do we really want to maintain this feature?
5878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5879 ac_sed_extra="$ac_vpsub
5880 $extrasub
5881 _ACEOF
5882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5885 s|@configure_input@|$ac_sed_conf_input|;t t
5886 s&@top_builddir@&$ac_top_builddir_sub&;t t
5887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5888 s&@srcdir@&$ac_srcdir&;t t
5889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5890 s&@top_srcdir@&$ac_top_srcdir&;t t
5891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5892 s&@builddir@&$ac_builddir&;t t
5893 s&@abs_builddir@&$ac_abs_builddir&;t t
5894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5895 s&@INSTALL@&$ac_INSTALL&;t t
5896 $ac_datarootdir_hack
5898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5899 || as_fn_error "could not create $ac_file" "$LINENO" 5
5901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5902 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5905 which seems to be undefined. Please make sure it is defined." >&5
5906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5907 which seems to be undefined. Please make sure it is defined." >&2;}
5909 rm -f "$tmp/stdin"
5910 case $ac_file in
5911 -) cat "$tmp/out" && rm -f "$tmp/out";;
5912 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5913 esac \
5914 || as_fn_error "could not create $ac_file" "$LINENO" 5
5918 # CONFIG_HEADER
5920 if test x"$ac_file" != x-; then
5922 $as_echo "/* $configure_input */" \
5923 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5924 } >"$tmp/config.h" \
5925 || as_fn_error "could not create $ac_file" "$LINENO" 5
5926 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5928 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5929 else
5930 rm -f "$ac_file"
5931 mv "$tmp/config.h" "$ac_file" \
5932 || as_fn_error "could not create $ac_file" "$LINENO" 5
5934 else
5935 $as_echo "/* $configure_input */" \
5936 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5937 || as_fn_error "could not create -" "$LINENO" 5
5942 # CONFIG_LINK
5945 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
5947 else
5948 # Prefer the file from the source tree if names are identical.
5949 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5950 ac_source=$srcdir/$ac_source
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
5954 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5956 if test ! -r "$ac_source"; then
5957 as_fn_error "$ac_source: file not found" "$LINENO" 5
5959 rm -f "$ac_file"
5961 # Try a relative symlink, then a hard link, then a copy.
5962 case $srcdir in
5963 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5964 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5965 esac
5966 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5967 ln "$ac_source" "$ac_file" 2>/dev/null ||
5968 cp -p "$ac_source" "$ac_file" ||
5969 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
5972 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5973 $as_echo "$as_me: executing $ac_file commands" >&6;}
5975 esac
5978 case $ac_file$ac_mode in
5979 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5980 if test -n "$CONFIG_FILES"; then
5981 # FIXME: We shouldn't need to set ac_file
5982 ac_file=Makefile
5983 . ${libgcc_topdir}/config-ml.in
5984 fi ;;
5986 esac
5987 done # for ac_tag
5990 as_fn_exit 0
5991 _ACEOF
5992 ac_clean_files=$ac_clean_files_save
5994 test $ac_write_fail = 0 ||
5995 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5998 # configure is writing to config.log, and then calls config.status.
5999 # config.status does its own redirection, appending to config.log.
6000 # Unfortunately, on DOS this fails, as config.log is still kept open
6001 # by configure, so config.status won't be able to write to it; its
6002 # output is simply discarded. So we exec the FD to /dev/null,
6003 # effectively closing config.log, so it can be properly (re)opened and
6004 # appended to by config.status. When coming back to configure, we
6005 # need to make the FD available again.
6006 if test "$no_create" != yes; then
6007 ac_cs_success=:
6008 ac_config_status_args=
6009 test "$silent" = yes &&
6010 ac_config_status_args="$ac_config_status_args --quiet"
6011 exec 5>/dev/null
6012 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6013 exec 5>>config.log
6014 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6015 # would make configure fail if this is the last instruction.
6016 $ac_cs_success || as_fn_exit $?
6018 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6020 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}