./:
[official-gcc.git] / libgcc / configure
blob322418fb44aced4cb374279163c843619f7397f3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 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 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='GNU C Runtime Library'
574 PACKAGE_TARNAME='libgcc'
575 PACKAGE_VERSION='1.0'
576 PACKAGE_STRING='GNU C Runtime Library 1.0'
577 PACKAGE_BUGREPORT=''
579 ac_unique_file="static-object.mk"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
617 libgcc_topdir
618 enable_shared
619 slibdir
620 INSTALL_PROGRAM
621 INSTALL_SCRIPT
622 INSTALL_DATA
624 build
625 build_cpu
626 build_vendor
627 build_os
628 host
629 host_cpu
630 host_vendor
631 host_os
632 host_noncanonical
633 build_libsubdir
634 build_subdir
635 host_subdir
636 target_subdir
638 LIPO
640 RANLIB
641 STRIP
642 LN_S
644 CFLAGS
645 LDFLAGS
646 CPPFLAGS
647 ac_ct_CC
648 EXEEXT
649 OBJEXT
651 decimal_float
652 vis_hide
653 tmake_file
654 extra_parts
655 asm_hidden_op
656 LIBOBJS
657 LTLIBOBJS'
658 ac_subst_files=''
659 ac_precious_vars='build_alias
660 host_alias
661 target_alias
663 CFLAGS
664 LDFLAGS
665 LIBS
666 CPPFLAGS
667 CPP'
670 # Initialize some variables set by options.
671 ac_init_help=
672 ac_init_version=false
673 # The variables have the same names as the options, with
674 # dashes changed to underlines.
675 cache_file=/dev/null
676 exec_prefix=NONE
677 no_create=
678 no_recursion=
679 prefix=NONE
680 program_prefix=NONE
681 program_suffix=NONE
682 program_transform_name=s,x,x,
683 silent=
684 site=
685 srcdir=
686 verbose=
687 x_includes=NONE
688 x_libraries=NONE
690 # Installation directory options.
691 # These are left unexpanded so users can "make install exec_prefix=/foo"
692 # and all the variables that are supposed to be based on exec_prefix
693 # by default will actually change.
694 # Use braces instead of parens because sh, perl, etc. also accept them.
695 # (The list follows the same order as the GNU Coding Standards.)
696 bindir='${exec_prefix}/bin'
697 sbindir='${exec_prefix}/sbin'
698 libexecdir='${exec_prefix}/libexec'
699 datarootdir='${prefix}/share'
700 datadir='${datarootdir}'
701 sysconfdir='${prefix}/etc'
702 sharedstatedir='${prefix}/com'
703 localstatedir='${prefix}/var'
704 includedir='${prefix}/include'
705 oldincludedir='/usr/include'
706 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
707 infodir='${datarootdir}/info'
708 htmldir='${docdir}'
709 dvidir='${docdir}'
710 pdfdir='${docdir}'
711 psdir='${docdir}'
712 libdir='${exec_prefix}/lib'
713 localedir='${datarootdir}/locale'
714 mandir='${datarootdir}/man'
716 ac_prev=
717 ac_dashdash=
718 for ac_option
720 # If the previous option needs an argument, assign it.
721 if test -n "$ac_prev"; then
722 eval $ac_prev=\$ac_option
723 ac_prev=
724 continue
727 case $ac_option in
728 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729 *) ac_optarg=yes ;;
730 esac
732 # Accept the important Cygnus configure options, so we can diagnose typos.
734 case $ac_dashdash$ac_option in
736 ac_dashdash=yes ;;
738 -bindir | --bindir | --bindi | --bind | --bin | --bi)
739 ac_prev=bindir ;;
740 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741 bindir=$ac_optarg ;;
743 -build | --build | --buil | --bui | --bu)
744 ac_prev=build_alias ;;
745 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
746 build_alias=$ac_optarg ;;
748 -cache-file | --cache-file | --cache-fil | --cache-fi \
749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
750 ac_prev=cache_file ;;
751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
753 cache_file=$ac_optarg ;;
755 --config-cache | -C)
756 cache_file=config.cache ;;
758 -datadir | --datadir | --datadi | --datad)
759 ac_prev=datadir ;;
760 -datadir=* | --datadir=* | --datadi=* | --datad=*)
761 datadir=$ac_optarg ;;
763 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
764 | --dataroo | --dataro | --datar)
765 ac_prev=datarootdir ;;
766 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
767 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
768 datarootdir=$ac_optarg ;;
770 -disable-* | --disable-*)
771 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772 # Reject names that are not valid shell variable names.
773 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
774 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
775 { (exit 1); exit 1; }; }
776 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
777 eval enable_$ac_feature=no ;;
779 -docdir | --docdir | --docdi | --doc | --do)
780 ac_prev=docdir ;;
781 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
782 docdir=$ac_optarg ;;
784 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
785 ac_prev=dvidir ;;
786 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
787 dvidir=$ac_optarg ;;
789 -enable-* | --enable-*)
790 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
794 { (exit 1); exit 1; }; }
795 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
796 eval enable_$ac_feature=\$ac_optarg ;;
798 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
799 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
800 | --exec | --exe | --ex)
801 ac_prev=exec_prefix ;;
802 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
803 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
804 | --exec=* | --exe=* | --ex=*)
805 exec_prefix=$ac_optarg ;;
807 -gas | --gas | --ga | --g)
808 # Obsolete; use --with-gas.
809 with_gas=yes ;;
811 -help | --help | --hel | --he | -h)
812 ac_init_help=long ;;
813 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814 ac_init_help=recursive ;;
815 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816 ac_init_help=short ;;
818 -host | --host | --hos | --ho)
819 ac_prev=host_alias ;;
820 -host=* | --host=* | --hos=* | --ho=*)
821 host_alias=$ac_optarg ;;
823 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 ac_prev=htmldir ;;
825 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 | --ht=*)
827 htmldir=$ac_optarg ;;
829 -includedir | --includedir | --includedi | --included | --include \
830 | --includ | --inclu | --incl | --inc)
831 ac_prev=includedir ;;
832 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
833 | --includ=* | --inclu=* | --incl=* | --inc=*)
834 includedir=$ac_optarg ;;
836 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 ac_prev=infodir ;;
838 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
839 infodir=$ac_optarg ;;
841 -libdir | --libdir | --libdi | --libd)
842 ac_prev=libdir ;;
843 -libdir=* | --libdir=* | --libdi=* | --libd=*)
844 libdir=$ac_optarg ;;
846 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
847 | --libexe | --libex | --libe)
848 ac_prev=libexecdir ;;
849 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
850 | --libexe=* | --libex=* | --libe=*)
851 libexecdir=$ac_optarg ;;
853 -localedir | --localedir | --localedi | --localed | --locale)
854 ac_prev=localedir ;;
855 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
856 localedir=$ac_optarg ;;
858 -localstatedir | --localstatedir | --localstatedi | --localstated \
859 | --localstate | --localstat | --localsta | --localst | --locals)
860 ac_prev=localstatedir ;;
861 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
862 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
863 localstatedir=$ac_optarg ;;
865 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 ac_prev=mandir ;;
867 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
868 mandir=$ac_optarg ;;
870 -nfp | --nfp | --nf)
871 # Obsolete; use --without-fp.
872 with_fp=no ;;
874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875 | --no-cr | --no-c | -n)
876 no_create=yes ;;
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
880 no_recursion=yes ;;
882 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
883 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
884 | --oldin | --oldi | --old | --ol | --o)
885 ac_prev=oldincludedir ;;
886 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
887 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
888 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
889 oldincludedir=$ac_optarg ;;
891 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 ac_prev=prefix ;;
893 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
894 prefix=$ac_optarg ;;
896 -program-prefix | --program-prefix | --program-prefi | --program-pref \
897 | --program-pre | --program-pr | --program-p)
898 ac_prev=program_prefix ;;
899 -program-prefix=* | --program-prefix=* | --program-prefi=* \
900 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
901 program_prefix=$ac_optarg ;;
903 -program-suffix | --program-suffix | --program-suffi | --program-suff \
904 | --program-suf | --program-su | --program-s)
905 ac_prev=program_suffix ;;
906 -program-suffix=* | --program-suffix=* | --program-suffi=* \
907 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
908 program_suffix=$ac_optarg ;;
910 -program-transform-name | --program-transform-name \
911 | --program-transform-nam | --program-transform-na \
912 | --program-transform-n | --program-transform- \
913 | --program-transform | --program-transfor \
914 | --program-transfo | --program-transf \
915 | --program-trans | --program-tran \
916 | --progr-tra | --program-tr | --program-t)
917 ac_prev=program_transform_name ;;
918 -program-transform-name=* | --program-transform-name=* \
919 | --program-transform-nam=* | --program-transform-na=* \
920 | --program-transform-n=* | --program-transform-=* \
921 | --program-transform=* | --program-transfor=* \
922 | --program-transfo=* | --program-transf=* \
923 | --program-trans=* | --program-tran=* \
924 | --progr-tra=* | --program-tr=* | --program-t=*)
925 program_transform_name=$ac_optarg ;;
927 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 ac_prev=pdfdir ;;
929 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
930 pdfdir=$ac_optarg ;;
932 -psdir | --psdir | --psdi | --psd | --ps)
933 ac_prev=psdir ;;
934 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
935 psdir=$ac_optarg ;;
937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
938 | -silent | --silent | --silen | --sile | --sil)
939 silent=yes ;;
941 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942 ac_prev=sbindir ;;
943 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944 | --sbi=* | --sb=*)
945 sbindir=$ac_optarg ;;
947 -sharedstatedir | --sharedstatedir | --sharedstatedi \
948 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
949 | --sharedst | --shareds | --shared | --share | --shar \
950 | --sha | --sh)
951 ac_prev=sharedstatedir ;;
952 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
953 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
954 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955 | --sha=* | --sh=*)
956 sharedstatedir=$ac_optarg ;;
958 -site | --site | --sit)
959 ac_prev=site ;;
960 -site=* | --site=* | --sit=*)
961 site=$ac_optarg ;;
963 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964 ac_prev=srcdir ;;
965 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
966 srcdir=$ac_optarg ;;
968 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
969 | --syscon | --sysco | --sysc | --sys | --sy)
970 ac_prev=sysconfdir ;;
971 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
972 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
973 sysconfdir=$ac_optarg ;;
975 -target | --target | --targe | --targ | --tar | --ta | --t)
976 ac_prev=target_alias ;;
977 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
978 target_alias=$ac_optarg ;;
980 -v | -verbose | --verbose | --verbos | --verbo | --verb)
981 verbose=yes ;;
983 -version | --version | --versio | --versi | --vers | -V)
984 ac_init_version=: ;;
986 -with-* | --with-*)
987 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
990 { echo "$as_me: error: invalid package name: $ac_package" >&2
991 { (exit 1); exit 1; }; }
992 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
993 eval with_$ac_package=\$ac_optarg ;;
995 -without-* | --without-*)
996 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999 { echo "$as_me: error: invalid package name: $ac_package" >&2
1000 { (exit 1); exit 1; }; }
1001 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1002 eval with_$ac_package=no ;;
1004 --x)
1005 # Obsolete; use --with-x.
1006 with_x=yes ;;
1008 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009 | --x-incl | --x-inc | --x-in | --x-i)
1010 ac_prev=x_includes ;;
1011 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013 x_includes=$ac_optarg ;;
1015 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017 ac_prev=x_libraries ;;
1018 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020 x_libraries=$ac_optarg ;;
1022 -*) { echo "$as_me: error: unrecognized option: $ac_option
1023 Try \`$0 --help' for more information." >&2
1024 { (exit 1); exit 1; }; }
1027 *=*)
1028 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1031 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1032 { (exit 1); exit 1; }; }
1033 eval $ac_envvar=\$ac_optarg
1034 export $ac_envvar ;;
1037 # FIXME: should be removed in autoconf 3.0.
1038 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1044 esac
1045 done
1047 if test -n "$ac_prev"; then
1048 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049 { echo "$as_me: error: missing argument to $ac_option" >&2
1050 { (exit 1); exit 1; }; }
1053 # Be sure to have absolute directory names.
1054 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1055 datadir sysconfdir sharedstatedir localstatedir includedir \
1056 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1057 libdir localedir mandir
1059 eval ac_val=\$$ac_var
1060 case $ac_val in
1061 [\\/$]* | ?:[\\/]* ) continue;;
1062 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1063 esac
1064 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065 { (exit 1); exit 1; }; }
1066 done
1068 # There might be people who depend on the old broken behavior: `$host'
1069 # used to hold the argument of --host etc.
1070 # FIXME: To remove some day.
1071 build=$build_alias
1072 host=$host_alias
1073 target=$target_alias
1075 # FIXME: To remove some day.
1076 if test "x$host_alias" != x; then
1077 if test "x$build_alias" = x; then
1078 cross_compiling=maybe
1079 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1080 If a cross compiler is detected then cross compile mode will be used." >&2
1081 elif test "x$build_alias" != "x$host_alias"; then
1082 cross_compiling=yes
1086 ac_tool_prefix=
1087 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1089 test "$silent" = yes && exec 6>/dev/null
1092 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1093 ac_ls_di=`ls -di .` &&
1094 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1095 { echo "$as_me: error: Working directory cannot be determined" >&2
1096 { (exit 1); exit 1; }; }
1097 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1098 { echo "$as_me: error: pwd does not report name of working directory" >&2
1099 { (exit 1); exit 1; }; }
1102 # Find the source files, if location was not specified.
1103 if test -z "$srcdir"; then
1104 ac_srcdir_defaulted=yes
1105 # Try the directory containing this script, then the parent directory.
1106 ac_confdir=`$as_dirname -- "$0" ||
1107 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1108 X"$0" : 'X\(//\)[^/]' \| \
1109 X"$0" : 'X\(//\)$' \| \
1110 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1111 echo X"$0" |
1112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1113 s//\1/
1116 /^X\(\/\/\)[^/].*/{
1117 s//\1/
1120 /^X\(\/\/\)$/{
1121 s//\1/
1124 /^X\(\/\).*/{
1125 s//\1/
1128 s/.*/./; q'`
1129 srcdir=$ac_confdir
1130 if test ! -r "$srcdir/$ac_unique_file"; then
1131 srcdir=..
1133 else
1134 ac_srcdir_defaulted=no
1136 if test ! -r "$srcdir/$ac_unique_file"; then
1137 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1138 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1139 { (exit 1); exit 1; }; }
1141 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1142 ac_abs_confdir=`(
1143 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1144 { (exit 1); exit 1; }; }
1145 pwd)`
1146 # When building in place, set srcdir=.
1147 if test "$ac_abs_confdir" = "$ac_pwd"; then
1148 srcdir=.
1150 # Remove unnecessary trailing slashes from srcdir.
1151 # Double slashes in file names in object file debugging info
1152 # mess up M-x gdb in Emacs.
1153 case $srcdir in
1154 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1155 esac
1156 for ac_var in $ac_precious_vars; do
1157 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1158 eval ac_env_${ac_var}_value=\$${ac_var}
1159 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1160 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1161 done
1164 # Report the --help message.
1166 if test "$ac_init_help" = "long"; then
1167 # Omit some internal or obsolete options to make the list less imposing.
1168 # This message is too long to be a string in the A/UX 3.1 sh.
1169 cat <<_ACEOF
1170 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1172 Usage: $0 [OPTION]... [VAR=VALUE]...
1174 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1175 VAR=VALUE. See below for descriptions of some of the useful variables.
1177 Defaults for the options are specified in brackets.
1179 Configuration:
1180 -h, --help display this help and exit
1181 --help=short display options specific to this package
1182 --help=recursive display the short help of all the included packages
1183 -V, --version display version information and exit
1184 -q, --quiet, --silent do not print \`checking...' messages
1185 --cache-file=FILE cache test results in FILE [disabled]
1186 -C, --config-cache alias for \`--cache-file=config.cache'
1187 -n, --no-create do not create output files
1188 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1190 Installation directories:
1191 --prefix=PREFIX install architecture-independent files in PREFIX
1192 [$ac_default_prefix]
1193 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1194 [PREFIX]
1196 By default, \`make install' will install all the files in
1197 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1198 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1199 for instance \`--prefix=\$HOME'.
1201 For better control, use the options below.
1203 Fine tuning of the installation directories:
1204 --bindir=DIR user executables [EPREFIX/bin]
1205 --sbindir=DIR system admin executables [EPREFIX/sbin]
1206 --libexecdir=DIR program executables [EPREFIX/libexec]
1207 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1208 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1209 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1210 --libdir=DIR object code libraries [EPREFIX/lib]
1211 --includedir=DIR C header files [PREFIX/include]
1212 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1213 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1214 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1215 --infodir=DIR info documentation [DATAROOTDIR/info]
1216 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1217 --mandir=DIR man documentation [DATAROOTDIR/man]
1218 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1219 --htmldir=DIR html documentation [DOCDIR]
1220 --dvidir=DIR dvi documentation [DOCDIR]
1221 --pdfdir=DIR pdf documentation [DOCDIR]
1222 --psdir=DIR ps documentation [DOCDIR]
1223 _ACEOF
1225 cat <<\_ACEOF
1227 System types:
1228 --build=BUILD configure for building on BUILD [guessed]
1229 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1230 _ACEOF
1233 if test -n "$ac_init_help"; then
1234 case $ac_init_help in
1235 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
1236 esac
1237 cat <<\_ACEOF
1239 Optional Features:
1240 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1241 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1242 --disable-shared don't provide a shared libgcc
1244 Optional Packages:
1245 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1246 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1247 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1248 --with-cross-host=HOST Configuring with a cross compiler
1249 --with-ld arrange to use the specified ld (full pathname)
1250 --with-slibdir=DIR shared libraries in DIR LIBDIR
1251 --with-build-libsubdir=DIR Directory where to find libraries for build system
1253 Some influential environment variables:
1254 CC C compiler command
1255 CFLAGS C compiler flags
1256 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1257 nonstandard directory <lib dir>
1258 LIBS libraries to pass to the linker, e.g. -l<library>
1259 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1260 you have headers in a nonstandard directory <include dir>
1261 CPP C preprocessor
1263 Use these variables to override the choices made by `configure' or to help
1264 it to find libraries and programs with nonstandard names/locations.
1266 _ACEOF
1267 ac_status=$?
1270 if test "$ac_init_help" = "recursive"; then
1271 # If there are subdirs, report their specific --help.
1272 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1273 test -d "$ac_dir" || continue
1274 ac_builddir=.
1276 case "$ac_dir" in
1277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1280 # A ".." for each directory in $ac_dir_suffix.
1281 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1282 case $ac_top_builddir_sub in
1283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1285 esac ;;
1286 esac
1287 ac_abs_top_builddir=$ac_pwd
1288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1289 # for backward compatibility:
1290 ac_top_builddir=$ac_top_build_prefix
1292 case $srcdir in
1293 .) # We are building in place.
1294 ac_srcdir=.
1295 ac_top_srcdir=$ac_top_builddir_sub
1296 ac_abs_top_srcdir=$ac_pwd ;;
1297 [\\/]* | ?:[\\/]* ) # Absolute name.
1298 ac_srcdir=$srcdir$ac_dir_suffix;
1299 ac_top_srcdir=$srcdir
1300 ac_abs_top_srcdir=$srcdir ;;
1301 *) # Relative name.
1302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1303 ac_top_srcdir=$ac_top_build_prefix$srcdir
1304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1305 esac
1306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1308 cd "$ac_dir" || { ac_status=$?; continue; }
1309 # Check for guested configure.
1310 if test -f "$ac_srcdir/configure.gnu"; then
1311 echo &&
1312 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1313 elif test -f "$ac_srcdir/configure"; then
1314 echo &&
1315 $SHELL "$ac_srcdir/configure" --help=recursive
1316 else
1317 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1318 fi || ac_status=$?
1319 cd "$ac_pwd" || { ac_status=$?; break; }
1320 done
1323 test -n "$ac_init_help" && exit $ac_status
1324 if $ac_init_version; then
1325 cat <<\_ACEOF
1326 GNU C Runtime Library configure 1.0
1327 generated by GNU Autoconf 2.61
1329 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1330 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1331 This configure script is free software; the Free Software Foundation
1332 gives unlimited permission to copy, distribute and modify it.
1333 _ACEOF
1334 exit
1336 cat >config.log <<_ACEOF
1337 This file contains any messages produced by compilers while
1338 running configure, to aid debugging if configure makes a mistake.
1340 It was created by GNU C Runtime Library $as_me 1.0, which was
1341 generated by GNU Autoconf 2.61. Invocation command line was
1343 $ $0 $@
1345 _ACEOF
1346 exec 5>>config.log
1348 cat <<_ASUNAME
1349 ## --------- ##
1350 ## Platform. ##
1351 ## --------- ##
1353 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1354 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1355 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1356 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1357 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1359 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1360 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1362 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1363 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1364 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1365 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1366 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1367 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1368 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1370 _ASUNAME
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 for as_dir in $PATH
1375 IFS=$as_save_IFS
1376 test -z "$as_dir" && as_dir=.
1377 echo "PATH: $as_dir"
1378 done
1379 IFS=$as_save_IFS
1381 } >&5
1383 cat >&5 <<_ACEOF
1386 ## ----------- ##
1387 ## Core tests. ##
1388 ## ----------- ##
1390 _ACEOF
1393 # Keep a trace of the command line.
1394 # Strip out --no-create and --no-recursion so they do not pile up.
1395 # Strip out --silent because we don't want to record it for future runs.
1396 # Also quote any args containing shell meta-characters.
1397 # Make two passes to allow for proper duplicate-argument suppression.
1398 ac_configure_args=
1399 ac_configure_args0=
1400 ac_configure_args1=
1401 ac_must_keep_next=false
1402 for ac_pass in 1 2
1404 for ac_arg
1406 case $ac_arg in
1407 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1408 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1409 | -silent | --silent | --silen | --sile | --sil)
1410 continue ;;
1411 *\'*)
1412 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1413 esac
1414 case $ac_pass in
1415 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1417 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1418 if test $ac_must_keep_next = true; then
1419 ac_must_keep_next=false # Got value, back to normal.
1420 else
1421 case $ac_arg in
1422 *=* | --config-cache | -C | -disable-* | --disable-* \
1423 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1424 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1425 | -with-* | --with-* | -without-* | --without-* | --x)
1426 case "$ac_configure_args0 " in
1427 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428 esac
1430 -* ) ac_must_keep_next=true ;;
1431 esac
1433 ac_configure_args="$ac_configure_args '$ac_arg'"
1435 esac
1436 done
1437 done
1438 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1439 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1441 # When interrupted or exit'd, cleanup temporary files, and complete
1442 # config.log. We remove comments because anyway the quotes in there
1443 # would cause problems or look ugly.
1444 # WARNING: Use '\'' to represent an apostrophe within the trap.
1445 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1446 trap 'exit_status=$?
1447 # Save into config.log some information that might help in debugging.
1449 echo
1451 cat <<\_ASBOX
1452 ## ---------------- ##
1453 ## Cache variables. ##
1454 ## ---------------- ##
1455 _ASBOX
1456 echo
1457 # The following way of writing the cache mishandles newlines in values,
1459 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1460 eval ac_val=\$$ac_var
1461 case $ac_val in #(
1462 *${as_nl}*)
1463 case $ac_var in #(
1464 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1465 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1466 esac
1467 case $ac_var in #(
1468 _ | IFS | as_nl) ;; #(
1469 *) $as_unset $ac_var ;;
1470 esac ;;
1471 esac
1472 done
1473 (set) 2>&1 |
1474 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1475 *${as_nl}ac_space=\ *)
1476 sed -n \
1477 "s/'\''/'\''\\\\'\'''\''/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479 ;; #(
1481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1483 esac |
1484 sort
1486 echo
1488 cat <<\_ASBOX
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1492 _ASBOX
1493 echo
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=\$$ac_var
1497 case $ac_val in
1498 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1499 esac
1500 echo "$ac_var='\''$ac_val'\''"
1501 done | sort
1502 echo
1504 if test -n "$ac_subst_files"; then
1505 cat <<\_ASBOX
1506 ## ------------------- ##
1507 ## File substitutions. ##
1508 ## ------------------- ##
1509 _ASBOX
1510 echo
1511 for ac_var in $ac_subst_files
1513 eval ac_val=\$$ac_var
1514 case $ac_val in
1515 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1516 esac
1517 echo "$ac_var='\''$ac_val'\''"
1518 done | sort
1519 echo
1522 if test -s confdefs.h; then
1523 cat <<\_ASBOX
1524 ## ----------- ##
1525 ## confdefs.h. ##
1526 ## ----------- ##
1527 _ASBOX
1528 echo
1529 cat confdefs.h
1530 echo
1532 test "$ac_signal" != 0 &&
1533 echo "$as_me: caught signal $ac_signal"
1534 echo "$as_me: exit $exit_status"
1535 } >&5
1536 rm -f core *.core core.conftest.* &&
1537 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538 exit $exit_status
1540 for ac_signal in 1 2 13 15; do
1541 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1542 done
1543 ac_signal=0
1545 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1546 rm -f -r conftest* confdefs.h
1548 # Predefined preprocessor variables.
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 _ACEOF
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 _ACEOF
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 _ACEOF
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 _ACEOF
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 _ACEOF
1575 # Let the site file select an alternate cache file if it wants to.
1576 # Prefer explicitly selected file to automatically selected ones.
1577 if test -n "$CONFIG_SITE"; then
1578 set x "$CONFIG_SITE"
1579 elif test "x$prefix" != xNONE; then
1580 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1581 else
1582 set x "$ac_default_prefix/share/config.site" \
1583 "$ac_default_prefix/etc/config.site"
1585 shift
1586 for ac_site_file
1588 if test -r "$ac_site_file"; then
1589 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1590 echo "$as_me: loading site script $ac_site_file" >&6;}
1591 sed 's/^/| /' "$ac_site_file" >&5
1592 . "$ac_site_file"
1594 done
1596 if test -r "$cache_file"; then
1597 # Some versions of bash will fail to source /dev/null (special
1598 # files actually), so we avoid doing that.
1599 if test -f "$cache_file"; then
1600 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1601 echo "$as_me: loading cache $cache_file" >&6;}
1602 case $cache_file in
1603 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1604 *) . "./$cache_file";;
1605 esac
1607 else
1608 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1609 echo "$as_me: creating cache $cache_file" >&6;}
1610 >$cache_file
1613 # Check that the precious variables saved in the cache have kept the same
1614 # value.
1615 ac_cache_corrupted=false
1616 for ac_var in $ac_precious_vars; do
1617 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1618 eval ac_new_set=\$ac_env_${ac_var}_set
1619 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1620 eval ac_new_val=\$ac_env_${ac_var}_value
1621 case $ac_old_set,$ac_new_set in
1622 set,)
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1626 ,set)
1627 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1628 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1629 ac_cache_corrupted=: ;;
1630 ,);;
1632 if test "x$ac_old_val" != "x$ac_new_val"; then
1633 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1634 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1635 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1636 echo "$as_me: former value: $ac_old_val" >&2;}
1637 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1638 echo "$as_me: current value: $ac_new_val" >&2;}
1639 ac_cache_corrupted=:
1640 fi;;
1641 esac
1642 # Pass precious variables to config.status.
1643 if test "$ac_new_set" = set; then
1644 case $ac_new_val in
1645 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1646 *) ac_arg=$ac_var=$ac_new_val ;;
1647 esac
1648 case " $ac_configure_args " in
1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1650 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1651 esac
1653 done
1654 if $ac_cache_corrupted; then
1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1658 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1659 { (exit 1); exit 1; }; }
1686 ac_ext=c
1687 ac_cpp='$CPP $CPPFLAGS'
1688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696 # Check whether --with-target-subdir was given.
1697 if test "${with_target_subdir+set}" = set; then
1698 withval=$with_target_subdir;
1702 # Check whether --with-cross-host was given.
1703 if test "${with_cross_host+set}" = set; then
1704 withval=$with_cross_host;
1708 # Check whether --with-ld was given.
1709 if test "${with_ld+set}" = set; then
1710 withval=$with_ld;
1714 if test "${srcdir}" = "."; then
1715 if test -n "${with_build_subdir}"; then
1716 libgcc_topdir="${srcdir}/../.."
1717 with_target_subdir=
1718 elif test -z "${with_target_subdir}"; then
1719 libgcc_topdir="${srcdir}/.."
1720 else
1721 if test "${with_target_subdir}" != "."; then
1722 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
1723 else
1724 libgcc_topdir="${srcdir}/${with_multisrctop}.."
1727 else
1728 libgcc_topdir="${srcdir}/.."
1731 ac_aux_dir=
1732 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1733 if test -f "$ac_dir/install-sh"; then
1734 ac_aux_dir=$ac_dir
1735 ac_install_sh="$ac_aux_dir/install-sh -c"
1736 break
1737 elif test -f "$ac_dir/install.sh"; then
1738 ac_aux_dir=$ac_dir
1739 ac_install_sh="$ac_aux_dir/install.sh -c"
1740 break
1741 elif test -f "$ac_dir/shtool"; then
1742 ac_aux_dir=$ac_dir
1743 ac_install_sh="$ac_aux_dir/shtool install -c"
1744 break
1746 done
1747 if test -z "$ac_aux_dir"; then
1748 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" >&5
1749 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" >&2;}
1750 { (exit 1); exit 1; }; }
1753 # These three variables are undocumented and unsupported,
1754 # and are intended to be withdrawn in a future Autoconf release.
1755 # They can cause serious problems if a builder's source tree is in a directory
1756 # whose full name contains unusual characters.
1757 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1758 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1759 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1763 # Check whether --enable-shared was given.
1764 if test "${enable_shared+set}" = set; then
1765 enableval=$enable_shared;
1766 case $enable_shared in
1767 yes | no) ;;
1769 enable_shared=no
1770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1771 for pkg in $enableval; do
1772 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
1773 enable_shared=yes
1775 done
1776 IFS="$ac_save_ifs"
1778 esac
1780 else
1781 enable_shared=yes
1787 # Check whether --with-slibdir was given.
1788 if test "${with_slibdir+set}" = set; then
1789 withval=$with_slibdir; slibdir="$with_slibdir"
1790 else
1791 if test "${enable_version_specific_runtime_libs+set}" = set; then
1792 slibdir='$(libsubdir)'
1793 elif test "$host" != "$target"; then
1794 slibdir='$(build_tooldir)/lib'
1795 else
1796 slibdir='$(libdir)'
1802 # Find a good install program. We prefer a C program (faster),
1803 # so one script is as good as another. But avoid the broken or
1804 # incompatible versions:
1805 # SysV /etc/install, /usr/sbin/install
1806 # SunOS /usr/etc/install
1807 # IRIX /sbin/install
1808 # AIX /bin/install
1809 # AmigaOS /C/install, which installs bootblocks on floppy discs
1810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1813 # OS/2's system install, which has a completely different semantic
1814 # ./install, which can be erroneously created by make from ./install.sh.
1815 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1816 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1817 if test -z "$INSTALL"; then
1818 if test "${ac_cv_path_install+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 else
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 for as_dir in $PATH
1824 IFS=$as_save_IFS
1825 test -z "$as_dir" && as_dir=.
1826 # Account for people who put trailing slashes in PATH elements.
1827 case $as_dir/ in
1828 ./ | .// | /cC/* | \
1829 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1830 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1831 /usr/ucb/* ) ;;
1833 # OSF1 and SCO ODT 3.0 have their own names for install.
1834 # Don't use installbsd from OSF since it installs stuff as root
1835 # by default.
1836 for ac_prog in ginstall scoinst install; do
1837 for ac_exec_ext in '' $ac_executable_extensions; do
1838 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1839 if test $ac_prog = install &&
1840 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1841 # AIX install. It has an incompatible calling convention.
1843 elif test $ac_prog = install &&
1844 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1845 # program-specific install script used by HP pwplus--don't use.
1847 else
1848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849 break 3
1852 done
1853 done
1855 esac
1856 done
1857 IFS=$as_save_IFS
1861 if test "${ac_cv_path_install+set}" = set; then
1862 INSTALL=$ac_cv_path_install
1863 else
1864 # As a last resort, use the slow shell script. Don't cache a
1865 # value for INSTALL within a source directory, because that will
1866 # break other packages using the cache if that directory is
1867 # removed, or if the value is a relative name.
1868 INSTALL=$ac_install_sh
1871 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1872 echo "${ECHO_T}$INSTALL" >&6; }
1874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1875 # It thinks the first close brace ends the variable substitution.
1876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1883 for ac_prog in gawk mawk nawk awk
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy $ac_prog; ac_word=$2
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889 if test "${ac_cv_prog_AWK+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 else
1892 if test -n "$AWK"; then
1893 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1894 else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 for as_dir in $PATH
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1902 ac_cv_prog_AWK="$ac_prog"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 break 2
1906 done
1907 done
1908 IFS=$as_save_IFS
1912 AWK=$ac_cv_prog_AWK
1913 if test -n "$AWK"; then
1914 { echo "$as_me:$LINENO: result: $AWK" >&5
1915 echo "${ECHO_T}$AWK" >&6; }
1916 else
1917 { echo "$as_me:$LINENO: result: no" >&5
1918 echo "${ECHO_T}no" >&6; }
1922 test -n "$AWK" && break
1923 done
1925 # We need awk; bail out if it's missing.
1926 case ${AWK} in
1927 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1928 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1929 { (exit 1); exit 1; }; } ;;
1930 esac
1932 # Make sure we can run config.sub.
1933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1934 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1935 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1936 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: checking build system type" >&5
1939 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1940 if test "${ac_cv_build+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 else
1943 ac_build_alias=$build_alias
1944 test "x$ac_build_alias" = x &&
1945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1946 test "x$ac_build_alias" = x &&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1951 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1952 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1953 { (exit 1); exit 1; }; }
1956 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1957 echo "${ECHO_T}$ac_cv_build" >&6; }
1958 case $ac_cv_build in
1959 *-*-*) ;;
1960 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1961 echo "$as_me: error: invalid value of canonical build" >&2;}
1962 { (exit 1); exit 1; }; };;
1963 esac
1964 build=$ac_cv_build
1965 ac_save_IFS=$IFS; IFS='-'
1966 set x $ac_cv_build
1967 shift
1968 build_cpu=$1
1969 build_vendor=$2
1970 shift; shift
1971 # Remember, the first character of IFS is used to create $*,
1972 # except with old shells:
1973 build_os=$*
1974 IFS=$ac_save_IFS
1975 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1978 { echo "$as_me:$LINENO: checking host system type" >&5
1979 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_host+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 else
1983 if test "x$host_alias" = x; then
1984 ac_cv_host=$ac_cv_build
1985 else
1986 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1987 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1988 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1989 { (exit 1); exit 1; }; }
1993 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1994 echo "${ECHO_T}$ac_cv_host" >&6; }
1995 case $ac_cv_host in
1996 *-*-*) ;;
1997 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1998 echo "$as_me: error: invalid value of canonical host" >&2;}
1999 { (exit 1); exit 1; }; };;
2000 esac
2001 host=$ac_cv_host
2002 ac_save_IFS=$IFS; IFS='-'
2003 set x $ac_cv_host
2004 shift
2005 host_cpu=$1
2006 host_vendor=$2
2007 shift; shift
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2010 host_os=$*
2011 IFS=$ac_save_IFS
2012 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2015 case ${build_alias} in
2016 "") build_noncanonical=${build} ;;
2017 *) build_noncanonical=${build_alias} ;;
2018 esac
2020 case ${host_alias} in
2021 "") host_noncanonical=${build_noncanonical} ;;
2022 *) host_noncanonical=${host_alias} ;;
2023 esac
2027 case ${target_alias} in
2028 "") target_noncanonical=${host_noncanonical} ;;
2029 *) target_noncanonical=${target_alias} ;;
2030 esac
2033 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2034 # have matching libraries, they should use host libraries: Makefile.tpl
2035 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2036 # However, they still use the build modules, because the corresponding
2037 # host modules (e.g. bison) are only built for the host when bootstrap
2038 # finishes. So:
2039 # - build_subdir is where we find build modules, and never changes.
2040 # - build_libsubdir is where we find build libraries, and can be overridden.
2042 # Prefix 'build-' so this never conflicts with target_subdir.
2043 build_subdir="build-${build_noncanonical}"
2045 # Check whether --with-build-libsubdir was given.
2046 if test "${with_build_libsubdir+set}" = set; then
2047 withval=$with_build_libsubdir; build_libsubdir="$withval"
2048 else
2049 build_libsubdir="$build_subdir"
2052 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2053 if ( test $srcdir = . && test -d gcc ) \
2054 || test -d $srcdir/../host-${host_noncanonical}; then
2055 host_subdir="host-${host_noncanonical}"
2056 else
2057 host_subdir=.
2059 # No prefix.
2060 target_subdir=${target_noncanonical}
2063 if test -n "$ac_tool_prefix"; then
2064 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2065 set dummy ${ac_tool_prefix}ar; ac_word=$2
2066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2068 if test "${ac_cv_prog_AR+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 else
2071 if test -n "$AR"; then
2072 ac_cv_prog_AR="$AR" # Let the user override the test.
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_AR="${ac_tool_prefix}ar"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 break 2
2085 done
2086 done
2087 IFS=$as_save_IFS
2091 AR=$ac_cv_prog_AR
2092 if test -n "$AR"; then
2093 { echo "$as_me:$LINENO: result: $AR" >&5
2094 echo "${ECHO_T}$AR" >&6; }
2095 else
2096 { echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6; }
2102 if test -z "$ac_cv_prog_AR"; then
2103 ac_ct_AR=$AR
2104 # Extract the first word of "ar", so it can be a program name with args.
2105 set dummy ar; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 else
2111 if test -n "$ac_ct_AR"; then
2112 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2113 else
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 for as_dir in $PATH
2117 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_ac_ct_AR="ar"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 break 2
2125 done
2126 done
2127 IFS=$as_save_IFS
2131 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2132 if test -n "$ac_ct_AR"; then
2133 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2134 echo "${ECHO_T}$ac_ct_AR" >&6; }
2135 else
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2140 if test "x$ac_ct_AR" = x; then
2141 AR=""
2142 else
2143 case $cross_compiling:$ac_tool_warned in
2144 yes:)
2145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2146 whose name does not start with the host triplet. If you think this
2147 configuration is useful to you, please write to autoconf@gnu.org." >&5
2148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2151 ac_tool_warned=yes ;;
2152 esac
2153 AR=$ac_ct_AR
2155 else
2156 AR="$ac_cv_prog_AR"
2159 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2161 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164 if test "${ac_cv_prog_LIPO+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test -n "$LIPO"; then
2168 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2169 else
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2173 IFS=$as_save_IFS
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 break 2
2181 done
2182 done
2183 IFS=$as_save_IFS
2187 LIPO=$ac_cv_prog_LIPO
2188 if test -n "$LIPO"; then
2189 { echo "$as_me:$LINENO: result: $LIPO" >&5
2190 echo "${ECHO_T}$LIPO" >&6; }
2191 else
2192 { echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6; }
2198 if test -z "$ac_cv_prog_LIPO"; then
2199 ac_ct_LIPO=$LIPO
2200 # Extract the first word of "lipo", so it can be a program name with args.
2201 set dummy lipo; ac_word=$2
2202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2204 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 else
2207 if test -n "$ac_ct_LIPO"; then
2208 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2209 else
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_ac_ct_LIPO="lipo"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2223 IFS=$as_save_IFS
2227 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2228 if test -n "$ac_ct_LIPO"; then
2229 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
2230 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
2231 else
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2236 if test "x$ac_ct_LIPO" = x; then
2237 LIPO=":"
2238 else
2239 case $cross_compiling:$ac_tool_warned in
2240 yes:)
2241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&5
2244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2245 whose name does not start with the host triplet. If you think this
2246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2247 ac_tool_warned=yes ;;
2248 esac
2249 LIPO=$ac_ct_LIPO
2251 else
2252 LIPO="$ac_cv_prog_LIPO"
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2257 set dummy ${ac_tool_prefix}nm; ac_word=$2
2258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2260 if test "${ac_cv_prog_NM+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 else
2263 if test -n "$NM"; then
2264 ac_cv_prog_NM="$NM" # Let the user override the test.
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2269 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273 ac_cv_prog_NM="${ac_tool_prefix}nm"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 break 2
2277 done
2278 done
2279 IFS=$as_save_IFS
2283 NM=$ac_cv_prog_NM
2284 if test -n "$NM"; then
2285 { echo "$as_me:$LINENO: result: $NM" >&5
2286 echo "${ECHO_T}$NM" >&6; }
2287 else
2288 { echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6; }
2294 if test -z "$ac_cv_prog_NM"; then
2295 ac_ct_NM=$NM
2296 # Extract the first word of "nm", so it can be a program name with args.
2297 set dummy nm; ac_word=$2
2298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2300 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 else
2303 if test -n "$ac_ct_NM"; then
2304 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2305 else
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2309 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_ac_ct_NM="nm"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 break 2
2317 done
2318 done
2319 IFS=$as_save_IFS
2323 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2324 if test -n "$ac_ct_NM"; then
2325 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2326 echo "${ECHO_T}$ac_ct_NM" >&6; }
2327 else
2328 { echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6; }
2332 if test "x$ac_ct_NM" = x; then
2333 NM=""
2334 else
2335 case $cross_compiling:$ac_tool_warned in
2336 yes:)
2337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2338 whose name does not start with the host triplet. If you think this
2339 configuration is useful to you, please write to autoconf@gnu.org." >&5
2340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2341 whose name does not start with the host triplet. If you think this
2342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2343 ac_tool_warned=yes ;;
2344 esac
2345 NM=$ac_ct_NM
2347 else
2348 NM="$ac_cv_prog_NM"
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_RANLIB+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 else
2359 if test -n "$RANLIB"; then
2360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2361 else
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 for as_dir in $PATH
2365 IFS=$as_save_IFS
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 break 2
2373 done
2374 done
2375 IFS=$as_save_IFS
2379 RANLIB=$ac_cv_prog_RANLIB
2380 if test -n "$RANLIB"; then
2381 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2382 echo "${ECHO_T}$RANLIB" >&6; }
2383 else
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$ac_cv_prog_RANLIB"; then
2391 ac_ct_RANLIB=$RANLIB
2392 # Extract the first word of "ranlib", so it can be a program name with args.
2393 set dummy ranlib; ac_word=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 else
2399 if test -n "$ac_ct_RANLIB"; then
2400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_RANLIB="ranlib"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2413 done
2414 done
2415 IFS=$as_save_IFS
2419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2420 if test -n "$ac_ct_RANLIB"; then
2421 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2422 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2423 else
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2428 if test "x$ac_ct_RANLIB" = x; then
2429 RANLIB=":"
2430 else
2431 case $cross_compiling:$ac_tool_warned in
2432 yes:)
2433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&5
2436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2437 whose name does not start with the host triplet. If you think this
2438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2439 ac_tool_warned=yes ;;
2440 esac
2441 RANLIB=$ac_ct_RANLIB
2443 else
2444 RANLIB="$ac_cv_prog_RANLIB"
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}strip; ac_word=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_STRIP+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 else
2455 if test -n "$STRIP"; then
2456 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2475 STRIP=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477 { echo "$as_me:$LINENO: result: $STRIP" >&5
2478 echo "${ECHO_T}$STRIP" >&6; }
2479 else
2480 { echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6; }
2486 if test -z "$ac_cv_prog_STRIP"; then
2487 ac_ct_STRIP=$STRIP
2488 # Extract the first word of "strip", so it can be a program name with args.
2489 set dummy strip; ac_word=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$ac_ct_STRIP"; then
2496 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2516 if test -n "$ac_ct_STRIP"; then
2517 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2518 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2519 else
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2524 if test "x$ac_ct_STRIP" = x; then
2525 STRIP=":"
2526 else
2527 case $cross_compiling:$ac_tool_warned in
2528 yes:)
2529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2530 whose name does not start with the host triplet. If you think this
2531 configuration is useful to you, please write to autoconf@gnu.org." >&5
2532 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2533 whose name does not start with the host triplet. If you think this
2534 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2535 ac_tool_warned=yes ;;
2536 esac
2537 STRIP=$ac_ct_STRIP
2539 else
2540 STRIP="$ac_cv_prog_STRIP"
2543 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2544 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2545 LN_S=$as_ln_s
2546 if test "$LN_S" = "ln -s"; then
2547 { echo "$as_me:$LINENO: result: yes" >&5
2548 echo "${ECHO_T}yes" >&6; }
2549 else
2550 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2551 echo "${ECHO_T}no, using $LN_S" >&6; }
2556 ac_ext=c
2557 ac_cpp='$CPP $CPPFLAGS'
2558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2563 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 else
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC="$CC" # Let the user override the test.
2571 else
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 for as_dir in $PATH
2575 IFS=$as_save_IFS
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 break 2
2583 done
2584 done
2585 IFS=$as_save_IFS
2589 CC=$ac_cv_prog_CC
2590 if test -n "$CC"; then
2591 { echo "$as_me:$LINENO: result: $CC" >&5
2592 echo "${ECHO_T}$CC" >&6; }
2593 else
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2600 if test -z "$ac_cv_prog_CC"; then
2601 ac_ct_CC=$CC
2602 # Extract the first word of "gcc", so it can be a program name with args.
2603 set dummy gcc; ac_word=$2
2604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 if test -n "$ac_ct_CC"; then
2610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_CC="gcc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2625 IFS=$as_save_IFS
2629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2630 if test -n "$ac_ct_CC"; then
2631 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2632 echo "${ECHO_T}$ac_ct_CC" >&6; }
2633 else
2634 { echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6; }
2638 if test "x$ac_ct_CC" = x; then
2639 CC=""
2640 else
2641 case $cross_compiling:$ac_tool_warned in
2642 yes:)
2643 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2644 whose name does not start with the host triplet. If you think this
2645 configuration is useful to you, please write to autoconf@gnu.org." >&5
2646 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2647 whose name does not start with the host triplet. If you think this
2648 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2649 ac_tool_warned=yes ;;
2650 esac
2651 CC=$ac_ct_CC
2653 else
2654 CC="$ac_cv_prog_CC"
2657 if test -z "$CC"; then
2658 if test -n "$ac_tool_prefix"; then
2659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2660 set dummy ${ac_tool_prefix}cc; ac_word=$2
2661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_CC+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666 if test -n "$CC"; then
2667 ac_cv_prog_CC="$CC" # Let the user override the test.
2668 else
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 for as_dir in $PATH
2672 IFS=$as_save_IFS
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676 ac_cv_prog_CC="${ac_tool_prefix}cc"
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 break 2
2680 done
2681 done
2682 IFS=$as_save_IFS
2686 CC=$ac_cv_prog_CC
2687 if test -n "$CC"; then
2688 { echo "$as_me:$LINENO: result: $CC" >&5
2689 echo "${ECHO_T}$CC" >&6; }
2690 else
2691 { echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6; }
2698 if test -z "$CC"; then
2699 # Extract the first word of "cc", so it can be a program name with args.
2700 set dummy cc; ac_word=$2
2701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2703 if test "${ac_cv_prog_CC+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 else
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2708 else
2709 ac_prog_rejected=no
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 for as_dir in $PATH
2713 IFS=$as_save_IFS
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2718 ac_prog_rejected=yes
2719 continue
2721 ac_cv_prog_CC="cc"
2722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 break 2
2725 done
2726 done
2727 IFS=$as_save_IFS
2729 if test $ac_prog_rejected = yes; then
2730 # We found a bogon in the path, so make sure we never use it.
2731 set dummy $ac_cv_prog_CC
2732 shift
2733 if test $# != 0; then
2734 # We chose a different compiler from the bogus one.
2735 # However, it has the same basename, so the bogon will be chosen
2736 # first if we set CC to just the basename; use the full file name.
2737 shift
2738 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2743 CC=$ac_cv_prog_CC
2744 if test -n "$CC"; then
2745 { echo "$as_me:$LINENO: result: $CC" >&5
2746 echo "${ECHO_T}$CC" >&6; }
2747 else
2748 { echo "$as_me:$LINENO: result: no" >&5
2749 echo "${ECHO_T}no" >&6; }
2754 if test -z "$CC"; then
2755 if test -n "$ac_tool_prefix"; then
2756 for ac_prog in cl.exe
2758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2762 if test "${ac_cv_prog_CC+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 else
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2767 else
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 for as_dir in $PATH
2771 IFS=$as_save_IFS
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 break 2
2779 done
2780 done
2781 IFS=$as_save_IFS
2785 CC=$ac_cv_prog_CC
2786 if test -n "$CC"; then
2787 { echo "$as_me:$LINENO: result: $CC" >&5
2788 echo "${ECHO_T}$CC" >&6; }
2789 else
2790 { echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6; }
2795 test -n "$CC" && break
2796 done
2798 if test -z "$CC"; then
2799 ac_ct_CC=$CC
2800 for ac_prog in cl.exe
2802 # Extract the first word of "$ac_prog", so it can be a program name with args.
2803 set dummy $ac_prog; ac_word=$2
2804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 else
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC="$ac_prog"
2820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2823 done
2824 done
2825 IFS=$as_save_IFS
2829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2832 echo "${ECHO_T}$ac_ct_CC" >&6; }
2833 else
2834 { echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6; }
2839 test -n "$ac_ct_CC" && break
2840 done
2842 if test "x$ac_ct_CC" = x; then
2843 CC=""
2844 else
2845 case $cross_compiling:$ac_tool_warned in
2846 yes:)
2847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2848 whose name does not start with the host triplet. If you think this
2849 configuration is useful to you, please write to autoconf@gnu.org." >&5
2850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2851 whose name does not start with the host triplet. If you think this
2852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2853 ac_tool_warned=yes ;;
2854 esac
2855 CC=$ac_ct_CC
2862 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: no acceptable C compiler found in \$PATH
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2868 # Provide some information about the compiler.
2869 echo "$as_me:$LINENO: checking for C compiler version" >&5
2870 ac_compiler=`set X $ac_compile; echo $2`
2871 { (ac_try="$ac_compiler --version >&5"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2877 (eval "$ac_compiler --version >&5") 2>&5
2878 ac_status=$?
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }
2881 { (ac_try="$ac_compiler -v >&5"
2882 case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compiler -v >&5") 2>&5
2888 ac_status=$?
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2891 { (ac_try="$ac_compiler -V >&5"
2892 case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compiler -V >&5") 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }
2902 cat >conftest.$ac_ext <<_ACEOF
2903 /* confdefs.h. */
2904 _ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2910 main ()
2914 return 0;
2916 _ACEOF
2917 # FIXME: Cleanup?
2918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2919 (eval $ac_link) 2>&5
2920 ac_status=$?
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; then
2923 gcc_no_link=no
2924 else
2925 gcc_no_link=yes
2928 if test x$gcc_no_link = xyes; then
2929 # Setting cross_compile will disable run tests; it will
2930 # also disable AC_CHECK_FILE but that's generally
2931 # correct if we can't link.
2932 cross_compiling=yes
2933 EXEEXT=
2934 else
2935 cat >conftest.$ac_ext <<_ACEOF
2936 /* confdefs.h. */
2937 _ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2943 main ()
2947 return 0;
2949 _ACEOF
2950 ac_clean_files_save=$ac_clean_files
2951 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2952 # Try to create an executable without -o first, disregard a.out.
2953 # It will help us diagnose broken compilers, and finding out an intuition
2954 # of exeext.
2955 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2956 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2957 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2959 # List of possible output files, starting from the most likely.
2960 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2961 # only as a last resort. b.out is created by i960 compilers.
2962 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2964 # The IRIX 6 linker writes into existing files which may not be
2965 # executable, retaining their permissions. Remove them first so a
2966 # subsequent execution test works.
2967 ac_rmfiles=
2968 for ac_file in $ac_files
2970 case $ac_file in
2971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2972 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2973 esac
2974 done
2975 rm -f $ac_rmfiles
2977 if { (ac_try="$ac_link_default"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_link_default") 2>&5
2984 ac_status=$?
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; then
2987 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2988 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2989 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2990 # so that the user can short-circuit this test for compilers unknown to
2991 # Autoconf.
2992 for ac_file in $ac_files ''
2994 test -f "$ac_file" || continue
2995 case $ac_file in
2996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2998 [ab].out )
2999 # We found the default executable, but exeext='' is most
3000 # certainly right.
3001 break;;
3002 *.* )
3003 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3004 then :; else
3005 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3007 # We set ac_cv_exeext here because the later test for it is not
3008 # safe: cross compilers may not add the suffix if given an `-o'
3009 # argument, so we may need to know it at that point already.
3010 # Even if this section looks crufty: it has the advantage of
3011 # actually working.
3012 break;;
3014 break;;
3015 esac
3016 done
3017 test "$ac_cv_exeext" = no && ac_cv_exeext=
3019 else
3020 ac_file=''
3023 { echo "$as_me:$LINENO: result: $ac_file" >&5
3024 echo "${ECHO_T}$ac_file" >&6; }
3025 if test -z "$ac_file"; then
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3029 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: C compiler cannot create executables
3032 See \`config.log' for more details." >&2;}
3033 { (exit 77); exit 77; }; }
3036 ac_exeext=$ac_cv_exeext
3038 # Check that the compiler produces executables we can run. If not, either
3039 # the compiler is broken, or we cross compile.
3040 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3041 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3042 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3043 # If not cross compiling, check that we can run a simple program.
3044 if test "$cross_compiling" != yes; then
3045 if { ac_try='./$ac_file'
3046 { (case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_try") 2>&5
3052 ac_status=$?
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 cross_compiling=no
3056 else
3057 if test "$cross_compiling" = maybe; then
3058 cross_compiling=yes
3059 else
3060 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3061 If you meant to cross compile, use \`--host'.
3062 See \`config.log' for more details." >&5
3063 echo "$as_me: error: cannot run C compiled programs.
3064 If you meant to cross compile, use \`--host'.
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3070 { echo "$as_me:$LINENO: result: yes" >&5
3071 echo "${ECHO_T}yes" >&6; }
3073 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3074 ac_clean_files=$ac_clean_files_save
3075 # Check that the compiler produces executables we can run. If not, either
3076 # the compiler is broken, or we cross compile.
3077 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3078 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3079 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3080 echo "${ECHO_T}$cross_compiling" >&6; }
3082 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3083 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3084 if { (ac_try="$ac_link"
3085 case "(($ac_try" in
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3088 esac
3089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_link") 2>&5
3091 ac_status=$?
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; then
3094 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3095 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3096 # work properly (i.e., refer to `conftest.exe'), while it won't with
3097 # `rm'.
3098 for ac_file in conftest.exe conftest conftest.*; do
3099 test -f "$ac_file" || continue
3100 case $ac_file in
3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3102 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103 break;;
3104 * ) break;;
3105 esac
3106 done
3107 else
3108 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3109 See \`config.log' for more details." >&5
3110 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3115 rm -f conftest$ac_cv_exeext
3116 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3117 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3119 rm -f conftest.$ac_ext
3120 EXEEXT=$ac_cv_exeext
3121 ac_exeext=$EXEEXT
3123 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3124 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3125 if test "${ac_cv_objext+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 else
3128 cat >conftest.$ac_ext <<_ACEOF
3129 /* confdefs.h. */
3130 _ACEOF
3131 cat confdefs.h >>conftest.$ac_ext
3132 cat >>conftest.$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3136 main ()
3140 return 0;
3142 _ACEOF
3143 rm -f conftest.o conftest.obj
3144 if { (ac_try="$ac_compile"
3145 case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compile") 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; then
3154 for ac_file in conftest.o conftest.obj conftest.*; do
3155 test -f "$ac_file" || continue;
3156 case $ac_file in
3157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3158 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3159 break;;
3160 esac
3161 done
3162 else
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3167 See \`config.log' for more details." >&5
3168 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3169 See \`config.log' for more details." >&2;}
3170 { (exit 1); exit 1; }; }
3173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3175 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3176 echo "${ECHO_T}$ac_cv_objext" >&6; }
3177 OBJEXT=$ac_cv_objext
3178 ac_objext=$OBJEXT
3179 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3180 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3181 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 else
3184 cat >conftest.$ac_ext <<_ACEOF
3185 /* confdefs.h. */
3186 _ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3192 main ()
3194 #ifndef __GNUC__
3195 choke me
3196 #endif
3199 return 0;
3201 _ACEOF
3202 rm -f conftest.$ac_objext
3203 if { (ac_try="$ac_compile"
3204 case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207 esac
3208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3210 ac_status=$?
3211 grep -v '^ *+' conftest.er1 >conftest.err
3212 rm -f conftest.er1
3213 cat conftest.err >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3219 ac_compiler_gnu=yes
3220 else
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_compiler_gnu=no
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3232 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3233 GCC=`test $ac_compiler_gnu = yes && echo yes`
3234 ac_test_CFLAGS=${CFLAGS+set}
3235 ac_save_CFLAGS=$CFLAGS
3236 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3237 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3238 if test "${ac_cv_prog_cc_g+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 else
3241 ac_save_c_werror_flag=$ac_c_werror_flag
3242 ac_c_werror_flag=yes
3243 ac_cv_prog_cc_g=no
3244 CFLAGS="-g"
3245 cat >conftest.$ac_ext <<_ACEOF
3246 /* confdefs.h. */
3247 _ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3253 main ()
3257 return 0;
3259 _ACEOF
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3262 case "(($ac_try" in
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3265 esac
3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267 (eval "$ac_compile") 2>conftest.er1
3268 ac_status=$?
3269 grep -v '^ *+' conftest.er1 >conftest.err
3270 rm -f conftest.er1
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } && {
3274 test -z "$ac_c_werror_flag" ||
3275 test ! -s conftest.err
3276 } && test -s conftest.$ac_objext; then
3277 ac_cv_prog_cc_g=yes
3278 else
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3282 CFLAGS=""
3283 cat >conftest.$ac_ext <<_ACEOF
3284 /* confdefs.h. */
3285 _ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3291 main ()
3295 return 0;
3297 _ACEOF
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3300 case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3303 esac
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3306 ac_status=$?
3307 grep -v '^ *+' conftest.er1 >conftest.err
3308 rm -f conftest.er1
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 ac_c_werror_flag=$ac_save_c_werror_flag
3321 CFLAGS="-g"
3322 cat >conftest.$ac_ext <<_ACEOF
3323 /* confdefs.h. */
3324 _ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3330 main ()
3334 return 0;
3336 _ACEOF
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3339 case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_compile") 2>conftest.er1
3345 ac_status=$?
3346 grep -v '^ *+' conftest.er1 >conftest.err
3347 rm -f conftest.er1
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } && {
3351 test -z "$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3353 } && test -s conftest.$ac_objext; then
3354 ac_cv_prog_cc_g=yes
3355 else
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_c_werror_flag=$ac_save_c_werror_flag
3371 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3372 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3373 if test "$ac_test_CFLAGS" = set; then
3374 CFLAGS=$ac_save_CFLAGS
3375 elif test $ac_cv_prog_cc_g = yes; then
3376 if test "$GCC" = yes; then
3377 CFLAGS="-g -O2"
3378 else
3379 CFLAGS="-g"
3381 else
3382 if test "$GCC" = yes; then
3383 CFLAGS="-O2"
3384 else
3385 CFLAGS=
3388 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3389 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3390 if test "${ac_cv_prog_cc_c89+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 else
3393 ac_cv_prog_cc_c89=no
3394 ac_save_CC=$CC
3395 cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h. */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3401 #include <stdarg.h>
3402 #include <stdio.h>
3403 #include <sys/types.h>
3404 #include <sys/stat.h>
3405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3406 struct buf { int x; };
3407 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408 static char *e (p, i)
3409 char **p;
3410 int i;
3412 return p[i];
3414 static char *f (char * (*g) (char **, int), char **p, ...)
3416 char *s;
3417 va_list v;
3418 va_start (v,p);
3419 s = g (p, va_arg (v,int));
3420 va_end (v);
3421 return s;
3424 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3425 function prototypes and stuff, but not '\xHH' hex character constants.
3426 These don't provoke an error unfortunately, instead are silently treated
3427 as 'x'. The following induces an error, until -std is added to get
3428 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3429 array size at least. It's necessary to write '\x00'==0 to get something
3430 that's true only with -std. */
3431 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3433 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3434 inside strings and character constants. */
3435 #define FOO(x) 'x'
3436 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3438 int test (int i, double x);
3439 struct s1 {int (*f) (int a);};
3440 struct s2 {int (*f) (double a);};
3441 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442 int argc;
3443 char **argv;
3445 main ()
3447 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3449 return 0;
3451 _ACEOF
3452 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3453 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455 CC="$ac_save_CC $ac_arg"
3456 rm -f conftest.$ac_objext
3457 if { (ac_try="$ac_compile"
3458 case "(($ac_try" in
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3461 esac
3462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463 (eval "$ac_compile") 2>conftest.er1
3464 ac_status=$?
3465 grep -v '^ *+' conftest.er1 >conftest.err
3466 rm -f conftest.er1
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } && {
3470 test -z "$ac_c_werror_flag" ||
3471 test ! -s conftest.err
3472 } && test -s conftest.$ac_objext; then
3473 ac_cv_prog_cc_c89=$ac_arg
3474 else
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3481 rm -f core conftest.err conftest.$ac_objext
3482 test "x$ac_cv_prog_cc_c89" != "xno" && break
3483 done
3484 rm -f conftest.$ac_ext
3485 CC=$ac_save_CC
3488 # AC_CACHE_VAL
3489 case "x$ac_cv_prog_cc_c89" in
3491 { echo "$as_me:$LINENO: result: none needed" >&5
3492 echo "${ECHO_T}none needed" >&6; } ;;
3493 xno)
3494 { echo "$as_me:$LINENO: result: unsupported" >&5
3495 echo "${ECHO_T}unsupported" >&6; } ;;
3497 CC="$CC $ac_cv_prog_cc_c89"
3498 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3499 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3500 esac
3503 ac_ext=c
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3509 ac_ext=c
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3515 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3516 # On Suns, sometimes $CPP names a directory.
3517 if test -n "$CPP" && test -d "$CPP"; then
3518 CPP=
3520 if test -z "$CPP"; then
3521 if test "${ac_cv_prog_CPP+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 else
3524 # Double quotes because CPP needs to be expanded
3525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3527 ac_preproc_ok=false
3528 for ac_c_preproc_warn_flag in '' yes
3530 # Use a header file that comes with gcc, so configuring glibc
3531 # with a fresh cross-compiler works.
3532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3533 # <limits.h> exists even on freestanding compilers.
3534 # On the NeXT, cc -E runs the code through the compiler's parser,
3535 # not just through cpp. "Syntax error" is here to catch this case.
3536 cat >conftest.$ac_ext <<_ACEOF
3537 /* confdefs.h. */
3538 _ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3542 #ifdef __STDC__
3543 # include <limits.h>
3544 #else
3545 # include <assert.h>
3546 #endif
3547 Syntax error
3548 _ACEOF
3549 if { (ac_try="$ac_cpp conftest.$ac_ext"
3550 case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3553 esac
3554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3556 ac_status=$?
3557 grep -v '^ *+' conftest.er1 >conftest.err
3558 rm -f conftest.er1
3559 cat conftest.err >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } >/dev/null && {
3562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3563 test ! -s conftest.err
3564 }; then
3566 else
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Broken: fails on valid input.
3571 continue
3574 rm -f conftest.err conftest.$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat >conftest.$ac_ext <<_ACEOF
3579 /* confdefs.h. */
3580 _ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3585 _ACEOF
3586 if { (ac_try="$ac_cpp conftest.$ac_ext"
3587 case "(($ac_try" in
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3590 esac
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3593 ac_status=$?
3594 grep -v '^ *+' conftest.er1 >conftest.err
3595 rm -f conftest.er1
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } >/dev/null && {
3599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3600 test ! -s conftest.err
3601 }; then
3602 # Broken: success on invalid input.
3603 continue
3604 else
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Passes both tests.
3609 ac_preproc_ok=:
3610 break
3613 rm -f conftest.err conftest.$ac_ext
3615 done
3616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3617 rm -f conftest.err conftest.$ac_ext
3618 if $ac_preproc_ok; then
3619 break
3622 done
3623 ac_cv_prog_CPP=$CPP
3626 CPP=$ac_cv_prog_CPP
3627 else
3628 ac_cv_prog_CPP=$CPP
3630 { echo "$as_me:$LINENO: result: $CPP" >&5
3631 echo "${ECHO_T}$CPP" >&6; }
3632 ac_preproc_ok=false
3633 for ac_c_preproc_warn_flag in '' yes
3635 # Use a header file that comes with gcc, so configuring glibc
3636 # with a fresh cross-compiler works.
3637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3638 # <limits.h> exists even on freestanding compilers.
3639 # On the NeXT, cc -E runs the code through the compiler's parser,
3640 # not just through cpp. "Syntax error" is here to catch this case.
3641 cat >conftest.$ac_ext <<_ACEOF
3642 /* confdefs.h. */
3643 _ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3647 #ifdef __STDC__
3648 # include <limits.h>
3649 #else
3650 # include <assert.h>
3651 #endif
3652 Syntax error
3653 _ACEOF
3654 if { (ac_try="$ac_cpp conftest.$ac_ext"
3655 case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3658 esac
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3661 ac_status=$?
3662 grep -v '^ *+' conftest.er1 >conftest.err
3663 rm -f conftest.er1
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } >/dev/null && {
3667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3669 }; then
3671 else
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 # Broken: fails on valid input.
3676 continue
3679 rm -f conftest.err conftest.$ac_ext
3681 # OK, works on sane cases. Now check whether nonexistent headers
3682 # can be detected and how.
3683 cat >conftest.$ac_ext <<_ACEOF
3684 /* confdefs.h. */
3685 _ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 #include <ac_nonexistent.h>
3690 _ACEOF
3691 if { (ac_try="$ac_cpp conftest.$ac_ext"
3692 case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3695 esac
3696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3698 ac_status=$?
3699 grep -v '^ *+' conftest.er1 >conftest.err
3700 rm -f conftest.er1
3701 cat conftest.err >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } >/dev/null && {
3704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3705 test ! -s conftest.err
3706 }; then
3707 # Broken: success on invalid input.
3708 continue
3709 else
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.$ac_ext >&5
3713 # Passes both tests.
3714 ac_preproc_ok=:
3715 break
3718 rm -f conftest.err conftest.$ac_ext
3720 done
3721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3722 rm -f conftest.err conftest.$ac_ext
3723 if $ac_preproc_ok; then
3725 else
3726 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3727 See \`config.log' for more details." >&5
3728 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3729 See \`config.log' for more details." >&2;}
3730 { (exit 1); exit 1; }; }
3733 ac_ext=c
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3740 ac_c_preproc_warn_flag=yes
3742 # Check for decimal float support.
3744 { echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3745 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6; }
3746 if test "${libgcc_cv_dfp+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 else
3749 cat >conftest.$ac_ext <<_ACEOF
3750 _Decimal32 x;
3751 _ACEOF
3752 rm -f conftest.$ac_objext
3753 if { (ac_try="$ac_compile"
3754 case "(($ac_try" in
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3757 esac
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_compile") 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } && {
3766 test -z "$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3768 } && test -s conftest.$ac_objext; then
3769 libgcc_cv_dfp=yes
3770 else
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 libgcc_cv_dfp=no
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 { echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3780 echo "${ECHO_T}$libgcc_cv_dfp" >&6; }
3781 decimal_float=$libgcc_cv_dfp
3784 # Collect host-machine-specific information.
3785 . ${srcdir}/config.host
3787 # Check for visibility support. This is after config.host so that
3788 # we can check for asm_hidden_op.
3789 { echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3790 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6; }
3791 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 else
3795 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3796 libgcc_cv_hidden_visibility_attribute=no
3797 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 (eval $ac_try) 2>&5
3800 ac_status=$?
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3804 libgcc_cv_hidden_visibility_attribute=yes
3807 rm -f conftest.*
3810 { echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3811 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6; }
3813 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3814 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
3815 else
3816 vis_hide=
3820 # Conditionalize the makefile for this target machine.
3821 tmake_file_=
3822 for f in ${tmake_file}
3824 if test -f ${srcdir}/config/$f
3825 then
3826 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3828 done
3829 tmake_file="${tmake_file_}"
3832 # Substitute configuration variables
3836 # We need multilib support.
3837 ac_config_files="$ac_config_files Makefile"
3839 ac_config_commands="$ac_config_commands default"
3841 cat >confcache <<\_ACEOF
3842 # This file is a shell script that caches the results of configure
3843 # tests run on this system so they can be shared between configure
3844 # scripts and configure runs, see configure's option --config-cache.
3845 # It is not useful on other systems. If it contains results you don't
3846 # want to keep, you may remove or edit it.
3848 # config.status only pays attention to the cache file if you give it
3849 # the --recheck option to rerun configure.
3851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3853 # following values.
3855 _ACEOF
3857 # The following way of writing the cache mishandles newlines in values,
3858 # but we know of no workaround that is simple, portable, and efficient.
3859 # So, we kill variables containing newlines.
3860 # Ultrix sh set writes to stderr and can't be redirected directly,
3861 # and sets the high bit in the cache file unless we assign to the vars.
3863 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3864 eval ac_val=\$$ac_var
3865 case $ac_val in #(
3866 *${as_nl}*)
3867 case $ac_var in #(
3868 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3869 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3870 esac
3871 case $ac_var in #(
3872 _ | IFS | as_nl) ;; #(
3873 *) $as_unset $ac_var ;;
3874 esac ;;
3875 esac
3876 done
3878 (set) 2>&1 |
3879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3880 *${as_nl}ac_space=\ *)
3881 # `set' does not quote correctly, so add quotes (double-quote
3882 # substitution turns \\\\ into \\, and sed turns \\ into \).
3883 sed -n \
3884 "s/'/'\\\\''/g;
3885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3886 ;; #(
3888 # `set' quotes correctly as required by POSIX, so do not add quotes.
3889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3891 esac |
3892 sort
3894 sed '
3895 /^ac_cv_env_/b end
3896 t clear
3897 :clear
3898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3899 t end
3900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3901 :end' >>confcache
3902 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3903 if test -w "$cache_file"; then
3904 test "x$cache_file" != "x/dev/null" &&
3905 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3906 echo "$as_me: updating cache $cache_file" >&6;}
3907 cat confcache >$cache_file
3908 else
3909 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3910 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3913 rm -f confcache
3915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3916 # Let make expand exec_prefix.
3917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3919 # Transform confdefs.h into DEFS.
3920 # Protect against shell expansion while executing Makefile rules.
3921 # Protect against Makefile macro expansion.
3923 # If the first sed substitution is executed (which looks for macros that
3924 # take arguments), then branch to the quote section. Otherwise,
3925 # look for a macro that doesn't take arguments.
3926 ac_script='
3927 t clear
3928 :clear
3929 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3930 t quote
3931 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3932 t quote
3933 b any
3934 :quote
3935 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3936 s/\[/\\&/g
3937 s/\]/\\&/g
3938 s/\$/$$/g
3940 :any
3943 s/^\n//
3944 s/\n/ /g
3948 DEFS=`sed -n "$ac_script" confdefs.h`
3951 ac_libobjs=
3952 ac_ltlibobjs=
3953 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3954 # 1. Remove the extension, and $U if already installed.
3955 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3956 ac_i=`echo "$ac_i" | sed "$ac_script"`
3957 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3958 # will be set to the directory where LIBOBJS objects are built.
3959 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3960 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3961 done
3962 LIBOBJS=$ac_libobjs
3964 LTLIBOBJS=$ac_ltlibobjs
3968 : ${CONFIG_STATUS=./config.status}
3969 ac_clean_files_save=$ac_clean_files
3970 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3971 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3972 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3973 cat >$CONFIG_STATUS <<_ACEOF
3974 #! $SHELL
3975 # Generated by $as_me.
3976 # Run this file to recreate the current configuration.
3977 # Compiler output produced by configure, useful for debugging
3978 # configure, is in config.log if it exists.
3980 debug=false
3981 ac_cs_recheck=false
3982 ac_cs_silent=false
3983 SHELL=\${CONFIG_SHELL-$SHELL}
3984 _ACEOF
3986 cat >>$CONFIG_STATUS <<\_ACEOF
3987 ## --------------------- ##
3988 ## M4sh Initialization. ##
3989 ## --------------------- ##
3991 # Be more Bourne compatible
3992 DUALCASE=1; export DUALCASE # for MKS sh
3993 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3994 emulate sh
3995 NULLCMD=:
3996 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3997 # is contrary to our usage. Disable this feature.
3998 alias -g '${1+"$@"}'='"$@"'
3999 setopt NO_GLOB_SUBST
4000 else
4001 case `(set -o) 2>/dev/null` in
4002 *posix*) set -o posix ;;
4003 esac
4010 # PATH needs CR
4011 # Avoid depending upon Character Ranges.
4012 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4013 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4014 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4015 as_cr_digits='0123456789'
4016 as_cr_alnum=$as_cr_Letters$as_cr_digits
4018 # The user is always right.
4019 if test "${PATH_SEPARATOR+set}" != set; then
4020 echo "#! /bin/sh" >conf$$.sh
4021 echo "exit 0" >>conf$$.sh
4022 chmod +x conf$$.sh
4023 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4024 PATH_SEPARATOR=';'
4025 else
4026 PATH_SEPARATOR=:
4028 rm -f conf$$.sh
4031 # Support unset when possible.
4032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4033 as_unset=unset
4034 else
4035 as_unset=false
4039 # IFS
4040 # We need space, tab and new line, in precisely that order. Quoting is
4041 # there to prevent editors from complaining about space-tab.
4042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4043 # splitting by setting IFS to empty value.)
4044 as_nl='
4046 IFS=" "" $as_nl"
4048 # Find who we are. Look in the path if we contain no directory separator.
4049 case $0 in
4050 *[\\/]* ) as_myself=$0 ;;
4051 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4057 done
4058 IFS=$as_save_IFS
4061 esac
4062 # We did not find ourselves, most probably we were run as `sh COMMAND'
4063 # in which case we are not to be found in the path.
4064 if test "x$as_myself" = x; then
4065 as_myself=$0
4067 if test ! -f "$as_myself"; then
4068 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4069 { (exit 1); exit 1; }
4072 # Work around bugs in pre-3.0 UWIN ksh.
4073 for as_var in ENV MAIL MAILPATH
4074 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4075 done
4076 PS1='$ '
4077 PS2='> '
4078 PS4='+ '
4080 # NLS nuisances.
4081 for as_var in \
4082 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4083 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4084 LC_TELEPHONE LC_TIME
4086 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4087 eval $as_var=C; export $as_var
4088 else
4089 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4091 done
4093 # Required to use basename.
4094 if expr a : '\(a\)' >/dev/null 2>&1 &&
4095 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4096 as_expr=expr
4097 else
4098 as_expr=false
4101 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4102 as_basename=basename
4103 else
4104 as_basename=false
4108 # Name of the executable.
4109 as_me=`$as_basename -- "$0" ||
4110 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4111 X"$0" : 'X\(//\)$' \| \
4112 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4113 echo X/"$0" |
4114 sed '/^.*\/\([^/][^/]*\)\/*$/{
4115 s//\1/
4118 /^X\/\(\/\/\)$/{
4119 s//\1/
4122 /^X\/\(\/\).*/{
4123 s//\1/
4126 s/.*/./; q'`
4128 # CDPATH.
4129 $as_unset CDPATH
4133 as_lineno_1=$LINENO
4134 as_lineno_2=$LINENO
4135 test "x$as_lineno_1" != "x$as_lineno_2" &&
4136 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4138 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4139 # uniformly replaced by the line number. The first 'sed' inserts a
4140 # line-number line after each line using $LINENO; the second 'sed'
4141 # does the real work. The second script uses 'N' to pair each
4142 # line-number line with the line containing $LINENO, and appends
4143 # trailing '-' during substitution so that $LINENO is not a special
4144 # case at line end.
4145 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4146 # scripts with optimization help from Paolo Bonzini. Blame Lee
4147 # E. McMahon (1931-1989) for sed's syntax. :-)
4148 sed -n '
4150 /[$]LINENO/=
4151 ' <$as_myself |
4152 sed '
4153 s/[$]LINENO.*/&-/
4154 t lineno
4156 :lineno
4158 :loop
4159 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4160 t loop
4161 s/-\n.*//
4162 ' >$as_me.lineno &&
4163 chmod +x "$as_me.lineno" ||
4164 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4165 { (exit 1); exit 1; }; }
4167 # Don't try to exec as it changes $[0], causing all sort of problems
4168 # (the dirname of $[0] is not the place where we might find the
4169 # original and so on. Autoconf is especially sensitive to this).
4170 . "./$as_me.lineno"
4171 # Exit status is that of the last command.
4172 exit
4176 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4177 as_dirname=dirname
4178 else
4179 as_dirname=false
4182 ECHO_C= ECHO_N= ECHO_T=
4183 case `echo -n x` in
4184 -n*)
4185 case `echo 'x\c'` in
4186 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4187 *) ECHO_C='\c';;
4188 esac;;
4190 ECHO_N='-n';;
4191 esac
4193 if expr a : '\(a\)' >/dev/null 2>&1 &&
4194 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4195 as_expr=expr
4196 else
4197 as_expr=false
4200 rm -f conf$$ conf$$.exe conf$$.file
4201 if test -d conf$$.dir; then
4202 rm -f conf$$.dir/conf$$.file
4203 else
4204 rm -f conf$$.dir
4205 mkdir conf$$.dir
4207 echo >conf$$.file
4208 if ln -s conf$$.file conf$$ 2>/dev/null; then
4209 as_ln_s='ln -s'
4210 # ... but there are two gotchas:
4211 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4212 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4213 # In both cases, we have to default to `cp -p'.
4214 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4215 as_ln_s='cp -p'
4216 elif ln conf$$.file conf$$ 2>/dev/null; then
4217 as_ln_s=ln
4218 else
4219 as_ln_s='cp -p'
4221 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4222 rmdir conf$$.dir 2>/dev/null
4224 if mkdir -p . 2>/dev/null; then
4225 as_mkdir_p=:
4226 else
4227 test -d ./-p && rmdir ./-p
4228 as_mkdir_p=false
4231 if test -x / >/dev/null 2>&1; then
4232 as_test_x='test -x'
4233 else
4234 if ls -dL / >/dev/null 2>&1; then
4235 as_ls_L_option=L
4236 else
4237 as_ls_L_option=
4239 as_test_x='
4240 eval sh -c '\''
4241 if test -d "$1"; then
4242 test -d "$1/.";
4243 else
4244 case $1 in
4245 -*)set "./$1";;
4246 esac;
4247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4248 ???[sx]*):;;*)false;;esac;fi
4249 '\'' sh
4252 as_executable_p=$as_test_x
4254 # Sed expression to map a string onto a valid CPP name.
4255 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4257 # Sed expression to map a string onto a valid variable name.
4258 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4261 exec 6>&1
4263 # Save the log message, to keep $[0] and so on meaningful, and to
4264 # report actual input values of CONFIG_FILES etc. instead of their
4265 # values after options handling.
4266 ac_log="
4267 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4268 generated by GNU Autoconf 2.61. Invocation command line was
4270 CONFIG_FILES = $CONFIG_FILES
4271 CONFIG_HEADERS = $CONFIG_HEADERS
4272 CONFIG_LINKS = $CONFIG_LINKS
4273 CONFIG_COMMANDS = $CONFIG_COMMANDS
4274 $ $0 $@
4276 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4279 _ACEOF
4281 cat >>$CONFIG_STATUS <<_ACEOF
4282 # Files that config.status was made for.
4283 config_files="$ac_config_files"
4284 config_commands="$ac_config_commands"
4286 _ACEOF
4288 cat >>$CONFIG_STATUS <<\_ACEOF
4289 ac_cs_usage="\
4290 \`$as_me' instantiates files from templates according to the
4291 current configuration.
4293 Usage: $0 [OPTIONS] [FILE]...
4295 -h, --help print this help, then exit
4296 -V, --version print version number and configuration settings, then exit
4297 -q, --quiet do not print progress messages
4298 -d, --debug don't remove temporary files
4299 --recheck update $as_me by reconfiguring in the same conditions
4300 --file=FILE[:TEMPLATE]
4301 instantiate the configuration file FILE
4303 Configuration files:
4304 $config_files
4306 Configuration commands:
4307 $config_commands
4309 Report bugs to <bug-autoconf@gnu.org>."
4311 _ACEOF
4312 cat >>$CONFIG_STATUS <<_ACEOF
4313 ac_cs_version="\\
4314 GNU C Runtime Library config.status 1.0
4315 configured by $0, generated by GNU Autoconf 2.61,
4316 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4318 Copyright (C) 2006 Free Software Foundation, Inc.
4319 This config.status script is free software; the Free Software Foundation
4320 gives unlimited permission to copy, distribute and modify it."
4322 ac_pwd='$ac_pwd'
4323 srcdir='$srcdir'
4324 INSTALL='$INSTALL'
4325 _ACEOF
4327 cat >>$CONFIG_STATUS <<\_ACEOF
4328 # If no file are specified by the user, then we need to provide default
4329 # value. By we need to know if files were specified by the user.
4330 ac_need_defaults=:
4331 while test $# != 0
4333 case $1 in
4334 --*=*)
4335 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4336 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4337 ac_shift=:
4340 ac_option=$1
4341 ac_optarg=$2
4342 ac_shift=shift
4344 esac
4346 case $ac_option in
4347 # Handling of the options.
4348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4349 ac_cs_recheck=: ;;
4350 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4351 echo "$ac_cs_version"; exit ;;
4352 --debug | --debu | --deb | --de | --d | -d )
4353 debug=: ;;
4354 --file | --fil | --fi | --f )
4355 $ac_shift
4356 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4357 ac_need_defaults=false;;
4358 --he | --h | --help | --hel | -h )
4359 echo "$ac_cs_usage"; exit ;;
4360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4361 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4362 ac_cs_silent=: ;;
4364 # This is an error.
4365 -*) { echo "$as_me: error: unrecognized option: $1
4366 Try \`$0 --help' for more information." >&2
4367 { (exit 1); exit 1; }; } ;;
4369 *) ac_config_targets="$ac_config_targets $1"
4370 ac_need_defaults=false ;;
4372 esac
4373 shift
4374 done
4376 ac_configure_extra_args=
4378 if $ac_cs_silent; then
4379 exec 6>/dev/null
4380 ac_configure_extra_args="$ac_configure_extra_args --silent"
4383 _ACEOF
4384 cat >>$CONFIG_STATUS <<_ACEOF
4385 if \$ac_cs_recheck; then
4386 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4387 CONFIG_SHELL=$SHELL
4388 export CONFIG_SHELL
4389 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4392 _ACEOF
4393 cat >>$CONFIG_STATUS <<\_ACEOF
4394 exec 5>>config.log
4396 echo
4397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4398 ## Running $as_me. ##
4399 _ASBOX
4400 echo "$ac_log"
4401 } >&5
4403 _ACEOF
4404 cat >>$CONFIG_STATUS <<_ACEOF
4406 # INIT-COMMANDS
4408 srcdir=${srcdir}
4409 host=${host}
4410 target=${target}
4411 with_target_subdir=${with_target_subdir}
4412 with_multisubdir=${with_multisubdir}
4413 ac_configure_args="--enable-multilib ${ac_configure_args}"
4414 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4415 libgcc_topdir=${libgcc_topdir}
4416 CC="${CC}"
4419 _ACEOF
4421 cat >>$CONFIG_STATUS <<\_ACEOF
4423 # Handling of arguments.
4424 for ac_config_target in $ac_config_targets
4426 case $ac_config_target in
4427 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4428 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4430 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4431 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4432 { (exit 1); exit 1; }; };;
4433 esac
4434 done
4437 # If the user did not use the arguments to specify the items to instantiate,
4438 # then the envvar interface is used. Set only those that are not.
4439 # We use the long form for the default assignment because of an extremely
4440 # bizarre bug on SunOS 4.1.3.
4441 if $ac_need_defaults; then
4442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4446 # Have a temporary directory for convenience. Make it in the build tree
4447 # simply because there is no reason against having it here, and in addition,
4448 # creating and moving files from /tmp can sometimes cause problems.
4449 # Hook for its removal unless debugging.
4450 # Note that there is a small window in which the directory will not be cleaned:
4451 # after its creation but before its name has been assigned to `$tmp'.
4452 $debug ||
4454 tmp=
4455 trap 'exit_status=$?
4456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4458 trap '{ (exit 1); exit 1; }' 1 2 13 15
4460 # Create a (secure) tmp directory for tmp files.
4463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4464 test -n "$tmp" && test -d "$tmp"
4465 } ||
4467 tmp=./conf$$-$RANDOM
4468 (umask 077 && mkdir "$tmp")
4469 } ||
4471 echo "$me: cannot create a temporary directory in ." >&2
4472 { (exit 1); exit 1; }
4476 # Set up the sed scripts for CONFIG_FILES section.
4479 # No need to generate the scripts if there are no CONFIG_FILES.
4480 # This happens for instance when ./config.status config.h
4481 if test -n "$CONFIG_FILES"; then
4483 _ACEOF
4487 ac_delim='%!_!# '
4488 for ac_last_try in false false false false false :; do
4489 cat >conf$$subs.sed <<_ACEOF
4490 SHELL!$SHELL$ac_delim
4491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4497 exec_prefix!$exec_prefix$ac_delim
4498 prefix!$prefix$ac_delim
4499 program_transform_name!$program_transform_name$ac_delim
4500 bindir!$bindir$ac_delim
4501 sbindir!$sbindir$ac_delim
4502 libexecdir!$libexecdir$ac_delim
4503 datarootdir!$datarootdir$ac_delim
4504 datadir!$datadir$ac_delim
4505 sysconfdir!$sysconfdir$ac_delim
4506 sharedstatedir!$sharedstatedir$ac_delim
4507 localstatedir!$localstatedir$ac_delim
4508 includedir!$includedir$ac_delim
4509 oldincludedir!$oldincludedir$ac_delim
4510 docdir!$docdir$ac_delim
4511 infodir!$infodir$ac_delim
4512 htmldir!$htmldir$ac_delim
4513 dvidir!$dvidir$ac_delim
4514 pdfdir!$pdfdir$ac_delim
4515 psdir!$psdir$ac_delim
4516 libdir!$libdir$ac_delim
4517 localedir!$localedir$ac_delim
4518 mandir!$mandir$ac_delim
4519 DEFS!$DEFS$ac_delim
4520 ECHO_C!$ECHO_C$ac_delim
4521 ECHO_N!$ECHO_N$ac_delim
4522 ECHO_T!$ECHO_T$ac_delim
4523 LIBS!$LIBS$ac_delim
4524 build_alias!$build_alias$ac_delim
4525 host_alias!$host_alias$ac_delim
4526 target_alias!$target_alias$ac_delim
4527 libgcc_topdir!$libgcc_topdir$ac_delim
4528 enable_shared!$enable_shared$ac_delim
4529 slibdir!$slibdir$ac_delim
4530 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4531 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4532 INSTALL_DATA!$INSTALL_DATA$ac_delim
4533 AWK!$AWK$ac_delim
4534 build!$build$ac_delim
4535 build_cpu!$build_cpu$ac_delim
4536 build_vendor!$build_vendor$ac_delim
4537 build_os!$build_os$ac_delim
4538 host!$host$ac_delim
4539 host_cpu!$host_cpu$ac_delim
4540 host_vendor!$host_vendor$ac_delim
4541 host_os!$host_os$ac_delim
4542 host_noncanonical!$host_noncanonical$ac_delim
4543 build_libsubdir!$build_libsubdir$ac_delim
4544 build_subdir!$build_subdir$ac_delim
4545 host_subdir!$host_subdir$ac_delim
4546 target_subdir!$target_subdir$ac_delim
4547 AR!$AR$ac_delim
4548 LIPO!$LIPO$ac_delim
4549 NM!$NM$ac_delim
4550 RANLIB!$RANLIB$ac_delim
4551 STRIP!$STRIP$ac_delim
4552 LN_S!$LN_S$ac_delim
4553 CC!$CC$ac_delim
4554 CFLAGS!$CFLAGS$ac_delim
4555 LDFLAGS!$LDFLAGS$ac_delim
4556 CPPFLAGS!$CPPFLAGS$ac_delim
4557 ac_ct_CC!$ac_ct_CC$ac_delim
4558 EXEEXT!$EXEEXT$ac_delim
4559 OBJEXT!$OBJEXT$ac_delim
4560 CPP!$CPP$ac_delim
4561 decimal_float!$decimal_float$ac_delim
4562 vis_hide!$vis_hide$ac_delim
4563 tmake_file!$tmake_file$ac_delim
4564 extra_parts!$extra_parts$ac_delim
4565 asm_hidden_op!$asm_hidden_op$ac_delim
4566 LIBOBJS!$LIBOBJS$ac_delim
4567 LTLIBOBJS!$LTLIBOBJS$ac_delim
4568 _ACEOF
4570 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
4571 break
4572 elif $ac_last_try; then
4573 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4574 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4575 { (exit 1); exit 1; }; }
4576 else
4577 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4579 done
4581 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4582 if test -n "$ac_eof"; then
4583 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4584 ac_eof=`expr $ac_eof + 1`
4587 cat >>$CONFIG_STATUS <<_ACEOF
4588 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4590 _ACEOF
4591 sed '
4592 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4593 s/^/s,@/; s/!/@,|#_!!_#|/
4596 s/'"$ac_delim"'$/,g/; t
4597 s/$/\\/; p
4598 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4599 ' >>$CONFIG_STATUS <conf$$subs.sed
4600 rm -f conf$$subs.sed
4601 cat >>$CONFIG_STATUS <<_ACEOF
4602 :end
4603 s/|#_!!_#|//g
4604 CEOF$ac_eof
4605 _ACEOF
4608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4610 # trailing colons and then remove the whole line if VPATH becomes empty
4611 # (actually we leave an empty line to preserve line numbers).
4612 if test "x$srcdir" = x.; then
4613 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4614 s/:*\$(srcdir):*/:/
4615 s/:*\${srcdir}:*/:/
4616 s/:*@srcdir@:*/:/
4617 s/^\([^=]*=[ ]*\):*/\1/
4618 s/:*$//
4619 s/^[^=]*=[ ]*$//
4623 cat >>$CONFIG_STATUS <<\_ACEOF
4624 fi # test -n "$CONFIG_FILES"
4627 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
4629 case $ac_tag in
4630 :[FHLC]) ac_mode=$ac_tag; continue;;
4631 esac
4632 case $ac_mode$ac_tag in
4633 :[FHL]*:*);;
4634 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4635 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4636 { (exit 1); exit 1; }; };;
4637 :[FH]-) ac_tag=-:-;;
4638 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4639 esac
4640 ac_save_IFS=$IFS
4641 IFS=:
4642 set x $ac_tag
4643 IFS=$ac_save_IFS
4644 shift
4645 ac_file=$1
4646 shift
4648 case $ac_mode in
4649 :L) ac_source=$1;;
4650 :[FH])
4651 ac_file_inputs=
4652 for ac_f
4654 case $ac_f in
4655 -) ac_f="$tmp/stdin";;
4656 *) # Look for the file first in the build tree, then in the source tree
4657 # (if the path is not absolute). The absolute path cannot be DOS-style,
4658 # because $ac_f cannot contain `:'.
4659 test -f "$ac_f" ||
4660 case $ac_f in
4661 [\\/$]*) false;;
4662 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4663 esac ||
4664 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4665 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4666 { (exit 1); exit 1; }; };;
4667 esac
4668 ac_file_inputs="$ac_file_inputs $ac_f"
4669 done
4671 # Let's still pretend it is `configure' which instantiates (i.e., don't
4672 # use $as_me), people would be surprised to read:
4673 # /* config.h. Generated by config.status. */
4674 configure_input="Generated from "`IFS=:
4675 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4676 if test x"$ac_file" != x-; then
4677 configure_input="$ac_file. $configure_input"
4678 { echo "$as_me:$LINENO: creating $ac_file" >&5
4679 echo "$as_me: creating $ac_file" >&6;}
4682 case $ac_tag in
4683 *:-:* | *:-) cat >"$tmp/stdin";;
4684 esac
4686 esac
4688 ac_dir=`$as_dirname -- "$ac_file" ||
4689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4690 X"$ac_file" : 'X\(//\)[^/]' \| \
4691 X"$ac_file" : 'X\(//\)$' \| \
4692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4693 echo X"$ac_file" |
4694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4695 s//\1/
4698 /^X\(\/\/\)[^/].*/{
4699 s//\1/
4702 /^X\(\/\/\)$/{
4703 s//\1/
4706 /^X\(\/\).*/{
4707 s//\1/
4710 s/.*/./; q'`
4711 { as_dir="$ac_dir"
4712 case $as_dir in #(
4713 -*) as_dir=./$as_dir;;
4714 esac
4715 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4716 as_dirs=
4717 while :; do
4718 case $as_dir in #(
4719 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4720 *) as_qdir=$as_dir;;
4721 esac
4722 as_dirs="'$as_qdir' $as_dirs"
4723 as_dir=`$as_dirname -- "$as_dir" ||
4724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725 X"$as_dir" : 'X\(//\)[^/]' \| \
4726 X"$as_dir" : 'X\(//\)$' \| \
4727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4728 echo X"$as_dir" |
4729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4730 s//\1/
4733 /^X\(\/\/\)[^/].*/{
4734 s//\1/
4737 /^X\(\/\/\)$/{
4738 s//\1/
4741 /^X\(\/\).*/{
4742 s//\1/
4745 s/.*/./; q'`
4746 test -d "$as_dir" && break
4747 done
4748 test -z "$as_dirs" || eval "mkdir $as_dirs"
4749 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4750 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4751 { (exit 1); exit 1; }; }; }
4752 ac_builddir=.
4754 case "$ac_dir" in
4755 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4757 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4758 # A ".." for each directory in $ac_dir_suffix.
4759 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4760 case $ac_top_builddir_sub in
4761 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4762 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4763 esac ;;
4764 esac
4765 ac_abs_top_builddir=$ac_pwd
4766 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4767 # for backward compatibility:
4768 ac_top_builddir=$ac_top_build_prefix
4770 case $srcdir in
4771 .) # We are building in place.
4772 ac_srcdir=.
4773 ac_top_srcdir=$ac_top_builddir_sub
4774 ac_abs_top_srcdir=$ac_pwd ;;
4775 [\\/]* | ?:[\\/]* ) # Absolute name.
4776 ac_srcdir=$srcdir$ac_dir_suffix;
4777 ac_top_srcdir=$srcdir
4778 ac_abs_top_srcdir=$srcdir ;;
4779 *) # Relative name.
4780 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4781 ac_top_srcdir=$ac_top_build_prefix$srcdir
4782 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4783 esac
4784 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4787 case $ac_mode in
4790 # CONFIG_FILE
4793 case $INSTALL in
4794 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4795 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4796 esac
4797 _ACEOF
4799 cat >>$CONFIG_STATUS <<\_ACEOF
4800 # If the template does not know about datarootdir, expand it.
4801 # FIXME: This hack should be removed a few years after 2.60.
4802 ac_datarootdir_hack=; ac_datarootdir_seen=
4804 case `sed -n '/datarootdir/ {
4808 /@datadir@/p
4809 /@docdir@/p
4810 /@infodir@/p
4811 /@localedir@/p
4812 /@mandir@/p
4813 ' $ac_file_inputs` in
4814 *datarootdir*) ac_datarootdir_seen=yes;;
4815 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4816 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4817 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4818 _ACEOF
4819 cat >>$CONFIG_STATUS <<_ACEOF
4820 ac_datarootdir_hack='
4821 s&@datadir@&$datadir&g
4822 s&@docdir@&$docdir&g
4823 s&@infodir@&$infodir&g
4824 s&@localedir@&$localedir&g
4825 s&@mandir@&$mandir&g
4826 s&\\\${datarootdir}&$datarootdir&g' ;;
4827 esac
4828 _ACEOF
4830 # Neutralize VPATH when `$srcdir' = `.'.
4831 # Shell code in configure.ac might set extrasub.
4832 # FIXME: do we really want to maintain this feature?
4833 cat >>$CONFIG_STATUS <<_ACEOF
4834 sed "$ac_vpsub
4835 $extrasub
4836 _ACEOF
4837 cat >>$CONFIG_STATUS <<\_ACEOF
4839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4840 s&@configure_input@&$configure_input&;t t
4841 s&@top_builddir@&$ac_top_builddir_sub&;t t
4842 s&@srcdir@&$ac_srcdir&;t t
4843 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4844 s&@top_srcdir@&$ac_top_srcdir&;t t
4845 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4846 s&@builddir@&$ac_builddir&;t t
4847 s&@abs_builddir@&$ac_abs_builddir&;t t
4848 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4849 s&@INSTALL@&$ac_INSTALL&;t t
4850 $ac_datarootdir_hack
4851 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4854 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4856 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4857 which seems to be undefined. Please make sure it is defined." >&5
4858 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4859 which seems to be undefined. Please make sure it is defined." >&2;}
4861 rm -f "$tmp/stdin"
4862 case $ac_file in
4863 -) cat "$tmp/out"; rm -f "$tmp/out";;
4864 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4865 esac
4869 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4870 echo "$as_me: executing $ac_file commands" >&6;}
4872 esac
4875 case $ac_file$ac_mode in
4876 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4877 if test -n "$CONFIG_FILES"; then
4878 # FIXME: We shouldn't need to set ac_file
4879 ac_file=Makefile
4880 . ${libgcc_topdir}/config-ml.in
4881 fi ;;
4883 esac
4884 done # for ac_tag
4887 { (exit 0); exit 0; }
4888 _ACEOF
4889 chmod +x $CONFIG_STATUS
4890 ac_clean_files=$ac_clean_files_save
4893 # configure is writing to config.log, and then calls config.status.
4894 # config.status does its own redirection, appending to config.log.
4895 # Unfortunately, on DOS this fails, as config.log is still kept open
4896 # by configure, so config.status won't be able to write to it; its
4897 # output is simply discarded. So we exec the FD to /dev/null,
4898 # effectively closing config.log, so it can be properly (re)opened and
4899 # appended to by config.status. When coming back to configure, we
4900 # need to make the FD available again.
4901 if test "$no_create" != yes; then
4902 ac_cs_success=:
4903 ac_config_status_args=
4904 test "$silent" = yes &&
4905 ac_config_status_args="$ac_config_status_args --quiet"
4906 exec 5>/dev/null
4907 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4908 exec 5>>config.log
4909 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4910 # would make configure fail if this is the last instruction.
4911 $ac_cs_success || { (exit 1); exit 1; }