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
701 TOPLEVEL_CONFIGURE_ARGUMENTS
729 program_transform_name
740 ac_subst_files
='serialization_dependencies
746 enable_option_checking
748 enable_as_accelerator_for
749 enable_offload_targets
753 enable_libquadmath_support
757 enable_static_libjava
778 enable_isl_version_check
780 enable_linker_plugin_configure_flags
781 enable_linker_plugin_flags
782 enable_stage1_languages
785 with_debug_prefix_map
788 enable_serial_configure
789 with_build_time_tools
790 enable_maintainer_mode
791 enable_stage1_checking
795 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information."
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used." >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 as_fn_error
"path to source, $srcdir, contains spaces"
1372 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1374 for ac_var
in $ac_precious_vars; do
1375 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1377 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1382 # Report the --help message.
1384 if test "$ac_init_help" = "long"; then
1385 # Omit some internal or obsolete options to make the list less imposing.
1386 # This message is too long to be a string in the A/UX 3.1 sh.
1388 \`configure' configures this package to adapt to many kinds of systems.
1390 Usage: $0 [OPTION]... [VAR=VALUE]...
1392 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1393 VAR=VALUE. See below for descriptions of some of the useful variables.
1395 Defaults for the options are specified in brackets.
1398 -h, --help display this help and exit
1399 --help=short display options specific to this package
1400 --help=recursive display the short help of all the included packages
1401 -V, --version display version information and exit
1402 -q, --quiet, --silent do not print \`checking...' messages
1403 --cache-file=FILE cache test results in FILE [disabled]
1404 -C, --config-cache alias for \`--cache-file=config.cache'
1405 -n, --no-create do not create output files
1406 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1408 Installation directories:
1409 --prefix=PREFIX install architecture-independent files in PREFIX
1410 [$ac_default_prefix]
1411 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1414 By default, \`make install' will install all the files in
1415 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1416 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1417 for instance \`--prefix=\$HOME'.
1419 For better control, use the options below.
1421 Fine tuning of the installation directories:
1422 --bindir=DIR user executables [EPREFIX/bin]
1423 --sbindir=DIR system admin executables [EPREFIX/sbin]
1424 --libexecdir=DIR program executables [EPREFIX/libexec]
1425 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1426 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1427 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1428 --libdir=DIR object code libraries [EPREFIX/lib]
1429 --includedir=DIR C header files [PREFIX/include]
1430 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1431 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1432 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1433 --infodir=DIR info documentation [DATAROOTDIR/info]
1434 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1435 --mandir=DIR man documentation [DATAROOTDIR/man]
1436 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1437 --htmldir=DIR html documentation [DOCDIR]
1438 --dvidir=DIR dvi documentation [DOCDIR]
1439 --pdfdir=DIR pdf documentation [DOCDIR]
1440 --psdir=DIR ps documentation [DOCDIR]
1446 --program-prefix=PREFIX prepend PREFIX to installed program names
1447 --program-suffix=SUFFIX append SUFFIX to installed program names
1448 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1451 --build=BUILD configure
for building on BUILD
[guessed
]
1452 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1453 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1457 if test -n "$ac_init_help"; then
1462 --disable-option-checking ignore unrecognized
--enable/--with options
1463 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1464 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1465 --enable-as-accelerator-for=ARG
1466 build as offload target compiler. Specify offload
1468 --enable-offload-targets=LIST
1469 enable offloading to devices from comma-separated
1470 LIST of TARGET
[=DIR
]. Use optional path to
find
1471 offload target compiler during the build
1472 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1473 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1474 --disable-libquadmath do not build libquadmath directory
1475 --disable-libquadmath-support
1476 disable libquadmath support
for Fortran
1477 --enable-libada build libada directory
1478 --enable-libssp build libssp directory
1479 --disable-libstdcxx do not build libstdc
++-v3 directory
1480 --enable-static-libjava[=ARG
]
1481 build static libjava
[default
=no
]
1482 --enable-bootstrap enable bootstrapping
[yes if native build
]
1483 --disable-isl-version-check
1484 disable check
for ISL version
1485 --enable-lto enable link
time optimization support
1486 --enable-linker-plugin-configure-flags=FLAGS
1487 additional flags
for configuring linker plugins
1489 --enable-linker-plugin-flags=FLAGS
1490 additional flags
for configuring and building linker
1492 --enable-stage1-languages[=all
]
1493 choose additional languages to build during stage1.
1494 Mostly useful
for compiler development
1495 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1497 --enable-vtable-verify Enable vtable verification feature
1498 --enable-serial-[{host,target,build}-]configure
1499 force sequential configuration of sub-packages for
1500 the host, target or build machine, or all
1502 --enable-maintainer-mode
1503 enable make rules and dependencies not useful (and
1504 sometimes confusing) to the casual installer
1505 --enable-stage1-checking[=all]
1506 choose additional checking for stage1 of the
1508 --enable-werror enable -Werror in bootstrap stage2 and later
1509 --enable-host-shared build host code as shared libraries
1512 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1513 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1514 --with-build-libsubdir=DIR Directory where to find libraries for build system
1515 --with-mpc=PATH specify prefix directory for installed MPC package.
1516 Equivalent to --with-mpc-include=PATH/include plus
1517 --with-mpc-lib=PATH/lib
1518 --with-mpc-include=PATH specify directory for installed MPC include files
1519 --with-mpc-lib=PATH specify directory for the installed MPC library
1520 --with-mpfr-dir=PATH this option has been REMOVED
1521 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1522 Equivalent to --with-mpfr-include=PATH/include plus
1523 --with-mpfr-lib=PATH/lib
1524 --with-mpfr-include=PATH
1525 specify directory for installed MPFR include files
1526 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1527 --with-gmp-dir=PATH this option has been REMOVED
1528 --with-gmp=PATH specify prefix directory for the installed GMP
1529 package. Equivalent to
1530 --with-gmp-include=PATH/include plus
1531 --with-gmp-lib=PATH/lib
1532 --with-gmp-include=PATH specify directory for installed GMP include files
1533 --with-gmp-lib=PATH specify directory for the installed GMP library
1534 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1536 --with-stage1-libs=LIBS libraries for stage1
1537 --with-stage1-ldflags=FLAGS
1538 linker flags for stage1
1539 --with-boot-libs=LIBS libraries for stage2 and later
1540 --with-boot-ldflags=FLAGS
1541 linker flags for stage2 and later
1542 --with-isl=PATH Specify prefix directory for the installed ISL
1543 package. Equivalent to
1544 --with-isl-include=PATH/include plus
1545 --with-isl-lib=PATH/lib
1546 --with-isl-include=PATH Specify directory for installed ISL include files
1547 --with-isl-lib=PATH Specify the directory for the installed ISL library
1548 --with-build-sysroot=SYSROOT
1549 use sysroot as the system root during the build
1550 --with-debug-prefix-map='A
=B C
=D ...
'
1551 map A to B, C to D ... in debug information
1552 --with-build-config='NAME NAME2...
'
1553 use config/NAME.mk build configuration
1554 --with-build-time-tools=PATH
1555 use given path to find target tools during the build
1557 Some influential environment variables:
1558 CC C compiler command
1559 CFLAGS C compiler flags
1560 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1561 nonstandard directory <lib dir>
1562 LIBS libraries to pass to the linker, e.g. -l<library>
1563 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1564 you have headers in a nonstandard directory <include dir>
1565 CXX C++ compiler command
1566 CXXFLAGS C++ compiler flags
1568 additional configure arguments for build directories
1570 additional configure arguments for host directories
1572 additional configure arguments for target directories
1575 DLLTOOL DLLTOOL for the host
1577 LIPO LIPO for the host
1579 RANLIB RANLIB for the host
1580 STRIP STRIP for the host
1581 WINDRES WINDRES for the host
1582 WINDMC WINDMC for the host
1583 OBJCOPY OBJCOPY for the host
1584 OBJDUMP OBJDUMP for the host
1585 READELF READELF for the host
1595 GFORTRAN for the target
1603 DLLTOOL for the target
1611 OBJDUMP for the target
1613 RANLIB for the target
1615 READELF for the target
1617 STRIP for the target
1619 WINDRES for the target
1621 WINDMC for the target
1623 Use these variables to override the choices made by `configure' or to
help
1624 it to
find libraries and programs with nonstandard names
/locations.
1626 Report bugs to the package provider.
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1640 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1642 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1647 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1650 ac_abs_top_builddir
=$ac_pwd
1651 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir
=$ac_top_build_prefix
1656 .
) # We are building in place.
1658 ac_top_srcdir
=$ac_top_builddir_sub
1659 ac_abs_top_srcdir
=$ac_pwd ;;
1660 [\\/]* | ?
:[\\/]* ) # Absolute name.
1661 ac_srcdir
=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir
=$srcdir
1663 ac_abs_top_srcdir
=$srcdir ;;
1665 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1669 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1690 generated by GNU Autoconf
2.64
1692 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1693 This configure
script is free software
; the Free Software Foundation
1694 gives unlimited permission to copy
, distribute and modify it.
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile
()
1708 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1709 rm -f conftest.
$ac_objext
1710 if { { ac_try
="$ac_compile"
1712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 } # ac_fn_c_try_compile
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1751 *) ac_try_echo
=$ac_try;;
1753 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1757 if test -s conftest.err
; then
1758 grep -v '^ *+' conftest.err
>conftest.er1
1759 cat conftest.er1
>&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.
$ac_objext; then :
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.
$ac_ext >&5
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1777 } # ac_fn_cxx_try_compile
1779 # ac_fn_cxx_try_link LINENO
1780 # -------------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_cxx_try_link
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 rm -f conftest.
$ac_objext conftest
$ac_exeext
1786 if { { ac_try
="$ac_link"
1788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_cxx_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 $as_test_x conftest$ac_exeext
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_cxx_try_link
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest
$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest
$ac_exeext
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.
$ac_ext >&5
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1869 } # ac_fn_c_try_link
1870 cat >config.log
<<_ACEOF
1871 This file contains any messages produced by compilers while
1872 running configure, to aid debugging if configure makes a mistake.
1874 It was created by $as_me, which was
1875 generated by GNU Autoconf 2.64. Invocation command line was
1887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1894 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1896 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1897 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1899 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1900 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1901 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1902 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir
=.
1911 $as_echo "PATH: $as_dir"
1927 # Keep a trace of the command line.
1928 # Strip out --no-create and --no-recursion so they do not pile up.
1929 # Strip out --silent because we don't want to record it for future runs.
1930 # Also quote any args containing shell meta-characters.
1931 # Make two passes to allow for proper duplicate-argument suppression.
1935 ac_must_keep_next
=false
1941 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1942 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1943 |
-silent |
--silent |
--silen |
--sile |
--sil)
1946 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1951 as_fn_append ac_configure_args1
" '$ac_arg'"
1952 if test $ac_must_keep_next = true
; then
1953 ac_must_keep_next
=false
# Got value, back to normal.
1956 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1957 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1958 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1959 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1960 case "$ac_configure_args0 " in
1961 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964 -* ) ac_must_keep_next
=true
;;
1967 as_fn_append ac_configure_args
" '$ac_arg'"
1972 { ac_configure_args0
=; unset ac_configure_args0
;}
1973 { ac_configure_args1
=; unset ac_configure_args1
;}
1975 # When interrupted or exit'd, cleanup temporary files, and complete
1976 # config.log. We remove comments because anyway the quotes in there
1977 # would cause problems or look ugly.
1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980 trap 'exit_status=$?
1981 # Save into config.log some information that might help in debugging.
1986 ## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##
1991 # The following way of writing the cache mishandles newlines in values,
1993 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994 eval ac_val=\$$ac_var
1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002 _ | IFS | as_nl) ;; #(
2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004 *) { eval $ac_var=; unset $ac_var;} ;;
2009 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010 *${as_nl}ac_space=\ *)
2012 "s/'\''/'\''\\\\'\'''\''/g;
2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2024 ## ----------------- ##
2025 ## Output variables. ##
2026 ## ----------------- ##
2029 for ac_var in $ac_subst_vars
2031 eval ac_val=\$$ac_var
2033 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 $as_echo "$ac_var='\''$ac_val'\''"
2039 if test -n "$ac_subst_files"; then
2041 ## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##
2046 for ac_var
in $ac_subst_files
2048 eval ac_val
=\$
$ac_var
2050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -s confdefs.h; then
2067 test "$ac_signal" != 0 &&
2068 $as_echo "$as_me: caught signal $ac_signal"
2069 $as_echo "$as_me: exit $exit_status"
2071 rm -f core *.core core.conftest.* &&
2072 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2075 for ac_signal
in 1 2 13 15; do
2076 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2081 rm -f -r conftest
* confdefs.h
2083 $as_echo "/* confdefs.h */" > confdefs.h
2085 # Predefined preprocessor variables.
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_NAME "$PACKAGE_NAME"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_STRING "$PACKAGE_STRING"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_URL "$PACKAGE_URL"
2112 # Let the site file select an alternate cache file if it wants to.
2113 # Prefer an explicitly selected file to automatically selected ones.
2116 if test -n "$CONFIG_SITE"; then
2117 ac_site_file1
=$CONFIG_SITE
2118 elif test "x$prefix" != xNONE
; then
2119 ac_site_file1
=$prefix/share
/config.site
2120 ac_site_file2
=$prefix/etc
/config.site
2122 ac_site_file1
=$ac_default_prefix/share
/config.site
2123 ac_site_file2
=$ac_default_prefix/etc
/config.site
2125 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2127 test "x$ac_site_file" = xNONE
&& continue
2128 if test -r "$ac_site_file"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2130 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2131 sed 's/^/| /' "$ac_site_file" >&5
2136 if test -r "$cache_file"; then
2137 # Some versions of bash will fail to source /dev/null (special
2138 # files actually), so we avoid doing that.
2139 if test -f "$cache_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2141 $as_echo "$as_me: loading cache $cache_file" >&6;}
2143 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2144 *) .
"./$cache_file";;
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2149 $as_echo "$as_me: creating cache $cache_file" >&6;}
2153 # Check that the precious variables saved in the cache have kept the same
2155 ac_cache_corrupted
=false
2156 for ac_var
in $ac_precious_vars; do
2157 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2158 eval ac_new_set
=\
$ac_env_${ac_var}_set
2159 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2160 eval ac_new_val
=\
$ac_env_${ac_var}_value
2161 case $ac_old_set,$ac_new_set in
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2165 ac_cache_corrupted
=: ;;
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2169 ac_cache_corrupted
=: ;;
2172 if test "x$ac_old_val" != "x$ac_new_val"; then
2173 # differences in whitespace do not lead to failure.
2174 ac_old_val_w
=`echo x $ac_old_val`
2175 ac_new_val_w
=`echo x $ac_new_val`
2176 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2178 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2179 ac_cache_corrupted
=:
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2182 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2183 eval $ac_var=\
$ac_old_val
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2186 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2188 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2191 # Pass precious variables to config.status.
2192 if test "$ac_new_set" = set; then
2194 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 *) ac_arg
=$ac_var=$ac_new_val ;;
2197 case " $ac_configure_args " in
2198 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2199 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2203 if $ac_cache_corrupted; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2207 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2208 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2210 ## -------------------- ##
2211 ## Main body of script. ##
2212 ## -------------------- ##
2215 ac_cpp
='$CPP $CPPFLAGS'
2216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2229 # if PWD already has a value, it is probably wrong.
2230 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2232 # Export original configure arguments for use by sub-configures.
2233 # Quote arguments with shell meta charatcers.
2234 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2235 set -- "$progname" "$@"
2239 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2240 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2241 # if the argument is of the form -foo=baz, quote the baz part only
2242 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2245 # Add the quoted argument to the list.
2246 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2248 if test "$silent" = yes; then
2249 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2251 # Remove the initial space we just introduced and, as these will be
2252 # expanded by make, quote '$'.
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2256 # Find the build, host, and target systems.
2258 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2259 for ac_t
in install-sh
install.sh shtool
; do
2260 if test -f "$ac_dir/$ac_t"; then
2262 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2267 if test -z "$ac_aux_dir"; then
2268 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2271 # These three variables are undocumented and unsupported,
2272 # and are intended to be withdrawn in a future Autoconf release.
2273 # They can cause serious problems if a builder's source tree is in a directory
2274 # whose full name contains unusual characters.
2275 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2276 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2277 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2280 # Make sure we can run config.sub.
2281 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2282 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2285 $as_echo_n "checking build system type... " >&6; }
2286 if test "${ac_cv_build+set}" = set; then :
2287 $as_echo_n "(cached) " >&6
2289 ac_build_alias
=$build_alias
2290 test "x$ac_build_alias" = x
&&
2291 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2292 test "x$ac_build_alias" = x
&&
2293 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2294 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2295 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2299 $as_echo "$ac_cv_build" >&6; }
2300 case $ac_cv_build in
2302 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2305 ac_save_IFS
=$IFS; IFS
='-'
2311 # Remember, the first character of IFS is used to create $*,
2312 # except with old shells:
2315 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2318 case ${build_alias} in
2319 "") build_noncanonical
=${build} ;;
2320 *) build_noncanonical
=${build_alias} ;;
2325 case ${host_alias} in
2326 "") host_noncanonical
=${build_noncanonical} ;;
2327 *) host_noncanonical
=${host_alias} ;;
2332 case ${target_alias} in
2333 "") target_noncanonical
=${host_noncanonical} ;;
2334 *) target_noncanonical
=${target_alias} ;;
2340 test "$host_noncanonical" = "$target_noncanonical" &&
2341 test "$program_prefix$program_suffix$program_transform_name" = \
2343 program_transform_name
=s
,y
,y
,
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2346 $as_echo_n "checking host system type... " >&6; }
2347 if test "${ac_cv_host+set}" = set; then :
2348 $as_echo_n "(cached) " >&6
2350 if test "x$host_alias" = x
; then
2351 ac_cv_host
=$ac_cv_build
2353 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2354 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2359 $as_echo "$ac_cv_host" >&6; }
2362 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2365 ac_save_IFS
=$IFS; IFS
='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2379 $as_echo_n "checking target system type... " >&6; }
2380 if test "${ac_cv_target+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test "x$target_alias" = x
; then
2384 ac_cv_target
=$ac_cv_host
2386 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2387 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2392 $as_echo "$ac_cv_target" >&6; }
2393 case $ac_cv_target in
2395 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2397 target
=$ac_cv_target
2398 ac_save_IFS
=$IFS; IFS
='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2411 # The aliases save the names the user supplied, while $host etc.
2412 # will get canonicalized.
2413 test -n "$target_alias" &&
2414 test "$program_prefix$program_suffix$program_transform_name" = \
2416 program_prefix
=${target_alias}-
2418 test "$program_prefix" != NONE
&&
2419 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2420 # Use a double $ so make ignores it.
2421 test "$program_suffix" != NONE
&&
2422 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2423 # Double any \ or $.
2424 # By default was `s,x,x', remove it if useless.
2425 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2426 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2430 # Get 'install' or 'install-sh' and its variants.
2431 # Find a good install program. We prefer a C program (faster),
2432 # so one script is as good as another. But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 # Reject install programs that cannot install multiple files.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2447 if test -z "$INSTALL"; then
2448 if test "${ac_cv_path_install+set}" = set; then :
2449 $as_echo_n "(cached) " >&6
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 # Account for people who put trailing slashes in PATH elements.
2457 case $as_dir/ in #((
2458 .
/ | .
// |
/[cC
]/* | \
2459 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2460 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2463 # OSF1 and SCO ODT 3.0 have their own names for install.
2464 # Don't use installbsd from OSF since it installs stuff as root
2466 for ac_prog
in ginstall scoinst
install; do
2467 for ac_exec_ext
in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469 if test $ac_prog = install &&
2470 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2471 # AIX install. It has an incompatible calling convention.
2473 elif test $ac_prog = install &&
2474 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2475 # program-specific install script used by HP pwplus--don't use.
2478 rm -rf conftest.one conftest.two conftest.dir
2479 echo one
> conftest.one
2480 echo two
> conftest.two
2482 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2483 test -s conftest.one
&& test -s conftest.two
&&
2484 test -s conftest.dir
/conftest.one
&&
2485 test -s conftest.dir
/conftest.two
2487 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2500 rm -rf conftest.one conftest.two conftest.dir
2503 if test "${ac_cv_path_install+set}" = set; then
2504 INSTALL
=$ac_cv_path_install
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for INSTALL within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 INSTALL
=$ac_install_sh
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514 $as_echo "$INSTALL" >&6; }
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2522 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2525 $as_echo_n "checking whether ln works... " >&6; }
2526 if test "${acx_cv_prog_LN+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 rm -f conftestdata_t
2530 echo >conftestdata_f
2531 if ln conftestdata_f conftestdata_t
2>/dev
/null
2537 rm -f conftestdata_f conftestdata_t
2540 if test $acx_cv_prog_LN = no
; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2543 $as_echo "no, using $LN" >&6; }
2545 LN
="$acx_cv_prog_LN"
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547 $as_echo "yes" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2551 $as_echo_n "checking whether ln -s works... " >&6; }
2553 if test "$LN_S" = "ln -s"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2555 $as_echo "yes" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2558 $as_echo "no, using $LN_S" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2562 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2563 if test "${ac_cv_path_SED+set}" = set; then :
2564 $as_echo_n "(cached) " >&6
2566 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2567 for ac_i
in 1 2 3 4 5 6 7; do
2568 ac_script
="$ac_script$as_nl$ac_script"
2570 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2571 { ac_script
=; unset ac_script
;}
2572 if test -z "$SED"; then
2573 ac_path_SED_found
=false
2574 # Loop through the user's path and test for each of PROGNAME-LIST
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_prog
in sed gsed
; do
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2583 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2584 # Check for GNU ac_path_SED and select it if it is found.
2585 # Check for GNU $ac_path_SED
2586 case `"$ac_path_SED" --version 2>&1` in
2588 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2591 $as_echo_n 0123456789 >"conftest.in"
2594 cat "conftest.in" "conftest.in" >"conftest.tmp"
2595 mv "conftest.tmp" "conftest.in"
2596 cp "conftest.in" "conftest.nl"
2597 $as_echo '' >> "conftest.nl"
2598 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2599 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2600 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2601 if test $ac_count -gt ${ac_path_SED_max-0}; then
2602 # Best one so far, save it but keep looking for a better one
2603 ac_cv_path_SED
="$ac_path_SED"
2604 ac_path_SED_max
=$ac_count
2606 # 10*(2^10) chars as input seems more than enough
2607 test $ac_count -gt 10 && break
2609 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2612 $ac_path_SED_found && break 3
2617 if test -z "$ac_cv_path_SED"; then
2618 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2626 $as_echo "$ac_cv_path_SED" >&6; }
2627 SED
="$ac_cv_path_SED"
2630 for ac_prog
in gawk mawk nawk
awk
2632 # Extract the first word of "$ac_prog", so it can be a program name with args.
2633 set dummy
$ac_prog; ac_word
=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if test "${ac_cv_prog_AWK+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$AWK"; then
2640 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_AWK
="$ac_prog"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$AWK"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2662 $as_echo "$AWK" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2669 test -n "$AWK" && break
2673 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2675 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2677 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2678 INSTALL
="${srcpwd}/install-sh -c"
2681 # Set srcdir to "." if that's what it is.
2682 # This is important for multilib support.
2684 if test "${pwd}" = "${srcpwd}" ; then
2692 ### To add a new directory to the tree, first choose whether it is a target
2693 ### or a host dependent tool. Then put it into the appropriate list
2694 ### (library or tools, host or target), doing a dependency sort.
2696 # Subdirs will be configured in the order listed in build_configdirs,
2697 # configdirs, or target_configdirs; see the serialization section below.
2699 # Dependency sorting is only needed when *configuration* must be done in
2700 # a particular order. In all cases a dependency should be specified in
2701 # the Makefile, whether or not it's implicitly specified here.
2703 # Double entries in build_configdirs, configdirs, or target_configdirs may
2704 # cause circular dependencies and break everything horribly.
2706 # these library is used by various programs built for the build
2709 build_libs
="build-libiberty build-libcpp"
2711 # these tools are built for the build environment
2712 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2714 # these libraries are used by various programs built for the host environment
2716 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2718 # these tools are built for the host environment
2719 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2720 # know that we are building the simulator.
2721 # binutils, gas and ld appear in that order because it makes sense to run
2722 # "make check" in that particular order.
2723 # If --enable-gold is used, "gold" may replace "ld".
2724 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1"
2726 # libgcj represents the runtime libraries only used by gcj.
2727 libgcj
="target-libffi \
2731 # these libraries are built for the target environment, and are built after
2732 # the host libraries and the host tools (which may be a cross compiler)
2733 # Note that libiberty is not a target library.
2734 target_libraries
="target-libgcc \
2735 target-libbacktrace \
2742 target-libstdc++-v3 \
2743 target-libsanitizer \
2746 target-libquadmath \
2747 target-libgfortran \
2754 # these tools are built using the target libraries, and are intended to
2755 # run only in the target environment
2757 # note: any program that *uses* libraries that are in the "target_libraries"
2758 # list belongs in this list.
2760 target_tools
="target-rda"
2762 ################################################################################
2764 ## All tools belong in one of the four categories, and are assigned above
2765 ## We assign ${configdirs} this way to remove all embedded newlines. This
2766 ## is important because configure will choke if they ever get through.
2767 ## ${configdirs} is directories we build using the host tools.
2768 ## ${target_configdirs} is directories we build using the target tools.
2769 configdirs
=`echo ${host_libs} ${host_tools}`
2770 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2771 build_configdirs
=`echo ${build_libs} ${build_tools}`
2775 ################################################################################
2777 srcname
="gnu development package"
2779 # This gets set non-empty for some net releases of packages.
2782 # Define is_cross_compiler to save on calls to 'test'.
2784 if test x
"${host}" = x
"${target}" ; then
2785 is_cross_compiler
=no
2787 is_cross_compiler
=yes
2790 # Find the build and target subdir names.
2792 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2793 # have matching libraries, they should use host libraries: Makefile.tpl
2794 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2795 # However, they still use the build modules, because the corresponding
2796 # host modules (e.g. bison) are only built for the host when bootstrap
2798 # - build_subdir is where we find build modules, and never changes.
2799 # - build_libsubdir is where we find build libraries, and can be overridden.
2801 # Prefix 'build-' so this never conflicts with target_subdir.
2802 build_subdir
="build-${build_noncanonical}"
2804 # Check whether --with-build-libsubdir was given.
2805 if test "${with_build_libsubdir+set}" = set; then :
2806 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2808 build_libsubdir
="$build_subdir"
2811 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2812 if ( test $srcdir = .
&& test -d gcc
) \
2813 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2814 host_subdir
="host-${host_noncanonical}"
2819 target_subdir
=${target_noncanonical}
2821 # Be sure to cover against remnants of an in-tree build.
2822 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2823 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2824 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2827 # Skipdirs are removed silently.
2829 # Noconfigdirs are removed loudly.
2833 # Make sure we don't let GNU ld be added if we didn't want it.
2834 if test x
$with_gnu_ld = xno
; then
2836 noconfigdirs
="$noconfigdirs ld gold"
2840 # Make sure we don't let GNU as be added if we didn't want it.
2841 if test x
$with_gnu_as = xno
; then
2843 noconfigdirs
="$noconfigdirs gas"
2847 # Make sure we don't let ZLIB be added if we didn't want it.
2848 if test x
$with_system_zlib = xyes
; then
2849 use_included_zlib
=no
2850 noconfigdirs
="$noconfigdirs zlib"
2853 # some tools are so dependent upon X11 that if we're not building with X,
2854 # it's not even worth trying to configure, much less build, that tool.
2857 yes |
"") ;; # the default value for this tree is that X11 is available
2859 skipdirs
="${skipdirs} tk itcl libgui"
2860 # We won't be able to build gdbtk without X.
2863 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2866 # Some are only suitable for cross toolchains.
2867 # Remove these if host=target.
2868 cross_only
="target-libgloss target-newlib target-opcodes"
2870 case $is_cross_compiler in
2871 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2874 # If both --with-headers and --with-libs are specified, default to
2876 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2877 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2878 if test x
"${with_newlib}" = x
; then
2883 # Recognize --with-newlib/--without-newlib.
2884 case ${with_newlib} in
2885 no
) skipdirs
="${skipdirs} target-newlib" ;;
2886 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2889 # Check whether --enable-as-accelerator-for was given.
2890 if test "${enable_as_accelerator_for+set}" = set; then :
2891 enableval
=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR
=$enableval
2893 ENABLE_AS_ACCELERATOR_FOR
=no
2897 # Check whether --enable-offload-targets was given.
2898 if test "${enable_offload_targets+set}" = set; then :
2899 enableval
=$enable_offload_targets;
2900 if test x
"$enable_offload_targets" = x
; then
2901 as_fn_error
"no offload targets specified" "$LINENO" 5
2905 enable_offload_targets
=
2909 # Handle --enable-gold, --enable-ld.
2910 # --disable-gold [--enable-ld]
2911 # Build only ld. Default option.
2912 # --enable-gold [--enable-ld]
2913 # Build both gold and ld. Install gold as "ld.gold", install ld
2914 # as "ld.bfd" and "ld".
2915 # --enable-gold=default [--enable-ld]
2916 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2917 # install ld as "ld.bfd".
2918 # --enable-gold[=default] --disable-ld
2919 # Build only gold, which is then installed as both "ld.gold" and "ld".
2920 # --enable-gold --enable-ld=default
2921 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2923 # In other words, ld is default
2924 # --enable-gold=default --enable-ld=default
2928 # Check whether --enable-gold was given.
2929 if test "${enable_gold+set}" = set; then :
2930 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2935 case "${ENABLE_GOLD}" in
2937 # Check for ELF target.
2940 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2941 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2942 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2943 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2945 *-*-linux*aout
* |
*-*-linux*oldld
*)
2953 if test "$is_elf" = "yes"; then
2954 # Check for target supported by gold.
2956 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2957 | aarch64
*-*-* | tilegx
*-*-*)
2958 configdirs
="$configdirs gold"
2959 if test x
${ENABLE_GOLD} = xdefault
; then
2970 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2974 # Check whether --enable-ld was given.
2975 if test "${enable_ld+set}" = set; then :
2976 enableval
=$enable_ld; ENABLE_LD
=$enableval
2982 case "${ENABLE_LD}" in
2984 if test x
${default_ld} != x
; then
2985 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2991 if test x
${ENABLE_GOLD} != xyes
; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2993 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2995 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2998 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3002 # Configure extra directories which are host specific
3006 configdirs
="$configdirs libtermcap" ;;
3009 # A target can indicate whether a language isn't supported for some reason.
3010 # Only spaces may be used in this macro; not newlines or tabs.
3011 unsupported_languages
=
3013 # Remove more programs from consideration, based on the host or
3014 # target this usually means that a port of the program doesn't
3018 i
[3456789]86-*-msdosdjgpp*)
3019 noconfigdirs
="$noconfigdirs tcl tk itcl"
3024 # Check whether --enable-libquadmath was given.
3025 if test "${enable_libquadmath+set}" = set; then :
3026 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3028 ENABLE_LIBQUADMATH
=yes
3031 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3032 noconfigdirs
="$noconfigdirs target-libquadmath"
3036 # Check whether --enable-libquadmath-support was given.
3037 if test "${enable_libquadmath_support+set}" = set; then :
3038 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3040 ENABLE_LIBQUADMATH_SUPPORT
=yes
3043 enable_libquadmath_support
=
3044 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3045 enable_libquadmath_support
=no
3049 # Check whether --enable-libada was given.
3050 if test "${enable_libada+set}" = set; then :
3051 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3056 if test "${ENABLE_LIBADA}" != "yes" ; then
3057 noconfigdirs
="$noconfigdirs gnattools"
3060 # Check whether --enable-libssp was given.
3061 if test "${enable_libssp+set}" = set; then :
3062 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3068 # Check whether --enable-libstdcxx was given.
3069 if test "${enable_libstdcxx+set}" = set; then :
3070 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3072 ENABLE_LIBSTDCXX
=default
3075 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3076 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3079 # Save it here so that, even in case of --enable-libgcj, if the Java
3080 # front-end isn't enabled, we still get libgcj disabled.
3081 libgcj_saved
=$libgcj
3082 case $enable_libgcj in
3084 # If we reset it here, it won't get added to noconfigdirs in the
3085 # target-specific build rules, so it will be forcibly enabled
3086 # (unless the Java language itself isn't enabled).
3090 # Make sure we get it printed in the list of not supported target libs.
3091 # Don't disable libffi, though, other languages use it.
3092 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3093 # Clear libgcj_saved so that even if java is enabled libffi won't be
3099 # Check whether --enable-static-libjava was given.
3100 if test "${enable_static_libjava+set}" = set; then :
3101 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3103 ENABLE_STATIC_LIBJAVA
=no
3106 enable_static_libjava
=
3107 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3108 enable_static_libjava
=yes
3111 if test x
$enable_static_libjava != xyes
; then
3112 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3116 # Disable libgomp on non POSIX hosted systems.
3117 if test x
$enable_libgomp = x
; then
3118 # Enable libgomp by default on hosted POSIX systems.
3120 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3122 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3124 *-*-solaris2* |
*-*-hpux11*)
3126 *-*-darwin* |
*-*-aix*)
3129 noconfigdirs
="$noconfigdirs target-libgomp"
3134 # Disable libatomic on unsupported systems.
3135 if test -d ${srcdir}/libatomic
; then
3136 if test x
$enable_libatomic = x
; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3138 $as_echo_n "checking for libatomic support... " >&6; }
3139 if (srcdir
=${srcdir}/libatomic
; \
3140 .
${srcdir}/configure.tgt
; \
3141 test -n "$UNSUPPORTED")
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 noconfigdirs
="$noconfigdirs target-libatomic"
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3148 $as_echo "yes" >&6; }
3153 # Disable libcilkrts on unsupported systems.
3154 if test -d ${srcdir}/libcilkrts
; then
3155 if test x
$enable_libcilkrts = x
; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3157 $as_echo_n "checking for libcilkrts support... " >&6; }
3158 if (srcdir
=${srcdir}/libcilkrts
; \
3159 .
${srcdir}/configure.tgt
; \
3160 test -n "$UNSUPPORTED")
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164 noconfigdirs
="$noconfigdirs target-libcilkrts"
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3167 $as_echo "yes" >&6; }
3172 # Disable libitm on unsupported systems.
3173 if test -d ${srcdir}/libitm
; then
3174 if test x
$enable_libitm = x
; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3176 $as_echo_n "checking for libitm support... " >&6; }
3177 if (srcdir
=${srcdir}/libitm
; \
3178 .
${srcdir}/configure.tgt
; \
3179 test -n "$UNSUPPORTED")
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3183 noconfigdirs
="$noconfigdirs target-libitm"
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3186 $as_echo "yes" >&6; }
3191 # Disable libsanitizer on unsupported systems.
3192 if test -d ${srcdir}/libsanitizer
; then
3193 if test x
$enable_libsanitizer = x
; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3195 $as_echo_n "checking for libsanitizer support... " >&6; }
3196 if (srcdir
=${srcdir}/libsanitizer
; \
3197 .
${srcdir}/configure.tgt
; \
3198 test -n "$UNSUPPORTED")
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3202 noconfigdirs
="$noconfigdirs target-libsanitizer"
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3205 $as_echo "yes" >&6; }
3210 # Disable libvtv on unsupported systems.
3211 if test -d ${srcdir}/libvtv
; then
3212 if test x
$enable_libvtv = x
; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3214 $as_echo_n "checking for libvtv support... " >&6; }
3215 if (srcdir
=${srcdir}/libvtv
; \
3216 .
${srcdir}/configure.tgt
; \
3217 test "$VTV_SUPPORTED" != "yes")
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3221 noconfigdirs
="$noconfigdirs target-libvtv"
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3224 $as_echo "yes" >&6; }
3229 # Disable libquadmath for some systems.
3232 noconfigdirs
="$noconfigdirs target-libquadmath"
3234 # libquadmath is unused on AIX and libquadmath build process use of
3235 # LD_LIBRARY_PATH can break AIX bootstrap.
3236 powerpc-
*-aix* | rs6000-
*-aix*)
3237 noconfigdirs
="$noconfigdirs target-libquadmath"
3241 # Disable libssp for some systems.
3244 # No hosted I/O support.
3245 noconfigdirs
="$noconfigdirs target-libssp"
3247 powerpc-
*-aix* | rs6000-
*-aix*)
3248 noconfigdirs
="$noconfigdirs target-libssp"
3251 # libssp uses a misaligned load to trigger a fault, but the RL78
3252 # doesn't fault for those - instead, it gives a build-time error
3253 # for explicit misaligned loads.
3254 noconfigdirs
="$noconfigdirs target-libssp"
3258 # Disable libstdc++-v3 for some systems.
3259 # Allow user to override this if they pass --enable-libstdc++-v3
3260 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3263 # VxWorks uses the Dinkumware C++ library.
3264 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3267 # the C++ libraries don't build on top of CE's C libraries
3268 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3271 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3276 # Disable Fortran for some systems.
3279 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3280 unsupported_languages
="$unsupported_languages fortran"
3284 # Disable Java if libffi is not supported.
3316 powerpc-
*-aix* | rs6000-
*-aix*)
3320 powerpc64-
*-freebsd*)
3324 s390-
*-* | s390x-
*-*)
3326 sh-
*-* | sh
[34]*-*-*)
3328 sh64-
*-* | sh5
*-*-*)
3335 unsupported_languages
="$unsupported_languages java"
3339 # Disable Java, libgcj or related libraries for some systems.
3343 i
[3456789]86-*-darwin*)
3345 x86_64-
*-darwin[912]*)
3348 noconfigdirs
="$noconfigdirs ${libgcj}"
3351 noconfigdirs
="$noconfigdirs ${libgcj}"
3354 noconfigdirs
="$noconfigdirs ${libgcj}"
3357 noconfigdirs
="$noconfigdirs ${libgcj}"
3360 noconfigdirs
="$noconfigdirs ${libgcj}"
3363 noconfigdirs
="$noconfigdirs ${libgcj}"
3366 noconfigdirs
="$noconfigdirs ${libgcj}"
3369 noconfigdirs
="$noconfigdirs ${libgcj}"
3372 noconfigdirs
="$noconfigdirs ${libgcj}"
3375 noconfigdirs
="$noconfigdirs target-boehm-gc"
3377 cris-
*-* | crisv32-
*-*)
3378 unsupported_languages
="$unsupported_languages java"
3382 *) # See PR46792 regarding target-libffi.
3383 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3387 # In this case, it's because the hppa64-linux target is for
3388 # the kernel only at this point and has no libc, and thus no
3389 # headers, crt*.o, etc., all of which are needed by these.
3390 unsupported_languages
="$unsupported_languages java"
3393 noconfigdirs
="$noconfigdirs ${libgcj}"
3398 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3399 # build on HP-UX 10.20.
3400 noconfigdirs
="$noconfigdirs ${libgcj}"
3403 noconfigdirs
="$noconfigdirs ${libgcj}"
3405 i
[3456789]86-w64-mingw*)
3406 noconfigdirs
="$noconfigdirs ${libgcj}"
3408 i
[3456789]86-*-mingw*)
3409 noconfigdirs
="$noconfigdirs ${libgcj}"
3412 noconfigdirs
="$noconfigdirs ${libgcj}"
3415 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3418 # copied from rs6000-*-* entry
3419 noconfigdirs
="$noconfigdirs ${libgcj}"
3422 noconfigdirs
="$noconfigdirs ${libgcj}"
3425 noconfigdirs
="$noconfigdirs ${libgcj}"
3429 # Disable the go frontend on systems where it is known to not work. Please keep
3430 # this in sync with contrib/config-list.mk.
3432 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3433 unsupported_languages
="$unsupported_languages go"
3437 # Disable libgo for some systems where it is known to not work.
3438 # For testing, you can easily override this with --enable-libgo.
3439 if test x
$enable_libgo = x
; then
3443 noconfigdirs
="$noconfigdirs target-libgo"
3445 *-*-cygwin* |
*-*-mingw*)
3446 noconfigdirs
="$noconfigdirs target-libgo"
3449 noconfigdirs
="$noconfigdirs target-libgo"
3454 # Default libgloss CPU subdirectory.
3455 libgloss_dir
="$target_cpu"
3458 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3462 libgloss_dir
=aarch64
3467 cris-
*-* | crisv32-
*-*)
3476 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3477 libgloss_dir
=m68hc11
3479 m68
*-*-* | fido-
*-*)
3493 # Disable newlib and libgloss for various target OSes.
3496 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3498 i
[3456789]86-*-linux*)
3499 # This section makes it possible to build newlib natively on linux.
3500 # If we are using a cross compiler then don't configure newlib.
3501 if test x
${is_cross_compiler} != xno
; then
3502 noconfigdirs
="$noconfigdirs target-newlib"
3504 noconfigdirs
="$noconfigdirs target-libgloss"
3505 # If we are not using a cross compiler, do configure newlib.
3506 # Note however, that newlib will only be configured in this situation
3507 # if the --with-newlib option has been given, because otherwise
3508 # 'target-newlib' will appear in skipdirs.
3510 i
[3456789]86-*-rdos*)
3511 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3513 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3514 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3517 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3520 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3523 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3526 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3529 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3532 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3534 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3535 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3538 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3541 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3544 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3547 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3550 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3553 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3564 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3565 noconfigdirs
="$noconfigdirs sim target-rda"
3567 i
[3456789]86-*-darwin*)
3568 noconfigdirs
="$noconfigdirs ld gprof"
3569 noconfigdirs
="$noconfigdirs sim target-rda"
3571 x86_64-
*-darwin[912]*)
3572 noconfigdirs
="$noconfigdirs ld gas gprof"
3573 noconfigdirs
="$noconfigdirs sim target-rda"
3576 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3577 noconfigdirs
="$noconfigdirs sim target-rda"
3582 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3583 && test -f /usr
/local
/include
/gmp.h
; then
3588 # Remove unsupported stuff on all kaOS configurations.
3589 noconfigdirs
="$noconfigdirs target-libgloss"
3596 noconfigdirs
="$noconfigdirs target-libgloss"
3598 # The tpf target doesn't support gdb yet.
3600 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3603 noconfigdirs
="$noconfigdirs target-rda"
3608 # ld works, but does not support shared libraries.
3609 # gas doesn't generate exception information.
3610 noconfigdirs
="$noconfigdirs gas ld"
3613 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3616 # newlib is not 64 bit ready
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3620 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3623 noconfigdirs
="$noconfigdirs target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-libgloss"
3629 noconfigdirs
="$noconfigdirs ld target-libgloss"
3634 if test x
${with_avrlibc} != xno
; then
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 c4x-
*-* | tic4x-
*-*)
3639 noconfigdirs
="$noconfigdirs target-libgloss"
3642 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3645 noconfigdirs
="$noconfigdirs target-libgloss"
3648 noconfigdirs
="$noconfigdirs gdb"
3651 noconfigdirs
="$noconfigdirs gdb"
3654 noconfigdirs
="$noconfigdirs gprof"
3657 noconfigdirs
="$noconfigdirs target-libgloss"
3660 noconfigdirs
="$noconfigdirs target-libgloss"
3662 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3670 hppa
*-*-openbsd* | \
3674 noconfigdirs
="$noconfigdirs ld"
3679 noconfigdirs
="$noconfigdirs ld"
3682 noconfigdirs
="$noconfigdirs gdb"
3685 # No gdb support yet.
3686 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3689 # No ld support yet.
3690 noconfigdirs
="$noconfigdirs libgui itcl ld"
3693 # No ld support yet.
3694 noconfigdirs
="$noconfigdirs libgui itcl ld"
3696 i
[3456789]86-w64-mingw*)
3698 i
[3456789]86-*-mingw*)
3699 target_configdirs
="$target_configdirs target-winsup"
3702 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3703 noconfigdirs
="$noconfigdirs target-libgloss"
3704 # always build newlib if winsup directory is present.
3705 if test -d "$srcdir/winsup/cygwin"; then
3706 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3707 elif test -d "$srcdir/newlib"; then
3708 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3712 noconfigdirs
="$noconfigdirs target-libgloss"
3714 i
[3456789]86-*-sco3.2v5
*)
3715 # The linker does not yet know about weak symbols in COFF,
3716 # and is not configured to handle mixed ELF and COFF.
3717 noconfigdirs
="$noconfigdirs ld target-libgloss"
3719 i
[3456789]86-*-sco*)
3720 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3722 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3723 noconfigdirs
="$noconfigdirs target-libgloss"
3725 i
[3456789]86-*-sysv4*)
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3728 i
[3456789]86-*-beos*)
3729 noconfigdirs
="$noconfigdirs gdb"
3731 i
[3456789]86-*-rdos*)
3732 noconfigdirs
="$noconfigdirs gdb"
3735 noconfigdirs
="$noconfigdirs gdb"
3738 noconfigdirs
="$noconfigdirs sim"
3741 # copied from rs6000-*-* entry
3742 noconfigdirs
="$noconfigdirs gprof"
3744 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3745 target_configdirs
="$target_configdirs target-winsup"
3746 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3747 # always build newlib.
3748 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3750 # This is temporary until we can link against shared libraries
3751 powerpcle-
*-solaris*)
3752 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3755 noconfigdirs
="$noconfigdirs gdb"
3758 noconfigdirs
="$noconfigdirs gprof"
3761 noconfigdirs
="$noconfigdirs gprof"
3764 noconfigdirs
="$noconfigdirs gprof"
3767 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3770 noconfigdirs
="$noconfigdirs gprof"
3772 mips
*-sde-elf* | mips
*-mti-elf*)
3773 if test x
$with_newlib = xyes
; then
3774 noconfigdirs
="$noconfigdirs gprof"
3778 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3781 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3784 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3788 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3789 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3790 noconfigdirs
="$noconfigdirs ld gas gprof"
3793 noconfigdirs
="$noconfigdirs gprof"
3796 # nvptx is just a compiler
3797 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3804 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3808 if test x
${is_cross_compiler} = xno
; then
3813 noconfigdirs
="$noconfigdirs sim"
3815 tilepro
*-*-* | tilegx
*-*-*)
3816 noconfigdirs
="$noconfigdirs sim"
3819 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3822 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3826 # If we aren't building newlib, then don't build libgloss, since libgloss
3827 # depends upon some newlib header files.
3828 case "${noconfigdirs}" in
3829 *target-libgloss
*) ;;
3830 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3833 # Work in distributions that contain no compiler tools, like Autoconf.
3834 host_makefile_frag
=/dev
/null
3835 if test -d ${srcdir}/config
; then
3837 i
[3456789]86-*-msdosdjgpp*)
3838 host_makefile_frag
="config/mh-djgpp"
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3843 $as_echo_n "checking to see if cat works as expected... " >&6; }
3844 echo a
>cygwin-cat-check
3845 if test `cat cygwin-cat-check` = a
; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3848 $as_echo "yes" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3853 as_fn_error
"The cat command does not ignore carriage return characters.
3854 Please either mount the build directory in binary mode or run the following
3855 commands before running any configure script:
3861 host_makefile_frag
="config/mh-cygwin"
3864 host_makefile_frag
="config/mh-mingw"
3867 host_makefile_frag
="config/mh-alpha-linux"
3870 host_makefile_frag
="config/mh-pa-hpux10"
3873 host_makefile_frag
="config/mh-pa"
3876 host_makefile_frag
="config/mh-pa"
3879 host_makefile_frag
="config/mh-darwin"
3882 host_makefile_frag
="config/mh-ppc-aix"
3885 host_makefile_frag
="config/mh-ppc-aix"
3890 if test "${build}" != "${host}" ; then
3891 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3892 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3893 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3894 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3895 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3896 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3897 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3898 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3899 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3900 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3901 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3902 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3903 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3905 AR_FOR_BUILD
="\$(AR)"
3906 AS_FOR_BUILD
="\$(AS)"
3907 CC_FOR_BUILD
="\$(CC)"
3908 CXX_FOR_BUILD
="\$(CXX)"
3909 GCJ_FOR_BUILD
="\$(GCJ)"
3910 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3911 GOC_FOR_BUILD
="\$(GOC)"
3912 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3913 LD_FOR_BUILD
="\$(LD)"
3914 NM_FOR_BUILD
="\$(NM)"
3915 RANLIB_FOR_BUILD
="\$(RANLIB)"
3916 WINDRES_FOR_BUILD
="\$(WINDRES)"
3917 WINDMC_FOR_BUILD
="\$(WINDMC)"
3921 ac_cpp
='$CPP $CPPFLAGS'
3922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3927 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if test "${ac_cv_prog_CC+set}" = set; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC
="$CC" # Let the user override the test.
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3940 test -z "$as_dir" && as_dir
=.
3941 for ac_exec_ext
in '' $ac_executable_extensions; do
3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3943 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 if test -n "$CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3956 $as_echo "$CC" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3964 if test -z "$ac_cv_prog_CC"; then
3966 # Extract the first word of "gcc", so it can be a program name with args.
3967 set dummy gcc
; ac_word
=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -n "$ac_ct_CC"; then
3974 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983 ac_cv_prog_ac_ct_CC
="gcc"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3994 if test -n "$ac_ct_CC"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3996 $as_echo "$ac_ct_CC" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4002 if test "x$ac_ct_CC" = x
; then
4005 case $cross_compiling:$ac_tool_warned in
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009 ac_tool_warned
=yes ;;
4017 if test -z "$CC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4020 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022 $as_echo_n "checking for $ac_word... " >&6; }
4023 if test "${ac_cv_prog_CC+set}" = set; then :
4024 $as_echo_n "(cached) " >&6
4026 if test -n "$CC"; then
4027 ac_cv_prog_CC
="$CC" # Let the user override the test.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 if test -n "$CC"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4049 $as_echo "$CC" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4058 if test -z "$CC"; then
4059 # Extract the first word of "cc", so it can be a program name with args.
4060 set dummy cc
; ac_word
=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if test "${ac_cv_prog_CC+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 if test -n "$CC"; then
4067 ac_cv_prog_CC
="$CC" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4077 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4078 ac_prog_rejected
=yes
4082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 if test $ac_prog_rejected = yes; then
4090 # We found a bogon in the path, so make sure we never use it.
4091 set dummy
$ac_cv_prog_CC
4093 if test $# != 0; then
4094 # We chose a different compiler from the bogus one.
4095 # However, it has the same basename, so the bogon will be chosen
4096 # first if we set CC to just the basename; use the full file name.
4098 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4104 if test -n "$CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4106 $as_echo "$CC" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4114 if test -z "$CC"; then
4115 if test -n "$ac_tool_prefix"; then
4116 for ac_prog
in cl.exe
4118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if test "${ac_cv_prog_CC+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$CC"; then
4126 ac_cv_prog_CC
="$CC" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4135 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 if test -n "$CC"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4148 $as_echo "$CC" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4155 test -n "$CC" && break
4158 if test -z "$CC"; then
4160 for ac_prog
in cl.exe
4162 # Extract the first word of "$ac_prog", so it can be a program name with args.
4163 set dummy
$ac_prog; ac_word
=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -n "$ac_ct_CC"; then
4170 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 ac_cv_prog_ac_ct_CC
="$ac_prog"
4180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4190 if test -n "$ac_ct_CC"; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4192 $as_echo "$ac_ct_CC" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4199 test -n "$ac_ct_CC" && break
4202 if test "x$ac_ct_CC" = x
; then
4205 case $cross_compiling:$ac_tool_warned in
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4209 ac_tool_warned
=yes ;;
4218 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error
"no acceptable C compiler found in \$PATH
4221 See \`config.log' for more details." "$LINENO" 5; }
4223 # Provide some information about the compiler.
4224 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4227 for ac_option
in --version -v -V -qversion; do
4228 { { ac_try
="$ac_compiler $ac_option >&5"
4230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4234 $as_echo "$ac_try_echo"; } >&5
4235 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4237 if test -s conftest.err; then
4239 ... rest of stderr output deleted ...
4240 10q' conftest.err >conftest.er1
4241 cat conftest.er1 >&5
4242 rm -f conftest.er1 conftest.err
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 ac_clean_files_save=$ac_clean_files
4260 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4261 # Try to create an executable without -o first, disregard a.out.
4262 # It will help us diagnose broken compilers, and finding out an intuition
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4265 $as_echo_n "checking for C compiler default output file name... " >&6; }
4266 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4268 # The possible output files:
4269 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4272 for ac_file in $ac_files
4275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4276 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4281 if { { ac_try="$ac_link_default"
4283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4284 *) ac_try_echo
=$ac_try;;
4286 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_link_default") 2>&5
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4295 # so that the user can short-circuit this test for compilers unknown to
4297 for ac_file
in $ac_files ''
4299 test -f "$ac_file" ||
continue
4301 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4304 # We found the default executable, but exeext='' is most
4308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4310 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4312 # We set ac_cv_exeext here because the later test for it is not
4313 # safe: cross compilers may not add the suffix if given an `-o'
4314 # argument, so we may need to know it at that point already.
4315 # Even if this section looks crufty: it has the advantage of
4322 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4328 $as_echo "$ac_file" >&6; }
4329 if test -z "$ac_file"; then :
4330 $as_echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.
$ac_ext >&5
4333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4335 { as_fn_set_status
77
4336 as_fn_error
"C compiler cannot create executables
4337 See \`config.log' for more details." "$LINENO" 5; }; }
4339 ac_exeext
=$ac_cv_exeext
4341 # Check that the compiler produces executables we can run. If not, either
4342 # the compiler is broken, or we cross compile.
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4344 $as_echo_n "checking whether the C compiler works... " >&6; }
4345 # If not cross compiling, check that we can run a simple program.
4346 if test "$cross_compiling" != yes; then
4347 if { ac_try
='./$ac_file'
4348 { { case "(($ac_try" in
4349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; }; then
4360 if test "$cross_compiling" = maybe; then
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error "cannot run C compiled programs.
4366 If you meant to cross compile
, use \
`--host'.
4367 See \`config.log
' for more details." "$LINENO" 5; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4372 $as_echo "yes" >&6; }
4374 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4375 ac_clean_files=$ac_clean_files_save
4376 # Check that the compiler produces executables we can run. If not, either
4377 # the compiler is broken, or we cross compile.
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4379 $as_echo_n "checking whether we are cross compiling... " >&6; }
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4381 $as_echo "$cross_compiling" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4384 $as_echo_n "checking for suffix of executables... " >&6; }
4385 if { { ac_try="$ac_link"
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 $as_echo "$ac_try_echo"; } >&5
4392 (eval "$ac_link") 2>&5
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 test $ac_status = 0; }; then :
4396 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4397 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4398 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4400 for ac_file
in conftest.exe conftest conftest.
*; do
4401 test -f "$ac_file" ||
continue
4403 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4404 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4412 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4413 See \`config.log' for more details." "$LINENO" 5; }
4415 rm -f conftest
$ac_cv_exeext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4417 $as_echo "$ac_cv_exeext" >&6; }
4419 rm -f conftest.
$ac_ext
4420 EXEEXT
=$ac_cv_exeext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4423 $as_echo_n "checking for suffix of object files... " >&6; }
4424 if test "${ac_cv_objext+set}" = set; then :
4425 $as_echo_n "(cached) " >&6
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 rm -f conftest.o conftest.obj
4439 if { { ac_try
="$ac_compile"
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_compile") 2>&5
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; then :
4450 for ac_file in conftest.o conftest.obj conftest.*; do
4451 test -f "$ac_file" || continue;
4453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4459 $as_echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4464 as_fn_error "cannot compute suffix of object files
: cannot compile
4465 See \
`config.log' for more details." "$LINENO" 5; }
4467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4470 $as_echo "$ac_cv_objext" >&6; }
4471 OBJEXT=$ac_cv_objext
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4475 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4492 if ac_fn_c_try_compile "$LINENO"; then :
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4503 if test $ac_compiler_gnu = yes; then
4508 ac_test_CFLAGS=${CFLAGS+set}
4509 ac_save_CFLAGS=$CFLAGS
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4512 if test "${ac_cv_prog_cc_g+set}" = set; then :
4513 $as_echo_n "(cached) " >&6
4515 ac_save_c_werror_flag=$ac_c_werror_flag
4516 ac_c_werror_flag=yes
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4530 if ac_fn_c_try_compile "$LINENO"; then :
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4545 if ac_fn_c_try_compile "$LINENO"; then :
4548 ac_c_werror_flag=$ac_save_c_werror_flag
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 if ac_fn_c_try_compile "$LINENO"; then :
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 ac_c_werror_flag=$ac_save_c_werror_flag
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4572 $as_echo "$ac_cv_prog_cc_g" >&6; }
4573 if test "$ac_test_CFLAGS" = set; then
4574 CFLAGS=$ac_save_CFLAGS
4575 elif test $ac_cv_prog_cc_g = yes; then
4576 if test "$GCC" = yes; then
4582 if test "$GCC" = yes; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4590 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 ac_cv_prog_cc_c89=no
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 #include <sys/types.h>
4600 #include <sys/stat.h>
4601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4602 struct buf { int x; };
4603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4604 static char *e (p, i)
4610 static char *f (char * (*g) (char **, int), char **p, ...)
4615 s = g (p, va_arg (v,int));
4620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4621 function prototypes and stuff, but not '\xHH' hex character constants.
4622 These don't provoke an error unfortunately, instead are silently treated
4623 as 'x'. The following induces an error, until -std is added to get
4624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4625 array size at least. It's necessary to write '\x00'==0 to get something
4626 that's true only with -std. */
4627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4630 inside strings and character constants. */
4632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4634 int test (int i, double x);
4635 struct s1 {int (*f) (int a);};
4636 struct s2 {int (*f) (double a);};
4637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4651 CC="$ac_save_CC $ac_arg"
4652 if ac_fn_c_try_compile "$LINENO"; then :
4653 ac_cv_prog_cc_c89=$ac_arg
4655 rm -f core conftest.err conftest.$ac_objext
4656 test "x$ac_cv_prog_cc_c89" != "xno" && break
4658 rm -f conftest.$ac_ext
4663 case "x$ac_cv_prog_cc_c89" in
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4666 $as_echo "none needed" >&6; } ;;
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4669 $as_echo "unsupported" >&6; } ;;
4671 CC="$CC $ac_cv_prog_cc_c89"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4673 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4675 if test "x$ac_cv_prog_cc_c89" != xno; then :
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686 ac_cpp='$CXXCPP $CPPFLAGS'
4687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4690 if test -z "$CXX"; then
4691 if test -n "$CCC"; then
4694 if test -n "$ac_tool_prefix"; then
4695 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_CXX+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$CXX"; then
4705 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 if test -n "$CXX"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4727 $as_echo "$CXX" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4734 test -n "$CXX" && break
4737 if test -z "$CXX"; then
4739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4741 # Extract the first word of "$ac_prog", so it can be a program name with args.
4742 set dummy $ac_prog; ac_word=$2
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 $as_echo_n "checking for $ac_word... " >&6; }
4745 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 if test -n "$ac_ct_CXX"; then
4749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir=.
4756 for ac_exec_ext in '' $ac_executable_extensions; do
4757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4758 ac_cv_prog_ac_ct_CXX="$ac_prog"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4769 if test -n "$ac_ct_CXX"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4771 $as_echo "$ac_ct_CXX" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4778 test -n "$ac_ct_CXX" && break
4781 if test "x$ac_ct_CXX" = x; then
4784 case $cross_compiling:$ac_tool_warned in
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4788 ac_tool_warned=yes ;;
4796 # Provide some information about the compiler.
4797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4800 for ac_option in --version -v -V -qversion; do
4801 { { ac_try="$ac_compiler $ac_option >&5"
4803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4804 *) ac_try_echo
=$ac_try;;
4806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4807 $as_echo "$ac_try_echo"; } >&5
4808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4810 if test -s conftest.err
; then
4812 ... rest of stderr output deleted ...
4813 10q' conftest.err
>conftest.er1
4814 cat conftest.er1
>&5
4815 rm -f conftest.er1 conftest.err
4817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4818 test $ac_status = 0; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4823 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4824 $as_echo_n "(cached) " >&6
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4840 if ac_fn_cxx_try_compile
"$LINENO"; then :
4845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4846 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4851 if test $ac_compiler_gnu = yes; then
4856 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4857 ac_save_CXXFLAGS
=$CXXFLAGS
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4860 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4864 ac_cxx_werror_flag
=yes
4867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4878 if ac_fn_cxx_try_compile
"$LINENO"; then :
4879 ac_cv_prog_cxx_g
=yes
4882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4893 if ac_fn_cxx_try_compile
"$LINENO"; then :
4896 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4909 if ac_fn_cxx_try_compile
"$LINENO"; then :
4910 ac_cv_prog_cxx_g
=yes
4912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4921 if test "$ac_test_CXXFLAGS" = set; then
4922 CXXFLAGS
=$ac_save_CXXFLAGS
4923 elif test $ac_cv_prog_cxx_g = yes; then
4924 if test "$GXX" = yes; then
4930 if test "$GXX" = yes; then
4937 ac_cpp
='$CPP $CPPFLAGS'
4938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4943 # We must set the default linker to the linker used by gcc for the correct
4944 # operation of libtool. If LD is not defined and we are using gcc, try to
4945 # set the LD default to the ld used by gcc.
4946 if test -z "$LD"; then
4947 if test "$GCC" = yes; then
4950 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4952 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4954 case $gcc_prog_ld in
4955 # Accept absolute paths.
4956 [\\/]* |
[A-Za-z
]:[\\/]*)
4957 LD
="$gcc_prog_ld" ;;
4962 # Check whether -static-libstdc++ -static-libgcc is supported.
4964 if test "$GCC" = yes; then
4965 saved_LDFLAGS
="$LDFLAGS"
4967 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4969 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4971 ac_cpp
='$CXXCPP $CPPFLAGS'
4972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4980 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4981 #error -static-libstdc++ not implemented
4985 if ac_fn_cxx_try_link
"$LINENO"; then :
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4987 $as_echo "yes" >&6; }; have_static_libs
=yes
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4992 rm -f core conftest.err conftest.
$ac_objext \
4993 conftest
$ac_exeext conftest.
$ac_ext
4995 ac_cpp
='$CPP $CPPFLAGS'
4996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5001 LDFLAGS
="$saved_LDFLAGS"
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5009 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$GNATBIND"; then
5016 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 GNATBIND
=$ac_cv_prog_GNATBIND
5036 if test -n "$GNATBIND"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5038 $as_echo "$GNATBIND" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5046 if test -z "$ac_cv_prog_GNATBIND"; then
5047 ac_ct_GNATBIND
=$GNATBIND
5048 # Extract the first word of "gnatbind", so it can be a program name with args.
5049 set dummy gnatbind
; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$ac_ct_GNATBIND"; then
5056 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5076 if test -n "$ac_ct_GNATBIND"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5078 $as_echo "$ac_ct_GNATBIND" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5084 if test "x$ac_ct_GNATBIND" = x
; then
5087 case $cross_compiling:$ac_tool_warned in
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned
=yes ;;
5093 GNATBIND
=$ac_ct_GNATBIND
5096 GNATBIND
="$ac_cv_prog_GNATBIND"
5099 if test -n "$ac_tool_prefix"; then
5100 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5101 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$GNATMAKE"; then
5108 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 GNATMAKE
=$ac_cv_prog_GNATMAKE
5128 if test -n "$GNATMAKE"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5130 $as_echo "$GNATMAKE" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5138 if test -z "$ac_cv_prog_GNATMAKE"; then
5139 ac_ct_GNATMAKE
=$GNATMAKE
5140 # Extract the first word of "gnatmake", so it can be a program name with args.
5141 set dummy gnatmake
; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$ac_ct_GNATMAKE"; then
5148 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5168 if test -n "$ac_ct_GNATMAKE"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5170 $as_echo "$ac_ct_GNATMAKE" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_ct_GNATMAKE" = x
; then
5179 case $cross_compiling:$ac_tool_warned in
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned
=yes ;;
5185 GNATMAKE
=$ac_ct_GNATMAKE
5188 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5192 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5193 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5194 $as_echo_n "(cached) " >&6
5196 cat >conftest.adb
<<EOF
5197 procedure conftest is begin null; end conftest;
5199 acx_cv_cc_gcc_supports_ada
=no
5200 # There is a bug in old released versions of GCC which causes the
5201 # driver to exit successfully when the appropriate language module
5202 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5203 # Therefore we must check for the error message as well as an
5204 # unsuccessful exit.
5205 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5206 # given a .adb file, but produce no object file. So we must check
5207 # if an object file was really produced to guard against this.
5208 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5209 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5210 acx_cv_cc_gcc_supports_ada
=yes
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5215 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5217 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5224 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5225 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5230 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5231 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5232 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5235 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5238 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5239 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5242 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5249 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5250 do_compare
="$gcc_cv_prog_cmp_skip"
5254 # Check whether --enable-bootstrap was given.
5255 if test "${enable_bootstrap+set}" = set; then :
5256 enableval
=$enable_bootstrap;
5258 enable_bootstrap
=default
5262 # Issue errors and warnings for invalid/strange bootstrap combinations.
5263 if test -r $srcdir/gcc
/configure
; then
5269 case "$have_compiler:$host:$target:$enable_bootstrap" in
5272 # Default behavior. Enable bootstrap if we have a compiler
5273 # and we are in a native configuration.
5274 yes:$build:$build:default
)
5275 enable_bootstrap
=yes ;;
5278 enable_bootstrap
=no
;;
5280 # We have a compiler and we are in a native configuration, bootstrap is ok
5281 yes:$build:$build:yes)
5284 # Other configurations, but we have a compiler. Assume the user knows
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5288 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5291 # No compiler: if they passed --enable-bootstrap explicitly, fail
5293 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5295 # Fail if wrong command line
5297 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5301 # Used for setting $lt_cv_objdir
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5303 $as_echo_n "checking for objdir... " >&6; }
5304 if test "${lt_cv_objdir+set}" = set; then :
5305 $as_echo_n "(cached) " >&6
5307 rm -f .libs
2>/dev
/null
5308 mkdir .libs
2>/dev
/null
5309 if test -d .libs
; then
5312 # MS-DOS does not allow filenames that begin with a dot.
5315 rmdir .libs
2>/dev
/null
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5318 $as_echo "$lt_cv_objdir" >&6; }
5319 objdir
=$lt_cv_objdir
5325 cat >>confdefs.h
<<_ACEOF
5326 #define LT_OBJDIR "$lt_cv_objdir/"
5331 # Check for GMP, MPFR and MPC
5332 gmplibs
="-lmpc -lmpfr -lgmp"
5336 # Specify a location for mpc
5337 # check for this first so it ends up on the link line before mpfr.
5339 # Check whether --with-mpc was given.
5340 if test "${with_mpc+set}" = set; then :
5345 # Check whether --with-mpc-include was given.
5346 if test "${with_mpc_include+set}" = set; then :
5347 withval
=$with_mpc_include;
5351 # Check whether --with-mpc-lib was given.
5352 if test "${with_mpc_lib+set}" = set; then :
5353 withval
=$with_mpc_lib;
5357 if test "x$with_mpc" != x
; then
5358 gmplibs
="-L$with_mpc/lib $gmplibs"
5359 gmpinc
="-I$with_mpc/include $gmpinc"
5361 if test "x$with_mpc_include" != x
; then
5362 gmpinc
="-I$with_mpc_include $gmpinc"
5364 if test "x$with_mpc_lib" != x
; then
5365 gmplibs
="-L$with_mpc_lib $gmplibs"
5367 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5368 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5369 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5370 # Do not test the mpc version. Assume that it is sufficient, since
5371 # it is in the source tree, and the library has not been built yet
5372 # but it would be included on the link line in the version check below
5373 # hence making the test fail.
5377 # Specify a location for mpfr
5378 # check for this first so it ends up on the link line before gmp.
5380 # Check whether --with-mpfr-dir was given.
5381 if test "${with_mpfr_dir+set}" = set; then :
5382 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5383 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5388 # Check whether --with-mpfr was given.
5389 if test "${with_mpfr+set}" = set; then :
5394 # Check whether --with-mpfr-include was given.
5395 if test "${with_mpfr_include+set}" = set; then :
5396 withval
=$with_mpfr_include;
5400 # Check whether --with-mpfr-lib was given.
5401 if test "${with_mpfr_lib+set}" = set; then :
5402 withval
=$with_mpfr_lib;
5406 if test "x$with_mpfr" != x
; then
5407 gmplibs
="-L$with_mpfr/lib $gmplibs"
5408 gmpinc
="-I$with_mpfr/include $gmpinc"
5410 if test "x$with_mpfr_include" != x
; then
5411 gmpinc
="-I$with_mpfr_include $gmpinc"
5413 if test "x$with_mpfr_lib" != x
; then
5414 gmplibs
="-L$with_mpfr_lib $gmplibs"
5416 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5417 # MPFR v3.1.0 moved the sources into a src sub-directory.
5418 if test -d ${srcdir}/mpfr
/src
; then
5419 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5420 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5421 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5423 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5424 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5425 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5427 # Do not test the mpfr version. Assume that it is sufficient, since
5428 # it is in the source tree, and the library has not been built yet
5429 # but it would be included on the link line in the version check below
5430 # hence making the test fail.
5434 # Specify a location for gmp
5436 # Check whether --with-gmp-dir was given.
5437 if test "${with_gmp_dir+set}" = set; then :
5438 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5439 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5444 # Check whether --with-gmp was given.
5445 if test "${with_gmp+set}" = set; then :
5450 # Check whether --with-gmp-include was given.
5451 if test "${with_gmp_include+set}" = set; then :
5452 withval
=$with_gmp_include;
5456 # Check whether --with-gmp-lib was given.
5457 if test "${with_gmp_lib+set}" = set; then :
5458 withval
=$with_gmp_lib;
5463 if test "x$with_gmp" != x
; then
5464 gmplibs
="-L$with_gmp/lib $gmplibs"
5465 gmpinc
="-I$with_gmp/include $gmpinc"
5467 if test "x$with_gmp_include" != x
; then
5468 gmpinc
="-I$with_gmp_include $gmpinc"
5470 if test "x$with_gmp_lib" != x
; then
5471 gmplibs
="-L$with_gmp_lib $gmplibs"
5473 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5474 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5475 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5476 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5477 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5478 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5479 # Do not test the gmp version. Assume that it is sufficient, since
5480 # it is in the source tree, and the library has not been built yet
5481 # but it would be included on the link line in the version check below
5482 # hence making the test fail.
5486 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5488 saved_CFLAGS
="$CFLAGS"
5489 CFLAGS
="$CFLAGS $gmpinc"
5490 # Check for the recommended and required versions of GMP.
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5492 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5501 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5502 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5503 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5511 if ac_fn_c_try_compile
"$LINENO"; then :
5512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5519 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5520 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5521 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5529 if ac_fn_c_try_compile
"$LINENO"; then :
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5531 $as_echo "yes" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5534 $as_echo "buggy but acceptable" >&6; }
5536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }; have_gmp
=no
5541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5543 # If we have GMP, check the MPFR version.
5544 if test x
"$have_gmp" = xyes
; then
5545 # Check for the recommended and required versions of MPFR.
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5547 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5556 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5564 if ac_fn_c_try_compile
"$LINENO"; then :
5565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5573 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5581 if ac_fn_c_try_compile
"$LINENO"; then :
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5583 $as_echo "yes" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5586 $as_echo "buggy but acceptable" >&6; }
5588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }; have_gmp
=no
5593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5596 # Check for the MPC header version.
5597 if test x
"$have_gmp" = xyes
; then
5598 # Check for the recommended and required versions of MPC.
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5600 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5608 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5616 if ac_fn_c_try_compile
"$LINENO"; then :
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5624 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5632 if ac_fn_c_try_compile
"$LINENO"; then :
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5634 $as_echo "yes" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5637 $as_echo "buggy but acceptable" >&6; }
5639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }; have_gmp
=no
5644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5647 # Now check the MPFR library.
5648 if test x
"$have_gmp" = xyes
; then
5650 LIBS
="$LIBS $gmplibs"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5652 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5666 mpfr_atan2 (n, n, x, GMP_RNDN);
5667 mpfr_erfc (n, x, GMP_RNDN);
5668 mpfr_subnormalize (x, t, GMP_RNDN);
5672 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5673 mpc_cosh (c, c, MPC_RNDNN);
5674 mpc_pow (c, c, c, MPC_RNDNN);
5675 mpc_acosh (c, c, MPC_RNDNN);
5682 if ac_fn_c_try_link
"$LINENO"; then :
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5684 $as_echo "yes" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }; have_gmp
=no
5689 rm -f core conftest.err conftest.
$ac_objext \
5690 conftest
$ac_exeext conftest.
$ac_ext
5694 CFLAGS
="$saved_CFLAGS"
5696 # The library versions listed in the error message below should match
5697 # the HARD-minimums enforced above.
5698 if test x
$have_gmp != xyes
; then
5699 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5700 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5701 their locations. Source code for these libraries can be found at
5702 their respective hosting sites as well as at
5703 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5704 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5705 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5706 make sure that you have installed both the libraries and the header
5707 files. They may be located in separate packages." "$LINENO" 5
5711 # Flags needed for both GMP, MPFR and/or MPC.
5719 # Allow host libstdc++ to be specified for static linking with PPL.
5721 # Check whether --with-host-libstdcxx was given.
5722 if test "${with_host_libstdcxx+set}" = set; then :
5723 withval
=$with_host_libstdcxx;
5727 case $with_host_libstdcxx in
5729 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5733 # Libraries to use for stage1 or when not bootstrapping.
5735 # Check whether --with-stage1-libs was given.
5736 if test "${with_stage1_libs+set}" = set; then :
5737 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5740 stage1_libs
=$withval
5743 stage1_libs
=$with_host_libstdcxx
5748 # Linker flags to use for stage1 or when not bootstrapping.
5750 # Check whether --with-stage1-ldflags was given.
5751 if test "${with_stage1_ldflags+set}" = set; then :
5752 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5755 stage1_ldflags
=$withval
5759 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5760 # if supported. But if the user explicitly specified the libraries to use,
5761 # trust that they are doing what they want.
5762 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5763 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5769 # Libraries to use for stage2 and later builds. This defaults to the
5770 # argument passed to --with-host-libstdcxx.
5772 # Check whether --with-boot-libs was given.
5773 if test "${with_boot_libs+set}" = set; then :
5774 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5777 poststage1_libs
=$withval
5780 poststage1_libs
=$with_host_libstdcxx
5785 # Linker flags to use for stage2 and later builds.
5787 # Check whether --with-boot-ldflags was given.
5788 if test "${with_boot_ldflags+set}" = set; then :
5789 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5792 poststage1_ldflags
=$withval
5796 # In stages 2 and 3, default to linking libstdc++ and libgcc
5797 # statically. But if the user explicitly specified the libraries to
5798 # use, trust that they are doing what they want.
5799 if test "$poststage1_libs" = ""; then
5800 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5806 # GCC GRAPHITE dependency ISL.
5807 # Basic setup is inlined here, actual checks are in config/isl.m4
5810 # Check whether --with-isl was given.
5811 if test "${with_isl+set}" = set; then :
5816 # Treat --without-isl as a request to disable
5817 # GRAPHITE support and skip all following checks.
5818 if test "x$with_isl" != "xno"; then
5822 # Check whether --with-isl-include was given.
5823 if test "${with_isl_include+set}" = set; then :
5824 withval
=$with_isl_include;
5828 # Check whether --with-isl-lib was given.
5829 if test "${with_isl_lib+set}" = set; then :
5830 withval
=$with_isl_lib;
5834 # Check whether --enable-isl-version-check was given.
5835 if test "${enable_isl_version_check+set}" = set; then :
5836 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5838 ENABLE_ISL_CHECK
=yes
5842 # Initialize isllibs and islinc.
5851 isllibs
="-L$with_isl/lib"
5852 islinc
="-I$with_isl/include"
5855 if test "x${with_isl_include}" != x
; then
5856 islinc
="-I$with_isl_include"
5858 if test "x${with_isl_lib}" != x
; then
5859 isllibs
="-L$with_isl_lib"
5861 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5862 && test -d ${srcdir}/isl
; then
5863 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5864 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5867 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5870 islinc
="-DCLOOG_INT_GMP ${islinc}"
5871 isllibs
="${isllibs} -lisl"
5875 if test "${ENABLE_ISL_CHECK}" = yes ; then
5876 _isl_saved_CFLAGS
=$CFLAGS
5877 _isl_saved_LDFLAGS
=$LDFLAGS
5878 _isl_saved_LIBS
=$LIBS
5880 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5881 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5882 LIBS
="${_isl_saved_LIBS} -lisl"
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5885 $as_echo_n "checking for compatible ISL... " >&6; }
5886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5888 #include <isl/val.h>
5897 if ac_fn_c_try_link
"$LINENO"; then :
5902 rm -f core conftest.err conftest.
$ac_objext \
5903 conftest
$ac_exeext conftest.
$ac_ext
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5905 $as_echo "$gcc_cv_isl" >&6; }
5907 CFLAGS
=$_isl_saved_CFLAGS
5908 LDFLAGS
=$_isl_saved_LDFLAGS
5909 LIBS
=$_isl_saved_LIBS
5917 if test "x${with_isl}" = xno
; then
5918 graphite_requested
=no
5919 elif test "x${with_isl}" != x \
5920 ||
test "x${with_isl_include}" != x \
5921 ||
test "x${with_isl_lib}" != x
; then
5922 graphite_requested
=yes
5924 graphite_requested
=no
5929 if test "${gcc_cv_isl}" = no
; then
5934 if test "${graphite_requested}" = yes \
5935 && test "x${isllibs}" = x \
5936 && test "x${islinc}" = x
; then
5938 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5944 # If the ISL check failed, disable builds of in-tree variant of ISL
5945 if test "x$with_isl" = xno ||
5946 test "x$gcc_cv_isl" = xno
; then
5947 noconfigdirs
="$noconfigdirs isl"
5954 # Check for LTO support.
5955 # Check whether --enable-lto was given.
5956 if test "${enable_lto+set}" = set; then :
5957 enableval
=$enable_lto; enable_lto
=$enableval
5959 enable_lto
=yes; default_enable_lto
=yes
5968 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5969 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5970 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5978 if test $target_elf = yes; then :
5979 # ELF platforms build the lto-plugin always.
5980 build_lto_plugin
=yes
5983 if test x
"$default_enable_lto" = x
"yes" ; then
5985 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5986 # On other non-ELF platforms, LTO has yet to be validated.
5990 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5991 # It would also be nice to check the binutils support, but we don't
5992 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5993 # warn during gcc/ subconfigure; unless you're bootstrapping with
5994 # -flto it won't be needed until after installation anyway.
5996 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5997 *) if test x
"$enable_lto" = x
"yes"; then
5998 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6003 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6004 # Build it unless LTO was explicitly disabled.
6006 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6013 # Check whether --enable-linker-plugin-configure-flags was given.
6014 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6015 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6017 extra_linker_plugin_configure_flags
=
6021 # Check whether --enable-linker-plugin-flags was given.
6022 if test "${enable_linker_plugin_flags+set}" = set; then :
6023 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6025 extra_linker_plugin_flags
=
6031 # By default, C and C++ are the only stage 1 languages.
6032 stage1_languages
=,c
,
6034 # Target libraries that we bootstrap.
6035 bootstrap_target_libs
=,target-libgcc
,
6037 # Figure out what language subdirectories are present.
6038 # Look if the user specified --enable-languages="..."; if not, use
6039 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6041 # NB: embedded tabs in this IF block -- do not untabify
6042 if test -d ${srcdir}/gcc
; then
6043 if test x
"${enable_languages+set}" != xset
; then
6044 if test x
"${LANGUAGES+set}" = xset
; then
6045 enable_languages
="${LANGUAGES}"
6046 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6048 enable_languages
=all
6051 if test x
"${enable_languages}" = x ||
6052 test x
"${enable_languages}" = xyes
;
6054 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6058 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6060 # 'f95' is the old name for the 'fortran' language. We issue a warning
6061 # and make the substitution.
6062 case ,${enable_languages}, in
6064 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6065 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6069 # If bootstrapping, C++ must be enabled.
6070 case ",$enable_languages,:$enable_bootstrap" in
6073 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6074 enable_languages
="${enable_languages},c++"
6076 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6081 # First scan to see if an enabled language requires some other language.
6082 # We assume that a given config-lang.in will list all the language
6083 # front ends it requires, even if some are required indirectly.
6084 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6085 case ${lang_frag} in
6087 # The odd quoting in the next line works around
6088 # an apparent bug in bash 1.12 on linux.
6089 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6091 # From the config-lang.in, get $language, $lang_requires, and
6092 # $lang_requires_boot_languages.
6095 lang_requires_boot_languages
=
6097 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6098 case ,${enable_languages}, in
6102 echo " \`$other' language required by \`$language'; enabling" 1>&2
6103 enable_languages
="${enable_languages},${other}"
6107 for other
in ${lang_requires_boot_languages} ; do
6108 if test "$other" != "c"; then
6109 case ,${enable_stage1_languages}, in
6113 case ,${enable_languages}, in
6115 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6116 enable_stage1_languages
="$enable_stage1_languages,${other}"
6127 new_enable_languages
=,c
,
6129 # If LTO is enabled, add the LTO front end.
6130 if test "$enable_lto" = "yes" ; then
6131 case ,${enable_languages}, in
6133 *) enable_languages
="${enable_languages},lto" ;;
6135 if test "${build_lto_plugin}" = "yes" ; then
6136 configdirs
="$configdirs lto-plugin"
6140 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6141 potential_languages
=,c
,
6143 enabled_target_libs
=
6144 disabled_target_libs
=
6146 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6147 case ${lang_frag} in
6149 # The odd quoting in the next line works around
6150 # an apparent bug in bash 1.12 on linux.
6151 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6153 # From the config-lang.in, get $language, $target_libs,
6154 # $lang_dirs, $boot_language, and $build_by_default
6160 build_by_default
=yes
6162 if test x
${language} = x
; then
6163 echo "${lang_frag} doesn't set \$language." 1>&2
6167 if test "$language" = "c++"; then
6172 case ,${enable_languages}, in
6174 # Language was explicitly selected; include it
6175 # unless it is C, which is enabled by default.
6176 if test "$language" != "c"; then
6181 # 'all' was selected, select it if it is a default language
6182 if test "$language" != "c"; then
6183 add_this_lang
=${build_by_default}
6188 # Disable languages that need other directories if these aren't available.
6189 for i
in $subdir_requires; do
6190 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6191 case ,${enable_languages}, in
6193 # Specifically requested language; tell them.
6194 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6198 add_this_lang
=unsupported
6203 # Disable Ada if no preexisting GNAT is available.
6204 case ,${enable_languages},:${language}:${have_gnat} in
6205 *,${language},*:ada
:no
)
6206 # Specifically requested language; tell them.
6207 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6211 add_this_lang
=unsupported
6215 # Disable a language that is unsupported by the target.
6216 case " $unsupported_languages " in
6218 add_this_lang
=unsupported
6222 case $add_this_lang in
6224 # Remove language-dependent dirs.
6225 disabled_target_libs
="$disabled_target_libs $target_libs"
6226 noconfigdirs
="$noconfigdirs $lang_dirs"
6229 # Remove language-dependent dirs; still show language as supported.
6230 disabled_target_libs
="$disabled_target_libs $target_libs"
6231 noconfigdirs
="$noconfigdirs $lang_dirs"
6232 potential_languages
="${potential_languages}${language},"
6235 new_enable_languages
="${new_enable_languages}${language},"
6236 potential_languages
="${potential_languages}${language},"
6237 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6238 enabled_target_libs
="$enabled_target_libs $target_libs"
6239 case "${boot_language}:,$enable_stage1_languages," in
6240 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6241 # Add to (comma-separated) list of stage 1 languages.
6242 case ",$stage1_languages," in
6243 *,$language,* |
,yes, |
,all
,) ;;
6244 *) stage1_languages
="${stage1_languages}${language}," ;;
6246 # We need to bootstrap any supporting libraries.
6247 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6256 # Add target libraries which are only needed for disabled languages
6258 if test -n "$disabled_target_libs"; then
6259 for dir
in $disabled_target_libs; do
6260 case " $enabled_target_libs " in
6262 *) noconfigdirs
="$noconfigdirs $dir" ;;
6267 # Check whether --enable-stage1-languages was given.
6268 if test "${enable_stage1_languages+set}" = set; then :
6269 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6271 # Set it to something that will have no effect in the loop below
6272 enable_stage1_languages
=c
;;
6274 enable_stage1_languages
=`echo $new_enable_languages | \
6275 sed -e "s/^,//" -e "s/,$//" ` ;;
6277 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6278 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6281 # Add "good" languages from enable_stage1_languages to stage1_languages,
6282 # while "bad" languages go in missing_languages. Leave no duplicates.
6283 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6284 case $potential_languages in
6286 case $stage1_languages in
6288 *) stage1_languages
="$stage1_languages$i," ;;
6291 case $missing_languages in
6293 *) missing_languages
="$missing_languages$i," ;;
6300 # Remove leading/trailing commas that were added for simplicity
6301 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6302 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6303 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6304 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6306 if test "x$missing_languages" != x
; then
6308 The following requested languages could not be built: ${missing_languages}
6309 Supported languages are: ${potential_languages}" "$LINENO" 5
6311 if test "x$new_enable_languages" != "x$enable_languages"; then
6312 echo The following languages will be built
: ${new_enable_languages}
6313 enable_languages
="$new_enable_languages"
6317 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6320 # Handle --disable-<component> generically.
6321 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6322 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6323 varname
=`echo $dirname | sed -e s/+/_/g`
6324 if eval test x\
${enable_${varname}} "=" xno
; then
6325 noconfigdirs
="$noconfigdirs $dir"
6329 # Check for Boehm's garbage collector
6330 # Check whether --enable-objc-gc was given.
6331 if test "${enable_objc_gc+set}" = set; then :
6332 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6333 *,objc
,*:*:yes:*target-boehm-gc
*)
6334 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6340 # Make sure we only build Boehm's garbage collector if required.
6341 case ,${enable_languages},:${enable_objc_gc} in
6343 # Keep target-boehm-gc if requested for Objective-C.
6346 # Otherwise remove target-boehm-gc depending on target-libjava.
6347 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6348 noconfigdirs
="$noconfigdirs target-boehm-gc"
6353 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6354 case ,${enable_languages}, in
6356 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6357 case "${noconfigdirs}" in
6358 *target-libstdc
++-v3*)
6359 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6365 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6369 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6370 # $build_configdirs and $target_configdirs.
6371 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6374 for dir
in .
$skipdirs $noconfigdirs ; do
6375 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6376 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6377 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6378 if test -r $srcdir/$dirname/configure
; then
6379 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6382 notsupp
="$notsupp $dir"
6386 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6387 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6388 if test -r $srcdir/$dirname/configure
; then
6389 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6392 notsupp
="$notsupp $dir"
6396 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6397 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6398 if test -r $srcdir/$dirname/configure
; then
6399 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6402 notsupp
="$notsupp $dir"
6408 # Quietly strip out all directories which aren't configurable in this tree.
6409 # This relies on all configurable subdirectories being autoconfiscated, which
6411 build_configdirs_all
="$build_configdirs"
6413 for i
in ${build_configdirs_all} ; do
6414 j
=`echo $i | sed -e s/build-//g`
6415 if test -f ${srcdir}/$j/configure
; then
6416 build_configdirs
="${build_configdirs} $i"
6420 configdirs_all
="$configdirs"
6422 for i
in ${configdirs_all} ; do
6423 if test -f ${srcdir}/$i/configure
; then
6424 configdirs
="${configdirs} $i"
6428 target_configdirs_all
="$target_configdirs"
6430 for i
in ${target_configdirs_all} ; do
6431 j
=`echo $i | sed -e s/target-//g`
6432 if test -f ${srcdir}/$j/configure
; then
6433 target_configdirs
="${target_configdirs} $i"
6437 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6438 # so we have to add it after the preceding checks.
6439 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6441 case " $configdirs " in
6443 # If we can build libiberty, we can also build libiberty-linker-plugin.
6444 configdirs
="$configdirs libiberty-linker-plugin"
6445 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6446 --with-libiberty=../libiberty-linker-plugin";;
6448 as_fn_error
"libiberty missing" "$LINENO" 5;;
6452 # Sometimes we have special requirements for the host libiberty.
6453 extra_host_libiberty_configure_flags
=
6454 case " $configdirs " in
6455 *" lto-plugin "* |
*" libcc1 "*)
6456 # When these are to be built as shared libraries, the same applies to
6458 extra_host_libiberty_configure_flags
=--enable-shared
6463 # Produce a warning message for the subdirs we can't configure.
6464 # This isn't especially interesting in the Cygnus tree, but in the individual
6465 # FSF releases, it's important to let people know when their machine isn't
6466 # supported by the one or two programs in a package.
6468 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6469 # If $appdirs is non-empty, at least one of those directories must still
6470 # be configured, or we error out. (E.g., if the gas release supports a
6471 # specified target in some subdirs but not the gas subdir, we shouldn't
6472 # pretend that all is well.)
6473 if test -n "$appdirs" ; then
6474 for dir
in $appdirs ; do
6475 if test -r $dir/Makefile.
in ; then
6476 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6480 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6486 if test -n "$appdirs" ; then
6487 echo "*** This configuration is not supported by this package." 1>&2
6491 # Okay, some application will build, or we don't care to check. Still
6492 # notify of subdirs not getting built.
6493 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6494 echo " ${notsupp}" 1>&2
6495 echo " (Any other directories should still work fine.)" 1>&2
6503 # To find our prefix, in gcc_cv_tool_prefix.
6505 # The user is always right.
6506 if test "${PATH_SEPARATOR+set}" != set; then
6507 echo "#! /bin/sh" >conf$$.sh
6508 echo "exit 0" >>conf$$.sh
6510 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6520 if test "x$exec_prefix" = xNONE
; then
6521 if test "x$prefix" = xNONE
; then
6522 gcc_cv_tool_prefix
=$ac_default_prefix
6524 gcc_cv_tool_prefix
=$prefix
6527 gcc_cv_tool_prefix
=$exec_prefix
6530 # If there is no compiler in the tree, use the PATH only. In any
6531 # case, if there is no compiler in the tree nobody should use
6532 # AS_FOR_TARGET and LD_FOR_TARGET.
6533 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6534 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6535 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6536 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6537 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6538 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6539 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6540 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6545 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6546 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6554 # Check whether --with-build-sysroot was given.
6555 if test "${with_build_sysroot+set}" = set; then :
6556 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6557 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6560 SYSROOT_CFLAGS_FOR_TARGET
=
6566 # Check whether --with-debug-prefix-map was given.
6567 if test "${with_debug_prefix_map+set}" = set; then :
6568 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6569 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6570 for debug_map
in $withval; do
6571 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6575 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6580 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6581 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6582 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6583 # We want to ensure that TARGET libraries (which we know are built with
6584 # gcc) are built with "-O2 -g", so include those options when setting
6585 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6586 if test "x$CFLAGS_FOR_TARGET" = x
; then
6587 CFLAGS_FOR_TARGET
=$CFLAGS
6590 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6593 *" -g "* |
*" -g3 "*) ;;
6594 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6599 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6600 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6601 case " $CXXFLAGS " in
6603 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6605 case " $CXXFLAGS " in
6606 *" -g "* |
*" -g3 "*) ;;
6607 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6614 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6615 # the named directory are copied to $(tooldir)/sys-include.
6616 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6617 if test x
${is_cross_compiler} = xno
; then
6618 echo 1>&2 '***' --with-headers is only supported when cross compiling
6621 if test x
"${with_headers}" != xyes
; then
6622 x
=${gcc_cv_tool_prefix}
6623 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6627 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6628 # the name directories are copied to $(tooldir)/lib. Multiple directories
6630 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6631 if test x
${is_cross_compiler} = xno
; then
6632 echo 1>&2 '***' --with-libs is only supported when cross compiling
6635 if test x
"${with_libs}" != xyes
; then
6636 # Copy the libraries in reverse order, so that files in the first named
6637 # library override files in subsequent libraries.
6638 x
=${gcc_cv_tool_prefix}
6639 for l
in ${with_libs}; do
6640 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6645 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6647 # This is done by determining whether or not the appropriate directory
6648 # is available, and by checking whether or not specific configurations
6649 # have requested that this magic not happen.
6651 # The command line options always override the explicit settings in
6652 # configure.in, and the settings in configure.in override this magic.
6654 # If the default for a toolchain is to use GNU as and ld, and you don't
6655 # want to do that, then you should use the --without-gnu-as and
6656 # --without-gnu-ld options for the configure script. Similarly, if
6657 # the default is to use the included zlib and you don't want to do that,
6658 # you should use the --with-system-zlib option for the configure script.
6660 if test x
${use_gnu_as} = x
&&
6661 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6663 extra_host_args
="$extra_host_args --with-gnu-as"
6666 if test x
${use_gnu_ld} = x
&&
6667 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6669 extra_host_args
="$extra_host_args --with-gnu-ld"
6672 if test x
${use_included_zlib} = x
&&
6673 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6676 with_system_zlib
=yes
6677 extra_host_args
="$extra_host_args --with-system-zlib"
6680 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6681 # can detect this case.
6683 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6685 extra_host_args
="$extra_host_args --with-newlib"
6688 # Handle ${copy_dirs}
6689 set fnord
${copy_dirs}
6691 while test $# != 0 ; do
6692 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6695 echo Copying
$1 to
$2
6697 # Use the install script to create the directory and all required
6698 # parent directories.
6699 if test -d $2 ; then
6703 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6706 # Copy the directory, assuming we have tar.
6707 # FIXME: Should we use B in the second tar? Not all systems support it.
6708 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6710 # It is the responsibility of the user to correctly adjust all
6711 # symlinks. If somebody can figure out how to handle them correctly
6712 # here, feel free to add the code.
6719 # Determine a target-dependent exec_prefix that the installed
6720 # gcc will search in. Keep this list sorted by triplet, with
6721 # the *-*-osname triplets last.
6724 i
[34567]86-pc-msdosdjgpp*)
6725 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6730 md_exec_prefix
=/usr
/ccs
/bin
6734 extra_arflags_for_target
=
6735 extra_nmflags_for_target
=
6736 extra_ranlibflags_for_target
=
6737 target_makefile_frag
=/dev
/null
6740 target_makefile_frag
="config/mt-spu"
6742 mips
*-sde-elf* | mips
*-mti-elf*)
6743 target_makefile_frag
="config/mt-sde"
6745 mipsisa
*-*-elfoabi*)
6746 target_makefile_frag
="config/mt-mips-elfoabi"
6748 mips
*-*-*linux
* | mips
*-*-gnu*)
6749 target_makefile_frag
="config/mt-mips-gnu"
6752 target_makefile_frag
="config/mt-nios2-elf"
6754 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6755 target_makefile_frag
="config/mt-gnu"
6757 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6758 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6759 # commands to handle both 32-bit and 64-bit objects. These flags are
6760 # harmless if we're using GNU nm or ar.
6761 extra_arflags_for_target
=" -X32_64"
6762 extra_nmflags_for_target
=" -B -X32_64"
6766 alphaieee_frag
=/dev
/null
6769 # This just makes sure to use the -mieee option to build target libs.
6770 # This should probably be set individually by each library.
6771 alphaieee_frag
="config/mt-alphaieee"
6775 # If --enable-target-optspace always use -Os instead of -O2 to build
6776 # the target libraries, similarly if it is not specified, use -Os
6777 # on selected platforms.
6778 ospace_frag
=/dev
/null
6779 case "${enable_target_optspace}:${target}" in
6781 ospace_frag
="config/mt-ospace"
6784 ospace_frag
="config/mt-d30v"
6786 :m32r-
* |
:d10v-
* |
:fr30-
*)
6787 ospace_frag
="config/mt-ospace"
6792 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6796 # Some systems (e.g., one of the i386-aix systems the gas testers are
6797 # using) don't handle "\$" correctly, so don't use it here.
6798 tooldir
='${exec_prefix}'/${target_noncanonical}
6799 build_tooldir
=${tooldir}
6801 # Create a .gdbinit file which runs the one in srcdir
6802 # and tells GDB to look there for source files.
6804 if test -r ${srcdir}/.gdbinit
; then
6807 *) cat > .
/.gdbinit
<<EOF
6811 source ${srcdir}/.gdbinit
6817 # Make sure that the compiler is able to generate an executable. If it
6818 # can't, we are probably in trouble. We don't care whether we can run the
6819 # executable--we might be using a cross compiler--we only care whether it
6820 # can be created. At this point the main configure script has set CC.
6822 echo "int main () { return 0; }" > conftest.c
6823 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6824 if test $?
= 0 ; then
6825 if test -s conftest ||
test -s conftest.exe
; then
6831 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6832 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6839 # Decide which environment variable is used to find dynamic libraries.
6841 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6842 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6843 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6844 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6847 # On systems where the dynamic library environment variable is PATH,
6848 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6849 # built executables to PATH.
6850 if test "$RPATH_ENVVAR" = PATH
; then
6851 GCC_SHLIB_SUBDIR
=/shlib
6856 # Adjust the toplevel makefile according to whether bootstrap was selected.
6857 case $enable_bootstrap in
6859 bootstrap_suffix
=bootstrap
6860 BUILD_CONFIG
=bootstrap-debug
6863 bootstrap_suffix
=no-bootstrap
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6869 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6872 # Check whether --with-build-config was given.
6873 if test "${with_build_config+set}" = set; then :
6874 withval
=$with_build_config; case $with_build_config in
6875 yes) with_build_config
= ;;
6876 no
) with_build_config
= BUILD_CONFIG
= ;;
6881 if test "x${with_build_config}" != x
; then
6882 BUILD_CONFIG
=$with_build_config
6884 case $BUILD_CONFIG in
6886 if echo "int f (void) { return 0; }" > conftest.c
&&
6887 ${CC} -c conftest.c
&&
6888 mv conftest.o conftest.o.g0
&&
6889 ${CC} -c -g conftest.c
&&
6890 mv conftest.o conftest.o.g
&&
6891 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6896 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6901 $as_echo "$BUILD_CONFIG" >&6; }
6904 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6906 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6907 # Check whether --enable-vtable-verify was given.
6908 if test "${enable_vtable_verify+set}" = set; then :
6909 enableval
=$enable_vtable_verify; case "$enableval" in
6910 yes) enable_vtable_verify
=yes ;;
6911 no
) enable_vtable_verify
=no
;;
6912 *) enable_vtable_verify
=no
;;
6915 enable_vtable_verify
=no
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6919 $as_echo "$enable_vtable_verify" >&6; }
6921 # Record target_configdirs and the configure arguments for target and
6922 # build configuration in Makefile.
6923 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6924 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6925 bootstrap_fixincludes
=no
6927 # If we are building libgomp, bootstrap it.
6928 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6929 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6932 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
6933 # or bootstrap-ubsan, bootstrap it.
6934 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
6935 case "$BUILD_CONFIG" in
6936 *bootstrap-asan
* |
*bootstrap-ubsan
* )
6937 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
6938 bootstrap_fixincludes
=yes
6943 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
6944 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
6945 test "$enable_vtable_verify" != no
; then
6946 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
6949 # Determine whether gdb needs tk/tcl or not.
6950 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6951 # and in that case we want gdb to be built without tk. Ugh!
6952 # In fact I believe gdb is the *only* package directly dependent on tk,
6953 # so we should be able to put the 'maybe's in unconditionally and
6954 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6955 # 100% sure that that's safe though.
6957 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6958 case "$enable_gdbtk" in
6962 GDB_TK
="${gdb_tk}" ;;
6964 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6965 # distro. Eventually someone will fix this and move Insight, nee
6966 # gdbtk to a separate directory.
6967 if test -d ${srcdir}/gdb
/gdbtk
; then
6974 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6975 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6977 # Strip out unwanted targets.
6979 # While at that, we remove Makefiles if we were started for recursive
6980 # configuration, so that the top-level Makefile reconfigures them,
6981 # like we used to do when configure itself was recursive.
6983 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6984 # but now we're fixing up the Makefile ourselves with the additional
6985 # commands passed to AC_CONFIG_FILES. Use separate variables
6986 # extrasub-{build,host,target} not because there is any reason to split
6987 # the substitutions up that way, but only to remain below the limit of
6988 # 99 commands in a script, for HP-UX sed.
6989 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6991 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6992 yes:yes:*\ gold\
*:*,c
++,*) ;;
6993 yes:yes:*\ gold\
*:*)
6994 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6999 for module
in ${build_configdirs} ; do
7000 if test -z "${no_recursion}" \
7001 && test -f ${build_subdir}/${module}/Makefile
; then
7002 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7003 rm -f ${build_subdir}/${module}/Makefile
7005 extrasub_build
="$extrasub_build
7006 /^@if build-$module\$/d
7007 /^@endif build-$module\$/d
7008 /^@if build-$module-$bootstrap_suffix\$/d
7009 /^@endif build-$module-$bootstrap_suffix\$/d"
7012 for module
in ${configdirs} ; do
7013 if test -z "${no_recursion}"; then
7014 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7015 if test -f ${file}; then
7016 echo 1>&2 "*** removing ${file} to force reconfigure"
7021 case ${module},${bootstrap_fixincludes} in
7022 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7023 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7025 extrasub_host
="$extrasub_host
7027 /^@endif $module\$/d
7028 /^@if $module-$host_bootstrap_suffix\$/d
7029 /^@endif $module-$host_bootstrap_suffix\$/d"
7032 for module
in ${target_configdirs} ; do
7033 if test -z "${no_recursion}" \
7034 && test -f ${target_subdir}/${module}/Makefile
; then
7035 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7036 rm -f ${target_subdir}/${module}/Makefile
7039 # We only bootstrap target libraries listed in bootstrap_target_libs.
7040 case $bootstrap_target_libs in
7041 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7042 *) target_bootstrap_suffix
=no-bootstrap
;;
7045 extrasub_target
="$extrasub_target
7046 /^@if target-$module\$/d
7047 /^@endif target-$module\$/d
7048 /^@if target-$module-$target_bootstrap_suffix\$/d
7049 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7052 # Do the final fixup along with target modules.
7053 extrasub_target
="$extrasub_target
7054 /^@if /,/^@endif /d"
7056 # Create the serialization dependencies. This uses a temporary file.
7058 # Check whether --enable-serial-configure was given.
7059 if test "${enable_serial_configure+set}" = set; then :
7060 enableval
=$enable_serial_configure;
7064 case ${enable_serial_configure} in
7066 enable_serial_build_configure
=yes
7067 enable_serial_host_configure
=yes
7068 enable_serial_target_configure
=yes
7072 # These force 'configure's to be done one at a time, to avoid problems
7073 # with contention over a shared config.cache.
7075 echo '# serdep.tmp' > serdep.tmp
7077 test "x${enable_serial_build_configure}" = xyes
&&
7078 for item
in ${build_configdirs} ; do
7081 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7086 test "x${enable_serial_host_configure}" = xyes
&&
7087 for item
in ${configdirs} ; do
7090 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7095 test "x${enable_serial_target_configure}" = xyes
&&
7096 for item
in ${target_configdirs} ; do
7099 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7103 serialization_dependencies
=serdep.tmp
7106 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7107 # target, nonopt, and variable assignments. These are the ones we
7108 # might not want to pass down to subconfigures. The exception being
7109 # --cache-file=/dev/null, which is used to turn off the use of cache
7110 # files altogether, and which should be passed on to subconfigures.
7111 # Also strip program-prefix, program-suffix, and program-transform-name,
7112 # so that we can pass down a consistent program-transform-name.
7117 eval "set -- $ac_configure_args"
7120 if test X
"$skip_next" = X
"yes"; then
7124 if test X
"$keep_next" = X
"yes"; then
7127 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7129 baseargs
="$baseargs '$ac_arg'"
7130 tbaseargs
="$tbaseargs '$ac_arg'"
7135 # Handle separated arguments. Based on the logic generated by
7138 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7139 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7140 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7141 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7155 --with-* |
--without-*)
7156 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7160 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7163 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7172 mpc | mpfr | gmp | isl
)
7173 # If we're processing --with-$lib, --with-$lib-include or
7174 # --with-$lib-lib, for one of the libs above, and target is
7175 # different from host, don't pass the current argument to any
7176 # target library's configure.
7177 if test x
$is_cross_compiler = xyes
; then
7186 --cache-file=/dev
/null | \
7187 -cache-file=/dev
/null
)
7188 # Handled here to avoid the test to skip args below.
7189 baseargs
="$baseargs '$ac_arg'"
7190 tbaseargs
="$tbaseargs '$ac_arg'"
7191 # Assert: $separate_arg should always be no.
7192 keep_next
=$separate_arg
7208 -program-prefix* | \
7209 -program-suffix* | \
7210 -program-transform-name* )
7211 skip_next
=$separate_arg
7215 # An option. Add it.
7218 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7220 baseargs
="$baseargs '$ac_arg'"
7221 if test X
"$skip_targ" = Xno
; then
7222 tbaseargs
="$tbaseargs '$ac_arg'"
7224 keep_next
=$separate_arg
7227 # Either a variable assignment, or a nonopt (triplet). Don't
7228 # pass it down; let the Makefile handle this.
7233 # Remove the initial space we just introduced and, as these will be
7234 # expanded by make, quote '$'.
7235 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7237 # Add in --program-transform-name, after --program-prefix and
7238 # --program-suffix have been applied to it. Autoconf has already
7239 # doubled dollar signs and backslashes in program_transform_name; we want
7240 # the backslashes un-doubled, and then the entire thing wrapped in single
7241 # quotes, because this will be expanded first by make and then by the shell.
7242 # Also, because we want to override the logic in subdir configure scripts to
7243 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7244 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7245 ${program_transform_name}
7247 gcc_transform_name
=`cat conftestsed.out`
7248 rm -f conftestsed.out
7249 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7250 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7251 if test "$silent" = yes; then
7252 baseargs
="$baseargs --silent"
7253 tbaseargs
="$tbaseargs --silent"
7255 baseargs
="$baseargs --disable-option-checking"
7256 tbaseargs
="$tbaseargs --disable-option-checking"
7258 # Record and document user additions to sub configure arguments.
7263 # For the build-side libraries, we just need to pretend we're native,
7264 # and not use the same cache file. Multilibs are neither needed nor
7265 # desired. We can't even use the same cache file for all build-side
7266 # libraries, as they're compiled differently; some with C, some with
7267 # C++ or with different feature-enabling options.
7268 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7270 # For host modules, accept cache file option, or specification as blank.
7271 case "${cache_file}" in
7273 cache_file_option
="" ;;
7274 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7275 cache_file_option
="--cache-file=${cache_file}" ;;
7277 cache_file_option
="--cache-file=../${cache_file}" ;;
7280 # Host dirs don't like to share a cache file either, horribly enough.
7281 # This seems to be due to autoconf 2.5x stupidity.
7282 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7284 target_configargs
="$target_configargs ${tbaseargs}"
7286 # Passing a --with-cross-host argument lets the target libraries know
7287 # whether they are being built with a cross-compiler or being built
7288 # native. However, it would be better to use other mechanisms to make the
7289 # sorts of decisions they want to make on this basis. Please consider
7290 # this option to be deprecated. FIXME.
7291 if test x
${is_cross_compiler} = xyes
; then
7292 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7295 # Special user-friendly check for native x86_64-linux build, if
7296 # multilib is not explicitly enabled.
7297 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7298 x86_64-
*linux
*:yes:$build:$build:)
7299 # Make sure we have a developement environment that handles 32-bit
7301 echo "int main () { return 0; }" > conftest.c
7302 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7303 if test $?
= 0 ; then
7304 if test -s conftest ||
test -s conftest.exe
; then
7309 if test x
${dev64} != xyes
; then
7310 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
7315 # Default to --enable-multilib.
7316 if test x
${enable_multilib} = x
; then
7317 target_configargs
="--enable-multilib ${target_configargs}"
7320 # Pass --with-newlib if appropriate. Note that target_configdirs has
7321 # changed from the earlier setting of with_newlib.
7322 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7323 target_configargs
="--with-newlib ${target_configargs}"
7326 # Different target subdirs use different values of certain variables
7327 # (notably CXX). Worse, multilibs use *lots* of different values.
7328 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7329 # it doesn't automatically accept command-line overrides of them.
7330 # This means it's not safe for target subdirs to share a cache file,
7331 # which is disgusting, but there you have it. Hopefully this can be
7332 # fixed in future. It's still worthwhile to use a cache file for each
7333 # directory. I think.
7335 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7336 # We need to pass --target, as newer autoconf's requires consistency
7337 # for target_alias and gcc doesn't manage it consistently.
7338 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7341 case " $target_configdirs " in
7343 case " $target_configargs " in
7344 *" --with-newlib "*)
7347 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7351 # If we're not building GCC, don't discard standard headers.
7352 if test -d ${srcdir}/gcc
; then
7353 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7355 if test "${build}" != "${host}"; then
7356 # On Canadian crosses, CC_FOR_TARGET will have already been set
7357 # by `configure', so we won't have an opportunity to add -Bgcc/
7358 # to it. This is right: we don't want to search that directory
7359 # for binaries, but we want the header files in there, so add
7361 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7363 # Someone might think of using the pre-installed headers on
7364 # Canadian crosses, in case the installed compiler is not fully
7365 # compatible with the compiler being built. In this case, it
7366 # would be better to flag an error than risking having
7367 # incompatible object files being constructed. We can't
7368 # guarantee that an error will be flagged, but let's hope the
7369 # compiler will do it, when presented with incompatible header
7374 case "${target}-${is_cross_compiler}" in
7375 i
[3456789]86-*-linux*-no)
7376 # Here host == target, so we don't need to build gcc,
7377 # so we don't want to discard standard headers.
7378 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7381 # If we're building newlib, use its generic headers last, but search
7382 # for any libc-related directories first (so make it the last -B
7384 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7386 # If we're building libgloss, find the startup file, simulator library
7387 # and linker script.
7388 case " $target_configdirs " in
7390 # Look for startup file, simulator library and maybe linker script.
7391 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7392 # Look for libnosys.a in case the target needs it.
7393 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7394 # Most targets have the linker script in the source directory.
7395 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7406 x86_64-
*mingw
* |
*-w64-mingw*)
7407 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7408 # however, use a symlink named 'mingw' in ${prefix} .
7409 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7412 # MinGW can't be handled as Cygwin above since it does not use newlib.
7413 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'
7417 # Allow the user to override the flags for
7418 # our build compiler if desired.
7419 if test x
"${build}" = x
"${host}" ; then
7420 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7421 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7422 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7425 # On Canadian crosses, we'll be searching the right directories for
7426 # the previously-installed cross compiler, so don't bother to add
7427 # flags for directories within the install tree of the compiler
7428 # being built; programs in there won't even run.
7429 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7430 # Search for pre-installed headers if nothing else fits.
7431 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7434 if test "x
${use_gnu_ld}" = x &&
7435 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7436 # Arrange for us to find uninstalled linker scripts.
7437 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7440 # Search for other target-specific linker scripts and such.
7443 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7447 # Makefile fragments.
7448 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7450 eval fragval=\$$frag
7451 if test $fragval != /dev/null; then
7452 eval $frag=${srcdir}/$fragval
7460 # Miscellanea: directories, flags, etc.
7469 # Build module lists & subconfigure args.
7473 # Host module lists & subconfigure args.
7478 # Target module lists & subconfigure args.
7500 # Generate default definitions for YACC, M4, LEX and other programs that run
7501 # on the build machine. These are used if the Makefile can't locate these
7502 # programs in objdir.
7503 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7505 for ac_prog in 'bison -y' byacc yacc
7507 # Extract the first word of "$ac_prog", so it can be a program name with args.
7508 set dummy $ac_prog; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7510 $as_echo_n "checking
for $ac_word...
" >&6; }
7511 if test "${ac_cv_prog_YACC+set}" = set; then :
7512 $as_echo_n "(cached
) " >&6
7514 if test -n "$YACC"; then
7515 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_YACC="$ac_prog"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7534 YACC=$ac_cv_prog_YACC
7535 if test -n "$YACC"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7537 $as_echo "$YACC" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7540 $as_echo "no
" >&6; }
7544 test -n "$YACC" && break
7546 test -n "$YACC" || YACC="$MISSING bison
-y"
7548 case " $build_configdirs " in
7549 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7552 for ac_prog in bison
7554 # Extract the first word of "$ac_prog", so it can be a program name with args.
7555 set dummy $ac_prog; ac_word=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7557 $as_echo_n "checking
for $ac_word...
" >&6; }
7558 if test "${ac_cv_prog_BISON+set}" = set; then :
7559 $as_echo_n "(cached
) " >&6
7561 if test -n "$BISON"; then
7562 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_prog_BISON="$ac_prog"
7572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7581 BISON=$ac_cv_prog_BISON
7582 if test -n "$BISON"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7584 $as_echo "$BISON" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7587 $as_echo "no
" >&6; }
7591 test -n "$BISON" && break
7593 test -n "$BISON" || BISON="$MISSING bison
"
7595 case " $build_configdirs " in
7596 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7599 for ac_prog in gm4 gnum4 m4
7601 # Extract the first word of "$ac_prog", so it can be a program name with args.
7602 set dummy $ac_prog; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7604 $as_echo_n "checking
for $ac_word...
" >&6; }
7605 if test "${ac_cv_prog_M4+set}" = set; then :
7606 $as_echo_n "(cached
) " >&6
7608 if test -n "$M4"; then
7609 ac_cv_prog_M4="$M4" # Let the user override the test.
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_M4="$ac_prog"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7629 if test -n "$M4"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7631 $as_echo "$M4" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7638 test -n "$M4" && break
7640 test -n "$M4" || M4="$MISSING m4"
7642 case " $build_configdirs " in
7643 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7646 for ac_prog in flex lex
7648 # Extract the first word of "$ac_prog", so it can be a program name with args.
7649 set dummy $ac_prog; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7651 $as_echo_n "checking
for $ac_word...
" >&6; }
7652 if test "${ac_cv_prog_LEX+set}" = set; then :
7653 $as_echo_n "(cached
) " >&6
7655 if test -n "$LEX"; then
7656 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_LEX="$ac_prog"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7676 if test -n "$LEX"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7678 $as_echo "$LEX" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7681 $as_echo "no
" >&6; }
7685 test -n "$LEX" && break
7687 test -n "$LEX" || LEX="$MISSING flex
"
7689 case " $build_configdirs " in
7690 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7691 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7696 # Extract the first word of "$ac_prog", so it can be a program name with args.
7697 set dummy $ac_prog; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7699 $as_echo_n "checking
for $ac_word...
" >&6; }
7700 if test "${ac_cv_prog_FLEX+set}" = set; then :
7701 $as_echo_n "(cached
) " >&6
7703 if test -n "$FLEX"; then
7704 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_prog_FLEX="$ac_prog"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7723 FLEX=$ac_cv_prog_FLEX
7724 if test -n "$FLEX"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7726 $as_echo "$FLEX" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7729 $as_echo "no
" >&6; }
7733 test -n "$FLEX" && break
7735 test -n "$FLEX" || FLEX="$MISSING flex
"
7737 case " $build_configdirs " in
7738 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7741 for ac_prog in makeinfo
7743 # Extract the first word of "$ac_prog", so it can be a program name with args.
7744 set dummy $ac_prog; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7746 $as_echo_n "checking
for $ac_word...
" >&6; }
7747 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7748 $as_echo_n "(cached
) " >&6
7750 if test -n "$MAKEINFO"; then
7751 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_prog_MAKEINFO="$ac_prog"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7770 MAKEINFO=$ac_cv_prog_MAKEINFO
7771 if test -n "$MAKEINFO"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7773 $as_echo "$MAKEINFO" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7776 $as_echo "no
" >&6; }
7780 test -n "$MAKEINFO" && break
7782 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7784 case " $build_configdirs " in
7785 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7788 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7789 # higher, else we use the "missing
" dummy.
7790 if ${MAKEINFO} --version \
7791 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7794 MAKEINFO="$MISSING makeinfo
"
7800 # FIXME: expect and dejagnu may become build tools?
7802 for ac_prog in expect
7804 # Extract the first word of "$ac_prog", so it can be a program name with args.
7805 set dummy $ac_prog; ac_word=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7807 $as_echo_n "checking
for $ac_word...
" >&6; }
7808 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7809 $as_echo_n "(cached
) " >&6
7811 if test -n "$EXPECT"; then
7812 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir=.
7819 for ac_exec_ext in '' $ac_executable_extensions; do
7820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7821 ac_cv_prog_EXPECT="$ac_prog"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7831 EXPECT=$ac_cv_prog_EXPECT
7832 if test -n "$EXPECT"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7834 $as_echo "$EXPECT" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7837 $as_echo "no
" >&6; }
7841 test -n "$EXPECT" && break
7843 test -n "$EXPECT" || EXPECT="expect
"
7845 case " $configdirs " in
7847 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7851 for ac_prog in runtest
7853 # Extract the first word of "$ac_prog", so it can be a program name with args.
7854 set dummy $ac_prog; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7856 $as_echo_n "checking
for $ac_word...
" >&6; }
7857 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7858 $as_echo_n "(cached
) " >&6
7860 if test -n "$RUNTEST"; then
7861 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870 ac_cv_prog_RUNTEST="$ac_prog"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7880 RUNTEST=$ac_cv_prog_RUNTEST
7881 if test -n "$RUNTEST"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7883 $as_echo "$RUNTEST" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7886 $as_echo "no
" >&6; }
7890 test -n "$RUNTEST" && break
7892 test -n "$RUNTEST" || RUNTEST="runtest
"
7894 case " $configdirs " in
7896 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7903 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7904 ncn_target_tool_prefix=
7905 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7909 if test -n "$AR"; then
7911 elif test -n "$ac_cv_prog_AR"; then
7915 if test -n "$ac_cv_prog_AR"; then
7916 for ncn_progname in ar; do
7917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7918 set dummy ${ncn_progname}; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7920 $as_echo_n "checking
for $ac_word...
" >&6; }
7921 if test "${ac_cv_prog_AR+set}" = set; then :
7922 $as_echo_n "(cached
) " >&6
7924 if test -n "$AR"; then
7925 ac_cv_prog_AR="$AR" # Let the user override the test.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7934 ac_cv_prog_AR="${ncn_progname}"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7945 if test -n "$AR"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7947 $as_echo "$AR" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7950 $as_echo "no
" >&6; }
7957 for ncn_progname in ar; do
7958 if test -n "$ncn_tool_prefix"; then
7959 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7960 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7962 $as_echo_n "checking
for $ac_word...
" >&6; }
7963 if test "${ac_cv_prog_AR+set}" = set; then :
7964 $as_echo_n "(cached
) " >&6
7966 if test -n "$AR"; then
7967 ac_cv_prog_AR="$AR" # Let the user override the test.
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7976 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7987 if test -n "$AR"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7989 $as_echo "$AR" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7992 $as_echo "no
" >&6; }
7997 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7999 set dummy ${ncn_progname}; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if test "${ac_cv_prog_AR+set}" = set; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$AR"; then
8006 ac_cv_prog_AR="$AR" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_AR="${ncn_progname}"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8026 if test -n "$AR"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8028 $as_echo "$AR" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8036 test -n "$ac_cv_prog_AR" && break
8039 if test -z "$ac_cv_prog_AR" ; then
8041 if test $build = $host ; then
8044 AR="${ncn_tool_prefix}$2"
8050 if test -n "$AS"; then
8052 elif test -n "$ac_cv_prog_AS"; then
8056 if test -n "$ac_cv_prog_AS"; then
8057 for ncn_progname in as; do
8058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8059 set dummy ${ncn_progname}; ac_word=$2
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8061 $as_echo_n "checking
for $ac_word...
" >&6; }
8062 if test "${ac_cv_prog_AS+set}" = set; then :
8063 $as_echo_n "(cached
) " >&6
8065 if test -n "$AS"; then
8066 ac_cv_prog_AS="$AS" # Let the user override the test.
8068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 test -z "$as_dir" && as_dir=.
8073 for ac_exec_ext in '' $ac_executable_extensions; do
8074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8075 ac_cv_prog_AS="${ncn_progname}"
8076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8086 if test -n "$AS"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8088 $as_echo "$AS" >&6; }
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8091 $as_echo "no
" >&6; }
8098 for ncn_progname in as; do
8099 if test -n "$ncn_tool_prefix"; then
8100 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8101 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8103 $as_echo_n "checking
for $ac_word...
" >&6; }
8104 if test "${ac_cv_prog_AS+set}" = set; then :
8105 $as_echo_n "(cached
) " >&6
8107 if test -n "$AS"; then
8108 ac_cv_prog_AS="$AS" # Let the user override the test.
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8117 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8128 if test -n "$AS"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8130 $as_echo "$AS" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8133 $as_echo "no
" >&6; }
8138 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8140 set dummy ${ncn_progname}; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8142 $as_echo_n "checking
for $ac_word...
" >&6; }
8143 if test "${ac_cv_prog_AS+set}" = set; then :
8144 $as_echo_n "(cached
) " >&6
8146 if test -n "$AS"; then
8147 ac_cv_prog_AS="$AS" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_AS="${ncn_progname}"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8167 if test -n "$AS"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8169 $as_echo "$AS" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8172 $as_echo "no
" >&6; }
8177 test -n "$ac_cv_prog_AS" && break
8180 if test -z "$ac_cv_prog_AS" ; then
8182 if test $build = $host ; then
8185 AS="${ncn_tool_prefix}$2"
8191 if test -n "$DLLTOOL"; then
8192 ac_cv_prog_DLLTOOL=$DLLTOOL
8193 elif test -n "$ac_cv_prog_DLLTOOL"; then
8194 DLLTOOL=$ac_cv_prog_DLLTOOL
8197 if test -n "$ac_cv_prog_DLLTOOL"; then
8198 for ncn_progname in dlltool; do
8199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8200 set dummy ${ncn_progname}; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8202 $as_echo_n "checking
for $ac_word...
" >&6; }
8203 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8204 $as_echo_n "(cached
) " >&6
8206 if test -n "$DLLTOOL"; then
8207 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_prog_DLLTOOL="${ncn_progname}"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8226 DLLTOOL=$ac_cv_prog_DLLTOOL
8227 if test -n "$DLLTOOL"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8229 $as_echo "$DLLTOOL" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8232 $as_echo "no
" >&6; }
8239 for ncn_progname in dlltool; do
8240 if test -n "$ncn_tool_prefix"; then
8241 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8242 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8244 $as_echo_n "checking
for $ac_word...
" >&6; }
8245 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8246 $as_echo_n "(cached
) " >&6
8248 if test -n "$DLLTOOL"; then
8249 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8268 DLLTOOL=$ac_cv_prog_DLLTOOL
8269 if test -n "$DLLTOOL"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8271 $as_echo "$DLLTOOL" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8274 $as_echo "no
" >&6; }
8279 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8283 $as_echo_n "checking
for $ac_word...
" >&6; }
8284 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8285 $as_echo_n "(cached
) " >&6
8287 if test -n "$DLLTOOL"; then
8288 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_DLLTOOL="${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8307 DLLTOOL=$ac_cv_prog_DLLTOOL
8308 if test -n "$DLLTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8310 $as_echo "$DLLTOOL" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8313 $as_echo "no
" >&6; }
8318 test -n "$ac_cv_prog_DLLTOOL" && break
8321 if test -z "$ac_cv_prog_DLLTOOL" ; then
8323 if test $build = $host ; then
8326 DLLTOOL="${ncn_tool_prefix}$2"
8332 if test -n "$LD"; then
8334 elif test -n "$ac_cv_prog_LD"; then
8338 if test -n "$ac_cv_prog_LD"; then
8339 for ncn_progname in ld; do
8340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8341 set dummy ${ncn_progname}; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8343 $as_echo_n "checking
for $ac_word...
" >&6; }
8344 if test "${ac_cv_prog_LD+set}" = set; then :
8345 $as_echo_n "(cached
) " >&6
8347 if test -n "$LD"; then
8348 ac_cv_prog_LD="$LD" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8357 ac_cv_prog_LD="${ncn_progname}"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8368 if test -n "$LD"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8370 $as_echo "$LD" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8373 $as_echo "no
" >&6; }
8380 for ncn_progname in ld; do
8381 if test -n "$ncn_tool_prefix"; then
8382 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8383 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8385 $as_echo_n "checking
for $ac_word...
" >&6; }
8386 if test "${ac_cv_prog_LD+set}" = set; then :
8387 $as_echo_n "(cached
) " >&6
8389 if test -n "$LD"; then
8390 ac_cv_prog_LD="$LD" # Let the user override the test.
8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 test -z "$as_dir" && as_dir=.
8397 for ac_exec_ext in '' $ac_executable_extensions; do
8398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 if test -n "$LD"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8412 $as_echo "$LD" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8415 $as_echo "no
" >&6; }
8420 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8422 set dummy ${ncn_progname}; ac_word=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8424 $as_echo_n "checking
for $ac_word...
" >&6; }
8425 if test "${ac_cv_prog_LD+set}" = set; then :
8426 $as_echo_n "(cached
) " >&6
8428 if test -n "$LD"; then
8429 ac_cv_prog_LD="$LD" # Let the user override the test.
8431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8435 test -z "$as_dir" && as_dir=.
8436 for ac_exec_ext in '' $ac_executable_extensions; do
8437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8438 ac_cv_prog_LD="${ncn_progname}"
8439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8449 if test -n "$LD"; then
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8451 $as_echo "$LD" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8454 $as_echo "no
" >&6; }
8459 test -n "$ac_cv_prog_LD" && break
8462 if test -z "$ac_cv_prog_LD" ; then
8464 if test $build = $host ; then
8467 LD="${ncn_tool_prefix}$2"
8473 if test -n "$LIPO"; then
8474 ac_cv_prog_LIPO=$LIPO
8475 elif test -n "$ac_cv_prog_LIPO"; then
8476 LIPO=$ac_cv_prog_LIPO
8479 if test -n "$ac_cv_prog_LIPO"; then
8480 for ncn_progname in lipo; do
8481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8482 set dummy ${ncn_progname}; ac_word=$2
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8484 $as_echo_n "checking
for $ac_word...
" >&6; }
8485 if test "${ac_cv_prog_LIPO+set}" = set; then :
8486 $as_echo_n "(cached
) " >&6
8488 if test -n "$LIPO"; then
8489 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir=.
8496 for ac_exec_ext in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_LIPO="${ncn_progname}"
8499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8508 LIPO=$ac_cv_prog_LIPO
8509 if test -n "$LIPO"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8511 $as_echo "$LIPO" >&6; }
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8514 $as_echo "no
" >&6; }
8521 for ncn_progname in lipo; do
8522 if test -n "$ncn_tool_prefix"; then
8523 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8524 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8526 $as_echo_n "checking
for $ac_word...
" >&6; }
8527 if test "${ac_cv_prog_LIPO+set}" = set; then :
8528 $as_echo_n "(cached
) " >&6
8530 if test -n "$LIPO"; then
8531 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 test -z "$as_dir" && as_dir=.
8538 for ac_exec_ext in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8550 LIPO=$ac_cv_prog_LIPO
8551 if test -n "$LIPO"; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8553 $as_echo "$LIPO" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8556 $as_echo "no
" >&6; }
8561 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8563 set dummy ${ncn_progname}; ac_word=$2
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8565 $as_echo_n "checking
for $ac_word...
" >&6; }
8566 if test "${ac_cv_prog_LIPO+set}" = set; then :
8567 $as_echo_n "(cached
) " >&6
8569 if test -n "$LIPO"; then
8570 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8576 test -z "$as_dir" && as_dir=.
8577 for ac_exec_ext in '' $ac_executable_extensions; do
8578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8579 ac_cv_prog_LIPO="${ncn_progname}"
8580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8589 LIPO=$ac_cv_prog_LIPO
8590 if test -n "$LIPO"; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8592 $as_echo "$LIPO" >&6; }
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8595 $as_echo "no
" >&6; }
8600 test -n "$ac_cv_prog_LIPO" && break
8603 if test -z "$ac_cv_prog_LIPO" ; then
8605 if test $build = $host ; then
8608 LIPO="${ncn_tool_prefix}$2"
8614 if test -n "$NM"; then
8616 elif test -n "$ac_cv_prog_NM"; then
8620 if test -n "$ac_cv_prog_NM"; then
8621 for ncn_progname in nm; do
8622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8623 set dummy ${ncn_progname}; ac_word=$2
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8625 $as_echo_n "checking
for $ac_word...
" >&6; }
8626 if test "${ac_cv_prog_NM+set}" = set; then :
8627 $as_echo_n "(cached
) " >&6
8629 if test -n "$NM"; then
8630 ac_cv_prog_NM="$NM" # Let the user override the test.
8632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8636 test -z "$as_dir" && as_dir=.
8637 for ac_exec_ext in '' $ac_executable_extensions; do
8638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8639 ac_cv_prog_NM="${ncn_progname}"
8640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 if test -n "$NM"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8652 $as_echo "$NM" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8655 $as_echo "no
" >&6; }
8662 for ncn_progname in nm; do
8663 if test -n "$ncn_tool_prefix"; then
8664 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8665 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8667 $as_echo_n "checking
for $ac_word...
" >&6; }
8668 if test "${ac_cv_prog_NM+set}" = set; then :
8669 $as_echo_n "(cached
) " >&6
8671 if test -n "$NM"; then
8672 ac_cv_prog_NM="$NM" # Let the user override the test.
8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8678 test -z "$as_dir" && as_dir=.
8679 for ac_exec_ext in '' $ac_executable_extensions; do
8680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8681 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8692 if test -n "$NM"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8694 $as_echo "$NM" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8697 $as_echo "no
" >&6; }
8702 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8704 set dummy ${ncn_progname}; ac_word=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8706 $as_echo_n "checking
for $ac_word...
" >&6; }
8707 if test "${ac_cv_prog_NM+set}" = set; then :
8708 $as_echo_n "(cached
) " >&6
8710 if test -n "$NM"; then
8711 ac_cv_prog_NM="$NM" # Let the user override the test.
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8720 ac_cv_prog_NM="${ncn_progname}"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8731 if test -n "$NM"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8733 $as_echo "$NM" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8736 $as_echo "no
" >&6; }
8741 test -n "$ac_cv_prog_NM" && break
8744 if test -z "$ac_cv_prog_NM" ; then
8746 if test $build = $host ; then
8749 NM="${ncn_tool_prefix}$2"
8755 if test -n "$RANLIB"; then
8756 ac_cv_prog_RANLIB=$RANLIB
8757 elif test -n "$ac_cv_prog_RANLIB"; then
8758 RANLIB=$ac_cv_prog_RANLIB
8761 if test -n "$ac_cv_prog_RANLIB"; then
8762 for ncn_progname in ranlib; do
8763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8764 set dummy ${ncn_progname}; ac_word=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8766 $as_echo_n "checking
for $ac_word...
" >&6; }
8767 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8768 $as_echo_n "(cached
) " >&6
8770 if test -n "$RANLIB"; then
8771 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8780 ac_cv_prog_RANLIB="${ncn_progname}"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8790 RANLIB=$ac_cv_prog_RANLIB
8791 if test -n "$RANLIB"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8793 $as_echo "$RANLIB" >&6; }
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8796 $as_echo "no
" >&6; }
8803 for ncn_progname in ranlib; do
8804 if test -n "$ncn_tool_prefix"; then
8805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8806 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8808 $as_echo_n "checking
for $ac_word...
" >&6; }
8809 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8810 $as_echo_n "(cached
) " >&6
8812 if test -n "$RANLIB"; then
8813 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8832 RANLIB=$ac_cv_prog_RANLIB
8833 if test -n "$RANLIB"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8835 $as_echo "$RANLIB" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8838 $as_echo "no
" >&6; }
8843 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8845 set dummy ${ncn_progname}; ac_word=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8847 $as_echo_n "checking
for $ac_word...
" >&6; }
8848 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8849 $as_echo_n "(cached
) " >&6
8851 if test -n "$RANLIB"; then
8852 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8858 test -z "$as_dir" && as_dir=.
8859 for ac_exec_ext in '' $ac_executable_extensions; do
8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861 ac_cv_prog_RANLIB="${ncn_progname}"
8862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8871 RANLIB=$ac_cv_prog_RANLIB
8872 if test -n "$RANLIB"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8874 $as_echo "$RANLIB" >&6; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8877 $as_echo "no
" >&6; }
8882 test -n "$ac_cv_prog_RANLIB" && break
8885 if test -z "$ac_cv_prog_RANLIB" ; then
8891 if test -n "$STRIP"; then
8892 ac_cv_prog_STRIP=$STRIP
8893 elif test -n "$ac_cv_prog_STRIP"; then
8894 STRIP=$ac_cv_prog_STRIP
8897 if test -n "$ac_cv_prog_STRIP"; then
8898 for ncn_progname in strip; do
8899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8900 set dummy ${ncn_progname}; ac_word=$2
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8902 $as_echo_n "checking
for $ac_word...
" >&6; }
8903 if test "${ac_cv_prog_STRIP+set}" = set; then :
8904 $as_echo_n "(cached
) " >&6
8906 if test -n "$STRIP"; then
8907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_prog_STRIP="${ncn_progname}"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8926 STRIP=$ac_cv_prog_STRIP
8927 if test -n "$STRIP"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8929 $as_echo "$STRIP" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8932 $as_echo "no
" >&6; }
8939 for ncn_progname in strip; do
8940 if test -n "$ncn_tool_prefix"; then
8941 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8942 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8944 $as_echo_n "checking
for $ac_word...
" >&6; }
8945 if test "${ac_cv_prog_STRIP+set}" = set; then :
8946 $as_echo_n "(cached
) " >&6
8948 if test -n "$STRIP"; then
8949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir=.
8956 for ac_exec_ext in '' $ac_executable_extensions; do
8957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8958 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8968 STRIP=$ac_cv_prog_STRIP
8969 if test -n "$STRIP"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8971 $as_echo "$STRIP" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8974 $as_echo "no
" >&6; }
8979 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8981 set dummy ${ncn_progname}; ac_word=$2
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8983 $as_echo_n "checking
for $ac_word...
" >&6; }
8984 if test "${ac_cv_prog_STRIP+set}" = set; then :
8985 $as_echo_n "(cached
) " >&6
8987 if test -n "$STRIP"; then
8988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8997 ac_cv_prog_STRIP="${ncn_progname}"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9007 STRIP=$ac_cv_prog_STRIP
9008 if test -n "$STRIP"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9010 $as_echo "$STRIP" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9013 $as_echo "no
" >&6; }
9018 test -n "$ac_cv_prog_STRIP" && break
9021 if test -z "$ac_cv_prog_STRIP" ; then
9027 if test -n "$WINDRES"; then
9028 ac_cv_prog_WINDRES=$WINDRES
9029 elif test -n "$ac_cv_prog_WINDRES"; then
9030 WINDRES=$ac_cv_prog_WINDRES
9033 if test -n "$ac_cv_prog_WINDRES"; then
9034 for ncn_progname in windres; do
9035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9036 set dummy ${ncn_progname}; ac_word=$2
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9038 $as_echo_n "checking
for $ac_word...
" >&6; }
9039 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9040 $as_echo_n "(cached
) " >&6
9042 if test -n "$WINDRES"; then
9043 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9049 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_prog_WINDRES="${ncn_progname}"
9053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9062 WINDRES=$ac_cv_prog_WINDRES
9063 if test -n "$WINDRES"; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9065 $as_echo "$WINDRES" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9068 $as_echo "no
" >&6; }
9075 for ncn_progname in windres; do
9076 if test -n "$ncn_tool_prefix"; then
9077 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9078 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9080 $as_echo_n "checking
for $ac_word...
" >&6; }
9081 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9082 $as_echo_n "(cached
) " >&6
9084 if test -n "$WINDRES"; then
9085 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9091 test -z "$as_dir" && as_dir=.
9092 for ac_exec_ext in '' $ac_executable_extensions; do
9093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9094 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9104 WINDRES=$ac_cv_prog_WINDRES
9105 if test -n "$WINDRES"; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9107 $as_echo "$WINDRES" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9110 $as_echo "no
" >&6; }
9115 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9117 set dummy ${ncn_progname}; ac_word=$2
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9119 $as_echo_n "checking
for $ac_word...
" >&6; }
9120 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9121 $as_echo_n "(cached
) " >&6
9123 if test -n "$WINDRES"; then
9124 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9130 test -z "$as_dir" && as_dir=.
9131 for ac_exec_ext in '' $ac_executable_extensions; do
9132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9133 ac_cv_prog_WINDRES="${ncn_progname}"
9134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9143 WINDRES=$ac_cv_prog_WINDRES
9144 if test -n "$WINDRES"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9146 $as_echo "$WINDRES" >&6; }
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9149 $as_echo "no
" >&6; }
9154 test -n "$ac_cv_prog_WINDRES" && break
9157 if test -z "$ac_cv_prog_WINDRES" ; then
9159 if test $build = $host ; then
9162 WINDRES="${ncn_tool_prefix}$2"
9168 if test -n "$WINDMC"; then
9169 ac_cv_prog_WINDMC=$WINDMC
9170 elif test -n "$ac_cv_prog_WINDMC"; then
9171 WINDMC=$ac_cv_prog_WINDMC
9174 if test -n "$ac_cv_prog_WINDMC"; then
9175 for ncn_progname in windmc; do
9176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9177 set dummy ${ncn_progname}; ac_word=$2
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9179 $as_echo_n "checking
for $ac_word...
" >&6; }
9180 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9181 $as_echo_n "(cached
) " >&6
9183 if test -n "$WINDMC"; then
9184 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9190 test -z "$as_dir" && as_dir=.
9191 for ac_exec_ext in '' $ac_executable_extensions; do
9192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9193 ac_cv_prog_WINDMC="${ncn_progname}"
9194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9203 WINDMC=$ac_cv_prog_WINDMC
9204 if test -n "$WINDMC"; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9206 $as_echo "$WINDMC" >&6; }
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9209 $as_echo "no
" >&6; }
9216 for ncn_progname in windmc; do
9217 if test -n "$ncn_tool_prefix"; then
9218 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9219 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9221 $as_echo_n "checking
for $ac_word...
" >&6; }
9222 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9223 $as_echo_n "(cached
) " >&6
9225 if test -n "$WINDMC"; then
9226 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir=.
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9235 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9245 WINDMC=$ac_cv_prog_WINDMC
9246 if test -n "$WINDMC"; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9248 $as_echo "$WINDMC" >&6; }
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9251 $as_echo "no
" >&6; }
9256 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9257 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9258 set dummy ${ncn_progname}; ac_word=$2
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9260 $as_echo_n "checking
for $ac_word...
" >&6; }
9261 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9262 $as_echo_n "(cached
) " >&6
9264 if test -n "$WINDMC"; then
9265 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 test -z "$as_dir" && as_dir=.
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9274 ac_cv_prog_WINDMC="${ncn_progname}"
9275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9284 WINDMC=$ac_cv_prog_WINDMC
9285 if test -n "$WINDMC"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9287 $as_echo "$WINDMC" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9290 $as_echo "no
" >&6; }
9295 test -n "$ac_cv_prog_WINDMC" && break
9298 if test -z "$ac_cv_prog_WINDMC" ; then
9300 if test $build = $host ; then
9303 WINDMC="${ncn_tool_prefix}$2"
9309 if test -n "$OBJCOPY"; then
9310 ac_cv_prog_OBJCOPY=$OBJCOPY
9311 elif test -n "$ac_cv_prog_OBJCOPY"; then
9312 OBJCOPY=$ac_cv_prog_OBJCOPY
9315 if test -n "$ac_cv_prog_OBJCOPY"; then
9316 for ncn_progname in objcopy; do
9317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9318 set dummy ${ncn_progname}; ac_word=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9320 $as_echo_n "checking
for $ac_word...
" >&6; }
9321 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9322 $as_echo_n "(cached
) " >&6
9324 if test -n "$OBJCOPY"; then
9325 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 test -z "$as_dir" && as_dir=.
9332 for ac_exec_ext in '' $ac_executable_extensions; do
9333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9334 ac_cv_prog_OBJCOPY="${ncn_progname}"
9335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9344 OBJCOPY=$ac_cv_prog_OBJCOPY
9345 if test -n "$OBJCOPY"; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9347 $as_echo "$OBJCOPY" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9350 $as_echo "no
" >&6; }
9357 for ncn_progname in objcopy; do
9358 if test -n "$ncn_tool_prefix"; then
9359 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9360 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9362 $as_echo_n "checking
for $ac_word...
" >&6; }
9363 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9364 $as_echo_n "(cached
) " >&6
9366 if test -n "$OBJCOPY"; then
9367 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 test -z "$as_dir" && as_dir=.
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9376 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9386 OBJCOPY=$ac_cv_prog_OBJCOPY
9387 if test -n "$OBJCOPY"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9389 $as_echo "$OBJCOPY" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9392 $as_echo "no
" >&6; }
9397 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9399 set dummy ${ncn_progname}; ac_word=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9401 $as_echo_n "checking
for $ac_word...
" >&6; }
9402 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9403 $as_echo_n "(cached
) " >&6
9405 if test -n "$OBJCOPY"; then
9406 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_prog_OBJCOPY="${ncn_progname}"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9425 OBJCOPY=$ac_cv_prog_OBJCOPY
9426 if test -n "$OBJCOPY"; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9428 $as_echo "$OBJCOPY" >&6; }
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9431 $as_echo "no
" >&6; }
9436 test -n "$ac_cv_prog_OBJCOPY" && break
9439 if test -z "$ac_cv_prog_OBJCOPY" ; then
9441 if test $build = $host ; then
9444 OBJCOPY="${ncn_tool_prefix}$2"
9450 if test -n "$OBJDUMP"; then
9451 ac_cv_prog_OBJDUMP=$OBJDUMP
9452 elif test -n "$ac_cv_prog_OBJDUMP"; then
9453 OBJDUMP=$ac_cv_prog_OBJDUMP
9456 if test -n "$ac_cv_prog_OBJDUMP"; then
9457 for ncn_progname in objdump; do
9458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9459 set dummy ${ncn_progname}; ac_word=$2
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9461 $as_echo_n "checking
for $ac_word...
" >&6; }
9462 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9463 $as_echo_n "(cached
) " >&6
9465 if test -n "$OBJDUMP"; then
9466 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9472 test -z "$as_dir" && as_dir=.
9473 for ac_exec_ext in '' $ac_executable_extensions; do
9474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9475 ac_cv_prog_OBJDUMP="${ncn_progname}"
9476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9485 OBJDUMP=$ac_cv_prog_OBJDUMP
9486 if test -n "$OBJDUMP"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9488 $as_echo "$OBJDUMP" >&6; }
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9491 $as_echo "no
" >&6; }
9498 for ncn_progname in objdump; do
9499 if test -n "$ncn_tool_prefix"; then
9500 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9501 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9503 $as_echo_n "checking
for $ac_word...
" >&6; }
9504 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9505 $as_echo_n "(cached
) " >&6
9507 if test -n "$OBJDUMP"; then
9508 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9517 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9527 OBJDUMP=$ac_cv_prog_OBJDUMP
9528 if test -n "$OBJDUMP"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9530 $as_echo "$OBJDUMP" >&6; }
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9533 $as_echo "no
" >&6; }
9538 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9540 set dummy ${ncn_progname}; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9542 $as_echo_n "checking
for $ac_word...
" >&6; }
9543 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9544 $as_echo_n "(cached
) " >&6
9546 if test -n "$OBJDUMP"; then
9547 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_prog_OBJDUMP="${ncn_progname}"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9566 OBJDUMP=$ac_cv_prog_OBJDUMP
9567 if test -n "$OBJDUMP"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9569 $as_echo "$OBJDUMP" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9572 $as_echo "no
" >&6; }
9577 test -n "$ac_cv_prog_OBJDUMP" && break
9580 if test -z "$ac_cv_prog_OBJDUMP" ; then
9582 if test $build = $host ; then
9585 OBJDUMP="${ncn_tool_prefix}$2"
9591 if test -n "$READELF"; then
9592 ac_cv_prog_READELF=$READELF
9593 elif test -n "$ac_cv_prog_READELF"; then
9594 READELF=$ac_cv_prog_READELF
9597 if test -n "$ac_cv_prog_READELF"; then
9598 for ncn_progname in readelf; do
9599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9600 set dummy ${ncn_progname}; ac_word=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9602 $as_echo_n "checking
for $ac_word...
" >&6; }
9603 if test "${ac_cv_prog_READELF+set}" = set; then :
9604 $as_echo_n "(cached
) " >&6
9606 if test -n "$READELF"; then
9607 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616 ac_cv_prog_READELF="${ncn_progname}"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9626 READELF=$ac_cv_prog_READELF
9627 if test -n "$READELF"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9629 $as_echo "$READELF" >&6; }
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9632 $as_echo "no
" >&6; }
9639 for ncn_progname in readelf; do
9640 if test -n "$ncn_tool_prefix"; then
9641 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9642 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9644 $as_echo_n "checking
for $ac_word...
" >&6; }
9645 if test "${ac_cv_prog_READELF+set}" = set; then :
9646 $as_echo_n "(cached
) " >&6
9648 if test -n "$READELF"; then
9649 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9658 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9668 READELF=$ac_cv_prog_READELF
9669 if test -n "$READELF"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9671 $as_echo "$READELF" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9674 $as_echo "no
" >&6; }
9679 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9681 set dummy ${ncn_progname}; ac_word=$2
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9683 $as_echo_n "checking
for $ac_word...
" >&6; }
9684 if test "${ac_cv_prog_READELF+set}" = set; then :
9685 $as_echo_n "(cached
) " >&6
9687 if test -n "$READELF"; then
9688 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 test -z "$as_dir" && as_dir=.
9695 for ac_exec_ext in '' $ac_executable_extensions; do
9696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9697 ac_cv_prog_READELF="${ncn_progname}"
9698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9707 READELF=$ac_cv_prog_READELF
9708 if test -n "$READELF"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9710 $as_echo "$READELF" >&6; }
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9713 $as_echo "no
" >&6; }
9718 test -n "$ac_cv_prog_READELF" && break
9721 if test -z "$ac_cv_prog_READELF" ; then
9723 if test $build = $host ; then
9726 READELF="${ncn_tool_prefix}$2"
9737 # Check whether --with-build-time-tools was given.
9738 if test "${with_build_time_tools+set}" = set; then :
9739 withval=$with_build_time_tools; case x"$withval" in
9742 with_build_time_tools=
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9744 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9748 with_build_time_tools=
9754 if test -n "$CC_FOR_TARGET"; then
9755 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9756 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9757 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9760 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9761 for ncn_progname in cc gcc; do
9762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9763 set dummy ${ncn_progname}; ac_word=$2
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9765 $as_echo_n "checking
for $ac_word...
" >&6; }
9766 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9767 $as_echo_n "(cached
) " >&6
9769 if test -n "$CC_FOR_TARGET"; then
9770 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9776 test -z "$as_dir" && as_dir=.
9777 for ac_exec_ext in '' $ac_executable_extensions; do
9778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9779 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9789 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9790 if test -n "$CC_FOR_TARGET"; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9792 $as_echo "$CC_FOR_TARGET" >&6; }
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9795 $as_echo "no
" >&6; }
9802 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9803 for ncn_progname in cc gcc; do
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9805 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9806 if test -x $with_build_time_tools/${ncn_progname}; then
9807 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9809 $as_echo "yes" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9813 $as_echo "no
" >&6; }
9818 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9819 for ncn_progname in cc gcc; do
9820 if test -n "$ncn_target_tool_prefix"; then
9821 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9822 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9824 $as_echo_n "checking
for $ac_word...
" >&6; }
9825 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9826 $as_echo_n "(cached
) " >&6
9828 if test -n "$CC_FOR_TARGET"; then
9829 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835 test -z "$as_dir" && as_dir=.
9836 for ac_exec_ext in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9848 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9849 if test -n "$CC_FOR_TARGET"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9851 $as_echo "$CC_FOR_TARGET" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9854 $as_echo "no
" >&6; }
9859 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9861 set dummy ${ncn_progname}; ac_word=$2
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9863 $as_echo_n "checking
for $ac_word...
" >&6; }
9864 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9865 $as_echo_n "(cached
) " >&6
9867 if test -n "$CC_FOR_TARGET"; then
9868 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9874 test -z "$as_dir" && as_dir=.
9875 for ac_exec_ext in '' $ac_executable_extensions; do
9876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9877 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9887 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9888 if test -n "$CC_FOR_TARGET"; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9890 $as_echo "$CC_FOR_TARGET" >&6; }
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9893 $as_echo "no
" >&6; }
9898 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9902 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9904 if test $build = $target ; then
9907 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9910 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9915 if test -n "$CXX_FOR_TARGET"; then
9916 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9917 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9918 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9921 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9922 for ncn_progname in c++ g++ cxx gxx; do
9923 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9924 set dummy ${ncn_progname}; ac_word=$2
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9926 $as_echo_n "checking
for $ac_word...
" >&6; }
9927 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9928 $as_echo_n "(cached
) " >&6
9930 if test -n "$CXX_FOR_TARGET"; then
9931 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9937 test -z "$as_dir" && as_dir=.
9938 for ac_exec_ext in '' $ac_executable_extensions; do
9939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9940 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9950 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9951 if test -n "$CXX_FOR_TARGET"; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9953 $as_echo "$CXX_FOR_TARGET" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9956 $as_echo "no
" >&6; }
9963 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9964 for ncn_progname in c++ g++ cxx gxx; do
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9966 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9967 if test -x $with_build_time_tools/${ncn_progname}; then
9968 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9970 $as_echo "yes" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9974 $as_echo "no
" >&6; }
9979 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9980 for ncn_progname in c++ g++ cxx gxx; do
9981 if test -n "$ncn_target_tool_prefix"; then
9982 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9983 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9985 $as_echo_n "checking
for $ac_word...
" >&6; }
9986 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9987 $as_echo_n "(cached
) " >&6
9989 if test -n "$CXX_FOR_TARGET"; then
9990 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996 test -z "$as_dir" && as_dir=.
9997 for ac_exec_ext in '' $ac_executable_extensions; do
9998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9999 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10009 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10010 if test -n "$CXX_FOR_TARGET"; then
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10012 $as_echo "$CXX_FOR_TARGET" >&6; }
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10015 $as_echo "no
" >&6; }
10020 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10021 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10022 set dummy ${ncn_progname}; ac_word=$2
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10024 $as_echo_n "checking
for $ac_word...
" >&6; }
10025 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10026 $as_echo_n "(cached
) " >&6
10028 if test -n "$CXX_FOR_TARGET"; then
10029 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10032 for as_dir in $PATH
10035 test -z "$as_dir" && as_dir=.
10036 for ac_exec_ext in '' $ac_executable_extensions; do
10037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10048 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10049 if test -n "$CXX_FOR_TARGET"; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10051 $as_echo "$CXX_FOR_TARGET" >&6; }
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10054 $as_echo "no
" >&6; }
10059 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10063 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10064 set dummy c++ g++ cxx gxx
10065 if test $build = $target ; then
10066 CXX_FOR_TARGET="$2"
10068 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10071 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10076 if test -n "$GCC_FOR_TARGET"; then
10077 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10078 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10079 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10082 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10083 for ncn_progname in gcc; do
10084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10085 set dummy ${ncn_progname}; ac_word=$2
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10087 $as_echo_n "checking
for $ac_word...
" >&6; }
10088 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10089 $as_echo_n "(cached
) " >&6
10091 if test -n "$GCC_FOR_TARGET"; then
10092 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10095 for as_dir in $PATH
10098 test -z "$as_dir" && as_dir=.
10099 for ac_exec_ext in '' $ac_executable_extensions; do
10100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10101 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10111 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10112 if test -n "$GCC_FOR_TARGET"; then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10114 $as_echo "$GCC_FOR_TARGET" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10117 $as_echo "no
" >&6; }
10124 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10125 for ncn_progname in gcc; do
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10127 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10128 if test -x $with_build_time_tools/${ncn_progname}; then
10129 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10131 $as_echo "yes" >&6; }
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10135 $as_echo "no
" >&6; }
10140 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10141 for ncn_progname in gcc; do
10142 if test -n "$ncn_target_tool_prefix"; then
10143 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10144 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10146 $as_echo_n "checking
for $ac_word...
" >&6; }
10147 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10148 $as_echo_n "(cached
) " >&6
10150 if test -n "$GCC_FOR_TARGET"; then
10151 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10154 for as_dir in $PATH
10157 test -z "$as_dir" && as_dir=.
10158 for ac_exec_ext in '' $ac_executable_extensions; do
10159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10160 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10170 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10171 if test -n "$GCC_FOR_TARGET"; then
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10173 $as_echo "$GCC_FOR_TARGET" >&6; }
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10176 $as_echo "no
" >&6; }
10181 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10183 set dummy ${ncn_progname}; ac_word=$2
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10185 $as_echo_n "checking
for $ac_word...
" >&6; }
10186 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10187 $as_echo_n "(cached
) " >&6
10189 if test -n "$GCC_FOR_TARGET"; then
10190 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10193 for as_dir in $PATH
10196 test -z "$as_dir" && as_dir=.
10197 for ac_exec_ext in '' $ac_executable_extensions; do
10198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10199 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10209 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10210 if test -n "$GCC_FOR_TARGET"; then
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10212 $as_echo "$GCC_FOR_TARGET" >&6; }
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10215 $as_echo "no
" >&6; }
10220 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10224 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10225 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10227 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10232 if test -n "$GCJ_FOR_TARGET"; then
10233 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10234 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10235 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10238 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10239 for ncn_progname in gcj; do
10240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10241 set dummy ${ncn_progname}; ac_word=$2
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10243 $as_echo_n "checking
for $ac_word...
" >&6; }
10244 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10245 $as_echo_n "(cached
) " >&6
10247 if test -n "$GCJ_FOR_TARGET"; then
10248 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10251 for as_dir in $PATH
10254 test -z "$as_dir" && as_dir=.
10255 for ac_exec_ext in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10267 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10268 if test -n "$GCJ_FOR_TARGET"; then
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10270 $as_echo "$GCJ_FOR_TARGET" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10273 $as_echo "no
" >&6; }
10280 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10281 for ncn_progname in gcj; do
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10283 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10284 if test -x $with_build_time_tools/${ncn_progname}; then
10285 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10287 $as_echo "yes" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10291 $as_echo "no
" >&6; }
10296 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10297 for ncn_progname in gcj; do
10298 if test -n "$ncn_target_tool_prefix"; then
10299 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10300 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10302 $as_echo_n "checking
for $ac_word...
" >&6; }
10303 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10304 $as_echo_n "(cached
) " >&6
10306 if test -n "$GCJ_FOR_TARGET"; then
10307 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10310 for as_dir in $PATH
10313 test -z "$as_dir" && as_dir=.
10314 for ac_exec_ext in '' $ac_executable_extensions; do
10315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10316 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10326 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10327 if test -n "$GCJ_FOR_TARGET"; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10329 $as_echo "$GCJ_FOR_TARGET" >&6; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10332 $as_echo "no
" >&6; }
10337 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10338 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10339 set dummy ${ncn_progname}; ac_word=$2
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10341 $as_echo_n "checking
for $ac_word...
" >&6; }
10342 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10343 $as_echo_n "(cached
) " >&6
10345 if test -n "$GCJ_FOR_TARGET"; then
10346 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10349 for as_dir in $PATH
10352 test -z "$as_dir" && as_dir=.
10353 for ac_exec_ext in '' $ac_executable_extensions; do
10354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10355 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10365 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10366 if test -n "$GCJ_FOR_TARGET"; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10368 $as_echo "$GCJ_FOR_TARGET" >&6; }
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10371 $as_echo "no
" >&6; }
10376 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10380 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10382 if test $build = $target ; then
10383 GCJ_FOR_TARGET="$2"
10385 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10388 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10393 if test -n "$GFORTRAN_FOR_TARGET"; then
10394 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10395 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10396 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10399 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10400 for ncn_progname in gfortran; do
10401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10402 set dummy ${ncn_progname}; ac_word=$2
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10404 $as_echo_n "checking
for $ac_word...
" >&6; }
10405 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10406 $as_echo_n "(cached
) " >&6
10408 if test -n "$GFORTRAN_FOR_TARGET"; then
10409 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10412 for as_dir in $PATH
10415 test -z "$as_dir" && as_dir=.
10416 for ac_exec_ext in '' $ac_executable_extensions; do
10417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10418 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10428 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10429 if test -n "$GFORTRAN_FOR_TARGET"; then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10431 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10434 $as_echo "no
" >&6; }
10441 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10442 for ncn_progname in gfortran; do
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10444 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10445 if test -x $with_build_time_tools/${ncn_progname}; then
10446 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10448 $as_echo "yes" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10452 $as_echo "no
" >&6; }
10457 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10458 for ncn_progname in gfortran; do
10459 if test -n "$ncn_target_tool_prefix"; then
10460 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10461 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10463 $as_echo_n "checking
for $ac_word...
" >&6; }
10464 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10465 $as_echo_n "(cached
) " >&6
10467 if test -n "$GFORTRAN_FOR_TARGET"; then
10468 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10471 for as_dir in $PATH
10474 test -z "$as_dir" && as_dir=.
10475 for ac_exec_ext in '' $ac_executable_extensions; do
10476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10477 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10487 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10488 if test -n "$GFORTRAN_FOR_TARGET"; then
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10490 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10493 $as_echo "no
" >&6; }
10498 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10500 set dummy ${ncn_progname}; ac_word=$2
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10502 $as_echo_n "checking
for $ac_word...
" >&6; }
10503 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10504 $as_echo_n "(cached
) " >&6
10506 if test -n "$GFORTRAN_FOR_TARGET"; then
10507 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10510 for as_dir in $PATH
10513 test -z "$as_dir" && as_dir=.
10514 for ac_exec_ext in '' $ac_executable_extensions; do
10515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10516 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10526 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10527 if test -n "$GFORTRAN_FOR_TARGET"; then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10529 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10532 $as_echo "no
" >&6; }
10537 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10541 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10543 if test $build = $target ; then
10544 GFORTRAN_FOR_TARGET="$2"
10546 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10549 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10554 if test -n "$GOC_FOR_TARGET"; then
10555 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10556 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10557 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10560 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10561 for ncn_progname in gccgo; do
10562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10563 set dummy ${ncn_progname}; ac_word=$2
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10565 $as_echo_n "checking
for $ac_word...
" >&6; }
10566 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10567 $as_echo_n "(cached
) " >&6
10569 if test -n "$GOC_FOR_TARGET"; then
10570 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10573 for as_dir in $PATH
10576 test -z "$as_dir" && as_dir=.
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10579 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10589 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10590 if test -n "$GOC_FOR_TARGET"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10592 $as_echo "$GOC_FOR_TARGET" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10595 $as_echo "no
" >&6; }
10602 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10603 for ncn_progname in gccgo; do
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10605 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10606 if test -x $with_build_time_tools/${ncn_progname}; then
10607 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10609 $as_echo "yes" >&6; }
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10613 $as_echo "no
" >&6; }
10618 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10619 for ncn_progname in gccgo; do
10620 if test -n "$ncn_target_tool_prefix"; then
10621 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10622 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10624 $as_echo_n "checking
for $ac_word...
" >&6; }
10625 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10626 $as_echo_n "(cached
) " >&6
10628 if test -n "$GOC_FOR_TARGET"; then
10629 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10632 for as_dir in $PATH
10635 test -z "$as_dir" && as_dir=.
10636 for ac_exec_ext in '' $ac_executable_extensions; do
10637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10638 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10648 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10649 if test -n "$GOC_FOR_TARGET"; then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10651 $as_echo "$GOC_FOR_TARGET" >&6; }
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10654 $as_echo "no
" >&6; }
10659 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10660 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10661 set dummy ${ncn_progname}; ac_word=$2
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10663 $as_echo_n "checking
for $ac_word...
" >&6; }
10664 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10665 $as_echo_n "(cached
) " >&6
10667 if test -n "$GOC_FOR_TARGET"; then
10668 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10674 test -z "$as_dir" && as_dir=.
10675 for ac_exec_ext in '' $ac_executable_extensions; do
10676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10677 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10687 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10688 if test -n "$GOC_FOR_TARGET"; then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10690 $as_echo "$GOC_FOR_TARGET" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10693 $as_echo "no
" >&6; }
10698 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10702 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10704 if test $build = $target ; then
10705 GOC_FOR_TARGET="$2"
10707 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10710 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10715 cat > conftest.c << \EOF
10720 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10721 have_gcc_for_target=yes
10723 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10724 have_gcc_for_target=no
10731 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10732 if test -n "$with_build_time_tools"; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10734 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10735 if test -x $with_build_time_tools/ar; then
10736 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10737 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10739 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10742 $as_echo "no
" >&6; }
10744 elif test $build != $host && test $have_gcc_for_target = yes; then
10745 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10746 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10747 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10750 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10751 # Extract the first word of "ar", so it can be a program name with args.
10752 set dummy ar; ac_word=$2
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10754 $as_echo_n "checking
for $ac_word...
" >&6; }
10755 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10756 $as_echo_n "(cached
) " >&6
10758 case $AR_FOR_TARGET in
10760 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10764 for as_dir in $gcc_cv_tool_dirs
10767 test -z "$as_dir" && as_dir=.
10768 for ac_exec_ext in '' $ac_executable_extensions; do
10769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10770 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10781 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10782 if test -n "$AR_FOR_TARGET"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10784 $as_echo "$AR_FOR_TARGET" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10787 $as_echo "no
" >&6; }
10792 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10795 if test -n "$AR_FOR_TARGET"; then
10796 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10797 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10798 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10801 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10802 for ncn_progname in ar; do
10803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10804 set dummy ${ncn_progname}; ac_word=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10806 $as_echo_n "checking
for $ac_word...
" >&6; }
10807 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10808 $as_echo_n "(cached
) " >&6
10810 if test -n "$AR_FOR_TARGET"; then
10811 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10814 for as_dir in $PATH
10817 test -z "$as_dir" && as_dir=.
10818 for ac_exec_ext in '' $ac_executable_extensions; do
10819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10820 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10830 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10831 if test -n "$AR_FOR_TARGET"; then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10833 $as_echo "$AR_FOR_TARGET" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10836 $as_echo "no
" >&6; }
10843 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10844 for ncn_progname in ar; do
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10846 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10847 if test -x $with_build_time_tools/${ncn_progname}; then
10848 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10850 $as_echo "yes" >&6; }
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10854 $as_echo "no
" >&6; }
10859 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10860 for ncn_progname in ar; do
10861 if test -n "$ncn_target_tool_prefix"; then
10862 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10863 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10865 $as_echo_n "checking
for $ac_word...
" >&6; }
10866 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10867 $as_echo_n "(cached
) " >&6
10869 if test -n "$AR_FOR_TARGET"; then
10870 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10873 for as_dir in $PATH
10876 test -z "$as_dir" && as_dir=.
10877 for ac_exec_ext in '' $ac_executable_extensions; do
10878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10879 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10889 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10890 if test -n "$AR_FOR_TARGET"; then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10892 $as_echo "$AR_FOR_TARGET" >&6; }
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10895 $as_echo "no
" >&6; }
10900 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10902 set dummy ${ncn_progname}; ac_word=$2
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10904 $as_echo_n "checking
for $ac_word...
" >&6; }
10905 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10906 $as_echo_n "(cached
) " >&6
10908 if test -n "$AR_FOR_TARGET"; then
10909 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10912 for as_dir in $PATH
10915 test -z "$as_dir" && as_dir=.
10916 for ac_exec_ext in '' $ac_executable_extensions; do
10917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10918 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10928 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10929 if test -n "$AR_FOR_TARGET"; then
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10931 $as_echo "$AR_FOR_TARGET" >&6; }
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10934 $as_echo "no
" >&6; }
10939 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10943 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10945 if test $build = $target ; then
10948 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10951 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10955 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10961 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10962 if test -n "$with_build_time_tools"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10964 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10965 if test -x $with_build_time_tools/as; then
10966 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10967 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10969 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10972 $as_echo "no
" >&6; }
10974 elif test $build != $host && test $have_gcc_for_target = yes; then
10975 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10976 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10977 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10980 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10981 # Extract the first word of "as
", so it can be a program name with args.
10982 set dummy as; ac_word=$2
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10984 $as_echo_n "checking
for $ac_word...
" >&6; }
10985 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10986 $as_echo_n "(cached
) " >&6
10988 case $AS_FOR_TARGET in
10990 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10994 for as_dir in $gcc_cv_tool_dirs
10997 test -z "$as_dir" && as_dir=.
10998 for ac_exec_ext in '' $ac_executable_extensions; do
10999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11000 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11011 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11012 if test -n "$AS_FOR_TARGET"; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11014 $as_echo "$AS_FOR_TARGET" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11017 $as_echo "no
" >&6; }
11022 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11025 if test -n "$AS_FOR_TARGET"; then
11026 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11027 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11028 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11031 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11032 for ncn_progname in as; do
11033 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11034 set dummy ${ncn_progname}; ac_word=$2
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11036 $as_echo_n "checking
for $ac_word...
" >&6; }
11037 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11038 $as_echo_n "(cached
) " >&6
11040 if test -n "$AS_FOR_TARGET"; then
11041 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11044 for as_dir in $PATH
11047 test -z "$as_dir" && as_dir=.
11048 for ac_exec_ext in '' $ac_executable_extensions; do
11049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11050 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11060 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11061 if test -n "$AS_FOR_TARGET"; then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11063 $as_echo "$AS_FOR_TARGET" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11066 $as_echo "no
" >&6; }
11073 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11074 for ncn_progname in as; do
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11076 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11077 if test -x $with_build_time_tools/${ncn_progname}; then
11078 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11080 $as_echo "yes" >&6; }
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11084 $as_echo "no
" >&6; }
11089 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11090 for ncn_progname in as; do
11091 if test -n "$ncn_target_tool_prefix"; then
11092 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11093 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11095 $as_echo_n "checking
for $ac_word...
" >&6; }
11096 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11097 $as_echo_n "(cached
) " >&6
11099 if test -n "$AS_FOR_TARGET"; then
11100 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11103 for as_dir in $PATH
11106 test -z "$as_dir" && as_dir=.
11107 for ac_exec_ext in '' $ac_executable_extensions; do
11108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11109 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11119 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11120 if test -n "$AS_FOR_TARGET"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11122 $as_echo "$AS_FOR_TARGET" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11125 $as_echo "no
" >&6; }
11130 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11131 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11132 set dummy ${ncn_progname}; ac_word=$2
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11134 $as_echo_n "checking
for $ac_word...
" >&6; }
11135 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11136 $as_echo_n "(cached
) " >&6
11138 if test -n "$AS_FOR_TARGET"; then
11139 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142 for as_dir in $PATH
11145 test -z "$as_dir" && as_dir=.
11146 for ac_exec_ext in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11158 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11159 if test -n "$AS_FOR_TARGET"; then
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11161 $as_echo "$AS_FOR_TARGET" >&6; }
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11164 $as_echo "no
" >&6; }
11169 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11173 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11175 if test $build = $target ; then
11178 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11181 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11185 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11191 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11192 if test -n "$with_build_time_tools"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11194 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11195 if test -x $with_build_time_tools/dlltool; then
11196 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11197 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11199 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11202 $as_echo "no
" >&6; }
11204 elif test $build != $host && test $have_gcc_for_target = yes; then
11205 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11206 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11207 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11210 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11211 # Extract the first word of "dlltool
", so it can be a program name with args.
11212 set dummy dlltool; ac_word=$2
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11214 $as_echo_n "checking
for $ac_word...
" >&6; }
11215 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11216 $as_echo_n "(cached
) " >&6
11218 case $DLLTOOL_FOR_TARGET in
11220 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11224 for as_dir in $gcc_cv_tool_dirs
11227 test -z "$as_dir" && as_dir=.
11228 for ac_exec_ext in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11241 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11242 if test -n "$DLLTOOL_FOR_TARGET"; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11244 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11247 $as_echo "no
" >&6; }
11252 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11255 if test -n "$DLLTOOL_FOR_TARGET"; then
11256 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11257 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11258 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11261 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11262 for ncn_progname in dlltool; do
11263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11264 set dummy ${ncn_progname}; ac_word=$2
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11266 $as_echo_n "checking
for $ac_word...
" >&6; }
11267 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11268 $as_echo_n "(cached
) " >&6
11270 if test -n "$DLLTOOL_FOR_TARGET"; then
11271 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11274 for as_dir in $PATH
11277 test -z "$as_dir" && as_dir=.
11278 for ac_exec_ext in '' $ac_executable_extensions; do
11279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11280 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11290 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11291 if test -n "$DLLTOOL_FOR_TARGET"; then
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11293 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11296 $as_echo "no
" >&6; }
11303 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11304 for ncn_progname in dlltool; do
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11306 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11307 if test -x $with_build_time_tools/${ncn_progname}; then
11308 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11310 $as_echo "yes" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11314 $as_echo "no
" >&6; }
11319 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11320 for ncn_progname in dlltool; do
11321 if test -n "$ncn_target_tool_prefix"; then
11322 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11323 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11325 $as_echo_n "checking
for $ac_word...
" >&6; }
11326 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11327 $as_echo_n "(cached
) " >&6
11329 if test -n "$DLLTOOL_FOR_TARGET"; then
11330 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $PATH
11336 test -z "$as_dir" && as_dir=.
11337 for ac_exec_ext in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11349 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11350 if test -n "$DLLTOOL_FOR_TARGET"; then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11352 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11355 $as_echo "no
" >&6; }
11360 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11362 set dummy ${ncn_progname}; ac_word=$2
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11364 $as_echo_n "checking
for $ac_word...
" >&6; }
11365 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11366 $as_echo_n "(cached
) " >&6
11368 if test -n "$DLLTOOL_FOR_TARGET"; then
11369 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11372 for as_dir in $PATH
11375 test -z "$as_dir" && as_dir=.
11376 for ac_exec_ext in '' $ac_executable_extensions; do
11377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11378 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11388 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11389 if test -n "$DLLTOOL_FOR_TARGET"; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11391 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11394 $as_echo "no
" >&6; }
11399 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11403 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11405 if test $build = $target ; then
11406 DLLTOOL_FOR_TARGET="$2"
11408 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11411 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11415 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11421 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11422 if test -n "$with_build_time_tools"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11424 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11425 if test -x $with_build_time_tools/ld; then
11426 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11427 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11429 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11432 $as_echo "no
" >&6; }
11434 elif test $build != $host && test $have_gcc_for_target = yes; then
11435 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11436 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11437 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11440 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11441 # Extract the first word of "ld
", so it can be a program name with args.
11442 set dummy ld; ac_word=$2
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11444 $as_echo_n "checking
for $ac_word...
" >&6; }
11445 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11446 $as_echo_n "(cached
) " >&6
11448 case $LD_FOR_TARGET in
11450 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11454 for as_dir in $gcc_cv_tool_dirs
11457 test -z "$as_dir" && as_dir=.
11458 for ac_exec_ext in '' $ac_executable_extensions; do
11459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11460 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11471 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11472 if test -n "$LD_FOR_TARGET"; then
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11474 $as_echo "$LD_FOR_TARGET" >&6; }
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11477 $as_echo "no
" >&6; }
11482 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11485 if test -n "$LD_FOR_TARGET"; then
11486 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11487 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11488 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11491 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11492 for ncn_progname in ld; do
11493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11494 set dummy ${ncn_progname}; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11496 $as_echo_n "checking
for $ac_word...
" >&6; }
11497 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11498 $as_echo_n "(cached
) " >&6
11500 if test -n "$LD_FOR_TARGET"; then
11501 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11520 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11521 if test -n "$LD_FOR_TARGET"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11523 $as_echo "$LD_FOR_TARGET" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11526 $as_echo "no
" >&6; }
11533 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11534 for ncn_progname in ld; do
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11536 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11537 if test -x $with_build_time_tools/${ncn_progname}; then
11538 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11540 $as_echo "yes" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11544 $as_echo "no
" >&6; }
11549 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11550 for ncn_progname in ld; do
11551 if test -n "$ncn_target_tool_prefix"; then
11552 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11553 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11555 $as_echo_n "checking
for $ac_word...
" >&6; }
11556 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11557 $as_echo_n "(cached
) " >&6
11559 if test -n "$LD_FOR_TARGET"; then
11560 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11563 for as_dir in $PATH
11566 test -z "$as_dir" && as_dir=.
11567 for ac_exec_ext in '' $ac_executable_extensions; do
11568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11569 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11579 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11580 if test -n "$LD_FOR_TARGET"; then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11582 $as_echo "$LD_FOR_TARGET" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11585 $as_echo "no
" >&6; }
11590 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11592 set dummy ${ncn_progname}; ac_word=$2
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11594 $as_echo_n "checking
for $ac_word...
" >&6; }
11595 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11596 $as_echo_n "(cached
) " >&6
11598 if test -n "$LD_FOR_TARGET"; then
11599 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11602 for as_dir in $PATH
11605 test -z "$as_dir" && as_dir=.
11606 for ac_exec_ext in '' $ac_executable_extensions; do
11607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11608 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11618 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11619 if test -n "$LD_FOR_TARGET"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11621 $as_echo "$LD_FOR_TARGET" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11624 $as_echo "no
" >&6; }
11629 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11633 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11635 if test $build = $target ; then
11638 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11641 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11645 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11651 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11652 if test -n "$with_build_time_tools"; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11654 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11655 if test -x $with_build_time_tools/lipo; then
11656 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11657 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11659 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11662 $as_echo "no
" >&6; }
11664 elif test $build != $host && test $have_gcc_for_target = yes; then
11665 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11666 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11667 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11670 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11671 # Extract the first word of "lipo
", so it can be a program name with args.
11672 set dummy lipo; ac_word=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11674 $as_echo_n "checking
for $ac_word...
" >&6; }
11675 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11676 $as_echo_n "(cached
) " >&6
11678 case $LIPO_FOR_TARGET in
11680 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $gcc_cv_tool_dirs
11687 test -z "$as_dir" && as_dir=.
11688 for ac_exec_ext in '' $ac_executable_extensions; do
11689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11690 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11701 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11702 if test -n "$LIPO_FOR_TARGET"; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11704 $as_echo "$LIPO_FOR_TARGET" >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11707 $as_echo "no
" >&6; }
11712 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11715 if test -n "$LIPO_FOR_TARGET"; then
11716 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11717 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11718 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11721 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11722 for ncn_progname in lipo; do
11723 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11724 set dummy ${ncn_progname}; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11726 $as_echo_n "checking
for $ac_word...
" >&6; }
11727 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11728 $as_echo_n "(cached
) " >&6
11730 if test -n "$LIPO_FOR_TARGET"; then
11731 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11734 for as_dir in $PATH
11737 test -z "$as_dir" && as_dir=.
11738 for ac_exec_ext in '' $ac_executable_extensions; do
11739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11740 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11750 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11751 if test -n "$LIPO_FOR_TARGET"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11753 $as_echo "$LIPO_FOR_TARGET" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11756 $as_echo "no
" >&6; }
11763 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11764 for ncn_progname in lipo; do
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11766 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11767 if test -x $with_build_time_tools/${ncn_progname}; then
11768 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11770 $as_echo "yes" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11774 $as_echo "no
" >&6; }
11779 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11780 for ncn_progname in lipo; do
11781 if test -n "$ncn_target_tool_prefix"; then
11782 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11783 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11785 $as_echo_n "checking
for $ac_word...
" >&6; }
11786 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11787 $as_echo_n "(cached
) " >&6
11789 if test -n "$LIPO_FOR_TARGET"; then
11790 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11809 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11810 if test -n "$LIPO_FOR_TARGET"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11812 $as_echo "$LIPO_FOR_TARGET" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11815 $as_echo "no
" >&6; }
11820 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11822 set dummy ${ncn_progname}; ac_word=$2
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11824 $as_echo_n "checking
for $ac_word...
" >&6; }
11825 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11826 $as_echo_n "(cached
) " >&6
11828 if test -n "$LIPO_FOR_TARGET"; then
11829 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11832 for as_dir in $PATH
11835 test -z "$as_dir" && as_dir=.
11836 for ac_exec_ext in '' $ac_executable_extensions; do
11837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11838 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11848 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11849 if test -n "$LIPO_FOR_TARGET"; then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11851 $as_echo "$LIPO_FOR_TARGET" >&6; }
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11854 $as_echo "no
" >&6; }
11859 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11863 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11865 if test $build = $target ; then
11866 LIPO_FOR_TARGET="$2"
11868 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11871 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11875 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11881 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11882 if test -n "$with_build_time_tools"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11884 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11885 if test -x $with_build_time_tools/nm; then
11886 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11887 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11889 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11892 $as_echo "no
" >&6; }
11894 elif test $build != $host && test $have_gcc_for_target = yes; then
11895 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11896 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11897 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11900 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11901 # Extract the first word of "nm
", so it can be a program name with args.
11902 set dummy nm; ac_word=$2
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11904 $as_echo_n "checking
for $ac_word...
" >&6; }
11905 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11906 $as_echo_n "(cached
) " >&6
11908 case $NM_FOR_TARGET in
11910 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11914 for as_dir in $gcc_cv_tool_dirs
11917 test -z "$as_dir" && as_dir=.
11918 for ac_exec_ext in '' $ac_executable_extensions; do
11919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11920 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11931 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11932 if test -n "$NM_FOR_TARGET"; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11934 $as_echo "$NM_FOR_TARGET" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11937 $as_echo "no
" >&6; }
11942 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11945 if test -n "$NM_FOR_TARGET"; then
11946 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11947 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11948 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11951 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11952 for ncn_progname in nm; do
11953 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11954 set dummy ${ncn_progname}; ac_word=$2
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11956 $as_echo_n "checking
for $ac_word...
" >&6; }
11957 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11958 $as_echo_n "(cached
) " >&6
11960 if test -n "$NM_FOR_TARGET"; then
11961 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11967 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11980 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11981 if test -n "$NM_FOR_TARGET"; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11983 $as_echo "$NM_FOR_TARGET" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11993 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11994 for ncn_progname in nm; do
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11996 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11997 if test -x $with_build_time_tools/${ncn_progname}; then
11998 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12000 $as_echo "yes" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12004 $as_echo "no
" >&6; }
12009 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12010 for ncn_progname in nm; do
12011 if test -n "$ncn_target_tool_prefix"; then
12012 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12013 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12015 $as_echo_n "checking
for $ac_word...
" >&6; }
12016 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12017 $as_echo_n "(cached
) " >&6
12019 if test -n "$NM_FOR_TARGET"; then
12020 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12026 test -z "$as_dir" && as_dir=.
12027 for ac_exec_ext in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12039 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12040 if test -n "$NM_FOR_TARGET"; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12042 $as_echo "$NM_FOR_TARGET" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12045 $as_echo "no
" >&6; }
12050 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12052 set dummy ${ncn_progname}; ac_word=$2
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12054 $as_echo_n "checking
for $ac_word...
" >&6; }
12055 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12056 $as_echo_n "(cached
) " >&6
12058 if test -n "$NM_FOR_TARGET"; then
12059 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062 for as_dir in $PATH
12065 test -z "$as_dir" && as_dir=.
12066 for ac_exec_ext in '' $ac_executable_extensions; do
12067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12068 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12078 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12079 if test -n "$NM_FOR_TARGET"; then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12081 $as_echo "$NM_FOR_TARGET" >&6; }
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12084 $as_echo "no
" >&6; }
12089 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12093 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12095 if test $build = $target ; then
12098 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12101 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12105 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12111 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12112 if test -n "$with_build_time_tools"; then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12114 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12115 if test -x $with_build_time_tools/objdump; then
12116 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12117 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12119 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12122 $as_echo "no
" >&6; }
12124 elif test $build != $host && test $have_gcc_for_target = yes; then
12125 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12126 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12127 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12130 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12131 # Extract the first word of "objdump
", so it can be a program name with args.
12132 set dummy objdump; ac_word=$2
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12134 $as_echo_n "checking
for $ac_word...
" >&6; }
12135 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12136 $as_echo_n "(cached
) " >&6
12138 case $OBJDUMP_FOR_TARGET in
12140 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $gcc_cv_tool_dirs
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12161 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12162 if test -n "$OBJDUMP_FOR_TARGET"; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12164 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12167 $as_echo "no
" >&6; }
12172 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12175 if test -n "$OBJDUMP_FOR_TARGET"; then
12176 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12177 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12178 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12181 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12182 for ncn_progname in objdump; do
12183 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12184 set dummy ${ncn_progname}; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12186 $as_echo_n "checking
for $ac_word...
" >&6; }
12187 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12188 $as_echo_n "(cached
) " >&6
12190 if test -n "$OBJDUMP_FOR_TARGET"; then
12191 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12210 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12211 if test -n "$OBJDUMP_FOR_TARGET"; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12213 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12216 $as_echo "no
" >&6; }
12223 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12224 for ncn_progname in objdump; do
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12226 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12227 if test -x $with_build_time_tools/${ncn_progname}; then
12228 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12230 $as_echo "yes" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12234 $as_echo "no
" >&6; }
12239 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12240 for ncn_progname in objdump; do
12241 if test -n "$ncn_target_tool_prefix"; then
12242 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12243 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12245 $as_echo_n "checking
for $ac_word...
" >&6; }
12246 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12247 $as_echo_n "(cached
) " >&6
12249 if test -n "$OBJDUMP_FOR_TARGET"; then
12250 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253 for as_dir in $PATH
12256 test -z "$as_dir" && as_dir=.
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12259 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12269 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12270 if test -n "$OBJDUMP_FOR_TARGET"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12272 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12275 $as_echo "no
" >&6; }
12280 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12281 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12282 set dummy ${ncn_progname}; ac_word=$2
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12284 $as_echo_n "checking
for $ac_word...
" >&6; }
12285 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12286 $as_echo_n "(cached
) " >&6
12288 if test -n "$OBJDUMP_FOR_TARGET"; then
12289 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12292 for as_dir in $PATH
12295 test -z "$as_dir" && as_dir=.
12296 for ac_exec_ext in '' $ac_executable_extensions; do
12297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12298 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12308 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12309 if test -n "$OBJDUMP_FOR_TARGET"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12311 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12314 $as_echo "no
" >&6; }
12319 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12323 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12325 if test $build = $target ; then
12326 OBJDUMP_FOR_TARGET="$2"
12328 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12331 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12335 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12341 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12342 if test -n "$with_build_time_tools"; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12344 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12345 if test -x $with_build_time_tools/ranlib; then
12346 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12347 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12349 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12352 $as_echo "no
" >&6; }
12354 elif test $build != $host && test $have_gcc_for_target = yes; then
12355 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12356 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12357 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12360 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12361 # Extract the first word of "ranlib
", so it can be a program name with args.
12362 set dummy ranlib; ac_word=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12364 $as_echo_n "checking
for $ac_word...
" >&6; }
12365 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12366 $as_echo_n "(cached
) " >&6
12368 case $RANLIB_FOR_TARGET in
12370 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12374 for as_dir in $gcc_cv_tool_dirs
12377 test -z "$as_dir" && as_dir=.
12378 for ac_exec_ext in '' $ac_executable_extensions; do
12379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12380 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12391 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12392 if test -n "$RANLIB_FOR_TARGET"; then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12394 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12397 $as_echo "no
" >&6; }
12402 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12405 if test -n "$RANLIB_FOR_TARGET"; then
12406 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12407 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12408 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12411 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12412 for ncn_progname in ranlib; do
12413 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12414 set dummy ${ncn_progname}; ac_word=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12416 $as_echo_n "checking
for $ac_word...
" >&6; }
12417 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12418 $as_echo_n "(cached
) " >&6
12420 if test -n "$RANLIB_FOR_TARGET"; then
12421 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12440 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12441 if test -n "$RANLIB_FOR_TARGET"; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12443 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12446 $as_echo "no
" >&6; }
12453 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12454 for ncn_progname in ranlib; do
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12456 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12457 if test -x $with_build_time_tools/${ncn_progname}; then
12458 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12460 $as_echo "yes" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12464 $as_echo "no
" >&6; }
12469 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12470 for ncn_progname in ranlib; do
12471 if test -n "$ncn_target_tool_prefix"; then
12472 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12473 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12475 $as_echo_n "checking
for $ac_word...
" >&6; }
12476 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12477 $as_echo_n "(cached
) " >&6
12479 if test -n "$RANLIB_FOR_TARGET"; then
12480 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12499 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12500 if test -n "$RANLIB_FOR_TARGET"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12502 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12505 $as_echo "no
" >&6; }
12510 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12512 set dummy ${ncn_progname}; ac_word=$2
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12514 $as_echo_n "checking
for $ac_word...
" >&6; }
12515 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12516 $as_echo_n "(cached
) " >&6
12518 if test -n "$RANLIB_FOR_TARGET"; then
12519 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522 for as_dir in $PATH
12525 test -z "$as_dir" && as_dir=.
12526 for ac_exec_ext in '' $ac_executable_extensions; do
12527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12528 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12538 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12539 if test -n "$RANLIB_FOR_TARGET"; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12541 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12544 $as_echo "no
" >&6; }
12549 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12553 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12555 if test $build = $target ; then
12556 RANLIB_FOR_TARGET="$2"
12558 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12561 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12565 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12571 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12572 if test -n "$with_build_time_tools"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12574 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12575 if test -x $with_build_time_tools/readelf; then
12576 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12577 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12579 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12582 $as_echo "no
" >&6; }
12584 elif test $build != $host && test $have_gcc_for_target = yes; then
12585 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12586 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12587 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12590 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12591 # Extract the first word of "readelf
", so it can be a program name with args.
12592 set dummy readelf; ac_word=$2
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12594 $as_echo_n "checking
for $ac_word...
" >&6; }
12595 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12596 $as_echo_n "(cached
) " >&6
12598 case $READELF_FOR_TARGET in
12600 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12604 for as_dir in $gcc_cv_tool_dirs
12607 test -z "$as_dir" && as_dir=.
12608 for ac_exec_ext in '' $ac_executable_extensions; do
12609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12610 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12621 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12622 if test -n "$READELF_FOR_TARGET"; then
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12624 $as_echo "$READELF_FOR_TARGET" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12627 $as_echo "no
" >&6; }
12632 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12635 if test -n "$READELF_FOR_TARGET"; then
12636 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12637 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12638 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12641 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12642 for ncn_progname in readelf; do
12643 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12644 set dummy ${ncn_progname}; ac_word=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12646 $as_echo_n "checking
for $ac_word...
" >&6; }
12647 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12648 $as_echo_n "(cached
) " >&6
12650 if test -n "$READELF_FOR_TARGET"; then
12651 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12657 test -z "$as_dir" && as_dir=.
12658 for ac_exec_ext in '' $ac_executable_extensions; do
12659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12660 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12670 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12671 if test -n "$READELF_FOR_TARGET"; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12673 $as_echo "$READELF_FOR_TARGET" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12676 $as_echo "no
" >&6; }
12683 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12684 for ncn_progname in readelf; do
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12686 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12687 if test -x $with_build_time_tools/${ncn_progname}; then
12688 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12690 $as_echo "yes" >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12694 $as_echo "no
" >&6; }
12699 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12700 for ncn_progname in readelf; do
12701 if test -n "$ncn_target_tool_prefix"; then
12702 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12703 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12705 $as_echo_n "checking
for $ac_word...
" >&6; }
12706 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12707 $as_echo_n "(cached
) " >&6
12709 if test -n "$READELF_FOR_TARGET"; then
12710 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12713 for as_dir in $PATH
12716 test -z "$as_dir" && as_dir=.
12717 for ac_exec_ext in '' $ac_executable_extensions; do
12718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12719 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12729 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12730 if test -n "$READELF_FOR_TARGET"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12732 $as_echo "$READELF_FOR_TARGET" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12735 $as_echo "no
" >&6; }
12740 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12742 set dummy ${ncn_progname}; ac_word=$2
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12744 $as_echo_n "checking
for $ac_word...
" >&6; }
12745 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12746 $as_echo_n "(cached
) " >&6
12748 if test -n "$READELF_FOR_TARGET"; then
12749 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752 for as_dir in $PATH
12755 test -z "$as_dir" && as_dir=.
12756 for ac_exec_ext in '' $ac_executable_extensions; do
12757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12758 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12768 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12769 if test -n "$READELF_FOR_TARGET"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12771 $as_echo "$READELF_FOR_TARGET" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12774 $as_echo "no
" >&6; }
12779 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12783 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12785 if test $build = $target ; then
12786 READELF_FOR_TARGET="$2"
12788 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12791 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12795 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12801 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12802 if test -n "$with_build_time_tools"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12804 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12805 if test -x $with_build_time_tools/strip; then
12806 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12807 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12809 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12812 $as_echo "no
" >&6; }
12814 elif test $build != $host && test $have_gcc_for_target = yes; then
12815 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12816 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12817 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12820 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12821 # Extract the first word of "strip
", so it can be a program name with args.
12822 set dummy strip; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12824 $as_echo_n "checking
for $ac_word...
" >&6; }
12825 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12826 $as_echo_n "(cached
) " >&6
12828 case $STRIP_FOR_TARGET in
12830 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12834 for as_dir in $gcc_cv_tool_dirs
12837 test -z "$as_dir" && as_dir=.
12838 for ac_exec_ext in '' $ac_executable_extensions; do
12839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12840 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12851 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12852 if test -n "$STRIP_FOR_TARGET"; then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12854 $as_echo "$STRIP_FOR_TARGET" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12857 $as_echo "no
" >&6; }
12862 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12865 if test -n "$STRIP_FOR_TARGET"; then
12866 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12867 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12868 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12871 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12872 for ncn_progname in strip; do
12873 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12874 set dummy ${ncn_progname}; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12876 $as_echo_n "checking
for $ac_word...
" >&6; }
12877 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12878 $as_echo_n "(cached
) " >&6
12880 if test -n "$STRIP_FOR_TARGET"; then
12881 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12887 test -z "$as_dir" && as_dir=.
12888 for ac_exec_ext in '' $ac_executable_extensions; do
12889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12890 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12900 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12901 if test -n "$STRIP_FOR_TARGET"; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12903 $as_echo "$STRIP_FOR_TARGET" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12906 $as_echo "no
" >&6; }
12913 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12914 for ncn_progname in strip; do
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12916 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12917 if test -x $with_build_time_tools/${ncn_progname}; then
12918 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12920 $as_echo "yes" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12924 $as_echo "no
" >&6; }
12929 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12930 for ncn_progname in strip; do
12931 if test -n "$ncn_target_tool_prefix"; then
12932 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12933 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12935 $as_echo_n "checking
for $ac_word...
" >&6; }
12936 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12937 $as_echo_n "(cached
) " >&6
12939 if test -n "$STRIP_FOR_TARGET"; then
12940 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12949 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12959 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12960 if test -n "$STRIP_FOR_TARGET"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12962 $as_echo "$STRIP_FOR_TARGET" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12965 $as_echo "no
" >&6; }
12970 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12972 set dummy ${ncn_progname}; ac_word=$2
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12974 $as_echo_n "checking
for $ac_word...
" >&6; }
12975 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12976 $as_echo_n "(cached
) " >&6
12978 if test -n "$STRIP_FOR_TARGET"; then
12979 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12982 for as_dir in $PATH
12985 test -z "$as_dir" && as_dir=.
12986 for ac_exec_ext in '' $ac_executable_extensions; do
12987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12988 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12998 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12999 if test -n "$STRIP_FOR_TARGET"; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13001 $as_echo "$STRIP_FOR_TARGET" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13004 $as_echo "no
" >&6; }
13009 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13013 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13015 if test $build = $target ; then
13016 STRIP_FOR_TARGET="$2"
13018 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13021 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13025 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13031 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13032 if test -n "$with_build_time_tools"; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13034 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13035 if test -x $with_build_time_tools/windres; then
13036 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13037 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13039 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13042 $as_echo "no
" >&6; }
13044 elif test $build != $host && test $have_gcc_for_target = yes; then
13045 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13046 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13047 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13050 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13051 # Extract the first word of "windres
", so it can be a program name with args.
13052 set dummy windres; ac_word=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13054 $as_echo_n "checking
for $ac_word...
" >&6; }
13055 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13056 $as_echo_n "(cached
) " >&6
13058 case $WINDRES_FOR_TARGET in
13060 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $gcc_cv_tool_dirs
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13070 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13081 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13082 if test -n "$WINDRES_FOR_TARGET"; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13084 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13087 $as_echo "no
" >&6; }
13092 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13095 if test -n "$WINDRES_FOR_TARGET"; then
13096 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13097 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13098 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13101 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13102 for ncn_progname in windres; do
13103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13104 set dummy ${ncn_progname}; ac_word=$2
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13106 $as_echo_n "checking
for $ac_word...
" >&6; }
13107 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13108 $as_echo_n "(cached
) " >&6
13110 if test -n "$WINDRES_FOR_TARGET"; then
13111 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13114 for as_dir in $PATH
13117 test -z "$as_dir" && as_dir=.
13118 for ac_exec_ext in '' $ac_executable_extensions; do
13119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13120 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13130 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13131 if test -n "$WINDRES_FOR_TARGET"; then
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13133 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13136 $as_echo "no
" >&6; }
13143 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13144 for ncn_progname in windres; do
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13146 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13147 if test -x $with_build_time_tools/${ncn_progname}; then
13148 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13150 $as_echo "yes" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13154 $as_echo "no
" >&6; }
13159 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13160 for ncn_progname in windres; do
13161 if test -n "$ncn_target_tool_prefix"; then
13162 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13163 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13165 $as_echo_n "checking
for $ac_word...
" >&6; }
13166 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13167 $as_echo_n "(cached
) " >&6
13169 if test -n "$WINDRES_FOR_TARGET"; then
13170 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13173 for as_dir in $PATH
13176 test -z "$as_dir" && as_dir=.
13177 for ac_exec_ext in '' $ac_executable_extensions; do
13178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13179 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13189 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13190 if test -n "$WINDRES_FOR_TARGET"; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13192 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13195 $as_echo "no
" >&6; }
13200 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13201 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13202 set dummy ${ncn_progname}; ac_word=$2
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13204 $as_echo_n "checking
for $ac_word...
" >&6; }
13205 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13206 $as_echo_n "(cached
) " >&6
13208 if test -n "$WINDRES_FOR_TARGET"; then
13209 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13212 for as_dir in $PATH
13215 test -z "$as_dir" && as_dir=.
13216 for ac_exec_ext in '' $ac_executable_extensions; do
13217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13218 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13228 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13229 if test -n "$WINDRES_FOR_TARGET"; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13231 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13234 $as_echo "no
" >&6; }
13239 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13243 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13245 if test $build = $target ; then
13246 WINDRES_FOR_TARGET="$2"
13248 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13251 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13255 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13261 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13262 if test -n "$with_build_time_tools"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13264 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13265 if test -x $with_build_time_tools/windmc; then
13266 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13267 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13269 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13272 $as_echo "no
" >&6; }
13274 elif test $build != $host && test $have_gcc_for_target = yes; then
13275 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13276 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13277 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13280 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13281 # Extract the first word of "windmc
", so it can be a program name with args.
13282 set dummy windmc; ac_word=$2
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13284 $as_echo_n "checking
for $ac_word...
" >&6; }
13285 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13286 $as_echo_n "(cached
) " >&6
13288 case $WINDMC_FOR_TARGET in
13290 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13294 for as_dir in $gcc_cv_tool_dirs
13297 test -z "$as_dir" && as_dir=.
13298 for ac_exec_ext in '' $ac_executable_extensions; do
13299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13300 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13311 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13312 if test -n "$WINDMC_FOR_TARGET"; then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13314 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13317 $as_echo "no
" >&6; }
13322 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13325 if test -n "$WINDMC_FOR_TARGET"; then
13326 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13327 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13328 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13331 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13332 for ncn_progname in windmc; do
13333 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13334 set dummy ${ncn_progname}; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13336 $as_echo_n "checking
for $ac_word...
" >&6; }
13337 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13338 $as_echo_n "(cached
) " >&6
13340 if test -n "$WINDMC_FOR_TARGET"; then
13341 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13344 for as_dir in $PATH
13347 test -z "$as_dir" && as_dir=.
13348 for ac_exec_ext in '' $ac_executable_extensions; do
13349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13350 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13360 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13361 if test -n "$WINDMC_FOR_TARGET"; then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13363 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13366 $as_echo "no
" >&6; }
13373 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13374 for ncn_progname in windmc; do
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13376 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13377 if test -x $with_build_time_tools/${ncn_progname}; then
13378 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13380 $as_echo "yes" >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13384 $as_echo "no
" >&6; }
13389 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13390 for ncn_progname in windmc; do
13391 if test -n "$ncn_target_tool_prefix"; then
13392 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13393 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13395 $as_echo_n "checking
for $ac_word...
" >&6; }
13396 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13397 $as_echo_n "(cached
) " >&6
13399 if test -n "$WINDMC_FOR_TARGET"; then
13400 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13403 for as_dir in $PATH
13406 test -z "$as_dir" && as_dir=.
13407 for ac_exec_ext in '' $ac_executable_extensions; do
13408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13409 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13419 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13420 if test -n "$WINDMC_FOR_TARGET"; then
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13422 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13425 $as_echo "no
" >&6; }
13430 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13432 set dummy ${ncn_progname}; ac_word=$2
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13434 $as_echo_n "checking
for $ac_word...
" >&6; }
13435 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13436 $as_echo_n "(cached
) " >&6
13438 if test -n "$WINDMC_FOR_TARGET"; then
13439 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13442 for as_dir in $PATH
13445 test -z "$as_dir" && as_dir=.
13446 for ac_exec_ext in '' $ac_executable_extensions; do
13447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13448 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13458 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13459 if test -n "$WINDMC_FOR_TARGET"; then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13461 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13464 $as_echo "no
" >&6; }
13469 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13473 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13475 if test $build = $target ; then
13476 WINDMC_FOR_TARGET="$2"
13478 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13481 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13485 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13489 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13492 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13493 if test "x
${build}" != "x
${host}" ; then
13494 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13495 # We already found the complete path
13496 ac_dir=`dirname $AR_FOR_TARGET`
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13498 $as_echo "pre-installed
in $ac_dir" >&6; }
13500 # Canadian cross, just use what we found
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13502 $as_echo "pre-installed
" >&6; }
13506 case " ${configdirs} " in
13511 if test $ok = yes; then
13512 # An in-tree tool is available and we can use it
13513 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13515 $as_echo "just compiled
" >&6; }
13516 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13517 # We already found the complete path
13518 ac_dir=`dirname $AR_FOR_TARGET`
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13520 $as_echo "pre-installed
in $ac_dir" >&6; }
13521 elif test "x
$target" = "x
$host"; then
13522 # We can use an host tool
13523 AR_FOR_TARGET='$(AR)'
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13525 $as_echo "host tool
" >&6; }
13527 # We need a cross tool
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13529 $as_echo "pre-installed
" >&6; }
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13534 $as_echo_n "checking where to
find the target as...
" >&6; }
13535 if test "x
${build}" != "x
${host}" ; then
13536 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13537 # We already found the complete path
13538 ac_dir=`dirname $AS_FOR_TARGET`
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13540 $as_echo "pre-installed
in $ac_dir" >&6; }
13542 # Canadian cross, just use what we found
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13544 $as_echo "pre-installed
" >&6; }
13548 case " ${configdirs} " in
13553 if test $ok = yes; then
13554 # An in-tree tool is available and we can use it
13555 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13557 $as_echo "just compiled
" >&6; }
13558 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13559 # We already found the complete path
13560 ac_dir=`dirname $AS_FOR_TARGET`
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13562 $as_echo "pre-installed
in $ac_dir" >&6; }
13563 elif test "x
$target" = "x
$host"; then
13564 # We can use an host tool
13565 AS_FOR_TARGET='$(AS)'
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13567 $as_echo "host tool
" >&6; }
13569 # We need a cross tool
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13571 $as_echo "pre-installed
" >&6; }
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13576 $as_echo_n "checking where to
find the target cc...
" >&6; }
13577 if test "x
${build}" != "x
${host}" ; then
13578 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13579 # We already found the complete path
13580 ac_dir=`dirname $CC_FOR_TARGET`
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13582 $as_echo "pre-installed
in $ac_dir" >&6; }
13584 # Canadian cross, just use what we found
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13586 $as_echo "pre-installed
" >&6; }
13590 case " ${configdirs} " in
13595 if test $ok = yes; then
13596 # An in-tree tool is available and we can use it
13597 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13599 $as_echo "just compiled
" >&6; }
13600 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13601 # We already found the complete path
13602 ac_dir=`dirname $CC_FOR_TARGET`
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13604 $as_echo "pre-installed
in $ac_dir" >&6; }
13605 elif test "x
$target" = "x
$host"; then
13606 # We can use an host tool
13607 CC_FOR_TARGET='$(CC)'
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13609 $as_echo "host tool
" >&6; }
13611 # We need a cross tool
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13613 $as_echo "pre-installed
" >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13618 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13619 if test "x
${build}" != "x
${host}" ; then
13620 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13621 # We already found the complete path
13622 ac_dir=`dirname $CXX_FOR_TARGET`
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13624 $as_echo "pre-installed
in $ac_dir" >&6; }
13626 # Canadian cross, just use what we found
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13628 $as_echo "pre-installed
" >&6; }
13632 case " ${configdirs} " in
13636 case ,${enable_languages}, in
13640 if test $ok = yes; then
13641 # An in-tree tool is available and we can use it
13642 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'
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13644 $as_echo "just compiled
" >&6; }
13645 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13646 # We already found the complete path
13647 ac_dir=`dirname $CXX_FOR_TARGET`
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13649 $as_echo "pre-installed
in $ac_dir" >&6; }
13650 elif test "x
$target" = "x
$host"; then
13651 # We can use an host tool
13652 CXX_FOR_TARGET='$(CXX)'
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13654 $as_echo "host tool
" >&6; }
13656 # We need a cross tool
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13658 $as_echo "pre-installed
" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13663 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13664 if test "x
${build}" != "x
${host}" ; then
13665 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13666 # We already found the complete path
13667 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13669 $as_echo "pre-installed
in $ac_dir" >&6; }
13671 # Canadian cross, just use what we found
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13673 $as_echo "pre-installed
" >&6; }
13677 case " ${configdirs} " in
13681 case ,${enable_languages}, in
13685 if test $ok = yes; then
13686 # An in-tree tool is available and we can use it
13687 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'
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13689 $as_echo "just compiled
" >&6; }
13690 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13691 # We already found the complete path
13692 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13694 $as_echo "pre-installed
in $ac_dir" >&6; }
13695 elif test "x
$target" = "x
$host"; then
13696 # We can use an host tool
13697 RAW_CXX_FOR_TARGET='$(CXX)'
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13699 $as_echo "host tool
" >&6; }
13701 # We need a cross tool
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13703 $as_echo "pre-installed
" >&6; }
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13708 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13709 if test "x
${build}" != "x
${host}" ; then
13710 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13711 # We already found the complete path
13712 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13714 $as_echo "pre-installed
in $ac_dir" >&6; }
13716 # Canadian cross, just use what we found
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13718 $as_echo "pre-installed
" >&6; }
13722 case " ${configdirs} " in
13727 if test $ok = yes; then
13728 # An in-tree tool is available and we can use it
13729 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13731 $as_echo "just compiled
" >&6; }
13732 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13733 # We already found the complete path
13734 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13736 $as_echo "pre-installed
in $ac_dir" >&6; }
13737 elif test "x
$target" = "x
$host"; then
13738 # We can use an host tool
13739 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13741 $as_echo "host tool
" >&6; }
13743 # We need a cross tool
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13745 $as_echo "pre-installed
" >&6; }
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13750 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13751 if test "x
${build}" != "x
${host}" ; then
13752 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13753 # We already found the complete path
13754 ac_dir=`dirname $GCC_FOR_TARGET`
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13756 $as_echo "pre-installed
in $ac_dir" >&6; }
13758 # Canadian cross, just use what we found
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13760 $as_echo "pre-installed
" >&6; }
13764 case " ${configdirs} " in
13769 if test $ok = yes; then
13770 # An in-tree tool is available and we can use it
13771 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13773 $as_echo "just compiled
" >&6; }
13774 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13775 # We already found the complete path
13776 ac_dir=`dirname $GCC_FOR_TARGET`
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13778 $as_echo "pre-installed
in $ac_dir" >&6; }
13779 elif test "x
$target" = "x
$host"; then
13780 # We can use an host tool
13781 GCC_FOR_TARGET='$()'
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13783 $as_echo "host tool
" >&6; }
13785 # We need a cross tool
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13787 $as_echo "pre-installed
" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13792 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13793 if test "x
${build}" != "x
${host}" ; then
13794 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13795 # We already found the complete path
13796 ac_dir=`dirname $GCJ_FOR_TARGET`
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13798 $as_echo "pre-installed
in $ac_dir" >&6; }
13800 # Canadian cross, just use what we found
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13802 $as_echo "pre-installed
" >&6; }
13806 case " ${configdirs} " in
13810 case ,${enable_languages}, in
13814 if test $ok = yes; then
13815 # An in-tree tool is available and we can use it
13816 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13818 $as_echo "just compiled
" >&6; }
13819 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13820 # We already found the complete path
13821 ac_dir=`dirname $GCJ_FOR_TARGET`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13823 $as_echo "pre-installed
in $ac_dir" >&6; }
13824 elif test "x
$target" = "x
$host"; then
13825 # We can use an host tool
13826 GCJ_FOR_TARGET='$(GCJ)'
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13828 $as_echo "host tool
" >&6; }
13830 # We need a cross tool
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13832 $as_echo "pre-installed
" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13837 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13838 if test "x
${build}" != "x
${host}" ; then
13839 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13840 # We already found the complete path
13841 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13843 $as_echo "pre-installed
in $ac_dir" >&6; }
13845 # Canadian cross, just use what we found
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13847 $as_echo "pre-installed
" >&6; }
13851 case " ${configdirs} " in
13855 case ,${enable_languages}, in
13859 if test $ok = yes; then
13860 # An in-tree tool is available and we can use it
13861 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13863 $as_echo "just compiled
" >&6; }
13864 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13865 # We already found the complete path
13866 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13868 $as_echo "pre-installed
in $ac_dir" >&6; }
13869 elif test "x
$target" = "x
$host"; then
13870 # We can use an host tool
13871 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13873 $as_echo "host tool
" >&6; }
13875 # We need a cross tool
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13877 $as_echo "pre-installed
" >&6; }
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13882 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13883 if test "x
${build}" != "x
${host}" ; then
13884 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13885 # We already found the complete path
13886 ac_dir=`dirname $GOC_FOR_TARGET`
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13888 $as_echo "pre-installed
in $ac_dir" >&6; }
13890 # Canadian cross, just use what we found
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13892 $as_echo "pre-installed
" >&6; }
13896 case " ${configdirs} " in
13900 case ,${enable_languages}, in
13904 if test $ok = yes; then
13905 # An in-tree tool is available and we can use it
13906 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13908 $as_echo "just compiled
" >&6; }
13909 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13910 # We already found the complete path
13911 ac_dir=`dirname $GOC_FOR_TARGET`
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13913 $as_echo "pre-installed
in $ac_dir" >&6; }
13914 elif test "x
$target" = "x
$host"; then
13915 # We can use an host tool
13916 GOC_FOR_TARGET='$(GOC)'
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13918 $as_echo "host tool
" >&6; }
13920 # We need a cross tool
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13922 $as_echo "pre-installed
" >&6; }
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13927 $as_echo_n "checking where to
find the target ld...
" >&6; }
13928 if test "x
${build}" != "x
${host}" ; then
13929 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13930 # We already found the complete path
13931 ac_dir=`dirname $LD_FOR_TARGET`
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13933 $as_echo "pre-installed
in $ac_dir" >&6; }
13935 # Canadian cross, just use what we found
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13937 $as_echo "pre-installed
" >&6; }
13941 case " ${configdirs} " in
13946 if test $ok = yes; then
13947 # An in-tree tool is available and we can use it
13948 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13950 $as_echo "just compiled
" >&6; }
13951 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13952 # We already found the complete path
13953 ac_dir=`dirname $LD_FOR_TARGET`
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13955 $as_echo "pre-installed
in $ac_dir" >&6; }
13956 elif test "x
$target" = "x
$host"; then
13957 # We can use an host tool
13958 LD_FOR_TARGET='$(LD)'
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13960 $as_echo "host tool
" >&6; }
13962 # We need a cross tool
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13964 $as_echo "pre-installed
" >&6; }
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13969 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13970 if test "x
${build}" != "x
${host}" ; then
13971 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13972 # We already found the complete path
13973 ac_dir=`dirname $LIPO_FOR_TARGET`
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13975 $as_echo "pre-installed
in $ac_dir" >&6; }
13977 # Canadian cross, just use what we found
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13979 $as_echo "pre-installed
" >&6; }
13982 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13983 # We already found the complete path
13984 ac_dir=`dirname $LIPO_FOR_TARGET`
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13986 $as_echo "pre-installed
in $ac_dir" >&6; }
13987 elif test "x
$target" = "x
$host"; then
13988 # We can use an host tool
13989 LIPO_FOR_TARGET='$(LIPO)'
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13991 $as_echo "host tool
" >&6; }
13993 # We need a cross tool
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13995 $as_echo "pre-installed
" >&6; }
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14000 $as_echo_n "checking where to
find the target nm...
" >&6; }
14001 if test "x
${build}" != "x
${host}" ; then
14002 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14003 # We already found the complete path
14004 ac_dir=`dirname $NM_FOR_TARGET`
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14006 $as_echo "pre-installed
in $ac_dir" >&6; }
14008 # Canadian cross, just use what we found
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14010 $as_echo "pre-installed
" >&6; }
14014 case " ${configdirs} " in
14019 if test $ok = yes; then
14020 # An in-tree tool is available and we can use it
14021 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14023 $as_echo "just compiled
" >&6; }
14024 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14025 # We already found the complete path
14026 ac_dir=`dirname $NM_FOR_TARGET`
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14028 $as_echo "pre-installed
in $ac_dir" >&6; }
14029 elif test "x
$target" = "x
$host"; then
14030 # We can use an host tool
14031 NM_FOR_TARGET='$(NM)'
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14033 $as_echo "host tool
" >&6; }
14035 # We need a cross tool
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14037 $as_echo "pre-installed
" >&6; }
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14042 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14043 if test "x
${build}" != "x
${host}" ; then
14044 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14045 # We already found the complete path
14046 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14048 $as_echo "pre-installed
in $ac_dir" >&6; }
14050 # Canadian cross, just use what we found
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14052 $as_echo "pre-installed
" >&6; }
14056 case " ${configdirs} " in
14061 if test $ok = yes; then
14062 # An in-tree tool is available and we can use it
14063 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14065 $as_echo "just compiled
" >&6; }
14066 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14067 # We already found the complete path
14068 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14070 $as_echo "pre-installed
in $ac_dir" >&6; }
14071 elif test "x
$target" = "x
$host"; then
14072 # We can use an host tool
14073 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14075 $as_echo "host tool
" >&6; }
14077 # We need a cross tool
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14079 $as_echo "pre-installed
" >&6; }
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14084 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14085 if test "x
${build}" != "x
${host}" ; then
14086 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14087 # We already found the complete path
14088 ac_dir=`dirname $RANLIB_FOR_TARGET`
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14090 $as_echo "pre-installed
in $ac_dir" >&6; }
14092 # Canadian cross, just use what we found
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14094 $as_echo "pre-installed
" >&6; }
14098 case " ${configdirs} " in
14103 if test $ok = yes; then
14104 # An in-tree tool is available and we can use it
14105 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14107 $as_echo "just compiled
" >&6; }
14108 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14109 # We already found the complete path
14110 ac_dir=`dirname $RANLIB_FOR_TARGET`
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14112 $as_echo "pre-installed
in $ac_dir" >&6; }
14113 elif test "x
$target" = "x
$host"; then
14114 # We can use an host tool
14115 RANLIB_FOR_TARGET='$(RANLIB)'
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14117 $as_echo "host tool
" >&6; }
14119 # We need a cross tool
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14121 $as_echo "pre-installed
" >&6; }
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14126 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14127 if test "x
${build}" != "x
${host}" ; then
14128 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14129 # We already found the complete path
14130 ac_dir=`dirname $READELF_FOR_TARGET`
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14132 $as_echo "pre-installed
in $ac_dir" >&6; }
14134 # Canadian cross, just use what we found
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14136 $as_echo "pre-installed
" >&6; }
14140 case " ${configdirs} " in
14145 if test $ok = yes; then
14146 # An in-tree tool is available and we can use it
14147 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14149 $as_echo "just compiled
" >&6; }
14150 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14151 # We already found the complete path
14152 ac_dir=`dirname $READELF_FOR_TARGET`
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14154 $as_echo "pre-installed
in $ac_dir" >&6; }
14155 elif test "x
$target" = "x
$host"; then
14156 # We can use an host tool
14157 READELF_FOR_TARGET='$(READELF)'
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14159 $as_echo "host tool
" >&6; }
14161 # We need a cross tool
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14163 $as_echo "pre-installed
" >&6; }
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14168 $as_echo_n "checking where to
find the target strip...
" >&6; }
14169 if test "x
${build}" != "x
${host}" ; then
14170 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14171 # We already found the complete path
14172 ac_dir=`dirname $STRIP_FOR_TARGET`
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14174 $as_echo "pre-installed
in $ac_dir" >&6; }
14176 # Canadian cross, just use what we found
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14178 $as_echo "pre-installed
" >&6; }
14182 case " ${configdirs} " in
14187 if test $ok = yes; then
14188 # An in-tree tool is available and we can use it
14189 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14191 $as_echo "just compiled
" >&6; }
14192 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14193 # We already found the complete path
14194 ac_dir=`dirname $STRIP_FOR_TARGET`
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14196 $as_echo "pre-installed
in $ac_dir" >&6; }
14197 elif test "x
$target" = "x
$host"; then
14198 # We can use an host tool
14199 STRIP_FOR_TARGET='$(STRIP)'
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14201 $as_echo "host tool
" >&6; }
14203 # We need a cross tool
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14205 $as_echo "pre-installed
" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14210 $as_echo_n "checking where to
find the target windres...
" >&6; }
14211 if test "x
${build}" != "x
${host}" ; then
14212 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14213 # We already found the complete path
14214 ac_dir=`dirname $WINDRES_FOR_TARGET`
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14216 $as_echo "pre-installed
in $ac_dir" >&6; }
14218 # Canadian cross, just use what we found
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14220 $as_echo "pre-installed
" >&6; }
14224 case " ${configdirs} " in
14229 if test $ok = yes; then
14230 # An in-tree tool is available and we can use it
14231 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14233 $as_echo "just compiled
" >&6; }
14234 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14235 # We already found the complete path
14236 ac_dir=`dirname $WINDRES_FOR_TARGET`
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14238 $as_echo "pre-installed
in $ac_dir" >&6; }
14239 elif test "x
$target" = "x
$host"; then
14240 # We can use an host tool
14241 WINDRES_FOR_TARGET='$(WINDRES)'
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14243 $as_echo "host tool
" >&6; }
14245 # We need a cross tool
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14247 $as_echo "pre-installed
" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14252 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14253 if test "x
${build}" != "x
${host}" ; then
14254 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14255 # We already found the complete path
14256 ac_dir=`dirname $WINDMC_FOR_TARGET`
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14258 $as_echo "pre-installed
in $ac_dir" >&6; }
14260 # Canadian cross, just use what we found
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14262 $as_echo "pre-installed
" >&6; }
14266 case " ${configdirs} " in
14271 if test $ok = yes; then
14272 # An in-tree tool is available and we can use it
14273 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14275 $as_echo "just compiled
" >&6; }
14276 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14277 # We already found the complete path
14278 ac_dir=`dirname $WINDMC_FOR_TARGET`
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14280 $as_echo "pre-installed
in $ac_dir" >&6; }
14281 elif test "x
$target" = "x
$host"; then
14282 # We can use an host tool
14283 WINDMC_FOR_TARGET='$(WINDMC)'
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14285 $as_echo "host tool
" >&6; }
14287 # We need a cross tool
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14297 # Certain tools may need extra flags.
14298 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14299 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14300 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14302 # When building target libraries, except in a Canadian cross, we use
14303 # the same toolchain as the compiler we just built.
14304 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14305 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14306 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14307 if test $host = $build; then
14308 case " $configdirs " in
14310 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14311 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14312 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14322 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14323 # Check whether --enable-maintainer-mode was given.
14324 if test "${enable_maintainer_mode+set}" = set; then :
14325 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14327 USE_MAINTAINER_MODE=no
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14331 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14334 if test "$USE_MAINTAINER_MODE" = yes; then
14335 MAINTAINER_MODE_TRUE=
14336 MAINTAINER_MODE_FALSE='#'
14338 MAINTAINER_MODE_TRUE='#'
14339 MAINTAINER_MODE_FALSE=
14341 MAINT=$MAINTAINER_MODE_TRUE
14343 # ---------------------
14344 # GCC bootstrap support
14345 # ---------------------
14347 # Stage specific cflags for build.
14352 yes) stage1_cflags="-g -Wa,-J" ;;
14353 *) stage1_cflags="-g -J" ;;
14359 # Enable --enable-checking in stage1 of the compiler.
14360 # Check whether --enable-stage1-checking was given.
14361 if test "${enable_stage1_checking+set}" = set; then :
14362 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14364 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14365 stage1_checking=--enable-checking=yes,types
14367 stage1_checking=--enable-checking=$enable_checking,types
14373 # Enable -Werror in bootstrap stage2 and later.
14374 # Check whether --enable-werror was given.
14375 if test "${enable_werror+set}" = set; then :
14376 enableval=$enable_werror;
14378 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14385 case ${enable_werror} in
14386 yes) stage2_werror_flag="--enable-werror-always" ;;
14387 *) stage2_werror_flag="" ;;
14391 # Enable --enable-host-shared.
14392 # Check whether --enable-host-shared was given.
14393 if test "${enable_host_shared+set}" = set; then :
14394 enableval=$enable_host_shared; host_shared=$enableval
14401 # Specify what files to not compare during bootstrap.
14403 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14405 hppa*64*-*-hpux*) ;;
14406 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14407 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14411 ac_config_files="$ac_config_files Makefile
"
14413 cat >confcache <<\_ACEOF
14414 # This file is a shell script that caches the results of configure
14415 # tests run on this system so they can be shared between configure
14416 # scripts and configure runs, see configure's option --config-cache.
14417 # It is not useful on other systems. If it contains results you don't
14418 # want to keep, you may remove or edit it.
14420 # config.status only pays attention to the cache file if you give it
14421 # the --recheck option to rerun configure.
14423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14425 # following values.
14429 # The following way of writing the cache mishandles newlines in values,
14430 # but we know of no workaround that is simple, portable, and efficient.
14431 # So, we kill variables containing newlines.
14432 # Ultrix sh set writes to stderr and can't be redirected directly,
14433 # and sets the high bit in the cache file unless we assign to the vars.
14435 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14436 eval ac_val=\$$ac_var
14440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14441 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14444 _ | IFS | as_nl) ;; #(
14445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14446 *) { eval $ac_var=; unset $ac_var;} ;;
14452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14453 *${as_nl}ac_space=\ *)
14454 # `set' does not quote correctly, so add quotes: double-quote
14455 # substitution turns \\\\ into \\, and sed turns \\ into \.
14458 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14461 # `set' quotes correctly as required by POSIX, so do not add quotes.
14462 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14476 if test -w "$cache_file"; then
14477 test "x
$cache_file" != "x
/dev
/null
" &&
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14479 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14480 cat confcache >$cache_file
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14483 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14488 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14489 # Let make expand exec_prefix.
14490 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14492 # Transform confdefs.h into DEFS.
14493 # Protect against shell expansion while executing Makefile rules.
14494 # Protect against Makefile macro expansion.
14496 # If the first sed substitution is executed (which looks for macros that
14497 # take arguments), then branch to the quote section. Otherwise,
14498 # look for a macro that doesn't take arguments.
14508 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14510 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14514 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14527 DEFS=`sed -n "$ac_script" confdefs.h`
14532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14533 # 1. Remove the extension, and $U if already installed.
14534 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14537 # will be set to the directory where LIBOBJS objects are built.
14538 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14539 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14541 LIBOBJS=$ac_libobjs
14543 LTLIBOBJS=$ac_ltlibobjs
14547 : ${CONFIG_STATUS=./config.status}
14549 ac_clean_files_save=$ac_clean_files
14550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14554 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14556 # Generated by $as_me.
14557 # Run this file to recreate the current configuration.
14558 # Compiler output produced by configure, useful for debugging
14559 # configure, is in config.log if it exists.
14562 ac_cs_recheck=false
14565 SHELL=\${CONFIG_SHELL-$SHELL}
14568 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14569 ## -------------------- ##
14570 ## M4sh Initialization. ##
14571 ## -------------------- ##
14573 # Be more Bourne compatible
14574 DUALCASE=1; export DUALCASE # for MKS sh
14575 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14579 # is contrary to our usage. Disable this feature.
14580 alias -g '${1+"$@"}'='"$@"'
14581 setopt NO_GLOB_SUBST
14583 case `(set -o) 2>/dev/null` in #(
14595 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14596 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14597 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14598 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14599 # Prefer a ksh shell builtin over an external printf program on Solaris,
14600 # but without wasting forks for bash or zsh.
14601 if test -z "$BASH_VERSION$ZSH_VERSION" \
14602 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14603 as_echo
='print -r --'
14604 as_echo_n
='print -rn --'
14605 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14606 as_echo
='printf %s\n'
14607 as_echo_n
='printf %s'
14609 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14610 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14611 as_echo_n
='/usr/ucb/echo -n'
14613 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14614 as_echo_n_body
='eval
14618 expr "X$arg" : "X\\(.*\\)$as_nl";
14619 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14621 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14623 export as_echo_n_body
14624 as_echo_n
='sh -c $as_echo_n_body as_echo'
14626 export as_echo_body
14627 as_echo
='sh -c $as_echo_body as_echo'
14630 # The user is always right.
14631 if test "${PATH_SEPARATOR+set}" != set; then
14633 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14634 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14641 # We need space, tab and new line, in precisely that order. Quoting is
14642 # there to prevent editors from complaining about space-tab.
14643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14644 # splitting by setting IFS to empty value.)
14647 # Find who we are. Look in the path if we contain no directory separator.
14649 *[\\/]* ) as_myself
=$0 ;;
14650 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14651 for as_dir
in $PATH
14654 test -z "$as_dir" && as_dir
=.
14655 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14661 # We did not find ourselves, most probably we were run as `sh COMMAND'
14662 # in which case we are not to be found in the path.
14663 if test "x$as_myself" = x
; then
14666 if test ! -f "$as_myself"; then
14667 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14671 # Unset variables that we do not need and which cause bugs (e.g. in
14672 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14673 # suppresses any "Segmentation fault" message there. '((' could
14674 # trigger a bug in pdksh 5.2.14.
14675 for as_var
in BASH_ENV ENV MAIL MAILPATH
14676 do eval test x\
${$as_var+set} = xset \
14677 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14690 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14693 # as_fn_error ERROR [LINENO LOG_FD]
14694 # ---------------------------------
14695 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14696 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14697 # script with status $?, using 1 if that was 0.
14700 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14702 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14703 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14705 $as_echo "$as_me: error: $1" >&2
14706 as_fn_exit
$as_status
14710 # as_fn_set_status STATUS
14711 # -----------------------
14712 # Set $? to STATUS, without forking.
14713 as_fn_set_status
()
14716 } # as_fn_set_status
14718 # as_fn_exit STATUS
14719 # -----------------
14720 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14724 as_fn_set_status
$1
14730 # Portably unset VAR.
14733 { eval $1=; unset $1;}
14735 as_unset
=as_fn_unset
14736 # as_fn_append VAR VALUE
14737 # ----------------------
14738 # Append the text in VALUE to the end of the definition contained in VAR. Take
14739 # advantage of any shell optimizations that allow amortized linear growth over
14740 # repeated appends, instead of the typical quadratic growth present in naive
14742 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14743 eval 'as_fn_append ()
14754 # as_fn_arith ARG...
14755 # ------------------
14756 # Perform arithmetic evaluation on the ARGs, and store the result in the
14757 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14758 # must be portable across $(()) and expr.
14759 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14760 eval 'as_fn_arith ()
14767 as_val
=`expr "$@" || test $? -eq 1`
14772 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14773 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14779 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14780 as_basename
=basename
14785 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14791 as_me
=`$as_basename -- "$0" ||
14792 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14793 X"$0" : 'X\(//\)$' \| \
14794 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14796 sed '/^.*\/\([^/][^/]*\)\/*$/{
14810 # Avoid depending upon Character Ranges.
14811 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14812 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14813 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14814 as_cr_digits
='0123456789'
14815 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14817 ECHO_C
= ECHO_N
= ECHO_T
=
14818 case `echo -n x` in #(((((
14820 case `echo 'xy\c'` in
14821 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14823 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14830 rm -f conf$$ conf$$.exe conf$$.
file
14831 if test -d conf$$.dir
; then
14832 rm -f conf$$.dir
/conf$$.
file
14835 mkdir conf$$.dir
2>/dev
/null
14837 if (echo >conf$$.
file) 2>/dev
/null
; then
14838 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14840 # ... but there are two gotchas:
14841 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14842 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14843 # In both cases, we have to default to `cp -p'.
14844 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14846 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14854 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14855 rmdir conf$$.dir
2>/dev
/null
14860 # Create "$as_dir" as a directory, including parents if necessary.
14865 -*) as_dir
=.
/$as_dir;;
14867 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14871 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14872 *) as_qdir
=$as_dir;;
14874 as_dirs
="'$as_qdir' $as_dirs"
14875 as_dir
=`$as_dirname -- "$as_dir" ||
14876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14877 X"$as_dir" : 'X\(//\)[^/]' \| \
14878 X"$as_dir" : 'X\(//\)$' \| \
14879 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14880 $as_echo X"$as_dir" |
14881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14885 /^X\(\/\/\)[^/].*/{
14898 test -d "$as_dir" && break
14900 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14901 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14905 if mkdir
-p .
2>/dev
/null
; then
14906 as_mkdir_p
='mkdir -p "$as_dir"'
14908 test -d .
/-p && rmdir .
/-p
14912 if test -x / >/dev
/null
2>&1; then
14913 as_test_x
='test -x'
14915 if ls -dL / >/dev
/null
2>&1; then
14922 if test -d "$1"; then
14928 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14929 ???[sx]*):;;*)false;;esac;fi
14933 as_executable_p
=$as_test_x
14935 # Sed expression to map a string onto a valid CPP name.
14936 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14938 # Sed expression to map a string onto a valid variable name.
14939 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14943 ## ----------------------------------- ##
14944 ## Main body of $CONFIG_STATUS script. ##
14945 ## ----------------------------------- ##
14947 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14950 # Save the log message, to keep $0 and so on meaningful, and to
14951 # report actual input values of CONFIG_FILES etc. instead of their
14952 # values after options handling.
14954 This file was extended by $as_me, which was
14955 generated by GNU Autoconf 2.64. Invocation command line was
14957 CONFIG_FILES = $CONFIG_FILES
14958 CONFIG_HEADERS = $CONFIG_HEADERS
14959 CONFIG_LINKS = $CONFIG_LINKS
14960 CONFIG_COMMANDS = $CONFIG_COMMANDS
14963 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14968 case $ac_config_files in *"
14969 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14975 # Files that config.status was made for.
14976 config_files="$ac_config_files"
14980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14982 \`$as_me' instantiates files and other configuration actions
14983 from templates according to the current configuration. Unless the files
14984 and actions are specified as TAGs, all are instantiated by default.
14986 Usage: $0 [OPTION]... [TAG]...
14988 -h, --help print this help, then exit
14989 -V, --version print version number and configuration settings, then exit
14990 -q, --quiet, --silent
14991 do not print progress messages
14992 -d, --debug don't remove temporary files
14993 --recheck update $as_me by reconfiguring in the same conditions
14994 --file=FILE[:TEMPLATE]
14995 instantiate the configuration file FILE
14997 Configuration files:
15000 Report bugs to the package provider."
15003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15006 configured by $0, generated by GNU Autoconf 2.64,
15007 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15009 Copyright (C) 2009 Free Software Foundation, Inc.
15010 This config.status script is free software; the Free Software Foundation
15011 gives unlimited permission to copy, distribute and modify it."
15017 test -n "\$AWK" || AWK=awk
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 # The default lists apply if the user does not specify any file.
15027 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15028 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15039 # Handling of the options.
15040 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15042 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15043 $as_echo "$ac_cs_version"; exit ;;
15044 --debug |
--debu |
--deb |
--de |
--d |
-d )
15046 --file |
--fil |
--fi |
--f )
15049 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15051 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15052 ac_need_defaults
=false
;;
15053 --he |
--h |
--help |
--hel |
-h )
15054 $as_echo "$ac_cs_usage"; exit ;;
15055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15056 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15059 # This is an error.
15060 -*) as_fn_error
"unrecognized option: \`$1'
15061 Try \`$0 --help' for more information." ;;
15063 *) as_fn_append ac_config_targets
" $1"
15064 ac_need_defaults
=false
;;
15070 ac_configure_extra_args
=
15072 if $ac_cs_silent; then
15074 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15079 if \$ac_cs_recheck; then
15080 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15082 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15083 CONFIG_SHELL='$SHELL'
15084 export CONFIG_SHELL
15089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15093 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15094 ## Running $as_me. ##
15100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15104 extrasub_build="$extrasub_build"
15105 extrasub_host="$extrasub_host"
15106 extrasub_target="$extrasub_target"
15110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15112 # Handling of arguments.
15113 for ac_config_target
in $ac_config_targets
15115 case $ac_config_target in
15116 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15118 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15123 # If the user did not use the arguments to specify the items to instantiate,
15124 # then the envvar interface is used. Set only those that are not.
15125 # We use the long form for the default assignment because of an extremely
15126 # bizarre bug on SunOS 4.1.3.
15127 if $ac_need_defaults; then
15128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15131 # Have a temporary directory for convenience. Make it in the build tree
15132 # simply because there is no reason against having it here, and in addition,
15133 # creating and moving files from /tmp can sometimes cause problems.
15134 # Hook for its removal unless debugging.
15135 # Note that there is a small window in which the directory will not be cleaned:
15136 # after its creation but before its name has been assigned to `$tmp'.
15140 trap 'exit_status=$?
15141 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15143 trap 'as_fn_exit 1' 1 2 13 15
15145 # Create a (secure) tmp directory for tmp files.
15148 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15149 test -n "$tmp" && test -d "$tmp"
15152 tmp
=.
/conf$$
-$RANDOM
15153 (umask 077 && mkdir
"$tmp")
15154 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15156 # Set up the scripts for CONFIG_FILES section.
15157 # No need to generate them if there are no CONFIG_FILES.
15158 # This happens for instance with `./config.status config.h'.
15159 if test -n "$CONFIG_FILES"; then
15161 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15162 ac_cs_awk_getline
=:
15163 ac_cs_awk_pipe_init
=
15164 ac_cs_awk_read_file
='
15165 while ((getline aline < (F[key])) > 0)
15168 ac_cs_awk_pipe_fini
=
15170 ac_cs_awk_getline
=false
15171 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15172 ac_cs_awk_read_file
='
15174 print "cat " F[key] " &&"
15175 '$ac_cs_awk_pipe_init
15176 # The final `:' finishes the AND list.
15177 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15179 ac_cr
=`echo X | tr X '\015'`
15180 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15181 # But we know of no other shell where ac_cr would be empty at this
15182 # point, so we can use a bashism as a fallback.
15183 if test "x$ac_cr" = x
; then
15184 eval ac_cr
=\$
\'\\r
\'
15186 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15187 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15190 ac_cs_awk_cr
=$ac_cr
15193 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15196 # Create commands to substitute file output variables.
15198 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15199 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15200 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15203 } >conf$
$files.sh
&&
15204 . .
/conf$
$files.sh ||
15205 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15206 rm -f conf$
$files.sh
15209 echo "cat >conf$$subs.awk <<_ACEOF" &&
15210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15212 } >conf$$subs.sh ||
15213 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15214 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15216 for ac_last_try in false false false false false :; do
15217 . ./conf$$subs.sh ||
15218 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15220 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15221 if test $ac_delim_n = $ac_delim_num; then
15223 elif $ac_last_try; then
15224 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15226 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15229 rm -f conf$$subs.sh
15231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15232 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15236 s/^/S["/; s
/!.
*/"]=/
15246 s/\(.\{148\}\).*/\1/
15248 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15253 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15260 s/\(.\{148\}\).*/\1/
15262 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15266 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15271 ' <conf$$subs.awk | sed '
15276 ' >>$CONFIG_STATUS || ac_write_fail=1
15277 rm -f conf$$subs.awk
15278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15281 for (key in S) S_is_set[key] = 1
15283 \$ac_cs_awk_pipe_init
15287 nfields = split(line, field, "@
")
15289 len = length(field[1])
15290 for (i = 2; i < nfields; i++) {
15292 keylen = length(key)
15293 if (S_is_set[key]) {
15295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15296 len += length(value) + length(field[++i])
15301 if (nfields == 3 && !substed) {
15303 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15304 \$ac_cs_awk_read_file
15310 \$ac_cs_awk_pipe_fini
15313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15314 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15315 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15318 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15319 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15322 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15323 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15324 # trailing colons and then remove the whole line if VPATH becomes empty
15325 # (actually we leave an empty line to preserve line numbers).
15326 if test "x
$srcdir" = x.; then
15327 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15328 s/:*\$(srcdir):*/:/
15329 s/:*\${srcdir}:*/:/
15331 s/^\([^=]*=[ ]*\):*/\1/
15337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15338 fi # test -n "$CONFIG_FILES"
15341 eval set X " :F
$CONFIG_FILES "
15346 :[FHLC]) ac_mode=$ac_tag; continue;;
15348 case $ac_mode$ac_tag in
15350 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15351 :[FH]-) ac_tag=-:-;;
15352 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15369 -) ac_f="$tmp/stdin";;
15370 *) # Look for the file first in the build tree, then in the source tree
15371 # (if the path is not absolute). The absolute path cannot be DOS-style,
15372 # because $ac_f cannot contain `:'.
15376 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15378 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15380 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15381 as_fn_append ac_file_inputs " '$ac_f'"
15384 # Let's still pretend it is `configure' which instantiates (i.e., don't
15385 # use $as_me), people would be surprised to read:
15386 # /* config.h. Generated by config.status. */
15387 configure_input='Generated from '`
15388 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15390 if test x"$ac_file" != x-; then
15391 configure_input="$ac_file.
$configure_input"
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15393 $as_echo "$as_me: creating
$ac_file" >&6;}
15395 # Neutralize special characters interpreted by sed in replacement strings.
15396 case $configure_input in #(
15397 *\&* | *\|* | *\\* )
15398 ac_sed_conf_input=`$as_echo "$configure_input" |
15399 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15400 *) ac_sed_conf_input=$configure_input;;
15404 *:-:* | *:-) cat >"$tmp/stdin
" \
15405 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15410 ac_dir=`$as_dirname -- "$ac_file" ||
15411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15412 X"$ac_file" : 'X\(//\)[^/]' \| \
15413 X"$ac_file" : 'X\(//\)$' \| \
15414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15415 $as_echo X"$ac_file" |
15416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15420 /^X\(\/\/\)[^/].*/{
15433 as_dir="$ac_dir"; as_fn_mkdir_p
15437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15440 # A "..
" for each directory in $ac_dir_suffix.
15441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15442 case $ac_top_builddir_sub in
15443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15447 ac_abs_top_builddir=$ac_pwd
15448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15449 # for backward compatibility:
15450 ac_top_builddir=$ac_top_build_prefix
15453 .) # We are building in place.
15455 ac_top_srcdir=$ac_top_builddir_sub
15456 ac_abs_top_srcdir=$ac_pwd ;;
15457 [\\/]* | ?:[\\/]* ) # Absolute name.
15458 ac_srcdir=$srcdir$ac_dir_suffix;
15459 ac_top_srcdir=$srcdir
15460 ac_abs_top_srcdir=$srcdir ;;
15461 *) # Relative name.
15462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15463 ac_top_srcdir=$ac_top_build_prefix$srcdir
15464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15476 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15477 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15482 # If the template does not know about datarootdir, expand it.
15483 # FIXME: This hack should be removed a few years after 2.60.
15484 ac_datarootdir_hack=; ac_datarootdir_seen=
15495 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15496 *datarootdir*) ac_datarootdir_seen=yes;;
15497 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15499 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15502 ac_datarootdir_hack='
15503 s&@datadir@&$datadir&g
15504 s&@docdir@&$docdir&g
15505 s&@infodir@&$infodir&g
15506 s&@localedir@&$localedir&g
15507 s&@mandir@&$mandir&g
15508 s&\\\${datarootdir}&$datarootdir&g' ;;
15512 # Neutralize VPATH when `$srcdir' = `.'.
15513 # Shell code in configure.ac might set extrasub.
15514 # FIXME: do we really want to maintain this feature?
15515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15516 ac_sed_extra="$ac_vpsub
15519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15521 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15522 s|@configure_input@|
$ac_sed_conf_input|
;t t
15523 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15524 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15525 s
&@srcdir@
&$ac_srcdir&;t t
15526 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15527 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15528 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15529 s
&@builddir@
&$ac_builddir&;t t
15530 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15531 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15532 s
&@INSTALL@
&$ac_INSTALL&;t t
15533 $ac_datarootdir_hack
15535 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15536 if $ac_cs_awk_getline; then
15537 $AWK -f "$tmp/subs.
awk"
15539 $AWK -f "$tmp/subs.
awk" | $SHELL
15541 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15544 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15547 which seems to be undefined. Please make sure it is defined." >&5
15548 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15549 which seems to be undefined. Please make sure it is defined." >&2;}
15553 -) cat "$tmp/out" && rm -f "$tmp/out";;
15554 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15556 || as_fn_error "could not create $ac_file" "$LINENO" 5
15564 case $ac_file$ac_mode in
15565 "Makefile":F) sed "$extrasub_build" Makefile |
15566 sed "$extrasub_host" |
15567 sed "$extrasub_target" > mf$$
15568 mv -f mf$$ Makefile ;;
15576 ac_clean_files=$ac_clean_files_save
15578 test $ac_write_fail = 0 ||
15579 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15582 # configure is writing to config.log, and then calls config.status.
15583 # config.status does its own redirection, appending to config.log.
15584 # Unfortunately, on DOS this fails, as config.log is still kept open
15585 # by configure, so config.status won't be able to
write to it
; its
15586 # output is simply discarded. So we exec the FD to /dev/null,
15587 # effectively closing config.log, so it can be properly (re)opened and
15588 # appended to by config.status. When coming back to configure, we
15589 # need to make the FD available again.
15590 if test "$no_create" != yes; then
15592 ac_config_status_args
=
15593 test "$silent" = yes &&
15594 ac_config_status_args
="$ac_config_status_args --quiet"
15596 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15598 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15599 # would make configure fail if this is the last instruction.
15600 $ac_cs_success || as_fn_exit $?
15602 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15604 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}