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_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
756 enable_compressed_debug_sections
758 enable_libquadmath_support
782 enable_isl_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
789 with_debug_prefix_map
792 enable_serial_configure
793 with_build_time_tools
794 enable_maintainer_mode
795 enable_stage1_checking
799 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 as_fn_error
"path to source, $srcdir, contains spaces"
1377 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures this package to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-as-accelerator-for=ARG
1471 build as offload target compiler. Specify offload
1473 --enable-offload-targets=LIST
1474 enable offloading to devices from comma-separated
1475 LIST of TARGET
[=DIR
]. Use optional path to
find
1476 offload target compiler during the build
1477 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1478 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1479 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1480 Enable compressed debug sections
for gas
, gold or ld
1482 --disable-libquadmath do not build libquadmath directory
1483 --disable-libquadmath-support
1484 disable libquadmath support
for Fortran
1485 --enable-libada build libada directory
1486 --enable-libssp build libssp directory
1487 --disable-libstdcxx do not build libstdc
++-v3 directory
1488 --enable-liboffloadmic=ARG
1489 build liboffloadmic
[ARG
={no
,host,target
}]
1490 --enable-bootstrap enable bootstrapping
[yes if native build
]
1491 --disable-isl-version-check
1492 disable check
for isl version
1493 --enable-lto enable link
time optimization support
1494 --enable-linker-plugin-configure-flags=FLAGS
1495 additional flags
for configuring linker plugins
1497 --enable-linker-plugin-flags=FLAGS
1498 additional flags
for configuring and building linker
1500 --enable-stage1-languages[=all
]
1501 choose additional languages to build during stage1.
1502 Mostly useful
for compiler development
1503 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1505 --enable-vtable-verify Enable vtable verification feature
1506 --enable-serial-[{host,target,build}-]configure
1507 force sequential configuration of sub-packages for
1508 the host, target or build machine, or all
1510 --enable-maintainer-mode
1511 enable make rules and dependencies not useful (and
1512 sometimes confusing) to the casual installer
1513 --enable-stage1-checking[=all]
1514 choose additional checking for stage1 of the
1516 --enable-werror enable -Werror in bootstrap stage2 and later
1517 --enable-host-shared build host code as shared libraries
1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1522 --with-build-libsubdir=DIR Directory where to find libraries for build system
1523 --with-system-zlib use installed libz
1524 --with-mpc=PATH specify prefix directory for installed MPC package.
1525 Equivalent to --with-mpc-include=PATH/include plus
1526 --with-mpc-lib=PATH/lib
1527 --with-mpc-include=PATH specify directory for installed MPC include files
1528 --with-mpc-lib=PATH specify directory for the installed MPC library
1529 --with-mpfr-dir=PATH this option has been REMOVED
1530 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1531 Equivalent to --with-mpfr-include=PATH/include plus
1532 --with-mpfr-lib=PATH/lib
1533 --with-mpfr-include=PATH
1534 specify directory for installed MPFR include files
1535 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1536 --with-gmp-dir=PATH this option has been REMOVED
1537 --with-gmp=PATH specify prefix directory for the installed GMP
1538 package. Equivalent to
1539 --with-gmp-include=PATH/include plus
1540 --with-gmp-lib=PATH/lib
1541 --with-gmp-include=PATH specify directory for installed GMP include files
1542 --with-gmp-lib=PATH specify directory for the installed GMP library
1543 --with-stage1-libs=LIBS libraries for stage1
1544 --with-stage1-ldflags=FLAGS
1545 linker flags for stage1
1546 --with-boot-libs=LIBS libraries for stage2 and later
1547 --with-boot-ldflags=FLAGS
1548 linker flags for stage2 and later
1549 --with-isl=PATH Specify prefix directory for the installed isl
1550 package. Equivalent to
1551 --with-isl-include=PATH/include plus
1552 --with-isl-lib=PATH/lib
1553 --with-isl-include=PATH Specify directory for installed isl include files
1554 --with-isl-lib=PATH Specify the directory for the installed isl library
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1575 additional configure arguments for build directories
1577 additional configure arguments for host directories
1579 additional configure arguments for target directories
1582 DLLTOOL DLLTOOL for the host
1584 LIPO LIPO for the host
1586 RANLIB RANLIB for the host
1587 STRIP STRIP for the host
1588 WINDRES WINDRES for the host
1589 WINDMC WINDMC for the host
1590 OBJCOPY OBJCOPY for the host
1591 OBJDUMP OBJDUMP for the host
1592 READELF READELF for the host
1602 GFORTRAN for the target
1610 DLLTOOL for the target
1618 OBJCOPY for the target
1620 OBJDUMP for the target
1622 RANLIB for the target
1624 READELF for the target
1626 STRIP for the target
1628 WINDRES for the target
1630 WINDMC for the target
1632 Use these variables to override the choices made by `configure' or to
help
1633 it to
find libraries and programs with nonstandard names
/locations.
1635 Report bugs to the package provider.
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1659 ac_abs_top_builddir
=$ac_pwd
1660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir
=$ac_top_build_prefix
1665 .
) # We are building in place.
1667 ac_top_srcdir
=$ac_top_builddir_sub
1668 ac_abs_top_srcdir
=$ac_pwd ;;
1669 [\\/]* | ?
:[\\/]* ) # Absolute name.
1670 ac_srcdir
=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir
=$srcdir
1672 ac_abs_top_srcdir
=$srcdir ;;
1674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1699 generated by GNU Autoconf
2.64
1701 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1702 This configure
script is free software
; the Free Software Foundation
1703 gives unlimited permission to copy
, distribute and modify it.
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile
()
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 rm -f conftest.
$ac_objext
1719 if { { ac_try
="$ac_compile"
1721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.
$ac_objext; then :
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.
$ac_ext >&5
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_cxx_try_link LINENO
1789 # -------------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_cxx_try_link
()
1793 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1794 rm -f conftest.
$ac_objext conftest
$ac_exeext
1795 if { { ac_try
="$ac_link"
1797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_cxx_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 } # ac_fn_cxx_try_link
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 rm -f conftest.$ac_objext conftest$ac_exeext
1841 if { { ac_try="$ac_link"
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err
; then
1851 grep -v '^ *+' conftest.err
>conftest.er1
1852 cat conftest.er1
>&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest
$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 $as_test_x conftest
$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_try_link
1879 cat >config.log
<<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1883 It was created by $as_me, which was
1884 generated by GNU Autoconf 2.64. Invocation command line was
1896 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1897 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1898 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1899 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1900 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1902 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1903 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1905 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1906 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1907 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1908 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1909 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1910 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1911 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 $as_echo "PATH: $as_dir"
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1944 ac_must_keep_next
=false
1950 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1951 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1952 |
-silent |
--silent |
--silen |
--sile |
--sil)
1955 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1958 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1960 as_fn_append ac_configure_args1
" '$ac_arg'"
1961 if test $ac_must_keep_next = true
; then
1962 ac_must_keep_next
=false
# Got value, back to normal.
1965 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1966 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1967 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1968 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1969 case "$ac_configure_args0 " in
1970 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973 -* ) ac_must_keep_next
=true
;;
1976 as_fn_append ac_configure_args
" '$ac_arg'"
1981 { ac_configure_args0
=; unset ac_configure_args0
;}
1982 { ac_configure_args1
=; unset ac_configure_args1
;}
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log. We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990 # Save into config.log some information that might help in debugging.
1995 ## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2033 ## ----------------- ##
2034 ## Output variables. ##
2035 ## ----------------- ##
2038 for ac_var in $ac_subst_vars
2040 eval ac_val=\$$ac_var
2042 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -n "$ac_subst_files"; then
2050 ## ------------------- ##
2051 ## File substitutions. ##
2052 ## ------------------- ##
2055 for ac_var
in $ac_subst_files
2057 eval ac_val
=\$
$ac_var
2059 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -s confdefs.h; then
2076 test "$ac_signal" != 0 &&
2077 $as_echo "$as_me: caught signal $ac_signal"
2078 $as_echo "$as_me: exit $exit_status"
2080 rm -f core *.core core.conftest.* &&
2081 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2084 for ac_signal
in 1 2 13 15; do
2085 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2090 rm -f -r conftest
* confdefs.h
2092 $as_echo "/* confdefs.h */" > confdefs.h
2094 # Predefined preprocessor variables.
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_NAME "$PACKAGE_NAME"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_STRING "$PACKAGE_STRING"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_URL "$PACKAGE_URL"
2121 # Let the site file select an alternate cache file if it wants to.
2122 # Prefer an explicitly selected file to automatically selected ones.
2125 if test -n "$CONFIG_SITE"; then
2126 ac_site_file1
=$CONFIG_SITE
2127 elif test "x$prefix" != xNONE
; then
2128 ac_site_file1
=$prefix/share
/config.site
2129 ac_site_file2
=$prefix/etc
/config.site
2131 ac_site_file1
=$ac_default_prefix/share
/config.site
2132 ac_site_file2
=$ac_default_prefix/etc
/config.site
2134 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2136 test "x$ac_site_file" = xNONE
&& continue
2137 if test -r "$ac_site_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2139 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2140 sed 's/^/| /' "$ac_site_file" >&5
2145 if test -r "$cache_file"; then
2146 # Some versions of bash will fail to source /dev/null (special
2147 # files actually), so we avoid doing that.
2148 if test -f "$cache_file"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2153 *) .
"./$cache_file";;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
2162 # Check that the precious variables saved in the cache have kept the same
2164 ac_cache_corrupted
=false
2165 for ac_var
in $ac_precious_vars; do
2166 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2167 eval ac_new_set
=\
$ac_env_${ac_var}_set
2168 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2169 eval ac_new_val
=\
$ac_env_${ac_var}_value
2170 case $ac_old_set,$ac_new_set in
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2174 ac_cache_corrupted
=: ;;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2177 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2178 ac_cache_corrupted
=: ;;
2181 if test "x$ac_old_val" != "x$ac_new_val"; then
2182 # differences in whitespace do not lead to failure.
2183 ac_old_val_w
=`echo x $ac_old_val`
2184 ac_new_val_w
=`echo x $ac_new_val`
2185 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2188 ac_cache_corrupted
=:
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2192 eval $ac_var=\
$ac_old_val
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2195 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2200 # Pass precious variables to config.status.
2201 if test "$ac_new_set" = set; then
2203 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2204 *) ac_arg
=$ac_var=$ac_new_val ;;
2206 case " $ac_configure_args " in
2207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2208 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2212 if $ac_cache_corrupted; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2217 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2219 ## -------------------- ##
2220 ## Main body of script. ##
2221 ## -------------------- ##
2224 ac_cpp
='$CPP $CPPFLAGS'
2225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2238 # if PWD already has a value, it is probably wrong.
2239 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2241 # Export original configure arguments for use by sub-configures.
2242 # Quote arguments with shell meta charatcers.
2243 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2244 set -- "$progname" "$@"
2248 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2249 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2250 # if the argument is of the form -foo=baz, quote the baz part only
2251 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2254 # Add the quoted argument to the list.
2255 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2257 if test "$silent" = yes; then
2258 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2260 # Remove the initial space we just introduced and, as these will be
2261 # expanded by make, quote '$'.
2262 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2265 # Find the build, host, and target systems.
2267 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2268 for ac_t
in install-sh
install.sh shtool
; do
2269 if test -f "$ac_dir/$ac_t"; then
2271 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2276 if test -z "$ac_aux_dir"; then
2277 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2280 # These three variables are undocumented and unsupported,
2281 # and are intended to be withdrawn in a future Autoconf release.
2282 # They can cause serious problems if a builder's source tree is in a directory
2283 # whose full name contains unusual characters.
2284 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2285 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2286 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2289 # Make sure we can run config.sub.
2290 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2291 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2294 $as_echo_n "checking build system type... " >&6; }
2295 if test "${ac_cv_build+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 ac_build_alias
=$build_alias
2299 test "x$ac_build_alias" = x
&&
2300 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2301 test "x$ac_build_alias" = x
&&
2302 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2303 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2304 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2308 $as_echo "$ac_cv_build" >&6; }
2309 case $ac_cv_build in
2311 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2314 ac_save_IFS
=$IFS; IFS
='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2327 case ${build_alias} in
2328 "") build_noncanonical
=${build} ;;
2329 *) build_noncanonical
=${build_alias} ;;
2334 case ${host_alias} in
2335 "") host_noncanonical
=${build_noncanonical} ;;
2336 *) host_noncanonical
=${host_alias} ;;
2341 case ${target_alias} in
2342 "") target_noncanonical
=${host_noncanonical} ;;
2343 *) target_noncanonical
=${target_alias} ;;
2349 test "$host_noncanonical" = "$target_noncanonical" &&
2350 test "$program_prefix$program_suffix$program_transform_name" = \
2352 program_transform_name
=s
,y
,y
,
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2355 $as_echo_n "checking host system type... " >&6; }
2356 if test "${ac_cv_host+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 if test "x$host_alias" = x
; then
2360 ac_cv_host
=$ac_cv_build
2362 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2363 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2368 $as_echo "$ac_cv_host" >&6; }
2371 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2374 ac_save_IFS
=$IFS; IFS
='-'
2380 # Remember, the first character of IFS is used to create $*,
2381 # except with old shells:
2384 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2388 $as_echo_n "checking target system type... " >&6; }
2389 if test "${ac_cv_target+set}" = set; then :
2390 $as_echo_n "(cached) " >&6
2392 if test "x$target_alias" = x
; then
2393 ac_cv_target
=$ac_cv_host
2395 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2396 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2401 $as_echo "$ac_cv_target" >&6; }
2402 case $ac_cv_target in
2404 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2406 target
=$ac_cv_target
2407 ac_save_IFS
=$IFS; IFS
='-'
2413 # Remember, the first character of IFS is used to create $*,
2414 # except with old shells:
2417 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2420 # The aliases save the names the user supplied, while $host etc.
2421 # will get canonicalized.
2422 test -n "$target_alias" &&
2423 test "$program_prefix$program_suffix$program_transform_name" = \
2425 program_prefix
=${target_alias}-
2427 test "$program_prefix" != NONE
&&
2428 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2429 # Use a double $ so make ignores it.
2430 test "$program_suffix" != NONE
&&
2431 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2432 # Double any \ or $.
2433 # By default was `s,x,x', remove it if useless.
2434 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2435 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2439 # Get 'install' or 'install-sh' and its variants.
2440 # Find a good install program. We prefer a C program (faster),
2441 # so one script is as good as another. But avoid the broken or
2442 # incompatible versions:
2443 # SysV /etc/install, /usr/sbin/install
2444 # SunOS /usr/etc/install
2445 # IRIX /sbin/install
2447 # AmigaOS /C/install, which installs bootblocks on floppy discs
2448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2451 # OS/2's system install, which has a completely different semantic
2452 # ./install, which can be erroneously created by make from ./install.sh.
2453 # Reject install programs that cannot install multiple files.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2456 if test -z "$INSTALL"; then
2457 if test "${ac_cv_path_install+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 # Account for people who put trailing slashes in PATH elements.
2466 case $as_dir/ in #((
2467 .
/ | .
// |
/[cC
]/* | \
2468 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2469 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2472 # OSF1 and SCO ODT 3.0 have their own names for install.
2473 # Don't use installbsd from OSF since it installs stuff as root
2475 for ac_prog
in ginstall scoinst
install; do
2476 for ac_exec_ext
in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2478 if test $ac_prog = install &&
2479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2480 # AIX install. It has an incompatible calling convention.
2482 elif test $ac_prog = install &&
2483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2484 # program-specific install script used by HP pwplus--don't use.
2487 rm -rf conftest.one conftest.two conftest.dir
2488 echo one
> conftest.one
2489 echo two
> conftest.two
2491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2492 test -s conftest.one
&& test -s conftest.two
&&
2493 test -s conftest.dir
/conftest.one
&&
2494 test -s conftest.dir
/conftest.two
2496 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2509 rm -rf conftest.one conftest.two conftest.dir
2512 if test "${ac_cv_path_install+set}" = set; then
2513 INSTALL
=$ac_cv_path_install
2515 # As a last resort, use the slow shell script. Don't cache a
2516 # value for INSTALL within a source directory, because that will
2517 # break other packages using the cache if that directory is
2518 # removed, or if the value is a relative name.
2519 INSTALL
=$ac_install_sh
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2523 $as_echo "$INSTALL" >&6; }
2525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2526 # It thinks the first close brace ends the variable substitution.
2527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2531 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2534 $as_echo_n "checking whether ln works... " >&6; }
2535 if test "${acx_cv_prog_LN+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 rm -f conftestdata_t
2539 echo >conftestdata_f
2540 if ln conftestdata_f conftestdata_t
2>/dev
/null
2546 rm -f conftestdata_f conftestdata_t
2549 if test $acx_cv_prog_LN = no
; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2552 $as_echo "no, using $LN" >&6; }
2554 LN
="$acx_cv_prog_LN"
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2560 $as_echo_n "checking whether ln -s works... " >&6; }
2562 if test "$LN_S" = "ln -s"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564 $as_echo "yes" >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2567 $as_echo "no, using $LN_S" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2571 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2572 if test "${ac_cv_path_SED+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2576 for ac_i
in 1 2 3 4 5 6 7; do
2577 ac_script
="$ac_script$as_nl$ac_script"
2579 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2580 { ac_script
=; unset ac_script
;}
2581 if test -z "$SED"; then
2582 ac_path_SED_found
=false
2583 # Loop through the user's path and test for each of PROGNAME-LIST
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_prog
in sed gsed
; do
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2592 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2593 # Check for GNU ac_path_SED and select it if it is found.
2594 # Check for GNU $ac_path_SED
2595 case `"$ac_path_SED" --version 2>&1` in
2597 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2600 $as_echo_n 0123456789 >"conftest.in"
2603 cat "conftest.in" "conftest.in" >"conftest.tmp"
2604 mv "conftest.tmp" "conftest.in"
2605 cp "conftest.in" "conftest.nl"
2606 $as_echo '' >> "conftest.nl"
2607 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2610 if test $ac_count -gt ${ac_path_SED_max-0}; then
2611 # Best one so far, save it but keep looking for a better one
2612 ac_cv_path_SED
="$ac_path_SED"
2613 ac_path_SED_max
=$ac_count
2615 # 10*(2^10) chars as input seems more than enough
2616 test $ac_count -gt 10 && break
2618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2621 $ac_path_SED_found && break 3
2626 if test -z "$ac_cv_path_SED"; then
2627 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2635 $as_echo "$ac_cv_path_SED" >&6; }
2636 SED
="$ac_cv_path_SED"
2639 for ac_prog
in gawk mawk nawk
awk
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_AWK+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$AWK"; then
2649 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_AWK
="$ac_prog"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$AWK"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2671 $as_echo "$AWK" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$AWK" && break
2682 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2684 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2686 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2687 INSTALL
="${srcpwd}/install-sh -c"
2690 # Set srcdir to "." if that's what it is.
2691 # This is important for multilib support.
2693 if test "${pwd}" = "${srcpwd}" ; then
2701 ### To add a new directory to the tree, first choose whether it is a target
2702 ### or a host dependent tool. Then put it into the appropriate list
2703 ### (library or tools, host or target), doing a dependency sort.
2705 # Subdirs will be configured in the order listed in build_configdirs,
2706 # configdirs, or target_configdirs; see the serialization section below.
2708 # Dependency sorting is only needed when *configuration* must be done in
2709 # a particular order. In all cases a dependency should be specified in
2710 # the Makefile, whether or not it's implicitly specified here.
2712 # Double entries in build_configdirs, configdirs, or target_configdirs may
2713 # cause circular dependencies and break everything horribly.
2715 # these library is used by various programs built for the build
2718 build_libs
="build-libiberty build-libcpp"
2720 # these tools are built for the build environment
2721 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2723 # these libraries are used by various programs built for the host environment
2725 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2727 # these tools are built for the host environment
2728 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2729 # know that we are building the simulator.
2730 # binutils, gas and ld appear in that order because it makes sense to run
2731 # "make check" in that particular order.
2732 # If --enable-gold is used, "gold" may replace "ld".
2733 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"
2735 # these libraries are built for the target environment, and are built after
2736 # the host libraries and the host tools (which may be a cross compiler)
2737 # Note that libiberty is not a target library.
2738 target_libraries
="target-libgcc \
2739 target-libbacktrace \
2744 target-liboffloadmic \
2747 target-libstdc++-v3 \
2748 target-libsanitizer \
2752 target-libquadmath \
2753 target-libgfortran \
2760 # these tools are built using the target libraries, and are intended to
2761 # run only in the target environment
2763 # note: any program that *uses* libraries that are in the "target_libraries"
2764 # list belongs in this list.
2766 target_tools
="target-rda"
2768 ################################################################################
2770 ## All tools belong in one of the four categories, and are assigned above
2771 ## We assign ${configdirs} this way to remove all embedded newlines. This
2772 ## is important because configure will choke if they ever get through.
2773 ## ${configdirs} is directories we build using the host tools.
2774 ## ${target_configdirs} is directories we build using the target tools.
2775 configdirs
=`echo ${host_libs} ${host_tools}`
2776 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2777 build_configdirs
=`echo ${build_libs} ${build_tools}`
2781 ################################################################################
2783 srcname
="gnu development package"
2785 # This gets set non-empty for some net releases of packages.
2788 # Define is_cross_compiler to save on calls to 'test'.
2790 if test x
"${host}" = x
"${target}" ; then
2791 is_cross_compiler
=no
2793 is_cross_compiler
=yes
2796 # Find the build and target subdir names.
2798 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2799 # have matching libraries, they should use host libraries: Makefile.tpl
2800 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2801 # However, they still use the build modules, because the corresponding
2802 # host modules (e.g. bison) are only built for the host when bootstrap
2804 # - build_subdir is where we find build modules, and never changes.
2805 # - build_libsubdir is where we find build libraries, and can be overridden.
2807 # Prefix 'build-' so this never conflicts with target_subdir.
2808 build_subdir
="build-${build_noncanonical}"
2810 # Check whether --with-build-libsubdir was given.
2811 if test "${with_build_libsubdir+set}" = set; then :
2812 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2814 build_libsubdir
="$build_subdir"
2817 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2818 if ( test $srcdir = .
&& test -d gcc
) \
2819 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2820 host_subdir
="host-${host_noncanonical}"
2825 target_subdir
=${target_noncanonical}
2827 # Be sure to cover against remnants of an in-tree build.
2828 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2829 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2830 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2833 # Skipdirs are removed silently.
2835 # Noconfigdirs are removed loudly.
2839 # Make sure we don't let GNU ld be added if we didn't want it.
2840 if test x
$with_gnu_ld = xno
; then
2842 noconfigdirs
="$noconfigdirs ld gold"
2846 # Make sure we don't let GNU as be added if we didn't want it.
2847 if test x
$with_gnu_as = xno
; then
2849 noconfigdirs
="$noconfigdirs gas"
2854 # Check whether --with-system-zlib was given.
2855 if test "${with_system_zlib+set}" = set; then :
2856 withval
=$with_system_zlib;
2859 # Make sure we don't let ZLIB be added if we didn't want it.
2860 if test x
$with_system_zlib = xyes
; then
2861 use_included_zlib
=no
2862 noconfigdirs
="$noconfigdirs zlib"
2865 # some tools are so dependent upon X11 that if we're not building with X,
2866 # it's not even worth trying to configure, much less build, that tool.
2869 yes |
"") ;; # the default value for this tree is that X11 is available
2871 skipdirs
="${skipdirs} tk itcl libgui"
2872 # We won't be able to build gdbtk without X.
2875 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2878 # Some are only suitable for cross toolchains.
2879 # Remove these if host=target.
2880 cross_only
="target-libgloss target-newlib target-opcodes"
2882 case $is_cross_compiler in
2883 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2886 # If both --with-headers and --with-libs are specified, default to
2888 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2889 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2890 if test x
"${with_newlib}" = x
; then
2895 # Recognize --with-newlib/--without-newlib.
2896 case ${with_newlib} in
2897 no
) skipdirs
="${skipdirs} target-newlib" ;;
2898 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2901 # Check whether --enable-as-accelerator-for was given.
2902 if test "${enable_as_accelerator_for+set}" = set; then :
2903 enableval
=$enable_as_accelerator_for;
2907 # Check whether --enable-offload-targets was given.
2908 if test "${enable_offload_targets+set}" = set; then :
2909 enableval
=$enable_offload_targets;
2910 if test x
"$enable_offload_targets" = x
; then
2911 as_fn_error
"no offload targets specified" "$LINENO" 5
2915 enable_offload_targets
=
2919 # Handle --enable-gold, --enable-ld.
2920 # --disable-gold [--enable-ld]
2921 # Build only ld. Default option.
2922 # --enable-gold [--enable-ld]
2923 # Build both gold and ld. Install gold as "ld.gold", install ld
2924 # as "ld.bfd" and "ld".
2925 # --enable-gold=default [--enable-ld]
2926 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2927 # install ld as "ld.bfd".
2928 # --enable-gold[=default] --disable-ld
2929 # Build only gold, which is then installed as both "ld.gold" and "ld".
2930 # --enable-gold --enable-ld=default
2931 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2933 # In other words, ld is default
2934 # --enable-gold=default --enable-ld=default
2938 # Check whether --enable-gold was given.
2939 if test "${enable_gold+set}" = set; then :
2940 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2945 case "${ENABLE_GOLD}" in
2947 # Check for ELF target.
2950 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2951 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2952 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2953 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2955 *-*-linux*aout
* |
*-*-linux*oldld
*)
2963 if test "$is_elf" = "yes"; then
2964 # Check for target supported by gold.
2966 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2967 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2968 configdirs
="$configdirs gold"
2969 if test x
${ENABLE_GOLD} = xdefault
; then
2980 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2984 # Check whether --enable-ld was given.
2985 if test "${enable_ld+set}" = set; then :
2986 enableval
=$enable_ld; ENABLE_LD
=$enableval
2992 case "${ENABLE_LD}" in
2994 if test x
${default_ld} != x
; then
2995 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3001 if test x
${ENABLE_GOLD} != xyes
; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3003 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3005 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3008 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3013 # Decide the default method for compressing debug sections.
3014 # Provide a configure time option to override our default.
3015 # Check whether --enable-compressed_debug_sections was given.
3016 if test "${enable_compressed_debug_sections+set}" = set; then :
3017 enableval
=$enable_compressed_debug_sections;
3018 if test x
"$enable_compressed_debug_sections" = xyes
; then
3019 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3023 enable_compressed_debug_sections
=
3027 # Configure extra directories which are host specific
3031 configdirs
="$configdirs libtermcap" ;;
3034 # A target can indicate whether a language isn't supported for some reason.
3035 # Only spaces may be used in this macro; not newlines or tabs.
3036 unsupported_languages
=
3038 # Remove more programs from consideration, based on the host or
3039 # target this usually means that a port of the program doesn't
3043 i
[3456789]86-*-msdosdjgpp*)
3044 noconfigdirs
="$noconfigdirs tcl tk itcl"
3049 # Check whether --enable-libquadmath was given.
3050 if test "${enable_libquadmath+set}" = set; then :
3051 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3053 ENABLE_LIBQUADMATH
=yes
3056 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3057 noconfigdirs
="$noconfigdirs target-libquadmath"
3061 # Check whether --enable-libquadmath-support was given.
3062 if test "${enable_libquadmath_support+set}" = set; then :
3063 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3065 ENABLE_LIBQUADMATH_SUPPORT
=yes
3068 enable_libquadmath_support
=
3069 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3070 enable_libquadmath_support
=no
3074 # Check whether --enable-libada was given.
3075 if test "${enable_libada+set}" = set; then :
3076 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3081 if test "${ENABLE_LIBADA}" != "yes" ; then
3082 noconfigdirs
="$noconfigdirs gnattools"
3085 # Check whether --enable-libssp was given.
3086 if test "${enable_libssp+set}" = set; then :
3087 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3093 # Check whether --enable-libstdcxx was given.
3094 if test "${enable_libstdcxx+set}" = set; then :
3095 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3097 ENABLE_LIBSTDCXX
=default
3100 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3101 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3104 # If this is accelerator compiler and its target is intelmic we enable
3105 # target liboffloadmic by default. If this is compiler with offloading
3106 # for intelmic we enable host liboffloadmic by default. Otherwise
3107 # liboffloadmic is disabled by default.
3108 # Check whether --enable-liboffloadmic was given.
3109 if test "${enable_liboffloadmic+set}" = set; then :
3110 enableval
=$enable_liboffloadmic; case "$enableval" in
3112 enable_liboffloadmic
=$enableval ;;
3114 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3117 if test x
"$enable_as_accelerator_for" != x
; then
3119 *-intelmic-* |
*-intelmicemul-*)
3120 enable_liboffloadmic
=target
3121 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3124 enable_liboffloadmic
=no
3128 case "${enable_offload_targets}" in
3129 *-intelmic-* |
*-intelmicemul-*)
3130 enable_liboffloadmic
=host
3131 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3134 enable_liboffloadmic
=no
3142 # Enable libgomp by default on hosted POSIX systems, and a few others.
3143 if test x
$enable_libgomp = x
; then
3145 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3147 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3149 *-*-solaris2* |
*-*-hpux11*)
3151 *-*-darwin* |
*-*-aix*)
3156 noconfigdirs
="$noconfigdirs target-libgomp"
3161 # Disable libatomic on unsupported systems.
3162 if test -d ${srcdir}/libatomic
; then
3163 if test x
$enable_libatomic = x
; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3165 $as_echo_n "checking for libatomic support... " >&6; }
3166 if (srcdir
=${srcdir}/libatomic
; \
3167 .
${srcdir}/configure.tgt
; \
3168 test -n "$UNSUPPORTED")
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 noconfigdirs
="$noconfigdirs target-libatomic"
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3180 # Disable libcilkrts on unsupported systems.
3181 if test -d ${srcdir}/libcilkrts
; then
3182 if test x
$enable_libcilkrts = x
; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3184 $as_echo_n "checking for libcilkrts support... " >&6; }
3185 if (srcdir
=${srcdir}/libcilkrts
; \
3186 .
${srcdir}/configure.tgt
; \
3187 test -n "$UNSUPPORTED")
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 noconfigdirs
="$noconfigdirs target-libcilkrts"
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3199 # Disable liboffloadmic on unsupported systems.
3200 if test -d ${srcdir}/liboffloadmic
; then
3201 if test x
$enable_liboffloadmic != xno
; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3203 $as_echo_n "checking for liboffloadmic support... " >&6; }
3204 if (srcdir
=${srcdir}/liboffloadmic
; \
3205 .
${srcdir}/configure.tgt
; \
3206 test -n "$UNSUPPORTED")
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3210 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3218 # Disable libitm on unsupported systems.
3219 if test -d ${srcdir}/libitm
; then
3220 if test x
$enable_libitm = x
; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3222 $as_echo_n "checking for libitm support... " >&6; }
3223 if (srcdir
=${srcdir}/libitm
; \
3224 .
${srcdir}/configure.tgt
; \
3225 test -n "$UNSUPPORTED")
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 noconfigdirs
="$noconfigdirs target-libitm"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3237 # Disable libsanitizer on unsupported systems.
3238 if test -d ${srcdir}/libsanitizer
; then
3239 if test x
$enable_libsanitizer = x
; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3241 $as_echo_n "checking for libsanitizer support... " >&6; }
3242 if (srcdir
=${srcdir}/libsanitizer
; \
3243 .
${srcdir}/configure.tgt
; \
3244 test -n "$UNSUPPORTED")
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 noconfigdirs
="$noconfigdirs target-libsanitizer"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3256 # Disable libvtv on unsupported systems.
3257 if test -d ${srcdir}/libvtv
; then
3258 if test x
$enable_libvtv = x
; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3260 $as_echo_n "checking for libvtv support... " >&6; }
3261 if (srcdir
=${srcdir}/libvtv
; \
3262 .
${srcdir}/configure.tgt
; \
3263 test "$VTV_SUPPORTED" != "yes")
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3267 noconfigdirs
="$noconfigdirs target-libvtv"
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3270 $as_echo "yes" >&6; }
3276 # Enable libmpx on supported systems by request.
3277 if test -d ${srcdir}/libmpx
; then
3278 if test x
$enable_libmpx = x
; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3280 $as_echo_n "checking for libmpx support... " >&6; }
3281 if (srcdir
=${srcdir}/libmpx
; \
3282 .
${srcdir}/configure.tgt
; \
3283 test "$LIBMPX_SUPPORTED" != "yes")
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 noconfigdirs
="$noconfigdirs target-libmpx"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3297 # Disable libquadmath for some systems.
3300 noconfigdirs
="$noconfigdirs target-libquadmath"
3302 # libquadmath is unused on AIX and libquadmath build process use of
3303 # LD_LIBRARY_PATH can break AIX bootstrap.
3304 powerpc-
*-aix* | rs6000-
*-aix*)
3305 noconfigdirs
="$noconfigdirs target-libquadmath"
3309 # Disable libssp for some systems.
3312 # No hosted I/O support.
3313 noconfigdirs
="$noconfigdirs target-libssp"
3315 powerpc-
*-aix* | rs6000-
*-aix*)
3316 noconfigdirs
="$noconfigdirs target-libssp"
3319 # libssp uses a misaligned load to trigger a fault, but the RL78
3320 # doesn't fault for those - instead, it gives a build-time error
3321 # for explicit misaligned loads.
3322 noconfigdirs
="$noconfigdirs target-libssp"
3325 # No hosted I/O support.
3326 noconfigdirs
="$noconfigdirs target-libssp"
3330 # Disable libstdc++-v3 for some systems.
3331 # Allow user to override this if they pass --enable-libstdc++-v3
3332 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3335 # VxWorks uses the Dinkumware C++ library.
3336 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3339 # the C++ libraries don't build on top of CE's C libraries
3340 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3343 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3346 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3351 # Disable Fortran for some systems.
3354 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3355 unsupported_languages
="$unsupported_languages fortran"
3359 # Disable libffi for some systems.
3363 i
[3456789]86-*-darwin*)
3365 x86_64-
*-darwin[912]*)
3368 noconfigdirs
="$noconfigdirs target-libffi"
3371 noconfigdirs
="$noconfigdirs target-libffi"
3374 noconfigdirs
="$noconfigdirs target-libffi"
3377 noconfigdirs
="$noconfigdirs target-libffi"
3380 noconfigdirs
="$noconfigdirs target-libffi"
3383 noconfigdirs
="$noconfigdirs target-libffi"
3386 noconfigdirs
="$noconfigdirs target-libffi"
3389 noconfigdirs
="$noconfigdirs target-libffi"
3392 noconfigdirs
="$noconfigdirs target-libffi"
3395 noconfigdirs
="$noconfigdirs target-libffi"
3398 noconfigdirs
="$noconfigdirs target-libffi"
3400 cris-
*-* | crisv32-
*-*)
3404 *) # See PR46792 regarding target-libffi.
3405 noconfigdirs
="$noconfigdirs target-libffi";;
3409 noconfigdirs
="$noconfigdirs target-libffi"
3414 noconfigdirs
="$noconfigdirs target-libffi"
3417 noconfigdirs
="$noconfigdirs target-libffi"
3419 i
[3456789]86-w64-mingw*)
3420 noconfigdirs
="$noconfigdirs target-libffi"
3422 i
[3456789]86-*-mingw*)
3423 noconfigdirs
="$noconfigdirs target-libffi"
3426 noconfigdirs
="$noconfigdirs target-libffi"
3429 noconfigdirs
="$noconfigdirs target-libffi"
3432 # copied from rs6000-*-* entry
3433 noconfigdirs
="$noconfigdirs target-libffi"
3436 noconfigdirs
="$noconfigdirs target-libffi"
3439 noconfigdirs
="$noconfigdirs target-libffi"
3442 noconfigdirs
="$noconfigdirs target-libffi"
3446 # Disable the go frontend on systems where it is known to not work. Please keep
3447 # this in sync with contrib/config-list.mk.
3449 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3450 unsupported_languages
="$unsupported_languages go"
3454 # Disable libgo for some systems where it is known to not work.
3455 # For testing, you can easily override this with --enable-libgo.
3456 if test x
$enable_libgo = x
; then
3460 noconfigdirs
="$noconfigdirs target-libgo"
3462 *-*-cygwin* |
*-*-mingw*)
3463 noconfigdirs
="$noconfigdirs target-libgo"
3466 noconfigdirs
="$noconfigdirs target-libgo"
3471 # Default libgloss CPU subdirectory.
3472 libgloss_dir
="$target_cpu"
3475 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3479 libgloss_dir
=aarch64
3484 cris-
*-* | crisv32-
*-*)
3493 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3494 libgloss_dir
=m68hc11
3496 m68
*-*-* | fido-
*-*)
3510 # Disable newlib and libgloss for various target OSes.
3513 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3515 i
[3456789]86-*-linux*)
3516 # This section makes it possible to build newlib natively on linux.
3517 # If we are using a cross compiler then don't configure newlib.
3518 if test x
${is_cross_compiler} != xno
; then
3519 noconfigdirs
="$noconfigdirs target-newlib"
3521 noconfigdirs
="$noconfigdirs target-libgloss"
3522 # If we are not using a cross compiler, do configure newlib.
3523 # Note however, that newlib will only be configured in this situation
3524 # if the --with-newlib option has been given, because otherwise
3525 # 'target-newlib' will appear in skipdirs.
3527 i
[3456789]86-*-rdos*)
3528 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3530 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3537 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3546 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3551 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3552 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3555 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3561 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3564 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3567 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3570 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3581 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3582 noconfigdirs
="$noconfigdirs sim target-rda"
3585 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3586 noconfigdirs
="$noconfigdirs sim target-rda"
3589 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3590 noconfigdirs
="$noconfigdirs sim target-rda"
3592 i
[3456789]86-*-darwin*)
3593 noconfigdirs
="$noconfigdirs ld gprof"
3594 noconfigdirs
="$noconfigdirs sim target-rda"
3596 x86_64-
*-darwin[912]*)
3597 noconfigdirs
="$noconfigdirs ld gas gprof"
3598 noconfigdirs
="$noconfigdirs sim target-rda"
3601 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3602 noconfigdirs
="$noconfigdirs sim target-rda"
3607 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3608 && test -f /usr
/local
/include
/gmp.h
; then
3613 # Remove unsupported stuff on all kaOS configurations.
3614 noconfigdirs
="$noconfigdirs target-libgloss"
3621 noconfigdirs
="$noconfigdirs target-libgloss"
3624 noconfigdirs
="$noconfigdirs target-libgloss"
3625 # this is not caught below because this stanza matches earlier
3627 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3630 # The tpf target doesn't support gdb yet.
3632 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3635 noconfigdirs
="$noconfigdirs target-rda"
3640 # ld works, but does not support shared libraries.
3641 # gas doesn't generate exception information.
3642 noconfigdirs
="$noconfigdirs gas ld"
3645 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3648 # newlib is not 64 bit ready
3649 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3651 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3652 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3655 noconfigdirs
="$noconfigdirs sim"
3658 noconfigdirs
="$noconfigdirs target-libgloss"
3661 noconfigdirs
="$noconfigdirs ld target-libgloss"
3664 if test x
${with_avrlibc} != xno
; then
3665 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3668 c4x-
*-* | tic4x-
*-*)
3669 noconfigdirs
="$noconfigdirs target-libgloss"
3672 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3675 noconfigdirs
="$noconfigdirs target-libgloss"
3678 noconfigdirs
="$noconfigdirs gdb"
3681 noconfigdirs
="$noconfigdirs gdb"
3684 noconfigdirs
="$noconfigdirs target-rda gprof"
3687 noconfigdirs
="$noconfigdirs"
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-libgloss"
3695 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3698 noconfigdirs
="$noconfigdirs gdb"
3701 noconfigdirs
="$noconfigdirs gdb ld"
3709 hppa
*-*-openbsd* | \
3715 noconfigdirs
="$noconfigdirs ld"
3718 noconfigdirs
="$noconfigdirs gdb"
3721 # No gdb support yet.
3722 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3725 # No ld support yet.
3726 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3729 # No ld support yet.
3730 noconfigdirs
="$noconfigdirs libgui itcl ld"
3732 i
[3456789]86-w64-mingw*)
3734 i
[3456789]86-*-mingw*)
3735 target_configdirs
="$target_configdirs target-winsup"
3738 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3739 noconfigdirs
="$noconfigdirs target-libgloss"
3740 # always build newlib if winsup directory is present.
3741 if test -d "$srcdir/winsup/cygwin"; then
3742 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3743 elif test -d "$srcdir/newlib"; then
3744 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3748 noconfigdirs
="$noconfigdirs target-libgloss"
3750 i
[3456789]86-*-sco3.2v5
*)
3751 # The linker does not yet know about weak symbols in COFF,
3752 # and is not configured to handle mixed ELF and COFF.
3753 noconfigdirs
="$noconfigdirs ld target-libgloss"
3755 i
[3456789]86-*-sco*)
3756 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3758 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3759 noconfigdirs
="$noconfigdirs target-libgloss"
3761 i
[3456789]86-*-sysv4*)
3762 noconfigdirs
="$noconfigdirs target-libgloss"
3764 i
[3456789]86-*-beos*)
3765 noconfigdirs
="$noconfigdirs gdb"
3767 i
[3456789]86-*-rdos*)
3768 noconfigdirs
="$noconfigdirs gdb"
3771 noconfigdirs
="$noconfigdirs gdb"
3774 noconfigdirs
="$noconfigdirs sim"
3777 # copied from rs6000-*-* entry
3778 noconfigdirs
="$noconfigdirs gprof"
3780 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3781 target_configdirs
="$target_configdirs target-winsup"
3782 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3783 # always build newlib.
3784 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3786 # This is temporary until we can link against shared libraries
3787 powerpcle-
*-solaris*)
3788 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3791 noconfigdirs
="$noconfigdirs gdb"
3794 noconfigdirs
="$noconfigdirs gprof"
3797 noconfigdirs
="$noconfigdirs gprof"
3800 noconfigdirs
="$noconfigdirs gprof"
3803 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3806 noconfigdirs
="$noconfigdirs gprof"
3808 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3809 if test x
$with_newlib = xyes
; then
3810 noconfigdirs
="$noconfigdirs gprof"
3814 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3817 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3820 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3824 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3825 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3826 noconfigdirs
="$noconfigdirs ld gas gprof"
3829 noconfigdirs
="$noconfigdirs gprof"
3832 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3835 noconfigdirs
="$noconfigdirs gdb"
3842 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3846 if test x
${is_cross_compiler} = xno
; then
3851 noconfigdirs
="$noconfigdirs sim"
3853 tilepro
*-*-* | tilegx
*-*-*)
3854 noconfigdirs
="$noconfigdirs sim"
3857 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3860 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3864 # If we aren't building newlib, then don't build libgloss, since libgloss
3865 # depends upon some newlib header files.
3866 case "${noconfigdirs}" in
3867 *target-libgloss
*) ;;
3868 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3871 # Work in distributions that contain no compiler tools, like Autoconf.
3872 host_makefile_frag
=/dev
/null
3873 if test -d ${srcdir}/config
; then
3875 i
[3456789]86-*-msdosdjgpp*)
3876 host_makefile_frag
="config/mh-djgpp"
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3881 $as_echo_n "checking to see if cat works as expected... " >&6; }
3882 echo a
>cygwin-cat-check
3883 if test `cat cygwin-cat-check` = a
; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3886 $as_echo "yes" >&6; }
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3891 as_fn_error
"The cat command does not ignore carriage return characters.
3892 Please either mount the build directory in binary mode or run the following
3893 commands before running any configure script:
3899 host_makefile_frag
="config/mh-cygwin"
3902 host_makefile_frag
="config/mh-mingw"
3905 host_makefile_frag
="config/mh-alpha-linux"
3908 host_makefile_frag
="config/mh-pa-hpux10"
3911 host_makefile_frag
="config/mh-pa"
3914 host_makefile_frag
="config/mh-pa"
3917 host_makefile_frag
="config/mh-darwin"
3920 host_makefile_frag
="config/mh-ppc-aix"
3923 host_makefile_frag
="config/mh-ppc-aix"
3928 if test "${build}" != "${host}" ; then
3929 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3930 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3931 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3932 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3933 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3934 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3935 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3936 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3937 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3938 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3939 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3940 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3941 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3943 AR_FOR_BUILD
="\$(AR)"
3944 AS_FOR_BUILD
="\$(AS)"
3945 CC_FOR_BUILD
="\$(CC)"
3946 CXX_FOR_BUILD
="\$(CXX)"
3947 GCJ_FOR_BUILD
="\$(GCJ)"
3948 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3949 GOC_FOR_BUILD
="\$(GOC)"
3950 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3951 LD_FOR_BUILD
="\$(LD)"
3952 NM_FOR_BUILD
="\$(NM)"
3953 RANLIB_FOR_BUILD
="\$(RANLIB)"
3954 WINDRES_FOR_BUILD
="\$(WINDRES)"
3955 WINDMC_FOR_BUILD
="\$(WINDMC)"
3959 ac_cpp
='$CPP $CPPFLAGS'
3960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3963 if test -n "$ac_tool_prefix"; then
3964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3965 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if test "${ac_cv_prog_CC+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -n "$CC"; then
3972 ac_cv_prog_CC
="$CC" # Let the user override the test.
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir
=.
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 if test -n "$CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994 $as_echo "$CC" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test -z "$ac_cv_prog_CC"; then
4004 # Extract the first word of "gcc", so it can be a program name with args.
4005 set dummy gcc
; ac_word
=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -n "$ac_ct_CC"; then
4012 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021 ac_cv_prog_ac_ct_CC
="gcc"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4032 if test -n "$ac_ct_CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4034 $as_echo "$ac_ct_CC" >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4040 if test "x$ac_ct_CC" = x
; then
4043 case $cross_compiling:$ac_tool_warned in
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4047 ac_tool_warned
=yes ;;
4055 if test -z "$CC"; then
4056 if test -n "$ac_tool_prefix"; then
4057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4058 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if test "${ac_cv_prog_CC+set}" = set; then :
4062 $as_echo_n "(cached) " >&6
4064 if test -n "$CC"; then
4065 ac_cv_prog_CC
="$CC" # Let the user override the test.
4067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4071 test -z "$as_dir" && as_dir
=.
4072 for ac_exec_ext
in '' $ac_executable_extensions; do
4073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 if test -n "$CC"; then
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4087 $as_echo "$CC" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4096 if test -z "$CC"; then
4097 # Extract the first word of "cc", so it can be a program name with args.
4098 set dummy cc
; ac_word
=$2
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4101 if test "${ac_cv_prog_CC+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 if test -n "$CC"; then
4105 ac_cv_prog_CC
="$CC" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4116 ac_prog_rejected
=yes
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 if test $ac_prog_rejected = yes; then
4128 # We found a bogon in the path, so make sure we never use it.
4129 set dummy
$ac_cv_prog_CC
4131 if test $# != 0; then
4132 # We chose a different compiler from the bogus one.
4133 # However, it has the same basename, so the bogon will be chosen
4134 # first if we set CC to just the basename; use the full file name.
4136 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4142 if test -n "$CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4144 $as_echo "$CC" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4152 if test -z "$CC"; then
4153 if test -n "$ac_tool_prefix"; then
4154 for ac_prog
in cl.exe
4156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if test "${ac_cv_prog_CC+set}" = set; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -n "$CC"; then
4164 ac_cv_prog_CC
="$CC" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 if test -n "$CC"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4186 $as_echo "$CC" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4193 test -n "$CC" && break
4196 if test -z "$CC"; then
4198 for ac_prog
in cl.exe
4200 # Extract the first word of "$ac_prog", so it can be a program name with args.
4201 set dummy
$ac_prog; ac_word
=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$ac_ct_CC"; then
4208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir
=.
4215 for ac_exec_ext
in '' $ac_executable_extensions; do
4216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217 ac_cv_prog_ac_ct_CC
="$ac_prog"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4228 if test -n "$ac_ct_CC"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4230 $as_echo "$ac_ct_CC" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4237 test -n "$ac_ct_CC" && break
4240 if test "x$ac_ct_CC" = x
; then
4243 case $cross_compiling:$ac_tool_warned in
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4247 ac_tool_warned
=yes ;;
4256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4258 as_fn_error
"no acceptable C compiler found in \$PATH
4259 See \`config.log' for more details." "$LINENO" 5; }
4261 # Provide some information about the compiler.
4262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4265 for ac_option
in --version -v -V -qversion; do
4266 { { ac_try
="$ac_compiler $ac_option >&5"
4268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 $as_echo "$ac_try_echo"; } >&5
4273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4275 if test -s conftest.err; then
4277 ... rest of stderr output deleted ...
4278 10q' conftest.err >conftest.er1
4279 cat conftest.er1 >&5
4280 rm -f conftest.er1 conftest.err
4282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4283 test $ac_status = 0; }
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4297 ac_clean_files_save=$ac_clean_files
4298 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4299 # Try to create an executable without -o first, disregard a.out.
4300 # It will help us diagnose broken compilers, and finding out an intuition
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4303 $as_echo_n "checking for C compiler default output file name... " >&6; }
4304 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4306 # The possible output files:
4307 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4310 for ac_file in $ac_files
4313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4314 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4319 if { { ac_try="$ac_link_default"
4321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4322 *) ac_try_echo
=$ac_try;;
4324 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4325 $as_echo "$ac_try_echo"; } >&5
4326 (eval "$ac_link_default") 2>&5
4328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4329 test $ac_status = 0; }; then :
4330 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4331 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4332 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4333 # so that the user can short-circuit this test for compilers unknown to
4335 for ac_file
in $ac_files ''
4337 test -f "$ac_file" ||
continue
4339 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4342 # We found the default executable, but exeext='' is most
4346 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4348 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4350 # We set ac_cv_exeext here because the later test for it is not
4351 # safe: cross compilers may not add the suffix if given an `-o'
4352 # argument, so we may need to know it at that point already.
4353 # Even if this section looks crufty: it has the advantage of
4360 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4366 $as_echo "$ac_file" >&6; }
4367 if test -z "$ac_file"; then :
4368 $as_echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.
$ac_ext >&5
4371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4373 { as_fn_set_status
77
4374 as_fn_error
"C compiler cannot create executables
4375 See \`config.log' for more details." "$LINENO" 5; }; }
4377 ac_exeext
=$ac_cv_exeext
4379 # Check that the compiler produces executables we can run. If not, either
4380 # the compiler is broken, or we cross compile.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4382 $as_echo_n "checking whether the C compiler works... " >&6; }
4383 # If not cross compiling, check that we can run a simple program.
4384 if test "$cross_compiling" != yes; then
4385 if { ac_try
='./$ac_file'
4386 { { case "(($ac_try" in
4387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 $as_echo "$ac_try_echo"; } >&5
4392 (eval "$ac_try") 2>&5
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 test $ac_status = 0; }; }; then
4398 if test "$cross_compiling" = maybe; then
4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error "cannot run C compiled programs.
4404 If you meant to cross compile
, use \
`--host'.
4405 See \`config.log
' for more details." "$LINENO" 5; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4410 $as_echo "yes" >&6; }
4412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4413 ac_clean_files=$ac_clean_files_save
4414 # Check that the compiler produces executables we can run. If not, either
4415 # the compiler is broken, or we cross compile.
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4417 $as_echo_n "checking whether we are cross compiling... " >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4419 $as_echo "$cross_compiling" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4422 $as_echo_n "checking for suffix of executables... " >&6; }
4423 if { { ac_try="$ac_link"
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 $as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_link") 2>&5
4432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433 test $ac_status = 0; }; then :
4434 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4435 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4436 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4438 for ac_file
in conftest.exe conftest conftest.
*; do
4439 test -f "$ac_file" ||
continue
4441 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4442 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4450 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4451 See \`config.log' for more details." "$LINENO" 5; }
4453 rm -f conftest
$ac_cv_exeext
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4455 $as_echo "$ac_cv_exeext" >&6; }
4457 rm -f conftest.
$ac_ext
4458 EXEEXT
=$ac_cv_exeext
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4461 $as_echo_n "checking for suffix of object files... " >&6; }
4462 if test "${ac_cv_objext+set}" = set; then :
4463 $as_echo_n "(cached) " >&6
4465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4476 rm -f conftest.o conftest.obj
4477 if { { ac_try
="$ac_compile"
4479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_compile") 2>&5
4486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; then :
4488 for ac_file in conftest.o conftest.obj conftest.*; do
4489 test -f "$ac_file" || continue;
4491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4497 $as_echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4502 as_fn_error "cannot compute suffix of object files
: cannot compile
4503 See \
`config.log' for more details." "$LINENO" 5; }
4505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4508 $as_echo "$ac_cv_objext" >&6; }
4509 OBJEXT=$ac_cv_objext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4513 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4530 if ac_fn_c_try_compile "$LINENO"; then :
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4541 if test $ac_compiler_gnu = yes; then
4546 ac_test_CFLAGS=${CFLAGS+set}
4547 ac_save_CFLAGS=$CFLAGS
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4550 if test "${ac_cv_prog_cc_g+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 ac_save_c_werror_flag=$ac_c_werror_flag
4554 ac_c_werror_flag=yes
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 if ac_fn_c_try_compile "$LINENO"; then :
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_c_try_compile "$LINENO"; then :
4586 ac_c_werror_flag=$ac_save_c_werror_flag
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_c_try_compile "$LINENO"; then :
4602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 ac_c_werror_flag=$ac_save_c_werror_flag
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4610 $as_echo "$ac_cv_prog_cc_g" >&6; }
4611 if test "$ac_test_CFLAGS" = set; then
4612 CFLAGS=$ac_save_CFLAGS
4613 elif test $ac_cv_prog_cc_g = yes; then
4614 if test "$GCC" = yes; then
4620 if test "$GCC" = yes; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4628 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 ac_cv_prog_cc_c89=no
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 #include <sys/types.h>
4638 #include <sys/stat.h>
4639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4640 struct buf { int x; };
4641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4642 static char *e (p, i)
4648 static char *f (char * (*g) (char **, int), char **p, ...)
4653 s = g (p, va_arg (v,int));
4658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4659 function prototypes and stuff, but not '\xHH' hex character constants.
4660 These don't provoke an error unfortunately, instead are silently treated
4661 as 'x'. The following induces an error, until -std is added to get
4662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4663 array size at least. It's necessary to write '\x00'==0 to get something
4664 that's true only with -std. */
4665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4667 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4668 inside strings and character constants. */
4670 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4672 int test (int i, double x);
4673 struct s1 {int (*f) (int a);};
4674 struct s2 {int (*f) (double a);};
4675 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4681 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4686 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4687 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4689 CC="$ac_save_CC $ac_arg"
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 ac_cv_prog_cc_c89=$ac_arg
4693 rm -f core conftest.err conftest.$ac_objext
4694 test "x$ac_cv_prog_cc_c89" != "xno" && break
4696 rm -f conftest.$ac_ext
4701 case "x$ac_cv_prog_cc_c89" in
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4704 $as_echo "none needed" >&6; } ;;
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4707 $as_echo "unsupported" >&6; } ;;
4709 CC="$CC $ac_cv_prog_cc_c89"
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4713 if test "x$ac_cv_prog_cc_c89" != xno; then :
4718 ac_cpp='$CPP $CPPFLAGS'
4719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4724 ac_cpp='$CXXCPP $CPPFLAGS'
4725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4728 if test -z "$CXX"; then
4729 if test -n "$CCC"; then
4732 if test -n "$ac_tool_prefix"; then
4733 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if test "${ac_cv_prog_CXX+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$CXX"; then
4743 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test -n "$CXX"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4765 $as_echo "$CXX" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 test -n "$CXX" && break
4775 if test -z "$CXX"; then
4777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4779 # Extract the first word of "$ac_prog", so it can be a program name with args.
4780 set dummy $ac_prog; ac_word=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4784 $as_echo_n "(cached) " >&6
4786 if test -n "$ac_ct_CXX"; then
4787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir=.
4794 for ac_exec_ext in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 ac_cv_prog_ac_ct_CXX="$ac_prog"
4797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4807 if test -n "$ac_ct_CXX"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4809 $as_echo "$ac_ct_CXX" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4816 test -n "$ac_ct_CXX" && break
4819 if test "x$ac_ct_CXX" = x; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned=yes ;;
4834 # Provide some information about the compiler.
4835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4838 for ac_option in --version -v -V -qversion; do
4839 { { ac_try="$ac_compiler $ac_option >&5"
4841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4842 *) ac_try_echo
=$ac_try;;
4844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845 $as_echo "$ac_try_echo"; } >&5
4846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4848 if test -s conftest.err
; then
4850 ... rest of stderr output deleted ...
4851 10q' conftest.err
>conftest.er1
4852 cat conftest.er1
>&5
4853 rm -f conftest.er1 conftest.err
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4860 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4861 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4878 if ac_fn_cxx_try_compile
"$LINENO"; then :
4883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4884 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4888 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4889 if test $ac_compiler_gnu = yes; then
4894 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4895 ac_save_CXXFLAGS
=$CXXFLAGS
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4897 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4898 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4902 ac_cxx_werror_flag
=yes
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4916 if ac_fn_cxx_try_compile
"$LINENO"; then :
4917 ac_cv_prog_cxx_g
=yes
4920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4931 if ac_fn_cxx_try_compile
"$LINENO"; then :
4934 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4947 if ac_fn_cxx_try_compile
"$LINENO"; then :
4948 ac_cv_prog_cxx_g
=yes
4950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4955 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4958 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4959 if test "$ac_test_CXXFLAGS" = set; then
4960 CXXFLAGS
=$ac_save_CXXFLAGS
4961 elif test $ac_cv_prog_cxx_g = yes; then
4962 if test "$GXX" = yes; then
4968 if test "$GXX" = yes; then
4975 ac_cpp
='$CPP $CPPFLAGS'
4976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4981 # We must set the default linker to the linker used by gcc for the correct
4982 # operation of libtool. If LD is not defined and we are using gcc, try to
4983 # set the LD default to the ld used by gcc.
4984 if test -z "$LD"; then
4985 if test "$GCC" = yes; then
4988 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4990 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4992 case $gcc_prog_ld in
4993 # Accept absolute paths.
4994 [\\/]* |
[A-Za-z
]:[\\/]*)
4995 LD
="$gcc_prog_ld" ;;
5000 # Check whether -static-libstdc++ -static-libgcc is supported.
5002 if test "$GCC" = yes; then
5003 saved_LDFLAGS
="$LDFLAGS"
5005 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5007 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5009 ac_cpp
='$CXXCPP $CPPFLAGS'
5010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5018 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5019 #error -static-libstdc++ not implemented
5023 if ac_fn_cxx_try_link
"$LINENO"; then :
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5025 $as_echo "yes" >&6; }; have_static_libs
=yes
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5030 rm -f core conftest.err conftest.
$ac_objext \
5031 conftest
$ac_exeext conftest.
$ac_ext
5033 ac_cpp
='$CPP $CPPFLAGS'
5034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5039 LDFLAGS
="$saved_LDFLAGS"
5045 if test -n "$ac_tool_prefix"; then
5046 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5047 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$GNATBIND"; then
5054 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 GNATBIND
=$ac_cv_prog_GNATBIND
5074 if test -n "$GNATBIND"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5076 $as_echo "$GNATBIND" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5084 if test -z "$ac_cv_prog_GNATBIND"; then
5085 ac_ct_GNATBIND
=$GNATBIND
5086 # Extract the first word of "gnatbind", so it can be a program name with args.
5087 set dummy gnatbind
; ac_word
=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$ac_ct_GNATBIND"; then
5094 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5114 if test -n "$ac_ct_GNATBIND"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5116 $as_echo "$ac_ct_GNATBIND" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5122 if test "x$ac_ct_GNATBIND" = x
; then
5125 case $cross_compiling:$ac_tool_warned in
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5129 ac_tool_warned
=yes ;;
5131 GNATBIND
=$ac_ct_GNATBIND
5134 GNATBIND
="$ac_cv_prog_GNATBIND"
5137 if test -n "$ac_tool_prefix"; then
5138 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5139 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5145 if test -n "$GNATMAKE"; then
5146 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir
=.
5153 for ac_exec_ext
in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 GNATMAKE
=$ac_cv_prog_GNATMAKE
5166 if test -n "$GNATMAKE"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5168 $as_echo "$GNATMAKE" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5176 if test -z "$ac_cv_prog_GNATMAKE"; then
5177 ac_ct_GNATMAKE
=$GNATMAKE
5178 # Extract the first word of "gnatmake", so it can be a program name with args.
5179 set dummy gnatmake
; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$ac_ct_GNATMAKE"; then
5186 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5206 if test -n "$ac_ct_GNATMAKE"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5208 $as_echo "$ac_ct_GNATMAKE" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5214 if test "x$ac_ct_GNATMAKE" = x
; then
5217 case $cross_compiling:$ac_tool_warned in
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned
=yes ;;
5223 GNATMAKE
=$ac_ct_GNATMAKE
5226 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5230 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5231 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 cat >conftest.adb
<<EOF
5235 procedure conftest is begin null; end conftest;
5237 acx_cv_cc_gcc_supports_ada
=no
5238 # There is a bug in old released versions of GCC which causes the
5239 # driver to exit successfully when the appropriate language module
5240 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5241 # Therefore we must check for the error message as well as an
5242 # unsuccessful exit.
5243 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5244 # given a .adb file, but produce no object file. So we must check
5245 # if an object file was really produced to guard against this.
5246 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5247 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5248 acx_cv_cc_gcc_supports_ada
=yes
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5253 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5255 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5262 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5263 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5264 $as_echo_n "(cached) " >&6
5268 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5269 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5270 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5273 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5276 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5277 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5280 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5287 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5288 do_compare
="$gcc_cv_prog_cmp_skip"
5292 # Check whether --enable-bootstrap was given.
5293 if test "${enable_bootstrap+set}" = set; then :
5294 enableval
=$enable_bootstrap;
5296 enable_bootstrap
=default
5300 # Issue errors and warnings for invalid/strange bootstrap combinations.
5301 if test -r $srcdir/gcc
/configure
; then
5307 case "$have_compiler:$host:$target:$enable_bootstrap" in
5310 # Default behavior. Enable bootstrap if we have a compiler
5311 # and we are in a native configuration.
5312 yes:$build:$build:default
)
5313 enable_bootstrap
=yes ;;
5316 enable_bootstrap
=no
;;
5318 # We have a compiler and we are in a native configuration, bootstrap is ok
5319 yes:$build:$build:yes)
5322 # Other configurations, but we have a compiler. Assume the user knows
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5326 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5329 # No compiler: if they passed --enable-bootstrap explicitly, fail
5331 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5333 # Fail if wrong command line
5335 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5339 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5340 # C++98 compiler can still start the bootstrap.
5341 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5342 CXX
="$CXX -std=gnu++98"
5345 # Used for setting $lt_cv_objdir
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5347 $as_echo_n "checking for objdir... " >&6; }
5348 if test "${lt_cv_objdir+set}" = set; then :
5349 $as_echo_n "(cached) " >&6
5351 rm -f .libs
2>/dev
/null
5352 mkdir .libs
2>/dev
/null
5353 if test -d .libs
; then
5356 # MS-DOS does not allow filenames that begin with a dot.
5359 rmdir .libs
2>/dev
/null
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5362 $as_echo "$lt_cv_objdir" >&6; }
5363 objdir
=$lt_cv_objdir
5369 cat >>confdefs.h
<<_ACEOF
5370 #define LT_OBJDIR "$lt_cv_objdir/"
5375 # Check for GMP, MPFR and MPC
5376 gmplibs
="-lmpc -lmpfr -lgmp"
5380 # Specify a location for mpc
5381 # check for this first so it ends up on the link line before mpfr.
5383 # Check whether --with-mpc was given.
5384 if test "${with_mpc+set}" = set; then :
5389 # Check whether --with-mpc-include was given.
5390 if test "${with_mpc_include+set}" = set; then :
5391 withval
=$with_mpc_include;
5395 # Check whether --with-mpc-lib was given.
5396 if test "${with_mpc_lib+set}" = set; then :
5397 withval
=$with_mpc_lib;
5401 if test "x$with_mpc" != x
; then
5402 gmplibs
="-L$with_mpc/lib $gmplibs"
5403 gmpinc
="-I$with_mpc/include $gmpinc"
5405 if test "x$with_mpc_include" != x
; then
5406 gmpinc
="-I$with_mpc_include $gmpinc"
5408 if test "x$with_mpc_lib" != x
; then
5409 gmplibs
="-L$with_mpc_lib $gmplibs"
5411 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5412 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5413 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5414 # Do not test the mpc version. Assume that it is sufficient, since
5415 # it is in the source tree, and the library has not been built yet
5416 # but it would be included on the link line in the version check below
5417 # hence making the test fail.
5421 # Specify a location for mpfr
5422 # check for this first so it ends up on the link line before gmp.
5424 # Check whether --with-mpfr-dir was given.
5425 if test "${with_mpfr_dir+set}" = set; then :
5426 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5427 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5432 # Check whether --with-mpfr was given.
5433 if test "${with_mpfr+set}" = set; then :
5438 # Check whether --with-mpfr-include was given.
5439 if test "${with_mpfr_include+set}" = set; then :
5440 withval
=$with_mpfr_include;
5444 # Check whether --with-mpfr-lib was given.
5445 if test "${with_mpfr_lib+set}" = set; then :
5446 withval
=$with_mpfr_lib;
5450 if test "x$with_mpfr" != x
; then
5451 gmplibs
="-L$with_mpfr/lib $gmplibs"
5452 gmpinc
="-I$with_mpfr/include $gmpinc"
5454 if test "x$with_mpfr_include" != x
; then
5455 gmpinc
="-I$with_mpfr_include $gmpinc"
5457 if test "x$with_mpfr_lib" != x
; then
5458 gmplibs
="-L$with_mpfr_lib $gmplibs"
5460 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5461 # MPFR v3.1.0 moved the sources into a src sub-directory.
5462 if ! test -d ${srcdir}/mpfr
/src
; then
5463 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5465 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5466 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5467 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5468 # Do not test the mpfr version. Assume that it is sufficient, since
5469 # it is in the source tree, and the library has not been built yet
5470 # but it would be included on the link line in the version check below
5471 # hence making the test fail.
5475 # Specify a location for gmp
5477 # Check whether --with-gmp-dir was given.
5478 if test "${with_gmp_dir+set}" = set; then :
5479 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5480 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5485 # Check whether --with-gmp was given.
5486 if test "${with_gmp+set}" = set; then :
5491 # Check whether --with-gmp-include was given.
5492 if test "${with_gmp_include+set}" = set; then :
5493 withval
=$with_gmp_include;
5497 # Check whether --with-gmp-lib was given.
5498 if test "${with_gmp_lib+set}" = set; then :
5499 withval
=$with_gmp_lib;
5504 if test "x$with_gmp" != x
; then
5505 gmplibs
="-L$with_gmp/lib $gmplibs"
5506 gmpinc
="-I$with_gmp/include $gmpinc"
5508 if test "x$with_gmp_include" != x
; then
5509 gmpinc
="-I$with_gmp_include $gmpinc"
5511 if test "x$with_gmp_lib" != x
; then
5512 gmplibs
="-L$with_gmp_lib $gmplibs"
5514 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5515 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5516 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5517 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5518 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5519 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5520 # Do not test the gmp version. Assume that it is sufficient, since
5521 # it is in the source tree, and the library has not been built yet
5522 # but it would be included on the link line in the version check below
5523 # hence making the test fail.
5527 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5529 saved_CFLAGS
="$CFLAGS"
5530 CFLAGS
="$CFLAGS $gmpinc"
5531 # Check for the recommended and required versions of GMP.
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5533 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5542 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5543 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5544 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5552 if ac_fn_c_try_compile
"$LINENO"; then :
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5560 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5561 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5562 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5570 if ac_fn_c_try_compile
"$LINENO"; then :
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5572 $as_echo "yes" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5575 $as_echo "buggy but acceptable" >&6; }
5577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }; have_gmp
=no
5582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5584 # If we have GMP, check the MPFR version.
5585 if test x
"$have_gmp" = xyes
; then
5586 # Check for the recommended and required versions of MPFR.
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5588 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5597 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5605 if ac_fn_c_try_compile
"$LINENO"; then :
5606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5614 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5622 if ac_fn_c_try_compile
"$LINENO"; then :
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5624 $as_echo "yes" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5627 $as_echo "buggy but acceptable" >&6; }
5629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }; have_gmp
=no
5634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5637 # Check for the MPC header version.
5638 if test x
"$have_gmp" = xyes
; then
5639 # Check for the recommended and required versions of MPC.
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5641 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5649 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5657 if ac_fn_c_try_compile
"$LINENO"; then :
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5665 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5673 if ac_fn_c_try_compile
"$LINENO"; then :
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5675 $as_echo "yes" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5678 $as_echo "buggy but acceptable" >&6; }
5680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }; have_gmp
=no
5685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5688 # Now check the MPFR library.
5689 if test x
"$have_gmp" = xyes
; then
5691 LIBS
="$LIBS $gmplibs"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5693 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5707 mpfr_atan2 (n, n, x, GMP_RNDN);
5708 mpfr_erfc (n, x, GMP_RNDN);
5709 mpfr_subnormalize (x, t, GMP_RNDN);
5713 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5714 mpc_cosh (c, c, MPC_RNDNN);
5715 mpc_pow (c, c, c, MPC_RNDNN);
5716 mpc_acosh (c, c, MPC_RNDNN);
5723 if ac_fn_c_try_link
"$LINENO"; then :
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5725 $as_echo "yes" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }; have_gmp
=no
5730 rm -f core conftest.err conftest.
$ac_objext \
5731 conftest
$ac_exeext conftest.
$ac_ext
5735 CFLAGS
="$saved_CFLAGS"
5737 # The library versions listed in the error message below should match
5738 # the HARD-minimums enforced above.
5739 if test x
$have_gmp != xyes
; then
5740 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5741 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5742 their locations. Source code for these libraries can be found at
5743 their respective hosting sites as well as at
5744 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5745 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5746 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5747 make sure that you have installed both the libraries and the header
5748 files. They may be located in separate packages." "$LINENO" 5
5752 # Flags needed for both GMP, MPFR and/or MPC.
5760 # Libraries to use for stage1 or when not bootstrapping.
5762 # Check whether --with-stage1-libs was given.
5763 if test "${with_stage1_libs+set}" = set; then :
5764 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5767 stage1_libs
=$withval
5775 # Linker flags to use for stage1 or when not bootstrapping.
5777 # Check whether --with-stage1-ldflags was given.
5778 if test "${with_stage1_ldflags+set}" = set; then :
5779 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5782 stage1_ldflags
=$withval
5786 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5787 # if supported. But if the user explicitly specified the libraries to use,
5788 # trust that they are doing what they want.
5789 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5790 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5796 # Libraries to use for stage2 and later builds.
5798 # Check whether --with-boot-libs was given.
5799 if test "${with_boot_libs+set}" = set; then :
5800 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5803 poststage1_libs
=$withval
5811 # Linker flags to use for stage2 and later builds.
5813 # Check whether --with-boot-ldflags was given.
5814 if test "${with_boot_ldflags+set}" = set; then :
5815 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5818 poststage1_ldflags
=$withval
5822 # In stages 2 and 3, default to linking libstdc++ and libgcc
5823 # statically. But if the user explicitly specified the libraries to
5824 # use, trust that they are doing what they want.
5825 if test "$poststage1_libs" = ""; then
5826 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5832 # GCC GRAPHITE dependency isl.
5833 # Basic setup is inlined here, actual checks are in config/isl.m4
5836 # Check whether --with-isl was given.
5837 if test "${with_isl+set}" = set; then :
5842 # Treat --without-isl as a request to disable
5843 # GRAPHITE support and skip all following checks.
5844 if test "x$with_isl" != "xno"; then
5848 # Check whether --with-isl-include was given.
5849 if test "${with_isl_include+set}" = set; then :
5850 withval
=$with_isl_include;
5854 # Check whether --with-isl-lib was given.
5855 if test "${with_isl_lib+set}" = set; then :
5856 withval
=$with_isl_lib;
5860 # Check whether --enable-isl-version-check was given.
5861 if test "${enable_isl_version_check+set}" = set; then :
5862 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5864 ENABLE_ISL_CHECK
=yes
5868 # Initialize isllibs and islinc.
5877 isllibs
="-L$with_isl/lib"
5878 islinc
="-I$with_isl/include"
5881 if test "x${with_isl_include}" != x
; then
5882 islinc
="-I$with_isl_include"
5884 if test "x${with_isl_lib}" != x
; then
5885 isllibs
="-L$with_isl_lib"
5887 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5888 && test -d ${srcdir}/isl
; then
5889 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5890 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5893 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5896 isllibs
="${isllibs} -lisl"
5900 if test "${ENABLE_ISL_CHECK}" = yes ; then
5901 _isl_saved_CFLAGS
=$CFLAGS
5902 _isl_saved_LDFLAGS
=$LDFLAGS
5903 _isl_saved_LIBS
=$LIBS
5905 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5906 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5907 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5910 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 #include <isl/ctx.h>
5917 isl_ctx_get_max_operations (isl_ctx_alloc ());
5922 if ac_fn_c_try_link
"$LINENO"; then :
5927 rm -f core conftest.err conftest.
$ac_objext \
5928 conftest
$ac_exeext conftest.
$ac_ext
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5930 $as_echo "$gcc_cv_isl" >&6; }
5932 if test "${gcc_cv_isl}" = no
; then
5933 { $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
5934 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5938 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5941 #include <isl/schedule.h>
5945 isl_options_set_schedule_serialize_sccs (NULL, 0);
5950 if ac_fn_c_try_link
"$LINENO"; then :
5951 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5953 ac_has_isl_options_set_schedule_serialize_sccs
=no
5955 rm -f core conftest.err conftest.
$ac_objext \
5956 conftest
$ac_exeext conftest.
$ac_ext
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5958 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5960 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5965 CFLAGS
=$_isl_saved_CFLAGS
5966 LDFLAGS
=$_isl_saved_LDFLAGS
5967 LIBS
=$_isl_saved_LIBS
5975 if test "x${with_isl}" = xno
; then
5976 graphite_requested
=no
5977 elif test "x${with_isl}" != x \
5978 ||
test "x${with_isl_include}" != x \
5979 ||
test "x${with_isl_lib}" != x
; then
5980 graphite_requested
=yes
5982 graphite_requested
=no
5987 if test "${gcc_cv_isl}" = no
; then
5992 if test "${graphite_requested}" = yes \
5993 && test "x${isllibs}" = x \
5994 && test "x${islinc}" = x
; then
5996 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6002 # If the isl check failed, disable builds of in-tree variant of isl
6003 if test "x$with_isl" = xno ||
6004 test "x$gcc_cv_isl" = xno
; then
6005 noconfigdirs
="$noconfigdirs isl"
6012 # Check for LTO support.
6013 # Check whether --enable-lto was given.
6014 if test "${enable_lto+set}" = set; then :
6015 enableval
=$enable_lto; enable_lto
=$enableval
6017 enable_lto
=yes; default_enable_lto
=yes
6026 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6027 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6028 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6037 if test $target_elf = yes; then :
6038 # ELF platforms build the lto-plugin always.
6039 build_lto_plugin
=yes
6042 if test x
"$default_enable_lto" = x
"yes" ; then
6044 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6045 # On other non-ELF platforms, LTO has yet to be validated.
6049 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6050 # It would also be nice to check the binutils support, but we don't
6051 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6052 # warn during gcc/ subconfigure; unless you're bootstrapping with
6053 # -flto it won't be needed until after installation anyway.
6055 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6056 *) if test x
"$enable_lto" = x
"yes"; then
6057 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6062 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6063 # Build it unless LTO was explicitly disabled.
6065 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6072 # Check whether --enable-linker-plugin-configure-flags was given.
6073 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6074 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6076 extra_linker_plugin_configure_flags
=
6080 # Check whether --enable-linker-plugin-flags was given.
6081 if test "${enable_linker_plugin_flags+set}" = set; then :
6082 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6084 extra_linker_plugin_flags
=
6090 # By default, C and C++ are the only stage 1 languages.
6091 stage1_languages
=,c
,
6093 # Target libraries that we bootstrap.
6094 bootstrap_target_libs
=,target-libgcc
,
6096 # Figure out what language subdirectories are present.
6097 # Look if the user specified --enable-languages="..."; if not, use
6098 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6100 # NB: embedded tabs in this IF block -- do not untabify
6101 if test -d ${srcdir}/gcc
; then
6102 if test x
"${enable_languages+set}" != xset
; then
6103 if test x
"${LANGUAGES+set}" = xset
; then
6104 enable_languages
="${LANGUAGES}"
6105 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6107 enable_languages
=all
6110 if test x
"${enable_languages}" = x ||
6111 test x
"${enable_languages}" = xyes
;
6113 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6117 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6119 # 'f95' is the old name for the 'fortran' language. We issue a warning
6120 # and make the substitution.
6121 case ,${enable_languages}, in
6123 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6124 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6128 # If bootstrapping, C++ must be enabled.
6129 case ",$enable_languages,:$enable_bootstrap" in
6132 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6133 enable_languages
="${enable_languages},c++"
6135 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6140 # First scan to see if an enabled language requires some other language.
6141 # We assume that a given config-lang.in will list all the language
6142 # front ends it requires, even if some are required indirectly.
6143 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6144 case ${lang_frag} in
6146 # The odd quoting in the next line works around
6147 # an apparent bug in bash 1.12 on linux.
6148 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6150 # From the config-lang.in, get $language, $lang_requires, and
6151 # $lang_requires_boot_languages.
6154 lang_requires_boot_languages
=
6156 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6157 case ,${enable_languages}, in
6161 echo " \`$other' language required by \`$language'; enabling" 1>&2
6162 enable_languages
="${enable_languages},${other}"
6166 for other
in ${lang_requires_boot_languages} ; do
6167 if test "$other" != "c"; then
6168 case ,${enable_stage1_languages}, in
6172 case ,${enable_languages}, in
6174 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6175 enable_stage1_languages
="$enable_stage1_languages,${other}"
6186 new_enable_languages
=,c
,
6188 # If LTO is enabled, add the LTO front end.
6189 if test "$enable_lto" = "yes" ; then
6190 case ,${enable_languages}, in
6192 *) enable_languages
="${enable_languages},lto" ;;
6194 if test "${build_lto_plugin}" = "yes" ; then
6195 configdirs
="$configdirs lto-plugin"
6199 # If we're building an offloading compiler, add the LTO front end.
6200 if test x
"$enable_as_accelerator_for" != x
; then
6201 case ,${enable_languages}, in
6203 *) enable_languages
="${enable_languages},lto" ;;
6207 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6208 potential_languages
=,c
,
6210 enabled_target_libs
=
6211 disabled_target_libs
=
6213 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6214 case ${lang_frag} in
6216 # The odd quoting in the next line works around
6217 # an apparent bug in bash 1.12 on linux.
6218 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6220 # From the config-lang.in, get $language, $target_libs,
6221 # $lang_dirs, $boot_language, and $build_by_default
6227 build_by_default
=yes
6229 if test x
${language} = x
; then
6230 echo "${lang_frag} doesn't set \$language." 1>&2
6234 if test "$language" = "c++"; then
6239 case ,${enable_languages}, in
6241 # Language was explicitly selected; include it
6242 # unless it is C, which is enabled by default.
6243 if test "$language" != "c"; then
6248 # 'all' was selected, select it if it is a default language
6249 if test "$language" != "c"; then
6250 add_this_lang
=${build_by_default}
6255 # Disable languages that need other directories if these aren't available.
6256 for i
in $subdir_requires; do
6257 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6258 case ,${enable_languages}, in
6260 # Specifically requested language; tell them.
6261 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6265 add_this_lang
=unsupported
6270 # Disable Ada if no preexisting GNAT is available.
6271 case ,${enable_languages},:${language}:${have_gnat} in
6272 *,${language},*:ada
:no
)
6273 # Specifically requested language; tell them.
6274 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6278 add_this_lang
=unsupported
6282 # Disable a language that is unsupported by the target.
6283 case " $unsupported_languages " in
6285 add_this_lang
=unsupported
6289 case $add_this_lang in
6291 # Remove language-dependent dirs.
6292 disabled_target_libs
="$disabled_target_libs $target_libs"
6293 noconfigdirs
="$noconfigdirs $lang_dirs"
6296 # Remove language-dependent dirs; still show language as supported.
6297 disabled_target_libs
="$disabled_target_libs $target_libs"
6298 noconfigdirs
="$noconfigdirs $lang_dirs"
6299 potential_languages
="${potential_languages}${language},"
6302 new_enable_languages
="${new_enable_languages}${language},"
6303 potential_languages
="${potential_languages}${language},"
6304 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6305 enabled_target_libs
="$enabled_target_libs $target_libs"
6306 case "${boot_language}:,$enable_stage1_languages," in
6307 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6308 # Add to (comma-separated) list of stage 1 languages.
6309 case ",$stage1_languages," in
6310 *,$language,* |
,yes, |
,all
,) ;;
6311 *) stage1_languages
="${stage1_languages}${language}," ;;
6313 # We need to bootstrap any supporting libraries.
6314 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6323 # Add target libraries which are only needed for disabled languages
6325 if test -n "$disabled_target_libs"; then
6326 for dir
in $disabled_target_libs; do
6327 case " $enabled_target_libs " in
6329 *) noconfigdirs
="$noconfigdirs $dir" ;;
6334 # Check whether --enable-stage1-languages was given.
6335 if test "${enable_stage1_languages+set}" = set; then :
6336 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6338 # Set it to something that will have no effect in the loop below
6339 enable_stage1_languages
=c
;;
6341 enable_stage1_languages
=`echo $new_enable_languages | \
6342 sed -e "s/^,//" -e "s/,$//" ` ;;
6344 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6345 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6348 # Add "good" languages from enable_stage1_languages to stage1_languages,
6349 # while "bad" languages go in missing_languages. Leave no duplicates.
6350 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6351 case $potential_languages in
6353 case $stage1_languages in
6355 *) stage1_languages
="$stage1_languages$i," ;;
6358 case $missing_languages in
6360 *) missing_languages
="$missing_languages$i," ;;
6367 # Remove leading/trailing commas that were added for simplicity
6368 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6369 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6370 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6371 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6373 if test "x$missing_languages" != x
; then
6375 The following requested languages could not be built: ${missing_languages}
6376 Supported languages are: ${potential_languages}" "$LINENO" 5
6378 if test "x$new_enable_languages" != "x$enable_languages"; then
6379 echo The following languages will be built
: ${new_enable_languages}
6380 enable_languages
="$new_enable_languages"
6384 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6387 # Handle --disable-<component> generically.
6388 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6389 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6390 varname
=`echo $dirname | sed -e s/+/_/g`
6391 if eval test x\
${enable_${varname}} "=" xno
; then
6392 noconfigdirs
="$noconfigdirs $dir"
6396 # Check for Boehm's garbage collector
6397 # Check whether --enable-objc-gc was given.
6398 if test "${enable_objc_gc+set}" = set; then :
6399 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6400 *,objc
,*:*:yes:*target-boehm-gc
*)
6401 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6407 # Make sure we only build Boehm's garbage collector if required.
6408 case ,${enable_languages},:${enable_objc_gc} in
6410 # Keep target-boehm-gc if requested for Objective-C.
6413 # Otherwise remove target-boehm-gc.
6414 noconfigdirs
="$noconfigdirs target-boehm-gc"
6418 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6419 case ,${enable_languages}, in
6421 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6422 case "${noconfigdirs}" in
6423 *target-libstdc
++-v3*)
6424 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6430 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6434 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6435 # $build_configdirs and $target_configdirs.
6436 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6439 for dir
in .
$skipdirs $noconfigdirs ; do
6440 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6441 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6442 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6443 if test -r $srcdir/$dirname/configure
; then
6444 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6447 notsupp
="$notsupp $dir"
6451 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6452 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6453 if test -r $srcdir/$dirname/configure
; then
6454 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6457 notsupp
="$notsupp $dir"
6461 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6462 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6463 if test -r $srcdir/$dirname/configure
; then
6464 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6467 notsupp
="$notsupp $dir"
6473 # Quietly strip out all directories which aren't configurable in this tree.
6474 # This relies on all configurable subdirectories being autoconfiscated, which
6476 build_configdirs_all
="$build_configdirs"
6478 for i
in ${build_configdirs_all} ; do
6479 j
=`echo $i | sed -e s/build-//g`
6480 if test -f ${srcdir}/$j/configure
; then
6481 build_configdirs
="${build_configdirs} $i"
6485 configdirs_all
="$configdirs"
6487 for i
in ${configdirs_all} ; do
6488 if test -f ${srcdir}/$i/configure
; then
6489 configdirs
="${configdirs} $i"
6493 target_configdirs_all
="$target_configdirs"
6495 for i
in ${target_configdirs_all} ; do
6496 j
=`echo $i | sed -e s/target-//g`
6497 if test -f ${srcdir}/$j/configure
; then
6498 target_configdirs
="${target_configdirs} $i"
6502 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6503 # so we have to add it after the preceding checks.
6504 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6506 case " $configdirs " in
6508 # If we can build libiberty, we can also build libiberty-linker-plugin.
6509 configdirs
="$configdirs libiberty-linker-plugin"
6510 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6511 --with-libiberty=../libiberty-linker-plugin";;
6513 as_fn_error
"libiberty missing" "$LINENO" 5;;
6517 # Sometimes we have special requirements for the host libiberty.
6518 extra_host_libiberty_configure_flags
=
6519 extra_host_zlib_configure_flags
=
6520 case " $configdirs " in
6521 *" lto-plugin "* |
*" libcc1 "*)
6522 # When these are to be built as shared libraries, the same applies to
6524 extra_host_libiberty_configure_flags
=--enable-shared
6527 # When bfd is to be built as a shared library, the same applies to
6529 if test "$enable_shared" = "yes"; then
6530 extra_host_zlib_configure_flags
=--enable-host-shared
6537 # Produce a warning message for the subdirs we can't configure.
6538 # This isn't especially interesting in the Cygnus tree, but in the individual
6539 # FSF releases, it's important to let people know when their machine isn't
6540 # supported by the one or two programs in a package.
6542 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6543 # If $appdirs is non-empty, at least one of those directories must still
6544 # be configured, or we error out. (E.g., if the gas release supports a
6545 # specified target in some subdirs but not the gas subdir, we shouldn't
6546 # pretend that all is well.)
6547 if test -n "$appdirs" ; then
6548 for dir
in $appdirs ; do
6549 if test -r $dir/Makefile.
in ; then
6550 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6554 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6560 if test -n "$appdirs" ; then
6561 echo "*** This configuration is not supported by this package." 1>&2
6565 # Okay, some application will build, or we don't care to check. Still
6566 # notify of subdirs not getting built.
6567 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6568 echo " ${notsupp}" 1>&2
6569 echo " (Any other directories should still work fine.)" 1>&2
6577 # To find our prefix, in gcc_cv_tool_prefix.
6579 # The user is always right.
6580 if test "${PATH_SEPARATOR+set}" != set; then
6581 echo "#! /bin/sh" >conf$$.sh
6582 echo "exit 0" >>conf$$.sh
6584 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6594 if test "x$exec_prefix" = xNONE
; then
6595 if test "x$prefix" = xNONE
; then
6596 gcc_cv_tool_prefix
=$ac_default_prefix
6598 gcc_cv_tool_prefix
=$prefix
6601 gcc_cv_tool_prefix
=$exec_prefix
6604 # If there is no compiler in the tree, use the PATH only. In any
6605 # case, if there is no compiler in the tree nobody should use
6606 # AS_FOR_TARGET and LD_FOR_TARGET.
6607 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6608 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6609 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6610 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6611 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6612 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6613 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6614 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6619 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6620 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6628 # Check whether --with-build-sysroot was given.
6629 if test "${with_build_sysroot+set}" = set; then :
6630 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6631 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6634 SYSROOT_CFLAGS_FOR_TARGET
=
6640 # Check whether --with-debug-prefix-map was given.
6641 if test "${with_debug_prefix_map+set}" = set; then :
6642 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6644 for debug_map
in $withval; do
6645 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6649 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6654 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6655 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6656 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6657 # We want to ensure that TARGET libraries (which we know are built with
6658 # gcc) are built with "-O2 -g", so include those options when setting
6659 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6660 if test "x$CFLAGS_FOR_TARGET" = x
; then
6661 if test "x${is_cross_compiler}" = xyes
; then
6662 CFLAGS_FOR_TARGET
="-g -O2"
6664 CFLAGS_FOR_TARGET
=$CFLAGS
6667 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6670 *" -g "* |
*" -g3 "*) ;;
6671 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6677 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6678 if test "x${is_cross_compiler}" = xyes
; then
6679 CXXFLAGS_FOR_TARGET
="-g -O2"
6681 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6682 case " $CXXFLAGS " in
6684 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6686 case " $CXXFLAGS " in
6687 *" -g "* |
*" -g3 "*) ;;
6688 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6696 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6697 # the named directory are copied to $(tooldir)/sys-include.
6698 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6699 if test x
${is_cross_compiler} = xno
; then
6700 echo 1>&2 '***' --with-headers is only supported when cross compiling
6703 if test x
"${with_headers}" != xyes
; then
6704 x
=${gcc_cv_tool_prefix}
6705 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6709 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6710 # the name directories are copied to $(tooldir)/lib. Multiple directories
6712 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6713 if test x
${is_cross_compiler} = xno
; then
6714 echo 1>&2 '***' --with-libs is only supported when cross compiling
6717 if test x
"${with_libs}" != xyes
; then
6718 # Copy the libraries in reverse order, so that files in the first named
6719 # library override files in subsequent libraries.
6720 x
=${gcc_cv_tool_prefix}
6721 for l
in ${with_libs}; do
6722 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6727 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6729 # This is done by determining whether or not the appropriate directory
6730 # is available, and by checking whether or not specific configurations
6731 # have requested that this magic not happen.
6733 # The command line options always override the explicit settings in
6734 # configure.ac, and the settings in configure.ac override this magic.
6736 # If the default for a toolchain is to use GNU as and ld, and you don't
6737 # want to do that, then you should use the --without-gnu-as and
6738 # --without-gnu-ld options for the configure script. Similarly, if
6739 # the default is to use the included zlib and you don't want to do that,
6740 # you should use the --with-system-zlib option for the configure script.
6742 if test x
${use_gnu_as} = x
&&
6743 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6745 extra_host_args
="$extra_host_args --with-gnu-as"
6748 if test x
${use_gnu_ld} = x
&&
6749 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6751 extra_host_args
="$extra_host_args --with-gnu-ld"
6754 if test x
${use_included_zlib} = x
&&
6755 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6758 with_system_zlib
=yes
6759 extra_host_args
="$extra_host_args --with-system-zlib"
6762 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6763 # can detect this case.
6765 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6767 extra_host_args
="$extra_host_args --with-newlib"
6770 # Handle ${copy_dirs}
6771 set fnord
${copy_dirs}
6773 while test $# != 0 ; do
6774 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6777 echo Copying
$1 to
$2
6779 # Use the install script to create the directory and all required
6780 # parent directories.
6781 if test -d $2 ; then
6785 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6788 # Copy the directory, assuming we have tar.
6789 # FIXME: Should we use B in the second tar? Not all systems support it.
6790 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6792 # It is the responsibility of the user to correctly adjust all
6793 # symlinks. If somebody can figure out how to handle them correctly
6794 # here, feel free to add the code.
6801 # Determine a target-dependent exec_prefix that the installed
6802 # gcc will search in. Keep this list sorted by triplet, with
6803 # the *-*-osname triplets last.
6806 i
[34567]86-pc-msdosdjgpp*)
6807 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6812 md_exec_prefix
=/usr
/ccs
/bin
6816 extra_arflags_for_target
=
6817 extra_nmflags_for_target
=
6818 extra_ranlibflags_for_target
=
6819 target_makefile_frag
=/dev
/null
6822 target_makefile_frag
="config/mt-spu"
6824 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6825 target_makefile_frag
="config/mt-sde"
6827 mipsisa
*-*-elfoabi*)
6828 target_makefile_frag
="config/mt-mips-elfoabi"
6830 mips
*-*-*linux
* | mips
*-*-gnu*)
6831 target_makefile_frag
="config/mt-mips-gnu"
6834 target_makefile_frag
="config/mt-nios2-elf"
6836 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6837 target_makefile_frag
="config/mt-gnu"
6839 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6840 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6841 # commands to handle both 32-bit and 64-bit objects. These flags are
6842 # harmless if we're using GNU nm or ar.
6843 extra_arflags_for_target
=" -X32_64"
6844 extra_nmflags_for_target
=" -B -X32_64"
6848 alphaieee_frag
=/dev
/null
6851 # This just makes sure to use the -mieee option to build target libs.
6852 # This should probably be set individually by each library.
6853 alphaieee_frag
="config/mt-alphaieee"
6857 # If --enable-target-optspace always use -Os instead of -O2 to build
6858 # the target libraries, similarly if it is not specified, use -Os
6859 # on selected platforms.
6860 ospace_frag
=/dev
/null
6861 case "${enable_target_optspace}:${target}" in
6863 ospace_frag
="config/mt-ospace"
6866 ospace_frag
="config/mt-d30v"
6868 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6869 ospace_frag
="config/mt-ospace"
6874 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6878 # Some systems (e.g., one of the i386-aix systems the gas testers are
6879 # using) don't handle "\$" correctly, so don't use it here.
6880 tooldir
='${exec_prefix}'/${target_noncanonical}
6881 build_tooldir
=${tooldir}
6883 # Create a .gdbinit file which runs the one in srcdir
6884 # and tells GDB to look there for source files.
6886 if test -r ${srcdir}/.gdbinit
; then
6889 *) cat > .
/.gdbinit
<<EOF
6893 source ${srcdir}/.gdbinit
6899 # Make sure that the compiler is able to generate an executable. If it
6900 # can't, we are probably in trouble. We don't care whether we can run the
6901 # executable--we might be using a cross compiler--we only care whether it
6902 # can be created. At this point the main configure script has set CC.
6904 echo "int main () { return 0; }" > conftest.c
6905 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6906 if test $?
= 0 ; then
6907 if test -s conftest ||
test -s conftest.exe
; then
6913 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6914 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6921 # Decide which environment variable is used to find dynamic libraries.
6923 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6924 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6925 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6926 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6929 # On systems where the dynamic library environment variable is PATH,
6930 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6931 # built executables to PATH.
6932 if test "$RPATH_ENVVAR" = PATH
; then
6933 GCC_SHLIB_SUBDIR
=/shlib
6938 # Adjust the toplevel makefile according to whether bootstrap was selected.
6939 case $enable_bootstrap in
6941 bootstrap_suffix
=bootstrap
6942 BUILD_CONFIG
=bootstrap-debug
6945 bootstrap_suffix
=no-bootstrap
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6951 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6954 # Check whether --with-build-config was given.
6955 if test "${with_build_config+set}" = set; then :
6956 withval
=$with_build_config; case $with_build_config in
6957 yes) with_build_config
= ;;
6958 no
) with_build_config
= BUILD_CONFIG
= ;;
6963 if test "x${with_build_config}" != x
; then
6964 BUILD_CONFIG
=$with_build_config
6966 case $BUILD_CONFIG in
6968 if echo "int f (void) { return 0; }" > conftest.c
&&
6969 ${CC} -c conftest.c
&&
6970 mv conftest.o conftest.o.g0
&&
6971 ${CC} -c -g conftest.c
&&
6972 mv conftest.o conftest.o.g
&&
6973 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6978 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6983 $as_echo "$BUILD_CONFIG" >&6; }
6986 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6988 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6989 # Check whether --enable-vtable-verify was given.
6990 if test "${enable_vtable_verify+set}" = set; then :
6991 enableval
=$enable_vtable_verify; case "$enableval" in
6992 yes) enable_vtable_verify
=yes ;;
6993 no
) enable_vtable_verify
=no
;;
6994 *) enable_vtable_verify
=no
;;
6997 enable_vtable_verify
=no
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7001 $as_echo "$enable_vtable_verify" >&6; }
7003 # Record target_configdirs and the configure arguments for target and
7004 # build configuration in Makefile.
7005 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7006 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7007 bootstrap_fixincludes
=no
7009 # If we are building libgomp, bootstrap it.
7010 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7011 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7014 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7015 # or bootstrap-ubsan, bootstrap it.
7016 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7017 case "$BUILD_CONFIG" in
7018 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7019 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7020 bootstrap_fixincludes
=yes
7025 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7026 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7027 test "$enable_vtable_verify" != no
; then
7028 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7031 # If we are building libmpx, bootstrap it.
7032 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7033 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7036 # Determine whether gdb needs tk/tcl or not.
7037 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7038 # and in that case we want gdb to be built without tk. Ugh!
7039 # In fact I believe gdb is the *only* package directly dependent on tk,
7040 # so we should be able to put the 'maybe's in unconditionally and
7041 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7042 # 100% sure that that's safe though.
7044 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7045 case "$enable_gdbtk" in
7049 GDB_TK
="${gdb_tk}" ;;
7051 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7052 # distro. Eventually someone will fix this and move Insight, nee
7053 # gdbtk to a separate directory.
7054 if test -d ${srcdir}/gdb
/gdbtk
; then
7061 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7062 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7064 # Strip out unwanted targets.
7066 # While at that, we remove Makefiles if we were started for recursive
7067 # configuration, so that the top-level Makefile reconfigures them,
7068 # like we used to do when configure itself was recursive.
7070 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7071 # but now we're fixing up the Makefile ourselves with the additional
7072 # commands passed to AC_CONFIG_FILES. Use separate variables
7073 # extrasub-{build,host,target} not because there is any reason to split
7074 # the substitutions up that way, but only to remain below the limit of
7075 # 99 commands in a script, for HP-UX sed.
7076 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7078 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7079 yes:yes:*\ gold\
*:*,c
++,*) ;;
7080 yes:yes:*\ gold\
*:*)
7081 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7086 for module
in ${build_configdirs} ; do
7087 if test -z "${no_recursion}" \
7088 && test -f ${build_subdir}/${module}/Makefile
; then
7089 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7090 rm -f ${build_subdir}/${module}/Makefile
7092 extrasub_build
="$extrasub_build
7093 /^@if build-$module\$/d
7094 /^@endif build-$module\$/d
7095 /^@if build-$module-$bootstrap_suffix\$/d
7096 /^@endif build-$module-$bootstrap_suffix\$/d"
7099 for module
in ${configdirs} ; do
7100 if test -z "${no_recursion}"; then
7101 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7102 if test -f ${file}; then
7103 echo 1>&2 "*** removing ${file} to force reconfigure"
7108 case ${module},${bootstrap_fixincludes} in
7109 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7110 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7112 extrasub_host
="$extrasub_host
7114 /^@endif $module\$/d
7115 /^@if $module-$host_bootstrap_suffix\$/d
7116 /^@endif $module-$host_bootstrap_suffix\$/d"
7119 for module
in ${target_configdirs} ; do
7120 if test -z "${no_recursion}" \
7121 && test -f ${target_subdir}/${module}/Makefile
; then
7122 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7123 rm -f ${target_subdir}/${module}/Makefile
7126 # We only bootstrap target libraries listed in bootstrap_target_libs.
7127 case $bootstrap_target_libs in
7128 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7129 *) target_bootstrap_suffix
=no-bootstrap
;;
7132 extrasub_target
="$extrasub_target
7133 /^@if target-$module\$/d
7134 /^@endif target-$module\$/d
7135 /^@if target-$module-$target_bootstrap_suffix\$/d
7136 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7139 # Do the final fixup along with target modules.
7140 extrasub_target
="$extrasub_target
7141 /^@if /,/^@endif /d"
7143 # Create the serialization dependencies. This uses a temporary file.
7145 # Check whether --enable-serial-configure was given.
7146 if test "${enable_serial_configure+set}" = set; then :
7147 enableval
=$enable_serial_configure;
7151 case ${enable_serial_configure} in
7153 enable_serial_build_configure
=yes
7154 enable_serial_host_configure
=yes
7155 enable_serial_target_configure
=yes
7159 # These force 'configure's to be done one at a time, to avoid problems
7160 # with contention over a shared config.cache.
7162 echo '# serdep.tmp' > serdep.tmp
7164 test "x${enable_serial_build_configure}" = xyes
&&
7165 for item
in ${build_configdirs} ; do
7168 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7173 test "x${enable_serial_host_configure}" = xyes
&&
7174 for item
in ${configdirs} ; do
7177 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7182 test "x${enable_serial_target_configure}" = xyes
&&
7183 for item
in ${target_configdirs} ; do
7186 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7190 serialization_dependencies
=serdep.tmp
7193 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7194 # target, nonopt, and variable assignments. These are the ones we
7195 # might not want to pass down to subconfigures. The exception being
7196 # --cache-file=/dev/null, which is used to turn off the use of cache
7197 # files altogether, and which should be passed on to subconfigures.
7198 # Also strip program-prefix, program-suffix, and program-transform-name,
7199 # so that we can pass down a consistent program-transform-name.
7204 eval "set -- $ac_configure_args"
7207 if test X
"$skip_next" = X
"yes"; then
7211 if test X
"$keep_next" = X
"yes"; then
7214 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7216 baseargs
="$baseargs '$ac_arg'"
7217 tbaseargs
="$tbaseargs '$ac_arg'"
7222 # Handle separated arguments. Based on the logic generated by
7225 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7226 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7227 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7228 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7242 --with-* |
--without-*)
7243 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7247 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7250 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7259 mpc | mpfr | gmp | isl
)
7260 # If we're processing --with-$lib, --with-$lib-include or
7261 # --with-$lib-lib, for one of the libs above, and target is
7262 # different from host, don't pass the current argument to any
7263 # target library's configure.
7264 if test x
$is_cross_compiler = xyes
; then
7273 --cache-file=/dev
/null | \
7274 -cache-file=/dev
/null
)
7275 # Handled here to avoid the test to skip args below.
7276 baseargs
="$baseargs '$ac_arg'"
7277 tbaseargs
="$tbaseargs '$ac_arg'"
7278 # Assert: $separate_arg should always be no.
7279 keep_next
=$separate_arg
7295 -program-prefix* | \
7296 -program-suffix* | \
7297 -program-transform-name* )
7298 skip_next
=$separate_arg
7302 # An option. Add it.
7305 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7307 baseargs
="$baseargs '$ac_arg'"
7308 if test X
"$skip_targ" = Xno
; then
7309 tbaseargs
="$tbaseargs '$ac_arg'"
7311 keep_next
=$separate_arg
7314 # Either a variable assignment, or a nonopt (triplet). Don't
7315 # pass it down; let the Makefile handle this.
7320 # Remove the initial space we just introduced and, as these will be
7321 # expanded by make, quote '$'.
7322 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7324 # Add in --program-transform-name, after --program-prefix and
7325 # --program-suffix have been applied to it. Autoconf has already
7326 # doubled dollar signs and backslashes in program_transform_name; we want
7327 # the backslashes un-doubled, and then the entire thing wrapped in single
7328 # quotes, because this will be expanded first by make and then by the shell.
7329 # Also, because we want to override the logic in subdir configure scripts to
7330 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7331 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7332 ${program_transform_name}
7334 gcc_transform_name
=`cat conftestsed.out`
7335 rm -f conftestsed.out
7336 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7337 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7338 if test "$silent" = yes; then
7339 baseargs
="$baseargs --silent"
7340 tbaseargs
="$tbaseargs --silent"
7342 baseargs
="$baseargs --disable-option-checking"
7343 tbaseargs
="$tbaseargs --disable-option-checking"
7345 # Record and document user additions to sub configure arguments.
7350 # For the build-side libraries, we just need to pretend we're native,
7351 # and not use the same cache file. Multilibs are neither needed nor
7352 # desired. We can't even use the same cache file for all build-side
7353 # libraries, as they're compiled differently; some with C, some with
7354 # C++ or with different feature-enabling options.
7355 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7357 # For host modules, accept cache file option, or specification as blank.
7358 case "${cache_file}" in
7360 cache_file_option
="" ;;
7361 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7362 cache_file_option
="--cache-file=${cache_file}" ;;
7364 cache_file_option
="--cache-file=../${cache_file}" ;;
7367 # Host dirs don't like to share a cache file either, horribly enough.
7368 # This seems to be due to autoconf 2.5x stupidity.
7369 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7371 target_configargs
="$target_configargs ${tbaseargs}"
7373 # Passing a --with-cross-host argument lets the target libraries know
7374 # whether they are being built with a cross-compiler or being built
7375 # native. However, it would be better to use other mechanisms to make the
7376 # sorts of decisions they want to make on this basis. Please consider
7377 # this option to be deprecated. FIXME.
7378 if test x
${is_cross_compiler} = xyes
; then
7379 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7382 # Special user-friendly check for native x86_64-linux build, if
7383 # multilib is not explicitly enabled.
7384 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7385 x86_64-
*linux
*:yes:$build:$build:)
7386 # Make sure we have a development environment that handles 32-bit
7388 echo "int main () { return 0; }" > conftest.c
7389 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7390 if test $?
= 0 ; then
7391 if test -s conftest ||
test -s conftest.exe
; then
7396 if test x
${dev64} != xyes
; then
7397 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
7402 # Default to --enable-multilib.
7403 if test x
${enable_multilib} = x
; then
7404 target_configargs
="--enable-multilib ${target_configargs}"
7407 # Pass --with-newlib if appropriate. Note that target_configdirs has
7408 # changed from the earlier setting of with_newlib.
7409 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7410 target_configargs
="--with-newlib ${target_configargs}"
7413 # Different target subdirs use different values of certain variables
7414 # (notably CXX). Worse, multilibs use *lots* of different values.
7415 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7416 # it doesn't automatically accept command-line overrides of them.
7417 # This means it's not safe for target subdirs to share a cache file,
7418 # which is disgusting, but there you have it. Hopefully this can be
7419 # fixed in future. It's still worthwhile to use a cache file for each
7420 # directory. I think.
7422 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7423 # We need to pass --target, as newer autoconf's requires consistency
7424 # for target_alias and gcc doesn't manage it consistently.
7425 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7428 case " $target_configdirs " in
7430 case " $target_configargs " in
7431 *" --with-newlib "*)
7434 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7438 # If we're not building GCC, don't discard standard headers.
7439 if test -d ${srcdir}/gcc
; then
7440 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7442 if test "${build}" != "${host}"; then
7443 # On Canadian crosses, CC_FOR_TARGET will have already been set
7444 # by `configure', so we won't have an opportunity to add -Bgcc/
7445 # to it. This is right: we don't want to search that directory
7446 # for binaries, but we want the header files in there, so add
7448 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7450 # Someone might think of using the pre-installed headers on
7451 # Canadian crosses, in case the installed compiler is not fully
7452 # compatible with the compiler being built. In this case, it
7453 # would be better to flag an error than risking having
7454 # incompatible object files being constructed. We can't
7455 # guarantee that an error will be flagged, but let's hope the
7456 # compiler will do it, when presented with incompatible header
7461 case "${target}-${is_cross_compiler}" in
7462 i
[3456789]86-*-linux*-no)
7463 # Here host == target, so we don't need to build gcc,
7464 # so we don't want to discard standard headers.
7465 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7468 # If we're building newlib, use its generic headers last, but search
7469 # for any libc-related directories first (so make it the last -B
7471 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7473 # If we're building libgloss, find the startup file, simulator library
7474 # and linker script.
7475 case " $target_configdirs " in
7477 # Look for startup file, simulator library and maybe linker script.
7478 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7479 # Look for libnosys.a in case the target needs it.
7480 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7481 # Most targets have the linker script in the source directory.
7482 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7493 x86_64-
*mingw
* |
*-w64-mingw*)
7494 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7495 # however, use a symlink named 'mingw' in ${prefix} .
7496 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7499 # MinGW can't be handled as Cygwin above since it does not use newlib.
7500 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'
7504 # Allow the user to override the flags for
7505 # our build compiler if desired.
7506 if test x
"${build}" = x
"${host}" ; then
7507 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7508 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7509 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7512 # On Canadian crosses, we'll be searching the right directories for
7513 # the previously-installed cross compiler, so don't bother to add
7514 # flags for directories within the install tree of the compiler
7515 # being built; programs in there won't even run.
7516 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7517 # Search for pre-installed headers if nothing else fits.
7518 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7521 if test "x
${use_gnu_ld}" = x &&
7522 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7523 # Arrange for us to find uninstalled linker scripts.
7524 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7527 # Search for other target-specific linker scripts and such.
7530 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7534 # Makefile fragments.
7535 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7537 eval fragval=\$$frag
7538 if test $fragval != /dev/null; then
7539 eval $frag=${srcdir}/$fragval
7547 # Miscellanea: directories, flags, etc.
7556 # Build module lists & subconfigure args.
7560 # Host module lists & subconfigure args.
7565 # Target module lists & subconfigure args.
7587 # Generate default definitions for YACC, M4, LEX and other programs that run
7588 # on the build machine. These are used if the Makefile can't locate these
7589 # programs in objdir.
7590 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7592 for ac_prog in 'bison -y' byacc yacc
7594 # Extract the first word of "$ac_prog", so it can be a program name with args.
7595 set dummy $ac_prog; ac_word=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7597 $as_echo_n "checking
for $ac_word...
" >&6; }
7598 if test "${ac_cv_prog_YACC+set}" = set; then :
7599 $as_echo_n "(cached
) " >&6
7601 if test -n "$YACC"; then
7602 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir=.
7609 for ac_exec_ext in '' $ac_executable_extensions; do
7610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 ac_cv_prog_YACC="$ac_prog"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7621 YACC=$ac_cv_prog_YACC
7622 if test -n "$YACC"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7624 $as_echo "$YACC" >&6; }
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7627 $as_echo "no
" >&6; }
7631 test -n "$YACC" && break
7633 test -n "$YACC" || YACC="$MISSING bison
-y"
7635 case " $build_configdirs " in
7636 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7639 for ac_prog in bison
7641 # Extract the first word of "$ac_prog", so it can be a program name with args.
7642 set dummy $ac_prog; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7644 $as_echo_n "checking
for $ac_word...
" >&6; }
7645 if test "${ac_cv_prog_BISON+set}" = set; then :
7646 $as_echo_n "(cached
) " >&6
7648 if test -n "$BISON"; then
7649 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_BISON="$ac_prog"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7668 BISON=$ac_cv_prog_BISON
7669 if test -n "$BISON"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7671 $as_echo "$BISON" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7674 $as_echo "no
" >&6; }
7678 test -n "$BISON" && break
7680 test -n "$BISON" || BISON="$MISSING bison
"
7682 case " $build_configdirs " in
7683 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7686 for ac_prog in gm4 gnum4 m4
7688 # Extract the first word of "$ac_prog", so it can be a program name with args.
7689 set dummy $ac_prog; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7691 $as_echo_n "checking
for $ac_word...
" >&6; }
7692 if test "${ac_cv_prog_M4+set}" = set; then :
7693 $as_echo_n "(cached
) " >&6
7695 if test -n "$M4"; then
7696 ac_cv_prog_M4="$M4" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705 ac_cv_prog_M4="$ac_prog"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$M4"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7718 $as_echo "$M4" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7725 test -n "$M4" && break
7727 test -n "$M4" || M4="$MISSING m4"
7729 case " $build_configdirs " in
7730 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7733 for ac_prog in flex lex
7735 # Extract the first word of "$ac_prog", so it can be a program name with args.
7736 set dummy $ac_prog; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7738 $as_echo_n "checking
for $ac_word...
" >&6; }
7739 if test "${ac_cv_prog_LEX+set}" = set; then :
7740 $as_echo_n "(cached
) " >&6
7742 if test -n "$LEX"; then
7743 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7752 ac_cv_prog_LEX="$ac_prog"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7763 if test -n "$LEX"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7765 $as_echo "$LEX" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7768 $as_echo "no
" >&6; }
7772 test -n "$LEX" && break
7774 test -n "$LEX" || LEX="$MISSING flex
"
7776 case " $build_configdirs " in
7777 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7778 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7783 # Extract the first word of "$ac_prog", so it can be a program name with args.
7784 set dummy $ac_prog; ac_word=$2
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7786 $as_echo_n "checking
for $ac_word...
" >&6; }
7787 if test "${ac_cv_prog_FLEX+set}" = set; then :
7788 $as_echo_n "(cached
) " >&6
7790 if test -n "$FLEX"; then
7791 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_prog_FLEX="$ac_prog"
7801 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7810 FLEX=$ac_cv_prog_FLEX
7811 if test -n "$FLEX"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7813 $as_echo "$FLEX" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7816 $as_echo "no
" >&6; }
7820 test -n "$FLEX" && break
7822 test -n "$FLEX" || FLEX="$MISSING flex
"
7824 case " $build_configdirs " in
7825 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7828 for ac_prog in makeinfo
7830 # Extract the first word of "$ac_prog", so it can be a program name with args.
7831 set dummy $ac_prog; ac_word=$2
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7833 $as_echo_n "checking
for $ac_word...
" >&6; }
7834 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7835 $as_echo_n "(cached
) " >&6
7837 if test -n "$MAKEINFO"; then
7838 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844 test -z "$as_dir" && as_dir=.
7845 for ac_exec_ext in '' $ac_executable_extensions; do
7846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847 ac_cv_prog_MAKEINFO="$ac_prog"
7848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7857 MAKEINFO=$ac_cv_prog_MAKEINFO
7858 if test -n "$MAKEINFO"; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7860 $as_echo "$MAKEINFO" >&6; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7863 $as_echo "no
" >&6; }
7867 test -n "$MAKEINFO" && break
7869 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7871 case " $build_configdirs " in
7872 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7875 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7876 # higher, else we use the "missing
" dummy.
7877 if ${MAKEINFO} --version \
7878 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7881 MAKEINFO="$MISSING makeinfo
"
7887 # FIXME: expect and dejagnu may become build tools?
7889 for ac_prog in expect
7891 # Extract the first word of "$ac_prog", so it can be a program name with args.
7892 set dummy $ac_prog; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7894 $as_echo_n "checking
for $ac_word...
" >&6; }
7895 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7896 $as_echo_n "(cached
) " >&6
7898 if test -n "$EXPECT"; then
7899 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7908 ac_cv_prog_EXPECT="$ac_prog"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7918 EXPECT=$ac_cv_prog_EXPECT
7919 if test -n "$EXPECT"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7921 $as_echo "$EXPECT" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7924 $as_echo "no
" >&6; }
7928 test -n "$EXPECT" && break
7930 test -n "$EXPECT" || EXPECT="expect
"
7932 case " $configdirs " in
7934 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7938 for ac_prog in runtest
7940 # Extract the first word of "$ac_prog", so it can be a program name with args.
7941 set dummy $ac_prog; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$RUNTEST"; then
7948 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957 ac_cv_prog_RUNTEST="$ac_prog"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 RUNTEST=$ac_cv_prog_RUNTEST
7968 if test -n "$RUNTEST"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7970 $as_echo "$RUNTEST" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7977 test -n "$RUNTEST" && break
7979 test -n "$RUNTEST" || RUNTEST="runtest
"
7981 case " $configdirs " in
7983 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7990 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7991 ncn_target_tool_prefix=
7992 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7996 if test -n "$AR"; then
7998 elif test -n "$ac_cv_prog_AR"; then
8002 if test -n "$ac_cv_prog_AR"; then
8003 for ncn_progname in ar; do
8004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8005 set dummy ${ncn_progname}; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8007 $as_echo_n "checking
for $ac_word...
" >&6; }
8008 if test "${ac_cv_prog_AR+set}" = set; then :
8009 $as_echo_n "(cached
) " >&6
8011 if test -n "$AR"; then
8012 ac_cv_prog_AR="$AR" # Let the user override the test.
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_AR="${ncn_progname}"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8032 if test -n "$AR"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8034 $as_echo "$AR" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8037 $as_echo "no
" >&6; }
8044 for ncn_progname in ar; do
8045 if test -n "$ncn_tool_prefix"; then
8046 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8047 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8049 $as_echo_n "checking
for $ac_word...
" >&6; }
8050 if test "${ac_cv_prog_AR+set}" = set; then :
8051 $as_echo_n "(cached
) " >&6
8053 if test -n "$AR"; then
8054 ac_cv_prog_AR="$AR" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8074 if test -n "$AR"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8076 $as_echo "$AR" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8079 $as_echo "no
" >&6; }
8084 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8086 set dummy ${ncn_progname}; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8088 $as_echo_n "checking
for $ac_word...
" >&6; }
8089 if test "${ac_cv_prog_AR+set}" = set; then :
8090 $as_echo_n "(cached
) " >&6
8092 if test -n "$AR"; then
8093 ac_cv_prog_AR="$AR" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8102 ac_cv_prog_AR="${ncn_progname}"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8113 if test -n "$AR"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8115 $as_echo "$AR" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8118 $as_echo "no
" >&6; }
8123 test -n "$ac_cv_prog_AR" && break
8126 if test -z "$ac_cv_prog_AR" ; then
8128 if test $build = $host ; then
8131 AR="${ncn_tool_prefix}$2"
8137 if test -n "$AS"; then
8139 elif test -n "$ac_cv_prog_AS"; then
8143 if test -n "$ac_cv_prog_AS"; then
8144 for ncn_progname in as; do
8145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8146 set dummy ${ncn_progname}; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8148 $as_echo_n "checking
for $ac_word...
" >&6; }
8149 if test "${ac_cv_prog_AS+set}" = set; then :
8150 $as_echo_n "(cached
) " >&6
8152 if test -n "$AS"; then
8153 ac_cv_prog_AS="$AS" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162 ac_cv_prog_AS="${ncn_progname}"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8173 if test -n "$AS"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8175 $as_echo "$AS" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8178 $as_echo "no
" >&6; }
8185 for ncn_progname in as; do
8186 if test -n "$ncn_tool_prefix"; then
8187 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8188 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8190 $as_echo_n "checking
for $ac_word...
" >&6; }
8191 if test "${ac_cv_prog_AS+set}" = set; then :
8192 $as_echo_n "(cached
) " >&6
8194 if test -n "$AS"; then
8195 ac_cv_prog_AS="$AS" # Let the user override the test.
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 if test -n "$AS"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8217 $as_echo "$AS" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8220 $as_echo "no
" >&6; }
8225 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8226 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8227 set dummy ${ncn_progname}; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8229 $as_echo_n "checking
for $ac_word...
" >&6; }
8230 if test "${ac_cv_prog_AS+set}" = set; then :
8231 $as_echo_n "(cached
) " >&6
8233 if test -n "$AS"; then
8234 ac_cv_prog_AS="$AS" # Let the user override the test.
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243 ac_cv_prog_AS="${ncn_progname}"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8254 if test -n "$AS"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8256 $as_echo "$AS" >&6; }
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8259 $as_echo "no
" >&6; }
8264 test -n "$ac_cv_prog_AS" && break
8267 if test -z "$ac_cv_prog_AS" ; then
8269 if test $build = $host ; then
8272 AS="${ncn_tool_prefix}$2"
8278 if test -n "$DLLTOOL"; then
8279 ac_cv_prog_DLLTOOL=$DLLTOOL
8280 elif test -n "$ac_cv_prog_DLLTOOL"; then
8281 DLLTOOL=$ac_cv_prog_DLLTOOL
8284 if test -n "$ac_cv_prog_DLLTOOL"; then
8285 for ncn_progname in dlltool; do
8286 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8287 set dummy ${ncn_progname}; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8289 $as_echo_n "checking
for $ac_word...
" >&6; }
8290 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8291 $as_echo_n "(cached
) " >&6
8293 if test -n "$DLLTOOL"; then
8294 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8303 ac_cv_prog_DLLTOOL="${ncn_progname}"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8313 DLLTOOL=$ac_cv_prog_DLLTOOL
8314 if test -n "$DLLTOOL"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8316 $as_echo "$DLLTOOL" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8319 $as_echo "no
" >&6; }
8326 for ncn_progname in dlltool; do
8327 if test -n "$ncn_tool_prefix"; then
8328 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8329 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8331 $as_echo_n "checking
for $ac_word...
" >&6; }
8332 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8333 $as_echo_n "(cached
) " >&6
8335 if test -n "$DLLTOOL"; then
8336 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8355 DLLTOOL=$ac_cv_prog_DLLTOOL
8356 if test -n "$DLLTOOL"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8358 $as_echo "$DLLTOOL" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8361 $as_echo "no
" >&6; }
8366 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8368 set dummy ${ncn_progname}; ac_word=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8370 $as_echo_n "checking
for $ac_word...
" >&6; }
8371 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8372 $as_echo_n "(cached
) " >&6
8374 if test -n "$DLLTOOL"; then
8375 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8381 test -z "$as_dir" && as_dir=.
8382 for ac_exec_ext in '' $ac_executable_extensions; do
8383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8384 ac_cv_prog_DLLTOOL="${ncn_progname}"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8394 DLLTOOL=$ac_cv_prog_DLLTOOL
8395 if test -n "$DLLTOOL"; then
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8397 $as_echo "$DLLTOOL" >&6; }
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8400 $as_echo "no
" >&6; }
8405 test -n "$ac_cv_prog_DLLTOOL" && break
8408 if test -z "$ac_cv_prog_DLLTOOL" ; then
8410 if test $build = $host ; then
8413 DLLTOOL="${ncn_tool_prefix}$2"
8419 if test -n "$LD"; then
8421 elif test -n "$ac_cv_prog_LD"; then
8425 if test -n "$ac_cv_prog_LD"; then
8426 for ncn_progname in ld; do
8427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8428 set dummy ${ncn_progname}; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8430 $as_echo_n "checking
for $ac_word...
" >&6; }
8431 if test "${ac_cv_prog_LD+set}" = set; then :
8432 $as_echo_n "(cached
) " >&6
8434 if test -n "$LD"; then
8435 ac_cv_prog_LD="$LD" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8444 ac_cv_prog_LD="${ncn_progname}"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8455 if test -n "$LD"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8457 $as_echo "$LD" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8460 $as_echo "no
" >&6; }
8467 for ncn_progname in ld; do
8468 if test -n "$ncn_tool_prefix"; then
8469 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8470 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8472 $as_echo_n "checking
for $ac_word...
" >&6; }
8473 if test "${ac_cv_prog_LD+set}" = set; then :
8474 $as_echo_n "(cached
) " >&6
8476 if test -n "$LD"; then
8477 ac_cv_prog_LD="$LD" # Let the user override the test.
8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir=.
8484 for ac_exec_ext in '' $ac_executable_extensions; do
8485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8486 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8497 if test -n "$LD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8499 $as_echo "$LD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8502 $as_echo "no
" >&6; }
8507 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8508 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8509 set dummy ${ncn_progname}; ac_word=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8511 $as_echo_n "checking
for $ac_word...
" >&6; }
8512 if test "${ac_cv_prog_LD+set}" = set; then :
8513 $as_echo_n "(cached
) " >&6
8515 if test -n "$LD"; then
8516 ac_cv_prog_LD="$LD" # Let the user override the test.
8518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8522 test -z "$as_dir" && as_dir=.
8523 for ac_exec_ext in '' $ac_executable_extensions; do
8524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8525 ac_cv_prog_LD="${ncn_progname}"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8536 if test -n "$LD"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8538 $as_echo "$LD" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8541 $as_echo "no
" >&6; }
8546 test -n "$ac_cv_prog_LD" && break
8549 if test -z "$ac_cv_prog_LD" ; then
8551 if test $build = $host ; then
8554 LD="${ncn_tool_prefix}$2"
8560 if test -n "$LIPO"; then
8561 ac_cv_prog_LIPO=$LIPO
8562 elif test -n "$ac_cv_prog_LIPO"; then
8563 LIPO=$ac_cv_prog_LIPO
8566 if test -n "$ac_cv_prog_LIPO"; then
8567 for ncn_progname in lipo; do
8568 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8569 set dummy ${ncn_progname}; ac_word=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8571 $as_echo_n "checking
for $ac_word...
" >&6; }
8572 if test "${ac_cv_prog_LIPO+set}" = set; then :
8573 $as_echo_n "(cached
) " >&6
8575 if test -n "$LIPO"; then
8576 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8582 test -z "$as_dir" && as_dir=.
8583 for ac_exec_ext in '' $ac_executable_extensions; do
8584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8585 ac_cv_prog_LIPO="${ncn_progname}"
8586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8595 LIPO=$ac_cv_prog_LIPO
8596 if test -n "$LIPO"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8598 $as_echo "$LIPO" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8601 $as_echo "no
" >&6; }
8608 for ncn_progname in lipo; do
8609 if test -n "$ncn_tool_prefix"; then
8610 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8611 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8613 $as_echo_n "checking
for $ac_word...
" >&6; }
8614 if test "${ac_cv_prog_LIPO+set}" = set; then :
8615 $as_echo_n "(cached
) " >&6
8617 if test -n "$LIPO"; then
8618 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir=.
8625 for ac_exec_ext in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8637 LIPO=$ac_cv_prog_LIPO
8638 if test -n "$LIPO"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8640 $as_echo "$LIPO" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8643 $as_echo "no
" >&6; }
8648 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8649 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8650 set dummy ${ncn_progname}; ac_word=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8652 $as_echo_n "checking
for $ac_word...
" >&6; }
8653 if test "${ac_cv_prog_LIPO+set}" = set; then :
8654 $as_echo_n "(cached
) " >&6
8656 if test -n "$LIPO"; then
8657 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir=.
8664 for ac_exec_ext in '' $ac_executable_extensions; do
8665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8666 ac_cv_prog_LIPO="${ncn_progname}"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8676 LIPO=$ac_cv_prog_LIPO
8677 if test -n "$LIPO"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8679 $as_echo "$LIPO" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8682 $as_echo "no
" >&6; }
8687 test -n "$ac_cv_prog_LIPO" && break
8690 if test -z "$ac_cv_prog_LIPO" ; then
8692 if test $build = $host ; then
8695 LIPO="${ncn_tool_prefix}$2"
8701 if test -n "$NM"; then
8703 elif test -n "$ac_cv_prog_NM"; then
8707 if test -n "$ac_cv_prog_NM"; then
8708 for ncn_progname in nm; do
8709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8710 set dummy ${ncn_progname}; ac_word=$2
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8712 $as_echo_n "checking
for $ac_word...
" >&6; }
8713 if test "${ac_cv_prog_NM+set}" = set; then :
8714 $as_echo_n "(cached
) " >&6
8716 if test -n "$NM"; then
8717 ac_cv_prog_NM="$NM" # Let the user override the test.
8719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 test -z "$as_dir" && as_dir=.
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8726 ac_cv_prog_NM="${ncn_progname}"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8737 if test -n "$NM"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8739 $as_echo "$NM" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8742 $as_echo "no
" >&6; }
8749 for ncn_progname in nm; do
8750 if test -n "$ncn_tool_prefix"; then
8751 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8752 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8754 $as_echo_n "checking
for $ac_word...
" >&6; }
8755 if test "${ac_cv_prog_NM+set}" = set; then :
8756 $as_echo_n "(cached
) " >&6
8758 if test -n "$NM"; then
8759 ac_cv_prog_NM="$NM" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8779 if test -n "$NM"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8781 $as_echo "$NM" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8784 $as_echo "no
" >&6; }
8789 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8791 set dummy ${ncn_progname}; ac_word=$2
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8793 $as_echo_n "checking
for $ac_word...
" >&6; }
8794 if test "${ac_cv_prog_NM+set}" = set; then :
8795 $as_echo_n "(cached
) " >&6
8797 if test -n "$NM"; then
8798 ac_cv_prog_NM="$NM" # Let the user override the test.
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8807 ac_cv_prog_NM="${ncn_progname}"
8808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8818 if test -n "$NM"; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8820 $as_echo "$NM" >&6; }
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8823 $as_echo "no
" >&6; }
8828 test -n "$ac_cv_prog_NM" && break
8831 if test -z "$ac_cv_prog_NM" ; then
8833 if test $build = $host ; then
8836 NM="${ncn_tool_prefix}$2"
8842 if test -n "$RANLIB"; then
8843 ac_cv_prog_RANLIB=$RANLIB
8844 elif test -n "$ac_cv_prog_RANLIB"; then
8845 RANLIB=$ac_cv_prog_RANLIB
8848 if test -n "$ac_cv_prog_RANLIB"; then
8849 for ncn_progname in ranlib; do
8850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8851 set dummy ${ncn_progname}; ac_word=$2
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8853 $as_echo_n "checking
for $ac_word...
" >&6; }
8854 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8855 $as_echo_n "(cached
) " >&6
8857 if test -n "$RANLIB"; then
8858 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8864 test -z "$as_dir" && as_dir=.
8865 for ac_exec_ext in '' $ac_executable_extensions; do
8866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8867 ac_cv_prog_RANLIB="${ncn_progname}"
8868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8877 RANLIB=$ac_cv_prog_RANLIB
8878 if test -n "$RANLIB"; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8880 $as_echo "$RANLIB" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8883 $as_echo "no
" >&6; }
8890 for ncn_progname in ranlib; do
8891 if test -n "$ncn_tool_prefix"; then
8892 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8893 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8895 $as_echo_n "checking
for $ac_word...
" >&6; }
8896 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8897 $as_echo_n "(cached
) " >&6
8899 if test -n "$RANLIB"; then
8900 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir=.
8907 for ac_exec_ext in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8919 RANLIB=$ac_cv_prog_RANLIB
8920 if test -n "$RANLIB"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8922 $as_echo "$RANLIB" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8925 $as_echo "no
" >&6; }
8930 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8932 set dummy ${ncn_progname}; ac_word=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8934 $as_echo_n "checking
for $ac_word...
" >&6; }
8935 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8936 $as_echo_n "(cached
) " >&6
8938 if test -n "$RANLIB"; then
8939 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 test -z "$as_dir" && as_dir=.
8946 for ac_exec_ext in '' $ac_executable_extensions; do
8947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8948 ac_cv_prog_RANLIB="${ncn_progname}"
8949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8958 RANLIB=$ac_cv_prog_RANLIB
8959 if test -n "$RANLIB"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8961 $as_echo "$RANLIB" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8964 $as_echo "no
" >&6; }
8969 test -n "$ac_cv_prog_RANLIB" && break
8972 if test -z "$ac_cv_prog_RANLIB" ; then
8978 if test -n "$STRIP"; then
8979 ac_cv_prog_STRIP=$STRIP
8980 elif test -n "$ac_cv_prog_STRIP"; then
8981 STRIP=$ac_cv_prog_STRIP
8984 if test -n "$ac_cv_prog_STRIP"; then
8985 for ncn_progname in strip; do
8986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8987 set dummy ${ncn_progname}; ac_word=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8989 $as_echo_n "checking
for $ac_word...
" >&6; }
8990 if test "${ac_cv_prog_STRIP+set}" = set; then :
8991 $as_echo_n "(cached
) " >&6
8993 if test -n "$STRIP"; then
8994 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000 test -z "$as_dir" && as_dir=.
9001 for ac_exec_ext in '' $ac_executable_extensions; do
9002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9003 ac_cv_prog_STRIP="${ncn_progname}"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9013 STRIP=$ac_cv_prog_STRIP
9014 if test -n "$STRIP"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9016 $as_echo "$STRIP" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9019 $as_echo "no
" >&6; }
9026 for ncn_progname in strip; do
9027 if test -n "$ncn_tool_prefix"; then
9028 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9029 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9031 $as_echo_n "checking
for $ac_word...
" >&6; }
9032 if test "${ac_cv_prog_STRIP+set}" = set; then :
9033 $as_echo_n "(cached
) " >&6
9035 if test -n "$STRIP"; then
9036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9055 STRIP=$ac_cv_prog_STRIP
9056 if test -n "$STRIP"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9058 $as_echo "$STRIP" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9061 $as_echo "no
" >&6; }
9066 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9068 set dummy ${ncn_progname}; ac_word=$2
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9070 $as_echo_n "checking
for $ac_word...
" >&6; }
9071 if test "${ac_cv_prog_STRIP+set}" = set; then :
9072 $as_echo_n "(cached
) " >&6
9074 if test -n "$STRIP"; then
9075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 test -z "$as_dir" && as_dir=.
9082 for ac_exec_ext in '' $ac_executable_extensions; do
9083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9084 ac_cv_prog_STRIP="${ncn_progname}"
9085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9094 STRIP=$ac_cv_prog_STRIP
9095 if test -n "$STRIP"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9097 $as_echo "$STRIP" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9100 $as_echo "no
" >&6; }
9105 test -n "$ac_cv_prog_STRIP" && break
9108 if test -z "$ac_cv_prog_STRIP" ; then
9114 if test -n "$WINDRES"; then
9115 ac_cv_prog_WINDRES=$WINDRES
9116 elif test -n "$ac_cv_prog_WINDRES"; then
9117 WINDRES=$ac_cv_prog_WINDRES
9120 if test -n "$ac_cv_prog_WINDRES"; then
9121 for ncn_progname in windres; do
9122 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9123 set dummy ${ncn_progname}; ac_word=$2
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9125 $as_echo_n "checking
for $ac_word...
" >&6; }
9126 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9127 $as_echo_n "(cached
) " >&6
9129 if test -n "$WINDRES"; then
9130 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9136 test -z "$as_dir" && as_dir=.
9137 for ac_exec_ext in '' $ac_executable_extensions; do
9138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9139 ac_cv_prog_WINDRES="${ncn_progname}"
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9149 WINDRES=$ac_cv_prog_WINDRES
9150 if test -n "$WINDRES"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9152 $as_echo "$WINDRES" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9155 $as_echo "no
" >&6; }
9162 for ncn_progname in windres; do
9163 if test -n "$ncn_tool_prefix"; then
9164 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9165 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9167 $as_echo_n "checking
for $ac_word...
" >&6; }
9168 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9169 $as_echo_n "(cached
) " >&6
9171 if test -n "$WINDRES"; then
9172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir=.
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9181 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9191 WINDRES=$ac_cv_prog_WINDRES
9192 if test -n "$WINDRES"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9194 $as_echo "$WINDRES" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9197 $as_echo "no
" >&6; }
9202 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9204 set dummy ${ncn_progname}; ac_word=$2
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9206 $as_echo_n "checking
for $ac_word...
" >&6; }
9207 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9208 $as_echo_n "(cached
) " >&6
9210 if test -n "$WINDRES"; then
9211 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9217 test -z "$as_dir" && as_dir=.
9218 for ac_exec_ext in '' $ac_executable_extensions; do
9219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9220 ac_cv_prog_WINDRES="${ncn_progname}"
9221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9230 WINDRES=$ac_cv_prog_WINDRES
9231 if test -n "$WINDRES"; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9233 $as_echo "$WINDRES" >&6; }
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9236 $as_echo "no
" >&6; }
9241 test -n "$ac_cv_prog_WINDRES" && break
9244 if test -z "$ac_cv_prog_WINDRES" ; then
9246 if test $build = $host ; then
9249 WINDRES="${ncn_tool_prefix}$2"
9255 if test -n "$WINDMC"; then
9256 ac_cv_prog_WINDMC=$WINDMC
9257 elif test -n "$ac_cv_prog_WINDMC"; then
9258 WINDMC=$ac_cv_prog_WINDMC
9261 if test -n "$ac_cv_prog_WINDMC"; then
9262 for ncn_progname in windmc; do
9263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9264 set dummy ${ncn_progname}; ac_word=$2
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9266 $as_echo_n "checking
for $ac_word...
" >&6; }
9267 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9268 $as_echo_n "(cached
) " >&6
9270 if test -n "$WINDMC"; then
9271 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir=.
9278 for ac_exec_ext in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_prog_WINDMC="${ncn_progname}"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9290 WINDMC=$ac_cv_prog_WINDMC
9291 if test -n "$WINDMC"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9293 $as_echo "$WINDMC" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9296 $as_echo "no
" >&6; }
9303 for ncn_progname in windmc; do
9304 if test -n "$ncn_tool_prefix"; then
9305 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9306 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9308 $as_echo_n "checking
for $ac_word...
" >&6; }
9309 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9310 $as_echo_n "(cached
) " >&6
9312 if test -n "$WINDMC"; then
9313 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9332 WINDMC=$ac_cv_prog_WINDMC
9333 if test -n "$WINDMC"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9335 $as_echo "$WINDMC" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9338 $as_echo "no
" >&6; }
9343 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9345 set dummy ${ncn_progname}; ac_word=$2
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9347 $as_echo_n "checking
for $ac_word...
" >&6; }
9348 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9349 $as_echo_n "(cached
) " >&6
9351 if test -n "$WINDMC"; then
9352 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 test -z "$as_dir" && as_dir=.
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9361 ac_cv_prog_WINDMC="${ncn_progname}"
9362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9371 WINDMC=$ac_cv_prog_WINDMC
9372 if test -n "$WINDMC"; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9374 $as_echo "$WINDMC" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9377 $as_echo "no
" >&6; }
9382 test -n "$ac_cv_prog_WINDMC" && break
9385 if test -z "$ac_cv_prog_WINDMC" ; then
9387 if test $build = $host ; then
9390 WINDMC="${ncn_tool_prefix}$2"
9396 if test -n "$OBJCOPY"; then
9397 ac_cv_prog_OBJCOPY=$OBJCOPY
9398 elif test -n "$ac_cv_prog_OBJCOPY"; then
9399 OBJCOPY=$ac_cv_prog_OBJCOPY
9402 if test -n "$ac_cv_prog_OBJCOPY"; then
9403 for ncn_progname in objcopy; do
9404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9405 set dummy ${ncn_progname}; ac_word=$2
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9407 $as_echo_n "checking
for $ac_word...
" >&6; }
9408 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9409 $as_echo_n "(cached
) " >&6
9411 if test -n "$OBJCOPY"; then
9412 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_prog_OBJCOPY="${ncn_progname}"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9431 OBJCOPY=$ac_cv_prog_OBJCOPY
9432 if test -n "$OBJCOPY"; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9434 $as_echo "$OBJCOPY" >&6; }
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9437 $as_echo "no
" >&6; }
9444 for ncn_progname in objcopy; do
9445 if test -n "$ncn_tool_prefix"; then
9446 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9447 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9449 $as_echo_n "checking
for $ac_word...
" >&6; }
9450 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9451 $as_echo_n "(cached
) " >&6
9453 if test -n "$OBJCOPY"; then
9454 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir=.
9461 for ac_exec_ext in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9473 OBJCOPY=$ac_cv_prog_OBJCOPY
9474 if test -n "$OBJCOPY"; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9476 $as_echo "$OBJCOPY" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9479 $as_echo "no
" >&6; }
9484 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9486 set dummy ${ncn_progname}; ac_word=$2
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9488 $as_echo_n "checking
for $ac_word...
" >&6; }
9489 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9490 $as_echo_n "(cached
) " >&6
9492 if test -n "$OBJCOPY"; then
9493 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499 test -z "$as_dir" && as_dir=.
9500 for ac_exec_ext in '' $ac_executable_extensions; do
9501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9502 ac_cv_prog_OBJCOPY="${ncn_progname}"
9503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9512 OBJCOPY=$ac_cv_prog_OBJCOPY
9513 if test -n "$OBJCOPY"; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9515 $as_echo "$OBJCOPY" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9518 $as_echo "no
" >&6; }
9523 test -n "$ac_cv_prog_OBJCOPY" && break
9526 if test -z "$ac_cv_prog_OBJCOPY" ; then
9528 if test $build = $host ; then
9531 OBJCOPY="${ncn_tool_prefix}$2"
9537 if test -n "$OBJDUMP"; then
9538 ac_cv_prog_OBJDUMP=$OBJDUMP
9539 elif test -n "$ac_cv_prog_OBJDUMP"; then
9540 OBJDUMP=$ac_cv_prog_OBJDUMP
9543 if test -n "$ac_cv_prog_OBJDUMP"; then
9544 for ncn_progname in objdump; do
9545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9546 set dummy ${ncn_progname}; ac_word=$2
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9548 $as_echo_n "checking
for $ac_word...
" >&6; }
9549 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9550 $as_echo_n "(cached
) " >&6
9552 if test -n "$OBJDUMP"; then
9553 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9559 test -z "$as_dir" && as_dir=.
9560 for ac_exec_ext in '' $ac_executable_extensions; do
9561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9562 ac_cv_prog_OBJDUMP="${ncn_progname}"
9563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9572 OBJDUMP=$ac_cv_prog_OBJDUMP
9573 if test -n "$OBJDUMP"; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9575 $as_echo "$OBJDUMP" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9578 $as_echo "no
" >&6; }
9585 for ncn_progname in objdump; do
9586 if test -n "$ncn_tool_prefix"; then
9587 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9588 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9590 $as_echo_n "checking
for $ac_word...
" >&6; }
9591 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9592 $as_echo_n "(cached
) " >&6
9594 if test -n "$OBJDUMP"; then
9595 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9604 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9614 OBJDUMP=$ac_cv_prog_OBJDUMP
9615 if test -n "$OBJDUMP"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9617 $as_echo "$OBJDUMP" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9620 $as_echo "no
" >&6; }
9625 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9627 set dummy ${ncn_progname}; ac_word=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9629 $as_echo_n "checking
for $ac_word...
" >&6; }
9630 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9631 $as_echo_n "(cached
) " >&6
9633 if test -n "$OBJDUMP"; then
9634 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9643 ac_cv_prog_OBJDUMP="${ncn_progname}"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9653 OBJDUMP=$ac_cv_prog_OBJDUMP
9654 if test -n "$OBJDUMP"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9656 $as_echo "$OBJDUMP" >&6; }
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9659 $as_echo "no
" >&6; }
9664 test -n "$ac_cv_prog_OBJDUMP" && break
9667 if test -z "$ac_cv_prog_OBJDUMP" ; then
9669 if test $build = $host ; then
9672 OBJDUMP="${ncn_tool_prefix}$2"
9678 if test -n "$READELF"; then
9679 ac_cv_prog_READELF=$READELF
9680 elif test -n "$ac_cv_prog_READELF"; then
9681 READELF=$ac_cv_prog_READELF
9684 if test -n "$ac_cv_prog_READELF"; then
9685 for ncn_progname in readelf; do
9686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9687 set dummy ${ncn_progname}; ac_word=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9689 $as_echo_n "checking
for $ac_word...
" >&6; }
9690 if test "${ac_cv_prog_READELF+set}" = set; then :
9691 $as_echo_n "(cached
) " >&6
9693 if test -n "$READELF"; then
9694 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir=.
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9703 ac_cv_prog_READELF="${ncn_progname}"
9704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9713 READELF=$ac_cv_prog_READELF
9714 if test -n "$READELF"; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9716 $as_echo "$READELF" >&6; }
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9719 $as_echo "no
" >&6; }
9726 for ncn_progname in readelf; do
9727 if test -n "$ncn_tool_prefix"; then
9728 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9729 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9731 $as_echo_n "checking
for $ac_word...
" >&6; }
9732 if test "${ac_cv_prog_READELF+set}" = set; then :
9733 $as_echo_n "(cached
) " >&6
9735 if test -n "$READELF"; then
9736 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9745 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9755 READELF=$ac_cv_prog_READELF
9756 if test -n "$READELF"; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9758 $as_echo "$READELF" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9761 $as_echo "no
" >&6; }
9766 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9768 set dummy ${ncn_progname}; ac_word=$2
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9770 $as_echo_n "checking
for $ac_word...
" >&6; }
9771 if test "${ac_cv_prog_READELF+set}" = set; then :
9772 $as_echo_n "(cached
) " >&6
9774 if test -n "$READELF"; then
9775 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9781 test -z "$as_dir" && as_dir=.
9782 for ac_exec_ext in '' $ac_executable_extensions; do
9783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9784 ac_cv_prog_READELF="${ncn_progname}"
9785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9794 READELF=$ac_cv_prog_READELF
9795 if test -n "$READELF"; then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9797 $as_echo "$READELF" >&6; }
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9800 $as_echo "no
" >&6; }
9805 test -n "$ac_cv_prog_READELF" && break
9808 if test -z "$ac_cv_prog_READELF" ; then
9810 if test $build = $host ; then
9813 READELF="${ncn_tool_prefix}$2"
9824 # Check whether --with-build-time-tools was given.
9825 if test "${with_build_time_tools+set}" = set; then :
9826 withval=$with_build_time_tools; case x"$withval" in
9829 with_build_time_tools=
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9831 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9835 with_build_time_tools=
9841 if test -n "$CC_FOR_TARGET"; then
9842 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9843 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9844 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9847 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9848 for ncn_progname in cc gcc; do
9849 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9850 set dummy ${ncn_progname}; ac_word=$2
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9852 $as_echo_n "checking
for $ac_word...
" >&6; }
9853 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9854 $as_echo_n "(cached
) " >&6
9856 if test -n "$CC_FOR_TARGET"; then
9857 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir=.
9864 for ac_exec_ext in '' $ac_executable_extensions; do
9865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9876 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9877 if test -n "$CC_FOR_TARGET"; then
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9879 $as_echo "$CC_FOR_TARGET" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9882 $as_echo "no
" >&6; }
9889 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9890 for ncn_progname in cc gcc; do
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9892 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9893 if test -x $with_build_time_tools/${ncn_progname}; then
9894 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9896 $as_echo "yes" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9900 $as_echo "no
" >&6; }
9905 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9906 for ncn_progname in cc gcc; do
9907 if test -n "$ncn_target_tool_prefix"; then
9908 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9909 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9911 $as_echo_n "checking
for $ac_word...
" >&6; }
9912 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9913 $as_echo_n "(cached
) " >&6
9915 if test -n "$CC_FOR_TARGET"; then
9916 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9922 test -z "$as_dir" && as_dir=.
9923 for ac_exec_ext in '' $ac_executable_extensions; do
9924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9925 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9935 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9936 if test -n "$CC_FOR_TARGET"; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9938 $as_echo "$CC_FOR_TARGET" >&6; }
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9941 $as_echo "no
" >&6; }
9946 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_progname}; ac_word=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9950 $as_echo_n "checking
for $ac_word...
" >&6; }
9951 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9952 $as_echo_n "(cached
) " >&6
9954 if test -n "$CC_FOR_TARGET"; then
9955 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9964 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9974 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9975 if test -n "$CC_FOR_TARGET"; then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9977 $as_echo "$CC_FOR_TARGET" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9980 $as_echo "no
" >&6; }
9985 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9989 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9991 if test $build = $target ; then
9994 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9997 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10002 if test -n "$CXX_FOR_TARGET"; then
10003 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10004 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10005 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10008 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10009 for ncn_progname in c++ g++ cxx gxx; do
10010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10011 set dummy ${ncn_progname}; ac_word=$2
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10013 $as_echo_n "checking
for $ac_word...
" >&6; }
10014 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10015 $as_echo_n "(cached
) " >&6
10017 if test -n "$CXX_FOR_TARGET"; then
10018 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10027 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10037 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10038 if test -n "$CXX_FOR_TARGET"; then
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10040 $as_echo "$CXX_FOR_TARGET" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10043 $as_echo "no
" >&6; }
10050 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10051 for ncn_progname in c++ g++ cxx gxx; do
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10053 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10054 if test -x $with_build_time_tools/${ncn_progname}; then
10055 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10057 $as_echo "yes" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10061 $as_echo "no
" >&6; }
10066 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10067 for ncn_progname in c++ g++ cxx gxx; do
10068 if test -n "$ncn_target_tool_prefix"; then
10069 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10070 set dummy ${ncn_target_tool_prefix}${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_CXX_FOR_TARGET+set}" = set; then :
10074 $as_echo_n "(cached
) " >&6
10076 if test -n "$CXX_FOR_TARGET"; then
10077 ac_cv_prog_CXX_FOR_TARGET="$CXX_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_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10096 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10097 if test -n "$CXX_FOR_TARGET"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10099 $as_echo "$CXX_FOR_TARGET" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10102 $as_echo "no
" >&6; }
10107 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10109 set dummy ${ncn_progname}; ac_word=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10111 $as_echo_n "checking
for $ac_word...
" >&6; }
10112 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10113 $as_echo_n "(cached
) " >&6
10115 if test -n "$CXX_FOR_TARGET"; then
10116 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10119 for as_dir in $PATH
10122 test -z "$as_dir" && as_dir=.
10123 for ac_exec_ext in '' $ac_executable_extensions; do
10124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10125 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10135 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10136 if test -n "$CXX_FOR_TARGET"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10138 $as_echo "$CXX_FOR_TARGET" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10141 $as_echo "no
" >&6; }
10146 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10150 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10151 set dummy c++ g++ cxx gxx
10152 if test $build = $target ; then
10153 CXX_FOR_TARGET="$2"
10155 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10158 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10163 if test -n "$GCC_FOR_TARGET"; then
10164 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10165 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10166 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10169 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10170 for ncn_progname in gcc; do
10171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10172 set dummy ${ncn_progname}; ac_word=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10174 $as_echo_n "checking
for $ac_word...
" >&6; }
10175 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10176 $as_echo_n "(cached
) " >&6
10178 if test -n "$GCC_FOR_TARGET"; then
10179 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182 for as_dir in $PATH
10185 test -z "$as_dir" && as_dir=.
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10198 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10199 if test -n "$GCC_FOR_TARGET"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10201 $as_echo "$GCC_FOR_TARGET" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10204 $as_echo "no
" >&6; }
10211 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10212 for ncn_progname in gcc; do
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10214 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10215 if test -x $with_build_time_tools/${ncn_progname}; then
10216 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10218 $as_echo "yes" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10222 $as_echo "no
" >&6; }
10227 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10228 for ncn_progname in gcc; do
10229 if test -n "$ncn_target_tool_prefix"; then
10230 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10231 set dummy ${ncn_target_tool_prefix}${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_GCC_FOR_TARGET+set}" = set; then :
10235 $as_echo_n "(cached
) " >&6
10237 if test -n "$GCC_FOR_TARGET"; then
10238 ac_cv_prog_GCC_FOR_TARGET="$GCC_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_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10257 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10258 if test -n "$GCC_FOR_TARGET"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10260 $as_echo "$GCC_FOR_TARGET" >&6; }
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10263 $as_echo "no
" >&6; }
10268 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10270 set dummy ${ncn_progname}; ac_word=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10272 $as_echo_n "checking
for $ac_word...
" >&6; }
10273 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10274 $as_echo_n "(cached
) " >&6
10276 if test -n "$GCC_FOR_TARGET"; then
10277 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10280 for as_dir in $PATH
10283 test -z "$as_dir" && as_dir=.
10284 for ac_exec_ext in '' $ac_executable_extensions; do
10285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10286 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10296 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10297 if test -n "$GCC_FOR_TARGET"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10299 $as_echo "$GCC_FOR_TARGET" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10302 $as_echo "no
" >&6; }
10307 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10311 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10312 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10314 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10319 if test -n "$GCJ_FOR_TARGET"; then
10320 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10321 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10322 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10325 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10326 for ncn_progname in gcj; do
10327 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10328 set dummy ${ncn_progname}; ac_word=$2
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10330 $as_echo_n "checking
for $ac_word...
" >&6; }
10331 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10332 $as_echo_n "(cached
) " >&6
10334 if test -n "$GCJ_FOR_TARGET"; then
10335 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $PATH
10341 test -z "$as_dir" && as_dir=.
10342 for ac_exec_ext in '' $ac_executable_extensions; do
10343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10344 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10354 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10355 if test -n "$GCJ_FOR_TARGET"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10357 $as_echo "$GCJ_FOR_TARGET" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10360 $as_echo "no
" >&6; }
10367 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10368 for ncn_progname in gcj; do
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10370 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10371 if test -x $with_build_time_tools/${ncn_progname}; then
10372 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10374 $as_echo "yes" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10378 $as_echo "no
" >&6; }
10383 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10384 for ncn_progname in gcj; do
10385 if test -n "$ncn_target_tool_prefix"; then
10386 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10387 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10389 $as_echo_n "checking
for $ac_word...
" >&6; }
10390 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10391 $as_echo_n "(cached
) " >&6
10393 if test -n "$GCJ_FOR_TARGET"; then
10394 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 test -z "$as_dir" && as_dir=.
10401 for ac_exec_ext in '' $ac_executable_extensions; do
10402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10403 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10413 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10414 if test -n "$GCJ_FOR_TARGET"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10416 $as_echo "$GCJ_FOR_TARGET" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10424 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$GCJ_FOR_TARGET"; then
10433 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10453 if test -n "$GCJ_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10455 $as_echo "$GCJ_FOR_TARGET" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10463 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10467 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10469 if test $build = $target ; then
10470 GCJ_FOR_TARGET="$2"
10472 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10475 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10480 if test -n "$GFORTRAN_FOR_TARGET"; then
10481 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10482 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10483 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10486 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10487 for ncn_progname in gfortran; do
10488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10489 set dummy ${ncn_progname}; ac_word=$2
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10491 $as_echo_n "checking
for $ac_word...
" >&6; }
10492 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10493 $as_echo_n "(cached
) " >&6
10495 if test -n "$GFORTRAN_FOR_TARGET"; then
10496 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10499 for as_dir in $PATH
10502 test -z "$as_dir" && as_dir=.
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10505 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10515 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10516 if test -n "$GFORTRAN_FOR_TARGET"; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10518 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10521 $as_echo "no
" >&6; }
10528 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10529 for ncn_progname in gfortran; do
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10531 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10532 if test -x $with_build_time_tools/${ncn_progname}; then
10533 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10535 $as_echo "yes" >&6; }
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10539 $as_echo "no
" >&6; }
10544 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10545 for ncn_progname in gfortran; do
10546 if test -n "$ncn_target_tool_prefix"; then
10547 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10548 set dummy ${ncn_target_tool_prefix}${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_GFORTRAN_FOR_TARGET+set}" = set; then :
10552 $as_echo_n "(cached
) " >&6
10554 if test -n "$GFORTRAN_FOR_TARGET"; then
10555 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10574 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10575 if test -n "$GFORTRAN_FOR_TARGET"; then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10577 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10580 $as_echo "no
" >&6; }
10585 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10587 set dummy ${ncn_progname}; ac_word=$2
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10589 $as_echo_n "checking
for $ac_word...
" >&6; }
10590 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10591 $as_echo_n "(cached
) " >&6
10593 if test -n "$GFORTRAN_FOR_TARGET"; then
10594 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $PATH
10600 test -z "$as_dir" && as_dir=.
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10603 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10613 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10614 if test -n "$GFORTRAN_FOR_TARGET"; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10616 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10619 $as_echo "no
" >&6; }
10624 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10628 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10630 if test $build = $target ; then
10631 GFORTRAN_FOR_TARGET="$2"
10633 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10636 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10641 if test -n "$GOC_FOR_TARGET"; then
10642 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10643 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10644 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10647 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10648 for ncn_progname in gccgo; do
10649 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10650 set dummy ${ncn_progname}; ac_word=$2
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10652 $as_echo_n "checking
for $ac_word...
" >&6; }
10653 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10654 $as_echo_n "(cached
) " >&6
10656 if test -n "$GOC_FOR_TARGET"; then
10657 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10660 for as_dir in $PATH
10663 test -z "$as_dir" && as_dir=.
10664 for ac_exec_ext in '' $ac_executable_extensions; do
10665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10666 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10676 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10677 if test -n "$GOC_FOR_TARGET"; then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10679 $as_echo "$GOC_FOR_TARGET" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10682 $as_echo "no
" >&6; }
10689 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10690 for ncn_progname in gccgo; do
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10692 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10693 if test -x $with_build_time_tools/${ncn_progname}; then
10694 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10696 $as_echo "yes" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10700 $as_echo "no
" >&6; }
10705 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10706 for ncn_progname in gccgo; do
10707 if test -n "$ncn_target_tool_prefix"; then
10708 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10709 set dummy ${ncn_target_tool_prefix}${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_GOC_FOR_TARGET+set}" = set; then :
10713 $as_echo_n "(cached
) " >&6
10715 if test -n "$GOC_FOR_TARGET"; then
10716 ac_cv_prog_GOC_FOR_TARGET="$GOC_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_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10735 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10736 if test -n "$GOC_FOR_TARGET"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10738 $as_echo "$GOC_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10741 $as_echo "no
" >&6; }
10746 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10748 set dummy ${ncn_progname}; ac_word=$2
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10750 $as_echo_n "checking
for $ac_word...
" >&6; }
10751 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10752 $as_echo_n "(cached
) " >&6
10754 if test -n "$GOC_FOR_TARGET"; then
10755 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10758 for as_dir in $PATH
10761 test -z "$as_dir" && as_dir=.
10762 for ac_exec_ext in '' $ac_executable_extensions; do
10763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10764 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10774 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10775 if test -n "$GOC_FOR_TARGET"; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10777 $as_echo "$GOC_FOR_TARGET" >&6; }
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10780 $as_echo "no
" >&6; }
10785 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10789 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10791 if test $build = $target ; then
10792 GOC_FOR_TARGET="$2"
10794 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10797 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10802 cat > conftest.c << \EOF
10807 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10808 have_gcc_for_target=yes
10810 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10811 have_gcc_for_target=no
10818 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10819 if test -n "$with_build_time_tools"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10821 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10822 if test -x $with_build_time_tools/ar; then
10823 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10824 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10826 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10829 $as_echo "no
" >&6; }
10831 elif test $build != $host && test $have_gcc_for_target = yes; then
10832 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10833 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10834 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10837 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10838 # Extract the first word of "ar", so it can be a program name with args.
10839 set dummy ar; ac_word=$2
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10841 $as_echo_n "checking
for $ac_word...
" >&6; }
10842 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10843 $as_echo_n "(cached
) " >&6
10845 case $AR_FOR_TARGET in
10847 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10851 for as_dir in $gcc_cv_tool_dirs
10854 test -z "$as_dir" && as_dir=.
10855 for ac_exec_ext in '' $ac_executable_extensions; do
10856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10857 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10868 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10869 if test -n "$AR_FOR_TARGET"; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10871 $as_echo "$AR_FOR_TARGET" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10874 $as_echo "no
" >&6; }
10879 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10882 if test -n "$AR_FOR_TARGET"; then
10883 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10884 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10885 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10888 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10889 for ncn_progname in ar; do
10890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10891 set dummy ${ncn_progname}; ac_word=$2
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10893 $as_echo_n "checking
for $ac_word...
" >&6; }
10894 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10895 $as_echo_n "(cached
) " >&6
10897 if test -n "$AR_FOR_TARGET"; then
10898 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10901 for as_dir in $PATH
10904 test -z "$as_dir" && as_dir=.
10905 for ac_exec_ext in '' $ac_executable_extensions; do
10906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10907 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10917 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10918 if test -n "$AR_FOR_TARGET"; then
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10920 $as_echo "$AR_FOR_TARGET" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10923 $as_echo "no
" >&6; }
10930 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10931 for ncn_progname in ar; do
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10933 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10934 if test -x $with_build_time_tools/${ncn_progname}; then
10935 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10937 $as_echo "yes" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10941 $as_echo "no
" >&6; }
10946 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10947 for ncn_progname in ar; do
10948 if test -n "$ncn_target_tool_prefix"; then
10949 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10950 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10952 $as_echo_n "checking
for $ac_word...
" >&6; }
10953 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10954 $as_echo_n "(cached
) " >&6
10956 if test -n "$AR_FOR_TARGET"; then
10957 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10960 for as_dir in $PATH
10963 test -z "$as_dir" && as_dir=.
10964 for ac_exec_ext in '' $ac_executable_extensions; do
10965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10966 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10976 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10977 if test -n "$AR_FOR_TARGET"; then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10979 $as_echo "$AR_FOR_TARGET" >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10982 $as_echo "no
" >&6; }
10987 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10989 set dummy ${ncn_progname}; ac_word=$2
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10991 $as_echo_n "checking
for $ac_word...
" >&6; }
10992 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10993 $as_echo_n "(cached
) " >&6
10995 if test -n "$AR_FOR_TARGET"; then
10996 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999 for as_dir in $PATH
11002 test -z "$as_dir" && as_dir=.
11003 for ac_exec_ext in '' $ac_executable_extensions; do
11004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11005 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11015 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11016 if test -n "$AR_FOR_TARGET"; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11018 $as_echo "$AR_FOR_TARGET" >&6; }
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11021 $as_echo "no
" >&6; }
11026 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11030 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11032 if test $build = $target ; then
11035 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11038 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11042 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11048 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11049 if test -n "$with_build_time_tools"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11051 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11052 if test -x $with_build_time_tools/as; then
11053 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11054 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11056 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11059 $as_echo "no
" >&6; }
11061 elif test $build != $host && test $have_gcc_for_target = yes; then
11062 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11063 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11064 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11067 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11068 # Extract the first word of "as
", so it can be a program name with args.
11069 set dummy as; ac_word=$2
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11071 $as_echo_n "checking
for $ac_word...
" >&6; }
11072 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11073 $as_echo_n "(cached
) " >&6
11075 case $AS_FOR_TARGET in
11077 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11081 for as_dir in $gcc_cv_tool_dirs
11084 test -z "$as_dir" && as_dir=.
11085 for ac_exec_ext in '' $ac_executable_extensions; do
11086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11087 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11098 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11099 if test -n "$AS_FOR_TARGET"; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11101 $as_echo "$AS_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_path_AS_FOR_TARGET" ; then
11112 if test -n "$AS_FOR_TARGET"; then
11113 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11114 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11115 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11118 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11119 for ncn_progname in as; do
11120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11121 set dummy ${ncn_progname}; ac_word=$2
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11123 $as_echo_n "checking
for $ac_word...
" >&6; }
11124 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11125 $as_echo_n "(cached
) " >&6
11127 if test -n "$AS_FOR_TARGET"; then
11128 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11131 for as_dir in $PATH
11134 test -z "$as_dir" && as_dir=.
11135 for ac_exec_ext in '' $ac_executable_extensions; do
11136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11137 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11147 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11148 if test -n "$AS_FOR_TARGET"; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11150 $as_echo "$AS_FOR_TARGET" >&6; }
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11153 $as_echo "no
" >&6; }
11160 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11161 for ncn_progname in as; do
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11163 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11164 if test -x $with_build_time_tools/${ncn_progname}; then
11165 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11167 $as_echo "yes" >&6; }
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11171 $as_echo "no
" >&6; }
11176 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11177 for ncn_progname in as; do
11178 if test -n "$ncn_target_tool_prefix"; then
11179 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11180 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11182 $as_echo_n "checking
for $ac_word...
" >&6; }
11183 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11184 $as_echo_n "(cached
) " >&6
11186 if test -n "$AS_FOR_TARGET"; then
11187 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11190 for as_dir in $PATH
11193 test -z "$as_dir" && as_dir=.
11194 for ac_exec_ext in '' $ac_executable_extensions; do
11195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11196 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11206 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11207 if test -n "$AS_FOR_TARGET"; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11209 $as_echo "$AS_FOR_TARGET" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11212 $as_echo "no
" >&6; }
11217 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11219 set dummy ${ncn_progname}; ac_word=$2
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11221 $as_echo_n "checking
for $ac_word...
" >&6; }
11222 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11223 $as_echo_n "(cached
) " >&6
11225 if test -n "$AS_FOR_TARGET"; then
11226 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11229 for as_dir in $PATH
11232 test -z "$as_dir" && as_dir=.
11233 for ac_exec_ext in '' $ac_executable_extensions; do
11234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11235 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11245 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11246 if test -n "$AS_FOR_TARGET"; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11248 $as_echo "$AS_FOR_TARGET" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11251 $as_echo "no
" >&6; }
11256 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11260 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11262 if test $build = $target ; then
11265 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11268 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11272 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11278 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11279 if test -n "$with_build_time_tools"; then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11281 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11282 if test -x $with_build_time_tools/dlltool; then
11283 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11284 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11286 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11289 $as_echo "no
" >&6; }
11291 elif test $build != $host && test $have_gcc_for_target = yes; then
11292 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11293 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11294 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11297 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11298 # Extract the first word of "dlltool
", so it can be a program name with args.
11299 set dummy dlltool; ac_word=$2
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11301 $as_echo_n "checking
for $ac_word...
" >&6; }
11302 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11303 $as_echo_n "(cached
) " >&6
11305 case $DLLTOOL_FOR_TARGET in
11307 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11311 for as_dir in $gcc_cv_tool_dirs
11314 test -z "$as_dir" && as_dir=.
11315 for ac_exec_ext in '' $ac_executable_extensions; do
11316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11317 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11328 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11329 if test -n "$DLLTOOL_FOR_TARGET"; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11331 $as_echo "$DLLTOOL_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_path_DLLTOOL_FOR_TARGET" ; then
11342 if test -n "$DLLTOOL_FOR_TARGET"; then
11343 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11344 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11345 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11348 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11349 for ncn_progname in dlltool; do
11350 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11351 set dummy ${ncn_progname}; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11353 $as_echo_n "checking
for $ac_word...
" >&6; }
11354 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11355 $as_echo_n "(cached
) " >&6
11357 if test -n "$DLLTOOL_FOR_TARGET"; then
11358 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11364 test -z "$as_dir" && as_dir=.
11365 for ac_exec_ext in '' $ac_executable_extensions; do
11366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11377 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11378 if test -n "$DLLTOOL_FOR_TARGET"; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11380 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11383 $as_echo "no
" >&6; }
11390 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11391 for ncn_progname in dlltool; do
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11393 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11394 if test -x $with_build_time_tools/${ncn_progname}; then
11395 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11397 $as_echo "yes" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11401 $as_echo "no
" >&6; }
11406 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11407 for ncn_progname in dlltool; do
11408 if test -n "$ncn_target_tool_prefix"; then
11409 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11410 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11412 $as_echo_n "checking
for $ac_word...
" >&6; }
11413 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11414 $as_echo_n "(cached
) " >&6
11416 if test -n "$DLLTOOL_FOR_TARGET"; then
11417 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11420 for as_dir in $PATH
11423 test -z "$as_dir" && as_dir=.
11424 for ac_exec_ext in '' $ac_executable_extensions; do
11425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11426 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11436 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11437 if test -n "$DLLTOOL_FOR_TARGET"; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11439 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11442 $as_echo "no
" >&6; }
11447 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11449 set dummy ${ncn_progname}; ac_word=$2
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11451 $as_echo_n "checking
for $ac_word...
" >&6; }
11452 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11453 $as_echo_n "(cached
) " >&6
11455 if test -n "$DLLTOOL_FOR_TARGET"; then
11456 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11459 for as_dir in $PATH
11462 test -z "$as_dir" && as_dir=.
11463 for ac_exec_ext in '' $ac_executable_extensions; do
11464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11465 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11475 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11476 if test -n "$DLLTOOL_FOR_TARGET"; then
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11478 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11481 $as_echo "no
" >&6; }
11486 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11490 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11492 if test $build = $target ; then
11493 DLLTOOL_FOR_TARGET="$2"
11495 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11498 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11502 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11508 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11509 if test -n "$with_build_time_tools"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11511 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11512 if test -x $with_build_time_tools/ld; then
11513 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11514 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11516 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11519 $as_echo "no
" >&6; }
11521 elif test $build != $host && test $have_gcc_for_target = yes; then
11522 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11523 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11524 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11527 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11528 # Extract the first word of "ld
", so it can be a program name with args.
11529 set dummy ld; ac_word=$2
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11531 $as_echo_n "checking
for $ac_word...
" >&6; }
11532 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11533 $as_echo_n "(cached
) " >&6
11535 case $LD_FOR_TARGET in
11537 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11541 for as_dir in $gcc_cv_tool_dirs
11544 test -z "$as_dir" && as_dir=.
11545 for ac_exec_ext in '' $ac_executable_extensions; do
11546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11547 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11558 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11559 if test -n "$LD_FOR_TARGET"; then
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11561 $as_echo "$LD_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_path_LD_FOR_TARGET" ; then
11572 if test -n "$LD_FOR_TARGET"; then
11573 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11574 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11575 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11578 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11579 for ncn_progname in ld; do
11580 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11581 set dummy ${ncn_progname}; ac_word=$2
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11583 $as_echo_n "checking
for $ac_word...
" >&6; }
11584 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11585 $as_echo_n "(cached
) " >&6
11587 if test -n "$LD_FOR_TARGET"; then
11588 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11591 for as_dir in $PATH
11594 test -z "$as_dir" && as_dir=.
11595 for ac_exec_ext in '' $ac_executable_extensions; do
11596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11597 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11607 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11608 if test -n "$LD_FOR_TARGET"; then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11610 $as_echo "$LD_FOR_TARGET" >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11613 $as_echo "no
" >&6; }
11620 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11621 for ncn_progname in ld; do
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11623 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11624 if test -x $with_build_time_tools/${ncn_progname}; then
11625 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11627 $as_echo "yes" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11631 $as_echo "no
" >&6; }
11636 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11637 for ncn_progname in ld; do
11638 if test -n "$ncn_target_tool_prefix"; then
11639 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11640 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11642 $as_echo_n "checking
for $ac_word...
" >&6; }
11643 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11644 $as_echo_n "(cached
) " >&6
11646 if test -n "$LD_FOR_TARGET"; then
11647 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11650 for as_dir in $PATH
11653 test -z "$as_dir" && as_dir=.
11654 for ac_exec_ext in '' $ac_executable_extensions; do
11655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11656 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11666 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11667 if test -n "$LD_FOR_TARGET"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11669 $as_echo "$LD_FOR_TARGET" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11672 $as_echo "no
" >&6; }
11677 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11679 set dummy ${ncn_progname}; ac_word=$2
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11681 $as_echo_n "checking
for $ac_word...
" >&6; }
11682 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11683 $as_echo_n "(cached
) " >&6
11685 if test -n "$LD_FOR_TARGET"; then
11686 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11689 for as_dir in $PATH
11692 test -z "$as_dir" && as_dir=.
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11695 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11705 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11706 if test -n "$LD_FOR_TARGET"; then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11708 $as_echo "$LD_FOR_TARGET" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11711 $as_echo "no
" >&6; }
11716 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11720 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11722 if test $build = $target ; then
11725 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11728 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11732 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11738 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11739 if test -n "$with_build_time_tools"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11741 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11742 if test -x $with_build_time_tools/lipo; then
11743 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11744 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11746 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11749 $as_echo "no
" >&6; }
11751 elif test $build != $host && test $have_gcc_for_target = yes; then
11752 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11753 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11754 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11757 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11758 # Extract the first word of "lipo
", so it can be a program name with args.
11759 set dummy lipo; ac_word=$2
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11761 $as_echo_n "checking
for $ac_word...
" >&6; }
11762 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11763 $as_echo_n "(cached
) " >&6
11765 case $LIPO_FOR_TARGET in
11767 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771 for as_dir in $gcc_cv_tool_dirs
11774 test -z "$as_dir" && as_dir=.
11775 for ac_exec_ext in '' $ac_executable_extensions; do
11776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11777 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11778 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11788 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11789 if test -n "$LIPO_FOR_TARGET"; then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11791 $as_echo "$LIPO_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_path_LIPO_FOR_TARGET" ; then
11802 if test -n "$LIPO_FOR_TARGET"; then
11803 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11804 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11805 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11808 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11809 for ncn_progname in lipo; do
11810 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11811 set dummy ${ncn_progname}; ac_word=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11813 $as_echo_n "checking
for $ac_word...
" >&6; }
11814 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11815 $as_echo_n "(cached
) " >&6
11817 if test -n "$LIPO_FOR_TARGET"; then
11818 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11824 test -z "$as_dir" && as_dir=.
11825 for ac_exec_ext in '' $ac_executable_extensions; do
11826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11827 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11837 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11838 if test -n "$LIPO_FOR_TARGET"; then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11840 $as_echo "$LIPO_FOR_TARGET" >&6; }
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11843 $as_echo "no
" >&6; }
11850 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11851 for ncn_progname in lipo; do
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11853 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11854 if test -x $with_build_time_tools/${ncn_progname}; then
11855 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11857 $as_echo "yes" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11861 $as_echo "no
" >&6; }
11866 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11867 for ncn_progname in lipo; do
11868 if test -n "$ncn_target_tool_prefix"; then
11869 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11870 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11872 $as_echo_n "checking
for $ac_word...
" >&6; }
11873 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11874 $as_echo_n "(cached
) " >&6
11876 if test -n "$LIPO_FOR_TARGET"; then
11877 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in $PATH
11883 test -z "$as_dir" && as_dir=.
11884 for ac_exec_ext in '' $ac_executable_extensions; do
11885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11886 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11896 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11897 if test -n "$LIPO_FOR_TARGET"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11899 $as_echo "$LIPO_FOR_TARGET" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11902 $as_echo "no
" >&6; }
11907 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11908 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11909 set dummy ${ncn_progname}; ac_word=$2
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11911 $as_echo_n "checking
for $ac_word...
" >&6; }
11912 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11913 $as_echo_n "(cached
) " >&6
11915 if test -n "$LIPO_FOR_TARGET"; then
11916 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11919 for as_dir in $PATH
11922 test -z "$as_dir" && as_dir=.
11923 for ac_exec_ext in '' $ac_executable_extensions; do
11924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11925 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11935 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11936 if test -n "$LIPO_FOR_TARGET"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11938 $as_echo "$LIPO_FOR_TARGET" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11941 $as_echo "no
" >&6; }
11946 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11950 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11952 if test $build = $target ; then
11953 LIPO_FOR_TARGET="$2"
11955 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11958 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11962 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11968 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11969 if test -n "$with_build_time_tools"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11971 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11972 if test -x $with_build_time_tools/nm; then
11973 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11974 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11976 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11979 $as_echo "no
" >&6; }
11981 elif test $build != $host && test $have_gcc_for_target = yes; then
11982 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11983 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11984 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11987 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11988 # Extract the first word of "nm
", so it can be a program name with args.
11989 set dummy nm; ac_word=$2
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11991 $as_echo_n "checking
for $ac_word...
" >&6; }
11992 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11993 $as_echo_n "(cached
) " >&6
11995 case $NM_FOR_TARGET in
11997 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001 for as_dir in $gcc_cv_tool_dirs
12004 test -z "$as_dir" && as_dir=.
12005 for ac_exec_ext in '' $ac_executable_extensions; do
12006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12007 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12018 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12019 if test -n "$NM_FOR_TARGET"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12021 $as_echo "$NM_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_path_NM_FOR_TARGET" ; then
12032 if test -n "$NM_FOR_TARGET"; then
12033 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12034 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12035 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12038 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12039 for ncn_progname in nm; do
12040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12041 set dummy ${ncn_progname}; ac_word=$2
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12043 $as_echo_n "checking
for $ac_word...
" >&6; }
12044 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12045 $as_echo_n "(cached
) " >&6
12047 if test -n "$NM_FOR_TARGET"; then
12048 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12051 for as_dir in $PATH
12054 test -z "$as_dir" && as_dir=.
12055 for ac_exec_ext in '' $ac_executable_extensions; do
12056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12057 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12067 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12068 if test -n "$NM_FOR_TARGET"; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12070 $as_echo "$NM_FOR_TARGET" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12073 $as_echo "no
" >&6; }
12080 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12081 for ncn_progname in nm; do
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12083 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12084 if test -x $with_build_time_tools/${ncn_progname}; then
12085 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12087 $as_echo "yes" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12091 $as_echo "no
" >&6; }
12096 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12097 for ncn_progname in nm; do
12098 if test -n "$ncn_target_tool_prefix"; then
12099 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12100 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12102 $as_echo_n "checking
for $ac_word...
" >&6; }
12103 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12104 $as_echo_n "(cached
) " >&6
12106 if test -n "$NM_FOR_TARGET"; then
12107 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12116 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12126 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12127 if test -n "$NM_FOR_TARGET"; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12129 $as_echo "$NM_FOR_TARGET" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12132 $as_echo "no
" >&6; }
12137 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12139 set dummy ${ncn_progname}; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12141 $as_echo_n "checking
for $ac_word...
" >&6; }
12142 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12143 $as_echo_n "(cached
) " >&6
12145 if test -n "$NM_FOR_TARGET"; then
12146 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12155 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12165 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12166 if test -n "$NM_FOR_TARGET"; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12168 $as_echo "$NM_FOR_TARGET" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12171 $as_echo "no
" >&6; }
12176 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12180 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12182 if test $build = $target ; then
12185 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12188 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12192 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12198 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12199 if test -n "$with_build_time_tools"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12201 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12202 if test -x $with_build_time_tools/objcopy; then
12203 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12204 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12206 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12209 $as_echo "no
" >&6; }
12211 elif test $build != $host && test $have_gcc_for_target = yes; then
12212 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12213 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12214 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12217 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12218 # Extract the first word of "objcopy
", so it can be a program name with args.
12219 set dummy objcopy; ac_word=$2
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12221 $as_echo_n "checking
for $ac_word...
" >&6; }
12222 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12223 $as_echo_n "(cached
) " >&6
12225 case $OBJCOPY_FOR_TARGET in
12227 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12231 for as_dir in $gcc_cv_tool_dirs
12234 test -z "$as_dir" && as_dir=.
12235 for ac_exec_ext in '' $ac_executable_extensions; do
12236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12237 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12248 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12249 if test -n "$OBJCOPY_FOR_TARGET"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12251 $as_echo "$OBJCOPY_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_path_OBJCOPY_FOR_TARGET" ; then
12262 if test -n "$OBJCOPY_FOR_TARGET"; then
12263 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12264 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12265 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12268 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12269 for ncn_progname in objcopy; do
12270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12271 set dummy ${ncn_progname}; ac_word=$2
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12273 $as_echo_n "checking
for $ac_word...
" >&6; }
12274 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12275 $as_echo_n "(cached
) " >&6
12277 if test -n "$OBJCOPY_FOR_TARGET"; then
12278 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12281 for as_dir in $PATH
12284 test -z "$as_dir" && as_dir=.
12285 for ac_exec_ext in '' $ac_executable_extensions; do
12286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12287 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12297 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12298 if test -n "$OBJCOPY_FOR_TARGET"; then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12300 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12303 $as_echo "no
" >&6; }
12310 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12311 for ncn_progname in objcopy; do
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12313 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12314 if test -x $with_build_time_tools/${ncn_progname}; then
12315 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12317 $as_echo "yes" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12321 $as_echo "no
" >&6; }
12326 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12327 for ncn_progname in objcopy; do
12328 if test -n "$ncn_target_tool_prefix"; then
12329 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12330 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12332 $as_echo_n "checking
for $ac_word...
" >&6; }
12333 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12334 $as_echo_n "(cached
) " >&6
12336 if test -n "$OBJCOPY_FOR_TARGET"; then
12337 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12346 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12356 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12357 if test -n "$OBJCOPY_FOR_TARGET"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12359 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12362 $as_echo "no
" >&6; }
12367 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12369 set dummy ${ncn_progname}; ac_word=$2
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12371 $as_echo_n "checking
for $ac_word...
" >&6; }
12372 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12373 $as_echo_n "(cached
) " >&6
12375 if test -n "$OBJCOPY_FOR_TARGET"; then
12376 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12379 for as_dir in $PATH
12382 test -z "$as_dir" && as_dir=.
12383 for ac_exec_ext in '' $ac_executable_extensions; do
12384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12385 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12395 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12396 if test -n "$OBJCOPY_FOR_TARGET"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12398 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12401 $as_echo "no
" >&6; }
12406 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12410 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12412 if test $build = $target ; then
12413 OBJCOPY_FOR_TARGET="$2"
12415 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12418 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12422 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12428 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12429 if test -n "$with_build_time_tools"; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12431 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12432 if test -x $with_build_time_tools/objdump; then
12433 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12434 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12436 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12439 $as_echo "no
" >&6; }
12441 elif test $build != $host && test $have_gcc_for_target = yes; then
12442 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12443 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12444 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12447 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12448 # Extract the first word of "objdump
", so it can be a program name with args.
12449 set dummy objdump; ac_word=$2
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12451 $as_echo_n "checking
for $ac_word...
" >&6; }
12452 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12453 $as_echo_n "(cached
) " >&6
12455 case $OBJDUMP_FOR_TARGET in
12457 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12461 for as_dir in $gcc_cv_tool_dirs
12464 test -z "$as_dir" && as_dir=.
12465 for ac_exec_ext in '' $ac_executable_extensions; do
12466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12467 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12478 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12479 if test -n "$OBJDUMP_FOR_TARGET"; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12481 $as_echo "$OBJDUMP_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_path_OBJDUMP_FOR_TARGET" ; then
12492 if test -n "$OBJDUMP_FOR_TARGET"; then
12493 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12494 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12495 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12498 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12499 for ncn_progname in objdump; do
12500 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12501 set dummy ${ncn_progname}; ac_word=$2
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12503 $as_echo_n "checking
for $ac_word...
" >&6; }
12504 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12505 $as_echo_n "(cached
) " >&6
12507 if test -n "$OBJDUMP_FOR_TARGET"; then
12508 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12511 for as_dir in $PATH
12514 test -z "$as_dir" && as_dir=.
12515 for ac_exec_ext in '' $ac_executable_extensions; do
12516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12517 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12527 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12528 if test -n "$OBJDUMP_FOR_TARGET"; then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12530 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12533 $as_echo "no
" >&6; }
12540 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12541 for ncn_progname in objdump; do
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12543 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12544 if test -x $with_build_time_tools/${ncn_progname}; then
12545 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12547 $as_echo "yes" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12551 $as_echo "no
" >&6; }
12556 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12557 for ncn_progname in objdump; do
12558 if test -n "$ncn_target_tool_prefix"; then
12559 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12560 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12562 $as_echo_n "checking
for $ac_word...
" >&6; }
12563 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12564 $as_echo_n "(cached
) " >&6
12566 if test -n "$OBJDUMP_FOR_TARGET"; then
12567 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12570 for as_dir in $PATH
12573 test -z "$as_dir" && as_dir=.
12574 for ac_exec_ext in '' $ac_executable_extensions; do
12575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12576 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12586 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12587 if test -n "$OBJDUMP_FOR_TARGET"; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12589 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12592 $as_echo "no
" >&6; }
12597 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12599 set dummy ${ncn_progname}; ac_word=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12601 $as_echo_n "checking
for $ac_word...
" >&6; }
12602 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12603 $as_echo_n "(cached
) " >&6
12605 if test -n "$OBJDUMP_FOR_TARGET"; then
12606 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12609 for as_dir in $PATH
12612 test -z "$as_dir" && as_dir=.
12613 for ac_exec_ext in '' $ac_executable_extensions; do
12614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12615 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12625 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12626 if test -n "$OBJDUMP_FOR_TARGET"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12628 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12631 $as_echo "no
" >&6; }
12636 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12640 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12642 if test $build = $target ; then
12643 OBJDUMP_FOR_TARGET="$2"
12645 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12648 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12652 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12658 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12659 if test -n "$with_build_time_tools"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12661 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12662 if test -x $with_build_time_tools/ranlib; then
12663 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12664 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12666 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12669 $as_echo "no
" >&6; }
12671 elif test $build != $host && test $have_gcc_for_target = yes; then
12672 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12673 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12674 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12677 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12678 # Extract the first word of "ranlib
", so it can be a program name with args.
12679 set dummy ranlib; ac_word=$2
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12681 $as_echo_n "checking
for $ac_word...
" >&6; }
12682 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12683 $as_echo_n "(cached
) " >&6
12685 case $RANLIB_FOR_TARGET in
12687 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12691 for as_dir in $gcc_cv_tool_dirs
12694 test -z "$as_dir" && as_dir=.
12695 for ac_exec_ext in '' $ac_executable_extensions; do
12696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12697 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12708 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12709 if test -n "$RANLIB_FOR_TARGET"; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12711 $as_echo "$RANLIB_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_path_RANLIB_FOR_TARGET" ; then
12722 if test -n "$RANLIB_FOR_TARGET"; then
12723 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12724 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12725 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12728 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12729 for ncn_progname in ranlib; do
12730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12731 set dummy ${ncn_progname}; ac_word=$2
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12733 $as_echo_n "checking
for $ac_word...
" >&6; }
12734 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12735 $as_echo_n "(cached
) " >&6
12737 if test -n "$RANLIB_FOR_TARGET"; then
12738 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741 for as_dir in $PATH
12744 test -z "$as_dir" && as_dir=.
12745 for ac_exec_ext in '' $ac_executable_extensions; do
12746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12757 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12758 if test -n "$RANLIB_FOR_TARGET"; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12760 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12763 $as_echo "no
" >&6; }
12770 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12771 for ncn_progname in ranlib; do
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12773 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12774 if test -x $with_build_time_tools/${ncn_progname}; then
12775 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12777 $as_echo "yes" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12781 $as_echo "no
" >&6; }
12786 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12787 for ncn_progname in ranlib; do
12788 if test -n "$ncn_target_tool_prefix"; then
12789 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12790 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12792 $as_echo_n "checking
for $ac_word...
" >&6; }
12793 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12794 $as_echo_n "(cached
) " >&6
12796 if test -n "$RANLIB_FOR_TARGET"; then
12797 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12800 for as_dir in $PATH
12803 test -z "$as_dir" && as_dir=.
12804 for ac_exec_ext in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12816 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12817 if test -n "$RANLIB_FOR_TARGET"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12819 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12822 $as_echo "no
" >&6; }
12827 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12829 set dummy ${ncn_progname}; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12831 $as_echo_n "checking
for $ac_word...
" >&6; }
12832 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12833 $as_echo_n "(cached
) " >&6
12835 if test -n "$RANLIB_FOR_TARGET"; then
12836 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12839 for as_dir in $PATH
12842 test -z "$as_dir" && as_dir=.
12843 for ac_exec_ext in '' $ac_executable_extensions; do
12844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12845 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12855 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12856 if test -n "$RANLIB_FOR_TARGET"; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12858 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12861 $as_echo "no
" >&6; }
12866 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12870 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12872 if test $build = $target ; then
12873 RANLIB_FOR_TARGET="$2"
12875 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12878 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12882 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12888 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12889 if test -n "$with_build_time_tools"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12891 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12892 if test -x $with_build_time_tools/readelf; then
12893 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12894 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12896 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12899 $as_echo "no
" >&6; }
12901 elif test $build != $host && test $have_gcc_for_target = yes; then
12902 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12903 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12904 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12907 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12908 # Extract the first word of "readelf
", so it can be a program name with args.
12909 set dummy readelf; ac_word=$2
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12911 $as_echo_n "checking
for $ac_word...
" >&6; }
12912 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12913 $as_echo_n "(cached
) " >&6
12915 case $READELF_FOR_TARGET in
12917 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12921 for as_dir in $gcc_cv_tool_dirs
12924 test -z "$as_dir" && as_dir=.
12925 for ac_exec_ext in '' $ac_executable_extensions; do
12926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12927 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12938 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12939 if test -n "$READELF_FOR_TARGET"; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12941 $as_echo "$READELF_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_path_READELF_FOR_TARGET" ; then
12952 if test -n "$READELF_FOR_TARGET"; then
12953 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12954 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12955 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12958 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12959 for ncn_progname in readelf; do
12960 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12961 set dummy ${ncn_progname}; ac_word=$2
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12963 $as_echo_n "checking
for $ac_word...
" >&6; }
12964 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12965 $as_echo_n "(cached
) " >&6
12967 if test -n "$READELF_FOR_TARGET"; then
12968 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12971 for as_dir in $PATH
12974 test -z "$as_dir" && as_dir=.
12975 for ac_exec_ext in '' $ac_executable_extensions; do
12976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12977 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12987 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12988 if test -n "$READELF_FOR_TARGET"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12990 $as_echo "$READELF_FOR_TARGET" >&6; }
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12993 $as_echo "no
" >&6; }
13000 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13001 for ncn_progname in readelf; do
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13003 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13004 if test -x $with_build_time_tools/${ncn_progname}; then
13005 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13007 $as_echo "yes" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13011 $as_echo "no
" >&6; }
13016 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13017 for ncn_progname in readelf; do
13018 if test -n "$ncn_target_tool_prefix"; then
13019 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13020 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13022 $as_echo_n "checking
for $ac_word...
" >&6; }
13023 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13024 $as_echo_n "(cached
) " >&6
13026 if test -n "$READELF_FOR_TARGET"; then
13027 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13033 test -z "$as_dir" && as_dir=.
13034 for ac_exec_ext in '' $ac_executable_extensions; do
13035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13036 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13046 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13047 if test -n "$READELF_FOR_TARGET"; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13049 $as_echo "$READELF_FOR_TARGET" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13052 $as_echo "no
" >&6; }
13057 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13059 set dummy ${ncn_progname}; ac_word=$2
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13061 $as_echo_n "checking
for $ac_word...
" >&6; }
13062 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13063 $as_echo_n "(cached
) " >&6
13065 if test -n "$READELF_FOR_TARGET"; then
13066 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13072 test -z "$as_dir" && as_dir=.
13073 for ac_exec_ext in '' $ac_executable_extensions; do
13074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13075 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13085 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13086 if test -n "$READELF_FOR_TARGET"; then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13088 $as_echo "$READELF_FOR_TARGET" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13091 $as_echo "no
" >&6; }
13096 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13100 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13102 if test $build = $target ; then
13103 READELF_FOR_TARGET="$2"
13105 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13108 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13112 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13118 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13119 if test -n "$with_build_time_tools"; then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13121 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13122 if test -x $with_build_time_tools/strip; then
13123 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13124 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13126 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13129 $as_echo "no
" >&6; }
13131 elif test $build != $host && test $have_gcc_for_target = yes; then
13132 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13133 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13134 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13137 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13138 # Extract the first word of "strip
", so it can be a program name with args.
13139 set dummy strip; ac_word=$2
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13141 $as_echo_n "checking
for $ac_word...
" >&6; }
13142 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13143 $as_echo_n "(cached
) " >&6
13145 case $STRIP_FOR_TARGET in
13147 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $gcc_cv_tool_dirs
13154 test -z "$as_dir" && as_dir=.
13155 for ac_exec_ext in '' $ac_executable_extensions; do
13156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13157 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13168 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13169 if test -n "$STRIP_FOR_TARGET"; then
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13171 $as_echo "$STRIP_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_path_STRIP_FOR_TARGET" ; then
13182 if test -n "$STRIP_FOR_TARGET"; then
13183 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13184 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13185 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13188 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13189 for ncn_progname in strip; do
13190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13191 set dummy ${ncn_progname}; ac_word=$2
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13193 $as_echo_n "checking
for $ac_word...
" >&6; }
13194 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13195 $as_echo_n "(cached
) " >&6
13197 if test -n "$STRIP_FOR_TARGET"; then
13198 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13201 for as_dir in $PATH
13204 test -z "$as_dir" && as_dir=.
13205 for ac_exec_ext in '' $ac_executable_extensions; do
13206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13207 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13217 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13218 if test -n "$STRIP_FOR_TARGET"; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13220 $as_echo "$STRIP_FOR_TARGET" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13223 $as_echo "no
" >&6; }
13230 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13231 for ncn_progname in strip; do
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13233 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13234 if test -x $with_build_time_tools/${ncn_progname}; then
13235 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13237 $as_echo "yes" >&6; }
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13241 $as_echo "no
" >&6; }
13246 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13247 for ncn_progname in strip; do
13248 if test -n "$ncn_target_tool_prefix"; then
13249 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13250 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13252 $as_echo_n "checking
for $ac_word...
" >&6; }
13253 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13254 $as_echo_n "(cached
) " >&6
13256 if test -n "$STRIP_FOR_TARGET"; then
13257 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13260 for as_dir in $PATH
13263 test -z "$as_dir" && as_dir=.
13264 for ac_exec_ext in '' $ac_executable_extensions; do
13265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13266 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13276 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13277 if test -n "$STRIP_FOR_TARGET"; then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13279 $as_echo "$STRIP_FOR_TARGET" >&6; }
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13282 $as_echo "no
" >&6; }
13287 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13289 set dummy ${ncn_progname}; ac_word=$2
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13291 $as_echo_n "checking
for $ac_word...
" >&6; }
13292 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13293 $as_echo_n "(cached
) " >&6
13295 if test -n "$STRIP_FOR_TARGET"; then
13296 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13299 for as_dir in $PATH
13302 test -z "$as_dir" && as_dir=.
13303 for ac_exec_ext in '' $ac_executable_extensions; do
13304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13305 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13315 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13316 if test -n "$STRIP_FOR_TARGET"; then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13318 $as_echo "$STRIP_FOR_TARGET" >&6; }
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13321 $as_echo "no
" >&6; }
13326 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13330 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13332 if test $build = $target ; then
13333 STRIP_FOR_TARGET="$2"
13335 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13338 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13342 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13348 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13349 if test -n "$with_build_time_tools"; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13351 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13352 if test -x $with_build_time_tools/windres; then
13353 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13354 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13356 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13359 $as_echo "no
" >&6; }
13361 elif test $build != $host && test $have_gcc_for_target = yes; then
13362 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13363 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13364 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13367 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13368 # Extract the first word of "windres
", so it can be a program name with args.
13369 set dummy windres; ac_word=$2
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13371 $as_echo_n "checking
for $ac_word...
" >&6; }
13372 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13373 $as_echo_n "(cached
) " >&6
13375 case $WINDRES_FOR_TARGET in
13377 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13381 for as_dir in $gcc_cv_tool_dirs
13384 test -z "$as_dir" && as_dir=.
13385 for ac_exec_ext in '' $ac_executable_extensions; do
13386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13387 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13398 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13399 if test -n "$WINDRES_FOR_TARGET"; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13401 $as_echo "$WINDRES_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_path_WINDRES_FOR_TARGET" ; then
13412 if test -n "$WINDRES_FOR_TARGET"; then
13413 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13414 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13415 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13418 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13419 for ncn_progname in windres; do
13420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13421 set dummy ${ncn_progname}; ac_word=$2
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13423 $as_echo_n "checking
for $ac_word...
" >&6; }
13424 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13425 $as_echo_n "(cached
) " >&6
13427 if test -n "$WINDRES_FOR_TARGET"; then
13428 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13431 for as_dir in $PATH
13434 test -z "$as_dir" && as_dir=.
13435 for ac_exec_ext in '' $ac_executable_extensions; do
13436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13437 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13447 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13448 if test -n "$WINDRES_FOR_TARGET"; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13450 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13453 $as_echo "no
" >&6; }
13460 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13461 for ncn_progname in windres; do
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13463 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13464 if test -x $with_build_time_tools/${ncn_progname}; then
13465 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13467 $as_echo "yes" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13471 $as_echo "no
" >&6; }
13476 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13477 for ncn_progname in windres; do
13478 if test -n "$ncn_target_tool_prefix"; then
13479 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13480 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13482 $as_echo_n "checking
for $ac_word...
" >&6; }
13483 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13484 $as_echo_n "(cached
) " >&6
13486 if test -n "$WINDRES_FOR_TARGET"; then
13487 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490 for as_dir in $PATH
13493 test -z "$as_dir" && as_dir=.
13494 for ac_exec_ext in '' $ac_executable_extensions; do
13495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13496 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13506 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13507 if test -n "$WINDRES_FOR_TARGET"; then
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13509 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13512 $as_echo "no
" >&6; }
13517 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13519 set dummy ${ncn_progname}; ac_word=$2
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13521 $as_echo_n "checking
for $ac_word...
" >&6; }
13522 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13523 $as_echo_n "(cached
) " >&6
13525 if test -n "$WINDRES_FOR_TARGET"; then
13526 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13529 for as_dir in $PATH
13532 test -z "$as_dir" && as_dir=.
13533 for ac_exec_ext in '' $ac_executable_extensions; do
13534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13535 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13545 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13546 if test -n "$WINDRES_FOR_TARGET"; then
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13548 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13551 $as_echo "no
" >&6; }
13556 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13560 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13562 if test $build = $target ; then
13563 WINDRES_FOR_TARGET="$2"
13565 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13568 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13572 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13578 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13579 if test -n "$with_build_time_tools"; then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13581 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13582 if test -x $with_build_time_tools/windmc; then
13583 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13584 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13586 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13589 $as_echo "no
" >&6; }
13591 elif test $build != $host && test $have_gcc_for_target = yes; then
13592 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13593 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13594 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13597 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13598 # Extract the first word of "windmc
", so it can be a program name with args.
13599 set dummy windmc; ac_word=$2
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13601 $as_echo_n "checking
for $ac_word...
" >&6; }
13602 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13603 $as_echo_n "(cached
) " >&6
13605 case $WINDMC_FOR_TARGET in
13607 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13611 for as_dir in $gcc_cv_tool_dirs
13614 test -z "$as_dir" && as_dir=.
13615 for ac_exec_ext in '' $ac_executable_extensions; do
13616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13617 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13628 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13629 if test -n "$WINDMC_FOR_TARGET"; then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13631 $as_echo "$WINDMC_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_path_WINDMC_FOR_TARGET" ; then
13642 if test -n "$WINDMC_FOR_TARGET"; then
13643 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13644 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13645 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13648 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13649 for ncn_progname in windmc; do
13650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13651 set dummy ${ncn_progname}; ac_word=$2
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13653 $as_echo_n "checking
for $ac_word...
" >&6; }
13654 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13655 $as_echo_n "(cached
) " >&6
13657 if test -n "$WINDMC_FOR_TARGET"; then
13658 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13661 for as_dir in $PATH
13664 test -z "$as_dir" && as_dir=.
13665 for ac_exec_ext in '' $ac_executable_extensions; do
13666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13667 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13677 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13678 if test -n "$WINDMC_FOR_TARGET"; then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13680 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13683 $as_echo "no
" >&6; }
13690 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13691 for ncn_progname in windmc; do
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13693 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13694 if test -x $with_build_time_tools/${ncn_progname}; then
13695 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13697 $as_echo "yes" >&6; }
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13701 $as_echo "no
" >&6; }
13706 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13707 for ncn_progname in windmc; do
13708 if test -n "$ncn_target_tool_prefix"; then
13709 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13710 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13712 $as_echo_n "checking
for $ac_word...
" >&6; }
13713 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13714 $as_echo_n "(cached
) " >&6
13716 if test -n "$WINDMC_FOR_TARGET"; then
13717 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13720 for as_dir in $PATH
13723 test -z "$as_dir" && as_dir=.
13724 for ac_exec_ext in '' $ac_executable_extensions; do
13725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13726 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13736 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13737 if test -n "$WINDMC_FOR_TARGET"; then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13739 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13742 $as_echo "no
" >&6; }
13747 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13749 set dummy ${ncn_progname}; ac_word=$2
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13751 $as_echo_n "checking
for $ac_word...
" >&6; }
13752 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13753 $as_echo_n "(cached
) " >&6
13755 if test -n "$WINDMC_FOR_TARGET"; then
13756 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13759 for as_dir in $PATH
13762 test -z "$as_dir" && as_dir=.
13763 for ac_exec_ext in '' $ac_executable_extensions; do
13764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13765 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13775 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13776 if test -n "$WINDMC_FOR_TARGET"; then
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13778 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13781 $as_echo "no
" >&6; }
13786 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13790 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13792 if test $build = $target ; then
13793 WINDMC_FOR_TARGET="$2"
13795 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13798 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13802 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13806 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13809 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13810 if test "x
${build}" != "x
${host}" ; then
13811 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13812 # We already found the complete path
13813 ac_dir=`dirname $AR_FOR_TARGET`
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13815 $as_echo "pre-installed
in $ac_dir" >&6; }
13817 # Canadian cross, just use what we found
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13819 $as_echo "pre-installed
" >&6; }
13823 case " ${configdirs} " in
13828 if test $ok = yes; then
13829 # An in-tree tool is available and we can use it
13830 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13832 $as_echo "just compiled
" >&6; }
13833 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13834 # We already found the complete path
13835 ac_dir=`dirname $AR_FOR_TARGET`
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13837 $as_echo "pre-installed
in $ac_dir" >&6; }
13838 elif test "x
$target" = "x
$host"; then
13839 # We can use an host tool
13840 AR_FOR_TARGET='$(AR)'
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13842 $as_echo "host tool
" >&6; }
13844 # We need a cross tool
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13846 $as_echo "pre-installed
" >&6; }
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13851 $as_echo_n "checking where to
find the target as...
" >&6; }
13852 if test "x
${build}" != "x
${host}" ; then
13853 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13854 # We already found the complete path
13855 ac_dir=`dirname $AS_FOR_TARGET`
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13857 $as_echo "pre-installed
in $ac_dir" >&6; }
13859 # Canadian cross, just use what we found
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13861 $as_echo "pre-installed
" >&6; }
13865 case " ${configdirs} " in
13870 if test $ok = yes; then
13871 # An in-tree tool is available and we can use it
13872 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13874 $as_echo "just compiled
" >&6; }
13875 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13876 # We already found the complete path
13877 ac_dir=`dirname $AS_FOR_TARGET`
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13879 $as_echo "pre-installed
in $ac_dir" >&6; }
13880 elif test "x
$target" = "x
$host"; then
13881 # We can use an host tool
13882 AS_FOR_TARGET='$(AS)'
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13884 $as_echo "host tool
" >&6; }
13886 # We need a cross tool
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13888 $as_echo "pre-installed
" >&6; }
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13893 $as_echo_n "checking where to
find the target cc...
" >&6; }
13894 if test "x
${build}" != "x
${host}" ; then
13895 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13896 # We already found the complete path
13897 ac_dir=`dirname $CC_FOR_TARGET`
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13899 $as_echo "pre-installed
in $ac_dir" >&6; }
13901 # Canadian cross, just use what we found
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13903 $as_echo "pre-installed
" >&6; }
13907 case " ${configdirs} " in
13912 if test $ok = yes; then
13913 # An in-tree tool is available and we can use it
13914 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13916 $as_echo "just compiled
" >&6; }
13917 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13918 # We already found the complete path
13919 ac_dir=`dirname $CC_FOR_TARGET`
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13921 $as_echo "pre-installed
in $ac_dir" >&6; }
13922 elif test "x
$target" = "x
$host"; then
13923 # We can use an host tool
13924 CC_FOR_TARGET='$(CC)'
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13926 $as_echo "host tool
" >&6; }
13928 # We need a cross tool
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13930 $as_echo "pre-installed
" >&6; }
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13935 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13936 if test "x
${build}" != "x
${host}" ; then
13937 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13938 # We already found the complete path
13939 ac_dir=`dirname $CXX_FOR_TARGET`
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13941 $as_echo "pre-installed
in $ac_dir" >&6; }
13943 # Canadian cross, just use what we found
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13945 $as_echo "pre-installed
" >&6; }
13949 case " ${configdirs} " in
13953 case ,${enable_languages}, in
13957 if test $ok = yes; then
13958 # An in-tree tool is available and we can use it
13959 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'
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13961 $as_echo "just compiled
" >&6; }
13962 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13963 # We already found the complete path
13964 ac_dir=`dirname $CXX_FOR_TARGET`
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13966 $as_echo "pre-installed
in $ac_dir" >&6; }
13967 elif test "x
$target" = "x
$host"; then
13968 # We can use an host tool
13969 CXX_FOR_TARGET='$(CXX)'
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13971 $as_echo "host tool
" >&6; }
13973 # We need a cross tool
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13975 $as_echo "pre-installed
" >&6; }
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13980 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13981 if test "x
${build}" != "x
${host}" ; then
13982 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13983 # We already found the complete path
13984 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13986 $as_echo "pre-installed
in $ac_dir" >&6; }
13988 # Canadian cross, just use what we found
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13990 $as_echo "pre-installed
" >&6; }
13994 case " ${configdirs} " in
13998 case ,${enable_languages}, in
14002 if test $ok = yes; then
14003 # An in-tree tool is available and we can use it
14004 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'
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14006 $as_echo "just compiled
" >&6; }
14007 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14008 # We already found the complete path
14009 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14011 $as_echo "pre-installed
in $ac_dir" >&6; }
14012 elif test "x
$target" = "x
$host"; then
14013 # We can use an host tool
14014 RAW_CXX_FOR_TARGET='$(CXX)'
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14016 $as_echo "host tool
" >&6; }
14018 # We need a cross tool
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14020 $as_echo "pre-installed
" >&6; }
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14025 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14026 if test "x
${build}" != "x
${host}" ; then
14027 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14028 # We already found the complete path
14029 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14031 $as_echo "pre-installed
in $ac_dir" >&6; }
14033 # Canadian cross, just use what we found
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14035 $as_echo "pre-installed
" >&6; }
14039 case " ${configdirs} " in
14044 if test $ok = yes; then
14045 # An in-tree tool is available and we can use it
14046 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14048 $as_echo "just compiled
" >&6; }
14049 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14050 # We already found the complete path
14051 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14053 $as_echo "pre-installed
in $ac_dir" >&6; }
14054 elif test "x
$target" = "x
$host"; then
14055 # We can use an host tool
14056 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14058 $as_echo "host tool
" >&6; }
14060 # We need a cross tool
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14062 $as_echo "pre-installed
" >&6; }
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14067 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14068 if test "x
${build}" != "x
${host}" ; then
14069 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14070 # We already found the complete path
14071 ac_dir=`dirname $GCC_FOR_TARGET`
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14073 $as_echo "pre-installed
in $ac_dir" >&6; }
14075 # Canadian cross, just use what we found
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14077 $as_echo "pre-installed
" >&6; }
14081 case " ${configdirs} " in
14086 if test $ok = yes; then
14087 # An in-tree tool is available and we can use it
14088 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14090 $as_echo "just compiled
" >&6; }
14091 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14092 # We already found the complete path
14093 ac_dir=`dirname $GCC_FOR_TARGET`
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14095 $as_echo "pre-installed
in $ac_dir" >&6; }
14096 elif test "x
$target" = "x
$host"; then
14097 # We can use an host tool
14098 GCC_FOR_TARGET='$()'
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14100 $as_echo "host tool
" >&6; }
14102 # We need a cross tool
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14104 $as_echo "pre-installed
" >&6; }
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14109 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14110 if test "x
${build}" != "x
${host}" ; then
14111 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14112 # We already found the complete path
14113 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14115 $as_echo "pre-installed
in $ac_dir" >&6; }
14117 # Canadian cross, just use what we found
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14119 $as_echo "pre-installed
" >&6; }
14123 case " ${configdirs} " in
14127 case ,${enable_languages}, in
14131 if test $ok = yes; then
14132 # An in-tree tool is available and we can use it
14133 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14135 $as_echo "just compiled
" >&6; }
14136 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14137 # We already found the complete path
14138 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14140 $as_echo "pre-installed
in $ac_dir" >&6; }
14141 elif test "x
$target" = "x
$host"; then
14142 # We can use an host tool
14143 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14145 $as_echo "host tool
" >&6; }
14147 # We need a cross tool
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14149 $as_echo "pre-installed
" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14154 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14155 if test "x
${build}" != "x
${host}" ; then
14156 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14157 # We already found the complete path
14158 ac_dir=`dirname $GOC_FOR_TARGET`
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14160 $as_echo "pre-installed
in $ac_dir" >&6; }
14162 # Canadian cross, just use what we found
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14164 $as_echo "pre-installed
" >&6; }
14168 case " ${configdirs} " in
14172 case ,${enable_languages}, in
14176 if test $ok = yes; then
14177 # An in-tree tool is available and we can use it
14178 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14180 $as_echo "just compiled
" >&6; }
14181 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14182 # We already found the complete path
14183 ac_dir=`dirname $GOC_FOR_TARGET`
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14185 $as_echo "pre-installed
in $ac_dir" >&6; }
14186 elif test "x
$target" = "x
$host"; then
14187 # We can use an host tool
14188 GOC_FOR_TARGET='$(GOC)'
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14190 $as_echo "host tool
" >&6; }
14192 # We need a cross tool
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14194 $as_echo "pre-installed
" >&6; }
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14199 $as_echo_n "checking where to
find the target ld...
" >&6; }
14200 if test "x
${build}" != "x
${host}" ; then
14201 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14202 # We already found the complete path
14203 ac_dir=`dirname $LD_FOR_TARGET`
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14205 $as_echo "pre-installed
in $ac_dir" >&6; }
14207 # Canadian cross, just use what we found
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14209 $as_echo "pre-installed
" >&6; }
14213 case " ${configdirs} " in
14218 if test $ok = yes; then
14219 # An in-tree tool is available and we can use it
14220 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14222 $as_echo "just compiled
" >&6; }
14223 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14224 # We already found the complete path
14225 ac_dir=`dirname $LD_FOR_TARGET`
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14227 $as_echo "pre-installed
in $ac_dir" >&6; }
14228 elif test "x
$target" = "x
$host"; then
14229 # We can use an host tool
14230 LD_FOR_TARGET='$(LD)'
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14232 $as_echo "host tool
" >&6; }
14234 # We need a cross tool
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14236 $as_echo "pre-installed
" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14241 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14242 if test "x
${build}" != "x
${host}" ; then
14243 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14244 # We already found the complete path
14245 ac_dir=`dirname $LIPO_FOR_TARGET`
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14247 $as_echo "pre-installed
in $ac_dir" >&6; }
14249 # Canadian cross, just use what we found
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14251 $as_echo "pre-installed
" >&6; }
14254 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14255 # We already found the complete path
14256 ac_dir=`dirname $LIPO_FOR_TARGET`
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14258 $as_echo "pre-installed
in $ac_dir" >&6; }
14259 elif test "x
$target" = "x
$host"; then
14260 # We can use an host tool
14261 LIPO_FOR_TARGET='$(LIPO)'
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14263 $as_echo "host tool
" >&6; }
14265 # We need a cross tool
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14267 $as_echo "pre-installed
" >&6; }
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14272 $as_echo_n "checking where to
find the target nm...
" >&6; }
14273 if test "x
${build}" != "x
${host}" ; then
14274 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14275 # We already found the complete path
14276 ac_dir=`dirname $NM_FOR_TARGET`
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14278 $as_echo "pre-installed
in $ac_dir" >&6; }
14280 # Canadian cross, just use what we found
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14282 $as_echo "pre-installed
" >&6; }
14286 case " ${configdirs} " in
14291 if test $ok = yes; then
14292 # An in-tree tool is available and we can use it
14293 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14295 $as_echo "just compiled
" >&6; }
14296 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14297 # We already found the complete path
14298 ac_dir=`dirname $NM_FOR_TARGET`
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14300 $as_echo "pre-installed
in $ac_dir" >&6; }
14301 elif test "x
$target" = "x
$host"; then
14302 # We can use an host tool
14303 NM_FOR_TARGET='$(NM)'
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14305 $as_echo "host tool
" >&6; }
14307 # We need a cross tool
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14309 $as_echo "pre-installed
" >&6; }
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14314 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14315 if test "x
${build}" != "x
${host}" ; then
14316 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14317 # We already found the complete path
14318 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14320 $as_echo "pre-installed
in $ac_dir" >&6; }
14322 # Canadian cross, just use what we found
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14324 $as_echo "pre-installed
" >&6; }
14328 case " ${configdirs} " in
14333 if test $ok = yes; then
14334 # An in-tree tool is available and we can use it
14335 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14337 $as_echo "just compiled
" >&6; }
14338 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14339 # We already found the complete path
14340 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14342 $as_echo "pre-installed
in $ac_dir" >&6; }
14343 elif test "x
$target" = "x
$host"; then
14344 # We can use an host tool
14345 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14347 $as_echo "host tool
" >&6; }
14349 # We need a cross tool
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14351 $as_echo "pre-installed
" >&6; }
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14356 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14357 if test "x
${build}" != "x
${host}" ; then
14358 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14359 # We already found the complete path
14360 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14362 $as_echo "pre-installed
in $ac_dir" >&6; }
14364 # Canadian cross, just use what we found
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14366 $as_echo "pre-installed
" >&6; }
14370 case " ${configdirs} " in
14375 if test $ok = yes; then
14376 # An in-tree tool is available and we can use it
14377 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14379 $as_echo "just compiled
" >&6; }
14380 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14381 # We already found the complete path
14382 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14384 $as_echo "pre-installed
in $ac_dir" >&6; }
14385 elif test "x
$target" = "x
$host"; then
14386 # We can use an host tool
14387 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14389 $as_echo "host tool
" >&6; }
14391 # We need a cross tool
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14393 $as_echo "pre-installed
" >&6; }
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14398 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14399 if test "x
${build}" != "x
${host}" ; then
14400 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14401 # We already found the complete path
14402 ac_dir=`dirname $RANLIB_FOR_TARGET`
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14404 $as_echo "pre-installed
in $ac_dir" >&6; }
14406 # Canadian cross, just use what we found
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14408 $as_echo "pre-installed
" >&6; }
14412 case " ${configdirs} " in
14417 if test $ok = yes; then
14418 # An in-tree tool is available and we can use it
14419 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14421 $as_echo "just compiled
" >&6; }
14422 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14423 # We already found the complete path
14424 ac_dir=`dirname $RANLIB_FOR_TARGET`
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14426 $as_echo "pre-installed
in $ac_dir" >&6; }
14427 elif test "x
$target" = "x
$host"; then
14428 # We can use an host tool
14429 RANLIB_FOR_TARGET='$(RANLIB)'
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14431 $as_echo "host tool
" >&6; }
14433 # We need a cross tool
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14435 $as_echo "pre-installed
" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14440 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14441 if test "x
${build}" != "x
${host}" ; then
14442 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14443 # We already found the complete path
14444 ac_dir=`dirname $READELF_FOR_TARGET`
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14446 $as_echo "pre-installed
in $ac_dir" >&6; }
14448 # Canadian cross, just use what we found
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14450 $as_echo "pre-installed
" >&6; }
14454 case " ${configdirs} " in
14459 if test $ok = yes; then
14460 # An in-tree tool is available and we can use it
14461 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14463 $as_echo "just compiled
" >&6; }
14464 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14465 # We already found the complete path
14466 ac_dir=`dirname $READELF_FOR_TARGET`
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14468 $as_echo "pre-installed
in $ac_dir" >&6; }
14469 elif test "x
$target" = "x
$host"; then
14470 # We can use an host tool
14471 READELF_FOR_TARGET='$(READELF)'
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14473 $as_echo "host tool
" >&6; }
14475 # We need a cross tool
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14477 $as_echo "pre-installed
" >&6; }
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14482 $as_echo_n "checking where to
find the target strip...
" >&6; }
14483 if test "x
${build}" != "x
${host}" ; then
14484 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14485 # We already found the complete path
14486 ac_dir=`dirname $STRIP_FOR_TARGET`
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14488 $as_echo "pre-installed
in $ac_dir" >&6; }
14490 # Canadian cross, just use what we found
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14492 $as_echo "pre-installed
" >&6; }
14496 case " ${configdirs} " in
14501 if test $ok = yes; then
14502 # An in-tree tool is available and we can use it
14503 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14505 $as_echo "just compiled
" >&6; }
14506 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14507 # We already found the complete path
14508 ac_dir=`dirname $STRIP_FOR_TARGET`
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14510 $as_echo "pre-installed
in $ac_dir" >&6; }
14511 elif test "x
$target" = "x
$host"; then
14512 # We can use an host tool
14513 STRIP_FOR_TARGET='$(STRIP)'
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14515 $as_echo "host tool
" >&6; }
14517 # We need a cross tool
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14519 $as_echo "pre-installed
" >&6; }
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14524 $as_echo_n "checking where to
find the target windres...
" >&6; }
14525 if test "x
${build}" != "x
${host}" ; then
14526 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14527 # We already found the complete path
14528 ac_dir=`dirname $WINDRES_FOR_TARGET`
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14530 $as_echo "pre-installed
in $ac_dir" >&6; }
14532 # Canadian cross, just use what we found
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14534 $as_echo "pre-installed
" >&6; }
14538 case " ${configdirs} " in
14543 if test $ok = yes; then
14544 # An in-tree tool is available and we can use it
14545 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14547 $as_echo "just compiled
" >&6; }
14548 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14549 # We already found the complete path
14550 ac_dir=`dirname $WINDRES_FOR_TARGET`
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14552 $as_echo "pre-installed
in $ac_dir" >&6; }
14553 elif test "x
$target" = "x
$host"; then
14554 # We can use an host tool
14555 WINDRES_FOR_TARGET='$(WINDRES)'
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14557 $as_echo "host tool
" >&6; }
14559 # We need a cross tool
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14561 $as_echo "pre-installed
" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14566 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14567 if test "x
${build}" != "x
${host}" ; then
14568 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14569 # We already found the complete path
14570 ac_dir=`dirname $WINDMC_FOR_TARGET`
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14572 $as_echo "pre-installed
in $ac_dir" >&6; }
14574 # Canadian cross, just use what we found
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14576 $as_echo "pre-installed
" >&6; }
14580 case " ${configdirs} " in
14585 if test $ok = yes; then
14586 # An in-tree tool is available and we can use it
14587 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14589 $as_echo "just compiled
" >&6; }
14590 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14591 # We already found the complete path
14592 ac_dir=`dirname $WINDMC_FOR_TARGET`
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14594 $as_echo "pre-installed
in $ac_dir" >&6; }
14595 elif test "x
$target" = "x
$host"; then
14596 # We can use an host tool
14597 WINDMC_FOR_TARGET='$(WINDMC)'
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14599 $as_echo "host tool
" >&6; }
14601 # We need a cross tool
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14603 $as_echo "pre-installed
" >&6; }
14611 # Certain tools may need extra flags.
14612 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14613 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14614 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14616 # When building target libraries, except in a Canadian cross, we use
14617 # the same toolchain as the compiler we just built.
14618 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14619 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14620 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14621 if test $host = $build; then
14622 case " $configdirs " in
14624 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14625 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14626 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14636 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14637 # Check whether --enable-maintainer-mode was given.
14638 if test "${enable_maintainer_mode+set}" = set; then :
14639 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14641 USE_MAINTAINER_MODE=no
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14645 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14648 if test "$USE_MAINTAINER_MODE" = yes; then
14649 MAINTAINER_MODE_TRUE=
14650 MAINTAINER_MODE_FALSE='#'
14652 MAINTAINER_MODE_TRUE='#'
14653 MAINTAINER_MODE_FALSE=
14655 MAINT=$MAINTAINER_MODE_TRUE
14657 # ---------------------
14658 # GCC bootstrap support
14659 # ---------------------
14661 # Stage specific cflags for build.
14666 yes) stage1_cflags="-g -Wa,-J" ;;
14667 *) stage1_cflags="-g -J" ;;
14673 # Enable --enable-checking in stage1 of the compiler.
14674 # Check whether --enable-stage1-checking was given.
14675 if test "${enable_stage1_checking+set}" = set; then :
14676 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14678 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14679 # For --disable-checking or implicit --enable-checking=release, avoid
14680 # setting --enable-checking=gc in the default stage1 checking for LTO
14681 # bootstraps. See PR62077.
14682 case $BUILD_CONFIG in
14684 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14686 stage1_checking=--enable-checking=yes,types;;
14688 if test "x
$enable_checking" = x && \
14689 test -d ${srcdir}/gcc && \
14690 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14691 stage1_checking=--enable-checking=yes,types,extra
14694 stage1_checking=--enable-checking=$enable_checking,types
14700 # Enable -Werror in bootstrap stage2 and later.
14701 # Check whether --enable-werror was given.
14702 if test "${enable_werror+set}" = set; then :
14703 enableval=$enable_werror;
14705 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14712 case ${enable_werror} in
14713 yes) stage2_werror_flag="--enable-werror-always" ;;
14714 *) stage2_werror_flag="" ;;
14718 # Enable --enable-host-shared.
14719 # Check whether --enable-host-shared was given.
14720 if test "${enable_host_shared+set}" = set; then :
14721 enableval=$enable_host_shared; host_shared=$enableval
14728 # PR jit/64780: Require the user to explicitly specify
14729 # --enable-host-shared if the jit is enabled, hinting
14730 # that they might want to do a separate configure/build of
14731 # the jit, to avoid users from slowing down the rest of the
14732 # compiler by enabling the jit.
14733 if test ${host_shared} = "no
" ; then
14734 case "${enable_languages}" in
14737 Enabling language
\"jit
\" requires
--enable-host-shared.
14739 --enable-host-shared typically slows the rest of the compiler down by
14740 a few
%, so you must explicitly
enable it.
14742 If you want to build both the jit and the regular compiler
, it is often
14743 best to
do this via two separate configure
/builds
, in separate
14744 directories
, to avoid imposing the performance cost of
14745 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14752 # Specify what files to not compare during bootstrap.
14754 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14756 hppa*64*-*-hpux*) ;;
14757 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14758 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14762 ac_config_files="$ac_config_files Makefile
"
14764 cat >confcache <<\_ACEOF
14765 # This file is a shell script that caches the results of configure
14766 # tests run on this system so they can be shared between configure
14767 # scripts and configure runs, see configure's option --config-cache.
14768 # It is not useful on other systems. If it contains results you don't
14769 # want to keep, you may remove or edit it.
14771 # config.status only pays attention to the cache file if you give it
14772 # the --recheck option to rerun configure.
14774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14776 # following values.
14780 # The following way of writing the cache mishandles newlines in values,
14781 # but we know of no workaround that is simple, portable, and efficient.
14782 # So, we kill variables containing newlines.
14783 # Ultrix sh set writes to stderr and can't be redirected directly,
14784 # and sets the high bit in the cache file unless we assign to the vars.
14786 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14787 eval ac_val=\$$ac_var
14791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14792 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14795 _ | IFS | as_nl) ;; #(
14796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14797 *) { eval $ac_var=; unset $ac_var;} ;;
14803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14804 *${as_nl}ac_space=\ *)
14805 # `set' does not quote correctly, so add quotes: double-quote
14806 # substitution turns \\\\ into \\, and sed turns \\ into \.
14809 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14812 # `set' quotes correctly as required by POSIX, so do not add quotes.
14813 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14827 if test -w "$cache_file"; then
14828 test "x
$cache_file" != "x
/dev
/null
" &&
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14830 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14831 cat confcache >$cache_file
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14834 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14839 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14840 # Let make expand exec_prefix.
14841 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14843 # Transform confdefs.h into DEFS.
14844 # Protect against shell expansion while executing Makefile rules.
14845 # Protect against Makefile macro expansion.
14847 # If the first sed substitution is executed (which looks for macros that
14848 # take arguments), then branch to the quote section. Otherwise,
14849 # look for a macro that doesn't take arguments.
14859 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14861 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14865 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14878 DEFS=`sed -n "$ac_script" confdefs.h`
14883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14884 # 1. Remove the extension, and $U if already installed.
14885 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14886 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14888 # will be set to the directory where LIBOBJS objects are built.
14889 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14890 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14892 LIBOBJS=$ac_libobjs
14894 LTLIBOBJS=$ac_ltlibobjs
14898 : ${CONFIG_STATUS=./config.status}
14900 ac_clean_files_save=$ac_clean_files
14901 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14903 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14905 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14907 # Generated by $as_me.
14908 # Run this file to recreate the current configuration.
14909 # Compiler output produced by configure, useful for debugging
14910 # configure, is in config.log if it exists.
14913 ac_cs_recheck=false
14916 SHELL=\${CONFIG_SHELL-$SHELL}
14919 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14920 ## -------------------- ##
14921 ## M4sh Initialization. ##
14922 ## -------------------- ##
14924 # Be more Bourne compatible
14925 DUALCASE=1; export DUALCASE # for MKS sh
14926 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14929 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14930 # is contrary to our usage. Disable this feature.
14931 alias -g '${1+"$@"}'='"$@"'
14932 setopt NO_GLOB_SUBST
14934 case `(set -o) 2>/dev/null` in #(
14946 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14947 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14948 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14949 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14950 # Prefer a ksh shell builtin over an external printf program on Solaris,
14951 # but without wasting forks for bash or zsh.
14952 if test -z "$BASH_VERSION$ZSH_VERSION" \
14953 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14954 as_echo
='print -r --'
14955 as_echo_n
='print -rn --'
14956 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14957 as_echo
='printf %s\n'
14958 as_echo_n
='printf %s'
14960 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14961 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14962 as_echo_n
='/usr/ucb/echo -n'
14964 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14965 as_echo_n_body
='eval
14969 expr "X$arg" : "X\\(.*\\)$as_nl";
14970 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14972 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14974 export as_echo_n_body
14975 as_echo_n
='sh -c $as_echo_n_body as_echo'
14977 export as_echo_body
14978 as_echo
='sh -c $as_echo_body as_echo'
14981 # The user is always right.
14982 if test "${PATH_SEPARATOR+set}" != set; then
14984 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14985 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14992 # We need space, tab and new line, in precisely that order. Quoting is
14993 # there to prevent editors from complaining about space-tab.
14994 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14995 # splitting by setting IFS to empty value.)
14998 # Find who we are. Look in the path if we contain no directory separator.
15000 *[\\/]* ) as_myself
=$0 ;;
15001 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15002 for as_dir
in $PATH
15005 test -z "$as_dir" && as_dir
=.
15006 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15012 # We did not find ourselves, most probably we were run as `sh COMMAND'
15013 # in which case we are not to be found in the path.
15014 if test "x$as_myself" = x
; then
15017 if test ! -f "$as_myself"; then
15018 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15022 # Unset variables that we do not need and which cause bugs (e.g. in
15023 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15024 # suppresses any "Segmentation fault" message there. '((' could
15025 # trigger a bug in pdksh 5.2.14.
15026 for as_var
in BASH_ENV ENV MAIL MAILPATH
15027 do eval test x\
${$as_var+set} = xset \
15028 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15041 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15044 # as_fn_error ERROR [LINENO LOG_FD]
15045 # ---------------------------------
15046 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15047 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15048 # script with status $?, using 1 if that was 0.
15051 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15053 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15054 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15056 $as_echo "$as_me: error: $1" >&2
15057 as_fn_exit
$as_status
15061 # as_fn_set_status STATUS
15062 # -----------------------
15063 # Set $? to STATUS, without forking.
15064 as_fn_set_status
()
15067 } # as_fn_set_status
15069 # as_fn_exit STATUS
15070 # -----------------
15071 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15075 as_fn_set_status
$1
15081 # Portably unset VAR.
15084 { eval $1=; unset $1;}
15086 as_unset
=as_fn_unset
15087 # as_fn_append VAR VALUE
15088 # ----------------------
15089 # Append the text in VALUE to the end of the definition contained in VAR. Take
15090 # advantage of any shell optimizations that allow amortized linear growth over
15091 # repeated appends, instead of the typical quadratic growth present in naive
15093 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15094 eval 'as_fn_append ()
15105 # as_fn_arith ARG...
15106 # ------------------
15107 # Perform arithmetic evaluation on the ARGs, and store the result in the
15108 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15109 # must be portable across $(()) and expr.
15110 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15111 eval 'as_fn_arith ()
15118 as_val
=`expr "$@" || test $? -eq 1`
15123 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15124 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15130 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15131 as_basename
=basename
15136 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15142 as_me
=`$as_basename -- "$0" ||
15143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15144 X"$0" : 'X\(//\)$' \| \
15145 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15147 sed '/^.*\/\([^/][^/]*\)\/*$/{
15161 # Avoid depending upon Character Ranges.
15162 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15163 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15164 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15165 as_cr_digits
='0123456789'
15166 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15168 ECHO_C
= ECHO_N
= ECHO_T
=
15169 case `echo -n x` in #(((((
15171 case `echo 'xy\c'` in
15172 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15174 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15181 rm -f conf$$ conf$$.exe conf$$.
file
15182 if test -d conf$$.dir
; then
15183 rm -f conf$$.dir
/conf$$.
file
15186 mkdir conf$$.dir
2>/dev
/null
15188 if (echo >conf$$.
file) 2>/dev
/null
; then
15189 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15191 # ... but there are two gotchas:
15192 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15193 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15194 # In both cases, we have to default to `cp -p'.
15195 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15197 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15205 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15206 rmdir conf$$.dir
2>/dev
/null
15211 # Create "$as_dir" as a directory, including parents if necessary.
15216 -*) as_dir
=.
/$as_dir;;
15218 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15222 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15223 *) as_qdir
=$as_dir;;
15225 as_dirs
="'$as_qdir' $as_dirs"
15226 as_dir
=`$as_dirname -- "$as_dir" ||
15227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15228 X"$as_dir" : 'X\(//\)[^/]' \| \
15229 X"$as_dir" : 'X\(//\)$' \| \
15230 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15231 $as_echo X"$as_dir" |
15232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15236 /^X\(\/\/\)[^/].*/{
15249 test -d "$as_dir" && break
15251 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15252 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15256 if mkdir
-p .
2>/dev
/null
; then
15257 as_mkdir_p
='mkdir -p "$as_dir"'
15259 test -d .
/-p && rmdir .
/-p
15263 if test -x / >/dev
/null
2>&1; then
15264 as_test_x
='test -x'
15266 if ls -dL / >/dev
/null
2>&1; then
15273 if test -d "$1"; then
15279 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15280 ???[sx]*):;;*)false;;esac;fi
15284 as_executable_p
=$as_test_x
15286 # Sed expression to map a string onto a valid CPP name.
15287 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15289 # Sed expression to map a string onto a valid variable name.
15290 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15294 ## ----------------------------------- ##
15295 ## Main body of $CONFIG_STATUS script. ##
15296 ## ----------------------------------- ##
15298 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15301 # Save the log message, to keep $0 and so on meaningful, and to
15302 # report actual input values of CONFIG_FILES etc. instead of their
15303 # values after options handling.
15305 This file was extended by $as_me, which was
15306 generated by GNU Autoconf 2.64. Invocation command line was
15308 CONFIG_FILES = $CONFIG_FILES
15309 CONFIG_HEADERS = $CONFIG_HEADERS
15310 CONFIG_LINKS = $CONFIG_LINKS
15311 CONFIG_COMMANDS = $CONFIG_COMMANDS
15314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15319 case $ac_config_files in *"
15320 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15326 # Files that config.status was made for.
15327 config_files="$ac_config_files"
15331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15333 \`$as_me' instantiates files and other configuration actions
15334 from templates according to the current configuration. Unless the files
15335 and actions are specified as TAGs, all are instantiated by default.
15337 Usage: $0 [OPTION]... [TAG]...
15339 -h, --help print this help, then exit
15340 -V, --version print version number and configuration settings, then exit
15341 -q, --quiet, --silent
15342 do not print progress messages
15343 -d, --debug don't remove temporary files
15344 --recheck update $as_me by reconfiguring in the same conditions
15345 --file=FILE[:TEMPLATE]
15346 instantiate the configuration file FILE
15348 Configuration files:
15351 Report bugs to the package provider."
15354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357 configured by $0, generated by GNU Autoconf 2.64,
15358 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15360 Copyright (C) 2009 Free Software Foundation, Inc.
15361 This config.status script is free software; the Free Software Foundation
15362 gives unlimited permission to copy, distribute and modify it."
15368 test -n "\$AWK" || AWK=awk
15371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15372 # The default lists apply if the user does not specify any file.
15378 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15379 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15390 # Handling of the options.
15391 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15393 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15394 $as_echo "$ac_cs_version"; exit ;;
15395 --debug |
--debu |
--deb |
--de |
--d |
-d )
15397 --file |
--fil |
--fi |
--f )
15400 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15402 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15403 ac_need_defaults
=false
;;
15404 --he |
--h |
--help |
--hel |
-h )
15405 $as_echo "$ac_cs_usage"; exit ;;
15406 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15407 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15410 # This is an error.
15411 -*) as_fn_error
"unrecognized option: \`$1'
15412 Try \`$0 --help' for more information." ;;
15414 *) as_fn_append ac_config_targets
" $1"
15415 ac_need_defaults
=false
;;
15421 ac_configure_extra_args
=
15423 if $ac_cs_silent; then
15425 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15430 if \$ac_cs_recheck; then
15431 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15433 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15434 CONFIG_SHELL='$SHELL'
15435 export CONFIG_SHELL
15440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15445 ## Running $as_me. ##
15451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15455 extrasub_build="$extrasub_build"
15456 extrasub_host="$extrasub_host"
15457 extrasub_target="$extrasub_target"
15461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15463 # Handling of arguments.
15464 for ac_config_target
in $ac_config_targets
15466 case $ac_config_target in
15467 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15469 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15474 # If the user did not use the arguments to specify the items to instantiate,
15475 # then the envvar interface is used. Set only those that are not.
15476 # We use the long form for the default assignment because of an extremely
15477 # bizarre bug on SunOS 4.1.3.
15478 if $ac_need_defaults; then
15479 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15482 # Have a temporary directory for convenience. Make it in the build tree
15483 # simply because there is no reason against having it here, and in addition,
15484 # creating and moving files from /tmp can sometimes cause problems.
15485 # Hook for its removal unless debugging.
15486 # Note that there is a small window in which the directory will not be cleaned:
15487 # after its creation but before its name has been assigned to `$tmp'.
15491 trap 'exit_status=$?
15492 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15494 trap 'as_fn_exit 1' 1 2 13 15
15496 # Create a (secure) tmp directory for tmp files.
15499 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15500 test -n "$tmp" && test -d "$tmp"
15503 tmp
=.
/conf$$
-$RANDOM
15504 (umask 077 && mkdir
"$tmp")
15505 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15507 # Set up the scripts for CONFIG_FILES section.
15508 # No need to generate them if there are no CONFIG_FILES.
15509 # This happens for instance with `./config.status config.h'.
15510 if test -n "$CONFIG_FILES"; then
15512 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15513 ac_cs_awk_getline
=:
15514 ac_cs_awk_pipe_init
=
15515 ac_cs_awk_read_file
='
15516 while ((getline aline < (F[key])) > 0)
15519 ac_cs_awk_pipe_fini
=
15521 ac_cs_awk_getline
=false
15522 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15523 ac_cs_awk_read_file
='
15525 print "cat " F[key] " &&"
15526 '$ac_cs_awk_pipe_init
15527 # The final `:' finishes the AND list.
15528 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15530 ac_cr
=`echo X | tr X '\015'`
15531 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15532 # But we know of no other shell where ac_cr would be empty at this
15533 # point, so we can use a bashism as a fallback.
15534 if test "x$ac_cr" = x
; then
15535 eval ac_cr
=\$
\'\\r
\'
15537 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15538 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15541 ac_cs_awk_cr
=$ac_cr
15544 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15547 # Create commands to substitute file output variables.
15549 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15550 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15551 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15554 } >conf$
$files.sh
&&
15555 . .
/conf$
$files.sh ||
15556 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15557 rm -f conf$
$files.sh
15560 echo "cat >conf$$subs.awk <<_ACEOF" &&
15561 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15563 } >conf$$subs.sh ||
15564 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15565 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15567 for ac_last_try in false false false false false :; do
15568 . ./conf$$subs.sh ||
15569 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15571 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15572 if test $ac_delim_n = $ac_delim_num; then
15574 elif $ac_last_try; then
15575 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15580 rm -f conf$$subs.sh
15582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15583 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15587 s/^/S["/; s
/!.
*/"]=/
15597 s/\(.\{148\}\).*/\1/
15599 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15604 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15611 s/\(.\{148\}\).*/\1/
15613 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15622 ' <conf$$subs.awk | sed '
15627 ' >>$CONFIG_STATUS || ac_write_fail=1
15628 rm -f conf$$subs.awk
15629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15631 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15632 for (key in S) S_is_set[key] = 1
15634 \$ac_cs_awk_pipe_init
15638 nfields = split(line, field, "@
")
15640 len = length(field[1])
15641 for (i = 2; i < nfields; i++) {
15643 keylen = length(key)
15644 if (S_is_set[key]) {
15646 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15647 len += length(value) + length(field[++i])
15652 if (nfields == 3 && !substed) {
15654 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15655 \$ac_cs_awk_read_file
15661 \$ac_cs_awk_pipe_fini
15664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15665 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15666 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15669 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15670 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15673 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15674 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15675 # trailing colons and then remove the whole line if VPATH becomes empty
15676 # (actually we leave an empty line to preserve line numbers).
15677 if test "x
$srcdir" = x.; then
15678 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15679 s/:*\$(srcdir):*/:/
15680 s/:*\${srcdir}:*/:/
15682 s/^\([^=]*=[ ]*\):*/\1/
15688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15689 fi # test -n "$CONFIG_FILES"
15692 eval set X " :F
$CONFIG_FILES "
15697 :[FHLC]) ac_mode=$ac_tag; continue;;
15699 case $ac_mode$ac_tag in
15701 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15702 :[FH]-) ac_tag=-:-;;
15703 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15720 -) ac_f="$tmp/stdin";;
15721 *) # Look for the file first in the build tree, then in the source tree
15722 # (if the path is not absolute). The absolute path cannot be DOS-style,
15723 # because $ac_f cannot contain `:'.
15727 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15729 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15731 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15732 as_fn_append ac_file_inputs " '$ac_f'"
15735 # Let's still pretend it is `configure' which instantiates (i.e., don't
15736 # use $as_me), people would be surprised to read:
15737 # /* config.h. Generated by config.status. */
15738 configure_input='Generated from '`
15739 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15741 if test x"$ac_file" != x-; then
15742 configure_input="$ac_file.
$configure_input"
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15744 $as_echo "$as_me: creating
$ac_file" >&6;}
15746 # Neutralize special characters interpreted by sed in replacement strings.
15747 case $configure_input in #(
15748 *\&* | *\|* | *\\* )
15749 ac_sed_conf_input=`$as_echo "$configure_input" |
15750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15751 *) ac_sed_conf_input=$configure_input;;
15755 *:-:* | *:-) cat >"$tmp/stdin
" \
15756 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15761 ac_dir=`$as_dirname -- "$ac_file" ||
15762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15763 X"$ac_file" : 'X\(//\)[^/]' \| \
15764 X"$ac_file" : 'X\(//\)$' \| \
15765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15766 $as_echo X"$ac_file" |
15767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15771 /^X\(\/\/\)[^/].*/{
15784 as_dir="$ac_dir"; as_fn_mkdir_p
15788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15790 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15791 # A "..
" for each directory in $ac_dir_suffix.
15792 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15793 case $ac_top_builddir_sub in
15794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15798 ac_abs_top_builddir=$ac_pwd
15799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15800 # for backward compatibility:
15801 ac_top_builddir=$ac_top_build_prefix
15804 .) # We are building in place.
15806 ac_top_srcdir=$ac_top_builddir_sub
15807 ac_abs_top_srcdir=$ac_pwd ;;
15808 [\\/]* | ?:[\\/]* ) # Absolute name.
15809 ac_srcdir=$srcdir$ac_dir_suffix;
15810 ac_top_srcdir=$srcdir
15811 ac_abs_top_srcdir=$srcdir ;;
15812 *) # Relative name.
15813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15814 ac_top_srcdir=$ac_top_build_prefix$srcdir
15815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15827 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15828 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15833 # If the template does not know about datarootdir, expand it.
15834 # FIXME: This hack should be removed a few years after 2.60.
15835 ac_datarootdir_hack=; ac_datarootdir_seen=
15846 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15847 *datarootdir*) ac_datarootdir_seen=yes;;
15848 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15850 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15853 ac_datarootdir_hack='
15854 s&@datadir@&$datadir&g
15855 s&@docdir@&$docdir&g
15856 s&@infodir@&$infodir&g
15857 s&@localedir@&$localedir&g
15858 s&@mandir@&$mandir&g
15859 s&\\\${datarootdir}&$datarootdir&g' ;;
15863 # Neutralize VPATH when `$srcdir' = `.'.
15864 # Shell code in configure.ac might set extrasub.
15865 # FIXME: do we really want to maintain this feature?
15866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15867 ac_sed_extra="$ac_vpsub
15870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15872 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15873 s|@configure_input@|
$ac_sed_conf_input|
;t t
15874 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15875 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15876 s
&@srcdir@
&$ac_srcdir&;t t
15877 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15878 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15879 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15880 s
&@builddir@
&$ac_builddir&;t t
15881 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15882 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15883 s
&@INSTALL@
&$ac_INSTALL&;t t
15884 $ac_datarootdir_hack
15886 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15887 if $ac_cs_awk_getline; then
15888 $AWK -f "$tmp/subs.
awk"
15890 $AWK -f "$tmp/subs.
awk" | $SHELL
15892 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15894 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15895 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15896 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15898 which seems to be undefined. Please make sure it is defined." >&5
15899 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15900 which seems to be undefined. Please make sure it is defined." >&2;}
15904 -) cat "$tmp/out" && rm -f "$tmp/out";;
15905 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15907 || as_fn_error "could not create $ac_file" "$LINENO" 5
15915 case $ac_file$ac_mode in
15916 "Makefile":F) sed "$extrasub_build" Makefile |
15917 sed "$extrasub_host" |
15918 sed "$extrasub_target" > mf$$
15919 mv -f mf$$ Makefile ;;
15927 ac_clean_files=$ac_clean_files_save
15929 test $ac_write_fail = 0 ||
15930 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15933 # configure is writing to config.log, and then calls config.status.
15934 # config.status does its own redirection, appending to config.log.
15935 # Unfortunately, on DOS this fails, as config.log is still kept open
15936 # by configure, so config.status won't be able to
write to it
; its
15937 # output is simply discarded. So we exec the FD to /dev/null,
15938 # effectively closing config.log, so it can be properly (re)opened and
15939 # appended to by config.status. When coming back to configure, we
15940 # need to make the FD available again.
15941 if test "$no_create" != yes; then
15943 ac_config_status_args
=
15944 test "$silent" = yes &&
15945 ac_config_status_args
="$ac_config_status_args --quiet"
15947 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15949 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15950 # would make configure fail if this is the last instruction.
15951 $ac_cs_success || as_fn_exit $?
15953 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15955 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}