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
645 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
655 extra_isl_gmp_configure_flags
656 extra_mpc_mpfr_configure_flags
657 extra_mpc_gmp_configure_flags
658 extra_mpfr_configure_flags
674 EXTRA_CONFIGARGS_LIBJAVA
675 extra_liboffloadmic_configure_flags
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
749 enable_as_accelerator_for
750 enable_offload_targets
754 enable_libquadmath_support
759 enable_static_libjava
780 enable_isl_version_check
782 enable_linker_plugin_configure_flags
783 enable_linker_plugin_flags
784 enable_stage1_languages
787 with_debug_prefix_map
790 enable_serial_configure
791 with_build_time_tools
792 enable_maintainer_mode
793 enable_stage1_checking
797 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information."
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used." >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 as_fn_error
"path to source, $srcdir, contains spaces"
1374 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures this package to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1455 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1459 if test -n "$ac_init_help"; then
1464 --disable-option-checking ignore unrecognized
--enable/--with options
1465 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1466 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1467 --enable-as-accelerator-for=ARG
1468 build as offload target compiler. Specify offload
1470 --enable-offload-targets=LIST
1471 enable offloading to devices from comma-separated
1472 LIST of TARGET
[=DIR
]. Use optional path to
find
1473 offload target compiler during the build
1474 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1475 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1476 --disable-libquadmath do not build libquadmath directory
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1479 --enable-libada build libada directory
1480 --enable-libssp build libssp directory
1481 --disable-libstdcxx do not build libstdc
++-v3 directory
1482 --enable-liboffloadmic=ARG
1483 build liboffloadmic
[ARG
={no
,host,target
}]
1484 --enable-static-libjava[=ARG
]
1485 build static libjava
[default
=no
]
1486 --enable-bootstrap enable bootstrapping
[yes if native build
]
1487 --disable-isl-version-check
1488 disable check
for ISL version
1489 --enable-lto enable link
time optimization support
1490 --enable-linker-plugin-configure-flags=FLAGS
1491 additional flags
for configuring linker plugins
1493 --enable-linker-plugin-flags=FLAGS
1494 additional flags
for configuring and building linker
1496 --enable-stage1-languages[=all
]
1497 choose additional languages to build during stage1.
1498 Mostly useful
for compiler development
1499 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1501 --enable-vtable-verify Enable vtable verification feature
1502 --enable-serial-[{host,target,build}-]configure
1503 force sequential configuration of sub-packages for
1504 the host, target or build machine, or all
1506 --enable-maintainer-mode
1507 enable make rules and dependencies not useful (and
1508 sometimes confusing) to the casual installer
1509 --enable-stage1-checking[=all]
1510 choose additional checking for stage1 of the
1512 --enable-werror enable -Werror in bootstrap stage2 and later
1513 --enable-host-shared build host code as shared libraries
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --with-build-libsubdir=DIR Directory where to find libraries for build system
1519 --with-mpc=PATH specify prefix directory for installed MPC package.
1520 Equivalent to --with-mpc-include=PATH/include plus
1521 --with-mpc-lib=PATH/lib
1522 --with-mpc-include=PATH specify directory for installed MPC include files
1523 --with-mpc-lib=PATH specify directory for the installed MPC library
1524 --with-mpfr-dir=PATH this option has been REMOVED
1525 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1526 Equivalent to --with-mpfr-include=PATH/include plus
1527 --with-mpfr-lib=PATH/lib
1528 --with-mpfr-include=PATH
1529 specify directory for installed MPFR include files
1530 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1531 --with-gmp-dir=PATH this option has been REMOVED
1532 --with-gmp=PATH specify prefix directory for the installed GMP
1533 package. Equivalent to
1534 --with-gmp-include=PATH/include plus
1535 --with-gmp-lib=PATH/lib
1536 --with-gmp-include=PATH specify directory for installed GMP include files
1537 --with-gmp-lib=PATH specify directory for the installed GMP library
1538 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1540 --with-stage1-libs=LIBS libraries for stage1
1541 --with-stage1-ldflags=FLAGS
1542 linker flags for stage1
1543 --with-boot-libs=LIBS libraries for stage2 and later
1544 --with-boot-ldflags=FLAGS
1545 linker flags for stage2 and later
1546 --with-isl=PATH Specify prefix directory for the installed ISL
1547 package. Equivalent to
1548 --with-isl-include=PATH/include plus
1549 --with-isl-lib=PATH/lib
1550 --with-isl-include=PATH Specify directory for installed ISL include files
1551 --with-isl-lib=PATH Specify the directory for the installed ISL library
1552 --with-build-sysroot=SYSROOT
1553 use sysroot as the system root during the build
1554 --with-debug-prefix-map='A
=B C
=D ...
'
1555 map A to B, C to D ... in debug information
1556 --with-build-config='NAME NAME2...
'
1557 use config/NAME.mk build configuration
1558 --with-build-time-tools=PATH
1559 use given path to find target tools during the build
1561 Some influential environment variables:
1562 CC C compiler command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1565 nonstandard directory <lib dir>
1566 LIBS libraries to pass to the linker, e.g. -l<library>
1567 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1568 you have headers in a nonstandard directory <include dir>
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1572 additional configure arguments for build directories
1574 additional configure arguments for host directories
1576 additional configure arguments for target directories
1579 DLLTOOL DLLTOOL for the host
1581 LIPO LIPO for the host
1583 RANLIB RANLIB for the host
1584 STRIP STRIP for the host
1585 WINDRES WINDRES for the host
1586 WINDMC WINDMC for the host
1587 OBJCOPY OBJCOPY for the host
1588 OBJDUMP OBJDUMP for the host
1589 READELF READELF for the host
1599 GFORTRAN for the target
1607 DLLTOOL for the target
1615 OBJDUMP for the target
1617 RANLIB for the target
1619 READELF for the target
1621 STRIP for the target
1623 WINDRES for the target
1625 WINDMC for the target
1627 Use these variables to override the choices made by `configure' or to
help
1628 it to
find libraries and programs with nonstandard names
/locations.
1630 Report bugs to the package provider.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1644 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1646 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir
=$ac_pwd
1655 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir
=$ac_top_build_prefix
1660 .
) # We are building in place.
1662 ac_top_srcdir
=$ac_top_builddir_sub
1663 ac_abs_top_srcdir
=$ac_pwd ;;
1664 [\\/]* | ?
:[\\/]* ) # Absolute name.
1665 ac_srcdir
=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir
=$srcdir
1667 ac_abs_top_srcdir
=$srcdir ;;
1669 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1694 generated by GNU Autoconf
2.64
1696 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1697 This configure
script is free software
; the Free Software Foundation
1698 gives unlimited permission to copy
, distribute and modify it.
1703 ## ------------------------ ##
1704 ## Autoconf initialization. ##
1705 ## ------------------------ ##
1707 # ac_fn_c_try_compile LINENO
1708 # --------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_compile
()
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 rm -f conftest.
$ac_objext
1714 if { { ac_try
="$ac_compile"
1716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 } # ac_fn_c_try_compile
1745 # ac_fn_cxx_try_compile LINENO
1746 # ----------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext
1752 if { { ac_try="$ac_compile"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err
; then
1762 grep -v '^ *+' conftest.err
>conftest.er1
1763 cat conftest.er1
>&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.
$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 } # ac_fn_cxx_try_compile
1783 # ac_fn_cxx_try_link LINENO
1784 # -------------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_cxx_try_link
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext conftest
$ac_exeext
1790 if { { ac_try
="$ac_link"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_cxx_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 } # ac_fn_cxx_try_link
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest
$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest
$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1873 } # ac_fn_c_try_link
1874 cat >config.log
<<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by $as_me, which was
1879 generated by GNU Autoconf 2.64. Invocation command line was
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1901 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1904 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1905 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1906 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir
=.
1915 $as_echo "PATH: $as_dir"
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1939 ac_must_keep_next
=false
1945 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1946 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1947 |
-silent |
--silent |
--silen |
--sile |
--sil)
1950 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1955 as_fn_append ac_configure_args1
" '$ac_arg'"
1956 if test $ac_must_keep_next = true
; then
1957 ac_must_keep_next
=false
# Got value, back to normal.
1960 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1961 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1962 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1963 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1964 case "$ac_configure_args0 " in
1965 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968 -* ) ac_must_keep_next
=true
;;
1971 as_fn_append ac_configure_args
" '$ac_arg'"
1976 { ac_configure_args0
=; unset ac_configure_args0
;}
1977 { ac_configure_args1
=; unset ac_configure_args1
;}
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log. We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985 # Save into config.log some information that might help in debugging.
1990 ## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028 ## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##
2033 for ac_var in $ac_subst_vars
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2043 if test -n "$ac_subst_files"; then
2045 ## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##
2050 for ac_var
in $ac_subst_files
2052 eval ac_val
=\$
$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2061 if test -s confdefs.h; then
2071 test "$ac_signal" != 0 &&
2072 $as_echo "$as_me: caught signal $ac_signal"
2073 $as_echo "$as_me: exit $exit_status"
2075 rm -f core *.core core.conftest.* &&
2076 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2079 for ac_signal
in 1 2 13 15; do
2080 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2084 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2085 rm -f -r conftest
* confdefs.h
2087 $as_echo "/* confdefs.h */" > confdefs.h
2089 # Predefined preprocessor variables.
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_NAME "$PACKAGE_NAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_STRING "$PACKAGE_STRING"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2111 cat >>confdefs.h
<<_ACEOF
2112 #define PACKAGE_URL "$PACKAGE_URL"
2116 # Let the site file select an alternate cache file if it wants to.
2117 # Prefer an explicitly selected file to automatically selected ones.
2120 if test -n "$CONFIG_SITE"; then
2121 ac_site_file1
=$CONFIG_SITE
2122 elif test "x$prefix" != xNONE
; then
2123 ac_site_file1
=$prefix/share
/config.site
2124 ac_site_file2
=$prefix/etc
/config.site
2126 ac_site_file1
=$ac_default_prefix/share
/config.site
2127 ac_site_file2
=$ac_default_prefix/etc
/config.site
2129 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2131 test "x$ac_site_file" = xNONE
&& continue
2132 if test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2140 if test -r "$cache_file"; then
2141 # Some versions of bash will fail to source /dev/null (special
2142 # files actually), so we avoid doing that.
2143 if test -f "$cache_file"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2145 $as_echo "$as_me: loading cache $cache_file" >&6;}
2147 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2148 *) .
"./$cache_file";;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2153 $as_echo "$as_me: creating cache $cache_file" >&6;}
2157 # Check that the precious variables saved in the cache have kept the same
2159 ac_cache_corrupted
=false
2160 for ac_var
in $ac_precious_vars; do
2161 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2162 eval ac_new_set
=\
$ac_env_${ac_var}_set
2163 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2164 eval ac_new_val
=\
$ac_env_${ac_var}_value
2165 case $ac_old_set,$ac_new_set in
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2169 ac_cache_corrupted
=: ;;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2173 ac_cache_corrupted
=: ;;
2176 if test "x$ac_old_val" != "x$ac_new_val"; then
2177 # differences in whitespace do not lead to failure.
2178 ac_old_val_w
=`echo x $ac_old_val`
2179 ac_new_val_w
=`echo x $ac_new_val`
2180 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2182 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2183 ac_cache_corrupted
=:
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2186 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2187 eval $ac_var=\
$ac_old_val
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2190 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2192 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2195 # Pass precious variables to config.status.
2196 if test "$ac_new_set" = set; then
2198 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2199 *) ac_arg
=$ac_var=$ac_new_val ;;
2201 case " $ac_configure_args " in
2202 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2203 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2207 if $ac_cache_corrupted; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2212 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2214 ## -------------------- ##
2215 ## Main body of script. ##
2216 ## -------------------- ##
2219 ac_cpp
='$CPP $CPPFLAGS'
2220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2233 # if PWD already has a value, it is probably wrong.
2234 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2236 # Export original configure arguments for use by sub-configures.
2237 # Quote arguments with shell meta charatcers.
2238 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2239 set -- "$progname" "$@"
2243 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2244 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2245 # if the argument is of the form -foo=baz, quote the baz part only
2246 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2249 # Add the quoted argument to the list.
2250 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2252 if test "$silent" = yes; then
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2255 # Remove the initial space we just introduced and, as these will be
2256 # expanded by make, quote '$'.
2257 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2260 # Find the build, host, and target systems.
2262 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2263 for ac_t
in install-sh
install.sh shtool
; do
2264 if test -f "$ac_dir/$ac_t"; then
2266 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2271 if test -z "$ac_aux_dir"; then
2272 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2275 # These three variables are undocumented and unsupported,
2276 # and are intended to be withdrawn in a future Autoconf release.
2277 # They can cause serious problems if a builder's source tree is in a directory
2278 # whose full name contains unusual characters.
2279 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2280 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2281 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2284 # Make sure we can run config.sub.
2285 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2286 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2289 $as_echo_n "checking build system type... " >&6; }
2290 if test "${ac_cv_build+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 ac_build_alias
=$build_alias
2294 test "x$ac_build_alias" = x
&&
2295 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2296 test "x$ac_build_alias" = x
&&
2297 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2298 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2303 $as_echo "$ac_cv_build" >&6; }
2304 case $ac_cv_build in
2306 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2309 ac_save_IFS
=$IFS; IFS
='-'
2315 # Remember, the first character of IFS is used to create $*,
2316 # except with old shells:
2319 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2322 case ${build_alias} in
2323 "") build_noncanonical
=${build} ;;
2324 *) build_noncanonical
=${build_alias} ;;
2329 case ${host_alias} in
2330 "") host_noncanonical
=${build_noncanonical} ;;
2331 *) host_noncanonical
=${host_alias} ;;
2336 case ${target_alias} in
2337 "") target_noncanonical
=${host_noncanonical} ;;
2338 *) target_noncanonical
=${target_alias} ;;
2344 test "$host_noncanonical" = "$target_noncanonical" &&
2345 test "$program_prefix$program_suffix$program_transform_name" = \
2347 program_transform_name
=s
,y
,y
,
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2350 $as_echo_n "checking host system type... " >&6; }
2351 if test "${ac_cv_host+set}" = set; then :
2352 $as_echo_n "(cached) " >&6
2354 if test "x$host_alias" = x
; then
2355 ac_cv_host
=$ac_cv_build
2357 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2358 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2363 $as_echo "$ac_cv_host" >&6; }
2366 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2369 ac_save_IFS
=$IFS; IFS
='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2383 $as_echo_n "checking target system type... " >&6; }
2384 if test "${ac_cv_target+set}" = set; then :
2385 $as_echo_n "(cached) " >&6
2387 if test "x$target_alias" = x
; then
2388 ac_cv_target
=$ac_cv_host
2390 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2391 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2396 $as_echo "$ac_cv_target" >&6; }
2397 case $ac_cv_target in
2399 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2401 target
=$ac_cv_target
2402 ac_save_IFS
=$IFS; IFS
='-'
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2412 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2415 # The aliases save the names the user supplied, while $host etc.
2416 # will get canonicalized.
2417 test -n "$target_alias" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_prefix
=${target_alias}-
2422 test "$program_prefix" != NONE
&&
2423 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2424 # Use a double $ so make ignores it.
2425 test "$program_suffix" != NONE
&&
2426 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2427 # Double any \ or $.
2428 # By default was `s,x,x', remove it if useless.
2429 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2430 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2434 # Get 'install' or 'install-sh' and its variants.
2435 # Find a good install program. We prefer a C program (faster),
2436 # so one script is as good as another. But avoid the broken or
2437 # incompatible versions:
2438 # SysV /etc/install, /usr/sbin/install
2439 # SunOS /usr/etc/install
2440 # IRIX /sbin/install
2442 # AmigaOS /C/install, which installs bootblocks on floppy discs
2443 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2444 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2445 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2446 # OS/2's system install, which has a completely different semantic
2447 # ./install, which can be erroneously created by make from ./install.sh.
2448 # Reject install programs that cannot install multiple files.
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2450 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2451 if test -z "$INSTALL"; then
2452 if test "${ac_cv_path_install+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir
=.
2460 # Account for people who put trailing slashes in PATH elements.
2461 case $as_dir/ in #((
2462 .
/ | .
// |
/[cC
]/* | \
2463 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2464 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2467 # OSF1 and SCO ODT 3.0 have their own names for install.
2468 # Don't use installbsd from OSF since it installs stuff as root
2470 for ac_prog
in ginstall scoinst
install; do
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2473 if test $ac_prog = install &&
2474 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2475 # AIX install. It has an incompatible calling convention.
2477 elif test $ac_prog = install &&
2478 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2479 # program-specific install script used by HP pwplus--don't use.
2482 rm -rf conftest.one conftest.two conftest.dir
2483 echo one
> conftest.one
2484 echo two
> conftest.two
2486 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2487 test -s conftest.one
&& test -s conftest.two
&&
2488 test -s conftest.dir
/conftest.one
&&
2489 test -s conftest.dir
/conftest.two
2491 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2504 rm -rf conftest.one conftest.two conftest.dir
2507 if test "${ac_cv_path_install+set}" = set; then
2508 INSTALL
=$ac_cv_path_install
2510 # As a last resort, use the slow shell script. Don't cache a
2511 # value for INSTALL within a source directory, because that will
2512 # break other packages using the cache if that directory is
2513 # removed, or if the value is a relative name.
2514 INSTALL
=$ac_install_sh
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2518 $as_echo "$INSTALL" >&6; }
2520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2521 # It thinks the first close brace ends the variable substitution.
2522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2526 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2529 $as_echo_n "checking whether ln works... " >&6; }
2530 if test "${acx_cv_prog_LN+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 rm -f conftestdata_t
2534 echo >conftestdata_f
2535 if ln conftestdata_f conftestdata_t
2>/dev
/null
2541 rm -f conftestdata_f conftestdata_t
2544 if test $acx_cv_prog_LN = no
; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2547 $as_echo "no, using $LN" >&6; }
2549 LN
="$acx_cv_prog_LN"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2555 $as_echo_n "checking whether ln -s works... " >&6; }
2557 if test "$LN_S" = "ln -s"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2562 $as_echo "no, using $LN_S" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2566 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2567 if test "${ac_cv_path_SED+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2571 for ac_i
in 1 2 3 4 5 6 7; do
2572 ac_script
="$ac_script$as_nl$ac_script"
2574 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2575 { ac_script
=; unset ac_script
;}
2576 if test -z "$SED"; then
2577 ac_path_SED_found
=false
2578 # Loop through the user's path and test for each of PROGNAME-LIST
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_prog
in sed gsed
; do
2585 for ac_exec_ext
in '' $ac_executable_extensions; do
2586 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2587 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2588 # Check for GNU ac_path_SED and select it if it is found.
2589 # Check for GNU $ac_path_SED
2590 case `"$ac_path_SED" --version 2>&1` in
2592 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2595 $as_echo_n 0123456789 >"conftest.in"
2598 cat "conftest.in" "conftest.in" >"conftest.tmp"
2599 mv "conftest.tmp" "conftest.in"
2600 cp "conftest.in" "conftest.nl"
2601 $as_echo '' >> "conftest.nl"
2602 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2603 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2604 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2605 if test $ac_count -gt ${ac_path_SED_max-0}; then
2606 # Best one so far, save it but keep looking for a better one
2607 ac_cv_path_SED
="$ac_path_SED"
2608 ac_path_SED_max
=$ac_count
2610 # 10*(2^10) chars as input seems more than enough
2611 test $ac_count -gt 10 && break
2613 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2616 $ac_path_SED_found && break 3
2621 if test -z "$ac_cv_path_SED"; then
2622 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2630 $as_echo "$ac_cv_path_SED" >&6; }
2631 SED
="$ac_cv_path_SED"
2634 for ac_prog
in gawk mawk nawk
awk
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637 set dummy
$ac_prog; ac_word
=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_AWK+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$AWK"; then
2644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir
=.
2651 for ac_exec_ext
in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_AWK
="$ac_prog"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$AWK"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2666 $as_echo "$AWK" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2673 test -n "$AWK" && break
2677 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2679 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2681 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2682 INSTALL
="${srcpwd}/install-sh -c"
2685 # Set srcdir to "." if that's what it is.
2686 # This is important for multilib support.
2688 if test "${pwd}" = "${srcpwd}" ; then
2696 ### To add a new directory to the tree, first choose whether it is a target
2697 ### or a host dependent tool. Then put it into the appropriate list
2698 ### (library or tools, host or target), doing a dependency sort.
2700 # Subdirs will be configured in the order listed in build_configdirs,
2701 # configdirs, or target_configdirs; see the serialization section below.
2703 # Dependency sorting is only needed when *configuration* must be done in
2704 # a particular order. In all cases a dependency should be specified in
2705 # the Makefile, whether or not it's implicitly specified here.
2707 # Double entries in build_configdirs, configdirs, or target_configdirs may
2708 # cause circular dependencies and break everything horribly.
2710 # these library is used by various programs built for the build
2713 build_libs
="build-libiberty build-libcpp"
2715 # these tools are built for the build environment
2716 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2718 # these libraries are used by various programs built for the host environment
2720 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2722 # these tools are built for the host environment
2723 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2724 # know that we are building the simulator.
2725 # binutils, gas and ld appear in that order because it makes sense to run
2726 # "make check" in that particular order.
2727 # If --enable-gold is used, "gold" may replace "ld".
2728 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1"
2730 # libgcj represents the runtime libraries only used by gcj.
2731 libgcj
="target-libffi \
2735 # these libraries are built for the target environment, and are built after
2736 # the host libraries and the host tools (which may be a cross compiler)
2737 # Note that libiberty is not a target library.
2738 target_libraries
="target-libgcc \
2739 target-libbacktrace \
2744 target-liboffloadmic \
2747 target-libstdc++-v3 \
2748 target-libsanitizer \
2751 target-libquadmath \
2752 target-libgfortran \
2759 # these tools are built using the target libraries, and are intended to
2760 # run only in the target environment
2762 # note: any program that *uses* libraries that are in the "target_libraries"
2763 # list belongs in this list.
2765 target_tools
="target-rda"
2767 ################################################################################
2769 ## All tools belong in one of the four categories, and are assigned above
2770 ## We assign ${configdirs} this way to remove all embedded newlines. This
2771 ## is important because configure will choke if they ever get through.
2772 ## ${configdirs} is directories we build using the host tools.
2773 ## ${target_configdirs} is directories we build using the target tools.
2774 configdirs
=`echo ${host_libs} ${host_tools}`
2775 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2776 build_configdirs
=`echo ${build_libs} ${build_tools}`
2780 ################################################################################
2782 srcname
="gnu development package"
2784 # This gets set non-empty for some net releases of packages.
2787 # Define is_cross_compiler to save on calls to 'test'.
2789 if test x
"${host}" = x
"${target}" ; then
2790 is_cross_compiler
=no
2792 is_cross_compiler
=yes
2795 # Find the build and target subdir names.
2797 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2798 # have matching libraries, they should use host libraries: Makefile.tpl
2799 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2800 # However, they still use the build modules, because the corresponding
2801 # host modules (e.g. bison) are only built for the host when bootstrap
2803 # - build_subdir is where we find build modules, and never changes.
2804 # - build_libsubdir is where we find build libraries, and can be overridden.
2806 # Prefix 'build-' so this never conflicts with target_subdir.
2807 build_subdir
="build-${build_noncanonical}"
2809 # Check whether --with-build-libsubdir was given.
2810 if test "${with_build_libsubdir+set}" = set; then :
2811 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2813 build_libsubdir
="$build_subdir"
2816 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2817 if ( test $srcdir = .
&& test -d gcc
) \
2818 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2819 host_subdir
="host-${host_noncanonical}"
2824 target_subdir
=${target_noncanonical}
2826 # Be sure to cover against remnants of an in-tree build.
2827 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2828 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2829 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2832 # Skipdirs are removed silently.
2834 # Noconfigdirs are removed loudly.
2838 # Make sure we don't let GNU ld be added if we didn't want it.
2839 if test x
$with_gnu_ld = xno
; then
2841 noconfigdirs
="$noconfigdirs ld gold"
2845 # Make sure we don't let GNU as be added if we didn't want it.
2846 if test x
$with_gnu_as = xno
; then
2848 noconfigdirs
="$noconfigdirs gas"
2852 # Make sure we don't let ZLIB be added if we didn't want it.
2853 if test x
$with_system_zlib = xyes
; then
2854 use_included_zlib
=no
2855 noconfigdirs
="$noconfigdirs zlib"
2858 # some tools are so dependent upon X11 that if we're not building with X,
2859 # it's not even worth trying to configure, much less build, that tool.
2862 yes |
"") ;; # the default value for this tree is that X11 is available
2864 skipdirs
="${skipdirs} tk itcl libgui"
2865 # We won't be able to build gdbtk without X.
2868 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2871 # Some are only suitable for cross toolchains.
2872 # Remove these if host=target.
2873 cross_only
="target-libgloss target-newlib target-opcodes"
2875 case $is_cross_compiler in
2876 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2879 # If both --with-headers and --with-libs are specified, default to
2881 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2882 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2883 if test x
"${with_newlib}" = x
; then
2888 # Recognize --with-newlib/--without-newlib.
2889 case ${with_newlib} in
2890 no
) skipdirs
="${skipdirs} target-newlib" ;;
2891 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2894 # Check whether --enable-as-accelerator-for was given.
2895 if test "${enable_as_accelerator_for+set}" = set; then :
2896 enableval
=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR
=$enableval
2898 ENABLE_AS_ACCELERATOR_FOR
=no
2902 # Check whether --enable-offload-targets was given.
2903 if test "${enable_offload_targets+set}" = set; then :
2904 enableval
=$enable_offload_targets;
2905 if test x
"$enable_offload_targets" = x
; then
2906 as_fn_error
"no offload targets specified" "$LINENO" 5
2910 enable_offload_targets
=
2914 # Handle --enable-gold, --enable-ld.
2915 # --disable-gold [--enable-ld]
2916 # Build only ld. Default option.
2917 # --enable-gold [--enable-ld]
2918 # Build both gold and ld. Install gold as "ld.gold", install ld
2919 # as "ld.bfd" and "ld".
2920 # --enable-gold=default [--enable-ld]
2921 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2922 # install ld as "ld.bfd".
2923 # --enable-gold[=default] --disable-ld
2924 # Build only gold, which is then installed as both "ld.gold" and "ld".
2925 # --enable-gold --enable-ld=default
2926 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2928 # In other words, ld is default
2929 # --enable-gold=default --enable-ld=default
2933 # Check whether --enable-gold was given.
2934 if test "${enable_gold+set}" = set; then :
2935 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2940 case "${ENABLE_GOLD}" in
2942 # Check for ELF target.
2945 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2946 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2947 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2948 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2950 *-*-linux*aout
* |
*-*-linux*oldld
*)
2958 if test "$is_elf" = "yes"; then
2959 # Check for target supported by gold.
2961 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2962 | aarch64
*-*-* | tilegx
*-*-*)
2963 configdirs
="$configdirs gold"
2964 if test x
${ENABLE_GOLD} = xdefault
; then
2975 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2979 # Check whether --enable-ld was given.
2980 if test "${enable_ld+set}" = set; then :
2981 enableval
=$enable_ld; ENABLE_LD
=$enableval
2987 case "${ENABLE_LD}" in
2989 if test x
${default_ld} != x
; then
2990 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2996 if test x
${ENABLE_GOLD} != xyes
; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2998 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3000 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3003 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3007 # Configure extra directories which are host specific
3011 configdirs
="$configdirs libtermcap" ;;
3014 # A target can indicate whether a language isn't supported for some reason.
3015 # Only spaces may be used in this macro; not newlines or tabs.
3016 unsupported_languages
=
3018 # Remove more programs from consideration, based on the host or
3019 # target this usually means that a port of the program doesn't
3023 i
[3456789]86-*-msdosdjgpp*)
3024 noconfigdirs
="$noconfigdirs tcl tk itcl"
3029 # Check whether --enable-libquadmath was given.
3030 if test "${enable_libquadmath+set}" = set; then :
3031 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3033 ENABLE_LIBQUADMATH
=yes
3036 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3037 noconfigdirs
="$noconfigdirs target-libquadmath"
3041 # Check whether --enable-libquadmath-support was given.
3042 if test "${enable_libquadmath_support+set}" = set; then :
3043 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3045 ENABLE_LIBQUADMATH_SUPPORT
=yes
3048 enable_libquadmath_support
=
3049 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3050 enable_libquadmath_support
=no
3054 # Check whether --enable-libada was given.
3055 if test "${enable_libada+set}" = set; then :
3056 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3061 if test "${ENABLE_LIBADA}" != "yes" ; then
3062 noconfigdirs
="$noconfigdirs gnattools"
3065 # Check whether --enable-libssp was given.
3066 if test "${enable_libssp+set}" = set; then :
3067 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3073 # Check whether --enable-libstdcxx was given.
3074 if test "${enable_libstdcxx+set}" = set; then :
3075 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3077 ENABLE_LIBSTDCXX
=default
3080 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3081 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3084 # If this is accelerator compiler and its target is intelmic we enable
3085 # target liboffloadmic by default. If this is compiler with offloading
3086 # for intelmic we enable host liboffloadmic by default. Otherwise
3087 # liboffloadmic is disabled by default.
3088 # Check whether --enable-liboffloadmic was given.
3089 if test "${enable_liboffloadmic+set}" = set; then :
3090 enableval
=$enable_liboffloadmic; case "$enableval" in
3092 enable_liboffloadmic
=$enableval ;;
3094 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3097 if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then
3099 *-intelmic-* |
*-intelmicemul-*)
3100 enable_liboffloadmic
=target
3101 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3104 enable_liboffloadmic
=no
3108 case "${enable_offload_targets}" in
3109 *-intelmic-* |
*-intelmicemul-*)
3110 enable_liboffloadmic
=host
3111 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3114 enable_liboffloadmic
=no
3122 # Save it here so that, even in case of --enable-libgcj, if the Java
3123 # front-end isn't enabled, we still get libgcj disabled.
3124 libgcj_saved
=$libgcj
3125 case $enable_libgcj in
3127 # If we reset it here, it won't get added to noconfigdirs in the
3128 # target-specific build rules, so it will be forcibly enabled
3129 # (unless the Java language itself isn't enabled).
3133 # Make sure we get it printed in the list of not supported target libs.
3134 # Don't disable libffi, though, other languages use it.
3135 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3136 # Clear libgcj_saved so that even if java is enabled libffi won't be
3142 # Check whether --enable-static-libjava was given.
3143 if test "${enable_static_libjava+set}" = set; then :
3144 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3146 ENABLE_STATIC_LIBJAVA
=no
3149 enable_static_libjava
=
3150 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3151 enable_static_libjava
=yes
3154 if test x
$enable_static_libjava != xyes
; then
3155 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3159 # Disable libgomp on non POSIX hosted systems.
3160 if test x
$enable_libgomp = x
; then
3161 # Enable libgomp by default on hosted POSIX systems.
3163 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3165 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3167 *-*-solaris2* |
*-*-hpux11*)
3169 *-*-darwin* |
*-*-aix*)
3172 noconfigdirs
="$noconfigdirs target-libgomp"
3177 # Disable libatomic on unsupported systems.
3178 if test -d ${srcdir}/libatomic
; then
3179 if test x
$enable_libatomic = x
; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3181 $as_echo_n "checking for libatomic support... " >&6; }
3182 if (srcdir
=${srcdir}/libatomic
; \
3183 .
${srcdir}/configure.tgt
; \
3184 test -n "$UNSUPPORTED")
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 noconfigdirs
="$noconfigdirs target-libatomic"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191 $as_echo "yes" >&6; }
3196 # Disable libcilkrts on unsupported systems.
3197 if test -d ${srcdir}/libcilkrts
; then
3198 if test x
$enable_libcilkrts = x
; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3200 $as_echo_n "checking for libcilkrts support... " >&6; }
3201 if (srcdir
=${srcdir}/libcilkrts
; \
3202 .
${srcdir}/configure.tgt
; \
3203 test -n "$UNSUPPORTED")
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 noconfigdirs
="$noconfigdirs target-libcilkrts"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210 $as_echo "yes" >&6; }
3215 # Disable liboffloadmic on unsupported systems.
3216 if test -d ${srcdir}/liboffloadmic
; then
3217 if test x
$enable_liboffloadmic != xno
; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3219 $as_echo_n "checking for liboffloadmic support... " >&6; }
3220 if (srcdir
=${srcdir}/liboffloadmic
; \
3221 .
${srcdir}/configure.tgt
; \
3222 test -n "$UNSUPPORTED")
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3234 # Disable libitm on unsupported systems.
3235 if test -d ${srcdir}/libitm
; then
3236 if test x
$enable_libitm = x
; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3238 $as_echo_n "checking for libitm support... " >&6; }
3239 if (srcdir
=${srcdir}/libitm
; \
3240 .
${srcdir}/configure.tgt
; \
3241 test -n "$UNSUPPORTED")
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3245 noconfigdirs
="$noconfigdirs target-libitm"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3253 # Disable libsanitizer on unsupported systems.
3254 if test -d ${srcdir}/libsanitizer
; then
3255 if test x
$enable_libsanitizer = x
; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3257 $as_echo_n "checking for libsanitizer support... " >&6; }
3258 if (srcdir
=${srcdir}/libsanitizer
; \
3259 .
${srcdir}/configure.tgt
; \
3260 test -n "$UNSUPPORTED")
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 noconfigdirs
="$noconfigdirs target-libsanitizer"
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3267 $as_echo "yes" >&6; }
3272 # Disable libvtv on unsupported systems.
3273 if test -d ${srcdir}/libvtv
; then
3274 if test x
$enable_libvtv = x
; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3276 $as_echo_n "checking for libvtv support... " >&6; }
3277 if (srcdir
=${srcdir}/libvtv
; \
3278 .
${srcdir}/configure.tgt
; \
3279 test "$VTV_SUPPORTED" != "yes")
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 noconfigdirs
="$noconfigdirs target-libvtv"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3286 $as_echo "yes" >&6; }
3291 # Disable libquadmath for some systems.
3294 noconfigdirs
="$noconfigdirs target-libquadmath"
3296 # libquadmath is unused on AIX and libquadmath build process use of
3297 # LD_LIBRARY_PATH can break AIX bootstrap.
3298 powerpc-
*-aix* | rs6000-
*-aix*)
3299 noconfigdirs
="$noconfigdirs target-libquadmath"
3303 # Disable libssp for some systems.
3306 # No hosted I/O support.
3307 noconfigdirs
="$noconfigdirs target-libssp"
3309 powerpc-
*-aix* | rs6000-
*-aix*)
3310 noconfigdirs
="$noconfigdirs target-libssp"
3313 # libssp uses a misaligned load to trigger a fault, but the RL78
3314 # doesn't fault for those - instead, it gives a build-time error
3315 # for explicit misaligned loads.
3316 noconfigdirs
="$noconfigdirs target-libssp"
3320 # Disable libstdc++-v3 for some systems.
3321 # Allow user to override this if they pass --enable-libstdc++-v3
3322 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3325 # VxWorks uses the Dinkumware C++ library.
3326 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3329 # the C++ libraries don't build on top of CE's C libraries
3330 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3333 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3338 # Disable Fortran for some systems.
3341 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3342 unsupported_languages
="$unsupported_languages fortran"
3346 # Disable Java if libffi is not supported.
3378 powerpc-
*-aix* | rs6000-
*-aix*)
3382 powerpc64-
*-freebsd*)
3386 s390-
*-* | s390x-
*-*)
3388 sh-
*-* | sh
[34]*-*-*)
3390 sh64-
*-* | sh5
*-*-*)
3397 unsupported_languages
="$unsupported_languages java"
3401 # Disable Java, libgcj or related libraries for some systems.
3405 i
[3456789]86-*-darwin*)
3407 x86_64-
*-darwin[912]*)
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3413 noconfigdirs
="$noconfigdirs ${libgcj}"
3416 noconfigdirs
="$noconfigdirs ${libgcj}"
3419 noconfigdirs
="$noconfigdirs ${libgcj}"
3422 noconfigdirs
="$noconfigdirs ${libgcj}"
3425 noconfigdirs
="$noconfigdirs ${libgcj}"
3428 noconfigdirs
="$noconfigdirs ${libgcj}"
3431 noconfigdirs
="$noconfigdirs ${libgcj}"
3434 noconfigdirs
="$noconfigdirs ${libgcj}"
3437 noconfigdirs
="$noconfigdirs target-boehm-gc"
3439 cris-
*-* | crisv32-
*-*)
3440 unsupported_languages
="$unsupported_languages java"
3444 *) # See PR46792 regarding target-libffi.
3445 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3449 # In this case, it's because the hppa64-linux target is for
3450 # the kernel only at this point and has no libc, and thus no
3451 # headers, crt*.o, etc., all of which are needed by these.
3452 unsupported_languages
="$unsupported_languages java"
3455 noconfigdirs
="$noconfigdirs ${libgcj}"
3460 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3461 # build on HP-UX 10.20.
3462 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3467 i
[3456789]86-w64-mingw*)
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3470 i
[3456789]86-*-mingw*)
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3480 # copied from rs6000-*-* entry
3481 noconfigdirs
="$noconfigdirs ${libgcj}"
3484 noconfigdirs
="$noconfigdirs ${libgcj}"
3487 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 # Disable the go frontend on systems where it is known to not work. Please keep
3492 # this in sync with contrib/config-list.mk.
3494 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3495 unsupported_languages
="$unsupported_languages go"
3499 # Disable libgo for some systems where it is known to not work.
3500 # For testing, you can easily override this with --enable-libgo.
3501 if test x
$enable_libgo = x
; then
3505 noconfigdirs
="$noconfigdirs target-libgo"
3507 *-*-cygwin* |
*-*-mingw*)
3508 noconfigdirs
="$noconfigdirs target-libgo"
3511 noconfigdirs
="$noconfigdirs target-libgo"
3516 # Default libgloss CPU subdirectory.
3517 libgloss_dir
="$target_cpu"
3520 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3524 libgloss_dir
=aarch64
3529 cris-
*-* | crisv32-
*-*)
3538 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3539 libgloss_dir
=m68hc11
3541 m68
*-*-* | fido-
*-*)
3555 # Disable newlib and libgloss for various target OSes.
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3560 i
[3456789]86-*-linux*)
3561 # This section makes it possible to build newlib natively on linux.
3562 # If we are using a cross compiler then don't configure newlib.
3563 if test x
${is_cross_compiler} != xno
; then
3564 noconfigdirs
="$noconfigdirs target-newlib"
3566 noconfigdirs
="$noconfigdirs target-libgloss"
3567 # If we are not using a cross compiler, do configure newlib.
3568 # Note however, that newlib will only be configured in this situation
3569 # if the --with-newlib option has been given, because otherwise
3570 # 'target-newlib' will appear in skipdirs.
3572 i
[3456789]86-*-rdos*)
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3575 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3596 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3597 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3615 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3618 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3627 noconfigdirs
="$noconfigdirs sim target-rda"
3629 i
[3456789]86-*-darwin*)
3630 noconfigdirs
="$noconfigdirs ld gprof"
3631 noconfigdirs
="$noconfigdirs sim target-rda"
3633 x86_64-
*-darwin[912]*)
3634 noconfigdirs
="$noconfigdirs ld gas gprof"
3635 noconfigdirs
="$noconfigdirs sim target-rda"
3638 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3639 noconfigdirs
="$noconfigdirs sim target-rda"
3644 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3645 && test -f /usr
/local
/include
/gmp.h
; then
3650 # Remove unsupported stuff on all kaOS configurations.
3651 noconfigdirs
="$noconfigdirs target-libgloss"
3658 noconfigdirs
="$noconfigdirs target-libgloss"
3659 # this is not caught below because this stanza matches earlier
3661 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3664 # The tpf target doesn't support gdb yet.
3666 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3669 noconfigdirs
="$noconfigdirs target-rda"
3674 # ld works, but does not support shared libraries.
3675 # gas doesn't generate exception information.
3676 noconfigdirs
="$noconfigdirs gas ld"
3679 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3682 # newlib is not 64 bit ready
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3685 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3686 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3689 noconfigdirs
="$noconfigdirs target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-libgloss"
3695 noconfigdirs
="$noconfigdirs ld target-libgloss"
3700 if test x
${with_avrlibc} != xno
; then
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3704 c4x-
*-* | tic4x-
*-*)
3705 noconfigdirs
="$noconfigdirs target-libgloss"
3708 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3711 noconfigdirs
="$noconfigdirs target-libgloss"
3714 noconfigdirs
="$noconfigdirs gdb"
3717 noconfigdirs
="$noconfigdirs gdb"
3720 noconfigdirs
="$noconfigdirs gprof"
3723 noconfigdirs
="$noconfigdirs target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3728 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3736 hppa
*-*-openbsd* | \
3740 noconfigdirs
="$noconfigdirs ld"
3745 noconfigdirs
="$noconfigdirs ld"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 # No gdb support yet.
3752 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3755 # No ld support yet.
3756 noconfigdirs
="$noconfigdirs libgui itcl ld"
3759 # No ld support yet.
3760 noconfigdirs
="$noconfigdirs libgui itcl ld"
3762 i
[3456789]86-w64-mingw*)
3764 i
[3456789]86-*-mingw*)
3765 target_configdirs
="$target_configdirs target-winsup"
3768 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3770 # always build newlib if winsup directory is present.
3771 if test -d "$srcdir/winsup/cygwin"; then
3772 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3773 elif test -d "$srcdir/newlib"; then
3774 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3778 noconfigdirs
="$noconfigdirs target-libgloss"
3780 i
[3456789]86-*-sco3.2v5
*)
3781 # The linker does not yet know about weak symbols in COFF,
3782 # and is not configured to handle mixed ELF and COFF.
3783 noconfigdirs
="$noconfigdirs ld target-libgloss"
3785 i
[3456789]86-*-sco*)
3786 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3788 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3789 noconfigdirs
="$noconfigdirs target-libgloss"
3791 i
[3456789]86-*-sysv4*)
3792 noconfigdirs
="$noconfigdirs target-libgloss"
3794 i
[3456789]86-*-beos*)
3795 noconfigdirs
="$noconfigdirs gdb"
3797 i
[3456789]86-*-rdos*)
3798 noconfigdirs
="$noconfigdirs gdb"
3801 noconfigdirs
="$noconfigdirs gdb"
3804 noconfigdirs
="$noconfigdirs sim"
3807 # copied from rs6000-*-* entry
3808 noconfigdirs
="$noconfigdirs gprof"
3810 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3811 target_configdirs
="$target_configdirs target-winsup"
3812 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3813 # always build newlib.
3814 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3816 # This is temporary until we can link against shared libraries
3817 powerpcle-
*-solaris*)
3818 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3821 noconfigdirs
="$noconfigdirs gdb"
3824 noconfigdirs
="$noconfigdirs gprof"
3827 noconfigdirs
="$noconfigdirs gprof"
3830 noconfigdirs
="$noconfigdirs gprof"
3833 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3836 noconfigdirs
="$noconfigdirs gprof"
3838 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3839 if test x
$with_newlib = xyes
; then
3840 noconfigdirs
="$noconfigdirs gprof"
3844 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3847 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3850 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3854 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3855 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3856 noconfigdirs
="$noconfigdirs ld gas gprof"
3859 noconfigdirs
="$noconfigdirs gprof"
3862 noconfigdirs
="$noconfigdirs gdb"
3865 # nvptx is just a compiler
3866 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3869 noconfigdirs
="$noconfigdirs gdb"
3876 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3880 if test x
${is_cross_compiler} = xno
; then
3885 noconfigdirs
="$noconfigdirs sim"
3887 tilepro
*-*-* | tilegx
*-*-*)
3888 noconfigdirs
="$noconfigdirs sim"
3891 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3894 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3898 # If we aren't building newlib, then don't build libgloss, since libgloss
3899 # depends upon some newlib header files.
3900 case "${noconfigdirs}" in
3901 *target-libgloss
*) ;;
3902 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3905 # Work in distributions that contain no compiler tools, like Autoconf.
3906 host_makefile_frag
=/dev
/null
3907 if test -d ${srcdir}/config
; then
3909 i
[3456789]86-*-msdosdjgpp*)
3910 host_makefile_frag
="config/mh-djgpp"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3915 $as_echo_n "checking to see if cat works as expected... " >&6; }
3916 echo a
>cygwin-cat-check
3917 if test `cat cygwin-cat-check` = a
; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3920 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3925 as_fn_error
"The cat command does not ignore carriage return characters.
3926 Please either mount the build directory in binary mode or run the following
3927 commands before running any configure script:
3933 host_makefile_frag
="config/mh-cygwin"
3936 host_makefile_frag
="config/mh-mingw"
3939 host_makefile_frag
="config/mh-alpha-linux"
3942 host_makefile_frag
="config/mh-pa-hpux10"
3945 host_makefile_frag
="config/mh-pa"
3948 host_makefile_frag
="config/mh-pa"
3951 host_makefile_frag
="config/mh-darwin"
3954 host_makefile_frag
="config/mh-ppc-aix"
3957 host_makefile_frag
="config/mh-ppc-aix"
3962 if test "${build}" != "${host}" ; then
3963 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3964 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3965 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3966 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3967 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3968 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3969 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3970 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3971 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3972 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3973 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3974 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3975 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3977 AR_FOR_BUILD
="\$(AR)"
3978 AS_FOR_BUILD
="\$(AS)"
3979 CC_FOR_BUILD
="\$(CC)"
3980 CXX_FOR_BUILD
="\$(CXX)"
3981 GCJ_FOR_BUILD
="\$(GCJ)"
3982 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3983 GOC_FOR_BUILD
="\$(GOC)"
3984 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3985 LD_FOR_BUILD
="\$(LD)"
3986 NM_FOR_BUILD
="\$(NM)"
3987 RANLIB_FOR_BUILD
="\$(RANLIB)"
3988 WINDRES_FOR_BUILD
="\$(WINDRES)"
3989 WINDMC_FOR_BUILD
="\$(WINDMC)"
3993 ac_cpp
='$CPP $CPPFLAGS'
3994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3997 if test -n "$ac_tool_prefix"; then
3998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3999 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if test "${ac_cv_prog_CC+set}" = set; then :
4003 $as_echo_n "(cached) " >&6
4005 if test -n "$CC"; then
4006 ac_cv_prog_CC
="$CC" # Let the user override the test.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 if test -n "$CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4028 $as_echo "$CC" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4036 if test -z "$ac_cv_prog_CC"; then
4038 # Extract the first word of "gcc", so it can be a program name with args.
4039 set dummy gcc
; ac_word
=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -n "$ac_ct_CC"; then
4046 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055 ac_cv_prog_ac_ct_CC
="gcc"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4066 if test -n "$ac_ct_CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4068 $as_echo "$ac_ct_CC" >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4074 if test "x$ac_ct_CC" = x
; then
4077 case $cross_compiling:$ac_tool_warned in
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4081 ac_tool_warned
=yes ;;
4089 if test -z "$CC"; then
4090 if test -n "$ac_tool_prefix"; then
4091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4092 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if test "${ac_cv_prog_CC+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC
="$CC" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4130 if test -z "$CC"; then
4131 # Extract the first word of "cc", so it can be a program name with args.
4132 set dummy cc
; ac_word
=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if test "${ac_cv_prog_CC+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4138 if test -n "$CC"; then
4139 ac_cv_prog_CC
="$CC" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4149 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4150 ac_prog_rejected
=yes
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161 if test $ac_prog_rejected = yes; then
4162 # We found a bogon in the path, so make sure we never use it.
4163 set dummy
$ac_cv_prog_CC
4165 if test $# != 0; then
4166 # We chose a different compiler from the bogus one.
4167 # However, it has the same basename, so the bogon will be chosen
4168 # first if we set CC to just the basename; use the full file name.
4170 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4176 if test -n "$CC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4178 $as_echo "$CC" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4186 if test -z "$CC"; then
4187 if test -n "$ac_tool_prefix"; then
4188 for ac_prog
in cl.exe
4190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if test "${ac_cv_prog_CC+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4197 if test -n "$CC"; then
4198 ac_cv_prog_CC
="$CC" # Let the user override the test.
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 if test -n "$CC"; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4220 $as_echo "$CC" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4227 test -n "$CC" && break
4230 if test -z "$CC"; then
4232 for ac_prog
in cl.exe
4234 # Extract the first word of "$ac_prog", so it can be a program name with args.
4235 set dummy
$ac_prog; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$ac_ct_CC"; then
4242 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251 ac_cv_prog_ac_ct_CC
="$ac_prog"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4262 if test -n "$ac_ct_CC"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4264 $as_echo "$ac_ct_CC" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4271 test -n "$ac_ct_CC" && break
4274 if test "x$ac_ct_CC" = x
; then
4277 case $cross_compiling:$ac_tool_warned in
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4281 ac_tool_warned
=yes ;;
4290 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error
"no acceptable C compiler found in \$PATH
4293 See \`config.log' for more details." "$LINENO" 5; }
4295 # Provide some information about the compiler.
4296 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4299 for ac_option
in --version -v -V -qversion; do
4300 { { ac_try
="$ac_compiler $ac_option >&5"
4302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4303 *) ac_try_echo=$ac_try;;
4305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4306 $as_echo "$ac_try_echo"; } >&5
4307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4309 if test -s conftest.err; then
4311 ... rest of stderr output deleted ...
4312 10q' conftest.err >conftest.er1
4313 cat conftest.er1 >&5
4314 rm -f conftest.er1 conftest.err
4316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4317 test $ac_status = 0; }
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4331 ac_clean_files_save=$ac_clean_files
4332 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4333 # Try to create an executable without -o first, disregard a.out.
4334 # It will help us diagnose broken compilers, and finding out an intuition
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4337 $as_echo_n "checking for C compiler default output file name... " >&6; }
4338 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4340 # The possible output files:
4341 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4344 for ac_file in $ac_files
4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4348 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4353 if { { ac_try="$ac_link_default"
4355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4356 *) ac_try_echo
=$ac_try;;
4358 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4359 $as_echo "$ac_try_echo"; } >&5
4360 (eval "$ac_link_default") 2>&5
4362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4363 test $ac_status = 0; }; then :
4364 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4365 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4366 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4367 # so that the user can short-circuit this test for compilers unknown to
4369 for ac_file
in $ac_files ''
4371 test -f "$ac_file" ||
continue
4373 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4376 # We found the default executable, but exeext='' is most
4380 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4382 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4384 # We set ac_cv_exeext here because the later test for it is not
4385 # safe: cross compilers may not add the suffix if given an `-o'
4386 # argument, so we may need to know it at that point already.
4387 # Even if this section looks crufty: it has the advantage of
4394 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4400 $as_echo "$ac_file" >&6; }
4401 if test -z "$ac_file"; then :
4402 $as_echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 { as_fn_set_status
77
4408 as_fn_error
"C compiler cannot create executables
4409 See \`config.log' for more details." "$LINENO" 5; }; }
4411 ac_exeext
=$ac_cv_exeext
4413 # Check that the compiler produces executables we can run. If not, either
4414 # the compiler is broken, or we cross compile.
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4416 $as_echo_n "checking whether the C compiler works... " >&6; }
4417 # If not cross compiling, check that we can run a simple program.
4418 if test "$cross_compiling" != yes; then
4419 if { ac_try
='./$ac_file'
4420 { { case "(($ac_try" in
4421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426 (eval "$ac_try") 2>&5
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }; }; then
4432 if test "$cross_compiling" = maybe; then
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_error "cannot run C compiled programs.
4438 If you meant to cross compile
, use \
`--host'.
4439 See \`config.log
' for more details." "$LINENO" 5; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4444 $as_echo "yes" >&6; }
4446 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4447 ac_clean_files=$ac_clean_files_save
4448 # Check that the compiler produces executables we can run. If not, either
4449 # the compiler is broken, or we cross compile.
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4451 $as_echo_n "checking whether we are cross compiling... " >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4453 $as_echo "$cross_compiling" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4456 $as_echo_n "checking for suffix of executables... " >&6; }
4457 if { { ac_try="$ac_link"
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_link") 2>&5
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }; then :
4468 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4469 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4470 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4472 for ac_file
in conftest.exe conftest conftest.
*; do
4473 test -f "$ac_file" ||
continue
4475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4484 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4485 See \`config.log' for more details." "$LINENO" 5; }
4487 rm -f conftest
$ac_cv_exeext
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4489 $as_echo "$ac_cv_exeext" >&6; }
4491 rm -f conftest.
$ac_ext
4492 EXEEXT
=$ac_cv_exeext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4495 $as_echo_n "checking for suffix of object files... " >&6; }
4496 if test "${ac_cv_objext+set}" = set; then :
4497 $as_echo_n "(cached) " >&6
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 rm -f conftest.o conftest.obj
4511 if { { ac_try
="$ac_compile"
4513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4517 $as_echo "$ac_try_echo"; } >&5
4518 (eval "$ac_compile") 2>&5
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }; then :
4522 for ac_file in conftest.o conftest.obj conftest.*; do
4523 test -f "$ac_file" || continue;
4525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4531 $as_echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.$ac_ext >&5
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error "cannot compute suffix of object files
: cannot compile
4537 See \
`config.log' for more details." "$LINENO" 5; }
4539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4542 $as_echo "$ac_cv_objext" >&6; }
4543 OBJEXT=$ac_cv_objext
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4546 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4547 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4548 $as_echo_n "(cached) " >&6
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4564 if ac_fn_c_try_compile "$LINENO"; then :
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4574 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4575 if test $ac_compiler_gnu = yes; then
4580 ac_test_CFLAGS=${CFLAGS+set}
4581 ac_save_CFLAGS=$CFLAGS
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4583 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4584 if test "${ac_cv_prog_cc_g+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 ac_save_c_werror_flag=$ac_c_werror_flag
4588 ac_c_werror_flag=yes
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4602 if ac_fn_c_try_compile "$LINENO"; then :
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4617 if ac_fn_c_try_compile "$LINENO"; then :
4620 ac_c_werror_flag=$ac_save_c_werror_flag
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4633 if ac_fn_c_try_compile "$LINENO"; then :
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4644 $as_echo "$ac_cv_prog_cc_g" >&6; }
4645 if test "$ac_test_CFLAGS" = set; then
4646 CFLAGS=$ac_save_CFLAGS
4647 elif test $ac_cv_prog_cc_g = yes; then
4648 if test "$GCC" = yes; then
4654 if test "$GCC" = yes; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4661 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4662 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 ac_cv_prog_cc_c89=no
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 #include <sys/types.h>
4672 #include <sys/stat.h>
4673 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4674 struct buf { int x; };
4675 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4676 static char *e (p, i)
4682 static char *f (char * (*g) (char **, int), char **p, ...)
4687 s = g (p, va_arg (v,int));
4692 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4693 function prototypes and stuff, but not '\xHH' hex character constants.
4694 These don't provoke an error unfortunately, instead are silently treated
4695 as 'x'. The following induces an error, until -std is added to get
4696 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4697 array size at least. It's necessary to write '\x00'==0 to get something
4698 that's true only with -std. */
4699 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4701 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4702 inside strings and character constants. */
4704 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4706 int test (int i, double x);
4707 struct s1 {int (*f) (int a);};
4708 struct s2 {int (*f) (double a);};
4709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4720 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4721 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4723 CC="$ac_save_CC $ac_arg"
4724 if ac_fn_c_try_compile "$LINENO"; then :
4725 ac_cv_prog_cc_c89=$ac_arg
4727 rm -f core conftest.err conftest.$ac_objext
4728 test "x$ac_cv_prog_cc_c89" != "xno" && break
4730 rm -f conftest.$ac_ext
4735 case "x$ac_cv_prog_cc_c89" in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4738 $as_echo "none needed" >&6; } ;;
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4741 $as_echo "unsupported" >&6; } ;;
4743 CC="$CC $ac_cv_prog_cc_c89"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4745 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4747 if test "x$ac_cv_prog_cc_c89" != xno; then :
4752 ac_cpp='$CPP $CPPFLAGS'
4753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 ac_cpp='$CXXCPP $CPPFLAGS'
4759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4762 if test -z "$CXX"; then
4763 if test -n "$CCC"; then
4766 if test -n "$ac_tool_prefix"; then
4767 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if test "${ac_cv_prog_CXX+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$CXX"; then
4777 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 if test -n "$CXX"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4799 $as_echo "$CXX" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 test -n "$CXX" && break
4809 if test -z "$CXX"; then
4811 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4813 # Extract the first word of "$ac_prog", so it can be a program name with args.
4814 set dummy $ac_prog; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$ac_ct_CXX"; then
4821 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830 ac_cv_prog_ac_ct_CXX="$ac_prog"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4841 if test -n "$ac_ct_CXX"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4843 $as_echo "$ac_ct_CXX" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4850 test -n "$ac_ct_CXX" && break
4853 if test "x$ac_ct_CXX" = x; then
4856 case $cross_compiling:$ac_tool_warned in
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4860 ac_tool_warned=yes ;;
4868 # Provide some information about the compiler.
4869 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 for ac_option in --version -v -V -qversion; do
4873 { { ac_try="$ac_compiler $ac_option >&5"
4875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4876 *) ac_try_echo
=$ac_try;;
4878 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879 $as_echo "$ac_try_echo"; } >&5
4880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4882 if test -s conftest.err
; then
4884 ... rest of stderr output deleted ...
4885 10q' conftest.err
>conftest.er1
4886 cat conftest.er1
>&5
4887 rm -f conftest.er1 conftest.err
4889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4890 test $ac_status = 0; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4894 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4895 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4896 $as_echo_n "(cached) " >&6
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4912 if ac_fn_cxx_try_compile
"$LINENO"; then :
4917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4918 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4922 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4923 if test $ac_compiler_gnu = yes; then
4928 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4929 ac_save_CXXFLAGS
=$CXXFLAGS
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4931 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4932 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4936 ac_cxx_werror_flag
=yes
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_cxx_try_compile
"$LINENO"; then :
4951 ac_cv_prog_cxx_g
=yes
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4965 if ac_fn_cxx_try_compile
"$LINENO"; then :
4968 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4981 if ac_fn_cxx_try_compile
"$LINENO"; then :
4982 ac_cv_prog_cxx_g
=yes
4984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4992 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4993 if test "$ac_test_CXXFLAGS" = set; then
4994 CXXFLAGS
=$ac_save_CXXFLAGS
4995 elif test $ac_cv_prog_cxx_g = yes; then
4996 if test "$GXX" = yes; then
5002 if test "$GXX" = yes; then
5009 ac_cpp
='$CPP $CPPFLAGS'
5010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5015 # We must set the default linker to the linker used by gcc for the correct
5016 # operation of libtool. If LD is not defined and we are using gcc, try to
5017 # set the LD default to the ld used by gcc.
5018 if test -z "$LD"; then
5019 if test "$GCC" = yes; then
5022 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5024 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5026 case $gcc_prog_ld in
5027 # Accept absolute paths.
5028 [\\/]* |
[A-Za-z
]:[\\/]*)
5029 LD
="$gcc_prog_ld" ;;
5034 # Check whether -static-libstdc++ -static-libgcc is supported.
5036 if test "$GCC" = yes; then
5037 saved_LDFLAGS
="$LDFLAGS"
5039 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5041 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5043 ac_cpp
='$CXXCPP $CPPFLAGS'
5044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5052 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5053 #error -static-libstdc++ not implemented
5057 if ac_fn_cxx_try_link
"$LINENO"; then :
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5059 $as_echo "yes" >&6; }; have_static_libs
=yes
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5064 rm -f core conftest.err conftest.
$ac_objext \
5065 conftest
$ac_exeext conftest.
$ac_ext
5067 ac_cpp
='$CPP $CPPFLAGS'
5068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5073 LDFLAGS
="$saved_LDFLAGS"
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5081 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$GNATBIND"; then
5088 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 GNATBIND
=$ac_cv_prog_GNATBIND
5108 if test -n "$GNATBIND"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5110 $as_echo "$GNATBIND" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_GNATBIND"; then
5119 ac_ct_GNATBIND
=$GNATBIND
5120 # Extract the first word of "gnatbind", so it can be a program name with args.
5121 set dummy gnatbind
; ac_word
=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$ac_ct_GNATBIND"; then
5128 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5148 if test -n "$ac_ct_GNATBIND"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5150 $as_echo "$ac_ct_GNATBIND" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_GNATBIND" = x
; then
5159 case $cross_compiling:$ac_tool_warned in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned
=yes ;;
5165 GNATBIND
=$ac_ct_GNATBIND
5168 GNATBIND
="$ac_cv_prog_GNATBIND"
5171 if test -n "$ac_tool_prefix"; then
5172 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5173 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$GNATMAKE"; then
5180 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 GNATMAKE
=$ac_cv_prog_GNATMAKE
5200 if test -n "$GNATMAKE"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5202 $as_echo "$GNATMAKE" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5210 if test -z "$ac_cv_prog_GNATMAKE"; then
5211 ac_ct_GNATMAKE
=$GNATMAKE
5212 # Extract the first word of "gnatmake", so it can be a program name with args.
5213 set dummy gnatmake
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$ac_ct_GNATMAKE"; then
5220 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5240 if test -n "$ac_ct_GNATMAKE"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5242 $as_echo "$ac_ct_GNATMAKE" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5248 if test "x$ac_ct_GNATMAKE" = x
; then
5251 case $cross_compiling:$ac_tool_warned in
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned
=yes ;;
5257 GNATMAKE
=$ac_ct_GNATMAKE
5260 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5264 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5265 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5268 cat >conftest.adb
<<EOF
5269 procedure conftest is begin null; end conftest;
5271 acx_cv_cc_gcc_supports_ada
=no
5272 # There is a bug in old released versions of GCC which causes the
5273 # driver to exit successfully when the appropriate language module
5274 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5275 # Therefore we must check for the error message as well as an
5276 # unsuccessful exit.
5277 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5278 # given a .adb file, but produce no object file. So we must check
5279 # if an object file was really produced to guard against this.
5280 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5281 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5282 acx_cv_cc_gcc_supports_ada
=yes
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5287 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5289 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5296 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5297 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5302 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5303 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5304 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5307 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5310 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5311 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5314 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5321 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5322 do_compare
="$gcc_cv_prog_cmp_skip"
5326 # Check whether --enable-bootstrap was given.
5327 if test "${enable_bootstrap+set}" = set; then :
5328 enableval
=$enable_bootstrap;
5330 enable_bootstrap
=default
5334 # Issue errors and warnings for invalid/strange bootstrap combinations.
5335 if test -r $srcdir/gcc
/configure
; then
5341 case "$have_compiler:$host:$target:$enable_bootstrap" in
5344 # Default behavior. Enable bootstrap if we have a compiler
5345 # and we are in a native configuration.
5346 yes:$build:$build:default
)
5347 enable_bootstrap
=yes ;;
5350 enable_bootstrap
=no
;;
5352 # We have a compiler and we are in a native configuration, bootstrap is ok
5353 yes:$build:$build:yes)
5356 # Other configurations, but we have a compiler. Assume the user knows
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5360 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5363 # No compiler: if they passed --enable-bootstrap explicitly, fail
5365 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5367 # Fail if wrong command line
5369 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5373 # Used for setting $lt_cv_objdir
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5375 $as_echo_n "checking for objdir... " >&6; }
5376 if test "${lt_cv_objdir+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5379 rm -f .libs
2>/dev
/null
5380 mkdir .libs
2>/dev
/null
5381 if test -d .libs
; then
5384 # MS-DOS does not allow filenames that begin with a dot.
5387 rmdir .libs
2>/dev
/null
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5390 $as_echo "$lt_cv_objdir" >&6; }
5391 objdir
=$lt_cv_objdir
5397 cat >>confdefs.h
<<_ACEOF
5398 #define LT_OBJDIR "$lt_cv_objdir/"
5403 # Check for GMP, MPFR and MPC
5404 gmplibs
="-lmpc -lmpfr -lgmp"
5408 # Specify a location for mpc
5409 # check for this first so it ends up on the link line before mpfr.
5411 # Check whether --with-mpc was given.
5412 if test "${with_mpc+set}" = set; then :
5417 # Check whether --with-mpc-include was given.
5418 if test "${with_mpc_include+set}" = set; then :
5419 withval
=$with_mpc_include;
5423 # Check whether --with-mpc-lib was given.
5424 if test "${with_mpc_lib+set}" = set; then :
5425 withval
=$with_mpc_lib;
5429 if test "x$with_mpc" != x
; then
5430 gmplibs
="-L$with_mpc/lib $gmplibs"
5431 gmpinc
="-I$with_mpc/include $gmpinc"
5433 if test "x$with_mpc_include" != x
; then
5434 gmpinc
="-I$with_mpc_include $gmpinc"
5436 if test "x$with_mpc_lib" != x
; then
5437 gmplibs
="-L$with_mpc_lib $gmplibs"
5439 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5440 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5441 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5442 # Do not test the mpc version. Assume that it is sufficient, since
5443 # it is in the source tree, and the library has not been built yet
5444 # but it would be included on the link line in the version check below
5445 # hence making the test fail.
5449 # Specify a location for mpfr
5450 # check for this first so it ends up on the link line before gmp.
5452 # Check whether --with-mpfr-dir was given.
5453 if test "${with_mpfr_dir+set}" = set; then :
5454 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5455 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5460 # Check whether --with-mpfr was given.
5461 if test "${with_mpfr+set}" = set; then :
5466 # Check whether --with-mpfr-include was given.
5467 if test "${with_mpfr_include+set}" = set; then :
5468 withval
=$with_mpfr_include;
5472 # Check whether --with-mpfr-lib was given.
5473 if test "${with_mpfr_lib+set}" = set; then :
5474 withval
=$with_mpfr_lib;
5478 if test "x$with_mpfr" != x
; then
5479 gmplibs
="-L$with_mpfr/lib $gmplibs"
5480 gmpinc
="-I$with_mpfr/include $gmpinc"
5482 if test "x$with_mpfr_include" != x
; then
5483 gmpinc
="-I$with_mpfr_include $gmpinc"
5485 if test "x$with_mpfr_lib" != x
; then
5486 gmplibs
="-L$with_mpfr_lib $gmplibs"
5488 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5489 # MPFR v3.1.0 moved the sources into a src sub-directory.
5490 if test -d ${srcdir}/mpfr
/src
; then
5491 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5492 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5493 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5495 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5496 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5497 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5499 # Do not test the mpfr version. Assume that it is sufficient, since
5500 # it is in the source tree, and the library has not been built yet
5501 # but it would be included on the link line in the version check below
5502 # hence making the test fail.
5506 # Specify a location for gmp
5508 # Check whether --with-gmp-dir was given.
5509 if test "${with_gmp_dir+set}" = set; then :
5510 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5511 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5516 # Check whether --with-gmp was given.
5517 if test "${with_gmp+set}" = set; then :
5522 # Check whether --with-gmp-include was given.
5523 if test "${with_gmp_include+set}" = set; then :
5524 withval
=$with_gmp_include;
5528 # Check whether --with-gmp-lib was given.
5529 if test "${with_gmp_lib+set}" = set; then :
5530 withval
=$with_gmp_lib;
5535 if test "x$with_gmp" != x
; then
5536 gmplibs
="-L$with_gmp/lib $gmplibs"
5537 gmpinc
="-I$with_gmp/include $gmpinc"
5539 if test "x$with_gmp_include" != x
; then
5540 gmpinc
="-I$with_gmp_include $gmpinc"
5542 if test "x$with_gmp_lib" != x
; then
5543 gmplibs
="-L$with_gmp_lib $gmplibs"
5545 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5546 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5547 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5548 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5549 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5550 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5551 # Do not test the gmp version. Assume that it is sufficient, since
5552 # it is in the source tree, and the library has not been built yet
5553 # but it would be included on the link line in the version check below
5554 # hence making the test fail.
5558 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5560 saved_CFLAGS
="$CFLAGS"
5561 CFLAGS
="$CFLAGS $gmpinc"
5562 # Check for the recommended and required versions of GMP.
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5564 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5573 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5574 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5575 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5583 if ac_fn_c_try_compile
"$LINENO"; then :
5584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5591 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5592 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5593 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5601 if ac_fn_c_try_compile
"$LINENO"; then :
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5603 $as_echo "yes" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5606 $as_echo "buggy but acceptable" >&6; }
5608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }; have_gmp
=no
5613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5615 # If we have GMP, check the MPFR version.
5616 if test x
"$have_gmp" = xyes
; then
5617 # Check for the recommended and required versions of MPFR.
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5619 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5628 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5636 if ac_fn_c_try_compile
"$LINENO"; then :
5637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5638 /* end confdefs.h. */
5645 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5653 if ac_fn_c_try_compile
"$LINENO"; then :
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5655 $as_echo "yes" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5658 $as_echo "buggy but acceptable" >&6; }
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }; have_gmp
=no
5665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5668 # Check for the MPC header version.
5669 if test x
"$have_gmp" = xyes
; then
5670 # Check for the recommended and required versions of MPC.
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5672 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5680 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5688 if ac_fn_c_try_compile
"$LINENO"; then :
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5696 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5704 if ac_fn_c_try_compile
"$LINENO"; then :
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5706 $as_echo "yes" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5709 $as_echo "buggy but acceptable" >&6; }
5711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }; have_gmp
=no
5716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5719 # Now check the MPFR library.
5720 if test x
"$have_gmp" = xyes
; then
5722 LIBS
="$LIBS $gmplibs"
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5724 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5738 mpfr_atan2 (n, n, x, GMP_RNDN);
5739 mpfr_erfc (n, x, GMP_RNDN);
5740 mpfr_subnormalize (x, t, GMP_RNDN);
5744 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5745 mpc_cosh (c, c, MPC_RNDNN);
5746 mpc_pow (c, c, c, MPC_RNDNN);
5747 mpc_acosh (c, c, MPC_RNDNN);
5754 if ac_fn_c_try_link
"$LINENO"; then :
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }; have_gmp
=no
5761 rm -f core conftest.err conftest.
$ac_objext \
5762 conftest
$ac_exeext conftest.
$ac_ext
5766 CFLAGS
="$saved_CFLAGS"
5768 # The library versions listed in the error message below should match
5769 # the HARD-minimums enforced above.
5770 if test x
$have_gmp != xyes
; then
5771 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5772 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5773 their locations. Source code for these libraries can be found at
5774 their respective hosting sites as well as at
5775 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5776 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5777 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5778 make sure that you have installed both the libraries and the header
5779 files. They may be located in separate packages." "$LINENO" 5
5783 # Flags needed for both GMP, MPFR and/or MPC.
5791 # Allow host libstdc++ to be specified for static linking with PPL.
5793 # Check whether --with-host-libstdcxx was given.
5794 if test "${with_host_libstdcxx+set}" = set; then :
5795 withval
=$with_host_libstdcxx;
5799 case $with_host_libstdcxx in
5801 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5805 # Libraries to use for stage1 or when not bootstrapping.
5807 # Check whether --with-stage1-libs was given.
5808 if test "${with_stage1_libs+set}" = set; then :
5809 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5812 stage1_libs
=$withval
5815 stage1_libs
=$with_host_libstdcxx
5820 # Linker flags to use for stage1 or when not bootstrapping.
5822 # Check whether --with-stage1-ldflags was given.
5823 if test "${with_stage1_ldflags+set}" = set; then :
5824 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5827 stage1_ldflags
=$withval
5831 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5832 # if supported. But if the user explicitly specified the libraries to use,
5833 # trust that they are doing what they want.
5834 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5835 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5841 # Libraries to use for stage2 and later builds. This defaults to the
5842 # argument passed to --with-host-libstdcxx.
5844 # Check whether --with-boot-libs was given.
5845 if test "${with_boot_libs+set}" = set; then :
5846 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5849 poststage1_libs
=$withval
5852 poststage1_libs
=$with_host_libstdcxx
5857 # Linker flags to use for stage2 and later builds.
5859 # Check whether --with-boot-ldflags was given.
5860 if test "${with_boot_ldflags+set}" = set; then :
5861 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5864 poststage1_ldflags
=$withval
5868 # In stages 2 and 3, default to linking libstdc++ and libgcc
5869 # statically. But if the user explicitly specified the libraries to
5870 # use, trust that they are doing what they want.
5871 if test "$poststage1_libs" = ""; then
5872 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5878 # GCC GRAPHITE dependency ISL.
5879 # Basic setup is inlined here, actual checks are in config/isl.m4
5882 # Check whether --with-isl was given.
5883 if test "${with_isl+set}" = set; then :
5888 # Treat --without-isl as a request to disable
5889 # GRAPHITE support and skip all following checks.
5890 if test "x$with_isl" != "xno"; then
5894 # Check whether --with-isl-include was given.
5895 if test "${with_isl_include+set}" = set; then :
5896 withval
=$with_isl_include;
5900 # Check whether --with-isl-lib was given.
5901 if test "${with_isl_lib+set}" = set; then :
5902 withval
=$with_isl_lib;
5906 # Check whether --enable-isl-version-check was given.
5907 if test "${enable_isl_version_check+set}" = set; then :
5908 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5910 ENABLE_ISL_CHECK
=yes
5914 # Initialize isllibs and islinc.
5923 isllibs
="-L$with_isl/lib"
5924 islinc
="-I$with_isl/include"
5927 if test "x${with_isl_include}" != x
; then
5928 islinc
="-I$with_isl_include"
5930 if test "x${with_isl_lib}" != x
; then
5931 isllibs
="-L$with_isl_lib"
5933 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5934 && test -d ${srcdir}/isl
; then
5935 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5936 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5939 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5942 islinc
="-DCLOOG_INT_GMP ${islinc}"
5943 isllibs
="${isllibs} -lisl"
5947 if test "${ENABLE_ISL_CHECK}" = yes ; then
5948 _isl_saved_CFLAGS
=$CFLAGS
5949 _isl_saved_LDFLAGS
=$LDFLAGS
5950 _isl_saved_LIBS
=$LIBS
5952 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5953 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5954 LIBS
="${_isl_saved_LIBS} -lisl"
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5957 $as_echo_n "checking for compatible ISL... " >&6; }
5958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 #include <isl/val.h>
5969 if ac_fn_c_try_link
"$LINENO"; then :
5974 rm -f core conftest.err conftest.
$ac_objext \
5975 conftest
$ac_exeext conftest.
$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5977 $as_echo "$gcc_cv_isl" >&6; }
5979 CFLAGS
=$_isl_saved_CFLAGS
5980 LDFLAGS
=$_isl_saved_LDFLAGS
5981 LIBS
=$_isl_saved_LIBS
5989 if test "x${with_isl}" = xno
; then
5990 graphite_requested
=no
5991 elif test "x${with_isl}" != x \
5992 ||
test "x${with_isl_include}" != x \
5993 ||
test "x${with_isl_lib}" != x
; then
5994 graphite_requested
=yes
5996 graphite_requested
=no
6001 if test "${gcc_cv_isl}" = no
; then
6006 if test "${graphite_requested}" = yes \
6007 && test "x${isllibs}" = x \
6008 && test "x${islinc}" = x
; then
6010 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6016 # If the ISL check failed, disable builds of in-tree variant of ISL
6017 if test "x$with_isl" = xno ||
6018 test "x$gcc_cv_isl" = xno
; then
6019 noconfigdirs
="$noconfigdirs isl"
6026 # Check for LTO support.
6027 # Check whether --enable-lto was given.
6028 if test "${enable_lto+set}" = set; then :
6029 enableval
=$enable_lto; enable_lto
=$enableval
6031 enable_lto
=yes; default_enable_lto
=yes
6040 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6041 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6042 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6050 if test $target_elf = yes; then :
6051 # ELF platforms build the lto-plugin always.
6052 build_lto_plugin
=yes
6055 if test x
"$default_enable_lto" = x
"yes" ; then
6057 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6058 # On other non-ELF platforms, LTO has yet to be validated.
6062 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6063 # It would also be nice to check the binutils support, but we don't
6064 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6065 # warn during gcc/ subconfigure; unless you're bootstrapping with
6066 # -flto it won't be needed until after installation anyway.
6068 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6069 *) if test x
"$enable_lto" = x
"yes"; then
6070 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6075 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6076 # Build it unless LTO was explicitly disabled.
6078 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6085 # Check whether --enable-linker-plugin-configure-flags was given.
6086 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6087 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6089 extra_linker_plugin_configure_flags
=
6093 # Check whether --enable-linker-plugin-flags was given.
6094 if test "${enable_linker_plugin_flags+set}" = set; then :
6095 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6097 extra_linker_plugin_flags
=
6103 # By default, C and C++ are the only stage 1 languages.
6104 stage1_languages
=,c
,
6106 # Target libraries that we bootstrap.
6107 bootstrap_target_libs
=,target-libgcc
,
6109 # Figure out what language subdirectories are present.
6110 # Look if the user specified --enable-languages="..."; if not, use
6111 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6113 # NB: embedded tabs in this IF block -- do not untabify
6114 if test -d ${srcdir}/gcc
; then
6115 if test x
"${enable_languages+set}" != xset
; then
6116 if test x
"${LANGUAGES+set}" = xset
; then
6117 enable_languages
="${LANGUAGES}"
6118 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6120 enable_languages
=all
6123 if test x
"${enable_languages}" = x ||
6124 test x
"${enable_languages}" = xyes
;
6126 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6130 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6132 # 'f95' is the old name for the 'fortran' language. We issue a warning
6133 # and make the substitution.
6134 case ,${enable_languages}, in
6136 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6137 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6141 # If bootstrapping, C++ must be enabled.
6142 case ",$enable_languages,:$enable_bootstrap" in
6145 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6146 enable_languages
="${enable_languages},c++"
6148 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6153 # First scan to see if an enabled language requires some other language.
6154 # We assume that a given config-lang.in will list all the language
6155 # front ends it requires, even if some are required indirectly.
6156 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6157 case ${lang_frag} in
6159 # The odd quoting in the next line works around
6160 # an apparent bug in bash 1.12 on linux.
6161 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6163 # From the config-lang.in, get $language, $lang_requires, and
6164 # $lang_requires_boot_languages.
6167 lang_requires_boot_languages
=
6169 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6170 case ,${enable_languages}, in
6174 echo " \`$other' language required by \`$language'; enabling" 1>&2
6175 enable_languages
="${enable_languages},${other}"
6179 for other
in ${lang_requires_boot_languages} ; do
6180 if test "$other" != "c"; then
6181 case ,${enable_stage1_languages}, in
6185 case ,${enable_languages}, in
6187 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6188 enable_stage1_languages
="$enable_stage1_languages,${other}"
6199 new_enable_languages
=,c
,
6201 # If LTO is enabled, add the LTO front end.
6202 if test "$enable_lto" = "yes" ; then
6203 case ,${enable_languages}, in
6205 *) enable_languages
="${enable_languages},lto" ;;
6207 if test "${build_lto_plugin}" = "yes" ; then
6208 configdirs
="$configdirs lto-plugin"
6212 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6213 potential_languages
=,c
,
6215 enabled_target_libs
=
6216 disabled_target_libs
=
6218 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6219 case ${lang_frag} in
6221 # The odd quoting in the next line works around
6222 # an apparent bug in bash 1.12 on linux.
6223 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6225 # From the config-lang.in, get $language, $target_libs,
6226 # $lang_dirs, $boot_language, and $build_by_default
6232 build_by_default
=yes
6234 if test x
${language} = x
; then
6235 echo "${lang_frag} doesn't set \$language." 1>&2
6239 if test "$language" = "c++"; then
6244 case ,${enable_languages}, in
6246 # Language was explicitly selected; include it
6247 # unless it is C, which is enabled by default.
6248 if test "$language" != "c"; then
6253 # 'all' was selected, select it if it is a default language
6254 if test "$language" != "c"; then
6255 add_this_lang
=${build_by_default}
6260 # Disable languages that need other directories if these aren't available.
6261 for i
in $subdir_requires; do
6262 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6263 case ,${enable_languages}, in
6265 # Specifically requested language; tell them.
6266 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6270 add_this_lang
=unsupported
6275 # Disable Ada if no preexisting GNAT is available.
6276 case ,${enable_languages},:${language}:${have_gnat} in
6277 *,${language},*:ada
:no
)
6278 # Specifically requested language; tell them.
6279 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6283 add_this_lang
=unsupported
6287 # Disable a language that is unsupported by the target.
6288 case " $unsupported_languages " in
6290 add_this_lang
=unsupported
6294 case $add_this_lang in
6296 # Remove language-dependent dirs.
6297 disabled_target_libs
="$disabled_target_libs $target_libs"
6298 noconfigdirs
="$noconfigdirs $lang_dirs"
6301 # Remove language-dependent dirs; still show language as supported.
6302 disabled_target_libs
="$disabled_target_libs $target_libs"
6303 noconfigdirs
="$noconfigdirs $lang_dirs"
6304 potential_languages
="${potential_languages}${language},"
6307 new_enable_languages
="${new_enable_languages}${language},"
6308 potential_languages
="${potential_languages}${language},"
6309 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6310 enabled_target_libs
="$enabled_target_libs $target_libs"
6311 case "${boot_language}:,$enable_stage1_languages," in
6312 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6313 # Add to (comma-separated) list of stage 1 languages.
6314 case ",$stage1_languages," in
6315 *,$language,* |
,yes, |
,all
,) ;;
6316 *) stage1_languages
="${stage1_languages}${language}," ;;
6318 # We need to bootstrap any supporting libraries.
6319 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6328 # Add target libraries which are only needed for disabled languages
6330 if test -n "$disabled_target_libs"; then
6331 for dir
in $disabled_target_libs; do
6332 case " $enabled_target_libs " in
6334 *) noconfigdirs
="$noconfigdirs $dir" ;;
6339 # Check whether --enable-stage1-languages was given.
6340 if test "${enable_stage1_languages+set}" = set; then :
6341 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6343 # Set it to something that will have no effect in the loop below
6344 enable_stage1_languages
=c
;;
6346 enable_stage1_languages
=`echo $new_enable_languages | \
6347 sed -e "s/^,//" -e "s/,$//" ` ;;
6349 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6350 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6353 # Add "good" languages from enable_stage1_languages to stage1_languages,
6354 # while "bad" languages go in missing_languages. Leave no duplicates.
6355 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6356 case $potential_languages in
6358 case $stage1_languages in
6360 *) stage1_languages
="$stage1_languages$i," ;;
6363 case $missing_languages in
6365 *) missing_languages
="$missing_languages$i," ;;
6372 # Remove leading/trailing commas that were added for simplicity
6373 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6374 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6375 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6376 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6378 if test "x$missing_languages" != x
; then
6380 The following requested languages could not be built: ${missing_languages}
6381 Supported languages are: ${potential_languages}" "$LINENO" 5
6383 if test "x$new_enable_languages" != "x$enable_languages"; then
6384 echo The following languages will be built
: ${new_enable_languages}
6385 enable_languages
="$new_enable_languages"
6389 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6392 # Handle --disable-<component> generically.
6393 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6394 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6395 varname
=`echo $dirname | sed -e s/+/_/g`
6396 if eval test x\
${enable_${varname}} "=" xno
; then
6397 noconfigdirs
="$noconfigdirs $dir"
6401 # Check for Boehm's garbage collector
6402 # Check whether --enable-objc-gc was given.
6403 if test "${enable_objc_gc+set}" = set; then :
6404 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6405 *,objc
,*:*:yes:*target-boehm-gc
*)
6406 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6412 # Make sure we only build Boehm's garbage collector if required.
6413 case ,${enable_languages},:${enable_objc_gc} in
6415 # Keep target-boehm-gc if requested for Objective-C.
6418 # Otherwise remove target-boehm-gc depending on target-libjava.
6419 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6420 noconfigdirs
="$noconfigdirs target-boehm-gc"
6425 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6426 case ,${enable_languages}, in
6428 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6429 case "${noconfigdirs}" in
6430 *target-libstdc
++-v3*)
6431 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6437 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6441 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6442 # $build_configdirs and $target_configdirs.
6443 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6446 for dir
in .
$skipdirs $noconfigdirs ; do
6447 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6448 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6449 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6450 if test -r $srcdir/$dirname/configure
; then
6451 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6454 notsupp
="$notsupp $dir"
6458 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6459 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6460 if test -r $srcdir/$dirname/configure
; then
6461 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6464 notsupp
="$notsupp $dir"
6468 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6469 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6470 if test -r $srcdir/$dirname/configure
; then
6471 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6474 notsupp
="$notsupp $dir"
6480 # Quietly strip out all directories which aren't configurable in this tree.
6481 # This relies on all configurable subdirectories being autoconfiscated, which
6483 build_configdirs_all
="$build_configdirs"
6485 for i
in ${build_configdirs_all} ; do
6486 j
=`echo $i | sed -e s/build-//g`
6487 if test -f ${srcdir}/$j/configure
; then
6488 build_configdirs
="${build_configdirs} $i"
6492 configdirs_all
="$configdirs"
6494 for i
in ${configdirs_all} ; do
6495 if test -f ${srcdir}/$i/configure
; then
6496 configdirs
="${configdirs} $i"
6500 target_configdirs_all
="$target_configdirs"
6502 for i
in ${target_configdirs_all} ; do
6503 j
=`echo $i | sed -e s/target-//g`
6504 if test -f ${srcdir}/$j/configure
; then
6505 target_configdirs
="${target_configdirs} $i"
6509 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6510 # so we have to add it after the preceding checks.
6511 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6513 case " $configdirs " in
6515 # If we can build libiberty, we can also build libiberty-linker-plugin.
6516 configdirs
="$configdirs libiberty-linker-plugin"
6517 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6518 --with-libiberty=../libiberty-linker-plugin";;
6520 as_fn_error
"libiberty missing" "$LINENO" 5;;
6524 # Sometimes we have special requirements for the host libiberty.
6525 extra_host_libiberty_configure_flags
=
6526 case " $configdirs " in
6527 *" lto-plugin "* |
*" libcc1 "*)
6528 # When these are to be built as shared libraries, the same applies to
6530 extra_host_libiberty_configure_flags
=--enable-shared
6535 # Produce a warning message for the subdirs we can't configure.
6536 # This isn't especially interesting in the Cygnus tree, but in the individual
6537 # FSF releases, it's important to let people know when their machine isn't
6538 # supported by the one or two programs in a package.
6540 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6541 # If $appdirs is non-empty, at least one of those directories must still
6542 # be configured, or we error out. (E.g., if the gas release supports a
6543 # specified target in some subdirs but not the gas subdir, we shouldn't
6544 # pretend that all is well.)
6545 if test -n "$appdirs" ; then
6546 for dir
in $appdirs ; do
6547 if test -r $dir/Makefile.
in ; then
6548 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6552 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6558 if test -n "$appdirs" ; then
6559 echo "*** This configuration is not supported by this package." 1>&2
6563 # Okay, some application will build, or we don't care to check. Still
6564 # notify of subdirs not getting built.
6565 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6566 echo " ${notsupp}" 1>&2
6567 echo " (Any other directories should still work fine.)" 1>&2
6575 # To find our prefix, in gcc_cv_tool_prefix.
6577 # The user is always right.
6578 if test "${PATH_SEPARATOR+set}" != set; then
6579 echo "#! /bin/sh" >conf$$.sh
6580 echo "exit 0" >>conf$$.sh
6582 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6592 if test "x$exec_prefix" = xNONE
; then
6593 if test "x$prefix" = xNONE
; then
6594 gcc_cv_tool_prefix
=$ac_default_prefix
6596 gcc_cv_tool_prefix
=$prefix
6599 gcc_cv_tool_prefix
=$exec_prefix
6602 # If there is no compiler in the tree, use the PATH only. In any
6603 # case, if there is no compiler in the tree nobody should use
6604 # AS_FOR_TARGET and LD_FOR_TARGET.
6605 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6606 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6607 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6608 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6609 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6610 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6611 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6612 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6617 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6618 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6626 # Check whether --with-build-sysroot was given.
6627 if test "${with_build_sysroot+set}" = set; then :
6628 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6629 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6632 SYSROOT_CFLAGS_FOR_TARGET
=
6638 # Check whether --with-debug-prefix-map was given.
6639 if test "${with_debug_prefix_map+set}" = set; then :
6640 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6641 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6642 for debug_map
in $withval; do
6643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6647 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6652 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6653 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6654 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6655 # We want to ensure that TARGET libraries (which we know are built with
6656 # gcc) are built with "-O2 -g", so include those options when setting
6657 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6658 if test "x$CFLAGS_FOR_TARGET" = x
; then
6659 CFLAGS_FOR_TARGET
=$CFLAGS
6662 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6665 *" -g "* |
*" -g3 "*) ;;
6666 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6671 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6672 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6673 case " $CXXFLAGS " in
6675 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6677 case " $CXXFLAGS " in
6678 *" -g "* |
*" -g3 "*) ;;
6679 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6686 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6687 # the named directory are copied to $(tooldir)/sys-include.
6688 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6689 if test x
${is_cross_compiler} = xno
; then
6690 echo 1>&2 '***' --with-headers is only supported when cross compiling
6693 if test x
"${with_headers}" != xyes
; then
6694 x
=${gcc_cv_tool_prefix}
6695 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6699 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6700 # the name directories are copied to $(tooldir)/lib. Multiple directories
6702 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6703 if test x
${is_cross_compiler} = xno
; then
6704 echo 1>&2 '***' --with-libs is only supported when cross compiling
6707 if test x
"${with_libs}" != xyes
; then
6708 # Copy the libraries in reverse order, so that files in the first named
6709 # library override files in subsequent libraries.
6710 x
=${gcc_cv_tool_prefix}
6711 for l
in ${with_libs}; do
6712 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6717 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6719 # This is done by determining whether or not the appropriate directory
6720 # is available, and by checking whether or not specific configurations
6721 # have requested that this magic not happen.
6723 # The command line options always override the explicit settings in
6724 # configure.in, and the settings in configure.in override this magic.
6726 # If the default for a toolchain is to use GNU as and ld, and you don't
6727 # want to do that, then you should use the --without-gnu-as and
6728 # --without-gnu-ld options for the configure script. Similarly, if
6729 # the default is to use the included zlib and you don't want to do that,
6730 # you should use the --with-system-zlib option for the configure script.
6732 if test x
${use_gnu_as} = x
&&
6733 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6735 extra_host_args
="$extra_host_args --with-gnu-as"
6738 if test x
${use_gnu_ld} = x
&&
6739 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6741 extra_host_args
="$extra_host_args --with-gnu-ld"
6744 if test x
${use_included_zlib} = x
&&
6745 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6748 with_system_zlib
=yes
6749 extra_host_args
="$extra_host_args --with-system-zlib"
6752 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6753 # can detect this case.
6755 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6757 extra_host_args
="$extra_host_args --with-newlib"
6760 # Handle ${copy_dirs}
6761 set fnord
${copy_dirs}
6763 while test $# != 0 ; do
6764 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6767 echo Copying
$1 to
$2
6769 # Use the install script to create the directory and all required
6770 # parent directories.
6771 if test -d $2 ; then
6775 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6778 # Copy the directory, assuming we have tar.
6779 # FIXME: Should we use B in the second tar? Not all systems support it.
6780 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6782 # It is the responsibility of the user to correctly adjust all
6783 # symlinks. If somebody can figure out how to handle them correctly
6784 # here, feel free to add the code.
6791 # Determine a target-dependent exec_prefix that the installed
6792 # gcc will search in. Keep this list sorted by triplet, with
6793 # the *-*-osname triplets last.
6796 i
[34567]86-pc-msdosdjgpp*)
6797 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6802 md_exec_prefix
=/usr
/ccs
/bin
6806 extra_arflags_for_target
=
6807 extra_nmflags_for_target
=
6808 extra_ranlibflags_for_target
=
6809 target_makefile_frag
=/dev
/null
6812 target_makefile_frag
="config/mt-spu"
6814 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6815 target_makefile_frag
="config/mt-sde"
6817 mipsisa
*-*-elfoabi*)
6818 target_makefile_frag
="config/mt-mips-elfoabi"
6820 mips
*-*-*linux
* | mips
*-*-gnu*)
6821 target_makefile_frag
="config/mt-mips-gnu"
6824 target_makefile_frag
="config/mt-nios2-elf"
6826 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6827 target_makefile_frag
="config/mt-gnu"
6829 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6830 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6831 # commands to handle both 32-bit and 64-bit objects. These flags are
6832 # harmless if we're using GNU nm or ar.
6833 extra_arflags_for_target
=" -X32_64"
6834 extra_nmflags_for_target
=" -B -X32_64"
6838 alphaieee_frag
=/dev
/null
6841 # This just makes sure to use the -mieee option to build target libs.
6842 # This should probably be set individually by each library.
6843 alphaieee_frag
="config/mt-alphaieee"
6847 # If --enable-target-optspace always use -Os instead of -O2 to build
6848 # the target libraries, similarly if it is not specified, use -Os
6849 # on selected platforms.
6850 ospace_frag
=/dev
/null
6851 case "${enable_target_optspace}:${target}" in
6853 ospace_frag
="config/mt-ospace"
6856 ospace_frag
="config/mt-d30v"
6858 :m32r-
* |
:d10v-
* |
:fr30-
*)
6859 ospace_frag
="config/mt-ospace"
6864 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6868 # Some systems (e.g., one of the i386-aix systems the gas testers are
6869 # using) don't handle "\$" correctly, so don't use it here.
6870 tooldir
='${exec_prefix}'/${target_noncanonical}
6871 build_tooldir
=${tooldir}
6873 # Create a .gdbinit file which runs the one in srcdir
6874 # and tells GDB to look there for source files.
6876 if test -r ${srcdir}/.gdbinit
; then
6879 *) cat > .
/.gdbinit
<<EOF
6883 source ${srcdir}/.gdbinit
6889 # Make sure that the compiler is able to generate an executable. If it
6890 # can't, we are probably in trouble. We don't care whether we can run the
6891 # executable--we might be using a cross compiler--we only care whether it
6892 # can be created. At this point the main configure script has set CC.
6894 echo "int main () { return 0; }" > conftest.c
6895 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6896 if test $?
= 0 ; then
6897 if test -s conftest ||
test -s conftest.exe
; then
6903 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6904 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6911 # Decide which environment variable is used to find dynamic libraries.
6913 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6914 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6915 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6916 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6919 # On systems where the dynamic library environment variable is PATH,
6920 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6921 # built executables to PATH.
6922 if test "$RPATH_ENVVAR" = PATH
; then
6923 GCC_SHLIB_SUBDIR
=/shlib
6928 # Adjust the toplevel makefile according to whether bootstrap was selected.
6929 case $enable_bootstrap in
6931 bootstrap_suffix
=bootstrap
6932 BUILD_CONFIG
=bootstrap-debug
6935 bootstrap_suffix
=no-bootstrap
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6941 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6944 # Check whether --with-build-config was given.
6945 if test "${with_build_config+set}" = set; then :
6946 withval
=$with_build_config; case $with_build_config in
6947 yes) with_build_config
= ;;
6948 no
) with_build_config
= BUILD_CONFIG
= ;;
6953 if test "x${with_build_config}" != x
; then
6954 BUILD_CONFIG
=$with_build_config
6956 case $BUILD_CONFIG in
6958 if echo "int f (void) { return 0; }" > conftest.c
&&
6959 ${CC} -c conftest.c
&&
6960 mv conftest.o conftest.o.g0
&&
6961 ${CC} -c -g conftest.c
&&
6962 mv conftest.o conftest.o.g
&&
6963 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6968 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6973 $as_echo "$BUILD_CONFIG" >&6; }
6976 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6978 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6979 # Check whether --enable-vtable-verify was given.
6980 if test "${enable_vtable_verify+set}" = set; then :
6981 enableval
=$enable_vtable_verify; case "$enableval" in
6982 yes) enable_vtable_verify
=yes ;;
6983 no
) enable_vtable_verify
=no
;;
6984 *) enable_vtable_verify
=no
;;
6987 enable_vtable_verify
=no
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6991 $as_echo "$enable_vtable_verify" >&6; }
6993 # Record target_configdirs and the configure arguments for target and
6994 # build configuration in Makefile.
6995 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6996 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6997 bootstrap_fixincludes
=no
6999 # If we are building libgomp, bootstrap it.
7000 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7001 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7004 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7005 # or bootstrap-ubsan, bootstrap it.
7006 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7007 case "$BUILD_CONFIG" in
7008 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7009 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7010 bootstrap_fixincludes
=yes
7015 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7016 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7017 test "$enable_vtable_verify" != no
; then
7018 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7021 # Determine whether gdb needs tk/tcl or not.
7022 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7023 # and in that case we want gdb to be built without tk. Ugh!
7024 # In fact I believe gdb is the *only* package directly dependent on tk,
7025 # so we should be able to put the 'maybe's in unconditionally and
7026 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7027 # 100% sure that that's safe though.
7029 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7030 case "$enable_gdbtk" in
7034 GDB_TK
="${gdb_tk}" ;;
7036 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7037 # distro. Eventually someone will fix this and move Insight, nee
7038 # gdbtk to a separate directory.
7039 if test -d ${srcdir}/gdb
/gdbtk
; then
7046 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7047 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7049 # Strip out unwanted targets.
7051 # While at that, we remove Makefiles if we were started for recursive
7052 # configuration, so that the top-level Makefile reconfigures them,
7053 # like we used to do when configure itself was recursive.
7055 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7056 # but now we're fixing up the Makefile ourselves with the additional
7057 # commands passed to AC_CONFIG_FILES. Use separate variables
7058 # extrasub-{build,host,target} not because there is any reason to split
7059 # the substitutions up that way, but only to remain below the limit of
7060 # 99 commands in a script, for HP-UX sed.
7061 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7063 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7064 yes:yes:*\ gold\
*:*,c
++,*) ;;
7065 yes:yes:*\ gold\
*:*)
7066 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7071 for module
in ${build_configdirs} ; do
7072 if test -z "${no_recursion}" \
7073 && test -f ${build_subdir}/${module}/Makefile
; then
7074 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7075 rm -f ${build_subdir}/${module}/Makefile
7077 extrasub_build
="$extrasub_build
7078 /^@if build-$module\$/d
7079 /^@endif build-$module\$/d
7080 /^@if build-$module-$bootstrap_suffix\$/d
7081 /^@endif build-$module-$bootstrap_suffix\$/d"
7084 for module
in ${configdirs} ; do
7085 if test -z "${no_recursion}"; then
7086 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7087 if test -f ${file}; then
7088 echo 1>&2 "*** removing ${file} to force reconfigure"
7093 case ${module},${bootstrap_fixincludes} in
7094 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7095 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7097 extrasub_host
="$extrasub_host
7099 /^@endif $module\$/d
7100 /^@if $module-$host_bootstrap_suffix\$/d
7101 /^@endif $module-$host_bootstrap_suffix\$/d"
7104 for module
in ${target_configdirs} ; do
7105 if test -z "${no_recursion}" \
7106 && test -f ${target_subdir}/${module}/Makefile
; then
7107 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7108 rm -f ${target_subdir}/${module}/Makefile
7111 # We only bootstrap target libraries listed in bootstrap_target_libs.
7112 case $bootstrap_target_libs in
7113 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7114 *) target_bootstrap_suffix
=no-bootstrap
;;
7117 extrasub_target
="$extrasub_target
7118 /^@if target-$module\$/d
7119 /^@endif target-$module\$/d
7120 /^@if target-$module-$target_bootstrap_suffix\$/d
7121 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7124 # Do the final fixup along with target modules.
7125 extrasub_target
="$extrasub_target
7126 /^@if /,/^@endif /d"
7128 # Create the serialization dependencies. This uses a temporary file.
7130 # Check whether --enable-serial-configure was given.
7131 if test "${enable_serial_configure+set}" = set; then :
7132 enableval
=$enable_serial_configure;
7136 case ${enable_serial_configure} in
7138 enable_serial_build_configure
=yes
7139 enable_serial_host_configure
=yes
7140 enable_serial_target_configure
=yes
7144 # These force 'configure's to be done one at a time, to avoid problems
7145 # with contention over a shared config.cache.
7147 echo '# serdep.tmp' > serdep.tmp
7149 test "x${enable_serial_build_configure}" = xyes
&&
7150 for item
in ${build_configdirs} ; do
7153 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7158 test "x${enable_serial_host_configure}" = xyes
&&
7159 for item
in ${configdirs} ; do
7162 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7167 test "x${enable_serial_target_configure}" = xyes
&&
7168 for item
in ${target_configdirs} ; do
7171 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7175 serialization_dependencies
=serdep.tmp
7178 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7179 # target, nonopt, and variable assignments. These are the ones we
7180 # might not want to pass down to subconfigures. The exception being
7181 # --cache-file=/dev/null, which is used to turn off the use of cache
7182 # files altogether, and which should be passed on to subconfigures.
7183 # Also strip program-prefix, program-suffix, and program-transform-name,
7184 # so that we can pass down a consistent program-transform-name.
7189 eval "set -- $ac_configure_args"
7192 if test X
"$skip_next" = X
"yes"; then
7196 if test X
"$keep_next" = X
"yes"; then
7199 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7201 baseargs
="$baseargs '$ac_arg'"
7202 tbaseargs
="$tbaseargs '$ac_arg'"
7207 # Handle separated arguments. Based on the logic generated by
7210 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7211 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7212 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7213 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7227 --with-* |
--without-*)
7228 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7232 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7235 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7244 mpc | mpfr | gmp | isl
)
7245 # If we're processing --with-$lib, --with-$lib-include or
7246 # --with-$lib-lib, for one of the libs above, and target is
7247 # different from host, don't pass the current argument to any
7248 # target library's configure.
7249 if test x
$is_cross_compiler = xyes
; then
7258 --cache-file=/dev
/null | \
7259 -cache-file=/dev
/null
)
7260 # Handled here to avoid the test to skip args below.
7261 baseargs
="$baseargs '$ac_arg'"
7262 tbaseargs
="$tbaseargs '$ac_arg'"
7263 # Assert: $separate_arg should always be no.
7264 keep_next
=$separate_arg
7280 -program-prefix* | \
7281 -program-suffix* | \
7282 -program-transform-name* )
7283 skip_next
=$separate_arg
7287 # An option. Add it.
7290 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7292 baseargs
="$baseargs '$ac_arg'"
7293 if test X
"$skip_targ" = Xno
; then
7294 tbaseargs
="$tbaseargs '$ac_arg'"
7296 keep_next
=$separate_arg
7299 # Either a variable assignment, or a nonopt (triplet). Don't
7300 # pass it down; let the Makefile handle this.
7305 # Remove the initial space we just introduced and, as these will be
7306 # expanded by make, quote '$'.
7307 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7309 # Add in --program-transform-name, after --program-prefix and
7310 # --program-suffix have been applied to it. Autoconf has already
7311 # doubled dollar signs and backslashes in program_transform_name; we want
7312 # the backslashes un-doubled, and then the entire thing wrapped in single
7313 # quotes, because this will be expanded first by make and then by the shell.
7314 # Also, because we want to override the logic in subdir configure scripts to
7315 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7316 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7317 ${program_transform_name}
7319 gcc_transform_name
=`cat conftestsed.out`
7320 rm -f conftestsed.out
7321 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7322 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7323 if test "$silent" = yes; then
7324 baseargs
="$baseargs --silent"
7325 tbaseargs
="$tbaseargs --silent"
7327 baseargs
="$baseargs --disable-option-checking"
7328 tbaseargs
="$tbaseargs --disable-option-checking"
7330 # Record and document user additions to sub configure arguments.
7335 # For the build-side libraries, we just need to pretend we're native,
7336 # and not use the same cache file. Multilibs are neither needed nor
7337 # desired. We can't even use the same cache file for all build-side
7338 # libraries, as they're compiled differently; some with C, some with
7339 # C++ or with different feature-enabling options.
7340 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7342 # For host modules, accept cache file option, or specification as blank.
7343 case "${cache_file}" in
7345 cache_file_option
="" ;;
7346 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7347 cache_file_option
="--cache-file=${cache_file}" ;;
7349 cache_file_option
="--cache-file=../${cache_file}" ;;
7352 # Host dirs don't like to share a cache file either, horribly enough.
7353 # This seems to be due to autoconf 2.5x stupidity.
7354 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7356 target_configargs
="$target_configargs ${tbaseargs}"
7358 # Passing a --with-cross-host argument lets the target libraries know
7359 # whether they are being built with a cross-compiler or being built
7360 # native. However, it would be better to use other mechanisms to make the
7361 # sorts of decisions they want to make on this basis. Please consider
7362 # this option to be deprecated. FIXME.
7363 if test x
${is_cross_compiler} = xyes
; then
7364 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7367 # Special user-friendly check for native x86_64-linux build, if
7368 # multilib is not explicitly enabled.
7369 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7370 x86_64-
*linux
*:yes:$build:$build:)
7371 # Make sure we have a developement environment that handles 32-bit
7373 echo "int main () { return 0; }" > conftest.c
7374 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7375 if test $?
= 0 ; then
7376 if test -s conftest ||
test -s conftest.exe
; then
7381 if test x
${dev64} != xyes
; then
7382 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
7387 # Default to --enable-multilib.
7388 if test x
${enable_multilib} = x
; then
7389 target_configargs
="--enable-multilib ${target_configargs}"
7392 # Pass --with-newlib if appropriate. Note that target_configdirs has
7393 # changed from the earlier setting of with_newlib.
7394 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7395 target_configargs
="--with-newlib ${target_configargs}"
7398 # Different target subdirs use different values of certain variables
7399 # (notably CXX). Worse, multilibs use *lots* of different values.
7400 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7401 # it doesn't automatically accept command-line overrides of them.
7402 # This means it's not safe for target subdirs to share a cache file,
7403 # which is disgusting, but there you have it. Hopefully this can be
7404 # fixed in future. It's still worthwhile to use a cache file for each
7405 # directory. I think.
7407 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7408 # We need to pass --target, as newer autoconf's requires consistency
7409 # for target_alias and gcc doesn't manage it consistently.
7410 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7413 case " $target_configdirs " in
7415 case " $target_configargs " in
7416 *" --with-newlib "*)
7419 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7423 # If we're not building GCC, don't discard standard headers.
7424 if test -d ${srcdir}/gcc
; then
7425 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7427 if test "${build}" != "${host}"; then
7428 # On Canadian crosses, CC_FOR_TARGET will have already been set
7429 # by `configure', so we won't have an opportunity to add -Bgcc/
7430 # to it. This is right: we don't want to search that directory
7431 # for binaries, but we want the header files in there, so add
7433 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7435 # Someone might think of using the pre-installed headers on
7436 # Canadian crosses, in case the installed compiler is not fully
7437 # compatible with the compiler being built. In this case, it
7438 # would be better to flag an error than risking having
7439 # incompatible object files being constructed. We can't
7440 # guarantee that an error will be flagged, but let's hope the
7441 # compiler will do it, when presented with incompatible header
7446 case "${target}-${is_cross_compiler}" in
7447 i
[3456789]86-*-linux*-no)
7448 # Here host == target, so we don't need to build gcc,
7449 # so we don't want to discard standard headers.
7450 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7453 # If we're building newlib, use its generic headers last, but search
7454 # for any libc-related directories first (so make it the last -B
7456 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7458 # If we're building libgloss, find the startup file, simulator library
7459 # and linker script.
7460 case " $target_configdirs " in
7462 # Look for startup file, simulator library and maybe linker script.
7463 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7464 # Look for libnosys.a in case the target needs it.
7465 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7466 # Most targets have the linker script in the source directory.
7467 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7478 x86_64-
*mingw
* |
*-w64-mingw*)
7479 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7480 # however, use a symlink named 'mingw' in ${prefix} .
7481 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7484 # MinGW can't be handled as Cygwin above since it does not use newlib.
7485 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'
7489 # Allow the user to override the flags for
7490 # our build compiler if desired.
7491 if test x
"${build}" = x
"${host}" ; then
7492 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7493 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7494 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7497 # On Canadian crosses, we'll be searching the right directories for
7498 # the previously-installed cross compiler, so don't bother to add
7499 # flags for directories within the install tree of the compiler
7500 # being built; programs in there won't even run.
7501 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7502 # Search for pre-installed headers if nothing else fits.
7503 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7506 if test "x
${use_gnu_ld}" = x &&
7507 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7508 # Arrange for us to find uninstalled linker scripts.
7509 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7512 # Search for other target-specific linker scripts and such.
7515 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7519 # Makefile fragments.
7520 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7522 eval fragval=\$$frag
7523 if test $fragval != /dev/null; then
7524 eval $frag=${srcdir}/$fragval
7532 # Miscellanea: directories, flags, etc.
7541 # Build module lists & subconfigure args.
7545 # Host module lists & subconfigure args.
7550 # Target module lists & subconfigure args.
7572 # Generate default definitions for YACC, M4, LEX and other programs that run
7573 # on the build machine. These are used if the Makefile can't locate these
7574 # programs in objdir.
7575 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7577 for ac_prog in 'bison -y' byacc yacc
7579 # Extract the first word of "$ac_prog", so it can be a program name with args.
7580 set dummy $ac_prog; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7582 $as_echo_n "checking
for $ac_word...
" >&6; }
7583 if test "${ac_cv_prog_YACC+set}" = set; then :
7584 $as_echo_n "(cached
) " >&6
7586 if test -n "$YACC"; then
7587 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7596 ac_cv_prog_YACC="$ac_prog"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7606 YACC=$ac_cv_prog_YACC
7607 if test -n "$YACC"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7609 $as_echo "$YACC" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7612 $as_echo "no
" >&6; }
7616 test -n "$YACC" && break
7618 test -n "$YACC" || YACC="$MISSING bison
-y"
7620 case " $build_configdirs " in
7621 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7624 for ac_prog in bison
7626 # Extract the first word of "$ac_prog", so it can be a program name with args.
7627 set dummy $ac_prog; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7629 $as_echo_n "checking
for $ac_word...
" >&6; }
7630 if test "${ac_cv_prog_BISON+set}" = set; then :
7631 $as_echo_n "(cached
) " >&6
7633 if test -n "$BISON"; then
7634 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_BISON="$ac_prog"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 BISON=$ac_cv_prog_BISON
7654 if test -n "$BISON"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7656 $as_echo "$BISON" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7659 $as_echo "no
" >&6; }
7663 test -n "$BISON" && break
7665 test -n "$BISON" || BISON="$MISSING bison
"
7667 case " $build_configdirs " in
7668 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7671 for ac_prog in gm4 gnum4 m4
7673 # Extract the first word of "$ac_prog", so it can be a program name with args.
7674 set dummy $ac_prog; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7676 $as_echo_n "checking
for $ac_word...
" >&6; }
7677 if test "${ac_cv_prog_M4+set}" = set; then :
7678 $as_echo_n "(cached
) " >&6
7680 if test -n "$M4"; then
7681 ac_cv_prog_M4="$M4" # Let the user override the test.
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_prog_M4="$ac_prog"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7701 if test -n "$M4"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7703 $as_echo "$M4" >&6; }
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7706 $as_echo "no
" >&6; }
7710 test -n "$M4" && break
7712 test -n "$M4" || M4="$MISSING m4"
7714 case " $build_configdirs " in
7715 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7718 for ac_prog in flex lex
7720 # Extract the first word of "$ac_prog", so it can be a program name with args.
7721 set dummy $ac_prog; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7723 $as_echo_n "checking
for $ac_word...
" >&6; }
7724 if test "${ac_cv_prog_LEX+set}" = set; then :
7725 $as_echo_n "(cached
) " >&6
7727 if test -n "$LEX"; then
7728 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7737 ac_cv_prog_LEX="$ac_prog"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7748 if test -n "$LEX"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7750 $as_echo "$LEX" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7753 $as_echo "no
" >&6; }
7757 test -n "$LEX" && break
7759 test -n "$LEX" || LEX="$MISSING flex
"
7761 case " $build_configdirs " in
7762 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7763 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7768 # Extract the first word of "$ac_prog", so it can be a program name with args.
7769 set dummy $ac_prog; ac_word=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7771 $as_echo_n "checking
for $ac_word...
" >&6; }
7772 if test "${ac_cv_prog_FLEX+set}" = set; then :
7773 $as_echo_n "(cached
) " >&6
7775 if test -n "$FLEX"; then
7776 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir=.
7783 for ac_exec_ext in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_prog_FLEX="$ac_prog"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7795 FLEX=$ac_cv_prog_FLEX
7796 if test -n "$FLEX"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7798 $as_echo "$FLEX" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7801 $as_echo "no
" >&6; }
7805 test -n "$FLEX" && break
7807 test -n "$FLEX" || FLEX="$MISSING flex
"
7809 case " $build_configdirs " in
7810 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7813 for ac_prog in makeinfo
7815 # Extract the first word of "$ac_prog", so it can be a program name with args.
7816 set dummy $ac_prog; ac_word=$2
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7818 $as_echo_n "checking
for $ac_word...
" >&6; }
7819 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7820 $as_echo_n "(cached
) " >&6
7822 if test -n "$MAKEINFO"; then
7823 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 test -z "$as_dir" && as_dir=.
7830 for ac_exec_ext in '' $ac_executable_extensions; do
7831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7832 ac_cv_prog_MAKEINFO="$ac_prog"
7833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7842 MAKEINFO=$ac_cv_prog_MAKEINFO
7843 if test -n "$MAKEINFO"; then
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7845 $as_echo "$MAKEINFO" >&6; }
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7848 $as_echo "no
" >&6; }
7852 test -n "$MAKEINFO" && break
7854 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7856 case " $build_configdirs " in
7857 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7860 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7861 # higher, else we use the "missing
" dummy.
7862 if ${MAKEINFO} --version \
7863 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7866 MAKEINFO="$MISSING makeinfo
"
7872 # FIXME: expect and dejagnu may become build tools?
7874 for ac_prog in expect
7876 # Extract the first word of "$ac_prog", so it can be a program name with args.
7877 set dummy $ac_prog; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7879 $as_echo_n "checking
for $ac_word...
" >&6; }
7880 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7881 $as_echo_n "(cached
) " >&6
7883 if test -n "$EXPECT"; then
7884 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893 ac_cv_prog_EXPECT="$ac_prog"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7903 EXPECT=$ac_cv_prog_EXPECT
7904 if test -n "$EXPECT"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7906 $as_echo "$EXPECT" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7909 $as_echo "no
" >&6; }
7913 test -n "$EXPECT" && break
7915 test -n "$EXPECT" || EXPECT="expect
"
7917 case " $configdirs " in
7919 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7923 for ac_prog in runtest
7925 # Extract the first word of "$ac_prog", so it can be a program name with args.
7926 set dummy $ac_prog; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7928 $as_echo_n "checking
for $ac_word...
" >&6; }
7929 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7930 $as_echo_n "(cached
) " >&6
7932 if test -n "$RUNTEST"; then
7933 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942 ac_cv_prog_RUNTEST="$ac_prog"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7952 RUNTEST=$ac_cv_prog_RUNTEST
7953 if test -n "$RUNTEST"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7955 $as_echo "$RUNTEST" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7958 $as_echo "no
" >&6; }
7962 test -n "$RUNTEST" && break
7964 test -n "$RUNTEST" || RUNTEST="runtest
"
7966 case " $configdirs " in
7968 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7975 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7976 ncn_target_tool_prefix=
7977 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7981 if test -n "$AR"; then
7983 elif test -n "$ac_cv_prog_AR"; then
7987 if test -n "$ac_cv_prog_AR"; then
7988 for ncn_progname in ar; do
7989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7990 set dummy ${ncn_progname}; ac_word=$2
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7992 $as_echo_n "checking
for $ac_word...
" >&6; }
7993 if test "${ac_cv_prog_AR+set}" = set; then :
7994 $as_echo_n "(cached
) " >&6
7996 if test -n "$AR"; then
7997 ac_cv_prog_AR="$AR" # Let the user override the test.
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir=.
8004 for ac_exec_ext in '' $ac_executable_extensions; do
8005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8006 ac_cv_prog_AR="${ncn_progname}"
8007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8017 if test -n "$AR"; then
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8019 $as_echo "$AR" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8022 $as_echo "no
" >&6; }
8029 for ncn_progname in ar; do
8030 if test -n "$ncn_tool_prefix"; then
8031 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8032 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8034 $as_echo_n "checking
for $ac_word...
" >&6; }
8035 if test "${ac_cv_prog_AR+set}" = set; then :
8036 $as_echo_n "(cached
) " >&6
8038 if test -n "$AR"; then
8039 ac_cv_prog_AR="$AR" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 if test -n "$AR"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8061 $as_echo "$AR" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8064 $as_echo "no
" >&6; }
8069 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8071 set dummy ${ncn_progname}; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if test "${ac_cv_prog_AR+set}" = set; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$AR"; then
8078 ac_cv_prog_AR="$AR" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8087 ac_cv_prog_AR="${ncn_progname}"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 if test -n "$AR"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8100 $as_echo "$AR" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8108 test -n "$ac_cv_prog_AR" && break
8111 if test -z "$ac_cv_prog_AR" ; then
8113 if test $build = $host ; then
8116 AR="${ncn_tool_prefix}$2"
8122 if test -n "$AS"; then
8124 elif test -n "$ac_cv_prog_AS"; then
8128 if test -n "$ac_cv_prog_AS"; then
8129 for ncn_progname in as; do
8130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8131 set dummy ${ncn_progname}; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if test "${ac_cv_prog_AS+set}" = set; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$AS"; then
8138 ac_cv_prog_AS="$AS" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8147 ac_cv_prog_AS="${ncn_progname}"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8158 if test -n "$AS"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8160 $as_echo "$AS" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8170 for ncn_progname in as; do
8171 if test -n "$ncn_tool_prefix"; then
8172 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8173 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if test "${ac_cv_prog_AS+set}" = set; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$AS"; then
8180 ac_cv_prog_AS="$AS" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8200 if test -n "$AS"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8202 $as_echo "$AS" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8210 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8212 set dummy ${ncn_progname}; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8214 $as_echo_n "checking
for $ac_word...
" >&6; }
8215 if test "${ac_cv_prog_AS+set}" = set; then :
8216 $as_echo_n "(cached
) " >&6
8218 if test -n "$AS"; then
8219 ac_cv_prog_AS="$AS" # Let the user override the test.
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228 ac_cv_prog_AS="${ncn_progname}"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8239 if test -n "$AS"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8241 $as_echo "$AS" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8244 $as_echo "no
" >&6; }
8249 test -n "$ac_cv_prog_AS" && break
8252 if test -z "$ac_cv_prog_AS" ; then
8254 if test $build = $host ; then
8257 AS="${ncn_tool_prefix}$2"
8263 if test -n "$DLLTOOL"; then
8264 ac_cv_prog_DLLTOOL=$DLLTOOL
8265 elif test -n "$ac_cv_prog_DLLTOOL"; then
8266 DLLTOOL=$ac_cv_prog_DLLTOOL
8269 if test -n "$ac_cv_prog_DLLTOOL"; then
8270 for ncn_progname in dlltool; do
8271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8272 set dummy ${ncn_progname}; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8274 $as_echo_n "checking
for $ac_word...
" >&6; }
8275 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8276 $as_echo_n "(cached
) " >&6
8278 if test -n "$DLLTOOL"; then
8279 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8288 ac_cv_prog_DLLTOOL="${ncn_progname}"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8298 DLLTOOL=$ac_cv_prog_DLLTOOL
8299 if test -n "$DLLTOOL"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8301 $as_echo "$DLLTOOL" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8304 $as_echo "no
" >&6; }
8311 for ncn_progname in dlltool; do
8312 if test -n "$ncn_tool_prefix"; then
8313 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8314 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8316 $as_echo_n "checking
for $ac_word...
" >&6; }
8317 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8318 $as_echo_n "(cached
) " >&6
8320 if test -n "$DLLTOOL"; then
8321 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8340 DLLTOOL=$ac_cv_prog_DLLTOOL
8341 if test -n "$DLLTOOL"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8343 $as_echo "$DLLTOOL" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8346 $as_echo "no
" >&6; }
8351 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8352 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8353 set dummy ${ncn_progname}; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8355 $as_echo_n "checking
for $ac_word...
" >&6; }
8356 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8357 $as_echo_n "(cached
) " >&6
8359 if test -n "$DLLTOOL"; then
8360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_DLLTOOL="${ncn_progname}"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8379 DLLTOOL=$ac_cv_prog_DLLTOOL
8380 if test -n "$DLLTOOL"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8382 $as_echo "$DLLTOOL" >&6; }
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8385 $as_echo "no
" >&6; }
8390 test -n "$ac_cv_prog_DLLTOOL" && break
8393 if test -z "$ac_cv_prog_DLLTOOL" ; then
8395 if test $build = $host ; then
8398 DLLTOOL="${ncn_tool_prefix}$2"
8404 if test -n "$LD"; then
8406 elif test -n "$ac_cv_prog_LD"; then
8410 if test -n "$ac_cv_prog_LD"; then
8411 for ncn_progname in ld; do
8412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8413 set dummy ${ncn_progname}; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8415 $as_echo_n "checking
for $ac_word...
" >&6; }
8416 if test "${ac_cv_prog_LD+set}" = set; then :
8417 $as_echo_n "(cached
) " >&6
8419 if test -n "$LD"; then
8420 ac_cv_prog_LD="$LD" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8429 ac_cv_prog_LD="${ncn_progname}"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8440 if test -n "$LD"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8442 $as_echo "$LD" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8445 $as_echo "no
" >&6; }
8452 for ncn_progname in ld; do
8453 if test -n "$ncn_tool_prefix"; then
8454 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8455 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8457 $as_echo_n "checking
for $ac_word...
" >&6; }
8458 if test "${ac_cv_prog_LD+set}" = set; then :
8459 $as_echo_n "(cached
) " >&6
8461 if test -n "$LD"; then
8462 ac_cv_prog_LD="$LD" # Let the user override the test.
8464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8468 test -z "$as_dir" && as_dir=.
8469 for ac_exec_ext in '' $ac_executable_extensions; do
8470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8471 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8482 if test -n "$LD"; then
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8484 $as_echo "$LD" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8487 $as_echo "no
" >&6; }
8492 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8494 set dummy ${ncn_progname}; ac_word=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8496 $as_echo_n "checking
for $ac_word...
" >&6; }
8497 if test "${ac_cv_prog_LD+set}" = set; then :
8498 $as_echo_n "(cached
) " >&6
8500 if test -n "$LD"; then
8501 ac_cv_prog_LD="$LD" # Let the user override the test.
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_LD="${ncn_progname}"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8521 if test -n "$LD"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8523 $as_echo "$LD" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8526 $as_echo "no
" >&6; }
8531 test -n "$ac_cv_prog_LD" && break
8534 if test -z "$ac_cv_prog_LD" ; then
8536 if test $build = $host ; then
8539 LD="${ncn_tool_prefix}$2"
8545 if test -n "$LIPO"; then
8546 ac_cv_prog_LIPO=$LIPO
8547 elif test -n "$ac_cv_prog_LIPO"; then
8548 LIPO=$ac_cv_prog_LIPO
8551 if test -n "$ac_cv_prog_LIPO"; then
8552 for ncn_progname in lipo; do
8553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8554 set dummy ${ncn_progname}; ac_word=$2
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8556 $as_echo_n "checking
for $ac_word...
" >&6; }
8557 if test "${ac_cv_prog_LIPO+set}" = set; then :
8558 $as_echo_n "(cached
) " >&6
8560 if test -n "$LIPO"; then
8561 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8567 test -z "$as_dir" && as_dir=.
8568 for ac_exec_ext in '' $ac_executable_extensions; do
8569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8570 ac_cv_prog_LIPO="${ncn_progname}"
8571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8580 LIPO=$ac_cv_prog_LIPO
8581 if test -n "$LIPO"; then
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8583 $as_echo "$LIPO" >&6; }
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8586 $as_echo "no
" >&6; }
8593 for ncn_progname in lipo; do
8594 if test -n "$ncn_tool_prefix"; then
8595 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8596 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8598 $as_echo_n "checking
for $ac_word...
" >&6; }
8599 if test "${ac_cv_prog_LIPO+set}" = set; then :
8600 $as_echo_n "(cached
) " >&6
8602 if test -n "$LIPO"; then
8603 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8612 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8622 LIPO=$ac_cv_prog_LIPO
8623 if test -n "$LIPO"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8625 $as_echo "$LIPO" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8628 $as_echo "no
" >&6; }
8633 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8634 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8635 set dummy ${ncn_progname}; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8637 $as_echo_n "checking
for $ac_word...
" >&6; }
8638 if test "${ac_cv_prog_LIPO+set}" = set; then :
8639 $as_echo_n "(cached
) " >&6
8641 if test -n "$LIPO"; then
8642 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8651 ac_cv_prog_LIPO="${ncn_progname}"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8661 LIPO=$ac_cv_prog_LIPO
8662 if test -n "$LIPO"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8664 $as_echo "$LIPO" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8667 $as_echo "no
" >&6; }
8672 test -n "$ac_cv_prog_LIPO" && break
8675 if test -z "$ac_cv_prog_LIPO" ; then
8677 if test $build = $host ; then
8680 LIPO="${ncn_tool_prefix}$2"
8686 if test -n "$NM"; then
8688 elif test -n "$ac_cv_prog_NM"; then
8692 if test -n "$ac_cv_prog_NM"; then
8693 for ncn_progname in nm; do
8694 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8695 set dummy ${ncn_progname}; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8697 $as_echo_n "checking
for $ac_word...
" >&6; }
8698 if test "${ac_cv_prog_NM+set}" = set; then :
8699 $as_echo_n "(cached
) " >&6
8701 if test -n "$NM"; then
8702 ac_cv_prog_NM="$NM" # Let the user override the test.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8711 ac_cv_prog_NM="${ncn_progname}"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8722 if test -n "$NM"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8724 $as_echo "$NM" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8727 $as_echo "no
" >&6; }
8734 for ncn_progname in nm; do
8735 if test -n "$ncn_tool_prefix"; then
8736 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8737 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8739 $as_echo_n "checking
for $ac_word...
" >&6; }
8740 if test "${ac_cv_prog_NM+set}" = set; then :
8741 $as_echo_n "(cached
) " >&6
8743 if test -n "$NM"; then
8744 ac_cv_prog_NM="$NM" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8753 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8764 if test -n "$NM"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8766 $as_echo "$NM" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8769 $as_echo "no
" >&6; }
8774 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8776 set dummy ${ncn_progname}; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8778 $as_echo_n "checking
for $ac_word...
" >&6; }
8779 if test "${ac_cv_prog_NM+set}" = set; then :
8780 $as_echo_n "(cached
) " >&6
8782 if test -n "$NM"; then
8783 ac_cv_prog_NM="$NM" # Let the user override the test.
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_prog_NM="${ncn_progname}"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8803 if test -n "$NM"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8805 $as_echo "$NM" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8808 $as_echo "no
" >&6; }
8813 test -n "$ac_cv_prog_NM" && break
8816 if test -z "$ac_cv_prog_NM" ; then
8818 if test $build = $host ; then
8821 NM="${ncn_tool_prefix}$2"
8827 if test -n "$RANLIB"; then
8828 ac_cv_prog_RANLIB=$RANLIB
8829 elif test -n "$ac_cv_prog_RANLIB"; then
8830 RANLIB=$ac_cv_prog_RANLIB
8833 if test -n "$ac_cv_prog_RANLIB"; then
8834 for ncn_progname in ranlib; do
8835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8836 set dummy ${ncn_progname}; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8838 $as_echo_n "checking
for $ac_word...
" >&6; }
8839 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8840 $as_echo_n "(cached
) " >&6
8842 if test -n "$RANLIB"; then
8843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir=.
8850 for ac_exec_ext in '' $ac_executable_extensions; do
8851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8852 ac_cv_prog_RANLIB="${ncn_progname}"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8862 RANLIB=$ac_cv_prog_RANLIB
8863 if test -n "$RANLIB"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8865 $as_echo "$RANLIB" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8868 $as_echo "no
" >&6; }
8875 for ncn_progname in ranlib; do
8876 if test -n "$ncn_tool_prefix"; then
8877 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8878 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8880 $as_echo_n "checking
for $ac_word...
" >&6; }
8881 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8882 $as_echo_n "(cached
) " >&6
8884 if test -n "$RANLIB"; then
8885 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8894 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8904 RANLIB=$ac_cv_prog_RANLIB
8905 if test -n "$RANLIB"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8907 $as_echo "$RANLIB" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8910 $as_echo "no
" >&6; }
8915 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8917 set dummy ${ncn_progname}; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8919 $as_echo_n "checking
for $ac_word...
" >&6; }
8920 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8921 $as_echo_n "(cached
) " >&6
8923 if test -n "$RANLIB"; then
8924 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8933 ac_cv_prog_RANLIB="${ncn_progname}"
8934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8943 RANLIB=$ac_cv_prog_RANLIB
8944 if test -n "$RANLIB"; then
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8946 $as_echo "$RANLIB" >&6; }
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8949 $as_echo "no
" >&6; }
8954 test -n "$ac_cv_prog_RANLIB" && break
8957 if test -z "$ac_cv_prog_RANLIB" ; then
8963 if test -n "$STRIP"; then
8964 ac_cv_prog_STRIP=$STRIP
8965 elif test -n "$ac_cv_prog_STRIP"; then
8966 STRIP=$ac_cv_prog_STRIP
8969 if test -n "$ac_cv_prog_STRIP"; then
8970 for ncn_progname in strip; do
8971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8972 set dummy ${ncn_progname}; ac_word=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8974 $as_echo_n "checking
for $ac_word...
" >&6; }
8975 if test "${ac_cv_prog_STRIP+set}" = set; then :
8976 $as_echo_n "(cached
) " >&6
8978 if test -n "$STRIP"; then
8979 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_STRIP="${ncn_progname}"
8989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8998 STRIP=$ac_cv_prog_STRIP
8999 if test -n "$STRIP"; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9001 $as_echo "$STRIP" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9004 $as_echo "no
" >&6; }
9011 for ncn_progname in strip; do
9012 if test -n "$ncn_tool_prefix"; then
9013 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9014 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9016 $as_echo_n "checking
for $ac_word...
" >&6; }
9017 if test "${ac_cv_prog_STRIP+set}" = set; then :
9018 $as_echo_n "(cached
) " >&6
9020 if test -n "$STRIP"; then
9021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9027 test -z "$as_dir" && as_dir=.
9028 for ac_exec_ext in '' $ac_executable_extensions; do
9029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9030 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9040 STRIP=$ac_cv_prog_STRIP
9041 if test -n "$STRIP"; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9043 $as_echo "$STRIP" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9046 $as_echo "no
" >&6; }
9051 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9052 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9053 set dummy ${ncn_progname}; ac_word=$2
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9055 $as_echo_n "checking
for $ac_word...
" >&6; }
9056 if test "${ac_cv_prog_STRIP+set}" = set; then :
9057 $as_echo_n "(cached
) " >&6
9059 if test -n "$STRIP"; then
9060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9066 test -z "$as_dir" && as_dir=.
9067 for ac_exec_ext in '' $ac_executable_extensions; do
9068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9069 ac_cv_prog_STRIP="${ncn_progname}"
9070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9079 STRIP=$ac_cv_prog_STRIP
9080 if test -n "$STRIP"; then
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9082 $as_echo "$STRIP" >&6; }
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9085 $as_echo "no
" >&6; }
9090 test -n "$ac_cv_prog_STRIP" && break
9093 if test -z "$ac_cv_prog_STRIP" ; then
9099 if test -n "$WINDRES"; then
9100 ac_cv_prog_WINDRES=$WINDRES
9101 elif test -n "$ac_cv_prog_WINDRES"; then
9102 WINDRES=$ac_cv_prog_WINDRES
9105 if test -n "$ac_cv_prog_WINDRES"; then
9106 for ncn_progname in windres; do
9107 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9108 set dummy ${ncn_progname}; ac_word=$2
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9110 $as_echo_n "checking
for $ac_word...
" >&6; }
9111 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9112 $as_echo_n "(cached
) " >&6
9114 if test -n "$WINDRES"; then
9115 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9121 test -z "$as_dir" && as_dir=.
9122 for ac_exec_ext in '' $ac_executable_extensions; do
9123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9124 ac_cv_prog_WINDRES="${ncn_progname}"
9125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9134 WINDRES=$ac_cv_prog_WINDRES
9135 if test -n "$WINDRES"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9137 $as_echo "$WINDRES" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9140 $as_echo "no
" >&6; }
9147 for ncn_progname in windres; do
9148 if test -n "$ncn_tool_prefix"; then
9149 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9150 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$WINDRES"; then
9157 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 WINDRES=$ac_cv_prog_WINDRES
9177 if test -n "$WINDRES"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9179 $as_echo "$WINDRES" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9187 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9189 set dummy ${ncn_progname}; ac_word=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9191 $as_echo_n "checking
for $ac_word...
" >&6; }
9192 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9193 $as_echo_n "(cached
) " >&6
9195 if test -n "$WINDRES"; then
9196 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9202 test -z "$as_dir" && as_dir=.
9203 for ac_exec_ext in '' $ac_executable_extensions; do
9204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9205 ac_cv_prog_WINDRES="${ncn_progname}"
9206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9215 WINDRES=$ac_cv_prog_WINDRES
9216 if test -n "$WINDRES"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9218 $as_echo "$WINDRES" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9221 $as_echo "no
" >&6; }
9226 test -n "$ac_cv_prog_WINDRES" && break
9229 if test -z "$ac_cv_prog_WINDRES" ; then
9231 if test $build = $host ; then
9234 WINDRES="${ncn_tool_prefix}$2"
9240 if test -n "$WINDMC"; then
9241 ac_cv_prog_WINDMC=$WINDMC
9242 elif test -n "$ac_cv_prog_WINDMC"; then
9243 WINDMC=$ac_cv_prog_WINDMC
9246 if test -n "$ac_cv_prog_WINDMC"; then
9247 for ncn_progname in windmc; do
9248 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9249 set dummy ${ncn_progname}; ac_word=$2
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9251 $as_echo_n "checking
for $ac_word...
" >&6; }
9252 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9253 $as_echo_n "(cached
) " >&6
9255 if test -n "$WINDMC"; then
9256 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir=.
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265 ac_cv_prog_WINDMC="${ncn_progname}"
9266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9275 WINDMC=$ac_cv_prog_WINDMC
9276 if test -n "$WINDMC"; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9278 $as_echo "$WINDMC" >&6; }
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9281 $as_echo "no
" >&6; }
9288 for ncn_progname in windmc; do
9289 if test -n "$ncn_tool_prefix"; then
9290 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9291 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9293 $as_echo_n "checking
for $ac_word...
" >&6; }
9294 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9295 $as_echo_n "(cached
) " >&6
9297 if test -n "$WINDMC"; then
9298 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9317 WINDMC=$ac_cv_prog_WINDMC
9318 if test -n "$WINDMC"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9320 $as_echo "$WINDMC" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9323 $as_echo "no
" >&6; }
9328 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9329 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9330 set dummy ${ncn_progname}; ac_word=$2
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9332 $as_echo_n "checking
for $ac_word...
" >&6; }
9333 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9334 $as_echo_n "(cached
) " >&6
9336 if test -n "$WINDMC"; then
9337 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9343 test -z "$as_dir" && as_dir=.
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9346 ac_cv_prog_WINDMC="${ncn_progname}"
9347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9356 WINDMC=$ac_cv_prog_WINDMC
9357 if test -n "$WINDMC"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9359 $as_echo "$WINDMC" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9362 $as_echo "no
" >&6; }
9367 test -n "$ac_cv_prog_WINDMC" && break
9370 if test -z "$ac_cv_prog_WINDMC" ; then
9372 if test $build = $host ; then
9375 WINDMC="${ncn_tool_prefix}$2"
9381 if test -n "$OBJCOPY"; then
9382 ac_cv_prog_OBJCOPY=$OBJCOPY
9383 elif test -n "$ac_cv_prog_OBJCOPY"; then
9384 OBJCOPY=$ac_cv_prog_OBJCOPY
9387 if test -n "$ac_cv_prog_OBJCOPY"; then
9388 for ncn_progname in objcopy; do
9389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9390 set dummy ${ncn_progname}; ac_word=$2
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9392 $as_echo_n "checking
for $ac_word...
" >&6; }
9393 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9394 $as_echo_n "(cached
) " >&6
9396 if test -n "$OBJCOPY"; then
9397 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir=.
9404 for ac_exec_ext in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_prog_OBJCOPY="${ncn_progname}"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9416 OBJCOPY=$ac_cv_prog_OBJCOPY
9417 if test -n "$OBJCOPY"; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9419 $as_echo "$OBJCOPY" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9422 $as_echo "no
" >&6; }
9429 for ncn_progname in objcopy; do
9430 if test -n "$ncn_tool_prefix"; then
9431 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9432 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9434 $as_echo_n "checking
for $ac_word...
" >&6; }
9435 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9436 $as_echo_n "(cached
) " >&6
9438 if test -n "$OBJCOPY"; then
9439 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9445 test -z "$as_dir" && as_dir=.
9446 for ac_exec_ext in '' $ac_executable_extensions; do
9447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9448 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9458 OBJCOPY=$ac_cv_prog_OBJCOPY
9459 if test -n "$OBJCOPY"; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9461 $as_echo "$OBJCOPY" >&6; }
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9464 $as_echo "no
" >&6; }
9469 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9471 set dummy ${ncn_progname}; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9473 $as_echo_n "checking
for $ac_word...
" >&6; }
9474 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9475 $as_echo_n "(cached
) " >&6
9477 if test -n "$OBJCOPY"; then
9478 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_OBJCOPY="${ncn_progname}"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9497 OBJCOPY=$ac_cv_prog_OBJCOPY
9498 if test -n "$OBJCOPY"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9500 $as_echo "$OBJCOPY" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9503 $as_echo "no
" >&6; }
9508 test -n "$ac_cv_prog_OBJCOPY" && break
9511 if test -z "$ac_cv_prog_OBJCOPY" ; then
9513 if test $build = $host ; then
9516 OBJCOPY="${ncn_tool_prefix}$2"
9522 if test -n "$OBJDUMP"; then
9523 ac_cv_prog_OBJDUMP=$OBJDUMP
9524 elif test -n "$ac_cv_prog_OBJDUMP"; then
9525 OBJDUMP=$ac_cv_prog_OBJDUMP
9528 if test -n "$ac_cv_prog_OBJDUMP"; then
9529 for ncn_progname in objdump; do
9530 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9531 set dummy ${ncn_progname}; ac_word=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9533 $as_echo_n "checking
for $ac_word...
" >&6; }
9534 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9535 $as_echo_n "(cached
) " >&6
9537 if test -n "$OBJDUMP"; then
9538 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9547 ac_cv_prog_OBJDUMP="${ncn_progname}"
9548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9557 OBJDUMP=$ac_cv_prog_OBJDUMP
9558 if test -n "$OBJDUMP"; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9560 $as_echo "$OBJDUMP" >&6; }
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9563 $as_echo "no
" >&6; }
9570 for ncn_progname in objdump; do
9571 if test -n "$ncn_tool_prefix"; then
9572 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9573 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9575 $as_echo_n "checking
for $ac_word...
" >&6; }
9576 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9577 $as_echo_n "(cached
) " >&6
9579 if test -n "$OBJDUMP"; then
9580 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 test -z "$as_dir" && as_dir=.
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9589 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9599 OBJDUMP=$ac_cv_prog_OBJDUMP
9600 if test -n "$OBJDUMP"; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9602 $as_echo "$OBJDUMP" >&6; }
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9605 $as_echo "no
" >&6; }
9610 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9612 set dummy ${ncn_progname}; ac_word=$2
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9614 $as_echo_n "checking
for $ac_word...
" >&6; }
9615 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9616 $as_echo_n "(cached
) " >&6
9618 if test -n "$OBJDUMP"; then
9619 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9625 test -z "$as_dir" && as_dir=.
9626 for ac_exec_ext in '' $ac_executable_extensions; do
9627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9628 ac_cv_prog_OBJDUMP="${ncn_progname}"
9629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9638 OBJDUMP=$ac_cv_prog_OBJDUMP
9639 if test -n "$OBJDUMP"; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9641 $as_echo "$OBJDUMP" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9644 $as_echo "no
" >&6; }
9649 test -n "$ac_cv_prog_OBJDUMP" && break
9652 if test -z "$ac_cv_prog_OBJDUMP" ; then
9654 if test $build = $host ; then
9657 OBJDUMP="${ncn_tool_prefix}$2"
9663 if test -n "$READELF"; then
9664 ac_cv_prog_READELF=$READELF
9665 elif test -n "$ac_cv_prog_READELF"; then
9666 READELF=$ac_cv_prog_READELF
9669 if test -n "$ac_cv_prog_READELF"; then
9670 for ncn_progname in readelf; do
9671 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9672 set dummy ${ncn_progname}; ac_word=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9674 $as_echo_n "checking
for $ac_word...
" >&6; }
9675 if test "${ac_cv_prog_READELF+set}" = set; then :
9676 $as_echo_n "(cached
) " >&6
9678 if test -n "$READELF"; then
9679 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9688 ac_cv_prog_READELF="${ncn_progname}"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9698 READELF=$ac_cv_prog_READELF
9699 if test -n "$READELF"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9701 $as_echo "$READELF" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9704 $as_echo "no
" >&6; }
9711 for ncn_progname in readelf; do
9712 if test -n "$ncn_tool_prefix"; then
9713 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9714 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9716 $as_echo_n "checking
for $ac_word...
" >&6; }
9717 if test "${ac_cv_prog_READELF+set}" = set; then :
9718 $as_echo_n "(cached
) " >&6
9720 if test -n "$READELF"; then
9721 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9740 READELF=$ac_cv_prog_READELF
9741 if test -n "$READELF"; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9743 $as_echo "$READELF" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9746 $as_echo "no
" >&6; }
9751 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9753 set dummy ${ncn_progname}; ac_word=$2
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9755 $as_echo_n "checking
for $ac_word...
" >&6; }
9756 if test "${ac_cv_prog_READELF+set}" = set; then :
9757 $as_echo_n "(cached
) " >&6
9759 if test -n "$READELF"; then
9760 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir=.
9767 for ac_exec_ext in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_prog_READELF="${ncn_progname}"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9779 READELF=$ac_cv_prog_READELF
9780 if test -n "$READELF"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9782 $as_echo "$READELF" >&6; }
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9785 $as_echo "no
" >&6; }
9790 test -n "$ac_cv_prog_READELF" && break
9793 if test -z "$ac_cv_prog_READELF" ; then
9795 if test $build = $host ; then
9798 READELF="${ncn_tool_prefix}$2"
9809 # Check whether --with-build-time-tools was given.
9810 if test "${with_build_time_tools+set}" = set; then :
9811 withval=$with_build_time_tools; case x"$withval" in
9814 with_build_time_tools=
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9816 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9820 with_build_time_tools=
9826 if test -n "$CC_FOR_TARGET"; then
9827 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9828 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9829 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9832 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9833 for ncn_progname in cc gcc; do
9834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9835 set dummy ${ncn_progname}; ac_word=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9837 $as_echo_n "checking
for $ac_word...
" >&6; }
9838 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9839 $as_echo_n "(cached
) " >&6
9841 if test -n "$CC_FOR_TARGET"; then
9842 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9848 test -z "$as_dir" && as_dir=.
9849 for ac_exec_ext in '' $ac_executable_extensions; do
9850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9851 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9861 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9862 if test -n "$CC_FOR_TARGET"; then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9864 $as_echo "$CC_FOR_TARGET" >&6; }
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9867 $as_echo "no
" >&6; }
9874 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9875 for ncn_progname in cc gcc; do
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9877 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9878 if test -x $with_build_time_tools/${ncn_progname}; then
9879 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9881 $as_echo "yes" >&6; }
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9885 $as_echo "no
" >&6; }
9890 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9891 for ncn_progname in cc gcc; do
9892 if test -n "$ncn_target_tool_prefix"; then
9893 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9894 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9896 $as_echo_n "checking
for $ac_word...
" >&6; }
9897 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9898 $as_echo_n "(cached
) " >&6
9900 if test -n "$CC_FOR_TARGET"; then
9901 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 test -z "$as_dir" && as_dir=.
9908 for ac_exec_ext in '' $ac_executable_extensions; do
9909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9910 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9920 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9921 if test -n "$CC_FOR_TARGET"; then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9923 $as_echo "$CC_FOR_TARGET" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9926 $as_echo "no
" >&6; }
9931 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9933 set dummy ${ncn_progname}; ac_word=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9935 $as_echo_n "checking
for $ac_word...
" >&6; }
9936 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9937 $as_echo_n "(cached
) " >&6
9939 if test -n "$CC_FOR_TARGET"; then
9940 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 test -z "$as_dir" && as_dir=.
9947 for ac_exec_ext in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9959 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9960 if test -n "$CC_FOR_TARGET"; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9962 $as_echo "$CC_FOR_TARGET" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9965 $as_echo "no
" >&6; }
9970 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9974 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9976 if test $build = $target ; then
9979 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9982 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9987 if test -n "$CXX_FOR_TARGET"; then
9988 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9989 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9990 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9993 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9994 for ncn_progname in c++ g++ cxx gxx; do
9995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9996 set dummy ${ncn_progname}; ac_word=$2
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9998 $as_echo_n "checking
for $ac_word...
" >&6; }
9999 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10000 $as_echo_n "(cached
) " >&6
10002 if test -n "$CXX_FOR_TARGET"; then
10003 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in $PATH
10009 test -z "$as_dir" && as_dir=.
10010 for ac_exec_ext in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10022 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10023 if test -n "$CXX_FOR_TARGET"; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10025 $as_echo "$CXX_FOR_TARGET" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10028 $as_echo "no
" >&6; }
10035 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10036 for ncn_progname in c++ g++ cxx gxx; do
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10038 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10039 if test -x $with_build_time_tools/${ncn_progname}; then
10040 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10042 $as_echo "yes" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10046 $as_echo "no
" >&6; }
10051 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10052 for ncn_progname in c++ g++ cxx gxx; do
10053 if test -n "$ncn_target_tool_prefix"; then
10054 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10055 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10057 $as_echo_n "checking
for $ac_word...
" >&6; }
10058 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10059 $as_echo_n "(cached
) " >&6
10061 if test -n "$CXX_FOR_TARGET"; then
10062 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10081 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10082 if test -n "$CXX_FOR_TARGET"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10084 $as_echo "$CXX_FOR_TARGET" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10087 $as_echo "no
" >&6; }
10092 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10093 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10094 set dummy ${ncn_progname}; ac_word=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10096 $as_echo_n "checking
for $ac_word...
" >&6; }
10097 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10098 $as_echo_n "(cached
) " >&6
10100 if test -n "$CXX_FOR_TARGET"; then
10101 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10120 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10121 if test -n "$CXX_FOR_TARGET"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10123 $as_echo "$CXX_FOR_TARGET" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10126 $as_echo "no
" >&6; }
10131 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10135 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10136 set dummy c++ g++ cxx gxx
10137 if test $build = $target ; then
10138 CXX_FOR_TARGET="$2"
10140 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10143 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10148 if test -n "$GCC_FOR_TARGET"; then
10149 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10150 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10151 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10154 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10155 for ncn_progname in gcc; do
10156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10157 set dummy ${ncn_progname}; ac_word=$2
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10159 $as_echo_n "checking
for $ac_word...
" >&6; }
10160 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10161 $as_echo_n "(cached
) " >&6
10163 if test -n "$GCC_FOR_TARGET"; then
10164 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10167 for as_dir in $PATH
10170 test -z "$as_dir" && as_dir=.
10171 for ac_exec_ext in '' $ac_executable_extensions; do
10172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10173 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10183 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10184 if test -n "$GCC_FOR_TARGET"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10186 $as_echo "$GCC_FOR_TARGET" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10189 $as_echo "no
" >&6; }
10196 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10197 for ncn_progname in gcc; do
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10199 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10200 if test -x $with_build_time_tools/${ncn_progname}; then
10201 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10203 $as_echo "yes" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10207 $as_echo "no
" >&6; }
10212 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10213 for ncn_progname in gcc; do
10214 if test -n "$ncn_target_tool_prefix"; then
10215 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10216 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10218 $as_echo_n "checking
for $ac_word...
" >&6; }
10219 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10220 $as_echo_n "(cached
) " >&6
10222 if test -n "$GCC_FOR_TARGET"; then
10223 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10226 for as_dir in $PATH
10229 test -z "$as_dir" && as_dir=.
10230 for ac_exec_ext in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10242 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10243 if test -n "$GCC_FOR_TARGET"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10245 $as_echo "$GCC_FOR_TARGET" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10248 $as_echo "no
" >&6; }
10253 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10255 set dummy ${ncn_progname}; ac_word=$2
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10257 $as_echo_n "checking
for $ac_word...
" >&6; }
10258 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10259 $as_echo_n "(cached
) " >&6
10261 if test -n "$GCC_FOR_TARGET"; then
10262 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10265 for as_dir in $PATH
10268 test -z "$as_dir" && as_dir=.
10269 for ac_exec_ext in '' $ac_executable_extensions; do
10270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10271 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10281 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10282 if test -n "$GCC_FOR_TARGET"; then
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10284 $as_echo "$GCC_FOR_TARGET" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10287 $as_echo "no
" >&6; }
10292 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10296 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10297 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10299 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10304 if test -n "$GCJ_FOR_TARGET"; then
10305 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10306 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10307 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10310 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10311 for ncn_progname in gcj; do
10312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10313 set dummy ${ncn_progname}; ac_word=$2
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10315 $as_echo_n "checking
for $ac_word...
" >&6; }
10316 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10317 $as_echo_n "(cached
) " >&6
10319 if test -n "$GCJ_FOR_TARGET"; then
10320 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10326 test -z "$as_dir" && as_dir=.
10327 for ac_exec_ext in '' $ac_executable_extensions; do
10328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10329 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10339 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10340 if test -n "$GCJ_FOR_TARGET"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10342 $as_echo "$GCJ_FOR_TARGET" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10345 $as_echo "no
" >&6; }
10352 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10353 for ncn_progname in gcj; do
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10355 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10356 if test -x $with_build_time_tools/${ncn_progname}; then
10357 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10359 $as_echo "yes" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10363 $as_echo "no
" >&6; }
10368 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10369 for ncn_progname in gcj; do
10370 if test -n "$ncn_target_tool_prefix"; then
10371 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10372 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10374 $as_echo_n "checking
for $ac_word...
" >&6; }
10375 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10376 $as_echo_n "(cached
) " >&6
10378 if test -n "$GCJ_FOR_TARGET"; then
10379 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 for as_dir in $PATH
10385 test -z "$as_dir" && as_dir=.
10386 for ac_exec_ext in '' $ac_executable_extensions; do
10387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10388 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10398 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10399 if test -n "$GCJ_FOR_TARGET"; then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10401 $as_echo "$GCJ_FOR_TARGET" >&6; }
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10404 $as_echo "no
" >&6; }
10409 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10411 set dummy ${ncn_progname}; ac_word=$2
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10413 $as_echo_n "checking
for $ac_word...
" >&6; }
10414 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10415 $as_echo_n "(cached
) " >&6
10417 if test -n "$GCJ_FOR_TARGET"; then
10418 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10424 test -z "$as_dir" && as_dir=.
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10427 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10437 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10438 if test -n "$GCJ_FOR_TARGET"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10440 $as_echo "$GCJ_FOR_TARGET" >&6; }
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10443 $as_echo "no
" >&6; }
10448 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10452 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10454 if test $build = $target ; then
10455 GCJ_FOR_TARGET="$2"
10457 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10460 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10465 if test -n "$GFORTRAN_FOR_TARGET"; then
10466 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10467 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10468 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10471 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10472 for ncn_progname in gfortran; do
10473 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10474 set dummy ${ncn_progname}; ac_word=$2
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10476 $as_echo_n "checking
for $ac_word...
" >&6; }
10477 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10478 $as_echo_n "(cached
) " >&6
10480 if test -n "$GFORTRAN_FOR_TARGET"; then
10481 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10484 for as_dir in $PATH
10487 test -z "$as_dir" && as_dir=.
10488 for ac_exec_ext in '' $ac_executable_extensions; do
10489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10490 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10500 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10501 if test -n "$GFORTRAN_FOR_TARGET"; then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10503 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10506 $as_echo "no
" >&6; }
10513 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10514 for ncn_progname in gfortran; do
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10516 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10517 if test -x $with_build_time_tools/${ncn_progname}; then
10518 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10520 $as_echo "yes" >&6; }
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10524 $as_echo "no
" >&6; }
10529 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10530 for ncn_progname in gfortran; do
10531 if test -n "$ncn_target_tool_prefix"; then
10532 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10533 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10535 $as_echo_n "checking
for $ac_word...
" >&6; }
10536 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10537 $as_echo_n "(cached
) " >&6
10539 if test -n "$GFORTRAN_FOR_TARGET"; then
10540 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10549 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10559 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10560 if test -n "$GFORTRAN_FOR_TARGET"; then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10562 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10565 $as_echo "no
" >&6; }
10570 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10572 set dummy ${ncn_progname}; ac_word=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10574 $as_echo_n "checking
for $ac_word...
" >&6; }
10575 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10576 $as_echo_n "(cached
) " >&6
10578 if test -n "$GFORTRAN_FOR_TARGET"; then
10579 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10588 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10598 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10599 if test -n "$GFORTRAN_FOR_TARGET"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10601 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10604 $as_echo "no
" >&6; }
10609 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10613 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10615 if test $build = $target ; then
10616 GFORTRAN_FOR_TARGET="$2"
10618 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10621 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10626 if test -n "$GOC_FOR_TARGET"; then
10627 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10628 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10629 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10632 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10633 for ncn_progname in gccgo; do
10634 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10635 set dummy ${ncn_progname}; ac_word=$2
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10637 $as_echo_n "checking
for $ac_word...
" >&6; }
10638 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10639 $as_echo_n "(cached
) " >&6
10641 if test -n "$GOC_FOR_TARGET"; then
10642 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10645 for as_dir in $PATH
10648 test -z "$as_dir" && as_dir=.
10649 for ac_exec_ext in '' $ac_executable_extensions; do
10650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10651 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10661 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10662 if test -n "$GOC_FOR_TARGET"; then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10664 $as_echo "$GOC_FOR_TARGET" >&6; }
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10667 $as_echo "no
" >&6; }
10674 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10675 for ncn_progname in gccgo; do
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10677 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10678 if test -x $with_build_time_tools/${ncn_progname}; then
10679 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10681 $as_echo "yes" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10685 $as_echo "no
" >&6; }
10690 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10691 for ncn_progname in gccgo; do
10692 if test -n "$ncn_target_tool_prefix"; then
10693 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10694 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10696 $as_echo_n "checking
for $ac_word...
" >&6; }
10697 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10698 $as_echo_n "(cached
) " >&6
10700 if test -n "$GOC_FOR_TARGET"; then
10701 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10704 for as_dir in $PATH
10707 test -z "$as_dir" && as_dir=.
10708 for ac_exec_ext in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10720 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10721 if test -n "$GOC_FOR_TARGET"; then
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10723 $as_echo "$GOC_FOR_TARGET" >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10726 $as_echo "no
" >&6; }
10731 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10733 set dummy ${ncn_progname}; ac_word=$2
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10735 $as_echo_n "checking
for $ac_word...
" >&6; }
10736 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10737 $as_echo_n "(cached
) " >&6
10739 if test -n "$GOC_FOR_TARGET"; then
10740 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10743 for as_dir in $PATH
10746 test -z "$as_dir" && as_dir=.
10747 for ac_exec_ext in '' $ac_executable_extensions; do
10748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10749 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10759 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10760 if test -n "$GOC_FOR_TARGET"; then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10762 $as_echo "$GOC_FOR_TARGET" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10765 $as_echo "no
" >&6; }
10770 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10774 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10776 if test $build = $target ; then
10777 GOC_FOR_TARGET="$2"
10779 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10782 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10787 cat > conftest.c << \EOF
10792 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10793 have_gcc_for_target=yes
10795 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10796 have_gcc_for_target=no
10803 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10804 if test -n "$with_build_time_tools"; then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10806 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10807 if test -x $with_build_time_tools/ar; then
10808 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10809 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10811 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10814 $as_echo "no
" >&6; }
10816 elif test $build != $host && test $have_gcc_for_target = yes; then
10817 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10818 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10819 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10822 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10823 # Extract the first word of "ar", so it can be a program name with args.
10824 set dummy ar; ac_word=$2
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10826 $as_echo_n "checking
for $ac_word...
" >&6; }
10827 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10828 $as_echo_n "(cached
) " >&6
10830 case $AR_FOR_TARGET in
10832 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836 for as_dir in $gcc_cv_tool_dirs
10839 test -z "$as_dir" && as_dir=.
10840 for ac_exec_ext in '' $ac_executable_extensions; do
10841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10842 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10853 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10854 if test -n "$AR_FOR_TARGET"; then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10856 $as_echo "$AR_FOR_TARGET" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10859 $as_echo "no
" >&6; }
10864 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10867 if test -n "$AR_FOR_TARGET"; then
10868 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10869 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10870 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10873 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10874 for ncn_progname in ar; do
10875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10876 set dummy ${ncn_progname}; ac_word=$2
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10878 $as_echo_n "checking
for $ac_word...
" >&6; }
10879 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10880 $as_echo_n "(cached
) " >&6
10882 if test -n "$AR_FOR_TARGET"; then
10883 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10886 for as_dir in $PATH
10889 test -z "$as_dir" && as_dir=.
10890 for ac_exec_ext in '' $ac_executable_extensions; do
10891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10892 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10902 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10903 if test -n "$AR_FOR_TARGET"; then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10905 $as_echo "$AR_FOR_TARGET" >&6; }
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10908 $as_echo "no
" >&6; }
10915 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10916 for ncn_progname in ar; do
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10918 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10919 if test -x $with_build_time_tools/${ncn_progname}; then
10920 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10922 $as_echo "yes" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10926 $as_echo "no
" >&6; }
10931 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10932 for ncn_progname in ar; do
10933 if test -n "$ncn_target_tool_prefix"; then
10934 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10935 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10937 $as_echo_n "checking
for $ac_word...
" >&6; }
10938 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10939 $as_echo_n "(cached
) " >&6
10941 if test -n "$AR_FOR_TARGET"; then
10942 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10945 for as_dir in $PATH
10948 test -z "$as_dir" && as_dir=.
10949 for ac_exec_ext in '' $ac_executable_extensions; do
10950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10951 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10961 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10962 if test -n "$AR_FOR_TARGET"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10964 $as_echo "$AR_FOR_TARGET" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10967 $as_echo "no
" >&6; }
10972 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10974 set dummy ${ncn_progname}; ac_word=$2
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10976 $as_echo_n "checking
for $ac_word...
" >&6; }
10977 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10978 $as_echo_n "(cached
) " >&6
10980 if test -n "$AR_FOR_TARGET"; then
10981 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10984 for as_dir in $PATH
10987 test -z "$as_dir" && as_dir=.
10988 for ac_exec_ext in '' $ac_executable_extensions; do
10989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10990 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11000 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11001 if test -n "$AR_FOR_TARGET"; then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11003 $as_echo "$AR_FOR_TARGET" >&6; }
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11006 $as_echo "no
" >&6; }
11011 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11015 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11017 if test $build = $target ; then
11020 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11023 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11027 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11033 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11034 if test -n "$with_build_time_tools"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11036 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11037 if test -x $with_build_time_tools/as; then
11038 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11039 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11041 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11044 $as_echo "no
" >&6; }
11046 elif test $build != $host && test $have_gcc_for_target = yes; then
11047 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11048 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11049 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11052 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11053 # Extract the first word of "as
", so it can be a program name with args.
11054 set dummy as; ac_word=$2
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11056 $as_echo_n "checking
for $ac_word...
" >&6; }
11057 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11058 $as_echo_n "(cached
) " >&6
11060 case $AS_FOR_TARGET in
11062 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11066 for as_dir in $gcc_cv_tool_dirs
11069 test -z "$as_dir" && as_dir=.
11070 for ac_exec_ext in '' $ac_executable_extensions; do
11071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11072 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11083 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11084 if test -n "$AS_FOR_TARGET"; then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11086 $as_echo "$AS_FOR_TARGET" >&6; }
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11089 $as_echo "no
" >&6; }
11094 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11097 if test -n "$AS_FOR_TARGET"; then
11098 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11099 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11100 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11103 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11104 for ncn_progname in as; do
11105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11106 set dummy ${ncn_progname}; ac_word=$2
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11108 $as_echo_n "checking
for $ac_word...
" >&6; }
11109 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11110 $as_echo_n "(cached
) " >&6
11112 if test -n "$AS_FOR_TARGET"; then
11113 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11116 for as_dir in $PATH
11119 test -z "$as_dir" && as_dir=.
11120 for ac_exec_ext in '' $ac_executable_extensions; do
11121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11122 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11132 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11133 if test -n "$AS_FOR_TARGET"; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11135 $as_echo "$AS_FOR_TARGET" >&6; }
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11138 $as_echo "no
" >&6; }
11145 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11146 for ncn_progname in as; do
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11148 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11149 if test -x $with_build_time_tools/${ncn_progname}; then
11150 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11152 $as_echo "yes" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11156 $as_echo "no
" >&6; }
11161 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11162 for ncn_progname in as; do
11163 if test -n "$ncn_target_tool_prefix"; then
11164 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11165 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11167 $as_echo_n "checking
for $ac_word...
" >&6; }
11168 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11169 $as_echo_n "(cached
) " >&6
11171 if test -n "$AS_FOR_TARGET"; then
11172 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11175 for as_dir in $PATH
11178 test -z "$as_dir" && as_dir=.
11179 for ac_exec_ext in '' $ac_executable_extensions; do
11180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11181 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11191 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11192 if test -n "$AS_FOR_TARGET"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11194 $as_echo "$AS_FOR_TARGET" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11197 $as_echo "no
" >&6; }
11202 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11204 set dummy ${ncn_progname}; ac_word=$2
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11206 $as_echo_n "checking
for $ac_word...
" >&6; }
11207 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11208 $as_echo_n "(cached
) " >&6
11210 if test -n "$AS_FOR_TARGET"; then
11211 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11214 for as_dir in $PATH
11217 test -z "$as_dir" && as_dir=.
11218 for ac_exec_ext in '' $ac_executable_extensions; do
11219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11220 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11230 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11231 if test -n "$AS_FOR_TARGET"; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11233 $as_echo "$AS_FOR_TARGET" >&6; }
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11236 $as_echo "no
" >&6; }
11241 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11245 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11247 if test $build = $target ; then
11250 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11253 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11257 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11263 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11264 if test -n "$with_build_time_tools"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11266 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11267 if test -x $with_build_time_tools/dlltool; then
11268 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11269 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11271 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11274 $as_echo "no
" >&6; }
11276 elif test $build != $host && test $have_gcc_for_target = yes; then
11277 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11278 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11279 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11282 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11283 # Extract the first word of "dlltool
", so it can be a program name with args.
11284 set dummy dlltool; ac_word=$2
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11286 $as_echo_n "checking
for $ac_word...
" >&6; }
11287 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11288 $as_echo_n "(cached
) " >&6
11290 case $DLLTOOL_FOR_TARGET in
11292 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11296 for as_dir in $gcc_cv_tool_dirs
11299 test -z "$as_dir" && as_dir=.
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11302 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11313 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11314 if test -n "$DLLTOOL_FOR_TARGET"; then
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11316 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11319 $as_echo "no
" >&6; }
11324 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11327 if test -n "$DLLTOOL_FOR_TARGET"; then
11328 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11329 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11330 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11333 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11334 for ncn_progname in dlltool; do
11335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11336 set dummy ${ncn_progname}; ac_word=$2
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11338 $as_echo_n "checking
for $ac_word...
" >&6; }
11339 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11340 $as_echo_n "(cached
) " >&6
11342 if test -n "$DLLTOOL_FOR_TARGET"; then
11343 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11346 for as_dir in $PATH
11349 test -z "$as_dir" && as_dir=.
11350 for ac_exec_ext in '' $ac_executable_extensions; do
11351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11352 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11362 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11363 if test -n "$DLLTOOL_FOR_TARGET"; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11365 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11368 $as_echo "no
" >&6; }
11375 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11376 for ncn_progname in dlltool; do
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11378 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11379 if test -x $with_build_time_tools/${ncn_progname}; then
11380 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11382 $as_echo "yes" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11386 $as_echo "no
" >&6; }
11391 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11392 for ncn_progname in dlltool; do
11393 if test -n "$ncn_target_tool_prefix"; then
11394 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11395 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11397 $as_echo_n "checking
for $ac_word...
" >&6; }
11398 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11399 $as_echo_n "(cached
) " >&6
11401 if test -n "$DLLTOOL_FOR_TARGET"; then
11402 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11405 for as_dir in $PATH
11408 test -z "$as_dir" && as_dir=.
11409 for ac_exec_ext in '' $ac_executable_extensions; do
11410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11411 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11421 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11422 if test -n "$DLLTOOL_FOR_TARGET"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11424 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11427 $as_echo "no
" >&6; }
11432 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11434 set dummy ${ncn_progname}; ac_word=$2
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11436 $as_echo_n "checking
for $ac_word...
" >&6; }
11437 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11438 $as_echo_n "(cached
) " >&6
11440 if test -n "$DLLTOOL_FOR_TARGET"; then
11441 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11444 for as_dir in $PATH
11447 test -z "$as_dir" && as_dir=.
11448 for ac_exec_ext in '' $ac_executable_extensions; do
11449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11450 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11460 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11461 if test -n "$DLLTOOL_FOR_TARGET"; then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11463 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11466 $as_echo "no
" >&6; }
11471 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11475 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11477 if test $build = $target ; then
11478 DLLTOOL_FOR_TARGET="$2"
11480 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11483 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11487 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11493 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11494 if test -n "$with_build_time_tools"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11496 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11497 if test -x $with_build_time_tools/ld; then
11498 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11499 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11501 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11504 $as_echo "no
" >&6; }
11506 elif test $build != $host && test $have_gcc_for_target = yes; then
11507 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11508 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11509 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11512 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11513 # Extract the first word of "ld
", so it can be a program name with args.
11514 set dummy ld; ac_word=$2
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11516 $as_echo_n "checking
for $ac_word...
" >&6; }
11517 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11518 $as_echo_n "(cached
) " >&6
11520 case $LD_FOR_TARGET in
11522 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $gcc_cv_tool_dirs
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11532 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11543 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11544 if test -n "$LD_FOR_TARGET"; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11546 $as_echo "$LD_FOR_TARGET" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11549 $as_echo "no
" >&6; }
11554 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11557 if test -n "$LD_FOR_TARGET"; then
11558 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11559 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11560 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11563 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11564 for ncn_progname in ld; do
11565 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11566 set dummy ${ncn_progname}; ac_word=$2
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11568 $as_echo_n "checking
for $ac_word...
" >&6; }
11569 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11570 $as_echo_n "(cached
) " >&6
11572 if test -n "$LD_FOR_TARGET"; then
11573 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11576 for as_dir in $PATH
11579 test -z "$as_dir" && as_dir=.
11580 for ac_exec_ext in '' $ac_executable_extensions; do
11581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11582 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11592 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11593 if test -n "$LD_FOR_TARGET"; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11595 $as_echo "$LD_FOR_TARGET" >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11598 $as_echo "no
" >&6; }
11605 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11606 for ncn_progname in ld; do
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11608 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11609 if test -x $with_build_time_tools/${ncn_progname}; then
11610 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11612 $as_echo "yes" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11616 $as_echo "no
" >&6; }
11621 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11622 for ncn_progname in ld; do
11623 if test -n "$ncn_target_tool_prefix"; then
11624 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11625 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11627 $as_echo_n "checking
for $ac_word...
" >&6; }
11628 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11629 $as_echo_n "(cached
) " >&6
11631 if test -n "$LD_FOR_TARGET"; then
11632 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11635 for as_dir in $PATH
11638 test -z "$as_dir" && as_dir=.
11639 for ac_exec_ext in '' $ac_executable_extensions; do
11640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11641 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11651 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11652 if test -n "$LD_FOR_TARGET"; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11654 $as_echo "$LD_FOR_TARGET" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11657 $as_echo "no
" >&6; }
11662 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11664 set dummy ${ncn_progname}; ac_word=$2
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11666 $as_echo_n "checking
for $ac_word...
" >&6; }
11667 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11668 $as_echo_n "(cached
) " >&6
11670 if test -n "$LD_FOR_TARGET"; then
11671 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11680 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11690 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11691 if test -n "$LD_FOR_TARGET"; then
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11693 $as_echo "$LD_FOR_TARGET" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11696 $as_echo "no
" >&6; }
11701 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11705 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11707 if test $build = $target ; then
11710 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11713 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11717 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11723 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11724 if test -n "$with_build_time_tools"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11726 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11727 if test -x $with_build_time_tools/lipo; then
11728 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11729 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11731 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11734 $as_echo "no
" >&6; }
11736 elif test $build != $host && test $have_gcc_for_target = yes; then
11737 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11738 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11739 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11742 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11743 # Extract the first word of "lipo
", so it can be a program name with args.
11744 set dummy lipo; ac_word=$2
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11746 $as_echo_n "checking
for $ac_word...
" >&6; }
11747 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11748 $as_echo_n "(cached
) " >&6
11750 case $LIPO_FOR_TARGET in
11752 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11756 for as_dir in $gcc_cv_tool_dirs
11759 test -z "$as_dir" && as_dir=.
11760 for ac_exec_ext in '' $ac_executable_extensions; do
11761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11762 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11773 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11774 if test -n "$LIPO_FOR_TARGET"; then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11776 $as_echo "$LIPO_FOR_TARGET" >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11779 $as_echo "no
" >&6; }
11784 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11787 if test -n "$LIPO_FOR_TARGET"; then
11788 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11789 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11790 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11793 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11794 for ncn_progname in lipo; do
11795 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11796 set dummy ${ncn_progname}; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11798 $as_echo_n "checking
for $ac_word...
" >&6; }
11799 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11800 $as_echo_n "(cached
) " >&6
11802 if test -n "$LIPO_FOR_TARGET"; then
11803 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11806 for as_dir in $PATH
11809 test -z "$as_dir" && as_dir=.
11810 for ac_exec_ext in '' $ac_executable_extensions; do
11811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11812 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11822 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11823 if test -n "$LIPO_FOR_TARGET"; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11825 $as_echo "$LIPO_FOR_TARGET" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11828 $as_echo "no
" >&6; }
11835 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11836 for ncn_progname in lipo; do
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11838 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11839 if test -x $with_build_time_tools/${ncn_progname}; then
11840 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11842 $as_echo "yes" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11846 $as_echo "no
" >&6; }
11851 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11852 for ncn_progname in lipo; do
11853 if test -n "$ncn_target_tool_prefix"; then
11854 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11855 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11857 $as_echo_n "checking
for $ac_word...
" >&6; }
11858 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11859 $as_echo_n "(cached
) " >&6
11861 if test -n "$LIPO_FOR_TARGET"; then
11862 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11865 for as_dir in $PATH
11868 test -z "$as_dir" && as_dir=.
11869 for ac_exec_ext in '' $ac_executable_extensions; do
11870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11871 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11881 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11882 if test -n "$LIPO_FOR_TARGET"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11884 $as_echo "$LIPO_FOR_TARGET" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11887 $as_echo "no
" >&6; }
11892 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11894 set dummy ${ncn_progname}; ac_word=$2
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11896 $as_echo_n "checking
for $ac_word...
" >&6; }
11897 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11898 $as_echo_n "(cached
) " >&6
11900 if test -n "$LIPO_FOR_TARGET"; then
11901 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904 for as_dir in $PATH
11907 test -z "$as_dir" && as_dir=.
11908 for ac_exec_ext in '' $ac_executable_extensions; do
11909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11910 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11920 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11921 if test -n "$LIPO_FOR_TARGET"; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11923 $as_echo "$LIPO_FOR_TARGET" >&6; }
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11926 $as_echo "no
" >&6; }
11931 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11935 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11937 if test $build = $target ; then
11938 LIPO_FOR_TARGET="$2"
11940 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11943 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11947 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11953 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11954 if test -n "$with_build_time_tools"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11956 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11957 if test -x $with_build_time_tools/nm; then
11958 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11959 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11961 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11964 $as_echo "no
" >&6; }
11966 elif test $build != $host && test $have_gcc_for_target = yes; then
11967 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11968 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11969 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11972 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11973 # Extract the first word of "nm
", so it can be a program name with args.
11974 set dummy nm; ac_word=$2
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11976 $as_echo_n "checking
for $ac_word...
" >&6; }
11977 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11978 $as_echo_n "(cached
) " >&6
11980 case $NM_FOR_TARGET in
11982 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $gcc_cv_tool_dirs
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12003 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12004 if test -n "$NM_FOR_TARGET"; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12006 $as_echo "$NM_FOR_TARGET" >&6; }
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12009 $as_echo "no
" >&6; }
12014 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12017 if test -n "$NM_FOR_TARGET"; then
12018 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12019 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12020 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12023 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12024 for ncn_progname in nm; do
12025 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12026 set dummy ${ncn_progname}; ac_word=$2
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12028 $as_echo_n "checking
for $ac_word...
" >&6; }
12029 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12030 $as_echo_n "(cached
) " >&6
12032 if test -n "$NM_FOR_TARGET"; then
12033 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12036 for as_dir in $PATH
12039 test -z "$as_dir" && as_dir=.
12040 for ac_exec_ext in '' $ac_executable_extensions; do
12041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12042 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12052 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12053 if test -n "$NM_FOR_TARGET"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12055 $as_echo "$NM_FOR_TARGET" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12058 $as_echo "no
" >&6; }
12065 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12066 for ncn_progname in nm; do
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12068 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12069 if test -x $with_build_time_tools/${ncn_progname}; then
12070 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12072 $as_echo "yes" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12076 $as_echo "no
" >&6; }
12081 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12082 for ncn_progname in nm; do
12083 if test -n "$ncn_target_tool_prefix"; then
12084 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12085 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12087 $as_echo_n "checking
for $ac_word...
" >&6; }
12088 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12089 $as_echo_n "(cached
) " >&6
12091 if test -n "$NM_FOR_TARGET"; then
12092 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12095 for as_dir in $PATH
12098 test -z "$as_dir" && as_dir=.
12099 for ac_exec_ext in '' $ac_executable_extensions; do
12100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12101 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12111 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12112 if test -n "$NM_FOR_TARGET"; then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12114 $as_echo "$NM_FOR_TARGET" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12117 $as_echo "no
" >&6; }
12122 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12123 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12124 set dummy ${ncn_progname}; ac_word=$2
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12126 $as_echo_n "checking
for $ac_word...
" >&6; }
12127 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12128 $as_echo_n "(cached
) " >&6
12130 if test -n "$NM_FOR_TARGET"; then
12131 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12134 for as_dir in $PATH
12137 test -z "$as_dir" && as_dir=.
12138 for ac_exec_ext in '' $ac_executable_extensions; do
12139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12140 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12150 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12151 if test -n "$NM_FOR_TARGET"; then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12153 $as_echo "$NM_FOR_TARGET" >&6; }
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12156 $as_echo "no
" >&6; }
12161 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12165 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12167 if test $build = $target ; then
12170 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12173 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12177 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12183 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12184 if test -n "$with_build_time_tools"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12186 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12187 if test -x $with_build_time_tools/objdump; then
12188 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12189 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12191 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12194 $as_echo "no
" >&6; }
12196 elif test $build != $host && test $have_gcc_for_target = yes; then
12197 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12198 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12199 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12202 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12203 # Extract the first word of "objdump
", so it can be a program name with args.
12204 set dummy objdump; ac_word=$2
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12206 $as_echo_n "checking
for $ac_word...
" >&6; }
12207 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12208 $as_echo_n "(cached
) " >&6
12210 case $OBJDUMP_FOR_TARGET in
12212 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $gcc_cv_tool_dirs
12219 test -z "$as_dir" && as_dir=.
12220 for ac_exec_ext in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12233 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12234 if test -n "$OBJDUMP_FOR_TARGET"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12236 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12239 $as_echo "no
" >&6; }
12244 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12247 if test -n "$OBJDUMP_FOR_TARGET"; then
12248 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12249 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12250 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12253 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12254 for ncn_progname in objdump; do
12255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12256 set dummy ${ncn_progname}; ac_word=$2
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12258 $as_echo_n "checking
for $ac_word...
" >&6; }
12259 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12260 $as_echo_n "(cached
) " >&6
12262 if test -n "$OBJDUMP_FOR_TARGET"; then
12263 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12266 for as_dir in $PATH
12269 test -z "$as_dir" && as_dir=.
12270 for ac_exec_ext in '' $ac_executable_extensions; do
12271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12272 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12282 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12283 if test -n "$OBJDUMP_FOR_TARGET"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12285 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12288 $as_echo "no
" >&6; }
12295 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12296 for ncn_progname in objdump; do
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12298 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12299 if test -x $with_build_time_tools/${ncn_progname}; then
12300 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12302 $as_echo "yes" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12306 $as_echo "no
" >&6; }
12311 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12312 for ncn_progname in objdump; do
12313 if test -n "$ncn_target_tool_prefix"; then
12314 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12315 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12317 $as_echo_n "checking
for $ac_word...
" >&6; }
12318 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12319 $as_echo_n "(cached
) " >&6
12321 if test -n "$OBJDUMP_FOR_TARGET"; then
12322 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12325 for as_dir in $PATH
12328 test -z "$as_dir" && as_dir=.
12329 for ac_exec_ext in '' $ac_executable_extensions; do
12330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12331 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12341 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12342 if test -n "$OBJDUMP_FOR_TARGET"; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12344 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12347 $as_echo "no
" >&6; }
12352 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12354 set dummy ${ncn_progname}; ac_word=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12356 $as_echo_n "checking
for $ac_word...
" >&6; }
12357 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12358 $as_echo_n "(cached
) " >&6
12360 if test -n "$OBJDUMP_FOR_TARGET"; then
12361 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12364 for as_dir in $PATH
12367 test -z "$as_dir" && as_dir=.
12368 for ac_exec_ext in '' $ac_executable_extensions; do
12369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12370 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12380 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12381 if test -n "$OBJDUMP_FOR_TARGET"; then
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12383 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12386 $as_echo "no
" >&6; }
12391 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12395 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12397 if test $build = $target ; then
12398 OBJDUMP_FOR_TARGET="$2"
12400 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12403 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12407 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12413 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12414 if test -n "$with_build_time_tools"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12416 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12417 if test -x $with_build_time_tools/ranlib; then
12418 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12419 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12421 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12424 $as_echo "no
" >&6; }
12426 elif test $build != $host && test $have_gcc_for_target = yes; then
12427 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12428 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12429 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12432 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12433 # Extract the first word of "ranlib
", so it can be a program name with args.
12434 set dummy ranlib; ac_word=$2
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12436 $as_echo_n "checking
for $ac_word...
" >&6; }
12437 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12438 $as_echo_n "(cached
) " >&6
12440 case $RANLIB_FOR_TARGET in
12442 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12446 for as_dir in $gcc_cv_tool_dirs
12449 test -z "$as_dir" && as_dir=.
12450 for ac_exec_ext in '' $ac_executable_extensions; do
12451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12452 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12463 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12464 if test -n "$RANLIB_FOR_TARGET"; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12466 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12469 $as_echo "no
" >&6; }
12474 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12477 if test -n "$RANLIB_FOR_TARGET"; then
12478 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12479 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12480 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12483 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12484 for ncn_progname in ranlib; do
12485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12486 set dummy ${ncn_progname}; ac_word=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12488 $as_echo_n "checking
for $ac_word...
" >&6; }
12489 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12490 $as_echo_n "(cached
) " >&6
12492 if test -n "$RANLIB_FOR_TARGET"; then
12493 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12496 for as_dir in $PATH
12499 test -z "$as_dir" && as_dir=.
12500 for ac_exec_ext in '' $ac_executable_extensions; do
12501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12502 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12512 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12513 if test -n "$RANLIB_FOR_TARGET"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12515 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12518 $as_echo "no
" >&6; }
12525 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12526 for ncn_progname in ranlib; do
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12528 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12529 if test -x $with_build_time_tools/${ncn_progname}; then
12530 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12532 $as_echo "yes" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12536 $as_echo "no
" >&6; }
12541 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12542 for ncn_progname in ranlib; do
12543 if test -n "$ncn_target_tool_prefix"; then
12544 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12545 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12547 $as_echo_n "checking
for $ac_word...
" >&6; }
12548 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12549 $as_echo_n "(cached
) " >&6
12551 if test -n "$RANLIB_FOR_TARGET"; then
12552 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12555 for as_dir in $PATH
12558 test -z "$as_dir" && as_dir=.
12559 for ac_exec_ext in '' $ac_executable_extensions; do
12560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12561 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12571 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12572 if test -n "$RANLIB_FOR_TARGET"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12574 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12577 $as_echo "no
" >&6; }
12582 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12584 set dummy ${ncn_progname}; ac_word=$2
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12586 $as_echo_n "checking
for $ac_word...
" >&6; }
12587 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12588 $as_echo_n "(cached
) " >&6
12590 if test -n "$RANLIB_FOR_TARGET"; then
12591 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12594 for as_dir in $PATH
12597 test -z "$as_dir" && as_dir=.
12598 for ac_exec_ext in '' $ac_executable_extensions; do
12599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12600 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12610 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12611 if test -n "$RANLIB_FOR_TARGET"; then
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12613 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12616 $as_echo "no
" >&6; }
12621 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12625 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12627 if test $build = $target ; then
12628 RANLIB_FOR_TARGET="$2"
12630 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12633 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12637 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12643 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12644 if test -n "$with_build_time_tools"; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12646 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12647 if test -x $with_build_time_tools/readelf; then
12648 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12649 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12651 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12654 $as_echo "no
" >&6; }
12656 elif test $build != $host && test $have_gcc_for_target = yes; then
12657 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12658 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12659 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12662 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12663 # Extract the first word of "readelf
", so it can be a program name with args.
12664 set dummy readelf; ac_word=$2
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12666 $as_echo_n "checking
for $ac_word...
" >&6; }
12667 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12668 $as_echo_n "(cached
) " >&6
12670 case $READELF_FOR_TARGET in
12672 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $gcc_cv_tool_dirs
12679 test -z "$as_dir" && as_dir=.
12680 for ac_exec_ext in '' $ac_executable_extensions; do
12681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12682 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12693 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12694 if test -n "$READELF_FOR_TARGET"; then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12696 $as_echo "$READELF_FOR_TARGET" >&6; }
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12699 $as_echo "no
" >&6; }
12704 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12707 if test -n "$READELF_FOR_TARGET"; then
12708 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12709 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12710 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12713 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12714 for ncn_progname in readelf; do
12715 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12716 set dummy ${ncn_progname}; ac_word=$2
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12718 $as_echo_n "checking
for $ac_word...
" >&6; }
12719 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12720 $as_echo_n "(cached
) " >&6
12722 if test -n "$READELF_FOR_TARGET"; then
12723 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12726 for as_dir in $PATH
12729 test -z "$as_dir" && as_dir=.
12730 for ac_exec_ext in '' $ac_executable_extensions; do
12731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12732 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12742 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12743 if test -n "$READELF_FOR_TARGET"; then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12745 $as_echo "$READELF_FOR_TARGET" >&6; }
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12748 $as_echo "no
" >&6; }
12755 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12756 for ncn_progname in readelf; do
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12758 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12759 if test -x $with_build_time_tools/${ncn_progname}; then
12760 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12762 $as_echo "yes" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12766 $as_echo "no
" >&6; }
12771 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12772 for ncn_progname in readelf; do
12773 if test -n "$ncn_target_tool_prefix"; then
12774 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12775 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12777 $as_echo_n "checking
for $ac_word...
" >&6; }
12778 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12779 $as_echo_n "(cached
) " >&6
12781 if test -n "$READELF_FOR_TARGET"; then
12782 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12785 for as_dir in $PATH
12788 test -z "$as_dir" && as_dir=.
12789 for ac_exec_ext in '' $ac_executable_extensions; do
12790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12791 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12801 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12802 if test -n "$READELF_FOR_TARGET"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12804 $as_echo "$READELF_FOR_TARGET" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12807 $as_echo "no
" >&6; }
12812 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12814 set dummy ${ncn_progname}; ac_word=$2
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12816 $as_echo_n "checking
for $ac_word...
" >&6; }
12817 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12818 $as_echo_n "(cached
) " >&6
12820 if test -n "$READELF_FOR_TARGET"; then
12821 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12824 for as_dir in $PATH
12827 test -z "$as_dir" && as_dir=.
12828 for ac_exec_ext in '' $ac_executable_extensions; do
12829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12830 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12840 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12841 if test -n "$READELF_FOR_TARGET"; then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12843 $as_echo "$READELF_FOR_TARGET" >&6; }
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12846 $as_echo "no
" >&6; }
12851 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12855 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12857 if test $build = $target ; then
12858 READELF_FOR_TARGET="$2"
12860 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12863 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12867 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12873 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12874 if test -n "$with_build_time_tools"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12876 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12877 if test -x $with_build_time_tools/strip; then
12878 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12879 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12881 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12884 $as_echo "no
" >&6; }
12886 elif test $build != $host && test $have_gcc_for_target = yes; then
12887 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12888 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12889 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12892 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12893 # Extract the first word of "strip
", so it can be a program name with args.
12894 set dummy strip; ac_word=$2
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12896 $as_echo_n "checking
for $ac_word...
" >&6; }
12897 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12898 $as_echo_n "(cached
) " >&6
12900 case $STRIP_FOR_TARGET in
12902 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12906 for as_dir in $gcc_cv_tool_dirs
12909 test -z "$as_dir" && as_dir=.
12910 for ac_exec_ext in '' $ac_executable_extensions; do
12911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12912 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12923 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12924 if test -n "$STRIP_FOR_TARGET"; then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12926 $as_echo "$STRIP_FOR_TARGET" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12929 $as_echo "no
" >&6; }
12934 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12937 if test -n "$STRIP_FOR_TARGET"; then
12938 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12939 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12940 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12943 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12944 for ncn_progname in strip; do
12945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12946 set dummy ${ncn_progname}; ac_word=$2
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12948 $as_echo_n "checking
for $ac_word...
" >&6; }
12949 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12950 $as_echo_n "(cached
) " >&6
12952 if test -n "$STRIP_FOR_TARGET"; then
12953 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12956 for as_dir in $PATH
12959 test -z "$as_dir" && as_dir=.
12960 for ac_exec_ext in '' $ac_executable_extensions; do
12961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12962 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12972 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12973 if test -n "$STRIP_FOR_TARGET"; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12975 $as_echo "$STRIP_FOR_TARGET" >&6; }
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12978 $as_echo "no
" >&6; }
12985 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12986 for ncn_progname in strip; do
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12988 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12989 if test -x $with_build_time_tools/${ncn_progname}; then
12990 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12992 $as_echo "yes" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12996 $as_echo "no
" >&6; }
13001 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13002 for ncn_progname in strip; do
13003 if test -n "$ncn_target_tool_prefix"; then
13004 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13005 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13007 $as_echo_n "checking
for $ac_word...
" >&6; }
13008 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13009 $as_echo_n "(cached
) " >&6
13011 if test -n "$STRIP_FOR_TARGET"; then
13012 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13015 for as_dir in $PATH
13018 test -z "$as_dir" && as_dir=.
13019 for ac_exec_ext in '' $ac_executable_extensions; do
13020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13021 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13031 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13032 if test -n "$STRIP_FOR_TARGET"; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13034 $as_echo "$STRIP_FOR_TARGET" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13037 $as_echo "no
" >&6; }
13042 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13044 set dummy ${ncn_progname}; ac_word=$2
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13046 $as_echo_n "checking
for $ac_word...
" >&6; }
13047 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13048 $as_echo_n "(cached
) " >&6
13050 if test -n "$STRIP_FOR_TARGET"; then
13051 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13054 for as_dir in $PATH
13057 test -z "$as_dir" && as_dir=.
13058 for ac_exec_ext in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13070 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13071 if test -n "$STRIP_FOR_TARGET"; then
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13073 $as_echo "$STRIP_FOR_TARGET" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13076 $as_echo "no
" >&6; }
13081 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13085 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13087 if test $build = $target ; then
13088 STRIP_FOR_TARGET="$2"
13090 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13093 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13097 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13103 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13104 if test -n "$with_build_time_tools"; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13106 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13107 if test -x $with_build_time_tools/windres; then
13108 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13109 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13111 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13114 $as_echo "no
" >&6; }
13116 elif test $build != $host && test $have_gcc_for_target = yes; then
13117 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13118 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13119 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13122 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13123 # Extract the first word of "windres
", so it can be a program name with args.
13124 set dummy windres; ac_word=$2
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13126 $as_echo_n "checking
for $ac_word...
" >&6; }
13127 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13128 $as_echo_n "(cached
) " >&6
13130 case $WINDRES_FOR_TARGET in
13132 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13136 for as_dir in $gcc_cv_tool_dirs
13139 test -z "$as_dir" && as_dir=.
13140 for ac_exec_ext in '' $ac_executable_extensions; do
13141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13142 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13153 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13154 if test -n "$WINDRES_FOR_TARGET"; then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13156 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13159 $as_echo "no
" >&6; }
13164 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13167 if test -n "$WINDRES_FOR_TARGET"; then
13168 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13169 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13170 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13173 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13174 for ncn_progname in windres; do
13175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13176 set dummy ${ncn_progname}; ac_word=$2
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13178 $as_echo_n "checking
for $ac_word...
" >&6; }
13179 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13180 $as_echo_n "(cached
) " >&6
13182 if test -n "$WINDRES_FOR_TARGET"; then
13183 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13186 for as_dir in $PATH
13189 test -z "$as_dir" && as_dir=.
13190 for ac_exec_ext in '' $ac_executable_extensions; do
13191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13192 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13202 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13203 if test -n "$WINDRES_FOR_TARGET"; then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13205 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13208 $as_echo "no
" >&6; }
13215 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13216 for ncn_progname in windres; do
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13218 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13219 if test -x $with_build_time_tools/${ncn_progname}; then
13220 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13222 $as_echo "yes" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13226 $as_echo "no
" >&6; }
13231 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13232 for ncn_progname in windres; do
13233 if test -n "$ncn_target_tool_prefix"; then
13234 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13235 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13237 $as_echo_n "checking
for $ac_word...
" >&6; }
13238 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13239 $as_echo_n "(cached
) " >&6
13241 if test -n "$WINDRES_FOR_TARGET"; then
13242 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13245 for as_dir in $PATH
13248 test -z "$as_dir" && as_dir=.
13249 for ac_exec_ext in '' $ac_executable_extensions; do
13250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13251 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13261 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13262 if test -n "$WINDRES_FOR_TARGET"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13264 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13267 $as_echo "no
" >&6; }
13272 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13273 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13274 set dummy ${ncn_progname}; ac_word=$2
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13276 $as_echo_n "checking
for $ac_word...
" >&6; }
13277 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13278 $as_echo_n "(cached
) " >&6
13280 if test -n "$WINDRES_FOR_TARGET"; then
13281 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13284 for as_dir in $PATH
13287 test -z "$as_dir" && as_dir=.
13288 for ac_exec_ext in '' $ac_executable_extensions; do
13289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13290 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13300 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13301 if test -n "$WINDRES_FOR_TARGET"; then
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13303 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13306 $as_echo "no
" >&6; }
13311 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13315 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13317 if test $build = $target ; then
13318 WINDRES_FOR_TARGET="$2"
13320 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13323 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13327 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13333 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13334 if test -n "$with_build_time_tools"; then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13336 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13337 if test -x $with_build_time_tools/windmc; then
13338 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13339 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13341 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13344 $as_echo "no
" >&6; }
13346 elif test $build != $host && test $have_gcc_for_target = yes; then
13347 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13348 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13349 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13352 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13353 # Extract the first word of "windmc
", so it can be a program name with args.
13354 set dummy windmc; ac_word=$2
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13356 $as_echo_n "checking
for $ac_word...
" >&6; }
13357 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13358 $as_echo_n "(cached
) " >&6
13360 case $WINDMC_FOR_TARGET in
13362 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13366 for as_dir in $gcc_cv_tool_dirs
13369 test -z "$as_dir" && as_dir=.
13370 for ac_exec_ext in '' $ac_executable_extensions; do
13371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13372 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13383 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13384 if test -n "$WINDMC_FOR_TARGET"; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13386 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13389 $as_echo "no
" >&6; }
13394 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13397 if test -n "$WINDMC_FOR_TARGET"; then
13398 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13399 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13400 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13403 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13404 for ncn_progname in windmc; do
13405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13406 set dummy ${ncn_progname}; ac_word=$2
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13408 $as_echo_n "checking
for $ac_word...
" >&6; }
13409 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13410 $as_echo_n "(cached
) " >&6
13412 if test -n "$WINDMC_FOR_TARGET"; then
13413 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13416 for as_dir in $PATH
13419 test -z "$as_dir" && as_dir=.
13420 for ac_exec_ext in '' $ac_executable_extensions; do
13421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13422 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13432 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13433 if test -n "$WINDMC_FOR_TARGET"; then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13435 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13438 $as_echo "no
" >&6; }
13445 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13446 for ncn_progname in windmc; do
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13448 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13449 if test -x $with_build_time_tools/${ncn_progname}; then
13450 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13452 $as_echo "yes" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13456 $as_echo "no
" >&6; }
13461 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13462 for ncn_progname in windmc; do
13463 if test -n "$ncn_target_tool_prefix"; then
13464 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13465 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13467 $as_echo_n "checking
for $ac_word...
" >&6; }
13468 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13469 $as_echo_n "(cached
) " >&6
13471 if test -n "$WINDMC_FOR_TARGET"; then
13472 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475 for as_dir in $PATH
13478 test -z "$as_dir" && as_dir=.
13479 for ac_exec_ext in '' $ac_executable_extensions; do
13480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13481 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13491 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13492 if test -n "$WINDMC_FOR_TARGET"; then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13494 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13497 $as_echo "no
" >&6; }
13502 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13504 set dummy ${ncn_progname}; ac_word=$2
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13506 $as_echo_n "checking
for $ac_word...
" >&6; }
13507 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13508 $as_echo_n "(cached
) " >&6
13510 if test -n "$WINDMC_FOR_TARGET"; then
13511 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13514 for as_dir in $PATH
13517 test -z "$as_dir" && as_dir=.
13518 for ac_exec_ext in '' $ac_executable_extensions; do
13519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13520 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13530 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13531 if test -n "$WINDMC_FOR_TARGET"; then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13533 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13536 $as_echo "no
" >&6; }
13541 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13545 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13547 if test $build = $target ; then
13548 WINDMC_FOR_TARGET="$2"
13550 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13553 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13557 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13561 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13564 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13565 if test "x
${build}" != "x
${host}" ; then
13566 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13567 # We already found the complete path
13568 ac_dir=`dirname $AR_FOR_TARGET`
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13570 $as_echo "pre-installed
in $ac_dir" >&6; }
13572 # Canadian cross, just use what we found
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13574 $as_echo "pre-installed
" >&6; }
13578 case " ${configdirs} " in
13583 if test $ok = yes; then
13584 # An in-tree tool is available and we can use it
13585 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13587 $as_echo "just compiled
" >&6; }
13588 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13589 # We already found the complete path
13590 ac_dir=`dirname $AR_FOR_TARGET`
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13592 $as_echo "pre-installed
in $ac_dir" >&6; }
13593 elif test "x
$target" = "x
$host"; then
13594 # We can use an host tool
13595 AR_FOR_TARGET='$(AR)'
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13597 $as_echo "host tool
" >&6; }
13599 # We need a cross tool
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13601 $as_echo "pre-installed
" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13606 $as_echo_n "checking where to
find the target as...
" >&6; }
13607 if test "x
${build}" != "x
${host}" ; then
13608 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13609 # We already found the complete path
13610 ac_dir=`dirname $AS_FOR_TARGET`
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13612 $as_echo "pre-installed
in $ac_dir" >&6; }
13614 # Canadian cross, just use what we found
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13616 $as_echo "pre-installed
" >&6; }
13620 case " ${configdirs} " in
13625 if test $ok = yes; then
13626 # An in-tree tool is available and we can use it
13627 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13629 $as_echo "just compiled
" >&6; }
13630 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13631 # We already found the complete path
13632 ac_dir=`dirname $AS_FOR_TARGET`
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13634 $as_echo "pre-installed
in $ac_dir" >&6; }
13635 elif test "x
$target" = "x
$host"; then
13636 # We can use an host tool
13637 AS_FOR_TARGET='$(AS)'
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13639 $as_echo "host tool
" >&6; }
13641 # We need a cross tool
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13643 $as_echo "pre-installed
" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13648 $as_echo_n "checking where to
find the target cc...
" >&6; }
13649 if test "x
${build}" != "x
${host}" ; then
13650 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13651 # We already found the complete path
13652 ac_dir=`dirname $CC_FOR_TARGET`
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13654 $as_echo "pre-installed
in $ac_dir" >&6; }
13656 # Canadian cross, just use what we found
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13658 $as_echo "pre-installed
" >&6; }
13662 case " ${configdirs} " in
13667 if test $ok = yes; then
13668 # An in-tree tool is available and we can use it
13669 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13671 $as_echo "just compiled
" >&6; }
13672 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13673 # We already found the complete path
13674 ac_dir=`dirname $CC_FOR_TARGET`
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13676 $as_echo "pre-installed
in $ac_dir" >&6; }
13677 elif test "x
$target" = "x
$host"; then
13678 # We can use an host tool
13679 CC_FOR_TARGET='$(CC)'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13681 $as_echo "host tool
" >&6; }
13683 # We need a cross tool
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13685 $as_echo "pre-installed
" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13690 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13691 if test "x
${build}" != "x
${host}" ; then
13692 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13693 # We already found the complete path
13694 ac_dir=`dirname $CXX_FOR_TARGET`
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13696 $as_echo "pre-installed
in $ac_dir" >&6; }
13698 # Canadian cross, just use what we found
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13700 $as_echo "pre-installed
" >&6; }
13704 case " ${configdirs} " in
13708 case ,${enable_languages}, in
13712 if test $ok = yes; then
13713 # An in-tree tool is available and we can use it
13714 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'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13716 $as_echo "just compiled
" >&6; }
13717 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13718 # We already found the complete path
13719 ac_dir=`dirname $CXX_FOR_TARGET`
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13721 $as_echo "pre-installed
in $ac_dir" >&6; }
13722 elif test "x
$target" = "x
$host"; then
13723 # We can use an host tool
13724 CXX_FOR_TARGET='$(CXX)'
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13726 $as_echo "host tool
" >&6; }
13728 # We need a cross tool
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13730 $as_echo "pre-installed
" >&6; }
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13735 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13736 if test "x
${build}" != "x
${host}" ; then
13737 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13738 # We already found the complete path
13739 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13741 $as_echo "pre-installed
in $ac_dir" >&6; }
13743 # Canadian cross, just use what we found
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13745 $as_echo "pre-installed
" >&6; }
13749 case " ${configdirs} " in
13753 case ,${enable_languages}, in
13757 if test $ok = yes; then
13758 # An in-tree tool is available and we can use it
13759 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'
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13761 $as_echo "just compiled
" >&6; }
13762 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13763 # We already found the complete path
13764 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13766 $as_echo "pre-installed
in $ac_dir" >&6; }
13767 elif test "x
$target" = "x
$host"; then
13768 # We can use an host tool
13769 RAW_CXX_FOR_TARGET='$(CXX)'
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13771 $as_echo "host tool
" >&6; }
13773 # We need a cross tool
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13775 $as_echo "pre-installed
" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13780 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13781 if test "x
${build}" != "x
${host}" ; then
13782 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13783 # We already found the complete path
13784 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13786 $as_echo "pre-installed
in $ac_dir" >&6; }
13788 # Canadian cross, just use what we found
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13790 $as_echo "pre-installed
" >&6; }
13794 case " ${configdirs} " in
13799 if test $ok = yes; then
13800 # An in-tree tool is available and we can use it
13801 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13803 $as_echo "just compiled
" >&6; }
13804 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13805 # We already found the complete path
13806 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13808 $as_echo "pre-installed
in $ac_dir" >&6; }
13809 elif test "x
$target" = "x
$host"; then
13810 # We can use an host tool
13811 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13813 $as_echo "host tool
" >&6; }
13815 # We need a cross tool
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13817 $as_echo "pre-installed
" >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13822 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13823 if test "x
${build}" != "x
${host}" ; then
13824 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13825 # We already found the complete path
13826 ac_dir=`dirname $GCC_FOR_TARGET`
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13828 $as_echo "pre-installed
in $ac_dir" >&6; }
13830 # Canadian cross, just use what we found
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13832 $as_echo "pre-installed
" >&6; }
13836 case " ${configdirs} " in
13841 if test $ok = yes; then
13842 # An in-tree tool is available and we can use it
13843 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13845 $as_echo "just compiled
" >&6; }
13846 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13847 # We already found the complete path
13848 ac_dir=`dirname $GCC_FOR_TARGET`
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13850 $as_echo "pre-installed
in $ac_dir" >&6; }
13851 elif test "x
$target" = "x
$host"; then
13852 # We can use an host tool
13853 GCC_FOR_TARGET='$()'
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13855 $as_echo "host tool
" >&6; }
13857 # We need a cross tool
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13859 $as_echo "pre-installed
" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13864 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13865 if test "x
${build}" != "x
${host}" ; then
13866 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13867 # We already found the complete path
13868 ac_dir=`dirname $GCJ_FOR_TARGET`
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13870 $as_echo "pre-installed
in $ac_dir" >&6; }
13872 # Canadian cross, just use what we found
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13874 $as_echo "pre-installed
" >&6; }
13878 case " ${configdirs} " in
13882 case ,${enable_languages}, in
13886 if test $ok = yes; then
13887 # An in-tree tool is available and we can use it
13888 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13890 $as_echo "just compiled
" >&6; }
13891 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13892 # We already found the complete path
13893 ac_dir=`dirname $GCJ_FOR_TARGET`
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13895 $as_echo "pre-installed
in $ac_dir" >&6; }
13896 elif test "x
$target" = "x
$host"; then
13897 # We can use an host tool
13898 GCJ_FOR_TARGET='$(GCJ)'
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13900 $as_echo "host tool
" >&6; }
13902 # We need a cross tool
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13904 $as_echo "pre-installed
" >&6; }
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13909 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13910 if test "x
${build}" != "x
${host}" ; then
13911 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13912 # We already found the complete path
13913 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13915 $as_echo "pre-installed
in $ac_dir" >&6; }
13917 # Canadian cross, just use what we found
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13919 $as_echo "pre-installed
" >&6; }
13923 case " ${configdirs} " in
13927 case ,${enable_languages}, in
13931 if test $ok = yes; then
13932 # An in-tree tool is available and we can use it
13933 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13935 $as_echo "just compiled
" >&6; }
13936 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13937 # We already found the complete path
13938 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13940 $as_echo "pre-installed
in $ac_dir" >&6; }
13941 elif test "x
$target" = "x
$host"; then
13942 # We can use an host tool
13943 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13945 $as_echo "host tool
" >&6; }
13947 # We need a cross tool
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13949 $as_echo "pre-installed
" >&6; }
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13954 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13955 if test "x
${build}" != "x
${host}" ; then
13956 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13957 # We already found the complete path
13958 ac_dir=`dirname $GOC_FOR_TARGET`
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13960 $as_echo "pre-installed
in $ac_dir" >&6; }
13962 # Canadian cross, just use what we found
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13964 $as_echo "pre-installed
" >&6; }
13968 case " ${configdirs} " in
13972 case ,${enable_languages}, in
13976 if test $ok = yes; then
13977 # An in-tree tool is available and we can use it
13978 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13980 $as_echo "just compiled
" >&6; }
13981 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13982 # We already found the complete path
13983 ac_dir=`dirname $GOC_FOR_TARGET`
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13985 $as_echo "pre-installed
in $ac_dir" >&6; }
13986 elif test "x
$target" = "x
$host"; then
13987 # We can use an host tool
13988 GOC_FOR_TARGET='$(GOC)'
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13990 $as_echo "host tool
" >&6; }
13992 # We need a cross tool
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13994 $as_echo "pre-installed
" >&6; }
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13999 $as_echo_n "checking where to
find the target ld...
" >&6; }
14000 if test "x
${build}" != "x
${host}" ; then
14001 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14002 # We already found the complete path
14003 ac_dir=`dirname $LD_FOR_TARGET`
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14005 $as_echo "pre-installed
in $ac_dir" >&6; }
14007 # Canadian cross, just use what we found
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14009 $as_echo "pre-installed
" >&6; }
14013 case " ${configdirs} " in
14018 if test $ok = yes; then
14019 # An in-tree tool is available and we can use it
14020 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14022 $as_echo "just compiled
" >&6; }
14023 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14024 # We already found the complete path
14025 ac_dir=`dirname $LD_FOR_TARGET`
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14027 $as_echo "pre-installed
in $ac_dir" >&6; }
14028 elif test "x
$target" = "x
$host"; then
14029 # We can use an host tool
14030 LD_FOR_TARGET='$(LD)'
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14032 $as_echo "host tool
" >&6; }
14034 # We need a cross tool
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14036 $as_echo "pre-installed
" >&6; }
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14041 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14042 if test "x
${build}" != "x
${host}" ; then
14043 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14044 # We already found the complete path
14045 ac_dir=`dirname $LIPO_FOR_TARGET`
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14047 $as_echo "pre-installed
in $ac_dir" >&6; }
14049 # Canadian cross, just use what we found
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14051 $as_echo "pre-installed
" >&6; }
14054 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14055 # We already found the complete path
14056 ac_dir=`dirname $LIPO_FOR_TARGET`
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14058 $as_echo "pre-installed
in $ac_dir" >&6; }
14059 elif test "x
$target" = "x
$host"; then
14060 # We can use an host tool
14061 LIPO_FOR_TARGET='$(LIPO)'
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14063 $as_echo "host tool
" >&6; }
14065 # We need a cross tool
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14067 $as_echo "pre-installed
" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14072 $as_echo_n "checking where to
find the target nm...
" >&6; }
14073 if test "x
${build}" != "x
${host}" ; then
14074 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14075 # We already found the complete path
14076 ac_dir=`dirname $NM_FOR_TARGET`
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14078 $as_echo "pre-installed
in $ac_dir" >&6; }
14080 # Canadian cross, just use what we found
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14082 $as_echo "pre-installed
" >&6; }
14086 case " ${configdirs} " in
14091 if test $ok = yes; then
14092 # An in-tree tool is available and we can use it
14093 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14095 $as_echo "just compiled
" >&6; }
14096 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14097 # We already found the complete path
14098 ac_dir=`dirname $NM_FOR_TARGET`
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14100 $as_echo "pre-installed
in $ac_dir" >&6; }
14101 elif test "x
$target" = "x
$host"; then
14102 # We can use an host tool
14103 NM_FOR_TARGET='$(NM)'
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14105 $as_echo "host tool
" >&6; }
14107 # We need a cross tool
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14109 $as_echo "pre-installed
" >&6; }
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14114 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14115 if test "x
${build}" != "x
${host}" ; then
14116 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14117 # We already found the complete path
14118 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14120 $as_echo "pre-installed
in $ac_dir" >&6; }
14122 # Canadian cross, just use what we found
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14124 $as_echo "pre-installed
" >&6; }
14128 case " ${configdirs} " in
14133 if test $ok = yes; then
14134 # An in-tree tool is available and we can use it
14135 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14137 $as_echo "just compiled
" >&6; }
14138 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14139 # We already found the complete path
14140 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14142 $as_echo "pre-installed
in $ac_dir" >&6; }
14143 elif test "x
$target" = "x
$host"; then
14144 # We can use an host tool
14145 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14147 $as_echo "host tool
" >&6; }
14149 # We need a cross tool
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14151 $as_echo "pre-installed
" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14156 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14157 if test "x
${build}" != "x
${host}" ; then
14158 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14159 # We already found the complete path
14160 ac_dir=`dirname $RANLIB_FOR_TARGET`
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14162 $as_echo "pre-installed
in $ac_dir" >&6; }
14164 # Canadian cross, just use what we found
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14166 $as_echo "pre-installed
" >&6; }
14170 case " ${configdirs} " in
14175 if test $ok = yes; then
14176 # An in-tree tool is available and we can use it
14177 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14179 $as_echo "just compiled
" >&6; }
14180 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14181 # We already found the complete path
14182 ac_dir=`dirname $RANLIB_FOR_TARGET`
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14184 $as_echo "pre-installed
in $ac_dir" >&6; }
14185 elif test "x
$target" = "x
$host"; then
14186 # We can use an host tool
14187 RANLIB_FOR_TARGET='$(RANLIB)'
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14189 $as_echo "host tool
" >&6; }
14191 # We need a cross tool
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14193 $as_echo "pre-installed
" >&6; }
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14198 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14199 if test "x
${build}" != "x
${host}" ; then
14200 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14201 # We already found the complete path
14202 ac_dir=`dirname $READELF_FOR_TARGET`
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14204 $as_echo "pre-installed
in $ac_dir" >&6; }
14206 # Canadian cross, just use what we found
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14208 $as_echo "pre-installed
" >&6; }
14212 case " ${configdirs} " in
14217 if test $ok = yes; then
14218 # An in-tree tool is available and we can use it
14219 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14221 $as_echo "just compiled
" >&6; }
14222 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14223 # We already found the complete path
14224 ac_dir=`dirname $READELF_FOR_TARGET`
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14226 $as_echo "pre-installed
in $ac_dir" >&6; }
14227 elif test "x
$target" = "x
$host"; then
14228 # We can use an host tool
14229 READELF_FOR_TARGET='$(READELF)'
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14231 $as_echo "host tool
" >&6; }
14233 # We need a cross tool
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14235 $as_echo "pre-installed
" >&6; }
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14240 $as_echo_n "checking where to
find the target strip...
" >&6; }
14241 if test "x
${build}" != "x
${host}" ; then
14242 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14243 # We already found the complete path
14244 ac_dir=`dirname $STRIP_FOR_TARGET`
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14246 $as_echo "pre-installed
in $ac_dir" >&6; }
14248 # Canadian cross, just use what we found
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14250 $as_echo "pre-installed
" >&6; }
14254 case " ${configdirs} " in
14259 if test $ok = yes; then
14260 # An in-tree tool is available and we can use it
14261 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14263 $as_echo "just compiled
" >&6; }
14264 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14265 # We already found the complete path
14266 ac_dir=`dirname $STRIP_FOR_TARGET`
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14268 $as_echo "pre-installed
in $ac_dir" >&6; }
14269 elif test "x
$target" = "x
$host"; then
14270 # We can use an host tool
14271 STRIP_FOR_TARGET='$(STRIP)'
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14273 $as_echo "host tool
" >&6; }
14275 # We need a cross tool
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14277 $as_echo "pre-installed
" >&6; }
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14282 $as_echo_n "checking where to
find the target windres...
" >&6; }
14283 if test "x
${build}" != "x
${host}" ; then
14284 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14285 # We already found the complete path
14286 ac_dir=`dirname $WINDRES_FOR_TARGET`
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14288 $as_echo "pre-installed
in $ac_dir" >&6; }
14290 # Canadian cross, just use what we found
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14292 $as_echo "pre-installed
" >&6; }
14296 case " ${configdirs} " in
14301 if test $ok = yes; then
14302 # An in-tree tool is available and we can use it
14303 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14305 $as_echo "just compiled
" >&6; }
14306 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14307 # We already found the complete path
14308 ac_dir=`dirname $WINDRES_FOR_TARGET`
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14310 $as_echo "pre-installed
in $ac_dir" >&6; }
14311 elif test "x
$target" = "x
$host"; then
14312 # We can use an host tool
14313 WINDRES_FOR_TARGET='$(WINDRES)'
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14315 $as_echo "host tool
" >&6; }
14317 # We need a cross tool
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14319 $as_echo "pre-installed
" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14324 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14325 if test "x
${build}" != "x
${host}" ; then
14326 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14327 # We already found the complete path
14328 ac_dir=`dirname $WINDMC_FOR_TARGET`
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14330 $as_echo "pre-installed
in $ac_dir" >&6; }
14332 # Canadian cross, just use what we found
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14334 $as_echo "pre-installed
" >&6; }
14338 case " ${configdirs} " in
14343 if test $ok = yes; then
14344 # An in-tree tool is available and we can use it
14345 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14347 $as_echo "just compiled
" >&6; }
14348 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14349 # We already found the complete path
14350 ac_dir=`dirname $WINDMC_FOR_TARGET`
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14352 $as_echo "pre-installed
in $ac_dir" >&6; }
14353 elif test "x
$target" = "x
$host"; then
14354 # We can use an host tool
14355 WINDMC_FOR_TARGET='$(WINDMC)'
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14357 $as_echo "host tool
" >&6; }
14359 # We need a cross tool
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14361 $as_echo "pre-installed
" >&6; }
14369 # Certain tools may need extra flags.
14370 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14371 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14372 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14374 # When building target libraries, except in a Canadian cross, we use
14375 # the same toolchain as the compiler we just built.
14376 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14377 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14378 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14379 if test $host = $build; then
14380 case " $configdirs " in
14382 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14383 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14384 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14394 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14395 # Check whether --enable-maintainer-mode was given.
14396 if test "${enable_maintainer_mode+set}" = set; then :
14397 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14399 USE_MAINTAINER_MODE=no
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14403 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14406 if test "$USE_MAINTAINER_MODE" = yes; then
14407 MAINTAINER_MODE_TRUE=
14408 MAINTAINER_MODE_FALSE='#'
14410 MAINTAINER_MODE_TRUE='#'
14411 MAINTAINER_MODE_FALSE=
14413 MAINT=$MAINTAINER_MODE_TRUE
14415 # ---------------------
14416 # GCC bootstrap support
14417 # ---------------------
14419 # Stage specific cflags for build.
14424 yes) stage1_cflags="-g -Wa,-J" ;;
14425 *) stage1_cflags="-g -J" ;;
14431 # Enable --enable-checking in stage1 of the compiler.
14432 # Check whether --enable-stage1-checking was given.
14433 if test "${enable_stage1_checking+set}" = set; then :
14434 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14436 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14437 stage1_checking=--enable-checking=yes,types
14439 stage1_checking=--enable-checking=$enable_checking,types
14445 # Enable -Werror in bootstrap stage2 and later.
14446 # Check whether --enable-werror was given.
14447 if test "${enable_werror+set}" = set; then :
14448 enableval=$enable_werror;
14450 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14457 case ${enable_werror} in
14458 yes) stage2_werror_flag="--enable-werror-always" ;;
14459 *) stage2_werror_flag="" ;;
14463 # Enable --enable-host-shared.
14464 # Check whether --enable-host-shared was given.
14465 if test "${enable_host_shared+set}" = set; then :
14466 enableval=$enable_host_shared; host_shared=$enableval
14473 # Specify what files to not compare during bootstrap.
14475 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14477 hppa*64*-*-hpux*) ;;
14478 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14479 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14483 ac_config_files="$ac_config_files Makefile
"
14485 cat >confcache <<\_ACEOF
14486 # This file is a shell script that caches the results of configure
14487 # tests run on this system so they can be shared between configure
14488 # scripts and configure runs, see configure's option --config-cache.
14489 # It is not useful on other systems. If it contains results you don't
14490 # want to keep, you may remove or edit it.
14492 # config.status only pays attention to the cache file if you give it
14493 # the --recheck option to rerun configure.
14495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14497 # following values.
14501 # The following way of writing the cache mishandles newlines in values,
14502 # but we know of no workaround that is simple, portable, and efficient.
14503 # So, we kill variables containing newlines.
14504 # Ultrix sh set writes to stderr and can't be redirected directly,
14505 # and sets the high bit in the cache file unless we assign to the vars.
14507 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14508 eval ac_val=\$$ac_var
14512 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14513 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14516 _ | IFS | as_nl) ;; #(
14517 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14518 *) { eval $ac_var=; unset $ac_var;} ;;
14524 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14525 *${as_nl}ac_space=\ *)
14526 # `set' does not quote correctly, so add quotes: double-quote
14527 # substitution turns \\\\ into \\, and sed turns \\ into \.
14530 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14533 # `set' quotes correctly as required by POSIX, so do not add quotes.
14534 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14545 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14547 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14548 if test -w "$cache_file"; then
14549 test "x
$cache_file" != "x
/dev
/null
" &&
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14551 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14552 cat confcache >$cache_file
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14555 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14560 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14561 # Let make expand exec_prefix.
14562 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14564 # Transform confdefs.h into DEFS.
14565 # Protect against shell expansion while executing Makefile rules.
14566 # Protect against Makefile macro expansion.
14568 # If the first sed substitution is executed (which looks for macros that
14569 # take arguments), then branch to the quote section. Otherwise,
14570 # look for a macro that doesn't take arguments.
14580 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14582 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14586 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14599 DEFS=`sed -n "$ac_script" confdefs.h`
14604 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14605 # 1. Remove the extension, and $U if already installed.
14606 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14607 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14609 # will be set to the directory where LIBOBJS objects are built.
14610 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14611 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14613 LIBOBJS=$ac_libobjs
14615 LTLIBOBJS=$ac_ltlibobjs
14619 : ${CONFIG_STATUS=./config.status}
14621 ac_clean_files_save=$ac_clean_files
14622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14624 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14626 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14628 # Generated by $as_me.
14629 # Run this file to recreate the current configuration.
14630 # Compiler output produced by configure, useful for debugging
14631 # configure, is in config.log if it exists.
14634 ac_cs_recheck=false
14637 SHELL=\${CONFIG_SHELL-$SHELL}
14640 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14641 ## -------------------- ##
14642 ## M4sh Initialization. ##
14643 ## -------------------- ##
14645 # Be more Bourne compatible
14646 DUALCASE=1; export DUALCASE # for MKS sh
14647 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14650 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14651 # is contrary to our usage. Disable this feature.
14652 alias -g '${1+"$@"}'='"$@"'
14653 setopt NO_GLOB_SUBST
14655 case `(set -o) 2>/dev/null` in #(
14667 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14668 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14669 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14670 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14671 # Prefer a ksh shell builtin over an external printf program on Solaris,
14672 # but without wasting forks for bash or zsh.
14673 if test -z "$BASH_VERSION$ZSH_VERSION" \
14674 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14675 as_echo
='print -r --'
14676 as_echo_n
='print -rn --'
14677 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14678 as_echo
='printf %s\n'
14679 as_echo_n
='printf %s'
14681 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14682 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14683 as_echo_n
='/usr/ucb/echo -n'
14685 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14686 as_echo_n_body
='eval
14690 expr "X$arg" : "X\\(.*\\)$as_nl";
14691 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14693 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14695 export as_echo_n_body
14696 as_echo_n
='sh -c $as_echo_n_body as_echo'
14698 export as_echo_body
14699 as_echo
='sh -c $as_echo_body as_echo'
14702 # The user is always right.
14703 if test "${PATH_SEPARATOR+set}" != set; then
14705 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14706 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14713 # We need space, tab and new line, in precisely that order. Quoting is
14714 # there to prevent editors from complaining about space-tab.
14715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14716 # splitting by setting IFS to empty value.)
14719 # Find who we are. Look in the path if we contain no directory separator.
14721 *[\\/]* ) as_myself
=$0 ;;
14722 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14723 for as_dir
in $PATH
14726 test -z "$as_dir" && as_dir
=.
14727 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14733 # We did not find ourselves, most probably we were run as `sh COMMAND'
14734 # in which case we are not to be found in the path.
14735 if test "x$as_myself" = x
; then
14738 if test ! -f "$as_myself"; then
14739 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14743 # Unset variables that we do not need and which cause bugs (e.g. in
14744 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14745 # suppresses any "Segmentation fault" message there. '((' could
14746 # trigger a bug in pdksh 5.2.14.
14747 for as_var
in BASH_ENV ENV MAIL MAILPATH
14748 do eval test x\
${$as_var+set} = xset \
14749 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14762 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14765 # as_fn_error ERROR [LINENO LOG_FD]
14766 # ---------------------------------
14767 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14768 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14769 # script with status $?, using 1 if that was 0.
14772 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14774 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14775 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14777 $as_echo "$as_me: error: $1" >&2
14778 as_fn_exit
$as_status
14782 # as_fn_set_status STATUS
14783 # -----------------------
14784 # Set $? to STATUS, without forking.
14785 as_fn_set_status
()
14788 } # as_fn_set_status
14790 # as_fn_exit STATUS
14791 # -----------------
14792 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14796 as_fn_set_status
$1
14802 # Portably unset VAR.
14805 { eval $1=; unset $1;}
14807 as_unset
=as_fn_unset
14808 # as_fn_append VAR VALUE
14809 # ----------------------
14810 # Append the text in VALUE to the end of the definition contained in VAR. Take
14811 # advantage of any shell optimizations that allow amortized linear growth over
14812 # repeated appends, instead of the typical quadratic growth present in naive
14814 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14815 eval 'as_fn_append ()
14826 # as_fn_arith ARG...
14827 # ------------------
14828 # Perform arithmetic evaluation on the ARGs, and store the result in the
14829 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14830 # must be portable across $(()) and expr.
14831 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14832 eval 'as_fn_arith ()
14839 as_val
=`expr "$@" || test $? -eq 1`
14844 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14845 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14851 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14852 as_basename
=basename
14857 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14863 as_me
=`$as_basename -- "$0" ||
14864 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14865 X"$0" : 'X\(//\)$' \| \
14866 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14868 sed '/^.*\/\([^/][^/]*\)\/*$/{
14882 # Avoid depending upon Character Ranges.
14883 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14884 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14885 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14886 as_cr_digits
='0123456789'
14887 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14889 ECHO_C
= ECHO_N
= ECHO_T
=
14890 case `echo -n x` in #(((((
14892 case `echo 'xy\c'` in
14893 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14895 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14902 rm -f conf$$ conf$$.exe conf$$.
file
14903 if test -d conf$$.dir
; then
14904 rm -f conf$$.dir
/conf$$.
file
14907 mkdir conf$$.dir
2>/dev
/null
14909 if (echo >conf$$.
file) 2>/dev
/null
; then
14910 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14912 # ... but there are two gotchas:
14913 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14914 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14915 # In both cases, we have to default to `cp -p'.
14916 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14918 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14926 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14927 rmdir conf$$.dir
2>/dev
/null
14932 # Create "$as_dir" as a directory, including parents if necessary.
14937 -*) as_dir
=.
/$as_dir;;
14939 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14943 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14944 *) as_qdir
=$as_dir;;
14946 as_dirs
="'$as_qdir' $as_dirs"
14947 as_dir
=`$as_dirname -- "$as_dir" ||
14948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14949 X"$as_dir" : 'X\(//\)[^/]' \| \
14950 X"$as_dir" : 'X\(//\)$' \| \
14951 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14952 $as_echo X"$as_dir" |
14953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14957 /^X\(\/\/\)[^/].*/{
14970 test -d "$as_dir" && break
14972 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14973 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14977 if mkdir
-p .
2>/dev
/null
; then
14978 as_mkdir_p
='mkdir -p "$as_dir"'
14980 test -d .
/-p && rmdir .
/-p
14984 if test -x / >/dev
/null
2>&1; then
14985 as_test_x
='test -x'
14987 if ls -dL / >/dev
/null
2>&1; then
14994 if test -d "$1"; then
15000 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15001 ???[sx]*):;;*)false;;esac;fi
15005 as_executable_p
=$as_test_x
15007 # Sed expression to map a string onto a valid CPP name.
15008 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15010 # Sed expression to map a string onto a valid variable name.
15011 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15015 ## ----------------------------------- ##
15016 ## Main body of $CONFIG_STATUS script. ##
15017 ## ----------------------------------- ##
15019 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15022 # Save the log message, to keep $0 and so on meaningful, and to
15023 # report actual input values of CONFIG_FILES etc. instead of their
15024 # values after options handling.
15026 This file was extended by $as_me, which was
15027 generated by GNU Autoconf 2.64. Invocation command line was
15029 CONFIG_FILES = $CONFIG_FILES
15030 CONFIG_HEADERS = $CONFIG_HEADERS
15031 CONFIG_LINKS = $CONFIG_LINKS
15032 CONFIG_COMMANDS = $CONFIG_COMMANDS
15035 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15040 case $ac_config_files in *"
15041 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15047 # Files that config.status was made for.
15048 config_files="$ac_config_files"
15052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15054 \`$as_me' instantiates files and other configuration actions
15055 from templates according to the current configuration. Unless the files
15056 and actions are specified as TAGs, all are instantiated by default.
15058 Usage: $0 [OPTION]... [TAG]...
15060 -h, --help print this help, then exit
15061 -V, --version print version number and configuration settings, then exit
15062 -q, --quiet, --silent
15063 do not print progress messages
15064 -d, --debug don't remove temporary files
15065 --recheck update $as_me by reconfiguring in the same conditions
15066 --file=FILE[:TEMPLATE]
15067 instantiate the configuration file FILE
15069 Configuration files:
15072 Report bugs to the package provider."
15075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15078 configured by $0, generated by GNU Autoconf 2.64,
15079 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15081 Copyright (C) 2009 Free Software Foundation, Inc.
15082 This config.status script is free software; the Free Software Foundation
15083 gives unlimited permission to copy, distribute and modify it."
15089 test -n "\$AWK" || AWK=awk
15092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15093 # The default lists apply if the user does not specify any file.
15099 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15100 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15111 # Handling of the options.
15112 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15114 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15115 $as_echo "$ac_cs_version"; exit ;;
15116 --debug |
--debu |
--deb |
--de |
--d |
-d )
15118 --file |
--fil |
--fi |
--f )
15121 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15123 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15124 ac_need_defaults
=false
;;
15125 --he |
--h |
--help |
--hel |
-h )
15126 $as_echo "$ac_cs_usage"; exit ;;
15127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15128 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15131 # This is an error.
15132 -*) as_fn_error
"unrecognized option: \`$1'
15133 Try \`$0 --help' for more information." ;;
15135 *) as_fn_append ac_config_targets
" $1"
15136 ac_need_defaults
=false
;;
15142 ac_configure_extra_args
=
15144 if $ac_cs_silent; then
15146 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15151 if \$ac_cs_recheck; then
15152 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15154 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15155 CONFIG_SHELL='$SHELL'
15156 export CONFIG_SHELL
15161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15166 ## Running $as_me. ##
15172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15176 extrasub_build="$extrasub_build"
15177 extrasub_host="$extrasub_host"
15178 extrasub_target="$extrasub_target"
15182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15184 # Handling of arguments.
15185 for ac_config_target
in $ac_config_targets
15187 case $ac_config_target in
15188 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15190 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15195 # If the user did not use the arguments to specify the items to instantiate,
15196 # then the envvar interface is used. Set only those that are not.
15197 # We use the long form for the default assignment because of an extremely
15198 # bizarre bug on SunOS 4.1.3.
15199 if $ac_need_defaults; then
15200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15203 # Have a temporary directory for convenience. Make it in the build tree
15204 # simply because there is no reason against having it here, and in addition,
15205 # creating and moving files from /tmp can sometimes cause problems.
15206 # Hook for its removal unless debugging.
15207 # Note that there is a small window in which the directory will not be cleaned:
15208 # after its creation but before its name has been assigned to `$tmp'.
15212 trap 'exit_status=$?
15213 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15215 trap 'as_fn_exit 1' 1 2 13 15
15217 # Create a (secure) tmp directory for tmp files.
15220 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15221 test -n "$tmp" && test -d "$tmp"
15224 tmp
=.
/conf$$
-$RANDOM
15225 (umask 077 && mkdir
"$tmp")
15226 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15228 # Set up the scripts for CONFIG_FILES section.
15229 # No need to generate them if there are no CONFIG_FILES.
15230 # This happens for instance with `./config.status config.h'.
15231 if test -n "$CONFIG_FILES"; then
15233 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15234 ac_cs_awk_getline
=:
15235 ac_cs_awk_pipe_init
=
15236 ac_cs_awk_read_file
='
15237 while ((getline aline < (F[key])) > 0)
15240 ac_cs_awk_pipe_fini
=
15242 ac_cs_awk_getline
=false
15243 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15244 ac_cs_awk_read_file
='
15246 print "cat " F[key] " &&"
15247 '$ac_cs_awk_pipe_init
15248 # The final `:' finishes the AND list.
15249 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15251 ac_cr
=`echo X | tr X '\015'`
15252 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15253 # But we know of no other shell where ac_cr would be empty at this
15254 # point, so we can use a bashism as a fallback.
15255 if test "x$ac_cr" = x
; then
15256 eval ac_cr
=\$
\'\\r
\'
15258 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15259 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15262 ac_cs_awk_cr
=$ac_cr
15265 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15268 # Create commands to substitute file output variables.
15270 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15271 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15272 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15275 } >conf$
$files.sh
&&
15276 . .
/conf$
$files.sh ||
15277 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15278 rm -f conf$
$files.sh
15281 echo "cat >conf$$subs.awk <<_ACEOF" &&
15282 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15284 } >conf$$subs.sh ||
15285 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15288 for ac_last_try in false false false false false :; do
15289 . ./conf$$subs.sh ||
15290 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15292 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15293 if test $ac_delim_n = $ac_delim_num; then
15295 elif $ac_last_try; then
15296 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15298 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15301 rm -f conf$$subs.sh
15303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15304 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15308 s/^/S["/; s
/!.
*/"]=/
15318 s/\(.\{148\}\).*/\1/
15320 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15325 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15332 s/\(.\{148\}\).*/\1/
15334 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15338 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15343 ' <conf$$subs.awk | sed '
15348 ' >>$CONFIG_STATUS || ac_write_fail=1
15349 rm -f conf$$subs.awk
15350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15352 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15353 for (key in S) S_is_set[key] = 1
15355 \$ac_cs_awk_pipe_init
15359 nfields = split(line, field, "@
")
15361 len = length(field[1])
15362 for (i = 2; i < nfields; i++) {
15364 keylen = length(key)
15365 if (S_is_set[key]) {
15367 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15368 len += length(value) + length(field[++i])
15373 if (nfields == 3 && !substed) {
15375 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15376 \$ac_cs_awk_read_file
15382 \$ac_cs_awk_pipe_fini
15385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15386 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15387 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15390 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15391 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15394 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15395 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15396 # trailing colons and then remove the whole line if VPATH becomes empty
15397 # (actually we leave an empty line to preserve line numbers).
15398 if test "x
$srcdir" = x.; then
15399 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15400 s/:*\$(srcdir):*/:/
15401 s/:*\${srcdir}:*/:/
15403 s/^\([^=]*=[ ]*\):*/\1/
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15410 fi # test -n "$CONFIG_FILES"
15413 eval set X " :F
$CONFIG_FILES "
15418 :[FHLC]) ac_mode=$ac_tag; continue;;
15420 case $ac_mode$ac_tag in
15422 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15423 :[FH]-) ac_tag=-:-;;
15424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15441 -) ac_f="$tmp/stdin";;
15442 *) # Look for the file first in the build tree, then in the source tree
15443 # (if the path is not absolute). The absolute path cannot be DOS-style,
15444 # because $ac_f cannot contain `:'.
15448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15450 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15452 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15453 as_fn_append ac_file_inputs " '$ac_f'"
15456 # Let's still pretend it is `configure' which instantiates (i.e., don't
15457 # use $as_me), people would be surprised to read:
15458 # /* config.h. Generated by config.status. */
15459 configure_input='Generated from '`
15460 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15462 if test x"$ac_file" != x-; then
15463 configure_input="$ac_file.
$configure_input"
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15465 $as_echo "$as_me: creating
$ac_file" >&6;}
15467 # Neutralize special characters interpreted by sed in replacement strings.
15468 case $configure_input in #(
15469 *\&* | *\|* | *\\* )
15470 ac_sed_conf_input=`$as_echo "$configure_input" |
15471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15472 *) ac_sed_conf_input=$configure_input;;
15476 *:-:* | *:-) cat >"$tmp/stdin
" \
15477 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15482 ac_dir=`$as_dirname -- "$ac_file" ||
15483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15484 X"$ac_file" : 'X\(//\)[^/]' \| \
15485 X"$ac_file" : 'X\(//\)$' \| \
15486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15487 $as_echo X"$ac_file" |
15488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15492 /^X\(\/\/\)[^/].*/{
15505 as_dir="$ac_dir"; as_fn_mkdir_p
15509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15511 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15512 # A "..
" for each directory in $ac_dir_suffix.
15513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15514 case $ac_top_builddir_sub in
15515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15519 ac_abs_top_builddir=$ac_pwd
15520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15521 # for backward compatibility:
15522 ac_top_builddir=$ac_top_build_prefix
15525 .) # We are building in place.
15527 ac_top_srcdir=$ac_top_builddir_sub
15528 ac_abs_top_srcdir=$ac_pwd ;;
15529 [\\/]* | ?:[\\/]* ) # Absolute name.
15530 ac_srcdir=$srcdir$ac_dir_suffix;
15531 ac_top_srcdir=$srcdir
15532 ac_abs_top_srcdir=$srcdir ;;
15533 *) # Relative name.
15534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15535 ac_top_srcdir=$ac_top_build_prefix$srcdir
15536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15548 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15549 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15554 # If the template does not know about datarootdir, expand it.
15555 # FIXME: This hack should be removed a few years after 2.60.
15556 ac_datarootdir_hack=; ac_datarootdir_seen=
15567 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15568 *datarootdir*) ac_datarootdir_seen=yes;;
15569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15571 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15574 ac_datarootdir_hack='
15575 s&@datadir@&$datadir&g
15576 s&@docdir@&$docdir&g
15577 s&@infodir@&$infodir&g
15578 s&@localedir@&$localedir&g
15579 s&@mandir@&$mandir&g
15580 s&\\\${datarootdir}&$datarootdir&g' ;;
15584 # Neutralize VPATH when `$srcdir' = `.'.
15585 # Shell code in configure.ac might set extrasub.
15586 # FIXME: do we really want to maintain this feature?
15587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15588 ac_sed_extra="$ac_vpsub
15591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15593 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15594 s|@configure_input@|
$ac_sed_conf_input|
;t t
15595 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15596 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15597 s
&@srcdir@
&$ac_srcdir&;t t
15598 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15599 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15600 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15601 s
&@builddir@
&$ac_builddir&;t t
15602 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15603 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15604 s
&@INSTALL@
&$ac_INSTALL&;t t
15605 $ac_datarootdir_hack
15607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15608 if $ac_cs_awk_getline; then
15609 $AWK -f "$tmp/subs.
awk"
15611 $AWK -f "$tmp/subs.
awk" | $SHELL
15613 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15616 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15619 which seems to be undefined. Please make sure it is defined." >&5
15620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15621 which seems to be undefined. Please make sure it is defined." >&2;}
15625 -) cat "$tmp/out" && rm -f "$tmp/out";;
15626 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15628 || as_fn_error "could not create $ac_file" "$LINENO" 5
15636 case $ac_file$ac_mode in
15637 "Makefile":F) sed "$extrasub_build" Makefile |
15638 sed "$extrasub_host" |
15639 sed "$extrasub_target" > mf$$
15640 mv -f mf$$ Makefile ;;
15648 ac_clean_files=$ac_clean_files_save
15650 test $ac_write_fail = 0 ||
15651 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15654 # configure is writing to config.log, and then calls config.status.
15655 # config.status does its own redirection, appending to config.log.
15656 # Unfortunately, on DOS this fails, as config.log is still kept open
15657 # by configure, so config.status won't be able to
write to it
; its
15658 # output is simply discarded. So we exec the FD to /dev/null,
15659 # effectively closing config.log, so it can be properly (re)opened and
15660 # appended to by config.status. When coming back to configure, we
15661 # need to make the FD available again.
15662 if test "$no_create" != yes; then
15664 ac_config_status_args
=
15665 test "$silent" = yes &&
15666 ac_config_status_args
="$ac_config_status_args --quiet"
15668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15671 # would make configure fail if this is the last instruction.
15672 $ac_cs_success || as_fn_exit $?
15674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}