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 force_explicit_eh_registry
614 long_double_type_size
685 program_transform_name
698 enable_option_checking
706 enable_version_specific_runtime_libs
708 enable_maintainer_mode
712 with_system_libunwind
714 enable_explicit_exception_frame_registration
717 with_gcc_major_version_only
719 ac_precious_vars
='build_alias
730 # Initialize some variables set by options.
732 ac_init_version
=false
733 ac_unrecognized_opts
=
735 # The variables have the same names as the options, with
736 # dashes changed to underlines.
744 program_transform_name
=s
,x
,x
,
752 # Installation directory options.
753 # These are left unexpanded so users can "make install exec_prefix=/foo"
754 # and all the variables that are supposed to be based on exec_prefix
755 # by default will actually change.
756 # Use braces instead of parens because sh, perl, etc. also accept them.
757 # (The list follows the same order as the GNU Coding Standards.)
758 bindir
='${exec_prefix}/bin'
759 sbindir
='${exec_prefix}/sbin'
760 libexecdir
='${exec_prefix}/libexec'
761 datarootdir
='${prefix}/share'
762 datadir
='${datarootdir}'
763 sysconfdir
='${prefix}/etc'
764 sharedstatedir
='${prefix}/com'
765 localstatedir
='${prefix}/var'
766 includedir
='${prefix}/include'
767 oldincludedir
='/usr/include'
768 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
769 infodir
='${datarootdir}/info'
774 libdir
='${exec_prefix}/lib'
775 localedir
='${datarootdir}/locale'
776 mandir
='${datarootdir}/man'
782 # If the previous option needs an argument, assign it.
783 if test -n "$ac_prev"; then
784 eval $ac_prev=\
$ac_option
790 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 # Accept the important Cygnus configure options, so we can diagnose typos.
797 case $ac_dashdash$ac_option in
801 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
803 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
806 -build |
--build |
--buil |
--bui |
--bu)
807 ac_prev
=build_alias
;;
808 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
809 build_alias
=$ac_optarg ;;
811 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
812 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
813 ac_prev
=cache_file
;;
814 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
815 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
816 cache_file
=$ac_optarg ;;
819 cache_file
=config.cache
;;
821 -datadir |
--datadir |
--datadi |
--datad)
823 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
824 datadir
=$ac_optarg ;;
826 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
827 |
--dataroo |
--dataro |
--datar)
828 ac_prev
=datarootdir
;;
829 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
830 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
831 datarootdir
=$ac_optarg ;;
833 -disable-* |
--disable-*)
834 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
837 as_fn_error $?
"invalid feature name: $ac_useropt"
838 ac_useropt_orig
=$ac_useropt
839 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840 case $ac_user_opts in
844 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
845 ac_unrecognized_sep
=', ';;
847 eval enable_
$ac_useropt=no
;;
849 -docdir |
--docdir |
--docdi |
--doc |
--do)
851 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
854 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
856 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
859 -enable-* |
--enable-*)
860 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
863 as_fn_error $?
"invalid feature name: $ac_useropt"
864 ac_useropt_orig
=$ac_useropt
865 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
871 ac_unrecognized_sep
=', ';;
873 eval enable_
$ac_useropt=\
$ac_optarg ;;
875 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
876 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
877 |
--exec |
--exe |
--ex)
878 ac_prev
=exec_prefix
;;
879 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
880 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
881 |
--exec=* |
--exe=* |
--ex=*)
882 exec_prefix
=$ac_optarg ;;
884 -gas |
--gas |
--ga |
--g)
885 # Obsolete; use --with-gas.
888 -help |
--help |
--hel |
--he |
-h)
890 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
891 ac_init_help
=recursive
;;
892 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
893 ac_init_help
=short
;;
895 -host |
--host |
--hos |
--ho)
896 ac_prev
=host_alias
;;
897 -host=* |
--host=* |
--hos=* |
--ho=*)
898 host_alias
=$ac_optarg ;;
900 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
902 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
904 htmldir
=$ac_optarg ;;
906 -includedir |
--includedir |
--includedi |
--included |
--include \
907 |
--includ |
--inclu |
--incl |
--inc)
908 ac_prev
=includedir
;;
909 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
910 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
911 includedir
=$ac_optarg ;;
913 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
915 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
916 infodir
=$ac_optarg ;;
918 -libdir |
--libdir |
--libdi |
--libd)
920 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
923 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
924 |
--libexe |
--libex |
--libe)
925 ac_prev
=libexecdir
;;
926 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
927 |
--libexe=* |
--libex=* |
--libe=*)
928 libexecdir
=$ac_optarg ;;
930 -localedir |
--localedir |
--localedi |
--localed |
--locale)
932 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
933 localedir
=$ac_optarg ;;
935 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
936 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
937 ac_prev
=localstatedir
;;
938 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
939 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
940 localstatedir
=$ac_optarg ;;
942 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
944 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
948 # Obsolete; use --without-fp.
951 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
952 |
--no-cr |
--no-c |
-n)
955 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
956 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
959 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
960 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
961 |
--oldin |
--oldi |
--old |
--ol |
--o)
962 ac_prev
=oldincludedir
;;
963 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
964 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
965 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
966 oldincludedir
=$ac_optarg ;;
968 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
970 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
973 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
974 |
--program-pre |
--program-pr |
--program-p)
975 ac_prev
=program_prefix
;;
976 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
977 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
978 program_prefix
=$ac_optarg ;;
980 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
981 |
--program-suf |
--program-su |
--program-s)
982 ac_prev
=program_suffix
;;
983 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
984 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
985 program_suffix
=$ac_optarg ;;
987 -program-transform-name |
--program-transform-name \
988 |
--program-transform-nam |
--program-transform-na \
989 |
--program-transform-n |
--program-transform- \
990 |
--program-transform |
--program-transfor \
991 |
--program-transfo |
--program-transf \
992 |
--program-trans |
--program-tran \
993 |
--progr-tra |
--program-tr |
--program-t)
994 ac_prev
=program_transform_name
;;
995 -program-transform-name=* |
--program-transform-name=* \
996 |
--program-transform-nam=* |
--program-transform-na=* \
997 |
--program-transform-n=* |
--program-transform-=* \
998 |
--program-transform=* |
--program-transfor=* \
999 |
--program-transfo=* |
--program-transf=* \
1000 |
--program-trans=* |
--program-tran=* \
1001 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1002 program_transform_name
=$ac_optarg ;;
1004 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1006 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1007 pdfdir
=$ac_optarg ;;
1009 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1011 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1014 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1015 |
-silent |
--silent |
--silen |
--sile |
--sil)
1018 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1020 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1022 sbindir
=$ac_optarg ;;
1024 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1025 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1026 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1028 ac_prev
=sharedstatedir
;;
1029 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1030 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1031 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1033 sharedstatedir
=$ac_optarg ;;
1035 -site |
--site |
--sit)
1037 -site=* |
--site=* |
--sit=*)
1040 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1042 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1043 srcdir
=$ac_optarg ;;
1045 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1046 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1047 ac_prev
=sysconfdir
;;
1048 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1049 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1050 sysconfdir
=$ac_optarg ;;
1052 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1053 ac_prev
=target_alias
;;
1054 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1055 target_alias
=$ac_optarg ;;
1057 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1060 -version |
--version |
--versio |
--versi |
--vers |
-V)
1061 ac_init_version
=: ;;
1064 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1067 as_fn_error $?
"invalid package name: $ac_useropt"
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval with_
$ac_useropt=\
$ac_optarg ;;
1079 -without-* |
--without-*)
1080 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error $?
"invalid package name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval with_
$ac_useropt=no
;;
1096 # Obsolete; use --with-x.
1099 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1100 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1101 ac_prev
=x_includes
;;
1102 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1103 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1104 x_includes
=$ac_optarg ;;
1106 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1107 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1108 ac_prev
=x_libraries
;;
1109 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1110 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1111 x_libraries
=$ac_optarg ;;
1113 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1114 Try \`$0 --help' for more information"
1118 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1119 # Reject names that are not valid shell variable names.
1120 case $ac_envvar in #(
1121 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1122 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1124 eval $ac_envvar=\
$ac_optarg
1125 export $ac_envvar ;;
1128 # FIXME: should be removed in autoconf 3.0.
1129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1138 if test -n "$ac_prev"; then
1139 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1140 as_fn_error $?
"missing argument to $ac_option"
1143 if test -n "$ac_unrecognized_opts"; then
1144 case $enable_option_checking in
1146 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1147 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1151 # Check all directory arguments for consistency.
1152 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1153 datadir sysconfdir sharedstatedir localstatedir includedir \
1154 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1155 libdir localedir mandir
1157 eval ac_val
=\$
$ac_var
1158 # Remove trailing slashes.
1161 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162 eval $ac_var=\
$ac_val;;
1164 # Be sure to have absolute directory names.
1166 [\\/$
]* | ?
:[\\/]* ) continue;;
1167 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1169 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1172 # There might be people who depend on the old broken behavior: `$host'
1173 # used to hold the argument of --host etc.
1174 # FIXME: To remove some day.
1177 target
=$target_alias
1179 # FIXME: To remove some day.
1180 if test "x$host_alias" != x
; then
1181 if test "x$build_alias" = x
; then
1182 cross_compiling
=maybe
1183 elif test "x$build_alias" != "x$host_alias"; then
1189 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1191 test "$silent" = yes && exec 6>/dev
/null
1194 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di
=`ls -di .` &&
1196 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1197 as_fn_error $?
"working directory cannot be determined"
1198 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199 as_fn_error $?
"pwd does not report name of working directory"
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted
=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir
=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$as_myself" : 'X\(//\)[^/]' \| \
1209 X"$as_myself" : 'X\(//\)$' \| \
1210 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1234 ac_srcdir_defaulted
=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1238 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1240 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1244 # When building in place, set srcdir=.
1245 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 # Remove unnecessary trailing slashes from srcdir.
1249 # Double slashes in file names in object file debugging info
1250 # mess up M-x gdb in Emacs.
1252 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1254 for ac_var
in $ac_precious_vars; do
1255 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1256 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1257 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1258 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1262 # Report the --help message.
1264 if test "$ac_init_help" = "long"; then
1265 # Omit some internal or obsolete options to make the list less imposing.
1266 # This message is too long to be a string in the A/UX 3.1 sh.
1268 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1270 Usage: $0 [OPTION]... [VAR=VALUE]...
1272 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1273 VAR=VALUE. See below for descriptions of some of the useful variables.
1275 Defaults for the options are specified in brackets.
1278 -h, --help display this help and exit
1279 --help=short display options specific to this package
1280 --help=recursive display the short help of all the included packages
1281 -V, --version display version information and exit
1282 -q, --quiet, --silent do not print \`checking ...' messages
1283 --cache-file=FILE cache test results in FILE [disabled]
1284 -C, --config-cache alias for \`--cache-file=config.cache'
1285 -n, --no-create do not create output files
1286 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1288 Installation directories:
1289 --prefix=PREFIX install architecture-independent files in PREFIX
1290 [$ac_default_prefix]
1291 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 By default, \`make install' will install all the files in
1295 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1296 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1297 for instance \`--prefix=\$HOME'.
1299 For better control, use the options below.
1301 Fine tuning of the installation directories:
1302 --bindir=DIR user executables [EPREFIX/bin]
1303 --sbindir=DIR system admin executables [EPREFIX/sbin]
1304 --libexecdir=DIR program executables [EPREFIX/libexec]
1305 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1306 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1307 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1308 --libdir=DIR object code libraries [EPREFIX/lib]
1309 --includedir=DIR C header files [PREFIX/include]
1310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1313 --infodir=DIR info documentation [DATAROOTDIR/info]
1314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1315 --mandir=DIR man documentation [DATAROOTDIR/man]
1316 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1317 --htmldir=DIR html documentation [DOCDIR]
1318 --dvidir=DIR dvi documentation [DOCDIR]
1319 --pdfdir=DIR pdf documentation [DOCDIR]
1320 --psdir=DIR ps documentation [DOCDIR]
1326 --build=BUILD configure
for building on BUILD
[guessed
]
1327 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1331 if test -n "$ac_init_help"; then
1332 case $ac_init_help in
1333 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1338 --disable-option-checking ignore unrecognized
--enable/--with options
1339 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1340 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1341 --disable-shared don
't provide a shared libgcc
1342 --disable-gcov don't provide libgcov and related
host tools
1343 --enable-vtable-verify Enable vtable verification feature
1344 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1345 --enable-maintainer-mode
1346 enable make rules and dependencies not useful
(and
1347 sometimes confusing
) to the casual installer
1348 --disable-largefile omit support
for large files
1349 --enable-decimal-float={no
,yes,bid
,dpd
}
1350 enable decimal float extension to C. Selecting
'bid'
1351 or
'dpd' choses
which decimal floating point format
1353 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1354 --enable-explicit-exception-frame-registration
1355 register exception tables explicitly
at module
1356 start
, for use e.g.
for compatibility with
1357 installations without PT_GNU_EH_FRAME support
1358 --enable-tls Use thread-local storage
[default
=yes]
1361 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1362 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1363 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1364 --with-cross-host=HOST Configuring with a cross compiler
1365 --with-ld arrange to use the specified ld
(full pathname
)
1366 --with-aix-soname=aix|svr4|both
1367 shared library versioning
(aka
"SONAME") variant to
1369 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1370 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1371 --with-system-libunwind use installed libunwind
1372 --with-glibc-version=M.N
1373 assume GCC used with glibc version M.N or later
1374 --with-gcc-major-version-only
1375 use only GCC major number
in filesystem paths
1377 Some influential environment variables
:
1378 CC C compiler
command
1379 CFLAGS C compiler flags
1380 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1381 nonstandard directory
<lib dir
>
1382 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1383 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1384 you have headers
in a nonstandard directory
<include dir
>
1387 Use these variables to override the choices made by
`configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1390 Report bugs to the package provider.
1391 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1392 General help using GNU software: <http://www.gnu.org/gethelp/>.
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1455 GNU C Runtime Library configure 1.0
1456 generated by GNU Autoconf 2.69
1458 Copyright (C) 2012 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1479 *) ac_try_echo
=$ac_try;;
1481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err
; then
1486 grep -v '^ *+' conftest.err
>conftest.er1
1487 cat conftest.er1
>&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.
$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status
$ac_retval
1505 } # ac_fn_c_try_compile
1507 # ac_fn_c_try_cpp LINENO
1508 # ----------------------
1509 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1512 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1513 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } > conftest.i && {
1529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1544 # ac_fn_c_try_run LINENO
1545 # ----------------------
1546 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1547 # that executables *can* be run.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_link"
1553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1554 *) ac_try_echo
=$ac_try;;
1556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>&5
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1562 { { case "(($ac_try" in
1563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_try") 2>&5
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; }; }; then :
1574 $as_echo "$as_me: program exited with status $ac_status" >&5
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1578 ac_retval=$ac_status
1580 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1586 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1587 # --------------------------------------------
1588 # Tries to find the compile-time value of EXPR in a program that includes
1589 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1591 ac_fn_c_compute_int ()
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if test "$cross_compiling" = yes; then
1595 # Depending upon the size, compute the lo and hi bounds.
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1602 static int test_array [1 - 2 * !(($2) >= 0)];
1604 return test_array [0];
1610 if ac_fn_c_try_compile "$LINENO"; then :
1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1619 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1621 return test_array [0];
1627 if ac_fn_c_try_compile "$LINENO"; then :
1628 ac_hi=$ac_mid; break
1630 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1631 if test $ac_lo -le $ac_mid; then
1635 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1646 static int test_array [1 - 2 * !(($2) < 0)];
1648 return test_array [0];
1654 if ac_fn_c_try_compile "$LINENO"; then :
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1663 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1665 return test_array [0];
1671 if ac_fn_c_try_compile "$LINENO"; then :
1672 ac_lo=$ac_mid; break
1674 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1675 if test $ac_mid -le $ac_hi; then
1679 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 # Binary search between lo and hi bounds.
1690 while test "x$ac_lo" != "x$ac_hi"; do
1691 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1698 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1700 return test_array [0];
1706 if ac_fn_c_try_compile "$LINENO"; then :
1709 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1721 static long int longval () { return $2; }
1722 static unsigned long int ulongval () { return $2; }
1729 FILE *f = fopen ("conftest.val", "w");
1734 long int i = longval ();
1737 fprintf (f, "%ld", i);
1741 unsigned long int i = ulongval ();
1744 fprintf (f, "%lu", i);
1746 /* Do not output a trailing newline, as this causes \r\n confusion
1747 on some platforms. */
1748 return ferror (f) || fclose (f) != 0;
1754 if ac_fn_c_try_run "$LINENO"; then :
1755 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1760 conftest.$ac_objext conftest.beam conftest.$ac_ext
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 as_fn_set_status $ac_retval
1767 } # ac_fn_c_compute_int
1769 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1770 # ----------------------------------------------
1771 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_preproc ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval \${$3+:} false; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1784 if ac_fn_c_try_cpp "$LINENO"; then :
1789 rm -f conftest.err conftest.i conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_header_preproc
1797 cat >config.log <<_ACEOF
1798 This file contains any messages produced by compilers while
1799 running configure, to aid debugging if configure makes a mistake.
1801 It was created by GNU C Runtime Library $as_me 1.0, which was
1802 generated by GNU Autoconf 2.69. Invocation command line was
1814 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1815 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1816 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1817 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1818 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1820 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1821 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1823 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1824 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1825 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1826 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1827 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1828 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1829 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 test -z "$as_dir" && as_dir=.
1838 $as_echo "PATH: $as_dir"
1854 # Keep a trace of the command line.
1855 # Strip out --no-create and --no-recursion so they do not pile up.
1856 # Strip out --silent because we don't want to record it for future runs.
1857 # Also quote any args containing shell meta-characters.
1858 # Make two passes to allow for proper duplicate-argument suppression.
1862 ac_must_keep_next=false
1868 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1870 | -silent | --silent | --silen | --sile | --sil)
1873 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1878 as_fn_append ac_configure_args1 " '$ac_arg'"
1879 if test $ac_must_keep_next = true; then
1880 ac_must_keep_next=false # Got value, back to normal.
1883 *=* | --config-cache | -C | -disable-* | --disable-* \
1884 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1885 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1886 | -with-* | --with-* | -without-* | --without-* | --x)
1887 case "$ac_configure_args0 " in
1888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1891 -* ) ac_must_keep_next=true ;;
1894 as_fn_append ac_configure_args " '$ac_arg'"
1899 { ac_configure_args0=; unset ac_configure_args0;}
1900 { ac_configure_args1=; unset ac_configure_args1;}
1902 # When interrupted or exit'd, cleanup temporary files, and complete
1903 # config.log. We remove comments because anyway the quotes in there
1904 # would cause problems or look ugly.
1905 # WARNING: Use '\'' to represent an apostrophe within the trap.
1906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907 trap 'exit_status=$?
1908 # Save into config.log some information that might help in debugging.
1912 $as_echo "## ---------------- ##
1913 ## Cache variables. ##
1914 ## ---------------- ##"
1916 # The following way of writing the cache mishandles newlines in values,
1918 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1919 eval ac_val=\$$ac_var
1923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1927 _ | IFS | as_nl) ;; #(
1928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929 *) { eval $ac_var=; unset $ac_var;} ;;
1934 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1935 *${as_nl}ac_space=\ *)
1937 "s/'\''/'\''\\\\'\'''\''/g;
1938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1948 $as_echo "## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##"
1952 for ac_var in $ac_subst_vars
1954 eval ac_val=\$$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1962 if test -n "$ac_subst_files"; then
1963 $as_echo "## ------------------- ##
1964 ## File substitutions. ##
1965 ## ------------------- ##"
1967 for ac_var in $ac_subst_files
1969 eval ac_val=\$$ac_var
1971 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1973 $as_echo "$ac_var='\''$ac_val'\''"
1978 if test -s confdefs.h; then
1979 $as_echo "## ----------- ##
1986 test "$ac_signal" != 0 &&
1987 $as_echo "$as_me: caught signal $ac_signal"
1988 $as_echo "$as_me: exit $exit_status"
1990 rm -f core *.core core.conftest.* &&
1991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1994 for ac_signal in 1 2 13 15; do
1995 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2000 rm -f -r conftest* confdefs.h
2002 $as_echo "/* confdefs.h */" > confdefs.h
2004 # Predefined preprocessor variables.
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_NAME "$PACKAGE_NAME"
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_STRING "$PACKAGE_STRING"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_URL "$PACKAGE_URL"
2031 # Let the site file select an alternate cache file if it wants to.
2032 # Prefer an explicitly selected file to automatically selected ones.
2035 if test -n "$CONFIG_SITE"; then
2036 # We do not want a PATH search for config.site.
2037 case $CONFIG_SITE in #((
2038 -*) ac_site_file1=./$CONFIG_SITE;;
2039 */*) ac_site_file1=$CONFIG_SITE;;
2040 *) ac_site_file1=./$CONFIG_SITE;;
2042 elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2057 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059 as_fn_error $? "failed to load site
script $ac_site_file
2060 See \
`config.log' for more details" "$LINENO" 5; }
2064 if test -r "$cache_file"; then
2065 # Some versions of bash will fail to source /dev/null (special files
2066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2067 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2069 $as_echo "$as_me: loading cache $cache_file" >&6;}
2071 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072 *) . "./$cache_file";;
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077 $as_echo "$as_me: creating cache $cache_file" >&6;}
2081 # Check that the precious variables saved in the cache have kept the same
2083 ac_cache_corrupted=false
2084 for ac_var in $ac_precious_vars; do
2085 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2086 eval ac_new_set=\$ac_env_${ac_var}_set
2087 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2088 eval ac_new_val=\$ac_env_${ac_var}_value
2089 case $ac_old_set,$ac_new_set in
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2092 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2096 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2097 ac_cache_corrupted=: ;;
2100 if test "x$ac_old_val" != "x$ac_new_val"; then
2101 # differences in whitespace do not lead to failure.
2102 ac_old_val_w=`echo x
$ac_old_val`
2103 ac_new_val_w=`echo x
$ac_new_val`
2104 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2106 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2107 ac_cache_corrupted=:
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2110 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2111 eval $ac_var=\$ac_old_val
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2114 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2116 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2119 # Pass precious variables to config.status.
2120 if test "$ac_new_set" = set; then
2122 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2123 *) ac_arg=$ac_var=$ac_new_val ;;
2125 case " $ac_configure_args " in
2126 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2127 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2131 if $ac_cache_corrupted; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2135 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2138 ## -------------------- ##
2139 ## Main body of script. ##
2140 ## -------------------- ##
2143 ac_cpp='$CPP $CPPFLAGS'
2144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2154 # The libgcc should not depend on any header files
2158 # Check whether --with-target-subdir was given.
2159 if test "${with_target_subdir+set}" = set; then :
2160 withval=$with_target_subdir;
2164 # Check whether --with-cross-host was given.
2165 if test "${with_cross_host+set}" = set; then :
2166 withval=$with_cross_host;
2170 # Check whether --with-ld was given.
2171 if test "${with_ld+set}" = set; then :
2176 if test "${srcdir}" = "."; then
2177 if test -n "${with_build_subdir}"; then
2178 libgcc_topdir="${srcdir}/../.."
2180 elif test -z "${with_target_subdir}"; then
2181 libgcc_topdir="${srcdir}/.."
2183 if test "${with_target_subdir}" != "."; then
2184 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2186 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2190 libgcc_topdir="${srcdir}/.."
2194 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2195 if test -f "$ac_dir/install-sh"; then
2197 ac_install_sh="$ac_aux_dir/install-sh -c"
2199 elif test -f "$ac_dir/install.sh"; then
2201 ac_install_sh="$ac_aux_dir/install.sh -c"
2203 elif test -f "$ac_dir/shtool"; then
2205 ac_install_sh="$ac_aux_dir/shtool install -c"
2209 if test -z "$ac_aux_dir"; then
2210 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2213 # These three variables are undocumented and unsupported,
2214 # and are intended to be withdrawn in a future Autoconf release.
2215 # They can cause serious problems if a builder's source tree is in a directory
2216 # whose full name contains unusual characters.
2217 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2218 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2219 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2222 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2225 # Check whether --enable-shared was given.
2226 if test "${enable_shared+set}" = set; then :
2227 enableval=$enable_shared;
2228 case $enable_shared in
2232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2233 for pkg in $enableval; do
2234 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2248 # Check whether --enable-gcov was given.
2249 if test "${enable_gcov+set}" = set; then :
2250 enableval=$enable_gcov;
2257 # Check whether --enable-vtable-verify was given.
2258 if test "${enable_vtable_verify+set}" = set; then :
2259 enableval=$enable_vtable_verify; case "$enableval" in
2260 yes) enable_vtable_verify=yes ;;
2261 no) enable_vtable_verify=no ;;
2262 *) enable_vtable_verify=no;;
2265 enable_vtable_verify=no
2271 # Check whether --with-aix-soname was given.
2272 if test "${with_aix_soname+set}" = set; then :
2273 withval=$with_aix_soname; case "${host}:${enable_shared}" in
2274 power*-*-aix[5-9]*:yes)
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2276 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2279 *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2282 $as_echo "$withval" >&6; }
2284 *) with_aix_soname=aix ;;
2293 # Make sure we can run config.sub.
2294 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2295 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2298 $as_echo_n "checking build system type... " >&6; }
2299 if ${ac_cv_build+:} false; then :
2300 $as_echo_n "(cached) " >&6
2302 ac_build_alias=$build_alias
2303 test "x$ac_build_alias" = x &&
2304 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2305 test "x$ac_build_alias" = x &&
2306 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2307 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2308 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2312 $as_echo "$ac_cv_build" >&6; }
2313 case $ac_cv_build in
2315 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2318 ac_save_IFS=$IFS; IFS='-'
2324 # Remember, the first character of IFS is used to create $*,
2325 # except with old shells:
2328 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2332 $as_echo_n "checking host system type... " >&6; }
2333 if ${ac_cv_host+:} false; then :
2334 $as_echo_n "(cached) " >&6
2336 if test "x$host_alias" = x; then
2337 ac_cv_host=$ac_cv_build
2339 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2340 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2345 $as_echo "$ac_cv_host" >&6; }
2348 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2351 ac_save_IFS=$IFS; IFS='-'
2357 # Remember, the first character of IFS is used to create $*,
2358 # except with old shells:
2361 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2369 # PIC is the default on some targets or must not be used.
2371 # For darwin, common symbols are not allowed in MH_DYLIB files
2373 # If we are using a compiler supporting mdynamic-no-pic
2374 # and the option has been tested as safe to add, then cancel
2375 # it here, since the code generated is incompatible with shared
2377 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
2378 *) PICFLAG=-fno-common ;;
2382 # PIC is the default.
2385 # PIC is the default for 64-bit PA HP-UX.
2387 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2389 i[34567]86-*-mingw* | x86_64-*-mingw*)
2391 i[34567]86-*-interix[3-9]*)
2392 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2393 # Instead, we relocate shared libraries at runtime.
2395 i[34567]86-*-nto-qnx*)
2396 # QNX uses GNU C++, but need to define -shared option too, otherwise
2398 PICFLAG='-fPIC -shared'
2400 i[34567]86-pc-msdosdjgpp*)
2401 # DJGPP does not support shared libraries at all.
2404 # On IA64 HP-UX, PIC is the default but the pic flag
2405 # sets the default TLS model and affects inlining.
2409 # PIC is the default.
2411 rs6000-ibm-aix* | powerpc-ibm-aix*)
2412 # All AIX code is PIC.
2415 # Some targets support both -fPIC and -fpic, but prefer the latter.
2417 i[34567]86-*-* | x86_64-*-*)
2420 # FIXME: Override -fPIC default in libgcc only?
2421 sh-*-linux* | sh[2346lbe]*-*-linux*)
2424 # FIXME: Simplify to sh*-*-netbsd*?
2425 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2426 sh64-*-netbsd* | sh64l*-*-netbsd*)
2429 # Default to -fPIC unless specified otherwise.
2435 # If the user explicitly uses -fpic/-fPIC, keep that.
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2448 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2449 # Check whether --enable-version-specific-runtime-libs was given.
2450 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2451 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2452 yes) version_specific_libs=yes ;;
2453 no) version_specific_libs=no ;;
2454 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2457 version_specific_libs=no
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2461 $as_echo "$version_specific_libs" >&6; }
2464 # Check whether --with-slibdir was given.
2465 if test "${with_slibdir+set}" = set; then :
2466 withval=$with_slibdir; slibdir="$with_slibdir"
2468 if test "${version_specific_libs}" = yes; then
2469 slibdir='$(libsubdir)'
2470 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2471 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2479 # Command-line options.
2480 # Very limited version of AC_MAINTAINER_MODE.
2481 # Check whether --enable-maintainer-mode was given.
2482 if test "${enable_maintainer_mode+set}" = set; then :
2483 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2486 *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2488 maintainer_mode=${enableval}
2494 # Find a good install program. We prefer a C program (faster),
2495 # so one script is as good as another. But avoid the broken or
2496 # incompatible versions:
2497 # SysV /etc/install, /usr/sbin/install
2498 # SunOS /usr/etc/install
2499 # IRIX /sbin/install
2501 # AmigaOS /C/install, which installs bootblocks on floppy discs
2502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2505 # OS/2's system install, which has a completely different semantic
2506 # ./install, which can be erroneously created by make from ./install.sh.
2507 # Reject install programs that cannot install multiple files.
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2510 if test -z "$INSTALL"; then
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir=.
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in #((
2521 ./ | .// | /[cC]/* | \
2522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2526 # OSF1 and SCO ODT 3.0 have their own names for install.
2527 # Don't use installbsd from OSF since it installs stuff as root
2529 for ac_prog in ginstall scoinst install; do
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2532 if test $ac_prog = install &&
2533 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2534 # AIX install. It has an incompatible calling convention.
2536 elif test $ac_prog = install &&
2537 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2538 # program-specific install script used by HP pwplus--don't use.
2541 rm -rf conftest.one conftest.two conftest.dir
2542 echo one > conftest.one
2543 echo two > conftest.two
2545 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2546 test -s conftest.one && test -s conftest.two &&
2547 test -s conftest.dir/conftest.one &&
2548 test -s conftest.dir/conftest.two
2550 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2563 rm -rf conftest.one conftest.two conftest.dir
2566 if test "${ac_cv_path_install+set}" = set; then
2567 INSTALL=$ac_cv_path_install
2569 # As a last resort, use the slow shell script. Don't cache a
2570 # value for INSTALL within a source directory, because that will
2571 # break other packages using the cache if that directory is
2572 # removed, or if the value is a relative name.
2573 INSTALL=$ac_install_sh
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
2579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2580 # It thinks the first close brace ends the variable substitution.
2581 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2583 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2585 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2588 for ac_prog in gawk mawk nawk awk
2590 # Extract the first word of "$ac_prog", so it can be a program name with args.
2591 set dummy $ac_prog; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_AWK+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$AWK"; then
2598 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607 ac_cv_prog_AWK="$ac_prog"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test -n "$AWK"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2620 $as_echo "$AWK" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2627 test -n "$AWK" && break
2630 # We need awk; bail out if it's missing.
2632 "") as_fn_error $? "can't build without awk, bailing out" "$LINENO" 5 ;;
2636 case ${build_alias} in
2637 "") build_noncanonical=${build} ;;
2638 *) build_noncanonical=${build_alias} ;;
2641 case ${host_alias} in
2642 "") host_noncanonical=${build_noncanonical} ;;
2643 *) host_noncanonical=${host_alias} ;;
2648 case ${target_alias} in
2649 "") target_noncanonical=${host_noncanonical} ;;
2650 *) target_noncanonical=${target_alias} ;;
2656 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2657 # have matching libraries, they should use host libraries: Makefile.tpl
2658 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2659 # However, they still use the build modules, because the corresponding
2660 # host modules (e.g. bison) are only built for the host when bootstrap
2662 # - build_subdir is where we find build modules, and never changes.
2663 # - build_libsubdir is where we find build libraries, and can be overridden.
2665 # Prefix 'build-' so this never conflicts with target_subdir.
2666 build_subdir="build-${build_noncanonical}"
2668 # Check whether --with-build-libsubdir was given.
2669 if test "${with_build_libsubdir+set}" = set; then :
2670 withval=$with_build_libsubdir; build_libsubdir="$withval"
2672 build_libsubdir="$build_subdir"
2675 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2676 if ( test $srcdir = . && test -d gcc ) \
2677 || test -d $srcdir/../host-${host_noncanonical}; then
2678 host_subdir="host-${host_noncanonical}"
2683 target_subdir=${target_noncanonical}
2686 # Calculate toolexeclibdir
2687 # Also toolexecdir, though it's only used in toolexeclibdir
2688 case ${version_specific_libs} in
2690 # Need the gcc compiler version to know where to install libraries
2691 # and header files if --enable-version-specific-runtime-libs option
2693 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2694 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2697 if test -n "$with_cross_host" &&
2698 test x"$with_cross_host" != x"no"; then
2699 # Install a library built with a cross compiler in tooldir, not libdir.
2700 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2701 toolexeclibdir='$(toolexecdir)/lib'
2703 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2704 toolexeclibdir='$(libdir)'
2706 multi_os_directory=`$CC -print-multi-os-directory`
2707 case $multi_os_directory in
2708 .) ;; # Avoid trailing /.
2709 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}ar; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_AR+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$AR"; then
2725 ac_cv_prog_AR="$AR" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734 ac_cv_prog_AR="${ac_tool_prefix}ar"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$AR"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2747 $as_echo "$AR" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_prog_AR"; then
2757 # Extract the first word of "ar", so it can be a program name with args.
2758 set dummy ar; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$ac_ct_AR"; then
2765 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_ac_ct_AR="ar"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2785 if test -n "$ac_ct_AR"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2787 $as_echo "$ac_ct_AR" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2793 if test "x$ac_ct_AR" = x; then
2796 case $cross_compiling:$ac_tool_warned in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned=yes ;;
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2810 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_LIPO+:} false; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$LIPO"; then
2817 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 LIPO=$ac_cv_prog_LIPO
2837 if test -n "$LIPO"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2839 $as_echo "$LIPO" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2847 if test -z "$ac_cv_prog_LIPO"; then
2849 # Extract the first word of "lipo", so it can be a program name with args.
2850 set dummy lipo; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$ac_ct_LIPO"; then
2857 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_LIPO="lipo"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2877 if test -n "$ac_ct_LIPO"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2879 $as_echo "$ac_ct_LIPO" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2885 if test "x$ac_ct_LIPO" = x; then
2888 case $cross_compiling:$ac_tool_warned in
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2892 ac_tool_warned=yes ;;
2897 LIPO="$ac_cv_prog_LIPO"
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2902 set dummy ${ac_tool_prefix}nm; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_NM+:} false; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$NM"; then
2909 ac_cv_prog_NM="$NM" # Let the user override the test.
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_NM="${ac_tool_prefix}nm"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$NM"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2931 $as_echo "$NM" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_NM"; then
2941 # Extract the first word of "nm", so it can be a program name with args.
2942 set dummy nm; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_NM+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_NM"; then
2949 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_ac_ct_NM="nm"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2969 if test -n "$ac_ct_NM"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2971 $as_echo "$ac_ct_NM" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_NM" = x; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned=yes ;;
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2994 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_RANLIB+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$RANLIB"; then
3001 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 RANLIB=$ac_cv_prog_RANLIB
3021 if test -n "$RANLIB"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3023 $as_echo "$RANLIB" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3031 if test -z "$ac_cv_prog_RANLIB"; then
3032 ac_ct_RANLIB=$RANLIB
3033 # Extract the first word of "ranlib", so it can be a program name with args.
3034 set dummy ranlib; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$ac_ct_RANLIB"; then
3041 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_RANLIB="ranlib"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3061 if test -n "$ac_ct_RANLIB"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3063 $as_echo "$ac_ct_RANLIB" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3069 if test "x$ac_ct_RANLIB" = x; then
3072 case $cross_compiling:$ac_tool_warned in
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3076 ac_tool_warned=yes ;;
3078 RANLIB=$ac_ct_RANLIB
3081 RANLIB="$ac_cv_prog_RANLIB"
3084 if test -n "$ac_tool_prefix"; then
3085 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3086 set dummy ${ac_tool_prefix}strip; ac_word=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_STRIP+:} false; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$STRIP"; then
3093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 STRIP=$ac_cv_prog_STRIP
3113 if test -n "$STRIP"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3115 $as_echo "$STRIP" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3123 if test -z "$ac_cv_prog_STRIP"; then
3125 # Extract the first word of "strip", so it can be a program name with args.
3126 set dummy strip; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$ac_ct_STRIP"; then
3133 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_ac_ct_STRIP="strip"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3153 if test -n "$ac_ct_STRIP"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3155 $as_echo "$ac_ct_STRIP" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3161 if test "x$ac_ct_STRIP" = x; then
3164 case $cross_compiling:$ac_tool_warned in
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3168 ac_tool_warned=yes ;;
3173 STRIP="$ac_cv_prog_STRIP"
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3177 $as_echo_n "checking whether ln -s works... " >&6; }
3179 if test "$LN_S" = "ln -s"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3181 $as_echo "yes" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3184 $as_echo "no, using $LN_S" >&6; }
3190 ac_cpp='$CPP $CPPFLAGS'
3191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3194 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3196 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC="$CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test -n "$CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3233 if test -z "$ac_cv_prog_CC"; then
3235 # Extract the first word of "gcc", so it can be a program name with args.
3236 set dummy gcc; ac_word=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 if test -n "$ac_ct_CC"; then
3243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_ac_ct_CC="gcc"
3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3263 if test -n "$ac_ct_CC"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3265 $as_echo "$ac_ct_CC" >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3271 if test "x$ac_ct_CC" = x; then
3274 case $cross_compiling:$ac_tool_warned in
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278 ac_tool_warned=yes ;;
3286 if test -z "$CC"; then
3287 if test -n "$ac_tool_prefix"; then
3288 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3289 set dummy ${ac_tool_prefix}cc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC="$CC" # Let the user override the test.
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305 ac_cv_prog_CC="${ac_tool_prefix}cc"
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 if test -n "$CC"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3318 $as_echo "$CC" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3327 if test -z "$CC"; then
3328 # Extract the first word of "cc", so it can be a program name with args.
3329 set dummy cc; ac_word=$2
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3331 $as_echo_n "checking for $ac_word... " >&6; }
3332 if ${ac_cv_prog_CC+:} false; then :
3333 $as_echo_n "(cached) " >&6
3335 if test -n "$CC"; then
3336 ac_cv_prog_CC="$CC" # Let the user override the test.
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3347 ac_prog_rejected=yes
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3358 if test $ac_prog_rejected = yes; then
3359 # We found a bogon in the path, so make sure we never use it.
3360 set dummy $ac_cv_prog_CC
3362 if test $# != 0; then
3363 # We chose a different compiler from the bogus one.
3364 # However, it has the same basename, so the bogon will be chosen
3365 # first if we set CC to just the basename; use the full file name.
3367 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3373 if test -n "$CC"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3383 if test -z "$CC"; then
3384 if test -n "$ac_tool_prefix"; then
3385 for ac_prog in cl.exe
3387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if ${ac_cv_prog_CC+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 if test -n "$CC"; then
3395 ac_cv_prog_CC="$CC" # Let the user override the test.
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 if test -n "$CC"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3417 $as_echo "$CC" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3424 test -n "$CC" && break
3427 if test -z "$CC"; then
3429 for ac_prog in cl.exe
3431 # Extract the first word of "$ac_prog", so it can be a program name with args.
3432 set dummy $ac_prog; ac_word=$2
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -n "$ac_ct_CC"; then
3439 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_ac_ct_CC="$ac_prog"
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3459 if test -n "$ac_ct_CC"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3461 $as_echo "$ac_ct_CC" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3468 test -n "$ac_ct_CC" && break
3471 if test "x$ac_ct_CC" = x; then
3474 case $cross_compiling:$ac_tool_warned in
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3478 ac_tool_warned=yes ;;
3487 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3490 See \
`config.log' for more details" "$LINENO" 5; }
3492 # Provide some information about the compiler.
3493 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3496 for ac_option in --version -v -V -qversion; do
3497 { { ac_try="$ac_compiler $ac_option >&5"
3499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3500 *) ac_try_echo
=$ac_try;;
3502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503 $as_echo "$ac_try_echo"; } >&5
3504 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3506 if test -s conftest.err
; then
3508 ... rest of stderr output deleted ...
3509 10q' conftest.err
>conftest.er1
3510 cat conftest.er1
>&5
3512 rm -f conftest.er1 conftest.err
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }
3517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3530 (eval $ac_link) 2>&5
3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533 test $ac_status = 0; }; then :
3538 if test x
$gcc_no_link = xyes
; then
3539 # Setting cross_compile will disable run tests; it will
3540 # also disable AC_CHECK_FILE but that's generally
3541 # correct if we can't link.
3545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3556 ac_clean_files_save
=$ac_clean_files
3557 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3558 # Try to create an executable without -o first, disregard a.out.
3559 # It will help us diagnose broken compilers, and finding out an intuition
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3562 $as_echo_n "checking whether the C compiler works... " >&6; }
3563 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3565 # The possible output files:
3566 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3569 for ac_file
in $ac_files
3572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3573 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3578 if { { ac_try
="$ac_link_default"
3580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 $as_echo "$ac_try_echo"; } >&5
3585 (eval "$ac_link_default") 2>&5
3587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588 test $ac_status = 0; }; then :
3589 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3590 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3591 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3592 # so that the user can short-circuit this test for compilers unknown to
3594 for ac_file in $ac_files ''
3596 test -f "$ac_file" || continue
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3601 # We found the default executable, but exeext='' is most
3605 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3607 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3609 # We set ac_cv_exeext here because the later test for it is not
3610 # safe: cross compilers may not add the suffix if given an `-o'
3611 # argument, so we may need to know it at that point already.
3612 # Even if this section looks crufty: it has the advantage of
3619 test "$ac_cv_exeext" = no && ac_cv_exeext=
3624 if test -z "$ac_file"; then :
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3627 $as_echo "$as_me: failed program was:" >&5
3628 sed 's
/^
/|
/' conftest.$ac_ext >&5
3630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3632 as_fn_error 77 "C compiler cannot create executables
3633 See \`config.log
' for more details" "$LINENO" 5; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3636 $as_echo "yes" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3639 $as_echo_n "checking for C compiler default output file name... " >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3641 $as_echo "$ac_file" >&6; }
3642 ac_exeext=$ac_cv_exeext
3644 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3645 ac_clean_files=$ac_clean_files_save
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3647 $as_echo_n "checking for suffix of executables... " >&6; }
3648 if { { ac_try="$ac_link"
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654 $as_echo "$ac_try_echo"; } >&5
3655 (eval "$ac_link") 2>&5
3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 test $ac_status = 0; }; then :
3659 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3660 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3661 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3663 for ac_file
in conftest.exe conftest conftest.
*; do
3664 test -f "$ac_file" ||
continue
3666 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3667 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3676 See \`config.log' for more details" "$LINENO" 5; }
3678 rm -f conftest conftest
$ac_cv_exeext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3680 $as_echo "$ac_cv_exeext" >&6; }
3682 rm -f conftest.
$ac_ext
3683 EXEEXT
=$ac_cv_exeext
3685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3691 FILE *f = fopen ("conftest.out", "w");
3692 return ferror (f) || fclose (f) != 0;
3698 ac_clean_files
="$ac_clean_files conftest.out"
3699 # Check that the compiler produces executables we can run. If not, either
3700 # the compiler is broken, or we cross compile.
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3702 $as_echo_n "checking whether we are cross compiling... " >&6; }
3703 if test "$cross_compiling" != yes; then
3704 { { ac_try
="$ac_link"
3706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710 $as_echo "$ac_try_echo"; } >&5
3711 (eval "$ac_link") 2>&5
3713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3714 test $ac_status = 0; }
3715 if { ac_try='./conftest$ac_cv_exeext'
3716 { { case "(($ac_try" in
3717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3718 *) ac_try_echo
=$ac_try;;
3720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_try") 2>&5
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }; }; then
3728 if test "$cross_compiling" = maybe
; then
3731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 as_fn_error $?
"cannot run C compiled programs.
3734 If you meant to cross compile, use \`--host'.
3735 See \`config.log' for more details" "$LINENO" 5; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740 $as_echo "$cross_compiling" >&6; }
3742 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3743 ac_clean_files
=$ac_clean_files_save
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3746 $as_echo_n "checking for suffix of object files... " >&6; }
3747 if ${ac_cv_objext+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3761 rm -f conftest.o conftest.obj
3762 if { { ac_try
="$ac_compile"
3764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_compile") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }; then :
3773 for ac_file in conftest.o conftest.obj conftest.*; do
3774 test -f "$ac_file" || continue;
3776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3777 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3782 $as_echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3788 See \
`config.log' for more details" "$LINENO" 5; }
3790 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3793 $as_echo "$ac_cv_objext" >&6; }
3794 OBJEXT=$ac_cv_objext
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3797 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3798 if ${ac_cv_c_compiler_gnu+:} false; then :
3799 $as_echo_n "(cached) " >&6
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3825 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3826 if test $ac_compiler_gnu = yes; then
3831 ac_test_CFLAGS=${CFLAGS+set}
3832 ac_save_CFLAGS=$CFLAGS
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3834 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3835 if ${ac_cv_prog_cc_g+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 ac_save_c_werror_flag=$ac_c_werror_flag
3839 ac_c_werror_flag=yes
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3853 if ac_fn_c_try_compile "$LINENO"; then :
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 if ac_fn_c_try_compile "$LINENO"; then :
3871 ac_c_werror_flag=$ac_save_c_werror_flag
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3884 if ac_fn_c_try_compile "$LINENO"; then :
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_c_werror_flag=$ac_save_c_werror_flag
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3895 $as_echo "$ac_cv_prog_cc_g" >&6; }
3896 if test "$ac_test_CFLAGS" = set; then
3897 CFLAGS=$ac_save_CFLAGS
3898 elif test $ac_cv_prog_cc_g = yes; then
3899 if test "$GCC" = yes; then
3905 if test "$GCC" = yes; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3912 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3913 if ${ac_cv_prog_cc_c89+:} false; then :
3914 $as_echo_n "(cached) " >&6
3916 ac_cv_prog_cc_c89=no
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3924 struct buf { int x; };
3925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3926 static char *e (p, i)
3932 static char *f (char * (*g) (char **, int), char **p, ...)
3937 s = g (p, va_arg (v,int));
3942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3943 function prototypes and stuff, but not '\xHH' hex character constants.
3944 These don't provoke an error unfortunately, instead are silently treated
3945 as 'x'. The following induces an error, until -std is added to get
3946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3947 array size at least. It's necessary to write '\x00'==0 to get something
3948 that's true only with -std. */
3949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3951 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3952 inside strings and character constants. */
3954 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3956 int test (int i, double x);
3957 struct s1 {int (*f) (int a);};
3958 struct s2 {int (*f) (double a);};
3959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3965 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3971 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3973 CC="$ac_save_CC $ac_arg"
3974 if ac_fn_c_try_compile "$LINENO"; then :
3975 ac_cv_prog_cc_c89=$ac_arg
3977 rm -f core conftest.err conftest.$ac_objext
3978 test "x$ac_cv_prog_cc_c89" != "xno" && break
3980 rm -f conftest.$ac_ext
3985 case "x$ac_cv_prog_cc_c89" in
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3988 $as_echo "none needed" >&6; } ;;
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3991 $as_echo "unsupported" >&6; } ;;
3993 CC="$CC $ac_cv_prog_cc_c89"
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3995 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3997 if test "x$ac_cv_prog_cc_c89" != xno; then :
4002 ac_cpp='$CPP $CPPFLAGS'
4003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008 ac_cpp='$CPP $CPPFLAGS'
4009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4014 # On Suns, sometimes $CPP names a directory.
4015 if test -n "$CPP" && test -d "$CPP"; then
4018 if test -z "$CPP"; then
4019 if ${ac_cv_prog_CPP+:} false; then :
4020 $as_echo_n "(cached) " >&6
4022 # Double quotes because CPP needs to be expanded
4023 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4026 for ac_c_preproc_warn_flag in '' yes
4028 # Use a header file that comes with gcc, so configuring glibc
4029 # with a fresh cross-compiler works.
4030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4031 # <limits.h> exists even on freestanding compilers.
4032 # On the NeXT, cc -E runs the code through the compiler's parser,
4033 # not just through cpp. "Syntax error" is here to catch this case.
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4037 # include <limits.h>
4039 # include <assert.h>
4043 if ac_fn_c_try_cpp "$LINENO"; then :
4046 # Broken: fails on valid input.
4049 rm -f conftest.err conftest.i conftest.$ac_ext
4051 # OK, works on sane cases. Now check whether nonexistent headers
4052 # can be detected and how.
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4055 #include <ac_nonexistent.h>
4057 if ac_fn_c_try_cpp "$LINENO"; then :
4058 # Broken: success on invalid input.
4061 # Passes both tests.
4065 rm -f conftest.err conftest.i conftest.$ac_ext
4068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4069 rm -f conftest.i conftest.err conftest.
$ac_ext
4070 if $ac_preproc_ok; then :
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4083 $as_echo "$CPP" >&6; }
4085 for ac_c_preproc_warn_flag
in '' yes
4087 # Use a header file that comes with gcc, so configuring glibc
4088 # with a fresh cross-compiler works.
4089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4090 # <limits.h> exists even on freestanding compilers.
4091 # On the NeXT, cc -E runs the code through the compiler's parser,
4092 # not just through cpp. "Syntax error" is here to catch this case.
4093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4096 # include <limits.h>
4098 # include <assert.h>
4102 if ac_fn_c_try_cpp
"$LINENO"; then :
4105 # Broken: fails on valid input.
4108 rm -f conftest.err conftest.i conftest.
$ac_ext
4110 # OK, works on sane cases. Now check whether nonexistent headers
4111 # can be detected and how.
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114 #include <ac_nonexistent.h>
4116 if ac_fn_c_try_cpp
"$LINENO"; then :
4117 # Broken: success on invalid input.
4120 # Passes both tests.
4124 rm -f conftest.err conftest.i conftest.
$ac_ext
4127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4128 rm -f conftest.i conftest.err conftest.
$ac_ext
4129 if $ac_preproc_ok; then :
4132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4135 See \`config.log' for more details" "$LINENO" 5; }
4139 ac_cpp
='$CPP $CPPFLAGS'
4140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4145 ac_c_preproc_warn_flag
=yes
4148 # Check whether --enable-largefile was given.
4149 if test "${enable_largefile+set}" = set; then :
4150 enableval
=$enable_largefile;
4153 if test "$enable_largefile" != no
; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4156 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4157 if ${ac_cv_sys_largefile_CC+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 ac_cv_sys_largefile_CC
=no
4161 if test "$GCC" != yes; then
4164 # IRIX 6.2 and later do not support large files by default,
4165 # so use the C compiler's -n32 option if that helps.
4166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4168 #include <sys/types.h>
4169 /* Check that off_t can represent 2**63 - 1 correctly.
4170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4171 since some C++ compilers masquerading as C compilers
4172 incorrectly reject 9223372036854775807. */
4173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4175 && LARGE_OFF_T % 2147483647 == 1)
4185 if ac_fn_c_try_compile
"$LINENO"; then :
4188 rm -f core conftest.err conftest.
$ac_objext
4190 if ac_fn_c_try_compile
"$LINENO"; then :
4191 ac_cv_sys_largefile_CC
=' -n32'; break
4193 rm -f core conftest.err conftest.
$ac_objext
4197 rm -f conftest.
$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4201 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4202 if test "$ac_cv_sys_largefile_CC" != no
; then
4203 CC
=$CC$ac_cv_sys_largefile_CC
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4207 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4208 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4209 $as_echo_n "(cached) " >&6
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 #include <sys/types.h>
4215 /* Check that off_t can represent 2**63 - 1 correctly.
4216 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4217 since some C++ compilers masquerading as C compilers
4218 incorrectly reject 9223372036854775807. */
4219 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4220 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4221 && LARGE_OFF_T % 2147483647 == 1)
4231 if ac_fn_c_try_compile
"$LINENO"; then :
4232 ac_cv_sys_file_offset_bits
=no
; break
4234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4237 #define _FILE_OFFSET_BITS 64
4238 #include <sys/types.h>
4239 /* Check that off_t can represent 2**63 - 1 correctly.
4240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4241 since some C++ compilers masquerading as C compilers
4242 incorrectly reject 9223372036854775807. */
4243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4245 && LARGE_OFF_T % 2147483647 == 1)
4255 if ac_fn_c_try_compile
"$LINENO"; then :
4256 ac_cv_sys_file_offset_bits
=64; break
4258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 ac_cv_sys_file_offset_bits
=unknown
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4264 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4265 case $ac_cv_sys_file_offset_bits in #(
4268 cat >>confdefs.h
<<_ACEOF
4269 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4274 if test $ac_cv_sys_file_offset_bits = unknown
; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4276 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4277 if ${ac_cv_sys_large_files+:} false
; then :
4278 $as_echo_n "(cached) " >&6
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283 #include <sys/types.h>
4284 /* Check that off_t can represent 2**63 - 1 correctly.
4285 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4286 since some C++ compilers masquerading as C compilers
4287 incorrectly reject 9223372036854775807. */
4288 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4289 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4290 && LARGE_OFF_T % 2147483647 == 1)
4300 if ac_fn_c_try_compile
"$LINENO"; then :
4301 ac_cv_sys_large_files
=no
; break
4303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #define _LARGE_FILES 1
4307 #include <sys/types.h>
4308 /* Check that off_t can represent 2**63 - 1 correctly.
4309 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4310 since some C++ compilers masquerading as C compilers
4311 incorrectly reject 9223372036854775807. */
4312 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4313 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4314 && LARGE_OFF_T % 2147483647 == 1)
4324 if ac_fn_c_try_compile
"$LINENO"; then :
4325 ac_cv_sys_large_files
=1; break
4327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4328 ac_cv_sys_large_files
=unknown
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4333 $as_echo "$ac_cv_sys_large_files" >&6; }
4334 case $ac_cv_sys_large_files in #(
4337 cat >>confdefs.h
<<_ACEOF
4338 #define _LARGE_FILES $ac_cv_sys_large_files
4350 # The cast to long int works around a bug in the HP C Compiler
4351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4353 # This bug is HP SR number 8606223364.
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4355 $as_echo_n "checking size of double... " >&6; }
4356 if ${ac_cv_sizeof_double+:} false
; then :
4357 $as_echo_n "(cached) " >&6
4359 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4362 if test "$ac_cv_type_double" = yes; then
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error
77 "cannot compute sizeof (double)
4366 See \`config.log' for more details" "$LINENO" 5; }
4368 ac_cv_sizeof_double
=0
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4374 $as_echo "$ac_cv_sizeof_double" >&6; }
4378 cat >>confdefs.h
<<_ACEOF
4379 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4383 # The cast to long int works around a bug in the HP C Compiler
4384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4386 # This bug is HP SR number 8606223364.
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4388 $as_echo_n "checking size of long double... " >&6; }
4389 if ${ac_cv_sizeof_long_double+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4395 if test "$ac_cv_type_long_double" = yes; then
4396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4398 as_fn_error
77 "cannot compute sizeof (long double)
4399 See \`config.log' for more details" "$LINENO" 5; }
4401 ac_cv_sizeof_long_double
=0
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4407 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4411 cat >>confdefs.h
<<_ACEOF
4412 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4416 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4417 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4422 for ac_header
in inttypes.h stdint.h stdlib.h ftw.h \
4423 unistd.h sys
/stat.h sys
/types.h \
4424 string.h
strings.h memory.h
4426 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4427 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4428 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4429 cat >>confdefs.h
<<_ACEOF
4430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4437 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4438 if ${ac_cv_path_GREP+:} false
; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -z "$GREP"; then
4442 ac_path_GREP_found
=false
4443 # Loop through the user's path and test for each of PROGNAME-LIST
4444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4445 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4448 test -z "$as_dir" && as_dir
=.
4449 for ac_prog
in grep ggrep
; do
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4452 as_fn_executable_p
"$ac_path_GREP" ||
continue
4453 # Check for GNU ac_path_GREP and select it if it is found.
4454 # Check for GNU $ac_path_GREP
4455 case `"$ac_path_GREP" --version 2>&1` in
4457 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4460 $as_echo_n 0123456789 >"conftest.in"
4463 cat "conftest.in" "conftest.in" >"conftest.tmp"
4464 mv "conftest.tmp" "conftest.in"
4465 cp "conftest.in" "conftest.nl"
4466 $as_echo 'GREP' >> "conftest.nl"
4467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4468 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4469 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4470 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4471 # Best one so far, save it but keep looking for a better one
4472 ac_cv_path_GREP
="$ac_path_GREP"
4473 ac_path_GREP_max
=$ac_count
4475 # 10*(2^10) chars as input seems more than enough
4476 test $ac_count -gt 10 && break
4478 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4481 $ac_path_GREP_found && break 3
4486 if test -z "$ac_cv_path_GREP"; then
4487 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4490 ac_cv_path_GREP
=$GREP
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4495 $as_echo "$ac_cv_path_GREP" >&6; }
4496 GREP
="$ac_cv_path_GREP"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4500 $as_echo_n "checking for egrep... " >&6; }
4501 if ${ac_cv_path_EGREP+:} false
; then :
4502 $as_echo_n "(cached) " >&6
4504 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4505 then ac_cv_path_EGREP
="$GREP -E"
4507 if test -z "$EGREP"; then
4508 ac_path_EGREP_found
=false
4509 # Loop through the user's path and test for each of PROGNAME-LIST
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4511 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_prog
in egrep; do
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4518 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4519 # Check for GNU ac_path_EGREP and select it if it is found.
4520 # Check for GNU $ac_path_EGREP
4521 case `"$ac_path_EGREP" --version 2>&1` in
4523 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4526 $as_echo_n 0123456789 >"conftest.in"
4529 cat "conftest.in" "conftest.in" >"conftest.tmp"
4530 mv "conftest.tmp" "conftest.in"
4531 cp "conftest.in" "conftest.nl"
4532 $as_echo 'EGREP' >> "conftest.nl"
4533 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4534 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4535 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4536 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4537 # Best one so far, save it but keep looking for a better one
4538 ac_cv_path_EGREP
="$ac_path_EGREP"
4539 ac_path_EGREP_max
=$ac_count
4541 # 10*(2^10) chars as input seems more than enough
4542 test $ac_count -gt 10 && break
4544 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4547 $ac_path_EGREP_found && break 3
4552 if test -z "$ac_cv_path_EGREP"; then
4553 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4556 ac_cv_path_EGREP
=$EGREP
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4562 $as_echo "$ac_cv_path_EGREP" >&6; }
4563 EGREP
="$ac_cv_path_EGREP"
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4567 $as_echo_n "checking for ANSI C header files... " >&6; }
4568 if ${ac_cv_header_stdc+:} false
; then :
4569 $as_echo_n "(cached) " >&6
4571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4586 if ac_fn_c_try_compile
"$LINENO"; then :
4587 ac_cv_header_stdc
=yes
4589 ac_cv_header_stdc
=no
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4593 if test $ac_cv_header_stdc = yes; then
4594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4601 $EGREP "memchr" >/dev
/null
2>&1; then :
4604 ac_cv_header_stdc
=no
4610 if test $ac_cv_header_stdc = yes; then
4611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4618 $EGREP "free" >/dev
/null
2>&1; then :
4621 ac_cv_header_stdc
=no
4627 if test $ac_cv_header_stdc = yes; then
4628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4629 if test "$cross_compiling" = yes; then :
4632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 #if ((' ' & 0x0FF) == 0x020)
4637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4640 # define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4659 if ac_fn_c_try_run
"$LINENO"; then :
4662 ac_cv_header_stdc
=no
4664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4665 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4671 $as_echo "$ac_cv_header_stdc" >&6; }
4672 if test $ac_cv_header_stdc = yes; then
4674 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4679 # Check for decimal float support.
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4681 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4682 if ${libgcc_cv_dfp+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4696 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4702 if ac_fn_c_try_compile
"$LINENO"; then :
4707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4710 $as_echo "$libgcc_cv_dfp" >&6; }
4711 decimal_float
=$libgcc_cv_dfp
4715 # Check whether --enable-decimal-float was given.
4716 if test "${enable_decimal_float+set}" = set; then :
4717 enableval
=$enable_decimal_float;
4718 case $enable_decimal_float in
4719 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4720 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4721 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4727 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4728 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4729 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4730 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4731 enable_decimal_float
=yes
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4735 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4736 enable_decimal_float
=no
4743 # x86's use BID format instead of DPD
4744 case x
$enable_decimal_float in
4747 i?
86*-*-* | x86_64
*-*-*)
4748 enable_decimal_float
=bid
4751 enable_decimal_float
=dpd
4754 default_decimal_float
=$enable_decimal_float
4757 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4758 # dependency on libdecnumber.
4759 default_decimal_float
=dpd
4766 # Check for fixed-point support.
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4768 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4769 if ${libgcc_cv_fixed_point+:} false
; then :
4770 $as_echo_n "(cached) " >&6
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4776 if ac_fn_c_try_compile
"$LINENO"; then :
4777 libgcc_cv_fixed_point
=yes
4779 libgcc_cv_fixed_point
=no
4781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4784 $as_echo "$libgcc_cv_fixed_point" >&6; }
4785 fixed_point
=$libgcc_cv_fixed_point
4788 # For platforms with the unwind ABI which includes an unwind library,
4789 # libunwind, we can choose to use the system libunwind.
4790 # config.gcc also contains tests of with_system_libunwind.
4793 # Check whether --with-system-libunwind was given.
4794 if test "${with_system_libunwind+set}" = set; then :
4795 withval
=$with_system_libunwind;
4798 # If system-libunwind was not specifically set, pick a default setting.
4799 if test x
$with_system_libunwind = x
; then
4801 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4802 *) with_system_libunwind
=no
;;
4805 # Based on system-libunwind and target, do we have ipinfo?
4806 if test x
$with_system_libunwind = xyes
; then
4808 ia64-
*-*) have_unwind_getipinfo
=no
;;
4809 *) have_unwind_getipinfo
=yes ;;
4812 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4815 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4816 *) have_unwind_getipinfo
=yes ;;
4821 if test x
$have_unwind_getipinfo = xyes
; then
4823 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4828 # Check if the compiler is configured for setjmp/longjmp exceptions.
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4830 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4831 if ${ac_cv_sjlj_exceptions+:} false
; then :
4832 $as_echo_n "(cached) " >&6
4834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4836 #ifdef __USING_SJLJ_EXCEPTIONS__
4847 if ac_fn_c_try_compile
"$LINENO"; then :
4848 ac_cv_sjlj_exceptions
=no
4850 ac_cv_sjlj_exceptions
=yes
4852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4855 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4857 # Check whether --enable-cet was given.
4858 if test "${enable_cet+set}" = set; then :
4859 enableval
=$enable_cet;
4860 case "$enableval" in
4862 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4871 $as_echo_n "checking for CET support... " >&6; }
4874 i
[34567]86-*-linux* | x86_64-
*-linux*)
4875 case "$enable_cet" in
4877 # Check if target supports multi-byte NOPs
4878 # and if assembler supports CET insn.
4879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4886 #if !defined(__SSE2__)
4887 #error target does not support multi-byte NOPs
4896 if ac_fn_c_try_compile
"$LINENO"; then :
4901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 # Check if assembler supports CET.
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4916 if ac_fn_c_try_compile
"$LINENO"; then :
4919 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4929 if test x
$enable_cet = xyes
; then
4930 CET_FLAGS
="-fcf-protection -mshstk"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4932 $as_echo "yes" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4940 # Check whether --enable-explicit-exception-frame-registration was given.
4941 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4942 enableval
=$enable_explicit_exception_frame_registration;
4943 force_explicit_eh_registry
=
4944 if test "$enable_explicit_exception_frame_registration" = yes; then
4945 if test $ac_cv_sjlj_exceptions = yes; then
4946 as_fn_error $?
"Can't --enable-explicit-exception-frame-registration
4947 with setjmp/longjmp exceptions" "$LINENO" 5
4949 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4957 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4958 if ${acl_cv_prog_gnu_ld+:} false
; then :
4959 $as_echo_n "(cached) " >&6
4961 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4962 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4963 acl_cv_prog_gnu_ld
=yes
4965 acl_cv_prog_gnu_ld
=no
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4969 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4970 with_gnu_ld
=$acl_cv_prog_gnu_ld
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4974 $as_echo_n "checking for thread model used by GCC... " >&6; }
4975 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4977 $as_echo "$target_thread_file" >&6; }
4979 # Check for assembler CFI support.
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4981 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4982 if ${libgcc_cv_cfi+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4990 .cfi_personality 0, symbol\n\
4993 if ac_fn_c_try_compile
"$LINENO"; then :
4998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
5001 $as_echo "$libgcc_cv_cfi" >&6; }
5003 # Check 32bit or 64bit. In the case of MIPS, this really determines the
5004 # word size rather than the address size.
5005 cat > conftest.c
<<EOF
5006 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
5007 || defined(__mips64)
5013 eval `${CC-cc} -E conftest.c | grep host_address=`
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
5019 $as_echo_n "checking whether the target is hard-float... " >&6; }
5020 if ${libgcc_cv_mips_hard_float+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #ifndef __mips_hard_float
5030 if ac_fn_c_try_compile
"$LINENO"; then :
5031 libgcc_cv_mips_hard_float
=yes
5033 libgcc_cv_mips_hard_float
=no
5035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
5038 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
5043 # Check for system-provided CRTs on Solaris 11.4.
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
5045 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
5046 if ${libgcc_cv_solaris_crts+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 libgcc_cv_solaris_crts
=no
5050 libgcc_sysroot
="`${CC} -print-sysroot`"
5051 libgcc_libdir
="$libgcc_sysroot/usr/lib"
5052 # At the time they were added, gcrt1.o became a symlink for backwards
5053 # compatibility on x86, while crt1.o was added on sparc, so check for that.
5055 i?
86-*-solaris2* | x86_64-
*-solaris2*)
5056 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5059 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
5064 $as_echo "$libgcc_cv_solaris_crts" >&6; }
5065 if test $libgcc_cv_solaris_crts = yes; then
5067 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
5073 # Determine the version of glibc, if any, used on the target.
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
5075 $as_echo_n "checking for target glibc version... " >&6; }
5077 # Check whether --with-glibc-version was given.
5078 if test "${with_glibc_version+set}" = set; then :
5079 withval
=$with_glibc_version;
5080 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
5081 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
5082 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
5084 as_fn_error $?
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
5088 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
5091 glibc_version_major
=0
5094 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
5097 glibc_version_minor
=0
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
5103 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
5105 # Determine floating-point type for powerpc*-*-linux*.
5106 # Single-precision-only FPRs are not a supported configuration for
5107 # this target, so are not allowed for in this test.
5110 cat > conftest.c
<<EOF
5111 #ifdef __powerpc64__
5113 #elif defined _SOFT_FLOAT
5115 #elif defined _SOFT_DOUBLE
5117 #elif defined __NO_FPRS__
5123 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
5125 # glibc 2.19 and later provide all the soft-fp functions, with proper
5126 # interactions with <fenv.h> exception and rounding mode handling, so
5127 # make libgcc's versions into compat symbols if a recent enough glibc
5128 # version is being used.
5130 case ${ppc_fp_type} in
5132 if test $glibc_version_major -gt 2 \
5133 ||
( test $glibc_version_major -eq 2 \
5134 && test $glibc_version_minor -ge 19 ); then
5135 ppc_fp_compat
="t-softfp-compat"
5143 # At present, we cannot turn -mfloat128 on via #pragma GCC target, so just
5144 # check if we have VSX (ISA 2.06) support to build the software libraries, and
5145 # whether the assembler can handle xsaddqp for hardware support. Also check if
5146 # a new glibc is being used so that __builtin_cpu_supports can be used.
5148 saved_CFLAGS
="$CFLAGS"
5149 CFLAGS
="$CFLAGS -mabi=altivec -mvsx -mfloat128"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
5151 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
5152 if ${libgcc_cv_powerpc_float128+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5157 vector double dadd (vector double a, vector double b) { return a + b; }
5159 if ac_fn_c_try_compile
"$LINENO"; then :
5160 libgcc_cv_powerpc_float128
=yes
5162 libgcc_cv_powerpc_float128
=no
5164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
5167 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
5169 CFLAGS
="$CFLAGS -mpower9-vector -mfloat128-hardware"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
5171 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
5172 if ${libgcc_cv_powerpc_float128_hw+:} false
; then :
5173 $as_echo_n "(cached) " >&6
5175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #include <sys/auxv.h>
5179 #error "AT_PLATFORM is not defined"
5181 #ifndef __BUILTIN_CPU_SUPPORTS__
5182 #error "__builtin_cpu_supports is not available"
5184 vector unsigned char add (vector unsigned char a, vector unsigned char b)
5186 vector unsigned char ret;
5187 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
5190 void *add_resolver (void) { return (void *) add; }
5191 __float128 add_ifunc (__float128, __float128)
5192 __attribute__ ((__ifunc__ ("add_resolver")));
5194 if ac_fn_c_try_compile
"$LINENO"; then :
5195 libgcc_cv_powerpc_float128_hw
=yes
5197 libgcc_cv_powerpc_float128_hw
=no
5199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
5202 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
5203 CFLAGS
="$saved_CFLAGS"
5206 # Collect host-machine-specific information.
5207 .
${srcdir}/config.
host
5209 # Used for constructing correct paths for offload compilers.
5211 real_host_noncanonical
=${host_noncanonical}
5212 if test x
"$enable_as_accelerator_for" != x
; then
5213 accel_dir_suffix
=/accel
/${target_noncanonical}
5214 real_host_noncanonical
=${enable_as_accelerator_for}
5219 if test x
"$enable_offload_targets" != x
; then
5220 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
5223 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
5224 # This is after config.host so we can augment tmake_file.
5225 # Link with -nostartfiles -nodefaultlibs since neither are present while
5228 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
5229 cat > conftest.s
<<EOF
5230 .section .eh_frame,"a",@unwind
5232 .section .jcr,"aw",@progbits
5235 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
5236 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5240 test $ac_status = 0; }; }; then
5241 tmake_file
="${tmake_file} i386/t-crtstuff"
5246 # Check if Solaris linker support v2 linker mapfile syntax.
5247 # Link with -nostartfiles -nodefaultlibs since neither are present while
5251 solaris_ld_v2_maps
=no
5252 echo 'int main(void) {return 0;}' > conftest.c
5253 echo '$mapfile_version 2' > conftest.map
5254 if { ac_try
='${CC-cc} -nostartfiles -nodefaultlibs -Wl,-M,conftest.map -o conftest conftest.c 1>&5'
5255 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5259 test $ac_status = 0; }; }; then
5260 solaris_ld_v2_maps
=yes
5266 # Check if xtensa target is configured for windowed ABI and thus needs to use
5267 # custom unwind code.
5268 # This is after config.host so we can augment tmake_file.
5271 cat > conftest.c
<<EOF
5272 #ifdef __XTENSA_CALL0_ABI__
5276 if { ac_try
='${CC-cc} -E -o conftest.i conftest.c 1>&5'
5277 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }; }; then
5282 tmake_file
="${tmake_file} xtensa/t-windowed"
5287 # Check for visibility support. This is after config.host so that
5288 # we can check for asm_hidden_op.
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
5290 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
5291 if ${libgcc_cv_hidden_visibility_attribute+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5295 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
5296 libgcc_cv_hidden_visibility_attribute
=no
5297 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5298 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302 test $ac_status = 0; }; }; then
5303 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
5304 libgcc_cv_hidden_visibility_attribute
=yes
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
5311 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
5313 if test $libgcc_cv_hidden_visibility_attribute = yes; then
5314 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
5316 cat >>confdefs.h
<<_ACEOF
5317 #define AS_HIDDEN_DIRECTIVE $asm_hidden_op
5325 # Check for .cfi_sections .debug_frame support.
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .cfi_sections .debug_frame" >&5
5327 $as_echo_n "checking for .cfi_sections .debug_frame... " >&6; }
5328 if ${libgcc_cv_cfi_sections_directive+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5332 echo 'int foo (int, char *);' > conftest.c
5333 echo 'int bar (int x) { char *y = __builtin_alloca (x); return foo (x + 1, y) + 1; }' >> conftest.c
5334 libgcc_cv_cfi_sections_directive
=no
5335 if { ac_try
='${CC-cc} -Werror -g -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S conftest.c -o conftest.s 1>&5'
5336 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5340 test $ac_status = 0; }; }; then
5341 if grep "\\.cfi_sections.*\\.debug_frame" conftest.s
>/dev
/null
; then
5342 libgcc_cv_cfi_sections_directive
=yes
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi_sections_directive" >&5
5349 $as_echo "$libgcc_cv_cfi_sections_directive" >&6; }
5350 if test $libgcc_cv_cfi_sections_directive = yes; then
5352 $as_echo "#define HAVE_AS_CFI_SECTIONS 1" >>confdefs.h
5356 # See if we have thread-local storage. We can only test assembler
5357 # since link-time and run-time tests require the newly built
5358 # gcc, which can't be used to build executable due to that libgcc
5359 # is yet to be built here.
5361 # Check whether --enable-tls was given.
5362 if test "${enable_tls+set}" = set; then :
5363 enableval
=$enable_tls;
5364 case "$enableval" in
5366 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
5375 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
5376 if ${gcc_cv_have_cc_tls+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5382 __thread int a; int b; int main() { return a = b; }
5384 if ac_fn_c_try_compile
"$LINENO"; then :
5385 gcc_cv_have_cc_tls
=yes
5387 gcc_cv_have_cc_tls
=no
5389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
5393 $as_echo "$gcc_cv_have_cc_tls" >&6; }
5395 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
5396 set_have_cc_tls
="-DHAVE_CC_TLS"
5400 # See if we have emulated thread-local storage.
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
5403 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
5404 if ${gcc_cv_use_emutls+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5408 gcc_cv_use_emutls
=no
5409 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
5410 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
5411 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5415 test $ac_status = 0; }; }; then
5416 if grep __emutls_get_address conftest.s
> /dev
/null
; then
5417 gcc_cv_use_emutls
=yes
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
5424 $as_echo "$gcc_cv_use_emutls" >&6; }
5425 if test "$gcc_cv_use_emutls" = "yes" ; then
5427 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
5431 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5432 set_use_emutls
="-DUSE_EMUTLS"
5439 i
[34567]86-*-* | x86_64-
*-*)
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
5441 $as_echo_n "checking if the assembler supports AVX... " >&6; }
5442 if ${libgcc_cv_as_avx+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5457 if ac_fn_c_try_compile
"$LINENO"; then :
5458 libgcc_cv_as_avx
=yes
5462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_avx" >&5
5466 $as_echo "$libgcc_cv_as_avx" >&6; }
5467 if test x
$libgcc_cv_as_avx = xyes
; then
5469 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5476 $as_echo_n "checking for init priority support... " >&6; }
5477 if ${libgcc_cv_init_priority+:} false
; then :
5478 $as_echo_n "(cached) " >&6
5481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5487 void ip (void) __attribute__ ((constructor (1)));
5492 if ac_fn_c_try_compile
"$LINENO"; then :
5493 libgcc_cv_init_priority
=yes
5495 libgcc_cv_init_priority
=no
5497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5500 $as_echo "$libgcc_cv_init_priority" >&6; }
5501 if test $libgcc_cv_init_priority = yes; then
5503 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5507 # Conditionalize the sfp-machine.h header for this target machine.
5508 if test -z "${sfp_machine_header}"; then
5509 sfp_machine_header
=$cpu_type/sfp-machine.h
5510 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5513 sfp_machine_header
=no-sfp-machine.h
5518 # Conditionalize the makefile for this target machine.
5520 for f
in ${tmake_file}
5522 if test -f ${srcdir}/config
/$f
5524 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5527 tmake_file
="${tmake_file_}"
5530 # Likewise export definitions for libgcc_tm.h
5534 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5536 tm_file
="${tm_file_}"
5540 # Map from thread model to thread header.
5542 case $target_thread_file in
5543 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5544 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5545 lynx
) thread_header
=config
/gthr-lynx.h
;;
5546 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5547 posix
) thread_header
=gthr-posix.h
;;
5548 rtems
) thread_header
=config
/gthr-rtems.h
;;
5549 single
) thread_header
=gthr-single.h
;;
5550 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5551 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5552 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5557 # Determine what GCC version number to use in filesystem paths.
5559 get_gcc_base_ver
="cat"
5561 # Check whether --with-gcc-major-version-only was given.
5562 if test "${with_gcc_major_version_only+set}" = set; then :
5563 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5564 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
5572 # Substitute configuration variables
5582 # We need multilib support.
5583 ac_config_files
="$ac_config_files Makefile"
5585 ac_config_commands
="$ac_config_commands default"
5587 cat >confcache
<<\_ACEOF
5588 # This file is a shell script that caches the results of configure
5589 # tests run on this system so they can be shared between configure
5590 # scripts and configure runs, see configure's option --config-cache.
5591 # It is not useful on other systems. If it contains results you don't
5592 # want to keep, you may remove or edit it.
5594 # config.status only pays attention to the cache file if you give it
5595 # the --recheck option to rerun configure.
5597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5603 # The following way of writing the cache mishandles newlines in values,
5604 # but we know of no workaround that is simple, portable, and efficient.
5605 # So, we kill variables containing newlines.
5606 # Ultrix sh set writes to stderr and can't be redirected directly,
5607 # and sets the high bit in the cache file unless we assign to the vars.
5609 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5610 eval ac_val
=\$
$ac_var
5614 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5618 _ | IFS | as_nl
) ;; #(
5619 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5620 *) { eval $ac_var=; unset $ac_var;} ;;
5626 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5627 *${as_nl}ac_space
=\
*)
5628 # `set' does not quote correctly, so add quotes: double-quote
5629 # substitution turns \\\\ into \\, and sed turns \\ into \.
5632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5635 # `set' quotes correctly as required by POSIX, so do not add quotes.
5636 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5647 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5649 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5650 if test -w "$cache_file"; then
5651 if test "x$cache_file" != "x/dev/null"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5653 $as_echo "$as_me: updating cache $cache_file" >&6;}
5654 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5655 cat confcache
>"$cache_file"
5657 case $cache_file in #(
5659 mv -f confcache
"$cache_file"$$
&&
5660 mv -f "$cache_file"$$
"$cache_file" ;; #(
5662 mv -f confcache
"$cache_file" ;;
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5673 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5674 # Let make expand exec_prefix.
5675 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5677 DEFS
=-DHAVE_CONFIG_H
5682 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5683 # 1. Remove the extension, and $U if already installed.
5684 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5685 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5687 # will be set to the directory where LIBOBJS objects are built.
5688 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5689 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5693 LTLIBOBJS
=$ac_ltlibobjs
5697 : "${CONFIG_STATUS=./config.status}"
5699 ac_clean_files_save
=$ac_clean_files
5700 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5702 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5704 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5706 # Generated by $as_me.
5707 # Run this file to recreate the current configuration.
5708 # Compiler output produced by configure, useful for debugging
5709 # configure, is in config.log if it exists.
5715 SHELL=\${CONFIG_SHELL-$SHELL}
5718 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5719 ## -------------------- ##
5720 ## M4sh Initialization. ##
5721 ## -------------------- ##
5723 # Be more Bourne compatible
5724 DUALCASE
=1; export DUALCASE
# for MKS sh
5725 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5728 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5729 # is contrary to our usage. Disable this feature.
5730 alias -g '${1+"$@"}'='"$@"'
5731 setopt NO_GLOB_SUBST
5733 case `(set -o) 2>/dev/null` in #(
5745 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5746 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5747 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5748 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5749 # Prefer a ksh shell builtin over an external printf program on Solaris,
5750 # but without wasting forks for bash or zsh.
5751 if test -z "$BASH_VERSION$ZSH_VERSION" \
5752 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5753 as_echo='print
-r --'
5754 as_echo_n='print
-rn --'
5755 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5756 as_echo='printf %s
\n'
5757 as_echo_n='printf %s
'
5759 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5760 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5761 as_echo_n='/usr
/ucb
/echo -n'
5763 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5764 as_echo_n_body='eval
5768 expr "X$arg" : "X\\(.*\\)$as_nl";
5769 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5771 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5773 export as_echo_n_body
5774 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5777 as_echo='sh
-c $as_echo_body as_echo
'
5780 # The user is always right.
5781 if test "${PATH_SEPARATOR+set}" != set; then
5783 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5784 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5791 # We need space, tab and new line, in precisely that order. Quoting is
5792 # there to prevent editors from complaining about space-tab.
5793 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5794 # splitting by setting IFS to empty value.)
5797 # Find who we are. Look in the path if we contain no directory separator.
5800 *[\\/]* ) as_myself=$0 ;;
5801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5812 # We did not find ourselves, most probably we were run as `sh COMMAND'
5813 # in which case we are not to be found in the path.
5814 if test "x$as_myself" = x
; then
5817 if test ! -f "$as_myself"; then
5818 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5822 # Unset variables that we do not need and which cause bugs (e.g. in
5823 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5824 # suppresses any "Segmentation fault" message there. '((' could
5825 # trigger a bug in pdksh 5.2.14.
5826 for as_var
in BASH_ENV ENV MAIL MAILPATH
5827 do eval test x\
${$as_var+set} = xset \
5828 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5841 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5844 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5845 # ----------------------------------------
5846 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5847 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5848 # script with STATUS, using 1 if that was 0.
5851 as_status
=$1; test $as_status -eq 0 && as_status
=1
5853 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5854 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5856 $as_echo "$as_me: error: $2" >&2
5857 as_fn_exit
$as_status
5861 # as_fn_set_status STATUS
5862 # -----------------------
5863 # Set $? to STATUS, without forking.
5867 } # as_fn_set_status
5871 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5881 # Portably unset VAR.
5884 { eval $1=; unset $1;}
5886 as_unset
=as_fn_unset
5887 # as_fn_append VAR VALUE
5888 # ----------------------
5889 # Append the text in VALUE to the end of the definition contained in VAR. Take
5890 # advantage of any shell optimizations that allow amortized linear growth over
5891 # repeated appends, instead of the typical quadratic growth present in naive
5893 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5894 eval 'as_fn_append ()
5905 # as_fn_arith ARG...
5906 # ------------------
5907 # Perform arithmetic evaluation on the ARGs, and store the result in the
5908 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5909 # must be portable across $(()) and expr.
5910 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5911 eval 'as_fn_arith ()
5918 as_val
=`expr "$@" || test $? -eq 1`
5923 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5924 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5930 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5931 as_basename
=basename
5936 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5942 as_me
=`$as_basename -- "$0" ||
5943 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5944 X"$0" : 'X\(//\)$' \| \
5945 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5947 sed '/^.*\/\([^/][^/]*\)\/*$/{
5961 # Avoid depending upon Character Ranges.
5962 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5963 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5964 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5965 as_cr_digits
='0123456789'
5966 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5968 ECHO_C
= ECHO_N
= ECHO_T
=
5969 case `echo -n x` in #(((((
5971 case `echo 'xy\c'` in
5972 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5974 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5981 rm -f conf$$ conf$$.exe conf$$.
file
5982 if test -d conf$$.dir
; then
5983 rm -f conf$$.dir
/conf$$.
file
5986 mkdir conf$$.dir
2>/dev
/null
5988 if (echo >conf$$.
file) 2>/dev
/null
; then
5989 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5991 # ... but there are two gotchas:
5992 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5993 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5994 # In both cases, we have to default to `cp -pR'.
5995 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5997 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6005 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6006 rmdir conf$$.dir
2>/dev
/null
6011 # Create "$as_dir" as a directory, including parents if necessary.
6016 -*) as_dir
=.
/$as_dir;;
6018 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6022 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6023 *) as_qdir
=$as_dir;;
6025 as_dirs
="'$as_qdir' $as_dirs"
6026 as_dir
=`$as_dirname -- "$as_dir" ||
6027 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6028 X"$as_dir" : 'X\(//\)[^/]' \| \
6029 X"$as_dir" : 'X\(//\)$' \| \
6030 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6031 $as_echo X"$as_dir" |
6032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6049 test -d "$as_dir" && break
6051 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6052 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6056 if mkdir
-p .
2>/dev
/null
; then
6057 as_mkdir_p
='mkdir -p "$as_dir"'
6059 test -d .
/-p && rmdir .
/-p
6064 # as_fn_executable_p FILE
6065 # -----------------------
6066 # Test if FILE is an executable regular file.
6067 as_fn_executable_p
()
6069 test -f "$1" && test -x "$1"
6070 } # as_fn_executable_p
6072 as_executable_p
=as_fn_executable_p
6074 # Sed expression to map a string onto a valid CPP name.
6075 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6077 # Sed expression to map a string onto a valid variable name.
6078 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6082 ## ----------------------------------- ##
6083 ## Main body of $CONFIG_STATUS script. ##
6084 ## ----------------------------------- ##
6086 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6089 # Save the log message, to keep $0 and so on meaningful, and to
6090 # report actual input values of CONFIG_FILES etc. instead of their
6091 # values after options handling.
6093 This file was extended by GNU C Runtime Library $as_me 1.0, which was
6094 generated by GNU Autoconf 2.69. Invocation command line was
6096 CONFIG_FILES = $CONFIG_FILES
6097 CONFIG_HEADERS = $CONFIG_HEADERS
6098 CONFIG_LINKS = $CONFIG_LINKS
6099 CONFIG_COMMANDS = $CONFIG_COMMANDS
6102 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6107 case $ac_config_files in *"
6108 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6111 case $ac_config_headers in *"
6112 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6117 # Files that config.status was made for.
6118 config_files="$ac_config_files"
6119 config_headers="$ac_config_headers"
6120 config_commands="$ac_config_commands"
6124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6126 \`$as_me' instantiates files and other configuration actions
6127 from templates according to the current configuration. Unless the files
6128 and actions are specified as TAGs, all are instantiated by default.
6130 Usage: $0 [OPTION]... [TAG]...
6132 -h, --help print this help, then exit
6133 -V, --version print version number and configuration settings, then exit
6134 --config print configuration, then exit
6135 -q, --quiet, --silent
6136 do not print progress messages
6137 -d, --debug don't remove temporary files
6138 --recheck update $as_me by reconfiguring in the same conditions
6139 --file=FILE[:TEMPLATE]
6140 instantiate the configuration file FILE
6141 --header=FILE[:TEMPLATE]
6142 instantiate the configuration header FILE
6144 Configuration files:
6147 Configuration headers:
6150 Configuration commands:
6153 Report bugs to the package provider.
6154 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
6155 General help using GNU software: <http://www.gnu.org/gethelp/>."
6158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6159 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6161 GNU C Runtime Library config.status 1.0
6162 configured by $0, generated by GNU Autoconf 2.69,
6163 with options \\"\$ac_cs_config\\"
6165 Copyright (C) 2012 Free Software Foundation, Inc.
6166 This config.status script is free software; the Free Software Foundation
6167 gives unlimited permission to copy, distribute and modify it."
6173 test -n "\$AWK" || AWK=awk
6176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6177 # The default lists apply if the user does not specify any file.
6183 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6184 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6188 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6200 # Handling of the options.
6201 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6203 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6204 $as_echo "$ac_cs_version"; exit ;;
6205 --config |
--confi |
--conf |
--con |
--co |
--c )
6206 $as_echo "$ac_cs_config"; exit ;;
6207 --debug |
--debu |
--deb |
--de |
--d |
-d )
6209 --file |
--fil |
--fi |
--f )
6212 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6213 '') as_fn_error $?
"missing file argument" ;;
6215 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6216 ac_need_defaults
=false
;;
6217 --header |
--heade |
--head |
--hea )
6220 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6222 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6223 ac_need_defaults
=false
;;
6225 # Conflict between --help and --header
6226 as_fn_error $?
"ambiguous option: \`$1'
6227 Try \`$0 --help' for more information.";;
6228 --help |
--hel |
-h )
6229 $as_echo "$ac_cs_usage"; exit ;;
6230 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6231 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6235 -*) as_fn_error $?
"unrecognized option: \`$1'
6236 Try \`$0 --help' for more information." ;;
6238 *) as_fn_append ac_config_targets
" $1"
6239 ac_need_defaults
=false
;;
6245 ac_configure_extra_args
=
6247 if $ac_cs_silent; then
6249 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6254 if \$ac_cs_recheck; then
6255 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6257 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6258 CONFIG_SHELL='$SHELL'
6264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6268 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6269 ## Running $as_me. ##
6275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6281 with_target_subdir=${with_target_subdir}
6282 with_multisubdir=${with_multisubdir}
6283 ac_configure_args="--enable-multilib ${ac_configure_args}"
6284 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6285 libgcc_topdir=${libgcc_topdir}
6291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6293 # Handling of arguments.
6294 for ac_config_target
in $ac_config_targets
6296 case $ac_config_target in
6297 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
6298 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6299 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6301 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6306 # If the user did not use the arguments to specify the items to instantiate,
6307 # then the envvar interface is used. Set only those that are not.
6308 # We use the long form for the default assignment because of an extremely
6309 # bizarre bug on SunOS 4.1.3.
6310 if $ac_need_defaults; then
6311 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6312 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6313 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6316 # Have a temporary directory for convenience. Make it in the build tree
6317 # simply because there is no reason against having it here, and in addition,
6318 # creating and moving files from /tmp can sometimes cause problems.
6319 # Hook for its removal unless debugging.
6320 # Note that there is a small window in which the directory will not be cleaned:
6321 # after its creation but before its name has been assigned to `$tmp'.
6325 trap 'exit_status=$?
6327 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6329 trap 'as_fn_exit 1' 1 2 13 15
6331 # Create a (secure) tmp directory for tmp files.
6334 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6338 tmp
=.
/conf$$
-$RANDOM
6339 (umask 077 && mkdir
"$tmp")
6340 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6343 # Set up the scripts for CONFIG_FILES section.
6344 # No need to generate them if there are no CONFIG_FILES.
6345 # This happens for instance with `./config.status config.h'.
6346 if test -n "$CONFIG_FILES"; then
6349 ac_cr
=`echo X | tr X '\015'`
6350 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6351 # But we know of no other shell where ac_cr would be empty at this
6352 # point, so we can use a bashism as a fallback.
6353 if test "x$ac_cr" = x
; then
6354 eval ac_cr
=\$
\'\\r
\'
6356 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6357 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6363 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6368 echo "cat >conf$$subs.awk <<_ACEOF" &&
6369 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6372 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6373 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6375 for ac_last_try in false false false false false :; do
6376 . ./conf$$subs.sh ||
6377 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6379 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6380 if test $ac_delim_n = $ac_delim_num; then
6382 elif $ac_last_try; then
6383 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6385 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6391 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6395 s/^/S["/; s
/!.
*/"]=/
6405 s/\(.\{148\}\)..*/\1/
6407 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6412 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6419 s/\(.\{148\}\)..*/\1/
6421 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6425 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6430 ' <conf$$subs.awk | sed '
6435 ' >>$CONFIG_STATUS || ac_write_fail=1
6436 rm -f conf$$subs.awk
6437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6439 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6440 for (key in S) S_is_set[key] = 1
6446 nfields = split(line, field, "@
")
6448 len = length(field[1])
6449 for (i = 2; i < nfields; i++) {
6451 keylen = length(key)
6452 if (S_is_set[key]) {
6454 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6455 len += length(value) + length(field[++i])
6466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6467 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6468 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6471 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6472 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6475 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6476 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6477 # trailing colons and then remove the whole line if VPATH becomes empty
6478 # (actually we leave an empty line to preserve line numbers).
6479 if test "x
$srcdir" = x.; then
6480 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6499 fi # test -n "$CONFIG_FILES"
6501 # Set up the scripts for CONFIG_HEADERS section.
6502 # No need to generate them if there are no CONFIG_HEADERS.
6503 # This happens for instance with `./config.status Makefile'.
6504 if test -n "$CONFIG_HEADERS"; then
6505 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6509 # Transform confdefs.h into an awk script `defines.awk', embedded as
6510 # here-document in config.status, that substitutes the proper values into
6511 # config.h.in to produce config.h.
6513 # Create a delimiter string that does not exist in confdefs.h, to ease
6514 # handling of long lines.
6516 for ac_last_try in false false :; do
6517 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6518 if test -z "$ac_tt"; then
6520 elif $ac_last_try; then
6521 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6527 # For the awk script, D is an array of macro values keyed by name,
6528 # likewise P contains macro parameters if any. Preserve backslash
6529 # newline sequences.
6531 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6533 s/.\{148\}/&'"$ac_delim"'/g
6536 s/^[ ]*#[ ]*define[ ][ ]*/ /
6543 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6545 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6549 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6550 D["\
1"]=" \
3\\\\\\n
"\\/p
6552 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6557 s/.\{148\}/&'"$ac_delim"'/g
6562 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6565 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6567 ' <confdefs.h | sed '
6568 s/'"$ac_delim"'/"\\\
6569 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6572 for (key in D) D_is_set[key] = 1
6575 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6577 split(line, arg, " ")
6578 if (arg[1] == "#") {
6582 defundef
= substr
(arg
[1], 2)
6585 split(mac1
, mac2
, "(") #)
6587 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6588 if (D_is_set
[macro
]) {
6589 # Preserve the white space surrounding the "#".
6590 print prefix
"define", macro P
[macro
] D
[macro
]
6593 # Replace #undef with comments. This is necessary, for example,
6594 # in the case of _POSIX_SOURCE, which is predefined and required
6595 # on some systems where configure will not decide to define it.
6596 if (defundef
== "undef") {
6597 print
"/*", prefix defundef
, macro
, "*/"
6605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6606 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6607 fi # test -n "$CONFIG_HEADERS"
6610 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6615 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6617 case $ac_mode$ac_tag in
6619 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6620 :[FH
]-) ac_tag
=-:-;;
6621 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6638 -) ac_f
="$ac_tmp/stdin";;
6639 *) # Look for the file first in the build tree, then in the source tree
6640 # (if the path is not absolute). The absolute path cannot be DOS-style,
6641 # because $ac_f cannot contain `:'.
6645 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6647 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6649 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6650 as_fn_append ac_file_inputs
" '$ac_f'"
6653 # Let's still pretend it is `configure' which instantiates (i.e., don't
6654 # use $as_me), people would be surprised to read:
6655 # /* config.h. Generated by config.status. */
6656 configure_input
='Generated from '`
6657 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6659 if test x
"$ac_file" != x-
; then
6660 configure_input
="$ac_file. $configure_input"
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6662 $as_echo "$as_me: creating $ac_file" >&6;}
6664 # Neutralize special characters interpreted by sed in replacement strings.
6665 case $configure_input in #(
6666 *\
&* |
*\|
* |
*\\* )
6667 ac_sed_conf_input
=`$as_echo "$configure_input" |
6668 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6669 *) ac_sed_conf_input
=$configure_input;;
6673 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6674 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6679 ac_dir
=`$as_dirname -- "$ac_file" ||
6680 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6681 X"$ac_file" : 'X\(//\)[^/]' \| \
6682 X"$ac_file" : 'X\(//\)$' \| \
6683 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6684 $as_echo X"$ac_file" |
6685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6702 as_dir
="$ac_dir"; as_fn_mkdir_p
6706 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6708 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6709 # A ".." for each directory in $ac_dir_suffix.
6710 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6711 case $ac_top_builddir_sub in
6712 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6713 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6716 ac_abs_top_builddir
=$ac_pwd
6717 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6718 # for backward compatibility:
6719 ac_top_builddir
=$ac_top_build_prefix
6722 .
) # We are building in place.
6724 ac_top_srcdir
=$ac_top_builddir_sub
6725 ac_abs_top_srcdir
=$ac_pwd ;;
6726 [\\/]* | ?
:[\\/]* ) # Absolute name.
6727 ac_srcdir
=$srcdir$ac_dir_suffix;
6728 ac_top_srcdir
=$srcdir
6729 ac_abs_top_srcdir
=$srcdir ;;
6731 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6732 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6733 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6735 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6745 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6746 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6751 # If the template does not know about datarootdir, expand it.
6752 # FIXME: This hack should be removed a few years after 2.60.
6753 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6764 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6765 *datarootdir
*) ac_datarootdir_seen
=yes;;
6766 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6768 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6771 ac_datarootdir_hack='
6772 s&@datadir@&$datadir&g
6773 s&@docdir@&$docdir&g
6774 s&@infodir@&$infodir&g
6775 s&@localedir@&$localedir&g
6776 s&@mandir@&$mandir&g
6777 s&\\\${datarootdir}&$datarootdir&g' ;;
6781 # Neutralize VPATH when `$srcdir' = `.'.
6782 # Shell code in configure.ac might set extrasub.
6783 # FIXME: do we really want to maintain this feature?
6784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6785 ac_sed_extra="$ac_vpsub
6788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6790 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6791 s|@configure_input@|
$ac_sed_conf_input|
;t t
6792 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6793 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6794 s
&@srcdir@
&$ac_srcdir&;t t
6795 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6796 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6797 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6798 s
&@builddir@
&$ac_builddir&;t t
6799 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6800 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6801 s
&@INSTALL@
&$ac_INSTALL&;t t
6802 $ac_datarootdir_hack
6804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6805 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6808 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6810 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6812 which seems to be undefined. Please make sure it is defined" >&5
6813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6814 which seems to be undefined. Please make sure it is defined" >&2;}
6816 rm -f "$ac_tmp/stdin"
6818 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6819 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6827 if test x"$ac_file" != x-; then
6829 $as_echo "/* $configure_input */" \
6830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6831 } >"$ac_tmp/config.h" \
6832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6833 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6838 mv "$ac_tmp/config.h" "$ac_file" \
6839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6842 $as_echo "/* $configure_input */" \
6843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6844 || as_fn_error $? "could not create -" "$LINENO" 5
6848 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6849 $as_echo "$as_me: executing $ac_file commands" >&6;}
6854 case $ac_file$ac_mode in
6855 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6856 if test -n "$CONFIG_FILES"; then
6857 # FIXME: We shouldn't need to
set ac_file
6859 .
${libgcc_topdir}/config-ml.
in
6868 ac_clean_files
=$ac_clean_files_save
6870 test $ac_write_fail = 0 ||
6871 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6874 # configure is writing to config.log, and then calls config.status.
6875 # config.status does its own redirection, appending to config.log.
6876 # Unfortunately, on DOS this fails, as config.log is still kept open
6877 # by configure, so config.status won't be able to write to it; its
6878 # output is simply discarded. So we exec the FD to /dev/null,
6879 # effectively closing config.log, so it can be properly (re)opened and
6880 # appended to by config.status. When coming back to configure, we
6881 # need to make the FD available again.
6882 if test "$no_create" != yes; then
6884 ac_config_status_args
=
6885 test "$silent" = yes &&
6886 ac_config_status_args
="$ac_config_status_args --quiet"
6888 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6890 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6891 # would make configure fail if this is the last instruction.
6892 $ac_cs_success || as_fn_exit
1
6894 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6896 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}