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
605 real_host_noncanonical
607 use_tm_clone_registry
608 force_explicit_eh_registry
615 long_double_type_size
686 program_transform_name
699 enable_option_checking
707 enable_version_specific_runtime_libs
710 enable_maintainer_mode
714 with_system_libunwind
716 enable_explicit_exception_frame_registration
717 enable_tm_clone_registry
720 with_gcc_major_version_only
722 ac_precious_vars
='build_alias
733 # Initialize some variables set by options.
735 ac_init_version
=false
736 ac_unrecognized_opts
=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
747 program_transform_name
=s
,x
,x
,
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir
='${exec_prefix}/bin'
762 sbindir
='${exec_prefix}/sbin'
763 libexecdir
='${exec_prefix}/libexec'
764 datarootdir
='${prefix}/share'
765 datadir
='${datarootdir}'
766 sysconfdir
='${prefix}/etc'
767 sharedstatedir
='${prefix}/com'
768 localstatedir
='${prefix}/var'
769 includedir
='${prefix}/include'
770 oldincludedir
='/usr/include'
771 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
772 infodir
='${datarootdir}/info'
777 libdir
='${exec_prefix}/lib'
778 localedir
='${datarootdir}/locale'
779 mandir
='${datarootdir}/man'
785 # If the previous option needs an argument, assign it.
786 if test -n "$ac_prev"; then
787 eval $ac_prev=\
$ac_option
793 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 # Accept the important Cygnus configure options, so we can diagnose typos.
800 case $ac_dashdash$ac_option in
804 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
806 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
809 -build |
--build |
--buil |
--bui |
--bu)
810 ac_prev
=build_alias
;;
811 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
812 build_alias
=$ac_optarg ;;
814 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
815 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
816 ac_prev
=cache_file
;;
817 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
818 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
819 cache_file
=$ac_optarg ;;
822 cache_file
=config.cache
;;
824 -datadir |
--datadir |
--datadi |
--datad)
826 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
827 datadir
=$ac_optarg ;;
829 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
830 |
--dataroo |
--dataro |
--datar)
831 ac_prev
=datarootdir
;;
832 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
833 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
834 datarootdir
=$ac_optarg ;;
836 -disable-* |
--disable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 as_fn_error $?
"invalid feature name: $ac_useropt"
841 ac_useropt_orig
=$ac_useropt
842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
848 ac_unrecognized_sep
=', ';;
850 eval enable_
$ac_useropt=no
;;
852 -docdir |
--docdir |
--docdi |
--doc |
--do)
854 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
857 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
859 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
862 -enable-* |
--enable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error $?
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=\
$ac_optarg ;;
878 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
879 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
880 |
--exec |
--exe |
--ex)
881 ac_prev
=exec_prefix
;;
882 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
883 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
884 |
--exec=* |
--exe=* |
--ex=*)
885 exec_prefix
=$ac_optarg ;;
887 -gas |
--gas |
--ga |
--g)
888 # Obsolete; use --with-gas.
891 -help |
--help |
--hel |
--he |
-h)
893 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
894 ac_init_help
=recursive
;;
895 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
896 ac_init_help
=short
;;
898 -host |
--host |
--hos |
--ho)
899 ac_prev
=host_alias
;;
900 -host=* |
--host=* |
--hos=* |
--ho=*)
901 host_alias
=$ac_optarg ;;
903 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
905 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
907 htmldir
=$ac_optarg ;;
909 -includedir |
--includedir |
--includedi |
--included |
--include \
910 |
--includ |
--inclu |
--incl |
--inc)
911 ac_prev
=includedir
;;
912 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
913 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
914 includedir
=$ac_optarg ;;
916 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
918 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
919 infodir
=$ac_optarg ;;
921 -libdir |
--libdir |
--libdi |
--libd)
923 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
926 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
927 |
--libexe |
--libex |
--libe)
928 ac_prev
=libexecdir
;;
929 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
930 |
--libexe=* |
--libex=* |
--libe=*)
931 libexecdir
=$ac_optarg ;;
933 -localedir |
--localedir |
--localedi |
--localed |
--locale)
935 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
936 localedir
=$ac_optarg ;;
938 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
939 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
940 ac_prev
=localstatedir
;;
941 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
942 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
943 localstatedir
=$ac_optarg ;;
945 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
947 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
951 # Obsolete; use --without-fp.
954 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
955 |
--no-cr |
--no-c |
-n)
958 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
959 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
962 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
963 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
964 |
--oldin |
--oldi |
--old |
--ol |
--o)
965 ac_prev
=oldincludedir
;;
966 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
967 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
968 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
969 oldincludedir
=$ac_optarg ;;
971 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
973 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
976 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
977 |
--program-pre |
--program-pr |
--program-p)
978 ac_prev
=program_prefix
;;
979 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
980 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
981 program_prefix
=$ac_optarg ;;
983 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
984 |
--program-suf |
--program-su |
--program-s)
985 ac_prev
=program_suffix
;;
986 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
987 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
988 program_suffix
=$ac_optarg ;;
990 -program-transform-name |
--program-transform-name \
991 |
--program-transform-nam |
--program-transform-na \
992 |
--program-transform-n |
--program-transform- \
993 |
--program-transform |
--program-transfor \
994 |
--program-transfo |
--program-transf \
995 |
--program-trans |
--program-tran \
996 |
--progr-tra |
--program-tr |
--program-t)
997 ac_prev
=program_transform_name
;;
998 -program-transform-name=* |
--program-transform-name=* \
999 |
--program-transform-nam=* |
--program-transform-na=* \
1000 |
--program-transform-n=* |
--program-transform-=* \
1001 |
--program-transform=* |
--program-transfor=* \
1002 |
--program-transfo=* |
--program-transf=* \
1003 |
--program-trans=* |
--program-tran=* \
1004 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1005 program_transform_name
=$ac_optarg ;;
1007 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1009 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1010 pdfdir
=$ac_optarg ;;
1012 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1014 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1017 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1018 |
-silent |
--silent |
--silen |
--sile |
--sil)
1021 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1023 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1025 sbindir
=$ac_optarg ;;
1027 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1028 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1029 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1031 ac_prev
=sharedstatedir
;;
1032 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1033 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1034 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1036 sharedstatedir
=$ac_optarg ;;
1038 -site |
--site |
--sit)
1040 -site=* |
--site=* |
--sit=*)
1043 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1045 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1046 srcdir
=$ac_optarg ;;
1048 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1049 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1050 ac_prev
=sysconfdir
;;
1051 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1052 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1053 sysconfdir
=$ac_optarg ;;
1055 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1056 ac_prev
=target_alias
;;
1057 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1058 target_alias
=$ac_optarg ;;
1060 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1063 -version |
--version |
--versio |
--versi |
--vers |
-V)
1064 ac_init_version
=: ;;
1067 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 as_fn_error $?
"invalid package name: $ac_useropt"
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval with_
$ac_useropt=\
$ac_optarg ;;
1082 -without-* |
--without-*)
1083 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error $?
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=no
;;
1099 # Obsolete; use --with-x.
1102 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1103 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1104 ac_prev
=x_includes
;;
1105 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1106 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1107 x_includes
=$ac_optarg ;;
1109 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1110 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1111 ac_prev
=x_libraries
;;
1112 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1113 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1114 x_libraries
=$ac_optarg ;;
1116 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1117 Try \`$0 --help' for more information"
1121 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1122 # Reject names that are not valid shell variable names.
1123 case $ac_envvar in #(
1124 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1125 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1127 eval $ac_envvar=\
$ac_optarg
1128 export $ac_envvar ;;
1131 # FIXME: should be removed in autoconf 3.0.
1132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1133 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1135 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1141 if test -n "$ac_prev"; then
1142 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1143 as_fn_error $?
"missing argument to $ac_option"
1146 if test -n "$ac_unrecognized_opts"; then
1147 case $enable_option_checking in
1149 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1154 # Check all directory arguments for consistency.
1155 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1156 datadir sysconfdir sharedstatedir localstatedir includedir \
1157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1158 libdir localedir mandir
1160 eval ac_val
=\$
$ac_var
1161 # Remove trailing slashes.
1164 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1165 eval $ac_var=\
$ac_val;;
1167 # Be sure to have absolute directory names.
1169 [\\/$
]* | ?
:[\\/]* ) continue;;
1170 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1172 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1175 # There might be people who depend on the old broken behavior: `$host'
1176 # used to hold the argument of --host etc.
1177 # FIXME: To remove some day.
1180 target
=$target_alias
1182 # FIXME: To remove some day.
1183 if test "x$host_alias" != x
; then
1184 if test "x$build_alias" = x
; then
1185 cross_compiling
=maybe
1186 elif test "x$build_alias" != "x$host_alias"; then
1192 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1194 test "$silent" = yes && exec 6>/dev
/null
1197 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1198 ac_ls_di
=`ls -di .` &&
1199 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1200 as_fn_error $?
"working directory cannot be determined"
1201 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1202 as_fn_error $?
"pwd does not report name of working directory"
1205 # Find the source files, if location was not specified.
1206 if test -z "$srcdir"; then
1207 ac_srcdir_defaulted
=yes
1208 # Try the directory containing this script, then the parent directory.
1209 ac_confdir
=`$as_dirname -- "$as_myself" ||
1210 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1211 X"$as_myself" : 'X\(//\)[^/]' \| \
1212 X"$as_myself" : 'X\(//\)$' \| \
1213 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1214 $as_echo X"$as_myself" |
1215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1237 ac_srcdir_defaulted
=no
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1240 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1241 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1243 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1247 # When building in place, set srcdir=.
1248 if test "$ac_abs_confdir" = "$ac_pwd"; then
1251 # Remove unnecessary trailing slashes from srcdir.
1252 # Double slashes in file names in object file debugging info
1253 # mess up M-x gdb in Emacs.
1255 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1257 for ac_var
in $ac_precious_vars; do
1258 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1259 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1260 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1261 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1265 # Report the --help message.
1267 if test "$ac_init_help" = "long"; then
1268 # Omit some internal or obsolete options to make the list less imposing.
1269 # This message is too long to be a string in the A/UX 3.1 sh.
1271 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1273 Usage: $0 [OPTION]... [VAR=VALUE]...
1275 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1276 VAR=VALUE. See below for descriptions of some of the useful variables.
1278 Defaults for the options are specified in brackets.
1281 -h, --help display this help and exit
1282 --help=short display options specific to this package
1283 --help=recursive display the short help of all the included packages
1284 -V, --version display version information and exit
1285 -q, --quiet, --silent do not print \`checking ...' messages
1286 --cache-file=FILE cache test results in FILE [disabled]
1287 -C, --config-cache alias for \`--cache-file=config.cache'
1288 -n, --no-create do not create output files
1289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1291 Installation directories:
1292 --prefix=PREFIX install architecture-independent files in PREFIX
1293 [$ac_default_prefix]
1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1297 By default, \`make install' will install all the files in
1298 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1299 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1300 for instance \`--prefix=\$HOME'.
1302 For better control, use the options below.
1304 Fine tuning of the installation directories:
1305 --bindir=DIR user executables [EPREFIX/bin]
1306 --sbindir=DIR system admin executables [EPREFIX/sbin]
1307 --libexecdir=DIR program executables [EPREFIX/libexec]
1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1311 --libdir=DIR object code libraries [EPREFIX/lib]
1312 --includedir=DIR C header files [PREFIX/include]
1313 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1316 --infodir=DIR info documentation [DATAROOTDIR/info]
1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1318 --mandir=DIR man documentation [DATAROOTDIR/man]
1319 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1320 --htmldir=DIR html documentation [DOCDIR]
1321 --dvidir=DIR dvi documentation [DOCDIR]
1322 --pdfdir=DIR pdf documentation [DOCDIR]
1323 --psdir=DIR ps documentation [DOCDIR]
1329 --build=BUILD configure
for building on BUILD
[guessed
]
1330 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1334 if test -n "$ac_init_help"; then
1335 case $ac_init_help in
1336 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1341 --disable-option-checking ignore unrecognized
--enable/--with options
1342 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1343 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1344 --disable-shared don
't provide a shared libgcc
1345 --disable-gcov don't provide libgcov and related
host tools
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-largefile omit support
for large files
1352 --enable-decimal-float={no
,yes,bid
,dpd
}
1353 enable decimal float extension to C. Selecting
'bid'
1354 or
'dpd' choses
which decimal floating point format
1356 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1357 --enable-explicit-exception-frame-registration
1358 register exception tables explicitly
at module
1359 start
, for use e.g.
for compatibility with
1360 installations without PT_GNU_EH_FRAME support
1361 --disable-tm-clone-registry disable TM clone registry
1362 --enable-tls Use thread-local storage
[default
=yes]
1365 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1366 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1367 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1368 --with-cross-host=HOST Configuring with a cross compiler
1369 --with-ld arrange to use the specified ld
(full pathname
)
1370 --with-aix-soname=aix|svr4|both
1371 shared library versioning
(aka
"SONAME") variant to
1373 --with-toolexeclibdir=DIR
1374 install libraries built with a cross compiler within
1376 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1377 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1378 --with-system-libunwind use installed libunwind
1379 --with-glibc-version=M.N
1380 assume GCC used with glibc version M.N or later
1381 --with-gcc-major-version-only
1382 use only GCC major number
in filesystem paths
1384 Some influential environment variables
:
1385 CC C compiler
command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1388 nonstandard directory
<lib dir
>
1389 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1390 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1391 you have headers
in a nonstandard directory
<include dir
>
1394 Use these variables to override the choices made by
`configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to the package provider.
1398 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1399 General help using GNU software: <http://www.gnu.org/gethelp/>.
1404 if test "$ac_init_help" = "recursive"; then
1405 # If there are subdirs, report their specific --help.
1406 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1407 test -d "$ac_dir" ||
1408 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1416 # A ".." for each directory in $ac_dir_suffix.
1417 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1418 case $ac_top_builddir_sub in
1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1423 ac_abs_top_builddir=$ac_pwd
1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1425 # for backward compatibility:
1426 ac_top_builddir=$ac_top_build_prefix
1429 .) # We are building in place.
1431 ac_top_srcdir=$ac_top_builddir_sub
1432 ac_abs_top_srcdir=$ac_pwd ;;
1433 [\\/]* | ?:[\\/]* ) # Absolute name.
1434 ac_srcdir=$srcdir$ac_dir_suffix;
1435 ac_top_srcdir=$srcdir
1436 ac_abs_top_srcdir=$srcdir ;;
1438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1439 ac_top_srcdir=$ac_top_build_prefix$srcdir
1440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1444 cd "$ac_dir" || { ac_status=$?; continue; }
1445 # Check for guested configure.
1446 if test -f "$ac_srcdir/configure.gnu"; then
1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1449 elif test -f "$ac_srcdir/configure"; then
1451 $SHELL "$ac_srcdir/configure" --help=recursive
1453 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1455 cd "$ac_pwd" || { ac_status=$?; break; }
1459 test -n "$ac_init_help" && exit $ac_status
1460 if $ac_init_version; then
1462 GNU C Runtime Library configure 1.0
1463 generated by GNU Autoconf 2.69
1465 Copyright (C) 2012 Free Software Foundation, Inc.
1466 This configure script is free software; the Free Software Foundation
1467 gives unlimited permission to copy, distribute and modify it.
1472 ## ------------------------ ##
1473 ## Autoconf initialization. ##
1474 ## ------------------------ ##
1476 # ac_fn_c_try_compile LINENO
1477 # --------------------------
1478 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1479 ac_fn_c_try_compile ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 rm -f conftest.$ac_objext
1483 if { { ac_try="$ac_compile"
1485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1486 *) ac_try_echo
=$ac_try;;
1488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_compile") 2>conftest.err
1492 if test -s conftest.err
; then
1493 grep -v '^ *+' conftest.err
>conftest.er1
1494 cat conftest.er1
>&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } && {
1499 test -z "$ac_c_werror_flag" ||
1500 test ! -s conftest.err
1501 } && test -s conftest.
$ac_objext; then :
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.
$ac_ext >&5
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510 as_fn_set_status
$ac_retval
1512 } # ac_fn_c_try_compile
1514 # ac_fn_c_try_cpp LINENO
1515 # ----------------------
1516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1519 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1520 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } > conftest.i && {
1536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 as_fn_set_status $ac_retval
1551 # ac_fn_c_try_run LINENO
1552 # ----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1554 # that executables *can* be run.
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 if { { ac_try="$ac_link"
1560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1561 *) ac_try_echo
=$ac_try;;
1563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_link") 2>&5
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1569 { { case "(($ac_try" in
1570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_try") 2>&5
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; }; }; then :
1581 $as_echo "$as_me: program exited with status $ac_status" >&5
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1585 ac_retval=$ac_status
1587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1593 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1594 # --------------------------------------------
1595 # Tries to find the compile-time value of EXPR in a program that includes
1596 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1598 ac_fn_c_compute_int ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 if test "$cross_compiling" = yes; then
1602 # Depending upon the size, compute the lo and hi bounds.
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1609 static int test_array [1 - 2 * !(($2) >= 0)];
1611 return test_array [0];
1617 if ac_fn_c_try_compile "$LINENO"; then :
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1626 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1628 return test_array [0];
1634 if ac_fn_c_try_compile "$LINENO"; then :
1635 ac_hi=$ac_mid; break
1637 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1638 if test $ac_lo -le $ac_mid; then
1642 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1653 static int test_array [1 - 2 * !(($2) < 0)];
1655 return test_array [0];
1661 if ac_fn_c_try_compile "$LINENO"; then :
1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665 /* end confdefs.h. */
1670 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1672 return test_array [0];
1678 if ac_fn_c_try_compile "$LINENO"; then :
1679 ac_lo=$ac_mid; break
1681 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1682 if test $ac_mid -le $ac_hi; then
1686 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 # Binary search between lo and hi bounds.
1697 while test "x$ac_lo" != "x$ac_hi"; do
1698 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1705 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1707 return test_array [0];
1713 if ac_fn_c_try_compile "$LINENO"; then :
1716 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726 /* end confdefs.h. */
1728 static long int longval () { return $2; }
1729 static unsigned long int ulongval () { return $2; }
1736 FILE *f = fopen ("conftest.val", "w");
1741 long int i = longval ();
1744 fprintf (f, "%ld", i);
1748 unsigned long int i = ulongval ();
1751 fprintf (f, "%lu", i);
1753 /* Do not output a trailing newline, as this causes \r\n confusion
1754 on some platforms. */
1755 return ferror (f) || fclose (f) != 0;
1761 if ac_fn_c_try_run "$LINENO"; then :
1762 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1767 conftest.$ac_objext conftest.beam conftest.$ac_ext
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1774 } # ac_fn_c_compute_int
1776 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1777 # ----------------------------------------------
1778 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_preproc ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1791 if ac_fn_c_try_cpp "$LINENO"; then :
1796 rm -f conftest.err conftest.i conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 } # ac_fn_c_check_header_preproc
1804 cat >config.log <<_ACEOF
1805 This file contains any messages produced by compilers while
1806 running configure, to aid debugging if configure makes a mistake.
1808 It was created by GNU C Runtime Library $as_me 1.0, which was
1809 generated by GNU Autoconf 2.69. Invocation command line was
1821 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1822 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1823 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1824 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1825 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1827 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1828 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1830 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1831 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1832 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1833 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1834 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1835 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1836 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 test -z "$as_dir" && as_dir=.
1845 $as_echo "PATH: $as_dir"
1861 # Keep a trace of the command line.
1862 # Strip out --no-create and --no-recursion so they do not pile up.
1863 # Strip out --silent because we don't want to record it for future runs.
1864 # Also quote any args containing shell meta-characters.
1865 # Make two passes to allow for proper duplicate-argument suppression.
1869 ac_must_keep_next=false
1875 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1877 | -silent | --silent | --silen | --sile | --sil)
1880 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1883 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1885 as_fn_append ac_configure_args1 " '$ac_arg'"
1886 if test $ac_must_keep_next = true; then
1887 ac_must_keep_next=false # Got value, back to normal.
1890 *=* | --config-cache | -C | -disable-* | --disable-* \
1891 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1892 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1893 | -with-* | --with-* | -without-* | --without-* | --x)
1894 case "$ac_configure_args0 " in
1895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1898 -* ) ac_must_keep_next=true ;;
1901 as_fn_append ac_configure_args " '$ac_arg'"
1906 { ac_configure_args0=; unset ac_configure_args0;}
1907 { ac_configure_args1=; unset ac_configure_args1;}
1909 # When interrupted or exit'd, cleanup temporary files, and complete
1910 # config.log. We remove comments because anyway the quotes in there
1911 # would cause problems or look ugly.
1912 # WARNING: Use '\'' to represent an apostrophe within the trap.
1913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1914 trap 'exit_status=$?
1915 # Save into config.log some information that might help in debugging.
1919 $as_echo "## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##"
1923 # The following way of writing the cache mishandles newlines in values,
1925 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1926 eval ac_val=\$$ac_var
1930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1934 _ | IFS | as_nl) ;; #(
1935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1936 *) { eval $ac_var=; unset $ac_var;} ;;
1941 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1955 $as_echo "## ----------------- ##
1956 ## Output variables. ##
1957 ## ----------------- ##"
1959 for ac_var in $ac_subst_vars
1961 eval ac_val=\$$ac_var
1963 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1965 $as_echo "$ac_var='\''$ac_val'\''"
1969 if test -n "$ac_subst_files"; then
1970 $as_echo "## ------------------- ##
1971 ## File substitutions. ##
1972 ## ------------------- ##"
1974 for ac_var in $ac_subst_files
1976 eval ac_val=\$$ac_var
1978 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980 $as_echo "$ac_var='\''$ac_val'\''"
1985 if test -s confdefs.h; then
1986 $as_echo "## ----------- ##
1993 test "$ac_signal" != 0 &&
1994 $as_echo "$as_me: caught signal $ac_signal"
1995 $as_echo "$as_me: exit $exit_status"
1997 rm -f core *.core core.conftest.* &&
1998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2001 for ac_signal in 1 2 13 15; do
2002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2007 rm -f -r conftest* confdefs.h
2009 $as_echo "/* confdefs.h */" > confdefs.h
2011 # Predefined preprocessor variables.
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_STRING "$PACKAGE_STRING"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_URL "$PACKAGE_URL"
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2042 if test -n "$CONFIG_SITE"; then
2043 # We do not want a PATH search for config.site.
2044 case $CONFIG_SITE in #((
2045 -*) ac_site_file1=./$CONFIG_SITE;;
2046 */*) ac_site_file1=$CONFIG_SITE;;
2047 *) ac_site_file1=./$CONFIG_SITE;;
2049 elif test "x$prefix" != xNONE; then
2050 ac_site_file1=$prefix/share/config.site
2051 ac_site_file2=$prefix/etc/config.site
2053 ac_site_file1=$ac_default_prefix/share/config.site
2054 ac_site_file2=$ac_default_prefix/etc/config.site
2056 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058 test "x$ac_site_file" = xNONE && continue
2059 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2062 sed 's/^/| /' "$ac_site_file" >&5
2064 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2066 as_fn_error $? "failed to load site
script $ac_site_file
2067 See \
`config.log' for more details" "$LINENO" 5; }
2071 if test -r "$cache_file"; then
2072 # Some versions of bash will fail to source /dev/null (special files
2073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2074 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2076 $as_echo "$as_me: loading cache $cache_file" >&6;}
2078 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2079 *) . "./$cache_file";;
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2084 $as_echo "$as_me: creating cache $cache_file" >&6;}
2088 # Check that the precious variables saved in the cache have kept the same
2090 ac_cache_corrupted=false
2091 for ac_var in $ac_precious_vars; do
2092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2093 eval ac_new_set=\$ac_env_${ac_var}_set
2094 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2095 eval ac_new_val=\$ac_env_${ac_var}_value
2096 case $ac_old_set,$ac_new_set in
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2099 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2100 ac_cache_corrupted=: ;;
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2103 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2104 ac_cache_corrupted=: ;;
2107 if test "x$ac_old_val" != "x$ac_new_val"; then
2108 # differences in whitespace do not lead to failure.
2109 ac_old_val_w=`echo x
$ac_old_val`
2110 ac_new_val_w=`echo x
$ac_new_val`
2111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2114 ac_cache_corrupted=:
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2118 eval $ac_var=\$ac_old_val
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2121 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2126 # Pass precious variables to config.status.
2127 if test "$ac_new_set" = set; then
2129 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2130 *) ac_arg=$ac_var=$ac_new_val ;;
2132 case " $ac_configure_args " in
2133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2134 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2138 if $ac_cache_corrupted; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2143 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2145 ## -------------------- ##
2146 ## Main body of script. ##
2147 ## -------------------- ##
2150 ac_cpp='$CPP $CPPFLAGS'
2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161 # The libgcc should not depend on any header files
2165 # Check whether --with-target-subdir was given.
2166 if test "${with_target_subdir+set}" = set; then :
2167 withval=$with_target_subdir;
2171 # Check whether --with-cross-host was given.
2172 if test "${with_cross_host+set}" = set; then :
2173 withval=$with_cross_host;
2177 # Check whether --with-ld was given.
2178 if test "${with_ld+set}" = set; then :
2183 if test "${srcdir}" = "."; then
2184 if test -n "${with_build_subdir}"; then
2185 libgcc_topdir="${srcdir}/../.."
2187 elif test -z "${with_target_subdir}"; then
2188 libgcc_topdir="${srcdir}/.."
2190 if test "${with_target_subdir}" != "."; then
2191 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2193 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2197 libgcc_topdir="${srcdir}/.."
2201 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2202 if test -f "$ac_dir/install-sh"; then
2204 ac_install_sh="$ac_aux_dir/install-sh -c"
2206 elif test -f "$ac_dir/install.sh"; then
2208 ac_install_sh="$ac_aux_dir/install.sh -c"
2210 elif test -f "$ac_dir/shtool"; then
2212 ac_install_sh="$ac_aux_dir/shtool install -c"
2216 if test -z "$ac_aux_dir"; then
2217 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2220 # These three variables are undocumented and unsupported,
2221 # and are intended to be withdrawn in a future Autoconf release.
2222 # They can cause serious problems if a builder's source tree is in a directory
2223 # whose full name contains unusual characters.
2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2226 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2229 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2232 # Check whether --enable-shared was given.
2233 if test "${enable_shared+set}" = set; then :
2234 enableval=$enable_shared;
2235 case $enable_shared in
2239 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2240 for pkg in $enableval; do
2241 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2255 # Check whether --enable-gcov was given.
2256 if test "${enable_gcov+set}" = set; then :
2257 enableval=$enable_gcov;
2264 # Check whether --enable-vtable-verify was given.
2265 if test "${enable_vtable_verify+set}" = set; then :
2266 enableval=$enable_vtable_verify; case "$enableval" in
2267 yes) enable_vtable_verify=yes ;;
2268 no) enable_vtable_verify=no ;;
2269 *) enable_vtable_verify=no;;
2272 enable_vtable_verify=no
2278 # Check whether --with-aix-soname was given.
2279 if test "${with_aix_soname+set}" = set; then :
2280 withval=$with_aix_soname; case "${host}:${enable_shared}" in
2281 power*-*-aix[5-9]*:yes)
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2283 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2286 *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2289 $as_echo "$withval" >&6; }
2291 *) with_aix_soname=aix ;;
2300 # Make sure we can run config.sub.
2301 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2302 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2305 $as_echo_n "checking build system type... " >&6; }
2306 if ${ac_cv_build+:} false; then :
2307 $as_echo_n "(cached) " >&6
2309 ac_build_alias=$build_alias
2310 test "x$ac_build_alias" = x &&
2311 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2312 test "x$ac_build_alias" = x &&
2313 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2314 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2319 $as_echo "$ac_cv_build" >&6; }
2320 case $ac_cv_build in
2322 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2325 ac_save_IFS=$IFS; IFS='-'
2331 # Remember, the first character of IFS is used to create $*,
2332 # except with old shells:
2335 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2339 $as_echo_n "checking host system type... " >&6; }
2340 if ${ac_cv_host+:} false; then :
2341 $as_echo_n "(cached) " >&6
2343 if test "x$host_alias" = x; then
2344 ac_cv_host=$ac_cv_build
2346 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2347 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2352 $as_echo "$ac_cv_host" >&6; }
2355 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2358 ac_save_IFS=$IFS; IFS='-'
2364 # Remember, the first character of IFS is used to create $*,
2365 # except with old shells:
2368 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2376 # PIC is the default on some targets or must not be used.
2378 # For darwin, common symbols are not allowed in MH_DYLIB files
2380 # If we are using a compiler supporting mdynamic-no-pic
2381 # and the option has been tested as safe to add, then cancel
2382 # it here, since the code generated is incompatible with shared
2384 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
2385 *) PICFLAG=-fno-common ;;
2389 # PIC is the default.
2392 # PIC is the default for 64-bit PA HP-UX.
2394 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2396 i[34567]86-*-mingw* | x86_64-*-mingw*)
2398 i[34567]86-*-interix[3-9]*)
2399 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2400 # Instead, we relocate shared libraries at runtime.
2402 i[34567]86-*-nto-qnx*)
2403 # QNX uses GNU C++, but need to define -shared option too, otherwise
2405 PICFLAG='-fPIC -shared'
2407 i[34567]86-pc-msdosdjgpp*)
2408 # DJGPP does not support shared libraries at all.
2411 # On IA64 HP-UX, PIC is the default but the pic flag
2412 # sets the default TLS model and affects inlining.
2416 # PIC is the default.
2418 rs6000-ibm-aix* | powerpc-ibm-aix*)
2419 # All AIX code is PIC.
2422 # Some targets support both -fPIC and -fpic, but prefer the latter.
2424 i[34567]86-*-* | x86_64-*-*)
2427 # FIXME: Override -fPIC default in libgcc only?
2428 sh-*-linux* | sh[2346lbe]*-*-linux*)
2431 # FIXME: Simplify to sh*-*-netbsd*?
2432 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2433 sh64-*-netbsd* | sh64l*-*-netbsd*)
2436 # Default to -fPIC unless specified otherwise.
2442 # If the user explicitly uses -fpic/-fPIC, keep that.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2455 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2456 # Check whether --enable-version-specific-runtime-libs was given.
2457 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2458 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2459 yes) version_specific_libs=yes ;;
2460 no) version_specific_libs=no ;;
2461 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2464 version_specific_libs=no
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2468 $as_echo "$version_specific_libs" >&6; }
2471 # Check whether --with-toolexeclibdir was given.
2472 if test "${with_toolexeclibdir+set}" = set; then :
2473 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
2477 with_toolexeclibdir=`echo $with_toolexeclibdir |
sed 's,/$,,'`
2481 with_toolexeclibdir=no
2487 # Check whether --with-slibdir was given.
2488 if test "${with_slibdir+set}" = set; then :
2489 withval=$with_slibdir; slibdir="$with_slibdir"
2491 if test "${version_specific_libs}" = yes; then
2492 slibdir='$(libsubdir)'
2493 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2494 case ${with_toolexeclibdir} in
2496 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2499 slibdir=${with_toolexeclibdir}
2509 # Command-line options.
2510 # Very limited version of AC_MAINTAINER_MODE.
2511 # Check whether --enable-maintainer-mode was given.
2512 if test "${enable_maintainer_mode+set}" = set; then :
2513 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2516 *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2518 maintainer_mode=${enableval}
2524 # Find a good install program. We prefer a C program (faster),
2525 # so one script is as good as another. But avoid the broken or
2526 # incompatible versions:
2527 # SysV /etc/install, /usr/sbin/install
2528 # SunOS /usr/etc/install
2529 # IRIX /sbin/install
2531 # AmigaOS /C/install, which installs bootblocks on floppy discs
2532 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2533 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2534 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2535 # OS/2's system install, which has a completely different semantic
2536 # ./install, which can be erroneously created by make from ./install.sh.
2537 # Reject install programs that cannot install multiple files.
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2539 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2540 if test -z "$INSTALL"; then
2541 if ${ac_cv_path_install+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 test -z "$as_dir" && as_dir=.
2549 # Account for people who put trailing slashes in PATH elements.
2550 case $as_dir/ in #((
2551 ./ | .// | /[cC]/* | \
2552 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2553 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2556 # OSF1 and SCO ODT 3.0 have their own names for install.
2557 # Don't use installbsd from OSF since it installs stuff as root
2559 for ac_prog in ginstall scoinst install; do
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2562 if test $ac_prog = install &&
2563 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2564 # AIX install. It has an incompatible calling convention.
2566 elif test $ac_prog = install &&
2567 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2568 # program-specific install script used by HP pwplus--don't use.
2571 rm -rf conftest.one conftest.two conftest.dir
2572 echo one > conftest.one
2573 echo two > conftest.two
2575 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2576 test -s conftest.one && test -s conftest.two &&
2577 test -s conftest.dir/conftest.one &&
2578 test -s conftest.dir/conftest.two
2580 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2593 rm -rf conftest.one conftest.two conftest.dir
2596 if test "${ac_cv_path_install+set}" = set; then
2597 INSTALL=$ac_cv_path_install
2599 # As a last resort, use the slow shell script. Don't cache a
2600 # value for INSTALL within a source directory, because that will
2601 # break other packages using the cache if that directory is
2602 # removed, or if the value is a relative name.
2603 INSTALL=$ac_install_sh
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2607 $as_echo "$INSTALL" >&6; }
2609 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2610 # It thinks the first close brace ends the variable substitution.
2611 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2613 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2615 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2618 for ac_prog in gawk mawk nawk awk
2620 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 set dummy $ac_prog; ac_word=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if ${ac_cv_prog_AWK+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$AWK"; then
2628 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 ac_cv_prog_AWK="$ac_prog"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$AWK"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2650 $as_echo "$AWK" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2657 test -n "$AWK" && break
2660 # We need awk; bail out if it's missing.
2662 "") as_fn_error $? "can't build without awk, bailing out" "$LINENO" 5 ;;
2666 case ${build_alias} in
2667 "") build_noncanonical=${build} ;;
2668 *) build_noncanonical=${build_alias} ;;
2671 case ${host_alias} in
2672 "") host_noncanonical=${build_noncanonical} ;;
2673 *) host_noncanonical=${host_alias} ;;
2678 case ${target_alias} in
2679 "") target_noncanonical=${host_noncanonical} ;;
2680 *) target_noncanonical=${target_alias} ;;
2686 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2687 # have matching libraries, they should use host libraries: Makefile.tpl
2688 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2689 # However, they still use the build modules, because the corresponding
2690 # host modules (e.g. bison) are only built for the host when bootstrap
2692 # - build_subdir is where we find build modules, and never changes.
2693 # - build_libsubdir is where we find build libraries, and can be overridden.
2695 # Prefix 'build-' so this never conflicts with target_subdir.
2696 build_subdir="build-${build_noncanonical}"
2698 # Check whether --with-build-libsubdir was given.
2699 if test "${with_build_libsubdir+set}" = set; then :
2700 withval=$with_build_libsubdir; build_libsubdir="$withval"
2702 build_libsubdir="$build_subdir"
2705 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2706 if ( test $srcdir = . && test -d gcc ) \
2707 || test -d $srcdir/../host-${host_noncanonical}; then
2708 host_subdir="host-${host_noncanonical}"
2713 target_subdir=${target_noncanonical}
2716 # Calculate toolexeclibdir
2717 # Also toolexecdir, though it's only used in toolexeclibdir
2718 case ${version_specific_libs} in
2720 # Need the gcc compiler version to know where to install libraries
2721 # and header files if --enable-version-specific-runtime-libs option
2723 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2724 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2727 if test -n "$with_cross_host" &&
2728 test x"$with_cross_host" != x"no"; then
2729 # Install a library built with a cross compiler in tooldir, not libdir.
2730 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2731 case ${with_toolexeclibdir} in
2733 toolexeclibdir='$(toolexecdir)/lib'
2736 toolexeclibdir=${with_toolexeclibdir}
2740 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2741 toolexeclibdir='$(libdir)'
2743 multi_os_directory=`$CC -print-multi-os-directory`
2744 case $multi_os_directory in
2745 .) ;; # Avoid trailing /.
2746 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2753 if test -n "$ac_tool_prefix"; then
2754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2755 set dummy ${ac_tool_prefix}ar; ac_word=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_AR+:} false; then :
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$AR"; then
2762 ac_cv_prog_AR="$AR" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2771 ac_cv_prog_AR="${ac_tool_prefix}ar"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test -n "$AR"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2784 $as_echo "$AR" >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2792 if test -z "$ac_cv_prog_AR"; then
2794 # Extract the first word of "ar", so it can be a program name with args.
2795 set dummy ar; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$ac_ct_AR"; then
2802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_ac_ct_AR="ar"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2822 if test -n "$ac_ct_AR"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2824 $as_echo "$ac_ct_AR" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2830 if test "x$ac_ct_AR" = x; then
2833 case $cross_compiling:$ac_tool_warned in
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2837 ac_tool_warned=yes ;;
2845 if test -n "$ac_tool_prefix"; then
2846 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2847 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_LIPO+:} false; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$LIPO"; then
2854 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2863 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 LIPO=$ac_cv_prog_LIPO
2874 if test -n "$LIPO"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2876 $as_echo "$LIPO" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2884 if test -z "$ac_cv_prog_LIPO"; then
2886 # Extract the first word of "lipo", so it can be a program name with args.
2887 set dummy lipo; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$ac_ct_LIPO"; then
2894 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_ac_ct_LIPO="lipo"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2914 if test -n "$ac_ct_LIPO"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2916 $as_echo "$ac_ct_LIPO" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2922 if test "x$ac_ct_LIPO" = x; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned=yes ;;
2934 LIPO="$ac_cv_prog_LIPO"
2937 if test -n "$ac_tool_prefix"; then
2938 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2939 set dummy ${ac_tool_prefix}nm; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_NM+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$NM"; then
2946 ac_cv_prog_NM="$NM" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_NM="${ac_tool_prefix}nm"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 if test -n "$NM"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2968 $as_echo "$NM" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2976 if test -z "$ac_cv_prog_NM"; then
2978 # Extract the first word of "nm", so it can be a program name with args.
2979 set dummy nm; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_ac_ct_NM+:} false; then :
2983 $as_echo_n "(cached) " >&6
2985 if test -n "$ac_ct_NM"; then
2986 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_ac_ct_NM="nm"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3006 if test -n "$ac_ct_NM"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3008 $as_echo "$ac_ct_NM" >&6; }
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3014 if test "x$ac_ct_NM" = x; then
3017 case $cross_compiling:$ac_tool_warned in
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021 ac_tool_warned=yes ;;
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_RANLIB+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$RANLIB"; then
3038 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 RANLIB=$ac_cv_prog_RANLIB
3058 if test -n "$RANLIB"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3060 $as_echo "$RANLIB" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3068 if test -z "$ac_cv_prog_RANLIB"; then
3069 ac_ct_RANLIB=$RANLIB
3070 # Extract the first word of "ranlib", so it can be a program name with args.
3071 set dummy ranlib; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$ac_ct_RANLIB"; then
3078 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087 ac_cv_prog_ac_ct_RANLIB="ranlib"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3098 if test -n "$ac_ct_RANLIB"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3100 $as_echo "$ac_ct_RANLIB" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3106 if test "x$ac_ct_RANLIB" = x; then
3109 case $cross_compiling:$ac_tool_warned in
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3113 ac_tool_warned=yes ;;
3115 RANLIB=$ac_ct_RANLIB
3118 RANLIB="$ac_cv_prog_RANLIB"
3121 if test -n "$ac_tool_prefix"; then
3122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3123 set dummy ${ac_tool_prefix}strip; ac_word=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if ${ac_cv_prog_STRIP+:} false; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$STRIP"; then
3130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir=.
3137 for ac_exec_ext in '' $ac_executable_extensions; do
3138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3139 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 STRIP=$ac_cv_prog_STRIP
3150 if test -n "$STRIP"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3152 $as_echo "$STRIP" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$ac_cv_prog_STRIP"; then
3162 # Extract the first word of "strip", so it can be a program name with args.
3163 set dummy strip; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$ac_ct_STRIP"; then
3170 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_ac_ct_STRIP="strip"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3190 if test -n "$ac_ct_STRIP"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3192 $as_echo "$ac_ct_STRIP" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3198 if test "x$ac_ct_STRIP" = x; then
3201 case $cross_compiling:$ac_tool_warned in
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned=yes ;;
3210 STRIP="$ac_cv_prog_STRIP"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3214 $as_echo_n "checking whether ln -s works... " >&6; }
3216 if test "$LN_S" = "ln -s"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3218 $as_echo "yes" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3221 $as_echo "no, using $LN_S" >&6; }
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231 if test -n "$ac_tool_prefix"; then
3232 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3233 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if ${ac_cv_prog_CC+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$CC"; then
3240 ac_cv_prog_CC="$CC" # Let the user override the test.
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3249 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 if test -n "$CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262 $as_echo "$CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3270 if test -z "$ac_cv_prog_CC"; then
3272 # Extract the first word of "gcc", so it can be a program name with args.
3273 set dummy gcc; ac_word=$2
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3275 $as_echo_n "checking for $ac_word... " >&6; }
3276 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3277 $as_echo_n "(cached) " >&6
3279 if test -n "$ac_ct_CC"; then
3280 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286 test -z "$as_dir" && as_dir=.
3287 for ac_exec_ext in '' $ac_executable_extensions; do
3288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_ac_ct_CC="gcc"
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3300 if test -n "$ac_ct_CC"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3302 $as_echo "$ac_ct_CC" >&6; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3308 if test "x$ac_ct_CC" = x; then
3311 case $cross_compiling:$ac_tool_warned in
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3315 ac_tool_warned=yes ;;
3323 if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$CC"; then
3333 ac_cv_prog_CC="$CC" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_CC="${ac_tool_prefix}cc"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3364 if test -z "$CC"; then
3365 # Extract the first word of "cc", so it can be a program name with args.
3366 set dummy cc; ac_word=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_CC+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$CC"; then
3373 ac_cv_prog_CC="$CC" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3384 ac_prog_rejected=yes
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test $ac_prog_rejected = yes; then
3396 # We found a bogon in the path, so make sure we never use it.
3397 set dummy $ac_cv_prog_CC
3399 if test $# != 0; then
3400 # We chose a different compiler from the bogus one.
3401 # However, it has the same basename, so the bogon will be chosen
3402 # first if we set CC to just the basename; use the full file name.
3404 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3410 if test -n "$CC"; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3412 $as_echo "$CC" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3420 if test -z "$CC"; then
3421 if test -n "$ac_tool_prefix"; then
3422 for ac_prog in cl.exe
3424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3425 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_CC+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 if test -n "$CC"; then
3432 ac_cv_prog_CC="$CC" # Let the user override the test.
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 if test -n "$CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3454 $as_echo "$CC" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3461 test -n "$CC" && break
3464 if test -z "$CC"; then
3466 for ac_prog in cl.exe
3468 # Extract the first word of "$ac_prog", so it can be a program name with args.
3469 set dummy $ac_prog; ac_word=$2
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$ac_ct_CC"; then
3476 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_ac_ct_CC="$ac_prog"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3496 if test -n "$ac_ct_CC"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3498 $as_echo "$ac_ct_CC" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3505 test -n "$ac_ct_CC" && break
3508 if test "x$ac_ct_CC" = x; then
3511 case $cross_compiling:$ac_tool_warned in
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3524 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3527 See \
`config.log' for more details" "$LINENO" 5; }
3529 # Provide some information about the compiler.
3530 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3533 for ac_option in --version -v -V -qversion; do
3534 { { ac_try="$ac_compiler $ac_option >&5"
3536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3537 *) ac_try_echo
=$ac_try;;
3539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540 $as_echo "$ac_try_echo"; } >&5
3541 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3543 if test -s conftest.err
; then
3545 ... rest of stderr output deleted ...
3546 10q' conftest.err
>conftest.er1
3547 cat conftest.er1
>&5
3549 rm -f conftest.er1 conftest.err
3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551 test $ac_status = 0; }
3554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3560 printf ("hello world\n");
3566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3567 (eval $ac_link) 2>&5
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }; then :
3575 if test x
$gcc_no_link = xyes
; then
3576 # Setting cross_compile will disable run tests; it will
3577 # also disable AC_CHECK_FILE but that's generally
3578 # correct if we can't link.
3582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3593 ac_clean_files_save
=$ac_clean_files
3594 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3595 # Try to create an executable without -o first, disregard a.out.
3596 # It will help us diagnose broken compilers, and finding out an intuition
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3599 $as_echo_n "checking whether the C compiler works... " >&6; }
3600 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3602 # The possible output files:
3603 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3606 for ac_file
in $ac_files
3609 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3610 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3615 if { { ac_try
="$ac_link_default"
3617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622 (eval "$ac_link_default") 2>&5
3624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625 test $ac_status = 0; }; then :
3626 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3627 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3628 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3629 # so that the user can short-circuit this test for compilers unknown to
3631 for ac_file in $ac_files ''
3633 test -f "$ac_file" || continue
3635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3638 # We found the default executable, but exeext='' is most
3642 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3644 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3646 # We set ac_cv_exeext here because the later test for it is not
3647 # safe: cross compilers may not add the suffix if given an `-o'
3648 # argument, so we may need to know it at that point already.
3649 # Even if this section looks crufty: it has the advantage of
3656 test "$ac_cv_exeext" = no && ac_cv_exeext=
3661 if test -z "$ac_file"; then :
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3664 $as_echo "$as_me: failed program was:" >&5
3665 sed 's
/^
/|
/' conftest.$ac_ext >&5
3667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3669 as_fn_error 77 "C compiler cannot create executables
3670 See \`config.log
' for more details" "$LINENO" 5; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3673 $as_echo "yes" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3676 $as_echo_n "checking for C compiler default output file name... " >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3678 $as_echo "$ac_file" >&6; }
3679 ac_exeext=$ac_cv_exeext
3681 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3682 ac_clean_files=$ac_clean_files_save
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3684 $as_echo_n "checking for suffix of executables... " >&6; }
3685 if { { ac_try="$ac_link"
3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691 $as_echo "$ac_try_echo"; } >&5
3692 (eval "$ac_link") 2>&5
3694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695 test $ac_status = 0; }; then :
3696 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3697 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3698 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3700 for ac_file
in conftest.exe conftest conftest.
*; do
3701 test -f "$ac_file" ||
continue
3703 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3704 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3713 See \`config.log' for more details" "$LINENO" 5; }
3715 rm -f conftest conftest
$ac_cv_exeext
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3717 $as_echo "$ac_cv_exeext" >&6; }
3719 rm -f conftest.
$ac_ext
3720 EXEEXT
=$ac_cv_exeext
3722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3728 FILE *f = fopen ("conftest.out", "w");
3729 return ferror (f) || fclose (f) != 0;
3735 ac_clean_files
="$ac_clean_files conftest.out"
3736 # Check that the compiler produces executables we can run. If not, either
3737 # the compiler is broken, or we cross compile.
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3739 $as_echo_n "checking whether we are cross compiling... " >&6; }
3740 if test "$cross_compiling" != yes; then
3741 { { ac_try
="$ac_link"
3743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748 (eval "$ac_link") 2>&5
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }
3752 if { ac_try='./conftest$ac_cv_exeext'
3753 { { case "(($ac_try" in
3754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3755 *) ac_try_echo
=$ac_try;;
3757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3758 $as_echo "$ac_try_echo"; } >&5
3759 (eval "$ac_try") 2>&5
3761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3762 test $ac_status = 0; }; }; then
3765 if test "$cross_compiling" = maybe
; then
3768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $?
"cannot run C compiled programs.
3771 If you meant to cross compile, use \`--host'.
3772 See \`config.log' for more details" "$LINENO" 5; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3777 $as_echo "$cross_compiling" >&6; }
3779 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3780 ac_clean_files
=$ac_clean_files_save
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3783 $as_echo_n "checking for suffix of object files... " >&6; }
3784 if ${ac_cv_objext+:} false
; then :
3785 $as_echo_n "(cached) " >&6
3787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3798 rm -f conftest.o conftest.obj
3799 if { { ac_try
="$ac_compile"
3801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805 $as_echo "$ac_try_echo"; } >&5
3806 (eval "$ac_compile") 2>&5
3808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809 test $ac_status = 0; }; then :
3810 for ac_file in conftest.o conftest.obj conftest.*; do
3811 test -f "$ac_file" || continue;
3813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3814 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3819 $as_echo "$as_me: failed program was:" >&5
3820 sed 's/^/| /' conftest.$ac_ext >&5
3822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3825 See \
`config.log' for more details" "$LINENO" 5; }
3827 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3830 $as_echo "$ac_cv_objext" >&6; }
3831 OBJEXT=$ac_cv_objext
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3834 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3835 if ${ac_cv_c_compiler_gnu+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3852 if ac_fn_c_try_compile "$LINENO"; then :
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3862 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3863 if test $ac_compiler_gnu = yes; then
3868 ac_test_CFLAGS=${CFLAGS+set}
3869 ac_save_CFLAGS=$CFLAGS
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3871 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3872 if ${ac_cv_prog_cc_g+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 ac_save_c_werror_flag=$ac_c_werror_flag
3876 ac_c_werror_flag=yes
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3890 if ac_fn_c_try_compile "$LINENO"; then :
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3905 if ac_fn_c_try_compile "$LINENO"; then :
3908 ac_c_werror_flag=$ac_save_c_werror_flag
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_c_try_compile "$LINENO"; then :
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 ac_c_werror_flag=$ac_save_c_werror_flag
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3932 $as_echo "$ac_cv_prog_cc_g" >&6; }
3933 if test "$ac_test_CFLAGS" = set; then
3934 CFLAGS=$ac_save_CFLAGS
3935 elif test $ac_cv_prog_cc_g = yes; then
3936 if test "$GCC" = yes; then
3942 if test "$GCC" = yes; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3949 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3950 if ${ac_cv_prog_cc_c89+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 ac_cv_prog_cc_c89=no
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3960 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3961 struct buf { int x; };
3962 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3963 static char *e (p, i)
3969 static char *f (char * (*g) (char **, int), char **p, ...)
3974 s = g (p, va_arg (v,int));
3979 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3980 function prototypes and stuff, but not '\xHH' hex character constants.
3981 These don't provoke an error unfortunately, instead are silently treated
3982 as 'x'. The following induces an error, until -std is added to get
3983 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3984 array size at least. It's necessary to write '\x00'==0 to get something
3985 that's true only with -std. */
3986 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3988 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3989 inside strings and character constants. */
3991 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3993 int test (int i, double x);
3994 struct s1 {int (*f) (int a);};
3995 struct s2 {int (*f) (double a);};
3996 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4002 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4007 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4008 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4010 CC="$ac_save_CC $ac_arg"
4011 if ac_fn_c_try_compile "$LINENO"; then :
4012 ac_cv_prog_cc_c89=$ac_arg
4014 rm -f core conftest.err conftest.$ac_objext
4015 test "x$ac_cv_prog_cc_c89" != "xno" && break
4017 rm -f conftest.$ac_ext
4022 case "x$ac_cv_prog_cc_c89" in
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4025 $as_echo "none needed" >&6; } ;;
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4028 $as_echo "unsupported" >&6; } ;;
4030 CC="$CC $ac_cv_prog_cc_c89"
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4032 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4034 if test "x$ac_cv_prog_cc_c89" != xno; then :
4039 ac_cpp='$CPP $CPPFLAGS'
4040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4045 ac_cpp='$CPP $CPPFLAGS'
4046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4050 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4051 # On Suns, sometimes $CPP names a directory.
4052 if test -n "$CPP" && test -d "$CPP"; then
4055 if test -z "$CPP"; then
4056 if ${ac_cv_prog_CPP+:} false; then :
4057 $as_echo_n "(cached) " >&6
4059 # Double quotes because CPP needs to be expanded
4060 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4063 for ac_c_preproc_warn_flag in '' yes
4065 # Use a header file that comes with gcc, so configuring glibc
4066 # with a fresh cross-compiler works.
4067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4068 # <limits.h> exists even on freestanding compilers.
4069 # On the NeXT, cc -E runs the code through the compiler's parser,
4070 # not just through cpp. "Syntax error" is here to catch this case.
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4074 # include <limits.h>
4076 # include <assert.h>
4080 if ac_fn_c_try_cpp "$LINENO"; then :
4083 # Broken: fails on valid input.
4086 rm -f conftest.err conftest.i conftest.$ac_ext
4088 # OK, works on sane cases. Now check whether nonexistent headers
4089 # can be detected and how.
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 #include <ac_nonexistent.h>
4094 if ac_fn_c_try_cpp "$LINENO"; then :
4095 # Broken: success on invalid input.
4098 # Passes both tests.
4102 rm -f conftest.err conftest.i conftest.$ac_ext
4105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4106 rm -f conftest.i conftest.err conftest.
$ac_ext
4107 if $ac_preproc_ok; then :
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4120 $as_echo "$CPP" >&6; }
4122 for ac_c_preproc_warn_flag
in '' yes
4124 # Use a header file that comes with gcc, so configuring glibc
4125 # with a fresh cross-compiler works.
4126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 # <limits.h> exists even on freestanding compilers.
4128 # On the NeXT, cc -E runs the code through the compiler's parser,
4129 # not just through cpp. "Syntax error" is here to catch this case.
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4133 # include <limits.h>
4135 # include <assert.h>
4139 if ac_fn_c_try_cpp
"$LINENO"; then :
4142 # Broken: fails on valid input.
4145 rm -f conftest.err conftest.i conftest.
$ac_ext
4147 # OK, works on sane cases. Now check whether nonexistent headers
4148 # can be detected and how.
4149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4151 #include <ac_nonexistent.h>
4153 if ac_fn_c_try_cpp
"$LINENO"; then :
4154 # Broken: success on invalid input.
4157 # Passes both tests.
4161 rm -f conftest.err conftest.i conftest.
$ac_ext
4164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4165 rm -f conftest.i conftest.err conftest.
$ac_ext
4166 if $ac_preproc_ok; then :
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4172 See \`config.log' for more details" "$LINENO" 5; }
4176 ac_cpp
='$CPP $CPPFLAGS'
4177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4182 ac_c_preproc_warn_flag
=yes
4185 # Check whether --enable-largefile was given.
4186 if test "${enable_largefile+set}" = set; then :
4187 enableval
=$enable_largefile;
4190 if test "$enable_largefile" != no
; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4193 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4194 if ${ac_cv_sys_largefile_CC+:} false
; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_cv_sys_largefile_CC
=no
4198 if test "$GCC" != yes; then
4201 # IRIX 6.2 and later do not support large files by default,
4202 # so use the C compiler's -n32 option if that helps.
4203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205 #include <sys/types.h>
4206 /* Check that off_t can represent 2**63 - 1 correctly.
4207 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4208 since some C++ compilers masquerading as C compilers
4209 incorrectly reject 9223372036854775807. */
4210 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4211 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4212 && LARGE_OFF_T % 2147483647 == 1)
4222 if ac_fn_c_try_compile
"$LINENO"; then :
4225 rm -f core conftest.err conftest.
$ac_objext
4227 if ac_fn_c_try_compile
"$LINENO"; then :
4228 ac_cv_sys_largefile_CC
=' -n32'; break
4230 rm -f core conftest.err conftest.
$ac_objext
4234 rm -f conftest.
$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4238 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4239 if test "$ac_cv_sys_largefile_CC" != no
; then
4240 CC
=$CC$ac_cv_sys_largefile_CC
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4244 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4245 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4246 $as_echo_n "(cached) " >&6
4249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4251 #include <sys/types.h>
4252 /* Check that off_t can represent 2**63 - 1 correctly.
4253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4254 since some C++ compilers masquerading as C compilers
4255 incorrectly reject 9223372036854775807. */
4256 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4258 && LARGE_OFF_T % 2147483647 == 1)
4268 if ac_fn_c_try_compile
"$LINENO"; then :
4269 ac_cv_sys_file_offset_bits
=no
; break
4271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 #define _FILE_OFFSET_BITS 64
4275 #include <sys/types.h>
4276 /* Check that off_t can represent 2**63 - 1 correctly.
4277 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4278 since some C++ compilers masquerading as C compilers
4279 incorrectly reject 9223372036854775807. */
4280 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4281 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4282 && LARGE_OFF_T % 2147483647 == 1)
4292 if ac_fn_c_try_compile
"$LINENO"; then :
4293 ac_cv_sys_file_offset_bits
=64; break
4295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4296 ac_cv_sys_file_offset_bits
=unknown
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4301 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4302 case $ac_cv_sys_file_offset_bits in #(
4305 cat >>confdefs.h
<<_ACEOF
4306 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4311 if test $ac_cv_sys_file_offset_bits = unknown
; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4313 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4314 if ${ac_cv_sys_large_files+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4320 #include <sys/types.h>
4321 /* Check that off_t can represent 2**63 - 1 correctly.
4322 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4323 since some C++ compilers masquerading as C compilers
4324 incorrectly reject 9223372036854775807. */
4325 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4326 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4327 && LARGE_OFF_T % 2147483647 == 1)
4337 if ac_fn_c_try_compile
"$LINENO"; then :
4338 ac_cv_sys_large_files
=no
; break
4340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4343 #define _LARGE_FILES 1
4344 #include <sys/types.h>
4345 /* Check that off_t can represent 2**63 - 1 correctly.
4346 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4347 since some C++ compilers masquerading as C compilers
4348 incorrectly reject 9223372036854775807. */
4349 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4350 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4351 && LARGE_OFF_T % 2147483647 == 1)
4361 if ac_fn_c_try_compile
"$LINENO"; then :
4362 ac_cv_sys_large_files
=1; break
4364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 ac_cv_sys_large_files
=unknown
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4370 $as_echo "$ac_cv_sys_large_files" >&6; }
4371 case $ac_cv_sys_large_files in #(
4374 cat >>confdefs.h
<<_ACEOF
4375 #define _LARGE_FILES $ac_cv_sys_large_files
4387 # The cast to long int works around a bug in the HP C Compiler
4388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4390 # This bug is HP SR number 8606223364.
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4392 $as_echo_n "checking size of double... " >&6; }
4393 if ${ac_cv_sizeof_double+:} false
; then :
4394 $as_echo_n "(cached) " >&6
4396 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4399 if test "$ac_cv_type_double" = yes; then
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4402 as_fn_error
77 "cannot compute sizeof (double)
4403 See \`config.log' for more details" "$LINENO" 5; }
4405 ac_cv_sizeof_double
=0
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4411 $as_echo "$ac_cv_sizeof_double" >&6; }
4415 cat >>confdefs.h
<<_ACEOF
4416 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4420 # The cast to long int works around a bug in the HP C Compiler
4421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4423 # This bug is HP SR number 8606223364.
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4425 $as_echo_n "checking size of long double... " >&6; }
4426 if ${ac_cv_sizeof_long_double+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4432 if test "$ac_cv_type_long_double" = yes; then
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error
77 "cannot compute sizeof (long double)
4436 See \`config.log' for more details" "$LINENO" 5; }
4438 ac_cv_sizeof_long_double
=0
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4444 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4448 cat >>confdefs.h
<<_ACEOF
4449 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4453 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4454 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4459 for ac_header
in inttypes.h stdint.h stdlib.h ftw.h \
4460 unistd.h sys
/stat.h sys
/types.h \
4461 string.h
strings.h memory.h sys
/auxv.h sys
/mman.h
4463 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4464 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4465 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4466 cat >>confdefs.h
<<_ACEOF
4467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4474 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4475 if ${ac_cv_path_GREP+:} false
; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -z "$GREP"; then
4479 ac_path_GREP_found
=false
4480 # Loop through the user's path and test for each of PROGNAME-LIST
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4482 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_prog
in grep ggrep
; do
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4489 as_fn_executable_p
"$ac_path_GREP" ||
continue
4490 # Check for GNU ac_path_GREP and select it if it is found.
4491 # Check for GNU $ac_path_GREP
4492 case `"$ac_path_GREP" --version 2>&1` in
4494 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4497 $as_echo_n 0123456789 >"conftest.in"
4500 cat "conftest.in" "conftest.in" >"conftest.tmp"
4501 mv "conftest.tmp" "conftest.in"
4502 cp "conftest.in" "conftest.nl"
4503 $as_echo 'GREP' >> "conftest.nl"
4504 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4505 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4506 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4507 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4508 # Best one so far, save it but keep looking for a better one
4509 ac_cv_path_GREP
="$ac_path_GREP"
4510 ac_path_GREP_max
=$ac_count
4512 # 10*(2^10) chars as input seems more than enough
4513 test $ac_count -gt 10 && break
4515 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4518 $ac_path_GREP_found && break 3
4523 if test -z "$ac_cv_path_GREP"; then
4524 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4527 ac_cv_path_GREP
=$GREP
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4532 $as_echo "$ac_cv_path_GREP" >&6; }
4533 GREP
="$ac_cv_path_GREP"
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4537 $as_echo_n "checking for egrep... " >&6; }
4538 if ${ac_cv_path_EGREP+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4542 then ac_cv_path_EGREP
="$GREP -E"
4544 if test -z "$EGREP"; then
4545 ac_path_EGREP_found
=false
4546 # Loop through the user's path and test for each of PROGNAME-LIST
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_prog
in egrep; do
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4555 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4556 # Check for GNU ac_path_EGREP and select it if it is found.
4557 # Check for GNU $ac_path_EGREP
4558 case `"$ac_path_EGREP" --version 2>&1` in
4560 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4563 $as_echo_n 0123456789 >"conftest.in"
4566 cat "conftest.in" "conftest.in" >"conftest.tmp"
4567 mv "conftest.tmp" "conftest.in"
4568 cp "conftest.in" "conftest.nl"
4569 $as_echo 'EGREP' >> "conftest.nl"
4570 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4571 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4572 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4573 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4574 # Best one so far, save it but keep looking for a better one
4575 ac_cv_path_EGREP
="$ac_path_EGREP"
4576 ac_path_EGREP_max
=$ac_count
4578 # 10*(2^10) chars as input seems more than enough
4579 test $ac_count -gt 10 && break
4581 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4584 $ac_path_EGREP_found && break 3
4589 if test -z "$ac_cv_path_EGREP"; then
4590 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4593 ac_cv_path_EGREP
=$EGREP
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4599 $as_echo "$ac_cv_path_EGREP" >&6; }
4600 EGREP
="$ac_cv_path_EGREP"
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4604 $as_echo_n "checking for ANSI C header files... " >&6; }
4605 if ${ac_cv_header_stdc+:} false
; then :
4606 $as_echo_n "(cached) " >&6
4608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4623 if ac_fn_c_try_compile
"$LINENO"; then :
4624 ac_cv_header_stdc
=yes
4626 ac_cv_header_stdc
=no
4628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4630 if test $ac_cv_header_stdc = yes; then
4631 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4638 $EGREP "memchr" >/dev
/null
2>&1; then :
4641 ac_cv_header_stdc
=no
4647 if test $ac_cv_header_stdc = yes; then
4648 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4655 $EGREP "free" >/dev
/null
2>&1; then :
4658 ac_cv_header_stdc
=no
4664 if test $ac_cv_header_stdc = yes; then
4665 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4666 if test "$cross_compiling" = yes; then :
4669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 #if ((' ' & 0x0FF) == 0x020)
4674 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4675 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4677 # define ISLOWER(c) \
4678 (('a' <= (c) && (c) <= 'i') \
4679 || ('j' <= (c) && (c) <= 'r') \
4680 || ('s' <= (c) && (c) <= 'z'))
4681 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4684 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4689 for (i = 0; i < 256; i++)
4690 if (XOR (islower (i), ISLOWER (i))
4691 || toupper (i) != TOUPPER (i))
4696 if ac_fn_c_try_run
"$LINENO"; then :
4699 ac_cv_header_stdc
=no
4701 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4702 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4708 $as_echo "$ac_cv_header_stdc" >&6; }
4709 if test $ac_cv_header_stdc = yes; then
4711 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4716 # Check for decimal float support.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4718 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4719 if ${libgcc_cv_dfp+:} false
; then :
4720 $as_echo_n "(cached) " >&6
4722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4733 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4739 if ac_fn_c_try_compile
"$LINENO"; then :
4744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4747 $as_echo "$libgcc_cv_dfp" >&6; }
4748 decimal_float
=$libgcc_cv_dfp
4752 # Check whether --enable-decimal-float was given.
4753 if test "${enable_decimal_float+set}" = set; then :
4754 enableval
=$enable_decimal_float;
4755 case $enable_decimal_float in
4756 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4757 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4758 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4764 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4765 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4766 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4767 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4768 enable_decimal_float
=yes
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4772 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4773 enable_decimal_float
=no
4780 # x86's use BID format instead of DPD
4781 case x
$enable_decimal_float in
4784 i?
86*-*-* | x86_64
*-*-*)
4785 enable_decimal_float
=bid
4788 enable_decimal_float
=dpd
4791 default_decimal_float
=$enable_decimal_float
4794 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4795 # dependency on libdecnumber.
4796 default_decimal_float
=dpd
4803 # Check for fixed-point support.
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4805 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4806 if ${libgcc_cv_fixed_point+:} false
; then :
4807 $as_echo_n "(cached) " >&6
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4813 if ac_fn_c_try_compile
"$LINENO"; then :
4814 libgcc_cv_fixed_point
=yes
4816 libgcc_cv_fixed_point
=no
4818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4821 $as_echo "$libgcc_cv_fixed_point" >&6; }
4822 fixed_point
=$libgcc_cv_fixed_point
4825 # For platforms with the unwind ABI which includes an unwind library,
4826 # libunwind, we can choose to use the system libunwind.
4827 # config.gcc also contains tests of with_system_libunwind.
4830 # Check whether --with-system-libunwind was given.
4831 if test "${with_system_libunwind+set}" = set; then :
4832 withval
=$with_system_libunwind;
4835 # If system-libunwind was not specifically set, pick a default setting.
4836 if test x
$with_system_libunwind = x
; then
4838 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4839 *) with_system_libunwind
=no
;;
4842 # Based on system-libunwind and target, do we have ipinfo?
4843 if test x
$with_system_libunwind = xyes
; then
4845 ia64-
*-*) have_unwind_getipinfo
=no
;;
4846 *) have_unwind_getipinfo
=yes ;;
4849 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4852 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4853 *) have_unwind_getipinfo
=yes ;;
4858 if test x
$have_unwind_getipinfo = xyes
; then
4860 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4865 # Check if the compiler is configured for setjmp/longjmp exceptions.
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4867 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4868 if ${ac_cv_sjlj_exceptions+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4873 #ifdef __USING_SJLJ_EXCEPTIONS__
4884 if ac_fn_c_try_compile
"$LINENO"; then :
4885 ac_cv_sjlj_exceptions
=no
4887 ac_cv_sjlj_exceptions
=yes
4889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4892 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4894 # Check whether --enable-cet was given.
4895 if test "${enable_cet+set}" = set; then :
4896 enableval
=$enable_cet;
4897 case "$enableval" in
4899 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4908 $as_echo_n "checking for CET support... " >&6; }
4910 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
4912 i
[34567]86-*-linux* | x86_64-
*-linux*)
4913 case "$enable_cet" in
4915 # Check if target supports multi-byte NOPs
4916 # and if compiler and assembler support CET insn.
4917 cet_save_CFLAGS
="$CFLAGS"
4918 CFLAGS
="$CFLAGS -fcf-protection"
4919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4926 #if !defined(__SSE2__)
4927 #error target does not support multi-byte NOPs
4936 if ac_fn_c_try_compile
"$LINENO"; then :
4941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 CFLAGS
="$cet_save_CFLAGS"
4945 # Check if assembler supports CET.
4946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4957 if ac_fn_c_try_compile
"$LINENO"; then :
4960 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4970 if test x
$enable_cet = xyes
; then
4971 CET_FLAGS
="-fcf-protection -mshstk"
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4973 $as_echo "yes" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 # Check whether --enable-explicit-exception-frame-registration was given.
4982 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4983 enableval
=$enable_explicit_exception_frame_registration;
4984 force_explicit_eh_registry
=
4985 if test "$enable_explicit_exception_frame_registration" = yes; then
4986 if test $ac_cv_sjlj_exceptions = yes; then
4987 as_fn_error $?
"Can't --enable-explicit-exception-frame-registration
4988 with setjmp/longjmp exceptions" "$LINENO" 5
4990 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4997 # Check whether --enable-tm-clone-registry was given.
4998 if test "${enable_tm_clone_registry+set}" = set; then :
4999 enableval
=$enable_tm_clone_registry;
5000 use_tm_clone_registry
=
5001 if test "$enable_tm_clone_registry" = no
; then
5002 use_tm_clone_registry
=-DUSE_TM_CLONE_REGISTRY=0
5007 use_tm_clone_registry
=
5010 use_tm_clone_registry
=-DUSE_TM_CLONE_REGISTRY=0
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5019 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5020 if ${acl_cv_prog_gnu_ld+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5024 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5025 acl_cv_prog_gnu_ld
=yes
5027 acl_cv_prog_gnu_ld
=no
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5031 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5032 with_gnu_ld
=$acl_cv_prog_gnu_ld
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
5036 $as_echo_n "checking for thread model used by GCC... " >&6; }
5037 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
5039 $as_echo "$target_thread_file" >&6; }
5041 # Check for assembler CFI support.
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
5043 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
5044 if ${libgcc_cv_cfi+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5052 .cfi_personality 0, symbol\n\
5055 if ac_fn_c_try_compile
"$LINENO"; then :
5060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
5063 $as_echo "$libgcc_cv_cfi" >&6; }
5065 # Check 32bit or 64bit. In the case of MIPS, this really determines the
5066 # word size rather than the address size.
5067 cat > conftest.c
<<EOF
5068 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
5069 || defined(__mips64)
5075 eval `${CC-cc} -E conftest.c | grep host_address=`
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
5081 $as_echo_n "checking whether the target is hard-float... " >&6; }
5082 if ${libgcc_cv_mips_hard_float+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5087 #ifndef __mips_hard_float
5092 if ac_fn_c_try_compile
"$LINENO"; then :
5093 libgcc_cv_mips_hard_float
=yes
5095 libgcc_cv_mips_hard_float
=no
5097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
5100 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
5105 # Check for system-provided CRTs on Solaris 11.4.
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
5107 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
5108 if ${libgcc_cv_solaris_crts+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 libgcc_cv_solaris_crts
=no
5112 libgcc_sysroot
="`${CC} -print-sysroot`"
5113 libgcc_libdir
="$libgcc_sysroot/usr/lib"
5114 # At the time they were added, gcrt1.o became a symlink for backwards
5115 # compatibility on x86, while crt1.o was added on sparc, so check for that.
5117 i?
86-*-solaris2* | x86_64-
*-solaris2*)
5118 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5121 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
5126 $as_echo "$libgcc_cv_solaris_crts" >&6; }
5127 if test $libgcc_cv_solaris_crts = yes; then
5129 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
5135 # Determine the version of glibc, if any, used on the target.
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
5137 $as_echo_n "checking for target glibc version... " >&6; }
5139 # Check whether --with-glibc-version was given.
5140 if test "${with_glibc_version+set}" = set; then :
5141 withval
=$with_glibc_version;
5142 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
5143 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
5144 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
5146 as_fn_error $?
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
5150 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
5153 glibc_version_major
=0
5156 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
5159 glibc_version_minor
=0
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
5165 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
5167 # Determine floating-point type for powerpc*-*-linux* or vxworks7*.
5168 # Single-precision-only FPRs are not a supported configuration for
5169 # this target, so are not allowed for in this test.
5171 powerpc
*-*-linux* | powerpc
*-*-vxworks7*)
5172 cat > conftest.c
<<EOF
5173 #ifdef __powerpc64__
5175 #elif defined _SOFT_FLOAT
5177 #elif defined _SOFT_DOUBLE
5179 #elif defined __NO_FPRS__
5185 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
5187 # glibc 2.19 and later provide all the soft-fp functions, with proper
5188 # interactions with <fenv.h> exception and rounding mode handling, so
5189 # make libgcc's versions into compat symbols if a recent enough glibc
5190 # version is being used.
5192 case ${ppc_fp_type} in
5194 if test $glibc_version_major -gt 2 \
5195 ||
( test $glibc_version_major -eq 2 \
5196 && test $glibc_version_minor -ge 19 ); then
5197 ppc_fp_compat
="t-softfp-compat"
5205 # At present, we cannot turn -mfloat128 on via #pragma GCC target, so just
5206 # check if we have VSX (ISA 2.06) support to build the software libraries, and
5207 # whether the assembler can handle xsaddqp for hardware support. Also check if
5208 # a new glibc is being used so that __builtin_cpu_supports can be used.
5210 saved_CFLAGS
="$CFLAGS"
5211 CFLAGS
="$CFLAGS -mabi=altivec -mvsx -mfloat128"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
5213 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
5214 if ${libgcc_cv_powerpc_float128+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5219 vector double dadd (vector double a, vector double b) { return a + b; }
5221 if ac_fn_c_try_compile
"$LINENO"; then :
5222 libgcc_cv_powerpc_float128
=yes
5224 libgcc_cv_powerpc_float128
=no
5226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
5229 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
5231 CFLAGS
="$CFLAGS -mpower9-vector -mfloat128-hardware"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
5233 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
5234 if ${libgcc_cv_powerpc_float128_hw+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5239 #include <sys/auxv.h>
5241 #error "AT_PLATFORM is not defined"
5243 #ifndef __BUILTIN_CPU_SUPPORTS__
5244 #error "__builtin_cpu_supports is not available"
5246 vector unsigned char add (vector unsigned char a, vector unsigned char b)
5248 vector unsigned char ret;
5249 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
5252 void *add_resolver (void) { return (void *) add; }
5253 __float128 add_ifunc (__float128, __float128)
5254 __attribute__ ((__ifunc__ ("add_resolver")));
5256 if ac_fn_c_try_compile
"$LINENO"; then :
5257 libgcc_cv_powerpc_float128_hw
=yes
5259 libgcc_cv_powerpc_float128_hw
=no
5261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
5264 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
5265 CFLAGS
="$saved_CFLAGS"
5267 saved_CFLAGS
="$CFLAGS"
5268 CFLAGS
="$CFLAGS -mcpu=power10 -mfloat128-hardware"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.1 to build hardware __float128 libraries" >&5
5270 $as_echo_n "checking for PowerPC ISA 3.1 to build hardware __float128 libraries... " >&6; }
5271 if ${libgcc_cv_powerpc_3_1_float128_hw+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5276 #include <sys/auxv.h>
5278 #error "AT_PLATFORM is not defined"
5280 #ifndef __BUILTIN_CPU_SUPPORTS__
5281 #error "__builtin_cpu_supports is not available"
5283 vector unsigned char conv (vector unsigned char qs)
5285 vector unsigned char ret;
5286 __asm__ ("xscvsqqp %0,%1" : "=v" (ret) : "v" (qs));
5289 void *conv_resolver (void) { return (void *) conv; }
5290 __float128 conv_ifunc (__float128)
5291 __attribute__ ((__ifunc__ ("conv_resolver")));
5293 if ac_fn_c_try_compile
"$LINENO"; then :
5294 libgcc_cv_powerpc_3_1_float128_hw
=yes
5296 libgcc_cv_powerpc_3_1_float128_hw
=no
5298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_3_1_float128_hw" >&5
5301 $as_echo "$libgcc_cv_powerpc_3_1_float128_hw" >&6; }
5302 CFLAGS
="$saved_CFLAGS"
5305 # Collect host-machine-specific information.
5306 .
${srcdir}/config.
host
5308 # Used for constructing correct paths for offload compilers.
5310 real_host_noncanonical
=${host_noncanonical}
5311 if test x
"$enable_as_accelerator_for" != x
; then
5312 accel_dir_suffix
=/accel
/${target_noncanonical}
5313 real_host_noncanonical
=${enable_as_accelerator_for}
5318 if test x
"$enable_offload_targets" != x
; then
5319 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
5322 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
5323 # This is after config.host so we can augment tmake_file.
5324 # Link with -nostartfiles -nodefaultlibs since neither are present while
5327 i?
86-*-solaris2* | x86_64-
*-solaris2*)
5328 cat > conftest.s
<<EOF
5329 .section .eh_frame,"a",@unwind
5331 .section .jcr,"aw",@progbits
5334 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
5335 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339 test $ac_status = 0; }; }; then
5340 tmake_file
="${tmake_file} i386/t-crtstuff"
5345 # Check if Solaris linker support v2 linker mapfile syntax.
5346 # Link with -nostartfiles -nodefaultlibs since neither are present while
5350 solaris_ld_v2_maps
=no
5351 echo 'int main(void) {return 0;}' > conftest.c
5352 echo '$mapfile_version 2' > conftest.map
5353 if { ac_try
='${CC-cc} -nostartfiles -nodefaultlibs -Wl,-M,conftest.map -o conftest conftest.c 1>&5'
5354 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5358 test $ac_status = 0; }; }; then
5359 solaris_ld_v2_maps
=yes
5365 # Check if xtensa target is configured for windowed ABI and thus needs to use
5366 # custom unwind code.
5367 # This is after config.host so we can augment tmake_file.
5370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5372 #ifdef __XTENSA_CALL0_ABI__
5377 if ac_fn_c_try_compile
"$LINENO"; then :
5378 tmake_file
="${tmake_file} xtensa/t-windowed"
5380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5384 # Check for visibility support. This is after config.host so that
5385 # we can check for asm_hidden_op.
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
5387 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
5388 if ${libgcc_cv_hidden_visibility_attribute+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5392 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
5393 libgcc_cv_hidden_visibility_attribute
=no
5394 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5395 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5399 test $ac_status = 0; }; }; then
5400 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
5401 libgcc_cv_hidden_visibility_attribute
=yes
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
5408 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
5410 if test $libgcc_cv_hidden_visibility_attribute = yes; then
5411 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
5413 cat >>confdefs.h
<<_ACEOF
5414 #define AS_HIDDEN_DIRECTIVE $asm_hidden_op
5422 # Check for .cfi_sections .debug_frame support.
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .cfi_sections .debug_frame" >&5
5424 $as_echo_n "checking for .cfi_sections .debug_frame... " >&6; }
5425 if ${libgcc_cv_cfi_sections_directive+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5429 echo 'int foo (int, char *);' > conftest.c
5430 echo 'int bar (int x) { char *y = __builtin_alloca (x); return foo (x + 1, y) + 1; }' >> conftest.c
5431 libgcc_cv_cfi_sections_directive
=no
5432 if { ac_try
='${CC-cc} -Werror -g -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S conftest.c -o conftest.s 1>&5'
5433 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }; }; then
5438 if grep "\\.cfi_sections.*\\.debug_frame" conftest.s
>/dev
/null
; then
5439 libgcc_cv_cfi_sections_directive
=yes
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi_sections_directive" >&5
5446 $as_echo "$libgcc_cv_cfi_sections_directive" >&6; }
5447 if test $libgcc_cv_cfi_sections_directive = yes; then
5449 $as_echo "#define HAVE_AS_CFI_SECTIONS 1" >>confdefs.h
5453 # See if we have thread-local storage. We can only test assembler
5454 # since link-time and run-time tests require the newly built
5455 # gcc, which can't be used to build executable due to that libgcc
5456 # is yet to be built here.
5458 # Check whether --enable-tls was given.
5459 if test "${enable_tls+set}" = set; then :
5460 enableval
=$enable_tls;
5461 case "$enableval" in
5463 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
5472 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
5473 if ${gcc_cv_have_cc_tls+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 __thread int a; int b; int main() { return a = b; }
5481 if ac_fn_c_try_compile
"$LINENO"; then :
5482 gcc_cv_have_cc_tls
=yes
5484 gcc_cv_have_cc_tls
=no
5486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
5490 $as_echo "$gcc_cv_have_cc_tls" >&6; }
5492 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
5493 set_have_cc_tls
="-DHAVE_CC_TLS"
5497 # See if we have emulated thread-local storage.
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
5500 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
5501 if ${gcc_cv_use_emutls+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5505 gcc_cv_use_emutls
=no
5506 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
5507 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
5508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5512 test $ac_status = 0; }; }; then
5513 if grep __emutls_get_address conftest.s
> /dev
/null
; then
5514 gcc_cv_use_emutls
=yes
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
5521 $as_echo "$gcc_cv_use_emutls" >&6; }
5522 if test "$gcc_cv_use_emutls" = "yes" ; then
5524 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
5528 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5529 set_use_emutls
="-DUSE_EMUTLS"
5536 i
[34567]86-*-* | x86_64-
*-*)
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
5538 $as_echo_n "checking if the assembler supports AVX... " >&6; }
5539 if ${libgcc_cv_as_avx+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5554 if ac_fn_c_try_compile
"$LINENO"; then :
5555 libgcc_cv_as_avx
=yes
5559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_avx" >&5
5563 $as_echo "$libgcc_cv_as_avx" >&6; }
5564 if test x
$libgcc_cv_as_avx = xyes
; then
5566 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports LSE" >&5
5577 $as_echo_n "checking if the assembler supports LSE... " >&6; }
5578 if ${libgcc_cv_as_lse+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5588 asm(".arch armv8-a+lse\n\tcas w0, w1, [x2]");
5594 if ac_fn_c_try_compile
"$LINENO"; then :
5595 libgcc_cv_as_lse
=yes
5599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_lse" >&5
5603 $as_echo "$libgcc_cv_as_lse" >&6; }
5604 if test x
$libgcc_cv_as_lse = xyes
; then
5606 $as_echo "#define HAVE_AS_LSE 1" >>confdefs.h
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5613 $as_echo_n "checking for init priority support... " >&6; }
5614 if ${libgcc_cv_init_priority+:} false
; then :
5615 $as_echo_n "(cached) " >&6
5618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5624 void ip (void) __attribute__ ((constructor (1)));
5629 if ac_fn_c_try_compile
"$LINENO"; then :
5630 libgcc_cv_init_priority
=yes
5632 libgcc_cv_init_priority
=no
5634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5637 $as_echo "$libgcc_cv_init_priority" >&6; }
5638 if test $libgcc_cv_init_priority = yes; then
5640 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5644 # Conditionalize the sfp-machine.h header for this target machine.
5645 if test -z "${sfp_machine_header}"; then
5646 sfp_machine_header
=$cpu_type/sfp-machine.h
5647 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5650 sfp_machine_header
=no-sfp-machine.h
5655 # Conditionalize the makefile for this target machine.
5657 for f
in ${tmake_file}
5659 if test -f ${srcdir}/config
/$f
5661 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5664 tmake_file
="${tmake_file_}"
5667 # Likewise export definitions for libgcc_tm.h
5671 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5673 tm_file
="${tm_file_}"
5677 # Map from thread model to thread header.
5679 case $target_thread_file in
5680 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5681 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5682 gcn
) thread_header
=config
/gcn
/gthr-gcn.h
;;
5683 lynx
) thread_header
=config
/gthr-lynx.h
;;
5684 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5685 posix
) thread_header
=gthr-posix.h
;;
5686 rtems
) thread_header
=config
/gthr-rtems.h
;;
5687 single
) thread_header
=gthr-single.h
;;
5688 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5689 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5690 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5695 # Determine what GCC version number to use in filesystem paths.
5697 get_gcc_base_ver
="cat"
5699 # Check whether --with-gcc-major-version-only was given.
5700 if test "${with_gcc_major_version_only+set}" = set; then :
5701 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5702 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
5710 # Substitute configuration variables
5720 # We need multilib support.
5721 ac_config_files
="$ac_config_files Makefile"
5723 ac_config_commands
="$ac_config_commands default"
5725 cat >confcache
<<\_ACEOF
5726 # This file is a shell script that caches the results of configure
5727 # tests run on this system so they can be shared between configure
5728 # scripts and configure runs, see configure's option --config-cache.
5729 # It is not useful on other systems. If it contains results you don't
5730 # want to keep, you may remove or edit it.
5732 # config.status only pays attention to the cache file if you give it
5733 # the --recheck option to rerun configure.
5735 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5736 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5741 # The following way of writing the cache mishandles newlines in values,
5742 # but we know of no workaround that is simple, portable, and efficient.
5743 # So, we kill variables containing newlines.
5744 # Ultrix sh set writes to stderr and can't be redirected directly,
5745 # and sets the high bit in the cache file unless we assign to the vars.
5747 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5748 eval ac_val
=\$
$ac_var
5752 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5753 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5756 _ | IFS | as_nl
) ;; #(
5757 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5758 *) { eval $ac_var=; unset $ac_var;} ;;
5764 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5765 *${as_nl}ac_space
=\
*)
5766 # `set' does not quote correctly, so add quotes: double-quote
5767 # substitution turns \\\\ into \\, and sed turns \\ into \.
5770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5773 # `set' quotes correctly as required by POSIX, so do not add quotes.
5774 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5785 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5787 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5788 if test -w "$cache_file"; then
5789 if test "x$cache_file" != "x/dev/null"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5791 $as_echo "$as_me: updating cache $cache_file" >&6;}
5792 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5793 cat confcache
>"$cache_file"
5795 case $cache_file in #(
5797 mv -f confcache
"$cache_file"$$
&&
5798 mv -f "$cache_file"$$
"$cache_file" ;; #(
5800 mv -f confcache
"$cache_file" ;;
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5806 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5811 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5812 # Let make expand exec_prefix.
5813 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5815 DEFS
=-DHAVE_CONFIG_H
5820 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5821 # 1. Remove the extension, and $U if already installed.
5822 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5823 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5824 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5825 # will be set to the directory where LIBOBJS objects are built.
5826 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5827 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5831 LTLIBOBJS
=$ac_ltlibobjs
5835 : "${CONFIG_STATUS=./config.status}"
5837 ac_clean_files_save
=$ac_clean_files
5838 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5840 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5842 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5844 # Generated by $as_me.
5845 # Run this file to recreate the current configuration.
5846 # Compiler output produced by configure, useful for debugging
5847 # configure, is in config.log if it exists.
5853 SHELL=\${CONFIG_SHELL-$SHELL}
5856 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5857 ## -------------------- ##
5858 ## M4sh Initialization. ##
5859 ## -------------------- ##
5861 # Be more Bourne compatible
5862 DUALCASE
=1; export DUALCASE
# for MKS sh
5863 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5866 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5867 # is contrary to our usage. Disable this feature.
5868 alias -g '${1+"$@"}'='"$@"'
5869 setopt NO_GLOB_SUBST
5871 case `(set -o) 2>/dev/null` in #(
5883 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5884 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5887 # Prefer a ksh shell builtin over an external printf program on Solaris,
5888 # but without wasting forks for bash or zsh.
5889 if test -z "$BASH_VERSION$ZSH_VERSION" \
5890 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5891 as_echo='print
-r --'
5892 as_echo_n='print
-rn --'
5893 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5894 as_echo='printf %s
\n'
5895 as_echo_n='printf %s
'
5897 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5898 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5899 as_echo_n='/usr
/ucb
/echo -n'
5901 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5902 as_echo_n_body='eval
5906 expr "X$arg" : "X\\(.*\\)$as_nl";
5907 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5909 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5911 export as_echo_n_body
5912 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5915 as_echo='sh
-c $as_echo_body as_echo
'
5918 # The user is always right.
5919 if test "${PATH_SEPARATOR+set}" != set; then
5921 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5922 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5929 # We need space, tab and new line, in precisely that order. Quoting is
5930 # there to prevent editors from complaining about space-tab.
5931 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5932 # splitting by setting IFS to empty value.)
5935 # Find who we are. Look in the path if we contain no directory separator.
5938 *[\\/]* ) as_myself=$0 ;;
5939 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5950 # We did not find ourselves, most probably we were run as `sh COMMAND'
5951 # in which case we are not to be found in the path.
5952 if test "x$as_myself" = x
; then
5955 if test ! -f "$as_myself"; then
5956 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5960 # Unset variables that we do not need and which cause bugs (e.g. in
5961 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5962 # suppresses any "Segmentation fault" message there. '((' could
5963 # trigger a bug in pdksh 5.2.14.
5964 for as_var
in BASH_ENV ENV MAIL MAILPATH
5965 do eval test x\
${$as_var+set} = xset \
5966 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5979 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5982 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5983 # ----------------------------------------
5984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5986 # script with STATUS, using 1 if that was 0.
5989 as_status
=$1; test $as_status -eq 0 && as_status
=1
5991 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5992 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5994 $as_echo "$as_me: error: $2" >&2
5995 as_fn_exit
$as_status
5999 # as_fn_set_status STATUS
6000 # -----------------------
6001 # Set $? to STATUS, without forking.
6005 } # as_fn_set_status
6009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6019 # Portably unset VAR.
6022 { eval $1=; unset $1;}
6024 as_unset
=as_fn_unset
6025 # as_fn_append VAR VALUE
6026 # ----------------------
6027 # Append the text in VALUE to the end of the definition contained in VAR. Take
6028 # advantage of any shell optimizations that allow amortized linear growth over
6029 # repeated appends, instead of the typical quadratic growth present in naive
6031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6032 eval 'as_fn_append ()
6043 # as_fn_arith ARG...
6044 # ------------------
6045 # Perform arithmetic evaluation on the ARGs, and store the result in the
6046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6047 # must be portable across $(()) and expr.
6048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6049 eval 'as_fn_arith ()
6056 as_val
=`expr "$@" || test $? -eq 1`
6061 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6062 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6068 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6069 as_basename
=basename
6074 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6080 as_me
=`$as_basename -- "$0" ||
6081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6082 X"$0" : 'X\(//\)$' \| \
6083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6085 sed '/^.*\/\([^/][^/]*\)\/*$/{
6099 # Avoid depending upon Character Ranges.
6100 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6101 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6102 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6103 as_cr_digits
='0123456789'
6104 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6106 ECHO_C
= ECHO_N
= ECHO_T
=
6107 case `echo -n x` in #(((((
6109 case `echo 'xy\c'` in
6110 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6112 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6119 rm -f conf$$ conf$$.exe conf$$.
file
6120 if test -d conf$$.dir
; then
6121 rm -f conf$$.dir
/conf$$.
file
6124 mkdir conf$$.dir
2>/dev
/null
6126 if (echo >conf$$.
file) 2>/dev
/null
; then
6127 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6129 # ... but there are two gotchas:
6130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6132 # In both cases, we have to default to `cp -pR'.
6133 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6135 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6143 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6144 rmdir conf$$.dir
2>/dev
/null
6149 # Create "$as_dir" as a directory, including parents if necessary.
6154 -*) as_dir
=.
/$as_dir;;
6156 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6160 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6161 *) as_qdir
=$as_dir;;
6163 as_dirs
="'$as_qdir' $as_dirs"
6164 as_dir
=`$as_dirname -- "$as_dir" ||
6165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6166 X"$as_dir" : 'X\(//\)[^/]' \| \
6167 X"$as_dir" : 'X\(//\)$' \| \
6168 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6169 $as_echo X"$as_dir" |
6170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6187 test -d "$as_dir" && break
6189 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6190 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6194 if mkdir
-p .
2>/dev
/null
; then
6195 as_mkdir_p
='mkdir -p "$as_dir"'
6197 test -d .
/-p && rmdir .
/-p
6202 # as_fn_executable_p FILE
6203 # -----------------------
6204 # Test if FILE is an executable regular file.
6205 as_fn_executable_p
()
6207 test -f "$1" && test -x "$1"
6208 } # as_fn_executable_p
6210 as_executable_p
=as_fn_executable_p
6212 # Sed expression to map a string onto a valid CPP name.
6213 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6215 # Sed expression to map a string onto a valid variable name.
6216 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6220 ## ----------------------------------- ##
6221 ## Main body of $CONFIG_STATUS script. ##
6222 ## ----------------------------------- ##
6224 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6227 # Save the log message, to keep $0 and so on meaningful, and to
6228 # report actual input values of CONFIG_FILES etc. instead of their
6229 # values after options handling.
6231 This file was extended by GNU C Runtime Library $as_me 1.0, which was
6232 generated by GNU Autoconf 2.69. Invocation command line was
6234 CONFIG_FILES = $CONFIG_FILES
6235 CONFIG_HEADERS = $CONFIG_HEADERS
6236 CONFIG_LINKS = $CONFIG_LINKS
6237 CONFIG_COMMANDS = $CONFIG_COMMANDS
6240 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6245 case $ac_config_files in *"
6246 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6249 case $ac_config_headers in *"
6250 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6255 # Files that config.status was made for.
6256 config_files="$ac_config_files"
6257 config_headers="$ac_config_headers"
6258 config_commands="$ac_config_commands"
6262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6264 \`$as_me' instantiates files and other configuration actions
6265 from templates according to the current configuration. Unless the files
6266 and actions are specified as TAGs, all are instantiated by default.
6268 Usage: $0 [OPTION]... [TAG]...
6270 -h, --help print this help, then exit
6271 -V, --version print version number and configuration settings, then exit
6272 --config print configuration, then exit
6273 -q, --quiet, --silent
6274 do not print progress messages
6275 -d, --debug don't remove temporary files
6276 --recheck update $as_me by reconfiguring in the same conditions
6277 --file=FILE[:TEMPLATE]
6278 instantiate the configuration file FILE
6279 --header=FILE[:TEMPLATE]
6280 instantiate the configuration header FILE
6282 Configuration files:
6285 Configuration headers:
6288 Configuration commands:
6291 Report bugs to the package provider.
6292 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
6293 General help using GNU software: <http://www.gnu.org/gethelp/>."
6296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6297 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6299 GNU C Runtime Library config.status 1.0
6300 configured by $0, generated by GNU Autoconf 2.69,
6301 with options \\"\$ac_cs_config\\"
6303 Copyright (C) 2012 Free Software Foundation, Inc.
6304 This config.status script is free software; the Free Software Foundation
6305 gives unlimited permission to copy, distribute and modify it."
6311 test -n "\$AWK" || AWK=awk
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6315 # The default lists apply if the user does not specify any file.
6321 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6322 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6326 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6338 # Handling of the options.
6339 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6341 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6342 $as_echo "$ac_cs_version"; exit ;;
6343 --config |
--confi |
--conf |
--con |
--co |
--c )
6344 $as_echo "$ac_cs_config"; exit ;;
6345 --debug |
--debu |
--deb |
--de |
--d |
-d )
6347 --file |
--fil |
--fi |
--f )
6350 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6351 '') as_fn_error $?
"missing file argument" ;;
6353 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6354 ac_need_defaults
=false
;;
6355 --header |
--heade |
--head |
--hea )
6358 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6360 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6361 ac_need_defaults
=false
;;
6363 # Conflict between --help and --header
6364 as_fn_error $?
"ambiguous option: \`$1'
6365 Try \`$0 --help' for more information.";;
6366 --help |
--hel |
-h )
6367 $as_echo "$ac_cs_usage"; exit ;;
6368 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6369 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6373 -*) as_fn_error $?
"unrecognized option: \`$1'
6374 Try \`$0 --help' for more information." ;;
6376 *) as_fn_append ac_config_targets
" $1"
6377 ac_need_defaults
=false
;;
6383 ac_configure_extra_args
=
6385 if $ac_cs_silent; then
6387 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 if \$ac_cs_recheck; then
6393 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6395 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6396 CONFIG_SHELL='$SHELL'
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6407 ## Running $as_me. ##
6413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6419 with_target_subdir=${with_target_subdir}
6420 with_multisubdir=${with_multisubdir}
6421 ac_configure_args="--enable-multilib ${ac_configure_args}"
6422 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6423 libgcc_topdir=${libgcc_topdir}
6429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6431 # Handling of arguments.
6432 for ac_config_target
in $ac_config_targets
6434 case $ac_config_target in
6435 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
6436 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6437 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6439 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6444 # If the user did not use the arguments to specify the items to instantiate,
6445 # then the envvar interface is used. Set only those that are not.
6446 # We use the long form for the default assignment because of an extremely
6447 # bizarre bug on SunOS 4.1.3.
6448 if $ac_need_defaults; then
6449 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6450 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6451 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6454 # Have a temporary directory for convenience. Make it in the build tree
6455 # simply because there is no reason against having it here, and in addition,
6456 # creating and moving files from /tmp can sometimes cause problems.
6457 # Hook for its removal unless debugging.
6458 # Note that there is a small window in which the directory will not be cleaned:
6459 # after its creation but before its name has been assigned to `$tmp'.
6463 trap 'exit_status=$?
6465 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6467 trap 'as_fn_exit 1' 1 2 13 15
6469 # Create a (secure) tmp directory for tmp files.
6472 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6476 tmp
=.
/conf$$
-$RANDOM
6477 (umask 077 && mkdir
"$tmp")
6478 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6481 # Set up the scripts for CONFIG_FILES section.
6482 # No need to generate them if there are no CONFIG_FILES.
6483 # This happens for instance with `./config.status config.h'.
6484 if test -n "$CONFIG_FILES"; then
6487 ac_cr
=`echo X | tr X '\015'`
6488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6489 # But we know of no other shell where ac_cr would be empty at this
6490 # point, so we can use a bashism as a fallback.
6491 if test "x$ac_cr" = x
; then
6492 eval ac_cr
=\$
\'\\r
\'
6494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6501 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6506 echo "cat >conf$$subs.awk <<_ACEOF" &&
6507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6510 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6513 for ac_last_try in false false false false false :; do
6514 . ./conf$$subs.sh ||
6515 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6518 if test $ac_delim_n = $ac_delim_num; then
6520 elif $ac_last_try; then
6521 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6529 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6533 s/^/S["/; s
/!.
*/"]=/
6543 s/\(.\{148\}\)..*/\1/
6545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6557 s/\(.\{148\}\)..*/\1/
6559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6568 ' <conf$$subs.awk | sed '
6573 ' >>$CONFIG_STATUS || ac_write_fail=1
6574 rm -f conf$$subs.awk
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6577 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6578 for (key in S) S_is_set[key] = 1
6584 nfields = split(line, field, "@
")
6586 len = length(field[1])
6587 for (i = 2; i < nfields; i++) {
6589 keylen = length(key)
6590 if (S_is_set[key]) {
6592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6593 len += length(value) + length(field[++i])
6604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6609 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6610 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6613 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6614 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6615 # trailing colons and then remove the whole line if VPATH becomes empty
6616 # (actually we leave an empty line to preserve line numbers).
6617 if test "x
$srcdir" = x.; then
6618 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6637 fi # test -n "$CONFIG_FILES"
6639 # Set up the scripts for CONFIG_HEADERS section.
6640 # No need to generate them if there are no CONFIG_HEADERS.
6641 # This happens for instance with `./config.status Makefile'.
6642 if test -n "$CONFIG_HEADERS"; then
6643 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6647 # Transform confdefs.h into an awk script `defines.awk', embedded as
6648 # here-document in config.status, that substitutes the proper values into
6649 # config.h.in to produce config.h.
6651 # Create a delimiter string that does not exist in confdefs.h, to ease
6652 # handling of long lines.
6654 for ac_last_try in false false :; do
6655 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6656 if test -z "$ac_tt"; then
6658 elif $ac_last_try; then
6659 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6661 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6665 # For the awk script, D is an array of macro values keyed by name,
6666 # likewise P contains macro parameters if any. Preserve backslash
6667 # newline sequences.
6669 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6671 s/.\{148\}/&'"$ac_delim"'/g
6674 s/^[ ]*#[ ]*define[ ][ ]*/ /
6681 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6683 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6688 D["\
1"]=" \
3\\\\\\n
"\\/p
6690 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6695 s/.\{148\}/&'"$ac_delim"'/g
6700 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6703 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6705 ' <confdefs.h | sed '
6706 s/'"$ac_delim"'/"\\\
6707 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6710 for (key in D) D_is_set[key] = 1
6713 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6715 split(line, arg, " ")
6716 if (arg[1] == "#") {
6720 defundef
= substr
(arg
[1], 2)
6723 split(mac1
, mac2
, "(") #)
6725 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6726 if (D_is_set
[macro
]) {
6727 # Preserve the white space surrounding the "#".
6728 print prefix
"define", macro P
[macro
] D
[macro
]
6731 # Replace #undef with comments. This is necessary, for example,
6732 # in the case of _POSIX_SOURCE, which is predefined and required
6733 # on some systems where configure will not decide to define it.
6734 if (defundef
== "undef") {
6735 print
"/*", prefix defundef
, macro
, "*/"
6743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6744 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6745 fi # test -n "$CONFIG_HEADERS"
6748 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6753 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6755 case $ac_mode$ac_tag in
6757 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6758 :[FH
]-) ac_tag
=-:-;;
6759 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6776 -) ac_f
="$ac_tmp/stdin";;
6777 *) # Look for the file first in the build tree, then in the source tree
6778 # (if the path is not absolute). The absolute path cannot be DOS-style,
6779 # because $ac_f cannot contain `:'.
6783 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6785 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6787 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6788 as_fn_append ac_file_inputs
" '$ac_f'"
6791 # Let's still pretend it is `configure' which instantiates (i.e., don't
6792 # use $as_me), people would be surprised to read:
6793 # /* config.h. Generated by config.status. */
6794 configure_input
='Generated from '`
6795 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6797 if test x
"$ac_file" != x-
; then
6798 configure_input
="$ac_file. $configure_input"
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6800 $as_echo "$as_me: creating $ac_file" >&6;}
6802 # Neutralize special characters interpreted by sed in replacement strings.
6803 case $configure_input in #(
6804 *\
&* |
*\|
* |
*\\* )
6805 ac_sed_conf_input
=`$as_echo "$configure_input" |
6806 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6807 *) ac_sed_conf_input
=$configure_input;;
6811 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6812 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6817 ac_dir
=`$as_dirname -- "$ac_file" ||
6818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6819 X"$ac_file" : 'X\(//\)[^/]' \| \
6820 X"$ac_file" : 'X\(//\)$' \| \
6821 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6822 $as_echo X"$ac_file" |
6823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6840 as_dir
="$ac_dir"; as_fn_mkdir_p
6844 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6846 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6847 # A ".." for each directory in $ac_dir_suffix.
6848 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6849 case $ac_top_builddir_sub in
6850 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6851 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6854 ac_abs_top_builddir
=$ac_pwd
6855 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6856 # for backward compatibility:
6857 ac_top_builddir
=$ac_top_build_prefix
6860 .
) # We are building in place.
6862 ac_top_srcdir
=$ac_top_builddir_sub
6863 ac_abs_top_srcdir
=$ac_pwd ;;
6864 [\\/]* | ?
:[\\/]* ) # Absolute name.
6865 ac_srcdir
=$srcdir$ac_dir_suffix;
6866 ac_top_srcdir
=$srcdir
6867 ac_abs_top_srcdir
=$srcdir ;;
6869 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6870 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6871 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6873 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6883 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6884 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6889 # If the template does not know about datarootdir, expand it.
6890 # FIXME: This hack should be removed a few years after 2.60.
6891 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6902 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6903 *datarootdir
*) ac_datarootdir_seen
=yes;;
6904 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6906 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6909 ac_datarootdir_hack='
6910 s&@datadir@&$datadir&g
6911 s&@docdir@&$docdir&g
6912 s&@infodir@&$infodir&g
6913 s&@localedir@&$localedir&g
6914 s&@mandir@&$mandir&g
6915 s&\\\${datarootdir}&$datarootdir&g' ;;
6919 # Neutralize VPATH when `$srcdir' = `.'.
6920 # Shell code in configure.ac might set extrasub.
6921 # FIXME: do we really want to maintain this feature?
6922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6923 ac_sed_extra="$ac_vpsub
6926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6928 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6929 s|@configure_input@|
$ac_sed_conf_input|
;t t
6930 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6931 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6932 s
&@srcdir@
&$ac_srcdir&;t t
6933 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6934 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6935 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6936 s
&@builddir@
&$ac_builddir&;t t
6937 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6938 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6939 s
&@INSTALL@
&$ac_INSTALL&;t t
6940 $ac_datarootdir_hack
6942 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6943 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6945 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6946 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6947 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6948 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6950 which seems to be undefined. Please make sure it is defined" >&5
6951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6952 which seems to be undefined. Please make sure it is defined" >&2;}
6954 rm -f "$ac_tmp/stdin"
6956 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6957 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6965 if test x"$ac_file" != x-; then
6967 $as_echo "/* $configure_input */" \
6968 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6969 } >"$ac_tmp/config.h" \
6970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6971 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6973 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6976 mv "$ac_tmp/config.h" "$ac_file" \
6977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6980 $as_echo "/* $configure_input */" \
6981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6982 || as_fn_error $? "could not create -" "$LINENO" 5
6986 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6987 $as_echo "$as_me: executing $ac_file commands" >&6;}
6992 case $ac_file$ac_mode in
6993 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6994 if test -n "$CONFIG_FILES"; then
6995 # FIXME: We shouldn't need to
set ac_file
6997 .
${libgcc_topdir}/config-ml.
in
7006 ac_clean_files
=$ac_clean_files_save
7008 test $ac_write_fail = 0 ||
7009 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7012 # configure is writing to config.log, and then calls config.status.
7013 # config.status does its own redirection, appending to config.log.
7014 # Unfortunately, on DOS this fails, as config.log is still kept open
7015 # by configure, so config.status won't be able to write to it; its
7016 # output is simply discarded. So we exec the FD to /dev/null,
7017 # effectively closing config.log, so it can be properly (re)opened and
7018 # appended to by config.status. When coming back to configure, we
7019 # need to make the FD available again.
7020 if test "$no_create" != yes; then
7022 ac_config_status_args
=
7023 test "$silent" = yes &&
7024 ac_config_status_args
="$ac_config_status_args --quiet"
7026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7029 # would make configure fail if this is the last instruction.
7030 $ac_cs_success || as_fn_exit
1
7032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}