2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU C Runtime Library 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
578 PACKAGE_NAME
='GNU C Runtime Library'
579 PACKAGE_TARNAME
='libgcc'
580 PACKAGE_VERSION
='1.0'
581 PACKAGE_STRING
='GNU C Runtime Library 1.0'
583 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
585 ac_unique_file
="static-object.mk"
586 ac_includes_default
='/* none */'
587 ac_subst_vars
='LTLIBOBJS
606 real_host_noncanonical
608 use_tm_clone_registry
609 force_explicit_eh_registry
616 long_double_type_size
687 program_transform_name
700 enable_option_checking
707 enable_version_specific_runtime_libs
710 enable_maintainer_mode
715 with_system_libunwind
717 enable_explicit_exception_frame_registration
718 enable_tm_clone_registry
721 with_gcc_major_version_only
723 ac_precious_vars
='build_alias
734 # Initialize some variables set by options.
736 ac_init_version
=false
737 ac_unrecognized_opts
=
739 # The variables have the same names as the options, with
740 # dashes changed to underlines.
748 program_transform_name
=s
,x
,x
,
756 # Installation directory options.
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
758 # and all the variables that are supposed to be based on exec_prefix
759 # by default will actually change.
760 # Use braces instead of parens because sh, perl, etc. also accept them.
761 # (The list follows the same order as the GNU Coding Standards.)
762 bindir
='${exec_prefix}/bin'
763 sbindir
='${exec_prefix}/sbin'
764 libexecdir
='${exec_prefix}/libexec'
765 datarootdir
='${prefix}/share'
766 datadir
='${datarootdir}'
767 sysconfdir
='${prefix}/etc'
768 sharedstatedir
='${prefix}/com'
769 localstatedir
='${prefix}/var'
770 includedir
='${prefix}/include'
771 oldincludedir
='/usr/include'
772 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir
='${datarootdir}/info'
778 libdir
='${exec_prefix}/lib'
779 localedir
='${datarootdir}/locale'
780 mandir
='${datarootdir}/man'
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\
$ac_option
794 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 # Accept the important Cygnus configure options, so we can diagnose typos.
801 case $ac_dashdash$ac_option in
805 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
807 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
810 -build |
--build |
--buil |
--bui |
--bu)
811 ac_prev
=build_alias
;;
812 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
813 build_alias
=$ac_optarg ;;
815 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
816 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
817 ac_prev
=cache_file
;;
818 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
819 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
820 cache_file
=$ac_optarg ;;
823 cache_file
=config.cache
;;
825 -datadir |
--datadir |
--datadi |
--datad)
827 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
828 datadir
=$ac_optarg ;;
830 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
831 |
--dataroo |
--dataro |
--datar)
832 ac_prev
=datarootdir
;;
833 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
834 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
835 datarootdir
=$ac_optarg ;;
837 -disable-* |
--disable-*)
838 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
841 as_fn_error $?
"invalid feature name: $ac_useropt"
842 ac_useropt_orig
=$ac_useropt
843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
849 ac_unrecognized_sep
=', ';;
851 eval enable_
$ac_useropt=no
;;
853 -docdir |
--docdir |
--docdi |
--doc |
--do)
855 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
858 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
860 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
863 -enable-* |
--enable-*)
864 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
867 as_fn_error $?
"invalid feature name: $ac_useropt"
868 ac_useropt_orig
=$ac_useropt
869 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
875 ac_unrecognized_sep
=', ';;
877 eval enable_
$ac_useropt=\
$ac_optarg ;;
879 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
880 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
881 |
--exec |
--exe |
--ex)
882 ac_prev
=exec_prefix
;;
883 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
884 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
885 |
--exec=* |
--exe=* |
--ex=*)
886 exec_prefix
=$ac_optarg ;;
888 -gas |
--gas |
--ga |
--g)
889 # Obsolete; use --with-gas.
892 -help |
--help |
--hel |
--he |
-h)
894 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
895 ac_init_help
=recursive
;;
896 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
897 ac_init_help
=short
;;
899 -host |
--host |
--hos |
--ho)
900 ac_prev
=host_alias
;;
901 -host=* |
--host=* |
--hos=* |
--ho=*)
902 host_alias
=$ac_optarg ;;
904 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
906 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
908 htmldir
=$ac_optarg ;;
910 -includedir |
--includedir |
--includedi |
--included |
--include \
911 |
--includ |
--inclu |
--incl |
--inc)
912 ac_prev
=includedir
;;
913 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
914 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
915 includedir
=$ac_optarg ;;
917 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
919 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
920 infodir
=$ac_optarg ;;
922 -libdir |
--libdir |
--libdi |
--libd)
924 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
927 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
928 |
--libexe |
--libex |
--libe)
929 ac_prev
=libexecdir
;;
930 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
931 |
--libexe=* |
--libex=* |
--libe=*)
932 libexecdir
=$ac_optarg ;;
934 -localedir |
--localedir |
--localedi |
--localed |
--locale)
936 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
937 localedir
=$ac_optarg ;;
939 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
940 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
941 ac_prev
=localstatedir
;;
942 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
943 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
944 localstatedir
=$ac_optarg ;;
946 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
948 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
952 # Obsolete; use --without-fp.
955 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
956 |
--no-cr |
--no-c |
-n)
959 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
960 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
963 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
964 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
965 |
--oldin |
--oldi |
--old |
--ol |
--o)
966 ac_prev
=oldincludedir
;;
967 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
968 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
969 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
970 oldincludedir
=$ac_optarg ;;
972 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
974 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
977 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
978 |
--program-pre |
--program-pr |
--program-p)
979 ac_prev
=program_prefix
;;
980 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
981 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
982 program_prefix
=$ac_optarg ;;
984 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
985 |
--program-suf |
--program-su |
--program-s)
986 ac_prev
=program_suffix
;;
987 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
988 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
989 program_suffix
=$ac_optarg ;;
991 -program-transform-name |
--program-transform-name \
992 |
--program-transform-nam |
--program-transform-na \
993 |
--program-transform-n |
--program-transform- \
994 |
--program-transform |
--program-transfor \
995 |
--program-transfo |
--program-transf \
996 |
--program-trans |
--program-tran \
997 |
--progr-tra |
--program-tr |
--program-t)
998 ac_prev
=program_transform_name
;;
999 -program-transform-name=* |
--program-transform-name=* \
1000 |
--program-transform-nam=* |
--program-transform-na=* \
1001 |
--program-transform-n=* |
--program-transform-=* \
1002 |
--program-transform=* |
--program-transfor=* \
1003 |
--program-transfo=* |
--program-transf=* \
1004 |
--program-trans=* |
--program-tran=* \
1005 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1006 program_transform_name
=$ac_optarg ;;
1008 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1010 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1011 pdfdir
=$ac_optarg ;;
1013 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1015 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1018 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1019 |
-silent |
--silent |
--silen |
--sile |
--sil)
1022 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1024 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1026 sbindir
=$ac_optarg ;;
1028 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1029 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1030 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1032 ac_prev
=sharedstatedir
;;
1033 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1034 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1035 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1037 sharedstatedir
=$ac_optarg ;;
1039 -site |
--site |
--sit)
1041 -site=* |
--site=* |
--sit=*)
1044 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1046 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1047 srcdir
=$ac_optarg ;;
1049 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1050 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1051 ac_prev
=sysconfdir
;;
1052 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1053 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1054 sysconfdir
=$ac_optarg ;;
1056 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1057 ac_prev
=target_alias
;;
1058 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1059 target_alias
=$ac_optarg ;;
1061 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1064 -version |
--version |
--versio |
--versi |
--vers |
-V)
1065 ac_init_version
=: ;;
1068 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid package name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval with_
$ac_useropt=\
$ac_optarg ;;
1083 -without-* |
--without-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error $?
"invalid package name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval with_
$ac_useropt=no
;;
1100 # Obsolete; use --with-x.
1103 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1104 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1105 ac_prev
=x_includes
;;
1106 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1107 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1108 x_includes
=$ac_optarg ;;
1110 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1111 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1112 ac_prev
=x_libraries
;;
1113 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1114 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1115 x_libraries
=$ac_optarg ;;
1117 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1118 Try \`$0 --help' for more information"
1122 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1123 # Reject names that are not valid shell variable names.
1124 case $ac_envvar in #(
1125 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1126 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1128 eval $ac_envvar=\
$ac_optarg
1129 export $ac_envvar ;;
1132 # FIXME: should be removed in autoconf 3.0.
1133 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1135 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1136 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1142 if test -n "$ac_prev"; then
1143 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1144 as_fn_error $?
"missing argument to $ac_option"
1147 if test -n "$ac_unrecognized_opts"; then
1148 case $enable_option_checking in
1150 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1151 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1155 # Check all directory arguments for consistency.
1156 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1159 libdir localedir mandir
1161 eval ac_val
=\$
$ac_var
1162 # Remove trailing slashes.
1165 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1166 eval $ac_var=\
$ac_val;;
1168 # Be sure to have absolute directory names.
1170 [\\/$
]* | ?
:[\\/]* ) continue;;
1171 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1173 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1176 # There might be people who depend on the old broken behavior: `$host'
1177 # used to hold the argument of --host etc.
1178 # FIXME: To remove some day.
1181 target
=$target_alias
1183 # FIXME: To remove some day.
1184 if test "x$host_alias" != x
; then
1185 if test "x$build_alias" = x
; then
1186 cross_compiling
=maybe
1187 elif test "x$build_alias" != "x$host_alias"; then
1193 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1195 test "$silent" = yes && exec 6>/dev
/null
1198 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1199 ac_ls_di
=`ls -di .` &&
1200 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1201 as_fn_error $?
"working directory cannot be determined"
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1203 as_fn_error $?
"pwd does not report name of working directory"
1206 # Find the source files, if location was not specified.
1207 if test -z "$srcdir"; then
1208 ac_srcdir_defaulted
=yes
1209 # Try the directory containing this script, then the parent directory.
1210 ac_confdir
=`$as_dirname -- "$as_myself" ||
1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1212 X"$as_myself" : 'X\(//\)[^/]' \| \
1213 X"$as_myself" : 'X\(//\)$' \| \
1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1215 $as_echo X"$as_myself" |
1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 if test ! -r "$srcdir/$ac_unique_file"; then
1238 ac_srcdir_defaulted
=no
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1242 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1244 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1256 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1258 for ac_var
in $ac_precious_vars; do
1259 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1261 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1266 # Report the --help message.
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1272 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1279 Defaults for the options are specified in brackets.
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print \`checking ...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for \`--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1298 By default, \`make install' will install all the files in
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1301 for instance \`--prefix=\$HOME'.
1303 For better control, use the options below.
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --libdir=DIR object code libraries [EPREFIX/lib]
1313 --includedir=DIR C header files [PREFIX/include]
1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1317 --infodir=DIR info documentation [DATAROOTDIR/info]
1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1319 --mandir=DIR man documentation [DATAROOTDIR/man]
1320 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1321 --htmldir=DIR html documentation [DOCDIR]
1322 --dvidir=DIR dvi documentation [DOCDIR]
1323 --pdfdir=DIR pdf documentation [DOCDIR]
1324 --psdir=DIR ps documentation [DOCDIR]
1330 --build=BUILD configure
for building on BUILD
[guessed
]
1331 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1335 if test -n "$ac_init_help"; then
1336 case $ac_init_help in
1337 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1342 --disable-option-checking ignore unrecognized
--enable/--with options
1343 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1344 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1345 --disable-shared don
't provide a shared libgcc
1346 --enable-vtable-verify Enable vtable verification feature
1347 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1348 --enable-maintainer-mode
1349 enable make rules and dependencies not useful (and
1350 sometimes confusing) to the casual installer
1351 --disable-gcov don't provide libgcov and related
host tools
1352 --disable-largefile omit support
for large files
1353 --enable-decimal-float={no
,yes,bid
,dpd
}
1354 enable decimal float extension to C. Selecting
'bid'
1355 or
'dpd' choses
which decimal floating point format
1357 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1358 --enable-explicit-exception-frame-registration
1359 register exception tables explicitly
at module
1360 start
, for use e.g.
for compatibility with
1361 installations without PT_GNU_EH_FRAME support
1362 --disable-tm-clone-registry disable TM clone registry
1363 --enable-tls Use thread-local storage
[default
=yes]
1366 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1367 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1368 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1369 --with-cross-host=HOST Configuring with a cross compiler
1370 --with-ld arrange to use the specified ld
(full pathname
)
1371 --with-aix-soname=aix|svr4|both
1372 shared library versioning
(aka
"SONAME") variant to
1374 --with-toolexeclibdir=DIR
1375 install libraries built with a cross compiler within
1377 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1378 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1379 --with-system-libunwind use installed libunwind
1380 --with-glibc-version=M.N
1381 assume GCC used with glibc version M.N or later
1382 --with-gcc-major-version-only
1383 use only GCC major number
in filesystem paths
1385 Some influential environment variables
:
1386 CC C compiler
command
1387 CFLAGS C compiler flags
1388 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1389 nonstandard directory
<lib dir
>
1390 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1391 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1392 you have headers
in a nonstandard directory
<include dir
>
1395 Use these variables to override the choices made by
`configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to the package provider.
1399 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1400 General help using GNU software: <http://www.gnu.org/gethelp/>.
1405 if test "$ac_init_help" = "recursive"; then
1406 # If there are subdirs, report their specific --help.
1407 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1408 test -d "$ac_dir" ||
1409 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1417 # A ".." for each directory in $ac_dir_suffix.
1418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1419 case $ac_top_builddir_sub in
1420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1424 ac_abs_top_builddir=$ac_pwd
1425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1426 # for backward compatibility:
1427 ac_top_builddir=$ac_top_build_prefix
1430 .) # We are building in place.
1432 ac_top_srcdir=$ac_top_builddir_sub
1433 ac_abs_top_srcdir=$ac_pwd ;;
1434 [\\/]* | ?:[\\/]* ) # Absolute name.
1435 ac_srcdir=$srcdir$ac_dir_suffix;
1436 ac_top_srcdir=$srcdir
1437 ac_abs_top_srcdir=$srcdir ;;
1439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1440 ac_top_srcdir=$ac_top_build_prefix$srcdir
1441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1445 cd "$ac_dir" || { ac_status=$?; continue; }
1446 # Check for guested configure.
1447 if test -f "$ac_srcdir/configure.gnu"; then
1449 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1450 elif test -f "$ac_srcdir/configure"; then
1452 $SHELL "$ac_srcdir/configure" --help=recursive
1454 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1456 cd "$ac_pwd" || { ac_status=$?; break; }
1460 test -n "$ac_init_help" && exit $ac_status
1461 if $ac_init_version; then
1463 GNU C Runtime Library configure 1.0
1464 generated by GNU Autoconf 2.69
1466 Copyright (C) 2012 Free Software Foundation, Inc.
1467 This configure script is free software; the Free Software Foundation
1468 gives unlimited permission to copy, distribute and modify it.
1473 ## ------------------------ ##
1474 ## Autoconf initialization. ##
1475 ## ------------------------ ##
1477 # ac_fn_c_try_compile LINENO
1478 # --------------------------
1479 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_c_try_compile ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 rm -f conftest.$ac_objext
1484 if { { ac_try="$ac_compile"
1486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1487 *) ac_try_echo
=$ac_try;;
1489 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_compile") 2>conftest.err
1493 if test -s conftest.err
; then
1494 grep -v '^ *+' conftest.err
>conftest.er1
1495 cat conftest.er1
>&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } && {
1500 test -z "$ac_c_werror_flag" ||
1501 test ! -s conftest.err
1502 } && test -s conftest.
$ac_objext; then :
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.
$ac_ext >&5
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status
$ac_retval
1513 } # ac_fn_c_try_compile
1515 # ac_fn_c_try_cpp LINENO
1516 # ----------------------
1517 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1520 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1521 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1524 *) ac_try_echo=$ac_try;;
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1530 if test -s conftest.err; then
1531 grep -v '^ *+' conftest.err >conftest.er1
1532 cat conftest.er1 >&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } > conftest.i && {
1537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548 as_fn_set_status $ac_retval
1552 # ac_fn_c_try_run LINENO
1553 # ----------------------
1554 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1555 # that executables *can* be run.
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 if { { ac_try="$ac_link"
1561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1562 *) ac_try_echo
=$ac_try;;
1564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_link") 2>&5
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1570 { { case "(($ac_try" in
1571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_try") 2>&5
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; }; }; then :
1582 $as_echo "$as_me: program exited with status $ac_status" >&5
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1586 ac_retval=$ac_status
1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1594 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1595 # --------------------------------------------
1596 # Tries to find the compile-time value of EXPR in a program that includes
1597 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1599 ac_fn_c_compute_int ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if test "$cross_compiling" = yes; then
1603 # Depending upon the size, compute the lo and hi bounds.
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1610 static int test_array [1 - 2 * !(($2) >= 0)];
1612 return test_array [0];
1618 if ac_fn_c_try_compile "$LINENO"; then :
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1627 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1629 return test_array [0];
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636 ac_hi=$ac_mid; break
1638 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1639 if test $ac_lo -le $ac_mid; then
1643 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1654 static int test_array [1 - 2 * !(($2) < 0)];
1656 return test_array [0];
1662 if ac_fn_c_try_compile "$LINENO"; then :
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1671 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1673 return test_array [0];
1679 if ac_fn_c_try_compile "$LINENO"; then :
1680 ac_lo=$ac_mid; break
1682 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1683 if test $ac_mid -le $ac_hi; then
1687 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 # Binary search between lo and hi bounds.
1698 while test "x$ac_lo" != "x$ac_hi"; do
1699 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1706 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1708 return test_array [0];
1714 if ac_fn_c_try_compile "$LINENO"; then :
1717 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1729 static long int longval () { return $2; }
1730 static unsigned long int ulongval () { return $2; }
1737 FILE *f = fopen ("conftest.val", "w");
1742 long int i = longval ();
1745 fprintf (f, "%ld", i);
1749 unsigned long int i = ulongval ();
1752 fprintf (f, "%lu", i);
1754 /* Do not output a trailing newline, as this causes \r\n confusion
1755 on some platforms. */
1756 return ferror (f) || fclose (f) != 0;
1762 if ac_fn_c_try_run "$LINENO"; then :
1763 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1768 conftest.$ac_objext conftest.beam conftest.$ac_ext
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1775 } # ac_fn_c_compute_int
1777 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1778 # ----------------------------------------------
1779 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_preproc ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1792 if ac_fn_c_try_cpp "$LINENO"; then :
1797 rm -f conftest.err conftest.i conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 } # ac_fn_c_check_header_preproc
1805 cat >config.log <<_ACEOF
1806 This file contains any messages produced by compilers while
1807 running configure, to aid debugging if configure makes a mistake.
1809 It was created by GNU C Runtime Library $as_me 1.0, which was
1810 generated by GNU Autoconf 2.69. Invocation command line was
1822 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1823 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1824 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1825 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1826 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1828 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1829 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1831 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1832 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1833 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1834 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1835 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1836 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1837 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 $as_echo "PATH: $as_dir"
1862 # Keep a trace of the command line.
1863 # Strip out --no-create and --no-recursion so they do not pile up.
1864 # Strip out --silent because we don't want to record it for future runs.
1865 # Also quote any args containing shell meta-characters.
1866 # Make two passes to allow for proper duplicate-argument suppression.
1870 ac_must_keep_next=false
1876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878 | -silent | --silent | --silen | --sile | --sil)
1881 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1884 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1886 as_fn_append ac_configure_args1 " '$ac_arg'"
1887 if test $ac_must_keep_next = true; then
1888 ac_must_keep_next=false # Got value, back to normal.
1891 *=* | --config-cache | -C | -disable-* | --disable-* \
1892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894 | -with-* | --with-* | -without-* | --without-* | --x)
1895 case "$ac_configure_args0 " in
1896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1899 -* ) ac_must_keep_next=true ;;
1902 as_fn_append ac_configure_args " '$ac_arg'"
1907 { ac_configure_args0=; unset ac_configure_args0;}
1908 { ac_configure_args1=; unset ac_configure_args1;}
1910 # When interrupted or exit'd, cleanup temporary files, and complete
1911 # config.log. We remove comments because anyway the quotes in there
1912 # would cause problems or look ugly.
1913 # WARNING: Use '\'' to represent an apostrophe within the trap.
1914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915 trap 'exit_status=$?
1916 # Save into config.log some information that might help in debugging.
1920 $as_echo "## ---------------- ##
1921 ## Cache variables. ##
1922 ## ---------------- ##"
1924 # The following way of writing the cache mishandles newlines in values,
1926 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1927 eval ac_val=\$$ac_var
1931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1935 _ | IFS | as_nl) ;; #(
1936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1937 *) { eval $ac_var=; unset $ac_var;} ;;
1942 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1943 *${as_nl}ac_space=\ *)
1945 "s/'\''/'\''\\\\'\'''\''/g;
1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1956 $as_echo "## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##"
1960 for ac_var in $ac_subst_vars
1962 eval ac_val=\$$ac_var
1964 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1966 $as_echo "$ac_var='\''$ac_val'\''"
1970 if test -n "$ac_subst_files"; then
1971 $as_echo "## ------------------- ##
1972 ## File substitutions. ##
1973 ## ------------------- ##"
1975 for ac_var in $ac_subst_files
1977 eval ac_val=\$$ac_var
1979 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1981 $as_echo "$ac_var='\''$ac_val'\''"
1986 if test -s confdefs.h; then
1987 $as_echo "## ----------- ##
1994 test "$ac_signal" != 0 &&
1995 $as_echo "$as_me: caught signal $ac_signal"
1996 $as_echo "$as_me: exit $exit_status"
1998 rm -f core *.core core.conftest.* &&
1999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2002 for ac_signal in 1 2 13 15; do
2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2008 rm -f -r conftest* confdefs.h
2010 $as_echo "/* confdefs.h */" > confdefs.h
2012 # Predefined preprocessor variables.
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_NAME "$PACKAGE_NAME"
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_STRING "$PACKAGE_STRING"
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_URL "$PACKAGE_URL"
2039 # Let the site file select an alternate cache file if it wants to.
2040 # Prefer an explicitly selected file to automatically selected ones.
2043 if test -n "$CONFIG_SITE"; then
2044 # We do not want a PATH search for config.site.
2045 case $CONFIG_SITE in #((
2046 -*) ac_site_file1=./$CONFIG_SITE;;
2047 */*) ac_site_file1=$CONFIG_SITE;;
2048 *) ac_site_file1=./$CONFIG_SITE;;
2050 elif test "x$prefix" != xNONE; then
2051 ac_site_file1=$prefix/share/config.site
2052 ac_site_file2=$prefix/etc/config.site
2054 ac_site_file1=$ac_default_prefix/share/config.site
2055 ac_site_file2=$ac_default_prefix/etc/config.site
2057 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2059 test "x$ac_site_file" = xNONE && continue
2060 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063 sed 's/^/| /' "$ac_site_file" >&5
2065 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067 as_fn_error $? "failed to load site
script $ac_site_file
2068 See \
`config.log' for more details" "$LINENO" 5; }
2072 if test -r "$cache_file"; then
2073 # Some versions of bash will fail to source /dev/null (special files
2074 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2075 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2077 $as_echo "$as_me: loading cache $cache_file" >&6;}
2079 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2080 *) . "./$cache_file";;
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2085 $as_echo "$as_me: creating cache $cache_file" >&6;}
2089 # Check that the precious variables saved in the cache have kept the same
2091 ac_cache_corrupted=false
2092 for ac_var in $ac_precious_vars; do
2093 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2094 eval ac_new_set=\$ac_env_${ac_var}_set
2095 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2096 eval ac_new_val=\$ac_env_${ac_var}_value
2097 case $ac_old_set,$ac_new_set in
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2100 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2101 ac_cache_corrupted=: ;;
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2104 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2105 ac_cache_corrupted=: ;;
2108 if test "x$ac_old_val" != "x$ac_new_val"; then
2109 # differences in whitespace do not lead to failure.
2110 ac_old_val_w=`echo x
$ac_old_val`
2111 ac_new_val_w=`echo x
$ac_new_val`
2112 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2114 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2115 ac_cache_corrupted=:
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2118 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2119 eval $ac_var=\$ac_old_val
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2122 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2124 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2127 # Pass precious variables to config.status.
2128 if test "$ac_new_set" = set; then
2130 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2131 *) ac_arg=$ac_var=$ac_new_val ;;
2133 case " $ac_configure_args " in
2134 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2135 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2139 if $ac_cache_corrupted; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2143 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2144 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2146 ## -------------------- ##
2147 ## Main body of script. ##
2148 ## -------------------- ##
2151 ac_cpp='$CPP $CPPFLAGS'
2152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2162 # The libgcc should not depend on any header files
2166 # Check whether --with-target-subdir was given.
2167 if test "${with_target_subdir+set}" = set; then :
2168 withval=$with_target_subdir;
2172 # Check whether --with-cross-host was given.
2173 if test "${with_cross_host+set}" = set; then :
2174 withval=$with_cross_host;
2178 # Check whether --with-ld was given.
2179 if test "${with_ld+set}" = set; then :
2184 if test "${srcdir}" = "."; then
2185 if test -n "${with_build_subdir}"; then
2186 libgcc_topdir="${srcdir}/../.."
2188 elif test -z "${with_target_subdir}"; then
2189 libgcc_topdir="${srcdir}/.."
2191 if test "${with_target_subdir}" != "."; then
2192 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2194 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2198 libgcc_topdir="${srcdir}/.."
2202 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2203 if test -f "$ac_dir/install-sh"; then
2205 ac_install_sh="$ac_aux_dir/install-sh -c"
2207 elif test -f "$ac_dir/install.sh"; then
2209 ac_install_sh="$ac_aux_dir/install.sh -c"
2211 elif test -f "$ac_dir/shtool"; then
2213 ac_install_sh="$ac_aux_dir/shtool install -c"
2217 if test -z "$ac_aux_dir"; then
2218 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2221 # These three variables are undocumented and unsupported,
2222 # and are intended to be withdrawn in a future Autoconf release.
2223 # They can cause serious problems if a builder's source tree is in a directory
2224 # whose full name contains unusual characters.
2225 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2226 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2227 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2230 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2233 # Check whether --enable-shared was given.
2234 if test "${enable_shared+set}" = set; then :
2235 enableval=$enable_shared;
2236 case $enable_shared in
2240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2241 for pkg in $enableval; do
2242 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2256 # Check whether --enable-vtable-verify was given.
2257 if test "${enable_vtable_verify+set}" = set; then :
2258 enableval=$enable_vtable_verify; case "$enableval" in
2259 yes) enable_vtable_verify=yes ;;
2260 no) enable_vtable_verify=no ;;
2261 *) enable_vtable_verify=no;;
2264 enable_vtable_verify=no
2270 # Check whether --with-aix-soname was given.
2271 if test "${with_aix_soname+set}" = set; then :
2272 withval=$with_aix_soname; case "${host}:${enable_shared}" in
2273 power*-*-aix[5-9]*:yes)
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2275 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2278 *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2281 $as_echo "$withval" >&6; }
2283 *) with_aix_soname=aix ;;
2292 # Make sure we can run config.sub.
2293 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2294 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2297 $as_echo_n "checking build system type... " >&6; }
2298 if ${ac_cv_build+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 ac_build_alias=$build_alias
2302 test "x$ac_build_alias" = x &&
2303 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2304 test "x$ac_build_alias" = x &&
2305 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2306 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2307 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2311 $as_echo "$ac_cv_build" >&6; }
2312 case $ac_cv_build in
2314 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2317 ac_save_IFS=$IFS; IFS='-'
2323 # Remember, the first character of IFS is used to create $*,
2324 # except with old shells:
2327 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2331 $as_echo_n "checking host system type... " >&6; }
2332 if ${ac_cv_host+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 if test "x$host_alias" = x; then
2336 ac_cv_host=$ac_cv_build
2338 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2339 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2344 $as_echo "$ac_cv_host" >&6; }
2347 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2350 ac_save_IFS=$IFS; IFS='-'
2356 # Remember, the first character of IFS is used to create $*,
2357 # except with old shells:
2360 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2368 # PIC is the default on some targets or must not be used.
2370 # For darwin, common symbols are not allowed in MH_DYLIB files
2372 # If we are using a compiler supporting mdynamic-no-pic
2373 # and the option has been tested as safe to add, then cancel
2374 # it here, since the code generated is incompatible with shared
2376 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
2377 *) PICFLAG=-fno-common ;;
2381 # PIC is the default.
2384 # PIC is the default for 64-bit PA HP-UX.
2386 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2388 i[34567]86-*-mingw* | x86_64-*-mingw*)
2390 i[34567]86-*-interix[3-9]*)
2391 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2392 # Instead, we relocate shared libraries at runtime.
2394 i[34567]86-*-nto-qnx*)
2395 # QNX uses GNU C++, but need to define -shared option too, otherwise
2397 PICFLAG='-fPIC -shared'
2399 i[34567]86-pc-msdosdjgpp*)
2400 # DJGPP does not support shared libraries at all.
2403 # On IA64 HP-UX, PIC is the default but the pic flag
2404 # sets the default TLS model and affects inlining.
2411 # PIC is the default.
2413 rs6000-ibm-aix* | powerpc-ibm-aix*)
2414 # All AIX code is PIC.
2417 # Some targets support both -fPIC and -fpic, but prefer the latter.
2419 i[34567]86-*-* | x86_64-*-*)
2422 # FIXME: Override -fPIC default in libgcc only?
2423 sh-*-linux* | sh[2346lbe]*-*-linux*)
2429 # Default to -fPIC unless specified otherwise.
2435 # If the user explicitly uses -fpic/-fPIC, keep that.
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2448 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2449 # Check whether --enable-version-specific-runtime-libs was given.
2450 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2451 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2452 yes) version_specific_libs=yes ;;
2453 no) version_specific_libs=no ;;
2454 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2457 version_specific_libs=no
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2461 $as_echo "$version_specific_libs" >&6; }
2464 # Check whether --with-toolexeclibdir was given.
2465 if test "${with_toolexeclibdir+set}" = set; then :
2466 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
2470 with_toolexeclibdir=`echo $with_toolexeclibdir |
sed 's,/$,,'`
2474 with_toolexeclibdir=no
2480 # Check whether --with-slibdir was given.
2481 if test "${with_slibdir+set}" = set; then :
2482 withval=$with_slibdir; slibdir="$with_slibdir"
2484 if test "${version_specific_libs}" = yes; then
2485 slibdir='$(libsubdir)'
2486 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2487 case ${with_toolexeclibdir} in
2489 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2492 slibdir=${with_toolexeclibdir}
2502 # Command-line options.
2503 # Very limited version of AC_MAINTAINER_MODE.
2504 # Check whether --enable-maintainer-mode was given.
2505 if test "${enable_maintainer_mode+set}" = set; then :
2506 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2509 *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2511 maintainer_mode=${enableval}
2517 # Find a good install program. We prefer a C program (faster),
2518 # so one script is as good as another. But avoid the broken or
2519 # incompatible versions:
2520 # SysV /etc/install, /usr/sbin/install
2521 # SunOS /usr/etc/install
2522 # IRIX /sbin/install
2524 # AmigaOS /C/install, which installs bootblocks on floppy discs
2525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2528 # OS/2's system install, which has a completely different semantic
2529 # ./install, which can be erroneously created by make from ./install.sh.
2530 # Reject install programs that cannot install multiple files.
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2532 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2533 if test -z "$INSTALL"; then
2534 if ${ac_cv_path_install+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 # Account for people who put trailing slashes in PATH elements.
2543 case $as_dir/ in #((
2544 ./ | .// | /[cC]/* | \
2545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2546 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2549 # OSF1 and SCO ODT 3.0 have their own names for install.
2550 # Don't use installbsd from OSF since it installs stuff as root
2552 for ac_prog in ginstall scoinst install; do
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2555 if test $ac_prog = install &&
2556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2557 # AIX install. It has an incompatible calling convention.
2559 elif test $ac_prog = install &&
2560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2561 # program-specific install script used by HP pwplus--don't use.
2564 rm -rf conftest.one conftest.two conftest.dir
2565 echo one > conftest.one
2566 echo two > conftest.two
2568 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2569 test -s conftest.one && test -s conftest.two &&
2570 test -s conftest.dir/conftest.one &&
2571 test -s conftest.dir/conftest.two
2573 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2586 rm -rf conftest.one conftest.two conftest.dir
2589 if test "${ac_cv_path_install+set}" = set; then
2590 INSTALL=$ac_cv_path_install
2592 # As a last resort, use the slow shell script. Don't cache a
2593 # value for INSTALL within a source directory, because that will
2594 # break other packages using the cache if that directory is
2595 # removed, or if the value is a relative name.
2596 INSTALL=$ac_install_sh
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2600 $as_echo "$INSTALL" >&6; }
2602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2603 # It thinks the first close brace ends the variable substitution.
2604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2611 for ac_prog in gawk mawk nawk awk
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy $ac_prog; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_AWK+:} false; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$AWK"; then
2621 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_AWK="$ac_prog"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 if test -n "$AWK"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2643 $as_echo "$AWK" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2650 test -n "$AWK" && break
2653 # We need awk; bail out if it's missing.
2655 "") as_fn_error $? "can't build without awk, bailing out" "$LINENO" 5 ;;
2659 case ${build_alias} in
2660 "") build_noncanonical=${build} ;;
2661 *) build_noncanonical=${build_alias} ;;
2664 case ${host_alias} in
2665 "") host_noncanonical=${build_noncanonical} ;;
2666 *) host_noncanonical=${host_alias} ;;
2671 case ${target_alias} in
2672 "") target_noncanonical=${host_noncanonical} ;;
2673 *) target_noncanonical=${target_alias} ;;
2679 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2680 # have matching libraries, they should use host libraries: Makefile.tpl
2681 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2682 # However, they still use the build modules, because the corresponding
2683 # host modules (e.g. bison) are only built for the host when bootstrap
2685 # - build_subdir is where we find build modules, and never changes.
2686 # - build_libsubdir is where we find build libraries, and can be overridden.
2688 # Prefix 'build-' so this never conflicts with target_subdir.
2689 build_subdir="build-${build_noncanonical}"
2691 # Check whether --with-build-libsubdir was given.
2692 if test "${with_build_libsubdir+set}" = set; then :
2693 withval=$with_build_libsubdir; build_libsubdir="$withval"
2695 build_libsubdir="$build_subdir"
2698 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2699 if ( test $srcdir = . && test -d gcc ) \
2700 || test -d $srcdir/../host-${host_noncanonical}; then
2701 host_subdir="host-${host_noncanonical}"
2706 target_subdir=${target_noncanonical}
2709 # Check whether --enable-gcov was given.
2710 if test "${enable_gcov+set}" = set; then :
2711 enableval=$enable_gcov;
2725 # Calculate toolexeclibdir
2726 # Also toolexecdir, though it's only used in toolexeclibdir
2727 case ${version_specific_libs} in
2729 # Need the gcc compiler version to know where to install libraries
2730 # and header files if --enable-version-specific-runtime-libs option
2732 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2733 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2736 if test -n "$with_cross_host" &&
2737 test x"$with_cross_host" != x"no"; then
2738 # Install a library built with a cross compiler in tooldir, not libdir.
2739 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2740 case ${with_toolexeclibdir} in
2742 toolexeclibdir='$(toolexecdir)/lib'
2745 toolexeclibdir=${with_toolexeclibdir}
2749 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2750 toolexeclibdir='$(libdir)'
2752 multi_os_directory=`$CC -print-multi-os-directory`
2753 case $multi_os_directory in
2754 .) ;; # Avoid trailing /.
2755 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}ar; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_AR+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$AR"; then
2771 ac_cv_prog_AR="$AR" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_AR="${ac_tool_prefix}ar"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$AR"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2793 $as_echo "$AR" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_AR"; then
2803 # Extract the first word of "ar", so it can be a program name with args.
2804 set dummy ar; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_AR"; then
2811 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_ac_ct_AR="ar"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2831 if test -n "$ac_ct_AR"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2833 $as_echo "$ac_ct_AR" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_AR" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2856 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_LIPO+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$LIPO"; then
2863 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 LIPO=$ac_cv_prog_LIPO
2883 if test -n "$LIPO"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2885 $as_echo "$LIPO" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2893 if test -z "$ac_cv_prog_LIPO"; then
2895 # Extract the first word of "lipo", so it can be a program name with args.
2896 set dummy lipo; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$ac_ct_LIPO"; then
2903 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_ac_ct_LIPO="lipo"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2923 if test -n "$ac_ct_LIPO"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2925 $as_echo "$ac_ct_LIPO" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2931 if test "x$ac_ct_LIPO" = x; then
2934 case $cross_compiling:$ac_tool_warned in
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938 ac_tool_warned=yes ;;
2943 LIPO="$ac_cv_prog_LIPO"
2946 if test -n "$ac_tool_prefix"; then
2947 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2948 set dummy ${ac_tool_prefix}nm; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_NM+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$NM"; then
2955 ac_cv_prog_NM="$NM" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_NM="${ac_tool_prefix}nm"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$NM"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2977 $as_echo "$NM" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2985 if test -z "$ac_cv_prog_NM"; then
2987 # Extract the first word of "nm", so it can be a program name with args.
2988 set dummy nm; ac_word=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_ac_ct_NM+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$ac_ct_NM"; then
2995 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_ac_ct_NM="nm"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3015 if test -n "$ac_ct_NM"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3017 $as_echo "$ac_ct_NM" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3023 if test "x$ac_ct_NM" = x; then
3026 case $cross_compiling:$ac_tool_warned in
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3030 ac_tool_warned=yes ;;
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3040 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_RANLIB+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$RANLIB"; then
3047 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 RANLIB=$ac_cv_prog_RANLIB
3067 if test -n "$RANLIB"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3069 $as_echo "$RANLIB" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$ac_cv_prog_RANLIB"; then
3078 ac_ct_RANLIB=$RANLIB
3079 # Extract the first word of "ranlib", so it can be a program name with args.
3080 set dummy ranlib; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$ac_ct_RANLIB"; then
3087 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_ac_ct_RANLIB="ranlib"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3107 if test -n "$ac_ct_RANLIB"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3109 $as_echo "$ac_ct_RANLIB" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3115 if test "x$ac_ct_RANLIB" = x; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned=yes ;;
3124 RANLIB=$ac_ct_RANLIB
3127 RANLIB="$ac_cv_prog_RANLIB"
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3132 set dummy ${ac_tool_prefix}strip; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_STRIP+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$STRIP"; then
3139 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 STRIP=$ac_cv_prog_STRIP
3159 if test -n "$STRIP"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3161 $as_echo "$STRIP" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3169 if test -z "$ac_cv_prog_STRIP"; then
3171 # Extract the first word of "strip", so it can be a program name with args.
3172 set dummy strip; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$ac_ct_STRIP"; then
3179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir=.
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_STRIP="strip"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3199 if test -n "$ac_ct_STRIP"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3201 $as_echo "$ac_ct_STRIP" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3207 if test "x$ac_ct_STRIP" = x; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned=yes ;;
3219 STRIP="$ac_cv_prog_STRIP"
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3223 $as_echo_n "checking whether ln -s works... " >&6; }
3225 if test "$LN_S" = "ln -s"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3230 $as_echo "no, using $LN_S" >&6; }
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240 if test -n "$ac_tool_prefix"; then
3241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244 $as_echo_n "checking for $ac_word... " >&6; }
3245 if ${ac_cv_prog_CC+:} false; then :
3246 $as_echo_n "(cached) " >&6
3248 if test -n "$CC"; then
3249 ac_cv_prog_CC="$CC" # Let the user override the test.
3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir=.
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3258 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 if test -n "$CC"; then
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3271 $as_echo "$CC" >&6; }
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3279 if test -z "$ac_cv_prog_CC"; then
3281 # Extract the first word of "gcc", so it can be a program name with args.
3282 set dummy gcc; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$ac_ct_CC"; then
3289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir=.
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_ac_ct_CC="gcc"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3309 if test -n "$ac_ct_CC"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3311 $as_echo "$ac_ct_CC" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3317 if test "x$ac_ct_CC" = x; then
3320 case $cross_compiling:$ac_tool_warned in
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3324 ac_tool_warned=yes ;;
3332 if test -z "$CC"; then
3333 if test -n "$ac_tool_prefix"; then
3334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3335 set dummy ${ac_tool_prefix}cc; ac_word=$2
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337 $as_echo_n "checking for $ac_word... " >&6; }
3338 if ${ac_cv_prog_CC+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 if test -n "$CC"; then
3342 ac_cv_prog_CC="$CC" # Let the user override the test.
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348 test -z "$as_dir" && as_dir=.
3349 for ac_exec_ext in '' $ac_executable_extensions; do
3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351 ac_cv_prog_CC="${ac_tool_prefix}cc"
3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 if test -n "$CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 $as_echo "$CC" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3373 if test -z "$CC"; then
3374 # Extract the first word of "cc", so it can be a program name with args.
3375 set dummy cc; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_CC+:} false; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC="$CC" # Let the user override the test.
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3393 ac_prog_rejected=yes
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 if test $ac_prog_rejected = yes; then
3405 # We found a bogon in the path, so make sure we never use it.
3406 set dummy $ac_cv_prog_CC
3408 if test $# != 0; then
3409 # We chose a different compiler from the bogus one.
3410 # However, it has the same basename, so the bogon will be chosen
3411 # first if we set CC to just the basename; use the full file name.
3413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3419 if test -n "$CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3421 $as_echo "$CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3429 if test -z "$CC"; then
3430 if test -n "$ac_tool_prefix"; then
3431 for ac_prog in cl.exe
3433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_prog_CC+:} false; then :
3438 $as_echo_n "(cached) " >&6
3440 if test -n "$CC"; then
3441 ac_cv_prog_CC="$CC" # Let the user override the test.
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 if test -n "$CC"; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3463 $as_echo "$CC" >&6; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3470 test -n "$CC" && break
3473 if test -z "$CC"; then
3475 for ac_prog in cl.exe
3477 # Extract the first word of "$ac_prog", so it can be a program name with args.
3478 set dummy $ac_prog; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$ac_ct_CC"; then
3485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_prog_ac_ct_CC="$ac_prog"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3505 if test -n "$ac_ct_CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3507 $as_echo "$ac_ct_CC" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3514 test -n "$ac_ct_CC" && break
3517 if test "x$ac_ct_CC" = x; then
3520 case $cross_compiling:$ac_tool_warned in
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3524 ac_tool_warned=yes ;;
3533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3535 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3536 See \
`config.log' for more details" "$LINENO" 5; }
3538 # Provide some information about the compiler.
3539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3542 for ac_option in --version -v -V -qversion; do
3543 { { ac_try="$ac_compiler $ac_option >&5"
3545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3546 *) ac_try_echo
=$ac_try;;
3548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3549 $as_echo "$ac_try_echo"; } >&5
3550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3552 if test -s conftest.err
; then
3554 ... rest of stderr output deleted ...
3555 10q' conftest.err
>conftest.er1
3556 cat conftest.er1
>&5
3558 rm -f conftest.er1 conftest.err
3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }
3563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3569 printf ("hello world\n");
3575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3576 (eval $ac_link) 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }; then :
3584 if test x
$gcc_no_link = xyes
; then
3585 # Setting cross_compile will disable run tests; it will
3586 # also disable AC_CHECK_FILE but that's generally
3587 # correct if we can't link.
3591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3602 ac_clean_files_save
=$ac_clean_files
3603 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3604 # Try to create an executable without -o first, disregard a.out.
3605 # It will help us diagnose broken compilers, and finding out an intuition
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3608 $as_echo_n "checking whether the C compiler works... " >&6; }
3609 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3611 # The possible output files:
3612 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3615 for ac_file
in $ac_files
3618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3619 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3624 if { { ac_try
="$ac_link_default"
3626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630 $as_echo "$ac_try_echo"; } >&5
3631 (eval "$ac_link_default") 2>&5
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }; then :
3635 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3636 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3637 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3638 # so that the user can short-circuit this test for compilers unknown to
3640 for ac_file in $ac_files ''
3642 test -f "$ac_file" || continue
3644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3647 # We found the default executable, but exeext='' is most
3651 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3653 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655 # We set ac_cv_exeext here because the later test for it is not
3656 # safe: cross compilers may not add the suffix if given an `-o'
3657 # argument, so we may need to know it at that point already.
3658 # Even if this section looks crufty: it has the advantage of
3665 test "$ac_cv_exeext" = no && ac_cv_exeext=
3670 if test -z "$ac_file"; then :
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 $as_echo "$as_me: failed program was:" >&5
3674 sed 's
/^
/|
/' conftest.$ac_ext >&5
3676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3678 as_fn_error 77 "C compiler cannot create executables
3679 See \`config.log
' for more details" "$LINENO" 5; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3682 $as_echo "yes" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3685 $as_echo_n "checking for C compiler default output file name... " >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3688 ac_exeext=$ac_cv_exeext
3690 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3691 ac_clean_files=$ac_clean_files_save
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3693 $as_echo_n "checking for suffix of executables... " >&6; }
3694 if { { ac_try="$ac_link"
3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700 $as_echo "$ac_try_echo"; } >&5
3701 (eval "$ac_link") 2>&5
3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704 test $ac_status = 0; }; then :
3705 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3706 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3707 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3709 for ac_file
in conftest.exe conftest conftest.
*; do
3710 test -f "$ac_file" ||
continue
3712 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3713 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3722 See \`config.log' for more details" "$LINENO" 5; }
3724 rm -f conftest conftest
$ac_cv_exeext
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3726 $as_echo "$ac_cv_exeext" >&6; }
3728 rm -f conftest.
$ac_ext
3729 EXEEXT
=$ac_cv_exeext
3731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3737 FILE *f = fopen ("conftest.out", "w");
3738 return ferror (f) || fclose (f) != 0;
3744 ac_clean_files
="$ac_clean_files conftest.out"
3745 # Check that the compiler produces executables we can run. If not, either
3746 # the compiler is broken, or we cross compile.
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3748 $as_echo_n "checking whether we are cross compiling... " >&6; }
3749 if test "$cross_compiling" != yes; then
3750 { { ac_try
="$ac_link"
3752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3756 $as_echo "$ac_try_echo"; } >&5
3757 (eval "$ac_link") 2>&5
3759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760 test $ac_status = 0; }
3761 if { ac_try='./conftest$ac_cv_exeext'
3762 { { case "(($ac_try" in
3763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3764 *) ac_try_echo
=$ac_try;;
3766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_try") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }; }; then
3774 if test "$cross_compiling" = maybe
; then
3777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 as_fn_error $?
"cannot run C compiled programs.
3780 If you meant to cross compile, use \`--host'.
3781 See \`config.log' for more details" "$LINENO" 5; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3786 $as_echo "$cross_compiling" >&6; }
3788 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3789 ac_clean_files
=$ac_clean_files_save
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3792 $as_echo_n "checking for suffix of object files... " >&6; }
3793 if ${ac_cv_objext+:} false
; then :
3794 $as_echo_n "(cached) " >&6
3796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 rm -f conftest.o conftest.obj
3808 if { { ac_try
="$ac_compile"
3810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815 (eval "$ac_compile") 2>&5
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }; then :
3819 for ac_file in conftest.o conftest.obj conftest.*; do
3820 test -f "$ac_file" || continue;
3822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3823 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3828 $as_echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3834 See \
`config.log' for more details" "$LINENO" 5; }
3836 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3839 $as_echo "$ac_cv_objext" >&6; }
3840 OBJEXT=$ac_cv_objext
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3843 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3844 if ${ac_cv_c_compiler_gnu+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3861 if ac_fn_c_try_compile "$LINENO"; then :
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3871 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3872 if test $ac_compiler_gnu = yes; then
3877 ac_test_CFLAGS=${CFLAGS+set}
3878 ac_save_CFLAGS=$CFLAGS
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3880 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3881 if ${ac_cv_prog_cc_g+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 ac_save_c_werror_flag=$ac_c_werror_flag
3885 ac_c_werror_flag=yes
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3899 if ac_fn_c_try_compile "$LINENO"; then :
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 if ac_fn_c_try_compile "$LINENO"; then :
3917 ac_c_werror_flag=$ac_save_c_werror_flag
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 ac_c_werror_flag=$ac_save_c_werror_flag
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3941 $as_echo "$ac_cv_prog_cc_g" >&6; }
3942 if test "$ac_test_CFLAGS" = set; then
3943 CFLAGS=$ac_save_CFLAGS
3944 elif test $ac_cv_prog_cc_g = yes; then
3945 if test "$GCC" = yes; then
3951 if test "$GCC" = yes; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3958 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3959 if ${ac_cv_prog_cc_c89+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 ac_cv_prog_cc_c89=no
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3969 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3970 struct buf { int x; };
3971 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3972 static char *e (p, i)
3978 static char *f (char * (*g) (char **, int), char **p, ...)
3983 s = g (p, va_arg (v,int));
3988 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3989 function prototypes and stuff, but not '\xHH' hex character constants.
3990 These don't provoke an error unfortunately, instead are silently treated
3991 as 'x'. The following induces an error, until -std is added to get
3992 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3993 array size at least. It's necessary to write '\x00'==0 to get something
3994 that's true only with -std. */
3995 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3997 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3998 inside strings and character constants. */
4000 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4002 int test (int i, double x);
4003 struct s1 {int (*f) (int a);};
4004 struct s2 {int (*f) (double a);};
4005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4016 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4017 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4019 CC="$ac_save_CC $ac_arg"
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021 ac_cv_prog_cc_c89=$ac_arg
4023 rm -f core conftest.err conftest.$ac_objext
4024 test "x$ac_cv_prog_cc_c89" != "xno" && break
4026 rm -f conftest.$ac_ext
4031 case "x$ac_cv_prog_cc_c89" in
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4034 $as_echo "none needed" >&6; } ;;
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4037 $as_echo "unsupported" >&6; } ;;
4039 CC="$CC $ac_cv_prog_cc_c89"
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4041 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4043 if test "x$ac_cv_prog_cc_c89" != xno; then :
4048 ac_cpp='$CPP $CPPFLAGS'
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4054 ac_cpp='$CPP $CPPFLAGS'
4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4059 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4060 # On Suns, sometimes $CPP names a directory.
4061 if test -n "$CPP" && test -d "$CPP"; then
4064 if test -z "$CPP"; then
4065 if ${ac_cv_prog_CPP+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 # Double quotes because CPP needs to be expanded
4069 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4072 for ac_c_preproc_warn_flag in '' yes
4074 # Use a header file that comes with gcc, so configuring glibc
4075 # with a fresh cross-compiler works.
4076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4077 # <limits.h> exists even on freestanding compilers.
4078 # On the NeXT, cc -E runs the code through the compiler's parser,
4079 # not just through cpp. "Syntax error" is here to catch this case.
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4083 # include <limits.h>
4085 # include <assert.h>
4089 if ac_fn_c_try_cpp "$LINENO"; then :
4092 # Broken: fails on valid input.
4095 rm -f conftest.err conftest.i conftest.$ac_ext
4097 # OK, works on sane cases. Now check whether nonexistent headers
4098 # can be detected and how.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101 #include <ac_nonexistent.h>
4103 if ac_fn_c_try_cpp "$LINENO"; then :
4104 # Broken: success on invalid input.
4107 # Passes both tests.
4111 rm -f conftest.err conftest.i conftest.$ac_ext
4114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4115 rm -f conftest.i conftest.err conftest.
$ac_ext
4116 if $ac_preproc_ok; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4129 $as_echo "$CPP" >&6; }
4131 for ac_c_preproc_warn_flag
in '' yes
4133 # Use a header file that comes with gcc, so configuring glibc
4134 # with a fresh cross-compiler works.
4135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 # <limits.h> exists even on freestanding compilers.
4137 # On the NeXT, cc -E runs the code through the compiler's parser,
4138 # not just through cpp. "Syntax error" is here to catch this case.
4139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 # include <limits.h>
4144 # include <assert.h>
4148 if ac_fn_c_try_cpp
"$LINENO"; then :
4151 # Broken: fails on valid input.
4154 rm -f conftest.err conftest.i conftest.
$ac_ext
4156 # OK, works on sane cases. Now check whether nonexistent headers
4157 # can be detected and how.
4158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 #include <ac_nonexistent.h>
4162 if ac_fn_c_try_cpp
"$LINENO"; then :
4163 # Broken: success on invalid input.
4166 # Passes both tests.
4170 rm -f conftest.err conftest.i conftest.
$ac_ext
4173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174 rm -f conftest.i conftest.err conftest.
$ac_ext
4175 if $ac_preproc_ok; then :
4178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4181 See \`config.log' for more details" "$LINENO" 5; }
4185 ac_cpp
='$CPP $CPPFLAGS'
4186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4191 ac_c_preproc_warn_flag
=yes
4194 # Check whether --enable-largefile was given.
4195 if test "${enable_largefile+set}" = set; then :
4196 enableval
=$enable_largefile;
4199 if test "$enable_largefile" != no
; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4202 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4203 if ${ac_cv_sys_largefile_CC+:} false
; then :
4204 $as_echo_n "(cached) " >&6
4206 ac_cv_sys_largefile_CC
=no
4207 if test "$GCC" != yes; then
4210 # IRIX 6.2 and later do not support large files by default,
4211 # so use the C compiler's -n32 option if that helps.
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 #include <sys/types.h>
4215 /* Check that off_t can represent 2**63 - 1 correctly.
4216 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4217 since some C++ compilers masquerading as C compilers
4218 incorrectly reject 9223372036854775807. */
4219 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4220 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4221 && LARGE_OFF_T % 2147483647 == 1)
4231 if ac_fn_c_try_compile
"$LINENO"; then :
4234 rm -f core conftest.err conftest.
$ac_objext
4236 if ac_fn_c_try_compile
"$LINENO"; then :
4237 ac_cv_sys_largefile_CC
=' -n32'; break
4239 rm -f core conftest.err conftest.
$ac_objext
4243 rm -f conftest.
$ac_ext
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4247 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4248 if test "$ac_cv_sys_largefile_CC" != no
; then
4249 CC
=$CC$ac_cv_sys_largefile_CC
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4253 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4254 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4255 $as_echo_n "(cached) " >&6
4258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <sys/types.h>
4261 /* Check that off_t can represent 2**63 - 1 correctly.
4262 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4263 since some C++ compilers masquerading as C compilers
4264 incorrectly reject 9223372036854775807. */
4265 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4266 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4267 && LARGE_OFF_T % 2147483647 == 1)
4277 if ac_fn_c_try_compile
"$LINENO"; then :
4278 ac_cv_sys_file_offset_bits
=no
; break
4280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283 #define _FILE_OFFSET_BITS 64
4284 #include <sys/types.h>
4285 /* Check that off_t can represent 2**63 - 1 correctly.
4286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4287 since some C++ compilers masquerading as C compilers
4288 incorrectly reject 9223372036854775807. */
4289 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4291 && LARGE_OFF_T % 2147483647 == 1)
4301 if ac_fn_c_try_compile
"$LINENO"; then :
4302 ac_cv_sys_file_offset_bits
=64; break
4304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4305 ac_cv_sys_file_offset_bits
=unknown
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4310 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4311 case $ac_cv_sys_file_offset_bits in #(
4314 cat >>confdefs.h
<<_ACEOF
4315 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4320 if test $ac_cv_sys_file_offset_bits = unknown
; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4322 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4323 if ${ac_cv_sys_large_files+:} false
; then :
4324 $as_echo_n "(cached) " >&6
4327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4329 #include <sys/types.h>
4330 /* Check that off_t can represent 2**63 - 1 correctly.
4331 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4332 since some C++ compilers masquerading as C compilers
4333 incorrectly reject 9223372036854775807. */
4334 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4335 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4336 && LARGE_OFF_T % 2147483647 == 1)
4346 if ac_fn_c_try_compile
"$LINENO"; then :
4347 ac_cv_sys_large_files
=no
; break
4349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4352 #define _LARGE_FILES 1
4353 #include <sys/types.h>
4354 /* Check that off_t can represent 2**63 - 1 correctly.
4355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4356 since some C++ compilers masquerading as C compilers
4357 incorrectly reject 9223372036854775807. */
4358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4360 && LARGE_OFF_T % 2147483647 == 1)
4370 if ac_fn_c_try_compile
"$LINENO"; then :
4371 ac_cv_sys_large_files
=1; break
4373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4374 ac_cv_sys_large_files
=unknown
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4379 $as_echo "$ac_cv_sys_large_files" >&6; }
4380 case $ac_cv_sys_large_files in #(
4383 cat >>confdefs.h
<<_ACEOF
4384 #define _LARGE_FILES $ac_cv_sys_large_files
4396 # The cast to long int works around a bug in the HP C Compiler
4397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4399 # This bug is HP SR number 8606223364.
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4401 $as_echo_n "checking size of double... " >&6; }
4402 if ${ac_cv_sizeof_double+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4408 if test "$ac_cv_type_double" = yes; then
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 as_fn_error
77 "cannot compute sizeof (double)
4412 See \`config.log' for more details" "$LINENO" 5; }
4414 ac_cv_sizeof_double
=0
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4420 $as_echo "$ac_cv_sizeof_double" >&6; }
4424 cat >>confdefs.h
<<_ACEOF
4425 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4429 # The cast to long int works around a bug in the HP C Compiler
4430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4432 # This bug is HP SR number 8606223364.
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4434 $as_echo_n "checking size of long double... " >&6; }
4435 if ${ac_cv_sizeof_long_double+:} false
; then :
4436 $as_echo_n "(cached) " >&6
4438 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4441 if test "$ac_cv_type_long_double" = yes; then
4442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error
77 "cannot compute sizeof (long double)
4445 See \`config.log' for more details" "$LINENO" 5; }
4447 ac_cv_sizeof_long_double
=0
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4453 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4457 cat >>confdefs.h
<<_ACEOF
4458 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4462 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4463 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4468 for ac_header
in inttypes.h stdint.h stdlib.h ftw.h \
4469 unistd.h sys
/stat.h sys
/types.h \
4470 string.h
strings.h memory.h sys
/auxv.h sys
/mman.h
4472 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4473 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4474 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4475 cat >>confdefs.h
<<_ACEOF
4476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4483 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4484 if ${ac_cv_path_GREP+:} false
; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -z "$GREP"; then
4488 ac_path_GREP_found
=false
4489 # Loop through the user's path and test for each of PROGNAME-LIST
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4491 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_prog
in grep ggrep
; do
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4498 as_fn_executable_p
"$ac_path_GREP" ||
continue
4499 # Check for GNU ac_path_GREP and select it if it is found.
4500 # Check for GNU $ac_path_GREP
4501 case `"$ac_path_GREP" --version 2>&1` in
4503 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4506 $as_echo_n 0123456789 >"conftest.in"
4509 cat "conftest.in" "conftest.in" >"conftest.tmp"
4510 mv "conftest.tmp" "conftest.in"
4511 cp "conftest.in" "conftest.nl"
4512 $as_echo 'GREP' >> "conftest.nl"
4513 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4514 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4515 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4516 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4517 # Best one so far, save it but keep looking for a better one
4518 ac_cv_path_GREP
="$ac_path_GREP"
4519 ac_path_GREP_max
=$ac_count
4521 # 10*(2^10) chars as input seems more than enough
4522 test $ac_count -gt 10 && break
4524 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4527 $ac_path_GREP_found && break 3
4532 if test -z "$ac_cv_path_GREP"; then
4533 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 ac_cv_path_GREP
=$GREP
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4541 $as_echo "$ac_cv_path_GREP" >&6; }
4542 GREP
="$ac_cv_path_GREP"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4546 $as_echo_n "checking for egrep... " >&6; }
4547 if ${ac_cv_path_EGREP+:} false
; then :
4548 $as_echo_n "(cached) " >&6
4550 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4551 then ac_cv_path_EGREP
="$GREP -E"
4553 if test -z "$EGREP"; then
4554 ac_path_EGREP_found
=false
4555 # Loop through the user's path and test for each of PROGNAME-LIST
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4557 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_prog
in egrep; do
4562 for ac_exec_ext
in '' $ac_executable_extensions; do
4563 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4564 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4565 # Check for GNU ac_path_EGREP and select it if it is found.
4566 # Check for GNU $ac_path_EGREP
4567 case `"$ac_path_EGREP" --version 2>&1` in
4569 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4572 $as_echo_n 0123456789 >"conftest.in"
4575 cat "conftest.in" "conftest.in" >"conftest.tmp"
4576 mv "conftest.tmp" "conftest.in"
4577 cp "conftest.in" "conftest.nl"
4578 $as_echo 'EGREP' >> "conftest.nl"
4579 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4580 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4581 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4582 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4583 # Best one so far, save it but keep looking for a better one
4584 ac_cv_path_EGREP
="$ac_path_EGREP"
4585 ac_path_EGREP_max
=$ac_count
4587 # 10*(2^10) chars as input seems more than enough
4588 test $ac_count -gt 10 && break
4590 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4593 $ac_path_EGREP_found && break 3
4598 if test -z "$ac_cv_path_EGREP"; then
4599 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 ac_cv_path_EGREP
=$EGREP
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4608 $as_echo "$ac_cv_path_EGREP" >&6; }
4609 EGREP
="$ac_cv_path_EGREP"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4613 $as_echo_n "checking for ANSI C header files... " >&6; }
4614 if ${ac_cv_header_stdc+:} false
; then :
4615 $as_echo_n "(cached) " >&6
4617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4632 if ac_fn_c_try_compile
"$LINENO"; then :
4633 ac_cv_header_stdc
=yes
4635 ac_cv_header_stdc
=no
4637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4639 if test $ac_cv_header_stdc = yes; then
4640 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4647 $EGREP "memchr" >/dev
/null
2>&1; then :
4650 ac_cv_header_stdc
=no
4656 if test $ac_cv_header_stdc = yes; then
4657 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4664 $EGREP "free" >/dev
/null
2>&1; then :
4667 ac_cv_header_stdc
=no
4673 if test $ac_cv_header_stdc = yes; then
4674 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4675 if test "$cross_compiling" = yes; then :
4678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 #if ((' ' & 0x0FF) == 0x020)
4683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4686 # define ISLOWER(c) \
4687 (('a' <= (c) && (c) <= 'i') \
4688 || ('j' <= (c) && (c) <= 'r') \
4689 || ('s' <= (c) && (c) <= 'z'))
4690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4698 for (i = 0; i < 256; i++)
4699 if (XOR (islower (i), ISLOWER (i))
4700 || toupper (i) != TOUPPER (i))
4705 if ac_fn_c_try_run
"$LINENO"; then :
4708 ac_cv_header_stdc
=no
4710 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4711 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4717 $as_echo "$ac_cv_header_stdc" >&6; }
4718 if test $ac_cv_header_stdc = yes; then
4720 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4725 # Check for decimal float support.
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4727 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4728 if ${libgcc_cv_dfp+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4742 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4756 $as_echo "$libgcc_cv_dfp" >&6; }
4757 decimal_float
=$libgcc_cv_dfp
4761 # Check whether --enable-decimal-float was given.
4762 if test "${enable_decimal_float+set}" = set; then :
4763 enableval
=$enable_decimal_float;
4764 case $enable_decimal_float in
4765 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4766 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4767 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4774 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4775 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4776 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4777 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4778 enable_decimal_float
=yes
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4782 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4783 enable_decimal_float
=no
4790 # x86's use BID format instead of DPD
4791 case x
$enable_decimal_float in
4794 aarch64
* | i?
86*-*-* | x86_64
*-*-*)
4795 enable_decimal_float
=bid
4798 enable_decimal_float
=dpd
4801 default_decimal_float
=$enable_decimal_float
4804 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4805 # dependency on libdecnumber.
4806 default_decimal_float
=dpd
4813 # Check for fixed-point support.
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4815 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4816 if ${libgcc_cv_fixed_point+:} false
; then :
4817 $as_echo_n "(cached) " >&6
4819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 if ac_fn_c_try_compile
"$LINENO"; then :
4824 libgcc_cv_fixed_point
=yes
4826 libgcc_cv_fixed_point
=no
4828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4831 $as_echo "$libgcc_cv_fixed_point" >&6; }
4832 fixed_point
=$libgcc_cv_fixed_point
4835 # For platforms with the unwind ABI which includes an unwind library,
4836 # libunwind, we can choose to use the system libunwind.
4837 # config.gcc also contains tests of with_system_libunwind.
4840 # Check whether --with-system-libunwind was given.
4841 if test "${with_system_libunwind+set}" = set; then :
4842 withval
=$with_system_libunwind;
4845 # If system-libunwind was not specifically set, pick a default setting.
4846 if test x
$with_system_libunwind = x
; then
4848 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4849 *) with_system_libunwind
=no
;;
4852 # Based on system-libunwind and target, do we have ipinfo?
4853 if test x
$with_system_libunwind = xyes
; then
4855 ia64-
*-*) have_unwind_getipinfo
=no
;;
4856 *) have_unwind_getipinfo
=yes ;;
4859 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4862 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4863 *) have_unwind_getipinfo
=yes ;;
4868 if test x
$have_unwind_getipinfo = xyes
; then
4870 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4875 # Check if the compiler is configured for setjmp/longjmp exceptions.
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4877 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4878 if ${ac_cv_sjlj_exceptions+:} false
; then :
4879 $as_echo_n "(cached) " >&6
4881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4883 #ifdef __USING_SJLJ_EXCEPTIONS__
4894 if ac_fn_c_try_compile
"$LINENO"; then :
4895 ac_cv_sjlj_exceptions
=no
4897 ac_cv_sjlj_exceptions
=yes
4899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4902 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4904 # Check whether --enable-cet was given.
4905 if test "${enable_cet+set}" = set; then :
4906 enableval
=$enable_cet;
4907 case "$enableval" in
4909 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4918 $as_echo_n "checking for CET support... " >&6; }
4920 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
4922 i
[34567]86-*-linux* | x86_64-
*-linux*)
4923 case "$enable_cet" in
4925 # Check if target supports multi-byte NOPs
4926 # and if compiler and assembler support CET insn.
4927 cet_save_CFLAGS
="$CFLAGS"
4928 CFLAGS
="$CFLAGS -fcf-protection"
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4936 #if !defined(__SSE2__)
4937 #error target does not support multi-byte NOPs
4946 if ac_fn_c_try_compile
"$LINENO"; then :
4951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 CFLAGS
="$cet_save_CFLAGS"
4955 # Check if assembler supports CET.
4956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4967 if ac_fn_c_try_compile
"$LINENO"; then :
4970 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4980 if test x
$enable_cet = xyes
; then
4981 CET_FLAGS
="-fcf-protection -mshstk"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4983 $as_echo "yes" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4991 # Check whether --enable-explicit-exception-frame-registration was given.
4992 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4993 enableval
=$enable_explicit_exception_frame_registration;
4994 force_explicit_eh_registry
=
4995 if test "$enable_explicit_exception_frame_registration" = yes; then
4996 if test $ac_cv_sjlj_exceptions = yes; then
4997 as_fn_error $?
"Can't --enable-explicit-exception-frame-registration
4998 with setjmp/longjmp exceptions" "$LINENO" 5
5000 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
5007 # Check whether --enable-tm-clone-registry was given.
5008 if test "${enable_tm_clone_registry+set}" = set; then :
5009 enableval
=$enable_tm_clone_registry;
5010 use_tm_clone_registry
=
5011 if test "$enable_tm_clone_registry" = no
; then
5012 use_tm_clone_registry
=-DUSE_TM_CLONE_REGISTRY=0
5017 use_tm_clone_registry
=
5020 use_tm_clone_registry
=-DUSE_TM_CLONE_REGISTRY=0
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5029 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5030 if ${acl_cv_prog_gnu_ld+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5034 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
5035 acl_cv_prog_gnu_ld
=yes
5037 acl_cv_prog_gnu_ld
=no
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5041 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5042 with_gnu_ld
=$acl_cv_prog_gnu_ld
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
5046 $as_echo_n "checking for thread model used by GCC... " >&6; }
5047 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
5049 $as_echo "$target_thread_file" >&6; }
5051 # Check for assembler CFI support.
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
5053 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
5054 if ${libgcc_cv_cfi+:} false
; then :
5055 $as_echo_n "(cached) " >&6
5057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5062 .cfi_personality 0, symbol\n\
5065 if ac_fn_c_try_compile
"$LINENO"; then :
5070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
5073 $as_echo "$libgcc_cv_cfi" >&6; }
5075 # Check 32bit or 64bit. In the case of MIPS, this really determines the
5076 # word size rather than the address size.
5077 cat > conftest.c
<<EOF
5078 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
5079 || defined(__mips64) || defined(__loongarch64)
5085 eval `${CC-cc} -E conftest.c | grep host_address=`
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
5091 $as_echo_n "checking whether the target is hard-float... " >&6; }
5092 if ${libgcc_cv_mips_hard_float+:} false
; then :
5093 $as_echo_n "(cached) " >&6
5095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5097 #ifndef __mips_hard_float
5102 if ac_fn_c_try_compile
"$LINENO"; then :
5103 libgcc_cv_mips_hard_float
=yes
5105 libgcc_cv_mips_hard_float
=no
5107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
5110 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
5115 # Check for system-provided CRTs on Solaris 11.4.
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
5117 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
5118 if ${libgcc_cv_solaris_crts+:} false
; then :
5119 $as_echo_n "(cached) " >&6
5121 libgcc_cv_solaris_crts
=no
5122 libgcc_sysroot
="`${CC} -print-sysroot`"
5123 libgcc_libdir
="$libgcc_sysroot/usr/lib"
5124 # At the time they were added, gcrt1.o became a symlink for backwards
5125 # compatibility on x86, while crt1.o was added on sparc, so check for that.
5127 i?
86-*-solaris2* | x86_64-
*-solaris2*)
5128 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5131 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
5136 $as_echo "$libgcc_cv_solaris_crts" >&6; }
5137 if test $libgcc_cv_solaris_crts = yes; then
5139 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
5145 # Determine the version of glibc, if any, used on the target.
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
5147 $as_echo_n "checking for target glibc version... " >&6; }
5149 # Check whether --with-glibc-version was given.
5150 if test "${with_glibc_version+set}" = set; then :
5151 withval
=$with_glibc_version;
5152 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
5153 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
5154 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
5156 as_fn_error $?
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
5160 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
5163 glibc_version_major
=0
5166 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
5169 glibc_version_minor
=0
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
5175 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
5177 # Determine floating-point type for powerpc*-*-linux* or vxworks7*.
5178 # Single-precision-only FPRs are not a supported configuration for
5179 # this target, so are not allowed for in this test.
5181 powerpc
*-*-linux* | powerpc
*-*-vxworks7*)
5182 cat > conftest.c
<<EOF
5183 #ifdef __powerpc64__
5185 #elif defined _SOFT_FLOAT
5187 #elif defined _SOFT_DOUBLE
5189 #elif defined __NO_FPRS__
5195 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
5197 # glibc 2.19 and later provide all the soft-fp functions, with proper
5198 # interactions with <fenv.h> exception and rounding mode handling, so
5199 # make libgcc's versions into compat symbols if a recent enough glibc
5200 # version is being used.
5202 case ${ppc_fp_type} in
5204 if test $glibc_version_major -gt 2 \
5205 ||
( test $glibc_version_major -eq 2 \
5206 && test $glibc_version_minor -ge 19 ); then
5207 ppc_fp_compat
="t-softfp-compat"
5215 # At present, we cannot turn -mfloat128 on via #pragma GCC target, so just
5216 # check if we have VSX (ISA 2.06) support to build the software libraries, and
5217 # whether the assembler can handle xsaddqp for hardware support. Also check if
5218 # a new glibc is being used so that __builtin_cpu_supports can be used.
5220 saved_CFLAGS
="$CFLAGS"
5221 CFLAGS
="$CFLAGS -mabi=altivec -mvsx -mfloat128"
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
5223 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
5224 if ${libgcc_cv_powerpc_float128+:} false
; then :
5225 $as_echo_n "(cached) " >&6
5227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5229 vector double dadd (vector double a, vector double b) { return a + b; }
5231 if ac_fn_c_try_compile
"$LINENO"; then :
5232 libgcc_cv_powerpc_float128
=yes
5234 libgcc_cv_powerpc_float128
=no
5236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
5239 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
5241 CFLAGS
="$CFLAGS -mcpu=power9 -mfloat128-hardware"
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
5243 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
5244 if ${libgcc_cv_powerpc_float128_hw+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5249 #include <sys/auxv.h>
5251 #error "AT_PLATFORM is not defined"
5253 #ifndef __BUILTIN_CPU_SUPPORTS__
5254 #error "__builtin_cpu_supports is not available"
5256 vector unsigned char add (vector unsigned char a, vector unsigned char b)
5258 vector unsigned char ret;
5259 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
5262 void *add_resolver (void) { return (void *) add; }
5263 __float128 add_ifunc (__float128, __float128)
5264 __attribute__ ((__ifunc__ ("add_resolver")));
5266 if ac_fn_c_try_compile
"$LINENO"; then :
5267 libgcc_cv_powerpc_float128_hw
=yes
5269 libgcc_cv_powerpc_float128_hw
=no
5271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
5274 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
5275 CFLAGS
="$saved_CFLAGS"
5277 saved_CFLAGS
="$CFLAGS"
5278 CFLAGS
="$CFLAGS -mcpu=power10 -mfloat128-hardware"
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.1 to build hardware __float128 libraries" >&5
5280 $as_echo_n "checking for PowerPC ISA 3.1 to build hardware __float128 libraries... " >&6; }
5281 if ${libgcc_cv_powerpc_3_1_float128_hw+:} false
; then :
5282 $as_echo_n "(cached) " >&6
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5286 #include <sys/auxv.h>
5288 #error "AT_PLATFORM is not defined"
5290 #ifndef __BUILTIN_CPU_SUPPORTS__
5291 #error "__builtin_cpu_supports is not available"
5293 vector unsigned char conv (vector unsigned char qs)
5295 vector unsigned char ret;
5296 __asm__ ("xscvsqqp %0,%1" : "=v" (ret) : "v" (qs));
5299 void *conv_resolver (void) { return (void *) conv; }
5300 __float128 conv_ifunc (__float128)
5301 __attribute__ ((__ifunc__ ("conv_resolver")));
5303 if ac_fn_c_try_compile
"$LINENO"; then :
5304 libgcc_cv_powerpc_3_1_float128_hw
=yes
5306 libgcc_cv_powerpc_3_1_float128_hw
=no
5308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_3_1_float128_hw" >&5
5311 $as_echo "$libgcc_cv_powerpc_3_1_float128_hw" >&6; }
5312 CFLAGS
="$saved_CFLAGS"
5315 # Collect host-machine-specific information.
5316 .
${srcdir}/config.
host
5318 # Used for constructing correct paths for offload compilers.
5320 real_host_noncanonical
=${host_noncanonical}
5321 if test x
"$enable_as_accelerator_for" != x
; then
5322 accel_dir_suffix
=/accel
/${target_noncanonical}
5323 real_host_noncanonical
=${enable_as_accelerator_for}
5328 if test x
"$enable_offload_targets" != x
; then
5329 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
5332 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
5333 # This is after config.host so we can augment tmake_file.
5334 # Link with -nostartfiles -nodefaultlibs since neither are present while
5337 i?
86-*-solaris2* | x86_64-
*-solaris2*)
5338 cat > conftest.s
<<EOF
5339 .section .eh_frame,"a",@unwind
5341 .section .jcr,"aw",@progbits
5344 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
5345 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }; }; then
5350 tmake_file
="${tmake_file} i386/t-crtstuff"
5355 # Check if Solaris linker support v2 linker mapfile syntax.
5356 # Link with -nostartfiles -nodefaultlibs since neither are present while
5360 solaris_ld_v2_maps
=no
5361 echo 'int main(void) {return 0;}' > conftest.c
5362 echo '$mapfile_version 2' > conftest.map
5363 if { ac_try
='${CC-cc} -nostartfiles -nodefaultlibs -Wl,-M,conftest.map -o conftest conftest.c 1>&5'
5364 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5368 test $ac_status = 0; }; }; then
5369 solaris_ld_v2_maps
=yes
5375 # Check if xtensa target is configured for windowed ABI and thus needs to use
5376 # custom unwind code.
5377 # This is after config.host so we can augment tmake_file.
5380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5382 #ifdef __XTENSA_CALL0_ABI__
5387 if ac_fn_c_try_compile
"$LINENO"; then :
5388 tmake_file
="${tmake_file} xtensa/t-windowed"
5390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5394 # Check for visibility support. This is after config.host so that
5395 # we can check for asm_hidden_op.
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
5397 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
5398 if ${libgcc_cv_hidden_visibility_attribute+:} false
; then :
5399 $as_echo_n "(cached) " >&6
5402 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
5403 libgcc_cv_hidden_visibility_attribute
=no
5404 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5405 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5409 test $ac_status = 0; }; }; then
5410 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
5411 libgcc_cv_hidden_visibility_attribute
=yes
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
5418 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
5420 if test $libgcc_cv_hidden_visibility_attribute = yes; then
5421 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
5423 cat >>confdefs.h
<<_ACEOF
5424 #define AS_HIDDEN_DIRECTIVE $asm_hidden_op
5432 # Check for .cfi_sections .debug_frame support.
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .cfi_sections .debug_frame" >&5
5434 $as_echo_n "checking for .cfi_sections .debug_frame... " >&6; }
5435 if ${libgcc_cv_cfi_sections_directive+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5439 echo 'int foo (int, char *);' > conftest.c
5440 echo 'int bar (int x) { char *y = __builtin_alloca (x); return foo (x + 1, y) + 1; }' >> conftest.c
5441 libgcc_cv_cfi_sections_directive
=no
5442 if { ac_try
='${CC-cc} -Werror -g -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S conftest.c -o conftest.s 1>&5'
5443 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5447 test $ac_status = 0; }; }; then
5448 if grep "\\.cfi_sections.*\\.debug_frame" conftest.s
>/dev
/null
; then
5449 libgcc_cv_cfi_sections_directive
=yes
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi_sections_directive" >&5
5456 $as_echo "$libgcc_cv_cfi_sections_directive" >&6; }
5457 if test $libgcc_cv_cfi_sections_directive = yes; then
5459 $as_echo "#define HAVE_AS_CFI_SECTIONS 1" >>confdefs.h
5463 # See if we have thread-local storage. We can only test assembler
5464 # since link-time and run-time tests require the newly built
5465 # gcc, which can't be used to build executable due to that libgcc
5466 # is yet to be built here.
5468 # Check whether --enable-tls was given.
5469 if test "${enable_tls+set}" = set; then :
5470 enableval
=$enable_tls;
5471 case "$enableval" in
5473 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
5482 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
5483 if ${gcc_cv_have_cc_tls+:} false
; then :
5484 $as_echo_n "(cached) " >&6
5487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5489 __thread int a; int b; int main() { return a = b; }
5491 if ac_fn_c_try_compile
"$LINENO"; then :
5492 gcc_cv_have_cc_tls
=yes
5494 gcc_cv_have_cc_tls
=no
5496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
5500 $as_echo "$gcc_cv_have_cc_tls" >&6; }
5502 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
5503 set_have_cc_tls
="-DHAVE_CC_TLS"
5507 # See if we have emulated thread-local storage.
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
5510 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
5511 if ${gcc_cv_use_emutls+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5515 gcc_cv_use_emutls
=no
5516 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
5517 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
5518 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5522 test $ac_status = 0; }; }; then
5523 if grep __emutls_get_address conftest.s
> /dev
/null
; then
5524 gcc_cv_use_emutls
=yes
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
5531 $as_echo "$gcc_cv_use_emutls" >&6; }
5532 if test "$gcc_cv_use_emutls" = "yes" ; then
5534 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
5538 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5539 set_use_emutls
="-DUSE_EMUTLS"
5546 i
[34567]86-*-* | x86_64-
*-*)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
5548 $as_echo_n "checking if the assembler supports AVX... " >&6; }
5549 if ${libgcc_cv_as_avx+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5564 if ac_fn_c_try_compile
"$LINENO"; then :
5565 libgcc_cv_as_avx
=yes
5569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_avx" >&5
5573 $as_echo "$libgcc_cv_as_avx" >&6; }
5574 if test x
$libgcc_cv_as_avx = xyes
; then
5576 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports LSE" >&5
5587 $as_echo_n "checking if the assembler supports LSE... " >&6; }
5588 if ${libgcc_cv_as_lse+:} false
; then :
5589 $as_echo_n "(cached) " >&6
5592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5598 asm(".arch armv8-a+lse\n\tcas w0, w1, [x2]");
5604 if ac_fn_c_try_compile
"$LINENO"; then :
5605 libgcc_cv_as_lse
=yes
5609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_lse" >&5
5613 $as_echo "$libgcc_cv_as_lse" >&6; }
5614 if test x
$libgcc_cv_as_lse = xyes
; then
5616 $as_echo "#define HAVE_AS_LSE 1" >>confdefs.h
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if as supports .variant_pcs" >&5
5627 $as_echo_n "checking if as supports .variant_pcs... " >&6; }
5628 if ${libgcc_cv_as_variant_pcs+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5638 asm (".variant_pcs foobar");
5643 if ac_fn_c_try_compile
"$LINENO"; then :
5644 libgcc_cv_as_variant_pcs
=yes
5646 libgcc_cv_as_variant_pcs
=no
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_variant_pcs" >&5
5652 $as_echo "$libgcc_cv_as_variant_pcs" >&6; }
5653 if test x
$libgcc_cv_as_variant_pcs = xyes
; then
5655 $as_echo "#define HAVE_AS_VARIANT_PCS 1" >>confdefs.h
5661 # Check __getauxval ABI symbol for CPU feature detection.
5664 # No link check because the libc may not be present.
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __getauxval" >&5
5666 $as_echo_n "checking for __getauxval... " >&6; }
5667 if ${libgcc_cv_have___getauxval+:} false
; then :
5668 $as_echo_n "(cached) " >&6
5672 libgcc_cv_have___getauxval
=yes
5675 libgcc_cv_have___getauxval
=no
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_have___getauxval" >&5
5679 $as_echo "$libgcc_cv_have___getauxval" >&6; }
5680 if test x
$libgcc_cv_have___getauxval = xyes
; then
5682 $as_echo "#define HAVE___GETAUXVAL 1" >>confdefs.h
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5688 $as_echo_n "checking for init priority support... " >&6; }
5689 if ${libgcc_cv_init_priority+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5699 void ip (void) __attribute__ ((constructor (1)));
5704 if ac_fn_c_try_compile
"$LINENO"; then :
5705 libgcc_cv_init_priority
=yes
5707 libgcc_cv_init_priority
=no
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5712 $as_echo "$libgcc_cv_init_priority" >&6; }
5713 if test $libgcc_cv_init_priority = yes; then
5715 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5719 # Conditionalize the sfp-machine.h header for this target machine.
5720 if test -z "${sfp_machine_header}"; then
5721 sfp_machine_header
=$cpu_type/sfp-machine.h
5722 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5725 sfp_machine_header
=no-sfp-machine.h
5730 # Conditionalize the makefile for this target machine.
5732 for f
in ${tmake_file}
5734 if test -f ${srcdir}/config
/$f
5736 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5739 tmake_file
="${tmake_file_}"
5742 # Likewise export definitions for libgcc_tm.h
5746 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5748 tm_file
="${tm_file_}"
5752 # Map from thread model to thread header.
5754 case $target_thread_file in
5755 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5756 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5757 gcn
) thread_header
=config
/gcn
/gthr-gcn.h
;;
5758 lynx
) thread_header
=config
/gthr-lynx.h
;;
5759 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5760 posix
) thread_header
=gthr-posix.h
;;
5761 rtems
) thread_header
=config
/gthr-rtems.h
;;
5762 single
) thread_header
=gthr-single.h
;;
5763 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5764 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5765 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5766 mcf
) thread_header
=config
/i386
/gthr-mcf.h
;;
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strub support" >&5
5772 $as_echo_n "checking for strub support... " >&6; }
5773 if ${libgcc_cv_strub_support+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5778 void __attribute__ ((__strub__)) fn (void) {}
5780 if ac_fn_c_try_compile
"$LINENO"; then :
5781 libgcc_cv_strub_support
=yes
5783 libgcc_cv_strub_support
=no
5785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_strub_support" >&5
5788 $as_echo "$libgcc_cv_strub_support" >&6; }
5789 if test "x$libgcc_cv_strub_support" != xno
; then
5792 HAVE_STRUB_SUPPORT
='# '
5796 # Determine what GCC version number to use in filesystem paths.
5798 get_gcc_base_ver
="cat"
5800 # Check whether --with-gcc-major-version-only was given.
5801 if test "${with_gcc_major_version_only+set}" = set; then :
5802 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5803 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
5811 # Substitute configuration variables
5821 # We need multilib support.
5822 ac_config_files
="$ac_config_files Makefile"
5824 ac_config_commands
="$ac_config_commands default"
5826 cat >confcache
<<\_ACEOF
5827 # This file is a shell script that caches the results of configure
5828 # tests run on this system so they can be shared between configure
5829 # scripts and configure runs, see configure's option --config-cache.
5830 # It is not useful on other systems. If it contains results you don't
5831 # want to keep, you may remove or edit it.
5833 # config.status only pays attention to the cache file if you give it
5834 # the --recheck option to rerun configure.
5836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5842 # The following way of writing the cache mishandles newlines in values,
5843 # but we know of no workaround that is simple, portable, and efficient.
5844 # So, we kill variables containing newlines.
5845 # Ultrix sh set writes to stderr and can't be redirected directly,
5846 # and sets the high bit in the cache file unless we assign to the vars.
5848 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5849 eval ac_val
=\$
$ac_var
5853 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5857 _ | IFS | as_nl
) ;; #(
5858 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5859 *) { eval $ac_var=; unset $ac_var;} ;;
5865 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5866 *${as_nl}ac_space
=\
*)
5867 # `set' does not quote correctly, so add quotes: double-quote
5868 # substitution turns \\\\ into \\, and sed turns \\ into \.
5871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5874 # `set' quotes correctly as required by POSIX, so do not add quotes.
5875 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5886 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5888 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5889 if test -w "$cache_file"; then
5890 if test "x$cache_file" != "x/dev/null"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5892 $as_echo "$as_me: updating cache $cache_file" >&6;}
5893 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5894 cat confcache
>"$cache_file"
5896 case $cache_file in #(
5898 mv -f confcache
"$cache_file"$$
&&
5899 mv -f "$cache_file"$$
"$cache_file" ;; #(
5901 mv -f confcache
"$cache_file" ;;
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5907 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5912 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5913 # Let make expand exec_prefix.
5914 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5916 DEFS
=-DHAVE_CONFIG_H
5921 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5922 # 1. Remove the extension, and $U if already installed.
5923 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5924 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5925 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5926 # will be set to the directory where LIBOBJS objects are built.
5927 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5928 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5932 LTLIBOBJS
=$ac_ltlibobjs
5936 : "${CONFIG_STATUS=./config.status}"
5938 ac_clean_files_save
=$ac_clean_files
5939 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5941 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5943 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5945 # Generated by $as_me.
5946 # Run this file to recreate the current configuration.
5947 # Compiler output produced by configure, useful for debugging
5948 # configure, is in config.log if it exists.
5954 SHELL=\${CONFIG_SHELL-$SHELL}
5957 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5958 ## -------------------- ##
5959 ## M4sh Initialization. ##
5960 ## -------------------- ##
5962 # Be more Bourne compatible
5963 DUALCASE
=1; export DUALCASE
# for MKS sh
5964 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5967 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5968 # is contrary to our usage. Disable this feature.
5969 alias -g '${1+"$@"}'='"$@"'
5970 setopt NO_GLOB_SUBST
5972 case `(set -o) 2>/dev/null` in #(
5984 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5985 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5987 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5988 # Prefer a ksh shell builtin over an external printf program on Solaris,
5989 # but without wasting forks for bash or zsh.
5990 if test -z "$BASH_VERSION$ZSH_VERSION" \
5991 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5992 as_echo='print
-r --'
5993 as_echo_n='print
-rn --'
5994 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5995 as_echo='printf %s
\n'
5996 as_echo_n='printf %s
'
5998 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5999 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6000 as_echo_n='/usr
/ucb
/echo -n'
6002 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6003 as_echo_n_body='eval
6007 expr "X$arg" : "X\\(.*\\)$as_nl";
6008 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6010 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6012 export as_echo_n_body
6013 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6016 as_echo='sh
-c $as_echo_body as_echo
'
6019 # The user is always right.
6020 if test "${PATH_SEPARATOR+set}" != set; then
6022 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6023 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6030 # We need space, tab and new line, in precisely that order. Quoting is
6031 # there to prevent editors from complaining about space-tab.
6032 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6033 # splitting by setting IFS to empty value.)
6036 # Find who we are. Look in the path if we contain no directory separator.
6039 *[\\/]* ) as_myself=$0 ;;
6040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 test -z "$as_dir" && as_dir=.
6045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6051 # We did not find ourselves, most probably we were run as `sh COMMAND'
6052 # in which case we are not to be found in the path.
6053 if test "x$as_myself" = x
; then
6056 if test ! -f "$as_myself"; then
6057 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6061 # Unset variables that we do not need and which cause bugs (e.g. in
6062 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6063 # suppresses any "Segmentation fault" message there. '((' could
6064 # trigger a bug in pdksh 5.2.14.
6065 for as_var
in BASH_ENV ENV MAIL MAILPATH
6066 do eval test x\
${$as_var+set} = xset \
6067 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6080 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6083 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6084 # ----------------------------------------
6085 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6086 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6087 # script with STATUS, using 1 if that was 0.
6090 as_status
=$1; test $as_status -eq 0 && as_status
=1
6092 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6093 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6095 $as_echo "$as_me: error: $2" >&2
6096 as_fn_exit
$as_status
6100 # as_fn_set_status STATUS
6101 # -----------------------
6102 # Set $? to STATUS, without forking.
6106 } # as_fn_set_status
6110 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6120 # Portably unset VAR.
6123 { eval $1=; unset $1;}
6125 as_unset
=as_fn_unset
6126 # as_fn_append VAR VALUE
6127 # ----------------------
6128 # Append the text in VALUE to the end of the definition contained in VAR. Take
6129 # advantage of any shell optimizations that allow amortized linear growth over
6130 # repeated appends, instead of the typical quadratic growth present in naive
6132 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6133 eval 'as_fn_append ()
6144 # as_fn_arith ARG...
6145 # ------------------
6146 # Perform arithmetic evaluation on the ARGs, and store the result in the
6147 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6148 # must be portable across $(()) and expr.
6149 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6150 eval 'as_fn_arith ()
6157 as_val
=`expr "$@" || test $? -eq 1`
6162 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6163 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6169 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6170 as_basename
=basename
6175 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6181 as_me
=`$as_basename -- "$0" ||
6182 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6183 X"$0" : 'X\(//\)$' \| \
6184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6186 sed '/^.*\/\([^/][^/]*\)\/*$/{
6200 # Avoid depending upon Character Ranges.
6201 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6202 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6203 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6204 as_cr_digits
='0123456789'
6205 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6207 ECHO_C
= ECHO_N
= ECHO_T
=
6208 case `echo -n x` in #(((((
6210 case `echo 'xy\c'` in
6211 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6213 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6220 rm -f conf$$ conf$$.exe conf$$.
file
6221 if test -d conf$$.dir
; then
6222 rm -f conf$$.dir
/conf$$.
file
6225 mkdir conf$$.dir
2>/dev
/null
6227 if (echo >conf$$.
file) 2>/dev
/null
; then
6228 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6230 # ... but there are two gotchas:
6231 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6232 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6233 # In both cases, we have to default to `cp -pR'.
6234 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6236 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6244 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6245 rmdir conf$$.dir
2>/dev
/null
6250 # Create "$as_dir" as a directory, including parents if necessary.
6255 -*) as_dir
=.
/$as_dir;;
6257 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6261 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6262 *) as_qdir
=$as_dir;;
6264 as_dirs
="'$as_qdir' $as_dirs"
6265 as_dir
=`$as_dirname -- "$as_dir" ||
6266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6267 X"$as_dir" : 'X\(//\)[^/]' \| \
6268 X"$as_dir" : 'X\(//\)$' \| \
6269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6270 $as_echo X"$as_dir" |
6271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6288 test -d "$as_dir" && break
6290 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6291 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6295 if mkdir
-p .
2>/dev
/null
; then
6296 as_mkdir_p
='mkdir -p "$as_dir"'
6298 test -d .
/-p && rmdir .
/-p
6303 # as_fn_executable_p FILE
6304 # -----------------------
6305 # Test if FILE is an executable regular file.
6306 as_fn_executable_p
()
6308 test -f "$1" && test -x "$1"
6309 } # as_fn_executable_p
6311 as_executable_p
=as_fn_executable_p
6313 # Sed expression to map a string onto a valid CPP name.
6314 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6316 # Sed expression to map a string onto a valid variable name.
6317 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6321 ## ----------------------------------- ##
6322 ## Main body of $CONFIG_STATUS script. ##
6323 ## ----------------------------------- ##
6325 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6328 # Save the log message, to keep $0 and so on meaningful, and to
6329 # report actual input values of CONFIG_FILES etc. instead of their
6330 # values after options handling.
6332 This file was extended by GNU C Runtime Library $as_me 1.0, which was
6333 generated by GNU Autoconf 2.69. Invocation command line was
6335 CONFIG_FILES = $CONFIG_FILES
6336 CONFIG_HEADERS = $CONFIG_HEADERS
6337 CONFIG_LINKS = $CONFIG_LINKS
6338 CONFIG_COMMANDS = $CONFIG_COMMANDS
6341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6346 case $ac_config_files in *"
6347 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6350 case $ac_config_headers in *"
6351 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6356 # Files that config.status was made for.
6357 config_files="$ac_config_files"
6358 config_headers="$ac_config_headers"
6359 config_commands="$ac_config_commands"
6363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6365 \`$as_me' instantiates files and other configuration actions
6366 from templates according to the current configuration. Unless the files
6367 and actions are specified as TAGs, all are instantiated by default.
6369 Usage: $0 [OPTION]... [TAG]...
6371 -h, --help print this help, then exit
6372 -V, --version print version number and configuration settings, then exit
6373 --config print configuration, then exit
6374 -q, --quiet, --silent
6375 do not print progress messages
6376 -d, --debug don't remove temporary files
6377 --recheck update $as_me by reconfiguring in the same conditions
6378 --file=FILE[:TEMPLATE]
6379 instantiate the configuration file FILE
6380 --header=FILE[:TEMPLATE]
6381 instantiate the configuration header FILE
6383 Configuration files:
6386 Configuration headers:
6389 Configuration commands:
6392 Report bugs to the package provider.
6393 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
6394 General help using GNU software: <http://www.gnu.org/gethelp/>."
6397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6398 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6400 GNU C Runtime Library config.status 1.0
6401 configured by $0, generated by GNU Autoconf 2.69,
6402 with options \\"\$ac_cs_config\\"
6404 Copyright (C) 2012 Free Software Foundation, Inc.
6405 This config.status script is free software; the Free Software Foundation
6406 gives unlimited permission to copy, distribute and modify it."
6412 test -n "\$AWK" || AWK=awk
6415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6416 # The default lists apply if the user does not specify any file.
6422 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6423 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6427 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6439 # Handling of the options.
6440 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6442 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6443 $as_echo "$ac_cs_version"; exit ;;
6444 --config |
--confi |
--conf |
--con |
--co |
--c )
6445 $as_echo "$ac_cs_config"; exit ;;
6446 --debug |
--debu |
--deb |
--de |
--d |
-d )
6448 --file |
--fil |
--fi |
--f )
6451 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6452 '') as_fn_error $?
"missing file argument" ;;
6454 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6455 ac_need_defaults
=false
;;
6456 --header |
--heade |
--head |
--hea )
6459 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6461 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6462 ac_need_defaults
=false
;;
6464 # Conflict between --help and --header
6465 as_fn_error $?
"ambiguous option: \`$1'
6466 Try \`$0 --help' for more information.";;
6467 --help |
--hel |
-h )
6468 $as_echo "$ac_cs_usage"; exit ;;
6469 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6470 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6474 -*) as_fn_error $?
"unrecognized option: \`$1'
6475 Try \`$0 --help' for more information." ;;
6477 *) as_fn_append ac_config_targets
" $1"
6478 ac_need_defaults
=false
;;
6484 ac_configure_extra_args
=
6486 if $ac_cs_silent; then
6488 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6493 if \$ac_cs_recheck; then
6494 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6496 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6497 CONFIG_SHELL='$SHELL'
6503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6508 ## Running $as_me. ##
6514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6520 with_target_subdir=${with_target_subdir}
6521 with_multisubdir=${with_multisubdir}
6522 ac_configure_args="--enable-multilib ${ac_configure_args}"
6523 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6524 libgcc_topdir=${libgcc_topdir}
6530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6532 # Handling of arguments.
6533 for ac_config_target
in $ac_config_targets
6535 case $ac_config_target in
6536 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
6537 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6538 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6540 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6545 # If the user did not use the arguments to specify the items to instantiate,
6546 # then the envvar interface is used. Set only those that are not.
6547 # We use the long form for the default assignment because of an extremely
6548 # bizarre bug on SunOS 4.1.3.
6549 if $ac_need_defaults; then
6550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6552 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6555 # Have a temporary directory for convenience. Make it in the build tree
6556 # simply because there is no reason against having it here, and in addition,
6557 # creating and moving files from /tmp can sometimes cause problems.
6558 # Hook for its removal unless debugging.
6559 # Note that there is a small window in which the directory will not be cleaned:
6560 # after its creation but before its name has been assigned to `$tmp'.
6564 trap 'exit_status=$?
6566 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6568 trap 'as_fn_exit 1' 1 2 13 15
6570 # Create a (secure) tmp directory for tmp files.
6573 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6577 tmp
=.
/conf$$
-$RANDOM
6578 (umask 077 && mkdir
"$tmp")
6579 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6582 # Set up the scripts for CONFIG_FILES section.
6583 # No need to generate them if there are no CONFIG_FILES.
6584 # This happens for instance with `./config.status config.h'.
6585 if test -n "$CONFIG_FILES"; then
6588 ac_cr
=`echo X | tr X '\015'`
6589 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6590 # But we know of no other shell where ac_cr would be empty at this
6591 # point, so we can use a bashism as a fallback.
6592 if test "x$ac_cr" = x
; then
6593 eval ac_cr
=\$
\'\\r
\'
6595 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6596 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6602 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6607 echo "cat >conf$$subs.awk <<_ACEOF" &&
6608 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6611 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6612 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6614 for ac_last_try in false false false false false :; do
6615 . ./conf$$subs.sh ||
6616 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6618 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6619 if test $ac_delim_n = $ac_delim_num; then
6621 elif $ac_last_try; then
6622 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6624 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6630 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6634 s/^/S["/; s
/!.
*/"]=/
6644 s/\(.\{148\}\)..*/\1/
6646 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6651 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6658 s/\(.\{148\}\)..*/\1/
6660 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6664 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6669 ' <conf$$subs.awk | sed '
6674 ' >>$CONFIG_STATUS || ac_write_fail=1
6675 rm -f conf$$subs.awk
6676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6678 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6679 for (key in S) S_is_set[key] = 1
6685 nfields = split(line, field, "@
")
6687 len = length(field[1])
6688 for (i = 2; i < nfields; i++) {
6690 keylen = length(key)
6691 if (S_is_set[key]) {
6693 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6694 len += length(value) + length(field[++i])
6705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6706 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6707 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6710 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6711 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6714 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6715 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6716 # trailing colons and then remove the whole line if VPATH becomes empty
6717 # (actually we leave an empty line to preserve line numbers).
6718 if test "x
$srcdir" = x.; then
6719 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6738 fi # test -n "$CONFIG_FILES"
6740 # Set up the scripts for CONFIG_HEADERS section.
6741 # No need to generate them if there are no CONFIG_HEADERS.
6742 # This happens for instance with `./config.status Makefile'.
6743 if test -n "$CONFIG_HEADERS"; then
6744 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6748 # Transform confdefs.h into an awk script `defines.awk', embedded as
6749 # here-document in config.status, that substitutes the proper values into
6750 # config.h.in to produce config.h.
6752 # Create a delimiter string that does not exist in confdefs.h, to ease
6753 # handling of long lines.
6755 for ac_last_try in false false :; do
6756 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6757 if test -z "$ac_tt"; then
6759 elif $ac_last_try; then
6760 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6762 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6766 # For the awk script, D is an array of macro values keyed by name,
6767 # likewise P contains macro parameters if any. Preserve backslash
6768 # newline sequences.
6770 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6772 s/.\{148\}/&'"$ac_delim"'/g
6775 s/^[ ]*#[ ]*define[ ][ ]*/ /
6782 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6784 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6789 D["\
1"]=" \
3\\\\\\n
"\\/p
6791 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6796 s/.\{148\}/&'"$ac_delim"'/g
6801 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6804 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6806 ' <confdefs.h | sed '
6807 s/'"$ac_delim"'/"\\\
6808 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6811 for (key in D) D_is_set[key] = 1
6814 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6816 split(line, arg, " ")
6817 if (arg[1] == "#") {
6821 defundef
= substr
(arg
[1], 2)
6824 split(mac1
, mac2
, "(") #)
6826 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6827 if (D_is_set
[macro
]) {
6828 # Preserve the white space surrounding the "#".
6829 print prefix
"define", macro P
[macro
] D
[macro
]
6832 # Replace #undef with comments. This is necessary, for example,
6833 # in the case of _POSIX_SOURCE, which is predefined and required
6834 # on some systems where configure will not decide to define it.
6835 if (defundef
== "undef") {
6836 print
"/*", prefix defundef
, macro
, "*/"
6844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6845 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6846 fi # test -n "$CONFIG_HEADERS"
6849 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6854 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6856 case $ac_mode$ac_tag in
6858 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6859 :[FH
]-) ac_tag
=-:-;;
6860 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6877 -) ac_f
="$ac_tmp/stdin";;
6878 *) # Look for the file first in the build tree, then in the source tree
6879 # (if the path is not absolute). The absolute path cannot be DOS-style,
6880 # because $ac_f cannot contain `:'.
6884 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6886 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6888 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6889 as_fn_append ac_file_inputs
" '$ac_f'"
6892 # Let's still pretend it is `configure' which instantiates (i.e., don't
6893 # use $as_me), people would be surprised to read:
6894 # /* config.h. Generated by config.status. */
6895 configure_input
='Generated from '`
6896 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6898 if test x
"$ac_file" != x-
; then
6899 configure_input
="$ac_file. $configure_input"
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6901 $as_echo "$as_me: creating $ac_file" >&6;}
6903 # Neutralize special characters interpreted by sed in replacement strings.
6904 case $configure_input in #(
6905 *\
&* |
*\|
* |
*\\* )
6906 ac_sed_conf_input
=`$as_echo "$configure_input" |
6907 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6908 *) ac_sed_conf_input
=$configure_input;;
6912 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6913 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6918 ac_dir
=`$as_dirname -- "$ac_file" ||
6919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6920 X"$ac_file" : 'X\(//\)[^/]' \| \
6921 X"$ac_file" : 'X\(//\)$' \| \
6922 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6923 $as_echo X"$ac_file" |
6924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6941 as_dir
="$ac_dir"; as_fn_mkdir_p
6945 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6947 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6948 # A ".." for each directory in $ac_dir_suffix.
6949 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6950 case $ac_top_builddir_sub in
6951 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6952 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6955 ac_abs_top_builddir
=$ac_pwd
6956 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6957 # for backward compatibility:
6958 ac_top_builddir
=$ac_top_build_prefix
6961 .
) # We are building in place.
6963 ac_top_srcdir
=$ac_top_builddir_sub
6964 ac_abs_top_srcdir
=$ac_pwd ;;
6965 [\\/]* | ?
:[\\/]* ) # Absolute name.
6966 ac_srcdir
=$srcdir$ac_dir_suffix;
6967 ac_top_srcdir
=$srcdir
6968 ac_abs_top_srcdir
=$srcdir ;;
6970 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6971 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6972 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6974 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6984 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6985 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6990 # If the template does not know about datarootdir, expand it.
6991 # FIXME: This hack should be removed a few years after 2.60.
6992 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7003 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7004 *datarootdir
*) ac_datarootdir_seen
=yes;;
7005 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7007 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7010 ac_datarootdir_hack='
7011 s&@datadir@&$datadir&g
7012 s&@docdir@&$docdir&g
7013 s&@infodir@&$infodir&g
7014 s&@localedir@&$localedir&g
7015 s&@mandir@&$mandir&g
7016 s&\\\${datarootdir}&$datarootdir&g' ;;
7020 # Neutralize VPATH when `$srcdir' = `.'.
7021 # Shell code in configure.ac might set extrasub.
7022 # FIXME: do we really want to maintain this feature?
7023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7024 ac_sed_extra="$ac_vpsub
7027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7029 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7030 s|@configure_input@|
$ac_sed_conf_input|
;t t
7031 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7032 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7033 s
&@srcdir@
&$ac_srcdir&;t t
7034 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7035 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7036 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7037 s
&@builddir@
&$ac_builddir&;t t
7038 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7039 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7040 s
&@INSTALL@
&$ac_INSTALL&;t t
7041 $ac_datarootdir_hack
7043 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7044 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7046 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7047 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7048 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7049 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7051 which seems to be undefined. Please make sure it is defined" >&5
7052 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7053 which seems to be undefined. Please make sure it is defined" >&2;}
7055 rm -f "$ac_tmp/stdin"
7057 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7058 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7066 if test x"$ac_file" != x-; then
7068 $as_echo "/* $configure_input */" \
7069 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7070 } >"$ac_tmp/config.h" \
7071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7072 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7074 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7077 mv "$ac_tmp/config.h" "$ac_file" \
7078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7081 $as_echo "/* $configure_input */" \
7082 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7083 || as_fn_error $? "could not create -" "$LINENO" 5
7087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7088 $as_echo "$as_me: executing $ac_file commands" >&6;}
7093 case $ac_file$ac_mode in
7094 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
7095 if test -n "$CONFIG_FILES"; then
7096 # FIXME: We shouldn't need to
set ac_file
7098 .
${libgcc_topdir}/config-ml.
in
7107 ac_clean_files
=$ac_clean_files_save
7109 test $ac_write_fail = 0 ||
7110 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7113 # configure is writing to config.log, and then calls config.status.
7114 # config.status does its own redirection, appending to config.log.
7115 # Unfortunately, on DOS this fails, as config.log is still kept open
7116 # by configure, so config.status won't be able to write to it; its
7117 # output is simply discarded. So we exec the FD to /dev/null,
7118 # effectively closing config.log, so it can be properly (re)opened and
7119 # appended to by config.status. When coming back to configure, we
7120 # need to make the FD available again.
7121 if test "$no_create" != yes; then
7123 ac_config_status_args
=
7124 test "$silent" = yes &&
7125 ac_config_status_args
="$ac_config_status_args --quiet"
7127 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7129 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7130 # would make configure fail if this is the last instruction.
7131 $ac_cs_success || as_fn_exit
1
7133 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7135 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}