2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_zlib_configure_flags
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
658 extra_isl_gmp_configure_flags
659 extra_mpc_mpfr_configure_flags
660 extra_mpc_gmp_configure_flags
661 extra_mpfr_configure_flags
677 EXTRA_CONFIGARGS_LIBJAVA
678 extra_liboffloadmic_configure_flags
705 TOPLEVEL_CONFIGURE_ARGUMENTS
733 program_transform_name
744 ac_subst_files
='serialization_dependencies
750 enable_option_checking
753 enable_as_accelerator_for
754 enable_offload_targets
757 enable_compressed_debug_sections
759 enable_libquadmath_support
764 enable_static_libjava
784 enable_isl_version_check
786 enable_linker_plugin_configure_flags
787 enable_linker_plugin_flags
788 enable_stage1_languages
791 with_debug_prefix_map
794 enable_serial_configure
795 with_build_time_tools
796 enable_maintainer_mode
797 enable_stage1_checking
801 ac_precious_vars
='build_alias
849 # Initialize some variables set by options.
851 ac_init_version
=false
852 ac_unrecognized_opts
=
854 # The variables have the same names as the options, with
855 # dashes changed to underlines.
863 program_transform_name
=s
,x
,x
,
871 # Installation directory options.
872 # These are left unexpanded so users can "make install exec_prefix=/foo"
873 # and all the variables that are supposed to be based on exec_prefix
874 # by default will actually change.
875 # Use braces instead of parens because sh, perl, etc. also accept them.
876 # (The list follows the same order as the GNU Coding Standards.)
877 bindir
='${exec_prefix}/bin'
878 sbindir
='${exec_prefix}/sbin'
879 libexecdir
='${exec_prefix}/libexec'
880 datarootdir
='${prefix}/share'
881 datadir
='${datarootdir}'
882 sysconfdir
='${prefix}/etc'
883 sharedstatedir
='${prefix}/com'
884 localstatedir
='${prefix}/var'
885 includedir
='${prefix}/include'
886 oldincludedir
='/usr/include'
887 docdir
='${datarootdir}/doc/${PACKAGE}'
888 infodir
='${datarootdir}/info'
893 libdir
='${exec_prefix}/lib'
894 localedir
='${datarootdir}/locale'
895 mandir
='${datarootdir}/man'
901 # If the previous option needs an argument, assign it.
902 if test -n "$ac_prev"; then
903 eval $ac_prev=\
$ac_option
909 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
921 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
924 -build |
--build |
--buil |
--bui |
--bu)
925 ac_prev
=build_alias
;;
926 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
927 build_alias
=$ac_optarg ;;
929 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
930 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
931 ac_prev
=cache_file
;;
932 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
933 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
934 cache_file
=$ac_optarg ;;
937 cache_file
=config.cache
;;
939 -datadir |
--datadir |
--datadi |
--datad)
941 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
942 datadir
=$ac_optarg ;;
944 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
945 |
--dataroo |
--dataro |
--datar)
946 ac_prev
=datarootdir
;;
947 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
948 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
949 datarootdir
=$ac_optarg ;;
951 -disable-* |
--disable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=no
;;
967 -docdir |
--docdir |
--docdi |
--doc |
--do)
969 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
972 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
974 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
977 -enable-* |
--enable-*)
978 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
981 as_fn_error
"invalid feature name: $ac_useropt"
982 ac_useropt_orig
=$ac_useropt
983 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep
=', ';;
991 eval enable_
$ac_useropt=\
$ac_optarg ;;
993 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
994 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
995 |
--exec |
--exe |
--ex)
996 ac_prev
=exec_prefix
;;
997 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
998 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
999 |
--exec=* |
--exe=* |
--ex=*)
1000 exec_prefix
=$ac_optarg ;;
1002 -gas |
--gas |
--ga |
--g)
1003 # Obsolete; use --with-gas.
1006 -help |
--help |
--hel |
--he |
-h)
1007 ac_init_help
=long
;;
1008 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1009 ac_init_help
=recursive
;;
1010 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1011 ac_init_help
=short
;;
1013 -host |
--host |
--hos |
--ho)
1014 ac_prev
=host_alias
;;
1015 -host=* |
--host=* |
--hos=* |
--ho=*)
1016 host_alias
=$ac_optarg ;;
1018 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1020 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1022 htmldir
=$ac_optarg ;;
1024 -includedir |
--includedir |
--includedi |
--included |
--include \
1025 |
--includ |
--inclu |
--incl |
--inc)
1026 ac_prev
=includedir
;;
1027 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1028 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1029 includedir
=$ac_optarg ;;
1031 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1033 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1034 infodir
=$ac_optarg ;;
1036 -libdir |
--libdir |
--libdi |
--libd)
1038 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1039 libdir
=$ac_optarg ;;
1041 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1042 |
--libexe |
--libex |
--libe)
1043 ac_prev
=libexecdir
;;
1044 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1045 |
--libexe=* |
--libex=* |
--libe=*)
1046 libexecdir
=$ac_optarg ;;
1048 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1049 ac_prev
=localedir
;;
1050 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1051 localedir
=$ac_optarg ;;
1053 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1054 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1055 ac_prev
=localstatedir
;;
1056 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1057 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1058 localstatedir
=$ac_optarg ;;
1060 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1062 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1063 mandir
=$ac_optarg ;;
1065 -nfp |
--nfp |
--nf)
1066 # Obsolete; use --without-fp.
1069 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1070 |
--no-cr |
--no-c |
-n)
1073 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1074 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1077 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1078 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1079 |
--oldin |
--oldi |
--old |
--ol |
--o)
1080 ac_prev
=oldincludedir
;;
1081 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1082 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1083 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1084 oldincludedir
=$ac_optarg ;;
1086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1089 prefix
=$ac_optarg ;;
1091 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1092 |
--program-pre |
--program-pr |
--program-p)
1093 ac_prev
=program_prefix
;;
1094 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1095 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1096 program_prefix
=$ac_optarg ;;
1098 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1099 |
--program-suf |
--program-su |
--program-s)
1100 ac_prev
=program_suffix
;;
1101 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1102 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1103 program_suffix
=$ac_optarg ;;
1105 -program-transform-name |
--program-transform-name \
1106 |
--program-transform-nam |
--program-transform-na \
1107 |
--program-transform-n |
--program-transform- \
1108 |
--program-transform |
--program-transfor \
1109 |
--program-transfo |
--program-transf \
1110 |
--program-trans |
--program-tran \
1111 |
--progr-tra |
--program-tr |
--program-t)
1112 ac_prev
=program_transform_name
;;
1113 -program-transform-name=* |
--program-transform-name=* \
1114 |
--program-transform-nam=* |
--program-transform-na=* \
1115 |
--program-transform-n=* |
--program-transform-=* \
1116 |
--program-transform=* |
--program-transfor=* \
1117 |
--program-transfo=* |
--program-transf=* \
1118 |
--program-trans=* |
--program-tran=* \
1119 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1120 program_transform_name
=$ac_optarg ;;
1122 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1124 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1125 pdfdir
=$ac_optarg ;;
1127 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1129 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1133 |
-silent |
--silent |
--silen |
--sile |
--sil)
1136 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1138 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1140 sbindir
=$ac_optarg ;;
1142 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1143 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1144 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1146 ac_prev
=sharedstatedir
;;
1147 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1148 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1149 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1151 sharedstatedir
=$ac_optarg ;;
1153 -site |
--site |
--sit)
1155 -site=* |
--site=* |
--sit=*)
1158 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1160 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1161 srcdir
=$ac_optarg ;;
1163 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1164 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1165 ac_prev
=sysconfdir
;;
1166 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1167 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1168 sysconfdir
=$ac_optarg ;;
1170 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1171 ac_prev
=target_alias
;;
1172 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1173 target_alias
=$ac_optarg ;;
1175 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1178 -version |
--version |
--versio |
--versi |
--vers |
-V)
1179 ac_init_version
=: ;;
1182 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=\
$ac_optarg ;;
1197 -without-* |
--without-*)
1198 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=no
;;
1214 # Obsolete; use --with-x.
1217 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1218 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1219 ac_prev
=x_includes
;;
1220 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1221 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1222 x_includes
=$ac_optarg ;;
1224 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1225 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1226 ac_prev
=x_libraries
;;
1227 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1228 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1229 x_libraries
=$ac_optarg ;;
1231 -*) as_fn_error
"unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information."
1236 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1237 # Reject names that are not valid shell variable names.
1238 case $ac_envvar in #(
1239 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1240 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1242 eval $ac_envvar=\
$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1256 if test -n "$ac_prev"; then
1257 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1258 as_fn_error
"missing argument to $ac_option"
1261 if test -n "$ac_unrecognized_opts"; then
1262 case $enable_option_checking in
1264 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 # Check all directory arguments for consistency.
1270 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271 datadir sysconfdir sharedstatedir localstatedir includedir \
1272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273 libdir localedir mandir
1275 eval ac_val
=\$
$ac_var
1276 # Remove trailing slashes.
1279 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280 eval $ac_var=\
$ac_val;;
1282 # Be sure to have absolute directory names.
1284 [\\/$
]* | ?
:[\\/]* ) continue;;
1285 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1287 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target
=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x
; then
1299 if test "x$build_alias" = x
; then
1300 cross_compiling
=maybe
1301 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1302 If a cross compiler is detected then cross compile mode will be used." >&2
1303 elif test "x$build_alias" != "x$host_alias"; then
1309 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1311 test "$silent" = yes && exec 6>/dev
/null
1314 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1315 ac_ls_di
=`ls -di .` &&
1316 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1317 as_fn_error
"working directory cannot be determined"
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 as_fn_error
"pwd does not report name of working directory"
1322 # Find the source files, if location was not specified.
1323 if test -z "$srcdir"; then
1324 ac_srcdir_defaulted
=yes
1325 # Try the directory containing this script, then the parent directory.
1326 ac_confdir
=`$as_dirname -- "$as_myself" ||
1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1328 X"$as_myself" : 'X\(//\)[^/]' \| \
1329 X"$as_myself" : 'X\(//\)$' \| \
1330 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1331 $as_echo X"$as_myself" |
1332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1354 ac_srcdir_defaulted
=no
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1357 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1358 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1360 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1364 # When building in place, set srcdir=.
1365 if test "$ac_abs_confdir" = "$ac_pwd"; then
1368 # Remove unnecessary trailing slashes from srcdir.
1369 # Double slashes in file names in object file debugging info
1370 # mess up M-x gdb in Emacs.
1372 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 as_fn_error
"path to source, $srcdir, contains spaces"
1379 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures this package to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --program-prefix=PREFIX prepend PREFIX to installed program names
1454 --program-suffix=SUFFIX append SUFFIX to installed program names
1455 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1458 --build=BUILD configure
for building on BUILD
[guessed
]
1459 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1460 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1464 if test -n "$ac_init_help"; then
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-as-accelerator-for=ARG
1473 build as offload target compiler. Specify offload
1475 --enable-offload-targets=LIST
1476 enable offloading to devices from comma-separated
1477 LIST of TARGET
[=DIR
]. Use optional path to
find
1478 offload target compiler during the build
1479 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1480 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1481 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1482 Enable compressed debug sections
for gas
, gold or ld
1484 --disable-libquadmath do not build libquadmath directory
1485 --disable-libquadmath-support
1486 disable libquadmath support
for Fortran
1487 --enable-libada build libada directory
1488 --enable-libssp build libssp directory
1489 --disable-libstdcxx do not build libstdc
++-v3 directory
1490 --enable-liboffloadmic=ARG
1491 build liboffloadmic
[ARG
={no
,host,target
}]
1492 --enable-static-libjava[=ARG
]
1493 build static libjava
[default
=no
]
1494 --enable-bootstrap enable bootstrapping
[yes if native build
]
1495 --disable-isl-version-check
1496 disable check
for isl version
1497 --enable-lto enable link
time optimization support
1498 --enable-linker-plugin-configure-flags=FLAGS
1499 additional flags
for configuring linker plugins
1501 --enable-linker-plugin-flags=FLAGS
1502 additional flags
for configuring and building linker
1504 --enable-stage1-languages[=all
]
1505 choose additional languages to build during stage1.
1506 Mostly useful
for compiler development
1507 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1509 --enable-vtable-verify Enable vtable verification feature
1510 --enable-serial-[{host,target,build}-]configure
1511 force sequential configuration of sub-packages for
1512 the host, target or build machine, or all
1514 --enable-maintainer-mode
1515 enable make rules and dependencies not useful (and
1516 sometimes confusing) to the casual installer
1517 --enable-stage1-checking[=all]
1518 choose additional checking for stage1 of the
1520 --enable-werror enable -Werror in bootstrap stage2 and later
1521 --enable-host-shared build host code as shared libraries
1524 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1525 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1526 --with-build-libsubdir=DIR Directory where to find libraries for build system
1527 --with-system-zlib use installed libz
1528 --with-mpc=PATH specify prefix directory for installed MPC package.
1529 Equivalent to --with-mpc-include=PATH/include plus
1530 --with-mpc-lib=PATH/lib
1531 --with-mpc-include=PATH specify directory for installed MPC include files
1532 --with-mpc-lib=PATH specify directory for the installed MPC library
1533 --with-mpfr-dir=PATH this option has been REMOVED
1534 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1535 Equivalent to --with-mpfr-include=PATH/include plus
1536 --with-mpfr-lib=PATH/lib
1537 --with-mpfr-include=PATH
1538 specify directory for installed MPFR include files
1539 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1540 --with-gmp-dir=PATH this option has been REMOVED
1541 --with-gmp=PATH specify prefix directory for the installed GMP
1542 package. Equivalent to
1543 --with-gmp-include=PATH/include plus
1544 --with-gmp-lib=PATH/lib
1545 --with-gmp-include=PATH specify directory for installed GMP include files
1546 --with-gmp-lib=PATH specify directory for the installed GMP library
1547 --with-stage1-libs=LIBS libraries for stage1
1548 --with-stage1-ldflags=FLAGS
1549 linker flags for stage1
1550 --with-boot-libs=LIBS libraries for stage2 and later
1551 --with-boot-ldflags=FLAGS
1552 linker flags for stage2 and later
1553 --with-isl=PATH Specify prefix directory for the installed isl
1554 package. Equivalent to
1555 --with-isl-include=PATH/include plus
1556 --with-isl-lib=PATH/lib
1557 --with-isl-include=PATH Specify directory for installed isl include files
1558 --with-isl-lib=PATH Specify the directory for the installed isl library
1559 --with-build-sysroot=SYSROOT
1560 use sysroot as the system root during the build
1561 --with-debug-prefix-map='A
=B C
=D ...
'
1562 map A to B, C to D ... in debug information
1563 --with-build-config='NAME NAME2...
'
1564 use config/NAME.mk build configuration
1565 --with-build-time-tools=PATH
1566 use given path to find target tools during the build
1568 Some influential environment variables:
1569 CC C compiler command
1570 CFLAGS C compiler flags
1571 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1572 nonstandard directory <lib dir>
1573 LIBS libraries to pass to the linker, e.g. -l<library>
1574 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1575 you have headers in a nonstandard directory <include dir>
1576 CXX C++ compiler command
1577 CXXFLAGS C++ compiler flags
1579 additional configure arguments for build directories
1581 additional configure arguments for host directories
1583 additional configure arguments for target directories
1586 DLLTOOL DLLTOOL for the host
1588 LIPO LIPO for the host
1590 RANLIB RANLIB for the host
1591 STRIP STRIP for the host
1592 WINDRES WINDRES for the host
1593 WINDMC WINDMC for the host
1594 OBJCOPY OBJCOPY for the host
1595 OBJDUMP OBJDUMP for the host
1596 READELF READELF for the host
1606 GFORTRAN for the target
1614 DLLTOOL for the target
1622 OBJCOPY for the target
1624 OBJDUMP for the target
1626 RANLIB for the target
1628 READELF for the target
1630 STRIP for the target
1632 WINDRES for the target
1634 WINDMC for the target
1636 Use these variables to override the choices made by `configure' or to
help
1637 it to
find libraries and programs with nonstandard names
/locations.
1639 Report bugs to the package provider.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1655 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir
=$ac_pwd
1664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir
=$ac_top_build_prefix
1669 .
) # We are building in place.
1671 ac_top_srcdir
=$ac_top_builddir_sub
1672 ac_abs_top_srcdir
=$ac_pwd ;;
1673 [\\/]* | ?
:[\\/]* ) # Absolute name.
1674 ac_srcdir
=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir
=$srcdir
1676 ac_abs_top_srcdir
=$srcdir ;;
1678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf
2.64
1705 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1706 This configure
script is free software
; the Free Software Foundation
1707 gives unlimited permission to copy
, distribute and modify it.
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile
()
1721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1722 rm -f conftest.
$ac_objext
1723 if { { ac_try
="$ac_compile"
1725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.$ac_objext; then :
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1749 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 } # ac_fn_c_try_compile
1754 # ac_fn_cxx_try_compile LINENO
1755 # ----------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext
1761 if { { ac_try="$ac_compile"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1770 if test -s conftest.err
; then
1771 grep -v '^ *+' conftest.err
>conftest.er1
1772 cat conftest.er1
>&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_cxx_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.
$ac_objext; then :
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1790 } # ac_fn_cxx_try_compile
1792 # ac_fn_cxx_try_link LINENO
1793 # -------------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_cxx_try_link
()
1797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1798 rm -f conftest.
$ac_objext conftest
$ac_exeext
1799 if { { ac_try
="$ac_link"
1801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>conftest.err
1808 if test -s conftest.err; then
1809 grep -v '^ *+' conftest.err >conftest.er1
1810 cat conftest.er1 >&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && {
1815 test -z "$ac_cxx_werror_flag" ||
1816 test ! -s conftest.err
1817 } && test -s conftest$ac_exeext && {
1818 test "$cross_compiling" = yes ||
1819 $as_test_x conftest$ac_exeext
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830 # interfere with the next link command; also delete a directory that is
1831 # left behind by Apple's compiler. We do this before executing the actions.
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 } # ac_fn_cxx_try_link
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1848 *) ac_try_echo
=$ac_try;;
1850 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err
; then
1855 grep -v '^ *+' conftest.err
>conftest.er1
1856 cat conftest.er1
>&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest
$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest
$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.
$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1882 } # ac_fn_c_try_link
1883 cat >config.log
<<_ACEOF
1884 This file contains any messages produced by compilers while
1885 running configure, to aid debugging if configure makes a mistake.
1887 It was created by $as_me, which was
1888 generated by GNU Autoconf 2.64. Invocation command line was
1900 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1901 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1902 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1903 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1904 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1906 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1907 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1909 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1910 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1911 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1912 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1913 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1914 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1915 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 $as_echo "PATH: $as_dir"
1940 # Keep a trace of the command line.
1941 # Strip out --no-create and --no-recursion so they do not pile up.
1942 # Strip out --silent because we don't want to record it for future runs.
1943 # Also quote any args containing shell meta-characters.
1944 # Make two passes to allow for proper duplicate-argument suppression.
1948 ac_must_keep_next
=false
1954 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1955 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1956 |
-silent |
--silent |
--silen |
--sile |
--sil)
1959 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1962 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1964 as_fn_append ac_configure_args1
" '$ac_arg'"
1965 if test $ac_must_keep_next = true
; then
1966 ac_must_keep_next
=false
# Got value, back to normal.
1969 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1970 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1971 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1972 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1973 case "$ac_configure_args0 " in
1974 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1977 -* ) ac_must_keep_next
=true
;;
1980 as_fn_append ac_configure_args
" '$ac_arg'"
1985 { ac_configure_args0
=; unset ac_configure_args0
;}
1986 { ac_configure_args1
=; unset ac_configure_args1
;}
1988 # When interrupted or exit'd, cleanup temporary files, and complete
1989 # config.log. We remove comments because anyway the quotes in there
1990 # would cause problems or look ugly.
1991 # WARNING: Use '\'' to represent an apostrophe within the trap.
1992 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1993 trap 'exit_status=$?
1994 # Save into config.log some information that might help in debugging.
1999 ## ---------------- ##
2000 ## Cache variables. ##
2001 ## ---------------- ##
2004 # The following way of writing the cache mishandles newlines in values,
2006 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2007 eval ac_val=\$$ac_var
2011 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2015 _ | IFS | as_nl) ;; #(
2016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2017 *) { eval $ac_var=; unset $ac_var;} ;;
2022 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2023 *${as_nl}ac_space=\ *)
2025 "s/'\''/'\''\\\\'\'''\''/g;
2026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2037 ## ----------------- ##
2038 ## Output variables. ##
2039 ## ----------------- ##
2042 for ac_var in $ac_subst_vars
2044 eval ac_val=\$$ac_var
2046 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2048 $as_echo "$ac_var='\''$ac_val'\''"
2052 if test -n "$ac_subst_files"; then
2054 ## ------------------- ##
2055 ## File substitutions. ##
2056 ## ------------------- ##
2059 for ac_var
in $ac_subst_files
2061 eval ac_val
=\$
$ac_var
2063 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2065 $as_echo "$ac_var='\''$ac_val'\''"
2070 if test -s confdefs.h; then
2080 test "$ac_signal" != 0 &&
2081 $as_echo "$as_me: caught signal $ac_signal"
2082 $as_echo "$as_me: exit $exit_status"
2084 rm -f core *.core core.conftest.* &&
2085 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2088 for ac_signal
in 1 2 13 15; do
2089 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2093 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2094 rm -f -r conftest
* confdefs.h
2096 $as_echo "/* confdefs.h */" > confdefs.h
2098 # Predefined preprocessor variables.
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_NAME "$PACKAGE_NAME"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_STRING "$PACKAGE_STRING"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2120 cat >>confdefs.h
<<_ACEOF
2121 #define PACKAGE_URL "$PACKAGE_URL"
2125 # Let the site file select an alternate cache file if it wants to.
2126 # Prefer an explicitly selected file to automatically selected ones.
2129 if test -n "$CONFIG_SITE"; then
2130 ac_site_file1
=$CONFIG_SITE
2131 elif test "x$prefix" != xNONE
; then
2132 ac_site_file1
=$prefix/share
/config.site
2133 ac_site_file2
=$prefix/etc
/config.site
2135 ac_site_file1
=$ac_default_prefix/share
/config.site
2136 ac_site_file2
=$ac_default_prefix/etc
/config.site
2138 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2140 test "x$ac_site_file" = xNONE
&& continue
2141 if test -r "$ac_site_file"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2143 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2144 sed 's/^/| /' "$ac_site_file" >&5
2149 if test -r "$cache_file"; then
2150 # Some versions of bash will fail to source /dev/null (special
2151 # files actually), so we avoid doing that.
2152 if test -f "$cache_file"; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2154 $as_echo "$as_me: loading cache $cache_file" >&6;}
2156 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2157 *) .
"./$cache_file";;
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2162 $as_echo "$as_me: creating cache $cache_file" >&6;}
2166 # Check that the precious variables saved in the cache have kept the same
2168 ac_cache_corrupted
=false
2169 for ac_var
in $ac_precious_vars; do
2170 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2171 eval ac_new_set
=\
$ac_env_${ac_var}_set
2172 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2173 eval ac_new_val
=\
$ac_env_${ac_var}_value
2174 case $ac_old_set,$ac_new_set in
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2177 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2178 ac_cache_corrupted
=: ;;
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2181 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2182 ac_cache_corrupted
=: ;;
2185 if test "x$ac_old_val" != "x$ac_new_val"; then
2186 # differences in whitespace do not lead to failure.
2187 ac_old_val_w
=`echo x $ac_old_val`
2188 ac_new_val_w
=`echo x $ac_new_val`
2189 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2191 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2192 ac_cache_corrupted
=:
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2195 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2196 eval $ac_var=\
$ac_old_val
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2199 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2201 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2204 # Pass precious variables to config.status.
2205 if test "$ac_new_set" = set; then
2207 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2208 *) ac_arg
=$ac_var=$ac_new_val ;;
2210 case " $ac_configure_args " in
2211 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2212 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2216 if $ac_cache_corrupted; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2220 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2221 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2223 ## -------------------- ##
2224 ## Main body of script. ##
2225 ## -------------------- ##
2228 ac_cpp
='$CPP $CPPFLAGS'
2229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2242 # if PWD already has a value, it is probably wrong.
2243 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2245 # Export original configure arguments for use by sub-configures.
2246 # Quote arguments with shell meta charatcers.
2247 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2248 set -- "$progname" "$@"
2252 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2253 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2254 # if the argument is of the form -foo=baz, quote the baz part only
2255 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2258 # Add the quoted argument to the list.
2259 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2261 if test "$silent" = yes; then
2262 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2264 # Remove the initial space we just introduced and, as these will be
2265 # expanded by make, quote '$'.
2266 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2269 # Find the build, host, and target systems.
2271 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2272 for ac_t
in install-sh
install.sh shtool
; do
2273 if test -f "$ac_dir/$ac_t"; then
2275 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2280 if test -z "$ac_aux_dir"; then
2281 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2284 # These three variables are undocumented and unsupported,
2285 # and are intended to be withdrawn in a future Autoconf release.
2286 # They can cause serious problems if a builder's source tree is in a directory
2287 # whose full name contains unusual characters.
2288 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2289 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2290 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
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 test "${ac_cv_build+set}" = set; 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 case ${build_alias} in
2332 "") build_noncanonical
=${build} ;;
2333 *) build_noncanonical
=${build_alias} ;;
2338 case ${host_alias} in
2339 "") host_noncanonical
=${build_noncanonical} ;;
2340 *) host_noncanonical
=${host_alias} ;;
2345 case ${target_alias} in
2346 "") target_noncanonical
=${host_noncanonical} ;;
2347 *) target_noncanonical
=${target_alias} ;;
2353 test "$host_noncanonical" = "$target_noncanonical" &&
2354 test "$program_prefix$program_suffix$program_transform_name" = \
2356 program_transform_name
=s
,y
,y
,
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2359 $as_echo_n "checking host system type... " >&6; }
2360 if test "${ac_cv_host+set}" = set; then :
2361 $as_echo_n "(cached) " >&6
2363 if test "x$host_alias" = x
; then
2364 ac_cv_host
=$ac_cv_build
2366 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2367 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2372 $as_echo "$ac_cv_host" >&6; }
2375 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2378 ac_save_IFS
=$IFS; IFS
='-'
2384 # Remember, the first character of IFS is used to create $*,
2385 # except with old shells:
2388 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2392 $as_echo_n "checking target system type... " >&6; }
2393 if test "${ac_cv_target+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 if test "x$target_alias" = x
; then
2397 ac_cv_target
=$ac_cv_host
2399 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2400 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2405 $as_echo "$ac_cv_target" >&6; }
2406 case $ac_cv_target in
2408 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2410 target
=$ac_cv_target
2411 ac_save_IFS
=$IFS; IFS
='-'
2417 # Remember, the first character of IFS is used to create $*,
2418 # except with old shells:
2421 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2424 # The aliases save the names the user supplied, while $host etc.
2425 # will get canonicalized.
2426 test -n "$target_alias" &&
2427 test "$program_prefix$program_suffix$program_transform_name" = \
2429 program_prefix
=${target_alias}-
2431 test "$program_prefix" != NONE
&&
2432 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2433 # Use a double $ so make ignores it.
2434 test "$program_suffix" != NONE
&&
2435 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2436 # Double any \ or $.
2437 # By default was `s,x,x', remove it if useless.
2438 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2439 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2443 # Get 'install' or 'install-sh' and its variants.
2444 # Find a good install program. We prefer a C program (faster),
2445 # so one script is as good as another. But avoid the broken or
2446 # incompatible versions:
2447 # SysV /etc/install, /usr/sbin/install
2448 # SunOS /usr/etc/install
2449 # IRIX /sbin/install
2451 # AmigaOS /C/install, which installs bootblocks on floppy discs
2452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455 # OS/2's system install, which has a completely different semantic
2456 # ./install, which can be erroneously created by make from ./install.sh.
2457 # Reject install programs that cannot install multiple files.
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2459 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2460 if test -z "$INSTALL"; then
2461 if test "${ac_cv_path_install+set}" = set; then :
2462 $as_echo_n "(cached) " >&6
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 # Account for people who put trailing slashes in PATH elements.
2470 case $as_dir/ in #((
2471 .
/ | .
// |
/[cC
]/* | \
2472 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2473 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2476 # OSF1 and SCO ODT 3.0 have their own names for install.
2477 # Don't use installbsd from OSF since it installs stuff as root
2479 for ac_prog
in ginstall scoinst
install; do
2480 for ac_exec_ext
in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2482 if test $ac_prog = install &&
2483 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2484 # AIX install. It has an incompatible calling convention.
2486 elif test $ac_prog = install &&
2487 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2488 # program-specific install script used by HP pwplus--don't use.
2491 rm -rf conftest.one conftest.two conftest.dir
2492 echo one
> conftest.one
2493 echo two
> conftest.two
2495 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2496 test -s conftest.one
&& test -s conftest.two
&&
2497 test -s conftest.dir
/conftest.one
&&
2498 test -s conftest.dir
/conftest.two
2500 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2513 rm -rf conftest.one conftest.two conftest.dir
2516 if test "${ac_cv_path_install+set}" = set; then
2517 INSTALL
=$ac_cv_path_install
2519 # As a last resort, use the slow shell script. Don't cache a
2520 # value for INSTALL within a source directory, because that will
2521 # break other packages using the cache if that directory is
2522 # removed, or if the value is a relative name.
2523 INSTALL
=$ac_install_sh
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2527 $as_echo "$INSTALL" >&6; }
2529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2530 # It thinks the first close brace ends the variable substitution.
2531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2535 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2538 $as_echo_n "checking whether ln works... " >&6; }
2539 if test "${acx_cv_prog_LN+set}" = set; then :
2540 $as_echo_n "(cached) " >&6
2542 rm -f conftestdata_t
2543 echo >conftestdata_f
2544 if ln conftestdata_f conftestdata_t
2>/dev
/null
2550 rm -f conftestdata_f conftestdata_t
2553 if test $acx_cv_prog_LN = no
; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2556 $as_echo "no, using $LN" >&6; }
2558 LN
="$acx_cv_prog_LN"
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2560 $as_echo "yes" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2564 $as_echo_n "checking whether ln -s works... " >&6; }
2566 if test "$LN_S" = "ln -s"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2568 $as_echo "yes" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2571 $as_echo "no, using $LN_S" >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2575 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2576 if test "${ac_cv_path_SED+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2580 for ac_i
in 1 2 3 4 5 6 7; do
2581 ac_script
="$ac_script$as_nl$ac_script"
2583 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2584 { ac_script
=; unset ac_script
;}
2585 if test -z "$SED"; then
2586 ac_path_SED_found
=false
2587 # Loop through the user's path and test for each of PROGNAME-LIST
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_prog
in sed gsed
; do
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2596 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2597 # Check for GNU ac_path_SED and select it if it is found.
2598 # Check for GNU $ac_path_SED
2599 case `"$ac_path_SED" --version 2>&1` in
2601 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2604 $as_echo_n 0123456789 >"conftest.in"
2607 cat "conftest.in" "conftest.in" >"conftest.tmp"
2608 mv "conftest.tmp" "conftest.in"
2609 cp "conftest.in" "conftest.nl"
2610 $as_echo '' >> "conftest.nl"
2611 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2612 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2613 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2614 if test $ac_count -gt ${ac_path_SED_max-0}; then
2615 # Best one so far, save it but keep looking for a better one
2616 ac_cv_path_SED
="$ac_path_SED"
2617 ac_path_SED_max
=$ac_count
2619 # 10*(2^10) chars as input seems more than enough
2620 test $ac_count -gt 10 && break
2622 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2625 $ac_path_SED_found && break 3
2630 if test -z "$ac_cv_path_SED"; then
2631 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2639 $as_echo "$ac_cv_path_SED" >&6; }
2640 SED
="$ac_cv_path_SED"
2643 for ac_prog
in gawk mawk nawk
awk
2645 # Extract the first word of "$ac_prog", so it can be a program name with args.
2646 set dummy
$ac_prog; ac_word
=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if test "${ac_cv_prog_AWK+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$AWK"; then
2653 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_exec_ext
in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_AWK
="$ac_prog"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$AWK"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2675 $as_echo "$AWK" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2682 test -n "$AWK" && break
2686 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2688 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2690 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2691 INSTALL
="${srcpwd}/install-sh -c"
2694 # Set srcdir to "." if that's what it is.
2695 # This is important for multilib support.
2697 if test "${pwd}" = "${srcpwd}" ; then
2705 ### To add a new directory to the tree, first choose whether it is a target
2706 ### or a host dependent tool. Then put it into the appropriate list
2707 ### (library or tools, host or target), doing a dependency sort.
2709 # Subdirs will be configured in the order listed in build_configdirs,
2710 # configdirs, or target_configdirs; see the serialization section below.
2712 # Dependency sorting is only needed when *configuration* must be done in
2713 # a particular order. In all cases a dependency should be specified in
2714 # the Makefile, whether or not it's implicitly specified here.
2716 # Double entries in build_configdirs, configdirs, or target_configdirs may
2717 # cause circular dependencies and break everything horribly.
2719 # these library is used by various programs built for the build
2722 build_libs
="build-libiberty build-libcpp"
2724 # these tools are built for the build environment
2725 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2727 # these libraries are used by various programs built for the host environment
2729 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2731 # these tools are built for the host environment
2732 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2733 # know that we are building the simulator.
2734 # binutils, gas and ld appear in that order because it makes sense to run
2735 # "make check" in that particular order.
2736 # If --enable-gold is used, "gold" may replace "ld".
2737 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2739 # libgcj represents the runtime libraries only used by gcj.
2740 libgcj
="target-libffi \
2744 # these libraries are built for the target environment, and are built after
2745 # the host libraries and the host tools (which may be a cross compiler)
2746 # Note that libiberty is not a target library.
2747 target_libraries
="target-libgcc \
2748 target-libbacktrace \
2753 target-liboffloadmic \
2756 target-libstdc++-v3 \
2757 target-libsanitizer \
2761 target-libquadmath \
2762 target-libgfortran \
2769 # these tools are built using the target libraries, and are intended to
2770 # run only in the target environment
2772 # note: any program that *uses* libraries that are in the "target_libraries"
2773 # list belongs in this list.
2775 target_tools
="target-rda"
2777 ################################################################################
2779 ## All tools belong in one of the four categories, and are assigned above
2780 ## We assign ${configdirs} this way to remove all embedded newlines. This
2781 ## is important because configure will choke if they ever get through.
2782 ## ${configdirs} is directories we build using the host tools.
2783 ## ${target_configdirs} is directories we build using the target tools.
2784 configdirs
=`echo ${host_libs} ${host_tools}`
2785 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2786 build_configdirs
=`echo ${build_libs} ${build_tools}`
2790 ################################################################################
2792 srcname
="gnu development package"
2794 # This gets set non-empty for some net releases of packages.
2797 # Define is_cross_compiler to save on calls to 'test'.
2799 if test x
"${host}" = x
"${target}" ; then
2800 is_cross_compiler
=no
2802 is_cross_compiler
=yes
2805 # Find the build and target subdir names.
2807 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2808 # have matching libraries, they should use host libraries: Makefile.tpl
2809 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2810 # However, they still use the build modules, because the corresponding
2811 # host modules (e.g. bison) are only built for the host when bootstrap
2813 # - build_subdir is where we find build modules, and never changes.
2814 # - build_libsubdir is where we find build libraries, and can be overridden.
2816 # Prefix 'build-' so this never conflicts with target_subdir.
2817 build_subdir
="build-${build_noncanonical}"
2819 # Check whether --with-build-libsubdir was given.
2820 if test "${with_build_libsubdir+set}" = set; then :
2821 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2823 build_libsubdir
="$build_subdir"
2826 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2827 if ( test $srcdir = .
&& test -d gcc
) \
2828 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2829 host_subdir
="host-${host_noncanonical}"
2834 target_subdir
=${target_noncanonical}
2836 # Be sure to cover against remnants of an in-tree build.
2837 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2838 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2839 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2842 # Skipdirs are removed silently.
2844 # Noconfigdirs are removed loudly.
2848 # Make sure we don't let GNU ld be added if we didn't want it.
2849 if test x
$with_gnu_ld = xno
; then
2851 noconfigdirs
="$noconfigdirs ld gold"
2855 # Make sure we don't let GNU as be added if we didn't want it.
2856 if test x
$with_gnu_as = xno
; then
2858 noconfigdirs
="$noconfigdirs gas"
2863 # Check whether --with-system-zlib was given.
2864 if test "${with_system_zlib+set}" = set; then :
2865 withval
=$with_system_zlib;
2868 # Make sure we don't let ZLIB be added if we didn't want it.
2869 if test x
$with_system_zlib = xyes
; then
2870 use_included_zlib
=no
2871 noconfigdirs
="$noconfigdirs zlib"
2874 # some tools are so dependent upon X11 that if we're not building with X,
2875 # it's not even worth trying to configure, much less build, that tool.
2878 yes |
"") ;; # the default value for this tree is that X11 is available
2880 skipdirs
="${skipdirs} tk itcl libgui"
2881 # We won't be able to build gdbtk without X.
2884 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2887 # Some are only suitable for cross toolchains.
2888 # Remove these if host=target.
2889 cross_only
="target-libgloss target-newlib target-opcodes"
2891 case $is_cross_compiler in
2892 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2895 # If both --with-headers and --with-libs are specified, default to
2897 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2898 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2899 if test x
"${with_newlib}" = x
; then
2904 # Recognize --with-newlib/--without-newlib.
2905 case ${with_newlib} in
2906 no
) skipdirs
="${skipdirs} target-newlib" ;;
2907 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2910 # Check whether --enable-as-accelerator-for was given.
2911 if test "${enable_as_accelerator_for+set}" = set; then :
2912 enableval
=$enable_as_accelerator_for;
2916 # Check whether --enable-offload-targets was given.
2917 if test "${enable_offload_targets+set}" = set; then :
2918 enableval
=$enable_offload_targets;
2919 if test x
"$enable_offload_targets" = x
; then
2920 as_fn_error
"no offload targets specified" "$LINENO" 5
2924 enable_offload_targets
=
2928 # Handle --enable-gold, --enable-ld.
2929 # --disable-gold [--enable-ld]
2930 # Build only ld. Default option.
2931 # --enable-gold [--enable-ld]
2932 # Build both gold and ld. Install gold as "ld.gold", install ld
2933 # as "ld.bfd" and "ld".
2934 # --enable-gold=default [--enable-ld]
2935 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2936 # install ld as "ld.bfd".
2937 # --enable-gold[=default] --disable-ld
2938 # Build only gold, which is then installed as both "ld.gold" and "ld".
2939 # --enable-gold --enable-ld=default
2940 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2942 # In other words, ld is default
2943 # --enable-gold=default --enable-ld=default
2947 # Check whether --enable-gold was given.
2948 if test "${enable_gold+set}" = set; then :
2949 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2954 case "${ENABLE_GOLD}" in
2956 # Check for ELF target.
2959 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2960 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2961 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2962 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2964 *-*-linux*aout
* |
*-*-linux*oldld
*)
2972 if test "$is_elf" = "yes"; then
2973 # Check for target supported by gold.
2975 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2976 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2977 configdirs
="$configdirs gold"
2978 if test x
${ENABLE_GOLD} = xdefault
; then
2989 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2993 # Check whether --enable-ld was given.
2994 if test "${enable_ld+set}" = set; then :
2995 enableval
=$enable_ld; ENABLE_LD
=$enableval
3001 case "${ENABLE_LD}" in
3003 if test x
${default_ld} != x
; then
3004 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3010 if test x
${ENABLE_GOLD} != xyes
; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3012 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3014 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3017 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3022 # Decide the default method for compressing debug sections.
3023 # Provide a configure time option to override our default.
3024 # Check whether --enable-compressed_debug_sections was given.
3025 if test "${enable_compressed_debug_sections+set}" = set; then :
3026 enableval
=$enable_compressed_debug_sections;
3027 if test x
"$enable_compressed_debug_sections" = xyes
; then
3028 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3032 enable_compressed_debug_sections
=
3036 # Configure extra directories which are host specific
3040 configdirs
="$configdirs libtermcap" ;;
3043 # A target can indicate whether a language isn't supported for some reason.
3044 # Only spaces may be used in this macro; not newlines or tabs.
3045 unsupported_languages
=
3047 # Remove more programs from consideration, based on the host or
3048 # target this usually means that a port of the program doesn't
3052 i
[3456789]86-*-msdosdjgpp*)
3053 noconfigdirs
="$noconfigdirs tcl tk itcl"
3058 # Check whether --enable-libquadmath was given.
3059 if test "${enable_libquadmath+set}" = set; then :
3060 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3062 ENABLE_LIBQUADMATH
=yes
3065 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3066 noconfigdirs
="$noconfigdirs target-libquadmath"
3070 # Check whether --enable-libquadmath-support was given.
3071 if test "${enable_libquadmath_support+set}" = set; then :
3072 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3074 ENABLE_LIBQUADMATH_SUPPORT
=yes
3077 enable_libquadmath_support
=
3078 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3079 enable_libquadmath_support
=no
3083 # Check whether --enable-libada was given.
3084 if test "${enable_libada+set}" = set; then :
3085 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3090 if test "${ENABLE_LIBADA}" != "yes" ; then
3091 noconfigdirs
="$noconfigdirs gnattools"
3094 # Check whether --enable-libssp was given.
3095 if test "${enable_libssp+set}" = set; then :
3096 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3102 # Check whether --enable-libstdcxx was given.
3103 if test "${enable_libstdcxx+set}" = set; then :
3104 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3106 ENABLE_LIBSTDCXX
=default
3109 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3110 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3113 # If this is accelerator compiler and its target is intelmic we enable
3114 # target liboffloadmic by default. If this is compiler with offloading
3115 # for intelmic we enable host liboffloadmic by default. Otherwise
3116 # liboffloadmic is disabled by default.
3117 # Check whether --enable-liboffloadmic was given.
3118 if test "${enable_liboffloadmic+set}" = set; then :
3119 enableval
=$enable_liboffloadmic; case "$enableval" in
3121 enable_liboffloadmic
=$enableval ;;
3123 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3126 if test x
"$enable_as_accelerator_for" != x
; then
3128 *-intelmic-* |
*-intelmicemul-*)
3129 enable_liboffloadmic
=target
3130 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3133 enable_liboffloadmic
=no
3137 case "${enable_offload_targets}" in
3138 *-intelmic-* |
*-intelmicemul-*)
3139 enable_liboffloadmic
=host
3140 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3143 enable_liboffloadmic
=no
3151 # Save it here so that, even in case of --enable-libgcj, if the Java
3152 # front-end isn't enabled, we still get libgcj disabled.
3153 libgcj_saved
=$libgcj
3154 case $enable_libgcj in
3156 # If we reset it here, it won't get added to noconfigdirs in the
3157 # target-specific build rules, so it will be forcibly enabled
3158 # (unless the Java language itself isn't enabled).
3162 # Make sure we get it printed in the list of not supported target libs.
3163 # Don't disable libffi, though, other languages use it.
3164 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3165 # Clear libgcj_saved so that even if java is enabled libffi won't be
3171 # Check whether --enable-static-libjava was given.
3172 if test "${enable_static_libjava+set}" = set; then :
3173 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3175 ENABLE_STATIC_LIBJAVA
=no
3178 enable_static_libjava
=
3179 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3180 enable_static_libjava
=yes
3183 if test x
$enable_static_libjava != xyes
; then
3184 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3188 # Enable libgomp by default on hosted POSIX systems, and a few others.
3189 if test x
$enable_libgomp = x
; then
3191 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3193 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3195 *-*-solaris2* |
*-*-hpux11*)
3197 *-*-darwin* |
*-*-aix*)
3202 noconfigdirs
="$noconfigdirs target-libgomp"
3207 # Disable libatomic on unsupported systems.
3208 if test -d ${srcdir}/libatomic
; then
3209 if test x
$enable_libatomic = x
; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3211 $as_echo_n "checking for libatomic support... " >&6; }
3212 if (srcdir
=${srcdir}/libatomic
; \
3213 .
${srcdir}/configure.tgt
; \
3214 test -n "$UNSUPPORTED")
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3218 noconfigdirs
="$noconfigdirs target-libatomic"
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3221 $as_echo "yes" >&6; }
3226 # Disable libcilkrts on unsupported systems.
3227 if test -d ${srcdir}/libcilkrts
; then
3228 if test x
$enable_libcilkrts = x
; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3230 $as_echo_n "checking for libcilkrts support... " >&6; }
3231 if (srcdir
=${srcdir}/libcilkrts
; \
3232 .
${srcdir}/configure.tgt
; \
3233 test -n "$UNSUPPORTED")
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 noconfigdirs
="$noconfigdirs target-libcilkrts"
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3245 # Disable liboffloadmic on unsupported systems.
3246 if test -d ${srcdir}/liboffloadmic
; then
3247 if test x
$enable_liboffloadmic != xno
; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3249 $as_echo_n "checking for liboffloadmic support... " >&6; }
3250 if (srcdir
=${srcdir}/liboffloadmic
; \
3251 .
${srcdir}/configure.tgt
; \
3252 test -n "$UNSUPPORTED")
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3264 # Disable libitm on unsupported systems.
3265 if test -d ${srcdir}/libitm
; then
3266 if test x
$enable_libitm = x
; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3268 $as_echo_n "checking for libitm support... " >&6; }
3269 if (srcdir
=${srcdir}/libitm
; \
3270 .
${srcdir}/configure.tgt
; \
3271 test -n "$UNSUPPORTED")
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3275 noconfigdirs
="$noconfigdirs target-libitm"
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3278 $as_echo "yes" >&6; }
3283 # Disable libsanitizer on unsupported systems.
3284 if test -d ${srcdir}/libsanitizer
; then
3285 if test x
$enable_libsanitizer = x
; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3287 $as_echo_n "checking for libsanitizer support... " >&6; }
3288 if (srcdir
=${srcdir}/libsanitizer
; \
3289 .
${srcdir}/configure.tgt
; \
3290 test -n "$UNSUPPORTED")
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 noconfigdirs
="$noconfigdirs target-libsanitizer"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3302 # Disable libvtv on unsupported systems.
3303 if test -d ${srcdir}/libvtv
; then
3304 if test x
$enable_libvtv = x
; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3306 $as_echo_n "checking for libvtv support... " >&6; }
3307 if (srcdir
=${srcdir}/libvtv
; \
3308 .
${srcdir}/configure.tgt
; \
3309 test "$VTV_SUPPORTED" != "yes")
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3313 noconfigdirs
="$noconfigdirs target-libvtv"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3322 # Enable libmpx on supported systems by request.
3323 if test -d ${srcdir}/libmpx
; then
3324 if test x
$enable_libmpx = x
; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3326 $as_echo_n "checking for libmpx support... " >&6; }
3327 if (srcdir
=${srcdir}/libmpx
; \
3328 .
${srcdir}/configure.tgt
; \
3329 test "$LIBMPX_SUPPORTED" != "yes")
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 noconfigdirs
="$noconfigdirs target-libmpx"
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336 $as_echo "yes" >&6; }
3343 # Disable libquadmath for some systems.
3346 noconfigdirs
="$noconfigdirs target-libquadmath"
3348 # libquadmath is unused on AIX and libquadmath build process use of
3349 # LD_LIBRARY_PATH can break AIX bootstrap.
3350 powerpc-
*-aix* | rs6000-
*-aix*)
3351 noconfigdirs
="$noconfigdirs target-libquadmath"
3355 # Disable libssp for some systems.
3358 # No hosted I/O support.
3359 noconfigdirs
="$noconfigdirs target-libssp"
3361 powerpc-
*-aix* | rs6000-
*-aix*)
3362 noconfigdirs
="$noconfigdirs target-libssp"
3365 # libssp uses a misaligned load to trigger a fault, but the RL78
3366 # doesn't fault for those - instead, it gives a build-time error
3367 # for explicit misaligned loads.
3368 noconfigdirs
="$noconfigdirs target-libssp"
3371 # No hosted I/O support.
3372 noconfigdirs
="$noconfigdirs target-libssp"
3376 # Disable libstdc++-v3 for some systems.
3377 # Allow user to override this if they pass --enable-libstdc++-v3
3378 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3381 # VxWorks uses the Dinkumware C++ library.
3382 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3385 # the C++ libraries don't build on top of CE's C libraries
3386 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3389 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3392 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3397 # Disable Fortran for some systems.
3400 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3401 unsupported_languages
="$unsupported_languages fortran"
3405 # Disable Java if libffi is not supported.
3437 powerpc-
*-aix* | rs6000-
*-aix*)
3441 powerpc64-
*-freebsd*)
3445 s390-
*-* | s390x-
*-*)
3447 sh-
*-* | sh
[34]*-*-*)
3454 unsupported_languages
="$unsupported_languages java"
3458 # Disable Java, libgcj or related libraries for some systems.
3462 i
[3456789]86-*-darwin*)
3464 x86_64-
*-darwin[912]*)
3467 noconfigdirs
="$noconfigdirs ${libgcj}"
3470 noconfigdirs
="$noconfigdirs ${libgcj}"
3473 noconfigdirs
="$noconfigdirs ${libgcj}"
3476 noconfigdirs
="$noconfigdirs ${libgcj}"
3479 noconfigdirs
="$noconfigdirs ${libgcj}"
3482 noconfigdirs
="$noconfigdirs ${libgcj}"
3485 noconfigdirs
="$noconfigdirs ${libgcj}"
3488 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 noconfigdirs
="$noconfigdirs ${libgcj}"
3494 noconfigdirs
="$noconfigdirs ${libgcj}"
3497 noconfigdirs
="$noconfigdirs ${libgcj}"
3500 noconfigdirs
="$noconfigdirs target-boehm-gc"
3502 cris-
*-* | crisv32-
*-*)
3503 unsupported_languages
="$unsupported_languages java"
3507 *) # See PR46792 regarding target-libffi.
3508 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3512 # In this case, it's because the hppa64-linux target is for
3513 # the kernel only at this point and has no libc, and thus no
3514 # headers, crt*.o, etc., all of which are needed by these.
3515 unsupported_languages
="$unsupported_languages java"
3518 noconfigdirs
="$noconfigdirs ${libgcj}"
3523 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3524 # build on HP-UX 10.20.
3525 noconfigdirs
="$noconfigdirs ${libgcj}"
3528 noconfigdirs
="$noconfigdirs ${libgcj}"
3530 i
[3456789]86-w64-mingw*)
3531 noconfigdirs
="$noconfigdirs ${libgcj}"
3533 i
[3456789]86-*-mingw*)
3534 noconfigdirs
="$noconfigdirs ${libgcj}"
3537 noconfigdirs
="$noconfigdirs ${libgcj}"
3540 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3543 # copied from rs6000-*-* entry
3544 noconfigdirs
="$noconfigdirs ${libgcj}"
3547 noconfigdirs
="$noconfigdirs ${libgcj}"
3550 noconfigdirs
="$noconfigdirs ${libgcj}"
3553 noconfigdirs
="$noconfigdirs ${libgcj}"
3557 # Disable the go frontend on systems where it is known to not work. Please keep
3558 # this in sync with contrib/config-list.mk.
3560 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3561 unsupported_languages
="$unsupported_languages go"
3565 # Disable libgo for some systems where it is known to not work.
3566 # For testing, you can easily override this with --enable-libgo.
3567 if test x
$enable_libgo = x
; then
3571 noconfigdirs
="$noconfigdirs target-libgo"
3573 *-*-cygwin* |
*-*-mingw*)
3574 noconfigdirs
="$noconfigdirs target-libgo"
3577 noconfigdirs
="$noconfigdirs target-libgo"
3582 # Default libgloss CPU subdirectory.
3583 libgloss_dir
="$target_cpu"
3586 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3590 libgloss_dir
=aarch64
3595 cris-
*-* | crisv32-
*-*)
3604 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3605 libgloss_dir
=m68hc11
3607 m68
*-*-* | fido-
*-*)
3621 # Disable newlib and libgloss for various target OSes.
3624 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 i
[3456789]86-*-linux*)
3627 # This section makes it possible to build newlib natively on linux.
3628 # If we are using a cross compiler then don't configure newlib.
3629 if test x
${is_cross_compiler} != xno
; then
3630 noconfigdirs
="$noconfigdirs target-newlib"
3632 noconfigdirs
="$noconfigdirs target-libgloss"
3633 # If we are not using a cross compiler, do configure newlib.
3634 # Note however, that newlib will only be configured in this situation
3635 # if the --with-newlib option has been given, because otherwise
3636 # 'target-newlib' will appear in skipdirs.
3638 i
[3456789]86-*-rdos*)
3639 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3642 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3645 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3648 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3651 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3654 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3657 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3660 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3662 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3663 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3666 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3669 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3672 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3675 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3678 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3681 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3684 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3693 noconfigdirs
="$noconfigdirs sim target-rda"
3696 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3697 noconfigdirs
="$noconfigdirs sim target-rda"
3700 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3701 noconfigdirs
="$noconfigdirs sim target-rda"
3703 i
[3456789]86-*-darwin*)
3704 noconfigdirs
="$noconfigdirs ld gprof"
3705 noconfigdirs
="$noconfigdirs sim target-rda"
3707 x86_64-
*-darwin[912]*)
3708 noconfigdirs
="$noconfigdirs ld gas gprof"
3709 noconfigdirs
="$noconfigdirs sim target-rda"
3712 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3713 noconfigdirs
="$noconfigdirs sim target-rda"
3718 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3719 && test -f /usr
/local
/include
/gmp.h
; then
3724 # Remove unsupported stuff on all kaOS configurations.
3725 noconfigdirs
="$noconfigdirs target-libgloss"
3732 noconfigdirs
="$noconfigdirs target-libgloss"
3735 noconfigdirs
="$noconfigdirs target-libgloss"
3736 # this is not caught below because this stanza matches earlier
3738 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3741 # The tpf target doesn't support gdb yet.
3743 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3746 noconfigdirs
="$noconfigdirs target-rda"
3751 # ld works, but does not support shared libraries.
3752 # gas doesn't generate exception information.
3753 noconfigdirs
="$noconfigdirs gas ld"
3756 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3759 # newlib is not 64 bit ready
3760 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3762 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3763 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3766 noconfigdirs
="$noconfigdirs sim"
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3772 noconfigdirs
="$noconfigdirs ld target-libgloss"
3775 if test x
${with_avrlibc} != xno
; then
3776 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3779 c4x-
*-* | tic4x-
*-*)
3780 noconfigdirs
="$noconfigdirs target-libgloss"
3783 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3786 noconfigdirs
="$noconfigdirs target-libgloss"
3789 noconfigdirs
="$noconfigdirs gdb"
3792 noconfigdirs
="$noconfigdirs gdb"
3795 noconfigdirs
="$noconfigdirs target-rda gprof"
3798 noconfigdirs
="$noconfigdirs"
3801 noconfigdirs
="$noconfigdirs target-libgloss"
3804 noconfigdirs
="$noconfigdirs target-libgloss"
3806 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3809 noconfigdirs
="$noconfigdirs gdb"
3812 noconfigdirs
="$noconfigdirs gdb ld"
3820 hppa
*-*-openbsd* | \
3826 noconfigdirs
="$noconfigdirs ld"
3829 noconfigdirs
="$noconfigdirs gdb"
3832 # No gdb support yet.
3833 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3836 # No ld support yet.
3837 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3840 # No ld support yet.
3841 noconfigdirs
="$noconfigdirs libgui itcl ld"
3843 i
[3456789]86-w64-mingw*)
3845 i
[3456789]86-*-mingw*)
3846 target_configdirs
="$target_configdirs target-winsup"
3849 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3850 noconfigdirs
="$noconfigdirs target-libgloss"
3851 # always build newlib if winsup directory is present.
3852 if test -d "$srcdir/winsup/cygwin"; then
3853 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3854 elif test -d "$srcdir/newlib"; then
3855 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3859 noconfigdirs
="$noconfigdirs target-libgloss"
3861 i
[3456789]86-*-sco3.2v5
*)
3862 # The linker does not yet know about weak symbols in COFF,
3863 # and is not configured to handle mixed ELF and COFF.
3864 noconfigdirs
="$noconfigdirs ld target-libgloss"
3866 i
[3456789]86-*-sco*)
3867 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3869 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3870 noconfigdirs
="$noconfigdirs target-libgloss"
3872 i
[3456789]86-*-sysv4*)
3873 noconfigdirs
="$noconfigdirs target-libgloss"
3875 i
[3456789]86-*-beos*)
3876 noconfigdirs
="$noconfigdirs gdb"
3878 i
[3456789]86-*-rdos*)
3879 noconfigdirs
="$noconfigdirs gdb"
3882 noconfigdirs
="$noconfigdirs gdb"
3885 noconfigdirs
="$noconfigdirs sim"
3888 # copied from rs6000-*-* entry
3889 noconfigdirs
="$noconfigdirs gprof"
3891 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3892 target_configdirs
="$target_configdirs target-winsup"
3893 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3894 # always build newlib.
3895 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3897 # This is temporary until we can link against shared libraries
3898 powerpcle-
*-solaris*)
3899 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3902 noconfigdirs
="$noconfigdirs gdb"
3905 noconfigdirs
="$noconfigdirs gprof"
3908 noconfigdirs
="$noconfigdirs gprof"
3911 noconfigdirs
="$noconfigdirs gprof"
3914 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3917 noconfigdirs
="$noconfigdirs gprof"
3919 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3920 if test x
$with_newlib = xyes
; then
3921 noconfigdirs
="$noconfigdirs gprof"
3925 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3928 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3931 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3935 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3936 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3937 noconfigdirs
="$noconfigdirs ld gas gprof"
3940 noconfigdirs
="$noconfigdirs gprof"
3943 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3946 noconfigdirs
="$noconfigdirs gdb"
3953 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3957 if test x
${is_cross_compiler} = xno
; then
3962 noconfigdirs
="$noconfigdirs sim"
3964 tilepro
*-*-* | tilegx
*-*-*)
3965 noconfigdirs
="$noconfigdirs sim"
3968 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3971 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3975 # If we aren't building newlib, then don't build libgloss, since libgloss
3976 # depends upon some newlib header files.
3977 case "${noconfigdirs}" in
3978 *target-libgloss
*) ;;
3979 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3982 # Work in distributions that contain no compiler tools, like Autoconf.
3983 host_makefile_frag
=/dev
/null
3984 if test -d ${srcdir}/config
; then
3986 i
[3456789]86-*-msdosdjgpp*)
3987 host_makefile_frag
="config/mh-djgpp"
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3992 $as_echo_n "checking to see if cat works as expected... " >&6; }
3993 echo a
>cygwin-cat-check
3994 if test `cat cygwin-cat-check` = a
; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3997 $as_echo "yes" >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 as_fn_error
"The cat command does not ignore carriage return characters.
4003 Please either mount the build directory in binary mode or run the following
4004 commands before running any configure script:
4010 host_makefile_frag
="config/mh-cygwin"
4013 host_makefile_frag
="config/mh-mingw"
4016 host_makefile_frag
="config/mh-alpha-linux"
4019 host_makefile_frag
="config/mh-pa-hpux10"
4022 host_makefile_frag
="config/mh-pa"
4025 host_makefile_frag
="config/mh-pa"
4028 host_makefile_frag
="config/mh-darwin"
4031 host_makefile_frag
="config/mh-ppc-aix"
4034 host_makefile_frag
="config/mh-ppc-aix"
4039 if test "${build}" != "${host}" ; then
4040 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4041 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4042 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4043 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4044 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4045 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4046 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4047 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4048 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4049 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4050 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4051 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4052 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4054 AR_FOR_BUILD
="\$(AR)"
4055 AS_FOR_BUILD
="\$(AS)"
4056 CC_FOR_BUILD
="\$(CC)"
4057 CXX_FOR_BUILD
="\$(CXX)"
4058 GCJ_FOR_BUILD
="\$(GCJ)"
4059 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4060 GOC_FOR_BUILD
="\$(GOC)"
4061 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4062 LD_FOR_BUILD
="\$(LD)"
4063 NM_FOR_BUILD
="\$(NM)"
4064 RANLIB_FOR_BUILD
="\$(RANLIB)"
4065 WINDRES_FOR_BUILD
="\$(WINDRES)"
4066 WINDMC_FOR_BUILD
="\$(WINDMC)"
4070 ac_cpp
='$CPP $CPPFLAGS'
4071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4074 if test -n "$ac_tool_prefix"; then
4075 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4076 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_CC+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$CC"; then
4083 ac_cv_prog_CC
="$CC" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 if test -n "$CC"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4105 $as_echo "$CC" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4113 if test -z "$ac_cv_prog_CC"; then
4115 # Extract the first word of "gcc", so it can be a program name with args.
4116 set dummy gcc
; ac_word
=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$ac_ct_CC"; then
4123 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132 ac_cv_prog_ac_ct_CC
="gcc"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4143 if test -n "$ac_ct_CC"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4145 $as_echo "$ac_ct_CC" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4151 if test "x$ac_ct_CC" = x
; then
4154 case $cross_compiling:$ac_tool_warned in
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4158 ac_tool_warned
=yes ;;
4166 if test -z "$CC"; then
4167 if test -n "$ac_tool_prefix"; then
4168 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4169 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if test "${ac_cv_prog_CC+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$CC"; then
4176 ac_cv_prog_CC
="$CC" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 if test -n "$CC"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4198 $as_echo "$CC" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4207 if test -z "$CC"; then
4208 # Extract the first word of "cc", so it can be a program name with args.
4209 set dummy cc
; ac_word
=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if test "${ac_cv_prog_CC+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -n "$CC"; then
4216 ac_cv_prog_CC
="$CC" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4227 ac_prog_rejected
=yes
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 if test $ac_prog_rejected = yes; then
4239 # We found a bogon in the path, so make sure we never use it.
4240 set dummy
$ac_cv_prog_CC
4242 if test $# != 0; then
4243 # We chose a different compiler from the bogus one.
4244 # However, it has the same basename, so the bogon will be chosen
4245 # first if we set CC to just the basename; use the full file name.
4247 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4253 if test -n "$CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4255 $as_echo "$CC" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4263 if test -z "$CC"; then
4264 if test -n "$ac_tool_prefix"; then
4265 for ac_prog
in cl.exe
4267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if test "${ac_cv_prog_CC+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$CC"; then
4275 ac_cv_prog_CC
="$CC" # Let the user override the test.
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 if test -n "$CC"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4297 $as_echo "$CC" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$CC" && break
4307 if test -z "$CC"; then
4309 for ac_prog
in cl.exe
4311 # Extract the first word of "$ac_prog", so it can be a program name with args.
4312 set dummy
$ac_prog; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$ac_ct_CC"; then
4319 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_prog_ac_ct_CC
="$ac_prog"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4339 if test -n "$ac_ct_CC"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4341 $as_echo "$ac_ct_CC" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4348 test -n "$ac_ct_CC" && break
4351 if test "x$ac_ct_CC" = x
; then
4354 case $cross_compiling:$ac_tool_warned in
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4358 ac_tool_warned
=yes ;;
4367 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4369 as_fn_error
"no acceptable C compiler found in \$PATH
4370 See \`config.log' for more details." "$LINENO" 5; }
4372 # Provide some information about the compiler.
4373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4376 for ac_option
in --version -v -V -qversion; do
4377 { { ac_try
="$ac_compiler $ac_option >&5"
4379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4386 if test -s conftest.err; then
4388 ... rest of stderr output deleted ...
4389 10q' conftest.err >conftest.er1
4390 cat conftest.er1 >&5
4391 rm -f conftest.er1 conftest.err
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4408 ac_clean_files_save=$ac_clean_files
4409 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4410 # Try to create an executable without -o first, disregard a.out.
4411 # It will help us diagnose broken compilers, and finding out an intuition
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4414 $as_echo_n "checking for C compiler default output file name... " >&6; }
4415 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4417 # The possible output files:
4418 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4421 for ac_file in $ac_files
4424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4425 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4430 if { { ac_try="$ac_link_default"
4432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4433 *) ac_try_echo
=$ac_try;;
4435 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_link_default") 2>&5
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }; then :
4441 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4442 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4443 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4444 # so that the user can short-circuit this test for compilers unknown to
4446 for ac_file
in $ac_files ''
4448 test -f "$ac_file" ||
continue
4450 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4453 # We found the default executable, but exeext='' is most
4457 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4459 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4461 # We set ac_cv_exeext here because the later test for it is not
4462 # safe: cross compilers may not add the suffix if given an `-o'
4463 # argument, so we may need to know it at that point already.
4464 # Even if this section looks crufty: it has the advantage of
4471 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4477 $as_echo "$ac_file" >&6; }
4478 if test -z "$ac_file"; then :
4479 $as_echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4484 { as_fn_set_status
77
4485 as_fn_error
"C compiler cannot create executables
4486 See \`config.log' for more details." "$LINENO" 5; }; }
4488 ac_exeext
=$ac_cv_exeext
4490 # Check that the compiler produces executables we can run. If not, either
4491 # the compiler is broken, or we cross compile.
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4493 $as_echo_n "checking whether the C compiler works... " >&6; }
4494 # If not cross compiling, check that we can run a simple program.
4495 if test "$cross_compiling" != yes; then
4496 if { ac_try
='./$ac_file'
4497 { { case "(($ac_try" in
4498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_try") 2>&5
4505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4506 test $ac_status = 0; }; }; then
4509 if test "$cross_compiling" = maybe; then
4512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4514 as_fn_error "cannot run C compiled programs.
4515 If you meant to cross compile
, use \
`--host'.
4516 See \`config.log
' for more details." "$LINENO" 5; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4521 $as_echo "yes" >&6; }
4523 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4524 ac_clean_files=$ac_clean_files_save
4525 # Check that the compiler produces executables we can run. If not, either
4526 # the compiler is broken, or we cross compile.
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4528 $as_echo_n "checking whether we are cross compiling... " >&6; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4530 $as_echo "$cross_compiling" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4533 $as_echo_n "checking for suffix of executables... " >&6; }
4534 if { { ac_try="$ac_link"
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4540 $as_echo "$ac_try_echo"; } >&5
4541 (eval "$ac_link") 2>&5
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }; then :
4545 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4546 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4547 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4549 for ac_file
in conftest.exe conftest conftest.
*; do
4550 test -f "$ac_file" ||
continue
4552 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4553 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4561 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4562 See \`config.log' for more details." "$LINENO" 5; }
4564 rm -f conftest
$ac_cv_exeext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4566 $as_echo "$ac_cv_exeext" >&6; }
4568 rm -f conftest.
$ac_ext
4569 EXEEXT
=$ac_cv_exeext
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4572 $as_echo_n "checking for suffix of object files... " >&6; }
4573 if test "${ac_cv_objext+set}" = set; then :
4574 $as_echo_n "(cached) " >&6
4576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 rm -f conftest.o conftest.obj
4588 if { { ac_try
="$ac_compile"
4590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4591 *) ac_try_echo=$ac_try;;
4593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4594 $as_echo "$ac_try_echo"; } >&5
4595 (eval "$ac_compile") 2>&5
4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4598 test $ac_status = 0; }; then :
4599 for ac_file in conftest.o conftest.obj conftest.*; do
4600 test -f "$ac_file" || continue;
4602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4603 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4608 $as_echo "$as_me: failed program was:" >&5
4609 sed 's/^/| /' conftest.$ac_ext >&5
4611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4613 as_fn_error "cannot compute suffix of object files
: cannot compile
4614 See \
`config.log' for more details." "$LINENO" 5; }
4616 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4619 $as_echo "$ac_cv_objext" >&6; }
4620 OBJEXT=$ac_cv_objext
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4624 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4652 if test $ac_compiler_gnu = yes; then
4657 ac_test_CFLAGS=${CFLAGS+set}
4658 ac_save_CFLAGS=$CFLAGS
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4661 if test "${ac_cv_prog_cc_g+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 ac_save_c_werror_flag=$ac_c_werror_flag
4665 ac_c_werror_flag=yes
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4679 if ac_fn_c_try_compile "$LINENO"; then :
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4694 if ac_fn_c_try_compile "$LINENO"; then :
4697 ac_c_werror_flag=$ac_save_c_werror_flag
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4710 if ac_fn_c_try_compile "$LINENO"; then :
4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718 ac_c_werror_flag=$ac_save_c_werror_flag
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4721 $as_echo "$ac_cv_prog_cc_g" >&6; }
4722 if test "$ac_test_CFLAGS" = set; then
4723 CFLAGS=$ac_save_CFLAGS
4724 elif test $ac_cv_prog_cc_g = yes; then
4725 if test "$GCC" = yes; then
4731 if test "$GCC" = yes; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4739 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
4742 ac_cv_prog_cc_c89=no
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 #include <sys/types.h>
4749 #include <sys/stat.h>
4750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4751 struct buf { int x; };
4752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4753 static char *e (p, i)
4759 static char *f (char * (*g) (char **, int), char **p, ...)
4764 s = g (p, va_arg (v,int));
4769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4770 function prototypes and stuff, but not '\xHH' hex character constants.
4771 These don't provoke an error unfortunately, instead are silently treated
4772 as 'x'. The following induces an error, until -std is added to get
4773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4774 array size at least. It's necessary to write '\x00'==0 to get something
4775 that's true only with -std. */
4776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4779 inside strings and character constants. */
4781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4783 int test (int i, double x);
4784 struct s1 {int (*f) (int a);};
4785 struct s2 {int (*f) (double a);};
4786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4800 CC="$ac_save_CC $ac_arg"
4801 if ac_fn_c_try_compile "$LINENO"; then :
4802 ac_cv_prog_cc_c89=$ac_arg
4804 rm -f core conftest.err conftest.$ac_objext
4805 test "x$ac_cv_prog_cc_c89" != "xno" && break
4807 rm -f conftest.$ac_ext
4812 case "x$ac_cv_prog_cc_c89" in
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4815 $as_echo "none needed" >&6; } ;;
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4818 $as_echo "unsupported" >&6; } ;;
4820 CC="$CC $ac_cv_prog_cc_c89"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4824 if test "x$ac_cv_prog_cc_c89" != xno; then :
4829 ac_cpp='$CPP $CPPFLAGS'
4830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4835 ac_cpp='$CXXCPP $CPPFLAGS'
4836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4839 if test -z "$CXX"; then
4840 if test -n "$CCC"; then
4843 if test -n "$ac_tool_prefix"; then
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4847 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if test "${ac_cv_prog_CXX+set}" = set; then :
4851 $as_echo_n "(cached) " >&6
4853 if test -n "$CXX"; then
4854 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 if test -n "$CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4876 $as_echo "$CXX" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$CXX" && break
4886 if test -z "$CXX"; then
4888 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$ac_ct_CXX"; then
4898 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir=.
4905 for ac_exec_ext in '' $ac_executable_extensions; do
4906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4907 ac_cv_prog_ac_ct_CXX="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4918 if test -n "$ac_ct_CXX"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4920 $as_echo "$ac_ct_CXX" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$ac_ct_CXX" && break
4930 if test "x$ac_ct_CXX" = x; then
4933 case $cross_compiling:$ac_tool_warned in
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4937 ac_tool_warned=yes ;;
4945 # Provide some information about the compiler.
4946 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4949 for ac_option in --version -v -V -qversion; do
4950 { { ac_try="$ac_compiler $ac_option >&5"
4952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4953 *) ac_try_echo
=$ac_try;;
4955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4956 $as_echo "$ac_try_echo"; } >&5
4957 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4959 if test -s conftest.err
; then
4961 ... rest of stderr output deleted ...
4962 10q' conftest.err
>conftest.er1
4963 cat conftest.er1
>&5
4964 rm -f conftest.er1 conftest.err
4966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4967 test $ac_status = 0; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4971 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4972 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4989 if ac_fn_cxx_try_compile
"$LINENO"; then :
4994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4999 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5000 if test $ac_compiler_gnu = yes; then
5005 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5006 ac_save_CXXFLAGS
=$CXXFLAGS
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5008 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5009 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5013 ac_cxx_werror_flag
=yes
5016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5027 if ac_fn_cxx_try_compile
"$LINENO"; then :
5028 ac_cv_prog_cxx_g
=yes
5031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5042 if ac_fn_cxx_try_compile
"$LINENO"; then :
5045 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5058 if ac_fn_cxx_try_compile
"$LINENO"; then :
5059 ac_cv_prog_cxx_g
=yes
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5066 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5069 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5070 if test "$ac_test_CXXFLAGS" = set; then
5071 CXXFLAGS
=$ac_save_CXXFLAGS
5072 elif test $ac_cv_prog_cxx_g = yes; then
5073 if test "$GXX" = yes; then
5079 if test "$GXX" = yes; then
5086 ac_cpp
='$CPP $CPPFLAGS'
5087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5092 # We must set the default linker to the linker used by gcc for the correct
5093 # operation of libtool. If LD is not defined and we are using gcc, try to
5094 # set the LD default to the ld used by gcc.
5095 if test -z "$LD"; then
5096 if test "$GCC" = yes; then
5099 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5101 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5103 case $gcc_prog_ld in
5104 # Accept absolute paths.
5105 [\\/]* |
[A-Za-z
]:[\\/]*)
5106 LD
="$gcc_prog_ld" ;;
5111 # Check whether -static-libstdc++ -static-libgcc is supported.
5113 if test "$GCC" = yes; then
5114 saved_LDFLAGS
="$LDFLAGS"
5116 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5118 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5120 ac_cpp
='$CXXCPP $CPPFLAGS'
5121 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5129 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5130 #error -static-libstdc++ not implemented
5134 if ac_fn_cxx_try_link
"$LINENO"; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }; have_static_libs
=yes
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5141 rm -f core conftest.err conftest.
$ac_objext \
5142 conftest
$ac_exeext conftest.
$ac_ext
5144 ac_cpp
='$CPP $CPPFLAGS'
5145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5150 LDFLAGS
="$saved_LDFLAGS"
5156 if test -n "$ac_tool_prefix"; then
5157 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5158 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$GNATBIND"; then
5165 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 GNATBIND
=$ac_cv_prog_GNATBIND
5185 if test -n "$GNATBIND"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5187 $as_echo "$GNATBIND" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5195 if test -z "$ac_cv_prog_GNATBIND"; then
5196 ac_ct_GNATBIND
=$GNATBIND
5197 # Extract the first word of "gnatbind", so it can be a program name with args.
5198 set dummy gnatbind
; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$ac_ct_GNATBIND"; then
5205 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5225 if test -n "$ac_ct_GNATBIND"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5227 $as_echo "$ac_ct_GNATBIND" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5233 if test "x$ac_ct_GNATBIND" = x
; then
5236 case $cross_compiling:$ac_tool_warned in
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned
=yes ;;
5242 GNATBIND
=$ac_ct_GNATBIND
5245 GNATBIND
="$ac_cv_prog_GNATBIND"
5248 if test -n "$ac_tool_prefix"; then
5249 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5250 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$GNATMAKE"; then
5257 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 GNATMAKE
=$ac_cv_prog_GNATMAKE
5277 if test -n "$GNATMAKE"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5279 $as_echo "$GNATMAKE" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5287 if test -z "$ac_cv_prog_GNATMAKE"; then
5288 ac_ct_GNATMAKE
=$GNATMAKE
5289 # Extract the first word of "gnatmake", so it can be a program name with args.
5290 set dummy gnatmake
; ac_word
=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 if test -n "$ac_ct_GNATMAKE"; then
5297 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir
=.
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5306 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5317 if test -n "$ac_ct_GNATMAKE"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5319 $as_echo "$ac_ct_GNATMAKE" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5325 if test "x$ac_ct_GNATMAKE" = x
; then
5328 case $cross_compiling:$ac_tool_warned in
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5332 ac_tool_warned
=yes ;;
5334 GNATMAKE
=$ac_ct_GNATMAKE
5337 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5341 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5342 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5343 $as_echo_n "(cached) " >&6
5345 cat >conftest.adb
<<EOF
5346 procedure conftest is begin null; end conftest;
5348 acx_cv_cc_gcc_supports_ada
=no
5349 # There is a bug in old released versions of GCC which causes the
5350 # driver to exit successfully when the appropriate language module
5351 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5352 # Therefore we must check for the error message as well as an
5353 # unsuccessful exit.
5354 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5355 # given a .adb file, but produce no object file. So we must check
5356 # if an object file was really produced to guard against this.
5357 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5358 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5359 acx_cv_cc_gcc_supports_ada
=yes
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5364 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5366 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5373 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5374 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5379 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5380 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5381 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5384 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5387 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5388 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5391 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5398 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5399 do_compare
="$gcc_cv_prog_cmp_skip"
5403 # Check whether --enable-bootstrap was given.
5404 if test "${enable_bootstrap+set}" = set; then :
5405 enableval
=$enable_bootstrap;
5407 enable_bootstrap
=default
5411 # Issue errors and warnings for invalid/strange bootstrap combinations.
5412 if test -r $srcdir/gcc
/configure
; then
5418 case "$have_compiler:$host:$target:$enable_bootstrap" in
5421 # Default behavior. Enable bootstrap if we have a compiler
5422 # and we are in a native configuration.
5423 yes:$build:$build:default
)
5424 enable_bootstrap
=yes ;;
5427 enable_bootstrap
=no
;;
5429 # We have a compiler and we are in a native configuration, bootstrap is ok
5430 yes:$build:$build:yes)
5433 # Other configurations, but we have a compiler. Assume the user knows
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5437 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5440 # No compiler: if they passed --enable-bootstrap explicitly, fail
5442 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5444 # Fail if wrong command line
5446 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5450 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5451 # C++98 compiler can still start the bootstrap.
5452 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5453 CXX
="$CXX -std=gnu++98"
5456 # Used for setting $lt_cv_objdir
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5458 $as_echo_n "checking for objdir... " >&6; }
5459 if test "${lt_cv_objdir+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5462 rm -f .libs
2>/dev
/null
5463 mkdir .libs
2>/dev
/null
5464 if test -d .libs
; then
5467 # MS-DOS does not allow filenames that begin with a dot.
5470 rmdir .libs
2>/dev
/null
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5473 $as_echo "$lt_cv_objdir" >&6; }
5474 objdir
=$lt_cv_objdir
5480 cat >>confdefs.h
<<_ACEOF
5481 #define LT_OBJDIR "$lt_cv_objdir/"
5486 # Check for GMP, MPFR and MPC
5487 gmplibs
="-lmpc -lmpfr -lgmp"
5491 # Specify a location for mpc
5492 # check for this first so it ends up on the link line before mpfr.
5494 # Check whether --with-mpc was given.
5495 if test "${with_mpc+set}" = set; then :
5500 # Check whether --with-mpc-include was given.
5501 if test "${with_mpc_include+set}" = set; then :
5502 withval
=$with_mpc_include;
5506 # Check whether --with-mpc-lib was given.
5507 if test "${with_mpc_lib+set}" = set; then :
5508 withval
=$with_mpc_lib;
5512 if test "x$with_mpc" != x
; then
5513 gmplibs
="-L$with_mpc/lib $gmplibs"
5514 gmpinc
="-I$with_mpc/include $gmpinc"
5516 if test "x$with_mpc_include" != x
; then
5517 gmpinc
="-I$with_mpc_include $gmpinc"
5519 if test "x$with_mpc_lib" != x
; then
5520 gmplibs
="-L$with_mpc_lib $gmplibs"
5522 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5523 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5524 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5525 # Do not test the mpc version. Assume that it is sufficient, since
5526 # it is in the source tree, and the library has not been built yet
5527 # but it would be included on the link line in the version check below
5528 # hence making the test fail.
5532 # Specify a location for mpfr
5533 # check for this first so it ends up on the link line before gmp.
5535 # Check whether --with-mpfr-dir was given.
5536 if test "${with_mpfr_dir+set}" = set; then :
5537 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5538 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5543 # Check whether --with-mpfr was given.
5544 if test "${with_mpfr+set}" = set; then :
5549 # Check whether --with-mpfr-include was given.
5550 if test "${with_mpfr_include+set}" = set; then :
5551 withval
=$with_mpfr_include;
5555 # Check whether --with-mpfr-lib was given.
5556 if test "${with_mpfr_lib+set}" = set; then :
5557 withval
=$with_mpfr_lib;
5561 if test "x$with_mpfr" != x
; then
5562 gmplibs
="-L$with_mpfr/lib $gmplibs"
5563 gmpinc
="-I$with_mpfr/include $gmpinc"
5565 if test "x$with_mpfr_include" != x
; then
5566 gmpinc
="-I$with_mpfr_include $gmpinc"
5568 if test "x$with_mpfr_lib" != x
; then
5569 gmplibs
="-L$with_mpfr_lib $gmplibs"
5571 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5572 # MPFR v3.1.0 moved the sources into a src sub-directory.
5573 if ! test -d ${srcdir}/mpfr
/src
; then
5574 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5576 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5577 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5578 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5579 # Do not test the mpfr version. Assume that it is sufficient, since
5580 # it is in the source tree, and the library has not been built yet
5581 # but it would be included on the link line in the version check below
5582 # hence making the test fail.
5586 # Specify a location for gmp
5588 # Check whether --with-gmp-dir was given.
5589 if test "${with_gmp_dir+set}" = set; then :
5590 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5591 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5596 # Check whether --with-gmp was given.
5597 if test "${with_gmp+set}" = set; then :
5602 # Check whether --with-gmp-include was given.
5603 if test "${with_gmp_include+set}" = set; then :
5604 withval
=$with_gmp_include;
5608 # Check whether --with-gmp-lib was given.
5609 if test "${with_gmp_lib+set}" = set; then :
5610 withval
=$with_gmp_lib;
5615 if test "x$with_gmp" != x
; then
5616 gmplibs
="-L$with_gmp/lib $gmplibs"
5617 gmpinc
="-I$with_gmp/include $gmpinc"
5619 if test "x$with_gmp_include" != x
; then
5620 gmpinc
="-I$with_gmp_include $gmpinc"
5622 if test "x$with_gmp_lib" != x
; then
5623 gmplibs
="-L$with_gmp_lib $gmplibs"
5625 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5626 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5627 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5628 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5629 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5630 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5631 # Do not test the gmp version. Assume that it is sufficient, since
5632 # it is in the source tree, and the library has not been built yet
5633 # but it would be included on the link line in the version check below
5634 # hence making the test fail.
5638 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5640 saved_CFLAGS
="$CFLAGS"
5641 CFLAGS
="$CFLAGS $gmpinc"
5642 # Check for the recommended and required versions of GMP.
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5644 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5653 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5654 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5655 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5663 if ac_fn_c_try_compile
"$LINENO"; then :
5664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5671 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5672 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5673 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5681 if ac_fn_c_try_compile
"$LINENO"; then :
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5683 $as_echo "yes" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5686 $as_echo "buggy but acceptable" >&6; }
5688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }; have_gmp
=no
5693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5695 # If we have GMP, check the MPFR version.
5696 if test x
"$have_gmp" = xyes
; then
5697 # Check for the recommended and required versions of MPFR.
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5699 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5708 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5716 if ac_fn_c_try_compile
"$LINENO"; then :
5717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5725 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5733 if ac_fn_c_try_compile
"$LINENO"; then :
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5735 $as_echo "yes" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5738 $as_echo "buggy but acceptable" >&6; }
5740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }; have_gmp
=no
5745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5748 # Check for the MPC header version.
5749 if test x
"$have_gmp" = xyes
; then
5750 # Check for the recommended and required versions of MPC.
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5752 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5760 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5768 if ac_fn_c_try_compile
"$LINENO"; then :
5769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5776 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5784 if ac_fn_c_try_compile
"$LINENO"; then :
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5786 $as_echo "yes" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5789 $as_echo "buggy but acceptable" >&6; }
5791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }; have_gmp
=no
5796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5799 # Now check the MPFR library.
5800 if test x
"$have_gmp" = xyes
; then
5802 LIBS
="$LIBS $gmplibs"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5804 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5818 mpfr_atan2 (n, n, x, GMP_RNDN);
5819 mpfr_erfc (n, x, GMP_RNDN);
5820 mpfr_subnormalize (x, t, GMP_RNDN);
5824 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5825 mpc_cosh (c, c, MPC_RNDNN);
5826 mpc_pow (c, c, c, MPC_RNDNN);
5827 mpc_acosh (c, c, MPC_RNDNN);
5834 if ac_fn_c_try_link
"$LINENO"; then :
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5836 $as_echo "yes" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }; have_gmp
=no
5841 rm -f core conftest.err conftest.
$ac_objext \
5842 conftest
$ac_exeext conftest.
$ac_ext
5846 CFLAGS
="$saved_CFLAGS"
5848 # The library versions listed in the error message below should match
5849 # the HARD-minimums enforced above.
5850 if test x
$have_gmp != xyes
; then
5851 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5852 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5853 their locations. Source code for these libraries can be found at
5854 their respective hosting sites as well as at
5855 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5856 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5857 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5858 make sure that you have installed both the libraries and the header
5859 files. They may be located in separate packages." "$LINENO" 5
5863 # Flags needed for both GMP, MPFR and/or MPC.
5871 # Libraries to use for stage1 or when not bootstrapping.
5873 # Check whether --with-stage1-libs was given.
5874 if test "${with_stage1_libs+set}" = set; then :
5875 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5878 stage1_libs
=$withval
5886 # Linker flags to use for stage1 or when not bootstrapping.
5888 # Check whether --with-stage1-ldflags was given.
5889 if test "${with_stage1_ldflags+set}" = set; then :
5890 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5893 stage1_ldflags
=$withval
5897 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5898 # if supported. But if the user explicitly specified the libraries to use,
5899 # trust that they are doing what they want.
5900 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5901 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5907 # Libraries to use for stage2 and later builds.
5909 # Check whether --with-boot-libs was given.
5910 if test "${with_boot_libs+set}" = set; then :
5911 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5914 poststage1_libs
=$withval
5922 # Linker flags to use for stage2 and later builds.
5924 # Check whether --with-boot-ldflags was given.
5925 if test "${with_boot_ldflags+set}" = set; then :
5926 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5929 poststage1_ldflags
=$withval
5933 # In stages 2 and 3, default to linking libstdc++ and libgcc
5934 # statically. But if the user explicitly specified the libraries to
5935 # use, trust that they are doing what they want.
5936 if test "$poststage1_libs" = ""; then
5937 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5943 # GCC GRAPHITE dependency isl.
5944 # Basic setup is inlined here, actual checks are in config/isl.m4
5947 # Check whether --with-isl was given.
5948 if test "${with_isl+set}" = set; then :
5953 # Treat --without-isl as a request to disable
5954 # GRAPHITE support and skip all following checks.
5955 if test "x$with_isl" != "xno"; then
5959 # Check whether --with-isl-include was given.
5960 if test "${with_isl_include+set}" = set; then :
5961 withval
=$with_isl_include;
5965 # Check whether --with-isl-lib was given.
5966 if test "${with_isl_lib+set}" = set; then :
5967 withval
=$with_isl_lib;
5971 # Check whether --enable-isl-version-check was given.
5972 if test "${enable_isl_version_check+set}" = set; then :
5973 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5975 ENABLE_ISL_CHECK
=yes
5979 # Initialize isllibs and islinc.
5988 isllibs
="-L$with_isl/lib"
5989 islinc
="-I$with_isl/include"
5992 if test "x${with_isl_include}" != x
; then
5993 islinc
="-I$with_isl_include"
5995 if test "x${with_isl_lib}" != x
; then
5996 isllibs
="-L$with_isl_lib"
5998 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5999 && test -d ${srcdir}/isl
; then
6000 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6001 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6004 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6007 isllibs
="${isllibs} -lisl"
6011 if test "${ENABLE_ISL_CHECK}" = yes ; then
6012 _isl_saved_CFLAGS
=$CFLAGS
6013 _isl_saved_LDFLAGS
=$LDFLAGS
6014 _isl_saved_LIBS
=$LIBS
6016 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6017 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6018 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
6021 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
6022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 #include <isl/ctx.h>
6028 isl_ctx_get_max_operations (isl_ctx_alloc ());
6033 if ac_fn_c_try_link
"$LINENO"; then :
6038 rm -f core conftest.err conftest.
$ac_objext \
6039 conftest
$ac_exeext conftest.
$ac_ext
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6041 $as_echo "$gcc_cv_isl" >&6; }
6043 if test "${gcc_cv_isl}" = no
; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&5
6045 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
6049 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
6050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6052 #include <isl/schedule.h>
6056 isl_options_set_schedule_serialize_sccs (NULL, 0);
6061 if ac_fn_c_try_link
"$LINENO"; then :
6062 ac_has_isl_options_set_schedule_serialize_sccs
=yes
6064 ac_has_isl_options_set_schedule_serialize_sccs
=no
6066 rm -f core conftest.err conftest.
$ac_objext \
6067 conftest
$ac_exeext conftest.
$ac_ext
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
6069 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
6071 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
6076 CFLAGS
=$_isl_saved_CFLAGS
6077 LDFLAGS
=$_isl_saved_LDFLAGS
6078 LIBS
=$_isl_saved_LIBS
6086 if test "x${with_isl}" = xno
; then
6087 graphite_requested
=no
6088 elif test "x${with_isl}" != x \
6089 ||
test "x${with_isl_include}" != x \
6090 ||
test "x${with_isl_lib}" != x
; then
6091 graphite_requested
=yes
6093 graphite_requested
=no
6098 if test "${gcc_cv_isl}" = no
; then
6103 if test "${graphite_requested}" = yes \
6104 && test "x${isllibs}" = x \
6105 && test "x${islinc}" = x
; then
6107 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6113 # If the isl check failed, disable builds of in-tree variant of isl
6114 if test "x$with_isl" = xno ||
6115 test "x$gcc_cv_isl" = xno
; then
6116 noconfigdirs
="$noconfigdirs isl"
6123 # Check for LTO support.
6124 # Check whether --enable-lto was given.
6125 if test "${enable_lto+set}" = set; then :
6126 enableval
=$enable_lto; enable_lto
=$enableval
6128 enable_lto
=yes; default_enable_lto
=yes
6137 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6138 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6139 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6148 if test $target_elf = yes; then :
6149 # ELF platforms build the lto-plugin always.
6150 build_lto_plugin
=yes
6153 if test x
"$default_enable_lto" = x
"yes" ; then
6155 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6156 # On other non-ELF platforms, LTO has yet to be validated.
6160 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6161 # It would also be nice to check the binutils support, but we don't
6162 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6163 # warn during gcc/ subconfigure; unless you're bootstrapping with
6164 # -flto it won't be needed until after installation anyway.
6166 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6167 *) if test x
"$enable_lto" = x
"yes"; then
6168 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6173 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6174 # Build it unless LTO was explicitly disabled.
6176 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6183 # Check whether --enable-linker-plugin-configure-flags was given.
6184 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6185 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6187 extra_linker_plugin_configure_flags
=
6191 # Check whether --enable-linker-plugin-flags was given.
6192 if test "${enable_linker_plugin_flags+set}" = set; then :
6193 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6195 extra_linker_plugin_flags
=
6201 # By default, C and C++ are the only stage 1 languages.
6202 stage1_languages
=,c
,
6204 # Target libraries that we bootstrap.
6205 bootstrap_target_libs
=,target-libgcc
,
6207 # Figure out what language subdirectories are present.
6208 # Look if the user specified --enable-languages="..."; if not, use
6209 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6211 # NB: embedded tabs in this IF block -- do not untabify
6212 if test -d ${srcdir}/gcc
; then
6213 if test x
"${enable_languages+set}" != xset
; then
6214 if test x
"${LANGUAGES+set}" = xset
; then
6215 enable_languages
="${LANGUAGES}"
6216 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6218 enable_languages
=all
6221 if test x
"${enable_languages}" = x ||
6222 test x
"${enable_languages}" = xyes
;
6224 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6228 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6230 # 'f95' is the old name for the 'fortran' language. We issue a warning
6231 # and make the substitution.
6232 case ,${enable_languages}, in
6234 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6235 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6239 # If bootstrapping, C++ must be enabled.
6240 case ",$enable_languages,:$enable_bootstrap" in
6243 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6244 enable_languages
="${enable_languages},c++"
6246 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6251 # First scan to see if an enabled language requires some other language.
6252 # We assume that a given config-lang.in will list all the language
6253 # front ends it requires, even if some are required indirectly.
6254 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6255 case ${lang_frag} in
6257 # The odd quoting in the next line works around
6258 # an apparent bug in bash 1.12 on linux.
6259 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6261 # From the config-lang.in, get $language, $lang_requires, and
6262 # $lang_requires_boot_languages.
6265 lang_requires_boot_languages
=
6267 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6268 case ,${enable_languages}, in
6272 echo " \`$other' language required by \`$language'; enabling" 1>&2
6273 enable_languages
="${enable_languages},${other}"
6277 for other
in ${lang_requires_boot_languages} ; do
6278 if test "$other" != "c"; then
6279 case ,${enable_stage1_languages}, in
6283 case ,${enable_languages}, in
6285 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6286 enable_stage1_languages
="$enable_stage1_languages,${other}"
6297 new_enable_languages
=,c
,
6299 # If LTO is enabled, add the LTO front end.
6300 if test "$enable_lto" = "yes" ; then
6301 case ,${enable_languages}, in
6303 *) enable_languages
="${enable_languages},lto" ;;
6305 if test "${build_lto_plugin}" = "yes" ; then
6306 configdirs
="$configdirs lto-plugin"
6310 # If we're building an offloading compiler, add the LTO front end.
6311 if test x
"$enable_as_accelerator_for" != x
; then
6312 case ,${enable_languages}, in
6314 *) enable_languages
="${enable_languages},lto" ;;
6318 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6319 potential_languages
=,c
,
6321 enabled_target_libs
=
6322 disabled_target_libs
=
6324 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6325 case ${lang_frag} in
6327 # The odd quoting in the next line works around
6328 # an apparent bug in bash 1.12 on linux.
6329 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6331 # From the config-lang.in, get $language, $target_libs,
6332 # $lang_dirs, $boot_language, and $build_by_default
6338 build_by_default
=yes
6340 if test x
${language} = x
; then
6341 echo "${lang_frag} doesn't set \$language." 1>&2
6345 if test "$language" = "c++"; then
6350 case ,${enable_languages}, in
6352 # Language was explicitly selected; include it
6353 # unless it is C, which is enabled by default.
6354 if test "$language" != "c"; then
6359 # 'all' was selected, select it if it is a default language
6360 if test "$language" != "c"; then
6361 add_this_lang
=${build_by_default}
6366 # Disable languages that need other directories if these aren't available.
6367 for i
in $subdir_requires; do
6368 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6369 case ,${enable_languages}, in
6371 # Specifically requested language; tell them.
6372 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6376 add_this_lang
=unsupported
6381 # Disable Ada if no preexisting GNAT is available.
6382 case ,${enable_languages},:${language}:${have_gnat} in
6383 *,${language},*:ada
:no
)
6384 # Specifically requested language; tell them.
6385 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6389 add_this_lang
=unsupported
6393 # Disable a language that is unsupported by the target.
6394 case " $unsupported_languages " in
6396 add_this_lang
=unsupported
6400 case $add_this_lang in
6402 # Remove language-dependent dirs.
6403 disabled_target_libs
="$disabled_target_libs $target_libs"
6404 noconfigdirs
="$noconfigdirs $lang_dirs"
6407 # Remove language-dependent dirs; still show language as supported.
6408 disabled_target_libs
="$disabled_target_libs $target_libs"
6409 noconfigdirs
="$noconfigdirs $lang_dirs"
6410 potential_languages
="${potential_languages}${language},"
6413 new_enable_languages
="${new_enable_languages}${language},"
6414 potential_languages
="${potential_languages}${language},"
6415 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6416 enabled_target_libs
="$enabled_target_libs $target_libs"
6417 case "${boot_language}:,$enable_stage1_languages," in
6418 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6419 # Add to (comma-separated) list of stage 1 languages.
6420 case ",$stage1_languages," in
6421 *,$language,* |
,yes, |
,all
,) ;;
6422 *) stage1_languages
="${stage1_languages}${language}," ;;
6424 # We need to bootstrap any supporting libraries.
6425 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6434 # Add target libraries which are only needed for disabled languages
6436 if test -n "$disabled_target_libs"; then
6437 for dir
in $disabled_target_libs; do
6438 case " $enabled_target_libs " in
6440 *) noconfigdirs
="$noconfigdirs $dir" ;;
6445 # Check whether --enable-stage1-languages was given.
6446 if test "${enable_stage1_languages+set}" = set; then :
6447 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6449 # Set it to something that will have no effect in the loop below
6450 enable_stage1_languages
=c
;;
6452 enable_stage1_languages
=`echo $new_enable_languages | \
6453 sed -e "s/^,//" -e "s/,$//" ` ;;
6455 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6456 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6459 # Add "good" languages from enable_stage1_languages to stage1_languages,
6460 # while "bad" languages go in missing_languages. Leave no duplicates.
6461 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6462 case $potential_languages in
6464 case $stage1_languages in
6466 *) stage1_languages
="$stage1_languages$i," ;;
6469 case $missing_languages in
6471 *) missing_languages
="$missing_languages$i," ;;
6478 # Remove leading/trailing commas that were added for simplicity
6479 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6480 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6481 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6482 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6484 if test "x$missing_languages" != x
; then
6486 The following requested languages could not be built: ${missing_languages}
6487 Supported languages are: ${potential_languages}" "$LINENO" 5
6489 if test "x$new_enable_languages" != "x$enable_languages"; then
6490 echo The following languages will be built
: ${new_enable_languages}
6491 enable_languages
="$new_enable_languages"
6495 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6498 # Handle --disable-<component> generically.
6499 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6500 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6501 varname
=`echo $dirname | sed -e s/+/_/g`
6502 if eval test x\
${enable_${varname}} "=" xno
; then
6503 noconfigdirs
="$noconfigdirs $dir"
6507 # Check for Boehm's garbage collector
6508 # Check whether --enable-objc-gc was given.
6509 if test "${enable_objc_gc+set}" = set; then :
6510 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6511 *,objc
,*:*:yes:*target-boehm-gc
*)
6512 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6518 # Make sure we only build Boehm's garbage collector if required.
6519 case ,${enable_languages},:${enable_objc_gc} in
6521 # Keep target-boehm-gc if requested for Objective-C.
6524 # Otherwise remove target-boehm-gc depending on target-libjava.
6525 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6526 noconfigdirs
="$noconfigdirs target-boehm-gc"
6531 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6532 case ,${enable_languages}, in
6534 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6535 case "${noconfigdirs}" in
6536 *target-libstdc
++-v3*)
6537 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6543 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6547 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6548 # $build_configdirs and $target_configdirs.
6549 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6552 for dir
in .
$skipdirs $noconfigdirs ; do
6553 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6554 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6555 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6556 if test -r $srcdir/$dirname/configure
; then
6557 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6560 notsupp
="$notsupp $dir"
6564 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6565 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6566 if test -r $srcdir/$dirname/configure
; then
6567 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6570 notsupp
="$notsupp $dir"
6574 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6575 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6576 if test -r $srcdir/$dirname/configure
; then
6577 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6580 notsupp
="$notsupp $dir"
6586 # Quietly strip out all directories which aren't configurable in this tree.
6587 # This relies on all configurable subdirectories being autoconfiscated, which
6589 build_configdirs_all
="$build_configdirs"
6591 for i
in ${build_configdirs_all} ; do
6592 j
=`echo $i | sed -e s/build-//g`
6593 if test -f ${srcdir}/$j/configure
; then
6594 build_configdirs
="${build_configdirs} $i"
6598 configdirs_all
="$configdirs"
6600 for i
in ${configdirs_all} ; do
6601 if test -f ${srcdir}/$i/configure
; then
6602 configdirs
="${configdirs} $i"
6606 target_configdirs_all
="$target_configdirs"
6608 for i
in ${target_configdirs_all} ; do
6609 j
=`echo $i | sed -e s/target-//g`
6610 if test -f ${srcdir}/$j/configure
; then
6611 target_configdirs
="${target_configdirs} $i"
6615 # Exclude target-zlib if target-libjava isn't built.
6616 case ${target_configdirs} in
6620 target_configdirs
="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
6624 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6625 # so we have to add it after the preceding checks.
6626 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6628 case " $configdirs " in
6630 # If we can build libiberty, we can also build libiberty-linker-plugin.
6631 configdirs
="$configdirs libiberty-linker-plugin"
6632 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6633 --with-libiberty=../libiberty-linker-plugin";;
6635 as_fn_error
"libiberty missing" "$LINENO" 5;;
6639 # Sometimes we have special requirements for the host libiberty.
6640 extra_host_libiberty_configure_flags
=
6641 extra_host_zlib_configure_flags
=
6642 case " $configdirs " in
6643 *" lto-plugin "* |
*" libcc1 "*)
6644 # When these are to be built as shared libraries, the same applies to
6646 extra_host_libiberty_configure_flags
=--enable-shared
6649 # When bfd is to be built as a shared library, the same applies to
6651 if test "$enable_shared" = "yes"; then
6652 extra_host_zlib_configure_flags
=--enable-host-shared
6659 # Produce a warning message for the subdirs we can't configure.
6660 # This isn't especially interesting in the Cygnus tree, but in the individual
6661 # FSF releases, it's important to let people know when their machine isn't
6662 # supported by the one or two programs in a package.
6664 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6665 # If $appdirs is non-empty, at least one of those directories must still
6666 # be configured, or we error out. (E.g., if the gas release supports a
6667 # specified target in some subdirs but not the gas subdir, we shouldn't
6668 # pretend that all is well.)
6669 if test -n "$appdirs" ; then
6670 for dir
in $appdirs ; do
6671 if test -r $dir/Makefile.
in ; then
6672 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6676 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6682 if test -n "$appdirs" ; then
6683 echo "*** This configuration is not supported by this package." 1>&2
6687 # Okay, some application will build, or we don't care to check. Still
6688 # notify of subdirs not getting built.
6689 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6690 echo " ${notsupp}" 1>&2
6691 echo " (Any other directories should still work fine.)" 1>&2
6699 # To find our prefix, in gcc_cv_tool_prefix.
6701 # The user is always right.
6702 if test "${PATH_SEPARATOR+set}" != set; then
6703 echo "#! /bin/sh" >conf$$.sh
6704 echo "exit 0" >>conf$$.sh
6706 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6716 if test "x$exec_prefix" = xNONE
; then
6717 if test "x$prefix" = xNONE
; then
6718 gcc_cv_tool_prefix
=$ac_default_prefix
6720 gcc_cv_tool_prefix
=$prefix
6723 gcc_cv_tool_prefix
=$exec_prefix
6726 # If there is no compiler in the tree, use the PATH only. In any
6727 # case, if there is no compiler in the tree nobody should use
6728 # AS_FOR_TARGET and LD_FOR_TARGET.
6729 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6730 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6731 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6732 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6733 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6734 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6735 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6736 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6741 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6742 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6750 # Check whether --with-build-sysroot was given.
6751 if test "${with_build_sysroot+set}" = set; then :
6752 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6753 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6756 SYSROOT_CFLAGS_FOR_TARGET
=
6762 # Check whether --with-debug-prefix-map was given.
6763 if test "${with_debug_prefix_map+set}" = set; then :
6764 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6765 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6766 for debug_map
in $withval; do
6767 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6771 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6776 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6777 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6778 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6779 # We want to ensure that TARGET libraries (which we know are built with
6780 # gcc) are built with "-O2 -g", so include those options when setting
6781 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6782 if test "x$CFLAGS_FOR_TARGET" = x
; then
6783 if test "x${is_cross_compiler}" = xyes
; then
6784 CFLAGS_FOR_TARGET
="-g -O2"
6786 CFLAGS_FOR_TARGET
=$CFLAGS
6789 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6792 *" -g "* |
*" -g3 "*) ;;
6793 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6799 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6800 if test "x${is_cross_compiler}" = xyes
; then
6801 CXXFLAGS_FOR_TARGET
="-g -O2"
6803 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6804 case " $CXXFLAGS " in
6806 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6808 case " $CXXFLAGS " in
6809 *" -g "* |
*" -g3 "*) ;;
6810 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6818 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6819 # the named directory are copied to $(tooldir)/sys-include.
6820 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6821 if test x
${is_cross_compiler} = xno
; then
6822 echo 1>&2 '***' --with-headers is only supported when cross compiling
6825 if test x
"${with_headers}" != xyes
; then
6826 x
=${gcc_cv_tool_prefix}
6827 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6831 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6832 # the name directories are copied to $(tooldir)/lib. Multiple directories
6834 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6835 if test x
${is_cross_compiler} = xno
; then
6836 echo 1>&2 '***' --with-libs is only supported when cross compiling
6839 if test x
"${with_libs}" != xyes
; then
6840 # Copy the libraries in reverse order, so that files in the first named
6841 # library override files in subsequent libraries.
6842 x
=${gcc_cv_tool_prefix}
6843 for l
in ${with_libs}; do
6844 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6849 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6851 # This is done by determining whether or not the appropriate directory
6852 # is available, and by checking whether or not specific configurations
6853 # have requested that this magic not happen.
6855 # The command line options always override the explicit settings in
6856 # configure.ac, and the settings in configure.ac override this magic.
6858 # If the default for a toolchain is to use GNU as and ld, and you don't
6859 # want to do that, then you should use the --without-gnu-as and
6860 # --without-gnu-ld options for the configure script. Similarly, if
6861 # the default is to use the included zlib and you don't want to do that,
6862 # you should use the --with-system-zlib option for the configure script.
6864 if test x
${use_gnu_as} = x
&&
6865 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6867 extra_host_args
="$extra_host_args --with-gnu-as"
6870 if test x
${use_gnu_ld} = x
&&
6871 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6873 extra_host_args
="$extra_host_args --with-gnu-ld"
6876 if test x
${use_included_zlib} = x
&&
6877 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6880 with_system_zlib
=yes
6881 extra_host_args
="$extra_host_args --with-system-zlib"
6884 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6885 # can detect this case.
6887 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6889 extra_host_args
="$extra_host_args --with-newlib"
6892 # Handle ${copy_dirs}
6893 set fnord
${copy_dirs}
6895 while test $# != 0 ; do
6896 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6899 echo Copying
$1 to
$2
6901 # Use the install script to create the directory and all required
6902 # parent directories.
6903 if test -d $2 ; then
6907 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6910 # Copy the directory, assuming we have tar.
6911 # FIXME: Should we use B in the second tar? Not all systems support it.
6912 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6914 # It is the responsibility of the user to correctly adjust all
6915 # symlinks. If somebody can figure out how to handle them correctly
6916 # here, feel free to add the code.
6923 # Determine a target-dependent exec_prefix that the installed
6924 # gcc will search in. Keep this list sorted by triplet, with
6925 # the *-*-osname triplets last.
6928 i
[34567]86-pc-msdosdjgpp*)
6929 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6934 md_exec_prefix
=/usr
/ccs
/bin
6938 extra_arflags_for_target
=
6939 extra_nmflags_for_target
=
6940 extra_ranlibflags_for_target
=
6941 target_makefile_frag
=/dev
/null
6944 target_makefile_frag
="config/mt-spu"
6946 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6947 target_makefile_frag
="config/mt-sde"
6949 mipsisa
*-*-elfoabi*)
6950 target_makefile_frag
="config/mt-mips-elfoabi"
6952 mips
*-*-*linux
* | mips
*-*-gnu*)
6953 target_makefile_frag
="config/mt-mips-gnu"
6956 target_makefile_frag
="config/mt-nios2-elf"
6958 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6959 target_makefile_frag
="config/mt-gnu"
6961 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6962 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6963 # commands to handle both 32-bit and 64-bit objects. These flags are
6964 # harmless if we're using GNU nm or ar.
6965 extra_arflags_for_target
=" -X32_64"
6966 extra_nmflags_for_target
=" -B -X32_64"
6970 alphaieee_frag
=/dev
/null
6973 # This just makes sure to use the -mieee option to build target libs.
6974 # This should probably be set individually by each library.
6975 alphaieee_frag
="config/mt-alphaieee"
6979 # If --enable-target-optspace always use -Os instead of -O2 to build
6980 # the target libraries, similarly if it is not specified, use -Os
6981 # on selected platforms.
6982 ospace_frag
=/dev
/null
6983 case "${enable_target_optspace}:${target}" in
6985 ospace_frag
="config/mt-ospace"
6988 ospace_frag
="config/mt-d30v"
6990 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6991 ospace_frag
="config/mt-ospace"
6996 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7000 # Some systems (e.g., one of the i386-aix systems the gas testers are
7001 # using) don't handle "\$" correctly, so don't use it here.
7002 tooldir
='${exec_prefix}'/${target_noncanonical}
7003 build_tooldir
=${tooldir}
7005 # Create a .gdbinit file which runs the one in srcdir
7006 # and tells GDB to look there for source files.
7008 if test -r ${srcdir}/.gdbinit
; then
7011 *) cat > .
/.gdbinit
<<EOF
7015 source ${srcdir}/.gdbinit
7021 # Make sure that the compiler is able to generate an executable. If it
7022 # can't, we are probably in trouble. We don't care whether we can run the
7023 # executable--we might be using a cross compiler--we only care whether it
7024 # can be created. At this point the main configure script has set CC.
7026 echo "int main () { return 0; }" > conftest.c
7027 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7028 if test $?
= 0 ; then
7029 if test -s conftest ||
test -s conftest.exe
; then
7035 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7036 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7043 # Decide which environment variable is used to find dynamic libraries.
7045 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7046 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7047 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7048 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7051 # On systems where the dynamic library environment variable is PATH,
7052 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7053 # built executables to PATH.
7054 if test "$RPATH_ENVVAR" = PATH
; then
7055 GCC_SHLIB_SUBDIR
=/shlib
7060 # Adjust the toplevel makefile according to whether bootstrap was selected.
7061 case $enable_bootstrap in
7063 bootstrap_suffix
=bootstrap
7064 BUILD_CONFIG
=bootstrap-debug
7067 bootstrap_suffix
=no-bootstrap
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7073 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7076 # Check whether --with-build-config was given.
7077 if test "${with_build_config+set}" = set; then :
7078 withval
=$with_build_config; case $with_build_config in
7079 yes) with_build_config
= ;;
7080 no
) with_build_config
= BUILD_CONFIG
= ;;
7085 if test "x${with_build_config}" != x
; then
7086 BUILD_CONFIG
=$with_build_config
7088 case $BUILD_CONFIG in
7090 if echo "int f (void) { return 0; }" > conftest.c
&&
7091 ${CC} -c conftest.c
&&
7092 mv conftest.o conftest.o.g0
&&
7093 ${CC} -c -g conftest.c
&&
7094 mv conftest.o conftest.o.g
&&
7095 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7100 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7105 $as_echo "$BUILD_CONFIG" >&6; }
7108 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7110 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7111 # Check whether --enable-vtable-verify was given.
7112 if test "${enable_vtable_verify+set}" = set; then :
7113 enableval
=$enable_vtable_verify; case "$enableval" in
7114 yes) enable_vtable_verify
=yes ;;
7115 no
) enable_vtable_verify
=no
;;
7116 *) enable_vtable_verify
=no
;;
7119 enable_vtable_verify
=no
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7123 $as_echo "$enable_vtable_verify" >&6; }
7125 # Record target_configdirs and the configure arguments for target and
7126 # build configuration in Makefile.
7127 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7128 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7129 bootstrap_fixincludes
=no
7131 # If we are building libgomp, bootstrap it.
7132 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7133 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7136 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7137 # or bootstrap-ubsan, bootstrap it.
7138 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7139 case "$BUILD_CONFIG" in
7140 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7141 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7142 bootstrap_fixincludes
=yes
7147 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7148 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7149 test "$enable_vtable_verify" != no
; then
7150 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7153 # If we are building libmpx, bootstrap it.
7154 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7155 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7158 # Determine whether gdb needs tk/tcl or not.
7159 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7160 # and in that case we want gdb to be built without tk. Ugh!
7161 # In fact I believe gdb is the *only* package directly dependent on tk,
7162 # so we should be able to put the 'maybe's in unconditionally and
7163 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7164 # 100% sure that that's safe though.
7166 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7167 case "$enable_gdbtk" in
7171 GDB_TK
="${gdb_tk}" ;;
7173 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7174 # distro. Eventually someone will fix this and move Insight, nee
7175 # gdbtk to a separate directory.
7176 if test -d ${srcdir}/gdb
/gdbtk
; then
7183 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7184 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7186 # Strip out unwanted targets.
7188 # While at that, we remove Makefiles if we were started for recursive
7189 # configuration, so that the top-level Makefile reconfigures them,
7190 # like we used to do when configure itself was recursive.
7192 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7193 # but now we're fixing up the Makefile ourselves with the additional
7194 # commands passed to AC_CONFIG_FILES. Use separate variables
7195 # extrasub-{build,host,target} not because there is any reason to split
7196 # the substitutions up that way, but only to remain below the limit of
7197 # 99 commands in a script, for HP-UX sed.
7198 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7200 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7201 yes:yes:*\ gold\
*:*,c
++,*) ;;
7202 yes:yes:*\ gold\
*:*)
7203 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7208 for module
in ${build_configdirs} ; do
7209 if test -z "${no_recursion}" \
7210 && test -f ${build_subdir}/${module}/Makefile
; then
7211 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7212 rm -f ${build_subdir}/${module}/Makefile
7214 extrasub_build
="$extrasub_build
7215 /^@if build-$module\$/d
7216 /^@endif build-$module\$/d
7217 /^@if build-$module-$bootstrap_suffix\$/d
7218 /^@endif build-$module-$bootstrap_suffix\$/d"
7221 for module
in ${configdirs} ; do
7222 if test -z "${no_recursion}"; then
7223 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7224 if test -f ${file}; then
7225 echo 1>&2 "*** removing ${file} to force reconfigure"
7230 case ${module},${bootstrap_fixincludes} in
7231 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7232 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7234 extrasub_host
="$extrasub_host
7236 /^@endif $module\$/d
7237 /^@if $module-$host_bootstrap_suffix\$/d
7238 /^@endif $module-$host_bootstrap_suffix\$/d"
7241 for module
in ${target_configdirs} ; do
7242 if test -z "${no_recursion}" \
7243 && test -f ${target_subdir}/${module}/Makefile
; then
7244 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7245 rm -f ${target_subdir}/${module}/Makefile
7248 # We only bootstrap target libraries listed in bootstrap_target_libs.
7249 case $bootstrap_target_libs in
7250 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7251 *) target_bootstrap_suffix
=no-bootstrap
;;
7254 extrasub_target
="$extrasub_target
7255 /^@if target-$module\$/d
7256 /^@endif target-$module\$/d
7257 /^@if target-$module-$target_bootstrap_suffix\$/d
7258 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7261 # Do the final fixup along with target modules.
7262 extrasub_target
="$extrasub_target
7263 /^@if /,/^@endif /d"
7265 # Create the serialization dependencies. This uses a temporary file.
7267 # Check whether --enable-serial-configure was given.
7268 if test "${enable_serial_configure+set}" = set; then :
7269 enableval
=$enable_serial_configure;
7273 case ${enable_serial_configure} in
7275 enable_serial_build_configure
=yes
7276 enable_serial_host_configure
=yes
7277 enable_serial_target_configure
=yes
7281 # These force 'configure's to be done one at a time, to avoid problems
7282 # with contention over a shared config.cache.
7284 echo '# serdep.tmp' > serdep.tmp
7286 test "x${enable_serial_build_configure}" = xyes
&&
7287 for item
in ${build_configdirs} ; do
7290 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7295 test "x${enable_serial_host_configure}" = xyes
&&
7296 for item
in ${configdirs} ; do
7299 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7304 test "x${enable_serial_target_configure}" = xyes
&&
7305 for item
in ${target_configdirs} ; do
7308 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7312 serialization_dependencies
=serdep.tmp
7315 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7316 # target, nonopt, and variable assignments. These are the ones we
7317 # might not want to pass down to subconfigures. The exception being
7318 # --cache-file=/dev/null, which is used to turn off the use of cache
7319 # files altogether, and which should be passed on to subconfigures.
7320 # Also strip program-prefix, program-suffix, and program-transform-name,
7321 # so that we can pass down a consistent program-transform-name.
7326 eval "set -- $ac_configure_args"
7329 if test X
"$skip_next" = X
"yes"; then
7333 if test X
"$keep_next" = X
"yes"; then
7336 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7338 baseargs
="$baseargs '$ac_arg'"
7339 tbaseargs
="$tbaseargs '$ac_arg'"
7344 # Handle separated arguments. Based on the logic generated by
7347 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7348 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7349 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7350 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7364 --with-* |
--without-*)
7365 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7369 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7372 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7381 mpc | mpfr | gmp | isl
)
7382 # If we're processing --with-$lib, --with-$lib-include or
7383 # --with-$lib-lib, for one of the libs above, and target is
7384 # different from host, don't pass the current argument to any
7385 # target library's configure.
7386 if test x
$is_cross_compiler = xyes
; then
7395 --cache-file=/dev
/null | \
7396 -cache-file=/dev
/null
)
7397 # Handled here to avoid the test to skip args below.
7398 baseargs
="$baseargs '$ac_arg'"
7399 tbaseargs
="$tbaseargs '$ac_arg'"
7400 # Assert: $separate_arg should always be no.
7401 keep_next
=$separate_arg
7417 -program-prefix* | \
7418 -program-suffix* | \
7419 -program-transform-name* )
7420 skip_next
=$separate_arg
7424 # An option. Add it.
7427 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7429 baseargs
="$baseargs '$ac_arg'"
7430 if test X
"$skip_targ" = Xno
; then
7431 tbaseargs
="$tbaseargs '$ac_arg'"
7433 keep_next
=$separate_arg
7436 # Either a variable assignment, or a nonopt (triplet). Don't
7437 # pass it down; let the Makefile handle this.
7442 # Remove the initial space we just introduced and, as these will be
7443 # expanded by make, quote '$'.
7444 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7446 # Add in --program-transform-name, after --program-prefix and
7447 # --program-suffix have been applied to it. Autoconf has already
7448 # doubled dollar signs and backslashes in program_transform_name; we want
7449 # the backslashes un-doubled, and then the entire thing wrapped in single
7450 # quotes, because this will be expanded first by make and then by the shell.
7451 # Also, because we want to override the logic in subdir configure scripts to
7452 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7453 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7454 ${program_transform_name}
7456 gcc_transform_name
=`cat conftestsed.out`
7457 rm -f conftestsed.out
7458 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7459 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7460 if test "$silent" = yes; then
7461 baseargs
="$baseargs --silent"
7462 tbaseargs
="$tbaseargs --silent"
7464 baseargs
="$baseargs --disable-option-checking"
7465 tbaseargs
="$tbaseargs --disable-option-checking"
7467 # Record and document user additions to sub configure arguments.
7472 # For the build-side libraries, we just need to pretend we're native,
7473 # and not use the same cache file. Multilibs are neither needed nor
7474 # desired. We can't even use the same cache file for all build-side
7475 # libraries, as they're compiled differently; some with C, some with
7476 # C++ or with different feature-enabling options.
7477 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7479 # For host modules, accept cache file option, or specification as blank.
7480 case "${cache_file}" in
7482 cache_file_option
="" ;;
7483 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7484 cache_file_option
="--cache-file=${cache_file}" ;;
7486 cache_file_option
="--cache-file=../${cache_file}" ;;
7489 # Host dirs don't like to share a cache file either, horribly enough.
7490 # This seems to be due to autoconf 2.5x stupidity.
7491 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7493 target_configargs
="$target_configargs ${tbaseargs}"
7495 # Passing a --with-cross-host argument lets the target libraries know
7496 # whether they are being built with a cross-compiler or being built
7497 # native. However, it would be better to use other mechanisms to make the
7498 # sorts of decisions they want to make on this basis. Please consider
7499 # this option to be deprecated. FIXME.
7500 if test x
${is_cross_compiler} = xyes
; then
7501 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7504 # Special user-friendly check for native x86_64-linux build, if
7505 # multilib is not explicitly enabled.
7506 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7507 x86_64-
*linux
*:yes:$build:$build:)
7508 # Make sure we have a development environment that handles 32-bit
7510 echo "int main () { return 0; }" > conftest.c
7511 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7512 if test $?
= 0 ; then
7513 if test -s conftest ||
test -s conftest.exe
; then
7518 if test x
${dev64} != xyes
; then
7519 as_fn_error
"I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7524 # Default to --enable-multilib.
7525 if test x
${enable_multilib} = x
; then
7526 target_configargs
="--enable-multilib ${target_configargs}"
7529 # Pass --with-newlib if appropriate. Note that target_configdirs has
7530 # changed from the earlier setting of with_newlib.
7531 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7532 target_configargs
="--with-newlib ${target_configargs}"
7535 # Different target subdirs use different values of certain variables
7536 # (notably CXX). Worse, multilibs use *lots* of different values.
7537 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7538 # it doesn't automatically accept command-line overrides of them.
7539 # This means it's not safe for target subdirs to share a cache file,
7540 # which is disgusting, but there you have it. Hopefully this can be
7541 # fixed in future. It's still worthwhile to use a cache file for each
7542 # directory. I think.
7544 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7545 # We need to pass --target, as newer autoconf's requires consistency
7546 # for target_alias and gcc doesn't manage it consistently.
7547 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7550 case " $target_configdirs " in
7552 case " $target_configargs " in
7553 *" --with-newlib "*)
7556 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7560 # If we're not building GCC, don't discard standard headers.
7561 if test -d ${srcdir}/gcc
; then
7562 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7564 if test "${build}" != "${host}"; then
7565 # On Canadian crosses, CC_FOR_TARGET will have already been set
7566 # by `configure', so we won't have an opportunity to add -Bgcc/
7567 # to it. This is right: we don't want to search that directory
7568 # for binaries, but we want the header files in there, so add
7570 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7572 # Someone might think of using the pre-installed headers on
7573 # Canadian crosses, in case the installed compiler is not fully
7574 # compatible with the compiler being built. In this case, it
7575 # would be better to flag an error than risking having
7576 # incompatible object files being constructed. We can't
7577 # guarantee that an error will be flagged, but let's hope the
7578 # compiler will do it, when presented with incompatible header
7583 case "${target}-${is_cross_compiler}" in
7584 i
[3456789]86-*-linux*-no)
7585 # Here host == target, so we don't need to build gcc,
7586 # so we don't want to discard standard headers.
7587 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7590 # If we're building newlib, use its generic headers last, but search
7591 # for any libc-related directories first (so make it the last -B
7593 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7595 # If we're building libgloss, find the startup file, simulator library
7596 # and linker script.
7597 case " $target_configdirs " in
7599 # Look for startup file, simulator library and maybe linker script.
7600 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7601 # Look for libnosys.a in case the target needs it.
7602 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7603 # Most targets have the linker script in the source directory.
7604 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7615 x86_64-
*mingw
* |
*-w64-mingw*)
7616 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7617 # however, use a symlink named 'mingw' in ${prefix} .
7618 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7621 # MinGW can't be handled as Cygwin above since it does not use newlib.
7622 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include'
7626 # Allow the user to override the flags for
7627 # our build compiler if desired.
7628 if test x
"${build}" = x
"${host}" ; then
7629 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7630 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7631 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7634 # On Canadian crosses, we'll be searching the right directories for
7635 # the previously-installed cross compiler, so don't bother to add
7636 # flags for directories within the install tree of the compiler
7637 # being built; programs in there won't even run.
7638 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7639 # Search for pre-installed headers if nothing else fits.
7640 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7643 if test "x
${use_gnu_ld}" = x &&
7644 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7645 # Arrange for us to find uninstalled linker scripts.
7646 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7649 # Search for other target-specific linker scripts and such.
7652 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7656 # Makefile fragments.
7657 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7659 eval fragval=\$$frag
7660 if test $fragval != /dev/null; then
7661 eval $frag=${srcdir}/$fragval
7669 # Miscellanea: directories, flags, etc.
7678 # Build module lists & subconfigure args.
7682 # Host module lists & subconfigure args.
7687 # Target module lists & subconfigure args.
7709 # Generate default definitions for YACC, M4, LEX and other programs that run
7710 # on the build machine. These are used if the Makefile can't locate these
7711 # programs in objdir.
7712 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7714 for ac_prog in 'bison -y' byacc yacc
7716 # Extract the first word of "$ac_prog", so it can be a program name with args.
7717 set dummy $ac_prog; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if test "${ac_cv_prog_YACC+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$YACC"; then
7724 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_YACC="$ac_prog"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 YACC=$ac_cv_prog_YACC
7744 if test -n "$YACC"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7746 $as_echo "$YACC" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7753 test -n "$YACC" && break
7755 test -n "$YACC" || YACC="$MISSING bison
-y"
7757 case " $build_configdirs " in
7758 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7761 for ac_prog in bison
7763 # Extract the first word of "$ac_prog", so it can be a program name with args.
7764 set dummy $ac_prog; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if test "${ac_cv_prog_BISON+set}" = set; then :
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$BISON"; then
7771 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_BISON="$ac_prog"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 BISON=$ac_cv_prog_BISON
7791 if test -n "$BISON"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7793 $as_echo "$BISON" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7800 test -n "$BISON" && break
7802 test -n "$BISON" || BISON="$MISSING bison
"
7804 case " $build_configdirs " in
7805 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7808 for ac_prog in gm4 gnum4 m4
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if test "${ac_cv_prog_M4+set}" = set; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$M4"; then
7818 ac_cv_prog_M4="$M4" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_M4="$ac_prog"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 if test -n "$M4"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7840 $as_echo "$M4" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7847 test -n "$M4" && break
7849 test -n "$M4" || M4="$MISSING m4"
7851 case " $build_configdirs " in
7852 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7855 for ac_prog in flex lex
7857 # Extract the first word of "$ac_prog", so it can be a program name with args.
7858 set dummy $ac_prog; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if test "${ac_cv_prog_LEX+set}" = set; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$LEX"; then
7865 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_LEX="$ac_prog"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 if test -n "$LEX"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7887 $as_echo "$LEX" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7894 test -n "$LEX" && break
7896 test -n "$LEX" || LEX="$MISSING flex
"
7898 case " $build_configdirs " in
7899 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7900 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7905 # Extract the first word of "$ac_prog", so it can be a program name with args.
7906 set dummy $ac_prog; ac_word=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7908 $as_echo_n "checking
for $ac_word...
" >&6; }
7909 if test "${ac_cv_prog_FLEX+set}" = set; then :
7910 $as_echo_n "(cached
) " >&6
7912 if test -n "$FLEX"; then
7913 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir=.
7920 for ac_exec_ext in '' $ac_executable_extensions; do
7921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7922 ac_cv_prog_FLEX="$ac_prog"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7932 FLEX=$ac_cv_prog_FLEX
7933 if test -n "$FLEX"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7935 $as_echo "$FLEX" >&6; }
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7938 $as_echo "no
" >&6; }
7942 test -n "$FLEX" && break
7944 test -n "$FLEX" || FLEX="$MISSING flex
"
7946 case " $build_configdirs " in
7947 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7950 for ac_prog in makeinfo
7952 # Extract the first word of "$ac_prog", so it can be a program name with args.
7953 set dummy $ac_prog; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7955 $as_echo_n "checking
for $ac_word...
" >&6; }
7956 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7957 $as_echo_n "(cached
) " >&6
7959 if test -n "$MAKEINFO"; then
7960 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_prog_MAKEINFO="$ac_prog"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7979 MAKEINFO=$ac_cv_prog_MAKEINFO
7980 if test -n "$MAKEINFO"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7982 $as_echo "$MAKEINFO" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7985 $as_echo "no
" >&6; }
7989 test -n "$MAKEINFO" && break
7991 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7993 case " $build_configdirs " in
7994 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7997 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7998 # higher, else we use the "missing
" dummy.
7999 if ${MAKEINFO} --version \
8000 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8003 MAKEINFO="$MISSING makeinfo
"
8009 # FIXME: expect and dejagnu may become build tools?
8011 for ac_prog in expect
8013 # Extract the first word of "$ac_prog", so it can be a program name with args.
8014 set dummy $ac_prog; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8016 $as_echo_n "checking
for $ac_word...
" >&6; }
8017 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8018 $as_echo_n "(cached
) " >&6
8020 if test -n "$EXPECT"; then
8021 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8030 ac_cv_prog_EXPECT="$ac_prog"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 EXPECT=$ac_cv_prog_EXPECT
8041 if test -n "$EXPECT"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8043 $as_echo "$EXPECT" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8046 $as_echo "no
" >&6; }
8050 test -n "$EXPECT" && break
8052 test -n "$EXPECT" || EXPECT="expect
"
8054 case " $configdirs " in
8056 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8060 for ac_prog in runtest
8062 # Extract the first word of "$ac_prog", so it can be a program name with args.
8063 set dummy $ac_prog; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8065 $as_echo_n "checking
for $ac_word...
" >&6; }
8066 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8067 $as_echo_n "(cached
) " >&6
8069 if test -n "$RUNTEST"; then
8070 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079 ac_cv_prog_RUNTEST="$ac_prog"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8089 RUNTEST=$ac_cv_prog_RUNTEST
8090 if test -n "$RUNTEST"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8092 $as_echo "$RUNTEST" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8095 $as_echo "no
" >&6; }
8099 test -n "$RUNTEST" && break
8101 test -n "$RUNTEST" || RUNTEST="runtest
"
8103 case " $configdirs " in
8105 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8112 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8113 ncn_target_tool_prefix=
8114 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8118 if test -n "$AR"; then
8120 elif test -n "$ac_cv_prog_AR"; then
8124 if test -n "$ac_cv_prog_AR"; then
8125 for ncn_progname in ar; do
8126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8127 set dummy ${ncn_progname}; ac_word=$2
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8129 $as_echo_n "checking
for $ac_word...
" >&6; }
8130 if test "${ac_cv_prog_AR+set}" = set; then :
8131 $as_echo_n "(cached
) " >&6
8133 if test -n "$AR"; then
8134 ac_cv_prog_AR="$AR" # Let the user override the test.
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_prog_AR="${ncn_progname}"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8154 if test -n "$AR"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8156 $as_echo "$AR" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8159 $as_echo "no
" >&6; }
8166 for ncn_progname in ar; do
8167 if test -n "$ncn_tool_prefix"; then
8168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8169 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8171 $as_echo_n "checking
for $ac_word...
" >&6; }
8172 if test "${ac_cv_prog_AR+set}" = set; then :
8173 $as_echo_n "(cached
) " >&6
8175 if test -n "$AR"; then
8176 ac_cv_prog_AR="$AR" # Let the user override the test.
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8185 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8196 if test -n "$AR"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8198 $as_echo "$AR" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8201 $as_echo "no
" >&6; }
8206 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8208 set dummy ${ncn_progname}; ac_word=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8210 $as_echo_n "checking
for $ac_word...
" >&6; }
8211 if test "${ac_cv_prog_AR+set}" = set; then :
8212 $as_echo_n "(cached
) " >&6
8214 if test -n "$AR"; then
8215 ac_cv_prog_AR="$AR" # Let the user override the test.
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_AR="${ncn_progname}"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8235 if test -n "$AR"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8237 $as_echo "$AR" >&6; }
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8240 $as_echo "no
" >&6; }
8245 test -n "$ac_cv_prog_AR" && break
8248 if test -z "$ac_cv_prog_AR" ; then
8250 if test $build = $host ; then
8253 AR="${ncn_tool_prefix}$2"
8259 if test -n "$AS"; then
8261 elif test -n "$ac_cv_prog_AS"; then
8265 if test -n "$ac_cv_prog_AS"; then
8266 for ncn_progname in as; do
8267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8268 set dummy ${ncn_progname}; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8270 $as_echo_n "checking
for $ac_word...
" >&6; }
8271 if test "${ac_cv_prog_AS+set}" = set; then :
8272 $as_echo_n "(cached
) " >&6
8274 if test -n "$AS"; then
8275 ac_cv_prog_AS="$AS" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284 ac_cv_prog_AS="${ncn_progname}"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8295 if test -n "$AS"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8297 $as_echo "$AS" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8300 $as_echo "no
" >&6; }
8307 for ncn_progname in as; do
8308 if test -n "$ncn_tool_prefix"; then
8309 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8310 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8312 $as_echo_n "checking
for $ac_word...
" >&6; }
8313 if test "${ac_cv_prog_AS+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 if test -n "$AS"; then
8317 ac_cv_prog_AS="$AS" # Let the user override the test.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8337 if test -n "$AS"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8339 $as_echo "$AS" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8342 $as_echo "no
" >&6; }
8347 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8349 set dummy ${ncn_progname}; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8351 $as_echo_n "checking
for $ac_word...
" >&6; }
8352 if test "${ac_cv_prog_AS+set}" = set; then :
8353 $as_echo_n "(cached
) " >&6
8355 if test -n "$AS"; then
8356 ac_cv_prog_AS="$AS" # Let the user override the test.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8365 ac_cv_prog_AS="${ncn_progname}"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 if test -n "$AS"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8378 $as_echo "$AS" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8381 $as_echo "no
" >&6; }
8386 test -n "$ac_cv_prog_AS" && break
8389 if test -z "$ac_cv_prog_AS" ; then
8391 if test $build = $host ; then
8394 AS="${ncn_tool_prefix}$2"
8400 if test -n "$DLLTOOL"; then
8401 ac_cv_prog_DLLTOOL=$DLLTOOL
8402 elif test -n "$ac_cv_prog_DLLTOOL"; then
8403 DLLTOOL=$ac_cv_prog_DLLTOOL
8406 if test -n "$ac_cv_prog_DLLTOOL"; then
8407 for ncn_progname in dlltool; do
8408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8409 set dummy ${ncn_progname}; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8411 $as_echo_n "checking
for $ac_word...
" >&6; }
8412 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8413 $as_echo_n "(cached
) " >&6
8415 if test -n "$DLLTOOL"; then
8416 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_DLLTOOL="${ncn_progname}"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 DLLTOOL=$ac_cv_prog_DLLTOOL
8436 if test -n "$DLLTOOL"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8438 $as_echo "$DLLTOOL" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8441 $as_echo "no
" >&6; }
8448 for ncn_progname in dlltool; do
8449 if test -n "$ncn_tool_prefix"; then
8450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8451 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8453 $as_echo_n "checking
for $ac_word...
" >&6; }
8454 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8455 $as_echo_n "(cached
) " >&6
8457 if test -n "$DLLTOOL"; then
8458 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8467 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8477 DLLTOOL=$ac_cv_prog_DLLTOOL
8478 if test -n "$DLLTOOL"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8480 $as_echo "$DLLTOOL" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8483 $as_echo "no
" >&6; }
8488 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8490 set dummy ${ncn_progname}; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8492 $as_echo_n "checking
for $ac_word...
" >&6; }
8493 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8494 $as_echo_n "(cached
) " >&6
8496 if test -n "$DLLTOOL"; then
8497 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_DLLTOOL="${ncn_progname}"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 DLLTOOL=$ac_cv_prog_DLLTOOL
8517 if test -n "$DLLTOOL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8519 $as_echo "$DLLTOOL" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8522 $as_echo "no
" >&6; }
8527 test -n "$ac_cv_prog_DLLTOOL" && break
8530 if test -z "$ac_cv_prog_DLLTOOL" ; then
8532 if test $build = $host ; then
8535 DLLTOOL="${ncn_tool_prefix}$2"
8541 if test -n "$LD"; then
8543 elif test -n "$ac_cv_prog_LD"; then
8547 if test -n "$ac_cv_prog_LD"; then
8548 for ncn_progname in ld; do
8549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8550 set dummy ${ncn_progname}; ac_word=$2
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8552 $as_echo_n "checking
for $ac_word...
" >&6; }
8553 if test "${ac_cv_prog_LD+set}" = set; then :
8554 $as_echo_n "(cached
) " >&6
8556 if test -n "$LD"; then
8557 ac_cv_prog_LD="$LD" # Let the user override the test.
8559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563 test -z "$as_dir" && as_dir=.
8564 for ac_exec_ext in '' $ac_executable_extensions; do
8565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8566 ac_cv_prog_LD="${ncn_progname}"
8567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8577 if test -n "$LD"; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8579 $as_echo "$LD" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8582 $as_echo "no
" >&6; }
8589 for ncn_progname in ld; do
8590 if test -n "$ncn_tool_prefix"; then
8591 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8592 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8594 $as_echo_n "checking
for $ac_word...
" >&6; }
8595 if test "${ac_cv_prog_LD+set}" = set; then :
8596 $as_echo_n "(cached
) " >&6
8598 if test -n "$LD"; then
8599 ac_cv_prog_LD="$LD" # Let the user override the test.
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir=.
8606 for ac_exec_ext in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8619 if test -n "$LD"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8621 $as_echo "$LD" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8624 $as_echo "no
" >&6; }
8629 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8631 set dummy ${ncn_progname}; ac_word=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8633 $as_echo_n "checking
for $ac_word...
" >&6; }
8634 if test "${ac_cv_prog_LD+set}" = set; then :
8635 $as_echo_n "(cached
) " >&6
8637 if test -n "$LD"; then
8638 ac_cv_prog_LD="$LD" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8647 ac_cv_prog_LD="${ncn_progname}"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8658 if test -n "$LD"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8660 $as_echo "$LD" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8663 $as_echo "no
" >&6; }
8668 test -n "$ac_cv_prog_LD" && break
8671 if test -z "$ac_cv_prog_LD" ; then
8673 if test $build = $host ; then
8676 LD="${ncn_tool_prefix}$2"
8682 if test -n "$LIPO"; then
8683 ac_cv_prog_LIPO=$LIPO
8684 elif test -n "$ac_cv_prog_LIPO"; then
8685 LIPO=$ac_cv_prog_LIPO
8688 if test -n "$ac_cv_prog_LIPO"; then
8689 for ncn_progname in lipo; do
8690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8691 set dummy ${ncn_progname}; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8693 $as_echo_n "checking
for $ac_word...
" >&6; }
8694 if test "${ac_cv_prog_LIPO+set}" = set; then :
8695 $as_echo_n "(cached
) " >&6
8697 if test -n "$LIPO"; then
8698 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_prog_LIPO="${ncn_progname}"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8717 LIPO=$ac_cv_prog_LIPO
8718 if test -n "$LIPO"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8720 $as_echo "$LIPO" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8723 $as_echo "no
" >&6; }
8730 for ncn_progname in lipo; do
8731 if test -n "$ncn_tool_prefix"; then
8732 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8733 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8735 $as_echo_n "checking
for $ac_word...
" >&6; }
8736 if test "${ac_cv_prog_LIPO+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 if test -n "$LIPO"; then
8740 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8759 LIPO=$ac_cv_prog_LIPO
8760 if test -n "$LIPO"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8762 $as_echo "$LIPO" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8765 $as_echo "no
" >&6; }
8770 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8772 set dummy ${ncn_progname}; ac_word=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8774 $as_echo_n "checking
for $ac_word...
" >&6; }
8775 if test "${ac_cv_prog_LIPO+set}" = set; then :
8776 $as_echo_n "(cached
) " >&6
8778 if test -n "$LIPO"; then
8779 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8788 ac_cv_prog_LIPO="${ncn_progname}"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8798 LIPO=$ac_cv_prog_LIPO
8799 if test -n "$LIPO"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8801 $as_echo "$LIPO" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8804 $as_echo "no
" >&6; }
8809 test -n "$ac_cv_prog_LIPO" && break
8812 if test -z "$ac_cv_prog_LIPO" ; then
8814 if test $build = $host ; then
8817 LIPO="${ncn_tool_prefix}$2"
8823 if test -n "$NM"; then
8825 elif test -n "$ac_cv_prog_NM"; then
8829 if test -n "$ac_cv_prog_NM"; then
8830 for ncn_progname in nm; do
8831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8832 set dummy ${ncn_progname}; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8834 $as_echo_n "checking
for $ac_word...
" >&6; }
8835 if test "${ac_cv_prog_NM+set}" = set; then :
8836 $as_echo_n "(cached
) " >&6
8838 if test -n "$NM"; then
8839 ac_cv_prog_NM="$NM" # Let the user override the test.
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8848 ac_cv_prog_NM="${ncn_progname}"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8859 if test -n "$NM"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8861 $as_echo "$NM" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8864 $as_echo "no
" >&6; }
8871 for ncn_progname in nm; do
8872 if test -n "$ncn_tool_prefix"; then
8873 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8874 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8876 $as_echo_n "checking
for $ac_word...
" >&6; }
8877 if test "${ac_cv_prog_NM+set}" = set; then :
8878 $as_echo_n "(cached
) " >&6
8880 if test -n "$NM"; then
8881 ac_cv_prog_NM="$NM" # Let the user override the test.
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8901 if test -n "$NM"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8903 $as_echo "$NM" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8906 $as_echo "no
" >&6; }
8911 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8913 set dummy ${ncn_progname}; ac_word=$2
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8915 $as_echo_n "checking
for $ac_word...
" >&6; }
8916 if test "${ac_cv_prog_NM+set}" = set; then :
8917 $as_echo_n "(cached
) " >&6
8919 if test -n "$NM"; then
8920 ac_cv_prog_NM="$NM" # Let the user override the test.
8922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8926 test -z "$as_dir" && as_dir=.
8927 for ac_exec_ext in '' $ac_executable_extensions; do
8928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8929 ac_cv_prog_NM="${ncn_progname}"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8940 if test -n "$NM"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8942 $as_echo "$NM" >&6; }
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8945 $as_echo "no
" >&6; }
8950 test -n "$ac_cv_prog_NM" && break
8953 if test -z "$ac_cv_prog_NM" ; then
8955 if test $build = $host ; then
8958 NM="${ncn_tool_prefix}$2"
8964 if test -n "$RANLIB"; then
8965 ac_cv_prog_RANLIB=$RANLIB
8966 elif test -n "$ac_cv_prog_RANLIB"; then
8967 RANLIB=$ac_cv_prog_RANLIB
8970 if test -n "$ac_cv_prog_RANLIB"; then
8971 for ncn_progname in ranlib; do
8972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8973 set dummy ${ncn_progname}; ac_word=$2
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8975 $as_echo_n "checking
for $ac_word...
" >&6; }
8976 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8977 $as_echo_n "(cached
) " >&6
8979 if test -n "$RANLIB"; then
8980 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir=.
8987 for ac_exec_ext in '' $ac_executable_extensions; do
8988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8989 ac_cv_prog_RANLIB="${ncn_progname}"
8990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8999 RANLIB=$ac_cv_prog_RANLIB
9000 if test -n "$RANLIB"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9002 $as_echo "$RANLIB" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9005 $as_echo "no
" >&6; }
9012 for ncn_progname in ranlib; do
9013 if test -n "$ncn_tool_prefix"; then
9014 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9015 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9017 $as_echo_n "checking
for $ac_word...
" >&6; }
9018 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9019 $as_echo_n "(cached
) " >&6
9021 if test -n "$RANLIB"; then
9022 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9041 RANLIB=$ac_cv_prog_RANLIB
9042 if test -n "$RANLIB"; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9044 $as_echo "$RANLIB" >&6; }
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9047 $as_echo "no
" >&6; }
9052 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9054 set dummy ${ncn_progname}; ac_word=$2
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9056 $as_echo_n "checking
for $ac_word...
" >&6; }
9057 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9058 $as_echo_n "(cached
) " >&6
9060 if test -n "$RANLIB"; then
9061 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir=.
9068 for ac_exec_ext in '' $ac_executable_extensions; do
9069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9070 ac_cv_prog_RANLIB="${ncn_progname}"
9071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9080 RANLIB=$ac_cv_prog_RANLIB
9081 if test -n "$RANLIB"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9083 $as_echo "$RANLIB" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9086 $as_echo "no
" >&6; }
9091 test -n "$ac_cv_prog_RANLIB" && break
9094 if test -z "$ac_cv_prog_RANLIB" ; then
9100 if test -n "$STRIP"; then
9101 ac_cv_prog_STRIP=$STRIP
9102 elif test -n "$ac_cv_prog_STRIP"; then
9103 STRIP=$ac_cv_prog_STRIP
9106 if test -n "$ac_cv_prog_STRIP"; then
9107 for ncn_progname in strip; do
9108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9109 set dummy ${ncn_progname}; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9111 $as_echo_n "checking
for $ac_word...
" >&6; }
9112 if test "${ac_cv_prog_STRIP+set}" = set; then :
9113 $as_echo_n "(cached
) " >&6
9115 if test -n "$STRIP"; then
9116 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9125 ac_cv_prog_STRIP="${ncn_progname}"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9135 STRIP=$ac_cv_prog_STRIP
9136 if test -n "$STRIP"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9138 $as_echo "$STRIP" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9141 $as_echo "no
" >&6; }
9148 for ncn_progname in strip; do
9149 if test -n "$ncn_tool_prefix"; then
9150 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9151 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9153 $as_echo_n "checking
for $ac_word...
" >&6; }
9154 if test "${ac_cv_prog_STRIP+set}" = set; then :
9155 $as_echo_n "(cached
) " >&6
9157 if test -n "$STRIP"; then
9158 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 test -z "$as_dir" && as_dir=.
9165 for ac_exec_ext in '' $ac_executable_extensions; do
9166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9167 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9177 STRIP=$ac_cv_prog_STRIP
9178 if test -n "$STRIP"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9180 $as_echo "$STRIP" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9183 $as_echo "no
" >&6; }
9188 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9190 set dummy ${ncn_progname}; ac_word=$2
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9192 $as_echo_n "checking
for $ac_word...
" >&6; }
9193 if test "${ac_cv_prog_STRIP+set}" = set; then :
9194 $as_echo_n "(cached
) " >&6
9196 if test -n "$STRIP"; then
9197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9203 test -z "$as_dir" && as_dir=.
9204 for ac_exec_ext in '' $ac_executable_extensions; do
9205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9206 ac_cv_prog_STRIP="${ncn_progname}"
9207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9216 STRIP=$ac_cv_prog_STRIP
9217 if test -n "$STRIP"; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9219 $as_echo "$STRIP" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9222 $as_echo "no
" >&6; }
9227 test -n "$ac_cv_prog_STRIP" && break
9230 if test -z "$ac_cv_prog_STRIP" ; then
9236 if test -n "$WINDRES"; then
9237 ac_cv_prog_WINDRES=$WINDRES
9238 elif test -n "$ac_cv_prog_WINDRES"; then
9239 WINDRES=$ac_cv_prog_WINDRES
9242 if test -n "$ac_cv_prog_WINDRES"; then
9243 for ncn_progname in windres; do
9244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9245 set dummy ${ncn_progname}; ac_word=$2
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9247 $as_echo_n "checking
for $ac_word...
" >&6; }
9248 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9249 $as_echo_n "(cached
) " >&6
9251 if test -n "$WINDRES"; then
9252 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 test -z "$as_dir" && as_dir=.
9259 for ac_exec_ext in '' $ac_executable_extensions; do
9260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9261 ac_cv_prog_WINDRES="${ncn_progname}"
9262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9271 WINDRES=$ac_cv_prog_WINDRES
9272 if test -n "$WINDRES"; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9274 $as_echo "$WINDRES" >&6; }
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9277 $as_echo "no
" >&6; }
9284 for ncn_progname in windres; do
9285 if test -n "$ncn_tool_prefix"; then
9286 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9287 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9289 $as_echo_n "checking
for $ac_word...
" >&6; }
9290 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9291 $as_echo_n "(cached
) " >&6
9293 if test -n "$WINDRES"; then
9294 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9313 WINDRES=$ac_cv_prog_WINDRES
9314 if test -n "$WINDRES"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9316 $as_echo "$WINDRES" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9319 $as_echo "no
" >&6; }
9324 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9326 set dummy ${ncn_progname}; ac_word=$2
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9328 $as_echo_n "checking
for $ac_word...
" >&6; }
9329 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9330 $as_echo_n "(cached
) " >&6
9332 if test -n "$WINDRES"; then
9333 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir=.
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_prog_WINDRES="${ncn_progname}"
9343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9352 WINDRES=$ac_cv_prog_WINDRES
9353 if test -n "$WINDRES"; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9355 $as_echo "$WINDRES" >&6; }
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9358 $as_echo "no
" >&6; }
9363 test -n "$ac_cv_prog_WINDRES" && break
9366 if test -z "$ac_cv_prog_WINDRES" ; then
9368 if test $build = $host ; then
9371 WINDRES="${ncn_tool_prefix}$2"
9377 if test -n "$WINDMC"; then
9378 ac_cv_prog_WINDMC=$WINDMC
9379 elif test -n "$ac_cv_prog_WINDMC"; then
9380 WINDMC=$ac_cv_prog_WINDMC
9383 if test -n "$ac_cv_prog_WINDMC"; then
9384 for ncn_progname in windmc; do
9385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9386 set dummy ${ncn_progname}; ac_word=$2
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9388 $as_echo_n "checking
for $ac_word...
" >&6; }
9389 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9390 $as_echo_n "(cached
) " >&6
9392 if test -n "$WINDMC"; then
9393 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 test -z "$as_dir" && as_dir=.
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9402 ac_cv_prog_WINDMC="${ncn_progname}"
9403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9412 WINDMC=$ac_cv_prog_WINDMC
9413 if test -n "$WINDMC"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9415 $as_echo "$WINDMC" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9418 $as_echo "no
" >&6; }
9425 for ncn_progname in windmc; do
9426 if test -n "$ncn_tool_prefix"; then
9427 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9428 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9430 $as_echo_n "checking
for $ac_word...
" >&6; }
9431 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9432 $as_echo_n "(cached
) " >&6
9434 if test -n "$WINDMC"; then
9435 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9441 test -z "$as_dir" && as_dir=.
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9444 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9454 WINDMC=$ac_cv_prog_WINDMC
9455 if test -n "$WINDMC"; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9457 $as_echo "$WINDMC" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9460 $as_echo "no
" >&6; }
9465 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9467 set dummy ${ncn_progname}; ac_word=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9469 $as_echo_n "checking
for $ac_word...
" >&6; }
9470 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9471 $as_echo_n "(cached
) " >&6
9473 if test -n "$WINDMC"; then
9474 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9480 test -z "$as_dir" && as_dir=.
9481 for ac_exec_ext in '' $ac_executable_extensions; do
9482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9483 ac_cv_prog_WINDMC="${ncn_progname}"
9484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9493 WINDMC=$ac_cv_prog_WINDMC
9494 if test -n "$WINDMC"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9496 $as_echo "$WINDMC" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9499 $as_echo "no
" >&6; }
9504 test -n "$ac_cv_prog_WINDMC" && break
9507 if test -z "$ac_cv_prog_WINDMC" ; then
9509 if test $build = $host ; then
9512 WINDMC="${ncn_tool_prefix}$2"
9518 if test -n "$OBJCOPY"; then
9519 ac_cv_prog_OBJCOPY=$OBJCOPY
9520 elif test -n "$ac_cv_prog_OBJCOPY"; then
9521 OBJCOPY=$ac_cv_prog_OBJCOPY
9524 if test -n "$ac_cv_prog_OBJCOPY"; then
9525 for ncn_progname in objcopy; do
9526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9527 set dummy ${ncn_progname}; ac_word=$2
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9529 $as_echo_n "checking
for $ac_word...
" >&6; }
9530 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9531 $as_echo_n "(cached
) " >&6
9533 if test -n "$OBJCOPY"; then
9534 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9540 test -z "$as_dir" && as_dir=.
9541 for ac_exec_ext in '' $ac_executable_extensions; do
9542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9543 ac_cv_prog_OBJCOPY="${ncn_progname}"
9544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9553 OBJCOPY=$ac_cv_prog_OBJCOPY
9554 if test -n "$OBJCOPY"; then
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9556 $as_echo "$OBJCOPY" >&6; }
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9559 $as_echo "no
" >&6; }
9566 for ncn_progname in objcopy; do
9567 if test -n "$ncn_tool_prefix"; then
9568 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9569 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9571 $as_echo_n "checking
for $ac_word...
" >&6; }
9572 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9573 $as_echo_n "(cached
) " >&6
9575 if test -n "$OBJCOPY"; then
9576 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9582 test -z "$as_dir" && as_dir=.
9583 for ac_exec_ext in '' $ac_executable_extensions; do
9584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9585 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9595 OBJCOPY=$ac_cv_prog_OBJCOPY
9596 if test -n "$OBJCOPY"; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9598 $as_echo "$OBJCOPY" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9601 $as_echo "no
" >&6; }
9606 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9608 set dummy ${ncn_progname}; ac_word=$2
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9610 $as_echo_n "checking
for $ac_word...
" >&6; }
9611 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9612 $as_echo_n "(cached
) " >&6
9614 if test -n "$OBJCOPY"; then
9615 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9621 test -z "$as_dir" && as_dir=.
9622 for ac_exec_ext in '' $ac_executable_extensions; do
9623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9624 ac_cv_prog_OBJCOPY="${ncn_progname}"
9625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9634 OBJCOPY=$ac_cv_prog_OBJCOPY
9635 if test -n "$OBJCOPY"; then
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9637 $as_echo "$OBJCOPY" >&6; }
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9640 $as_echo "no
" >&6; }
9645 test -n "$ac_cv_prog_OBJCOPY" && break
9648 if test -z "$ac_cv_prog_OBJCOPY" ; then
9650 if test $build = $host ; then
9653 OBJCOPY="${ncn_tool_prefix}$2"
9659 if test -n "$OBJDUMP"; then
9660 ac_cv_prog_OBJDUMP=$OBJDUMP
9661 elif test -n "$ac_cv_prog_OBJDUMP"; then
9662 OBJDUMP=$ac_cv_prog_OBJDUMP
9665 if test -n "$ac_cv_prog_OBJDUMP"; then
9666 for ncn_progname in objdump; do
9667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9668 set dummy ${ncn_progname}; ac_word=$2
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9670 $as_echo_n "checking
for $ac_word...
" >&6; }
9671 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9672 $as_echo_n "(cached
) " >&6
9674 if test -n "$OBJDUMP"; then
9675 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9681 test -z "$as_dir" && as_dir=.
9682 for ac_exec_ext in '' $ac_executable_extensions; do
9683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9684 ac_cv_prog_OBJDUMP="${ncn_progname}"
9685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9694 OBJDUMP=$ac_cv_prog_OBJDUMP
9695 if test -n "$OBJDUMP"; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9697 $as_echo "$OBJDUMP" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9700 $as_echo "no
" >&6; }
9707 for ncn_progname in objdump; do
9708 if test -n "$ncn_tool_prefix"; then
9709 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9710 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9712 $as_echo_n "checking
for $ac_word...
" >&6; }
9713 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9714 $as_echo_n "(cached
) " >&6
9716 if test -n "$OBJDUMP"; then
9717 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir=.
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9736 OBJDUMP=$ac_cv_prog_OBJDUMP
9737 if test -n "$OBJDUMP"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9739 $as_echo "$OBJDUMP" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9742 $as_echo "no
" >&6; }
9747 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9749 set dummy ${ncn_progname}; ac_word=$2
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9751 $as_echo_n "checking
for $ac_word...
" >&6; }
9752 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9753 $as_echo_n "(cached
) " >&6
9755 if test -n "$OBJDUMP"; then
9756 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9762 test -z "$as_dir" && as_dir=.
9763 for ac_exec_ext in '' $ac_executable_extensions; do
9764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9765 ac_cv_prog_OBJDUMP="${ncn_progname}"
9766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9775 OBJDUMP=$ac_cv_prog_OBJDUMP
9776 if test -n "$OBJDUMP"; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9778 $as_echo "$OBJDUMP" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9781 $as_echo "no
" >&6; }
9786 test -n "$ac_cv_prog_OBJDUMP" && break
9789 if test -z "$ac_cv_prog_OBJDUMP" ; then
9791 if test $build = $host ; then
9794 OBJDUMP="${ncn_tool_prefix}$2"
9800 if test -n "$READELF"; then
9801 ac_cv_prog_READELF=$READELF
9802 elif test -n "$ac_cv_prog_READELF"; then
9803 READELF=$ac_cv_prog_READELF
9806 if test -n "$ac_cv_prog_READELF"; then
9807 for ncn_progname in readelf; do
9808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9809 set dummy ${ncn_progname}; ac_word=$2
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9811 $as_echo_n "checking
for $ac_word...
" >&6; }
9812 if test "${ac_cv_prog_READELF+set}" = set; then :
9813 $as_echo_n "(cached
) " >&6
9815 if test -n "$READELF"; then
9816 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9822 test -z "$as_dir" && as_dir=.
9823 for ac_exec_ext in '' $ac_executable_extensions; do
9824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9825 ac_cv_prog_READELF="${ncn_progname}"
9826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9835 READELF=$ac_cv_prog_READELF
9836 if test -n "$READELF"; then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9838 $as_echo "$READELF" >&6; }
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9841 $as_echo "no
" >&6; }
9848 for ncn_progname in readelf; do
9849 if test -n "$ncn_tool_prefix"; then
9850 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9851 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9853 $as_echo_n "checking
for $ac_word...
" >&6; }
9854 if test "${ac_cv_prog_READELF+set}" = set; then :
9855 $as_echo_n "(cached
) " >&6
9857 if test -n "$READELF"; then
9858 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9867 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9877 READELF=$ac_cv_prog_READELF
9878 if test -n "$READELF"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9880 $as_echo "$READELF" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9883 $as_echo "no
" >&6; }
9888 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9890 set dummy ${ncn_progname}; ac_word=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9892 $as_echo_n "checking
for $ac_word...
" >&6; }
9893 if test "${ac_cv_prog_READELF+set}" = set; then :
9894 $as_echo_n "(cached
) " >&6
9896 if test -n "$READELF"; then
9897 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_prog_READELF="${ncn_progname}"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9916 READELF=$ac_cv_prog_READELF
9917 if test -n "$READELF"; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9919 $as_echo "$READELF" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9922 $as_echo "no
" >&6; }
9927 test -n "$ac_cv_prog_READELF" && break
9930 if test -z "$ac_cv_prog_READELF" ; then
9932 if test $build = $host ; then
9935 READELF="${ncn_tool_prefix}$2"
9946 # Check whether --with-build-time-tools was given.
9947 if test "${with_build_time_tools+set}" = set; then :
9948 withval=$with_build_time_tools; case x"$withval" in
9951 with_build_time_tools=
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9953 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9957 with_build_time_tools=
9963 if test -n "$CC_FOR_TARGET"; then
9964 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9965 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9966 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9969 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9970 for ncn_progname in cc gcc; do
9971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9972 set dummy ${ncn_progname}; ac_word=$2
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9974 $as_echo_n "checking
for $ac_word...
" >&6; }
9975 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9976 $as_echo_n "(cached
) " >&6
9978 if test -n "$CC_FOR_TARGET"; then
9979 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir=.
9986 for ac_exec_ext in '' $ac_executable_extensions; do
9987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9988 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9998 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9999 if test -n "$CC_FOR_TARGET"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10001 $as_echo "$CC_FOR_TARGET" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10004 $as_echo "no
" >&6; }
10011 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10012 for ncn_progname in cc gcc; do
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10014 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10015 if test -x $with_build_time_tools/${ncn_progname}; then
10016 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10018 $as_echo "yes" >&6; }
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10022 $as_echo "no
" >&6; }
10027 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10028 for ncn_progname in cc gcc; do
10029 if test -n "$ncn_target_tool_prefix"; then
10030 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10031 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10033 $as_echo_n "checking
for $ac_word...
" >&6; }
10034 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10035 $as_echo_n "(cached
) " >&6
10037 if test -n "$CC_FOR_TARGET"; then
10038 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10041 for as_dir in $PATH
10044 test -z "$as_dir" && as_dir=.
10045 for ac_exec_ext in '' $ac_executable_extensions; do
10046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10047 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10057 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10058 if test -n "$CC_FOR_TARGET"; then
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10060 $as_echo "$CC_FOR_TARGET" >&6; }
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10063 $as_echo "no
" >&6; }
10068 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10070 set dummy ${ncn_progname}; ac_word=$2
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10072 $as_echo_n "checking
for $ac_word...
" >&6; }
10073 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10074 $as_echo_n "(cached
) " >&6
10076 if test -n "$CC_FOR_TARGET"; then
10077 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10080 for as_dir in $PATH
10083 test -z "$as_dir" && as_dir=.
10084 for ac_exec_ext in '' $ac_executable_extensions; do
10085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10086 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10096 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10097 if test -n "$CC_FOR_TARGET"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10099 $as_echo "$CC_FOR_TARGET" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10102 $as_echo "no
" >&6; }
10107 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10111 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10113 if test $build = $target ; then
10116 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10119 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10124 if test -n "$CXX_FOR_TARGET"; then
10125 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10126 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10127 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10130 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10131 for ncn_progname in c++ g++ cxx gxx; do
10132 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10133 set dummy ${ncn_progname}; ac_word=$2
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10135 $as_echo_n "checking
for $ac_word...
" >&6; }
10136 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10137 $as_echo_n "(cached
) " >&6
10139 if test -n "$CXX_FOR_TARGET"; then
10140 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10143 for as_dir in $PATH
10146 test -z "$as_dir" && as_dir=.
10147 for ac_exec_ext in '' $ac_executable_extensions; do
10148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10149 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10159 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10160 if test -n "$CXX_FOR_TARGET"; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10162 $as_echo "$CXX_FOR_TARGET" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10165 $as_echo "no
" >&6; }
10172 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10173 for ncn_progname in c++ g++ cxx gxx; do
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10175 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10176 if test -x $with_build_time_tools/${ncn_progname}; then
10177 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10179 $as_echo "yes" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10183 $as_echo "no
" >&6; }
10188 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10189 for ncn_progname in c++ g++ cxx gxx; do
10190 if test -n "$ncn_target_tool_prefix"; then
10191 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10192 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10194 $as_echo_n "checking
for $ac_word...
" >&6; }
10195 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10196 $as_echo_n "(cached
) " >&6
10198 if test -n "$CXX_FOR_TARGET"; then
10199 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10202 for as_dir in $PATH
10205 test -z "$as_dir" && as_dir=.
10206 for ac_exec_ext in '' $ac_executable_extensions; do
10207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10208 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10218 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10219 if test -n "$CXX_FOR_TARGET"; then
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10221 $as_echo "$CXX_FOR_TARGET" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10224 $as_echo "no
" >&6; }
10229 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10231 set dummy ${ncn_progname}; ac_word=$2
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10233 $as_echo_n "checking
for $ac_word...
" >&6; }
10234 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10235 $as_echo_n "(cached
) " >&6
10237 if test -n "$CXX_FOR_TARGET"; then
10238 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10241 for as_dir in $PATH
10244 test -z "$as_dir" && as_dir=.
10245 for ac_exec_ext in '' $ac_executable_extensions; do
10246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10247 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10257 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10258 if test -n "$CXX_FOR_TARGET"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10260 $as_echo "$CXX_FOR_TARGET" >&6; }
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10263 $as_echo "no
" >&6; }
10268 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10272 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10273 set dummy c++ g++ cxx gxx
10274 if test $build = $target ; then
10275 CXX_FOR_TARGET="$2"
10277 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10280 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10285 if test -n "$GCC_FOR_TARGET"; then
10286 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10287 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10288 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10291 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10292 for ncn_progname in gcc; do
10293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10294 set dummy ${ncn_progname}; ac_word=$2
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10296 $as_echo_n "checking
for $ac_word...
" >&6; }
10297 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10298 $as_echo_n "(cached
) " >&6
10300 if test -n "$GCC_FOR_TARGET"; then
10301 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10304 for as_dir in $PATH
10307 test -z "$as_dir" && as_dir=.
10308 for ac_exec_ext in '' $ac_executable_extensions; do
10309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10310 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10320 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10321 if test -n "$GCC_FOR_TARGET"; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10323 $as_echo "$GCC_FOR_TARGET" >&6; }
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10326 $as_echo "no
" >&6; }
10333 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10334 for ncn_progname in gcc; do
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10336 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10337 if test -x $with_build_time_tools/${ncn_progname}; then
10338 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10340 $as_echo "yes" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10344 $as_echo "no
" >&6; }
10349 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10350 for ncn_progname in gcc; do
10351 if test -n "$ncn_target_tool_prefix"; then
10352 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10353 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10355 $as_echo_n "checking
for $ac_word...
" >&6; }
10356 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10357 $as_echo_n "(cached
) " >&6
10359 if test -n "$GCC_FOR_TARGET"; then
10360 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10363 for as_dir in $PATH
10366 test -z "$as_dir" && as_dir=.
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10369 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10379 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10380 if test -n "$GCC_FOR_TARGET"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10382 $as_echo "$GCC_FOR_TARGET" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10385 $as_echo "no
" >&6; }
10390 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10392 set dummy ${ncn_progname}; ac_word=$2
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10394 $as_echo_n "checking
for $ac_word...
" >&6; }
10395 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10396 $as_echo_n "(cached
) " >&6
10398 if test -n "$GCC_FOR_TARGET"; then
10399 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402 for as_dir in $PATH
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10408 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10418 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10419 if test -n "$GCC_FOR_TARGET"; then
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10421 $as_echo "$GCC_FOR_TARGET" >&6; }
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10424 $as_echo "no
" >&6; }
10429 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10433 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10434 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10436 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10441 if test -n "$GCJ_FOR_TARGET"; then
10442 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10443 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10444 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10447 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10448 for ncn_progname in gcj; do
10449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10450 set dummy ${ncn_progname}; ac_word=$2
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10452 $as_echo_n "checking
for $ac_word...
" >&6; }
10453 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10454 $as_echo_n "(cached
) " >&6
10456 if test -n "$GCJ_FOR_TARGET"; then
10457 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10460 for as_dir in $PATH
10463 test -z "$as_dir" && as_dir=.
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10466 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10476 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10477 if test -n "$GCJ_FOR_TARGET"; then
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10479 $as_echo "$GCJ_FOR_TARGET" >&6; }
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10482 $as_echo "no
" >&6; }
10489 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10490 for ncn_progname in gcj; do
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10492 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10493 if test -x $with_build_time_tools/${ncn_progname}; then
10494 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10496 $as_echo "yes" >&6; }
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10500 $as_echo "no
" >&6; }
10505 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10506 for ncn_progname in gcj; do
10507 if test -n "$ncn_target_tool_prefix"; then
10508 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10509 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10511 $as_echo_n "checking
for $ac_word...
" >&6; }
10512 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10513 $as_echo_n "(cached
) " >&6
10515 if test -n "$GCJ_FOR_TARGET"; then
10516 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10519 for as_dir in $PATH
10522 test -z "$as_dir" && as_dir=.
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10525 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10535 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10536 if test -n "$GCJ_FOR_TARGET"; then
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10538 $as_echo "$GCJ_FOR_TARGET" >&6; }
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10541 $as_echo "no
" >&6; }
10546 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10548 set dummy ${ncn_progname}; ac_word=$2
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10550 $as_echo_n "checking
for $ac_word...
" >&6; }
10551 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10552 $as_echo_n "(cached
) " >&6
10554 if test -n "$GCJ_FOR_TARGET"; then
10555 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10561 test -z "$as_dir" && as_dir=.
10562 for ac_exec_ext in '' $ac_executable_extensions; do
10563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10564 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10574 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10575 if test -n "$GCJ_FOR_TARGET"; then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10577 $as_echo "$GCJ_FOR_TARGET" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10580 $as_echo "no
" >&6; }
10585 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10589 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10591 if test $build = $target ; then
10592 GCJ_FOR_TARGET="$2"
10594 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10597 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10602 if test -n "$GFORTRAN_FOR_TARGET"; then
10603 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10604 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10605 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10608 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10609 for ncn_progname in gfortran; do
10610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10611 set dummy ${ncn_progname}; ac_word=$2
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10613 $as_echo_n "checking
for $ac_word...
" >&6; }
10614 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10615 $as_echo_n "(cached
) " >&6
10617 if test -n "$GFORTRAN_FOR_TARGET"; then
10618 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10621 for as_dir in $PATH
10624 test -z "$as_dir" && as_dir=.
10625 for ac_exec_ext in '' $ac_executable_extensions; do
10626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10627 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10637 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10638 if test -n "$GFORTRAN_FOR_TARGET"; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10640 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10643 $as_echo "no
" >&6; }
10650 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10651 for ncn_progname in gfortran; do
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10653 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10654 if test -x $with_build_time_tools/${ncn_progname}; then
10655 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10657 $as_echo "yes" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10661 $as_echo "no
" >&6; }
10666 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10667 for ncn_progname in gfortran; do
10668 if test -n "$ncn_target_tool_prefix"; then
10669 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10670 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10672 $as_echo_n "checking
for $ac_word...
" >&6; }
10673 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10674 $as_echo_n "(cached
) " >&6
10676 if test -n "$GFORTRAN_FOR_TARGET"; then
10677 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10680 for as_dir in $PATH
10683 test -z "$as_dir" && as_dir=.
10684 for ac_exec_ext in '' $ac_executable_extensions; do
10685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10686 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10696 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10697 if test -n "$GFORTRAN_FOR_TARGET"; then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10699 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10702 $as_echo "no
" >&6; }
10707 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10709 set dummy ${ncn_progname}; ac_word=$2
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10711 $as_echo_n "checking
for $ac_word...
" >&6; }
10712 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10713 $as_echo_n "(cached
) " >&6
10715 if test -n "$GFORTRAN_FOR_TARGET"; then
10716 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10719 for as_dir in $PATH
10722 test -z "$as_dir" && as_dir=.
10723 for ac_exec_ext in '' $ac_executable_extensions; do
10724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10725 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10735 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10736 if test -n "$GFORTRAN_FOR_TARGET"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10738 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10741 $as_echo "no
" >&6; }
10746 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10750 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10752 if test $build = $target ; then
10753 GFORTRAN_FOR_TARGET="$2"
10755 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10758 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10763 if test -n "$GOC_FOR_TARGET"; then
10764 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10765 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10766 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10769 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10770 for ncn_progname in gccgo; do
10771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10772 set dummy ${ncn_progname}; ac_word=$2
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10774 $as_echo_n "checking
for $ac_word...
" >&6; }
10775 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10776 $as_echo_n "(cached
) " >&6
10778 if test -n "$GOC_FOR_TARGET"; then
10779 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10782 for as_dir in $PATH
10785 test -z "$as_dir" && as_dir=.
10786 for ac_exec_ext in '' $ac_executable_extensions; do
10787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10788 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10798 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10799 if test -n "$GOC_FOR_TARGET"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10801 $as_echo "$GOC_FOR_TARGET" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10804 $as_echo "no
" >&6; }
10811 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10812 for ncn_progname in gccgo; do
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10814 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10815 if test -x $with_build_time_tools/${ncn_progname}; then
10816 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10818 $as_echo "yes" >&6; }
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10822 $as_echo "no
" >&6; }
10827 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10828 for ncn_progname in gccgo; do
10829 if test -n "$ncn_target_tool_prefix"; then
10830 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10831 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10833 $as_echo_n "checking
for $ac_word...
" >&6; }
10834 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10835 $as_echo_n "(cached
) " >&6
10837 if test -n "$GOC_FOR_TARGET"; then
10838 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841 for as_dir in $PATH
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10847 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10857 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10858 if test -n "$GOC_FOR_TARGET"; then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10860 $as_echo "$GOC_FOR_TARGET" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10863 $as_echo "no
" >&6; }
10868 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10870 set dummy ${ncn_progname}; ac_word=$2
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10872 $as_echo_n "checking
for $ac_word...
" >&6; }
10873 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10874 $as_echo_n "(cached
) " >&6
10876 if test -n "$GOC_FOR_TARGET"; then
10877 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10880 for as_dir in $PATH
10883 test -z "$as_dir" && as_dir=.
10884 for ac_exec_ext in '' $ac_executable_extensions; do
10885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10886 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10896 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10897 if test -n "$GOC_FOR_TARGET"; then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10899 $as_echo "$GOC_FOR_TARGET" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10902 $as_echo "no
" >&6; }
10907 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10911 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10913 if test $build = $target ; then
10914 GOC_FOR_TARGET="$2"
10916 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10919 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10924 cat > conftest.c << \EOF
10929 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10930 have_gcc_for_target=yes
10932 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10933 have_gcc_for_target=no
10940 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10941 if test -n "$with_build_time_tools"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10943 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10944 if test -x $with_build_time_tools/ar; then
10945 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10946 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10948 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10951 $as_echo "no
" >&6; }
10953 elif test $build != $host && test $have_gcc_for_target = yes; then
10954 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10955 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10956 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10959 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10960 # Extract the first word of "ar", so it can be a program name with args.
10961 set dummy ar; ac_word=$2
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10963 $as_echo_n "checking
for $ac_word...
" >&6; }
10964 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10965 $as_echo_n "(cached
) " >&6
10967 case $AR_FOR_TARGET in
10969 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10973 for as_dir in $gcc_cv_tool_dirs
10976 test -z "$as_dir" && as_dir=.
10977 for ac_exec_ext in '' $ac_executable_extensions; do
10978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10979 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10990 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10991 if test -n "$AR_FOR_TARGET"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10993 $as_echo "$AR_FOR_TARGET" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10996 $as_echo "no
" >&6; }
11001 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11004 if test -n "$AR_FOR_TARGET"; then
11005 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11006 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11007 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11010 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11011 for ncn_progname in ar; do
11012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11013 set dummy ${ncn_progname}; ac_word=$2
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11015 $as_echo_n "checking
for $ac_word...
" >&6; }
11016 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11017 $as_echo_n "(cached
) " >&6
11019 if test -n "$AR_FOR_TARGET"; then
11020 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11023 for as_dir in $PATH
11026 test -z "$as_dir" && as_dir=.
11027 for ac_exec_ext in '' $ac_executable_extensions; do
11028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11029 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11039 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11040 if test -n "$AR_FOR_TARGET"; then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11042 $as_echo "$AR_FOR_TARGET" >&6; }
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11045 $as_echo "no
" >&6; }
11052 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11053 for ncn_progname in ar; do
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11055 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11056 if test -x $with_build_time_tools/${ncn_progname}; then
11057 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11059 $as_echo "yes" >&6; }
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11063 $as_echo "no
" >&6; }
11068 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11069 for ncn_progname in ar; do
11070 if test -n "$ncn_target_tool_prefix"; then
11071 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11072 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11074 $as_echo_n "checking
for $ac_word...
" >&6; }
11075 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11076 $as_echo_n "(cached
) " >&6
11078 if test -n "$AR_FOR_TARGET"; then
11079 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $PATH
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11098 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11099 if test -n "$AR_FOR_TARGET"; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11101 $as_echo "$AR_FOR_TARGET" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11104 $as_echo "no
" >&6; }
11109 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11111 set dummy ${ncn_progname}; ac_word=$2
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11113 $as_echo_n "checking
for $ac_word...
" >&6; }
11114 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11115 $as_echo_n "(cached
) " >&6
11117 if test -n "$AR_FOR_TARGET"; then
11118 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11121 for as_dir in $PATH
11124 test -z "$as_dir" && as_dir=.
11125 for ac_exec_ext in '' $ac_executable_extensions; do
11126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11127 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11137 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11138 if test -n "$AR_FOR_TARGET"; then
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11140 $as_echo "$AR_FOR_TARGET" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11143 $as_echo "no
" >&6; }
11148 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11152 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11154 if test $build = $target ; then
11157 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11160 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11164 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11170 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11171 if test -n "$with_build_time_tools"; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11173 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11174 if test -x $with_build_time_tools/as; then
11175 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11176 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11178 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11181 $as_echo "no
" >&6; }
11183 elif test $build != $host && test $have_gcc_for_target = yes; then
11184 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11185 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11186 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11189 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11190 # Extract the first word of "as
", so it can be a program name with args.
11191 set dummy as; ac_word=$2
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11193 $as_echo_n "checking
for $ac_word...
" >&6; }
11194 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11195 $as_echo_n "(cached
) " >&6
11197 case $AS_FOR_TARGET in
11199 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11203 for as_dir in $gcc_cv_tool_dirs
11206 test -z "$as_dir" && as_dir=.
11207 for ac_exec_ext in '' $ac_executable_extensions; do
11208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11209 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11220 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11221 if test -n "$AS_FOR_TARGET"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11223 $as_echo "$AS_FOR_TARGET" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11226 $as_echo "no
" >&6; }
11231 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11234 if test -n "$AS_FOR_TARGET"; then
11235 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11236 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11237 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11240 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11241 for ncn_progname in as; do
11242 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11243 set dummy ${ncn_progname}; ac_word=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11245 $as_echo_n "checking
for $ac_word...
" >&6; }
11246 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11247 $as_echo_n "(cached
) " >&6
11249 if test -n "$AS_FOR_TARGET"; then
11250 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11253 for as_dir in $PATH
11256 test -z "$as_dir" && as_dir=.
11257 for ac_exec_ext in '' $ac_executable_extensions; do
11258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11259 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11269 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11270 if test -n "$AS_FOR_TARGET"; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11272 $as_echo "$AS_FOR_TARGET" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11275 $as_echo "no
" >&6; }
11282 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11283 for ncn_progname in as; do
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11285 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11286 if test -x $with_build_time_tools/${ncn_progname}; then
11287 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11289 $as_echo "yes" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11293 $as_echo "no
" >&6; }
11298 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11299 for ncn_progname in as; do
11300 if test -n "$ncn_target_tool_prefix"; then
11301 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11302 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11304 $as_echo_n "checking
for $ac_word...
" >&6; }
11305 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11306 $as_echo_n "(cached
) " >&6
11308 if test -n "$AS_FOR_TARGET"; then
11309 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11312 for as_dir in $PATH
11315 test -z "$as_dir" && as_dir=.
11316 for ac_exec_ext in '' $ac_executable_extensions; do
11317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11318 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11328 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11329 if test -n "$AS_FOR_TARGET"; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11331 $as_echo "$AS_FOR_TARGET" >&6; }
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11334 $as_echo "no
" >&6; }
11339 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11341 set dummy ${ncn_progname}; ac_word=$2
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11343 $as_echo_n "checking
for $ac_word...
" >&6; }
11344 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11345 $as_echo_n "(cached
) " >&6
11347 if test -n "$AS_FOR_TARGET"; then
11348 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11351 for as_dir in $PATH
11354 test -z "$as_dir" && as_dir=.
11355 for ac_exec_ext in '' $ac_executable_extensions; do
11356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11357 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11367 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11368 if test -n "$AS_FOR_TARGET"; then
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11370 $as_echo "$AS_FOR_TARGET" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11373 $as_echo "no
" >&6; }
11378 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11382 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11384 if test $build = $target ; then
11387 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11390 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11394 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11400 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11401 if test -n "$with_build_time_tools"; then
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11403 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11404 if test -x $with_build_time_tools/dlltool; then
11405 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11406 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11408 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11411 $as_echo "no
" >&6; }
11413 elif test $build != $host && test $have_gcc_for_target = yes; then
11414 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11415 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11416 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11419 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11420 # Extract the first word of "dlltool
", so it can be a program name with args.
11421 set dummy dlltool; ac_word=$2
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11423 $as_echo_n "checking
for $ac_word...
" >&6; }
11424 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11425 $as_echo_n "(cached
) " >&6
11427 case $DLLTOOL_FOR_TARGET in
11429 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11433 for as_dir in $gcc_cv_tool_dirs
11436 test -z "$as_dir" && as_dir=.
11437 for ac_exec_ext in '' $ac_executable_extensions; do
11438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11439 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11450 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11451 if test -n "$DLLTOOL_FOR_TARGET"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11453 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11456 $as_echo "no
" >&6; }
11461 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11464 if test -n "$DLLTOOL_FOR_TARGET"; then
11465 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11466 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11467 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11470 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11471 for ncn_progname in dlltool; do
11472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11473 set dummy ${ncn_progname}; ac_word=$2
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11475 $as_echo_n "checking
for $ac_word...
" >&6; }
11476 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11477 $as_echo_n "(cached
) " >&6
11479 if test -n "$DLLTOOL_FOR_TARGET"; then
11480 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11483 for as_dir in $PATH
11486 test -z "$as_dir" && as_dir=.
11487 for ac_exec_ext in '' $ac_executable_extensions; do
11488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11489 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11499 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11500 if test -n "$DLLTOOL_FOR_TARGET"; then
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11502 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11505 $as_echo "no
" >&6; }
11512 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11513 for ncn_progname in dlltool; do
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11515 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11516 if test -x $with_build_time_tools/${ncn_progname}; then
11517 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11519 $as_echo "yes" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11523 $as_echo "no
" >&6; }
11528 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11529 for ncn_progname in dlltool; do
11530 if test -n "$ncn_target_tool_prefix"; then
11531 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11532 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11534 $as_echo_n "checking
for $ac_word...
" >&6; }
11535 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11536 $as_echo_n "(cached
) " >&6
11538 if test -n "$DLLTOOL_FOR_TARGET"; then
11539 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11542 for as_dir in $PATH
11545 test -z "$as_dir" && as_dir=.
11546 for ac_exec_ext in '' $ac_executable_extensions; do
11547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11548 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11558 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11559 if test -n "$DLLTOOL_FOR_TARGET"; then
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11561 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11564 $as_echo "no
" >&6; }
11569 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11571 set dummy ${ncn_progname}; ac_word=$2
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11573 $as_echo_n "checking
for $ac_word...
" >&6; }
11574 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11575 $as_echo_n "(cached
) " >&6
11577 if test -n "$DLLTOOL_FOR_TARGET"; then
11578 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11581 for as_dir in $PATH
11584 test -z "$as_dir" && as_dir=.
11585 for ac_exec_ext in '' $ac_executable_extensions; do
11586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11587 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11597 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11598 if test -n "$DLLTOOL_FOR_TARGET"; then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11600 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11603 $as_echo "no
" >&6; }
11608 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11612 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11614 if test $build = $target ; then
11615 DLLTOOL_FOR_TARGET="$2"
11617 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11620 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11624 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11630 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11631 if test -n "$with_build_time_tools"; then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11633 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11634 if test -x $with_build_time_tools/ld; then
11635 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11636 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11638 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11641 $as_echo "no
" >&6; }
11643 elif test $build != $host && test $have_gcc_for_target = yes; then
11644 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11645 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11646 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11649 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11650 # Extract the first word of "ld
", so it can be a program name with args.
11651 set dummy ld; ac_word=$2
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11653 $as_echo_n "checking
for $ac_word...
" >&6; }
11654 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11655 $as_echo_n "(cached
) " >&6
11657 case $LD_FOR_TARGET in
11659 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11663 for as_dir in $gcc_cv_tool_dirs
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11669 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11680 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11681 if test -n "$LD_FOR_TARGET"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11683 $as_echo "$LD_FOR_TARGET" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11686 $as_echo "no
" >&6; }
11691 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11694 if test -n "$LD_FOR_TARGET"; then
11695 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11696 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11697 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11700 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11701 for ncn_progname in ld; do
11702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11703 set dummy ${ncn_progname}; ac_word=$2
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11705 $as_echo_n "checking
for $ac_word...
" >&6; }
11706 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11707 $as_echo_n "(cached
) " >&6
11709 if test -n "$LD_FOR_TARGET"; then
11710 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $PATH
11716 test -z "$as_dir" && as_dir=.
11717 for ac_exec_ext in '' $ac_executable_extensions; do
11718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11729 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11730 if test -n "$LD_FOR_TARGET"; then
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11732 $as_echo "$LD_FOR_TARGET" >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11735 $as_echo "no
" >&6; }
11742 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11743 for ncn_progname in ld; do
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11745 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11746 if test -x $with_build_time_tools/${ncn_progname}; then
11747 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11749 $as_echo "yes" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11753 $as_echo "no
" >&6; }
11758 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11759 for ncn_progname in ld; do
11760 if test -n "$ncn_target_tool_prefix"; then
11761 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11762 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11764 $as_echo_n "checking
for $ac_word...
" >&6; }
11765 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11766 $as_echo_n "(cached
) " >&6
11768 if test -n "$LD_FOR_TARGET"; then
11769 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $PATH
11775 test -z "$as_dir" && as_dir=.
11776 for ac_exec_ext in '' $ac_executable_extensions; do
11777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11778 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11788 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11789 if test -n "$LD_FOR_TARGET"; then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11791 $as_echo "$LD_FOR_TARGET" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11794 $as_echo "no
" >&6; }
11799 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11801 set dummy ${ncn_progname}; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11803 $as_echo_n "checking
for $ac_word...
" >&6; }
11804 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11805 $as_echo_n "(cached
) " >&6
11807 if test -n "$LD_FOR_TARGET"; then
11808 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11811 for as_dir in $PATH
11814 test -z "$as_dir" && as_dir=.
11815 for ac_exec_ext in '' $ac_executable_extensions; do
11816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11817 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11827 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11828 if test -n "$LD_FOR_TARGET"; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11830 $as_echo "$LD_FOR_TARGET" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11833 $as_echo "no
" >&6; }
11838 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11842 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11844 if test $build = $target ; then
11847 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11850 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11854 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11860 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11861 if test -n "$with_build_time_tools"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11863 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11864 if test -x $with_build_time_tools/lipo; then
11865 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11866 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11868 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11871 $as_echo "no
" >&6; }
11873 elif test $build != $host && test $have_gcc_for_target = yes; then
11874 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11875 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11876 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11879 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11880 # Extract the first word of "lipo
", so it can be a program name with args.
11881 set dummy lipo; ac_word=$2
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11883 $as_echo_n "checking
for $ac_word...
" >&6; }
11884 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11885 $as_echo_n "(cached
) " >&6
11887 case $LIPO_FOR_TARGET in
11889 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893 for as_dir in $gcc_cv_tool_dirs
11896 test -z "$as_dir" && as_dir=.
11897 for ac_exec_ext in '' $ac_executable_extensions; do
11898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11899 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11910 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11911 if test -n "$LIPO_FOR_TARGET"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11913 $as_echo "$LIPO_FOR_TARGET" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11916 $as_echo "no
" >&6; }
11921 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11924 if test -n "$LIPO_FOR_TARGET"; then
11925 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11926 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11927 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11930 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11931 for ncn_progname in lipo; do
11932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11933 set dummy ${ncn_progname}; ac_word=$2
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11935 $as_echo_n "checking
for $ac_word...
" >&6; }
11936 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11937 $as_echo_n "(cached
) " >&6
11939 if test -n "$LIPO_FOR_TARGET"; then
11940 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11943 for as_dir in $PATH
11946 test -z "$as_dir" && as_dir=.
11947 for ac_exec_ext in '' $ac_executable_extensions; do
11948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11949 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11959 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11960 if test -n "$LIPO_FOR_TARGET"; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11962 $as_echo "$LIPO_FOR_TARGET" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11965 $as_echo "no
" >&6; }
11972 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11973 for ncn_progname in lipo; do
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11975 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11976 if test -x $with_build_time_tools/${ncn_progname}; then
11977 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11979 $as_echo "yes" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11983 $as_echo "no
" >&6; }
11988 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11989 for ncn_progname in lipo; do
11990 if test -n "$ncn_target_tool_prefix"; then
11991 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11992 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11994 $as_echo_n "checking
for $ac_word...
" >&6; }
11995 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11996 $as_echo_n "(cached
) " >&6
11998 if test -n "$LIPO_FOR_TARGET"; then
11999 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $PATH
12005 test -z "$as_dir" && as_dir=.
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12018 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12019 if test -n "$LIPO_FOR_TARGET"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12021 $as_echo "$LIPO_FOR_TARGET" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12024 $as_echo "no
" >&6; }
12029 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12031 set dummy ${ncn_progname}; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12033 $as_echo_n "checking
for $ac_word...
" >&6; }
12034 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12035 $as_echo_n "(cached
) " >&6
12037 if test -n "$LIPO_FOR_TARGET"; then
12038 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12057 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12058 if test -n "$LIPO_FOR_TARGET"; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12060 $as_echo "$LIPO_FOR_TARGET" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12068 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12072 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12074 if test $build = $target ; then
12075 LIPO_FOR_TARGET="$2"
12077 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12080 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12084 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12090 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12091 if test -n "$with_build_time_tools"; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12093 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12094 if test -x $with_build_time_tools/nm; then
12095 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12096 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12098 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12101 $as_echo "no
" >&6; }
12103 elif test $build != $host && test $have_gcc_for_target = yes; then
12104 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12105 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12106 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12109 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12110 # Extract the first word of "nm
", so it can be a program name with args.
12111 set dummy nm; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12113 $as_echo_n "checking
for $ac_word...
" >&6; }
12114 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12115 $as_echo_n "(cached
) " >&6
12117 case $NM_FOR_TARGET in
12119 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $gcc_cv_tool_dirs
12126 test -z "$as_dir" && as_dir=.
12127 for ac_exec_ext in '' $ac_executable_extensions; do
12128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12129 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12140 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12141 if test -n "$NM_FOR_TARGET"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12143 $as_echo "$NM_FOR_TARGET" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12146 $as_echo "no
" >&6; }
12151 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12154 if test -n "$NM_FOR_TARGET"; then
12155 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12156 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12157 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12160 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12161 for ncn_progname in nm; do
12162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12163 set dummy ${ncn_progname}; ac_word=$2
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12165 $as_echo_n "checking
for $ac_word...
" >&6; }
12166 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12167 $as_echo_n "(cached
) " >&6
12169 if test -n "$NM_FOR_TARGET"; then
12170 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12173 for as_dir in $PATH
12176 test -z "$as_dir" && as_dir=.
12177 for ac_exec_ext in '' $ac_executable_extensions; do
12178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12179 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12189 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12190 if test -n "$NM_FOR_TARGET"; then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12192 $as_echo "$NM_FOR_TARGET" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12195 $as_echo "no
" >&6; }
12202 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12203 for ncn_progname in nm; do
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12205 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12206 if test -x $with_build_time_tools/${ncn_progname}; then
12207 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12209 $as_echo "yes" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12213 $as_echo "no
" >&6; }
12218 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12219 for ncn_progname in nm; do
12220 if test -n "$ncn_target_tool_prefix"; then
12221 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12222 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12224 $as_echo_n "checking
for $ac_word...
" >&6; }
12225 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12226 $as_echo_n "(cached
) " >&6
12228 if test -n "$NM_FOR_TARGET"; then
12229 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $PATH
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12238 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12248 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12249 if test -n "$NM_FOR_TARGET"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12251 $as_echo "$NM_FOR_TARGET" >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12254 $as_echo "no
" >&6; }
12259 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12260 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12261 set dummy ${ncn_progname}; ac_word=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12263 $as_echo_n "checking
for $ac_word...
" >&6; }
12264 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12265 $as_echo_n "(cached
) " >&6
12267 if test -n "$NM_FOR_TARGET"; then
12268 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12271 for as_dir in $PATH
12274 test -z "$as_dir" && as_dir=.
12275 for ac_exec_ext in '' $ac_executable_extensions; do
12276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12277 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12287 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12288 if test -n "$NM_FOR_TARGET"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12290 $as_echo "$NM_FOR_TARGET" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12293 $as_echo "no
" >&6; }
12298 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12302 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12304 if test $build = $target ; then
12307 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12310 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12314 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12320 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12321 if test -n "$with_build_time_tools"; then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12323 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12324 if test -x $with_build_time_tools/objcopy; then
12325 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12326 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12328 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12331 $as_echo "no
" >&6; }
12333 elif test $build != $host && test $have_gcc_for_target = yes; then
12334 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12335 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12336 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12339 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12340 # Extract the first word of "objcopy
", so it can be a program name with args.
12341 set dummy objcopy; ac_word=$2
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12343 $as_echo_n "checking
for $ac_word...
" >&6; }
12344 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12345 $as_echo_n "(cached
) " >&6
12347 case $OBJCOPY_FOR_TARGET in
12349 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $gcc_cv_tool_dirs
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12359 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12370 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12371 if test -n "$OBJCOPY_FOR_TARGET"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12373 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12376 $as_echo "no
" >&6; }
12381 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12384 if test -n "$OBJCOPY_FOR_TARGET"; then
12385 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12386 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12387 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12390 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12391 for ncn_progname in objcopy; do
12392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12393 set dummy ${ncn_progname}; ac_word=$2
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12395 $as_echo_n "checking
for $ac_word...
" >&6; }
12396 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12397 $as_echo_n "(cached
) " >&6
12399 if test -n "$OBJCOPY_FOR_TARGET"; then
12400 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12403 for as_dir in $PATH
12406 test -z "$as_dir" && as_dir=.
12407 for ac_exec_ext in '' $ac_executable_extensions; do
12408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12409 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12419 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12420 if test -n "$OBJCOPY_FOR_TARGET"; then
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12422 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12425 $as_echo "no
" >&6; }
12432 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12433 for ncn_progname in objcopy; do
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12435 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12436 if test -x $with_build_time_tools/${ncn_progname}; then
12437 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12439 $as_echo "yes" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12443 $as_echo "no
" >&6; }
12448 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12449 for ncn_progname in objcopy; do
12450 if test -n "$ncn_target_tool_prefix"; then
12451 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12452 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12454 $as_echo_n "checking
for $ac_word...
" >&6; }
12455 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12456 $as_echo_n "(cached
) " >&6
12458 if test -n "$OBJCOPY_FOR_TARGET"; then
12459 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12462 for as_dir in $PATH
12465 test -z "$as_dir" && as_dir=.
12466 for ac_exec_ext in '' $ac_executable_extensions; do
12467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12468 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12478 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12479 if test -n "$OBJCOPY_FOR_TARGET"; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12481 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12484 $as_echo "no
" >&6; }
12489 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12491 set dummy ${ncn_progname}; ac_word=$2
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12493 $as_echo_n "checking
for $ac_word...
" >&6; }
12494 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12495 $as_echo_n "(cached
) " >&6
12497 if test -n "$OBJCOPY_FOR_TARGET"; then
12498 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12501 for as_dir in $PATH
12504 test -z "$as_dir" && as_dir=.
12505 for ac_exec_ext in '' $ac_executable_extensions; do
12506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12507 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12517 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12518 if test -n "$OBJCOPY_FOR_TARGET"; then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12520 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12523 $as_echo "no
" >&6; }
12528 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12532 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12534 if test $build = $target ; then
12535 OBJCOPY_FOR_TARGET="$2"
12537 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12540 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12544 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12550 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12551 if test -n "$with_build_time_tools"; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12553 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12554 if test -x $with_build_time_tools/objdump; then
12555 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12556 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12558 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12561 $as_echo "no
" >&6; }
12563 elif test $build != $host && test $have_gcc_for_target = yes; then
12564 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12565 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12566 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12569 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12570 # Extract the first word of "objdump
", so it can be a program name with args.
12571 set dummy objdump; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12573 $as_echo_n "checking
for $ac_word...
" >&6; }
12574 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12575 $as_echo_n "(cached
) " >&6
12577 case $OBJDUMP_FOR_TARGET in
12579 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $gcc_cv_tool_dirs
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12600 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12601 if test -n "$OBJDUMP_FOR_TARGET"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12603 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12606 $as_echo "no
" >&6; }
12611 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12614 if test -n "$OBJDUMP_FOR_TARGET"; then
12615 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12616 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12617 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12620 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12621 for ncn_progname in objdump; do
12622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12623 set dummy ${ncn_progname}; ac_word=$2
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12625 $as_echo_n "checking
for $ac_word...
" >&6; }
12626 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12627 $as_echo_n "(cached
) " >&6
12629 if test -n "$OBJDUMP_FOR_TARGET"; then
12630 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12633 for as_dir in $PATH
12636 test -z "$as_dir" && as_dir=.
12637 for ac_exec_ext in '' $ac_executable_extensions; do
12638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12639 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12649 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12650 if test -n "$OBJDUMP_FOR_TARGET"; then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12652 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12655 $as_echo "no
" >&6; }
12662 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12663 for ncn_progname in objdump; do
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12665 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12666 if test -x $with_build_time_tools/${ncn_progname}; then
12667 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12669 $as_echo "yes" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12673 $as_echo "no
" >&6; }
12678 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12679 for ncn_progname in objdump; do
12680 if test -n "$ncn_target_tool_prefix"; then
12681 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12682 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12684 $as_echo_n "checking
for $ac_word...
" >&6; }
12685 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12686 $as_echo_n "(cached
) " >&6
12688 if test -n "$OBJDUMP_FOR_TARGET"; then
12689 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12692 for as_dir in $PATH
12695 test -z "$as_dir" && as_dir=.
12696 for ac_exec_ext in '' $ac_executable_extensions; do
12697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12698 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12708 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12709 if test -n "$OBJDUMP_FOR_TARGET"; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12711 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12714 $as_echo "no
" >&6; }
12719 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12721 set dummy ${ncn_progname}; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12723 $as_echo_n "checking
for $ac_word...
" >&6; }
12724 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12725 $as_echo_n "(cached
) " >&6
12727 if test -n "$OBJDUMP_FOR_TARGET"; then
12728 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 for ac_exec_ext in '' $ac_executable_extensions; do
12736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12747 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12748 if test -n "$OBJDUMP_FOR_TARGET"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12750 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12753 $as_echo "no
" >&6; }
12758 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12762 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12764 if test $build = $target ; then
12765 OBJDUMP_FOR_TARGET="$2"
12767 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12770 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12774 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12780 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12781 if test -n "$with_build_time_tools"; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12783 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12784 if test -x $with_build_time_tools/ranlib; then
12785 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12786 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12788 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12791 $as_echo "no
" >&6; }
12793 elif test $build != $host && test $have_gcc_for_target = yes; then
12794 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12795 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12796 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12799 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12800 # Extract the first word of "ranlib
", so it can be a program name with args.
12801 set dummy ranlib; ac_word=$2
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12803 $as_echo_n "checking
for $ac_word...
" >&6; }
12804 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12805 $as_echo_n "(cached
) " >&6
12807 case $RANLIB_FOR_TARGET in
12809 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12813 for as_dir in $gcc_cv_tool_dirs
12816 test -z "$as_dir" && as_dir=.
12817 for ac_exec_ext in '' $ac_executable_extensions; do
12818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12819 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12830 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12831 if test -n "$RANLIB_FOR_TARGET"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12833 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12836 $as_echo "no
" >&6; }
12841 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12844 if test -n "$RANLIB_FOR_TARGET"; then
12845 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12846 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12847 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12850 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12851 for ncn_progname in ranlib; do
12852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12853 set dummy ${ncn_progname}; ac_word=$2
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12855 $as_echo_n "checking
for $ac_word...
" >&6; }
12856 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12857 $as_echo_n "(cached
) " >&6
12859 if test -n "$RANLIB_FOR_TARGET"; then
12860 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12863 for as_dir in $PATH
12866 test -z "$as_dir" && as_dir=.
12867 for ac_exec_ext in '' $ac_executable_extensions; do
12868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12869 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12879 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12880 if test -n "$RANLIB_FOR_TARGET"; then
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12882 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12885 $as_echo "no
" >&6; }
12892 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12893 for ncn_progname in ranlib; do
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12895 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12896 if test -x $with_build_time_tools/${ncn_progname}; then
12897 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12899 $as_echo "yes" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12903 $as_echo "no
" >&6; }
12908 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12909 for ncn_progname in ranlib; do
12910 if test -n "$ncn_target_tool_prefix"; then
12911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12914 $as_echo_n "checking
for $ac_word...
" >&6; }
12915 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12916 $as_echo_n "(cached
) " >&6
12918 if test -n "$RANLIB_FOR_TARGET"; then
12919 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $PATH
12925 test -z "$as_dir" && as_dir=.
12926 for ac_exec_ext in '' $ac_executable_extensions; do
12927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12928 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12938 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12939 if test -n "$RANLIB_FOR_TARGET"; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12941 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12944 $as_echo "no
" >&6; }
12949 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12951 set dummy ${ncn_progname}; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12953 $as_echo_n "checking
for $ac_word...
" >&6; }
12954 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12955 $as_echo_n "(cached
) " >&6
12957 if test -n "$RANLIB_FOR_TARGET"; then
12958 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12961 for as_dir in $PATH
12964 test -z "$as_dir" && as_dir=.
12965 for ac_exec_ext in '' $ac_executable_extensions; do
12966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12967 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12977 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12978 if test -n "$RANLIB_FOR_TARGET"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12980 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12983 $as_echo "no
" >&6; }
12988 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12992 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12994 if test $build = $target ; then
12995 RANLIB_FOR_TARGET="$2"
12997 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13000 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13004 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13010 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13011 if test -n "$with_build_time_tools"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13013 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13014 if test -x $with_build_time_tools/readelf; then
13015 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13016 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13018 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13021 $as_echo "no
" >&6; }
13023 elif test $build != $host && test $have_gcc_for_target = yes; then
13024 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13025 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13026 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13029 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13030 # Extract the first word of "readelf
", so it can be a program name with args.
13031 set dummy readelf; ac_word=$2
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13033 $as_echo_n "checking
for $ac_word...
" >&6; }
13034 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13035 $as_echo_n "(cached
) " >&6
13037 case $READELF_FOR_TARGET in
13039 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $gcc_cv_tool_dirs
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13060 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13061 if test -n "$READELF_FOR_TARGET"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13063 $as_echo "$READELF_FOR_TARGET" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13066 $as_echo "no
" >&6; }
13071 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13074 if test -n "$READELF_FOR_TARGET"; then
13075 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13076 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13077 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13080 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13081 for ncn_progname in readelf; do
13082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13083 set dummy ${ncn_progname}; ac_word=$2
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13085 $as_echo_n "checking
for $ac_word...
" >&6; }
13086 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13087 $as_echo_n "(cached
) " >&6
13089 if test -n "$READELF_FOR_TARGET"; then
13090 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13093 for as_dir in $PATH
13096 test -z "$as_dir" && as_dir=.
13097 for ac_exec_ext in '' $ac_executable_extensions; do
13098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13099 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13109 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13110 if test -n "$READELF_FOR_TARGET"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13112 $as_echo "$READELF_FOR_TARGET" >&6; }
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13115 $as_echo "no
" >&6; }
13122 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13123 for ncn_progname in readelf; do
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13125 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13126 if test -x $with_build_time_tools/${ncn_progname}; then
13127 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13129 $as_echo "yes" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13133 $as_echo "no
" >&6; }
13138 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13139 for ncn_progname in readelf; do
13140 if test -n "$ncn_target_tool_prefix"; then
13141 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13142 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13144 $as_echo_n "checking
for $ac_word...
" >&6; }
13145 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13146 $as_echo_n "(cached
) " >&6
13148 if test -n "$READELF_FOR_TARGET"; then
13149 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13152 for as_dir in $PATH
13155 test -z "$as_dir" && as_dir=.
13156 for ac_exec_ext in '' $ac_executable_extensions; do
13157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13158 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13168 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13169 if test -n "$READELF_FOR_TARGET"; then
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13171 $as_echo "$READELF_FOR_TARGET" >&6; }
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13174 $as_echo "no
" >&6; }
13179 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13181 set dummy ${ncn_progname}; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13183 $as_echo_n "checking
for $ac_word...
" >&6; }
13184 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13185 $as_echo_n "(cached
) " >&6
13187 if test -n "$READELF_FOR_TARGET"; then
13188 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13194 test -z "$as_dir" && as_dir=.
13195 for ac_exec_ext in '' $ac_executable_extensions; do
13196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13197 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13207 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13208 if test -n "$READELF_FOR_TARGET"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13210 $as_echo "$READELF_FOR_TARGET" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13213 $as_echo "no
" >&6; }
13218 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13222 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13224 if test $build = $target ; then
13225 READELF_FOR_TARGET="$2"
13227 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13230 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13234 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13240 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13241 if test -n "$with_build_time_tools"; then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13243 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13244 if test -x $with_build_time_tools/strip; then
13245 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13246 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13248 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13251 $as_echo "no
" >&6; }
13253 elif test $build != $host && test $have_gcc_for_target = yes; then
13254 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13255 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13256 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13259 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13260 # Extract the first word of "strip
", so it can be a program name with args.
13261 set dummy strip; ac_word=$2
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13263 $as_echo_n "checking
for $ac_word...
" >&6; }
13264 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13265 $as_echo_n "(cached
) " >&6
13267 case $STRIP_FOR_TARGET in
13269 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273 for as_dir in $gcc_cv_tool_dirs
13276 test -z "$as_dir" && as_dir=.
13277 for ac_exec_ext in '' $ac_executable_extensions; do
13278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13290 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13291 if test -n "$STRIP_FOR_TARGET"; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13293 $as_echo "$STRIP_FOR_TARGET" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13296 $as_echo "no
" >&6; }
13301 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13304 if test -n "$STRIP_FOR_TARGET"; then
13305 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13306 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13307 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13310 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13311 for ncn_progname in strip; do
13312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13313 set dummy ${ncn_progname}; ac_word=$2
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13315 $as_echo_n "checking
for $ac_word...
" >&6; }
13316 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13317 $as_echo_n "(cached
) " >&6
13319 if test -n "$STRIP_FOR_TARGET"; then
13320 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13323 for as_dir in $PATH
13326 test -z "$as_dir" && as_dir=.
13327 for ac_exec_ext in '' $ac_executable_extensions; do
13328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13329 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13339 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13340 if test -n "$STRIP_FOR_TARGET"; then
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13342 $as_echo "$STRIP_FOR_TARGET" >&6; }
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13345 $as_echo "no
" >&6; }
13352 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13353 for ncn_progname in strip; do
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13355 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13356 if test -x $with_build_time_tools/${ncn_progname}; then
13357 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13359 $as_echo "yes" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13363 $as_echo "no
" >&6; }
13368 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13369 for ncn_progname in strip; do
13370 if test -n "$ncn_target_tool_prefix"; then
13371 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13372 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13374 $as_echo_n "checking
for $ac_word...
" >&6; }
13375 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13376 $as_echo_n "(cached
) " >&6
13378 if test -n "$STRIP_FOR_TARGET"; then
13379 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13382 for as_dir in $PATH
13385 test -z "$as_dir" && as_dir=.
13386 for ac_exec_ext in '' $ac_executable_extensions; do
13387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13388 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13398 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13399 if test -n "$STRIP_FOR_TARGET"; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13401 $as_echo "$STRIP_FOR_TARGET" >&6; }
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13404 $as_echo "no
" >&6; }
13409 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13411 set dummy ${ncn_progname}; ac_word=$2
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13413 $as_echo_n "checking
for $ac_word...
" >&6; }
13414 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13415 $as_echo_n "(cached
) " >&6
13417 if test -n "$STRIP_FOR_TARGET"; then
13418 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13421 for as_dir in $PATH
13424 test -z "$as_dir" && as_dir=.
13425 for ac_exec_ext in '' $ac_executable_extensions; do
13426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13427 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13437 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13438 if test -n "$STRIP_FOR_TARGET"; then
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13440 $as_echo "$STRIP_FOR_TARGET" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13443 $as_echo "no
" >&6; }
13448 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13452 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13454 if test $build = $target ; then
13455 STRIP_FOR_TARGET="$2"
13457 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13460 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13464 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13470 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13471 if test -n "$with_build_time_tools"; then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13473 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13474 if test -x $with_build_time_tools/windres; then
13475 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13476 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13478 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13481 $as_echo "no
" >&6; }
13483 elif test $build != $host && test $have_gcc_for_target = yes; then
13484 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13485 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13486 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13489 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13490 # Extract the first word of "windres
", so it can be a program name with args.
13491 set dummy windres; ac_word=$2
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13493 $as_echo_n "checking
for $ac_word...
" >&6; }
13494 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13495 $as_echo_n "(cached
) " >&6
13497 case $WINDRES_FOR_TARGET in
13499 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13503 for as_dir in $gcc_cv_tool_dirs
13506 test -z "$as_dir" && as_dir=.
13507 for ac_exec_ext in '' $ac_executable_extensions; do
13508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13509 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13520 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13521 if test -n "$WINDRES_FOR_TARGET"; then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13523 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13526 $as_echo "no
" >&6; }
13531 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13534 if test -n "$WINDRES_FOR_TARGET"; then
13535 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13536 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13537 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13540 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13541 for ncn_progname in windres; do
13542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13543 set dummy ${ncn_progname}; ac_word=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13545 $as_echo_n "checking
for $ac_word...
" >&6; }
13546 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13547 $as_echo_n "(cached
) " >&6
13549 if test -n "$WINDRES_FOR_TARGET"; then
13550 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13553 for as_dir in $PATH
13556 test -z "$as_dir" && as_dir=.
13557 for ac_exec_ext in '' $ac_executable_extensions; do
13558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13559 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13569 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13570 if test -n "$WINDRES_FOR_TARGET"; then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13572 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13575 $as_echo "no
" >&6; }
13582 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13583 for ncn_progname in windres; do
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13585 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13586 if test -x $with_build_time_tools/${ncn_progname}; then
13587 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13589 $as_echo "yes" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13593 $as_echo "no
" >&6; }
13598 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13599 for ncn_progname in windres; do
13600 if test -n "$ncn_target_tool_prefix"; then
13601 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13602 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13604 $as_echo_n "checking
for $ac_word...
" >&6; }
13605 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13606 $as_echo_n "(cached
) " >&6
13608 if test -n "$WINDRES_FOR_TARGET"; then
13609 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13612 for as_dir in $PATH
13615 test -z "$as_dir" && as_dir=.
13616 for ac_exec_ext in '' $ac_executable_extensions; do
13617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13618 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13628 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13629 if test -n "$WINDRES_FOR_TARGET"; then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13631 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13634 $as_echo "no
" >&6; }
13639 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13641 set dummy ${ncn_progname}; ac_word=$2
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13643 $as_echo_n "checking
for $ac_word...
" >&6; }
13644 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13645 $as_echo_n "(cached
) " >&6
13647 if test -n "$WINDRES_FOR_TARGET"; then
13648 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $PATH
13654 test -z "$as_dir" && as_dir=.
13655 for ac_exec_ext in '' $ac_executable_extensions; do
13656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13657 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13667 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13668 if test -n "$WINDRES_FOR_TARGET"; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13670 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13673 $as_echo "no
" >&6; }
13678 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13682 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13684 if test $build = $target ; then
13685 WINDRES_FOR_TARGET="$2"
13687 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13690 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13694 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13700 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13701 if test -n "$with_build_time_tools"; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13703 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13704 if test -x $with_build_time_tools/windmc; then
13705 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13706 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13708 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13711 $as_echo "no
" >&6; }
13713 elif test $build != $host && test $have_gcc_for_target = yes; then
13714 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13715 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13716 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13719 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13720 # Extract the first word of "windmc
", so it can be a program name with args.
13721 set dummy windmc; ac_word=$2
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13723 $as_echo_n "checking
for $ac_word...
" >&6; }
13724 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13725 $as_echo_n "(cached
) " >&6
13727 case $WINDMC_FOR_TARGET in
13729 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13733 for as_dir in $gcc_cv_tool_dirs
13736 test -z "$as_dir" && as_dir=.
13737 for ac_exec_ext in '' $ac_executable_extensions; do
13738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13739 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13750 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13751 if test -n "$WINDMC_FOR_TARGET"; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13753 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13756 $as_echo "no
" >&6; }
13761 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13764 if test -n "$WINDMC_FOR_TARGET"; then
13765 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13766 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13767 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13770 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13771 for ncn_progname in windmc; do
13772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13773 set dummy ${ncn_progname}; ac_word=$2
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13775 $as_echo_n "checking
for $ac_word...
" >&6; }
13776 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13777 $as_echo_n "(cached
) " >&6
13779 if test -n "$WINDMC_FOR_TARGET"; then
13780 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13783 for as_dir in $PATH
13786 test -z "$as_dir" && as_dir=.
13787 for ac_exec_ext in '' $ac_executable_extensions; do
13788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13789 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13799 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13800 if test -n "$WINDMC_FOR_TARGET"; then
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13802 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13805 $as_echo "no
" >&6; }
13812 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13813 for ncn_progname in windmc; do
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13815 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13816 if test -x $with_build_time_tools/${ncn_progname}; then
13817 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13819 $as_echo "yes" >&6; }
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13823 $as_echo "no
" >&6; }
13828 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13829 for ncn_progname in windmc; do
13830 if test -n "$ncn_target_tool_prefix"; then
13831 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13832 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13834 $as_echo_n "checking
for $ac_word...
" >&6; }
13835 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13836 $as_echo_n "(cached
) " >&6
13838 if test -n "$WINDMC_FOR_TARGET"; then
13839 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13845 test -z "$as_dir" && as_dir=.
13846 for ac_exec_ext in '' $ac_executable_extensions; do
13847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13858 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13859 if test -n "$WINDMC_FOR_TARGET"; then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13861 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13864 $as_echo "no
" >&6; }
13869 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13871 set dummy ${ncn_progname}; ac_word=$2
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13873 $as_echo_n "checking
for $ac_word...
" >&6; }
13874 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13875 $as_echo_n "(cached
) " >&6
13877 if test -n "$WINDMC_FOR_TARGET"; then
13878 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13881 for as_dir in $PATH
13884 test -z "$as_dir" && as_dir=.
13885 for ac_exec_ext in '' $ac_executable_extensions; do
13886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13887 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13897 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13898 if test -n "$WINDMC_FOR_TARGET"; then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13900 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13903 $as_echo "no
" >&6; }
13908 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13912 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13914 if test $build = $target ; then
13915 WINDMC_FOR_TARGET="$2"
13917 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13920 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13924 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13928 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13931 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13932 if test "x
${build}" != "x
${host}" ; then
13933 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13934 # We already found the complete path
13935 ac_dir=`dirname $AR_FOR_TARGET`
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13937 $as_echo "pre-installed
in $ac_dir" >&6; }
13939 # Canadian cross, just use what we found
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13941 $as_echo "pre-installed
" >&6; }
13945 case " ${configdirs} " in
13950 if test $ok = yes; then
13951 # An in-tree tool is available and we can use it
13952 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13954 $as_echo "just compiled
" >&6; }
13955 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13956 # We already found the complete path
13957 ac_dir=`dirname $AR_FOR_TARGET`
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13959 $as_echo "pre-installed
in $ac_dir" >&6; }
13960 elif test "x
$target" = "x
$host"; then
13961 # We can use an host tool
13962 AR_FOR_TARGET='$(AR)'
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13964 $as_echo "host tool
" >&6; }
13966 # We need a cross tool
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13968 $as_echo "pre-installed
" >&6; }
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13973 $as_echo_n "checking where to
find the target as...
" >&6; }
13974 if test "x
${build}" != "x
${host}" ; then
13975 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13976 # We already found the complete path
13977 ac_dir=`dirname $AS_FOR_TARGET`
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13979 $as_echo "pre-installed
in $ac_dir" >&6; }
13981 # Canadian cross, just use what we found
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13983 $as_echo "pre-installed
" >&6; }
13987 case " ${configdirs} " in
13992 if test $ok = yes; then
13993 # An in-tree tool is available and we can use it
13994 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13996 $as_echo "just compiled
" >&6; }
13997 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13998 # We already found the complete path
13999 ac_dir=`dirname $AS_FOR_TARGET`
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14001 $as_echo "pre-installed
in $ac_dir" >&6; }
14002 elif test "x
$target" = "x
$host"; then
14003 # We can use an host tool
14004 AS_FOR_TARGET='$(AS)'
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14006 $as_echo "host tool
" >&6; }
14008 # We need a cross tool
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14010 $as_echo "pre-installed
" >&6; }
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14015 $as_echo_n "checking where to
find the target cc...
" >&6; }
14016 if test "x
${build}" != "x
${host}" ; then
14017 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14018 # We already found the complete path
14019 ac_dir=`dirname $CC_FOR_TARGET`
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14021 $as_echo "pre-installed
in $ac_dir" >&6; }
14023 # Canadian cross, just use what we found
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14025 $as_echo "pre-installed
" >&6; }
14029 case " ${configdirs} " in
14034 if test $ok = yes; then
14035 # An in-tree tool is available and we can use it
14036 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14038 $as_echo "just compiled
" >&6; }
14039 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14040 # We already found the complete path
14041 ac_dir=`dirname $CC_FOR_TARGET`
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14043 $as_echo "pre-installed
in $ac_dir" >&6; }
14044 elif test "x
$target" = "x
$host"; then
14045 # We can use an host tool
14046 CC_FOR_TARGET='$(CC)'
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14048 $as_echo "host tool
" >&6; }
14050 # We need a cross tool
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14052 $as_echo "pre-installed
" >&6; }
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14057 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14058 if test "x
${build}" != "x
${host}" ; then
14059 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14060 # We already found the complete path
14061 ac_dir=`dirname $CXX_FOR_TARGET`
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14063 $as_echo "pre-installed
in $ac_dir" >&6; }
14065 # Canadian cross, just use what we found
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14067 $as_echo "pre-installed
" >&6; }
14071 case " ${configdirs} " in
14075 case ,${enable_languages}, in
14079 if test $ok = yes; then
14080 # An in-tree tool is available and we can use it
14081 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14083 $as_echo "just compiled
" >&6; }
14084 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14085 # We already found the complete path
14086 ac_dir=`dirname $CXX_FOR_TARGET`
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14088 $as_echo "pre-installed
in $ac_dir" >&6; }
14089 elif test "x
$target" = "x
$host"; then
14090 # We can use an host tool
14091 CXX_FOR_TARGET='$(CXX)'
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14093 $as_echo "host tool
" >&6; }
14095 # We need a cross tool
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14097 $as_echo "pre-installed
" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14102 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14103 if test "x
${build}" != "x
${host}" ; then
14104 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14105 # We already found the complete path
14106 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14108 $as_echo "pre-installed
in $ac_dir" >&6; }
14110 # Canadian cross, just use what we found
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14112 $as_echo "pre-installed
" >&6; }
14116 case " ${configdirs} " in
14120 case ,${enable_languages}, in
14124 if test $ok = yes; then
14125 # An in-tree tool is available and we can use it
14126 RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14128 $as_echo "just compiled
" >&6; }
14129 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14130 # We already found the complete path
14131 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14133 $as_echo "pre-installed
in $ac_dir" >&6; }
14134 elif test "x
$target" = "x
$host"; then
14135 # We can use an host tool
14136 RAW_CXX_FOR_TARGET='$(CXX)'
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14138 $as_echo "host tool
" >&6; }
14140 # We need a cross tool
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14142 $as_echo "pre-installed
" >&6; }
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14147 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14148 if test "x
${build}" != "x
${host}" ; then
14149 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14150 # We already found the complete path
14151 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14153 $as_echo "pre-installed
in $ac_dir" >&6; }
14155 # Canadian cross, just use what we found
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14157 $as_echo "pre-installed
" >&6; }
14161 case " ${configdirs} " in
14166 if test $ok = yes; then
14167 # An in-tree tool is available and we can use it
14168 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14170 $as_echo "just compiled
" >&6; }
14171 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14172 # We already found the complete path
14173 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14175 $as_echo "pre-installed
in $ac_dir" >&6; }
14176 elif test "x
$target" = "x
$host"; then
14177 # We can use an host tool
14178 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14180 $as_echo "host tool
" >&6; }
14182 # We need a cross tool
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14184 $as_echo "pre-installed
" >&6; }
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14189 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14190 if test "x
${build}" != "x
${host}" ; then
14191 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14192 # We already found the complete path
14193 ac_dir=`dirname $GCC_FOR_TARGET`
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14195 $as_echo "pre-installed
in $ac_dir" >&6; }
14197 # Canadian cross, just use what we found
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14199 $as_echo "pre-installed
" >&6; }
14203 case " ${configdirs} " in
14208 if test $ok = yes; then
14209 # An in-tree tool is available and we can use it
14210 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14212 $as_echo "just compiled
" >&6; }
14213 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14214 # We already found the complete path
14215 ac_dir=`dirname $GCC_FOR_TARGET`
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14217 $as_echo "pre-installed
in $ac_dir" >&6; }
14218 elif test "x
$target" = "x
$host"; then
14219 # We can use an host tool
14220 GCC_FOR_TARGET='$()'
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14222 $as_echo "host tool
" >&6; }
14224 # We need a cross tool
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14226 $as_echo "pre-installed
" >&6; }
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14231 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14232 if test "x
${build}" != "x
${host}" ; then
14233 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14234 # We already found the complete path
14235 ac_dir=`dirname $GCJ_FOR_TARGET`
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14237 $as_echo "pre-installed
in $ac_dir" >&6; }
14239 # Canadian cross, just use what we found
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14241 $as_echo "pre-installed
" >&6; }
14245 case " ${configdirs} " in
14249 case ,${enable_languages}, in
14253 if test $ok = yes; then
14254 # An in-tree tool is available and we can use it
14255 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14257 $as_echo "just compiled
" >&6; }
14258 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14259 # We already found the complete path
14260 ac_dir=`dirname $GCJ_FOR_TARGET`
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14262 $as_echo "pre-installed
in $ac_dir" >&6; }
14263 elif test "x
$target" = "x
$host"; then
14264 # We can use an host tool
14265 GCJ_FOR_TARGET='$(GCJ)'
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14267 $as_echo "host tool
" >&6; }
14269 # We need a cross tool
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14271 $as_echo "pre-installed
" >&6; }
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14276 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14277 if test "x
${build}" != "x
${host}" ; then
14278 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14279 # We already found the complete path
14280 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14282 $as_echo "pre-installed
in $ac_dir" >&6; }
14284 # Canadian cross, just use what we found
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14286 $as_echo "pre-installed
" >&6; }
14290 case " ${configdirs} " in
14294 case ,${enable_languages}, in
14298 if test $ok = yes; then
14299 # An in-tree tool is available and we can use it
14300 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14302 $as_echo "just compiled
" >&6; }
14303 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14304 # We already found the complete path
14305 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14307 $as_echo "pre-installed
in $ac_dir" >&6; }
14308 elif test "x
$target" = "x
$host"; then
14309 # We can use an host tool
14310 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14312 $as_echo "host tool
" >&6; }
14314 # We need a cross tool
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14316 $as_echo "pre-installed
" >&6; }
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14321 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14322 if test "x
${build}" != "x
${host}" ; then
14323 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14324 # We already found the complete path
14325 ac_dir=`dirname $GOC_FOR_TARGET`
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14327 $as_echo "pre-installed
in $ac_dir" >&6; }
14329 # Canadian cross, just use what we found
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 case " ${configdirs} " in
14339 case ,${enable_languages}, in
14343 if test $ok = yes; then
14344 # An in-tree tool is available and we can use it
14345 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14347 $as_echo "just compiled
" >&6; }
14348 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14349 # We already found the complete path
14350 ac_dir=`dirname $GOC_FOR_TARGET`
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14352 $as_echo "pre-installed
in $ac_dir" >&6; }
14353 elif test "x
$target" = "x
$host"; then
14354 # We can use an host tool
14355 GOC_FOR_TARGET='$(GOC)'
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14357 $as_echo "host tool
" >&6; }
14359 # We need a cross tool
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14361 $as_echo "pre-installed
" >&6; }
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14366 $as_echo_n "checking where to
find the target ld...
" >&6; }
14367 if test "x
${build}" != "x
${host}" ; then
14368 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14369 # We already found the complete path
14370 ac_dir=`dirname $LD_FOR_TARGET`
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14372 $as_echo "pre-installed
in $ac_dir" >&6; }
14374 # Canadian cross, just use what we found
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14376 $as_echo "pre-installed
" >&6; }
14380 case " ${configdirs} " in
14385 if test $ok = yes; then
14386 # An in-tree tool is available and we can use it
14387 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14389 $as_echo "just compiled
" >&6; }
14390 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14391 # We already found the complete path
14392 ac_dir=`dirname $LD_FOR_TARGET`
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14394 $as_echo "pre-installed
in $ac_dir" >&6; }
14395 elif test "x
$target" = "x
$host"; then
14396 # We can use an host tool
14397 LD_FOR_TARGET='$(LD)'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14399 $as_echo "host tool
" >&6; }
14401 # We need a cross tool
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14403 $as_echo "pre-installed
" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14408 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14409 if test "x
${build}" != "x
${host}" ; then
14410 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14411 # We already found the complete path
14412 ac_dir=`dirname $LIPO_FOR_TARGET`
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14414 $as_echo "pre-installed
in $ac_dir" >&6; }
14416 # Canadian cross, just use what we found
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14418 $as_echo "pre-installed
" >&6; }
14421 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14422 # We already found the complete path
14423 ac_dir=`dirname $LIPO_FOR_TARGET`
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14425 $as_echo "pre-installed
in $ac_dir" >&6; }
14426 elif test "x
$target" = "x
$host"; then
14427 # We can use an host tool
14428 LIPO_FOR_TARGET='$(LIPO)'
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14430 $as_echo "host tool
" >&6; }
14432 # We need a cross tool
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14434 $as_echo "pre-installed
" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14439 $as_echo_n "checking where to
find the target nm...
" >&6; }
14440 if test "x
${build}" != "x
${host}" ; then
14441 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14442 # We already found the complete path
14443 ac_dir=`dirname $NM_FOR_TARGET`
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14445 $as_echo "pre-installed
in $ac_dir" >&6; }
14447 # Canadian cross, just use what we found
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14449 $as_echo "pre-installed
" >&6; }
14453 case " ${configdirs} " in
14458 if test $ok = yes; then
14459 # An in-tree tool is available and we can use it
14460 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14462 $as_echo "just compiled
" >&6; }
14463 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14464 # We already found the complete path
14465 ac_dir=`dirname $NM_FOR_TARGET`
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14467 $as_echo "pre-installed
in $ac_dir" >&6; }
14468 elif test "x
$target" = "x
$host"; then
14469 # We can use an host tool
14470 NM_FOR_TARGET='$(NM)'
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14472 $as_echo "host tool
" >&6; }
14474 # We need a cross tool
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14476 $as_echo "pre-installed
" >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14481 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14482 if test "x
${build}" != "x
${host}" ; then
14483 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14484 # We already found the complete path
14485 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14487 $as_echo "pre-installed
in $ac_dir" >&6; }
14489 # Canadian cross, just use what we found
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14491 $as_echo "pre-installed
" >&6; }
14495 case " ${configdirs} " in
14500 if test $ok = yes; then
14501 # An in-tree tool is available and we can use it
14502 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14504 $as_echo "just compiled
" >&6; }
14505 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14506 # We already found the complete path
14507 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14509 $as_echo "pre-installed
in $ac_dir" >&6; }
14510 elif test "x
$target" = "x
$host"; then
14511 # We can use an host tool
14512 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14514 $as_echo "host tool
" >&6; }
14516 # We need a cross tool
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14518 $as_echo "pre-installed
" >&6; }
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14523 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14524 if test "x
${build}" != "x
${host}" ; then
14525 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14526 # We already found the complete path
14527 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14529 $as_echo "pre-installed
in $ac_dir" >&6; }
14531 # Canadian cross, just use what we found
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14533 $as_echo "pre-installed
" >&6; }
14537 case " ${configdirs} " in
14542 if test $ok = yes; then
14543 # An in-tree tool is available and we can use it
14544 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14546 $as_echo "just compiled
" >&6; }
14547 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14548 # We already found the complete path
14549 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14551 $as_echo "pre-installed
in $ac_dir" >&6; }
14552 elif test "x
$target" = "x
$host"; then
14553 # We can use an host tool
14554 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14556 $as_echo "host tool
" >&6; }
14558 # We need a cross tool
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14560 $as_echo "pre-installed
" >&6; }
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14565 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14566 if test "x
${build}" != "x
${host}" ; then
14567 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14568 # We already found the complete path
14569 ac_dir=`dirname $RANLIB_FOR_TARGET`
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14571 $as_echo "pre-installed
in $ac_dir" >&6; }
14573 # Canadian cross, just use what we found
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14575 $as_echo "pre-installed
" >&6; }
14579 case " ${configdirs} " in
14584 if test $ok = yes; then
14585 # An in-tree tool is available and we can use it
14586 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14588 $as_echo "just compiled
" >&6; }
14589 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14590 # We already found the complete path
14591 ac_dir=`dirname $RANLIB_FOR_TARGET`
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14593 $as_echo "pre-installed
in $ac_dir" >&6; }
14594 elif test "x
$target" = "x
$host"; then
14595 # We can use an host tool
14596 RANLIB_FOR_TARGET='$(RANLIB)'
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14598 $as_echo "host tool
" >&6; }
14600 # We need a cross tool
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14602 $as_echo "pre-installed
" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14607 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14608 if test "x
${build}" != "x
${host}" ; then
14609 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14610 # We already found the complete path
14611 ac_dir=`dirname $READELF_FOR_TARGET`
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14613 $as_echo "pre-installed
in $ac_dir" >&6; }
14615 # Canadian cross, just use what we found
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14617 $as_echo "pre-installed
" >&6; }
14621 case " ${configdirs} " in
14626 if test $ok = yes; then
14627 # An in-tree tool is available and we can use it
14628 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14630 $as_echo "just compiled
" >&6; }
14631 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14632 # We already found the complete path
14633 ac_dir=`dirname $READELF_FOR_TARGET`
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14635 $as_echo "pre-installed
in $ac_dir" >&6; }
14636 elif test "x
$target" = "x
$host"; then
14637 # We can use an host tool
14638 READELF_FOR_TARGET='$(READELF)'
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14640 $as_echo "host tool
" >&6; }
14642 # We need a cross tool
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14644 $as_echo "pre-installed
" >&6; }
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14649 $as_echo_n "checking where to
find the target strip...
" >&6; }
14650 if test "x
${build}" != "x
${host}" ; then
14651 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14652 # We already found the complete path
14653 ac_dir=`dirname $STRIP_FOR_TARGET`
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14655 $as_echo "pre-installed
in $ac_dir" >&6; }
14657 # Canadian cross, just use what we found
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14659 $as_echo "pre-installed
" >&6; }
14663 case " ${configdirs} " in
14668 if test $ok = yes; then
14669 # An in-tree tool is available and we can use it
14670 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14672 $as_echo "just compiled
" >&6; }
14673 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14674 # We already found the complete path
14675 ac_dir=`dirname $STRIP_FOR_TARGET`
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14677 $as_echo "pre-installed
in $ac_dir" >&6; }
14678 elif test "x
$target" = "x
$host"; then
14679 # We can use an host tool
14680 STRIP_FOR_TARGET='$(STRIP)'
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14682 $as_echo "host tool
" >&6; }
14684 # We need a cross tool
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14686 $as_echo "pre-installed
" >&6; }
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14691 $as_echo_n "checking where to
find the target windres...
" >&6; }
14692 if test "x
${build}" != "x
${host}" ; then
14693 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14694 # We already found the complete path
14695 ac_dir=`dirname $WINDRES_FOR_TARGET`
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14697 $as_echo "pre-installed
in $ac_dir" >&6; }
14699 # Canadian cross, just use what we found
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14701 $as_echo "pre-installed
" >&6; }
14705 case " ${configdirs} " in
14710 if test $ok = yes; then
14711 # An in-tree tool is available and we can use it
14712 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14714 $as_echo "just compiled
" >&6; }
14715 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14716 # We already found the complete path
14717 ac_dir=`dirname $WINDRES_FOR_TARGET`
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14719 $as_echo "pre-installed
in $ac_dir" >&6; }
14720 elif test "x
$target" = "x
$host"; then
14721 # We can use an host tool
14722 WINDRES_FOR_TARGET='$(WINDRES)'
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14724 $as_echo "host tool
" >&6; }
14726 # We need a cross tool
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14728 $as_echo "pre-installed
" >&6; }
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14733 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14734 if test "x
${build}" != "x
${host}" ; then
14735 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14736 # We already found the complete path
14737 ac_dir=`dirname $WINDMC_FOR_TARGET`
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14739 $as_echo "pre-installed
in $ac_dir" >&6; }
14741 # Canadian cross, just use what we found
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14743 $as_echo "pre-installed
" >&6; }
14747 case " ${configdirs} " in
14752 if test $ok = yes; then
14753 # An in-tree tool is available and we can use it
14754 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14756 $as_echo "just compiled
" >&6; }
14757 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14758 # We already found the complete path
14759 ac_dir=`dirname $WINDMC_FOR_TARGET`
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14761 $as_echo "pre-installed
in $ac_dir" >&6; }
14762 elif test "x
$target" = "x
$host"; then
14763 # We can use an host tool
14764 WINDMC_FOR_TARGET='$(WINDMC)'
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14766 $as_echo "host tool
" >&6; }
14768 # We need a cross tool
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14770 $as_echo "pre-installed
" >&6; }
14778 # Certain tools may need extra flags.
14779 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14780 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14781 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14783 # When building target libraries, except in a Canadian cross, we use
14784 # the same toolchain as the compiler we just built.
14785 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14786 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14787 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14788 if test $host = $build; then
14789 case " $configdirs " in
14791 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14792 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14793 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14803 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14804 # Check whether --enable-maintainer-mode was given.
14805 if test "${enable_maintainer_mode+set}" = set; then :
14806 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14808 USE_MAINTAINER_MODE=no
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14812 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14815 if test "$USE_MAINTAINER_MODE" = yes; then
14816 MAINTAINER_MODE_TRUE=
14817 MAINTAINER_MODE_FALSE='#'
14819 MAINTAINER_MODE_TRUE='#'
14820 MAINTAINER_MODE_FALSE=
14822 MAINT=$MAINTAINER_MODE_TRUE
14824 # ---------------------
14825 # GCC bootstrap support
14826 # ---------------------
14828 # Stage specific cflags for build.
14833 yes) stage1_cflags="-g -Wa,-J" ;;
14834 *) stage1_cflags="-g -J" ;;
14840 # Enable --enable-checking in stage1 of the compiler.
14841 # Check whether --enable-stage1-checking was given.
14842 if test "${enable_stage1_checking+set}" = set; then :
14843 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14845 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14846 # For --disable-checking or implicit --enable-checking=release, avoid
14847 # setting --enable-checking=gc in the default stage1 checking for LTO
14848 # bootstraps. See PR62077.
14849 case $BUILD_CONFIG in
14851 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14853 stage1_checking=--enable-checking=yes,types;;
14855 if test "x
$enable_checking" = x && \
14856 test -d ${srcdir}/gcc && \
14857 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14858 stage1_checking=--enable-checking=yes,types,extra
14861 stage1_checking=--enable-checking=$enable_checking,types
14867 # Enable -Werror in bootstrap stage2 and later.
14868 # Check whether --enable-werror was given.
14869 if test "${enable_werror+set}" = set; then :
14870 enableval=$enable_werror;
14872 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14879 case ${enable_werror} in
14880 yes) stage2_werror_flag="--enable-werror-always" ;;
14881 *) stage2_werror_flag="" ;;
14885 # Enable --enable-host-shared.
14886 # Check whether --enable-host-shared was given.
14887 if test "${enable_host_shared+set}" = set; then :
14888 enableval=$enable_host_shared; host_shared=$enableval
14895 # PR jit/64780: Require the user to explicitly specify
14896 # --enable-host-shared if the jit is enabled, hinting
14897 # that they might want to do a separate configure/build of
14898 # the jit, to avoid users from slowing down the rest of the
14899 # compiler by enabling the jit.
14900 if test ${host_shared} = "no
" ; then
14901 case "${enable_languages}" in
14904 Enabling language
\"jit
\" requires
--enable-host-shared.
14906 --enable-host-shared typically slows the rest of the compiler down by
14907 a few
%, so you must explicitly
enable it.
14909 If you want to build both the jit and the regular compiler
, it is often
14910 best to
do this via two separate configure
/builds
, in separate
14911 directories
, to avoid imposing the performance cost of
14912 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14919 # Specify what files to not compare during bootstrap.
14921 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14923 hppa*64*-*-hpux*) ;;
14924 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14925 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14929 ac_config_files="$ac_config_files Makefile
"
14931 cat >confcache <<\_ACEOF
14932 # This file is a shell script that caches the results of configure
14933 # tests run on this system so they can be shared between configure
14934 # scripts and configure runs, see configure's option --config-cache.
14935 # It is not useful on other systems. If it contains results you don't
14936 # want to keep, you may remove or edit it.
14938 # config.status only pays attention to the cache file if you give it
14939 # the --recheck option to rerun configure.
14941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14943 # following values.
14947 # The following way of writing the cache mishandles newlines in values,
14948 # but we know of no workaround that is simple, portable, and efficient.
14949 # So, we kill variables containing newlines.
14950 # Ultrix sh set writes to stderr and can't be redirected directly,
14951 # and sets the high bit in the cache file unless we assign to the vars.
14953 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14954 eval ac_val=\$$ac_var
14958 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14959 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14962 _ | IFS | as_nl) ;; #(
14963 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14964 *) { eval $ac_var=; unset $ac_var;} ;;
14970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14971 *${as_nl}ac_space=\ *)
14972 # `set' does not quote correctly, so add quotes: double-quote
14973 # substitution turns \\\\ into \\, and sed turns \\ into \.
14976 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14979 # `set' quotes correctly as required by POSIX, so do not add quotes.
14980 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14994 if test -w "$cache_file"; then
14995 test "x
$cache_file" != "x
/dev
/null
" &&
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14997 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14998 cat confcache >$cache_file
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15001 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15006 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15007 # Let make expand exec_prefix.
15008 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15010 # Transform confdefs.h into DEFS.
15011 # Protect against shell expansion while executing Makefile rules.
15012 # Protect against Makefile macro expansion.
15014 # If the first sed substitution is executed (which looks for macros that
15015 # take arguments), then branch to the quote section. Otherwise,
15016 # look for a macro that doesn't take arguments.
15026 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15028 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15032 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15045 DEFS=`sed -n "$ac_script" confdefs.h`
15050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15051 # 1. Remove the extension, and $U if already installed.
15052 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15055 # will be set to the directory where LIBOBJS objects are built.
15056 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15057 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15059 LIBOBJS=$ac_libobjs
15061 LTLIBOBJS=$ac_ltlibobjs
15065 : ${CONFIG_STATUS=./config.status}
15067 ac_clean_files_save=$ac_clean_files
15068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15072 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15074 # Generated by $as_me.
15075 # Run this file to recreate the current configuration.
15076 # Compiler output produced by configure, useful for debugging
15077 # configure, is in config.log if it exists.
15080 ac_cs_recheck=false
15083 SHELL=\${CONFIG_SHELL-$SHELL}
15086 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15087 ## -------------------- ##
15088 ## M4sh Initialization. ##
15089 ## -------------------- ##
15091 # Be more Bourne compatible
15092 DUALCASE=1; export DUALCASE # for MKS sh
15093 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15097 # is contrary to our usage. Disable this feature.
15098 alias -g '${1+"$@"}'='"$@"'
15099 setopt NO_GLOB_SUBST
15101 case `(set -o) 2>/dev/null` in #(
15113 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15114 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15115 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15116 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15117 # Prefer a ksh shell builtin over an external printf program on Solaris,
15118 # but without wasting forks for bash or zsh.
15119 if test -z "$BASH_VERSION$ZSH_VERSION" \
15120 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15121 as_echo
='print -r --'
15122 as_echo_n
='print -rn --'
15123 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15124 as_echo
='printf %s\n'
15125 as_echo_n
='printf %s'
15127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15128 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15129 as_echo_n
='/usr/ucb/echo -n'
15131 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15132 as_echo_n_body
='eval
15136 expr "X$arg" : "X\\(.*\\)$as_nl";
15137 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15139 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15141 export as_echo_n_body
15142 as_echo_n
='sh -c $as_echo_n_body as_echo'
15144 export as_echo_body
15145 as_echo
='sh -c $as_echo_body as_echo'
15148 # The user is always right.
15149 if test "${PATH_SEPARATOR+set}" != set; then
15151 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15152 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15159 # We need space, tab and new line, in precisely that order. Quoting is
15160 # there to prevent editors from complaining about space-tab.
15161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15162 # splitting by setting IFS to empty value.)
15165 # Find who we are. Look in the path if we contain no directory separator.
15167 *[\\/]* ) as_myself
=$0 ;;
15168 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15169 for as_dir
in $PATH
15172 test -z "$as_dir" && as_dir
=.
15173 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15179 # We did not find ourselves, most probably we were run as `sh COMMAND'
15180 # in which case we are not to be found in the path.
15181 if test "x$as_myself" = x
; then
15184 if test ! -f "$as_myself"; then
15185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15189 # Unset variables that we do not need and which cause bugs (e.g. in
15190 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15191 # suppresses any "Segmentation fault" message there. '((' could
15192 # trigger a bug in pdksh 5.2.14.
15193 for as_var
in BASH_ENV ENV MAIL MAILPATH
15194 do eval test x\
${$as_var+set} = xset \
15195 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15208 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15211 # as_fn_error ERROR [LINENO LOG_FD]
15212 # ---------------------------------
15213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15215 # script with status $?, using 1 if that was 0.
15218 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15220 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15223 $as_echo "$as_me: error: $1" >&2
15224 as_fn_exit
$as_status
15228 # as_fn_set_status STATUS
15229 # -----------------------
15230 # Set $? to STATUS, without forking.
15231 as_fn_set_status
()
15234 } # as_fn_set_status
15236 # as_fn_exit STATUS
15237 # -----------------
15238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15242 as_fn_set_status
$1
15248 # Portably unset VAR.
15251 { eval $1=; unset $1;}
15253 as_unset
=as_fn_unset
15254 # as_fn_append VAR VALUE
15255 # ----------------------
15256 # Append the text in VALUE to the end of the definition contained in VAR. Take
15257 # advantage of any shell optimizations that allow amortized linear growth over
15258 # repeated appends, instead of the typical quadratic growth present in naive
15260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15261 eval 'as_fn_append ()
15272 # as_fn_arith ARG...
15273 # ------------------
15274 # Perform arithmetic evaluation on the ARGs, and store the result in the
15275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15276 # must be portable across $(()) and expr.
15277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15278 eval 'as_fn_arith ()
15285 as_val
=`expr "$@" || test $? -eq 1`
15290 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15291 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15297 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15298 as_basename
=basename
15303 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15309 as_me
=`$as_basename -- "$0" ||
15310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15311 X"$0" : 'X\(//\)$' \| \
15312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15314 sed '/^.*\/\([^/][^/]*\)\/*$/{
15328 # Avoid depending upon Character Ranges.
15329 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15330 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15331 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15332 as_cr_digits
='0123456789'
15333 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15335 ECHO_C
= ECHO_N
= ECHO_T
=
15336 case `echo -n x` in #(((((
15338 case `echo 'xy\c'` in
15339 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15341 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15348 rm -f conf$$ conf$$.exe conf$$.
file
15349 if test -d conf$$.dir
; then
15350 rm -f conf$$.dir
/conf$$.
file
15353 mkdir conf$$.dir
2>/dev
/null
15355 if (echo >conf$$.
file) 2>/dev
/null
; then
15356 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15358 # ... but there are two gotchas:
15359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15361 # In both cases, we have to default to `cp -p'.
15362 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15372 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15373 rmdir conf$$.dir
2>/dev
/null
15378 # Create "$as_dir" as a directory, including parents if necessary.
15383 -*) as_dir
=.
/$as_dir;;
15385 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15389 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15390 *) as_qdir
=$as_dir;;
15392 as_dirs
="'$as_qdir' $as_dirs"
15393 as_dir
=`$as_dirname -- "$as_dir" ||
15394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15395 X"$as_dir" : 'X\(//\)[^/]' \| \
15396 X"$as_dir" : 'X\(//\)$' \| \
15397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15398 $as_echo X"$as_dir" |
15399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15403 /^X\(\/\/\)[^/].*/{
15416 test -d "$as_dir" && break
15418 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15419 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15423 if mkdir
-p .
2>/dev
/null
; then
15424 as_mkdir_p
='mkdir -p "$as_dir"'
15426 test -d .
/-p && rmdir .
/-p
15430 if test -x / >/dev
/null
2>&1; then
15431 as_test_x
='test -x'
15433 if ls -dL / >/dev
/null
2>&1; then
15440 if test -d "$1"; then
15446 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15447 ???[sx]*):;;*)false;;esac;fi
15451 as_executable_p
=$as_test_x
15453 # Sed expression to map a string onto a valid CPP name.
15454 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15456 # Sed expression to map a string onto a valid variable name.
15457 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15461 ## ----------------------------------- ##
15462 ## Main body of $CONFIG_STATUS script. ##
15463 ## ----------------------------------- ##
15465 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15468 # Save the log message, to keep $0 and so on meaningful, and to
15469 # report actual input values of CONFIG_FILES etc. instead of their
15470 # values after options handling.
15472 This file was extended by $as_me, which was
15473 generated by GNU Autoconf 2.64. Invocation command line was
15475 CONFIG_FILES = $CONFIG_FILES
15476 CONFIG_HEADERS = $CONFIG_HEADERS
15477 CONFIG_LINKS = $CONFIG_LINKS
15478 CONFIG_COMMANDS = $CONFIG_COMMANDS
15481 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15486 case $ac_config_files in *"
15487 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15493 # Files that config.status was made for.
15494 config_files="$ac_config_files"
15498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15500 \`$as_me' instantiates files and other configuration actions
15501 from templates according to the current configuration. Unless the files
15502 and actions are specified as TAGs, all are instantiated by default.
15504 Usage: $0 [OPTION]... [TAG]...
15506 -h, --help print this help, then exit
15507 -V, --version print version number and configuration settings, then exit
15508 -q, --quiet, --silent
15509 do not print progress messages
15510 -d, --debug don't remove temporary files
15511 --recheck update $as_me by reconfiguring in the same conditions
15512 --file=FILE[:TEMPLATE]
15513 instantiate the configuration file FILE
15515 Configuration files:
15518 Report bugs to the package provider."
15521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15524 configured by $0, generated by GNU Autoconf 2.64,
15525 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15527 Copyright (C) 2009 Free Software Foundation, Inc.
15528 This config.status script is free software; the Free Software Foundation
15529 gives unlimited permission to copy, distribute and modify it."
15535 test -n "\$AWK" || AWK=awk
15538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15539 # The default lists apply if the user does not specify any file.
15545 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15546 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15557 # Handling of the options.
15558 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15560 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15561 $as_echo "$ac_cs_version"; exit ;;
15562 --debug |
--debu |
--deb |
--de |
--d |
-d )
15564 --file |
--fil |
--fi |
--f )
15567 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15569 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15570 ac_need_defaults
=false
;;
15571 --he |
--h |
--help |
--hel |
-h )
15572 $as_echo "$ac_cs_usage"; exit ;;
15573 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15574 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15577 # This is an error.
15578 -*) as_fn_error
"unrecognized option: \`$1'
15579 Try \`$0 --help' for more information." ;;
15581 *) as_fn_append ac_config_targets
" $1"
15582 ac_need_defaults
=false
;;
15588 ac_configure_extra_args
=
15590 if $ac_cs_silent; then
15592 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15597 if \$ac_cs_recheck; then
15598 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15600 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15601 CONFIG_SHELL='$SHELL'
15602 export CONFIG_SHELL
15607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15612 ## Running $as_me. ##
15618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15622 extrasub_build="$extrasub_build"
15623 extrasub_host="$extrasub_host"
15624 extrasub_target="$extrasub_target"
15628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15630 # Handling of arguments.
15631 for ac_config_target
in $ac_config_targets
15633 case $ac_config_target in
15634 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15636 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15641 # If the user did not use the arguments to specify the items to instantiate,
15642 # then the envvar interface is used. Set only those that are not.
15643 # We use the long form for the default assignment because of an extremely
15644 # bizarre bug on SunOS 4.1.3.
15645 if $ac_need_defaults; then
15646 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15649 # Have a temporary directory for convenience. Make it in the build tree
15650 # simply because there is no reason against having it here, and in addition,
15651 # creating and moving files from /tmp can sometimes cause problems.
15652 # Hook for its removal unless debugging.
15653 # Note that there is a small window in which the directory will not be cleaned:
15654 # after its creation but before its name has been assigned to `$tmp'.
15658 trap 'exit_status=$?
15659 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15661 trap 'as_fn_exit 1' 1 2 13 15
15663 # Create a (secure) tmp directory for tmp files.
15666 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15667 test -n "$tmp" && test -d "$tmp"
15670 tmp
=.
/conf$$
-$RANDOM
15671 (umask 077 && mkdir
"$tmp")
15672 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15674 # Set up the scripts for CONFIG_FILES section.
15675 # No need to generate them if there are no CONFIG_FILES.
15676 # This happens for instance with `./config.status config.h'.
15677 if test -n "$CONFIG_FILES"; then
15679 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15680 ac_cs_awk_getline
=:
15681 ac_cs_awk_pipe_init
=
15682 ac_cs_awk_read_file
='
15683 while ((getline aline < (F[key])) > 0)
15686 ac_cs_awk_pipe_fini
=
15688 ac_cs_awk_getline
=false
15689 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15690 ac_cs_awk_read_file
='
15692 print "cat " F[key] " &&"
15693 '$ac_cs_awk_pipe_init
15694 # The final `:' finishes the AND list.
15695 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15697 ac_cr
=`echo X | tr X '\015'`
15698 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15699 # But we know of no other shell where ac_cr would be empty at this
15700 # point, so we can use a bashism as a fallback.
15701 if test "x$ac_cr" = x
; then
15702 eval ac_cr
=\$
\'\\r
\'
15704 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15705 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15708 ac_cs_awk_cr
=$ac_cr
15711 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15714 # Create commands to substitute file output variables.
15716 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15717 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15718 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15721 } >conf$
$files.sh
&&
15722 . .
/conf$
$files.sh ||
15723 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15724 rm -f conf$
$files.sh
15727 echo "cat >conf$$subs.awk <<_ACEOF" &&
15728 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15730 } >conf$$subs.sh ||
15731 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15732 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15734 for ac_last_try in false false false false false :; do
15735 . ./conf$$subs.sh ||
15736 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15738 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15739 if test $ac_delim_n = $ac_delim_num; then
15741 elif $ac_last_try; then
15742 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15744 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15747 rm -f conf$$subs.sh
15749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15750 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15754 s/^/S["/; s
/!.
*/"]=/
15764 s/\(.\{148\}\).*/\1/
15766 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15771 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15778 s/\(.\{148\}\).*/\1/
15780 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15784 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15789 ' <conf$$subs.awk | sed '
15794 ' >>$CONFIG_STATUS || ac_write_fail=1
15795 rm -f conf$$subs.awk
15796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15798 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15799 for (key in S) S_is_set[key] = 1
15801 \$ac_cs_awk_pipe_init
15805 nfields = split(line, field, "@
")
15807 len = length(field[1])
15808 for (i = 2; i < nfields; i++) {
15810 keylen = length(key)
15811 if (S_is_set[key]) {
15813 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15814 len += length(value) + length(field[++i])
15819 if (nfields == 3 && !substed) {
15821 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15822 \$ac_cs_awk_read_file
15828 \$ac_cs_awk_pipe_fini
15831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15832 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15833 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15836 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15837 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15840 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15841 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15842 # trailing colons and then remove the whole line if VPATH becomes empty
15843 # (actually we leave an empty line to preserve line numbers).
15844 if test "x
$srcdir" = x.; then
15845 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15846 s/:*\$(srcdir):*/:/
15847 s/:*\${srcdir}:*/:/
15849 s/^\([^=]*=[ ]*\):*/\1/
15855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15856 fi # test -n "$CONFIG_FILES"
15859 eval set X " :F
$CONFIG_FILES "
15864 :[FHLC]) ac_mode=$ac_tag; continue;;
15866 case $ac_mode$ac_tag in
15868 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15869 :[FH]-) ac_tag=-:-;;
15870 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15887 -) ac_f="$tmp/stdin";;
15888 *) # Look for the file first in the build tree, then in the source tree
15889 # (if the path is not absolute). The absolute path cannot be DOS-style,
15890 # because $ac_f cannot contain `:'.
15894 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15896 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15898 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15899 as_fn_append ac_file_inputs " '$ac_f'"
15902 # Let's still pretend it is `configure' which instantiates (i.e., don't
15903 # use $as_me), people would be surprised to read:
15904 # /* config.h. Generated by config.status. */
15905 configure_input='Generated from '`
15906 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15908 if test x"$ac_file" != x-; then
15909 configure_input="$ac_file.
$configure_input"
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15911 $as_echo "$as_me: creating
$ac_file" >&6;}
15913 # Neutralize special characters interpreted by sed in replacement strings.
15914 case $configure_input in #(
15915 *\&* | *\|* | *\\* )
15916 ac_sed_conf_input=`$as_echo "$configure_input" |
15917 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15918 *) ac_sed_conf_input=$configure_input;;
15922 *:-:* | *:-) cat >"$tmp/stdin
" \
15923 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15928 ac_dir=`$as_dirname -- "$ac_file" ||
15929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15930 X"$ac_file" : 'X\(//\)[^/]' \| \
15931 X"$ac_file" : 'X\(//\)$' \| \
15932 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15933 $as_echo X"$ac_file" |
15934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15938 /^X\(\/\/\)[^/].*/{
15951 as_dir="$ac_dir"; as_fn_mkdir_p
15955 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15957 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15958 # A "..
" for each directory in $ac_dir_suffix.
15959 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15960 case $ac_top_builddir_sub in
15961 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15962 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15965 ac_abs_top_builddir=$ac_pwd
15966 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15967 # for backward compatibility:
15968 ac_top_builddir=$ac_top_build_prefix
15971 .) # We are building in place.
15973 ac_top_srcdir=$ac_top_builddir_sub
15974 ac_abs_top_srcdir=$ac_pwd ;;
15975 [\\/]* | ?:[\\/]* ) # Absolute name.
15976 ac_srcdir=$srcdir$ac_dir_suffix;
15977 ac_top_srcdir=$srcdir
15978 ac_abs_top_srcdir=$srcdir ;;
15979 *) # Relative name.
15980 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15981 ac_top_srcdir=$ac_top_build_prefix$srcdir
15982 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15984 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15994 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15995 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16000 # If the template does not know about datarootdir, expand it.
16001 # FIXME: This hack should be removed a few years after 2.60.
16002 ac_datarootdir_hack=; ac_datarootdir_seen=
16013 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16014 *datarootdir*) ac_datarootdir_seen=yes;;
16015 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16017 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16020 ac_datarootdir_hack='
16021 s&@datadir@&$datadir&g
16022 s&@docdir@&$docdir&g
16023 s&@infodir@&$infodir&g
16024 s&@localedir@&$localedir&g
16025 s&@mandir@&$mandir&g
16026 s&\\\${datarootdir}&$datarootdir&g' ;;
16030 # Neutralize VPATH when `$srcdir' = `.'.
16031 # Shell code in configure.ac might set extrasub.
16032 # FIXME: do we really want to maintain this feature?
16033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16034 ac_sed_extra="$ac_vpsub
16037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16039 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16040 s|@configure_input@|
$ac_sed_conf_input|
;t t
16041 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16042 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16043 s
&@srcdir@
&$ac_srcdir&;t t
16044 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16045 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16046 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16047 s
&@builddir@
&$ac_builddir&;t t
16048 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16049 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16050 s
&@INSTALL@
&$ac_INSTALL&;t t
16051 $ac_datarootdir_hack
16053 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16054 if $ac_cs_awk_getline; then
16055 $AWK -f "$tmp/subs.
awk"
16057 $AWK -f "$tmp/subs.
awk" | $SHELL
16059 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16061 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16062 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16063 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16065 which seems to be undefined. Please make sure it is defined." >&5
16066 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16067 which seems to be undefined. Please make sure it is defined." >&2;}
16071 -) cat "$tmp/out" && rm -f "$tmp/out";;
16072 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16074 || as_fn_error "could not create $ac_file" "$LINENO" 5
16082 case $ac_file$ac_mode in
16083 "Makefile":F) sed "$extrasub_build" Makefile |
16084 sed "$extrasub_host" |
16085 sed "$extrasub_target" > mf$$
16086 mv -f mf$$ Makefile ;;
16094 ac_clean_files=$ac_clean_files_save
16096 test $ac_write_fail = 0 ||
16097 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16100 # configure is writing to config.log, and then calls config.status.
16101 # config.status does its own redirection, appending to config.log.
16102 # Unfortunately, on DOS this fails, as config.log is still kept open
16103 # by configure, so config.status won't be able to
write to it
; its
16104 # output is simply discarded. So we exec the FD to /dev/null,
16105 # effectively closing config.log, so it can be properly (re)opened and
16106 # appended to by config.status. When coming back to configure, we
16107 # need to make the FD available again.
16108 if test "$no_create" != yes; then
16110 ac_config_status_args
=
16111 test "$silent" = yes &&
16112 ac_config_status_args
="$ac_config_status_args --quiet"
16114 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16116 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16117 # would make configure fail if this is the last instruction.
16118 $ac_cs_success || as_fn_exit $?
16120 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16122 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}