* ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
[official-gcc.git] / libgcc / configure
blob8480dd132c7a0182c0fec843da3040ec6e1d70b6
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 accel_dir_suffix
570 force_explicit_eh_registry
571 fixed_point
572 enable_decimal_float
573 decimal_float
574 long_double_type_size
575 double_type_size
577 OBJEXT
578 EXEEXT
579 ac_ct_CC
580 CPPFLAGS
581 LDFLAGS
582 CFLAGS
584 LN_S
585 STRIP
586 RANLIB
588 LIPO
590 toolexeclibdir
591 toolexecdir
592 target_subdir
593 host_subdir
594 build_subdir
595 build_libsubdir
596 target_noncanonical
597 host_noncanonical
599 INSTALL_DATA
600 INSTALL_SCRIPT
601 INSTALL_PROGRAM
602 MAINT
603 slibdir
604 PICFLAG
605 host_os
606 host_vendor
607 host_cpu
608 host
609 build_os
610 build_vendor
611 build_cpu
612 build
613 with_aix_soname
614 enable_vtable_verify
615 enable_shared
616 libgcc_topdir
617 target_alias
618 host_alias
619 build_alias
620 LIBS
621 ECHO_T
622 ECHO_N
623 ECHO_C
624 DEFS
625 mandir
626 localedir
627 libdir
628 psdir
629 pdfdir
630 dvidir
631 htmldir
632 infodir
633 docdir
634 oldincludedir
635 includedir
636 localstatedir
637 sharedstatedir
638 sysconfdir
639 datadir
640 datarootdir
641 libexecdir
642 sbindir
643 bindir
644 program_transform_name
645 prefix
646 exec_prefix
647 PACKAGE_URL
648 PACKAGE_BUGREPORT
649 PACKAGE_STRING
650 PACKAGE_VERSION
651 PACKAGE_TARNAME
652 PACKAGE_NAME
653 PATH_SEPARATOR
654 SHELL'
655 ac_subst_files=''
656 ac_user_opts='
657 enable_option_checking
658 with_target_subdir
659 with_cross_host
660 with_ld
661 enable_shared
662 enable_vtable_verify
663 with_aix_soname
664 enable_version_specific_runtime_libs
665 with_slibdir
666 enable_maintainer_mode
667 with_build_libsubdir
668 enable_decimal_float
669 with_system_libunwind
670 enable_sjlj_exceptions
671 enable_explicit_exception_frame_registration
672 with_glibc_version
673 enable_tls
675 ac_precious_vars='build_alias
676 host_alias
677 target_alias
679 CFLAGS
680 LDFLAGS
681 LIBS
682 CPPFLAGS
683 CPP'
686 # Initialize some variables set by options.
687 ac_init_help=
688 ac_init_version=false
689 ac_unrecognized_opts=
690 ac_unrecognized_sep=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
693 cache_file=/dev/null
694 exec_prefix=NONE
695 no_create=
696 no_recursion=
697 prefix=NONE
698 program_prefix=NONE
699 program_suffix=NONE
700 program_transform_name=s,x,x,
701 silent=
702 site=
703 srcdir=
704 verbose=
705 x_includes=NONE
706 x_libraries=NONE
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir='${exec_prefix}/bin'
715 sbindir='${exec_prefix}/sbin'
716 libexecdir='${exec_prefix}/libexec'
717 datarootdir='${prefix}/share'
718 datadir='${datarootdir}'
719 sysconfdir='${prefix}/etc'
720 sharedstatedir='${prefix}/com'
721 localstatedir='${prefix}/var'
722 includedir='${prefix}/include'
723 oldincludedir='/usr/include'
724 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
725 infodir='${datarootdir}/info'
726 htmldir='${docdir}'
727 dvidir='${docdir}'
728 pdfdir='${docdir}'
729 psdir='${docdir}'
730 libdir='${exec_prefix}/lib'
731 localedir='${datarootdir}/locale'
732 mandir='${datarootdir}/man'
734 ac_prev=
735 ac_dashdash=
736 for ac_option
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\$ac_option
741 ac_prev=
742 continue
745 case $ac_option in
746 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 *) ac_optarg=yes ;;
748 esac
750 # Accept the important Cygnus configure options, so we can diagnose typos.
752 case $ac_dashdash$ac_option in
754 ac_dashdash=yes ;;
756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 ac_prev=bindir ;;
758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759 bindir=$ac_optarg ;;
761 -build | --build | --buil | --bui | --bu)
762 ac_prev=build_alias ;;
763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764 build_alias=$ac_optarg ;;
766 -cache-file | --cache-file | --cache-fil | --cache-fi \
767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768 ac_prev=cache_file ;;
769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771 cache_file=$ac_optarg ;;
773 --config-cache | -C)
774 cache_file=config.cache ;;
776 -datadir | --datadir | --datadi | --datad)
777 ac_prev=datadir ;;
778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
779 datadir=$ac_optarg ;;
781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782 | --dataroo | --dataro | --datar)
783 ac_prev=datarootdir ;;
784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786 datarootdir=$ac_optarg ;;
788 -disable-* | --disable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 as_fn_error "invalid feature name: $ac_useropt"
793 ac_useropt_orig=$ac_useropt
794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
797 "enable_$ac_useropt"
798 "*) ;;
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
801 esac
802 eval enable_$ac_useropt=no ;;
804 -docdir | --docdir | --docdi | --doc | --do)
805 ac_prev=docdir ;;
806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
807 docdir=$ac_optarg ;;
809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810 ac_prev=dvidir ;;
811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
812 dvidir=$ac_optarg ;;
814 -enable-* | --enable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
823 "enable_$ac_useropt"
824 "*) ;;
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
827 esac
828 eval enable_$ac_useropt=\$ac_optarg ;;
830 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832 | --exec | --exe | --ex)
833 ac_prev=exec_prefix ;;
834 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836 | --exec=* | --exe=* | --ex=*)
837 exec_prefix=$ac_optarg ;;
839 -gas | --gas | --ga | --g)
840 # Obsolete; use --with-gas.
841 with_gas=yes ;;
843 -help | --help | --hel | --he | -h)
844 ac_init_help=long ;;
845 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846 ac_init_help=recursive ;;
847 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848 ac_init_help=short ;;
850 -host | --host | --hos | --ho)
851 ac_prev=host_alias ;;
852 -host=* | --host=* | --hos=* | --ho=*)
853 host_alias=$ac_optarg ;;
855 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856 ac_prev=htmldir ;;
857 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858 | --ht=*)
859 htmldir=$ac_optarg ;;
861 -includedir | --includedir | --includedi | --included | --include \
862 | --includ | --inclu | --incl | --inc)
863 ac_prev=includedir ;;
864 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865 | --includ=* | --inclu=* | --incl=* | --inc=*)
866 includedir=$ac_optarg ;;
868 -infodir | --infodir | --infodi | --infod | --info | --inf)
869 ac_prev=infodir ;;
870 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871 infodir=$ac_optarg ;;
873 -libdir | --libdir | --libdi | --libd)
874 ac_prev=libdir ;;
875 -libdir=* | --libdir=* | --libdi=* | --libd=*)
876 libdir=$ac_optarg ;;
878 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879 | --libexe | --libex | --libe)
880 ac_prev=libexecdir ;;
881 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882 | --libexe=* | --libex=* | --libe=*)
883 libexecdir=$ac_optarg ;;
885 -localedir | --localedir | --localedi | --localed | --locale)
886 ac_prev=localedir ;;
887 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888 localedir=$ac_optarg ;;
890 -localstatedir | --localstatedir | --localstatedi | --localstated \
891 | --localstate | --localstat | --localsta | --localst | --locals)
892 ac_prev=localstatedir ;;
893 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895 localstatedir=$ac_optarg ;;
897 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898 ac_prev=mandir ;;
899 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900 mandir=$ac_optarg ;;
902 -nfp | --nfp | --nf)
903 # Obsolete; use --without-fp.
904 with_fp=no ;;
906 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
907 | --no-cr | --no-c | -n)
908 no_create=yes ;;
910 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
911 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
912 no_recursion=yes ;;
914 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916 | --oldin | --oldi | --old | --ol | --o)
917 ac_prev=oldincludedir ;;
918 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921 oldincludedir=$ac_optarg ;;
923 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924 ac_prev=prefix ;;
925 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
926 prefix=$ac_optarg ;;
928 -program-prefix | --program-prefix | --program-prefi | --program-pref \
929 | --program-pre | --program-pr | --program-p)
930 ac_prev=program_prefix ;;
931 -program-prefix=* | --program-prefix=* | --program-prefi=* \
932 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933 program_prefix=$ac_optarg ;;
935 -program-suffix | --program-suffix | --program-suffi | --program-suff \
936 | --program-suf | --program-su | --program-s)
937 ac_prev=program_suffix ;;
938 -program-suffix=* | --program-suffix=* | --program-suffi=* \
939 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940 program_suffix=$ac_optarg ;;
942 -program-transform-name | --program-transform-name \
943 | --program-transform-nam | --program-transform-na \
944 | --program-transform-n | --program-transform- \
945 | --program-transform | --program-transfor \
946 | --program-transfo | --program-transf \
947 | --program-trans | --program-tran \
948 | --progr-tra | --program-tr | --program-t)
949 ac_prev=program_transform_name ;;
950 -program-transform-name=* | --program-transform-name=* \
951 | --program-transform-nam=* | --program-transform-na=* \
952 | --program-transform-n=* | --program-transform-=* \
953 | --program-transform=* | --program-transfor=* \
954 | --program-transfo=* | --program-transf=* \
955 | --program-trans=* | --program-tran=* \
956 | --progr-tra=* | --program-tr=* | --program-t=*)
957 program_transform_name=$ac_optarg ;;
959 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960 ac_prev=pdfdir ;;
961 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
962 pdfdir=$ac_optarg ;;
964 -psdir | --psdir | --psdi | --psd | --ps)
965 ac_prev=psdir ;;
966 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
967 psdir=$ac_optarg ;;
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
971 silent=yes ;;
973 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974 ac_prev=sbindir ;;
975 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976 | --sbi=* | --sb=*)
977 sbindir=$ac_optarg ;;
979 -sharedstatedir | --sharedstatedir | --sharedstatedi \
980 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981 | --sharedst | --shareds | --shared | --share | --shar \
982 | --sha | --sh)
983 ac_prev=sharedstatedir ;;
984 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987 | --sha=* | --sh=*)
988 sharedstatedir=$ac_optarg ;;
990 -site | --site | --sit)
991 ac_prev=site ;;
992 -site=* | --site=* | --sit=*)
993 site=$ac_optarg ;;
995 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996 ac_prev=srcdir ;;
997 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
998 srcdir=$ac_optarg ;;
1000 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001 | --syscon | --sysco | --sysc | --sys | --sy)
1002 ac_prev=sysconfdir ;;
1003 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005 sysconfdir=$ac_optarg ;;
1007 -target | --target | --targe | --targ | --tar | --ta | --t)
1008 ac_prev=target_alias ;;
1009 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010 target_alias=$ac_optarg ;;
1012 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1013 verbose=yes ;;
1015 -version | --version | --versio | --versi | --vers | -V)
1016 ac_init_version=: ;;
1018 -with-* | --with-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid package name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "with_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval with_$ac_useropt=\$ac_optarg ;;
1034 -without-* | --without-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=no ;;
1050 --x)
1051 # Obsolete; use --with-x.
1052 with_x=yes ;;
1054 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1055 | --x-incl | --x-inc | --x-in | --x-i)
1056 ac_prev=x_includes ;;
1057 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1058 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1059 x_includes=$ac_optarg ;;
1061 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1062 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1063 ac_prev=x_libraries ;;
1064 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1066 x_libraries=$ac_optarg ;;
1068 -*) as_fn_error "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information."
1072 *=*)
1073 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1074 # Reject names that are not valid shell variable names.
1075 case $ac_envvar in #(
1076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1077 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1078 esac
1079 eval $ac_envvar=\$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 esac
1091 done
1093 if test -n "$ac_prev"; then
1094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1095 as_fn_error "missing argument to $ac_option"
1098 if test -n "$ac_unrecognized_opts"; then
1099 case $enable_option_checking in
1100 no) ;;
1101 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 esac
1106 # Check all directory arguments for consistency.
1107 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1108 datadir sysconfdir sharedstatedir localstatedir includedir \
1109 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1110 libdir localedir mandir
1112 eval ac_val=\$$ac_var
1113 # Remove trailing slashes.
1114 case $ac_val in
1115 */ )
1116 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1117 eval $ac_var=\$ac_val;;
1118 esac
1119 # Be sure to have absolute directory names.
1120 case $ac_val in
1121 [\\/$]* | ?:[\\/]* ) continue;;
1122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 esac
1124 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1125 done
1127 # There might be people who depend on the old broken behavior: `$host'
1128 # used to hold the argument of --host etc.
1129 # FIXME: To remove some day.
1130 build=$build_alias
1131 host=$host_alias
1132 target=$target_alias
1134 # FIXME: To remove some day.
1135 if test "x$host_alias" != x; then
1136 if test "x$build_alias" = x; then
1137 cross_compiling=maybe
1138 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1139 If a cross compiler is detected then cross compile mode will be used." >&2
1140 elif test "x$build_alias" != "x$host_alias"; then
1141 cross_compiling=yes
1145 ac_tool_prefix=
1146 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1148 test "$silent" = yes && exec 6>/dev/null
1151 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1152 ac_ls_di=`ls -di .` &&
1153 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1154 as_fn_error "working directory cannot be determined"
1155 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1156 as_fn_error "pwd does not report name of working directory"
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted=yes
1162 # Try the directory containing this script, then the parent directory.
1163 ac_confdir=`$as_dirname -- "$as_myself" ||
1164 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1165 X"$as_myself" : 'X\(//\)[^/]' \| \
1166 X"$as_myself" : 'X\(//\)$' \| \
1167 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1168 $as_echo X"$as_myself" |
1169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 s//\1/
1173 /^X\(\/\/\)[^/].*/{
1174 s//\1/
1177 /^X\(\/\/\)$/{
1178 s//\1/
1181 /^X\(\/\).*/{
1182 s//\1/
1185 s/.*/./; q'`
1186 srcdir=$ac_confdir
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1188 srcdir=..
1190 else
1191 ac_srcdir_defaulted=no
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1195 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 ac_abs_confdir=`(
1199 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1200 pwd)`
1201 # When building in place, set srcdir=.
1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
1203 srcdir=.
1205 # Remove unnecessary trailing slashes from srcdir.
1206 # Double slashes in file names in object file debugging info
1207 # mess up M-x gdb in Emacs.
1208 case $srcdir in
1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 esac
1211 for ac_var in $ac_precious_vars; do
1212 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1213 eval ac_env_${ac_var}_value=\$${ac_var}
1214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216 done
1219 # Report the --help message.
1221 if test "$ac_init_help" = "long"; then
1222 # Omit some internal or obsolete options to make the list less imposing.
1223 # This message is too long to be a string in the A/UX 3.1 sh.
1224 cat <<_ACEOF
1225 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1227 Usage: $0 [OPTION]... [VAR=VALUE]...
1229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230 VAR=VALUE. See below for descriptions of some of the useful variables.
1232 Defaults for the options are specified in brackets.
1234 Configuration:
1235 -h, --help display this help and exit
1236 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking...' messages
1240 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1249 [PREFIX]
1251 By default, \`make install' will install all the files in
1252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254 for instance \`--prefix=\$HOME'.
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1274 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR]
1278 _ACEOF
1280 cat <<\_ACEOF
1282 System types:
1283 --build=BUILD configure for building on BUILD [guessed]
1284 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1285 _ACEOF
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
1291 esac
1292 cat <<\_ACEOF
1294 Optional Features:
1295 --disable-option-checking ignore unrecognized --enable/--with options
1296 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1297 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1298 --disable-shared don't provide a shared libgcc
1299 --enable-vtable-verify Enable vtable verification feature
1300 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1301 --enable-maintainer-mode
1302 enable make rules and dependencies not useful (and
1303 sometimes confusing) to the casual installer
1304 --enable-decimal-float={no,yes,bid,dpd}
1305 enable decimal float extension to C. Selecting 'bid'
1306 or 'dpd' choses which decimal floating point format
1307 to use
1308 --enable-sjlj-exceptions
1309 force use of builtin_setjmp for exceptions
1310 --enable-explicit-exception-frame-registration
1311 register exception tables explicitly at module
1312 start, for use e.g. for compatibility with
1313 installations without PT_GNU_EH_FRAME support
1314 --enable-tls Use thread-local storage [default=yes]
1316 Optional Packages:
1317 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1318 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1319 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1320 --with-cross-host=HOST Configuring with a cross compiler
1321 --with-ld arrange to use the specified ld (full pathname)
1322 --with-aix-soname=aix|svr4|both
1323 shared library versioning (aka "SONAME") variant to
1324 provide on AIX
1325 --with-slibdir=DIR shared libraries in DIR LIBDIR
1326 --with-build-libsubdir=DIR Directory where to find libraries for build system
1327 --with-system-libunwind use installed libunwind
1328 --with-glibc-version=M.N
1329 assume GCC used with glibc version M.N or later
1331 Some influential environment variables:
1332 CC C compiler command
1333 CFLAGS C compiler flags
1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1335 nonstandard directory <lib dir>
1336 LIBS libraries to pass to the linker, e.g. -l<library>
1337 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1338 you have headers in a nonstandard directory <include dir>
1339 CPP C preprocessor
1341 Use these variables to override the choices made by `configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1344 Report bugs to the package provider.
1345 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1346 General help using GNU software: <http://www.gnu.org/gethelp/>.
1347 _ACEOF
1348 ac_status=$?
1351 if test "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1354 test -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1356 continue
1357 ac_builddir=.
1359 case "$ac_dir" in
1360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368 esac ;;
1369 esac
1370 ac_abs_top_builddir=$ac_pwd
1371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir=$ac_top_build_prefix
1375 case $srcdir in
1376 .) # We are building in place.
1377 ac_srcdir=.
1378 ac_top_srcdir=$ac_top_builddir_sub
1379 ac_abs_top_srcdir=$ac_pwd ;;
1380 [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir=$srcdir
1383 ac_abs_top_srcdir=$srcdir ;;
1384 *) # Relative name.
1385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1388 esac
1389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391 cd "$ac_dir" || { ac_status=$?; continue; }
1392 # Check for guested configure.
1393 if test -f "$ac_srcdir/configure.gnu"; then
1394 echo &&
1395 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396 elif test -f "$ac_srcdir/configure"; then
1397 echo &&
1398 $SHELL "$ac_srcdir/configure" --help=recursive
1399 else
1400 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1401 fi || ac_status=$?
1402 cd "$ac_pwd" || { ac_status=$?; break; }
1403 done
1406 test -n "$ac_init_help" && exit $ac_status
1407 if $ac_init_version; then
1408 cat <<\_ACEOF
1409 GNU C Runtime Library configure 1.0
1410 generated by GNU Autoconf 2.64
1412 Copyright (C) 2009 Free Software Foundation, Inc.
1413 This configure script is free software; the Free Software Foundation
1414 gives unlimited permission to copy, distribute and modify it.
1415 _ACEOF
1416 exit
1419 ## ------------------------ ##
1420 ## Autoconf initialization. ##
1421 ## ------------------------ ##
1423 # ac_fn_c_try_compile LINENO
1424 # --------------------------
1425 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1426 ac_fn_c_try_compile ()
1428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429 rm -f conftest.$ac_objext
1430 if { { ac_try="$ac_compile"
1431 case "(($ac_try" in
1432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1434 esac
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_compile") 2>conftest.err
1438 ac_status=$?
1439 if test -s conftest.err; then
1440 grep -v '^ *+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest.$ac_objext; then :
1449 ac_retval=0
1450 else
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1454 ac_retval=1
1456 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1457 return $ac_retval
1459 } # ac_fn_c_try_compile
1461 # ac_fn_c_try_cpp LINENO
1462 # ----------------------
1463 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_cpp ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 if { { ac_try="$ac_cpp conftest.$ac_ext"
1468 case "(($ac_try" in
1469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1470 *) ac_try_echo=$ac_try;;
1471 esac
1472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473 $as_echo "$ac_try_echo"; } >&5
1474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1475 ac_status=$?
1476 if test -s conftest.err; then
1477 grep -v '^ *+' conftest.err >conftest.er1
1478 cat conftest.er1 >&5
1479 mv -f conftest.er1 conftest.err
1481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482 test $ac_status = 0; } >/dev/null && {
1483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1484 test ! -s conftest.err
1485 }; then :
1486 ac_retval=0
1487 else
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.$ac_ext >&5
1491 ac_retval=1
1493 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1494 return $ac_retval
1496 } # ac_fn_c_try_cpp
1498 # ac_fn_c_try_run LINENO
1499 # ----------------------
1500 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1501 # that executables *can* be run.
1502 ac_fn_c_try_run ()
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 if { { ac_try="$ac_link"
1506 case "(($ac_try" in
1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508 *) ac_try_echo=$ac_try;;
1509 esac
1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 $as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_link") 2>&5
1513 ac_status=$?
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1516 { { case "(($ac_try" in
1517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1518 *) ac_try_echo=$ac_try;;
1519 esac
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_try") 2>&5
1523 ac_status=$?
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; }; }; then :
1526 ac_retval=0
1527 else
1528 $as_echo "$as_me: program exited with status $ac_status" >&5
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.$ac_ext >&5
1532 ac_retval=$ac_status
1534 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1536 return $ac_retval
1538 } # ac_fn_c_try_run
1540 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1541 # --------------------------------------------
1542 # Tries to find the compile-time value of EXPR in a program that includes
1543 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1544 # computed
1545 ac_fn_c_compute_int ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if test "$cross_compiling" = yes; then
1549 # Depending upon the size, compute the lo and hi bounds.
1550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1554 main ()
1556 static int test_array [1 - 2 * !(($2) >= 0)];
1557 test_array [0] = 0
1560 return 0;
1562 _ACEOF
1563 if ac_fn_c_try_compile "$LINENO"; then :
1564 ac_lo=0 ac_mid=0
1565 while :; do
1566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1567 /* end confdefs.h. */
1570 main ()
1572 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1573 test_array [0] = 0
1576 return 0;
1578 _ACEOF
1579 if ac_fn_c_try_compile "$LINENO"; then :
1580 ac_hi=$ac_mid; break
1581 else
1582 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1583 if test $ac_lo -le $ac_mid; then
1584 ac_lo= ac_hi=
1585 break
1587 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 done
1591 else
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1596 main ()
1598 static int test_array [1 - 2 * !(($2) < 0)];
1599 test_array [0] = 0
1602 return 0;
1604 _ACEOF
1605 if ac_fn_c_try_compile "$LINENO"; then :
1606 ac_hi=-1 ac_mid=-1
1607 while :; do
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1612 main ()
1614 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1615 test_array [0] = 0
1618 return 0;
1620 _ACEOF
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622 ac_lo=$ac_mid; break
1623 else
1624 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1625 if test $ac_mid -le $ac_hi; then
1626 ac_lo= ac_hi=
1627 break
1629 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632 done
1633 else
1634 ac_lo= ac_hi=
1636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639 # Binary search between lo and hi bounds.
1640 while test "x$ac_lo" != "x$ac_hi"; do
1641 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 main ()
1648 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1649 test_array [0] = 0
1652 return 0;
1654 _ACEOF
1655 if ac_fn_c_try_compile "$LINENO"; then :
1656 ac_hi=$ac_mid
1657 else
1658 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 done
1662 case $ac_lo in #((
1663 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1664 '') ac_retval=1 ;;
1665 esac
1666 else
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1670 static long int longval () { return $2; }
1671 static unsigned long int ulongval () { return $2; }
1672 #include <stdio.h>
1673 #include <stdlib.h>
1675 main ()
1678 FILE *f = fopen ("conftest.val", "w");
1679 if (! f)
1680 return 1;
1681 if (($2) < 0)
1683 long int i = longval ();
1684 if (i != ($2))
1685 return 1;
1686 fprintf (f, "%ld", i);
1688 else
1690 unsigned long int i = ulongval ();
1691 if (i != ($2))
1692 return 1;
1693 fprintf (f, "%lu", i);
1695 /* Do not output a trailing newline, as this causes \r\n confusion
1696 on some platforms. */
1697 return ferror (f) || fclose (f) != 0;
1700 return 0;
1702 _ACEOF
1703 if ac_fn_c_try_run "$LINENO"; then :
1704 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1705 else
1706 ac_retval=1
1708 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1709 conftest.$ac_objext conftest.beam conftest.$ac_ext
1710 rm -f conftest.val
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1714 return $ac_retval
1716 } # ac_fn_c_compute_int
1717 cat >config.log <<_ACEOF
1718 This file contains any messages produced by compilers while
1719 running configure, to aid debugging if configure makes a mistake.
1721 It was created by GNU C Runtime Library $as_me 1.0, which was
1722 generated by GNU Autoconf 2.64. Invocation command line was
1724 $ $0 $@
1726 _ACEOF
1727 exec 5>>config.log
1729 cat <<_ASUNAME
1730 ## --------- ##
1731 ## Platform. ##
1732 ## --------- ##
1734 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1735 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1736 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1737 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1738 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1740 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1741 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1743 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1744 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1745 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1746 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1747 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1748 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1749 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1751 _ASUNAME
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1756 IFS=$as_save_IFS
1757 test -z "$as_dir" && as_dir=.
1758 $as_echo "PATH: $as_dir"
1759 done
1760 IFS=$as_save_IFS
1762 } >&5
1764 cat >&5 <<_ACEOF
1767 ## ----------- ##
1768 ## Core tests. ##
1769 ## ----------- ##
1771 _ACEOF
1774 # Keep a trace of the command line.
1775 # Strip out --no-create and --no-recursion so they do not pile up.
1776 # Strip out --silent because we don't want to record it for future runs.
1777 # Also quote any args containing shell meta-characters.
1778 # Make two passes to allow for proper duplicate-argument suppression.
1779 ac_configure_args=
1780 ac_configure_args0=
1781 ac_configure_args1=
1782 ac_must_keep_next=false
1783 for ac_pass in 1 2
1785 for ac_arg
1787 case $ac_arg in
1788 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1789 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1790 | -silent | --silent | --silen | --sile | --sil)
1791 continue ;;
1792 *\'*)
1793 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1794 esac
1795 case $ac_pass in
1796 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1798 as_fn_append ac_configure_args1 " '$ac_arg'"
1799 if test $ac_must_keep_next = true; then
1800 ac_must_keep_next=false # Got value, back to normal.
1801 else
1802 case $ac_arg in
1803 *=* | --config-cache | -C | -disable-* | --disable-* \
1804 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1805 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1806 | -with-* | --with-* | -without-* | --without-* | --x)
1807 case "$ac_configure_args0 " in
1808 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1809 esac
1811 -* ) ac_must_keep_next=true ;;
1812 esac
1814 as_fn_append ac_configure_args " '$ac_arg'"
1816 esac
1817 done
1818 done
1819 { ac_configure_args0=; unset ac_configure_args0;}
1820 { ac_configure_args1=; unset ac_configure_args1;}
1822 # When interrupted or exit'd, cleanup temporary files, and complete
1823 # config.log. We remove comments because anyway the quotes in there
1824 # would cause problems or look ugly.
1825 # WARNING: Use '\'' to represent an apostrophe within the trap.
1826 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1827 trap 'exit_status=$?
1828 # Save into config.log some information that might help in debugging.
1830 echo
1832 cat <<\_ASBOX
1833 ## ---------------- ##
1834 ## Cache variables. ##
1835 ## ---------------- ##
1836 _ASBOX
1837 echo
1838 # The following way of writing the cache mishandles newlines in values,
1840 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1841 eval ac_val=\$$ac_var
1842 case $ac_val in #(
1843 *${as_nl}*)
1844 case $ac_var in #(
1845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1847 esac
1848 case $ac_var in #(
1849 _ | IFS | as_nl) ;; #(
1850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1851 *) { eval $ac_var=; unset $ac_var;} ;;
1852 esac ;;
1853 esac
1854 done
1855 (set) 2>&1 |
1856 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1857 *${as_nl}ac_space=\ *)
1858 sed -n \
1859 "s/'\''/'\''\\\\'\'''\''/g;
1860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1861 ;; #(
1863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1865 esac |
1866 sort
1868 echo
1870 cat <<\_ASBOX
1871 ## ----------------- ##
1872 ## Output variables. ##
1873 ## ----------------- ##
1874 _ASBOX
1875 echo
1876 for ac_var in $ac_subst_vars
1878 eval ac_val=\$$ac_var
1879 case $ac_val in
1880 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1881 esac
1882 $as_echo "$ac_var='\''$ac_val'\''"
1883 done | sort
1884 echo
1886 if test -n "$ac_subst_files"; then
1887 cat <<\_ASBOX
1888 ## ------------------- ##
1889 ## File substitutions. ##
1890 ## ------------------- ##
1891 _ASBOX
1892 echo
1893 for ac_var in $ac_subst_files
1895 eval ac_val=\$$ac_var
1896 case $ac_val in
1897 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1898 esac
1899 $as_echo "$ac_var='\''$ac_val'\''"
1900 done | sort
1901 echo
1904 if test -s confdefs.h; then
1905 cat <<\_ASBOX
1906 ## ----------- ##
1907 ## confdefs.h. ##
1908 ## ----------- ##
1909 _ASBOX
1910 echo
1911 cat confdefs.h
1912 echo
1914 test "$ac_signal" != 0 &&
1915 $as_echo "$as_me: caught signal $ac_signal"
1916 $as_echo "$as_me: exit $exit_status"
1917 } >&5
1918 rm -f core *.core core.conftest.* &&
1919 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1920 exit $exit_status
1922 for ac_signal in 1 2 13 15; do
1923 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1924 done
1925 ac_signal=0
1927 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1928 rm -f -r conftest* confdefs.h
1930 $as_echo "/* confdefs.h */" > confdefs.h
1932 # Predefined preprocessor variables.
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_NAME "$PACKAGE_NAME"
1936 _ACEOF
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1940 _ACEOF
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1944 _ACEOF
1946 cat >>confdefs.h <<_ACEOF
1947 #define PACKAGE_STRING "$PACKAGE_STRING"
1948 _ACEOF
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1952 _ACEOF
1954 cat >>confdefs.h <<_ACEOF
1955 #define PACKAGE_URL "$PACKAGE_URL"
1956 _ACEOF
1959 # Let the site file select an alternate cache file if it wants to.
1960 # Prefer an explicitly selected file to automatically selected ones.
1961 ac_site_file1=NONE
1962 ac_site_file2=NONE
1963 if test -n "$CONFIG_SITE"; then
1964 ac_site_file1=$CONFIG_SITE
1965 elif test "x$prefix" != xNONE; then
1966 ac_site_file1=$prefix/share/config.site
1967 ac_site_file2=$prefix/etc/config.site
1968 else
1969 ac_site_file1=$ac_default_prefix/share/config.site
1970 ac_site_file2=$ac_default_prefix/etc/config.site
1972 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1974 test "x$ac_site_file" = xNONE && continue
1975 if test -r "$ac_site_file"; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1977 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1978 sed 's/^/| /' "$ac_site_file" >&5
1979 . "$ac_site_file"
1981 done
1983 if test -r "$cache_file"; then
1984 # Some versions of bash will fail to source /dev/null (special
1985 # files actually), so we avoid doing that.
1986 if test -f "$cache_file"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1988 $as_echo "$as_me: loading cache $cache_file" >&6;}
1989 case $cache_file in
1990 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1991 *) . "./$cache_file";;
1992 esac
1994 else
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1996 $as_echo "$as_me: creating cache $cache_file" >&6;}
1997 >$cache_file
2000 # Check that the precious variables saved in the cache have kept the same
2001 # value.
2002 ac_cache_corrupted=false
2003 for ac_var in $ac_precious_vars; do
2004 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2005 eval ac_new_set=\$ac_env_${ac_var}_set
2006 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2007 eval ac_new_val=\$ac_env_${ac_var}_value
2008 case $ac_old_set,$ac_new_set in
2009 set,)
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2011 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2012 ac_cache_corrupted=: ;;
2013 ,set)
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2016 ac_cache_corrupted=: ;;
2017 ,);;
2019 if test "x$ac_old_val" != "x$ac_new_val"; then
2020 # differences in whitespace do not lead to failure.
2021 ac_old_val_w=`echo x $ac_old_val`
2022 ac_new_val_w=`echo x $ac_new_val`
2023 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2025 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2026 ac_cache_corrupted=:
2027 else
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2029 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2030 eval $ac_var=\$ac_old_val
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2033 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2035 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2036 fi;;
2037 esac
2038 # Pass precious variables to config.status.
2039 if test "$ac_new_set" = set; then
2040 case $ac_new_val in
2041 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 *) ac_arg=$ac_var=$ac_new_val ;;
2043 esac
2044 case " $ac_configure_args " in
2045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2046 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2047 esac
2049 done
2050 if $ac_cache_corrupted; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2054 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2055 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2057 ## -------------------- ##
2058 ## Main body of script. ##
2059 ## -------------------- ##
2061 ac_ext=c
2062 ac_cpp='$CPP $CPPFLAGS'
2063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2073 # The libgcc should not depend on any header files
2077 # Check whether --with-target-subdir was given.
2078 if test "${with_target_subdir+set}" = set; then :
2079 withval=$with_target_subdir;
2083 # Check whether --with-cross-host was given.
2084 if test "${with_cross_host+set}" = set; then :
2085 withval=$with_cross_host;
2089 # Check whether --with-ld was given.
2090 if test "${with_ld+set}" = set; then :
2091 withval=$with_ld;
2095 if test "${srcdir}" = "."; then
2096 if test -n "${with_build_subdir}"; then
2097 libgcc_topdir="${srcdir}/../.."
2098 with_target_subdir=
2099 elif test -z "${with_target_subdir}"; then
2100 libgcc_topdir="${srcdir}/.."
2101 else
2102 if test "${with_target_subdir}" != "."; then
2103 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2104 else
2105 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2108 else
2109 libgcc_topdir="${srcdir}/.."
2112 ac_aux_dir=
2113 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2114 for ac_t in install-sh install.sh shtool; do
2115 if test -f "$ac_dir/$ac_t"; then
2116 ac_aux_dir=$ac_dir
2117 ac_install_sh="$ac_aux_dir/$ac_t -c"
2118 break 2
2120 done
2121 done
2122 if test -z "$ac_aux_dir"; then
2123 as_fn_error "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2126 # These three variables are undocumented and unsupported,
2127 # and are intended to be withdrawn in a future Autoconf release.
2128 # They can cause serious problems if a builder's source tree is in a directory
2129 # whose full name contains unusual characters.
2130 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2131 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2132 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2135 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2138 # Check whether --enable-shared was given.
2139 if test "${enable_shared+set}" = set; then :
2140 enableval=$enable_shared;
2141 case $enable_shared in
2142 yes | no) ;;
2144 enable_shared=no
2145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2146 for pkg in $enableval; do
2147 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2148 enable_shared=yes
2150 done
2151 IFS="$ac_save_ifs"
2153 esac
2155 else
2156 enable_shared=yes
2161 # Check whether --enable-vtable-verify was given.
2162 if test "${enable_vtable_verify+set}" = set; then :
2163 enableval=$enable_vtable_verify; case "$enableval" in
2164 yes) enable_vtable_verify=yes ;;
2165 no) enable_vtable_verify=no ;;
2166 *) enable_vtable_verify=no;;
2167 esac
2168 else
2169 enable_vtable_verify=no
2175 # Check whether --with-aix-soname was given.
2176 if test "${with_aix_soname+set}" = set; then :
2177 withval=$with_aix_soname; case "${host}:${enable_shared}" in
2178 power*-*-aix[5-9]*:yes)
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2180 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2181 case ${withval} in
2182 aix|svr4|both) ;;
2183 *) as_fn_error "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2184 esac
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2186 $as_echo "$withval" >&6; }
2188 *) with_aix_soname=aix ;;
2189 esac
2191 else
2192 with_aix_soname=aix
2197 # Make sure we can run config.sub.
2198 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2199 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2202 $as_echo_n "checking build system type... " >&6; }
2203 if test "${ac_cv_build+set}" = set; then :
2204 $as_echo_n "(cached) " >&6
2205 else
2206 ac_build_alias=$build_alias
2207 test "x$ac_build_alias" = x &&
2208 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2209 test "x$ac_build_alias" = x &&
2210 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2211 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2212 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2216 $as_echo "$ac_cv_build" >&6; }
2217 case $ac_cv_build in
2218 *-*-*) ;;
2219 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2220 esac
2221 build=$ac_cv_build
2222 ac_save_IFS=$IFS; IFS='-'
2223 set x $ac_cv_build
2224 shift
2225 build_cpu=$1
2226 build_vendor=$2
2227 shift; shift
2228 # Remember, the first character of IFS is used to create $*,
2229 # except with old shells:
2230 build_os=$*
2231 IFS=$ac_save_IFS
2232 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2236 $as_echo_n "checking host system type... " >&6; }
2237 if test "${ac_cv_host+set}" = set; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 if test "x$host_alias" = x; then
2241 ac_cv_host=$ac_cv_build
2242 else
2243 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2244 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2249 $as_echo "$ac_cv_host" >&6; }
2250 case $ac_cv_host in
2251 *-*-*) ;;
2252 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2253 esac
2254 host=$ac_cv_host
2255 ac_save_IFS=$IFS; IFS='-'
2256 set x $ac_cv_host
2257 shift
2258 host_cpu=$1
2259 host_vendor=$2
2260 shift; shift
2261 # Remember, the first character of IFS is used to create $*,
2262 # except with old shells:
2263 host_os=$*
2264 IFS=$ac_save_IFS
2265 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2272 case "${host}" in
2273 # PIC is the default on some targets or must not be used.
2274 *-*-darwin*)
2275 # PIC is the default on this platform
2276 # Common symbols not allowed in MH_DYLIB files
2277 PICFLAG=-fno-common
2279 alpha*-dec-osf5*)
2280 # PIC is the default.
2282 hppa*64*-*-hpux*)
2283 # PIC is the default for 64-bit PA HP-UX.
2285 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2287 i[34567]86-*-mingw* | x86_64-*-mingw*)
2289 i[34567]86-*-interix[3-9]*)
2290 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2291 # Instead, we relocate shared libraries at runtime.
2293 i[34567]86-*-nto-qnx*)
2294 # QNX uses GNU C++, but need to define -shared option too, otherwise
2295 # it will coredump.
2296 PICFLAG='-fPIC -shared'
2298 i[34567]86-pc-msdosdjgpp*)
2299 # DJGPP does not support shared libraries at all.
2301 ia64*-*-hpux*)
2302 # On IA64 HP-UX, PIC is the default but the pic flag
2303 # sets the default TLS model and affects inlining.
2304 PICFLAG=-fPIC
2306 mips-sgi-irix6*)
2307 # PIC is the default.
2309 rs6000-ibm-aix* | powerpc-ibm-aix*)
2310 # All AIX code is PIC.
2313 # Some targets support both -fPIC and -fpic, but prefer the latter.
2314 # FIXME: Why?
2315 i[34567]86-*-* | x86_64-*-*)
2316 PICFLAG=-fpic
2318 # FIXME: Override -fPIC default in libgcc only?
2319 sh-*-linux* | sh[2346lbe]*-*-linux*)
2320 PICFLAG=-fpic
2322 # FIXME: Simplify to sh*-*-netbsd*?
2323 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2324 sh64-*-netbsd* | sh64l*-*-netbsd*)
2325 PICFLAG=-fpic
2327 # Default to -fPIC unless specified otherwise.
2329 PICFLAG=-fPIC
2331 esac
2333 # If the user explicitly uses -fpic/-fPIC, keep that.
2334 case "${CFLAGS}" in
2335 *-fpic*)
2336 PICFLAG=-fpic
2338 *-fPIC*)
2339 PICFLAG=-fPIC
2341 esac
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2346 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2347 # Check whether --enable-version-specific-runtime-libs was given.
2348 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2349 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2350 yes) version_specific_libs=yes ;;
2351 no) version_specific_libs=no ;;
2352 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2353 esac
2354 else
2355 version_specific_libs=no
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2359 $as_echo "$version_specific_libs" >&6; }
2362 # Check whether --with-slibdir was given.
2363 if test "${with_slibdir+set}" = set; then :
2364 withval=$with_slibdir; slibdir="$with_slibdir"
2365 else
2366 if test "${version_specific_libs}" = yes; then
2367 slibdir='$(libsubdir)'
2368 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2369 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2370 else
2371 slibdir='$(libdir)'
2377 # Command-line options.
2378 # Very limited version of AC_MAINTAINER_MODE.
2379 # Check whether --enable-maintainer-mode was given.
2380 if test "${enable_maintainer_mode+set}" = set; then :
2381 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2382 yes) MAINT='' ;;
2383 no) MAINT='#' ;;
2384 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2385 esac
2386 maintainer_mode=${enableval}
2387 else
2388 MAINT='#'
2392 # Find a good install program. We prefer a C program (faster),
2393 # so one script is as good as another. But avoid the broken or
2394 # incompatible versions:
2395 # SysV /etc/install, /usr/sbin/install
2396 # SunOS /usr/etc/install
2397 # IRIX /sbin/install
2398 # AIX /bin/install
2399 # AmigaOS /C/install, which installs bootblocks on floppy discs
2400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2403 # OS/2's system install, which has a completely different semantic
2404 # ./install, which can be erroneously created by make from ./install.sh.
2405 # Reject install programs that cannot install multiple files.
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2407 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2408 if test -z "$INSTALL"; then
2409 if test "${ac_cv_path_install+set}" = set; then :
2410 $as_echo_n "(cached) " >&6
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2415 IFS=$as_save_IFS
2416 test -z "$as_dir" && as_dir=.
2417 # Account for people who put trailing slashes in PATH elements.
2418 case $as_dir/ in #((
2419 ./ | .// | /[cC]/* | \
2420 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2421 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2422 /usr/ucb/* ) ;;
2424 # OSF1 and SCO ODT 3.0 have their own names for install.
2425 # Don't use installbsd from OSF since it installs stuff as root
2426 # by default.
2427 for ac_prog in ginstall scoinst install; do
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2430 if test $ac_prog = install &&
2431 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2432 # AIX install. It has an incompatible calling convention.
2434 elif test $ac_prog = install &&
2435 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2436 # program-specific install script used by HP pwplus--don't use.
2438 else
2439 rm -rf conftest.one conftest.two conftest.dir
2440 echo one > conftest.one
2441 echo two > conftest.two
2442 mkdir conftest.dir
2443 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2444 test -s conftest.one && test -s conftest.two &&
2445 test -s conftest.dir/conftest.one &&
2446 test -s conftest.dir/conftest.two
2447 then
2448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2449 break 3
2453 done
2454 done
2456 esac
2458 done
2459 IFS=$as_save_IFS
2461 rm -rf conftest.one conftest.two conftest.dir
2464 if test "${ac_cv_path_install+set}" = set; then
2465 INSTALL=$ac_cv_path_install
2466 else
2467 # As a last resort, use the slow shell script. Don't cache a
2468 # value for INSTALL within a source directory, because that will
2469 # break other packages using the cache if that directory is
2470 # removed, or if the value is a relative name.
2471 INSTALL=$ac_install_sh
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2475 $as_echo "$INSTALL" >&6; }
2477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2478 # It thinks the first close brace ends the variable substitution.
2479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2483 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2486 for ac_prog in gawk mawk nawk awk
2488 # Extract the first word of "$ac_prog", so it can be a program name with args.
2489 set dummy $ac_prog; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_AWK+set}" = set; then :
2493 $as_echo_n "(cached) " >&6
2494 else
2495 if test -n "$AWK"; then
2496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_AWK="$ac_prog"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 AWK=$ac_cv_prog_AWK
2516 if test -n "$AWK"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2518 $as_echo "$AWK" >&6; }
2519 else
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2525 test -n "$AWK" && break
2526 done
2528 # We need awk; bail out if it's missing.
2529 case ${AWK} in
2530 "") as_fn_error "can't build without awk, bailing out" "$LINENO" 5 ;;
2531 esac
2534 case ${build_alias} in
2535 "") build_noncanonical=${build} ;;
2536 *) build_noncanonical=${build_alias} ;;
2537 esac
2539 case ${host_alias} in
2540 "") host_noncanonical=${build_noncanonical} ;;
2541 *) host_noncanonical=${host_alias} ;;
2542 esac
2546 case ${target_alias} in
2547 "") target_noncanonical=${host_noncanonical} ;;
2548 *) target_noncanonical=${target_alias} ;;
2549 esac
2554 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2555 # have matching libraries, they should use host libraries: Makefile.tpl
2556 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2557 # However, they still use the build modules, because the corresponding
2558 # host modules (e.g. bison) are only built for the host when bootstrap
2559 # finishes. So:
2560 # - build_subdir is where we find build modules, and never changes.
2561 # - build_libsubdir is where we find build libraries, and can be overridden.
2563 # Prefix 'build-' so this never conflicts with target_subdir.
2564 build_subdir="build-${build_noncanonical}"
2566 # Check whether --with-build-libsubdir was given.
2567 if test "${with_build_libsubdir+set}" = set; then :
2568 withval=$with_build_libsubdir; build_libsubdir="$withval"
2569 else
2570 build_libsubdir="$build_subdir"
2573 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2574 if ( test $srcdir = . && test -d gcc ) \
2575 || test -d $srcdir/../host-${host_noncanonical}; then
2576 host_subdir="host-${host_noncanonical}"
2577 else
2578 host_subdir=.
2580 # No prefix.
2581 target_subdir=${target_noncanonical}
2584 # Calculate toolexeclibdir
2585 # Also toolexecdir, though it's only used in toolexeclibdir
2586 case ${version_specific_libs} in
2587 yes)
2588 # Need the gcc compiler version to know where to install libraries
2589 # and header files if --enable-version-specific-runtime-libs option
2590 # is selected.
2591 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2592 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2595 if test -n "$with_cross_host" &&
2596 test x"$with_cross_host" != x"no"; then
2597 # Install a library built with a cross compiler in tooldir, not libdir.
2598 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2599 toolexeclibdir='$(toolexecdir)/lib'
2600 else
2601 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2602 toolexeclibdir='$(libdir)'
2604 multi_os_directory=`$CC -print-multi-os-directory`
2605 case $multi_os_directory in
2606 .) ;; # Avoid trailing /.
2607 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2608 esac
2610 esac
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}ar; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_AR+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -n "$AR"; then
2623 ac_cv_prog_AR="$AR" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_AR="${ac_tool_prefix}ar"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
2642 AR=$ac_cv_prog_AR
2643 if test -n "$AR"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2645 $as_echo "$AR" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$ac_cv_prog_AR"; then
2654 ac_ct_AR=$AR
2655 # Extract the first word of "ar", so it can be a program name with args.
2656 set dummy ar; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2661 else
2662 if test -n "$ac_ct_AR"; then
2663 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2664 else
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 for as_dir in $PATH
2668 IFS=$as_save_IFS
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_ac_ct_AR="ar"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 break 2
2676 done
2677 done
2678 IFS=$as_save_IFS
2682 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2683 if test -n "$ac_ct_AR"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2685 $as_echo "$ac_ct_AR" >&6; }
2686 else
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2691 if test "x$ac_ct_AR" = x; then
2692 AR=""
2693 else
2694 case $cross_compiling:$ac_tool_warned in
2695 yes:)
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2698 ac_tool_warned=yes ;;
2699 esac
2700 AR=$ac_ct_AR
2702 else
2703 AR="$ac_cv_prog_AR"
2706 if test -n "$ac_tool_prefix"; then
2707 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2708 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_LIPO+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2713 else
2714 if test -n "$LIPO"; then
2715 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2720 IFS=$as_save_IFS
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 break 2
2728 done
2729 done
2730 IFS=$as_save_IFS
2734 LIPO=$ac_cv_prog_LIPO
2735 if test -n "$LIPO"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2737 $as_echo "$LIPO" >&6; }
2738 else
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2745 if test -z "$ac_cv_prog_LIPO"; then
2746 ac_ct_LIPO=$LIPO
2747 # Extract the first word of "lipo", so it can be a program name with args.
2748 set dummy lipo; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2752 $as_echo_n "(cached) " >&6
2753 else
2754 if test -n "$ac_ct_LIPO"; then
2755 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 ac_cv_prog_ac_ct_LIPO="lipo"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2770 IFS=$as_save_IFS
2774 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2775 if test -n "$ac_ct_LIPO"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2777 $as_echo "$ac_ct_LIPO" >&6; }
2778 else
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2783 if test "x$ac_ct_LIPO" = x; then
2784 LIPO=":"
2785 else
2786 case $cross_compiling:$ac_tool_warned in
2787 yes:)
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2790 ac_tool_warned=yes ;;
2791 esac
2792 LIPO=$ac_ct_LIPO
2794 else
2795 LIPO="$ac_cv_prog_LIPO"
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}nm; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_NM+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 if test -n "$NM"; then
2807 ac_cv_prog_NM="$NM" # Let the user override the test.
2808 else
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_NM="${ac_tool_prefix}nm"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 break 2
2820 done
2821 done
2822 IFS=$as_save_IFS
2826 NM=$ac_cv_prog_NM
2827 if test -n "$NM"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2829 $as_echo "$NM" >&6; }
2830 else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_NM"; then
2838 ac_ct_NM=$NM
2839 # Extract the first word of "nm", so it can be a program name with args.
2840 set dummy nm; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test -n "$ac_ct_NM"; then
2847 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2848 else
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2852 IFS=$as_save_IFS
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_NM="nm"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2860 done
2861 done
2862 IFS=$as_save_IFS
2866 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2867 if test -n "$ac_ct_NM"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2869 $as_echo "$ac_ct_NM" >&6; }
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_NM" = x; then
2876 NM=""
2877 else
2878 case $cross_compiling:$ac_tool_warned in
2879 yes:)
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2883 esac
2884 NM=$ac_ct_NM
2886 else
2887 NM="$ac_cv_prog_NM"
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2892 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2897 else
2898 if test -n "$RANLIB"; then
2899 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2900 else
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 for as_dir in $PATH
2904 IFS=$as_save_IFS
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 break 2
2912 done
2913 done
2914 IFS=$as_save_IFS
2918 RANLIB=$ac_cv_prog_RANLIB
2919 if test -n "$RANLIB"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2921 $as_echo "$RANLIB" >&6; }
2922 else
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2929 if test -z "$ac_cv_prog_RANLIB"; then
2930 ac_ct_RANLIB=$RANLIB
2931 # Extract the first word of "ranlib", so it can be a program name with args.
2932 set dummy ranlib; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 if test -n "$ac_ct_RANLIB"; then
2939 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2940 else
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 for as_dir in $PATH
2944 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_ac_ct_RANLIB="ranlib"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2
2952 done
2953 done
2954 IFS=$as_save_IFS
2958 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2959 if test -n "$ac_ct_RANLIB"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2961 $as_echo "$ac_ct_RANLIB" >&6; }
2962 else
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2967 if test "x$ac_ct_RANLIB" = x; then
2968 RANLIB=":"
2969 else
2970 case $cross_compiling:$ac_tool_warned in
2971 yes:)
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974 ac_tool_warned=yes ;;
2975 esac
2976 RANLIB=$ac_ct_RANLIB
2978 else
2979 RANLIB="$ac_cv_prog_RANLIB"
2982 if test -n "$ac_tool_prefix"; then
2983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2984 set dummy ${ac_tool_prefix}strip; ac_word=$2
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2986 $as_echo_n "checking for $ac_word... " >&6; }
2987 if test "${ac_cv_prog_STRIP+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test -n "$STRIP"; then
2991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2992 else
2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 for as_dir in $PATH
2996 IFS=$as_save_IFS
2997 test -z "$as_dir" && as_dir=.
2998 for ac_exec_ext in '' $ac_executable_extensions; do
2999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3000 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 break 2
3004 done
3005 done
3006 IFS=$as_save_IFS
3010 STRIP=$ac_cv_prog_STRIP
3011 if test -n "$STRIP"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3013 $as_echo "$STRIP" >&6; }
3014 else
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3021 if test -z "$ac_cv_prog_STRIP"; then
3022 ac_ct_STRIP=$STRIP
3023 # Extract the first word of "strip", so it can be a program name with args.
3024 set dummy strip; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3029 else
3030 if test -n "$ac_ct_STRIP"; then
3031 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3032 else
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH
3036 IFS=$as_save_IFS
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_ac_ct_STRIP="strip"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 break 2
3044 done
3045 done
3046 IFS=$as_save_IFS
3050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3051 if test -n "$ac_ct_STRIP"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3053 $as_echo "$ac_ct_STRIP" >&6; }
3054 else
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3059 if test "x$ac_ct_STRIP" = x; then
3060 STRIP=":"
3061 else
3062 case $cross_compiling:$ac_tool_warned in
3063 yes:)
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3066 ac_tool_warned=yes ;;
3067 esac
3068 STRIP=$ac_ct_STRIP
3070 else
3071 STRIP="$ac_cv_prog_STRIP"
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3075 $as_echo_n "checking whether ln -s works... " >&6; }
3076 LN_S=$as_ln_s
3077 if test "$LN_S" = "ln -s"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3080 else
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3082 $as_echo "no, using $LN_S" >&6; }
3087 ac_ext=c
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3094 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 break 2
3114 done
3115 done
3116 IFS=$as_save_IFS
3120 CC=$ac_cv_prog_CC
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3124 else
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3131 if test -z "$ac_cv_prog_CC"; then
3132 ac_ct_CC=$CC
3133 # Extract the first word of "gcc", so it can be a program name with args.
3134 set dummy gcc; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 if test -n "$ac_ct_CC"; then
3141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142 else
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3146 IFS=$as_save_IFS
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_ac_ct_CC="gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 break 2
3154 done
3155 done
3156 IFS=$as_save_IFS
3160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3161 if test -n "$ac_ct_CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3163 $as_echo "$ac_ct_CC" >&6; }
3164 else
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3169 if test "x$ac_ct_CC" = x; then
3170 CC=""
3171 else
3172 case $cross_compiling:$ac_tool_warned in
3173 yes:)
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned=yes ;;
3177 esac
3178 CC=$ac_ct_CC
3180 else
3181 CC="$ac_cv_prog_CC"
3184 if test -z "$CC"; then
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3187 set dummy ${ac_tool_prefix}cc; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_CC+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3192 else
3193 if test -n "$CC"; then
3194 ac_cv_prog_CC="$CC" # Let the user override the test.
3195 else
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3199 IFS=$as_save_IFS
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_CC="${ac_tool_prefix}cc"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 break 2
3207 done
3208 done
3209 IFS=$as_save_IFS
3213 CC=$ac_cv_prog_CC
3214 if test -n "$CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3216 $as_echo "$CC" >&6; }
3217 else
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3225 if test -z "$CC"; then
3226 # Extract the first word of "cc", so it can be a program name with args.
3227 set dummy cc; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_CC+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC="$CC" # Let the user override the test.
3235 else
3236 ac_prog_rejected=no
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3245 ac_prog_rejected=yes
3246 continue
3248 ac_cv_prog_CC="cc"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 break 2
3252 done
3253 done
3254 IFS=$as_save_IFS
3256 if test $ac_prog_rejected = yes; then
3257 # We found a bogon in the path, so make sure we never use it.
3258 set dummy $ac_cv_prog_CC
3259 shift
3260 if test $# != 0; then
3261 # We chose a different compiler from the bogus one.
3262 # However, it has the same basename, so the bogon will be chosen
3263 # first if we set CC to just the basename; use the full file name.
3264 shift
3265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3270 CC=$ac_cv_prog_CC
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3274 else
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$CC"; then
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog in cl.exe
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3291 else
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3298 IFS=$as_save_IFS
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 break 2
3306 done
3307 done
3308 IFS=$as_save_IFS
3312 CC=$ac_cv_prog_CC
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3316 else
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3322 test -n "$CC" && break
3323 done
3325 if test -z "$CC"; then
3326 ac_ct_CC=$CC
3327 for ac_prog in cl.exe
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy $ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3335 else
3336 if test -n "$ac_ct_CC"; then
3337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_ac_ct_CC="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 break 2
3350 done
3351 done
3352 IFS=$as_save_IFS
3356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3357 if test -n "$ac_ct_CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3359 $as_echo "$ac_ct_CC" >&6; }
3360 else
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$ac_ct_CC" && break
3367 done
3369 if test "x$ac_ct_CC" = x; then
3370 CC=""
3371 else
3372 case $cross_compiling:$ac_tool_warned in
3373 yes:)
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned=yes ;;
3377 esac
3378 CC=$ac_ct_CC
3385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error "no acceptable C compiler found in \$PATH
3388 See \`config.log' for more details." "$LINENO" 5; }
3390 # Provide some information about the compiler.
3391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3392 set X $ac_compile
3393 ac_compiler=$2
3394 for ac_option in --version -v -V -qversion; do
3395 { { ac_try="$ac_compiler $ac_option >&5"
3396 case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3399 esac
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3403 ac_status=$?
3404 if test -s conftest.err; then
3405 sed '10a\
3406 ... rest of stderr output deleted ...
3407 10q' conftest.err >conftest.er1
3408 cat conftest.er1 >&5
3409 rm -f conftest.er1 conftest.err
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3413 done
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3423 return 0;
3425 _ACEOF
3426 # FIXME: Cleanup?
3427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3428 (eval $ac_link) 2>&5
3429 ac_status=$?
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3432 gcc_no_link=no
3433 else
3434 gcc_no_link=yes
3436 if test x$gcc_no_link = xyes; then
3437 # Setting cross_compile will disable run tests; it will
3438 # also disable AC_CHECK_FILE but that's generally
3439 # correct if we can't link.
3440 cross_compiling=yes
3441 EXEEXT=
3442 else
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3447 main ()
3451 return 0;
3453 _ACEOF
3454 ac_clean_files_save=$ac_clean_files
3455 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3456 # Try to create an executable without -o first, disregard a.out.
3457 # It will help us diagnose broken compilers, and finding out an intuition
3458 # of exeext.
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3460 $as_echo_n "checking for C compiler default output file name... " >&6; }
3461 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3463 # The possible output files:
3464 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3466 ac_rmfiles=
3467 for ac_file in $ac_files
3469 case $ac_file in
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3472 esac
3473 done
3474 rm -f $ac_rmfiles
3476 if { { ac_try="$ac_link_default"
3477 case "(($ac_try" in
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3480 esac
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_link_default") 2>&5
3484 ac_status=$?
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; then :
3487 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3488 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3489 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3490 # so that the user can short-circuit this test for compilers unknown to
3491 # Autoconf.
3492 for ac_file in $ac_files ''
3494 test -f "$ac_file" || continue
3495 case $ac_file in
3496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3498 [ab].out )
3499 # We found the default executable, but exeext='' is most
3500 # certainly right.
3501 break;;
3502 *.* )
3503 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3504 then :; else
3505 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3507 # We set ac_cv_exeext here because the later test for it is not
3508 # safe: cross compilers may not add the suffix if given an `-o'
3509 # argument, so we may need to know it at that point already.
3510 # Even if this section looks crufty: it has the advantage of
3511 # actually working.
3512 break;;
3514 break;;
3515 esac
3516 done
3517 test "$ac_cv_exeext" = no && ac_cv_exeext=
3519 else
3520 ac_file=''
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3523 $as_echo "$ac_file" >&6; }
3524 if test -z "$ac_file"; then :
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 { as_fn_set_status 77
3531 as_fn_error "C compiler cannot create executables
3532 See \`config.log' for more details." "$LINENO" 5; }; }
3534 ac_exeext=$ac_cv_exeext
3536 # Check that the compiler produces executables we can run. If not, either
3537 # the compiler is broken, or we cross compile.
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3539 $as_echo_n "checking whether the C compiler works... " >&6; }
3540 # If not cross compiling, check that we can run a simple program.
3541 if test "$cross_compiling" != yes; then
3542 if { ac_try='./$ac_file'
3543 { { case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_try") 2>&5
3550 ac_status=$?
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; }; then
3553 cross_compiling=no
3554 else
3555 if test "$cross_compiling" = maybe; then
3556 cross_compiling=yes
3557 else
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error "cannot run C compiled programs.
3561 If you meant to cross compile, use \`--host'.
3562 See \`config.log' for more details." "$LINENO" 5; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3567 $as_echo "yes" >&6; }
3569 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3570 ac_clean_files=$ac_clean_files_save
3571 # Check that the compiler produces executables we can run. If not, either
3572 # the compiler is broken, or we cross compile.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3574 $as_echo_n "checking whether we are cross compiling... " >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3576 $as_echo "$cross_compiling" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3581 case "(($ac_try" in
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3584 esac
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3588 ac_status=$?
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3594 # `rm'.
3595 for ac_file in conftest.exe conftest conftest.*; do
3596 test -f "$ac_file" || continue
3597 case $ac_file in
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3600 break;;
3601 * ) break;;
3602 esac
3603 done
3604 else
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error "cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details." "$LINENO" 5; }
3610 rm -f conftest$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.$ac_ext
3615 EXEEXT=$ac_cv_exeext
3616 ac_exeext=$EXEEXT
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3619 $as_echo_n "checking for suffix of object files... " >&6; }
3620 if test "${ac_cv_objext+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3622 else
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3627 main ()
3631 return 0;
3633 _ACEOF
3634 rm -f conftest.o conftest.obj
3635 if { { ac_try="$ac_compile"
3636 case "(($ac_try" in
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3639 esac
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_compile") 2>&5
3643 ac_status=$?
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; then :
3646 for ac_file in conftest.o conftest.obj conftest.*; do
3647 test -f "$ac_file" || continue;
3648 case $ac_file in
3649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3650 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3651 break;;
3652 esac
3653 done
3654 else
3655 $as_echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error "cannot compute suffix of object files: cannot compile
3661 See \`config.log' for more details." "$LINENO" 5; }
3663 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3666 $as_echo "$ac_cv_objext" >&6; }
3667 OBJEXT=$ac_cv_objext
3668 ac_objext=$OBJEXT
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3670 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3671 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3678 main ()
3680 #ifndef __GNUC__
3681 choke me
3682 #endif
3685 return 0;
3687 _ACEOF
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689 ac_compiler_gnu=yes
3690 else
3691 ac_compiler_gnu=no
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3698 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3699 if test $ac_compiler_gnu = yes; then
3700 GCC=yes
3701 else
3702 GCC=
3704 ac_test_CFLAGS=${CFLAGS+set}
3705 ac_save_CFLAGS=$CFLAGS
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3707 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3708 if test "${ac_cv_prog_cc_g+set}" = set; then :
3709 $as_echo_n "(cached) " >&6
3710 else
3711 ac_save_c_werror_flag=$ac_c_werror_flag
3712 ac_c_werror_flag=yes
3713 ac_cv_prog_cc_g=no
3714 CFLAGS="-g"
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3719 main ()
3723 return 0;
3725 _ACEOF
3726 if ac_fn_c_try_compile "$LINENO"; then :
3727 ac_cv_prog_cc_g=yes
3728 else
3729 CFLAGS=""
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3734 main ()
3738 return 0;
3740 _ACEOF
3741 if ac_fn_c_try_compile "$LINENO"; then :
3743 else
3744 ac_c_werror_flag=$ac_save_c_werror_flag
3745 CFLAGS="-g"
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3750 main ()
3754 return 0;
3756 _ACEOF
3757 if ac_fn_c_try_compile "$LINENO"; then :
3758 ac_cv_prog_cc_g=yes
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 ac_c_werror_flag=$ac_save_c_werror_flag
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3768 $as_echo "$ac_cv_prog_cc_g" >&6; }
3769 if test "$ac_test_CFLAGS" = set; then
3770 CFLAGS=$ac_save_CFLAGS
3771 elif test $ac_cv_prog_cc_g = yes; then
3772 if test "$GCC" = yes; then
3773 CFLAGS="-g -O2"
3774 else
3775 CFLAGS="-g"
3777 else
3778 if test "$GCC" = yes; then
3779 CFLAGS="-O2"
3780 else
3781 CFLAGS=
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3785 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3786 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 ac_cv_prog_cc_c89=no
3790 ac_save_CC=$CC
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3793 #include <stdarg.h>
3794 #include <stdio.h>
3795 #include <sys/types.h>
3796 #include <sys/stat.h>
3797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3798 struct buf { int x; };
3799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3800 static char *e (p, i)
3801 char **p;
3802 int i;
3804 return p[i];
3806 static char *f (char * (*g) (char **, int), char **p, ...)
3808 char *s;
3809 va_list v;
3810 va_start (v,p);
3811 s = g (p, va_arg (v,int));
3812 va_end (v);
3813 return s;
3816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3817 function prototypes and stuff, but not '\xHH' hex character constants.
3818 These don't provoke an error unfortunately, instead are silently treated
3819 as 'x'. The following induces an error, until -std is added to get
3820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3821 array size at least. It's necessary to write '\x00'==0 to get something
3822 that's true only with -std. */
3823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3826 inside strings and character constants. */
3827 #define FOO(x) 'x'
3828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3830 int test (int i, double x);
3831 struct s1 {int (*f) (int a);};
3832 struct s2 {int (*f) (double a);};
3833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3834 int argc;
3835 char **argv;
3837 main ()
3839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3841 return 0;
3843 _ACEOF
3844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3847 CC="$ac_save_CC $ac_arg"
3848 if ac_fn_c_try_compile "$LINENO"; then :
3849 ac_cv_prog_cc_c89=$ac_arg
3851 rm -f core conftest.err conftest.$ac_objext
3852 test "x$ac_cv_prog_cc_c89" != "xno" && break
3853 done
3854 rm -f conftest.$ac_ext
3855 CC=$ac_save_CC
3858 # AC_CACHE_VAL
3859 case "x$ac_cv_prog_cc_c89" in
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3862 $as_echo "none needed" >&6; } ;;
3863 xno)
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3865 $as_echo "unsupported" >&6; } ;;
3867 CC="$CC $ac_cv_prog_cc_c89"
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3869 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3870 esac
3871 if test "x$ac_cv_prog_cc_c89" != xno; then :
3875 ac_ext=c
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3881 ac_ext=c
3882 ac_cpp='$CPP $CPPFLAGS'
3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3887 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3888 # On Suns, sometimes $CPP names a directory.
3889 if test -n "$CPP" && test -d "$CPP"; then
3890 CPP=
3892 if test -z "$CPP"; then
3893 if test "${ac_cv_prog_CPP+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3895 else
3896 # Double quotes because CPP needs to be expanded
3897 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3899 ac_preproc_ok=false
3900 for ac_c_preproc_warn_flag in '' yes
3902 # Use a header file that comes with gcc, so configuring glibc
3903 # with a fresh cross-compiler works.
3904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3905 # <limits.h> exists even on freestanding compilers.
3906 # On the NeXT, cc -E runs the code through the compiler's parser,
3907 # not just through cpp. "Syntax error" is here to catch this case.
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3910 #ifdef __STDC__
3911 # include <limits.h>
3912 #else
3913 # include <assert.h>
3914 #endif
3915 Syntax error
3916 _ACEOF
3917 if ac_fn_c_try_cpp "$LINENO"; then :
3919 else
3920 # Broken: fails on valid input.
3921 continue
3923 rm -f conftest.err conftest.$ac_ext
3925 # OK, works on sane cases. Now check whether nonexistent headers
3926 # can be detected and how.
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3929 #include <ac_nonexistent.h>
3930 _ACEOF
3931 if ac_fn_c_try_cpp "$LINENO"; then :
3932 # Broken: success on invalid input.
3933 continue
3934 else
3935 # Passes both tests.
3936 ac_preproc_ok=:
3937 break
3939 rm -f conftest.err conftest.$ac_ext
3941 done
3942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3943 rm -f conftest.err conftest.$ac_ext
3944 if $ac_preproc_ok; then :
3945 break
3948 done
3949 ac_cv_prog_CPP=$CPP
3952 CPP=$ac_cv_prog_CPP
3953 else
3954 ac_cv_prog_CPP=$CPP
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3957 $as_echo "$CPP" >&6; }
3958 ac_preproc_ok=false
3959 for ac_c_preproc_warn_flag in '' yes
3961 # Use a header file that comes with gcc, so configuring glibc
3962 # with a fresh cross-compiler works.
3963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3964 # <limits.h> exists even on freestanding compilers.
3965 # On the NeXT, cc -E runs the code through the compiler's parser,
3966 # not just through cpp. "Syntax error" is here to catch this case.
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969 #ifdef __STDC__
3970 # include <limits.h>
3971 #else
3972 # include <assert.h>
3973 #endif
3974 Syntax error
3975 _ACEOF
3976 if ac_fn_c_try_cpp "$LINENO"; then :
3978 else
3979 # Broken: fails on valid input.
3980 continue
3982 rm -f conftest.err conftest.$ac_ext
3984 # OK, works on sane cases. Now check whether nonexistent headers
3985 # can be detected and how.
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3988 #include <ac_nonexistent.h>
3989 _ACEOF
3990 if ac_fn_c_try_cpp "$LINENO"; then :
3991 # Broken: success on invalid input.
3992 continue
3993 else
3994 # Passes both tests.
3995 ac_preproc_ok=:
3996 break
3998 rm -f conftest.err conftest.$ac_ext
4000 done
4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4002 rm -f conftest.err conftest.$ac_ext
4003 if $ac_preproc_ok; then :
4005 else
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4009 See \`config.log' for more details." "$LINENO" 5; }
4012 ac_ext=c
4013 ac_cpp='$CPP $CPPFLAGS'
4014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 ac_c_preproc_warn_flag=yes
4023 # The cast to long int works around a bug in the HP C Compiler
4024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4026 # This bug is HP SR number 8606223364.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4028 $as_echo_n "checking size of double... " >&6; }
4029 if test "${ac_cv_sizeof_double+set}" = set; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4032 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4034 else
4035 if test "$ac_cv_type_double" = yes; then
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 { as_fn_set_status 77
4039 as_fn_error "cannot compute sizeof (double)
4040 See \`config.log' for more details." "$LINENO" 5; }; }
4041 else
4042 ac_cv_sizeof_double=0
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4048 $as_echo "$ac_cv_sizeof_double" >&6; }
4052 cat >>confdefs.h <<_ACEOF
4053 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4054 _ACEOF
4057 # The cast to long int works around a bug in the HP C Compiler
4058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4060 # This bug is HP SR number 8606223364.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4062 $as_echo_n "checking size of long double... " >&6; }
4063 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4065 else
4066 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4068 else
4069 if test "$ac_cv_type_long_double" = yes; then
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status 77
4073 as_fn_error "cannot compute sizeof (long double)
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4075 else
4076 ac_cv_sizeof_long_double=0
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4082 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4086 cat >>confdefs.h <<_ACEOF
4087 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4088 _ACEOF
4091 as_fn_arith $ac_cv_sizeof_double \* 8 && double_type_size=$as_val
4092 as_fn_arith $ac_cv_sizeof_long_double \* 8 && long_double_type_size=$as_val
4096 # Check for decimal float support.
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4098 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4099 if test "${libgcc_cv_dfp+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4105 #include <fenv.h>
4108 main ()
4111 _Decimal32 x;
4112 int fe_except =
4113 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4116 return 0;
4118 _ACEOF
4119 if ac_fn_c_try_compile "$LINENO"; then :
4120 libgcc_cv_dfp=yes
4121 else
4122 libgcc_cv_dfp=no
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4127 $as_echo "$libgcc_cv_dfp" >&6; }
4128 decimal_float=$libgcc_cv_dfp
4132 # Check whether --enable-decimal-float was given.
4133 if test "${enable_decimal_float+set}" = set; then :
4134 enableval=$enable_decimal_float;
4135 case $enable_decimal_float in
4136 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
4137 *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4138 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4139 esac
4141 else
4143 case $host in
4144 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
4145 i?86*-*-gnu* | \
4146 i?86*-*-mingw* | x86_64*-*-mingw* | \
4147 i?86*-*-cygwin* | x86_64*-*-cygwin*)
4148 enable_decimal_float=yes
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4152 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4153 enable_decimal_float=no
4155 esac
4160 # x86's use BID format instead of DPD
4161 case x$enable_decimal_float in
4162 xyes)
4163 case $host in
4164 i?86*-*-* | x86_64*-*-*)
4165 enable_decimal_float=bid
4168 enable_decimal_float=dpd
4170 esac
4171 default_decimal_float=$enable_decimal_float
4173 xno)
4174 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4175 # dependency on libdecnumber.
4176 default_decimal_float=dpd
4178 esac
4183 # Check for fixed-point support.
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4185 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4186 if test "${libgcc_cv_fixed_point+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4188 else
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4191 _Sat _Fract x;
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194 libgcc_cv_fixed_point=yes
4195 else
4196 libgcc_cv_fixed_point=no
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4201 $as_echo "$libgcc_cv_fixed_point" >&6; }
4202 fixed_point=$libgcc_cv_fixed_point
4205 # For platforms with the unwind ABI which includes an unwind library,
4206 # libunwind, we can choose to use the system libunwind.
4207 # config.gcc also contains tests of with_system_libunwind.
4210 # Check whether --with-system-libunwind was given.
4211 if test "${with_system_libunwind+set}" = set; then :
4212 withval=$with_system_libunwind;
4215 # If system-libunwind was not specifically set, pick a default setting.
4216 if test x$with_system_libunwind = x; then
4217 case ${target} in
4218 ia64-*-hpux*) with_system_libunwind=yes ;;
4219 *) with_system_libunwind=no ;;
4220 esac
4222 # Based on system-libunwind and target, do we have ipinfo?
4223 if test x$with_system_libunwind = xyes; then
4224 case ${target} in
4225 ia64-*-*) have_unwind_getipinfo=no ;;
4226 *) have_unwind_getipinfo=yes ;;
4227 esac
4228 else
4229 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4231 case ${target} in
4232 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
4233 *) have_unwind_getipinfo=yes ;;
4234 esac
4238 if test x$have_unwind_getipinfo = xyes; then
4240 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4245 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4246 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4247 # libobjc/configure.ac (for Objective-C).
4248 # FIXME: This should be centralized in config/sjlj.m4.
4249 # Check whether --enable-sjlj-exceptions was given.
4250 if test "${enable_sjlj_exceptions+set}" = set; then :
4251 enableval=$enable_sjlj_exceptions; case "$enableval" in
4252 yes|no|auto) ;;
4253 *) as_fn_error "unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4254 esac
4255 else
4256 enable_sjlj_exceptions=auto
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4261 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4262 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4268 void bar ();
4269 void clean (int *);
4270 void foo ()
4272 int i __attribute__ ((cleanup (clean)));
4273 bar();
4276 _ACEOF
4277 CFLAGS_hold=$CFLAGS
4278 CFLAGS="--save-temps -fexceptions"
4279 libgcc_cv_lib_sjlj_exceptions=unknown
4280 if ac_fn_c_try_compile; then :
4281 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1; then
4282 libgcc_cv_lib_sjlj_exceptions=yes
4283 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1; then
4284 libgcc_cv_lib_sjlj_exceptions=no
4287 CFLAGS=$CFLAGS_hold
4288 rm -f conftest*
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4292 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4294 if test "$enable_sjlj_exceptions" = "auto"; then
4295 enable_sjlj_exceptions=$libgcc_cv_lib_sjlj_exceptions
4298 case $enable_sjlj_exceptions in
4299 yes)
4301 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4307 as_fn_error "unable to detect exception model" "$LINENO" 5
4309 esac
4311 # Check whether --enable-explicit-exception-frame-registration was given.
4312 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4313 enableval=$enable_explicit_exception_frame_registration;
4314 force_explicit_eh_registry=
4315 if test "$enable_explicit_exception_frame_registration" = yes; then
4316 if test "$enable_sjlj_exceptions" = yes; then
4317 as_fn_error "Can't enable both of --enable-sjlj-exceptions
4318 and --enable-explicit-exception-frame-registration" "$LINENO" 5
4320 force_explicit_eh_registry=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4328 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4329 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4333 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4334 acl_cv_prog_gnu_ld=yes
4335 else
4336 acl_cv_prog_gnu_ld=no
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4340 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4341 with_gnu_ld=$acl_cv_prog_gnu_ld
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4345 $as_echo_n "checking for thread model used by GCC... " >&6; }
4346 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4348 $as_echo "$target_thread_file" >&6; }
4350 # Check for assembler CFI support.
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4352 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4353 if test "${libgcc_cv_cfi+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 asm("\n\
4359 .text\n\
4360 .cfi_startproc\n\
4361 .cfi_personality 0, symbol\n\
4362 .cfi_endproc");
4363 _ACEOF
4364 if ac_fn_c_try_compile "$LINENO"; then :
4365 libgcc_cv_cfi=yes
4366 else
4367 libgcc_cv_cfi=no
4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4372 $as_echo "$libgcc_cv_cfi" >&6; }
4374 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4375 # word size rather than the address size.
4376 cat > conftest.c <<EOF
4377 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4378 || defined(__mips64)
4379 host_address=64
4380 #else
4381 host_address=32
4382 #endif
4384 eval `${CC-cc} -E conftest.c | grep host_address=`
4385 rm -f conftest.c
4387 case ${host} in
4388 mips*-*-*)
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4390 $as_echo_n "checking whether the target is hard-float... " >&6; }
4391 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #ifndef __mips_hard_float
4397 #error FOO
4398 #endif
4399 _ACEOF
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 libgcc_cv_mips_hard_float=yes
4402 else
4403 libgcc_cv_mips_hard_float=no
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4408 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4409 esac
4411 # Determine the version of glibc, if any, used on the target.
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
4413 $as_echo_n "checking for target glibc version... " >&6; }
4415 # Check whether --with-glibc-version was given.
4416 if test "${with_glibc_version+set}" = set; then :
4417 withval=$with_glibc_version;
4418 if echo "$with_glibc_version" | grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
4419 glibc_version_major=`echo "$with_glibc_version" | sed -e 's/\..*//'`
4420 glibc_version_minor=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
4421 else
4422 as_fn_error "option --with-glibc-version requires a version number M.N" "$LINENO" 5
4424 else
4426 if ac_fn_c_compute_int "$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
4428 else
4429 glibc_version_major=0
4432 if ac_fn_c_compute_int "$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
4434 else
4435 glibc_version_minor=0
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
4441 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
4443 # Determine floating-point type for powerpc*-*-linux*.
4444 # Single-precision-only FPRs are not a supported configuration for
4445 # this target, so are not allowed for in this test.
4446 case ${host} in
4447 powerpc*-*-linux*)
4448 cat > conftest.c <<EOF
4449 #ifdef __powerpc64__
4450 ppc_fp_type=64
4451 #elif defined _SOFT_FLOAT
4452 ppc_fp_type=soft
4453 #elif defined _SOFT_DOUBLE
4454 ppc_fp_type=e500v1
4455 #elif defined __NO_FPRS__
4456 ppc_fp_type=e500v2
4457 #else
4458 ppc_fp_type=hard
4459 #endif
4461 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4462 rm -f conftest.c
4463 # glibc 2.19 and later provide all the soft-fp functions, with proper
4464 # interactions with <fenv.h> exception and rounding mode handling, so
4465 # make libgcc's versions into compat symbols if a recent enough glibc
4466 # version is being used.
4467 ppc_fp_compat=
4468 case ${ppc_fp_type} in
4469 soft|e500v1|e500v2)
4470 if test $glibc_version_major -gt 2 \
4471 || ( test $glibc_version_major -eq 2 \
4472 && test $glibc_version_minor -ge 19 ); then
4473 ppc_fp_compat="t-softfp-compat"
4476 esac
4478 esac
4480 # Collect host-machine-specific information.
4481 . ${srcdir}/config.host
4483 # Used for constructing correct paths for offload compilers.
4484 accel_dir_suffix=
4485 if test x"$enable_as_accelerator_for" != x; then
4486 accel_dir_suffix=/accel/${target_noncanonical}
4487 case "${target_noncanonical}" in
4488 *-intelmicemul-*)
4489 # In this case we expect offload compiler to be built as native, so we
4490 # need to change install directory for driver to be able to find libgcc.
4491 host_noncanonical=${enable_as_accelerator_for} ;;
4492 esac
4496 if test x"$enable_offload_targets" != x; then
4497 extra_parts="${extra_parts} crtoffloadbegin.o crtoffloadend.o"
4500 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4501 # This is after config.host so we can augment tmake_file.
4502 # Link with -nostartfiles -nodefaultlibs since neither are present while
4503 # building libgcc.
4504 case ${host} in
4505 i?86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
4506 cat > conftest.s <<EOF
4507 .section .eh_frame,"a",@unwind
4508 .zero 4
4509 .section .jcr,"aw",@progbits
4510 .zero 8
4512 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4513 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4514 (eval $ac_try) 2>&5
4515 ac_status=$?
4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517 test $ac_status = 0; }; }; then
4518 tmake_file="${tmake_file} i386/t-crtstuff"
4521 esac
4523 # Check for visibility support. This is after config.host so that
4524 # we can check for asm_hidden_op.
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4526 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4527 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4531 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4532 libgcc_cv_hidden_visibility_attribute=no
4533 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4535 (eval $ac_try) 2>&5
4536 ac_status=$?
4537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4538 test $ac_status = 0; }; }; then
4539 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
4540 libgcc_cv_hidden_visibility_attribute=yes
4543 rm -f conftest.*
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4547 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4549 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4550 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
4551 else
4552 vis_hide=
4556 # See if we have thread-local storage. We can only test assembler
4557 # since link-time and run-time tests require the newly built
4558 # gcc, which can't be used to build executable due to that libgcc
4559 # is yet to be built here.
4561 # Check whether --enable-tls was given.
4562 if test "${enable_tls+set}" = set; then :
4563 enableval=$enable_tls;
4564 case "$enableval" in
4565 yes|no) ;;
4566 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4567 esac
4569 else
4570 enable_tls=yes
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4575 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4576 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4582 __thread int a; int b; int main() { return a = b; }
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 gcc_cv_have_cc_tls=yes
4586 else
4587 gcc_cv_have_cc_tls=no
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4593 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4594 set_have_cc_tls=
4595 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4596 set_have_cc_tls="-DHAVE_CC_TLS"
4600 # See if we have emulated thread-local storage.
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4603 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4604 if test "${gcc_cv_use_emutls+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4608 gcc_cv_use_emutls=no
4609 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4610 if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4611 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4612 (eval $ac_try) 2>&5
4613 ac_status=$?
4614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }; }; then
4616 if grep __emutls_get_address conftest.s > /dev/null; then
4617 gcc_cv_use_emutls=yes
4620 rm -f conftest.*
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4624 $as_echo "$gcc_cv_use_emutls" >&6; }
4625 if test "$gcc_cv_use_emutls" = "yes" ; then
4627 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4630 set_use_emutls=
4631 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4632 set_use_emutls="-DUSE_EMUTLS"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
4637 $as_echo_n "checking for init priority support... " >&6; }
4638 if test "${libgcc_cv_init_priority+set}" = set; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4646 main ()
4648 void ip (void) __attribute__ ((constructor (1)));
4650 return 0;
4652 _ACEOF
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654 libgcc_cv_init_priority=yes
4655 else
4656 libgcc_cv_init_priority=no
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
4661 $as_echo "$libgcc_cv_init_priority" >&6; }
4662 if test $libgcc_cv_init_priority = yes; then
4664 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
4668 # Conditionalize the sfp-machine.h header for this target machine.
4669 if test -z "${sfp_machine_header}"; then
4670 sfp_machine_header=$cpu_type/sfp-machine.h
4671 if test -f ${srcdir}/config/${sfp_machine_header}; then
4673 else
4674 sfp_machine_header=no-sfp-machine.h
4679 # Conditionalize the makefile for this target machine.
4680 tmake_file_=
4681 for f in ${tmake_file}
4683 if test -f ${srcdir}/config/$f
4684 then
4685 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
4687 done
4688 tmake_file="${tmake_file_}"
4691 # Likewise export definitions for libgcc_tm.h
4692 tm_file_=
4693 for f in ${tm_file}
4695 tm_file_="${tm_file_} \$(srcdir)/config/$f"
4696 done
4697 tm_file="${tm_file_}"
4701 # Map from thread model to thread header.
4703 case $target_thread_file in
4704 aix) thread_header=config/rs6000/gthr-aix.h ;;
4705 dce) thread_header=config/pa/gthr-dce.h ;;
4706 lynx) thread_header=config/gthr-lynx.h ;;
4707 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
4708 posix) thread_header=gthr-posix.h ;;
4709 rtems) thread_header=config/gthr-rtems.h ;;
4710 single) thread_header=gthr-single.h ;;
4711 tpf) thread_header=config/s390/gthr-tpf.h ;;
4712 vxworks) thread_header=config/gthr-vxworks.h ;;
4713 win32) thread_header=config/i386/gthr-win32.h ;;
4714 esac
4718 # Substitute configuration variables
4722 ac_config_links="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4724 ac_config_links="$ac_config_links unwind.h:$unwind_header"
4726 ac_config_links="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4728 ac_config_links="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4730 ac_config_links="$ac_config_links gthr-default.h:$thread_header"
4733 # We need multilib support.
4734 ac_config_files="$ac_config_files Makefile"
4736 ac_config_commands="$ac_config_commands default"
4738 cat >confcache <<\_ACEOF
4739 # This file is a shell script that caches the results of configure
4740 # tests run on this system so they can be shared between configure
4741 # scripts and configure runs, see configure's option --config-cache.
4742 # It is not useful on other systems. If it contains results you don't
4743 # want to keep, you may remove or edit it.
4745 # config.status only pays attention to the cache file if you give it
4746 # the --recheck option to rerun configure.
4748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4750 # following values.
4752 _ACEOF
4754 # The following way of writing the cache mishandles newlines in values,
4755 # but we know of no workaround that is simple, portable, and efficient.
4756 # So, we kill variables containing newlines.
4757 # Ultrix sh set writes to stderr and can't be redirected directly,
4758 # and sets the high bit in the cache file unless we assign to the vars.
4760 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4761 eval ac_val=\$$ac_var
4762 case $ac_val in #(
4763 *${as_nl}*)
4764 case $ac_var in #(
4765 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4767 esac
4768 case $ac_var in #(
4769 _ | IFS | as_nl) ;; #(
4770 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4771 *) { eval $ac_var=; unset $ac_var;} ;;
4772 esac ;;
4773 esac
4774 done
4776 (set) 2>&1 |
4777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4778 *${as_nl}ac_space=\ *)
4779 # `set' does not quote correctly, so add quotes: double-quote
4780 # substitution turns \\\\ into \\, and sed turns \\ into \.
4781 sed -n \
4782 "s/'/'\\\\''/g;
4783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4784 ;; #(
4786 # `set' quotes correctly as required by POSIX, so do not add quotes.
4787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4789 esac |
4790 sort
4792 sed '
4793 /^ac_cv_env_/b end
4794 t clear
4795 :clear
4796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4797 t end
4798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4799 :end' >>confcache
4800 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4801 if test -w "$cache_file"; then
4802 test "x$cache_file" != "x/dev/null" &&
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4804 $as_echo "$as_me: updating cache $cache_file" >&6;}
4805 cat confcache >$cache_file
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4808 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4811 rm -f confcache
4813 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4814 # Let make expand exec_prefix.
4815 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4817 DEFS=-DHAVE_CONFIG_H
4819 ac_libobjs=
4820 ac_ltlibobjs=
4821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4822 # 1. Remove the extension, and $U if already installed.
4823 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4824 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4826 # will be set to the directory where LIBOBJS objects are built.
4827 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4828 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4829 done
4830 LIBOBJS=$ac_libobjs
4832 LTLIBOBJS=$ac_ltlibobjs
4836 : ${CONFIG_STATUS=./config.status}
4837 ac_write_fail=0
4838 ac_clean_files_save=$ac_clean_files
4839 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4841 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4842 as_write_fail=0
4843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4844 #! $SHELL
4845 # Generated by $as_me.
4846 # Run this file to recreate the current configuration.
4847 # Compiler output produced by configure, useful for debugging
4848 # configure, is in config.log if it exists.
4850 debug=false
4851 ac_cs_recheck=false
4852 ac_cs_silent=false
4854 SHELL=\${CONFIG_SHELL-$SHELL}
4855 export SHELL
4856 _ASEOF
4857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4858 ## -------------------- ##
4859 ## M4sh Initialization. ##
4860 ## -------------------- ##
4862 # Be more Bourne compatible
4863 DUALCASE=1; export DUALCASE # for MKS sh
4864 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4865 emulate sh
4866 NULLCMD=:
4867 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4868 # is contrary to our usage. Disable this feature.
4869 alias -g '${1+"$@"}'='"$@"'
4870 setopt NO_GLOB_SUBST
4871 else
4872 case `(set -o) 2>/dev/null` in #(
4873 *posix*) :
4874 set -o posix ;; #(
4875 *) :
4877 esac
4881 as_nl='
4883 export as_nl
4884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4885 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4888 # Prefer a ksh shell builtin over an external printf program on Solaris,
4889 # but without wasting forks for bash or zsh.
4890 if test -z "$BASH_VERSION$ZSH_VERSION" \
4891 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4892 as_echo='print -r --'
4893 as_echo_n='print -rn --'
4894 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4895 as_echo='printf %s\n'
4896 as_echo_n='printf %s'
4897 else
4898 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4899 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4900 as_echo_n='/usr/ucb/echo -n'
4901 else
4902 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4903 as_echo_n_body='eval
4904 arg=$1;
4905 case $arg in #(
4906 *"$as_nl"*)
4907 expr "X$arg" : "X\\(.*\\)$as_nl";
4908 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4909 esac;
4910 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4912 export as_echo_n_body
4913 as_echo_n='sh -c $as_echo_n_body as_echo'
4915 export as_echo_body
4916 as_echo='sh -c $as_echo_body as_echo'
4919 # The user is always right.
4920 if test "${PATH_SEPARATOR+set}" != set; then
4921 PATH_SEPARATOR=:
4922 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4923 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4924 PATH_SEPARATOR=';'
4929 # IFS
4930 # We need space, tab and new line, in precisely that order. Quoting is
4931 # there to prevent editors from complaining about space-tab.
4932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4933 # splitting by setting IFS to empty value.)
4934 IFS=" "" $as_nl"
4936 # Find who we are. Look in the path if we contain no directory separator.
4937 case $0 in #((
4938 *[\\/]* ) as_myself=$0 ;;
4939 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4945 done
4946 IFS=$as_save_IFS
4949 esac
4950 # We did not find ourselves, most probably we were run as `sh COMMAND'
4951 # in which case we are not to be found in the path.
4952 if test "x$as_myself" = x; then
4953 as_myself=$0
4955 if test ! -f "$as_myself"; then
4956 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4957 exit 1
4960 # Unset variables that we do not need and which cause bugs (e.g. in
4961 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4962 # suppresses any "Segmentation fault" message there. '((' could
4963 # trigger a bug in pdksh 5.2.14.
4964 for as_var in BASH_ENV ENV MAIL MAILPATH
4965 do eval test x\${$as_var+set} = xset \
4966 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4967 done
4968 PS1='$ '
4969 PS2='> '
4970 PS4='+ '
4972 # NLS nuisances.
4973 LC_ALL=C
4974 export LC_ALL
4975 LANGUAGE=C
4976 export LANGUAGE
4978 # CDPATH.
4979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4982 # as_fn_error ERROR [LINENO LOG_FD]
4983 # ---------------------------------
4984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4986 # script with status $?, using 1 if that was 0.
4987 as_fn_error ()
4989 as_status=$?; test $as_status -eq 0 && as_status=1
4990 if test "$3"; then
4991 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4992 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4994 $as_echo "$as_me: error: $1" >&2
4995 as_fn_exit $as_status
4996 } # as_fn_error
4999 # as_fn_set_status STATUS
5000 # -----------------------
5001 # Set $? to STATUS, without forking.
5002 as_fn_set_status ()
5004 return $1
5005 } # as_fn_set_status
5007 # as_fn_exit STATUS
5008 # -----------------
5009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5010 as_fn_exit ()
5012 set +e
5013 as_fn_set_status $1
5014 exit $1
5015 } # as_fn_exit
5017 # as_fn_unset VAR
5018 # ---------------
5019 # Portably unset VAR.
5020 as_fn_unset ()
5022 { eval $1=; unset $1;}
5024 as_unset=as_fn_unset
5025 # as_fn_append VAR VALUE
5026 # ----------------------
5027 # Append the text in VALUE to the end of the definition contained in VAR. Take
5028 # advantage of any shell optimizations that allow amortized linear growth over
5029 # repeated appends, instead of the typical quadratic growth present in naive
5030 # implementations.
5031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5032 eval 'as_fn_append ()
5034 eval $1+=\$2
5036 else
5037 as_fn_append ()
5039 eval $1=\$$1\$2
5041 fi # as_fn_append
5043 # as_fn_arith ARG...
5044 # ------------------
5045 # Perform arithmetic evaluation on the ARGs, and store the result in the
5046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5047 # must be portable across $(()) and expr.
5048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5049 eval 'as_fn_arith ()
5051 as_val=$(( $* ))
5053 else
5054 as_fn_arith ()
5056 as_val=`expr "$@" || test $? -eq 1`
5058 fi # as_fn_arith
5061 if expr a : '\(a\)' >/dev/null 2>&1 &&
5062 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5063 as_expr=expr
5064 else
5065 as_expr=false
5068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5069 as_basename=basename
5070 else
5071 as_basename=false
5074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5075 as_dirname=dirname
5076 else
5077 as_dirname=false
5080 as_me=`$as_basename -- "$0" ||
5081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5082 X"$0" : 'X\(//\)$' \| \
5083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5084 $as_echo X/"$0" |
5085 sed '/^.*\/\([^/][^/]*\)\/*$/{
5086 s//\1/
5089 /^X\/\(\/\/\)$/{
5090 s//\1/
5093 /^X\/\(\/\).*/{
5094 s//\1/
5097 s/.*/./; q'`
5099 # Avoid depending upon Character Ranges.
5100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5103 as_cr_digits='0123456789'
5104 as_cr_alnum=$as_cr_Letters$as_cr_digits
5106 ECHO_C= ECHO_N= ECHO_T=
5107 case `echo -n x` in #(((((
5108 -n*)
5109 case `echo 'xy\c'` in
5110 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5111 xy) ECHO_C='\c';;
5112 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5113 ECHO_T=' ';;
5114 esac;;
5116 ECHO_N='-n';;
5117 esac
5119 rm -f conf$$ conf$$.exe conf$$.file
5120 if test -d conf$$.dir; then
5121 rm -f conf$$.dir/conf$$.file
5122 else
5123 rm -f conf$$.dir
5124 mkdir conf$$.dir 2>/dev/null
5126 if (echo >conf$$.file) 2>/dev/null; then
5127 if ln -s conf$$.file conf$$ 2>/dev/null; then
5128 as_ln_s='ln -s'
5129 # ... but there are two gotchas:
5130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5132 # In both cases, we have to default to `cp -p'.
5133 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5134 as_ln_s='cp -p'
5135 elif ln conf$$.file conf$$ 2>/dev/null; then
5136 as_ln_s=ln
5137 else
5138 as_ln_s='cp -p'
5140 else
5141 as_ln_s='cp -p'
5143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5144 rmdir conf$$.dir 2>/dev/null
5147 # as_fn_mkdir_p
5148 # -------------
5149 # Create "$as_dir" as a directory, including parents if necessary.
5150 as_fn_mkdir_p ()
5153 case $as_dir in #(
5154 -*) as_dir=./$as_dir;;
5155 esac
5156 test -d "$as_dir" || eval $as_mkdir_p || {
5157 as_dirs=
5158 while :; do
5159 case $as_dir in #(
5160 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5161 *) as_qdir=$as_dir;;
5162 esac
5163 as_dirs="'$as_qdir' $as_dirs"
5164 as_dir=`$as_dirname -- "$as_dir" ||
5165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5166 X"$as_dir" : 'X\(//\)[^/]' \| \
5167 X"$as_dir" : 'X\(//\)$' \| \
5168 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5169 $as_echo X"$as_dir" |
5170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5171 s//\1/
5174 /^X\(\/\/\)[^/].*/{
5175 s//\1/
5178 /^X\(\/\/\)$/{
5179 s//\1/
5182 /^X\(\/\).*/{
5183 s//\1/
5186 s/.*/./; q'`
5187 test -d "$as_dir" && break
5188 done
5189 test -z "$as_dirs" || eval "mkdir $as_dirs"
5190 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5193 } # as_fn_mkdir_p
5194 if mkdir -p . 2>/dev/null; then
5195 as_mkdir_p='mkdir -p "$as_dir"'
5196 else
5197 test -d ./-p && rmdir ./-p
5198 as_mkdir_p=false
5201 if test -x / >/dev/null 2>&1; then
5202 as_test_x='test -x'
5203 else
5204 if ls -dL / >/dev/null 2>&1; then
5205 as_ls_L_option=L
5206 else
5207 as_ls_L_option=
5209 as_test_x='
5210 eval sh -c '\''
5211 if test -d "$1"; then
5212 test -d "$1/.";
5213 else
5214 case $1 in #(
5215 -*)set "./$1";;
5216 esac;
5217 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5218 ???[sx]*):;;*)false;;esac;fi
5219 '\'' sh
5222 as_executable_p=$as_test_x
5224 # Sed expression to map a string onto a valid CPP name.
5225 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5227 # Sed expression to map a string onto a valid variable name.
5228 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5231 exec 6>&1
5232 ## ----------------------------------- ##
5233 ## Main body of $CONFIG_STATUS script. ##
5234 ## ----------------------------------- ##
5235 _ASEOF
5236 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5239 # Save the log message, to keep $0 and so on meaningful, and to
5240 # report actual input values of CONFIG_FILES etc. instead of their
5241 # values after options handling.
5242 ac_log="
5243 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5244 generated by GNU Autoconf 2.64. Invocation command line was
5246 CONFIG_FILES = $CONFIG_FILES
5247 CONFIG_HEADERS = $CONFIG_HEADERS
5248 CONFIG_LINKS = $CONFIG_LINKS
5249 CONFIG_COMMANDS = $CONFIG_COMMANDS
5250 $ $0 $@
5252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5255 _ACEOF
5257 case $ac_config_files in *"
5258 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5259 esac
5261 case $ac_config_headers in *"
5262 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5263 esac
5266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5267 # Files that config.status was made for.
5268 config_files="$ac_config_files"
5269 config_headers="$ac_config_headers"
5270 config_links="$ac_config_links"
5271 config_commands="$ac_config_commands"
5273 _ACEOF
5275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5276 ac_cs_usage="\
5277 \`$as_me' instantiates files and other configuration actions
5278 from templates according to the current configuration. Unless the files
5279 and actions are specified as TAGs, all are instantiated by default.
5281 Usage: $0 [OPTION]... [TAG]...
5283 -h, --help print this help, then exit
5284 -V, --version print version number and configuration settings, then exit
5285 -q, --quiet, --silent
5286 do not print progress messages
5287 -d, --debug don't remove temporary files
5288 --recheck update $as_me by reconfiguring in the same conditions
5289 --file=FILE[:TEMPLATE]
5290 instantiate the configuration file FILE
5291 --header=FILE[:TEMPLATE]
5292 instantiate the configuration header FILE
5294 Configuration files:
5295 $config_files
5297 Configuration headers:
5298 $config_headers
5300 Configuration links:
5301 $config_links
5303 Configuration commands:
5304 $config_commands
5306 Report bugs to the package provider.
5307 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5308 General help using GNU software: <http://www.gnu.org/gethelp/>."
5310 _ACEOF
5311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5312 ac_cs_version="\\
5313 GNU C Runtime Library config.status 1.0
5314 configured by $0, generated by GNU Autoconf 2.64,
5315 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5317 Copyright (C) 2009 Free Software Foundation, Inc.
5318 This config.status script is free software; the Free Software Foundation
5319 gives unlimited permission to copy, distribute and modify it."
5321 ac_pwd='$ac_pwd'
5322 srcdir='$srcdir'
5323 INSTALL='$INSTALL'
5324 AWK='$AWK'
5325 test -n "\$AWK" || AWK=awk
5326 _ACEOF
5328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5329 # The default lists apply if the user does not specify any file.
5330 ac_need_defaults=:
5331 while test $# != 0
5333 case $1 in
5334 --*=*)
5335 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5336 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5337 ac_shift=:
5340 ac_option=$1
5341 ac_optarg=$2
5342 ac_shift=shift
5344 esac
5346 case $ac_option in
5347 # Handling of the options.
5348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5349 ac_cs_recheck=: ;;
5350 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5351 $as_echo "$ac_cs_version"; exit ;;
5352 --debug | --debu | --deb | --de | --d | -d )
5353 debug=: ;;
5354 --file | --fil | --fi | --f )
5355 $ac_shift
5356 case $ac_optarg in
5357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5358 esac
5359 as_fn_append CONFIG_FILES " '$ac_optarg'"
5360 ac_need_defaults=false;;
5361 --header | --heade | --head | --hea )
5362 $ac_shift
5363 case $ac_optarg in
5364 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5365 esac
5366 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5367 ac_need_defaults=false;;
5368 --he | --h)
5369 # Conflict between --help and --header
5370 as_fn_error "ambiguous option: \`$1'
5371 Try \`$0 --help' for more information.";;
5372 --help | --hel | -h )
5373 $as_echo "$ac_cs_usage"; exit ;;
5374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5375 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5376 ac_cs_silent=: ;;
5378 # This is an error.
5379 -*) as_fn_error "unrecognized option: \`$1'
5380 Try \`$0 --help' for more information." ;;
5382 *) as_fn_append ac_config_targets " $1"
5383 ac_need_defaults=false ;;
5385 esac
5386 shift
5387 done
5389 ac_configure_extra_args=
5391 if $ac_cs_silent; then
5392 exec 6>/dev/null
5393 ac_configure_extra_args="$ac_configure_extra_args --silent"
5396 _ACEOF
5397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5398 if \$ac_cs_recheck; then
5399 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5400 shift
5401 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5402 CONFIG_SHELL='$SHELL'
5403 export CONFIG_SHELL
5404 exec "\$@"
5407 _ACEOF
5408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5409 exec 5>>config.log
5411 echo
5412 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5413 ## Running $as_me. ##
5414 _ASBOX
5415 $as_echo "$ac_log"
5416 } >&5
5418 _ACEOF
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5421 # INIT-COMMANDS
5423 srcdir=${srcdir}
5424 host=${host}
5425 with_target_subdir=${with_target_subdir}
5426 with_multisubdir=${with_multisubdir}
5427 ac_configure_args="--enable-multilib ${ac_configure_args}"
5428 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5429 libgcc_topdir=${libgcc_topdir}
5430 CC="${CC}"
5433 _ACEOF
5435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5437 # Handling of arguments.
5438 for ac_config_target in $ac_config_targets
5440 case $ac_config_target in
5441 "auto-target.h") CONFIG_HEADERS="$CONFIG_HEADERS auto-target.h:config.in" ;;
5442 "enable-execute-stack.c") CONFIG_LINKS="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5443 "unwind.h") CONFIG_LINKS="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5444 "md-unwind-support.h") CONFIG_LINKS="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5445 "sfp-machine.h") CONFIG_LINKS="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5446 "gthr-default.h") CONFIG_LINKS="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5447 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5448 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5450 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5451 esac
5452 done
5455 # If the user did not use the arguments to specify the items to instantiate,
5456 # then the envvar interface is used. Set only those that are not.
5457 # We use the long form for the default assignment because of an extremely
5458 # bizarre bug on SunOS 4.1.3.
5459 if $ac_need_defaults; then
5460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5462 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
5463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5466 # Have a temporary directory for convenience. Make it in the build tree
5467 # simply because there is no reason against having it here, and in addition,
5468 # creating and moving files from /tmp can sometimes cause problems.
5469 # Hook for its removal unless debugging.
5470 # Note that there is a small window in which the directory will not be cleaned:
5471 # after its creation but before its name has been assigned to `$tmp'.
5472 $debug ||
5474 tmp=
5475 trap 'exit_status=$?
5476 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5478 trap 'as_fn_exit 1' 1 2 13 15
5480 # Create a (secure) tmp directory for tmp files.
5483 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5484 test -n "$tmp" && test -d "$tmp"
5485 } ||
5487 tmp=./conf$$-$RANDOM
5488 (umask 077 && mkdir "$tmp")
5489 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5491 # Set up the scripts for CONFIG_FILES section.
5492 # No need to generate them if there are no CONFIG_FILES.
5493 # This happens for instance with `./config.status config.h'.
5494 if test -n "$CONFIG_FILES"; then
5497 ac_cr=`echo X | tr X '\015'`
5498 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5499 # But we know of no other shell where ac_cr would be empty at this
5500 # point, so we can use a bashism as a fallback.
5501 if test "x$ac_cr" = x; then
5502 eval ac_cr=\$\'\\r\'
5504 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5506 ac_cs_awk_cr='\r'
5507 else
5508 ac_cs_awk_cr=$ac_cr
5511 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5512 _ACEOF
5516 echo "cat >conf$$subs.awk <<_ACEOF" &&
5517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5518 echo "_ACEOF"
5519 } >conf$$subs.sh ||
5520 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5521 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5522 ac_delim='%!_!# '
5523 for ac_last_try in false false false false false :; do
5524 . ./conf$$subs.sh ||
5525 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5527 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5528 if test $ac_delim_n = $ac_delim_num; then
5529 break
5530 elif $ac_last_try; then
5531 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5532 else
5533 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5535 done
5536 rm -f conf$$subs.sh
5538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5539 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5540 _ACEOF
5541 sed -n '
5543 s/^/S["/; s/!.*/"]=/
5546 s/^[^!]*!//
5547 :repl
5548 t repl
5549 s/'"$ac_delim"'$//
5550 t delim
5553 s/\(.\{148\}\).*/\1/
5554 t more1
5555 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5558 b repl
5559 :more1
5560 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5563 s/.\{148\}//
5564 t nl
5565 :delim
5567 s/\(.\{148\}\).*/\1/
5568 t more2
5569 s/["\\]/\\&/g; s/^/"/; s/$/"/
5572 :more2
5573 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5576 s/.\{148\}//
5577 t delim
5578 ' <conf$$subs.awk | sed '
5579 /^[^""]/{
5581 s/\n//
5583 ' >>$CONFIG_STATUS || ac_write_fail=1
5584 rm -f conf$$subs.awk
5585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5586 _ACAWK
5587 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5588 for (key in S) S_is_set[key] = 1
5589 FS = "\a"
5593 line = $ 0
5594 nfields = split(line, field, "@")
5595 substed = 0
5596 len = length(field[1])
5597 for (i = 2; i < nfields; i++) {
5598 key = field[i]
5599 keylen = length(key)
5600 if (S_is_set[key]) {
5601 value = S[key]
5602 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5603 len += length(value) + length(field[++i])
5604 substed = 1
5605 } else
5606 len += 1 + keylen
5609 print line
5612 _ACAWK
5613 _ACEOF
5614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5615 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5616 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5617 else
5619 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5620 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5621 _ACEOF
5623 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5624 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5625 # trailing colons and then remove the whole line if VPATH becomes empty
5626 # (actually we leave an empty line to preserve line numbers).
5627 if test "x$srcdir" = x.; then
5628 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5629 s/:*\$(srcdir):*/:/
5630 s/:*\${srcdir}:*/:/
5631 s/:*@srcdir@:*/:/
5632 s/^\([^=]*=[ ]*\):*/\1/
5633 s/:*$//
5634 s/^[^=]*=[ ]*$//
5638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5639 fi # test -n "$CONFIG_FILES"
5641 # Set up the scripts for CONFIG_HEADERS section.
5642 # No need to generate them if there are no CONFIG_HEADERS.
5643 # This happens for instance with `./config.status Makefile'.
5644 if test -n "$CONFIG_HEADERS"; then
5645 cat >"$tmp/defines.awk" <<\_ACAWK ||
5646 BEGIN {
5647 _ACEOF
5649 # Transform confdefs.h into an awk script `defines.awk', embedded as
5650 # here-document in config.status, that substitutes the proper values into
5651 # config.h.in to produce config.h.
5653 # Create a delimiter string that does not exist in confdefs.h, to ease
5654 # handling of long lines.
5655 ac_delim='%!_!# '
5656 for ac_last_try in false false :; do
5657 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5658 if test -z "$ac_t"; then
5659 break
5660 elif $ac_last_try; then
5661 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5662 else
5663 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5665 done
5667 # For the awk script, D is an array of macro values keyed by name,
5668 # likewise P contains macro parameters if any. Preserve backslash
5669 # newline sequences.
5671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5672 sed -n '
5673 s/.\{148\}/&'"$ac_delim"'/g
5674 t rset
5675 :rset
5676 s/^[ ]*#[ ]*define[ ][ ]*/ /
5677 t def
5679 :def
5680 s/\\$//
5681 t bsnl
5682 s/["\\]/\\&/g
5683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5684 D["\1"]=" \3"/p
5685 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5687 :bsnl
5688 s/["\\]/\\&/g
5689 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5690 D["\1"]=" \3\\\\\\n"\\/p
5691 t cont
5692 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5693 t cont
5695 :cont
5697 s/.\{148\}/&'"$ac_delim"'/g
5698 t clear
5699 :clear
5700 s/\\$//
5701 t bsnlc
5702 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5704 :bsnlc
5705 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5706 b cont
5707 ' <confdefs.h | sed '
5708 s/'"$ac_delim"'/"\\\
5709 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 for (key in D) D_is_set[key] = 1
5713 FS = "\a"
5715 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5716 line = \$ 0
5717 split(line, arg, " ")
5718 if (arg[1] == "#") {
5719 defundef = arg[2]
5720 mac1 = arg[3]
5721 } else {
5722 defundef = substr(arg[1], 2)
5723 mac1 = arg[2]
5725 split(mac1, mac2, "(") #)
5726 macro = mac2[1]
5727 prefix = substr(line, 1, index(line, defundef) - 1)
5728 if (D_is_set[macro]) {
5729 # Preserve the white space surrounding the "#".
5730 print prefix "define", macro P[macro] D[macro]
5731 next
5732 } else {
5733 # Replace #undef with comments. This is necessary, for example,
5734 # in the case of _POSIX_SOURCE, which is predefined and required
5735 # on some systems where configure will not decide to define it.
5736 if (defundef == "undef") {
5737 print "/*", prefix defundef, macro, "*/"
5738 next
5742 { print }
5743 _ACAWK
5744 _ACEOF
5745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5746 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5747 fi # test -n "$CONFIG_HEADERS"
5750 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
5751 shift
5752 for ac_tag
5754 case $ac_tag in
5755 :[FHLC]) ac_mode=$ac_tag; continue;;
5756 esac
5757 case $ac_mode$ac_tag in
5758 :[FHL]*:*);;
5759 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5760 :[FH]-) ac_tag=-:-;;
5761 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5762 esac
5763 ac_save_IFS=$IFS
5764 IFS=:
5765 set x $ac_tag
5766 IFS=$ac_save_IFS
5767 shift
5768 ac_file=$1
5769 shift
5771 case $ac_mode in
5772 :L) ac_source=$1;;
5773 :[FH])
5774 ac_file_inputs=
5775 for ac_f
5777 case $ac_f in
5778 -) ac_f="$tmp/stdin";;
5779 *) # Look for the file first in the build tree, then in the source tree
5780 # (if the path is not absolute). The absolute path cannot be DOS-style,
5781 # because $ac_f cannot contain `:'.
5782 test -f "$ac_f" ||
5783 case $ac_f in
5784 [\\/$]*) false;;
5785 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5786 esac ||
5787 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5788 esac
5789 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5790 as_fn_append ac_file_inputs " '$ac_f'"
5791 done
5793 # Let's still pretend it is `configure' which instantiates (i.e., don't
5794 # use $as_me), people would be surprised to read:
5795 # /* config.h. Generated by config.status. */
5796 configure_input='Generated from '`
5797 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5798 `' by configure.'
5799 if test x"$ac_file" != x-; then
5800 configure_input="$ac_file. $configure_input"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5802 $as_echo "$as_me: creating $ac_file" >&6;}
5804 # Neutralize special characters interpreted by sed in replacement strings.
5805 case $configure_input in #(
5806 *\&* | *\|* | *\\* )
5807 ac_sed_conf_input=`$as_echo "$configure_input" |
5808 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5809 *) ac_sed_conf_input=$configure_input;;
5810 esac
5812 case $ac_tag in
5813 *:-:* | *:-) cat >"$tmp/stdin" \
5814 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5815 esac
5817 esac
5819 ac_dir=`$as_dirname -- "$ac_file" ||
5820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5821 X"$ac_file" : 'X\(//\)[^/]' \| \
5822 X"$ac_file" : 'X\(//\)$' \| \
5823 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5824 $as_echo X"$ac_file" |
5825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5826 s//\1/
5829 /^X\(\/\/\)[^/].*/{
5830 s//\1/
5833 /^X\(\/\/\)$/{
5834 s//\1/
5837 /^X\(\/\).*/{
5838 s//\1/
5841 s/.*/./; q'`
5842 as_dir="$ac_dir"; as_fn_mkdir_p
5843 ac_builddir=.
5845 case "$ac_dir" in
5846 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5848 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5849 # A ".." for each directory in $ac_dir_suffix.
5850 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5851 case $ac_top_builddir_sub in
5852 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5853 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5854 esac ;;
5855 esac
5856 ac_abs_top_builddir=$ac_pwd
5857 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5858 # for backward compatibility:
5859 ac_top_builddir=$ac_top_build_prefix
5861 case $srcdir in
5862 .) # We are building in place.
5863 ac_srcdir=.
5864 ac_top_srcdir=$ac_top_builddir_sub
5865 ac_abs_top_srcdir=$ac_pwd ;;
5866 [\\/]* | ?:[\\/]* ) # Absolute name.
5867 ac_srcdir=$srcdir$ac_dir_suffix;
5868 ac_top_srcdir=$srcdir
5869 ac_abs_top_srcdir=$srcdir ;;
5870 *) # Relative name.
5871 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5872 ac_top_srcdir=$ac_top_build_prefix$srcdir
5873 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5874 esac
5875 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5878 case $ac_mode in
5881 # CONFIG_FILE
5884 case $INSTALL in
5885 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5886 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5887 esac
5888 _ACEOF
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891 # If the template does not know about datarootdir, expand it.
5892 # FIXME: This hack should be removed a few years after 2.60.
5893 ac_datarootdir_hack=; ac_datarootdir_seen=
5894 ac_sed_dataroot='
5895 /datarootdir/ {
5899 /@datadir@/p
5900 /@docdir@/p
5901 /@infodir@/p
5902 /@localedir@/p
5903 /@mandir@/p'
5904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5905 *datarootdir*) ac_datarootdir_seen=yes;;
5906 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5909 _ACEOF
5910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5911 ac_datarootdir_hack='
5912 s&@datadir@&$datadir&g
5913 s&@docdir@&$docdir&g
5914 s&@infodir@&$infodir&g
5915 s&@localedir@&$localedir&g
5916 s&@mandir@&$mandir&g
5917 s&\\\${datarootdir}&$datarootdir&g' ;;
5918 esac
5919 _ACEOF
5921 # Neutralize VPATH when `$srcdir' = `.'.
5922 # Shell code in configure.ac might set extrasub.
5923 # FIXME: do we really want to maintain this feature?
5924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925 ac_sed_extra="$ac_vpsub
5926 $extrasub
5927 _ACEOF
5928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5931 s|@configure_input@|$ac_sed_conf_input|;t t
5932 s&@top_builddir@&$ac_top_builddir_sub&;t t
5933 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5934 s&@srcdir@&$ac_srcdir&;t t
5935 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5936 s&@top_srcdir@&$ac_top_srcdir&;t t
5937 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5938 s&@builddir@&$ac_builddir&;t t
5939 s&@abs_builddir@&$ac_abs_builddir&;t t
5940 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5941 s&@INSTALL@&$ac_INSTALL&;t t
5942 $ac_datarootdir_hack
5944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5945 || as_fn_error "could not create $ac_file" "$LINENO" 5
5947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5948 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5951 which seems to be undefined. Please make sure it is defined." >&5
5952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5953 which seems to be undefined. Please make sure it is defined." >&2;}
5955 rm -f "$tmp/stdin"
5956 case $ac_file in
5957 -) cat "$tmp/out" && rm -f "$tmp/out";;
5958 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5959 esac \
5960 || as_fn_error "could not create $ac_file" "$LINENO" 5
5964 # CONFIG_HEADER
5966 if test x"$ac_file" != x-; then
5968 $as_echo "/* $configure_input */" \
5969 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5970 } >"$tmp/config.h" \
5971 || as_fn_error "could not create $ac_file" "$LINENO" 5
5972 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5974 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5975 else
5976 rm -f "$ac_file"
5977 mv "$tmp/config.h" "$ac_file" \
5978 || as_fn_error "could not create $ac_file" "$LINENO" 5
5980 else
5981 $as_echo "/* $configure_input */" \
5982 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5983 || as_fn_error "could not create -" "$LINENO" 5
5988 # CONFIG_LINK
5991 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
5993 else
5994 # Prefer the file from the source tree if names are identical.
5995 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5996 ac_source=$srcdir/$ac_source
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
6000 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
6002 if test ! -r "$ac_source"; then
6003 as_fn_error "$ac_source: file not found" "$LINENO" 5
6005 rm -f "$ac_file"
6007 # Try a relative symlink, then a hard link, then a copy.
6008 case $srcdir in
6009 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
6010 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
6011 esac
6012 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
6013 ln "$ac_source" "$ac_file" 2>/dev/null ||
6014 cp -p "$ac_source" "$ac_file" ||
6015 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
6018 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6019 $as_echo "$as_me: executing $ac_file commands" >&6;}
6021 esac
6024 case $ac_file$ac_mode in
6025 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6026 if test -n "$CONFIG_FILES"; then
6027 # FIXME: We shouldn't need to set ac_file
6028 ac_file=Makefile
6029 . ${libgcc_topdir}/config-ml.in
6030 fi ;;
6032 esac
6033 done # for ac_tag
6036 as_fn_exit 0
6037 _ACEOF
6038 ac_clean_files=$ac_clean_files_save
6040 test $ac_write_fail = 0 ||
6041 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6044 # configure is writing to config.log, and then calls config.status.
6045 # config.status does its own redirection, appending to config.log.
6046 # Unfortunately, on DOS this fails, as config.log is still kept open
6047 # by configure, so config.status won't be able to write to it; its
6048 # output is simply discarded. So we exec the FD to /dev/null,
6049 # effectively closing config.log, so it can be properly (re)opened and
6050 # appended to by config.status. When coming back to configure, we
6051 # need to make the FD available again.
6052 if test "$no_create" != yes; then
6053 ac_cs_success=:
6054 ac_config_status_args=
6055 test "$silent" = yes &&
6056 ac_config_status_args="$ac_config_status_args --quiet"
6057 exec 5>/dev/null
6058 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6059 exec 5>>config.log
6060 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6061 # would make configure fail if this is the last instruction.
6062 $ac_cs_success || as_fn_exit $?
6064 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6066 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}