2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU C Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='GNU C Runtime Library'
548 PACKAGE_TARNAME
='libgcc'
549 PACKAGE_VERSION
='1.0'
550 PACKAGE_STRING
='GNU C Runtime Library 1.0'
552 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
554 ac_unique_file
="static-object.mk"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
606 long_double_type_size
676 program_transform_name
689 enable_option_checking
694 enable_version_specific_runtime_libs
696 enable_maintainer_mode
699 with_system_libunwind
700 enable_sjlj_exceptions
703 ac_precious_vars
='build_alias
714 # Initialize some variables set by options.
716 ac_init_version
=false
717 ac_unrecognized_opts
=
719 # The variables have the same names as the options, with
720 # dashes changed to underlines.
728 program_transform_name
=s
,x
,x
,
736 # Installation directory options.
737 # These are left unexpanded so users can "make install exec_prefix=/foo"
738 # and all the variables that are supposed to be based on exec_prefix
739 # by default will actually change.
740 # Use braces instead of parens because sh, perl, etc. also accept them.
741 # (The list follows the same order as the GNU Coding Standards.)
742 bindir
='${exec_prefix}/bin'
743 sbindir
='${exec_prefix}/sbin'
744 libexecdir
='${exec_prefix}/libexec'
745 datarootdir
='${prefix}/share'
746 datadir
='${datarootdir}'
747 sysconfdir
='${prefix}/etc'
748 sharedstatedir
='${prefix}/com'
749 localstatedir
='${prefix}/var'
750 includedir
='${prefix}/include'
751 oldincludedir
='/usr/include'
752 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
753 infodir
='${datarootdir}/info'
758 libdir
='${exec_prefix}/lib'
759 localedir
='${datarootdir}/locale'
760 mandir
='${datarootdir}/man'
766 # If the previous option needs an argument, assign it.
767 if test -n "$ac_prev"; then
768 eval $ac_prev=\
$ac_option
774 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
778 # Accept the important Cygnus configure options, so we can diagnose typos.
780 case $ac_dashdash$ac_option in
784 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
786 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
789 -build |
--build |
--buil |
--bui |
--bu)
790 ac_prev
=build_alias
;;
791 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
792 build_alias
=$ac_optarg ;;
794 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
795 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
796 ac_prev
=cache_file
;;
797 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
798 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
799 cache_file
=$ac_optarg ;;
802 cache_file
=config.cache
;;
804 -datadir |
--datadir |
--datadi |
--datad)
806 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
807 datadir
=$ac_optarg ;;
809 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
810 |
--dataroo |
--dataro |
--datar)
811 ac_prev
=datarootdir
;;
812 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
813 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
814 datarootdir
=$ac_optarg ;;
816 -disable-* |
--disable-*)
817 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
820 as_fn_error
"invalid feature name: $ac_useropt"
821 ac_useropt_orig
=$ac_useropt
822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
828 ac_unrecognized_sep
=', ';;
830 eval enable_
$ac_useropt=no
;;
832 -docdir |
--docdir |
--docdi |
--doc |
--do)
834 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
837 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
839 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
842 -enable-* |
--enable-*)
843 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
846 as_fn_error
"invalid feature name: $ac_useropt"
847 ac_useropt_orig
=$ac_useropt
848 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
853 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
854 ac_unrecognized_sep
=', ';;
856 eval enable_
$ac_useropt=\
$ac_optarg ;;
858 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
859 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
860 |
--exec |
--exe |
--ex)
861 ac_prev
=exec_prefix
;;
862 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
863 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
864 |
--exec=* |
--exe=* |
--ex=*)
865 exec_prefix
=$ac_optarg ;;
867 -gas |
--gas |
--ga |
--g)
868 # Obsolete; use --with-gas.
871 -help |
--help |
--hel |
--he |
-h)
873 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
874 ac_init_help
=recursive
;;
875 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
876 ac_init_help
=short
;;
878 -host |
--host |
--hos |
--ho)
879 ac_prev
=host_alias
;;
880 -host=* |
--host=* |
--hos=* |
--ho=*)
881 host_alias
=$ac_optarg ;;
883 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
885 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
887 htmldir
=$ac_optarg ;;
889 -includedir |
--includedir |
--includedi |
--included |
--include \
890 |
--includ |
--inclu |
--incl |
--inc)
891 ac_prev
=includedir
;;
892 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
893 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
894 includedir
=$ac_optarg ;;
896 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
898 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
899 infodir
=$ac_optarg ;;
901 -libdir |
--libdir |
--libdi |
--libd)
903 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
906 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
907 |
--libexe |
--libex |
--libe)
908 ac_prev
=libexecdir
;;
909 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
910 |
--libexe=* |
--libex=* |
--libe=*)
911 libexecdir
=$ac_optarg ;;
913 -localedir |
--localedir |
--localedi |
--localed |
--locale)
915 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
916 localedir
=$ac_optarg ;;
918 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
919 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
920 ac_prev
=localstatedir
;;
921 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
922 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
923 localstatedir
=$ac_optarg ;;
925 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
927 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
931 # Obsolete; use --without-fp.
934 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
935 |
--no-cr |
--no-c |
-n)
938 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
939 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
942 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
943 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
944 |
--oldin |
--oldi |
--old |
--ol |
--o)
945 ac_prev
=oldincludedir
;;
946 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
947 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
948 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
949 oldincludedir
=$ac_optarg ;;
951 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
953 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
956 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
957 |
--program-pre |
--program-pr |
--program-p)
958 ac_prev
=program_prefix
;;
959 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
960 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
961 program_prefix
=$ac_optarg ;;
963 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
964 |
--program-suf |
--program-su |
--program-s)
965 ac_prev
=program_suffix
;;
966 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
967 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
968 program_suffix
=$ac_optarg ;;
970 -program-transform-name |
--program-transform-name \
971 |
--program-transform-nam |
--program-transform-na \
972 |
--program-transform-n |
--program-transform- \
973 |
--program-transform |
--program-transfor \
974 |
--program-transfo |
--program-transf \
975 |
--program-trans |
--program-tran \
976 |
--progr-tra |
--program-tr |
--program-t)
977 ac_prev
=program_transform_name
;;
978 -program-transform-name=* |
--program-transform-name=* \
979 |
--program-transform-nam=* |
--program-transform-na=* \
980 |
--program-transform-n=* |
--program-transform-=* \
981 |
--program-transform=* |
--program-transfor=* \
982 |
--program-transfo=* |
--program-transf=* \
983 |
--program-trans=* |
--program-tran=* \
984 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
985 program_transform_name
=$ac_optarg ;;
987 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
989 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
992 -psdir |
--psdir |
--psdi |
--psd |
--ps)
994 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
997 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
998 |
-silent |
--silent |
--silen |
--sile |
--sil)
1001 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1003 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1005 sbindir
=$ac_optarg ;;
1007 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1008 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1009 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1011 ac_prev
=sharedstatedir
;;
1012 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1013 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1014 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1016 sharedstatedir
=$ac_optarg ;;
1018 -site |
--site |
--sit)
1020 -site=* |
--site=* |
--sit=*)
1023 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1025 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1026 srcdir
=$ac_optarg ;;
1028 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1029 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1030 ac_prev
=sysconfdir
;;
1031 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1032 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1033 sysconfdir
=$ac_optarg ;;
1035 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1036 ac_prev
=target_alias
;;
1037 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1038 target_alias
=$ac_optarg ;;
1040 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1043 -version |
--version |
--versio |
--versi |
--vers |
-V)
1044 ac_init_version
=: ;;
1047 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1050 as_fn_error
"invalid package name: $ac_useropt"
1051 ac_useropt_orig
=$ac_useropt
1052 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1057 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1058 ac_unrecognized_sep
=', ';;
1060 eval with_
$ac_useropt=\
$ac_optarg ;;
1062 -without-* |
--without-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 as_fn_error
"invalid package name: $ac_useropt"
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval with_
$ac_useropt=no
;;
1079 # Obsolete; use --with-x.
1082 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1083 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1084 ac_prev
=x_includes
;;
1085 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1086 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1087 x_includes
=$ac_optarg ;;
1089 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1090 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1091 ac_prev
=x_libraries
;;
1092 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1093 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1094 x_libraries
=$ac_optarg ;;
1096 -*) as_fn_error
"unrecognized option: \`$ac_option'
1097 Try \`$0 --help' for more information."
1101 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1102 # Reject names that are not valid shell variable names.
1103 case $ac_envvar in #(
1104 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1105 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1107 eval $ac_envvar=\
$ac_optarg
1108 export $ac_envvar ;;
1111 # FIXME: should be removed in autoconf 3.0.
1112 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1121 if test -n "$ac_prev"; then
1122 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1123 as_fn_error
"missing argument to $ac_option"
1126 if test -n "$ac_unrecognized_opts"; then
1127 case $enable_option_checking in
1129 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1134 # Check all directory arguments for consistency.
1135 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1136 datadir sysconfdir sharedstatedir localstatedir includedir \
1137 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1138 libdir localedir mandir
1140 eval ac_val
=\$
$ac_var
1141 # Remove trailing slashes.
1144 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1145 eval $ac_var=\
$ac_val;;
1147 # Be sure to have absolute directory names.
1149 [\\/$
]* | ?
:[\\/]* ) continue;;
1150 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1152 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1155 # There might be people who depend on the old broken behavior: `$host'
1156 # used to hold the argument of --host etc.
1157 # FIXME: To remove some day.
1160 target
=$target_alias
1162 # FIXME: To remove some day.
1163 if test "x$host_alias" != x
; then
1164 if test "x$build_alias" = x
; then
1165 cross_compiling
=maybe
1166 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1167 If a cross compiler is detected then cross compile mode will be used." >&2
1168 elif test "x$build_alias" != "x$host_alias"; then
1174 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1176 test "$silent" = yes && exec 6>/dev
/null
1179 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di
=`ls -di .` &&
1181 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1182 as_fn_error
"working directory cannot be determined"
1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184 as_fn_error
"pwd does not report name of working directory"
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted
=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir
=`$as_dirname -- "$as_myself" ||
1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$as_myself" : 'X\(//\)[^/]' \| \
1194 X"$as_myself" : 'X\(//\)$' \| \
1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196 $as_echo X"$as_myself" |
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1219 ac_srcdir_defaulted
=no
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1223 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1225 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1229 # When building in place, set srcdir=.
1230 if test "$ac_abs_confdir" = "$ac_pwd"; then
1233 # Remove unnecessary trailing slashes from srcdir.
1234 # Double slashes in file names in object file debugging info
1235 # mess up M-x gdb in Emacs.
1237 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1239 for ac_var
in $ac_precious_vars; do
1240 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1241 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1242 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1243 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1247 # Report the --help message.
1249 if test "$ac_init_help" = "long"; then
1250 # Omit some internal or obsolete options to make the list less imposing.
1251 # This message is too long to be a string in the A/UX 3.1 sh.
1253 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1255 Usage: $0 [OPTION]... [VAR=VALUE]...
1257 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1258 VAR=VALUE. See below for descriptions of some of the useful variables.
1260 Defaults for the options are specified in brackets.
1263 -h, --help display this help and exit
1264 --help=short display options specific to this package
1265 --help=recursive display the short help of all the included packages
1266 -V, --version display version information and exit
1267 -q, --quiet, --silent do not print \`checking...' messages
1268 --cache-file=FILE cache test results in FILE [disabled]
1269 -C, --config-cache alias for \`--cache-file=config.cache'
1270 -n, --no-create do not create output files
1271 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1273 Installation directories:
1274 --prefix=PREFIX install architecture-independent files in PREFIX
1275 [$ac_default_prefix]
1276 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1279 By default, \`make install' will install all the files in
1280 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1281 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1282 for instance \`--prefix=\$HOME'.
1284 For better control, use the options below.
1286 Fine tuning of the installation directories:
1287 --bindir=DIR user executables [EPREFIX/bin]
1288 --sbindir=DIR system admin executables [EPREFIX/sbin]
1289 --libexecdir=DIR program executables [EPREFIX/libexec]
1290 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1291 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1292 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1293 --libdir=DIR object code libraries [EPREFIX/lib]
1294 --includedir=DIR C header files [PREFIX/include]
1295 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1296 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1297 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1298 --infodir=DIR info documentation [DATAROOTDIR/info]
1299 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1300 --mandir=DIR man documentation [DATAROOTDIR/man]
1301 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1302 --htmldir=DIR html documentation [DOCDIR]
1303 --dvidir=DIR dvi documentation [DOCDIR]
1304 --pdfdir=DIR pdf documentation [DOCDIR]
1305 --psdir=DIR ps documentation [DOCDIR]
1311 --build=BUILD configure
for building on BUILD
[guessed
]
1312 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1316 if test -n "$ac_init_help"; then
1317 case $ac_init_help in
1318 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1323 --disable-option-checking ignore unrecognized
--enable/--with options
1324 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1325 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1326 --disable-shared don
't provide a shared libgcc
1327 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1328 --enable-maintainer-mode
1329 enable make rules and dependencies not useful (and
1330 sometimes confusing) to the casual installer
1331 --enable-decimal-float={no,yes,bid,dpd}
1332 enable decimal float extension to C. Selecting 'bid
'
1333 or 'dpd
' choses which decimal floating point format
1335 --enable-sjlj-exceptions
1336 force use of builtin_setjmp for exceptions
1337 --enable-tls Use thread-local storage [default=yes]
1340 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1341 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1342 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1343 --with-cross-host=HOST Configuring with a cross compiler
1344 --with-ld arrange to use the specified ld (full pathname)
1345 --with-slibdir=DIR shared libraries in DIR LIBDIR
1346 --with-build-libsubdir=DIR Directory where to find libraries for build system
1347 --with-system-libunwind use installed libunwind
1349 Some influential environment variables:
1350 CC C compiler command
1351 CFLAGS C compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1359 Use these variables to override the choices made by `configure' or to
help
1360 it to
find libraries and programs with nonstandard names
/locations.
1362 Report bugs to the package provider.
1363 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1364 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1369 if test "$ac_init_help" = "recursive"; then
1370 # If there are subdirs, report their specific --help.
1371 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1372 test -d "$ac_dir" ||
1373 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1378 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1380 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1385 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1388 ac_abs_top_builddir
=$ac_pwd
1389 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir
=$ac_top_build_prefix
1394 .
) # We are building in place.
1396 ac_top_srcdir
=$ac_top_builddir_sub
1397 ac_abs_top_srcdir
=$ac_pwd ;;
1398 [\\/]* | ?
:[\\/]* ) # Absolute name.
1399 ac_srcdir
=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir
=$srcdir
1401 ac_abs_top_srcdir
=$srcdir ;;
1403 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1407 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1409 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1410 # Check for guested configure.
1411 if test -f "$ac_srcdir/configure.gnu"; then
1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1414 elif test -f "$ac_srcdir/configure"; then
1416 $SHELL "$ac_srcdir/configure" --help=recursive
1418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1424 test -n "$ac_init_help" && exit $ac_status
1425 if $ac_init_version; then
1427 GNU C Runtime Library configure
1.0
1428 generated by GNU Autoconf
2.64
1430 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1431 This configure
script is free software
; the Free Software Foundation
1432 gives unlimited permission to copy
, distribute and modify it.
1437 ## ------------------------ ##
1438 ## Autoconf initialization. ##
1439 ## ------------------------ ##
1441 # ac_fn_c_try_compile LINENO
1442 # --------------------------
1443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_c_try_compile
()
1446 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1447 rm -f conftest.
$ac_objext
1448 if { { ac_try
="$ac_compile"
1450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_compile") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest.$ac_objext; then :
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1477 } # ac_fn_c_try_compile
1479 # ac_fn_c_try_cpp LINENO
1480 # ----------------------
1481 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { { ac_try="$ac_cpp conftest.$ac_ext"
1487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1488 *) ac_try_echo
=$ac_try;;
1490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1494 if test -s conftest.err
; then
1495 grep -v '^ *+' conftest.err
>conftest.er1
1496 cat conftest.er1
>&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } >/dev
/null
&& {
1501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.
$ac_ext >&5
1511 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1516 # ac_fn_c_try_run LINENO
1517 # ----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1519 # that executables *can* be run.
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 if { { ac_try
="$ac_link"
1525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_link") 2>&5
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1534 { { case "(($ac_try" in
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_try") 2>&5
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; }; }; then :
1546 $as_echo "$as_me: program exited with status $ac_status" >&5
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.
$ac_ext >&5
1550 ac_retval
=$ac_status
1552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1558 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1559 # --------------------------------------------
1560 # Tries to find the compile-time value of EXPR in a program that includes
1561 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1563 ac_fn_c_compute_int
()
1565 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1566 if test "$cross_compiling" = yes; then
1567 # Depending upon the size, compute the lo and hi bounds.
1568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1569 /* end confdefs.h. */
1574 static int test_array [1 - 2 * !(($2) >= 0)];
1581 if ac_fn_c_try_compile
"$LINENO"; then :
1584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1585 /* end confdefs.h. */
1590 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1597 if ac_fn_c_try_compile
"$LINENO"; then :
1598 ac_hi
=$ac_mid; break
1600 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1601 if test $ac_lo -le $ac_mid; then
1605 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1616 static int test_array [1 - 2 * !(($2) < 0)];
1623 if ac_fn_c_try_compile
"$LINENO"; then :
1626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1632 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1639 if ac_fn_c_try_compile
"$LINENO"; then :
1640 ac_lo
=$ac_mid; break
1642 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1643 if test $ac_mid -le $ac_hi; then
1647 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1657 # Binary search between lo and hi bounds.
1658 while test "x$ac_lo" != "x$ac_hi"; do
1659 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1666 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1673 if ac_fn_c_try_compile
"$LINENO"; then :
1676 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1681 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1688 static long int longval () { return $2; }
1689 static unsigned long int ulongval () { return $2; }
1696 FILE *f = fopen ("conftest.val", "w");
1701 long int i = longval ();
1704 fprintf (f, "%ld", i);
1708 unsigned long int i = ulongval ();
1711 fprintf (f, "%lu", i);
1713 /* Do not output a trailing newline, as this causes \r\n confusion
1714 on some platforms. */
1715 return ferror (f) || fclose (f) != 0;
1721 if ac_fn_c_try_run
"$LINENO"; then :
1722 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1726 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1727 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1734 } # ac_fn_c_compute_int
1736 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1737 # ----------------------------------------------
1738 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_preproc
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1751 if ac_fn_c_try_cpp
"$LINENO"; then :
1756 rm -f conftest.err conftest.
$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1763 } # ac_fn_c_check_header_preproc
1764 cat >config.log
<<_ACEOF
1765 This file contains any messages produced by compilers while
1766 running configure, to aid debugging if configure makes a mistake.
1768 It was created by GNU C Runtime Library $as_me 1.0, which was
1769 generated by GNU Autoconf 2.64. Invocation command line was
1781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1782 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1783 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1784 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1785 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1787 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1788 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1790 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1791 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1792 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1793 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir
=.
1805 $as_echo "PATH: $as_dir"
1821 # Keep a trace of the command line.
1822 # Strip out --no-create and --no-recursion so they do not pile up.
1823 # Strip out --silent because we don't want to record it for future runs.
1824 # Also quote any args containing shell meta-characters.
1825 # Make two passes to allow for proper duplicate-argument suppression.
1829 ac_must_keep_next
=false
1835 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1836 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1837 |
-silent |
--silent |
--silen |
--sile |
--sil)
1840 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1843 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1845 as_fn_append ac_configure_args1
" '$ac_arg'"
1846 if test $ac_must_keep_next = true
; then
1847 ac_must_keep_next
=false
# Got value, back to normal.
1850 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1851 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1852 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1853 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1854 case "$ac_configure_args0 " in
1855 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1858 -* ) ac_must_keep_next
=true
;;
1861 as_fn_append ac_configure_args
" '$ac_arg'"
1866 { ac_configure_args0
=; unset ac_configure_args0
;}
1867 { ac_configure_args1
=; unset ac_configure_args1
;}
1869 # When interrupted or exit'd, cleanup temporary files, and complete
1870 # config.log. We remove comments because anyway the quotes in there
1871 # would cause problems or look ugly.
1872 # WARNING: Use '\'' to represent an apostrophe within the trap.
1873 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1874 trap 'exit_status=$?
1875 # Save into config.log some information that might help in debugging.
1880 ## ---------------- ##
1881 ## Cache variables. ##
1882 ## ---------------- ##
1885 # The following way of writing the cache mishandles newlines in values,
1887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1888 eval ac_val=\$$ac_var
1892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1896 _ | IFS | as_nl) ;; #(
1897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1898 *) { eval $ac_var=; unset $ac_var;} ;;
1903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1904 *${as_nl}ac_space=\ *)
1906 "s/'\''/'\''\\\\'\'''\''/g;
1907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1918 ## ----------------- ##
1919 ## Output variables. ##
1920 ## ----------------- ##
1923 for ac_var in $ac_subst_vars
1925 eval ac_val=\$$ac_var
1927 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929 $as_echo "$ac_var='\''$ac_val'\''"
1933 if test -n "$ac_subst_files"; then
1935 ## ------------------- ##
1936 ## File substitutions. ##
1937 ## ------------------- ##
1940 for ac_var
in $ac_subst_files
1942 eval ac_val
=\$
$ac_var
1944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946 $as_echo "$ac_var='\''$ac_val'\''"
1951 if test -s confdefs.h; then
1961 test "$ac_signal" != 0 &&
1962 $as_echo "$as_me: caught signal $ac_signal"
1963 $as_echo "$as_me: exit $exit_status"
1965 rm -f core *.core core.conftest.* &&
1966 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969 for ac_signal
in 1 2 13 15; do
1970 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1975 rm -f -r conftest
* confdefs.h
1977 $as_echo "/* confdefs.h */" > confdefs.h
1979 # Predefined preprocessor variables.
1981 cat >>confdefs.h
<<_ACEOF
1982 #define PACKAGE_NAME "$PACKAGE_NAME"
1985 cat >>confdefs.h
<<_ACEOF
1986 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989 cat >>confdefs.h
<<_ACEOF
1990 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1993 cat >>confdefs.h
<<_ACEOF
1994 #define PACKAGE_STRING "$PACKAGE_STRING"
1997 cat >>confdefs.h
<<_ACEOF
1998 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001 cat >>confdefs.h
<<_ACEOF
2002 #define PACKAGE_URL "$PACKAGE_URL"
2006 # Let the site file select an alternate cache file if it wants to.
2007 # Prefer an explicitly selected file to automatically selected ones.
2010 if test -n "$CONFIG_SITE"; then
2011 ac_site_file1
=$CONFIG_SITE
2012 elif test "x$prefix" != xNONE
; then
2013 ac_site_file1
=$prefix/share
/config.site
2014 ac_site_file2
=$prefix/etc
/config.site
2016 ac_site_file1
=$ac_default_prefix/share
/config.site
2017 ac_site_file2
=$ac_default_prefix/etc
/config.site
2019 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2021 test "x$ac_site_file" = xNONE
&& continue
2022 if test -r "$ac_site_file"; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2025 sed 's/^/| /' "$ac_site_file" >&5
2030 if test -r "$cache_file"; then
2031 # Some versions of bash will fail to source /dev/null (special
2032 # files actually), so we avoid doing that.
2033 if test -f "$cache_file"; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2035 $as_echo "$as_me: loading cache $cache_file" >&6;}
2037 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2038 *) .
"./$cache_file";;
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2043 $as_echo "$as_me: creating cache $cache_file" >&6;}
2047 # Check that the precious variables saved in the cache have kept the same
2049 ac_cache_corrupted
=false
2050 for ac_var
in $ac_precious_vars; do
2051 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2052 eval ac_new_set
=\
$ac_env_${ac_var}_set
2053 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2054 eval ac_new_val
=\
$ac_env_${ac_var}_value
2055 case $ac_old_set,$ac_new_set in
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2059 ac_cache_corrupted
=: ;;
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2063 ac_cache_corrupted
=: ;;
2066 if test "x$ac_old_val" != "x$ac_new_val"; then
2067 # differences in whitespace do not lead to failure.
2068 ac_old_val_w
=`echo x $ac_old_val`
2069 ac_new_val_w
=`echo x $ac_new_val`
2070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2073 ac_cache_corrupted
=:
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2077 eval $ac_var=\
$ac_old_val
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2085 # Pass precious variables to config.status.
2086 if test "$ac_new_set" = set; then
2088 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2089 *) ac_arg
=$ac_var=$ac_new_val ;;
2091 case " $ac_configure_args " in
2092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2093 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2097 if $ac_cache_corrupted; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2102 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2104 ## -------------------- ##
2105 ## Main body of script. ##
2106 ## -------------------- ##
2109 ac_cpp
='$CPP $CPPFLAGS'
2110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2121 # Check whether --with-target-subdir was given.
2122 if test "${with_target_subdir+set}" = set; then :
2123 withval
=$with_target_subdir;
2127 # Check whether --with-cross-host was given.
2128 if test "${with_cross_host+set}" = set; then :
2129 withval
=$with_cross_host;
2133 # Check whether --with-ld was given.
2134 if test "${with_ld+set}" = set; then :
2139 if test "${srcdir}" = "."; then
2140 if test -n "${with_build_subdir}"; then
2141 libgcc_topdir
="${srcdir}/../.."
2143 elif test -z "${with_target_subdir}"; then
2144 libgcc_topdir
="${srcdir}/.."
2146 if test "${with_target_subdir}" != "."; then
2147 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2149 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2153 libgcc_topdir
="${srcdir}/.."
2157 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2158 for ac_t
in install-sh
install.sh shtool
; do
2159 if test -f "$ac_dir/$ac_t"; then
2161 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2166 if test -z "$ac_aux_dir"; then
2167 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2170 # These three variables are undocumented and unsupported,
2171 # and are intended to be withdrawn in a future Autoconf release.
2172 # They can cause serious problems if a builder's source tree is in a directory
2173 # whose full name contains unusual characters.
2174 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2175 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2176 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2180 # Check whether --enable-shared was given.
2181 if test "${enable_shared+set}" = set; then :
2182 enableval
=$enable_shared;
2183 case $enable_shared in
2187 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2188 for pkg
in $enableval; do
2189 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2203 # Make sure we can run config.sub.
2204 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2205 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2208 $as_echo_n "checking build system type... " >&6; }
2209 if test "${ac_cv_build+set}" = set; then :
2210 $as_echo_n "(cached) " >&6
2212 ac_build_alias
=$build_alias
2213 test "x$ac_build_alias" = x
&&
2214 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2215 test "x$ac_build_alias" = x
&&
2216 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2217 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2218 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2222 $as_echo "$ac_cv_build" >&6; }
2223 case $ac_cv_build in
2225 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2228 ac_save_IFS
=$IFS; IFS
='-'
2234 # Remember, the first character of IFS is used to create $*,
2235 # except with old shells:
2238 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2242 $as_echo_n "checking host system type... " >&6; }
2243 if test "${ac_cv_host+set}" = set; then :
2244 $as_echo_n "(cached) " >&6
2246 if test "x$host_alias" = x
; then
2247 ac_cv_host
=$ac_cv_build
2249 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2250 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2255 $as_echo "$ac_cv_host" >&6; }
2258 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2261 ac_save_IFS
=$IFS; IFS
='-'
2267 # Remember, the first character of IFS is used to create $*,
2268 # except with old shells:
2271 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2279 # PIC is the default on some targets or must not be used.
2281 # PIC is the default on this platform
2282 # Common symbols not allowed in MH_DYLIB files
2286 # PIC is the default.
2289 # PIC is the default for 64-bit PA HP-UX.
2291 i
[34567]86-*-cygwin* | i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2293 i
[34567]86-*-interix[3-9]*)
2294 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2295 # Instead, we relocate shared libraries at runtime.
2297 i
[34567]86-*-nto-qnx*)
2298 # QNX uses GNU C++, but need to define -shared option too, otherwise
2300 PICFLAG
='-fPIC -shared'
2302 i
[34567]86-pc-msdosdjgpp*)
2303 # DJGPP does not support shared libraries at all.
2306 # On IA64 HP-UX, PIC is the default but the pic flag
2307 # sets the default TLS model and affects inlining.
2311 # PIC is the default.
2313 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2314 # All AIX code is PIC.
2317 # Some targets support both -fPIC and -fpic, but prefer the latter.
2319 i
[34567]86-*-* | x86_64-
*-*)
2325 # FIXME: Override -fPIC default in libgcc only?
2326 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2329 # FIXME: Simplify to sh*-*-netbsd*?
2330 sh-
*-netbsdelf* | shl
*-*-netbsdelf* | sh5-
*-netbsd* | sh5l
*-*-netbsd* | \
2331 sh64-
*-netbsd* | sh64l
*-*-netbsd*)
2334 # Default to -fPIC unless specified otherwise.
2340 # If the user explicitly uses -fpic/-fPIC, keep that.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2353 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2354 # Check whether --enable-version-specific-runtime-libs was given.
2355 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2356 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2357 yes) version_specific_libs
=yes ;;
2358 no
) version_specific_libs
=no
;;
2359 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2362 version_specific_libs
=no
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2366 $as_echo "$version_specific_libs" >&6; }
2369 # Check whether --with-slibdir was given.
2370 if test "${with_slibdir+set}" = set; then :
2371 withval
=$with_slibdir; slibdir
="$with_slibdir"
2373 if test "${version_specific_libs}" = yes; then
2374 slibdir
='$(libsubdir)'
2375 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2376 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2384 # Command-line options.
2385 # Very limited version of AC_MAINTAINER_MODE.
2386 # Check whether --enable-maintainer-mode was given.
2387 if test "${enable_maintainer_mode+set}" = set; then :
2388 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2391 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2393 maintainer_mode
=${enableval}
2399 # Find a good install program. We prefer a C program (faster),
2400 # so one script is as good as another. But avoid the broken or
2401 # incompatible versions:
2402 # SysV /etc/install, /usr/sbin/install
2403 # SunOS /usr/etc/install
2404 # IRIX /sbin/install
2406 # AmigaOS /C/install, which installs bootblocks on floppy discs
2407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2410 # OS/2's system install, which has a completely different semantic
2411 # ./install, which can be erroneously created by make from ./install.sh.
2412 # Reject install programs that cannot install multiple files.
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2414 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2415 if test -z "$INSTALL"; then
2416 if test "${ac_cv_path_install+set}" = set; then :
2417 $as_echo_n "(cached) " >&6
2419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir
=.
2424 # Account for people who put trailing slashes in PATH elements.
2425 case $as_dir/ in #((
2426 .
/ | .
// |
/[cC
]/* | \
2427 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2428 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2431 # OSF1 and SCO ODT 3.0 have their own names for install.
2432 # Don't use installbsd from OSF since it installs stuff as root
2434 for ac_prog
in ginstall scoinst
install; do
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2437 if test $ac_prog = install &&
2438 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2439 # AIX install. It has an incompatible calling convention.
2441 elif test $ac_prog = install &&
2442 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2443 # program-specific install script used by HP pwplus--don't use.
2446 rm -rf conftest.one conftest.two conftest.dir
2447 echo one
> conftest.one
2448 echo two
> conftest.two
2450 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2451 test -s conftest.one
&& test -s conftest.two
&&
2452 test -s conftest.dir
/conftest.one
&&
2453 test -s conftest.dir
/conftest.two
2455 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2468 rm -rf conftest.one conftest.two conftest.dir
2471 if test "${ac_cv_path_install+set}" = set; then
2472 INSTALL
=$ac_cv_path_install
2474 # As a last resort, use the slow shell script. Don't cache a
2475 # value for INSTALL within a source directory, because that will
2476 # break other packages using the cache if that directory is
2477 # removed, or if the value is a relative name.
2478 INSTALL
=$ac_install_sh
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2482 $as_echo "$INSTALL" >&6; }
2484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2485 # It thinks the first close brace ends the variable substitution.
2486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2490 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2493 for ac_prog
in gawk mawk nawk
awk
2495 # Extract the first word of "$ac_prog", so it can be a program name with args.
2496 set dummy
$ac_prog; ac_word
=$2
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2498 $as_echo_n "checking for $ac_word... " >&6; }
2499 if test "${ac_cv_prog_AWK+set}" = set; then :
2500 $as_echo_n "(cached) " >&6
2502 if test -n "$AWK"; then
2503 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_AWK
="$ac_prog"
2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 if test -n "$AWK"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2525 $as_echo "$AWK" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2532 test -n "$AWK" && break
2535 # We need awk; bail out if it's missing.
2537 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2541 case ${build_alias} in
2542 "") build_noncanonical
=${build} ;;
2543 *) build_noncanonical
=${build_alias} ;;
2546 case ${host_alias} in
2547 "") host_noncanonical
=${build_noncanonical} ;;
2548 *) host_noncanonical
=${host_alias} ;;
2553 case ${target_alias} in
2554 "") target_noncanonical
=${host_noncanonical} ;;
2555 *) target_noncanonical
=${target_alias} ;;
2561 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2562 # have matching libraries, they should use host libraries: Makefile.tpl
2563 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2564 # However, they still use the build modules, because the corresponding
2565 # host modules (e.g. bison) are only built for the host when bootstrap
2567 # - build_subdir is where we find build modules, and never changes.
2568 # - build_libsubdir is where we find build libraries, and can be overridden.
2570 # Prefix 'build-' so this never conflicts with target_subdir.
2571 build_subdir
="build-${build_noncanonical}"
2573 # Check whether --with-build-libsubdir was given.
2574 if test "${with_build_libsubdir+set}" = set; then :
2575 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2577 build_libsubdir
="$build_subdir"
2580 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2581 if ( test $srcdir = .
&& test -d gcc
) \
2582 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2583 host_subdir
="host-${host_noncanonical}"
2588 target_subdir
=${target_noncanonical}
2591 # Calculate toolexeclibdir
2592 # Also toolexecdir, though it's only used in toolexeclibdir
2593 case ${version_specific_libs} in
2595 # Need the gcc compiler version to know where to install libraries
2596 # and header files if --enable-version-specific-runtime-libs option
2598 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2599 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2602 if test -n "$with_cross_host" &&
2603 test x
"$with_cross_host" != x
"no"; then
2604 # Install a library built with a cross compiler in tooldir, not libdir.
2605 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2606 toolexeclibdir
='$(toolexecdir)/lib'
2608 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2609 toolexeclibdir
='$(libdir)'
2611 multi_os_directory
=`$CC -print-multi-os-directory`
2612 case $multi_os_directory in
2613 .
) ;; # Avoid trailing /.
2614 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2623 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if test "${ac_cv_prog_AR+set}" = set; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$AR"; then
2630 ac_cv_prog_AR
="$AR" # Let the user override the test.
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 for ac_exec_ext
in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$AR"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2652 $as_echo "$AR" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2660 if test -z "$ac_cv_prog_AR"; then
2662 # Extract the first word of "ar", so it can be a program name with args.
2663 set dummy
ar; ac_word
=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$ac_ct_AR"; then
2670 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_ac_ct_AR
="ar"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2690 if test -n "$ac_ct_AR"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2692 $as_echo "$ac_ct_AR" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2698 if test "x$ac_ct_AR" = x
; then
2701 case $cross_compiling:$ac_tool_warned in
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705 ac_tool_warned
=yes ;;
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2715 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_LIPO+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$LIPO"; then
2722 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 LIPO
=$ac_cv_prog_LIPO
2742 if test -n "$LIPO"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2744 $as_echo "$LIPO" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2752 if test -z "$ac_cv_prog_LIPO"; then
2754 # Extract the first word of "lipo", so it can be a program name with args.
2755 set dummy lipo
; ac_word
=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$ac_ct_LIPO"; then
2762 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir
=.
2769 for ac_exec_ext
in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_ac_ct_LIPO
="lipo"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2782 if test -n "$ac_ct_LIPO"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2784 $as_echo "$ac_ct_LIPO" >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2790 if test "x$ac_ct_LIPO" = x
; then
2793 case $cross_compiling:$ac_tool_warned in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2797 ac_tool_warned
=yes ;;
2802 LIPO
="$ac_cv_prog_LIPO"
2805 if test -n "$ac_tool_prefix"; then
2806 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2807 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_NM+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$NM"; then
2814 ac_cv_prog_NM
="$NM" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$NM"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2836 $as_echo "$NM" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2844 if test -z "$ac_cv_prog_NM"; then
2846 # Extract the first word of "nm", so it can be a program name with args.
2847 set dummy nm
; ac_word
=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$ac_ct_NM"; then
2854 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir
=.
2861 for ac_exec_ext
in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_ac_ct_NM
="nm"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2874 if test -n "$ac_ct_NM"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2876 $as_echo "$ac_ct_NM" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2882 if test "x$ac_ct_NM" = x
; then
2885 case $cross_compiling:$ac_tool_warned in
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2889 ac_tool_warned
=yes ;;
2897 if test -n "$ac_tool_prefix"; then
2898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2899 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$RANLIB"; then
2906 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir
=.
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2915 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 RANLIB
=$ac_cv_prog_RANLIB
2926 if test -n "$RANLIB"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2928 $as_echo "$RANLIB" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2936 if test -z "$ac_cv_prog_RANLIB"; then
2937 ac_ct_RANLIB
=$RANLIB
2938 # Extract the first word of "ranlib", so it can be a program name with args.
2939 set dummy ranlib
; ac_word
=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$ac_ct_RANLIB"; then
2946 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir
=.
2953 for ac_exec_ext
in '' $ac_executable_extensions; do
2954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2955 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2966 if test -n "$ac_ct_RANLIB"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2968 $as_echo "$ac_ct_RANLIB" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2974 if test "x$ac_ct_RANLIB" = x
; then
2977 case $cross_compiling:$ac_tool_warned in
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2981 ac_tool_warned
=yes ;;
2983 RANLIB
=$ac_ct_RANLIB
2986 RANLIB
="$ac_cv_prog_RANLIB"
2989 if test -n "$ac_tool_prefix"; then
2990 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2991 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if test "${ac_cv_prog_STRIP+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$STRIP"; then
2998 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir
=.
3005 for ac_exec_ext
in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 STRIP
=$ac_cv_prog_STRIP
3018 if test -n "$STRIP"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3020 $as_echo "$STRIP" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3028 if test -z "$ac_cv_prog_STRIP"; then
3030 # Extract the first word of "strip", so it can be a program name with args.
3031 set dummy strip
; ac_word
=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$ac_ct_STRIP"; then
3038 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_prog_ac_ct_STRIP
="strip"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3058 if test -n "$ac_ct_STRIP"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3060 $as_echo "$ac_ct_STRIP" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3066 if test "x$ac_ct_STRIP" = x
; then
3069 case $cross_compiling:$ac_tool_warned in
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3073 ac_tool_warned
=yes ;;
3078 STRIP
="$ac_cv_prog_STRIP"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3082 $as_echo_n "checking whether ln -s works... " >&6; }
3084 if test "$LN_S" = "ln -s"; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3089 $as_echo "no, using $LN_S" >&6; }
3095 ac_cpp
='$CPP $CPPFLAGS'
3096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3099 if test -n "$ac_tool_prefix"; then
3100 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3101 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_CC+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$CC"; then
3108 ac_cv_prog_CC
="$CC" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 if test -n "$CC"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130 $as_echo "$CC" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3138 if test -z "$ac_cv_prog_CC"; then
3140 # Extract the first word of "gcc", so it can be a program name with args.
3141 set dummy gcc
; ac_word
=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$ac_ct_CC"; then
3148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3157 ac_cv_prog_ac_ct_CC
="gcc"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3168 if test -n "$ac_ct_CC"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3170 $as_echo "$ac_ct_CC" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3176 if test "x$ac_ct_CC" = x
; then
3179 case $cross_compiling:$ac_tool_warned in
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183 ac_tool_warned
=yes ;;
3191 if test -z "$CC"; then
3192 if test -n "$ac_tool_prefix"; then
3193 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3194 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_CC+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$CC"; then
3201 ac_cv_prog_CC
="$CC" # Let the user override the test.
3203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir
=.
3208 for ac_exec_ext
in '' $ac_executable_extensions; do
3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 if test -n "$CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223 $as_echo "$CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3232 if test -z "$CC"; then
3233 # Extract the first word of "cc", so it can be a program name with args.
3234 set dummy cc
; ac_word
=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if test "${ac_cv_prog_CC+set}" = set; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC
="$CC" # Let the user override the test.
3244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3248 test -z "$as_dir" && as_dir
=.
3249 for ac_exec_ext
in '' $ac_executable_extensions; do
3250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252 ac_prog_rejected
=yes
3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 if test $ac_prog_rejected = yes; then
3264 # We found a bogon in the path, so make sure we never use it.
3265 set dummy
$ac_cv_prog_CC
3267 if test $# != 0; then
3268 # We chose a different compiler from the bogus one.
3269 # However, it has the same basename, so the bogon will be chosen
3270 # first if we set CC to just the basename; use the full file name.
3272 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3278 if test -n "$CC"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3280 $as_echo "$CC" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3288 if test -z "$CC"; then
3289 if test -n "$ac_tool_prefix"; then
3290 for ac_prog
in cl.exe
3292 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3293 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_CC+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$CC"; then
3300 ac_cv_prog_CC
="$CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 if test -n "$CC"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322 $as_echo "$CC" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3329 test -n "$CC" && break
3332 if test -z "$CC"; then
3334 for ac_prog
in cl.exe
3336 # Extract the first word of "$ac_prog", so it can be a program name with args.
3337 set dummy
$ac_prog; ac_word
=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$ac_ct_CC"; then
3344 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir
=.
3351 for ac_exec_ext
in '' $ac_executable_extensions; do
3352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353 ac_cv_prog_ac_ct_CC
="$ac_prog"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3364 if test -n "$ac_ct_CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3366 $as_echo "$ac_ct_CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3373 test -n "$ac_ct_CC" && break
3376 if test "x$ac_ct_CC" = x
; then
3379 case $cross_compiling:$ac_tool_warned in
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3383 ac_tool_warned
=yes ;;
3392 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error
"no acceptable C compiler found in \$PATH
3395 See \`config.log' for more details." "$LINENO" 5; }
3397 # Provide some information about the compiler.
3398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3401 for ac_option
in --version -v -V -qversion; do
3402 { { ac_try
="$ac_compiler $ac_option >&5"
3404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3411 if test -s conftest.err; then
3413 ... rest of stderr output deleted ...
3414 10q' conftest.err >conftest.er1
3415 cat conftest.er1 >&5
3416 rm -f conftest.er1 conftest.err
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3435 (eval $ac_link) 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; then :
3443 if test x$gcc_no_link = xyes; then
3444 # Setting cross_compile will disable run tests; it will
3445 # also disable AC_CHECK_FILE but that's generally
3446 # correct if we can't link.
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 ac_clean_files_save=$ac_clean_files
3462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3463 # Try to create an executable without -o first, disregard a.out.
3464 # It will help us diagnose broken compilers, and finding out an intuition
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3467 $as_echo_n "checking for C compiler default output file name... " >&6; }
3468 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3470 # The possible output files:
3471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3474 for ac_file in $ac_files
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3483 if { { ac_try="$ac_link_default"
3485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3486 *) ac_try_echo
=$ac_try;;
3488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_link_default") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3497 # so that the user can short-circuit this test for compilers unknown to
3499 for ac_file
in $ac_files ''
3501 test -f "$ac_file" ||
continue
3503 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3506 # We found the default executable, but exeext='' is most
3510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514 # We set ac_cv_exeext here because the later test for it is not
3515 # safe: cross compilers may not add the suffix if given an `-o'
3516 # argument, so we may need to know it at that point already.
3517 # Even if this section looks crufty: it has the advantage of
3524 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3530 $as_echo "$ac_file" >&6; }
3531 if test -z "$ac_file"; then :
3532 $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 { as_fn_set_status
77
3538 as_fn_error
"C compiler cannot create executables
3539 See \`config.log' for more details." "$LINENO" 5; }; }
3541 ac_exeext
=$ac_cv_exeext
3543 # Check that the compiler produces executables we can run. If not, either
3544 # the compiler is broken, or we cross compile.
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3546 $as_echo_n "checking whether the C compiler works... " >&6; }
3547 # If not cross compiling, check that we can run a simple program.
3548 if test "$cross_compiling" != yes; then
3549 if { ac_try
='./$ac_file'
3550 { { case "(($ac_try" in
3551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_try") 2>&5
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; }; then
3562 if test "$cross_compiling" = maybe; then
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error "cannot run C compiled programs.
3568 If you meant to cross compile
, use \
`--host'.
3569 See \`config.log
' for more details." "$LINENO" 5; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 # Check that the compiler produces executables we can run. If not, either
3579 # the compiler is broken, or we cross compile.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3581 $as_echo_n "checking whether we are cross compiling... " >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3583 $as_echo "$cross_compiling" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3586 $as_echo_n "checking for suffix of executables... " >&6; }
3587 if { { ac_try="$ac_link"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_link") 2>&5
3596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3597 test $ac_status = 0; }; then :
3598 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3599 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3600 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3602 for ac_file
in conftest.exe conftest conftest.
*; do
3603 test -f "$ac_file" ||
continue
3605 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3606 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3615 See \`config.log' for more details." "$LINENO" 5; }
3617 rm -f conftest
$ac_cv_exeext
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3619 $as_echo "$ac_cv_exeext" >&6; }
3621 rm -f conftest.
$ac_ext
3622 EXEEXT
=$ac_cv_exeext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3626 $as_echo_n "checking for suffix of object files... " >&6; }
3627 if test "${ac_cv_objext+set}" = set; then :
3628 $as_echo_n "(cached) " >&6
3630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3641 rm -f conftest.o conftest.obj
3642 if { { ac_try
="$ac_compile"
3644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649 (eval "$ac_compile") 2>&5
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }; then :
3653 for ac_file in conftest.o conftest.obj conftest.*; do
3654 test -f "$ac_file" || continue;
3656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3657 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3662 $as_echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.$ac_ext >&5
3665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 as_fn_error "cannot compute suffix of object files
: cannot compile
3668 See \
`config.log' for more details." "$LINENO" 5; }
3670 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3673 $as_echo "$ac_cv_objext" >&6; }
3674 OBJEXT=$ac_cv_objext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3677 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3678 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3695 if ac_fn_c_try_compile "$LINENO"; then :
3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3705 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3706 if test $ac_compiler_gnu = yes; then
3711 ac_test_CFLAGS=${CFLAGS+set}
3712 ac_save_CFLAGS=$CFLAGS
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3714 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3715 if test "${ac_cv_prog_cc_g+set}" = set; then :
3716 $as_echo_n "(cached) " >&6
3718 ac_save_c_werror_flag=$ac_c_werror_flag
3719 ac_c_werror_flag=yes
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3733 if ac_fn_c_try_compile "$LINENO"; then :
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3748 if ac_fn_c_try_compile "$LINENO"; then :
3751 ac_c_werror_flag=$ac_save_c_werror_flag
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3764 if ac_fn_c_try_compile "$LINENO"; then :
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_c_werror_flag=$ac_save_c_werror_flag
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3775 $as_echo "$ac_cv_prog_cc_g" >&6; }
3776 if test "$ac_test_CFLAGS" = set; then
3777 CFLAGS=$ac_save_CFLAGS
3778 elif test $ac_cv_prog_cc_g = yes; then
3779 if test "$GCC" = yes; then
3785 if test "$GCC" = yes; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3792 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3793 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 ac_cv_prog_cc_c89=no
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3802 #include <sys/types.h>
3803 #include <sys/stat.h>
3804 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3805 struct buf { int x; };
3806 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3807 static char *e (p, i)
3813 static char *f (char * (*g) (char **, int), char **p, ...)
3818 s = g (p, va_arg (v,int));
3823 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3824 function prototypes and stuff, but not '\xHH' hex character constants.
3825 These don't provoke an error unfortunately, instead are silently treated
3826 as 'x'. The following induces an error, until -std is added to get
3827 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3828 array size at least. It's necessary to write '\x00'==0 to get something
3829 that's true only with -std. */
3830 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3832 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3833 inside strings and character constants. */
3835 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3837 int test (int i, double x);
3838 struct s1 {int (*f) (int a);};
3839 struct s2 {int (*f) (double a);};
3840 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3846 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3851 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3852 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3854 CC="$ac_save_CC $ac_arg"
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856 ac_cv_prog_cc_c89=$ac_arg
3858 rm -f core conftest.err conftest.$ac_objext
3859 test "x$ac_cv_prog_cc_c89" != "xno" && break
3861 rm -f conftest.$ac_ext
3866 case "x$ac_cv_prog_cc_c89" in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3869 $as_echo "none needed" >&6; } ;;
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3872 $as_echo "unsupported" >&6; } ;;
3874 CC="$CC $ac_cv_prog_cc_c89"
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3876 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3878 if test "x$ac_cv_prog_cc_c89" != xno; then :
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3895 # On Suns, sometimes $CPP names a directory.
3896 if test -n "$CPP" && test -d "$CPP"; then
3899 if test -z "$CPP"; then
3900 if test "${ac_cv_prog_CPP+set}" = set; then :
3901 $as_echo_n "(cached) " >&6
3903 # Double quotes because CPP needs to be expanded
3904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3907 for ac_c_preproc_warn_flag in '' yes
3909 # Use a header file that comes with gcc, so configuring glibc
3910 # with a fresh cross-compiler works.
3911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3912 # <limits.h> exists even on freestanding compilers.
3913 # On the NeXT, cc -E runs the code through the compiler's parser,
3914 # not just through cpp. "Syntax error" is here to catch this case.
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3918 # include <limits.h>
3920 # include <assert.h>
3924 if ac_fn_c_try_cpp "$LINENO"; then :
3927 # Broken: fails on valid input.
3930 rm -f conftest.err conftest.$ac_ext
3932 # OK, works on sane cases. Now check whether nonexistent headers
3933 # can be detected and how.
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3936 #include <ac_nonexistent.h>
3938 if ac_fn_c_try_cpp "$LINENO"; then :
3939 # Broken: success on invalid input.
3942 # Passes both tests.
3946 rm -f conftest.err conftest.$ac_ext
3949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3950 rm -f conftest.err conftest.
$ac_ext
3951 if $ac_preproc_ok; then :
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3964 $as_echo "$CPP" >&6; }
3966 for ac_c_preproc_warn_flag
in '' yes
3968 # Use a header file that comes with gcc, so configuring glibc
3969 # with a fresh cross-compiler works.
3970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3971 # <limits.h> exists even on freestanding compilers.
3972 # On the NeXT, cc -E runs the code through the compiler's parser,
3973 # not just through cpp. "Syntax error" is here to catch this case.
3974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3977 # include <limits.h>
3979 # include <assert.h>
3983 if ac_fn_c_try_cpp
"$LINENO"; then :
3986 # Broken: fails on valid input.
3989 rm -f conftest.err conftest.
$ac_ext
3991 # OK, works on sane cases. Now check whether nonexistent headers
3992 # can be detected and how.
3993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3995 #include <ac_nonexistent.h>
3997 if ac_fn_c_try_cpp
"$LINENO"; then :
3998 # Broken: success on invalid input.
4001 # Passes both tests.
4005 rm -f conftest.err conftest.
$ac_ext
4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4009 rm -f conftest.err conftest.
$ac_ext
4010 if $ac_preproc_ok; then :
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4016 See \`config.log' for more details." "$LINENO" 5; }
4020 ac_cpp
='$CPP $CPPFLAGS'
4021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4026 ac_c_preproc_warn_flag
=yes
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4031 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4032 if test "${ac_cv_path_GREP+set}" = set; then :
4033 $as_echo_n "(cached) " >&6
4035 if test -z "$GREP"; then
4036 ac_path_GREP_found
=false
4037 # Loop through the user's path and test for each of PROGNAME-LIST
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_prog
in grep ggrep
; do
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4046 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4047 # Check for GNU ac_path_GREP and select it if it is found.
4048 # Check for GNU $ac_path_GREP
4049 case `"$ac_path_GREP" --version 2>&1` in
4051 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4054 $as_echo_n 0123456789 >"conftest.in"
4057 cat "conftest.in" "conftest.in" >"conftest.tmp"
4058 mv "conftest.tmp" "conftest.in"
4059 cp "conftest.in" "conftest.nl"
4060 $as_echo 'GREP' >> "conftest.nl"
4061 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4062 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4063 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4064 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4065 # Best one so far, save it but keep looking for a better one
4066 ac_cv_path_GREP
="$ac_path_GREP"
4067 ac_path_GREP_max
=$ac_count
4069 # 10*(2^10) chars as input seems more than enough
4070 test $ac_count -gt 10 && break
4072 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4075 $ac_path_GREP_found && break 3
4080 if test -z "$ac_cv_path_GREP"; then
4081 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4084 ac_cv_path_GREP
=$GREP
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4089 $as_echo "$ac_cv_path_GREP" >&6; }
4090 GREP
="$ac_cv_path_GREP"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4094 $as_echo_n "checking for egrep... " >&6; }
4095 if test "${ac_cv_path_EGREP+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4099 then ac_cv_path_EGREP
="$GREP -E"
4101 if test -z "$EGREP"; then
4102 ac_path_EGREP_found
=false
4103 # Loop through the user's path and test for each of PROGNAME-LIST
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_prog
in egrep; do
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4112 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4113 # Check for GNU ac_path_EGREP and select it if it is found.
4114 # Check for GNU $ac_path_EGREP
4115 case `"$ac_path_EGREP" --version 2>&1` in
4117 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4120 $as_echo_n 0123456789 >"conftest.in"
4123 cat "conftest.in" "conftest.in" >"conftest.tmp"
4124 mv "conftest.tmp" "conftest.in"
4125 cp "conftest.in" "conftest.nl"
4126 $as_echo 'EGREP' >> "conftest.nl"
4127 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4129 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4130 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4131 # Best one so far, save it but keep looking for a better one
4132 ac_cv_path_EGREP
="$ac_path_EGREP"
4133 ac_path_EGREP_max
=$ac_count
4135 # 10*(2^10) chars as input seems more than enough
4136 test $ac_count -gt 10 && break
4138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4141 $ac_path_EGREP_found && break 3
4146 if test -z "$ac_cv_path_EGREP"; then
4147 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4150 ac_cv_path_EGREP
=$EGREP
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4156 $as_echo "$ac_cv_path_EGREP" >&6; }
4157 EGREP
="$ac_cv_path_EGREP"
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4161 $as_echo_n "checking for ANSI C header files... " >&6; }
4162 if test "${ac_cv_header_stdc+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4180 if ac_fn_c_try_compile
"$LINENO"; then :
4181 ac_cv_header_stdc
=yes
4183 ac_cv_header_stdc
=no
4185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4187 if test $ac_cv_header_stdc = yes; then
4188 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4195 $EGREP "memchr" >/dev
/null
2>&1; then :
4198 ac_cv_header_stdc
=no
4204 if test $ac_cv_header_stdc = yes; then
4205 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4212 $EGREP "free" >/dev
/null
2>&1; then :
4215 ac_cv_header_stdc
=no
4221 if test $ac_cv_header_stdc = yes; then
4222 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4223 if test "$cross_compiling" = yes; then :
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 #if ((' ' & 0x0FF) == 0x020)
4231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4234 # define ISLOWER(c) \
4235 (('a' <= (c) && (c) <= 'i') \
4236 || ('j' <= (c) && (c) <= 'r') \
4237 || ('s' <= (c) && (c) <= 'z'))
4238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4246 for (i = 0; i < 256; i++)
4247 if (XOR (islower (i), ISLOWER (i))
4248 || toupper (i) != TOUPPER (i))
4253 if ac_fn_c_try_run
"$LINENO"; then :
4256 ac_cv_header_stdc
=no
4258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4265 $as_echo "$ac_cv_header_stdc" >&6; }
4266 if test $ac_cv_header_stdc = yes; then
4268 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4273 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4274 inttypes.h stdint.h unistd.h
4276 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4277 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4278 eval as_val
=\$
$as_ac_Header
4279 if test "x$as_val" = x
""yes; then :
4280 cat >>confdefs.h
<<_ACEOF
4281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4288 # The cast to long int works around a bug in the HP C Compiler
4289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4291 # This bug is HP SR number 8606223364.
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4293 $as_echo_n "checking size of double... " >&6; }
4294 if test "${ac_cv_sizeof_double+set}" = set; then :
4295 $as_echo_n "(cached) " >&6
4297 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4300 if test "$ac_cv_type_double" = yes; then
4301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4303 { as_fn_set_status
77
4304 as_fn_error
"cannot compute sizeof (double)
4305 See \`config.log' for more details." "$LINENO" 5; }; }
4307 ac_cv_sizeof_double
=0
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4313 $as_echo "$ac_cv_sizeof_double" >&6; }
4317 cat >>confdefs.h
<<_ACEOF
4318 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4322 # The cast to long int works around a bug in the HP C Compiler
4323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4325 # This bug is HP SR number 8606223364.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4327 $as_echo_n "checking size of long double... " >&6; }
4328 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4334 if test "$ac_cv_type_long_double" = yes; then
4335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4337 { as_fn_set_status
77
4338 as_fn_error
"cannot compute sizeof (long double)
4339 See \`config.log' for more details." "$LINENO" 5; }; }
4341 ac_cv_sizeof_long_double
=0
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4347 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4351 cat >>confdefs.h
<<_ACEOF
4352 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4356 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4357 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4361 # Check for decimal float support.
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4363 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4364 if test "${libgcc_cv_dfp+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 if ac_fn_c_try_compile
"$LINENO"; then :
4376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4379 $as_echo "$libgcc_cv_dfp" >&6; }
4380 decimal_float
=$libgcc_cv_dfp
4384 # Check whether --enable-decimal-float was given.
4385 if test "${enable_decimal_float+set}" = set; then :
4386 enableval
=$enable_decimal_float;
4387 case $enable_decimal_float in
4388 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4389 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4390 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4396 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4397 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4399 enable_decimal_float
=yes
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4403 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4404 enable_decimal_float
=no
4411 # x86's use BID format instead of DPD
4412 case x
$enable_decimal_float in
4415 i?
86*-*-* | x86_64
*-*-*)
4416 enable_decimal_float
=bid
4419 enable_decimal_float
=dpd
4422 default_decimal_float
=$enable_decimal_float
4425 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4426 # dependency on libdecnumber.
4427 default_decimal_float
=dpd
4434 # Check for fixed-point support.
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4436 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4437 if test "${libgcc_cv_fixed_point+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4444 if ac_fn_c_try_compile
"$LINENO"; then :
4445 libgcc_cv_fixed_point
=yes
4447 libgcc_cv_fixed_point
=no
4449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4452 $as_echo "$libgcc_cv_fixed_point" >&6; }
4453 fixed_point
=$libgcc_cv_fixed_point
4456 # For platforms with the unwind ABI which includes an unwind library,
4457 # libunwind, we can choose to use the system libunwind.
4458 # config.gcc also contains tests of with_system_libunwind.
4461 # Check whether --with-system-libunwind was given.
4462 if test "${with_system_libunwind+set}" = set; then :
4463 withval
=$with_system_libunwind;
4466 # If system-libunwind was not specifically set, pick a default setting.
4467 if test x
$with_system_libunwind = x
; then
4469 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4470 *) with_system_libunwind
=no
;;
4473 # Based on system-libunwind and target, do we have ipinfo?
4474 if test x
$with_system_libunwind = xyes
; then
4476 ia64-
*-*) have_unwind_getipinfo
=no
;;
4477 *) have_unwind_getipinfo
=yes ;;
4480 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4483 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4484 *) have_unwind_getipinfo
=yes ;;
4489 if test x
$have_unwind_getipinfo = xyes
; then
4491 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4496 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4497 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4498 # libobjc/configure.ac (for Objective-C).
4499 # FIXME: This should be centralized in config/sjlj.m4.
4500 # Check whether --enable-sjlj-exceptions was given.
4501 if test "${enable_sjlj_exceptions+set}" = set; then :
4502 enableval
=$enable_sjlj_exceptions; case "$enableval" in
4504 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4507 enable_sjlj_exceptions
=auto
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4512 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4513 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4523 int i __attribute__ ((cleanup (clean)));
4529 CFLAGS
="--save-temps -fexceptions"
4530 libgcc_cv_lib_sjlj_exceptions
=unknown
4531 if ac_fn_c_try_compile
; then :
4532 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
4533 libgcc_cv_lib_sjlj_exceptions
=yes
4534 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
4535 libgcc_cv_lib_sjlj_exceptions
=no
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4543 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4545 if test "$enable_sjlj_exceptions" = "auto"; then
4546 enable_sjlj_exceptions
=$libgcc_cv_lib_sjlj_exceptions
4549 case $enable_sjlj_exceptions in
4552 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4558 as_fn_error
"unable to detect exception model" "$LINENO" 5
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4563 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4564 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4565 $as_echo_n "(cached) " >&6
4567 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4568 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4569 acl_cv_prog_gnu_ld
=yes
4571 acl_cv_prog_gnu_ld
=no
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4575 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4576 with_gnu_ld
=$acl_cv_prog_gnu_ld
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4580 $as_echo_n "checking for thread model used by GCC... " >&6; }
4581 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4583 $as_echo "$target_thread_file" >&6; }
4585 # Check for assembler CFI support.
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4587 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4588 if test "${libgcc_cv_cfi+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4596 .cfi_personality 0, symbol\n\
4599 if ac_fn_c_try_compile
"$LINENO"; then :
4604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4607 $as_echo "$libgcc_cv_cfi" >&6; }
4609 # Check 32bit or 64bit
4610 cat > conftest.c
<<EOF
4611 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__))
4617 eval `${CC-cc} -E conftest.c | grep host_address=`
4620 # Collect host-machine-specific information.
4621 .
${srcdir}/config.
host
4623 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4624 # This is after config.host so we can augment tmake_file.
4625 # Link with -nostartfiles -nodefaultlibs since neither are present while
4628 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4629 cat > conftest.s
<<EOF
4630 .section .eh_frame,"a",@unwind
4632 .section .jcr,"aw",@progbits
4635 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4636 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4640 test $ac_status = 0; }; }; then
4641 tmake_file
="${tmake_file} i386/t-crtstuff"
4646 # Check for visibility support. This is after config.host so that
4647 # we can check for asm_hidden_op.
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4649 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4650 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4654 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4655 libgcc_cv_hidden_visibility_attribute
=no
4656 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4657 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }; }; then
4662 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4663 libgcc_cv_hidden_visibility_attribute
=yes
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4670 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4672 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4673 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4679 # See if we have thread-local storage. We can only test assembler
4680 # sicne link-time and run-time tests require the newly built
4681 # gcc, which can't be used to build executable due to that libgcc
4682 # is yet to be built here.
4684 # Check whether --enable-tls was given.
4685 if test "${enable_tls+set}" = set; then :
4686 enableval
=$enable_tls;
4687 case "$enableval" in
4689 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4698 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4699 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 __thread int a; int b; int main() { return a = b; }
4707 if ac_fn_c_try_compile
"$LINENO"; then :
4708 gcc_cv_have_cc_tls
=yes
4710 gcc_cv_have_cc_tls
=no
4712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4716 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4718 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4719 set_have_cc_tls
="-DHAVE_CC_TLS"
4723 # See if we have emulated thread-local storage.
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4726 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4727 if test "${gcc_cv_use_emutls+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4731 gcc_cv_use_emutls
=no
4732 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4733 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4734 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4738 test $ac_status = 0; }; }; then
4739 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4740 gcc_cv_use_emutls
=yes
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4747 $as_echo "$gcc_cv_use_emutls" >&6; }
4748 if test "$gcc_cv_use_emutls" = "yes" ; then
4750 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4754 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4755 set_use_emutls
="-DUSE_EMUTLS"
4759 # Conditionalize the sfp-machine.h header for this target machine.
4760 if test -z "${sfp_machine_header}"; then
4761 sfp_machine_header
=$cpu_type/sfp-machine.h
4762 if test -f ${srcdir}/config
/${sfp_machine_header}; then
4765 sfp_machine_header
=no-sfp-machine.h
4770 # Conditionalize the makefile for this target machine.
4772 for f
in ${tmake_file}
4774 if test -f ${srcdir}/config
/$f
4776 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
4779 tmake_file
="${tmake_file_}"
4782 # Likewise export definitions for libgcc_tm.h
4786 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
4788 tm_file
="${tm_file_}"
4792 # Map from thread model to thread header.
4793 case $target_thread_file in
4794 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
4795 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
4796 lynx
) thread_header
=config
/gthr-lynx.h
;;
4797 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
4798 posix
) thread_header
=gthr-posix.h
;;
4799 rtems
) thread_header
=config
/gthr-rtems.h
;;
4800 single
) thread_header
=gthr-single.h
;;
4801 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
4802 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
4803 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
4806 # Substitute configuration variables
4810 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4812 ac_config_links
="$ac_config_links unwind.h:$unwind_header"
4814 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4816 ac_config_links
="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4818 ac_config_links
="$ac_config_links gthr-default.h:$thread_header"
4821 # We need multilib support.
4822 ac_config_files
="$ac_config_files Makefile"
4824 ac_config_commands
="$ac_config_commands default"
4826 cat >confcache
<<\_ACEOF
4827 # This file is a shell script that caches the results of configure
4828 # tests run on this system so they can be shared between configure
4829 # scripts and configure runs, see configure's option --config-cache.
4830 # It is not useful on other systems. If it contains results you don't
4831 # want to keep, you may remove or edit it.
4833 # config.status only pays attention to the cache file if you give it
4834 # the --recheck option to rerun configure.
4836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4842 # The following way of writing the cache mishandles newlines in values,
4843 # but we know of no workaround that is simple, portable, and efficient.
4844 # So, we kill variables containing newlines.
4845 # Ultrix sh set writes to stderr and can't be redirected directly,
4846 # and sets the high bit in the cache file unless we assign to the vars.
4848 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4849 eval ac_val
=\$
$ac_var
4853 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4857 _ | IFS | as_nl
) ;; #(
4858 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4859 *) { eval $ac_var=; unset $ac_var;} ;;
4865 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4866 *${as_nl}ac_space
=\
*)
4867 # `set' does not quote correctly, so add quotes: double-quote
4868 # substitution turns \\\\ into \\, and sed turns \\ into \.
4871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4874 # `set' quotes correctly as required by POSIX, so do not add quotes.
4875 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4886 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4888 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4889 if test -w "$cache_file"; then
4890 test "x$cache_file" != "x/dev/null" &&
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4892 $as_echo "$as_me: updating cache $cache_file" >&6;}
4893 cat confcache
>$cache_file
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4896 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4901 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4902 # Let make expand exec_prefix.
4903 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4905 # Transform confdefs.h into DEFS.
4906 # Protect against shell expansion while executing Makefile rules.
4907 # Protect against Makefile macro expansion.
4909 # If the first sed substitution is executed (which looks for macros that
4910 # take arguments), then branch to the quote section. Otherwise,
4911 # look for a macro that doesn't take arguments.
4921 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4923 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4927 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4940 DEFS
=`sed -n "$ac_script" confdefs.h`
4945 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4946 # 1. Remove the extension, and $U if already installed.
4947 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4948 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4949 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4950 # will be set to the directory where LIBOBJS objects are built.
4951 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4952 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4956 LTLIBOBJS
=$ac_ltlibobjs
4960 : ${CONFIG_STATUS=./config.status}
4962 ac_clean_files_save
=$ac_clean_files
4963 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4965 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4967 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4969 # Generated by $as_me.
4970 # Run this file to recreate the current configuration.
4971 # Compiler output produced by configure, useful for debugging
4972 # configure, is in config.log if it exists.
4978 SHELL=\${CONFIG_SHELL-$SHELL}
4981 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4982 ## -------------------- ##
4983 ## M4sh Initialization. ##
4984 ## -------------------- ##
4986 # Be more Bourne compatible
4987 DUALCASE
=1; export DUALCASE
# for MKS sh
4988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4992 # is contrary to our usage. Disable this feature.
4993 alias -g '${1+"$@"}'='"$@"'
4994 setopt NO_GLOB_SUBST
4996 case `(set -o) 2>/dev/null` in #(
5008 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5009 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5012 # Prefer a ksh shell builtin over an external printf program on Solaris,
5013 # but without wasting forks for bash or zsh.
5014 if test -z "$BASH_VERSION$ZSH_VERSION" \
5015 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5016 as_echo='print
-r --'
5017 as_echo_n='print
-rn --'
5018 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5019 as_echo='printf %s
\n'
5020 as_echo_n='printf %s
'
5022 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5023 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5024 as_echo_n='/usr
/ucb
/echo -n'
5026 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5027 as_echo_n_body='eval
5031 expr "X$arg" : "X\\(.*\\)$as_nl";
5032 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5034 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5036 export as_echo_n_body
5037 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5040 as_echo='sh
-c $as_echo_body as_echo
'
5043 # The user is always right.
5044 if test "${PATH_SEPARATOR+set}" != set; then
5046 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5047 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5054 # We need space, tab and new line, in precisely that order. Quoting is
5055 # there to prevent editors from complaining about space-tab.
5056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5057 # splitting by setting IFS to empty value.)
5060 # Find who we are. Look in the path if we contain no directory separator.
5062 *[\\/]* ) as_myself=$0 ;;
5063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir=.
5068 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5074 # We did not find ourselves, most probably we were run as `sh COMMAND'
5075 # in which case we are not to be found in the path.
5076 if test "x$as_myself" = x
; then
5079 if test ! -f "$as_myself"; then
5080 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5084 # Unset variables that we do not need and which cause bugs (e.g. in
5085 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5086 # suppresses any "Segmentation fault" message there. '((' could
5087 # trigger a bug in pdksh 5.2.14.
5088 for as_var
in BASH_ENV ENV MAIL MAILPATH
5089 do eval test x\
${$as_var+set} = xset \
5090 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5103 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5106 # as_fn_error ERROR [LINENO LOG_FD]
5107 # ---------------------------------
5108 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5109 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5110 # script with status $?, using 1 if that was 0.
5113 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5115 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5116 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5118 $as_echo "$as_me: error: $1" >&2
5119 as_fn_exit
$as_status
5123 # as_fn_set_status STATUS
5124 # -----------------------
5125 # Set $? to STATUS, without forking.
5129 } # as_fn_set_status
5133 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5143 # Portably unset VAR.
5146 { eval $1=; unset $1;}
5148 as_unset
=as_fn_unset
5149 # as_fn_append VAR VALUE
5150 # ----------------------
5151 # Append the text in VALUE to the end of the definition contained in VAR. Take
5152 # advantage of any shell optimizations that allow amortized linear growth over
5153 # repeated appends, instead of the typical quadratic growth present in naive
5155 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5156 eval 'as_fn_append ()
5167 # as_fn_arith ARG...
5168 # ------------------
5169 # Perform arithmetic evaluation on the ARGs, and store the result in the
5170 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5171 # must be portable across $(()) and expr.
5172 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5173 eval 'as_fn_arith ()
5180 as_val
=`expr "$@" || test $? -eq 1`
5185 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5186 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5192 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5193 as_basename
=basename
5198 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5204 as_me
=`$as_basename -- "$0" ||
5205 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5206 X"$0" : 'X\(//\)$' \| \
5207 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5209 sed '/^.*\/\([^/][^/]*\)\/*$/{
5223 # Avoid depending upon Character Ranges.
5224 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5225 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5226 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5227 as_cr_digits
='0123456789'
5228 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5230 ECHO_C
= ECHO_N
= ECHO_T
=
5231 case `echo -n x` in #(((((
5233 case `echo 'xy\c'` in
5234 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5236 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5243 rm -f conf$$ conf$$.exe conf$$.
file
5244 if test -d conf$$.dir
; then
5245 rm -f conf$$.dir
/conf$$.
file
5248 mkdir conf$$.dir
2>/dev
/null
5250 if (echo >conf$$.
file) 2>/dev
/null
; then
5251 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5253 # ... but there are two gotchas:
5254 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5255 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5256 # In both cases, we have to default to `cp -p'.
5257 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5259 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5267 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5268 rmdir conf$$.dir
2>/dev
/null
5273 # Create "$as_dir" as a directory, including parents if necessary.
5278 -*) as_dir
=.
/$as_dir;;
5280 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5284 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5285 *) as_qdir
=$as_dir;;
5287 as_dirs
="'$as_qdir' $as_dirs"
5288 as_dir
=`$as_dirname -- "$as_dir" ||
5289 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5290 X"$as_dir" : 'X\(//\)[^/]' \| \
5291 X"$as_dir" : 'X\(//\)$' \| \
5292 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5293 $as_echo X"$as_dir" |
5294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5311 test -d "$as_dir" && break
5313 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5314 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5318 if mkdir
-p .
2>/dev
/null
; then
5319 as_mkdir_p
='mkdir -p "$as_dir"'
5321 test -d .
/-p && rmdir .
/-p
5325 if test -x / >/dev
/null
2>&1; then
5328 if ls -dL / >/dev
/null
2>&1; then
5335 if test -d "$1"; then
5341 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5342 ???[sx]*):;;*)false;;esac;fi
5346 as_executable_p
=$as_test_x
5348 # Sed expression to map a string onto a valid CPP name.
5349 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5351 # Sed expression to map a string onto a valid variable name.
5352 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5356 ## ----------------------------------- ##
5357 ## Main body of $CONFIG_STATUS script. ##
5358 ## ----------------------------------- ##
5360 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5363 # Save the log message, to keep $0 and so on meaningful, and to
5364 # report actual input values of CONFIG_FILES etc. instead of their
5365 # values after options handling.
5367 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5368 generated by GNU Autoconf 2.64. Invocation command line was
5370 CONFIG_FILES = $CONFIG_FILES
5371 CONFIG_HEADERS = $CONFIG_HEADERS
5372 CONFIG_LINKS = $CONFIG_LINKS
5373 CONFIG_COMMANDS = $CONFIG_COMMANDS
5376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5381 case $ac_config_files in *"
5382 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5388 # Files that config.status was made for.
5389 config_files="$ac_config_files"
5390 config_links="$ac_config_links"
5391 config_commands="$ac_config_commands"
5395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5397 \`$as_me' instantiates files and other configuration actions
5398 from templates according to the current configuration. Unless the files
5399 and actions are specified as TAGs, all are instantiated by default.
5401 Usage: $0 [OPTION]... [TAG]...
5403 -h, --help print this help, then exit
5404 -V, --version print version number and configuration settings, then exit
5405 -q, --quiet, --silent
5406 do not print progress messages
5407 -d, --debug don't remove temporary files
5408 --recheck update $as_me by reconfiguring in the same conditions
5409 --file=FILE[:TEMPLATE]
5410 instantiate the configuration file FILE
5412 Configuration files:
5415 Configuration links:
5418 Configuration commands:
5421 Report bugs to the package provider.
5422 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5423 General help using GNU software: <http://www.gnu.org/gethelp/>."
5426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5428 GNU C Runtime Library config.status 1.0
5429 configured by $0, generated by GNU Autoconf 2.64,
5430 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5432 Copyright (C) 2009 Free Software Foundation, Inc.
5433 This config.status script is free software; the Free Software Foundation
5434 gives unlimited permission to copy, distribute and modify it."
5440 test -n "\$AWK" || AWK=awk
5443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5444 # The default lists apply if the user does not specify any file.
5450 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5451 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5462 # Handling of the options.
5463 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5465 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5466 $as_echo "$ac_cs_version"; exit ;;
5467 --debug |
--debu |
--deb |
--de |
--d |
-d )
5469 --file |
--fil |
--fi |
--f )
5472 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5474 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5475 ac_need_defaults
=false
;;
5476 --he |
--h |
--help |
--hel |
-h )
5477 $as_echo "$ac_cs_usage"; exit ;;
5478 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5479 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5483 -*) as_fn_error
"unrecognized option: \`$1'
5484 Try \`$0 --help' for more information." ;;
5486 *) as_fn_append ac_config_targets
" $1"
5487 ac_need_defaults
=false
;;
5493 ac_configure_extra_args
=
5495 if $ac_cs_silent; then
5497 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5502 if \$ac_cs_recheck; then
5503 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5505 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5506 CONFIG_SHELL='$SHELL'
5512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5517 ## Running $as_me. ##
5523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5529 with_target_subdir=${with_target_subdir}
5530 with_multisubdir=${with_multisubdir}
5531 ac_configure_args="--enable-multilib ${ac_configure_args}"
5532 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5533 libgcc_topdir=${libgcc_topdir}
5539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5541 # Handling of arguments.
5542 for ac_config_target
in $ac_config_targets
5544 case $ac_config_target in
5545 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5546 "unwind.h") CONFIG_LINKS
="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5547 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5548 "sfp-machine.h") CONFIG_LINKS
="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5549 "gthr-default.h") CONFIG_LINKS
="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5550 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5551 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5553 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5558 # If the user did not use the arguments to specify the items to instantiate,
5559 # then the envvar interface is used. Set only those that are not.
5560 # We use the long form for the default assignment because of an extremely
5561 # bizarre bug on SunOS 4.1.3.
5562 if $ac_need_defaults; then
5563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5564 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5565 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5568 # Have a temporary directory for convenience. Make it in the build tree
5569 # simply because there is no reason against having it here, and in addition,
5570 # creating and moving files from /tmp can sometimes cause problems.
5571 # Hook for its removal unless debugging.
5572 # Note that there is a small window in which the directory will not be cleaned:
5573 # after its creation but before its name has been assigned to `$tmp'.
5577 trap 'exit_status=$?
5578 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5580 trap 'as_fn_exit 1' 1 2 13 15
5582 # Create a (secure) tmp directory for tmp files.
5585 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5586 test -n "$tmp" && test -d "$tmp"
5589 tmp
=.
/conf$$
-$RANDOM
5590 (umask 077 && mkdir
"$tmp")
5591 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5593 # Set up the scripts for CONFIG_FILES section.
5594 # No need to generate them if there are no CONFIG_FILES.
5595 # This happens for instance with `./config.status config.h'.
5596 if test -n "$CONFIG_FILES"; then
5599 ac_cr
=`echo X | tr X '\015'`
5600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5601 # But we know of no other shell where ac_cr would be empty at this
5602 # point, so we can use a bashism as a fallback.
5603 if test "x$ac_cr" = x
; then
5604 eval ac_cr
=\$
\'\\r
\'
5606 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5613 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5618 echo "cat >conf$$subs.awk <<_ACEOF" &&
5619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5622 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5625 for ac_last_try in false false false false false :; do
5626 . ./conf$$subs.sh ||
5627 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5629 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5630 if test $ac_delim_n = $ac_delim_num; then
5632 elif $ac_last_try; then
5633 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5635 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5641 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5645 s/^/S["/; s
/!.
*/"]=/
5655 s/\(.\{148\}\).*/\1/
5657 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5669 s/\(.\{148\}\).*/\1/
5671 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5675 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5680 ' <conf$$subs.awk | sed '
5685 ' >>$CONFIG_STATUS || ac_write_fail=1
5686 rm -f conf$$subs.awk
5687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5689 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5690 for (key in S) S_is_set[key] = 1
5696 nfields = split(line, field, "@
")
5698 len = length(field[1])
5699 for (i = 2; i < nfields; i++) {
5701 keylen = length(key)
5702 if (S_is_set[key]) {
5704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5705 len += length(value) + length(field[++i])
5716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5717 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5718 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5721 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5722 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5725 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5726 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5727 # trailing colons and then remove the whole line if VPATH becomes empty
5728 # (actually we leave an empty line to preserve line numbers).
5729 if test "x
$srcdir" = x.; then
5730 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5734 s/^\([^=]*=[ ]*\):*/\1/
5740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5741 fi # test -n "$CONFIG_FILES"
5744 eval set X " :F
$CONFIG_FILES :L
$CONFIG_LINKS :C
$CONFIG_COMMANDS"
5749 :[FHLC]) ac_mode=$ac_tag; continue;;
5751 case $ac_mode$ac_tag in
5753 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5754 :[FH]-) ac_tag=-:-;;
5755 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5772 -) ac_f="$tmp/stdin";;
5773 *) # Look for the file first in the build tree, then in the source tree
5774 # (if the path is not absolute). The absolute path cannot be DOS-style,
5775 # because $ac_f cannot contain `:'.
5779 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5781 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5783 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5784 as_fn_append ac_file_inputs " '$ac_f'"
5787 # Let's still pretend it is `configure' which instantiates (i.e., don't
5788 # use $as_me), people would be surprised to read:
5789 # /* config.h. Generated by config.status. */
5790 configure_input='Generated from '`
5791 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5793 if test x"$ac_file" != x-; then
5794 configure_input="$ac_file.
$configure_input"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5796 $as_echo "$as_me: creating
$ac_file" >&6;}
5798 # Neutralize special characters interpreted by sed in replacement strings.
5799 case $configure_input in #(
5800 *\&* | *\|* | *\\* )
5801 ac_sed_conf_input=`$as_echo "$configure_input" |
5802 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5803 *) ac_sed_conf_input=$configure_input;;
5807 *:-:* | *:-) cat >"$tmp/stdin
" \
5808 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
5813 ac_dir=`$as_dirname -- "$ac_file" ||
5814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5815 X"$ac_file" : 'X\(//\)[^/]' \| \
5816 X"$ac_file" : 'X\(//\)$' \| \
5817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5818 $as_echo X"$ac_file" |
5819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5836 as_dir="$ac_dir"; as_fn_mkdir_p
5840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5843 # A "..
" for each directory in $ac_dir_suffix.
5844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5845 case $ac_top_builddir_sub in
5846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5850 ac_abs_top_builddir=$ac_pwd
5851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5852 # for backward compatibility:
5853 ac_top_builddir=$ac_top_build_prefix
5856 .) # We are building in place.
5858 ac_top_srcdir=$ac_top_builddir_sub
5859 ac_abs_top_srcdir=$ac_pwd ;;
5860 [\\/]* | ?:[\\/]* ) # Absolute name.
5861 ac_srcdir=$srcdir$ac_dir_suffix;
5862 ac_top_srcdir=$srcdir
5863 ac_abs_top_srcdir=$srcdir ;;
5865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5866 ac_top_srcdir=$ac_top_build_prefix$srcdir
5867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5879 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5880 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5885 # If the template does not know about datarootdir, expand it.
5886 # FIXME: This hack should be removed a few years after 2.60.
5887 ac_datarootdir_hack=; ac_datarootdir_seen=
5898 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5899 *datarootdir*) ac_datarootdir_seen=yes;;
5900 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5902 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5905 ac_datarootdir_hack='
5906 s&@datadir@&$datadir&g
5907 s&@docdir@&$docdir&g
5908 s&@infodir@&$infodir&g
5909 s&@localedir@&$localedir&g
5910 s&@mandir@&$mandir&g
5911 s&\\\${datarootdir}&$datarootdir&g' ;;
5915 # Neutralize VPATH when `$srcdir' = `.'.
5916 # Shell code in configure.ac might set extrasub.
5917 # FIXME: do we really want to maintain this feature?
5918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5919 ac_sed_extra="$ac_vpsub
5922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5924 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5925 s|@configure_input@|
$ac_sed_conf_input|
;t t
5926 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5927 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5928 s
&@srcdir@
&$ac_srcdir&;t t
5929 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5930 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5931 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5932 s
&@builddir@
&$ac_builddir&;t t
5933 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5934 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5935 s
&@INSTALL@
&$ac_INSTALL&;t t
5936 $ac_datarootdir_hack
5938 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5939 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5941 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5942 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5943 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5945 which seems to be undefined. Please make sure it is defined." >&5
5946 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5947 which seems to be undefined. Please make sure it is defined." >&2;}
5951 -) cat "$tmp/out" && rm -f "$tmp/out";;
5952 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5954 || as_fn_error "could not create $ac_file" "$LINENO" 5
5962 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
5965 # Prefer the file from the source tree if names are identical.
5966 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5967 ac_source=$srcdir/$ac_source
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
5971 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5973 if test ! -r "$ac_source"; then
5974 as_fn_error "$ac_source: file not found" "$LINENO" 5
5978 # Try a relative symlink, then a hard link, then a copy.
5980 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5981 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5983 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5984 ln "$ac_source" "$ac_file" 2>/dev/null ||
5985 cp -p "$ac_source" "$ac_file" ||
5986 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
5989 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5990 $as_echo "$as_me: executing $ac_file commands" >&6;}
5995 case $ac_file$ac_mode in
5996 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5997 if test -n "$CONFIG_FILES"; then
5998 # FIXME: We shouldn't need to
set ac_file
6000 .
${libgcc_topdir}/config-ml.
in
6009 ac_clean_files
=$ac_clean_files_save
6011 test $ac_write_fail = 0 ||
6012 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6015 # configure is writing to config.log, and then calls config.status.
6016 # config.status does its own redirection, appending to config.log.
6017 # Unfortunately, on DOS this fails, as config.log is still kept open
6018 # by configure, so config.status won't be able to write to it; its
6019 # output is simply discarded. So we exec the FD to /dev/null,
6020 # effectively closing config.log, so it can be properly (re)opened and
6021 # appended to by config.status. When coming back to configure, we
6022 # need to make the FD available again.
6023 if test "$no_create" != yes; then
6025 ac_config_status_args
=
6026 test "$silent" = yes &&
6027 ac_config_status_args
="$ac_config_status_args --quiet"
6029 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6031 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6032 # would make configure fail if this is the last instruction.
6033 $ac_cs_success || as_fn_exit $?
6035 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6037 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}