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
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_libiberty_configure_flags
654 extra_isl_gmp_configure_flags
655 extra_mpc_mpfr_configure_flags
656 extra_mpc_gmp_configure_flags
657 extra_mpfr_configure_flags
673 EXTRA_CONFIGARGS_LIBJAVA
674 extra_accelerator_gcc_configure_flags
675 extra_target_gcc_configure_flags
681 accel_target_noncanonical
708 TOPLEVEL_CONFIGURE_ARGUMENTS
736 program_transform_name
747 ac_subst_files
='serialization_dependencies
753 enable_option_checking
756 enable_target_gcc_configure_flags
757 enable_accelerator_gcc_configure_flags
761 enable_libquadmath_support
765 enable_static_libjava
787 enable_isl_version_check
790 enable_cloog_version_check
792 enable_stage1_languages
795 with_debug_prefix_map
798 enable_serial_configure
799 with_build_time_tools
800 enable_maintainer_mode
801 enable_stage1_checking
805 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
924 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
927 -build |
--build |
--buil |
--bui |
--bu)
928 ac_prev
=build_alias
;;
929 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
933 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
934 ac_prev
=cache_file
;;
935 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
936 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir |
--datadir |
--datadi |
--datad)
944 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
948 |
--dataroo |
--dataro |
--datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
951 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* |
--disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir |
--docdir |
--docdi |
--doc |
--do)
972 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
975 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
977 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
980 -enable-* |
--enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1141 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1143 sbindir
=$ac_optarg ;;
1145 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1146 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1147 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1149 ac_prev
=sharedstatedir
;;
1150 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1151 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1152 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1154 sharedstatedir
=$ac_optarg ;;
1156 -site |
--site |
--sit)
1158 -site=* |
--site=* |
--sit=*)
1161 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1163 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1164 srcdir
=$ac_optarg ;;
1166 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1167 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1168 ac_prev
=sysconfdir
;;
1169 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1170 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1171 sysconfdir
=$ac_optarg ;;
1173 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1174 ac_prev
=target_alias
;;
1175 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1176 target_alias
=$ac_optarg ;;
1178 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1181 -version |
--version |
--versio |
--versi |
--vers |
-V)
1182 ac_init_version
=: ;;
1185 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1188 as_fn_error
"invalid package name: $ac_useropt"
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* |
--without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=no
;;
1217 # Obsolete; use --with-x.
1220 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1221 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1222 ac_prev
=x_includes
;;
1223 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1224 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1225 x_includes
=$ac_optarg ;;
1227 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1228 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1229 ac_prev
=x_libraries
;;
1230 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1231 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1232 x_libraries
=$ac_optarg ;;
1234 -*) as_fn_error
"unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information."
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1243 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\
$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1259 if test -n "$ac_prev"; then
1260 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error
"missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target
=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x
; then
1302 if test "x$build_alias" = x
; then
1303 cross_compiling
=maybe
1304 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1305 If a cross compiler is detected then cross compile mode will be used." >&2
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 as_fn_error
"path to source, $srcdir, contains spaces"
1382 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures this package to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --build=BUILD configure
for building on BUILD
[guessed
]
1462 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1463 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1467 if test -n "$ac_init_help"; then
1472 --disable-option-checking ignore unrecognized
--enable/--with options
1473 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1474 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1475 --enable-accelerator[=ARG
]
1477 [ARG
={no
,auto-device-triplet
,device-triplet
}]
1478 --enable-target-gcc-configure-flags=FLAGS
1479 additional flags
for configuring the target GCC
1481 --enable-accelerator-gcc-configure-flags=FLAGS
1482 additional flags
for configuring the accelerator GCC
1484 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1485 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1486 --disable-libquadmath do not build libquadmath directory
1487 --disable-libquadmath-support
1488 disable libquadmath support
for Fortran
1489 --enable-libada build libada directory
1490 --enable-libssp build libssp directory
1491 --disable-libstdcxx do not build libstdc
++-v3 directory
1492 --enable-static-libjava[=ARG
]
1493 build static libjava
[default
=no
]
1494 --enable-bootstrap enable bootstrapping
[yes if native build
]
1495 --disable-isl-version-check
1496 disable check
for ISL version
1497 --disable-cloog-version-check
1498 disable check
for CLooG version
1499 --enable-lto enable link
time optimization support
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-mpc=PATH specify prefix directory for installed MPC package.
1524 Equivalent to --with-mpc-include=PATH/include plus
1525 --with-mpc-lib=PATH/lib
1526 --with-mpc-include=PATH specify directory for installed MPC include files
1527 --with-mpc-lib=PATH specify directory for the installed MPC library
1528 --with-mpfr-dir=PATH this option has been REMOVED
1529 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1530 Equivalent to --with-mpfr-include=PATH/include plus
1531 --with-mpfr-lib=PATH/lib
1532 --with-mpfr-include=PATH
1533 specify directory for installed MPFR include files
1534 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1535 --with-gmp-dir=PATH this option has been REMOVED
1536 --with-gmp=PATH specify prefix directory for the installed GMP
1537 package. Equivalent to
1538 --with-gmp-include=PATH/include plus
1539 --with-gmp-lib=PATH/lib
1540 --with-gmp-include=PATH specify directory for installed GMP include files
1541 --with-gmp-lib=PATH specify directory for the installed GMP library
1542 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1544 --with-stage1-libs=LIBS libraries for stage1
1545 --with-stage1-ldflags=FLAGS
1546 linker flags for stage1
1547 --with-boot-libs=LIBS libraries for stage2 and later
1548 --with-boot-ldflags=FLAGS
1549 linker flags for stage2 and later
1550 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1551 package. Equivalent to
1552 --with-cloog-include=PATH/include plus
1553 --with-cloog-lib=PATH/lib
1554 --with-isl=PATH Specify prefix directory for the installed ISL
1555 package. Equivalent to
1556 --with-isl-include=PATH/include plus
1557 --with-isl-lib=PATH/lib
1558 --with-isl-include=PATH Specify directory for installed ISL include files
1559 --with-isl-lib=PATH Specify the directory for the installed ISL library
1560 --with-cloog-include=PATH
1561 Specify directory for installed CLooG include files
1562 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1564 --with-build-sysroot=SYSROOT
1565 use sysroot as the system root during the build
1566 --with-debug-prefix-map='A
=B C
=D ...
'
1567 map A to B, C to D ... in debug information
1568 --with-build-config='NAME NAME2...
'
1569 use config/NAME.mk build configuration
1570 --with-build-time-tools=PATH
1571 use given path to find target tools during the build
1573 Some influential environment variables:
1574 CC C compiler command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1577 nonstandard directory <lib dir>
1578 LIBS libraries to pass to the linker, e.g. -l<library>
1579 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1580 you have headers in a nonstandard directory <include dir>
1581 CXX C++ compiler command
1582 CXXFLAGS C++ compiler flags
1584 additional configure arguments for build directories
1586 additional configure arguments for host directories
1588 additional configure arguments for target directories
1591 DLLTOOL DLLTOOL for the host
1593 LIPO LIPO for the host
1595 RANLIB RANLIB for the host
1596 STRIP STRIP for the host
1597 WINDRES WINDRES for the host
1598 WINDMC WINDMC for the host
1599 OBJCOPY OBJCOPY for the host
1600 OBJDUMP OBJDUMP for the host
1601 READELF READELF for the host
1611 GFORTRAN for the target
1619 DLLTOOL for the target
1627 OBJDUMP for the target
1629 RANLIB for the target
1631 READELF for the target
1633 STRIP for the target
1635 WINDRES for the target
1637 WINDMC for the target
1639 Use these variables to override the choices made by `configure' or to
help
1640 it to
find libraries and programs with nonstandard names
/locations.
1642 Report bugs to the package provider.
1647 if test "$ac_init_help" = "recursive"; then
1648 # If there are subdirs, report their specific --help.
1649 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1650 test -d "$ac_dir" ||
1651 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1658 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1659 # A ".." for each directory in $ac_dir_suffix.
1660 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1661 case $ac_top_builddir_sub in
1662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1666 ac_abs_top_builddir
=$ac_pwd
1667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1668 # for backward compatibility:
1669 ac_top_builddir
=$ac_top_build_prefix
1672 .
) # We are building in place.
1674 ac_top_srcdir
=$ac_top_builddir_sub
1675 ac_abs_top_srcdir
=$ac_pwd ;;
1676 [\\/]* | ?
:[\\/]* ) # Absolute name.
1677 ac_srcdir
=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir
=$srcdir
1679 ac_abs_top_srcdir
=$srcdir ;;
1681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1687 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1688 # Check for guested configure.
1689 if test -f "$ac_srcdir/configure.gnu"; then
1691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1692 elif test -f "$ac_srcdir/configure"; then
1694 $SHELL "$ac_srcdir/configure" --help=recursive
1696 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1698 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1702 test -n "$ac_init_help" && exit $ac_status
1703 if $ac_init_version; then
1706 generated by GNU Autoconf
2.64
1708 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1709 This configure
script is free software
; the Free Software Foundation
1710 gives unlimited permission to copy
, distribute and modify it.
1715 ## ------------------------ ##
1716 ## Autoconf initialization. ##
1717 ## ------------------------ ##
1719 # ac_fn_c_try_compile LINENO
1720 # --------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_compile
()
1724 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1725 rm -f conftest.
$ac_objext
1726 if { { ac_try
="$ac_compile"
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 } # ac_fn_c_try_compile
1757 # ac_fn_cxx_try_compile LINENO
1758 # ----------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_cxx_try_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext
1764 if { { ac_try="$ac_compile"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1773 if test -s conftest.err
; then
1774 grep -v '^ *+' conftest.err
>conftest.er1
1775 cat conftest.er1
>&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_cxx_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.
$ac_objext; then :
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.
$ac_ext >&5
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1793 } # ac_fn_cxx_try_compile
1795 # ac_fn_cxx_try_link LINENO
1796 # -------------------------
1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_link
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 rm -f conftest.
$ac_objext conftest
$ac_exeext
1802 if { { ac_try
="$ac_link"
1804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest$ac_exeext && {
1821 test "$cross_compiling" = yes ||
1822 $as_test_x conftest$ac_exeext
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833 # interfere with the next link command; also delete a directory that is
1834 # left behind by Apple's compiler. We do this before executing the actions.
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 } # ac_fn_cxx_try_link
1841 # ac_fn_c_try_link LINENO
1842 # -----------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 rm -f conftest.$ac_objext conftest$ac_exeext
1848 if { { ac_try="$ac_link"
1850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1851 *) ac_try_echo
=$ac_try;;
1853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>conftest.err
1857 if test -s conftest.err
; then
1858 grep -v '^ *+' conftest.err
>conftest.er1
1859 cat conftest.er1
>&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest
$ac_exeext && {
1867 test "$cross_compiling" = yes ||
1868 $as_test_x conftest
$ac_exeext
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.
$ac_ext >&5
1877 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1878 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1879 # interfere with the next link command; also delete a directory that is
1880 # left behind by Apple's compiler. We do this before executing the actions.
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1885 } # ac_fn_c_try_link
1887 # ac_fn_c_try_run LINENO
1888 # ----------------------
1889 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1890 # that executables *can* be run.
1893 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1894 if { { ac_try
="$ac_link"
1896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_link") 2>&5
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1905 { { case "(($ac_try" in
1906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1907 *) ac_try_echo
=$ac_try;;
1909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_try") 2>&5
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; }; }; then :
1917 $as_echo "$as_me: program exited with status $ac_status" >&5
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1921 ac_retval
=$ac_status
1923 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1928 cat >config.log
<<_ACEOF
1929 This file contains any messages produced by compilers while
1930 running configure, to aid debugging if configure makes a mistake.
1932 It was created by $as_me, which was
1933 generated by GNU Autoconf 2.64. Invocation command line was
1945 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1946 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1947 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1948 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1949 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1951 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1952 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1954 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1955 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1956 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1957 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1958 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1959 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1960 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1968 test -z "$as_dir" && as_dir
=.
1969 $as_echo "PATH: $as_dir"
1985 # Keep a trace of the command line.
1986 # Strip out --no-create and --no-recursion so they do not pile up.
1987 # Strip out --silent because we don't want to record it for future runs.
1988 # Also quote any args containing shell meta-characters.
1989 # Make two passes to allow for proper duplicate-argument suppression.
1993 ac_must_keep_next
=false
1999 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2000 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2001 |
-silent |
--silent |
--silen |
--sile |
--sil)
2004 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2007 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2009 as_fn_append ac_configure_args1
" '$ac_arg'"
2010 if test $ac_must_keep_next = true
; then
2011 ac_must_keep_next
=false
# Got value, back to normal.
2014 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2015 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2016 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2017 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2018 case "$ac_configure_args0 " in
2019 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2022 -* ) ac_must_keep_next
=true
;;
2025 as_fn_append ac_configure_args
" '$ac_arg'"
2030 { ac_configure_args0
=; unset ac_configure_args0
;}
2031 { ac_configure_args1
=; unset ac_configure_args1
;}
2033 # When interrupted or exit'd, cleanup temporary files, and complete
2034 # config.log. We remove comments because anyway the quotes in there
2035 # would cause problems or look ugly.
2036 # WARNING: Use '\'' to represent an apostrophe within the trap.
2037 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2038 trap 'exit_status=$?
2039 # Save into config.log some information that might help in debugging.
2044 ## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##
2049 # The following way of writing the cache mishandles newlines in values,
2051 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2052 eval ac_val=\$$ac_var
2056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2060 _ | IFS | as_nl) ;; #(
2061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2062 *) { eval $ac_var=; unset $ac_var;} ;;
2067 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2068 *${as_nl}ac_space=\ *)
2070 "s/'\''/'\''\\\\'\'''\''/g;
2071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082 ## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##
2087 for ac_var in $ac_subst_vars
2089 eval ac_val=\$$ac_var
2091 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093 $as_echo "$ac_var='\''$ac_val'\''"
2097 if test -n "$ac_subst_files"; then
2099 ## ------------------- ##
2100 ## File substitutions. ##
2101 ## ------------------- ##
2104 for ac_var
in $ac_subst_files
2106 eval ac_val
=\$
$ac_var
2108 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -s confdefs.h; then
2125 test "$ac_signal" != 0 &&
2126 $as_echo "$as_me: caught signal $ac_signal"
2127 $as_echo "$as_me: exit $exit_status"
2129 rm -f core *.core core.conftest.* &&
2130 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2133 for ac_signal
in 1 2 13 15; do
2134 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2138 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2139 rm -f -r conftest
* confdefs.h
2141 $as_echo "/* confdefs.h */" > confdefs.h
2143 # Predefined preprocessor variables.
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_NAME "$PACKAGE_NAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_STRING "$PACKAGE_STRING"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_URL "$PACKAGE_URL"
2170 # Let the site file select an alternate cache file if it wants to.
2171 # Prefer an explicitly selected file to automatically selected ones.
2174 if test -n "$CONFIG_SITE"; then
2175 ac_site_file1
=$CONFIG_SITE
2176 elif test "x$prefix" != xNONE
; then
2177 ac_site_file1
=$prefix/share
/config.site
2178 ac_site_file2
=$prefix/etc
/config.site
2180 ac_site_file1
=$ac_default_prefix/share
/config.site
2181 ac_site_file2
=$ac_default_prefix/etc
/config.site
2183 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2185 test "x$ac_site_file" = xNONE
&& continue
2186 if test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2194 if test -r "$cache_file"; then
2195 # Some versions of bash will fail to source /dev/null (special
2196 # files actually), so we avoid doing that.
2197 if test -f "$cache_file"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2199 $as_echo "$as_me: loading cache $cache_file" >&6;}
2201 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2202 *) .
"./$cache_file";;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2207 $as_echo "$as_me: creating cache $cache_file" >&6;}
2211 # Check that the precious variables saved in the cache have kept the same
2213 ac_cache_corrupted
=false
2214 for ac_var
in $ac_precious_vars; do
2215 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2216 eval ac_new_set
=\
$ac_env_${ac_var}_set
2217 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2218 eval ac_new_val
=\
$ac_env_${ac_var}_value
2219 case $ac_old_set,$ac_new_set in
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2222 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223 ac_cache_corrupted
=: ;;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2227 ac_cache_corrupted
=: ;;
2230 if test "x$ac_old_val" != "x$ac_new_val"; then
2231 # differences in whitespace do not lead to failure.
2232 ac_old_val_w
=`echo x $ac_old_val`
2233 ac_new_val_w
=`echo x $ac_new_val`
2234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2236 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2237 ac_cache_corrupted
=:
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2240 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2241 eval $ac_var=\
$ac_old_val
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2244 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2246 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2249 # Pass precious variables to config.status.
2250 if test "$ac_new_set" = set; then
2252 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2253 *) ac_arg
=$ac_var=$ac_new_val ;;
2255 case " $ac_configure_args " in
2256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2257 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2261 if $ac_cache_corrupted; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2265 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2266 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2268 ## -------------------- ##
2269 ## Main body of script. ##
2270 ## -------------------- ##
2273 ac_cpp
='$CPP $CPPFLAGS'
2274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2287 # if PWD already has a value, it is probably wrong.
2288 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2290 # Export original configure arguments for use by sub-configures.
2291 # Quote arguments with shell meta charatcers.
2292 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2293 set -- "$progname" "$@"
2297 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2298 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2299 # if the argument is of the form -foo=baz, quote the baz part only
2300 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2303 # Add the quoted argument to the list.
2304 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2306 if test "$silent" = yes; then
2307 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2309 # Remove the initial space we just introduced and, as these will be
2310 # expanded by make, quote '$'.
2311 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2314 # Find the build, host, and target systems.
2316 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2317 for ac_t
in install-sh
install.sh shtool
; do
2318 if test -f "$ac_dir/$ac_t"; then
2320 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2325 if test -z "$ac_aux_dir"; then
2326 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2329 # These three variables are undocumented and unsupported,
2330 # and are intended to be withdrawn in a future Autoconf release.
2331 # They can cause serious problems if a builder's source tree is in a directory
2332 # whose full name contains unusual characters.
2333 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2334 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2335 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2338 # Make sure we can run config.sub.
2339 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2340 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2343 $as_echo_n "checking build system type... " >&6; }
2344 if test "${ac_cv_build+set}" = set; then :
2345 $as_echo_n "(cached) " >&6
2347 ac_build_alias
=$build_alias
2348 test "x$ac_build_alias" = x
&&
2349 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2350 test "x$ac_build_alias" = x
&&
2351 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2352 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2353 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2357 $as_echo "$ac_cv_build" >&6; }
2358 case $ac_cv_build in
2360 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2363 ac_save_IFS
=$IFS; IFS
='-'
2369 # Remember, the first character of IFS is used to create $*,
2370 # except with old shells:
2373 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2376 case ${build_alias} in
2377 "") build_noncanonical
=${build} ;;
2378 *) build_noncanonical
=${build_alias} ;;
2383 case ${host_alias} in
2384 "") host_noncanonical
=${build_noncanonical} ;;
2385 *) host_noncanonical
=${host_alias} ;;
2390 case ${target_alias} in
2391 "") target_noncanonical
=${host_noncanonical} ;;
2392 *) target_noncanonical
=${target_alias} ;;
2398 test "$host_noncanonical" = "$target_noncanonical" &&
2399 test "$program_prefix$program_suffix$program_transform_name" = \
2401 program_transform_name
=s
,y
,y
,
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2404 $as_echo_n "checking host system type... " >&6; }
2405 if test "${ac_cv_host+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2408 if test "x$host_alias" = x
; then
2409 ac_cv_host
=$ac_cv_build
2411 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2412 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2417 $as_echo "$ac_cv_host" >&6; }
2420 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2423 ac_save_IFS
=$IFS; IFS
='-'
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2433 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2437 $as_echo_n "checking target system type... " >&6; }
2438 if test "${ac_cv_target+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2441 if test "x$target_alias" = x
; then
2442 ac_cv_target
=$ac_cv_host
2444 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2445 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2450 $as_echo "$ac_cv_target" >&6; }
2451 case $ac_cv_target in
2453 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2455 target
=$ac_cv_target
2456 ac_save_IFS
=$IFS; IFS
='-'
2462 # Remember, the first character of IFS is used to create $*,
2463 # except with old shells:
2466 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2469 # The aliases save the names the user supplied, while $host etc.
2470 # will get canonicalized.
2471 test -n "$target_alias" &&
2472 test "$program_prefix$program_suffix$program_transform_name" = \
2474 program_prefix
=${target_alias}-
2476 test "$program_prefix" != NONE
&&
2477 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2478 # Use a double $ so make ignores it.
2479 test "$program_suffix" != NONE
&&
2480 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2481 # Double any \ or $.
2482 # By default was `s,x,x', remove it if useless.
2483 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2484 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2488 # Get 'install' or 'install-sh' and its variants.
2489 # Find a good install program. We prefer a C program (faster),
2490 # so one script is as good as another. But avoid the broken or
2491 # incompatible versions:
2492 # SysV /etc/install, /usr/sbin/install
2493 # SunOS /usr/etc/install
2494 # IRIX /sbin/install
2496 # AmigaOS /C/install, which installs bootblocks on floppy discs
2497 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2498 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2499 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2500 # OS/2's system install, which has a completely different semantic
2501 # ./install, which can be erroneously created by make from ./install.sh.
2502 # Reject install programs that cannot install multiple files.
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2504 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2505 if test -z "$INSTALL"; then
2506 if test "${ac_cv_path_install+set}" = set; then :
2507 $as_echo_n "(cached) " >&6
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 # Account for people who put trailing slashes in PATH elements.
2515 case $as_dir/ in #((
2516 .
/ | .
// |
/[cC
]/* | \
2517 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2518 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2521 # OSF1 and SCO ODT 3.0 have their own names for install.
2522 # Don't use installbsd from OSF since it installs stuff as root
2524 for ac_prog
in ginstall scoinst
install; do
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2527 if test $ac_prog = install &&
2528 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2529 # AIX install. It has an incompatible calling convention.
2531 elif test $ac_prog = install &&
2532 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2533 # program-specific install script used by HP pwplus--don't use.
2536 rm -rf conftest.one conftest.two conftest.dir
2537 echo one
> conftest.one
2538 echo two
> conftest.two
2540 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2541 test -s conftest.one
&& test -s conftest.two
&&
2542 test -s conftest.dir
/conftest.one
&&
2543 test -s conftest.dir
/conftest.two
2545 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2558 rm -rf conftest.one conftest.two conftest.dir
2561 if test "${ac_cv_path_install+set}" = set; then
2562 INSTALL
=$ac_cv_path_install
2564 # As a last resort, use the slow shell script. Don't cache a
2565 # value for INSTALL within a source directory, because that will
2566 # break other packages using the cache if that directory is
2567 # removed, or if the value is a relative name.
2568 INSTALL
=$ac_install_sh
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2572 $as_echo "$INSTALL" >&6; }
2574 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2575 # It thinks the first close brace ends the variable substitution.
2576 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2578 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2580 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2583 $as_echo_n "checking whether ln works... " >&6; }
2584 if test "${acx_cv_prog_LN+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 rm -f conftestdata_t
2588 echo >conftestdata_f
2589 if ln conftestdata_f conftestdata_t
2>/dev
/null
2595 rm -f conftestdata_f conftestdata_t
2598 if test $acx_cv_prog_LN = no
; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2601 $as_echo "no, using $LN" >&6; }
2603 LN
="$acx_cv_prog_LN"
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2605 $as_echo "yes" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2609 $as_echo_n "checking whether ln -s works... " >&6; }
2611 if test "$LN_S" = "ln -s"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613 $as_echo "yes" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2616 $as_echo "no, using $LN_S" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2620 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2621 if test "${ac_cv_path_SED+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2625 for ac_i
in 1 2 3 4 5 6 7; do
2626 ac_script
="$ac_script$as_nl$ac_script"
2628 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2629 { ac_script
=; unset ac_script
;}
2630 if test -z "$SED"; then
2631 ac_path_SED_found
=false
2632 # Loop through the user's path and test for each of PROGNAME-LIST
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_prog
in sed gsed
; do
2639 for ac_exec_ext
in '' $ac_executable_extensions; do
2640 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2641 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2642 # Check for GNU ac_path_SED and select it if it is found.
2643 # Check for GNU $ac_path_SED
2644 case `"$ac_path_SED" --version 2>&1` in
2646 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2649 $as_echo_n 0123456789 >"conftest.in"
2652 cat "conftest.in" "conftest.in" >"conftest.tmp"
2653 mv "conftest.tmp" "conftest.in"
2654 cp "conftest.in" "conftest.nl"
2655 $as_echo '' >> "conftest.nl"
2656 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2657 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2658 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2659 if test $ac_count -gt ${ac_path_SED_max-0}; then
2660 # Best one so far, save it but keep looking for a better one
2661 ac_cv_path_SED
="$ac_path_SED"
2662 ac_path_SED_max
=$ac_count
2664 # 10*(2^10) chars as input seems more than enough
2665 test $ac_count -gt 10 && break
2667 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2670 $ac_path_SED_found && break 3
2675 if test -z "$ac_cv_path_SED"; then
2676 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2684 $as_echo "$ac_cv_path_SED" >&6; }
2685 SED
="$ac_cv_path_SED"
2688 for ac_prog
in gawk mawk nawk
awk
2690 # Extract the first word of "$ac_prog", so it can be a program name with args.
2691 set dummy
$ac_prog; ac_word
=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if test "${ac_cv_prog_AWK+set}" = set; then :
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$AWK"; then
2698 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir
=.
2705 for ac_exec_ext
in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_AWK
="$ac_prog"
2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test -n "$AWK"; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2720 $as_echo "$AWK" >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2727 test -n "$AWK" && break
2731 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2733 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2735 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2736 INSTALL
="${srcpwd}/install-sh -c"
2739 # Set srcdir to "." if that's what it is.
2740 # This is important for multilib support.
2742 if test "${pwd}" = "${srcpwd}" ; then
2750 ### To add a new directory to the tree, first choose whether it is a target
2751 ### or a host dependent tool. Then put it into the appropriate list
2752 ### (library or tools, host or target), doing a dependency sort.
2754 # Subdirs will be configured in the order listed in build_configdirs,
2755 # configdirs, or target_configdirs; see the serialization section below.
2757 # Dependency sorting is only needed when *configuration* must be done in
2758 # a particular order. In all cases a dependency should be specified in
2759 # the Makefile, whether or not it's implicitly specified here.
2761 # Double entries in build_configdirs, configdirs, or target_configdirs may
2762 # cause circular dependencies and break everything horribly.
2764 # these library is used by various programs built for the build
2767 build_libs
="build-libiberty"
2769 # these tools are built for the build environment
2770 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2772 # these libraries are used by various programs built for the host environment
2774 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2776 # these tools are built for the host environment
2777 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2778 # know that we are building the simulator.
2779 # binutils, gas and ld appear in that order because it makes sense to run
2780 # "make check" in that particular order.
2781 # If --enable-gold is used, "gold" may replace "ld".
2782 host_tools
="texinfo flex bison binutils gas ld fixincludes accel-gcc gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2784 # libgcj represents the runtime libraries only used by gcj.
2785 libgcj
="target-libffi \
2789 # these libraries are built for the target environment, and are built after
2790 # the host libraries and the host tools (which may be a cross compiler)
2791 # Note that libiberty is not a target library.
2792 target_libraries
="target-libgcc \
2793 target-libbacktrace \
2800 target-libstdc++-v3 \
2801 target-libsanitizer \
2804 target-libquadmath \
2805 target-libgfortran \
2812 # these tools are built using the target libraries, and are intended to
2813 # run only in the target environment
2815 # note: any program that *uses* libraries that are in the "target_libraries"
2816 # list belongs in this list.
2818 target_tools
="target-rda"
2820 ################################################################################
2822 ## All tools belong in one of the four categories, and are assigned above
2823 ## We assign ${configdirs} this way to remove all embedded newlines. This
2824 ## is important because configure will choke if they ever get through.
2825 ## ${configdirs} is directories we build using the host tools.
2826 ## ${target_configdirs} is directories we build using the target tools.
2827 configdirs
=`echo ${host_libs} ${host_tools}`
2828 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2829 build_configdirs
=`echo ${build_libs} ${build_tools}`
2833 ################################################################################
2835 srcname
="gnu development package"
2837 # This gets set non-empty for some net releases of packages.
2840 # Define is_cross_compiler to save on calls to 'test'.
2842 if test x
"${host}" = x
"${target}" ; then
2843 is_cross_compiler
=no
2845 is_cross_compiler
=yes
2848 # Find the build and target subdir names.
2850 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2851 # have matching libraries, they should use host libraries: Makefile.tpl
2852 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2853 # However, they still use the build modules, because the corresponding
2854 # host modules (e.g. bison) are only built for the host when bootstrap
2856 # - build_subdir is where we find build modules, and never changes.
2857 # - build_libsubdir is where we find build libraries, and can be overridden.
2859 # Prefix 'build-' so this never conflicts with target_subdir.
2860 build_subdir
="build-${build_noncanonical}"
2862 # Check whether --with-build-libsubdir was given.
2863 if test "${with_build_libsubdir+set}" = set; then :
2864 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2866 build_libsubdir
="$build_subdir"
2869 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2870 if ( test $srcdir = .
&& test -d gcc
) \
2871 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2872 host_subdir
="host-${host_noncanonical}"
2877 target_subdir
=${target_noncanonical}
2879 # Be sure to cover against remnants of an in-tree build.
2880 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2881 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2882 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2885 # Skipdirs are removed silently.
2887 # Noconfigdirs are removed loudly.
2891 # Make sure we don't let GNU ld be added if we didn't want it.
2892 if test x
$with_gnu_ld = xno
; then
2894 noconfigdirs
="$noconfigdirs ld gold"
2898 # Make sure we don't let GNU as be added if we didn't want it.
2899 if test x
$with_gnu_as = xno
; then
2901 noconfigdirs
="$noconfigdirs gas"
2905 # Make sure we don't let ZLIB be added if we didn't want it.
2906 if test x
$with_system_zlib = xyes
; then
2907 use_included_zlib
=no
2908 noconfigdirs
="$noconfigdirs zlib"
2911 # some tools are so dependent upon X11 that if we're not building with X,
2912 # it's not even worth trying to configure, much less build, that tool.
2915 yes |
"") ;; # the default value for this tree is that X11 is available
2917 skipdirs
="${skipdirs} tk itcl libgui"
2918 # We won't be able to build gdbtk without X.
2921 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2924 # Some are only suitable for cross toolchains.
2925 # Remove these if host=target.
2926 cross_only
="target-libgloss target-newlib target-opcodes"
2928 case $is_cross_compiler in
2929 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2932 # If both --with-headers and --with-libs are specified, default to
2934 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2935 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2936 if test x
"${with_newlib}" = x
; then
2941 # Recognize --with-newlib/--without-newlib.
2942 case ${with_newlib} in
2943 no
) skipdirs
="${skipdirs} target-newlib" ;;
2944 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2947 # Handle --enable-accelerator. This is in top-level because both libgomp and
2948 # GCC proper need this information.
2949 # --disable-accelerator
2950 # Default. Do not build accelerator pieces, only support host execution.
2951 # --enable-accelerator=auto-device-triplet
2952 # If possible, build accelerator pieces for 'device-triplet'.
2953 # --enable-accelerator=device-triplet
2954 # Build accelerator pieces for 'device-triplet'.
2955 # Check whether --enable-accelerator was given.
2956 if test "${enable_accelerator+set}" = set; then :
2957 enableval
=$enable_accelerator; ENABLE_ACCELERATOR
=$enableval
2959 ENABLE_ACCELERATOR
=no
2962 accel_target_noncanonical
=NONE
2963 case "${ENABLE_ACCELERATOR}" in
2965 as_fn_error
"--enable-accelerators must name accelerator" "$LINENO" 5
2966 skipdirs
="${skipdirs} accel-gcc"
2969 skipdirs
="${skipdirs} accel-gcc"
2972 accel_target_noncanonical
=`echo "$ENABLE_ACCELERATOR" | sed -e s/auto-//g`
2975 as_fn_error
"unrecognized accelerator" "$LINENO" 5
2976 skipdirs
="${skipdirs} accel-gcc"
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking accelerator target system type" >&5
2981 $as_echo_n "checking accelerator target system type... " >&6; }
2983 accel_target_alias
=$accel_target_noncanonical
2984 case "$accel_target_alias" in
2989 accel_target
=`$ac_config_sub $accel_target_alias`
2993 accel_target_cpu
=`echo $accel_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2994 accel_target_vendor
=`echo $accel_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2995 accel_target_os
=`echo $accel_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $accel_target" >&5
2997 $as_echo "$accel_target" >&6; }
3000 # Allow for specifying configure flags that apply to only the target GCC, or
3001 # only the accelerator GCC.
3003 # Check whether --enable-target-gcc-configure-flags was given.
3004 if test "${enable_target_gcc_configure_flags+set}" = set; then :
3005 enableval
=$enable_target_gcc_configure_flags; extra_target_gcc_configure_flags
=$enableval
3007 extra_target_gcc_configure_flags
=
3012 # Check whether --enable-accelerator-gcc-configure-flags was given.
3013 if test "${enable_accelerator_gcc_configure_flags+set}" = set; then :
3014 enableval
=$enable_accelerator_gcc_configure_flags; extra_accelerator_gcc_configure_flags
=$enableval
3016 extra_accelerator_gcc_configure_flags
=
3021 # Handle --enable-gold, --enable-ld.
3022 # --disable-gold [--enable-ld]
3023 # Build only ld. Default option.
3024 # --enable-gold [--enable-ld]
3025 # Build both gold and ld. Install gold as "ld.gold", install ld
3026 # as "ld.bfd" and "ld".
3027 # --enable-gold=default [--enable-ld]
3028 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3029 # install ld as "ld.bfd".
3030 # --enable-gold[=default] --disable-ld
3031 # Build only gold, which is then installed as both "ld.gold" and "ld".
3032 # --enable-gold --enable-ld=default
3033 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3035 # In other words, ld is default
3036 # --enable-gold=default --enable-ld=default
3040 # Check whether --enable-gold was given.
3041 if test "${enable_gold+set}" = set; then :
3042 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3047 case "${ENABLE_GOLD}" in
3049 # Check for ELF target.
3052 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3053 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3054 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3055 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3057 *-*-linux*aout
* |
*-*-linux*oldld
*)
3065 if test "$is_elf" = "yes"; then
3066 # Check for target supported by gold.
3068 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
3069 configdirs
="$configdirs gold"
3070 if test x
${ENABLE_GOLD} = xdefault
; then
3081 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3085 # Check whether --enable-ld was given.
3086 if test "${enable_ld+set}" = set; then :
3087 enableval
=$enable_ld; ENABLE_LD
=$enableval
3093 case "${ENABLE_LD}" in
3095 if test x
${default_ld} != x
; then
3096 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3102 if test x
${ENABLE_GOLD} != xyes
; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3104 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3106 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3109 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3113 # Configure extra directories which are host specific
3117 configdirs
="$configdirs libtermcap" ;;
3120 # A target can indicate whether a language isn't supported for some reason.
3121 # Only spaces may be used in this macro; not newlines or tabs.
3122 unsupported_languages
=
3124 # Remove more programs from consideration, based on the host or
3125 # target this usually means that a port of the program doesn't
3129 i
[3456789]86-*-msdosdjgpp*)
3130 noconfigdirs
="$noconfigdirs tcl tk itcl"
3135 # Check whether --enable-libquadmath was given.
3136 if test "${enable_libquadmath+set}" = set; then :
3137 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3139 ENABLE_LIBQUADMATH
=yes
3142 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3143 noconfigdirs
="$noconfigdirs target-libquadmath"
3147 # Check whether --enable-libquadmath-support was given.
3148 if test "${enable_libquadmath_support+set}" = set; then :
3149 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3151 ENABLE_LIBQUADMATH_SUPPORT
=yes
3154 enable_libquadmath_support
=
3155 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3156 enable_libquadmath_support
=no
3160 # Check whether --enable-libada was given.
3161 if test "${enable_libada+set}" = set; then :
3162 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3167 if test "${ENABLE_LIBADA}" != "yes" ; then
3168 noconfigdirs
="$noconfigdirs gnattools"
3171 # Check whether --enable-libssp was given.
3172 if test "${enable_libssp+set}" = set; then :
3173 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3179 # Check whether --enable-libstdcxx was given.
3180 if test "${enable_libstdcxx+set}" = set; then :
3181 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3183 ENABLE_LIBSTDCXX
=default
3186 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3187 noconfigdirs
="$noconfigdirs libstdc++-v3"
3190 # Save it here so that, even in case of --enable-libgcj, if the Java
3191 # front-end isn't enabled, we still get libgcj disabled.
3192 libgcj_saved
=$libgcj
3193 case $enable_libgcj in
3195 # If we reset it here, it won't get added to noconfigdirs in the
3196 # target-specific build rules, so it will be forcibly enabled
3197 # (unless the Java language itself isn't enabled).
3201 # Make sure we get it printed in the list of not supported target libs.
3202 # Don't disable libffi, though, other languages use it.
3203 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3204 # Clear libgcj_saved so that even if java is enabled libffi won't be
3210 # Check whether --enable-static-libjava was given.
3211 if test "${enable_static_libjava+set}" = set; then :
3212 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3214 ENABLE_STATIC_LIBJAVA
=no
3217 enable_static_libjava
=
3218 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3219 enable_static_libjava
=yes
3222 if test x
$enable_static_libjava != xyes
; then
3223 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3227 # Disable libgomp on non POSIX hosted systems.
3228 if test x
$enable_libgomp = x
; then
3229 # Enable libgomp by default on hosted POSIX systems.
3231 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3233 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3235 *-*-solaris2* |
*-*-hpux11*)
3237 *-*-darwin* |
*-*-aix*)
3240 noconfigdirs
="$noconfigdirs target-libgomp"
3245 # Disable libatomic on unsupported systems.
3246 if test -d ${srcdir}/libatomic
; then
3247 if test x
$enable_libatomic = x
; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3249 $as_echo_n "checking for libatomic support... " >&6; }
3250 if (srcdir
=${srcdir}/libatomic
; \
3251 .
${srcdir}/configure.tgt
; \
3252 test -n "$UNSUPPORTED")
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 noconfigdirs
="$noconfigdirs target-libatomic"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3264 # Disable libcilkrts on unsupported systems.
3265 if test -d ${srcdir}/libcilkrts
; then
3266 if test x
$enable_libcilkrts = x
; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3268 $as_echo_n "checking for libcilkrts support... " >&6; }
3269 if (srcdir
=${srcdir}/libcilkrts
; \
3270 .
${srcdir}/configure.tgt
; \
3271 test -n "$UNSUPPORTED")
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3275 noconfigdirs
="$noconfigdirs target-libcilkrts"
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3278 $as_echo "yes" >&6; }
3283 # Disable libitm on unsupported systems.
3284 if test -d ${srcdir}/libitm
; then
3285 if test x
$enable_libitm = x
; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3287 $as_echo_n "checking for libitm support... " >&6; }
3288 if (srcdir
=${srcdir}/libitm
; \
3289 .
${srcdir}/configure.tgt
; \
3290 test -n "$UNSUPPORTED")
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 noconfigdirs
="$noconfigdirs target-libitm"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3302 # Disable libsanitizer on unsupported systems.
3303 if test -d ${srcdir}/libsanitizer
; then
3304 if test x
$enable_libsanitizer = x
; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3306 $as_echo_n "checking for libsanitizer support... " >&6; }
3307 if (srcdir
=${srcdir}/libsanitizer
; \
3308 .
${srcdir}/configure.tgt
; \
3309 test -n "$UNSUPPORTED")
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3313 noconfigdirs
="$noconfigdirs target-libsanitizer"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3321 # Disable libvtv on unsupported systems.
3322 if test -d ${srcdir}/libvtv
; then
3323 if test x
$enable_libvtv = x
; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3325 $as_echo_n "checking for libvtv support... " >&6; }
3326 if (srcdir
=${srcdir}/libvtv
; \
3327 .
${srcdir}/configure.tgt
; \
3328 test "$VTV_SUPPORTED" != "yes")
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 noconfigdirs
="$noconfigdirs target-libvtv"
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3335 $as_echo "yes" >&6; }
3340 # Disable libquadmath for some systems.
3343 noconfigdirs
="$noconfigdirs target-libquadmath"
3345 # libquadmath is unused on AIX and libquadmath build process use of
3346 # LD_LIBRARY_PATH can break AIX bootstrap.
3347 powerpc-
*-aix* | rs6000-
*-aix*)
3348 noconfigdirs
="$noconfigdirs target-libquadmath"
3352 # Disable libssp for some systems.
3355 # No hosted I/O support.
3356 noconfigdirs
="$noconfigdirs target-libssp"
3358 powerpc-
*-aix* | rs6000-
*-aix*)
3359 noconfigdirs
="$noconfigdirs target-libssp"
3362 # libssp uses a misaligned load to trigger a fault, but the RL78
3363 # doesn't fault for those - instead, it gives a build-time error
3364 # for explicit misaligned loads.
3365 noconfigdirs
="$noconfigdirs target-libssp"
3369 # Disable libstdc++-v3 for some systems.
3370 # Allow user to override this if they pass --enable-libstdc++-v3
3371 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3374 # VxWorks uses the Dinkumware C++ library.
3375 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3378 # the C++ libraries don't build on top of CE's C libraries
3379 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3382 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3387 # Disable Fortran for some systems.
3390 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3391 unsupported_languages
="$unsupported_languages fortran"
3395 # Disable Java if libffi is not supported.
3427 powerpc-
*-aix* | rs6000-
*-aix*)
3431 powerpc64-
*-freebsd*)
3435 s390-
*-* | s390x-
*-*)
3437 sh-
*-* | sh
[34]*-*-*)
3439 sh64-
*-* | sh5
*-*-*)
3446 unsupported_languages
="$unsupported_languages java"
3450 # Disable Java, libgcj or related libraries for some systems.
3454 i
[3456789]86-*-darwin*)
3456 x86_64-
*-darwin[912]*)
3459 noconfigdirs
="$noconfigdirs ${libgcj}"
3462 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3480 noconfigdirs
="$noconfigdirs ${libgcj}"
3483 noconfigdirs
="$noconfigdirs ${libgcj}"
3486 noconfigdirs
="$noconfigdirs target-boehm-gc"
3488 cris-
*-* | crisv32-
*-*)
3489 unsupported_languages
="$unsupported_languages java"
3493 *) # See PR46792 regarding target-libffi.
3494 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3498 # In this case, it's because the hppa64-linux target is for
3499 # the kernel only at this point and has no libc, and thus no
3500 # headers, crt*.o, etc., all of which are needed by these.
3501 unsupported_languages
="$unsupported_languages java"
3504 noconfigdirs
="$noconfigdirs ${libgcj}"
3509 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3510 # build on HP-UX 10.20.
3511 noconfigdirs
="$noconfigdirs ${libgcj}"
3514 noconfigdirs
="$noconfigdirs ${libgcj}"
3516 i
[3456789]86-w64-mingw*)
3517 noconfigdirs
="$noconfigdirs ${libgcj}"
3519 i
[3456789]86-*-mingw*)
3520 noconfigdirs
="$noconfigdirs ${libgcj}"
3523 noconfigdirs
="$noconfigdirs ${libgcj}"
3526 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3529 # copied from rs6000-*-* entry
3530 noconfigdirs
="$noconfigdirs ${libgcj}"
3533 noconfigdirs
="$noconfigdirs ${libgcj}"
3536 noconfigdirs
="$noconfigdirs ${libgcj}"
3540 # Disable libgo for some systems where it is known to not work.
3541 # For testing, you can easily override this with --enable-libgo.
3542 if test x
$enable_libgo = x
; then
3546 noconfigdirs
="$noconfigdirs target-libgo"
3548 *-*-cygwin* |
*-*-mingw*)
3549 noconfigdirs
="$noconfigdirs target-libgo"
3552 noconfigdirs
="$noconfigdirs target-libgo"
3557 # Default libgloss CPU subdirectory.
3558 libgloss_dir
="$target_cpu"
3561 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3565 libgloss_dir
=aarch64
3570 cris-
*-* | crisv32-
*-*)
3579 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3580 libgloss_dir
=m68hc11
3582 m68
*-*-* | fido-
*-*)
3596 # Disable newlib and libgloss for various target OSes.
3599 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 i
[3456789]86-*-linux*)
3602 # This section makes it possible to build newlib natively on linux.
3603 # If we are using a cross compiler then don't configure newlib.
3604 if test x
${is_cross_compiler} != xno
; then
3605 noconfigdirs
="$noconfigdirs target-newlib"
3607 noconfigdirs
="$noconfigdirs target-libgloss"
3608 # If we are not using a cross compiler, do configure newlib.
3609 # Note however, that newlib will only be configured in this situation
3610 # if the --with-newlib option has been given, because otherwise
3611 # 'target-newlib' will appear in skipdirs.
3613 i
[3456789]86-*-rdos*)
3614 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3637 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3638 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3667 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3668 noconfigdirs
="$noconfigdirs sim target-rda"
3670 i
[3456789]86-*-darwin*)
3671 noconfigdirs
="$noconfigdirs ld gprof"
3672 noconfigdirs
="$noconfigdirs sim target-rda"
3674 x86_64-
*-darwin[912]*)
3675 noconfigdirs
="$noconfigdirs ld gas gprof"
3676 noconfigdirs
="$noconfigdirs sim target-rda"
3679 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3680 noconfigdirs
="$noconfigdirs sim target-rda"
3685 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3686 && test -f /usr
/local
/include
/gmp.h
; then
3691 # Remove unsupported stuff on all kaOS configurations.
3692 noconfigdirs
="$noconfigdirs target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-libgloss"
3701 # The tpf target doesn't support gdb yet.
3703 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3706 noconfigdirs
="$noconfigdirs target-rda"
3711 # ld works, but does not support shared libraries.
3712 # gas doesn't generate exception information.
3713 noconfigdirs
="$noconfigdirs gas ld"
3716 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3719 # newlib is not 64 bit ready
3720 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3723 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3729 noconfigdirs
="$noconfigdirs target-libgloss"
3732 noconfigdirs
="$noconfigdirs ld target-libgloss"
3737 if test x
${with_avrlibc} != xno
; then
3738 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3741 c4x-
*-* | tic4x-
*-*)
3742 noconfigdirs
="$noconfigdirs target-libgloss"
3745 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3748 noconfigdirs
="$noconfigdirs target-libgloss"
3751 noconfigdirs
="$noconfigdirs gdb"
3754 noconfigdirs
="$noconfigdirs gdb"
3757 noconfigdirs
="$noconfigdirs gprof"
3760 noconfigdirs
="$noconfigdirs target-libgloss"
3763 noconfigdirs
="$noconfigdirs target-libgloss"
3765 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3773 hppa
*-*-openbsd* | \
3777 noconfigdirs
="$noconfigdirs ld"
3782 noconfigdirs
="$noconfigdirs ld"
3785 noconfigdirs
="$noconfigdirs gdb"
3788 # No gdb support yet.
3789 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3792 # No ld support yet.
3793 noconfigdirs
="$noconfigdirs libgui itcl ld"
3796 # No ld support yet.
3797 noconfigdirs
="$noconfigdirs libgui itcl ld"
3799 i
[3456789]86-w64-mingw*)
3801 i
[3456789]86-*-mingw*)
3802 target_configdirs
="$target_configdirs target-winsup"
3805 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3806 noconfigdirs
="$noconfigdirs target-libgloss"
3807 # always build newlib if winsup directory is present.
3808 if test -d "$srcdir/winsup/cygwin"; then
3809 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3810 elif test -d "$srcdir/newlib"; then
3811 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3815 noconfigdirs
="$noconfigdirs target-libgloss"
3817 i
[3456789]86-*-sco3.2v5
*)
3818 # The linker does not yet know about weak symbols in COFF,
3819 # and is not configured to handle mixed ELF and COFF.
3820 noconfigdirs
="$noconfigdirs ld target-libgloss"
3822 i
[3456789]86-*-sco*)
3823 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3825 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3828 i
[3456789]86-*-sysv4*)
3829 noconfigdirs
="$noconfigdirs target-libgloss"
3831 i
[3456789]86-*-beos*)
3832 noconfigdirs
="$noconfigdirs gdb"
3834 i
[3456789]86-*-rdos*)
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs gdb"
3841 noconfigdirs
="$noconfigdirs sim"
3844 # copied from rs6000-*-* entry
3845 noconfigdirs
="$noconfigdirs gprof"
3847 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3848 target_configdirs
="$target_configdirs target-winsup"
3849 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3850 # always build newlib.
3851 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3853 # This is temporary until we can link against shared libraries
3854 powerpcle-
*-solaris*)
3855 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3858 noconfigdirs
="$noconfigdirs gdb"
3861 noconfigdirs
="$noconfigdirs gprof"
3864 noconfigdirs
="$noconfigdirs gprof"
3867 noconfigdirs
="$noconfigdirs gprof"
3870 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3873 noconfigdirs
="$noconfigdirs gprof"
3875 mips
*-sde-elf* | mips
*-mti-elf*)
3876 if test x
$with_newlib = xyes
; then
3877 noconfigdirs
="$noconfigdirs gprof"
3881 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3884 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3887 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3891 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3892 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3893 noconfigdirs
="$noconfigdirs ld gas gprof"
3896 noconfigdirs
="$noconfigdirs gprof"
3903 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3907 if test x
${is_cross_compiler} = xno
; then
3912 noconfigdirs
="$noconfigdirs sim"
3914 tilepro
*-*-* | tilegx
*-*-*)
3915 noconfigdirs
="$noconfigdirs sim"
3918 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3921 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3925 # If we aren't building newlib, then don't build libgloss, since libgloss
3926 # depends upon some newlib header files.
3927 case "${noconfigdirs}" in
3928 *target-libgloss
*) ;;
3929 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3932 # Work in distributions that contain no compiler tools, like Autoconf.
3933 host_makefile_frag
=/dev
/null
3934 if test -d ${srcdir}/config
; then
3936 i
[3456789]86-*-msdosdjgpp*)
3937 host_makefile_frag
="config/mh-djgpp"
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3942 $as_echo_n "checking to see if cat works as expected... " >&6; }
3943 echo a
>cygwin-cat-check
3944 if test `cat cygwin-cat-check` = a
; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3952 as_fn_error
"The cat command does not ignore carriage return characters.
3953 Please either mount the build directory in binary mode or run the following
3954 commands before running any configure script:
3960 host_makefile_frag
="config/mh-cygwin"
3963 host_makefile_frag
="config/mh-mingw"
3966 host_makefile_frag
="config/mh-pa-hpux10"
3969 host_makefile_frag
="config/mh-pa"
3972 host_makefile_frag
="config/mh-pa"
3975 host_makefile_frag
="config/mh-darwin"
3978 host_makefile_frag
="config/mh-ppc-aix"
3981 host_makefile_frag
="config/mh-ppc-aix"
3986 if test "${build}" != "${host}" ; then
3987 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3988 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3989 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3990 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3991 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3992 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3993 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3994 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3995 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3996 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3997 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3998 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3999 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4001 AR_FOR_BUILD
="\$(AR)"
4002 AS_FOR_BUILD
="\$(AS)"
4003 CC_FOR_BUILD
="\$(CC)"
4004 CXX_FOR_BUILD
="\$(CXX)"
4005 GCJ_FOR_BUILD
="\$(GCJ)"
4006 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4007 GOC_FOR_BUILD
="\$(GOC)"
4008 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4009 LD_FOR_BUILD
="\$(LD)"
4010 NM_FOR_BUILD
="\$(NM)"
4011 RANLIB_FOR_BUILD
="\$(RANLIB)"
4012 WINDRES_FOR_BUILD
="\$(WINDRES)"
4013 WINDMC_FOR_BUILD
="\$(WINDMC)"
4017 ac_cpp
='$CPP $CPPFLAGS'
4018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4021 if test -n "$ac_tool_prefix"; then
4022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4023 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_CC+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$CC"; then
4030 ac_cv_prog_CC
="$CC" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 if test -n "$CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4052 $as_echo "$CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4060 if test -z "$ac_cv_prog_CC"; then
4062 # Extract the first word of "gcc", so it can be a program name with args.
4063 set dummy gcc
; ac_word
=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -n "$ac_ct_CC"; then
4070 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079 ac_cv_prog_ac_ct_CC
="gcc"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4090 if test -n "$ac_ct_CC"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4092 $as_echo "$ac_ct_CC" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4098 if test "x$ac_ct_CC" = x
; then
4101 case $cross_compiling:$ac_tool_warned in
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4105 ac_tool_warned
=yes ;;
4113 if test -z "$CC"; then
4114 if test -n "$ac_tool_prefix"; then
4115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4116 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if test "${ac_cv_prog_CC+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$CC"; then
4123 ac_cv_prog_CC
="$CC" # Let the user override the test.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 if test -n "$CC"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4145 $as_echo "$CC" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4154 if test -z "$CC"; then
4155 # Extract the first word of "cc", so it can be a program name with args.
4156 set dummy cc
; ac_word
=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if test "${ac_cv_prog_CC+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4162 if test -n "$CC"; then
4163 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4174 ac_prog_rejected
=yes
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 if test $ac_prog_rejected = yes; then
4186 # We found a bogon in the path, so make sure we never use it.
4187 set dummy
$ac_cv_prog_CC
4189 if test $# != 0; then
4190 # We chose a different compiler from the bogus one.
4191 # However, it has the same basename, so the bogon will be chosen
4192 # first if we set CC to just the basename; use the full file name.
4194 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4200 if test -n "$CC"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4202 $as_echo "$CC" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4210 if test -z "$CC"; then
4211 if test -n "$ac_tool_prefix"; then
4212 for ac_prog
in cl.exe
4214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4215 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if test "${ac_cv_prog_CC+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$CC"; then
4222 ac_cv_prog_CC
="$CC" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4231 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 if test -n "$CC"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4244 $as_echo "$CC" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$CC" && break
4254 if test -z "$CC"; then
4256 for ac_prog
in cl.exe
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy
$ac_prog; ac_word
=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$ac_ct_CC"; then
4266 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_prog_ac_ct_CC
="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4286 if test -n "$ac_ct_CC"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4288 $as_echo "$ac_ct_CC" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$ac_ct_CC" && break
4298 if test "x$ac_ct_CC" = x
; then
4301 case $cross_compiling:$ac_tool_warned in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4305 ac_tool_warned
=yes ;;
4314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4316 as_fn_error
"no acceptable C compiler found in \$PATH
4317 See \`config.log' for more details." "$LINENO" 5; }
4319 # Provide some information about the compiler.
4320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4323 for ac_option
in --version -v -V -qversion; do
4324 { { ac_try
="$ac_compiler $ac_option >&5"
4326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4327 *) ac_try_echo=$ac_try;;
4329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4330 $as_echo "$ac_try_echo"; } >&5
4331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4333 if test -s conftest.err; then
4335 ... rest of stderr output deleted ...
4336 10q' conftest.err >conftest.er1
4337 cat conftest.er1 >&5
4338 rm -f conftest.er1 conftest.err
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4355 ac_clean_files_save=$ac_clean_files
4356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4357 # Try to create an executable without -o first, disregard a.out.
4358 # It will help us diagnose broken compilers, and finding out an intuition
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4361 $as_echo_n "checking for C compiler default output file name... " >&6; }
4362 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4364 # The possible output files:
4365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4368 for ac_file in $ac_files
4371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4372 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4377 if { { ac_try="$ac_link_default"
4379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4380 *) ac_try_echo
=$ac_try;;
4382 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_link_default") 2>&5
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }; then :
4388 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4390 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4391 # so that the user can short-circuit this test for compilers unknown to
4393 for ac_file
in $ac_files ''
4395 test -f "$ac_file" ||
continue
4397 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4400 # We found the default executable, but exeext='' is most
4404 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4406 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4408 # We set ac_cv_exeext here because the later test for it is not
4409 # safe: cross compilers may not add the suffix if given an `-o'
4410 # argument, so we may need to know it at that point already.
4411 # Even if this section looks crufty: it has the advantage of
4418 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4424 $as_echo "$ac_file" >&6; }
4425 if test -z "$ac_file"; then :
4426 $as_echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4431 { as_fn_set_status
77
4432 as_fn_error
"C compiler cannot create executables
4433 See \`config.log' for more details." "$LINENO" 5; }; }
4435 ac_exeext
=$ac_cv_exeext
4437 # Check that the compiler produces executables we can run. If not, either
4438 # the compiler is broken, or we cross compile.
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4440 $as_echo_n "checking whether the C compiler works... " >&6; }
4441 # If not cross compiling, check that we can run a simple program.
4442 if test "$cross_compiling" != yes; then
4443 if { ac_try
='./$ac_file'
4444 { { case "(($ac_try" in
4445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_try") 2>&5
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }; }; then
4456 if test "$cross_compiling" = maybe; then
4459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4461 as_fn_error "cannot run C compiled programs.
4462 If you meant to cross compile
, use \
`--host'.
4463 See \`config.log
' for more details." "$LINENO" 5; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4468 $as_echo "yes" >&6; }
4470 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4471 ac_clean_files=$ac_clean_files_save
4472 # Check that the compiler produces executables we can run. If not, either
4473 # the compiler is broken, or we cross compile.
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4475 $as_echo_n "checking whether we are cross compiling... " >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4477 $as_echo "$cross_compiling" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4480 $as_echo_n "checking for suffix of executables... " >&6; }
4481 if { { ac_try="$ac_link"
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_link") 2>&5
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }; then :
4492 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4493 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4494 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4496 for ac_file
in conftest.exe conftest conftest.
*; do
4497 test -f "$ac_file" ||
continue
4499 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4500 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4508 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4509 See \`config.log' for more details." "$LINENO" 5; }
4511 rm -f conftest
$ac_cv_exeext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4513 $as_echo "$ac_cv_exeext" >&6; }
4515 rm -f conftest.
$ac_ext
4516 EXEEXT
=$ac_cv_exeext
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4519 $as_echo_n "checking for suffix of object files... " >&6; }
4520 if test "${ac_cv_objext+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 rm -f conftest.o conftest.obj
4535 if { { ac_try
="$ac_compile"
4537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_compile") 2>&5
4544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4545 test $ac_status = 0; }; then :
4546 for ac_file in conftest.o conftest.obj conftest.*; do
4547 test -f "$ac_file" || continue;
4549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4550 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4555 $as_echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4560 as_fn_error "cannot compute suffix of object files
: cannot compile
4561 See \
`config.log' for more details." "$LINENO" 5; }
4563 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4566 $as_echo "$ac_cv_objext" >&6; }
4567 OBJEXT=$ac_cv_objext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4571 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4588 if ac_fn_c_try_compile "$LINENO"; then :
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4598 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4604 ac_test_CFLAGS=${CFLAGS+set}
4605 ac_save_CFLAGS=$CFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4607 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cc_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4611 ac_save_c_werror_flag=$ac_c_werror_flag
4612 ac_c_werror_flag=yes
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 if ac_fn_c_try_compile "$LINENO"; then :
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4657 if ac_fn_c_try_compile "$LINENO"; then :
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_c_werror_flag=$ac_save_c_werror_flag
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4668 $as_echo "$ac_cv_prog_cc_g" >&6; }
4669 if test "$ac_test_CFLAGS" = set; then
4670 CFLAGS=$ac_save_CFLAGS
4671 elif test $ac_cv_prog_cc_g = yes; then
4672 if test "$GCC" = yes; then
4678 if test "$GCC" = yes; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4685 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4686 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 ac_cv_prog_cc_c89=no
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4695 #include <sys/types.h>
4696 #include <sys/stat.h>
4697 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4698 struct buf { int x; };
4699 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4700 static char *e (p, i)
4706 static char *f (char * (*g) (char **, int), char **p, ...)
4711 s = g (p, va_arg (v,int));
4716 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4717 function prototypes and stuff, but not '\xHH' hex character constants.
4718 These don't provoke an error unfortunately, instead are silently treated
4719 as 'x'. The following induces an error, until -std is added to get
4720 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4721 array size at least. It's necessary to write '\x00'==0 to get something
4722 that's true only with -std. */
4723 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4725 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4726 inside strings and character constants. */
4728 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4730 int test (int i, double x);
4731 struct s1 {int (*f) (int a);};
4732 struct s2 {int (*f) (double a);};
4733 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4739 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4744 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4745 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4747 CC="$ac_save_CC $ac_arg"
4748 if ac_fn_c_try_compile "$LINENO"; then :
4749 ac_cv_prog_cc_c89=$ac_arg
4751 rm -f core conftest.err conftest.$ac_objext
4752 test "x$ac_cv_prog_cc_c89" != "xno" && break
4754 rm -f conftest.$ac_ext
4759 case "x$ac_cv_prog_cc_c89" in
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4762 $as_echo "none needed" >&6; } ;;
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4765 $as_echo "unsupported" >&6; } ;;
4767 CC="$CC $ac_cv_prog_cc_c89"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4769 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4771 if test "x$ac_cv_prog_cc_c89" != xno; then :
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4782 ac_cpp='$CXXCPP $CPPFLAGS'
4783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4786 if test -z "$CXX"; then
4787 if test -n "$CCC"; then
4790 if test -n "$ac_tool_prefix"; then
4791 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if test "${ac_cv_prog_CXX+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$CXX"; then
4801 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4810 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 if test -n "$CXX"; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4823 $as_echo "$CXX" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4830 test -n "$CXX" && break
4833 if test -z "$CXX"; then
4835 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4837 # Extract the first word of "$ac_prog", so it can be a program name with args.
4838 set dummy $ac_prog; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$ac_ct_CXX"; then
4845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4854 ac_cv_prog_ac_ct_CXX="$ac_prog"
4855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4865 if test -n "$ac_ct_CXX"; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4867 $as_echo "$ac_ct_CXX" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4874 test -n "$ac_ct_CXX" && break
4877 if test "x$ac_ct_CXX" = x; then
4880 case $cross_compiling:$ac_tool_warned in
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4884 ac_tool_warned=yes ;;
4892 # Provide some information about the compiler.
4893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4896 for ac_option in --version -v -V -qversion; do
4897 { { ac_try="$ac_compiler $ac_option >&5"
4899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4900 *) ac_try_echo
=$ac_try;;
4902 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4903 $as_echo "$ac_try_echo"; } >&5
4904 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4906 if test -s conftest.err
; then
4908 ... rest of stderr output deleted ...
4909 10q' conftest.err
>conftest.er1
4910 cat conftest.er1
>&5
4911 rm -f conftest.er1 conftest.err
4913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914 test $ac_status = 0; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4918 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4919 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4936 if ac_fn_cxx_try_compile
"$LINENO"; then :
4941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4946 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4947 if test $ac_compiler_gnu = yes; then
4952 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4953 ac_save_CXXFLAGS
=$CXXFLAGS
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4955 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4956 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4957 $as_echo_n "(cached) " >&6
4959 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4960 ac_cxx_werror_flag
=yes
4963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4974 if ac_fn_cxx_try_compile
"$LINENO"; then :
4975 ac_cv_prog_cxx_g
=yes
4978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_cxx_try_compile
"$LINENO"; then :
4992 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
5005 if ac_fn_cxx_try_compile
"$LINENO"; then :
5006 ac_cv_prog_cxx_g
=yes
5008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5013 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5016 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5017 if test "$ac_test_CXXFLAGS" = set; then
5018 CXXFLAGS
=$ac_save_CXXFLAGS
5019 elif test $ac_cv_prog_cxx_g = yes; then
5020 if test "$GXX" = yes; then
5026 if test "$GXX" = yes; then
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 # We must set the default linker to the linker used by gcc for the correct
5040 # operation of libtool. If LD is not defined and we are using gcc, try to
5041 # set the LD default to the ld used by gcc.
5042 if test -z "$LD"; then
5043 if test "$GCC" = yes; then
5046 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5048 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5050 case $gcc_prog_ld in
5051 # Accept absolute paths.
5052 [\\/]* |
[A-Za-z
]:[\\/]*)
5053 LD
="$gcc_prog_ld" ;;
5058 # Check whether -static-libstdc++ -static-libgcc is supported.
5060 if test "$GCC" = yes; then
5061 saved_LDFLAGS
="$LDFLAGS"
5063 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5065 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5067 ac_cpp
='$CXXCPP $CPPFLAGS'
5068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5076 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5077 #error -static-libstdc++ not implemented
5081 if ac_fn_cxx_try_link
"$LINENO"; then :
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }; have_static_libs
=yes
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5088 rm -f core conftest.err conftest.
$ac_objext \
5089 conftest
$ac_exeext conftest.
$ac_ext
5091 ac_cpp
='$CPP $CPPFLAGS'
5092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5097 LDFLAGS
="$saved_LDFLAGS"
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5105 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$GNATBIND"; then
5112 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 GNATBIND
=$ac_cv_prog_GNATBIND
5132 if test -n "$GNATBIND"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5134 $as_echo "$GNATBIND" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_GNATBIND"; then
5143 ac_ct_GNATBIND
=$GNATBIND
5144 # Extract the first word of "gnatbind", so it can be a program name with args.
5145 set dummy gnatbind
; ac_word
=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5151 if test -n "$ac_ct_GNATBIND"; then
5152 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5172 if test -n "$ac_ct_GNATBIND"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5174 $as_echo "$ac_ct_GNATBIND" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_GNATBIND" = x
; then
5183 case $cross_compiling:$ac_tool_warned in
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned
=yes ;;
5189 GNATBIND
=$ac_ct_GNATBIND
5192 GNATBIND
="$ac_cv_prog_GNATBIND"
5195 if test -n "$ac_tool_prefix"; then
5196 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5197 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$GNATMAKE"; then
5204 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5213 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 GNATMAKE
=$ac_cv_prog_GNATMAKE
5224 if test -n "$GNATMAKE"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5226 $as_echo "$GNATMAKE" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5234 if test -z "$ac_cv_prog_GNATMAKE"; then
5235 ac_ct_GNATMAKE
=$GNATMAKE
5236 # Extract the first word of "gnatmake", so it can be a program name with args.
5237 set dummy gnatmake
; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$ac_ct_GNATMAKE"; then
5244 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5264 if test -n "$ac_ct_GNATMAKE"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5266 $as_echo "$ac_ct_GNATMAKE" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5272 if test "x$ac_ct_GNATMAKE" = x
; then
5275 case $cross_compiling:$ac_tool_warned in
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5279 ac_tool_warned
=yes ;;
5281 GNATMAKE
=$ac_ct_GNATMAKE
5284 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5288 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5289 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5292 cat >conftest.adb
<<EOF
5293 procedure conftest is begin null; end conftest;
5295 acx_cv_cc_gcc_supports_ada
=no
5296 # There is a bug in old released versions of GCC which causes the
5297 # driver to exit successfully when the appropriate language module
5298 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5299 # Therefore we must check for the error message as well as an
5300 # unsuccessful exit.
5301 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5302 # given a .adb file, but produce no object file. So we must check
5303 # if an object file was really produced to guard against this.
5304 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5305 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5306 acx_cv_cc_gcc_supports_ada
=yes
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5311 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5313 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5320 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5321 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5326 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5327 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5328 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5331 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5334 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5335 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5338 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5345 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5346 do_compare
="$gcc_cv_prog_cmp_skip"
5350 # Check whether --enable-bootstrap was given.
5351 if test "${enable_bootstrap+set}" = set; then :
5352 enableval
=$enable_bootstrap;
5354 enable_bootstrap
=default
5358 # Issue errors and warnings for invalid/strange bootstrap combinations.
5359 if test -r $srcdir/gcc
/configure
; then
5365 case "$have_compiler:$host:$target:$enable_bootstrap" in
5368 # Default behavior. Enable bootstrap if we have a compiler
5369 # and we are in a native configuration.
5370 yes:$build:$build:default
)
5371 enable_bootstrap
=yes ;;
5374 enable_bootstrap
=no
;;
5376 # We have a compiler and we are in a native configuration, bootstrap is ok
5377 yes:$build:$build:yes)
5380 # Other configurations, but we have a compiler. Assume the user knows
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5384 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5387 # No compiler: if they passed --enable-bootstrap explicitly, fail
5389 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5391 # Fail if wrong command line
5393 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5397 # Used for setting $lt_cv_objdir
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5399 $as_echo_n "checking for objdir... " >&6; }
5400 if test "${lt_cv_objdir+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5403 rm -f .libs
2>/dev
/null
5404 mkdir .libs
2>/dev
/null
5405 if test -d .libs
; then
5408 # MS-DOS does not allow filenames that begin with a dot.
5411 rmdir .libs
2>/dev
/null
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5414 $as_echo "$lt_cv_objdir" >&6; }
5415 objdir
=$lt_cv_objdir
5421 cat >>confdefs.h
<<_ACEOF
5422 #define LT_OBJDIR "$lt_cv_objdir/"
5427 # Check for GMP, MPFR and MPC
5428 gmplibs
="-lmpc -lmpfr -lgmp"
5432 # Specify a location for mpc
5433 # check for this first so it ends up on the link line before mpfr.
5435 # Check whether --with-mpc was given.
5436 if test "${with_mpc+set}" = set; then :
5441 # Check whether --with-mpc-include was given.
5442 if test "${with_mpc_include+set}" = set; then :
5443 withval
=$with_mpc_include;
5447 # Check whether --with-mpc-lib was given.
5448 if test "${with_mpc_lib+set}" = set; then :
5449 withval
=$with_mpc_lib;
5453 if test "x$with_mpc" != x
; then
5454 gmplibs
="-L$with_mpc/lib $gmplibs"
5455 gmpinc
="-I$with_mpc/include $gmpinc"
5457 if test "x$with_mpc_include" != x
; then
5458 gmpinc
="-I$with_mpc_include $gmpinc"
5460 if test "x$with_mpc_lib" != x
; then
5461 gmplibs
="-L$with_mpc_lib $gmplibs"
5463 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5464 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5465 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5466 # Do not test the mpc version. Assume that it is sufficient, since
5467 # it is in the source tree, and the library has not been built yet
5468 # but it would be included on the link line in the version check below
5469 # hence making the test fail.
5473 # Specify a location for mpfr
5474 # check for this first so it ends up on the link line before gmp.
5476 # Check whether --with-mpfr-dir was given.
5477 if test "${with_mpfr_dir+set}" = set; then :
5478 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5479 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5484 # Check whether --with-mpfr was given.
5485 if test "${with_mpfr+set}" = set; then :
5490 # Check whether --with-mpfr-include was given.
5491 if test "${with_mpfr_include+set}" = set; then :
5492 withval
=$with_mpfr_include;
5496 # Check whether --with-mpfr-lib was given.
5497 if test "${with_mpfr_lib+set}" = set; then :
5498 withval
=$with_mpfr_lib;
5502 if test "x$with_mpfr" != x
; then
5503 gmplibs
="-L$with_mpfr/lib $gmplibs"
5504 gmpinc
="-I$with_mpfr/include $gmpinc"
5506 if test "x$with_mpfr_include" != x
; then
5507 gmpinc
="-I$with_mpfr_include $gmpinc"
5509 if test "x$with_mpfr_lib" != x
; then
5510 gmplibs
="-L$with_mpfr_lib $gmplibs"
5512 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5513 # MPFR v3.1.0 moved the sources into a src sub-directory.
5514 if test -d ${srcdir}/mpfr
/src
; then
5515 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5516 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5517 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5519 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5520 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5521 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5523 # Do not test the mpfr version. Assume that it is sufficient, since
5524 # it is in the source tree, and the library has not been built yet
5525 # but it would be included on the link line in the version check below
5526 # hence making the test fail.
5530 # Specify a location for gmp
5532 # Check whether --with-gmp-dir was given.
5533 if test "${with_gmp_dir+set}" = set; then :
5534 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5535 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5540 # Check whether --with-gmp was given.
5541 if test "${with_gmp+set}" = set; then :
5546 # Check whether --with-gmp-include was given.
5547 if test "${with_gmp_include+set}" = set; then :
5548 withval
=$with_gmp_include;
5552 # Check whether --with-gmp-lib was given.
5553 if test "${with_gmp_lib+set}" = set; then :
5554 withval
=$with_gmp_lib;
5559 if test "x$with_gmp" != x
; then
5560 gmplibs
="-L$with_gmp/lib $gmplibs"
5561 gmpinc
="-I$with_gmp/include $gmpinc"
5563 if test "x$with_gmp_include" != x
; then
5564 gmpinc
="-I$with_gmp_include $gmpinc"
5566 if test "x$with_gmp_lib" != x
; then
5567 gmplibs
="-L$with_gmp_lib $gmplibs"
5569 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5570 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5571 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5572 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5573 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5574 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5575 # Do not test the gmp version. Assume that it is sufficient, since
5576 # it is in the source tree, and the library has not been built yet
5577 # but it would be included on the link line in the version check below
5578 # hence making the test fail.
5582 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5584 saved_CFLAGS
="$CFLAGS"
5585 CFLAGS
="$CFLAGS $gmpinc"
5586 # Check for the recommended and required versions of GMP.
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5588 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5597 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5598 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5599 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5607 if ac_fn_c_try_compile
"$LINENO"; then :
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5615 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5616 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5617 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5625 if ac_fn_c_try_compile
"$LINENO"; then :
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5627 $as_echo "yes" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5630 $as_echo "buggy but acceptable" >&6; }
5632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }; have_gmp
=no
5637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5639 # If we have GMP, check the MPFR version.
5640 if test x
"$have_gmp" = xyes
; then
5641 # Check for the recommended and required versions of MPFR.
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5643 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5652 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5660 if ac_fn_c_try_compile
"$LINENO"; then :
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5669 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5677 if ac_fn_c_try_compile
"$LINENO"; then :
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5679 $as_echo "yes" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5682 $as_echo "buggy but acceptable" >&6; }
5684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }; have_gmp
=no
5689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5692 # Check for the MPC header version.
5693 if test x
"$have_gmp" = xyes
; then
5694 # Check for the recommended and required versions of MPC.
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5696 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5704 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5712 if ac_fn_c_try_compile
"$LINENO"; then :
5713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5720 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5728 if ac_fn_c_try_compile
"$LINENO"; then :
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5730 $as_echo "yes" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5733 $as_echo "buggy but acceptable" >&6; }
5735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }; have_gmp
=no
5740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5743 # Now check the MPFR library.
5744 if test x
"$have_gmp" = xyes
; then
5746 LIBS
="$LIBS $gmplibs"
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5748 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5762 mpfr_atan2 (n, n, x, GMP_RNDN);
5763 mpfr_erfc (n, x, GMP_RNDN);
5764 mpfr_subnormalize (x, t, GMP_RNDN);
5768 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5769 mpc_cosh (c, c, MPC_RNDNN);
5770 mpc_pow (c, c, c, MPC_RNDNN);
5771 mpc_acosh (c, c, MPC_RNDNN);
5778 if ac_fn_c_try_link
"$LINENO"; then :
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5780 $as_echo "yes" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }; have_gmp
=no
5785 rm -f core conftest.err conftest.
$ac_objext \
5786 conftest
$ac_exeext conftest.
$ac_ext
5790 CFLAGS
="$saved_CFLAGS"
5792 # The library versions listed in the error message below should match
5793 # the HARD-minimums enforced above.
5794 if test x
$have_gmp != xyes
; then
5795 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5796 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5797 their locations. Source code for these libraries can be found at
5798 their respective hosting sites as well as at
5799 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5800 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5801 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5802 make sure that you have installed both the libraries and the header
5803 files. They may be located in separate packages." "$LINENO" 5
5807 # Flags needed for both GMP, MPFR and/or MPC.
5815 # Allow host libstdc++ to be specified for static linking with PPL.
5817 # Check whether --with-host-libstdcxx was given.
5818 if test "${with_host_libstdcxx+set}" = set; then :
5819 withval
=$with_host_libstdcxx;
5823 case $with_host_libstdcxx in
5825 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5829 # Libraries to use for stage1 or when not bootstrapping.
5831 # Check whether --with-stage1-libs was given.
5832 if test "${with_stage1_libs+set}" = set; then :
5833 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5836 stage1_libs
=$withval
5839 stage1_libs
=$with_host_libstdcxx
5844 # Linker flags to use for stage1 or when not bootstrapping.
5846 # Check whether --with-stage1-ldflags was given.
5847 if test "${with_stage1_ldflags+set}" = set; then :
5848 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5851 stage1_ldflags
=$withval
5855 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5856 # if supported. But if the user explicitly specified the libraries to use,
5857 # trust that they are doing what they want.
5858 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5859 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5865 # Libraries to use for stage2 and later builds. This defaults to the
5866 # argument passed to --with-host-libstdcxx.
5868 # Check whether --with-boot-libs was given.
5869 if test "${with_boot_libs+set}" = set; then :
5870 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5873 poststage1_libs
=$withval
5876 poststage1_libs
=$with_host_libstdcxx
5881 # Linker flags to use for stage2 and later builds.
5883 # Check whether --with-boot-ldflags was given.
5884 if test "${with_boot_ldflags+set}" = set; then :
5885 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5888 poststage1_ldflags
=$withval
5892 # In stages 2 and 3, default to linking libstdc++ and libgcc
5893 # statically. But if the user explicitly specified the libraries to
5894 # use, trust that they are doing what they want.
5895 if test "$poststage1_libs" = ""; then
5896 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5902 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5903 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5907 # Check whether --with-cloog was given.
5908 if test "${with_cloog+set}" = set; then :
5909 withval
=$with_cloog;
5913 # Check whether --with-isl was given.
5914 if test "${with_isl+set}" = set; then :
5919 # Treat either --without-cloog or --without-isl as a request to disable
5920 # GRAPHITE support and skip all following checks.
5921 if test "x$with_isl" != "xno" &&
5922 test "x$with_cloog" != "xno"; then
5926 # Check whether --with-isl-include was given.
5927 if test "${with_isl_include+set}" = set; then :
5928 withval
=$with_isl_include;
5932 # Check whether --with-isl-lib was given.
5933 if test "${with_isl_lib+set}" = set; then :
5934 withval
=$with_isl_lib;
5938 # Check whether --enable-isl-version-check was given.
5939 if test "${enable_isl_version_check+set}" = set; then :
5940 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5942 ENABLE_ISL_CHECK
=yes
5946 # Initialize isllibs and islinc.
5955 isllibs
="-L$with_isl/lib"
5956 islinc
="-I$with_isl/include"
5959 if test "x${with_isl_include}" != x
; then
5960 islinc
="-I$with_isl_include"
5962 if test "x${with_isl_lib}" != x
; then
5963 isllibs
="-L$with_isl_lib"
5965 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5966 && test -d ${srcdir}/isl
; then
5967 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5968 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5971 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5976 if test "${ENABLE_ISL_CHECK}" = yes ; then
5977 _isl_saved_CFLAGS
=$CFLAGS
5978 _isl_saved_LDFLAGS
=$LDFLAGS
5979 _isl_saved_LIBS
=$LIBS
5981 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5982 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5983 LIBS
="${_isl_saved_LIBS} -lisl"
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5986 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5987 if test "$cross_compiling" = yes; then :
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 #include <isl/version.h>
5997 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
6004 if ac_fn_c_try_run
"$LINENO"; then :
6009 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6010 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6014 $as_echo "$gcc_cv_isl" >&6; }
6016 CFLAGS
=$_isl_saved_CFLAGS
6017 LDFLAGS
=$_isl_saved_LDFLAGS
6018 LIBS
=$_isl_saved_LIBS
6022 if test "${gcc_cv_isl}" = no
; then
6024 if test "${ENABLE_ISL_CHECK}" = yes ; then
6025 _isl_saved_CFLAGS
=$CFLAGS
6026 _isl_saved_LDFLAGS
=$LDFLAGS
6027 _isl_saved_LIBS
=$LIBS
6029 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6030 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
6031 LIBS
="${_isl_saved_LIBS} -lisl"
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5
6034 $as_echo_n "checking for version 0.11 of ISL... " >&6; }
6035 if test "$cross_compiling" = yes; then :
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 #include <isl/version.h>
6045 if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
6052 if ac_fn_c_try_run
"$LINENO"; then :
6057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6058 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6062 $as_echo "$gcc_cv_isl" >&6; }
6064 CFLAGS
=$_isl_saved_CFLAGS
6065 LDFLAGS
=$_isl_saved_LDFLAGS
6066 LIBS
=$_isl_saved_LIBS
6070 if test "${gcc_cv_isl}" = no
; then
6072 if test "${ENABLE_ISL_CHECK}" = yes ; then
6073 _isl_saved_CFLAGS
=$CFLAGS
6074 _isl_saved_LDFLAGS
=$LDFLAGS
6075 _isl_saved_LIBS
=$LIBS
6077 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6078 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
6079 LIBS
="${_isl_saved_LIBS} -lisl"
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
6082 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
6083 if test "$cross_compiling" = yes; then :
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #include <isl/version.h>
6093 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
6100 if ac_fn_c_try_run
"$LINENO"; then :
6105 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6106 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6110 $as_echo "$gcc_cv_isl" >&6; }
6112 CFLAGS
=$_isl_saved_CFLAGS
6113 LDFLAGS
=$_isl_saved_LDFLAGS
6114 LIBS
=$_isl_saved_LIBS
6124 if test "x${with_isl}" = xno
; then
6125 graphite_requested
=no
6126 elif test "x${with_isl}" != x \
6127 ||
test "x${with_isl_include}" != x \
6128 ||
test "x${with_isl_lib}" != x
; then
6129 graphite_requested
=yes
6131 graphite_requested
=no
6136 if test "${gcc_cv_isl}" = no
; then
6141 if test "${graphite_requested}" = yes \
6142 && test "x${isllibs}" = x \
6143 && test "x${islinc}" = x
; then
6145 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6150 if test "x$gcc_cv_isl" != "xno"; then
6154 # Check whether --with-cloog-include was given.
6155 if test "${with_cloog_include+set}" = set; then :
6156 withval
=$with_cloog_include;
6160 # Check whether --with-cloog-lib was given.
6161 if test "${with_cloog_lib+set}" = set; then :
6162 withval
=$with_cloog_lib;
6166 # Check whether --enable-cloog-version-check was given.
6167 if test "${enable_cloog_version_check+set}" = set; then :
6168 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
6170 ENABLE_CLOOG_CHECK
=yes
6174 # Initialize clooglibs and clooginc.
6183 clooglibs
="-L$with_cloog/lib"
6184 clooginc
="-I$with_cloog/include"
6187 if test "x${with_cloog_include}" != x
; then
6188 clooginc
="-I$with_cloog_include"
6190 if test "x${with_cloog_lib}" != x
; then
6191 clooglibs
="-L$with_cloog_lib"
6193 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6194 && test -d ${srcdir}/cloog
; then
6195 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6196 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
6197 ENABLE_CLOOG_CHECK
=no
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6199 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6202 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6203 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
6209 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6210 _cloog_saved_CFLAGS
=$CFLAGS
6211 _cloog_saved_LDFLAGS
=$LDFLAGS
6213 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6214 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
6217 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include "cloog/version.h"
6224 #if CLOOG_VERSION_MAJOR != 0 \
6225 || CLOOG_VERSION_MINOR != 17 \
6226 || CLOOG_VERSION_REVISION < 0
6233 if ac_fn_c_try_compile
"$LINENO"; then :
6238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6240 $as_echo "$gcc_cv_cloog" >&6; }
6242 CFLAGS
=$_cloog_saved_CFLAGS
6243 LDFLAGS
=$_cloog_saved_LDFLAGS
6247 if test "${gcc_cv_cloog}" = no
; then
6251 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6252 _cloog_saved_CFLAGS
=$CFLAGS
6253 _cloog_saved_LDFLAGS
=$LDFLAGS
6255 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6256 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.0 of CLooG" >&5
6259 $as_echo_n "checking for version 0.18.0 of CLooG... " >&6; }
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include "cloog/version.h"
6266 #if CLOOG_VERSION_MAJOR != 0 \
6267 || CLOOG_VERSION_MINOR != 18 \
6268 || CLOOG_VERSION_REVISION < 0
6275 if ac_fn_c_try_compile
"$LINENO"; then :
6280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6282 $as_echo "$gcc_cv_cloog" >&6; }
6284 CFLAGS
=$_cloog_saved_CFLAGS
6285 LDFLAGS
=$_cloog_saved_LDFLAGS
6295 if test "x${with_cloog}" = xno
; then
6296 graphite_requested
=no
6297 elif test "x${with_cloog}" != x \
6298 ||
test "x${with_cloog_include}" != x \
6299 ||
test "x${with_cloog_lib}" != x
; then
6300 graphite_requested
=yes
6302 graphite_requested
=no
6307 if test "${gcc_cv_cloog}" = no
; then
6312 if test "${graphite_requested}" = yes \
6313 && test "x${clooglibs}" = x \
6314 && test "x${clooginc}" = x
; then
6316 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6323 # If either the ISL or the CLooG check failed, disable builds of in-tree
6325 if test "x$with_isl" = xno ||
6326 test "x$with_cloog" = xno ||
6327 test "x$gcc_cv_cloog" = xno ||
6328 test "x$gcc_cv_isl" = xno
; then
6329 noconfigdirs
="$noconfigdirs cloog isl"
6340 # Check for LTO support.
6341 # Check whether --enable-lto was given.
6342 if test "${enable_lto+set}" = set; then :
6343 enableval
=$enable_lto; enable_lto
=$enableval
6345 enable_lto
=yes; default_enable_lto
=yes
6354 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6355 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6356 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6364 if test $target_elf = yes; then :
6365 # ELF platforms build the lto-plugin always.
6366 build_lto_plugin
=yes
6369 if test x
"$default_enable_lto" = x
"yes" ; then
6371 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6372 # On other non-ELF platforms, LTO has yet to be validated.
6376 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6377 # It would also be nice to check the binutils support, but we don't
6378 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6379 # warn during gcc/ subconfigure; unless you're bootstrapping with
6380 # -flto it won't be needed until after installation anyway.
6382 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6383 *) if test x
"$enable_lto" = x
"yes"; then
6384 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6389 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6390 # Build it unless LTO was explicitly disabled.
6392 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6400 # By default, C and C++ are the only stage 1 languages.
6401 stage1_languages
=,c
,
6403 # Target libraries that we bootstrap.
6404 bootstrap_target_libs
=,target-libgcc
,
6406 # Figure out what language subdirectories are present.
6407 # Look if the user specified --enable-languages="..."; if not, use
6408 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6410 # NB: embedded tabs in this IF block -- do not untabify
6411 if test -d ${srcdir}/gcc
; then
6412 if test x
"${enable_languages+set}" != xset
; then
6413 if test x
"${LANGUAGES+set}" = xset
; then
6414 enable_languages
="${LANGUAGES}"
6415 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6417 enable_languages
=all
6420 if test x
"${enable_languages}" = x ||
6421 test x
"${enable_languages}" = xyes
;
6423 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6427 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6429 # 'f95' is the old name for the 'fortran' language. We issue a warning
6430 # and make the substitution.
6431 case ,${enable_languages}, in
6433 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6434 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6438 # If bootstrapping, C++ must be enabled.
6439 case ",$enable_languages,:$enable_bootstrap" in
6442 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6443 enable_languages
="${enable_languages},c++"
6445 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6450 # First scan to see if an enabled language requires some other language.
6451 # We assume that a given config-lang.in will list all the language
6452 # front ends it requires, even if some are required indirectly.
6453 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6454 case ${lang_frag} in
6456 # The odd quoting in the next line works around
6457 # an apparent bug in bash 1.12 on linux.
6458 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6460 # From the config-lang.in, get $language, $lang_requires, and
6461 # $lang_requires_boot_languages.
6464 lang_requires_boot_languages
=
6466 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6467 case ,${enable_languages}, in
6471 echo " \`$other' language required by \`$language'; enabling" 1>&2
6472 enable_languages
="${enable_languages},${other}"
6476 for other
in ${lang_requires_boot_languages} ; do
6477 if test "$other" != "c"; then
6478 case ,${enable_stage1_languages}, in
6482 case ,${enable_languages}, in
6484 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6485 enable_stage1_languages
="$enable_stage1_languages,${other}"
6496 new_enable_languages
=,c
,
6498 # If LTO is enabled, add the LTO front end.
6499 extra_host_libiberty_configure_flags
=
6500 if test "$enable_lto" = "yes" ; then
6501 case ,${enable_languages}, in
6503 *) enable_languages
="${enable_languages},lto" ;;
6505 if test "${build_lto_plugin}" = "yes" ; then
6506 configdirs
="$configdirs lto-plugin"
6507 extra_host_libiberty_configure_flags
=--enable-shared
6512 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6513 potential_languages
=,c
,
6515 enabled_target_libs
=
6516 disabled_target_libs
=
6518 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6519 case ${lang_frag} in
6521 # The odd quoting in the next line works around
6522 # an apparent bug in bash 1.12 on linux.
6523 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6525 # From the config-lang.in, get $language, $target_libs,
6526 # $lang_dirs, $boot_language, and $build_by_default
6532 build_by_default
=yes
6534 if test x
${language} = x
; then
6535 echo "${lang_frag} doesn't set \$language." 1>&2
6539 if test "$language" = "c++"; then
6544 case ,${enable_languages}, in
6546 # Language was explicitly selected; include it
6547 # unless it is C, which is enabled by default.
6548 if test "$language" != "c"; then
6553 # 'all' was selected, select it if it is a default language
6554 if test "$language" != "c"; then
6555 add_this_lang
=${build_by_default}
6560 # Disable languages that need other directories if these aren't available.
6561 for i
in $subdir_requires; do
6562 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6563 case ,${enable_languages}, in
6565 # Specifically requested language; tell them.
6566 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6570 add_this_lang
=unsupported
6575 # Disable Ada if no preexisting GNAT is available.
6576 case ,${enable_languages},:${language}:${have_gnat} in
6577 *,${language},*:ada
:no
)
6578 # Specifically requested language; tell them.
6579 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6583 add_this_lang
=unsupported
6587 # Disable a language that is unsupported by the target.
6588 case " $unsupported_languages " in
6590 add_this_lang
=unsupported
6594 case $add_this_lang in
6596 # Remove language-dependent dirs.
6597 disabled_target_libs
="$disabled_target_libs $target_libs"
6598 noconfigdirs
="$noconfigdirs $lang_dirs"
6601 # Remove language-dependent dirs; still show language as supported.
6602 disabled_target_libs
="$disabled_target_libs $target_libs"
6603 noconfigdirs
="$noconfigdirs $lang_dirs"
6604 potential_languages
="${potential_languages}${language},"
6607 new_enable_languages
="${new_enable_languages}${language},"
6608 potential_languages
="${potential_languages}${language},"
6609 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6610 enabled_target_libs
="$enabled_target_libs $target_libs"
6611 case "${boot_language}:,$enable_stage1_languages," in
6612 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6613 # Add to (comma-separated) list of stage 1 languages.
6614 case ",$stage1_languages," in
6615 *,$language,* |
,yes, |
,all
,) ;;
6616 *) stage1_languages
="${stage1_languages}${language}," ;;
6618 # We need to bootstrap any supporting libraries.
6619 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6628 # Add target libraries which are only needed for disabled languages
6630 if test -n "$disabled_target_libs"; then
6631 for dir
in $disabled_target_libs; do
6632 case " $enabled_target_libs " in
6634 *) noconfigdirs
="$noconfigdirs $dir" ;;
6639 # Check whether --enable-stage1-languages was given.
6640 if test "${enable_stage1_languages+set}" = set; then :
6641 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6643 # Set it to something that will have no effect in the loop below
6644 enable_stage1_languages
=c
;;
6646 enable_stage1_languages
=`echo $new_enable_languages | \
6647 sed -e "s/^,//" -e "s/,$//" ` ;;
6649 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6650 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6653 # Add "good" languages from enable_stage1_languages to stage1_languages,
6654 # while "bad" languages go in missing_languages. Leave no duplicates.
6655 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6656 case $potential_languages in
6658 case $stage1_languages in
6660 *) stage1_languages
="$stage1_languages$i," ;;
6663 case $missing_languages in
6665 *) missing_languages
="$missing_languages$i," ;;
6672 # Remove leading/trailing commas that were added for simplicity
6673 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6674 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6675 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6676 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6678 if test "x$missing_languages" != x
; then
6680 The following requested languages could not be built: ${missing_languages}
6681 Supported languages are: ${potential_languages}" "$LINENO" 5
6683 if test "x$new_enable_languages" != "x$enable_languages"; then
6684 echo The following languages will be built
: ${new_enable_languages}
6685 enable_languages
="$new_enable_languages"
6689 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6692 # Handle --disable-<component> generically.
6693 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6694 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6695 varname
=`echo $dirname | sed -e s/+/_/g`
6696 if eval test x\
${enable_${varname}} "=" xno
; then
6697 noconfigdirs
="$noconfigdirs $dir"
6701 # Check for Boehm's garbage collector
6702 # Check whether --enable-objc-gc was given.
6703 if test "${enable_objc_gc+set}" = set; then :
6704 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6705 *,objc
,*:*:yes:*target-boehm-gc
*)
6706 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6712 # Make sure we only build Boehm's garbage collector if required.
6713 case ,${enable_languages},:${enable_objc_gc} in
6715 # Keep target-boehm-gc if requested for Objective-C.
6718 # Otherwise remove target-boehm-gc depending on target-libjava.
6719 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6720 noconfigdirs
="$noconfigdirs target-boehm-gc"
6725 # Disable libitm, libsanitizer, libvtv if we're not building C++
6726 case ,${enable_languages}, in
6729 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6733 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6734 # $build_configdirs and $target_configdirs.
6735 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6738 for dir
in .
$skipdirs $noconfigdirs ; do
6739 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6740 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6741 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6742 if test -r $srcdir/$dirname/configure
; then
6743 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6746 notsupp
="$notsupp $dir"
6750 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6751 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6752 if test -r $srcdir/$dirname/configure
; then
6753 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6756 notsupp
="$notsupp $dir"
6760 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6761 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6762 if test -r $srcdir/$dirname/configure
; then
6763 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6766 notsupp
="$notsupp $dir"
6772 # Quietly strip out all directories which aren't configurable in this tree.
6773 # This relies on all configurable subdirectories being autoconfiscated, which
6775 build_configdirs_all
="$build_configdirs"
6777 for i
in ${build_configdirs_all} ; do
6778 j
=`echo $i | sed -e s/build-//g`
6779 if test -f ${srcdir}/$j/configure
; then
6780 build_configdirs
="${build_configdirs} $i"
6784 configdirs_all
="$configdirs"
6786 for i
in ${configdirs_all} ; do
6795 if test -f ${srcdir}/${confsrcdir}/configure
; then
6796 configdirs
="${configdirs} $i"
6800 target_configdirs_all
="$target_configdirs"
6802 for i
in ${target_configdirs_all} ; do
6803 j
=`echo $i | sed -e s/target-//g`
6804 if test -f ${srcdir}/$j/configure
; then
6805 target_configdirs
="${target_configdirs} $i"
6809 # Produce a warning message for the subdirs we can't configure.
6810 # This isn't especially interesting in the Cygnus tree, but in the individual
6811 # FSF releases, it's important to let people know when their machine isn't
6812 # supported by the one or two programs in a package.
6814 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6815 # If $appdirs is non-empty, at least one of those directories must still
6816 # be configured, or we error out. (E.g., if the gas release supports a
6817 # specified target in some subdirs but not the gas subdir, we shouldn't
6818 # pretend that all is well.)
6819 if test -n "$appdirs" ; then
6820 for dir
in $appdirs ; do
6821 if test -r $dir/Makefile.
in ; then
6822 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6826 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6832 if test -n "$appdirs" ; then
6833 echo "*** This configuration is not supported by this package." 1>&2
6837 # Okay, some application will build, or we don't care to check. Still
6838 # notify of subdirs not getting built.
6839 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6840 echo " ${notsupp}" 1>&2
6841 echo " (Any other directories should still work fine.)" 1>&2
6849 # To find our prefix, in gcc_cv_tool_prefix.
6851 # The user is always right.
6852 if test "${PATH_SEPARATOR+set}" != set; then
6853 echo "#! /bin/sh" >conf$$.sh
6854 echo "exit 0" >>conf$$.sh
6856 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6866 if test "x$exec_prefix" = xNONE
; then
6867 if test "x$prefix" = xNONE
; then
6868 gcc_cv_tool_prefix
=$ac_default_prefix
6870 gcc_cv_tool_prefix
=$prefix
6873 gcc_cv_tool_prefix
=$exec_prefix
6876 # If there is no compiler in the tree, use the PATH only. In any
6877 # case, if there is no compiler in the tree nobody should use
6878 # AS_FOR_TARGET and LD_FOR_TARGET.
6879 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6880 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6881 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6882 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6883 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6884 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6885 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6886 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6891 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6892 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6900 # Check whether --with-build-sysroot was given.
6901 if test "${with_build_sysroot+set}" = set; then :
6902 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6903 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6906 SYSROOT_CFLAGS_FOR_TARGET
=
6912 # Check whether --with-debug-prefix-map was given.
6913 if test "${with_debug_prefix_map+set}" = set; then :
6914 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6915 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6916 for debug_map
in $withval; do
6917 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6921 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6926 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6927 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6928 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6929 # We want to ensure that TARGET libraries (which we know are built with
6930 # gcc) are built with "-O2 -g", so include those options when setting
6931 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6932 if test "x$CFLAGS_FOR_TARGET" = x
; then
6933 CFLAGS_FOR_TARGET
=$CFLAGS
6936 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6939 *" -g "* |
*" -g3 "*) ;;
6940 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6945 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6946 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6947 case " $CXXFLAGS " in
6949 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6951 case " $CXXFLAGS " in
6952 *" -g "* |
*" -g3 "*) ;;
6953 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6960 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6961 # the named directory are copied to $(tooldir)/sys-include.
6962 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6963 if test x
${is_cross_compiler} = xno
; then
6964 echo 1>&2 '***' --with-headers is only supported when cross compiling
6967 if test x
"${with_headers}" != xyes
; then
6968 x
=${gcc_cv_tool_prefix}
6969 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6973 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6974 # the name directories are copied to $(tooldir)/lib. Multiple directories
6976 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6977 if test x
${is_cross_compiler} = xno
; then
6978 echo 1>&2 '***' --with-libs is only supported when cross compiling
6981 if test x
"${with_libs}" != xyes
; then
6982 # Copy the libraries in reverse order, so that files in the first named
6983 # library override files in subsequent libraries.
6984 x
=${gcc_cv_tool_prefix}
6985 for l
in ${with_libs}; do
6986 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6991 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6993 # This is done by determining whether or not the appropriate directory
6994 # is available, and by checking whether or not specific configurations
6995 # have requested that this magic not happen.
6997 # The command line options always override the explicit settings in
6998 # configure.in, and the settings in configure.in override this magic.
7000 # If the default for a toolchain is to use GNU as and ld, and you don't
7001 # want to do that, then you should use the --without-gnu-as and
7002 # --without-gnu-ld options for the configure script. Similarly, if
7003 # the default is to use the included zlib and you don't want to do that,
7004 # you should use the --with-system-zlib option for the configure script.
7006 if test x
${use_gnu_as} = x
&&
7007 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7009 extra_host_args
="$extra_host_args --with-gnu-as"
7012 if test x
${use_gnu_ld} = x
&&
7013 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7015 extra_host_args
="$extra_host_args --with-gnu-ld"
7018 if test x
${use_included_zlib} = x
&&
7019 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7022 with_system_zlib
=yes
7023 extra_host_args
="$extra_host_args --with-system-zlib"
7026 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7027 # can detect this case.
7029 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7031 extra_host_args
="$extra_host_args --with-newlib"
7034 # Handle ${copy_dirs}
7035 set fnord
${copy_dirs}
7037 while test $# != 0 ; do
7038 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7041 echo Copying
$1 to
$2
7043 # Use the install script to create the directory and all required
7044 # parent directories.
7045 if test -d $2 ; then
7049 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7052 # Copy the directory, assuming we have tar.
7053 # FIXME: Should we use B in the second tar? Not all systems support it.
7054 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7056 # It is the responsibility of the user to correctly adjust all
7057 # symlinks. If somebody can figure out how to handle them correctly
7058 # here, feel free to add the code.
7065 # Determine a target-dependent exec_prefix that the installed
7066 # gcc will search in. Keep this list sorted by triplet, with
7067 # the *-*-osname triplets last.
7070 i
[34567]86-pc-msdosdjgpp*)
7071 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7076 md_exec_prefix
=/usr
/ccs
/bin
7080 extra_arflags_for_target
=
7081 extra_nmflags_for_target
=
7082 extra_ranlibflags_for_target
=
7083 target_makefile_frag
=/dev
/null
7086 target_makefile_frag
="config/mt-spu"
7088 mips
*-sde-elf* | mips
*-mti-elf*)
7089 target_makefile_frag
="config/mt-sde"
7091 mipsisa
*-*-elfoabi*)
7092 target_makefile_frag
="config/mt-mips-elfoabi"
7094 mips
*-*-*linux
* | mips
*-*-gnu*)
7095 target_makefile_frag
="config/mt-mips-gnu"
7098 target_makefile_frag
="config/mt-nios2-elf"
7100 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7101 target_makefile_frag
="config/mt-gnu"
7103 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7104 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7105 # commands to handle both 32-bit and 64-bit objects. These flags are
7106 # harmless if we're using GNU nm or ar.
7107 extra_arflags_for_target
=" -X32_64"
7108 extra_nmflags_for_target
=" -B -X32_64"
7112 alphaieee_frag
=/dev
/null
7115 # This just makes sure to use the -mieee option to build target libs.
7116 # This should probably be set individually by each library.
7117 alphaieee_frag
="config/mt-alphaieee"
7121 # If --enable-target-optspace always use -Os instead of -O2 to build
7122 # the target libraries, similarly if it is not specified, use -Os
7123 # on selected platforms.
7124 ospace_frag
=/dev
/null
7125 case "${enable_target_optspace}:${target}" in
7127 ospace_frag
="config/mt-ospace"
7130 ospace_frag
="config/mt-d30v"
7132 :m32r-
* |
:d10v-
* |
:fr30-
*)
7133 ospace_frag
="config/mt-ospace"
7138 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7142 # Some systems (e.g., one of the i386-aix systems the gas testers are
7143 # using) don't handle "\$" correctly, so don't use it here.
7144 tooldir
='${exec_prefix}'/${target_noncanonical}
7145 build_tooldir
=${tooldir}
7147 # Create a .gdbinit file which runs the one in srcdir
7148 # and tells GDB to look there for source files.
7150 if test -r ${srcdir}/.gdbinit
; then
7153 *) cat > .
/.gdbinit
<<EOF
7157 source ${srcdir}/.gdbinit
7163 # Make sure that the compiler is able to generate an executable. If it
7164 # can't, we are probably in trouble. We don't care whether we can run the
7165 # executable--we might be using a cross compiler--we only care whether it
7166 # can be created. At this point the main configure script has set CC.
7168 echo "int main () { return 0; }" > conftest.c
7169 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7170 if test $?
= 0 ; then
7171 if test -s conftest ||
test -s conftest.exe
; then
7177 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7178 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7185 # Decide which environment variable is used to find dynamic libraries.
7187 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7188 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7189 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7190 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7193 # On systems where the dynamic library environment variable is PATH,
7194 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7195 # built executables to PATH.
7196 if test "$RPATH_ENVVAR" = PATH
; then
7197 GCC_SHLIB_SUBDIR
=/shlib
7202 # Adjust the toplevel makefile according to whether bootstrap was selected.
7203 case $enable_bootstrap in
7205 bootstrap_suffix
=bootstrap
7206 BUILD_CONFIG
=bootstrap-debug
7209 bootstrap_suffix
=no-bootstrap
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7215 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7218 # Check whether --with-build-config was given.
7219 if test "${with_build_config+set}" = set; then :
7220 withval
=$with_build_config; case $with_build_config in
7221 yes) with_build_config
= ;;
7222 no
) with_build_config
= BUILD_CONFIG
= ;;
7227 if test "x${with_build_config}" != x
; then
7228 BUILD_CONFIG
=$with_build_config
7230 case $BUILD_CONFIG in
7232 if echo "int f (void) { return 0; }" > conftest.c
&&
7233 ${CC} -c conftest.c
&&
7234 mv conftest.o conftest.o.g0
&&
7235 ${CC} -c -g conftest.c
&&
7236 mv conftest.o conftest.o.g
&&
7237 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7242 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7247 $as_echo "$BUILD_CONFIG" >&6; }
7250 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7252 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7253 # Check whether --enable-vtable-verify was given.
7254 if test "${enable_vtable_verify+set}" = set; then :
7255 enableval
=$enable_vtable_verify; case "$enableval" in
7256 yes) enable_vtable_verify
=yes ;;
7257 no
) enable_vtable_verify
=no
;;
7258 *) enable_vtable_verify
=no
;;
7261 enable_vtable_verify
=no
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7265 $as_echo "$enable_vtable_verify" >&6; }
7267 # Record target_configdirs and the configure arguments for target and
7268 # build configuration in Makefile.
7269 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7270 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7271 bootstrap_fixincludes
=no
7273 # If we are building libgomp, bootstrap it.
7274 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7275 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7278 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7279 # or bootstrap-ubsan, bootstrap it.
7280 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7281 case "$BUILD_CONFIG" in
7282 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7283 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7284 bootstrap_fixincludes
=yes
7289 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7290 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7291 test "$enable_vtable_verify" != no
; then
7292 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7295 # Determine whether gdb needs tk/tcl or not.
7296 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7297 # and in that case we want gdb to be built without tk. Ugh!
7298 # In fact I believe gdb is the *only* package directly dependent on tk,
7299 # so we should be able to put the 'maybe's in unconditionally and
7300 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7301 # 100% sure that that's safe though.
7303 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7304 case "$enable_gdbtk" in
7308 GDB_TK
="${gdb_tk}" ;;
7310 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7311 # distro. Eventually someone will fix this and move Insight, nee
7312 # gdbtk to a separate directory.
7313 if test -d ${srcdir}/gdb
/gdbtk
; then
7320 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7321 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7323 # Strip out unwanted targets.
7325 # While at that, we remove Makefiles if we were started for recursive
7326 # configuration, so that the top-level Makefile reconfigures them,
7327 # like we used to do when configure itself was recursive.
7329 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7330 # but now we're fixing up the Makefile ourselves with the additional
7331 # commands passed to AC_CONFIG_FILES. Use separate variables
7332 # extrasub-{build,host,target} not because there is any reason to split
7333 # the substitutions up that way, but only to remain below the limit of
7334 # 99 commands in a script, for HP-UX sed.
7335 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7337 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7338 yes:yes:*\ gold\
*:*,c
++,*) ;;
7339 yes:yes:*\ gold\
*:*)
7340 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7345 for module
in ${build_configdirs} ; do
7346 if test -z "${no_recursion}" \
7347 && test -f ${build_subdir}/${module}/Makefile
; then
7348 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7349 rm -f ${build_subdir}/${module}/Makefile
7351 extrasub_build
="$extrasub_build
7352 /^@if build-$module\$/d
7353 /^@endif build-$module\$/d
7354 /^@if build-$module-$bootstrap_suffix\$/d
7355 /^@endif build-$module-$bootstrap_suffix\$/d"
7358 for module
in ${configdirs} ; do
7359 if test -z "${no_recursion}"; then
7360 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7361 if test -f ${file}; then
7362 echo 1>&2 "*** removing ${file} to force reconfigure"
7367 case ${module},${bootstrap_fixincludes} in
7368 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7369 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7371 extrasub_host
="$extrasub_host
7373 /^@endif $module\$/d
7374 /^@if $module-$host_bootstrap_suffix\$/d
7375 /^@endif $module-$host_bootstrap_suffix\$/d"
7378 for module
in ${target_configdirs} ; do
7379 if test -z "${no_recursion}" \
7380 && test -f ${target_subdir}/${module}/Makefile
; then
7381 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7382 rm -f ${target_subdir}/${module}/Makefile
7385 # We only bootstrap target libraries listed in bootstrap_target_libs.
7386 case $bootstrap_target_libs in
7387 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7388 *) target_bootstrap_suffix
=no-bootstrap
;;
7391 extrasub_target
="$extrasub_target
7392 /^@if target-$module\$/d
7393 /^@endif target-$module\$/d
7394 /^@if target-$module-$target_bootstrap_suffix\$/d
7395 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7398 # Do the final fixup along with target modules.
7399 extrasub_target
="$extrasub_target
7400 /^@if /,/^@endif /d"
7402 # Create the serialization dependencies. This uses a temporary file.
7404 # Check whether --enable-serial-configure was given.
7405 if test "${enable_serial_configure+set}" = set; then :
7406 enableval
=$enable_serial_configure;
7410 case ${enable_serial_configure} in
7412 enable_serial_build_configure
=yes
7413 enable_serial_host_configure
=yes
7414 enable_serial_target_configure
=yes
7418 # These force 'configure's to be done one at a time, to avoid problems
7419 # with contention over a shared config.cache.
7421 echo '# serdep.tmp' > serdep.tmp
7423 test "x${enable_serial_build_configure}" = xyes
&&
7424 for item
in ${build_configdirs} ; do
7427 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7432 test "x${enable_serial_host_configure}" = xyes
&&
7433 for item
in ${configdirs} ; do
7436 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7441 test "x${enable_serial_target_configure}" = xyes
&&
7442 for item
in ${target_configdirs} ; do
7445 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7449 serialization_dependencies
=serdep.tmp
7452 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7453 # target, nonopt, and variable assignments. These are the ones we
7454 # might not want to pass down to subconfigures. The exception being
7455 # --cache-file=/dev/null, which is used to turn off the use of cache
7456 # files altogether, and which should be passed on to subconfigures.
7457 # Also strip program-prefix, program-suffix, and program-transform-name,
7458 # so that we can pass down a consistent program-transform-name.
7463 eval "set -- $ac_configure_args"
7466 if test X
"$skip_next" = X
"yes"; then
7470 if test X
"$keep_next" = X
"yes"; then
7473 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7475 baseargs
="$baseargs '$ac_arg'"
7476 tbaseargs
="$tbaseargs '$ac_arg'"
7481 # Handle separated arguments. Based on the logic generated by
7484 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7485 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7486 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7487 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7501 --with-* |
--without-*)
7502 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7506 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7509 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7518 mpc | mpfr | gmp | cloog
)
7519 # If we're processing --with-$lib, --with-$lib-include or
7520 # --with-$lib-lib, for one of the libs above, and target is
7521 # different from host, don't pass the current argument to any
7522 # target library's configure.
7523 if test x
$is_cross_compiler = xyes
; then
7532 --cache-file=/dev
/null | \
7533 -cache-file=/dev
/null
)
7534 # Handled here to avoid the test to skip args below.
7535 baseargs
="$baseargs '$ac_arg'"
7536 tbaseargs
="$tbaseargs '$ac_arg'"
7537 # Assert: $separate_arg should always be no.
7538 keep_next
=$separate_arg
7554 -program-prefix* | \
7555 -program-suffix* | \
7556 -program-transform-name* )
7557 skip_next
=$separate_arg
7561 # An option. Add it.
7564 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7566 baseargs
="$baseargs '$ac_arg'"
7567 if test X
"$skip_targ" = Xno
; then
7568 tbaseargs
="$tbaseargs '$ac_arg'"
7570 keep_next
=$separate_arg
7573 # Either a variable assignment, or a nonopt (triplet). Don't
7574 # pass it down; let the Makefile handle this.
7579 # Remove the initial space we just introduced and, as these will be
7580 # expanded by make, quote '$'.
7581 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7583 # Add in --program-transform-name, after --program-prefix and
7584 # --program-suffix have been applied to it. Autoconf has already
7585 # doubled dollar signs and backslashes in program_transform_name; we want
7586 # the backslashes un-doubled, and then the entire thing wrapped in single
7587 # quotes, because this will be expanded first by make and then by the shell.
7588 # Also, because we want to override the logic in subdir configure scripts to
7589 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7590 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7591 ${program_transform_name}
7593 gcc_transform_name
=`cat conftestsed.out`
7594 rm -f conftestsed.out
7595 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7596 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7597 if test "$silent" = yes; then
7598 baseargs
="$baseargs --silent"
7599 tbaseargs
="$tbaseargs --silent"
7601 baseargs
="$baseargs --disable-option-checking"
7602 tbaseargs
="$tbaseargs --disable-option-checking"
7604 # Record and document user additions to sub configure arguments.
7609 # For the build-side libraries, we just need to pretend we're native,
7610 # and not use the same cache file. Multilibs are neither needed nor
7612 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7614 # For host modules, accept cache file option, or specification as blank.
7615 case "${cache_file}" in
7617 cache_file_option
="" ;;
7618 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7619 cache_file_option
="--cache-file=${cache_file}" ;;
7621 cache_file_option
="--cache-file=../${cache_file}" ;;
7624 # Host dirs don't like to share a cache file either, horribly enough.
7625 # This seems to be due to autoconf 2.5x stupidity.
7626 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7628 target_configargs
="$target_configargs ${tbaseargs}"
7630 # Passing a --with-cross-host argument lets the target libraries know
7631 # whether they are being built with a cross-compiler or being built
7632 # native. However, it would be better to use other mechanisms to make the
7633 # sorts of decisions they want to make on this basis. Please consider
7634 # this option to be deprecated. FIXME.
7635 if test x
${is_cross_compiler} = xyes
; then
7636 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7639 # Special user-friendly check for native x86_64-linux build, if
7640 # multilib is not explicitly enabled.
7641 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7642 x86_64-
*linux
*:yes:$build:$build:)
7643 # Make sure we have a developement environment that handles 32-bit
7645 echo "int main () { return 0; }" > conftest.c
7646 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7647 if test $?
= 0 ; then
7648 if test -s conftest ||
test -s conftest.exe
; then
7653 if test x
${dev64} != xyes
; then
7654 as_fn_error
"I suspect your system does not have 32-bit developement 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
7659 # Default to --enable-multilib.
7660 if test x
${enable_multilib} = x
; then
7661 target_configargs
="--enable-multilib ${target_configargs}"
7664 # Pass --with-newlib if appropriate. Note that target_configdirs has
7665 # changed from the earlier setting of with_newlib.
7666 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7667 target_configargs
="--with-newlib ${target_configargs}"
7670 # Different target subdirs use different values of certain variables
7671 # (notably CXX). Worse, multilibs use *lots* of different values.
7672 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7673 # it doesn't automatically accept command-line overrides of them.
7674 # This means it's not safe for target subdirs to share a cache file,
7675 # which is disgusting, but there you have it. Hopefully this can be
7676 # fixed in future. It's still worthwhile to use a cache file for each
7677 # directory. I think.
7679 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7680 # We need to pass --target, as newer autoconf's requires consistency
7681 # for target_alias and gcc doesn't manage it consistently.
7682 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7685 case " $target_configdirs " in
7687 case " $target_configargs " in
7688 *" --with-newlib "*)
7691 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7695 # If we're not building GCC, don't discard standard headers.
7696 if test -d ${srcdir}/gcc
; then
7697 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7699 if test "${build}" != "${host}"; then
7700 # On Canadian crosses, CC_FOR_TARGET will have already been set
7701 # by `configure', so we won't have an opportunity to add -Bgcc/
7702 # to it. This is right: we don't want to search that directory
7703 # for binaries, but we want the header files in there, so add
7705 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7707 # Someone might think of using the pre-installed headers on
7708 # Canadian crosses, in case the installed compiler is not fully
7709 # compatible with the compiler being built. In this case, it
7710 # would be better to flag an error than risking having
7711 # incompatible object files being constructed. We can't
7712 # guarantee that an error will be flagged, but let's hope the
7713 # compiler will do it, when presented with incompatible header
7718 case "${target}-${is_cross_compiler}" in
7719 i
[3456789]86-*-linux*-no)
7720 # Here host == target, so we don't need to build gcc,
7721 # so we don't want to discard standard headers.
7722 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7725 # If we're building newlib, use its generic headers last, but search
7726 # for any libc-related directories first (so make it the last -B
7728 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7730 # If we're building libgloss, find the startup file, simulator library
7731 # and linker script.
7732 case " $target_configdirs " in
7734 # Look for startup file, simulator library and maybe linker script.
7735 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7736 # Look for libnosys.a in case the target needs it.
7737 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7738 # Most targets have the linker script in the source directory.
7739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7750 x86_64-
*mingw
* |
*-w64-mingw*)
7751 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7752 # however, use a symlink named 'mingw' in ${prefix} .
7753 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7756 # MinGW can't be handled as Cygwin above since it does not use newlib.
7757 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'
7761 # Allow the user to override the flags for
7762 # our build compiler if desired.
7763 if test x
"${build}" = x
"${host}" ; then
7764 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7765 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7766 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7769 # On Canadian crosses, we'll be searching the right directories for
7770 # the previously-installed cross compiler, so don't bother to add
7771 # flags for directories within the install tree of the compiler
7772 # being built; programs in there won't even run.
7773 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7774 # Search for pre-installed headers if nothing else fits.
7775 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7778 if test "x
${use_gnu_ld}" = x &&
7779 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7780 # Arrange for us to find uninstalled linker scripts.
7781 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7784 # Search for other target-specific linker scripts and such.
7787 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7791 # Makefile fragments.
7792 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7794 eval fragval=\$$frag
7795 if test $fragval != /dev/null; then
7796 eval $frag=${srcdir}/$fragval
7804 # Miscellanea: directories, flags, etc.
7813 # Build module lists & subconfigure args.
7817 # Host module lists & subconfigure args.
7822 # Target module lists & subconfigure args.
7844 # Generate default definitions for YACC, M4, LEX and other programs that run
7845 # on the build machine. These are used if the Makefile can't locate these
7846 # programs in objdir.
7847 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7849 for ac_prog in 'bison -y' byacc yacc
7851 # Extract the first word of "$ac_prog", so it can be a program name with args.
7852 set dummy $ac_prog; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if test "${ac_cv_prog_YACC+set}" = set; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$YACC"; then
7859 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_YACC="$ac_prog"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 YACC=$ac_cv_prog_YACC
7879 if test -n "$YACC"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7881 $as_echo "$YACC" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7888 test -n "$YACC" && break
7890 test -n "$YACC" || YACC="$MISSING bison
-y"
7892 case " $build_configdirs " in
7893 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7896 for ac_prog in bison
7898 # Extract the first word of "$ac_prog", so it can be a program name with args.
7899 set dummy $ac_prog; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if test "${ac_cv_prog_BISON+set}" = set; then :
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$BISON"; then
7906 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7915 ac_cv_prog_BISON="$ac_prog"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 BISON=$ac_cv_prog_BISON
7926 if test -n "$BISON"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7928 $as_echo "$BISON" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7935 test -n "$BISON" && break
7937 test -n "$BISON" || BISON="$MISSING bison
"
7939 case " $build_configdirs " in
7940 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7943 for ac_prog in gm4 gnum4 m4
7945 # Extract the first word of "$ac_prog", so it can be a program name with args.
7946 set dummy $ac_prog; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7948 $as_echo_n "checking
for $ac_word...
" >&6; }
7949 if test "${ac_cv_prog_M4+set}" = set; then :
7950 $as_echo_n "(cached
) " >&6
7952 if test -n "$M4"; then
7953 ac_cv_prog_M4="$M4" # Let the user override the test.
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7962 ac_cv_prog_M4="$ac_prog"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7973 if test -n "$M4"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7975 $as_echo "$M4" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7978 $as_echo "no
" >&6; }
7982 test -n "$M4" && break
7984 test -n "$M4" || M4="$MISSING m4"
7986 case " $build_configdirs " in
7987 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7990 for ac_prog in flex lex
7992 # Extract the first word of "$ac_prog", so it can be a program name with args.
7993 set dummy $ac_prog; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7995 $as_echo_n "checking
for $ac_word...
" >&6; }
7996 if test "${ac_cv_prog_LEX+set}" = set; then :
7997 $as_echo_n "(cached
) " >&6
7999 if test -n "$LEX"; then
8000 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009 ac_cv_prog_LEX="$ac_prog"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8020 if test -n "$LEX"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8022 $as_echo "$LEX" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8025 $as_echo "no
" >&6; }
8029 test -n "$LEX" && break
8031 test -n "$LEX" || LEX="$MISSING flex
"
8033 case " $build_configdirs " in
8034 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8035 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8040 # Extract the first word of "$ac_prog", so it can be a program name with args.
8041 set dummy $ac_prog; ac_word=$2
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8043 $as_echo_n "checking
for $ac_word...
" >&6; }
8044 if test "${ac_cv_prog_FLEX+set}" = set; then :
8045 $as_echo_n "(cached
) " >&6
8047 if test -n "$FLEX"; then
8048 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_FLEX="$ac_prog"
8058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8067 FLEX=$ac_cv_prog_FLEX
8068 if test -n "$FLEX"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8070 $as_echo "$FLEX" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8073 $as_echo "no
" >&6; }
8077 test -n "$FLEX" && break
8079 test -n "$FLEX" || FLEX="$MISSING flex
"
8081 case " $build_configdirs " in
8082 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8085 for ac_prog in makeinfo
8087 # Extract the first word of "$ac_prog", so it can be a program name with args.
8088 set dummy $ac_prog; ac_word=$2
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8090 $as_echo_n "checking
for $ac_word...
" >&6; }
8091 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8092 $as_echo_n "(cached
) " >&6
8094 if test -n "$MAKEINFO"; then
8095 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 test -z "$as_dir" && as_dir=.
8102 for ac_exec_ext in '' $ac_executable_extensions; do
8103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8104 ac_cv_prog_MAKEINFO="$ac_prog"
8105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8114 MAKEINFO=$ac_cv_prog_MAKEINFO
8115 if test -n "$MAKEINFO"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8117 $as_echo "$MAKEINFO" >&6; }
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8120 $as_echo "no
" >&6; }
8124 test -n "$MAKEINFO" && break
8126 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8128 case " $build_configdirs " in
8129 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8132 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8133 # higher, else we use the "missing
" dummy.
8134 if ${MAKEINFO} --version \
8135 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8138 MAKEINFO="$MISSING makeinfo
"
8144 # FIXME: expect and dejagnu may become build tools?
8146 for ac_prog in expect
8148 # Extract the first word of "$ac_prog", so it can be a program name with args.
8149 set dummy $ac_prog; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8151 $as_echo_n "checking
for $ac_word...
" >&6; }
8152 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8153 $as_echo_n "(cached
) " >&6
8155 if test -n "$EXPECT"; then
8156 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_prog_EXPECT="$ac_prog"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8175 EXPECT=$ac_cv_prog_EXPECT
8176 if test -n "$EXPECT"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8178 $as_echo "$EXPECT" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8181 $as_echo "no
" >&6; }
8185 test -n "$EXPECT" && break
8187 test -n "$EXPECT" || EXPECT="expect
"
8189 case " $configdirs " in
8191 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8195 for ac_prog in runtest
8197 # Extract the first word of "$ac_prog", so it can be a program name with args.
8198 set dummy $ac_prog; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8200 $as_echo_n "checking
for $ac_word...
" >&6; }
8201 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8202 $as_echo_n "(cached
) " >&6
8204 if test -n "$RUNTEST"; then
8205 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214 ac_cv_prog_RUNTEST="$ac_prog"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8224 RUNTEST=$ac_cv_prog_RUNTEST
8225 if test -n "$RUNTEST"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8227 $as_echo "$RUNTEST" >&6; }
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8230 $as_echo "no
" >&6; }
8234 test -n "$RUNTEST" && break
8236 test -n "$RUNTEST" || RUNTEST="runtest
"
8238 case " $configdirs " in
8240 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8246 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8247 ncn_target_tool_prefix=
8248 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8252 if test -n "$AR"; then
8254 elif test -n "$ac_cv_prog_AR"; then
8258 if test -n "$ac_cv_prog_AR"; then
8259 for ncn_progname in ar; do
8260 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8261 set dummy ${ncn_progname}; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8263 $as_echo_n "checking
for $ac_word...
" >&6; }
8264 if test "${ac_cv_prog_AR+set}" = set; then :
8265 $as_echo_n "(cached
) " >&6
8267 if test -n "$AR"; then
8268 ac_cv_prog_AR="$AR" # Let the user override the test.
8270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir=.
8275 for ac_exec_ext in '' $ac_executable_extensions; do
8276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8277 ac_cv_prog_AR="${ncn_progname}"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8288 if test -n "$AR"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8290 $as_echo "$AR" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8293 $as_echo "no
" >&6; }
8300 for ncn_progname in ar; do
8301 if test -n "$ncn_tool_prefix"; then
8302 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8303 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8305 $as_echo_n "checking
for $ac_word...
" >&6; }
8306 if test "${ac_cv_prog_AR+set}" = set; then :
8307 $as_echo_n "(cached
) " >&6
8309 if test -n "$AR"; then
8310 ac_cv_prog_AR="$AR" # Let the user override the test.
8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 test -z "$as_dir" && as_dir=.
8317 for ac_exec_ext in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8330 if test -n "$AR"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8332 $as_echo "$AR" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8335 $as_echo "no
" >&6; }
8340 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8341 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8342 set dummy ${ncn_progname}; ac_word=$2
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8344 $as_echo_n "checking
for $ac_word...
" >&6; }
8345 if test "${ac_cv_prog_AR+set}" = set; then :
8346 $as_echo_n "(cached
) " >&6
8348 if test -n "$AR"; then
8349 ac_cv_prog_AR="$AR" # Let the user override the test.
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 test -z "$as_dir" && as_dir=.
8356 for ac_exec_ext in '' $ac_executable_extensions; do
8357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8358 ac_cv_prog_AR="${ncn_progname}"
8359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8369 if test -n "$AR"; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8371 $as_echo "$AR" >&6; }
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8374 $as_echo "no
" >&6; }
8379 test -n "$ac_cv_prog_AR" && break
8382 if test -z "$ac_cv_prog_AR" ; then
8384 if test $build = $host ; then
8387 AR="${ncn_tool_prefix}$2"
8393 if test -n "$AS"; then
8395 elif test -n "$ac_cv_prog_AS"; then
8399 if test -n "$ac_cv_prog_AS"; then
8400 for ncn_progname in as; do
8401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8402 set dummy ${ncn_progname}; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8404 $as_echo_n "checking
for $ac_word...
" >&6; }
8405 if test "${ac_cv_prog_AS+set}" = set; then :
8406 $as_echo_n "(cached
) " >&6
8408 if test -n "$AS"; then
8409 ac_cv_prog_AS="$AS" # Let the user override the test.
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_prog_AS="${ncn_progname}"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8429 if test -n "$AS"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8431 $as_echo "$AS" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8434 $as_echo "no
" >&6; }
8441 for ncn_progname in as; do
8442 if test -n "$ncn_tool_prefix"; then
8443 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8444 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8446 $as_echo_n "checking
for $ac_word...
" >&6; }
8447 if test "${ac_cv_prog_AS+set}" = set; then :
8448 $as_echo_n "(cached
) " >&6
8450 if test -n "$AS"; then
8451 ac_cv_prog_AS="$AS" # Let the user override the test.
8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir=.
8458 for ac_exec_ext in '' $ac_executable_extensions; do
8459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8460 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8471 if test -n "$AS"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8473 $as_echo "$AS" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8476 $as_echo "no
" >&6; }
8481 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8482 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8483 set dummy ${ncn_progname}; ac_word=$2
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8485 $as_echo_n "checking
for $ac_word...
" >&6; }
8486 if test "${ac_cv_prog_AS+set}" = set; then :
8487 $as_echo_n "(cached
) " >&6
8489 if test -n "$AS"; then
8490 ac_cv_prog_AS="$AS" # Let the user override the test.
8492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8496 test -z "$as_dir" && as_dir=.
8497 for ac_exec_ext in '' $ac_executable_extensions; do
8498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8499 ac_cv_prog_AS="${ncn_progname}"
8500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8510 if test -n "$AS"; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8512 $as_echo "$AS" >&6; }
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8515 $as_echo "no
" >&6; }
8520 test -n "$ac_cv_prog_AS" && break
8523 if test -z "$ac_cv_prog_AS" ; then
8525 if test $build = $host ; then
8528 AS="${ncn_tool_prefix}$2"
8534 if test -n "$DLLTOOL"; then
8535 ac_cv_prog_DLLTOOL=$DLLTOOL
8536 elif test -n "$ac_cv_prog_DLLTOOL"; then
8537 DLLTOOL=$ac_cv_prog_DLLTOOL
8540 if test -n "$ac_cv_prog_DLLTOOL"; then
8541 for ncn_progname in dlltool; do
8542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8543 set dummy ${ncn_progname}; ac_word=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8545 $as_echo_n "checking
for $ac_word...
" >&6; }
8546 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8547 $as_echo_n "(cached
) " >&6
8549 if test -n "$DLLTOOL"; then
8550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556 test -z "$as_dir" && as_dir=.
8557 for ac_exec_ext in '' $ac_executable_extensions; do
8558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8559 ac_cv_prog_DLLTOOL="${ncn_progname}"
8560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8569 DLLTOOL=$ac_cv_prog_DLLTOOL
8570 if test -n "$DLLTOOL"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8572 $as_echo "$DLLTOOL" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8575 $as_echo "no
" >&6; }
8582 for ncn_progname in dlltool; do
8583 if test -n "$ncn_tool_prefix"; then
8584 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8585 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8587 $as_echo_n "checking
for $ac_word...
" >&6; }
8588 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8589 $as_echo_n "(cached
) " >&6
8591 if test -n "$DLLTOOL"; then
8592 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8611 DLLTOOL=$ac_cv_prog_DLLTOOL
8612 if test -n "$DLLTOOL"; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8614 $as_echo "$DLLTOOL" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8617 $as_echo "no
" >&6; }
8622 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8623 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8624 set dummy ${ncn_progname}; ac_word=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8626 $as_echo_n "checking
for $ac_word...
" >&6; }
8627 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8628 $as_echo_n "(cached
) " >&6
8630 if test -n "$DLLTOOL"; then
8631 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir=.
8638 for ac_exec_ext in '' $ac_executable_extensions; do
8639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8640 ac_cv_prog_DLLTOOL="${ncn_progname}"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 DLLTOOL=$ac_cv_prog_DLLTOOL
8651 if test -n "$DLLTOOL"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8653 $as_echo "$DLLTOOL" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8656 $as_echo "no
" >&6; }
8661 test -n "$ac_cv_prog_DLLTOOL" && break
8664 if test -z "$ac_cv_prog_DLLTOOL" ; then
8666 if test $build = $host ; then
8669 DLLTOOL="${ncn_tool_prefix}$2"
8675 if test -n "$LD"; then
8677 elif test -n "$ac_cv_prog_LD"; then
8681 if test -n "$ac_cv_prog_LD"; then
8682 for ncn_progname in ld; do
8683 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8684 set dummy ${ncn_progname}; ac_word=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8686 $as_echo_n "checking
for $ac_word...
" >&6; }
8687 if test "${ac_cv_prog_LD+set}" = set; then :
8688 $as_echo_n "(cached
) " >&6
8690 if test -n "$LD"; then
8691 ac_cv_prog_LD="$LD" # Let the user override the test.
8693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 test -z "$as_dir" && as_dir=.
8698 for ac_exec_ext in '' $ac_executable_extensions; do
8699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8700 ac_cv_prog_LD="${ncn_progname}"
8701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8711 if test -n "$LD"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8713 $as_echo "$LD" >&6; }
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8716 $as_echo "no
" >&6; }
8723 for ncn_progname in ld; do
8724 if test -n "$ncn_tool_prefix"; then
8725 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8726 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8728 $as_echo_n "checking
for $ac_word...
" >&6; }
8729 if test "${ac_cv_prog_LD+set}" = set; then :
8730 $as_echo_n "(cached
) " >&6
8732 if test -n "$LD"; then
8733 ac_cv_prog_LD="$LD" # Let the user override the test.
8735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 test -z "$as_dir" && as_dir=.
8740 for ac_exec_ext in '' $ac_executable_extensions; do
8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8742 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8753 if test -n "$LD"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8755 $as_echo "$LD" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8758 $as_echo "no
" >&6; }
8763 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8765 set dummy ${ncn_progname}; ac_word=$2
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8767 $as_echo_n "checking
for $ac_word...
" >&6; }
8768 if test "${ac_cv_prog_LD+set}" = set; then :
8769 $as_echo_n "(cached
) " >&6
8771 if test -n "$LD"; then
8772 ac_cv_prog_LD="$LD" # Let the user override the test.
8774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir=.
8779 for ac_exec_ext in '' $ac_executable_extensions; do
8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781 ac_cv_prog_LD="${ncn_progname}"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8792 if test -n "$LD"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8794 $as_echo "$LD" >&6; }
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8797 $as_echo "no
" >&6; }
8802 test -n "$ac_cv_prog_LD" && break
8805 if test -z "$ac_cv_prog_LD" ; then
8807 if test $build = $host ; then
8810 LD="${ncn_tool_prefix}$2"
8816 if test -n "$LIPO"; then
8817 ac_cv_prog_LIPO=$LIPO
8818 elif test -n "$ac_cv_prog_LIPO"; then
8819 LIPO=$ac_cv_prog_LIPO
8822 if test -n "$ac_cv_prog_LIPO"; then
8823 for ncn_progname in lipo; do
8824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8825 set dummy ${ncn_progname}; ac_word=$2
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8827 $as_echo_n "checking
for $ac_word...
" >&6; }
8828 if test "${ac_cv_prog_LIPO+set}" = set; then :
8829 $as_echo_n "(cached
) " >&6
8831 if test -n "$LIPO"; then
8832 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 test -z "$as_dir" && as_dir=.
8839 for ac_exec_ext in '' $ac_executable_extensions; do
8840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8841 ac_cv_prog_LIPO="${ncn_progname}"
8842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8851 LIPO=$ac_cv_prog_LIPO
8852 if test -n "$LIPO"; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8854 $as_echo "$LIPO" >&6; }
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8857 $as_echo "no
" >&6; }
8864 for ncn_progname in lipo; do
8865 if test -n "$ncn_tool_prefix"; then
8866 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8867 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8869 $as_echo_n "checking
for $ac_word...
" >&6; }
8870 if test "${ac_cv_prog_LIPO+set}" = set; then :
8871 $as_echo_n "(cached
) " >&6
8873 if test -n "$LIPO"; then
8874 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8893 LIPO=$ac_cv_prog_LIPO
8894 if test -n "$LIPO"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8896 $as_echo "$LIPO" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8899 $as_echo "no
" >&6; }
8904 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8906 set dummy ${ncn_progname}; ac_word=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8908 $as_echo_n "checking
for $ac_word...
" >&6; }
8909 if test "${ac_cv_prog_LIPO+set}" = set; then :
8910 $as_echo_n "(cached
) " >&6
8912 if test -n "$LIPO"; then
8913 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 test -z "$as_dir" && as_dir=.
8920 for ac_exec_ext in '' $ac_executable_extensions; do
8921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8922 ac_cv_prog_LIPO="${ncn_progname}"
8923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8932 LIPO=$ac_cv_prog_LIPO
8933 if test -n "$LIPO"; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8935 $as_echo "$LIPO" >&6; }
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8938 $as_echo "no
" >&6; }
8943 test -n "$ac_cv_prog_LIPO" && break
8946 if test -z "$ac_cv_prog_LIPO" ; then
8948 if test $build = $host ; then
8951 LIPO="${ncn_tool_prefix}$2"
8957 if test -n "$NM"; then
8959 elif test -n "$ac_cv_prog_NM"; then
8963 if test -n "$ac_cv_prog_NM"; then
8964 for ncn_progname in nm; do
8965 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8966 set dummy ${ncn_progname}; ac_word=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8968 $as_echo_n "checking
for $ac_word...
" >&6; }
8969 if test "${ac_cv_prog_NM+set}" = set; then :
8970 $as_echo_n "(cached
) " >&6
8972 if test -n "$NM"; then
8973 ac_cv_prog_NM="$NM" # Let the user override the test.
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir=.
8980 for ac_exec_ext in '' $ac_executable_extensions; do
8981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8982 ac_cv_prog_NM="${ncn_progname}"
8983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8993 if test -n "$NM"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8995 $as_echo "$NM" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8998 $as_echo "no
" >&6; }
9005 for ncn_progname in nm; do
9006 if test -n "$ncn_tool_prefix"; then
9007 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9008 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9010 $as_echo_n "checking
for $ac_word...
" >&6; }
9011 if test "${ac_cv_prog_NM+set}" = set; then :
9012 $as_echo_n "(cached
) " >&6
9014 if test -n "$NM"; then
9015 ac_cv_prog_NM="$NM" # Let the user override the test.
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9035 if test -n "$NM"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9037 $as_echo "$NM" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9040 $as_echo "no
" >&6; }
9045 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9047 set dummy ${ncn_progname}; ac_word=$2
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9049 $as_echo_n "checking
for $ac_word...
" >&6; }
9050 if test "${ac_cv_prog_NM+set}" = set; then :
9051 $as_echo_n "(cached
) " >&6
9053 if test -n "$NM"; then
9054 ac_cv_prog_NM="$NM" # Let the user override the test.
9056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9060 test -z "$as_dir" && as_dir=.
9061 for ac_exec_ext in '' $ac_executable_extensions; do
9062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9063 ac_cv_prog_NM="${ncn_progname}"
9064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9074 if test -n "$NM"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9076 $as_echo "$NM" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9079 $as_echo "no
" >&6; }
9084 test -n "$ac_cv_prog_NM" && break
9087 if test -z "$ac_cv_prog_NM" ; then
9089 if test $build = $host ; then
9092 NM="${ncn_tool_prefix}$2"
9098 if test -n "$RANLIB"; then
9099 ac_cv_prog_RANLIB=$RANLIB
9100 elif test -n "$ac_cv_prog_RANLIB"; then
9101 RANLIB=$ac_cv_prog_RANLIB
9104 if test -n "$ac_cv_prog_RANLIB"; then
9105 for ncn_progname in ranlib; do
9106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9107 set dummy ${ncn_progname}; ac_word=$2
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9109 $as_echo_n "checking
for $ac_word...
" >&6; }
9110 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9111 $as_echo_n "(cached
) " >&6
9113 if test -n "$RANLIB"; then
9114 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir=.
9121 for ac_exec_ext in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_prog_RANLIB="${ncn_progname}"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9133 RANLIB=$ac_cv_prog_RANLIB
9134 if test -n "$RANLIB"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9136 $as_echo "$RANLIB" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9139 $as_echo "no
" >&6; }
9146 for ncn_progname in ranlib; do
9147 if test -n "$ncn_tool_prefix"; then
9148 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9149 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9151 $as_echo_n "checking
for $ac_word...
" >&6; }
9152 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9153 $as_echo_n "(cached
) " >&6
9155 if test -n "$RANLIB"; then
9156 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 test -z "$as_dir" && as_dir=.
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9175 RANLIB=$ac_cv_prog_RANLIB
9176 if test -n "$RANLIB"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9178 $as_echo "$RANLIB" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9181 $as_echo "no
" >&6; }
9186 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9188 set dummy ${ncn_progname}; ac_word=$2
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9190 $as_echo_n "checking
for $ac_word...
" >&6; }
9191 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9192 $as_echo_n "(cached
) " >&6
9194 if test -n "$RANLIB"; then
9195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 test -z "$as_dir" && as_dir=.
9202 for ac_exec_ext in '' $ac_executable_extensions; do
9203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204 ac_cv_prog_RANLIB="${ncn_progname}"
9205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9214 RANLIB=$ac_cv_prog_RANLIB
9215 if test -n "$RANLIB"; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9217 $as_echo "$RANLIB" >&6; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9220 $as_echo "no
" >&6; }
9225 test -n "$ac_cv_prog_RANLIB" && break
9228 if test -z "$ac_cv_prog_RANLIB" ; then
9234 if test -n "$STRIP"; then
9235 ac_cv_prog_STRIP=$STRIP
9236 elif test -n "$ac_cv_prog_STRIP"; then
9237 STRIP=$ac_cv_prog_STRIP
9240 if test -n "$ac_cv_prog_STRIP"; then
9241 for ncn_progname in strip; do
9242 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9243 set dummy ${ncn_progname}; ac_word=$2
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9245 $as_echo_n "checking
for $ac_word...
" >&6; }
9246 if test "${ac_cv_prog_STRIP+set}" = set; then :
9247 $as_echo_n "(cached
) " >&6
9249 if test -n "$STRIP"; then
9250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9256 test -z "$as_dir" && as_dir=.
9257 for ac_exec_ext in '' $ac_executable_extensions; do
9258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9259 ac_cv_prog_STRIP="${ncn_progname}"
9260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9269 STRIP=$ac_cv_prog_STRIP
9270 if test -n "$STRIP"; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9272 $as_echo "$STRIP" >&6; }
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9275 $as_echo "no
" >&6; }
9282 for ncn_progname in strip; do
9283 if test -n "$ncn_tool_prefix"; then
9284 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9285 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9287 $as_echo_n "checking
for $ac_word...
" >&6; }
9288 if test "${ac_cv_prog_STRIP+set}" = set; then :
9289 $as_echo_n "(cached
) " >&6
9291 if test -n "$STRIP"; then
9292 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir=.
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9301 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9311 STRIP=$ac_cv_prog_STRIP
9312 if test -n "$STRIP"; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9314 $as_echo "$STRIP" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9317 $as_echo "no
" >&6; }
9322 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9323 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9324 set dummy ${ncn_progname}; ac_word=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9326 $as_echo_n "checking
for $ac_word...
" >&6; }
9327 if test "${ac_cv_prog_STRIP+set}" = set; then :
9328 $as_echo_n "(cached
) " >&6
9330 if test -n "$STRIP"; then
9331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337 test -z "$as_dir" && as_dir=.
9338 for ac_exec_ext in '' $ac_executable_extensions; do
9339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9340 ac_cv_prog_STRIP="${ncn_progname}"
9341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9350 STRIP=$ac_cv_prog_STRIP
9351 if test -n "$STRIP"; then
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9353 $as_echo "$STRIP" >&6; }
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9356 $as_echo "no
" >&6; }
9361 test -n "$ac_cv_prog_STRIP" && break
9364 if test -z "$ac_cv_prog_STRIP" ; then
9370 if test -n "$WINDRES"; then
9371 ac_cv_prog_WINDRES=$WINDRES
9372 elif test -n "$ac_cv_prog_WINDRES"; then
9373 WINDRES=$ac_cv_prog_WINDRES
9376 if test -n "$ac_cv_prog_WINDRES"; then
9377 for ncn_progname in windres; do
9378 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9379 set dummy ${ncn_progname}; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9381 $as_echo_n "checking
for $ac_word...
" >&6; }
9382 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9383 $as_echo_n "(cached
) " >&6
9385 if test -n "$WINDRES"; then
9386 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395 ac_cv_prog_WINDRES="${ncn_progname}"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9405 WINDRES=$ac_cv_prog_WINDRES
9406 if test -n "$WINDRES"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9408 $as_echo "$WINDRES" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9411 $as_echo "no
" >&6; }
9418 for ncn_progname in windres; do
9419 if test -n "$ncn_tool_prefix"; then
9420 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9421 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9423 $as_echo_n "checking
for $ac_word...
" >&6; }
9424 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9425 $as_echo_n "(cached
) " >&6
9427 if test -n "$WINDRES"; then
9428 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9434 test -z "$as_dir" && as_dir=.
9435 for ac_exec_ext in '' $ac_executable_extensions; do
9436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9437 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9447 WINDRES=$ac_cv_prog_WINDRES
9448 if test -n "$WINDRES"; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9450 $as_echo "$WINDRES" >&6; }
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9453 $as_echo "no
" >&6; }
9458 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9460 set dummy ${ncn_progname}; ac_word=$2
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9462 $as_echo_n "checking
for $ac_word...
" >&6; }
9463 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9464 $as_echo_n "(cached
) " >&6
9466 if test -n "$WINDRES"; then
9467 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9473 test -z "$as_dir" && as_dir=.
9474 for ac_exec_ext in '' $ac_executable_extensions; do
9475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9476 ac_cv_prog_WINDRES="${ncn_progname}"
9477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9486 WINDRES=$ac_cv_prog_WINDRES
9487 if test -n "$WINDRES"; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9489 $as_echo "$WINDRES" >&6; }
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9492 $as_echo "no
" >&6; }
9497 test -n "$ac_cv_prog_WINDRES" && break
9500 if test -z "$ac_cv_prog_WINDRES" ; then
9502 if test $build = $host ; then
9505 WINDRES="${ncn_tool_prefix}$2"
9511 if test -n "$WINDMC"; then
9512 ac_cv_prog_WINDMC=$WINDMC
9513 elif test -n "$ac_cv_prog_WINDMC"; then
9514 WINDMC=$ac_cv_prog_WINDMC
9517 if test -n "$ac_cv_prog_WINDMC"; then
9518 for ncn_progname in windmc; do
9519 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9520 set dummy ${ncn_progname}; ac_word=$2
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9522 $as_echo_n "checking
for $ac_word...
" >&6; }
9523 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9524 $as_echo_n "(cached
) " >&6
9526 if test -n "$WINDMC"; then
9527 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 test -z "$as_dir" && as_dir=.
9534 for ac_exec_ext in '' $ac_executable_extensions; do
9535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9536 ac_cv_prog_WINDMC="${ncn_progname}"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9546 WINDMC=$ac_cv_prog_WINDMC
9547 if test -n "$WINDMC"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9549 $as_echo "$WINDMC" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9552 $as_echo "no
" >&6; }
9559 for ncn_progname in windmc; do
9560 if test -n "$ncn_tool_prefix"; then
9561 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9562 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9564 $as_echo_n "checking
for $ac_word...
" >&6; }
9565 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9566 $as_echo_n "(cached
) " >&6
9568 if test -n "$WINDMC"; then
9569 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 test -z "$as_dir" && as_dir=.
9576 for ac_exec_ext in '' $ac_executable_extensions; do
9577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9578 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9588 WINDMC=$ac_cv_prog_WINDMC
9589 if test -n "$WINDMC"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9591 $as_echo "$WINDMC" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9594 $as_echo "no
" >&6; }
9599 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9600 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9601 set dummy ${ncn_progname}; ac_word=$2
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9603 $as_echo_n "checking
for $ac_word...
" >&6; }
9604 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9605 $as_echo_n "(cached
) " >&6
9607 if test -n "$WINDMC"; then
9608 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9614 test -z "$as_dir" && as_dir=.
9615 for ac_exec_ext in '' $ac_executable_extensions; do
9616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9617 ac_cv_prog_WINDMC="${ncn_progname}"
9618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9627 WINDMC=$ac_cv_prog_WINDMC
9628 if test -n "$WINDMC"; then
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9630 $as_echo "$WINDMC" >&6; }
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9633 $as_echo "no
" >&6; }
9638 test -n "$ac_cv_prog_WINDMC" && break
9641 if test -z "$ac_cv_prog_WINDMC" ; then
9643 if test $build = $host ; then
9646 WINDMC="${ncn_tool_prefix}$2"
9652 if test -n "$OBJCOPY"; then
9653 ac_cv_prog_OBJCOPY=$OBJCOPY
9654 elif test -n "$ac_cv_prog_OBJCOPY"; then
9655 OBJCOPY=$ac_cv_prog_OBJCOPY
9658 if test -n "$ac_cv_prog_OBJCOPY"; then
9659 for ncn_progname in objcopy; do
9660 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9661 set dummy ${ncn_progname}; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9663 $as_echo_n "checking
for $ac_word...
" >&6; }
9664 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9665 $as_echo_n "(cached
) " >&6
9667 if test -n "$OBJCOPY"; then
9668 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9677 ac_cv_prog_OBJCOPY="${ncn_progname}"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9687 OBJCOPY=$ac_cv_prog_OBJCOPY
9688 if test -n "$OBJCOPY"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9690 $as_echo "$OBJCOPY" >&6; }
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9693 $as_echo "no
" >&6; }
9700 for ncn_progname in objcopy; do
9701 if test -n "$ncn_tool_prefix"; then
9702 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9703 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9705 $as_echo_n "checking
for $ac_word...
" >&6; }
9706 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9707 $as_echo_n "(cached
) " >&6
9709 if test -n "$OBJCOPY"; then
9710 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir=.
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9719 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9729 OBJCOPY=$ac_cv_prog_OBJCOPY
9730 if test -n "$OBJCOPY"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9732 $as_echo "$OBJCOPY" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9735 $as_echo "no
" >&6; }
9740 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9742 set dummy ${ncn_progname}; ac_word=$2
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9744 $as_echo_n "checking
for $ac_word...
" >&6; }
9745 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9746 $as_echo_n "(cached
) " >&6
9748 if test -n "$OBJCOPY"; then
9749 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9755 test -z "$as_dir" && as_dir=.
9756 for ac_exec_ext in '' $ac_executable_extensions; do
9757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9758 ac_cv_prog_OBJCOPY="${ncn_progname}"
9759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9768 OBJCOPY=$ac_cv_prog_OBJCOPY
9769 if test -n "$OBJCOPY"; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9771 $as_echo "$OBJCOPY" >&6; }
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9774 $as_echo "no
" >&6; }
9779 test -n "$ac_cv_prog_OBJCOPY" && break
9782 if test -z "$ac_cv_prog_OBJCOPY" ; then
9784 if test $build = $host ; then
9787 OBJCOPY="${ncn_tool_prefix}$2"
9793 if test -n "$OBJDUMP"; then
9794 ac_cv_prog_OBJDUMP=$OBJDUMP
9795 elif test -n "$ac_cv_prog_OBJDUMP"; then
9796 OBJDUMP=$ac_cv_prog_OBJDUMP
9799 if test -n "$ac_cv_prog_OBJDUMP"; then
9800 for ncn_progname in objdump; do
9801 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9802 set dummy ${ncn_progname}; ac_word=$2
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9804 $as_echo_n "checking
for $ac_word...
" >&6; }
9805 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9806 $as_echo_n "(cached
) " >&6
9808 if test -n "$OBJDUMP"; then
9809 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_OBJDUMP="${ncn_progname}"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9828 OBJDUMP=$ac_cv_prog_OBJDUMP
9829 if test -n "$OBJDUMP"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9831 $as_echo "$OBJDUMP" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9834 $as_echo "no
" >&6; }
9841 for ncn_progname in objdump; do
9842 if test -n "$ncn_tool_prefix"; then
9843 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9844 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9846 $as_echo_n "checking
for $ac_word...
" >&6; }
9847 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9848 $as_echo_n "(cached
) " >&6
9850 if test -n "$OBJDUMP"; then
9851 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9870 OBJDUMP=$ac_cv_prog_OBJDUMP
9871 if test -n "$OBJDUMP"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9873 $as_echo "$OBJDUMP" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9876 $as_echo "no
" >&6; }
9881 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9882 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9883 set dummy ${ncn_progname}; ac_word=$2
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9885 $as_echo_n "checking
for $ac_word...
" >&6; }
9886 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9887 $as_echo_n "(cached
) " >&6
9889 if test -n "$OBJDUMP"; then
9890 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9896 test -z "$as_dir" && as_dir=.
9897 for ac_exec_ext in '' $ac_executable_extensions; do
9898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9899 ac_cv_prog_OBJDUMP="${ncn_progname}"
9900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9909 OBJDUMP=$ac_cv_prog_OBJDUMP
9910 if test -n "$OBJDUMP"; then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9912 $as_echo "$OBJDUMP" >&6; }
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9915 $as_echo "no
" >&6; }
9920 test -n "$ac_cv_prog_OBJDUMP" && break
9923 if test -z "$ac_cv_prog_OBJDUMP" ; then
9925 if test $build = $host ; then
9928 OBJDUMP="${ncn_tool_prefix}$2"
9934 if test -n "$READELF"; then
9935 ac_cv_prog_READELF=$READELF
9936 elif test -n "$ac_cv_prog_READELF"; then
9937 READELF=$ac_cv_prog_READELF
9940 if test -n "$ac_cv_prog_READELF"; then
9941 for ncn_progname in readelf; do
9942 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9943 set dummy ${ncn_progname}; ac_word=$2
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9945 $as_echo_n "checking
for $ac_word...
" >&6; }
9946 if test "${ac_cv_prog_READELF+set}" = set; then :
9947 $as_echo_n "(cached
) " >&6
9949 if test -n "$READELF"; then
9950 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9959 ac_cv_prog_READELF="${ncn_progname}"
9960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9969 READELF=$ac_cv_prog_READELF
9970 if test -n "$READELF"; then
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9972 $as_echo "$READELF" >&6; }
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9975 $as_echo "no
" >&6; }
9982 for ncn_progname in readelf; do
9983 if test -n "$ncn_tool_prefix"; then
9984 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9985 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9987 $as_echo_n "checking
for $ac_word...
" >&6; }
9988 if test "${ac_cv_prog_READELF+set}" = set; then :
9989 $as_echo_n "(cached
) " >&6
9991 if test -n "$READELF"; then
9992 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir=.
9999 for ac_exec_ext in '' $ac_executable_extensions; do
10000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10001 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10011 READELF=$ac_cv_prog_READELF
10012 if test -n "$READELF"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10014 $as_echo "$READELF" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10017 $as_echo "no
" >&6; }
10022 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10023 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10024 set dummy ${ncn_progname}; ac_word=$2
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10026 $as_echo_n "checking
for $ac_word...
" >&6; }
10027 if test "${ac_cv_prog_READELF+set}" = set; then :
10028 $as_echo_n "(cached
) " >&6
10030 if test -n "$READELF"; then
10031 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 for as_dir in $PATH
10037 test -z "$as_dir" && as_dir=.
10038 for ac_exec_ext in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_prog_READELF="${ncn_progname}"
10041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10050 READELF=$ac_cv_prog_READELF
10051 if test -n "$READELF"; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10053 $as_echo "$READELF" >&6; }
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10056 $as_echo "no
" >&6; }
10061 test -n "$ac_cv_prog_READELF" && break
10064 if test -z "$ac_cv_prog_READELF" ; then
10066 if test $build = $host ; then
10069 READELF="${ncn_tool_prefix}$2"
10080 # Check whether --with-build-time-tools was given.
10081 if test "${with_build_time_tools+set}" = set; then :
10082 withval=$with_build_time_tools; case x"$withval" in
10085 with_build_time_tools=
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10087 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10091 with_build_time_tools=
10097 if test -n "$CC_FOR_TARGET"; then
10098 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10099 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10100 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10103 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10104 for ncn_progname in cc gcc; do
10105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10106 set dummy ${ncn_progname}; ac_word=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10108 $as_echo_n "checking
for $ac_word...
" >&6; }
10109 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10110 $as_echo_n "(cached
) " >&6
10112 if test -n "$CC_FOR_TARGET"; then
10113 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10116 for as_dir in $PATH
10119 test -z "$as_dir" && as_dir=.
10120 for ac_exec_ext in '' $ac_executable_extensions; do
10121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10122 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10132 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10133 if test -n "$CC_FOR_TARGET"; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10135 $as_echo "$CC_FOR_TARGET" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10138 $as_echo "no
" >&6; }
10145 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10146 for ncn_progname in cc gcc; do
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10148 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10149 if test -x $with_build_time_tools/${ncn_progname}; then
10150 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10152 $as_echo "yes" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10156 $as_echo "no
" >&6; }
10161 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10162 for ncn_progname in cc gcc; do
10163 if test -n "$ncn_target_tool_prefix"; then
10164 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10165 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10167 $as_echo_n "checking
for $ac_word...
" >&6; }
10168 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10169 $as_echo_n "(cached
) " >&6
10171 if test -n "$CC_FOR_TARGET"; then
10172 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10175 for as_dir in $PATH
10178 test -z "$as_dir" && as_dir=.
10179 for ac_exec_ext in '' $ac_executable_extensions; do
10180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10181 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10191 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10192 if test -n "$CC_FOR_TARGET"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10194 $as_echo "$CC_FOR_TARGET" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10197 $as_echo "no
" >&6; }
10202 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10204 set dummy ${ncn_progname}; ac_word=$2
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10206 $as_echo_n "checking
for $ac_word...
" >&6; }
10207 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10208 $as_echo_n "(cached
) " >&6
10210 if test -n "$CC_FOR_TARGET"; then
10211 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10214 for as_dir in $PATH
10217 test -z "$as_dir" && as_dir=.
10218 for ac_exec_ext in '' $ac_executable_extensions; do
10219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10220 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10230 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10231 if test -n "$CC_FOR_TARGET"; then
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10233 $as_echo "$CC_FOR_TARGET" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10236 $as_echo "no
" >&6; }
10241 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10245 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10247 if test $build = $target ; then
10250 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10253 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10258 if test -n "$CXX_FOR_TARGET"; then
10259 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10260 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10261 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10264 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10265 for ncn_progname in c++ g++ cxx gxx; do
10266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10267 set dummy ${ncn_progname}; ac_word=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10269 $as_echo_n "checking
for $ac_word...
" >&6; }
10270 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10271 $as_echo_n "(cached
) " >&6
10273 if test -n "$CXX_FOR_TARGET"; then
10274 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10277 for as_dir in $PATH
10280 test -z "$as_dir" && as_dir=.
10281 for ac_exec_ext in '' $ac_executable_extensions; do
10282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10283 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10293 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10294 if test -n "$CXX_FOR_TARGET"; then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10296 $as_echo "$CXX_FOR_TARGET" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10306 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10307 for ncn_progname in c++ g++ cxx gxx; do
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10309 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10310 if test -x $with_build_time_tools/${ncn_progname}; then
10311 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10313 $as_echo "yes" >&6; }
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10317 $as_echo "no
" >&6; }
10322 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10323 for ncn_progname in c++ g++ cxx gxx; do
10324 if test -n "$ncn_target_tool_prefix"; then
10325 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10326 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10328 $as_echo_n "checking
for $ac_word...
" >&6; }
10329 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10330 $as_echo_n "(cached
) " >&6
10332 if test -n "$CXX_FOR_TARGET"; then
10333 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10339 test -z "$as_dir" && as_dir=.
10340 for ac_exec_ext in '' $ac_executable_extensions; do
10341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10342 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10352 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10353 if test -n "$CXX_FOR_TARGET"; then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10355 $as_echo "$CXX_FOR_TARGET" >&6; }
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10358 $as_echo "no
" >&6; }
10363 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10364 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10365 set dummy ${ncn_progname}; ac_word=$2
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10367 $as_echo_n "checking
for $ac_word...
" >&6; }
10368 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10369 $as_echo_n "(cached
) " >&6
10371 if test -n "$CXX_FOR_TARGET"; then
10372 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10378 test -z "$as_dir" && as_dir=.
10379 for ac_exec_ext in '' $ac_executable_extensions; do
10380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10381 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10391 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10392 if test -n "$CXX_FOR_TARGET"; then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10394 $as_echo "$CXX_FOR_TARGET" >&6; }
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10397 $as_echo "no
" >&6; }
10402 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10406 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10407 set dummy c++ g++ cxx gxx
10408 if test $build = $target ; then
10409 CXX_FOR_TARGET="$2"
10411 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10414 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10419 if test -n "$GCC_FOR_TARGET"; then
10420 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10421 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10422 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10425 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10426 for ncn_progname in gcc; do
10427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10428 set dummy ${ncn_progname}; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10430 $as_echo_n "checking
for $ac_word...
" >&6; }
10431 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10432 $as_echo_n "(cached
) " >&6
10434 if test -n "$GCC_FOR_TARGET"; then
10435 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10444 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10455 if test -n "$GCC_FOR_TARGET"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10457 $as_echo "$GCC_FOR_TARGET" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10467 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10468 for ncn_progname in gcc; do
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10471 if test -x $with_build_time_tools/${ncn_progname}; then
10472 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10474 $as_echo "yes" >&6; }
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10478 $as_echo "no
" >&6; }
10483 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10484 for ncn_progname in gcc; do
10485 if test -n "$ncn_target_tool_prefix"; then
10486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10489 $as_echo_n "checking
for $ac_word...
" >&6; }
10490 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10491 $as_echo_n "(cached
) " >&6
10493 if test -n "$GCC_FOR_TARGET"; then
10494 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10500 test -z "$as_dir" && as_dir=.
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10503 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10513 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10514 if test -n "$GCC_FOR_TARGET"; then
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10516 $as_echo "$GCC_FOR_TARGET" >&6; }
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10519 $as_echo "no
" >&6; }
10524 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10526 set dummy ${ncn_progname}; ac_word=$2
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10528 $as_echo_n "checking
for $ac_word...
" >&6; }
10529 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10530 $as_echo_n "(cached
) " >&6
10532 if test -n "$GCC_FOR_TARGET"; then
10533 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10539 test -z "$as_dir" && as_dir=.
10540 for ac_exec_ext in '' $ac_executable_extensions; do
10541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10542 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10552 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10553 if test -n "$GCC_FOR_TARGET"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10555 $as_echo "$GCC_FOR_TARGET" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10558 $as_echo "no
" >&6; }
10563 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10567 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10568 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10570 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10575 if test -n "$GCJ_FOR_TARGET"; then
10576 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10577 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10578 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10581 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10582 for ncn_progname in gcj; do
10583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10584 set dummy ${ncn_progname}; ac_word=$2
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10586 $as_echo_n "checking
for $ac_word...
" >&6; }
10587 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10588 $as_echo_n "(cached
) " >&6
10590 if test -n "$GCJ_FOR_TARGET"; then
10591 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10594 for as_dir in $PATH
10597 test -z "$as_dir" && as_dir=.
10598 for ac_exec_ext in '' $ac_executable_extensions; do
10599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10600 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10610 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10611 if test -n "$GCJ_FOR_TARGET"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10613 $as_echo "$GCJ_FOR_TARGET" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10616 $as_echo "no
" >&6; }
10623 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10624 for ncn_progname in gcj; do
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10626 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10627 if test -x $with_build_time_tools/${ncn_progname}; then
10628 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10630 $as_echo "yes" >&6; }
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10634 $as_echo "no
" >&6; }
10639 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10640 for ncn_progname in gcj; do
10641 if test -n "$ncn_target_tool_prefix"; then
10642 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10643 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10645 $as_echo_n "checking
for $ac_word...
" >&6; }
10646 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10647 $as_echo_n "(cached
) " >&6
10649 if test -n "$GCJ_FOR_TARGET"; then
10650 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10653 for as_dir in $PATH
10656 test -z "$as_dir" && as_dir=.
10657 for ac_exec_ext in '' $ac_executable_extensions; do
10658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10659 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10669 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10670 if test -n "$GCJ_FOR_TARGET"; then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10672 $as_echo "$GCJ_FOR_TARGET" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10675 $as_echo "no
" >&6; }
10680 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10681 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10682 set dummy ${ncn_progname}; ac_word=$2
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10684 $as_echo_n "checking
for $ac_word...
" >&6; }
10685 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10686 $as_echo_n "(cached
) " >&6
10688 if test -n "$GCJ_FOR_TARGET"; then
10689 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10692 for as_dir in $PATH
10695 test -z "$as_dir" && as_dir=.
10696 for ac_exec_ext in '' $ac_executable_extensions; do
10697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10698 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10708 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10709 if test -n "$GCJ_FOR_TARGET"; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10711 $as_echo "$GCJ_FOR_TARGET" >&6; }
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10714 $as_echo "no
" >&6; }
10719 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10723 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10725 if test $build = $target ; then
10726 GCJ_FOR_TARGET="$2"
10728 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10731 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10736 if test -n "$GFORTRAN_FOR_TARGET"; then
10737 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10738 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10739 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10742 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10743 for ncn_progname in gfortran; do
10744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10745 set dummy ${ncn_progname}; ac_word=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10747 $as_echo_n "checking
for $ac_word...
" >&6; }
10748 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10749 $as_echo_n "(cached
) " >&6
10751 if test -n "$GFORTRAN_FOR_TARGET"; then
10752 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10761 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10771 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10772 if test -n "$GFORTRAN_FOR_TARGET"; then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10774 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10777 $as_echo "no
" >&6; }
10784 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10785 for ncn_progname in gfortran; do
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10787 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10788 if test -x $with_build_time_tools/${ncn_progname}; then
10789 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10791 $as_echo "yes" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10795 $as_echo "no
" >&6; }
10800 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10801 for ncn_progname in gfortran; do
10802 if test -n "$ncn_target_tool_prefix"; then
10803 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10804 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10806 $as_echo_n "checking
for $ac_word...
" >&6; }
10807 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10808 $as_echo_n "(cached
) " >&6
10810 if test -n "$GFORTRAN_FOR_TARGET"; then
10811 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10814 for as_dir in $PATH
10817 test -z "$as_dir" && as_dir=.
10818 for ac_exec_ext in '' $ac_executable_extensions; do
10819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10820 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10830 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10831 if test -n "$GFORTRAN_FOR_TARGET"; then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10833 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10836 $as_echo "no
" >&6; }
10841 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10843 set dummy ${ncn_progname}; ac_word=$2
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10845 $as_echo_n "checking
for $ac_word...
" >&6; }
10846 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10847 $as_echo_n "(cached
) " >&6
10849 if test -n "$GFORTRAN_FOR_TARGET"; then
10850 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10853 for as_dir in $PATH
10856 test -z "$as_dir" && as_dir=.
10857 for ac_exec_ext in '' $ac_executable_extensions; do
10858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10859 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10869 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10870 if test -n "$GFORTRAN_FOR_TARGET"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10872 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10875 $as_echo "no
" >&6; }
10880 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10884 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10886 if test $build = $target ; then
10887 GFORTRAN_FOR_TARGET="$2"
10889 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10892 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10897 if test -n "$GOC_FOR_TARGET"; then
10898 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10899 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10900 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10903 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10904 for ncn_progname in gccgo; do
10905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10906 set dummy ${ncn_progname}; ac_word=$2
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10908 $as_echo_n "checking
for $ac_word...
" >&6; }
10909 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10910 $as_echo_n "(cached
) " >&6
10912 if test -n "$GOC_FOR_TARGET"; then
10913 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10919 test -z "$as_dir" && as_dir=.
10920 for ac_exec_ext in '' $ac_executable_extensions; do
10921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10922 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10932 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10933 if test -n "$GOC_FOR_TARGET"; then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10935 $as_echo "$GOC_FOR_TARGET" >&6; }
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10938 $as_echo "no
" >&6; }
10945 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10946 for ncn_progname in gccgo; do
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10948 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10949 if test -x $with_build_time_tools/${ncn_progname}; then
10950 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10952 $as_echo "yes" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10956 $as_echo "no
" >&6; }
10961 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10962 for ncn_progname in gccgo; do
10963 if test -n "$ncn_target_tool_prefix"; then
10964 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10965 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10967 $as_echo_n "checking
for $ac_word...
" >&6; }
10968 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10969 $as_echo_n "(cached
) " >&6
10971 if test -n "$GOC_FOR_TARGET"; then
10972 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10975 for as_dir in $PATH
10978 test -z "$as_dir" && as_dir=.
10979 for ac_exec_ext in '' $ac_executable_extensions; do
10980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10981 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10991 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10992 if test -n "$GOC_FOR_TARGET"; then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10994 $as_echo "$GOC_FOR_TARGET" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10997 $as_echo "no
" >&6; }
11002 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11004 set dummy ${ncn_progname}; ac_word=$2
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11006 $as_echo_n "checking
for $ac_word...
" >&6; }
11007 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
11008 $as_echo_n "(cached
) " >&6
11010 if test -n "$GOC_FOR_TARGET"; then
11011 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11014 for as_dir in $PATH
11017 test -z "$as_dir" && as_dir=.
11018 for ac_exec_ext in '' $ac_executable_extensions; do
11019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11020 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11030 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11031 if test -n "$GOC_FOR_TARGET"; then
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11033 $as_echo "$GOC_FOR_TARGET" >&6; }
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11036 $as_echo "no
" >&6; }
11041 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11045 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11047 if test $build = $target ; then
11048 GOC_FOR_TARGET="$2"
11050 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11053 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11058 cat > conftest.c << \EOF
11063 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11064 have_gcc_for_target=yes
11066 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11067 have_gcc_for_target=no
11074 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11075 if test -n "$with_build_time_tools"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11077 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11078 if test -x $with_build_time_tools/ar; then
11079 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11080 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11082 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11085 $as_echo "no
" >&6; }
11087 elif test $build != $host && test $have_gcc_for_target = yes; then
11088 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11089 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11090 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11093 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11094 # Extract the first word of "ar", so it can be a program name with args.
11095 set dummy ar; ac_word=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11097 $as_echo_n "checking
for $ac_word...
" >&6; }
11098 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11099 $as_echo_n "(cached
) " >&6
11101 case $AR_FOR_TARGET in
11103 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11107 for as_dir in $gcc_cv_tool_dirs
11110 test -z "$as_dir" && as_dir=.
11111 for ac_exec_ext in '' $ac_executable_extensions; do
11112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11124 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11125 if test -n "$AR_FOR_TARGET"; then
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11127 $as_echo "$AR_FOR_TARGET" >&6; }
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11130 $as_echo "no
" >&6; }
11135 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11138 if test -n "$AR_FOR_TARGET"; then
11139 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11140 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11141 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11144 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11145 for ncn_progname in ar; do
11146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11147 set dummy ${ncn_progname}; ac_word=$2
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11149 $as_echo_n "checking
for $ac_word...
" >&6; }
11150 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11151 $as_echo_n "(cached
) " >&6
11153 if test -n "$AR_FOR_TARGET"; then
11154 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157 for as_dir in $PATH
11160 test -z "$as_dir" && as_dir=.
11161 for ac_exec_ext in '' $ac_executable_extensions; do
11162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11163 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11173 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11174 if test -n "$AR_FOR_TARGET"; then
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11176 $as_echo "$AR_FOR_TARGET" >&6; }
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11179 $as_echo "no
" >&6; }
11186 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11187 for ncn_progname in ar; do
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11189 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11190 if test -x $with_build_time_tools/${ncn_progname}; then
11191 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11193 $as_echo "yes" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11197 $as_echo "no
" >&6; }
11202 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11203 for ncn_progname in ar; do
11204 if test -n "$ncn_target_tool_prefix"; then
11205 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11206 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11208 $as_echo_n "checking
for $ac_word...
" >&6; }
11209 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11210 $as_echo_n "(cached
) " >&6
11212 if test -n "$AR_FOR_TARGET"; then
11213 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11216 for as_dir in $PATH
11219 test -z "$as_dir" && as_dir=.
11220 for ac_exec_ext in '' $ac_executable_extensions; do
11221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11222 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11232 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11233 if test -n "$AR_FOR_TARGET"; then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11235 $as_echo "$AR_FOR_TARGET" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11238 $as_echo "no
" >&6; }
11243 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11245 set dummy ${ncn_progname}; ac_word=$2
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11247 $as_echo_n "checking
for $ac_word...
" >&6; }
11248 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11249 $as_echo_n "(cached
) " >&6
11251 if test -n "$AR_FOR_TARGET"; then
11252 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11255 for as_dir in $PATH
11258 test -z "$as_dir" && as_dir=.
11259 for ac_exec_ext in '' $ac_executable_extensions; do
11260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11261 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11271 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11272 if test -n "$AR_FOR_TARGET"; then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11274 $as_echo "$AR_FOR_TARGET" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11277 $as_echo "no
" >&6; }
11282 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11286 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11288 if test $build = $target ; then
11291 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11294 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11298 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11304 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11305 if test -n "$with_build_time_tools"; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11307 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11308 if test -x $with_build_time_tools/as; then
11309 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11310 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11312 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11315 $as_echo "no
" >&6; }
11317 elif test $build != $host && test $have_gcc_for_target = yes; then
11318 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11319 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11320 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11323 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11324 # Extract the first word of "as
", so it can be a program name with args.
11325 set dummy as; ac_word=$2
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11327 $as_echo_n "checking
for $ac_word...
" >&6; }
11328 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11329 $as_echo_n "(cached
) " >&6
11331 case $AS_FOR_TARGET in
11333 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337 for as_dir in $gcc_cv_tool_dirs
11340 test -z "$as_dir" && as_dir=.
11341 for ac_exec_ext in '' $ac_executable_extensions; do
11342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11354 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11355 if test -n "$AS_FOR_TARGET"; then
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11357 $as_echo "$AS_FOR_TARGET" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11360 $as_echo "no
" >&6; }
11365 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11368 if test -n "$AS_FOR_TARGET"; then
11369 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11370 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11371 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11374 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11375 for ncn_progname in as; do
11376 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11377 set dummy ${ncn_progname}; ac_word=$2
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11379 $as_echo_n "checking
for $ac_word...
" >&6; }
11380 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11381 $as_echo_n "(cached
) " >&6
11383 if test -n "$AS_FOR_TARGET"; then
11384 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11387 for as_dir in $PATH
11390 test -z "$as_dir" && as_dir=.
11391 for ac_exec_ext in '' $ac_executable_extensions; do
11392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11393 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11403 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11404 if test -n "$AS_FOR_TARGET"; then
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11406 $as_echo "$AS_FOR_TARGET" >&6; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11409 $as_echo "no
" >&6; }
11416 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11417 for ncn_progname in as; do
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11419 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11420 if test -x $with_build_time_tools/${ncn_progname}; then
11421 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11423 $as_echo "yes" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11427 $as_echo "no
" >&6; }
11432 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11433 for ncn_progname in as; do
11434 if test -n "$ncn_target_tool_prefix"; then
11435 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11436 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11438 $as_echo_n "checking
for $ac_word...
" >&6; }
11439 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11440 $as_echo_n "(cached
) " >&6
11442 if test -n "$AS_FOR_TARGET"; then
11443 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11446 for as_dir in $PATH
11449 test -z "$as_dir" && as_dir=.
11450 for ac_exec_ext in '' $ac_executable_extensions; do
11451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11452 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11462 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11463 if test -n "$AS_FOR_TARGET"; then
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11465 $as_echo "$AS_FOR_TARGET" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11468 $as_echo "no
" >&6; }
11473 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11474 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11475 set dummy ${ncn_progname}; ac_word=$2
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11477 $as_echo_n "checking
for $ac_word...
" >&6; }
11478 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11479 $as_echo_n "(cached
) " >&6
11481 if test -n "$AS_FOR_TARGET"; then
11482 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11485 for as_dir in $PATH
11488 test -z "$as_dir" && as_dir=.
11489 for ac_exec_ext in '' $ac_executable_extensions; do
11490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11491 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11501 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11502 if test -n "$AS_FOR_TARGET"; then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11504 $as_echo "$AS_FOR_TARGET" >&6; }
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11507 $as_echo "no
" >&6; }
11512 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11516 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11518 if test $build = $target ; then
11521 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11524 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11528 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11534 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11535 if test -n "$with_build_time_tools"; then
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11537 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11538 if test -x $with_build_time_tools/dlltool; then
11539 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11540 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11542 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11545 $as_echo "no
" >&6; }
11547 elif test $build != $host && test $have_gcc_for_target = yes; then
11548 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11549 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11550 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11553 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11554 # Extract the first word of "dlltool
", so it can be a program name with args.
11555 set dummy dlltool; ac_word=$2
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11557 $as_echo_n "checking
for $ac_word...
" >&6; }
11558 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11559 $as_echo_n "(cached
) " >&6
11561 case $DLLTOOL_FOR_TARGET in
11563 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $gcc_cv_tool_dirs
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11584 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11585 if test -n "$DLLTOOL_FOR_TARGET"; then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11587 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11590 $as_echo "no
" >&6; }
11595 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11598 if test -n "$DLLTOOL_FOR_TARGET"; then
11599 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11600 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11601 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11604 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11605 for ncn_progname in dlltool; do
11606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11607 set dummy ${ncn_progname}; ac_word=$2
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11609 $as_echo_n "checking
for $ac_word...
" >&6; }
11610 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11611 $as_echo_n "(cached
) " >&6
11613 if test -n "$DLLTOOL_FOR_TARGET"; then
11614 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617 for as_dir in $PATH
11620 test -z "$as_dir" && as_dir=.
11621 for ac_exec_ext in '' $ac_executable_extensions; do
11622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11623 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11633 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11634 if test -n "$DLLTOOL_FOR_TARGET"; then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11636 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11639 $as_echo "no
" >&6; }
11646 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11647 for ncn_progname in dlltool; do
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11649 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11650 if test -x $with_build_time_tools/${ncn_progname}; then
11651 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11653 $as_echo "yes" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11657 $as_echo "no
" >&6; }
11662 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11663 for ncn_progname in dlltool; do
11664 if test -n "$ncn_target_tool_prefix"; then
11665 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11666 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11668 $as_echo_n "checking
for $ac_word...
" >&6; }
11669 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11670 $as_echo_n "(cached
) " >&6
11672 if test -n "$DLLTOOL_FOR_TARGET"; then
11673 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676 for as_dir in $PATH
11679 test -z "$as_dir" && as_dir=.
11680 for ac_exec_ext in '' $ac_executable_extensions; do
11681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11682 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11692 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11693 if test -n "$DLLTOOL_FOR_TARGET"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11695 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11698 $as_echo "no
" >&6; }
11703 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11704 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11705 set dummy ${ncn_progname}; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11707 $as_echo_n "checking
for $ac_word...
" >&6; }
11708 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11709 $as_echo_n "(cached
) " >&6
11711 if test -n "$DLLTOOL_FOR_TARGET"; then
11712 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11718 test -z "$as_dir" && as_dir=.
11719 for ac_exec_ext in '' $ac_executable_extensions; do
11720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11721 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11731 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11732 if test -n "$DLLTOOL_FOR_TARGET"; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11734 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11737 $as_echo "no
" >&6; }
11742 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11746 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11748 if test $build = $target ; then
11749 DLLTOOL_FOR_TARGET="$2"
11751 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11754 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11758 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11764 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11765 if test -n "$with_build_time_tools"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11767 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11768 if test -x $with_build_time_tools/ld; then
11769 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11770 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11772 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11775 $as_echo "no
" >&6; }
11777 elif test $build != $host && test $have_gcc_for_target = yes; then
11778 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11779 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11780 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11783 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11784 # Extract the first word of "ld
", so it can be a program name with args.
11785 set dummy ld; ac_word=$2
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11787 $as_echo_n "checking
for $ac_word...
" >&6; }
11788 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11789 $as_echo_n "(cached
) " >&6
11791 case $LD_FOR_TARGET in
11793 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $gcc_cv_tool_dirs
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11803 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11814 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11815 if test -n "$LD_FOR_TARGET"; then
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11817 $as_echo "$LD_FOR_TARGET" >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11820 $as_echo "no
" >&6; }
11825 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11828 if test -n "$LD_FOR_TARGET"; then
11829 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11830 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11831 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11834 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11835 for ncn_progname in ld; do
11836 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11837 set dummy ${ncn_progname}; ac_word=$2
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11839 $as_echo_n "checking
for $ac_word...
" >&6; }
11840 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11841 $as_echo_n "(cached
) " >&6
11843 if test -n "$LD_FOR_TARGET"; then
11844 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11847 for as_dir in $PATH
11850 test -z "$as_dir" && as_dir=.
11851 for ac_exec_ext in '' $ac_executable_extensions; do
11852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11853 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11863 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11864 if test -n "$LD_FOR_TARGET"; then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11866 $as_echo "$LD_FOR_TARGET" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11869 $as_echo "no
" >&6; }
11876 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11877 for ncn_progname in ld; do
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11879 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11880 if test -x $with_build_time_tools/${ncn_progname}; then
11881 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11883 $as_echo "yes" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11887 $as_echo "no
" >&6; }
11892 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11893 for ncn_progname in ld; do
11894 if test -n "$ncn_target_tool_prefix"; then
11895 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11896 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11898 $as_echo_n "checking
for $ac_word...
" >&6; }
11899 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11900 $as_echo_n "(cached
) " >&6
11902 if test -n "$LD_FOR_TARGET"; then
11903 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11906 for as_dir in $PATH
11909 test -z "$as_dir" && as_dir=.
11910 for ac_exec_ext in '' $ac_executable_extensions; do
11911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11912 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11922 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11923 if test -n "$LD_FOR_TARGET"; then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11925 $as_echo "$LD_FOR_TARGET" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11928 $as_echo "no
" >&6; }
11933 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11934 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11935 set dummy ${ncn_progname}; ac_word=$2
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11937 $as_echo_n "checking
for $ac_word...
" >&6; }
11938 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11939 $as_echo_n "(cached
) " >&6
11941 if test -n "$LD_FOR_TARGET"; then
11942 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11945 for as_dir in $PATH
11948 test -z "$as_dir" && as_dir=.
11949 for ac_exec_ext in '' $ac_executable_extensions; do
11950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11951 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11961 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11962 if test -n "$LD_FOR_TARGET"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11964 $as_echo "$LD_FOR_TARGET" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11967 $as_echo "no
" >&6; }
11972 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11976 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11978 if test $build = $target ; then
11981 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11984 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11988 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11994 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11995 if test -n "$with_build_time_tools"; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11997 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11998 if test -x $with_build_time_tools/lipo; then
11999 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12000 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12002 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12005 $as_echo "no
" >&6; }
12007 elif test $build != $host && test $have_gcc_for_target = yes; then
12008 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12009 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12010 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12013 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12014 # Extract the first word of "lipo
", so it can be a program name with args.
12015 set dummy lipo; ac_word=$2
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12017 $as_echo_n "checking
for $ac_word...
" >&6; }
12018 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12019 $as_echo_n "(cached
) " >&6
12021 case $LIPO_FOR_TARGET in
12023 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12027 for as_dir in $gcc_cv_tool_dirs
12030 test -z "$as_dir" && as_dir=.
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12033 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12044 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12045 if test -n "$LIPO_FOR_TARGET"; then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12047 $as_echo "$LIPO_FOR_TARGET" >&6; }
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12050 $as_echo "no
" >&6; }
12055 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12058 if test -n "$LIPO_FOR_TARGET"; then
12059 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12060 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12061 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12064 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12065 for ncn_progname in lipo; do
12066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12067 set dummy ${ncn_progname}; ac_word=$2
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12069 $as_echo_n "checking
for $ac_word...
" >&6; }
12070 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12071 $as_echo_n "(cached
) " >&6
12073 if test -n "$LIPO_FOR_TARGET"; then
12074 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12077 for as_dir in $PATH
12080 test -z "$as_dir" && as_dir=.
12081 for ac_exec_ext in '' $ac_executable_extensions; do
12082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12083 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12093 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12094 if test -n "$LIPO_FOR_TARGET"; then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12096 $as_echo "$LIPO_FOR_TARGET" >&6; }
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12099 $as_echo "no
" >&6; }
12106 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12107 for ncn_progname in lipo; do
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12109 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12110 if test -x $with_build_time_tools/${ncn_progname}; then
12111 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12113 $as_echo "yes" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12117 $as_echo "no
" >&6; }
12122 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12123 for ncn_progname in lipo; do
12124 if test -n "$ncn_target_tool_prefix"; then
12125 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12126 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12128 $as_echo_n "checking
for $ac_word...
" >&6; }
12129 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12130 $as_echo_n "(cached
) " >&6
12132 if test -n "$LIPO_FOR_TARGET"; then
12133 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12142 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12152 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12153 if test -n "$LIPO_FOR_TARGET"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12155 $as_echo "$LIPO_FOR_TARGET" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12158 $as_echo "no
" >&6; }
12163 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12165 set dummy ${ncn_progname}; ac_word=$2
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12167 $as_echo_n "checking
for $ac_word...
" >&6; }
12168 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12169 $as_echo_n "(cached
) " >&6
12171 if test -n "$LIPO_FOR_TARGET"; then
12172 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12175 for as_dir in $PATH
12178 test -z "$as_dir" && as_dir=.
12179 for ac_exec_ext in '' $ac_executable_extensions; do
12180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12181 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12191 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12192 if test -n "$LIPO_FOR_TARGET"; then
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12194 $as_echo "$LIPO_FOR_TARGET" >&6; }
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12197 $as_echo "no
" >&6; }
12202 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12206 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12208 if test $build = $target ; then
12209 LIPO_FOR_TARGET="$2"
12211 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12214 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12218 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12224 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12225 if test -n "$with_build_time_tools"; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12227 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12228 if test -x $with_build_time_tools/nm; then
12229 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12230 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12232 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12235 $as_echo "no
" >&6; }
12237 elif test $build != $host && test $have_gcc_for_target = yes; then
12238 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12239 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12240 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12243 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12244 # Extract the first word of "nm
", so it can be a program name with args.
12245 set dummy nm; ac_word=$2
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12247 $as_echo_n "checking
for $ac_word...
" >&6; }
12248 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12249 $as_echo_n "(cached
) " >&6
12251 case $NM_FOR_TARGET in
12253 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12257 for as_dir in $gcc_cv_tool_dirs
12260 test -z "$as_dir" && as_dir=.
12261 for ac_exec_ext in '' $ac_executable_extensions; do
12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12263 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12274 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12275 if test -n "$NM_FOR_TARGET"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12277 $as_echo "$NM_FOR_TARGET" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12280 $as_echo "no
" >&6; }
12285 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12288 if test -n "$NM_FOR_TARGET"; then
12289 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12290 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12291 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12294 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12295 for ncn_progname in nm; do
12296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12297 set dummy ${ncn_progname}; ac_word=$2
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12299 $as_echo_n "checking
for $ac_word...
" >&6; }
12300 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12301 $as_echo_n "(cached
) " >&6
12303 if test -n "$NM_FOR_TARGET"; then
12304 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12307 for as_dir in $PATH
12310 test -z "$as_dir" && as_dir=.
12311 for ac_exec_ext in '' $ac_executable_extensions; do
12312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12323 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12324 if test -n "$NM_FOR_TARGET"; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12326 $as_echo "$NM_FOR_TARGET" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12329 $as_echo "no
" >&6; }
12336 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12337 for ncn_progname in nm; do
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12339 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12340 if test -x $with_build_time_tools/${ncn_progname}; then
12341 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12343 $as_echo "yes" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12347 $as_echo "no
" >&6; }
12352 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12353 for ncn_progname in nm; do
12354 if test -n "$ncn_target_tool_prefix"; then
12355 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12356 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12358 $as_echo_n "checking
for $ac_word...
" >&6; }
12359 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12360 $as_echo_n "(cached
) " >&6
12362 if test -n "$NM_FOR_TARGET"; then
12363 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12366 for as_dir in $PATH
12369 test -z "$as_dir" && as_dir=.
12370 for ac_exec_ext in '' $ac_executable_extensions; do
12371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12372 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12382 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12383 if test -n "$NM_FOR_TARGET"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12385 $as_echo "$NM_FOR_TARGET" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12388 $as_echo "no
" >&6; }
12393 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12395 set dummy ${ncn_progname}; ac_word=$2
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12397 $as_echo_n "checking
for $ac_word...
" >&6; }
12398 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12399 $as_echo_n "(cached
) " >&6
12401 if test -n "$NM_FOR_TARGET"; then
12402 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12405 for as_dir in $PATH
12408 test -z "$as_dir" && as_dir=.
12409 for ac_exec_ext in '' $ac_executable_extensions; do
12410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12411 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12421 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12422 if test -n "$NM_FOR_TARGET"; then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12424 $as_echo "$NM_FOR_TARGET" >&6; }
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12427 $as_echo "no
" >&6; }
12432 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12436 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12438 if test $build = $target ; then
12441 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12444 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12448 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12454 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12455 if test -n "$with_build_time_tools"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12457 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12458 if test -x $with_build_time_tools/objdump; then
12459 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12460 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12462 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12465 $as_echo "no
" >&6; }
12467 elif test $build != $host && test $have_gcc_for_target = yes; then
12468 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12469 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12470 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12473 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12474 # Extract the first word of "objdump
", so it can be a program name with args.
12475 set dummy objdump; ac_word=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12477 $as_echo_n "checking
for $ac_word...
" >&6; }
12478 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12479 $as_echo_n "(cached
) " >&6
12481 case $OBJDUMP_FOR_TARGET in
12483 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $gcc_cv_tool_dirs
12490 test -z "$as_dir" && as_dir=.
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12504 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12505 if test -n "$OBJDUMP_FOR_TARGET"; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12507 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12510 $as_echo "no
" >&6; }
12515 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12518 if test -n "$OBJDUMP_FOR_TARGET"; then
12519 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12520 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12521 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12524 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12525 for ncn_progname in objdump; do
12526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12527 set dummy ${ncn_progname}; ac_word=$2
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12529 $as_echo_n "checking
for $ac_word...
" >&6; }
12530 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12531 $as_echo_n "(cached
) " >&6
12533 if test -n "$OBJDUMP_FOR_TARGET"; then
12534 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12537 for as_dir in $PATH
12540 test -z "$as_dir" && as_dir=.
12541 for ac_exec_ext in '' $ac_executable_extensions; do
12542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12543 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12553 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12554 if test -n "$OBJDUMP_FOR_TARGET"; then
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12556 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12559 $as_echo "no
" >&6; }
12566 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12567 for ncn_progname in objdump; do
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12569 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12570 if test -x $with_build_time_tools/${ncn_progname}; then
12571 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12573 $as_echo "yes" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12577 $as_echo "no
" >&6; }
12582 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12583 for ncn_progname in objdump; do
12584 if test -n "$ncn_target_tool_prefix"; then
12585 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12586 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12588 $as_echo_n "checking
for $ac_word...
" >&6; }
12589 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12590 $as_echo_n "(cached
) " >&6
12592 if test -n "$OBJDUMP_FOR_TARGET"; then
12593 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12596 for as_dir in $PATH
12599 test -z "$as_dir" && as_dir=.
12600 for ac_exec_ext in '' $ac_executable_extensions; do
12601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12602 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12612 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12613 if test -n "$OBJDUMP_FOR_TARGET"; then
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12615 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12618 $as_echo "no
" >&6; }
12623 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12624 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12625 set dummy ${ncn_progname}; ac_word=$2
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12627 $as_echo_n "checking
for $ac_word...
" >&6; }
12628 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12629 $as_echo_n "(cached
) " >&6
12631 if test -n "$OBJDUMP_FOR_TARGET"; then
12632 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12635 for as_dir in $PATH
12638 test -z "$as_dir" && as_dir=.
12639 for ac_exec_ext in '' $ac_executable_extensions; do
12640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12641 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12651 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12652 if test -n "$OBJDUMP_FOR_TARGET"; then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12654 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12657 $as_echo "no
" >&6; }
12662 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12666 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12668 if test $build = $target ; then
12669 OBJDUMP_FOR_TARGET="$2"
12671 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12674 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12678 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12684 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12685 if test -n "$with_build_time_tools"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12687 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12688 if test -x $with_build_time_tools/ranlib; then
12689 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12690 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12692 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12695 $as_echo "no
" >&6; }
12697 elif test $build != $host && test $have_gcc_for_target = yes; then
12698 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12699 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12700 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12703 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12704 # Extract the first word of "ranlib
", so it can be a program name with args.
12705 set dummy ranlib; ac_word=$2
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12707 $as_echo_n "checking
for $ac_word...
" >&6; }
12708 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12709 $as_echo_n "(cached
) " >&6
12711 case $RANLIB_FOR_TARGET in
12713 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12717 for as_dir in $gcc_cv_tool_dirs
12720 test -z "$as_dir" && as_dir=.
12721 for ac_exec_ext in '' $ac_executable_extensions; do
12722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12723 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12734 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12735 if test -n "$RANLIB_FOR_TARGET"; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12737 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12740 $as_echo "no
" >&6; }
12745 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12748 if test -n "$RANLIB_FOR_TARGET"; then
12749 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12750 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12751 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12754 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12755 for ncn_progname in ranlib; do
12756 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12757 set dummy ${ncn_progname}; ac_word=$2
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12759 $as_echo_n "checking
for $ac_word...
" >&6; }
12760 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12761 $as_echo_n "(cached
) " >&6
12763 if test -n "$RANLIB_FOR_TARGET"; then
12764 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12767 for as_dir in $PATH
12770 test -z "$as_dir" && as_dir=.
12771 for ac_exec_ext in '' $ac_executable_extensions; do
12772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12773 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12783 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12784 if test -n "$RANLIB_FOR_TARGET"; then
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12786 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12789 $as_echo "no
" >&6; }
12796 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12797 for ncn_progname in ranlib; do
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12799 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12800 if test -x $with_build_time_tools/${ncn_progname}; then
12801 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12803 $as_echo "yes" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12807 $as_echo "no
" >&6; }
12812 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12813 for ncn_progname in ranlib; do
12814 if test -n "$ncn_target_tool_prefix"; then
12815 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12816 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12818 $as_echo_n "checking
for $ac_word...
" >&6; }
12819 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12820 $as_echo_n "(cached
) " >&6
12822 if test -n "$RANLIB_FOR_TARGET"; then
12823 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12829 test -z "$as_dir" && as_dir=.
12830 for ac_exec_ext in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12842 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12843 if test -n "$RANLIB_FOR_TARGET"; then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12845 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12848 $as_echo "no
" >&6; }
12853 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12855 set dummy ${ncn_progname}; ac_word=$2
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12857 $as_echo_n "checking
for $ac_word...
" >&6; }
12858 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12859 $as_echo_n "(cached
) " >&6
12861 if test -n "$RANLIB_FOR_TARGET"; then
12862 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12865 for as_dir in $PATH
12868 test -z "$as_dir" && as_dir=.
12869 for ac_exec_ext in '' $ac_executable_extensions; do
12870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12871 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12881 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12882 if test -n "$RANLIB_FOR_TARGET"; then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12884 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12887 $as_echo "no
" >&6; }
12892 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12896 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12898 if test $build = $target ; then
12899 RANLIB_FOR_TARGET="$2"
12901 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12904 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12908 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12914 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12915 if test -n "$with_build_time_tools"; then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12917 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12918 if test -x $with_build_time_tools/readelf; then
12919 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12920 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12922 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12925 $as_echo "no
" >&6; }
12927 elif test $build != $host && test $have_gcc_for_target = yes; then
12928 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12929 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12930 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12933 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12934 # Extract the first word of "readelf
", so it can be a program name with args.
12935 set dummy readelf; ac_word=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12937 $as_echo_n "checking
for $ac_word...
" >&6; }
12938 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12939 $as_echo_n "(cached
) " >&6
12941 case $READELF_FOR_TARGET in
12943 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12947 for as_dir in $gcc_cv_tool_dirs
12950 test -z "$as_dir" && as_dir=.
12951 for ac_exec_ext in '' $ac_executable_extensions; do
12952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12953 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12964 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12965 if test -n "$READELF_FOR_TARGET"; then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12967 $as_echo "$READELF_FOR_TARGET" >&6; }
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12970 $as_echo "no
" >&6; }
12975 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12978 if test -n "$READELF_FOR_TARGET"; then
12979 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12980 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12981 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12984 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12985 for ncn_progname in readelf; do
12986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12987 set dummy ${ncn_progname}; ac_word=$2
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12989 $as_echo_n "checking
for $ac_word...
" >&6; }
12990 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12991 $as_echo_n "(cached
) " >&6
12993 if test -n "$READELF_FOR_TARGET"; then
12994 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12997 for as_dir in $PATH
13000 test -z "$as_dir" && as_dir=.
13001 for ac_exec_ext in '' $ac_executable_extensions; do
13002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13003 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13013 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13014 if test -n "$READELF_FOR_TARGET"; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13016 $as_echo "$READELF_FOR_TARGET" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13019 $as_echo "no
" >&6; }
13026 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13027 for ncn_progname in readelf; do
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13029 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13030 if test -x $with_build_time_tools/${ncn_progname}; then
13031 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13033 $as_echo "yes" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13037 $as_echo "no
" >&6; }
13042 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13043 for ncn_progname in readelf; do
13044 if test -n "$ncn_target_tool_prefix"; then
13045 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13046 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13048 $as_echo_n "checking
for $ac_word...
" >&6; }
13049 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13050 $as_echo_n "(cached
) " >&6
13052 if test -n "$READELF_FOR_TARGET"; then
13053 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13056 for as_dir in $PATH
13059 test -z "$as_dir" && as_dir=.
13060 for ac_exec_ext in '' $ac_executable_extensions; do
13061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13062 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13072 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13073 if test -n "$READELF_FOR_TARGET"; then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13075 $as_echo "$READELF_FOR_TARGET" >&6; }
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13078 $as_echo "no
" >&6; }
13083 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13085 set dummy ${ncn_progname}; ac_word=$2
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13087 $as_echo_n "checking
for $ac_word...
" >&6; }
13088 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13089 $as_echo_n "(cached
) " >&6
13091 if test -n "$READELF_FOR_TARGET"; then
13092 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13095 for as_dir in $PATH
13098 test -z "$as_dir" && as_dir=.
13099 for ac_exec_ext in '' $ac_executable_extensions; do
13100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13101 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13111 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13112 if test -n "$READELF_FOR_TARGET"; then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13114 $as_echo "$READELF_FOR_TARGET" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13117 $as_echo "no
" >&6; }
13122 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13126 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13128 if test $build = $target ; then
13129 READELF_FOR_TARGET="$2"
13131 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13134 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13138 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13144 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13145 if test -n "$with_build_time_tools"; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13147 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13148 if test -x $with_build_time_tools/strip; then
13149 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13150 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13152 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13155 $as_echo "no
" >&6; }
13157 elif test $build != $host && test $have_gcc_for_target = yes; then
13158 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13159 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13160 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13163 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13164 # Extract the first word of "strip
", so it can be a program name with args.
13165 set dummy strip; ac_word=$2
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13167 $as_echo_n "checking
for $ac_word...
" >&6; }
13168 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13169 $as_echo_n "(cached
) " >&6
13171 case $STRIP_FOR_TARGET in
13173 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $gcc_cv_tool_dirs
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13194 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13195 if test -n "$STRIP_FOR_TARGET"; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13197 $as_echo "$STRIP_FOR_TARGET" >&6; }
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13200 $as_echo "no
" >&6; }
13205 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13208 if test -n "$STRIP_FOR_TARGET"; then
13209 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13210 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13211 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13214 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13215 for ncn_progname in strip; do
13216 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13217 set dummy ${ncn_progname}; ac_word=$2
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13219 $as_echo_n "checking
for $ac_word...
" >&6; }
13220 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13221 $as_echo_n "(cached
) " >&6
13223 if test -n "$STRIP_FOR_TARGET"; then
13224 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13227 for as_dir in $PATH
13230 test -z "$as_dir" && as_dir=.
13231 for ac_exec_ext in '' $ac_executable_extensions; do
13232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13233 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13243 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13244 if test -n "$STRIP_FOR_TARGET"; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13246 $as_echo "$STRIP_FOR_TARGET" >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13249 $as_echo "no
" >&6; }
13256 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13257 for ncn_progname in strip; do
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13259 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13260 if test -x $with_build_time_tools/${ncn_progname}; then
13261 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13263 $as_echo "yes" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13267 $as_echo "no
" >&6; }
13272 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13273 for ncn_progname in strip; do
13274 if test -n "$ncn_target_tool_prefix"; then
13275 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13276 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13278 $as_echo_n "checking
for $ac_word...
" >&6; }
13279 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13280 $as_echo_n "(cached
) " >&6
13282 if test -n "$STRIP_FOR_TARGET"; then
13283 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13302 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13303 if test -n "$STRIP_FOR_TARGET"; then
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13305 $as_echo "$STRIP_FOR_TARGET" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13308 $as_echo "no
" >&6; }
13313 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13315 set dummy ${ncn_progname}; ac_word=$2
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13317 $as_echo_n "checking
for $ac_word...
" >&6; }
13318 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13319 $as_echo_n "(cached
) " >&6
13321 if test -n "$STRIP_FOR_TARGET"; then
13322 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13325 for as_dir in $PATH
13328 test -z "$as_dir" && as_dir=.
13329 for ac_exec_ext in '' $ac_executable_extensions; do
13330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13331 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13341 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13342 if test -n "$STRIP_FOR_TARGET"; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13344 $as_echo "$STRIP_FOR_TARGET" >&6; }
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13347 $as_echo "no
" >&6; }
13352 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13356 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13358 if test $build = $target ; then
13359 STRIP_FOR_TARGET="$2"
13361 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13364 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13368 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13374 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13375 if test -n "$with_build_time_tools"; then
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13377 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13378 if test -x $with_build_time_tools/windres; then
13379 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13380 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13382 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13385 $as_echo "no
" >&6; }
13387 elif test $build != $host && test $have_gcc_for_target = yes; then
13388 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13389 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13390 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13393 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13394 # Extract the first word of "windres
", so it can be a program name with args.
13395 set dummy windres; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13397 $as_echo_n "checking
for $ac_word...
" >&6; }
13398 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13399 $as_echo_n "(cached
) " >&6
13401 case $WINDRES_FOR_TARGET in
13403 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13407 for as_dir in $gcc_cv_tool_dirs
13410 test -z "$as_dir" && as_dir=.
13411 for ac_exec_ext in '' $ac_executable_extensions; do
13412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13413 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13424 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13425 if test -n "$WINDRES_FOR_TARGET"; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13427 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13430 $as_echo "no
" >&6; }
13435 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13438 if test -n "$WINDRES_FOR_TARGET"; then
13439 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13440 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13441 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13444 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13445 for ncn_progname in windres; do
13446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13447 set dummy ${ncn_progname}; ac_word=$2
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13449 $as_echo_n "checking
for $ac_word...
" >&6; }
13450 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13451 $as_echo_n "(cached
) " >&6
13453 if test -n "$WINDRES_FOR_TARGET"; then
13454 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13457 for as_dir in $PATH
13460 test -z "$as_dir" && as_dir=.
13461 for ac_exec_ext in '' $ac_executable_extensions; do
13462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13463 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13473 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13474 if test -n "$WINDRES_FOR_TARGET"; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13476 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13479 $as_echo "no
" >&6; }
13486 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13487 for ncn_progname in windres; do
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13489 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13490 if test -x $with_build_time_tools/${ncn_progname}; then
13491 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13493 $as_echo "yes" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13497 $as_echo "no
" >&6; }
13502 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13503 for ncn_progname in windres; do
13504 if test -n "$ncn_target_tool_prefix"; then
13505 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13506 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13508 $as_echo_n "checking
for $ac_word...
" >&6; }
13509 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13510 $as_echo_n "(cached
) " >&6
13512 if test -n "$WINDRES_FOR_TARGET"; then
13513 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13516 for as_dir in $PATH
13519 test -z "$as_dir" && as_dir=.
13520 for ac_exec_ext in '' $ac_executable_extensions; do
13521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13522 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13532 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13533 if test -n "$WINDRES_FOR_TARGET"; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13535 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13538 $as_echo "no
" >&6; }
13543 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13545 set dummy ${ncn_progname}; ac_word=$2
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13547 $as_echo_n "checking
for $ac_word...
" >&6; }
13548 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13549 $as_echo_n "(cached
) " >&6
13551 if test -n "$WINDRES_FOR_TARGET"; then
13552 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13555 for as_dir in $PATH
13558 test -z "$as_dir" && as_dir=.
13559 for ac_exec_ext in '' $ac_executable_extensions; do
13560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13561 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13571 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13572 if test -n "$WINDRES_FOR_TARGET"; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13574 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13577 $as_echo "no
" >&6; }
13582 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13586 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13588 if test $build = $target ; then
13589 WINDRES_FOR_TARGET="$2"
13591 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13594 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13598 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13604 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13605 if test -n "$with_build_time_tools"; then
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13607 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13608 if test -x $with_build_time_tools/windmc; then
13609 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13610 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13612 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13615 $as_echo "no
" >&6; }
13617 elif test $build != $host && test $have_gcc_for_target = yes; then
13618 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13619 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13620 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13623 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13624 # Extract the first word of "windmc
", so it can be a program name with args.
13625 set dummy windmc; ac_word=$2
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13627 $as_echo_n "checking
for $ac_word...
" >&6; }
13628 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13629 $as_echo_n "(cached
) " >&6
13631 case $WINDMC_FOR_TARGET in
13633 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13637 for as_dir in $gcc_cv_tool_dirs
13640 test -z "$as_dir" && as_dir=.
13641 for ac_exec_ext in '' $ac_executable_extensions; do
13642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13643 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13654 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13655 if test -n "$WINDMC_FOR_TARGET"; then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13657 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13660 $as_echo "no
" >&6; }
13665 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13668 if test -n "$WINDMC_FOR_TARGET"; then
13669 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13670 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13671 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13674 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13675 for ncn_progname in windmc; do
13676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13677 set dummy ${ncn_progname}; ac_word=$2
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13679 $as_echo_n "checking
for $ac_word...
" >&6; }
13680 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13681 $as_echo_n "(cached
) " >&6
13683 if test -n "$WINDMC_FOR_TARGET"; then
13684 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13687 for as_dir in $PATH
13690 test -z "$as_dir" && as_dir=.
13691 for ac_exec_ext in '' $ac_executable_extensions; do
13692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13693 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13703 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13704 if test -n "$WINDMC_FOR_TARGET"; then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13706 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13709 $as_echo "no
" >&6; }
13716 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13717 for ncn_progname in windmc; do
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13719 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13720 if test -x $with_build_time_tools/${ncn_progname}; then
13721 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13723 $as_echo "yes" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13727 $as_echo "no
" >&6; }
13732 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13733 for ncn_progname in windmc; do
13734 if test -n "$ncn_target_tool_prefix"; then
13735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13738 $as_echo_n "checking
for $ac_word...
" >&6; }
13739 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13740 $as_echo_n "(cached
) " >&6
13742 if test -n "$WINDMC_FOR_TARGET"; then
13743 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13746 for as_dir in $PATH
13749 test -z "$as_dir" && as_dir=.
13750 for ac_exec_ext in '' $ac_executable_extensions; do
13751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13752 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13762 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13763 if test -n "$WINDMC_FOR_TARGET"; then
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13765 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13768 $as_echo "no
" >&6; }
13773 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13775 set dummy ${ncn_progname}; ac_word=$2
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13777 $as_echo_n "checking
for $ac_word...
" >&6; }
13778 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13779 $as_echo_n "(cached
) " >&6
13781 if test -n "$WINDMC_FOR_TARGET"; then
13782 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13785 for as_dir in $PATH
13788 test -z "$as_dir" && as_dir=.
13789 for ac_exec_ext in '' $ac_executable_extensions; do
13790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13791 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13801 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13802 if test -n "$WINDMC_FOR_TARGET"; then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13804 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13807 $as_echo "no
" >&6; }
13812 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13816 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13818 if test $build = $target ; then
13819 WINDMC_FOR_TARGET="$2"
13821 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13824 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13828 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13832 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13835 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13836 if test "x
${build}" != "x
${host}" ; then
13837 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13838 # We already found the complete path
13839 ac_dir=`dirname $AR_FOR_TARGET`
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13841 $as_echo "pre-installed
in $ac_dir" >&6; }
13843 # Canadian cross, just use what we found
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13845 $as_echo "pre-installed
" >&6; }
13849 case " ${configdirs} " in
13854 if test $ok = yes; then
13855 # An in-tree tool is available and we can use it
13856 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13858 $as_echo "just compiled
" >&6; }
13859 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13860 # We already found the complete path
13861 ac_dir=`dirname $AR_FOR_TARGET`
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13863 $as_echo "pre-installed
in $ac_dir" >&6; }
13864 elif test "x
$target" = "x
$host"; then
13865 # We can use an host tool
13866 AR_FOR_TARGET='$(AR)'
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13868 $as_echo "host tool
" >&6; }
13870 # We need a cross tool
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13872 $as_echo "pre-installed
" >&6; }
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13877 $as_echo_n "checking where to
find the target as...
" >&6; }
13878 if test "x
${build}" != "x
${host}" ; then
13879 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13880 # We already found the complete path
13881 ac_dir=`dirname $AS_FOR_TARGET`
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13883 $as_echo "pre-installed
in $ac_dir" >&6; }
13885 # Canadian cross, just use what we found
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13887 $as_echo "pre-installed
" >&6; }
13891 case " ${configdirs} " in
13896 if test $ok = yes; then
13897 # An in-tree tool is available and we can use it
13898 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13900 $as_echo "just compiled
" >&6; }
13901 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13902 # We already found the complete path
13903 ac_dir=`dirname $AS_FOR_TARGET`
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13905 $as_echo "pre-installed
in $ac_dir" >&6; }
13906 elif test "x
$target" = "x
$host"; then
13907 # We can use an host tool
13908 AS_FOR_TARGET='$(AS)'
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13910 $as_echo "host tool
" >&6; }
13912 # We need a cross tool
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13914 $as_echo "pre-installed
" >&6; }
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13919 $as_echo_n "checking where to
find the target cc...
" >&6; }
13920 if test "x
${build}" != "x
${host}" ; then
13921 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13922 # We already found the complete path
13923 ac_dir=`dirname $CC_FOR_TARGET`
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13925 $as_echo "pre-installed
in $ac_dir" >&6; }
13927 # Canadian cross, just use what we found
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13929 $as_echo "pre-installed
" >&6; }
13933 case " ${configdirs} " in
13938 if test $ok = yes; then
13939 # An in-tree tool is available and we can use it
13940 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13942 $as_echo "just compiled
" >&6; }
13943 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13944 # We already found the complete path
13945 ac_dir=`dirname $CC_FOR_TARGET`
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13947 $as_echo "pre-installed
in $ac_dir" >&6; }
13948 elif test "x
$target" = "x
$host"; then
13949 # We can use an host tool
13950 CC_FOR_TARGET='$(CC)'
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13952 $as_echo "host tool
" >&6; }
13954 # We need a cross tool
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13956 $as_echo "pre-installed
" >&6; }
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13961 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13962 if test "x
${build}" != "x
${host}" ; then
13963 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13964 # We already found the complete path
13965 ac_dir=`dirname $CXX_FOR_TARGET`
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13967 $as_echo "pre-installed
in $ac_dir" >&6; }
13969 # Canadian cross, just use what we found
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13971 $as_echo "pre-installed
" >&6; }
13975 case " ${configdirs} " in
13979 case ,${enable_languages}, in
13983 if test $ok = yes; then
13984 # An in-tree tool is available and we can use it
13985 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'
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13987 $as_echo "just compiled
" >&6; }
13988 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13989 # We already found the complete path
13990 ac_dir=`dirname $CXX_FOR_TARGET`
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13992 $as_echo "pre-installed
in $ac_dir" >&6; }
13993 elif test "x
$target" = "x
$host"; then
13994 # We can use an host tool
13995 CXX_FOR_TARGET='$(CXX)'
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13997 $as_echo "host tool
" >&6; }
13999 # We need a cross tool
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14001 $as_echo "pre-installed
" >&6; }
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14006 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14007 if test "x
${build}" != "x
${host}" ; then
14008 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14009 # We already found the complete path
14010 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14012 $as_echo "pre-installed
in $ac_dir" >&6; }
14014 # Canadian cross, just use what we found
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14016 $as_echo "pre-installed
" >&6; }
14020 case " ${configdirs} " in
14024 case ,${enable_languages}, in
14028 if test $ok = yes; then
14029 # An in-tree tool is available and we can use it
14030 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'
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14032 $as_echo "just compiled
" >&6; }
14033 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14034 # We already found the complete path
14035 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14037 $as_echo "pre-installed
in $ac_dir" >&6; }
14038 elif test "x
$target" = "x
$host"; then
14039 # We can use an host tool
14040 RAW_CXX_FOR_TARGET='$(CXX)'
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14042 $as_echo "host tool
" >&6; }
14044 # We need a cross tool
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14046 $as_echo "pre-installed
" >&6; }
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14051 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14052 if test "x
${build}" != "x
${host}" ; then
14053 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14054 # We already found the complete path
14055 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14057 $as_echo "pre-installed
in $ac_dir" >&6; }
14059 # Canadian cross, just use what we found
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14061 $as_echo "pre-installed
" >&6; }
14065 case " ${configdirs} " in
14070 if test $ok = yes; then
14071 # An in-tree tool is available and we can use it
14072 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14074 $as_echo "just compiled
" >&6; }
14075 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14076 # We already found the complete path
14077 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14079 $as_echo "pre-installed
in $ac_dir" >&6; }
14080 elif test "x
$target" = "x
$host"; then
14081 # We can use an host tool
14082 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14084 $as_echo "host tool
" >&6; }
14086 # We need a cross tool
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14088 $as_echo "pre-installed
" >&6; }
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14093 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14094 if test "x
${build}" != "x
${host}" ; then
14095 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14096 # We already found the complete path
14097 ac_dir=`dirname $GCC_FOR_TARGET`
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14099 $as_echo "pre-installed
in $ac_dir" >&6; }
14101 # Canadian cross, just use what we found
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14103 $as_echo "pre-installed
" >&6; }
14107 case " ${configdirs} " in
14112 if test $ok = yes; then
14113 # An in-tree tool is available and we can use it
14114 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14116 $as_echo "just compiled
" >&6; }
14117 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14118 # We already found the complete path
14119 ac_dir=`dirname $GCC_FOR_TARGET`
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14121 $as_echo "pre-installed
in $ac_dir" >&6; }
14122 elif test "x
$target" = "x
$host"; then
14123 # We can use an host tool
14124 GCC_FOR_TARGET='$()'
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14126 $as_echo "host tool
" >&6; }
14128 # We need a cross tool
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14130 $as_echo "pre-installed
" >&6; }
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14135 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14136 if test "x
${build}" != "x
${host}" ; then
14137 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14138 # We already found the complete path
14139 ac_dir=`dirname $GCJ_FOR_TARGET`
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14141 $as_echo "pre-installed
in $ac_dir" >&6; }
14143 # Canadian cross, just use what we found
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14145 $as_echo "pre-installed
" >&6; }
14149 case " ${configdirs} " in
14153 case ,${enable_languages}, in
14157 if test $ok = yes; then
14158 # An in-tree tool is available and we can use it
14159 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14161 $as_echo "just compiled
" >&6; }
14162 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14163 # We already found the complete path
14164 ac_dir=`dirname $GCJ_FOR_TARGET`
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14166 $as_echo "pre-installed
in $ac_dir" >&6; }
14167 elif test "x
$target" = "x
$host"; then
14168 # We can use an host tool
14169 GCJ_FOR_TARGET='$(GCJ)'
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14171 $as_echo "host tool
" >&6; }
14173 # We need a cross tool
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14175 $as_echo "pre-installed
" >&6; }
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14180 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14181 if test "x
${build}" != "x
${host}" ; then
14182 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14183 # We already found the complete path
14184 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14186 $as_echo "pre-installed
in $ac_dir" >&6; }
14188 # Canadian cross, just use what we found
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14190 $as_echo "pre-installed
" >&6; }
14194 case " ${configdirs} " in
14198 case ,${enable_languages}, in
14202 if test $ok = yes; then
14203 # An in-tree tool is available and we can use it
14204 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14206 $as_echo "just compiled
" >&6; }
14207 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14208 # We already found the complete path
14209 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14211 $as_echo "pre-installed
in $ac_dir" >&6; }
14212 elif test "x
$target" = "x
$host"; then
14213 # We can use an host tool
14214 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14216 $as_echo "host tool
" >&6; }
14218 # We need a cross tool
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14220 $as_echo "pre-installed
" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14225 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14226 if test "x
${build}" != "x
${host}" ; then
14227 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14228 # We already found the complete path
14229 ac_dir=`dirname $GOC_FOR_TARGET`
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14231 $as_echo "pre-installed
in $ac_dir" >&6; }
14233 # Canadian cross, just use what we found
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14235 $as_echo "pre-installed
" >&6; }
14239 case " ${configdirs} " in
14243 case ,${enable_languages}, in
14247 if test $ok = yes; then
14248 # An in-tree tool is available and we can use it
14249 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14251 $as_echo "just compiled
" >&6; }
14252 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14253 # We already found the complete path
14254 ac_dir=`dirname $GOC_FOR_TARGET`
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14256 $as_echo "pre-installed
in $ac_dir" >&6; }
14257 elif test "x
$target" = "x
$host"; then
14258 # We can use an host tool
14259 GOC_FOR_TARGET='$(GOC)'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14261 $as_echo "host tool
" >&6; }
14263 # We need a cross tool
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14265 $as_echo "pre-installed
" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14270 $as_echo_n "checking where to
find the target ld...
" >&6; }
14271 if test "x
${build}" != "x
${host}" ; then
14272 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14273 # We already found the complete path
14274 ac_dir=`dirname $LD_FOR_TARGET`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14276 $as_echo "pre-installed
in $ac_dir" >&6; }
14278 # Canadian cross, just use what we found
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14280 $as_echo "pre-installed
" >&6; }
14284 case " ${configdirs} " in
14289 if test $ok = yes; then
14290 # An in-tree tool is available and we can use it
14291 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14293 $as_echo "just compiled
" >&6; }
14294 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14295 # We already found the complete path
14296 ac_dir=`dirname $LD_FOR_TARGET`
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14298 $as_echo "pre-installed
in $ac_dir" >&6; }
14299 elif test "x
$target" = "x
$host"; then
14300 # We can use an host tool
14301 LD_FOR_TARGET='$(LD)'
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14303 $as_echo "host tool
" >&6; }
14305 # We need a cross tool
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14307 $as_echo "pre-installed
" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14312 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14313 if test "x
${build}" != "x
${host}" ; then
14314 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14315 # We already found the complete path
14316 ac_dir=`dirname $LIPO_FOR_TARGET`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14318 $as_echo "pre-installed
in $ac_dir" >&6; }
14320 # Canadian cross, just use what we found
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14322 $as_echo "pre-installed
" >&6; }
14325 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14326 # We already found the complete path
14327 ac_dir=`dirname $LIPO_FOR_TARGET`
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14329 $as_echo "pre-installed
in $ac_dir" >&6; }
14330 elif test "x
$target" = "x
$host"; then
14331 # We can use an host tool
14332 LIPO_FOR_TARGET='$(LIPO)'
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14334 $as_echo "host tool
" >&6; }
14336 # We need a cross tool
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14338 $as_echo "pre-installed
" >&6; }
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14343 $as_echo_n "checking where to
find the target nm...
" >&6; }
14344 if test "x
${build}" != "x
${host}" ; then
14345 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14346 # We already found the complete path
14347 ac_dir=`dirname $NM_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14349 $as_echo "pre-installed
in $ac_dir" >&6; }
14351 # Canadian cross, just use what we found
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14353 $as_echo "pre-installed
" >&6; }
14357 case " ${configdirs} " in
14362 if test $ok = yes; then
14363 # An in-tree tool is available and we can use it
14364 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14366 $as_echo "just compiled
" >&6; }
14367 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14368 # We already found the complete path
14369 ac_dir=`dirname $NM_FOR_TARGET`
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14371 $as_echo "pre-installed
in $ac_dir" >&6; }
14372 elif test "x
$target" = "x
$host"; then
14373 # We can use an host tool
14374 NM_FOR_TARGET='$(NM)'
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14376 $as_echo "host tool
" >&6; }
14378 # We need a cross tool
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14380 $as_echo "pre-installed
" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14385 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14386 if test "x
${build}" != "x
${host}" ; then
14387 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14388 # We already found the complete path
14389 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14391 $as_echo "pre-installed
in $ac_dir" >&6; }
14393 # Canadian cross, just use what we found
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14395 $as_echo "pre-installed
" >&6; }
14399 case " ${configdirs} " in
14404 if test $ok = yes; then
14405 # An in-tree tool is available and we can use it
14406 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14408 $as_echo "just compiled
" >&6; }
14409 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14410 # We already found the complete path
14411 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14413 $as_echo "pre-installed
in $ac_dir" >&6; }
14414 elif test "x
$target" = "x
$host"; then
14415 # We can use an host tool
14416 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14418 $as_echo "host tool
" >&6; }
14420 # We need a cross tool
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14422 $as_echo "pre-installed
" >&6; }
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14427 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14428 if test "x
${build}" != "x
${host}" ; then
14429 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14430 # We already found the complete path
14431 ac_dir=`dirname $RANLIB_FOR_TARGET`
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14433 $as_echo "pre-installed
in $ac_dir" >&6; }
14435 # Canadian cross, just use what we found
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14437 $as_echo "pre-installed
" >&6; }
14441 case " ${configdirs} " in
14446 if test $ok = yes; then
14447 # An in-tree tool is available and we can use it
14448 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14450 $as_echo "just compiled
" >&6; }
14451 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14452 # We already found the complete path
14453 ac_dir=`dirname $RANLIB_FOR_TARGET`
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14455 $as_echo "pre-installed
in $ac_dir" >&6; }
14456 elif test "x
$target" = "x
$host"; then
14457 # We can use an host tool
14458 RANLIB_FOR_TARGET='$(RANLIB)'
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14460 $as_echo "host tool
" >&6; }
14462 # We need a cross tool
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14464 $as_echo "pre-installed
" >&6; }
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14469 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14470 if test "x
${build}" != "x
${host}" ; then
14471 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14472 # We already found the complete path
14473 ac_dir=`dirname $READELF_FOR_TARGET`
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14475 $as_echo "pre-installed
in $ac_dir" >&6; }
14477 # Canadian cross, just use what we found
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14479 $as_echo "pre-installed
" >&6; }
14483 case " ${configdirs} " in
14488 if test $ok = yes; then
14489 # An in-tree tool is available and we can use it
14490 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14492 $as_echo "just compiled
" >&6; }
14493 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14494 # We already found the complete path
14495 ac_dir=`dirname $READELF_FOR_TARGET`
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14497 $as_echo "pre-installed
in $ac_dir" >&6; }
14498 elif test "x
$target" = "x
$host"; then
14499 # We can use an host tool
14500 READELF_FOR_TARGET='$(READELF)'
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14502 $as_echo "host tool
" >&6; }
14504 # We need a cross tool
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14506 $as_echo "pre-installed
" >&6; }
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14511 $as_echo_n "checking where to
find the target strip...
" >&6; }
14512 if test "x
${build}" != "x
${host}" ; then
14513 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14514 # We already found the complete path
14515 ac_dir=`dirname $STRIP_FOR_TARGET`
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14517 $as_echo "pre-installed
in $ac_dir" >&6; }
14519 # Canadian cross, just use what we found
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14521 $as_echo "pre-installed
" >&6; }
14525 case " ${configdirs} " in
14530 if test $ok = yes; then
14531 # An in-tree tool is available and we can use it
14532 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14534 $as_echo "just compiled
" >&6; }
14535 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14536 # We already found the complete path
14537 ac_dir=`dirname $STRIP_FOR_TARGET`
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14539 $as_echo "pre-installed
in $ac_dir" >&6; }
14540 elif test "x
$target" = "x
$host"; then
14541 # We can use an host tool
14542 STRIP_FOR_TARGET='$(STRIP)'
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14544 $as_echo "host tool
" >&6; }
14546 # We need a cross tool
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14548 $as_echo "pre-installed
" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14553 $as_echo_n "checking where to
find the target windres...
" >&6; }
14554 if test "x
${build}" != "x
${host}" ; then
14555 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14556 # We already found the complete path
14557 ac_dir=`dirname $WINDRES_FOR_TARGET`
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14559 $as_echo "pre-installed
in $ac_dir" >&6; }
14561 # Canadian cross, just use what we found
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14563 $as_echo "pre-installed
" >&6; }
14567 case " ${configdirs} " in
14572 if test $ok = yes; then
14573 # An in-tree tool is available and we can use it
14574 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14576 $as_echo "just compiled
" >&6; }
14577 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14578 # We already found the complete path
14579 ac_dir=`dirname $WINDRES_FOR_TARGET`
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14581 $as_echo "pre-installed
in $ac_dir" >&6; }
14582 elif test "x
$target" = "x
$host"; then
14583 # We can use an host tool
14584 WINDRES_FOR_TARGET='$(WINDRES)'
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14586 $as_echo "host tool
" >&6; }
14588 # We need a cross tool
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14590 $as_echo "pre-installed
" >&6; }
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14595 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14596 if test "x
${build}" != "x
${host}" ; then
14597 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14598 # We already found the complete path
14599 ac_dir=`dirname $WINDMC_FOR_TARGET`
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14601 $as_echo "pre-installed
in $ac_dir" >&6; }
14603 # Canadian cross, just use what we found
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14605 $as_echo "pre-installed
" >&6; }
14609 case " ${configdirs} " in
14614 if test $ok = yes; then
14615 # An in-tree tool is available and we can use it
14616 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14618 $as_echo "just compiled
" >&6; }
14619 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14620 # We already found the complete path
14621 ac_dir=`dirname $WINDMC_FOR_TARGET`
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14623 $as_echo "pre-installed
in $ac_dir" >&6; }
14624 elif test "x
$target" = "x
$host"; then
14625 # We can use an host tool
14626 WINDMC_FOR_TARGET='$(WINDMC)'
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14628 $as_echo "host tool
" >&6; }
14630 # We need a cross tool
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14632 $as_echo "pre-installed
" >&6; }
14640 # Certain tools may need extra flags.
14641 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14642 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14643 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14645 # When building target libraries, except in a Canadian cross, we use
14646 # the same toolchain as the compiler we just built.
14647 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14648 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14649 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14650 if test $host = $build; then
14651 case " $configdirs " in
14653 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14654 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14655 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14665 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14666 # Check whether --enable-maintainer-mode was given.
14667 if test "${enable_maintainer_mode+set}" = set; then :
14668 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14670 USE_MAINTAINER_MODE=no
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14674 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14677 if test "$USE_MAINTAINER_MODE" = yes; then
14678 MAINTAINER_MODE_TRUE=
14679 MAINTAINER_MODE_FALSE='#'
14681 MAINTAINER_MODE_TRUE='#'
14682 MAINTAINER_MODE_FALSE=
14684 MAINT=$MAINTAINER_MODE_TRUE
14686 # ---------------------
14687 # GCC bootstrap support
14688 # ---------------------
14690 # Stage specific cflags for build.
14695 yes) stage1_cflags="-g -Wa,-J" ;;
14696 *) stage1_cflags="-g -J" ;;
14702 # Enable --enable-checking in stage1 of the compiler.
14703 # Check whether --enable-stage1-checking was given.
14704 if test "${enable_stage1_checking+set}" = set; then :
14705 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14707 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14708 stage1_checking=--enable-checking=yes,types
14710 stage1_checking=--enable-checking=$enable_checking,types
14716 # Enable -Werror in bootstrap stage2 and later.
14717 # Check whether --enable-werror was given.
14718 if test "${enable_werror+set}" = set; then :
14719 enableval=$enable_werror;
14721 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14728 case ${enable_werror} in
14729 yes) stage2_werror_flag="--enable-werror-always" ;;
14730 *) stage2_werror_flag="" ;;
14734 # Enable --enable-host-shared.
14735 # Check whether --enable-host-shared was given.
14736 if test "${enable_host_shared+set}" = set; then :
14737 enableval=$enable_host_shared; host_shared=$enableval
14744 # Specify what files to not compare during bootstrap.
14746 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14748 hppa*64*-*-hpux*) ;;
14749 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14750 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14754 ac_config_files="$ac_config_files Makefile
"
14756 cat >confcache <<\_ACEOF
14757 # This file is a shell script that caches the results of configure
14758 # tests run on this system so they can be shared between configure
14759 # scripts and configure runs, see configure's option --config-cache.
14760 # It is not useful on other systems. If it contains results you don't
14761 # want to keep, you may remove or edit it.
14763 # config.status only pays attention to the cache file if you give it
14764 # the --recheck option to rerun configure.
14766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14768 # following values.
14772 # The following way of writing the cache mishandles newlines in values,
14773 # but we know of no workaround that is simple, portable, and efficient.
14774 # So, we kill variables containing newlines.
14775 # Ultrix sh set writes to stderr and can't be redirected directly,
14776 # and sets the high bit in the cache file unless we assign to the vars.
14778 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14779 eval ac_val=\$$ac_var
14783 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14784 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14787 _ | IFS | as_nl) ;; #(
14788 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14789 *) { eval $ac_var=; unset $ac_var;} ;;
14795 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14796 *${as_nl}ac_space=\ *)
14797 # `set' does not quote correctly, so add quotes: double-quote
14798 # substitution turns \\\\ into \\, and sed turns \\ into \.
14801 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14804 # `set' quotes correctly as required by POSIX, so do not add quotes.
14805 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14814 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14819 if test -w "$cache_file"; then
14820 test "x
$cache_file" != "x
/dev
/null
" &&
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14822 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14823 cat confcache >$cache_file
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14826 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14831 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14832 # Let make expand exec_prefix.
14833 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14835 # Transform confdefs.h into DEFS.
14836 # Protect against shell expansion while executing Makefile rules.
14837 # Protect against Makefile macro expansion.
14839 # If the first sed substitution is executed (which looks for macros that
14840 # take arguments), then branch to the quote section. Otherwise,
14841 # look for a macro that doesn't take arguments.
14851 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14853 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14857 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14870 DEFS=`sed -n "$ac_script" confdefs.h`
14875 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14876 # 1. Remove the extension, and $U if already installed.
14877 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14878 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14880 # will be set to the directory where LIBOBJS objects are built.
14881 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14882 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14884 LIBOBJS=$ac_libobjs
14886 LTLIBOBJS=$ac_ltlibobjs
14890 : ${CONFIG_STATUS=./config.status}
14892 ac_clean_files_save=$ac_clean_files
14893 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14895 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14897 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14899 # Generated by $as_me.
14900 # Run this file to recreate the current configuration.
14901 # Compiler output produced by configure, useful for debugging
14902 # configure, is in config.log if it exists.
14905 ac_cs_recheck=false
14908 SHELL=\${CONFIG_SHELL-$SHELL}
14911 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14912 ## -------------------- ##
14913 ## M4sh Initialization. ##
14914 ## -------------------- ##
14916 # Be more Bourne compatible
14917 DUALCASE=1; export DUALCASE # for MKS sh
14918 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14921 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14922 # is contrary to our usage. Disable this feature.
14923 alias -g '${1+"$@"}'='"$@"'
14924 setopt NO_GLOB_SUBST
14926 case `(set -o) 2>/dev/null` in #(
14938 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14939 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14940 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14941 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14942 # Prefer a ksh shell builtin over an external printf program on Solaris,
14943 # but without wasting forks for bash or zsh.
14944 if test -z "$BASH_VERSION$ZSH_VERSION" \
14945 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14946 as_echo
='print -r --'
14947 as_echo_n
='print -rn --'
14948 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14949 as_echo
='printf %s\n'
14950 as_echo_n
='printf %s'
14952 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14953 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14954 as_echo_n
='/usr/ucb/echo -n'
14956 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14957 as_echo_n_body
='eval
14961 expr "X$arg" : "X\\(.*\\)$as_nl";
14962 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14964 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14966 export as_echo_n_body
14967 as_echo_n
='sh -c $as_echo_n_body as_echo'
14969 export as_echo_body
14970 as_echo
='sh -c $as_echo_body as_echo'
14973 # The user is always right.
14974 if test "${PATH_SEPARATOR+set}" != set; then
14976 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14977 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14984 # We need space, tab and new line, in precisely that order. Quoting is
14985 # there to prevent editors from complaining about space-tab.
14986 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14987 # splitting by setting IFS to empty value.)
14990 # Find who we are. Look in the path if we contain no directory separator.
14992 *[\\/]* ) as_myself
=$0 ;;
14993 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14994 for as_dir
in $PATH
14997 test -z "$as_dir" && as_dir
=.
14998 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15004 # We did not find ourselves, most probably we were run as `sh COMMAND'
15005 # in which case we are not to be found in the path.
15006 if test "x$as_myself" = x
; then
15009 if test ! -f "$as_myself"; then
15010 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15014 # Unset variables that we do not need and which cause bugs (e.g. in
15015 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15016 # suppresses any "Segmentation fault" message there. '((' could
15017 # trigger a bug in pdksh 5.2.14.
15018 for as_var
in BASH_ENV ENV MAIL MAILPATH
15019 do eval test x\
${$as_var+set} = xset \
15020 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15033 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15036 # as_fn_error ERROR [LINENO LOG_FD]
15037 # ---------------------------------
15038 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15039 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15040 # script with status $?, using 1 if that was 0.
15043 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15045 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15046 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15048 $as_echo "$as_me: error: $1" >&2
15049 as_fn_exit
$as_status
15053 # as_fn_set_status STATUS
15054 # -----------------------
15055 # Set $? to STATUS, without forking.
15056 as_fn_set_status
()
15059 } # as_fn_set_status
15061 # as_fn_exit STATUS
15062 # -----------------
15063 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15067 as_fn_set_status
$1
15073 # Portably unset VAR.
15076 { eval $1=; unset $1;}
15078 as_unset
=as_fn_unset
15079 # as_fn_append VAR VALUE
15080 # ----------------------
15081 # Append the text in VALUE to the end of the definition contained in VAR. Take
15082 # advantage of any shell optimizations that allow amortized linear growth over
15083 # repeated appends, instead of the typical quadratic growth present in naive
15085 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15086 eval 'as_fn_append ()
15097 # as_fn_arith ARG...
15098 # ------------------
15099 # Perform arithmetic evaluation on the ARGs, and store the result in the
15100 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15101 # must be portable across $(()) and expr.
15102 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15103 eval 'as_fn_arith ()
15110 as_val
=`expr "$@" || test $? -eq 1`
15115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15123 as_basename
=basename
15128 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15134 as_me
=`$as_basename -- "$0" ||
15135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15136 X"$0" : 'X\(//\)$' \| \
15137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15139 sed '/^.*\/\([^/][^/]*\)\/*$/{
15153 # Avoid depending upon Character Ranges.
15154 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15155 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15156 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15157 as_cr_digits
='0123456789'
15158 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15160 ECHO_C
= ECHO_N
= ECHO_T
=
15161 case `echo -n x` in #(((((
15163 case `echo 'xy\c'` in
15164 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15166 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15173 rm -f conf$$ conf$$.exe conf$$.
file
15174 if test -d conf$$.dir
; then
15175 rm -f conf$$.dir
/conf$$.
file
15178 mkdir conf$$.dir
2>/dev
/null
15180 if (echo >conf$$.
file) 2>/dev
/null
; then
15181 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15183 # ... but there are two gotchas:
15184 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15185 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15186 # In both cases, we have to default to `cp -p'.
15187 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15189 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15197 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15198 rmdir conf$$.dir
2>/dev
/null
15203 # Create "$as_dir" as a directory, including parents if necessary.
15208 -*) as_dir
=.
/$as_dir;;
15210 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15214 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15215 *) as_qdir
=$as_dir;;
15217 as_dirs
="'$as_qdir' $as_dirs"
15218 as_dir
=`$as_dirname -- "$as_dir" ||
15219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15220 X"$as_dir" : 'X\(//\)[^/]' \| \
15221 X"$as_dir" : 'X\(//\)$' \| \
15222 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15223 $as_echo X"$as_dir" |
15224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15228 /^X\(\/\/\)[^/].*/{
15241 test -d "$as_dir" && break
15243 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15244 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15248 if mkdir
-p .
2>/dev
/null
; then
15249 as_mkdir_p
='mkdir -p "$as_dir"'
15251 test -d .
/-p && rmdir .
/-p
15255 if test -x / >/dev
/null
2>&1; then
15256 as_test_x
='test -x'
15258 if ls -dL / >/dev
/null
2>&1; then
15265 if test -d "$1"; then
15271 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15272 ???[sx]*):;;*)false;;esac;fi
15276 as_executable_p
=$as_test_x
15278 # Sed expression to map a string onto a valid CPP name.
15279 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15281 # Sed expression to map a string onto a valid variable name.
15282 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15286 ## ----------------------------------- ##
15287 ## Main body of $CONFIG_STATUS script. ##
15288 ## ----------------------------------- ##
15290 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15293 # Save the log message, to keep $0 and so on meaningful, and to
15294 # report actual input values of CONFIG_FILES etc. instead of their
15295 # values after options handling.
15297 This file was extended by $as_me, which was
15298 generated by GNU Autoconf 2.64. Invocation command line was
15300 CONFIG_FILES = $CONFIG_FILES
15301 CONFIG_HEADERS = $CONFIG_HEADERS
15302 CONFIG_LINKS = $CONFIG_LINKS
15303 CONFIG_COMMANDS = $CONFIG_COMMANDS
15306 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15311 case $ac_config_files in *"
15312 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15318 # Files that config.status was made for.
15319 config_files="$ac_config_files"
15323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15325 \`$as_me' instantiates files and other configuration actions
15326 from templates according to the current configuration. Unless the files
15327 and actions are specified as TAGs, all are instantiated by default.
15329 Usage: $0 [OPTION]... [TAG]...
15331 -h, --help print this help, then exit
15332 -V, --version print version number and configuration settings, then exit
15333 -q, --quiet, --silent
15334 do not print progress messages
15335 -d, --debug don't remove temporary files
15336 --recheck update $as_me by reconfiguring in the same conditions
15337 --file=FILE[:TEMPLATE]
15338 instantiate the configuration file FILE
15340 Configuration files:
15343 Report bugs to the package provider."
15346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15349 configured by $0, generated by GNU Autoconf 2.64,
15350 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15352 Copyright (C) 2009 Free Software Foundation, Inc.
15353 This config.status script is free software; the Free Software Foundation
15354 gives unlimited permission to copy, distribute and modify it."
15360 test -n "\$AWK" || AWK=awk
15363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15364 # The default lists apply if the user does not specify any file.
15370 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15371 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15382 # Handling of the options.
15383 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15385 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15386 $as_echo "$ac_cs_version"; exit ;;
15387 --debug |
--debu |
--deb |
--de |
--d |
-d )
15389 --file |
--fil |
--fi |
--f )
15392 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15394 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15395 ac_need_defaults
=false
;;
15396 --he |
--h |
--help |
--hel |
-h )
15397 $as_echo "$ac_cs_usage"; exit ;;
15398 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15399 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15402 # This is an error.
15403 -*) as_fn_error
"unrecognized option: \`$1'
15404 Try \`$0 --help' for more information." ;;
15406 *) as_fn_append ac_config_targets
" $1"
15407 ac_need_defaults
=false
;;
15413 ac_configure_extra_args
=
15415 if $ac_cs_silent; then
15417 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15422 if \$ac_cs_recheck; then
15423 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15425 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15426 CONFIG_SHELL='$SHELL'
15427 export CONFIG_SHELL
15432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15436 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15437 ## Running $as_me. ##
15443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15447 extrasub_build="$extrasub_build"
15448 extrasub_host="$extrasub_host"
15449 extrasub_target="$extrasub_target"
15453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15455 # Handling of arguments.
15456 for ac_config_target
in $ac_config_targets
15458 case $ac_config_target in
15459 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15461 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15466 # If the user did not use the arguments to specify the items to instantiate,
15467 # then the envvar interface is used. Set only those that are not.
15468 # We use the long form for the default assignment because of an extremely
15469 # bizarre bug on SunOS 4.1.3.
15470 if $ac_need_defaults; then
15471 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15474 # Have a temporary directory for convenience. Make it in the build tree
15475 # simply because there is no reason against having it here, and in addition,
15476 # creating and moving files from /tmp can sometimes cause problems.
15477 # Hook for its removal unless debugging.
15478 # Note that there is a small window in which the directory will not be cleaned:
15479 # after its creation but before its name has been assigned to `$tmp'.
15483 trap 'exit_status=$?
15484 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15486 trap 'as_fn_exit 1' 1 2 13 15
15488 # Create a (secure) tmp directory for tmp files.
15491 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15492 test -n "$tmp" && test -d "$tmp"
15495 tmp
=.
/conf$$
-$RANDOM
15496 (umask 077 && mkdir
"$tmp")
15497 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15499 # Set up the scripts for CONFIG_FILES section.
15500 # No need to generate them if there are no CONFIG_FILES.
15501 # This happens for instance with `./config.status config.h'.
15502 if test -n "$CONFIG_FILES"; then
15504 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15505 ac_cs_awk_getline
=:
15506 ac_cs_awk_pipe_init
=
15507 ac_cs_awk_read_file
='
15508 while ((getline aline < (F[key])) > 0)
15511 ac_cs_awk_pipe_fini
=
15513 ac_cs_awk_getline
=false
15514 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15515 ac_cs_awk_read_file
='
15517 print "cat " F[key] " &&"
15518 '$ac_cs_awk_pipe_init
15519 # The final `:' finishes the AND list.
15520 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15522 ac_cr
=`echo X | tr X '\015'`
15523 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15524 # But we know of no other shell where ac_cr would be empty at this
15525 # point, so we can use a bashism as a fallback.
15526 if test "x$ac_cr" = x
; then
15527 eval ac_cr
=\$
\'\\r
\'
15529 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15530 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15533 ac_cs_awk_cr
=$ac_cr
15536 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15539 # Create commands to substitute file output variables.
15541 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15542 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15543 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15546 } >conf$
$files.sh
&&
15547 . .
/conf$
$files.sh ||
15548 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15549 rm -f conf$
$files.sh
15552 echo "cat >conf$$subs.awk <<_ACEOF" &&
15553 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15555 } >conf$$subs.sh ||
15556 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15557 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15559 for ac_last_try in false false false false false :; do
15560 . ./conf$$subs.sh ||
15561 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15563 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15564 if test $ac_delim_n = $ac_delim_num; then
15566 elif $ac_last_try; then
15567 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15569 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15572 rm -f conf$$subs.sh
15574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15575 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15579 s/^/S["/; s
/!.
*/"]=/
15589 s/\(.\{148\}\).*/\1/
15591 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15596 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15603 s/\(.\{148\}\).*/\1/
15605 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15609 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15614 ' <conf$$subs.awk | sed '
15619 ' >>$CONFIG_STATUS || ac_write_fail=1
15620 rm -f conf$$subs.awk
15621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15624 for (key in S) S_is_set[key] = 1
15626 \$ac_cs_awk_pipe_init
15630 nfields = split(line, field, "@
")
15632 len = length(field[1])
15633 for (i = 2; i < nfields; i++) {
15635 keylen = length(key)
15636 if (S_is_set[key]) {
15638 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15639 len += length(value) + length(field[++i])
15644 if (nfields == 3 && !substed) {
15646 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15647 \$ac_cs_awk_read_file
15653 \$ac_cs_awk_pipe_fini
15656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15657 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15658 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15661 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15662 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15665 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15666 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15667 # trailing colons and then remove the whole line if VPATH becomes empty
15668 # (actually we leave an empty line to preserve line numbers).
15669 if test "x
$srcdir" = x.; then
15670 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15671 s/:*\$(srcdir):*/:/
15672 s/:*\${srcdir}:*/:/
15674 s/^\([^=]*=[ ]*\):*/\1/
15680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15681 fi # test -n "$CONFIG_FILES"
15684 eval set X " :F
$CONFIG_FILES "
15689 :[FHLC]) ac_mode=$ac_tag; continue;;
15691 case $ac_mode$ac_tag in
15693 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15694 :[FH]-) ac_tag=-:-;;
15695 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15712 -) ac_f="$tmp/stdin";;
15713 *) # Look for the file first in the build tree, then in the source tree
15714 # (if the path is not absolute). The absolute path cannot be DOS-style,
15715 # because $ac_f cannot contain `:'.
15719 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15721 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15723 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15724 as_fn_append ac_file_inputs " '$ac_f'"
15727 # Let's still pretend it is `configure' which instantiates (i.e., don't
15728 # use $as_me), people would be surprised to read:
15729 # /* config.h. Generated by config.status. */
15730 configure_input='Generated from '`
15731 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15733 if test x"$ac_file" != x-; then
15734 configure_input="$ac_file.
$configure_input"
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15736 $as_echo "$as_me: creating
$ac_file" >&6;}
15738 # Neutralize special characters interpreted by sed in replacement strings.
15739 case $configure_input in #(
15740 *\&* | *\|* | *\\* )
15741 ac_sed_conf_input=`$as_echo "$configure_input" |
15742 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15743 *) ac_sed_conf_input=$configure_input;;
15747 *:-:* | *:-) cat >"$tmp/stdin
" \
15748 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15753 ac_dir=`$as_dirname -- "$ac_file" ||
15754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15755 X"$ac_file" : 'X\(//\)[^/]' \| \
15756 X"$ac_file" : 'X\(//\)$' \| \
15757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15758 $as_echo X"$ac_file" |
15759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15763 /^X\(\/\/\)[^/].*/{
15776 as_dir="$ac_dir"; as_fn_mkdir_p
15780 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15782 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15783 # A "..
" for each directory in $ac_dir_suffix.
15784 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15785 case $ac_top_builddir_sub in
15786 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15787 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15790 ac_abs_top_builddir=$ac_pwd
15791 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15792 # for backward compatibility:
15793 ac_top_builddir=$ac_top_build_prefix
15796 .) # We are building in place.
15798 ac_top_srcdir=$ac_top_builddir_sub
15799 ac_abs_top_srcdir=$ac_pwd ;;
15800 [\\/]* | ?:[\\/]* ) # Absolute name.
15801 ac_srcdir=$srcdir$ac_dir_suffix;
15802 ac_top_srcdir=$srcdir
15803 ac_abs_top_srcdir=$srcdir ;;
15804 *) # Relative name.
15805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15806 ac_top_srcdir=$ac_top_build_prefix$srcdir
15807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15809 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15819 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15820 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15825 # If the template does not know about datarootdir, expand it.
15826 # FIXME: This hack should be removed a few years after 2.60.
15827 ac_datarootdir_hack=; ac_datarootdir_seen=
15838 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15839 *datarootdir*) ac_datarootdir_seen=yes;;
15840 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15842 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15845 ac_datarootdir_hack='
15846 s&@datadir@&$datadir&g
15847 s&@docdir@&$docdir&g
15848 s&@infodir@&$infodir&g
15849 s&@localedir@&$localedir&g
15850 s&@mandir@&$mandir&g
15851 s&\\\${datarootdir}&$datarootdir&g' ;;
15855 # Neutralize VPATH when `$srcdir' = `.'.
15856 # Shell code in configure.ac might set extrasub.
15857 # FIXME: do we really want to maintain this feature?
15858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15859 ac_sed_extra="$ac_vpsub
15862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15864 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15865 s|@configure_input@|
$ac_sed_conf_input|
;t t
15866 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15867 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15868 s
&@srcdir@
&$ac_srcdir&;t t
15869 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15870 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15871 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15872 s
&@builddir@
&$ac_builddir&;t t
15873 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15874 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15875 s
&@INSTALL@
&$ac_INSTALL&;t t
15876 $ac_datarootdir_hack
15878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15879 if $ac_cs_awk_getline; then
15880 $AWK -f "$tmp/subs.
awk"
15882 $AWK -f "$tmp/subs.
awk" | $SHELL
15884 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15887 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15888 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15890 which seems to be undefined. Please make sure it is defined." >&5
15891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15892 which seems to be undefined. Please make sure it is defined." >&2;}
15896 -) cat "$tmp/out" && rm -f "$tmp/out";;
15897 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15899 || as_fn_error "could not create $ac_file" "$LINENO" 5
15907 case $ac_file$ac_mode in
15908 "Makefile":F) sed "$extrasub_build" Makefile |
15909 sed "$extrasub_host" |
15910 sed "$extrasub_target" > mf$$
15911 mv -f mf$$ Makefile ;;
15919 ac_clean_files=$ac_clean_files_save
15921 test $ac_write_fail = 0 ||
15922 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15925 # configure is writing to config.log, and then calls config.status.
15926 # config.status does its own redirection, appending to config.log.
15927 # Unfortunately, on DOS this fails, as config.log is still kept open
15928 # by configure, so config.status won't be able to
write to it
; its
15929 # output is simply discarded. So we exec the FD to /dev/null,
15930 # effectively closing config.log, so it can be properly (re)opened and
15931 # appended to by config.status. When coming back to configure, we
15932 # need to make the FD available again.
15933 if test "$no_create" != yes; then
15935 ac_config_status_args
=
15936 test "$silent" = yes &&
15937 ac_config_status_args
="$ac_config_status_args --quiet"
15939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15942 # would make configure fail if this is the last instruction.
15943 $ac_cs_success || as_fn_exit $?
15945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}