2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
645 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
655 extra_isl_gmp_configure_flags
656 extra_mpc_mpfr_configure_flags
657 extra_mpc_gmp_configure_flags
658 extra_mpfr_configure_flags
674 EXTRA_CONFIGARGS_LIBJAVA
675 extra_liboffloadmic_configure_flags
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
749 enable_as_accelerator_for
750 enable_offload_targets
754 enable_libquadmath_support
759 enable_static_libjava
780 enable_isl_version_check
782 enable_linker_plugin_configure_flags
783 enable_linker_plugin_flags
784 enable_stage1_languages
787 with_debug_prefix_map
790 enable_serial_configure
791 with_build_time_tools
792 enable_maintainer_mode
793 enable_stage1_checking
797 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information."
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used." >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 as_fn_error
"path to source, $srcdir, contains spaces"
1374 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures this package to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1455 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1459 if test -n "$ac_init_help"; then
1464 --disable-option-checking ignore unrecognized
--enable/--with options
1465 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1466 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1467 --enable-as-accelerator-for=ARG
1468 build as offload target compiler. Specify offload
1470 --enable-offload-targets=LIST
1471 enable offloading to devices from comma-separated
1472 LIST of TARGET
[=DIR
]. Use optional path to
find
1473 offload target compiler during the build
1474 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1475 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1476 --disable-libquadmath do not build libquadmath directory
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1479 --enable-libada build libada directory
1480 --enable-libssp build libssp directory
1481 --disable-libstdcxx do not build libstdc
++-v3 directory
1482 --enable-liboffloadmic=ARG
1483 build liboffloadmic
[ARG
={no
,host,target
}]
1484 --enable-static-libjava[=ARG
]
1485 build static libjava
[default
=no
]
1486 --enable-bootstrap enable bootstrapping
[yes if native build
]
1487 --disable-isl-version-check
1488 disable check
for ISL version
1489 --enable-lto enable link
time optimization support
1490 --enable-linker-plugin-configure-flags=FLAGS
1491 additional flags
for configuring linker plugins
1493 --enable-linker-plugin-flags=FLAGS
1494 additional flags
for configuring and building linker
1496 --enable-stage1-languages[=all
]
1497 choose additional languages to build during stage1.
1498 Mostly useful
for compiler development
1499 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1501 --enable-vtable-verify Enable vtable verification feature
1502 --enable-serial-[{host,target,build}-]configure
1503 force sequential configuration of sub-packages for
1504 the host, target or build machine, or all
1506 --enable-maintainer-mode
1507 enable make rules and dependencies not useful (and
1508 sometimes confusing) to the casual installer
1509 --enable-stage1-checking[=all]
1510 choose additional checking for stage1 of the
1512 --enable-werror enable -Werror in bootstrap stage2 and later
1513 --enable-host-shared build host code as shared libraries
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --with-build-libsubdir=DIR Directory where to find libraries for build system
1519 --with-mpc=PATH specify prefix directory for installed MPC package.
1520 Equivalent to --with-mpc-include=PATH/include plus
1521 --with-mpc-lib=PATH/lib
1522 --with-mpc-include=PATH specify directory for installed MPC include files
1523 --with-mpc-lib=PATH specify directory for the installed MPC library
1524 --with-mpfr-dir=PATH this option has been REMOVED
1525 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1526 Equivalent to --with-mpfr-include=PATH/include plus
1527 --with-mpfr-lib=PATH/lib
1528 --with-mpfr-include=PATH
1529 specify directory for installed MPFR include files
1530 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1531 --with-gmp-dir=PATH this option has been REMOVED
1532 --with-gmp=PATH specify prefix directory for the installed GMP
1533 package. Equivalent to
1534 --with-gmp-include=PATH/include plus
1535 --with-gmp-lib=PATH/lib
1536 --with-gmp-include=PATH specify directory for installed GMP include files
1537 --with-gmp-lib=PATH specify directory for the installed GMP library
1538 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1540 --with-stage1-libs=LIBS libraries for stage1
1541 --with-stage1-ldflags=FLAGS
1542 linker flags for stage1
1543 --with-boot-libs=LIBS libraries for stage2 and later
1544 --with-boot-ldflags=FLAGS
1545 linker flags for stage2 and later
1546 --with-isl=PATH Specify prefix directory for the installed ISL
1547 package. Equivalent to
1548 --with-isl-include=PATH/include plus
1549 --with-isl-lib=PATH/lib
1550 --with-isl-include=PATH Specify directory for installed ISL include files
1551 --with-isl-lib=PATH Specify the directory for the installed ISL library
1552 --with-build-sysroot=SYSROOT
1553 use sysroot as the system root during the build
1554 --with-debug-prefix-map='A
=B C
=D ...
'
1555 map A to B, C to D ... in debug information
1556 --with-build-config='NAME NAME2...
'
1557 use config/NAME.mk build configuration
1558 --with-build-time-tools=PATH
1559 use given path to find target tools during the build
1561 Some influential environment variables:
1562 CC C compiler command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1565 nonstandard directory <lib dir>
1566 LIBS libraries to pass to the linker, e.g. -l<library>
1567 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1568 you have headers in a nonstandard directory <include dir>
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1572 additional configure arguments for build directories
1574 additional configure arguments for host directories
1576 additional configure arguments for target directories
1579 DLLTOOL DLLTOOL for the host
1581 LIPO LIPO for the host
1583 RANLIB RANLIB for the host
1584 STRIP STRIP for the host
1585 WINDRES WINDRES for the host
1586 WINDMC WINDMC for the host
1587 OBJCOPY OBJCOPY for the host
1588 OBJDUMP OBJDUMP for the host
1589 READELF READELF for the host
1599 GFORTRAN for the target
1607 DLLTOOL for the target
1615 OBJDUMP for the target
1617 RANLIB for the target
1619 READELF for the target
1621 STRIP for the target
1623 WINDRES for the target
1625 WINDMC for the target
1627 Use these variables to override the choices made by `configure' or to
help
1628 it to
find libraries and programs with nonstandard names
/locations.
1630 Report bugs to the package provider.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1644 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1646 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir
=$ac_pwd
1655 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir
=$ac_top_build_prefix
1660 .
) # We are building in place.
1662 ac_top_srcdir
=$ac_top_builddir_sub
1663 ac_abs_top_srcdir
=$ac_pwd ;;
1664 [\\/]* | ?
:[\\/]* ) # Absolute name.
1665 ac_srcdir
=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir
=$srcdir
1667 ac_abs_top_srcdir
=$srcdir ;;
1669 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1694 generated by GNU Autoconf
2.64
1696 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1697 This configure
script is free software
; the Free Software Foundation
1698 gives unlimited permission to copy
, distribute and modify it.
1703 ## ------------------------ ##
1704 ## Autoconf initialization. ##
1705 ## ------------------------ ##
1707 # ac_fn_c_try_compile LINENO
1708 # --------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_compile
()
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 rm -f conftest.
$ac_objext
1714 if { { ac_try
="$ac_compile"
1716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 } # ac_fn_c_try_compile
1745 # ac_fn_cxx_try_compile LINENO
1746 # ----------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext
1752 if { { ac_try="$ac_compile"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err
; then
1762 grep -v '^ *+' conftest.err
>conftest.er1
1763 cat conftest.er1
>&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.
$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 } # ac_fn_cxx_try_compile
1783 # ac_fn_cxx_try_link LINENO
1784 # -------------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_cxx_try_link
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext conftest
$ac_exeext
1790 if { { ac_try
="$ac_link"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_cxx_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 } # ac_fn_cxx_try_link
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest
$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest
$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1873 } # ac_fn_c_try_link
1874 cat >config.log
<<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by $as_me, which was
1879 generated by GNU Autoconf 2.64. Invocation command line was
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1901 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1904 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1905 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1906 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir
=.
1915 $as_echo "PATH: $as_dir"
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1939 ac_must_keep_next
=false
1945 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1946 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1947 |
-silent |
--silent |
--silen |
--sile |
--sil)
1950 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1955 as_fn_append ac_configure_args1
" '$ac_arg'"
1956 if test $ac_must_keep_next = true
; then
1957 ac_must_keep_next
=false
# Got value, back to normal.
1960 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1961 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1962 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1963 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1964 case "$ac_configure_args0 " in
1965 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968 -* ) ac_must_keep_next
=true
;;
1971 as_fn_append ac_configure_args
" '$ac_arg'"
1976 { ac_configure_args0
=; unset ac_configure_args0
;}
1977 { ac_configure_args1
=; unset ac_configure_args1
;}
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log. We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985 # Save into config.log some information that might help in debugging.
1990 ## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028 ## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##
2033 for ac_var in $ac_subst_vars
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2043 if test -n "$ac_subst_files"; then
2045 ## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##
2050 for ac_var
in $ac_subst_files
2052 eval ac_val
=\$
$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2061 if test -s confdefs.h; then
2071 test "$ac_signal" != 0 &&
2072 $as_echo "$as_me: caught signal $ac_signal"
2073 $as_echo "$as_me: exit $exit_status"
2075 rm -f core *.core core.conftest.* &&
2076 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2079 for ac_signal
in 1 2 13 15; do
2080 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2084 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2085 rm -f -r conftest
* confdefs.h
2087 $as_echo "/* confdefs.h */" > confdefs.h
2089 # Predefined preprocessor variables.
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_NAME "$PACKAGE_NAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_STRING "$PACKAGE_STRING"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2111 cat >>confdefs.h
<<_ACEOF
2112 #define PACKAGE_URL "$PACKAGE_URL"
2116 # Let the site file select an alternate cache file if it wants to.
2117 # Prefer an explicitly selected file to automatically selected ones.
2120 if test -n "$CONFIG_SITE"; then
2121 ac_site_file1
=$CONFIG_SITE
2122 elif test "x$prefix" != xNONE
; then
2123 ac_site_file1
=$prefix/share
/config.site
2124 ac_site_file2
=$prefix/etc
/config.site
2126 ac_site_file1
=$ac_default_prefix/share
/config.site
2127 ac_site_file2
=$ac_default_prefix/etc
/config.site
2129 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2131 test "x$ac_site_file" = xNONE
&& continue
2132 if test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2140 if test -r "$cache_file"; then
2141 # Some versions of bash will fail to source /dev/null (special
2142 # files actually), so we avoid doing that.
2143 if test -f "$cache_file"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2145 $as_echo "$as_me: loading cache $cache_file" >&6;}
2147 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2148 *) .
"./$cache_file";;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2153 $as_echo "$as_me: creating cache $cache_file" >&6;}
2157 # Check that the precious variables saved in the cache have kept the same
2159 ac_cache_corrupted
=false
2160 for ac_var
in $ac_precious_vars; do
2161 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2162 eval ac_new_set
=\
$ac_env_${ac_var}_set
2163 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2164 eval ac_new_val
=\
$ac_env_${ac_var}_value
2165 case $ac_old_set,$ac_new_set in
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2169 ac_cache_corrupted
=: ;;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2173 ac_cache_corrupted
=: ;;
2176 if test "x$ac_old_val" != "x$ac_new_val"; then
2177 # differences in whitespace do not lead to failure.
2178 ac_old_val_w
=`echo x $ac_old_val`
2179 ac_new_val_w
=`echo x $ac_new_val`
2180 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2182 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2183 ac_cache_corrupted
=:
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2186 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2187 eval $ac_var=\
$ac_old_val
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2190 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2192 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2195 # Pass precious variables to config.status.
2196 if test "$ac_new_set" = set; then
2198 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2199 *) ac_arg
=$ac_var=$ac_new_val ;;
2201 case " $ac_configure_args " in
2202 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2203 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2207 if $ac_cache_corrupted; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2212 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2214 ## -------------------- ##
2215 ## Main body of script. ##
2216 ## -------------------- ##
2219 ac_cpp
='$CPP $CPPFLAGS'
2220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2233 # if PWD already has a value, it is probably wrong.
2234 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2236 # Export original configure arguments for use by sub-configures.
2237 # Quote arguments with shell meta charatcers.
2238 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2239 set -- "$progname" "$@"
2243 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2244 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2245 # if the argument is of the form -foo=baz, quote the baz part only
2246 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2249 # Add the quoted argument to the list.
2250 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2252 if test "$silent" = yes; then
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2255 # Remove the initial space we just introduced and, as these will be
2256 # expanded by make, quote '$'.
2257 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2260 # Find the build, host, and target systems.
2262 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2263 for ac_t
in install-sh
install.sh shtool
; do
2264 if test -f "$ac_dir/$ac_t"; then
2266 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2271 if test -z "$ac_aux_dir"; then
2272 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2275 # These three variables are undocumented and unsupported,
2276 # and are intended to be withdrawn in a future Autoconf release.
2277 # They can cause serious problems if a builder's source tree is in a directory
2278 # whose full name contains unusual characters.
2279 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2280 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2281 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2284 # Make sure we can run config.sub.
2285 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2286 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2289 $as_echo_n "checking build system type... " >&6; }
2290 if test "${ac_cv_build+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 ac_build_alias
=$build_alias
2294 test "x$ac_build_alias" = x
&&
2295 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2296 test "x$ac_build_alias" = x
&&
2297 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2298 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2303 $as_echo "$ac_cv_build" >&6; }
2304 case $ac_cv_build in
2306 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2309 ac_save_IFS
=$IFS; IFS
='-'
2315 # Remember, the first character of IFS is used to create $*,
2316 # except with old shells:
2319 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2322 case ${build_alias} in
2323 "") build_noncanonical
=${build} ;;
2324 *) build_noncanonical
=${build_alias} ;;
2329 case ${host_alias} in
2330 "") host_noncanonical
=${build_noncanonical} ;;
2331 *) host_noncanonical
=${host_alias} ;;
2336 case ${target_alias} in
2337 "") target_noncanonical
=${host_noncanonical} ;;
2338 *) target_noncanonical
=${target_alias} ;;
2344 test "$host_noncanonical" = "$target_noncanonical" &&
2345 test "$program_prefix$program_suffix$program_transform_name" = \
2347 program_transform_name
=s
,y
,y
,
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2350 $as_echo_n "checking host system type... " >&6; }
2351 if test "${ac_cv_host+set}" = set; then :
2352 $as_echo_n "(cached) " >&6
2354 if test "x$host_alias" = x
; then
2355 ac_cv_host
=$ac_cv_build
2357 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2358 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2363 $as_echo "$ac_cv_host" >&6; }
2366 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2369 ac_save_IFS
=$IFS; IFS
='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2383 $as_echo_n "checking target system type... " >&6; }
2384 if test "${ac_cv_target+set}" = set; then :
2385 $as_echo_n "(cached) " >&6
2387 if test "x$target_alias" = x
; then
2388 ac_cv_target
=$ac_cv_host
2390 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2391 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2396 $as_echo "$ac_cv_target" >&6; }
2397 case $ac_cv_target in
2399 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2401 target
=$ac_cv_target
2402 ac_save_IFS
=$IFS; IFS
='-'
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2412 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2415 # The aliases save the names the user supplied, while $host etc.
2416 # will get canonicalized.
2417 test -n "$target_alias" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_prefix
=${target_alias}-
2422 test "$program_prefix" != NONE
&&
2423 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2424 # Use a double $ so make ignores it.
2425 test "$program_suffix" != NONE
&&
2426 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2427 # Double any \ or $.
2428 # By default was `s,x,x', remove it if useless.
2429 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2430 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2434 # Get 'install' or 'install-sh' and its variants.
2435 # Find a good install program. We prefer a C program (faster),
2436 # so one script is as good as another. But avoid the broken or
2437 # incompatible versions:
2438 # SysV /etc/install, /usr/sbin/install
2439 # SunOS /usr/etc/install
2440 # IRIX /sbin/install
2442 # AmigaOS /C/install, which installs bootblocks on floppy discs
2443 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2444 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2445 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2446 # OS/2's system install, which has a completely different semantic
2447 # ./install, which can be erroneously created by make from ./install.sh.
2448 # Reject install programs that cannot install multiple files.
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2450 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2451 if test -z "$INSTALL"; then
2452 if test "${ac_cv_path_install+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir
=.
2460 # Account for people who put trailing slashes in PATH elements.
2461 case $as_dir/ in #((
2462 .
/ | .
// |
/[cC
]/* | \
2463 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2464 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2467 # OSF1 and SCO ODT 3.0 have their own names for install.
2468 # Don't use installbsd from OSF since it installs stuff as root
2470 for ac_prog
in ginstall scoinst
install; do
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2473 if test $ac_prog = install &&
2474 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2475 # AIX install. It has an incompatible calling convention.
2477 elif test $ac_prog = install &&
2478 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2479 # program-specific install script used by HP pwplus--don't use.
2482 rm -rf conftest.one conftest.two conftest.dir
2483 echo one
> conftest.one
2484 echo two
> conftest.two
2486 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2487 test -s conftest.one
&& test -s conftest.two
&&
2488 test -s conftest.dir
/conftest.one
&&
2489 test -s conftest.dir
/conftest.two
2491 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2504 rm -rf conftest.one conftest.two conftest.dir
2507 if test "${ac_cv_path_install+set}" = set; then
2508 INSTALL
=$ac_cv_path_install
2510 # As a last resort, use the slow shell script. Don't cache a
2511 # value for INSTALL within a source directory, because that will
2512 # break other packages using the cache if that directory is
2513 # removed, or if the value is a relative name.
2514 INSTALL
=$ac_install_sh
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2518 $as_echo "$INSTALL" >&6; }
2520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2521 # It thinks the first close brace ends the variable substitution.
2522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2526 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2529 $as_echo_n "checking whether ln works... " >&6; }
2530 if test "${acx_cv_prog_LN+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 rm -f conftestdata_t
2534 echo >conftestdata_f
2535 if ln conftestdata_f conftestdata_t
2>/dev
/null
2541 rm -f conftestdata_f conftestdata_t
2544 if test $acx_cv_prog_LN = no
; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2547 $as_echo "no, using $LN" >&6; }
2549 LN
="$acx_cv_prog_LN"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2555 $as_echo_n "checking whether ln -s works... " >&6; }
2557 if test "$LN_S" = "ln -s"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2562 $as_echo "no, using $LN_S" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2566 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2567 if test "${ac_cv_path_SED+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2571 for ac_i
in 1 2 3 4 5 6 7; do
2572 ac_script
="$ac_script$as_nl$ac_script"
2574 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2575 { ac_script
=; unset ac_script
;}
2576 if test -z "$SED"; then
2577 ac_path_SED_found
=false
2578 # Loop through the user's path and test for each of PROGNAME-LIST
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_prog
in sed gsed
; do
2585 for ac_exec_ext
in '' $ac_executable_extensions; do
2586 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2587 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2588 # Check for GNU ac_path_SED and select it if it is found.
2589 # Check for GNU $ac_path_SED
2590 case `"$ac_path_SED" --version 2>&1` in
2592 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2595 $as_echo_n 0123456789 >"conftest.in"
2598 cat "conftest.in" "conftest.in" >"conftest.tmp"
2599 mv "conftest.tmp" "conftest.in"
2600 cp "conftest.in" "conftest.nl"
2601 $as_echo '' >> "conftest.nl"
2602 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2603 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2604 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2605 if test $ac_count -gt ${ac_path_SED_max-0}; then
2606 # Best one so far, save it but keep looking for a better one
2607 ac_cv_path_SED
="$ac_path_SED"
2608 ac_path_SED_max
=$ac_count
2610 # 10*(2^10) chars as input seems more than enough
2611 test $ac_count -gt 10 && break
2613 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2616 $ac_path_SED_found && break 3
2621 if test -z "$ac_cv_path_SED"; then
2622 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2630 $as_echo "$ac_cv_path_SED" >&6; }
2631 SED
="$ac_cv_path_SED"
2634 for ac_prog
in gawk mawk nawk
awk
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637 set dummy
$ac_prog; ac_word
=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_AWK+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$AWK"; then
2644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir
=.
2651 for ac_exec_ext
in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_AWK
="$ac_prog"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$AWK"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2666 $as_echo "$AWK" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2673 test -n "$AWK" && break
2677 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2679 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2681 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2682 INSTALL
="${srcpwd}/install-sh -c"
2685 # Set srcdir to "." if that's what it is.
2686 # This is important for multilib support.
2688 if test "${pwd}" = "${srcpwd}" ; then
2696 ### To add a new directory to the tree, first choose whether it is a target
2697 ### or a host dependent tool. Then put it into the appropriate list
2698 ### (library or tools, host or target), doing a dependency sort.
2700 # Subdirs will be configured in the order listed in build_configdirs,
2701 # configdirs, or target_configdirs; see the serialization section below.
2703 # Dependency sorting is only needed when *configuration* must be done in
2704 # a particular order. In all cases a dependency should be specified in
2705 # the Makefile, whether or not it's implicitly specified here.
2707 # Double entries in build_configdirs, configdirs, or target_configdirs may
2708 # cause circular dependencies and break everything horribly.
2710 # these library is used by various programs built for the build
2713 build_libs
="build-libiberty build-libcpp"
2715 # these tools are built for the build environment
2716 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2718 # these libraries are used by various programs built for the host environment
2720 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2722 # these tools are built for the host environment
2723 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2724 # know that we are building the simulator.
2725 # binutils, gas and ld appear in that order because it makes sense to run
2726 # "make check" in that particular order.
2727 # If --enable-gold is used, "gold" may replace "ld".
2728 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1"
2730 # libgcj represents the runtime libraries only used by gcj.
2731 libgcj
="target-libffi \
2735 # these libraries are built for the target environment, and are built after
2736 # the host libraries and the host tools (which may be a cross compiler)
2737 # Note that libiberty is not a target library.
2738 target_libraries
="target-libgcc \
2739 target-libbacktrace \
2744 target-liboffloadmic \
2747 target-libstdc++-v3 \
2748 target-libsanitizer \
2751 target-libquadmath \
2752 target-libgfortran \
2759 # these tools are built using the target libraries, and are intended to
2760 # run only in the target environment
2762 # note: any program that *uses* libraries that are in the "target_libraries"
2763 # list belongs in this list.
2765 target_tools
="target-rda"
2767 ################################################################################
2769 ## All tools belong in one of the four categories, and are assigned above
2770 ## We assign ${configdirs} this way to remove all embedded newlines. This
2771 ## is important because configure will choke if they ever get through.
2772 ## ${configdirs} is directories we build using the host tools.
2773 ## ${target_configdirs} is directories we build using the target tools.
2774 configdirs
=`echo ${host_libs} ${host_tools}`
2775 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2776 build_configdirs
=`echo ${build_libs} ${build_tools}`
2780 ################################################################################
2782 srcname
="gnu development package"
2784 # This gets set non-empty for some net releases of packages.
2787 # Define is_cross_compiler to save on calls to 'test'.
2789 if test x
"${host}" = x
"${target}" ; then
2790 is_cross_compiler
=no
2792 is_cross_compiler
=yes
2795 # Find the build and target subdir names.
2797 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2798 # have matching libraries, they should use host libraries: Makefile.tpl
2799 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2800 # However, they still use the build modules, because the corresponding
2801 # host modules (e.g. bison) are only built for the host when bootstrap
2803 # - build_subdir is where we find build modules, and never changes.
2804 # - build_libsubdir is where we find build libraries, and can be overridden.
2806 # Prefix 'build-' so this never conflicts with target_subdir.
2807 build_subdir
="build-${build_noncanonical}"
2809 # Check whether --with-build-libsubdir was given.
2810 if test "${with_build_libsubdir+set}" = set; then :
2811 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2813 build_libsubdir
="$build_subdir"
2816 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2817 if ( test $srcdir = .
&& test -d gcc
) \
2818 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2819 host_subdir
="host-${host_noncanonical}"
2824 target_subdir
=${target_noncanonical}
2826 # Be sure to cover against remnants of an in-tree build.
2827 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2828 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2829 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2832 # Skipdirs are removed silently.
2834 # Noconfigdirs are removed loudly.
2838 # Make sure we don't let GNU ld be added if we didn't want it.
2839 if test x
$with_gnu_ld = xno
; then
2841 noconfigdirs
="$noconfigdirs ld gold"
2845 # Make sure we don't let GNU as be added if we didn't want it.
2846 if test x
$with_gnu_as = xno
; then
2848 noconfigdirs
="$noconfigdirs gas"
2852 # Make sure we don't let ZLIB be added if we didn't want it.
2853 if test x
$with_system_zlib = xyes
; then
2854 use_included_zlib
=no
2855 noconfigdirs
="$noconfigdirs zlib"
2858 # some tools are so dependent upon X11 that if we're not building with X,
2859 # it's not even worth trying to configure, much less build, that tool.
2862 yes |
"") ;; # the default value for this tree is that X11 is available
2864 skipdirs
="${skipdirs} tk itcl libgui"
2865 # We won't be able to build gdbtk without X.
2868 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2871 # Some are only suitable for cross toolchains.
2872 # Remove these if host=target.
2873 cross_only
="target-libgloss target-newlib target-opcodes"
2875 case $is_cross_compiler in
2876 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2879 # If both --with-headers and --with-libs are specified, default to
2881 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2882 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2883 if test x
"${with_newlib}" = x
; then
2888 # Recognize --with-newlib/--without-newlib.
2889 case ${with_newlib} in
2890 no
) skipdirs
="${skipdirs} target-newlib" ;;
2891 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2894 # Check whether --enable-as-accelerator-for was given.
2895 if test "${enable_as_accelerator_for+set}" = set; then :
2896 enableval
=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR
=$enableval
2898 ENABLE_AS_ACCELERATOR_FOR
=no
2902 # Check whether --enable-offload-targets was given.
2903 if test "${enable_offload_targets+set}" = set; then :
2904 enableval
=$enable_offload_targets;
2905 if test x
"$enable_offload_targets" = x
; then
2906 as_fn_error
"no offload targets specified" "$LINENO" 5
2910 enable_offload_targets
=
2914 # Handle --enable-gold, --enable-ld.
2915 # --disable-gold [--enable-ld]
2916 # Build only ld. Default option.
2917 # --enable-gold [--enable-ld]
2918 # Build both gold and ld. Install gold as "ld.gold", install ld
2919 # as "ld.bfd" and "ld".
2920 # --enable-gold=default [--enable-ld]
2921 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2922 # install ld as "ld.bfd".
2923 # --enable-gold[=default] --disable-ld
2924 # Build only gold, which is then installed as both "ld.gold" and "ld".
2925 # --enable-gold --enable-ld=default
2926 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2928 # In other words, ld is default
2929 # --enable-gold=default --enable-ld=default
2933 # Check whether --enable-gold was given.
2934 if test "${enable_gold+set}" = set; then :
2935 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2940 case "${ENABLE_GOLD}" in
2942 # Check for ELF target.
2945 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2946 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2947 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2948 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2950 *-*-linux*aout
* |
*-*-linux*oldld
*)
2958 if test "$is_elf" = "yes"; then
2959 # Check for target supported by gold.
2961 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2962 | aarch64
*-*-* | tilegx
*-*-*)
2963 configdirs
="$configdirs gold"
2964 if test x
${ENABLE_GOLD} = xdefault
; then
2975 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2979 # Check whether --enable-ld was given.
2980 if test "${enable_ld+set}" = set; then :
2981 enableval
=$enable_ld; ENABLE_LD
=$enableval
2987 case "${ENABLE_LD}" in
2989 if test x
${default_ld} != x
; then
2990 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2996 if test x
${ENABLE_GOLD} != xyes
; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2998 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3000 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3003 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3007 # Configure extra directories which are host specific
3011 configdirs
="$configdirs libtermcap" ;;
3014 # A target can indicate whether a language isn't supported for some reason.
3015 # Only spaces may be used in this macro; not newlines or tabs.
3016 unsupported_languages
=
3018 # Remove more programs from consideration, based on the host or
3019 # target this usually means that a port of the program doesn't
3023 i
[3456789]86-*-msdosdjgpp*)
3024 noconfigdirs
="$noconfigdirs tcl tk itcl"
3029 # Check whether --enable-libquadmath was given.
3030 if test "${enable_libquadmath+set}" = set; then :
3031 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3033 ENABLE_LIBQUADMATH
=yes
3036 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3037 noconfigdirs
="$noconfigdirs target-libquadmath"
3041 # Check whether --enable-libquadmath-support was given.
3042 if test "${enable_libquadmath_support+set}" = set; then :
3043 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3045 ENABLE_LIBQUADMATH_SUPPORT
=yes
3048 enable_libquadmath_support
=
3049 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3050 enable_libquadmath_support
=no
3054 # Check whether --enable-libada was given.
3055 if test "${enable_libada+set}" = set; then :
3056 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3061 if test "${ENABLE_LIBADA}" != "yes" ; then
3062 noconfigdirs
="$noconfigdirs gnattools"
3065 # Check whether --enable-libssp was given.
3066 if test "${enable_libssp+set}" = set; then :
3067 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3073 # Check whether --enable-libstdcxx was given.
3074 if test "${enable_libstdcxx+set}" = set; then :
3075 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3077 ENABLE_LIBSTDCXX
=default
3080 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3081 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3084 # If this is accelerator compiler and its target is intelmic we enable
3085 # target liboffloadmic by default. If this is compiler with offloading
3086 # for intelmic we enable host liboffloadmic by default. Otherwise
3087 # liboffloadmic is disabled by default.
3088 # Check whether --enable-liboffloadmic was given.
3089 if test "${enable_liboffloadmic+set}" = set; then :
3090 enableval
=$enable_liboffloadmic; case "$enableval" in
3092 enable_liboffloadmic
=$enableval ;;
3094 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3097 if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then
3099 *-intelmic-* |
*-intelmicemul-*)
3100 enable_liboffloadmic
=target
3101 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3104 enable_liboffloadmic
=no
3108 case "${enable_offload_targets}" in
3109 *-intelmic-* |
*-intelmicemul-*)
3110 enable_liboffloadmic
=host
3111 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3114 enable_liboffloadmic
=no
3122 # Save it here so that, even in case of --enable-libgcj, if the Java
3123 # front-end isn't enabled, we still get libgcj disabled.
3124 libgcj_saved
=$libgcj
3125 case $enable_libgcj in
3127 # If we reset it here, it won't get added to noconfigdirs in the
3128 # target-specific build rules, so it will be forcibly enabled
3129 # (unless the Java language itself isn't enabled).
3133 # Make sure we get it printed in the list of not supported target libs.
3134 # Don't disable libffi, though, other languages use it.
3135 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3136 # Clear libgcj_saved so that even if java is enabled libffi won't be
3142 # Check whether --enable-static-libjava was given.
3143 if test "${enable_static_libjava+set}" = set; then :
3144 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3146 ENABLE_STATIC_LIBJAVA
=no
3149 enable_static_libjava
=
3150 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3151 enable_static_libjava
=yes
3154 if test x
$enable_static_libjava != xyes
; then
3155 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3159 # Disable libgomp on non POSIX hosted systems.
3160 if test x
$enable_libgomp = x
; then
3161 # Enable libgomp by default on hosted POSIX systems.
3163 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3165 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3167 *-*-solaris2* |
*-*-hpux11*)
3169 *-*-darwin* |
*-*-aix*)
3172 noconfigdirs
="$noconfigdirs target-libgomp"
3177 # Disable libatomic on unsupported systems.
3178 if test -d ${srcdir}/libatomic
; then
3179 if test x
$enable_libatomic = x
; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3181 $as_echo_n "checking for libatomic support... " >&6; }
3182 if (srcdir
=${srcdir}/libatomic
; \
3183 .
${srcdir}/configure.tgt
; \
3184 test -n "$UNSUPPORTED")
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 noconfigdirs
="$noconfigdirs target-libatomic"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191 $as_echo "yes" >&6; }
3196 # Disable libcilkrts on unsupported systems.
3197 if test -d ${srcdir}/libcilkrts
; then
3198 if test x
$enable_libcilkrts = x
; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3200 $as_echo_n "checking for libcilkrts support... " >&6; }
3201 if (srcdir
=${srcdir}/libcilkrts
; \
3202 .
${srcdir}/configure.tgt
; \
3203 test -n "$UNSUPPORTED")
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 noconfigdirs
="$noconfigdirs target-libcilkrts"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210 $as_echo "yes" >&6; }
3215 # Disable liboffloadmic on unsupported systems.
3216 if test -d ${srcdir}/liboffloadmic
; then
3217 if test x
$enable_liboffloadmic != xno
; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3219 $as_echo_n "checking for liboffloadmic support... " >&6; }
3220 if (srcdir
=${srcdir}/liboffloadmic
; \
3221 .
${srcdir}/configure.tgt
; \
3222 test -n "$UNSUPPORTED")
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3234 # Disable libitm on unsupported systems.
3235 if test -d ${srcdir}/libitm
; then
3236 if test x
$enable_libitm = x
; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3238 $as_echo_n "checking for libitm support... " >&6; }
3239 if (srcdir
=${srcdir}/libitm
; \
3240 .
${srcdir}/configure.tgt
; \
3241 test -n "$UNSUPPORTED")
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3245 noconfigdirs
="$noconfigdirs target-libitm"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3253 # Disable libsanitizer on unsupported systems.
3254 if test -d ${srcdir}/libsanitizer
; then
3255 if test x
$enable_libsanitizer = x
; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3257 $as_echo_n "checking for libsanitizer support... " >&6; }
3258 if (srcdir
=${srcdir}/libsanitizer
; \
3259 .
${srcdir}/configure.tgt
; \
3260 test -n "$UNSUPPORTED")
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 noconfigdirs
="$noconfigdirs target-libsanitizer"
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3267 $as_echo "yes" >&6; }
3272 # Disable libvtv on unsupported systems.
3273 if test -d ${srcdir}/libvtv
; then
3274 if test x
$enable_libvtv = x
; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3276 $as_echo_n "checking for libvtv support... " >&6; }
3277 if (srcdir
=${srcdir}/libvtv
; \
3278 .
${srcdir}/configure.tgt
; \
3279 test "$VTV_SUPPORTED" != "yes")
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 noconfigdirs
="$noconfigdirs target-libvtv"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3286 $as_echo "yes" >&6; }
3291 # Disable libquadmath for some systems.
3294 noconfigdirs
="$noconfigdirs target-libquadmath"
3296 # libquadmath is unused on AIX and libquadmath build process use of
3297 # LD_LIBRARY_PATH can break AIX bootstrap.
3298 powerpc-
*-aix* | rs6000-
*-aix*)
3299 noconfigdirs
="$noconfigdirs target-libquadmath"
3303 # Disable libssp for some systems.
3306 # No hosted I/O support.
3307 noconfigdirs
="$noconfigdirs target-libssp"
3309 powerpc-
*-aix* | rs6000-
*-aix*)
3310 noconfigdirs
="$noconfigdirs target-libssp"
3313 # libssp uses a misaligned load to trigger a fault, but the RL78
3314 # doesn't fault for those - instead, it gives a build-time error
3315 # for explicit misaligned loads.
3316 noconfigdirs
="$noconfigdirs target-libssp"
3320 # Disable libstdc++-v3 for some systems.
3321 # Allow user to override this if they pass --enable-libstdc++-v3
3322 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3325 # VxWorks uses the Dinkumware C++ library.
3326 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3329 # the C++ libraries don't build on top of CE's C libraries
3330 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3333 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3338 # Disable Fortran for some systems.
3341 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3342 unsupported_languages
="$unsupported_languages fortran"
3346 # Disable Java if libffi is not supported.
3378 powerpc-
*-aix* | rs6000-
*-aix*)
3382 powerpc64-
*-freebsd*)
3386 s390-
*-* | s390x-
*-*)
3388 sh-
*-* | sh
[34]*-*-*)
3390 sh64-
*-* | sh5
*-*-*)
3397 unsupported_languages
="$unsupported_languages java"
3401 # Disable Java, libgcj or related libraries for some systems.
3405 i
[3456789]86-*-darwin*)
3407 x86_64-
*-darwin[912]*)
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3413 noconfigdirs
="$noconfigdirs ${libgcj}"
3416 noconfigdirs
="$noconfigdirs ${libgcj}"
3419 noconfigdirs
="$noconfigdirs ${libgcj}"
3422 noconfigdirs
="$noconfigdirs ${libgcj}"
3425 noconfigdirs
="$noconfigdirs ${libgcj}"
3428 noconfigdirs
="$noconfigdirs ${libgcj}"
3431 noconfigdirs
="$noconfigdirs ${libgcj}"
3434 noconfigdirs
="$noconfigdirs ${libgcj}"
3437 noconfigdirs
="$noconfigdirs target-boehm-gc"
3439 cris-
*-* | crisv32-
*-*)
3440 unsupported_languages
="$unsupported_languages java"
3444 *) # See PR46792 regarding target-libffi.
3445 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3449 # In this case, it's because the hppa64-linux target is for
3450 # the kernel only at this point and has no libc, and thus no
3451 # headers, crt*.o, etc., all of which are needed by these.
3452 unsupported_languages
="$unsupported_languages java"
3455 noconfigdirs
="$noconfigdirs ${libgcj}"
3460 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3461 # build on HP-UX 10.20.
3462 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3467 i
[3456789]86-w64-mingw*)
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3470 i
[3456789]86-*-mingw*)
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3480 # copied from rs6000-*-* entry
3481 noconfigdirs
="$noconfigdirs ${libgcj}"
3484 noconfigdirs
="$noconfigdirs ${libgcj}"
3487 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 # Disable the go frontend on systems where it is known to not work. Please keep
3492 # this in sync with contrib/config-list.mk.
3494 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3495 unsupported_languages
="$unsupported_languages go"
3499 # Disable libgo for some systems where it is known to not work.
3500 # For testing, you can easily override this with --enable-libgo.
3501 if test x
$enable_libgo = x
; then
3505 noconfigdirs
="$noconfigdirs target-libgo"
3507 *-*-cygwin* |
*-*-mingw*)
3508 noconfigdirs
="$noconfigdirs target-libgo"
3511 noconfigdirs
="$noconfigdirs target-libgo"
3516 # Default libgloss CPU subdirectory.
3517 libgloss_dir
="$target_cpu"
3520 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3524 libgloss_dir
=aarch64
3529 cris-
*-* | crisv32-
*-*)
3538 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3539 libgloss_dir
=m68hc11
3541 m68
*-*-* | fido-
*-*)
3555 # Disable newlib and libgloss for various target OSes.
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3560 i
[3456789]86-*-linux*)
3561 # This section makes it possible to build newlib natively on linux.
3562 # If we are using a cross compiler then don't configure newlib.
3563 if test x
${is_cross_compiler} != xno
; then
3564 noconfigdirs
="$noconfigdirs target-newlib"
3566 noconfigdirs
="$noconfigdirs target-libgloss"
3567 # If we are not using a cross compiler, do configure newlib.
3568 # Note however, that newlib will only be configured in this situation
3569 # if the --with-newlib option has been given, because otherwise
3570 # 'target-newlib' will appear in skipdirs.
3572 i
[3456789]86-*-rdos*)
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3575 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3596 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3597 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3615 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3618 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3627 noconfigdirs
="$noconfigdirs sim target-rda"
3629 i
[3456789]86-*-darwin*)
3630 noconfigdirs
="$noconfigdirs ld gprof"
3631 noconfigdirs
="$noconfigdirs sim target-rda"
3633 x86_64-
*-darwin[912]*)
3634 noconfigdirs
="$noconfigdirs ld gas gprof"
3635 noconfigdirs
="$noconfigdirs sim target-rda"
3638 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3639 noconfigdirs
="$noconfigdirs sim target-rda"
3644 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3645 && test -f /usr
/local
/include
/gmp.h
; then
3650 # Remove unsupported stuff on all kaOS configurations.
3651 noconfigdirs
="$noconfigdirs target-libgloss"
3658 noconfigdirs
="$noconfigdirs target-libgloss"
3659 # this is not caught below because this stanza matches earlier
3661 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3664 # The tpf target doesn't support gdb yet.
3666 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3669 noconfigdirs
="$noconfigdirs target-rda"
3674 # ld works, but does not support shared libraries.
3675 # gas doesn't generate exception information.
3676 noconfigdirs
="$noconfigdirs gas ld"
3679 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3682 # newlib is not 64 bit ready
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3685 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3686 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3689 noconfigdirs
="$noconfigdirs target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-libgloss"
3695 noconfigdirs
="$noconfigdirs ld target-libgloss"
3700 if test x
${with_avrlibc} != xno
; then
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3704 c4x-
*-* | tic4x-
*-*)
3705 noconfigdirs
="$noconfigdirs target-libgloss"
3708 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3711 noconfigdirs
="$noconfigdirs target-libgloss"
3714 noconfigdirs
="$noconfigdirs gdb"
3717 noconfigdirs
="$noconfigdirs gdb"
3720 noconfigdirs
="$noconfigdirs gprof"
3723 noconfigdirs
="$noconfigdirs target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3728 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3736 hppa
*-*-openbsd* | \
3740 noconfigdirs
="$noconfigdirs ld"
3745 noconfigdirs
="$noconfigdirs ld"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 # No gdb support yet.
3752 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3755 # No ld support yet.
3756 noconfigdirs
="$noconfigdirs libgui itcl ld"
3759 # No ld support yet.
3760 noconfigdirs
="$noconfigdirs libgui itcl ld"
3762 i
[3456789]86-w64-mingw*)
3764 i
[3456789]86-*-mingw*)
3765 target_configdirs
="$target_configdirs target-winsup"
3768 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3770 # always build newlib if winsup directory is present.
3771 if test -d "$srcdir/winsup/cygwin"; then
3772 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3773 elif test -d "$srcdir/newlib"; then
3774 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3778 noconfigdirs
="$noconfigdirs target-libgloss"
3780 i
[3456789]86-*-sco3.2v5
*)
3781 # The linker does not yet know about weak symbols in COFF,
3782 # and is not configured to handle mixed ELF and COFF.
3783 noconfigdirs
="$noconfigdirs ld target-libgloss"
3785 i
[3456789]86-*-sco*)
3786 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3788 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3789 noconfigdirs
="$noconfigdirs target-libgloss"
3791 i
[3456789]86-*-sysv4*)
3792 noconfigdirs
="$noconfigdirs target-libgloss"
3794 i
[3456789]86-*-beos*)
3795 noconfigdirs
="$noconfigdirs gdb"
3797 i
[3456789]86-*-rdos*)
3798 noconfigdirs
="$noconfigdirs gdb"
3801 noconfigdirs
="$noconfigdirs gdb"
3804 noconfigdirs
="$noconfigdirs sim"
3807 # copied from rs6000-*-* entry
3808 noconfigdirs
="$noconfigdirs gprof"
3810 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3811 target_configdirs
="$target_configdirs target-winsup"
3812 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3813 # always build newlib.
3814 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3816 # This is temporary until we can link against shared libraries
3817 powerpcle-
*-solaris*)
3818 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3821 noconfigdirs
="$noconfigdirs gdb"
3824 noconfigdirs
="$noconfigdirs gprof"
3827 noconfigdirs
="$noconfigdirs gprof"
3830 noconfigdirs
="$noconfigdirs gprof"
3833 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3836 noconfigdirs
="$noconfigdirs gprof"
3838 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3839 if test x
$with_newlib = xyes
; then
3840 noconfigdirs
="$noconfigdirs gprof"
3844 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3847 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3850 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3854 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3855 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3856 noconfigdirs
="$noconfigdirs ld gas gprof"
3859 noconfigdirs
="$noconfigdirs gprof"
3862 noconfigdirs
="$noconfigdirs gdb"
3865 # nvptx is just a compiler
3866 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3869 noconfigdirs
="$noconfigdirs gdb"
3876 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3880 if test x
${is_cross_compiler} = xno
; then
3885 noconfigdirs
="$noconfigdirs sim"
3887 tilepro
*-*-* | tilegx
*-*-*)
3888 noconfigdirs
="$noconfigdirs sim"
3891 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3894 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3898 # If we aren't building newlib, then don't build libgloss, since libgloss
3899 # depends upon some newlib header files.
3900 case "${noconfigdirs}" in
3901 *target-libgloss
*) ;;
3902 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3905 # Work in distributions that contain no compiler tools, like Autoconf.
3906 host_makefile_frag
=/dev
/null
3907 if test -d ${srcdir}/config
; then
3909 i
[3456789]86-*-msdosdjgpp*)
3910 host_makefile_frag
="config/mh-djgpp"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3915 $as_echo_n "checking to see if cat works as expected... " >&6; }
3916 echo a
>cygwin-cat-check
3917 if test `cat cygwin-cat-check` = a
; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3920 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3925 as_fn_error
"The cat command does not ignore carriage return characters.
3926 Please either mount the build directory in binary mode or run the following
3927 commands before running any configure script:
3933 host_makefile_frag
="config/mh-cygwin"
3936 host_makefile_frag
="config/mh-mingw"
3939 host_makefile_frag
="config/mh-alpha-linux"
3942 host_makefile_frag
="config/mh-pa-hpux10"
3945 host_makefile_frag
="config/mh-pa"
3948 host_makefile_frag
="config/mh-pa"
3951 host_makefile_frag
="config/mh-darwin"
3954 host_makefile_frag
="config/mh-ppc-aix"
3957 host_makefile_frag
="config/mh-ppc-aix"
3962 if test "${build}" != "${host}" ; then
3963 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3964 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3965 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3966 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3967 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3968 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3969 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3970 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3971 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3972 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3973 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3974 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3975 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3977 AR_FOR_BUILD
="\$(AR)"
3978 AS_FOR_BUILD
="\$(AS)"
3979 CC_FOR_BUILD
="\$(CC)"
3980 CXX_FOR_BUILD
="\$(CXX)"
3981 GCJ_FOR_BUILD
="\$(GCJ)"
3982 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3983 GOC_FOR_BUILD
="\$(GOC)"
3984 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3985 LD_FOR_BUILD
="\$(LD)"
3986 NM_FOR_BUILD
="\$(NM)"
3987 RANLIB_FOR_BUILD
="\$(RANLIB)"
3988 WINDRES_FOR_BUILD
="\$(WINDRES)"
3989 WINDMC_FOR_BUILD
="\$(WINDMC)"
3993 ac_cpp
='$CPP $CPPFLAGS'
3994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3997 if test -n "$ac_tool_prefix"; then
3998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3999 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if test "${ac_cv_prog_CC+set}" = set; then :
4003 $as_echo_n "(cached) " >&6
4005 if test -n "$CC"; then
4006 ac_cv_prog_CC
="$CC" # Let the user override the test.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 if test -n "$CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4028 $as_echo "$CC" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4036 if test -z "$ac_cv_prog_CC"; then
4038 # Extract the first word of "gcc", so it can be a program name with args.
4039 set dummy gcc
; ac_word
=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -n "$ac_ct_CC"; then
4046 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055 ac_cv_prog_ac_ct_CC
="gcc"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4066 if test -n "$ac_ct_CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4068 $as_echo "$ac_ct_CC" >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4074 if test "x$ac_ct_CC" = x
; then
4077 case $cross_compiling:$ac_tool_warned in
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4081 ac_tool_warned
=yes ;;
4089 if test -z "$CC"; then
4090 if test -n "$ac_tool_prefix"; then
4091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4092 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if test "${ac_cv_prog_CC+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC
="$CC" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4130 if test -z "$CC"; then
4131 # Extract the first word of "cc", so it can be a program name with args.
4132 set dummy cc
; ac_word
=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if test "${ac_cv_prog_CC+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4138 if test -n "$CC"; then
4139 ac_cv_prog_CC
="$CC" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4149 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4150 ac_prog_rejected
=yes
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161 if test $ac_prog_rejected = yes; then
4162 # We found a bogon in the path, so make sure we never use it.
4163 set dummy
$ac_cv_prog_CC
4165 if test $# != 0; then
4166 # We chose a different compiler from the bogus one.
4167 # However, it has the same basename, so the bogon will be chosen
4168 # first if we set CC to just the basename; use the full file name.
4170 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4176 if test -n "$CC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4178 $as_echo "$CC" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4186 if test -z "$CC"; then
4187 if test -n "$ac_tool_prefix"; then
4188 for ac_prog
in cl.exe
4190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if test "${ac_cv_prog_CC+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4197 if test -n "$CC"; then
4198 ac_cv_prog_CC
="$CC" # Let the user override the test.
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 if test -n "$CC"; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4220 $as_echo "$CC" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4227 test -n "$CC" && break
4230 if test -z "$CC"; then
4232 for ac_prog
in cl.exe
4234 # Extract the first word of "$ac_prog", so it can be a program name with args.
4235 set dummy
$ac_prog; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$ac_ct_CC"; then
4242 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251 ac_cv_prog_ac_ct_CC
="$ac_prog"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4262 if test -n "$ac_ct_CC"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4264 $as_echo "$ac_ct_CC" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4271 test -n "$ac_ct_CC" && break
4274 if test "x$ac_ct_CC" = x
; then
4277 case $cross_compiling:$ac_tool_warned in
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4281 ac_tool_warned
=yes ;;
4290 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error
"no acceptable C compiler found in \$PATH
4293 See \`config.log' for more details." "$LINENO" 5; }
4295 # Provide some information about the compiler.
4296 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4299 for ac_option
in --version -v -V -qversion; do
4300 { { ac_try
="$ac_compiler $ac_option >&5"
4302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4303 *) ac_try_echo=$ac_try;;
4305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4306 $as_echo "$ac_try_echo"; } >&5
4307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4309 if test -s conftest.err; then
4311 ... rest of stderr output deleted ...
4312 10q' conftest.err >conftest.er1
4313 cat conftest.er1 >&5
4314 rm -f conftest.er1 conftest.err
4316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4317 test $ac_status = 0; }
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4331 ac_clean_files_save=$ac_clean_files
4332 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4333 # Try to create an executable without -o first, disregard a.out.
4334 # It will help us diagnose broken compilers, and finding out an intuition
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4337 $as_echo_n "checking for C compiler default output file name... " >&6; }
4338 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4340 # The possible output files:
4341 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4344 for ac_file in $ac_files
4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4348 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4353 if { { ac_try="$ac_link_default"
4355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4356 *) ac_try_echo
=$ac_try;;
4358 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4359 $as_echo "$ac_try_echo"; } >&5
4360 (eval "$ac_link_default") 2>&5
4362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4363 test $ac_status = 0; }; then :
4364 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4365 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4366 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4367 # so that the user can short-circuit this test for compilers unknown to
4369 for ac_file
in $ac_files ''
4371 test -f "$ac_file" ||
continue
4373 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4376 # We found the default executable, but exeext='' is most
4380 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4382 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4384 # We set ac_cv_exeext here because the later test for it is not
4385 # safe: cross compilers may not add the suffix if given an `-o'
4386 # argument, so we may need to know it at that point already.
4387 # Even if this section looks crufty: it has the advantage of
4394 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4400 $as_echo "$ac_file" >&6; }
4401 if test -z "$ac_file"; then :
4402 $as_echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 { as_fn_set_status
77
4408 as_fn_error
"C compiler cannot create executables
4409 See \`config.log' for more details." "$LINENO" 5; }; }
4411 ac_exeext
=$ac_cv_exeext
4413 # Check that the compiler produces executables we can run. If not, either
4414 # the compiler is broken, or we cross compile.
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4416 $as_echo_n "checking whether the C compiler works... " >&6; }
4417 # If not cross compiling, check that we can run a simple program.
4418 if test "$cross_compiling" != yes; then
4419 if { ac_try
='./$ac_file'
4420 { { case "(($ac_try" in
4421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426 (eval "$ac_try") 2>&5
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }; }; then
4432 if test "$cross_compiling" = maybe; then
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_error "cannot run C compiled programs.
4438 If you meant to cross compile
, use \
`--host'.
4439 See \`config.log
' for more details." "$LINENO" 5; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4444 $as_echo "yes" >&6; }
4446 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4447 ac_clean_files=$ac_clean_files_save
4448 # Check that the compiler produces executables we can run. If not, either
4449 # the compiler is broken, or we cross compile.
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4451 $as_echo_n "checking whether we are cross compiling... " >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4453 $as_echo "$cross_compiling" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4456 $as_echo_n "checking for suffix of executables... " >&6; }
4457 if { { ac_try="$ac_link"
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_link") 2>&5
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }; then :
4468 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4469 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4470 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4472 for ac_file
in conftest.exe conftest conftest.
*; do
4473 test -f "$ac_file" ||
continue
4475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4484 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4485 See \`config.log' for more details." "$LINENO" 5; }
4487 rm -f conftest
$ac_cv_exeext
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4489 $as_echo "$ac_cv_exeext" >&6; }
4491 rm -f conftest.
$ac_ext
4492 EXEEXT
=$ac_cv_exeext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4495 $as_echo_n "checking for suffix of object files... " >&6; }
4496 if test "${ac_cv_objext+set}" = set; then :
4497 $as_echo_n "(cached) " >&6
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 rm -f conftest.o conftest.obj
4511 if { { ac_try
="$ac_compile"
4513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4517 $as_echo "$ac_try_echo"; } >&5
4518 (eval "$ac_compile") 2>&5
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }; then :
4522 for ac_file in conftest.o conftest.obj conftest.*; do
4523 test -f "$ac_file" || continue;
4525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4531 $as_echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.$ac_ext >&5
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error "cannot compute suffix of object files
: cannot compile
4537 See \
`config.log' for more details." "$LINENO" 5; }
4539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4542 $as_echo "$ac_cv_objext" >&6; }
4543 OBJEXT=$ac_cv_objext
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4546 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4547 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4548 $as_echo_n "(cached) " >&6
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4564 if ac_fn_c_try_compile "$LINENO"; then :
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4574 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4575 if test $ac_compiler_gnu = yes; then
4580 ac_test_CFLAGS=${CFLAGS+set}
4581 ac_save_CFLAGS=$CFLAGS
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4583 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4584 if test "${ac_cv_prog_cc_g+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 ac_save_c_werror_flag=$ac_c_werror_flag
4588 ac_c_werror_flag=yes
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4602 if ac_fn_c_try_compile "$LINENO"; then :
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4617 if ac_fn_c_try_compile "$LINENO"; then :
4620 ac_c_werror_flag=$ac_save_c_werror_flag
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4633 if ac_fn_c_try_compile "$LINENO"; then :
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4644 $as_echo "$ac_cv_prog_cc_g" >&6; }
4645 if test "$ac_test_CFLAGS" = set; then
4646 CFLAGS=$ac_save_CFLAGS
4647 elif test $ac_cv_prog_cc_g = yes; then
4648 if test "$GCC" = yes; then
4654 if test "$GCC" = yes; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4661 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4662 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 ac_cv_prog_cc_c89=no
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 #include <sys/types.h>
4672 #include <sys/stat.h>
4673 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4674 struct buf { int x; };
4675 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4676 static char *e (p, i)
4682 static char *f (char * (*g) (char **, int), char **p, ...)
4687 s = g (p, va_arg (v,int));
4692 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4693 function prototypes and stuff, but not '\xHH' hex character constants.
4694 These don't provoke an error unfortunately, instead are silently treated
4695 as 'x'. The following induces an error, until -std is added to get
4696 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4697 array size at least. It's necessary to write '\x00'==0 to get something
4698 that's true only with -std. */
4699 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4701 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4702 inside strings and character constants. */
4704 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4706 int test (int i, double x);
4707 struct s1 {int (*f) (int a);};
4708 struct s2 {int (*f) (double a);};
4709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4720 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4721 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4723 CC="$ac_save_CC $ac_arg"
4724 if ac_fn_c_try_compile "$LINENO"; then :
4725 ac_cv_prog_cc_c89=$ac_arg
4727 rm -f core conftest.err conftest.$ac_objext
4728 test "x$ac_cv_prog_cc_c89" != "xno" && break
4730 rm -f conftest.$ac_ext
4735 case "x$ac_cv_prog_cc_c89" in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4738 $as_echo "none needed" >&6; } ;;
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4741 $as_echo "unsupported" >&6; } ;;
4743 CC="$CC $ac_cv_prog_cc_c89"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4745 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4747 if test "x$ac_cv_prog_cc_c89" != xno; then :
4752 ac_cpp='$CPP $CPPFLAGS'
4753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 ac_cpp='$CXXCPP $CPPFLAGS'
4759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4762 if test -z "$CXX"; then
4763 if test -n "$CCC"; then
4766 if test -n "$ac_tool_prefix"; then
4767 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if test "${ac_cv_prog_CXX+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$CXX"; then
4777 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 if test -n "$CXX"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4799 $as_echo "$CXX" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 test -n "$CXX" && break
4809 if test -z "$CXX"; then
4811 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4813 # Extract the first word of "$ac_prog", so it can be a program name with args.
4814 set dummy $ac_prog; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$ac_ct_CXX"; then
4821 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830 ac_cv_prog_ac_ct_CXX="$ac_prog"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4841 if test -n "$ac_ct_CXX"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4843 $as_echo "$ac_ct_CXX" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4850 test -n "$ac_ct_CXX" && break
4853 if test "x$ac_ct_CXX" = x; then
4856 case $cross_compiling:$ac_tool_warned in
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4860 ac_tool_warned=yes ;;
4868 # Provide some information about the compiler.
4869 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 for ac_option in --version -v -V -qversion; do
4873 { { ac_try="$ac_compiler $ac_option >&5"
4875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4876 *) ac_try_echo
=$ac_try;;
4878 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879 $as_echo "$ac_try_echo"; } >&5
4880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4882 if test -s conftest.err
; then
4884 ... rest of stderr output deleted ...
4885 10q' conftest.err
>conftest.er1
4886 cat conftest.er1
>&5
4887 rm -f conftest.er1 conftest.err
4889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4890 test $ac_status = 0; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4894 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4895 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4896 $as_echo_n "(cached) " >&6
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4912 if ac_fn_cxx_try_compile
"$LINENO"; then :
4917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4918 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4922 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4923 if test $ac_compiler_gnu = yes; then
4928 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4929 ac_save_CXXFLAGS
=$CXXFLAGS
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4931 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4932 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4936 ac_cxx_werror_flag
=yes
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_cxx_try_compile
"$LINENO"; then :
4951 ac_cv_prog_cxx_g
=yes
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4965 if ac_fn_cxx_try_compile
"$LINENO"; then :
4968 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4981 if ac_fn_cxx_try_compile
"$LINENO"; then :
4982 ac_cv_prog_cxx_g
=yes
4984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4992 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4993 if test "$ac_test_CXXFLAGS" = set; then
4994 CXXFLAGS
=$ac_save_CXXFLAGS
4995 elif test $ac_cv_prog_cxx_g = yes; then
4996 if test "$GXX" = yes; then
5002 if test "$GXX" = yes; then
5009 ac_cpp
='$CPP $CPPFLAGS'
5010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5015 # We must set the default linker to the linker used by gcc for the correct
5016 # operation of libtool. If LD is not defined and we are using gcc, try to
5017 # set the LD default to the ld used by gcc.
5018 if test -z "$LD"; then
5019 if test "$GCC" = yes; then
5022 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5024 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5026 case $gcc_prog_ld in
5027 # Accept absolute paths.
5028 [\\/]* |
[A-Za-z
]:[\\/]*)
5029 LD
="$gcc_prog_ld" ;;
5034 # Check whether -static-libstdc++ -static-libgcc is supported.
5036 if test "$GCC" = yes; then
5037 saved_LDFLAGS
="$LDFLAGS"
5039 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5041 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5043 ac_cpp
='$CXXCPP $CPPFLAGS'
5044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5052 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5053 #error -static-libstdc++ not implemented
5057 if ac_fn_cxx_try_link
"$LINENO"; then :
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5059 $as_echo "yes" >&6; }; have_static_libs
=yes
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5064 rm -f core conftest.err conftest.
$ac_objext \
5065 conftest
$ac_exeext conftest.
$ac_ext
5067 ac_cpp
='$CPP $CPPFLAGS'
5068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5073 LDFLAGS
="$saved_LDFLAGS"
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5081 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$GNATBIND"; then
5088 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 GNATBIND
=$ac_cv_prog_GNATBIND
5108 if test -n "$GNATBIND"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5110 $as_echo "$GNATBIND" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_GNATBIND"; then
5119 ac_ct_GNATBIND
=$GNATBIND
5120 # Extract the first word of "gnatbind", so it can be a program name with args.
5121 set dummy gnatbind
; ac_word
=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$ac_ct_GNATBIND"; then
5128 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5148 if test -n "$ac_ct_GNATBIND"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5150 $as_echo "$ac_ct_GNATBIND" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_GNATBIND" = x
; then
5159 case $cross_compiling:$ac_tool_warned in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned
=yes ;;
5165 GNATBIND
=$ac_ct_GNATBIND
5168 GNATBIND
="$ac_cv_prog_GNATBIND"
5171 if test -n "$ac_tool_prefix"; then
5172 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5173 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$GNATMAKE"; then
5180 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 GNATMAKE
=$ac_cv_prog_GNATMAKE
5200 if test -n "$GNATMAKE"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5202 $as_echo "$GNATMAKE" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5210 if test -z "$ac_cv_prog_GNATMAKE"; then
5211 ac_ct_GNATMAKE
=$GNATMAKE
5212 # Extract the first word of "gnatmake", so it can be a program name with args.
5213 set dummy gnatmake
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$ac_ct_GNATMAKE"; then
5220 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5240 if test -n "$ac_ct_GNATMAKE"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5242 $as_echo "$ac_ct_GNATMAKE" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5248 if test "x$ac_ct_GNATMAKE" = x
; then
5251 case $cross_compiling:$ac_tool_warned in
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned
=yes ;;
5257 GNATMAKE
=$ac_ct_GNATMAKE
5260 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5264 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5265 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5268 cat >conftest.adb
<<EOF
5269 procedure conftest is begin null; end conftest;
5271 acx_cv_cc_gcc_supports_ada
=no
5272 # There is a bug in old released versions of GCC which causes the
5273 # driver to exit successfully when the appropriate language module
5274 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5275 # Therefore we must check for the error message as well as an
5276 # unsuccessful exit.
5277 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5278 # given a .adb file, but produce no object file. So we must check
5279 # if an object file was really produced to guard against this.
5280 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5281 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5282 acx_cv_cc_gcc_supports_ada
=yes
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5287 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5289 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5296 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5297 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5302 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5303 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5304 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5307 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5310 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5311 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5314 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5321 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5322 do_compare
="$gcc_cv_prog_cmp_skip"
5326 # Check whether --enable-bootstrap was given.
5327 if test "${enable_bootstrap+set}" = set; then :
5328 enableval
=$enable_bootstrap;
5330 enable_bootstrap
=default
5334 # Issue errors and warnings for invalid/strange bootstrap combinations.
5335 if test -r $srcdir/gcc
/configure
; then
5341 case "$have_compiler:$host:$target:$enable_bootstrap" in
5344 # Default behavior. Enable bootstrap if we have a compiler
5345 # and we are in a native configuration.
5346 yes:$build:$build:default
)
5347 enable_bootstrap
=yes ;;
5350 enable_bootstrap
=no
;;
5352 # We have a compiler and we are in a native configuration, bootstrap is ok
5353 yes:$build:$build:yes)
5356 # Other configurations, but we have a compiler. Assume the user knows
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5360 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5363 # No compiler: if they passed --enable-bootstrap explicitly, fail
5365 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5367 # Fail if wrong command line
5369 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5373 # Used for setting $lt_cv_objdir
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5375 $as_echo_n "checking for objdir... " >&6; }
5376 if test "${lt_cv_objdir+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5379 rm -f .libs
2>/dev
/null
5380 mkdir .libs
2>/dev
/null
5381 if test -d .libs
; then
5384 # MS-DOS does not allow filenames that begin with a dot.
5387 rmdir .libs
2>/dev
/null
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5390 $as_echo "$lt_cv_objdir" >&6; }
5391 objdir
=$lt_cv_objdir
5397 cat >>confdefs.h
<<_ACEOF
5398 #define LT_OBJDIR "$lt_cv_objdir/"
5403 # Check for GMP, MPFR and MPC
5404 gmplibs
="-lmpc -lmpfr -lgmp"
5408 # Specify a location for mpc
5409 # check for this first so it ends up on the link line before mpfr.
5411 # Check whether --with-mpc was given.
5412 if test "${with_mpc+set}" = set; then :
5417 # Check whether --with-mpc-include was given.
5418 if test "${with_mpc_include+set}" = set; then :
5419 withval
=$with_mpc_include;
5423 # Check whether --with-mpc-lib was given.
5424 if test "${with_mpc_lib+set}" = set; then :
5425 withval
=$with_mpc_lib;
5429 if test "x$with_mpc" != x
; then
5430 gmplibs
="-L$with_mpc/lib $gmplibs"
5431 gmpinc
="-I$with_mpc/include $gmpinc"
5433 if test "x$with_mpc_include" != x
; then
5434 gmpinc
="-I$with_mpc_include $gmpinc"
5436 if test "x$with_mpc_lib" != x
; then
5437 gmplibs
="-L$with_mpc_lib $gmplibs"
5439 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5440 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5441 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5442 # Do not test the mpc version. Assume that it is sufficient, since
5443 # it is in the source tree, and the library has not been built yet
5444 # but it would be included on the link line in the version check below
5445 # hence making the test fail.
5449 # Specify a location for mpfr
5450 # check for this first so it ends up on the link line before gmp.
5452 # Check whether --with-mpfr-dir was given.
5453 if test "${with_mpfr_dir+set}" = set; then :
5454 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5455 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5460 # Check whether --with-mpfr was given.
5461 if test "${with_mpfr+set}" = set; then :
5466 # Check whether --with-mpfr-include was given.
5467 if test "${with_mpfr_include+set}" = set; then :
5468 withval
=$with_mpfr_include;
5472 # Check whether --with-mpfr-lib was given.
5473 if test "${with_mpfr_lib+set}" = set; then :
5474 withval
=$with_mpfr_lib;
5478 if test "x$with_mpfr" != x
; then
5479 gmplibs
="-L$with_mpfr/lib $gmplibs"
5480 gmpinc
="-I$with_mpfr/include $gmpinc"
5482 if test "x$with_mpfr_include" != x
; then
5483 gmpinc
="-I$with_mpfr_include $gmpinc"
5485 if test "x$with_mpfr_lib" != x
; then
5486 gmplibs
="-L$with_mpfr_lib $gmplibs"
5488 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5489 # MPFR v3.1.0 moved the sources into a src sub-directory.
5490 if test -d ${srcdir}/mpfr
/src
; then
5491 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5492 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5493 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5495 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5496 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5497 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5499 # Do not test the mpfr version. Assume that it is sufficient, since
5500 # it is in the source tree, and the library has not been built yet
5501 # but it would be included on the link line in the version check below
5502 # hence making the test fail.
5506 # Specify a location for gmp
5508 # Check whether --with-gmp-dir was given.
5509 if test "${with_gmp_dir+set}" = set; then :
5510 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5511 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5516 # Check whether --with-gmp was given.
5517 if test "${with_gmp+set}" = set; then :
5522 # Check whether --with-gmp-include was given.
5523 if test "${with_gmp_include+set}" = set; then :
5524 withval
=$with_gmp_include;
5528 # Check whether --with-gmp-lib was given.
5529 if test "${with_gmp_lib+set}" = set; then :
5530 withval
=$with_gmp_lib;
5535 if test "x$with_gmp" != x
; then
5536 gmplibs
="-L$with_gmp/lib $gmplibs"
5537 gmpinc
="-I$with_gmp/include $gmpinc"
5539 if test "x$with_gmp_include" != x
; then
5540 gmpinc
="-I$with_gmp_include $gmpinc"
5542 if test "x$with_gmp_lib" != x
; then
5543 gmplibs
="-L$with_gmp_lib $gmplibs"
5545 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5546 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5547 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5548 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5549 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5550 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5551 # Do not test the gmp version. Assume that it is sufficient, since
5552 # it is in the source tree, and the library has not been built yet
5553 # but it would be included on the link line in the version check below
5554 # hence making the test fail.
5558 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5560 saved_CFLAGS
="$CFLAGS"
5561 CFLAGS
="$CFLAGS $gmpinc"
5562 # Check for the recommended and required versions of GMP.
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5564 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5573 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5574 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5575 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5583 if ac_fn_c_try_compile
"$LINENO"; then :
5584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5591 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5592 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5593 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5601 if ac_fn_c_try_compile
"$LINENO"; then :
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5603 $as_echo "yes" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5606 $as_echo "buggy but acceptable" >&6; }
5608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }; have_gmp
=no
5613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5615 # If we have GMP, check the MPFR version.
5616 if test x
"$have_gmp" = xyes
; then
5617 # Check for the recommended and required versions of MPFR.
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5619 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5628 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5636 if ac_fn_c_try_compile
"$LINENO"; then :
5637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5638 /* end confdefs.h. */
5645 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5653 if ac_fn_c_try_compile
"$LINENO"; then :
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5655 $as_echo "yes" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5658 $as_echo "buggy but acceptable" >&6; }
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }; have_gmp
=no
5665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5668 # Check for the MPC header version.
5669 if test x
"$have_gmp" = xyes
; then
5670 # Check for the recommended and required versions of MPC.
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5672 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5680 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5688 if ac_fn_c_try_compile
"$LINENO"; then :
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5696 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5704 if ac_fn_c_try_compile
"$LINENO"; then :
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5706 $as_echo "yes" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5709 $as_echo "buggy but acceptable" >&6; }
5711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }; have_gmp
=no
5716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5719 # Now check the MPFR library.
5720 if test x
"$have_gmp" = xyes
; then
5722 LIBS
="$LIBS $gmplibs"
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5724 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5738 mpfr_atan2 (n, n, x, GMP_RNDN);
5739 mpfr_erfc (n, x, GMP_RNDN);
5740 mpfr_subnormalize (x, t, GMP_RNDN);
5744 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5745 mpc_cosh (c, c, MPC_RNDNN);
5746 mpc_pow (c, c, c, MPC_RNDNN);
5747 mpc_acosh (c, c, MPC_RNDNN);
5754 if ac_fn_c_try_link
"$LINENO"; then :
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }; have_gmp
=no
5761 rm -f core conftest.err conftest.
$ac_objext \
5762 conftest
$ac_exeext conftest.
$ac_ext
5766 CFLAGS
="$saved_CFLAGS"
5768 # The library versions listed in the error message below should match
5769 # the HARD-minimums enforced above.
5770 if test x
$have_gmp != xyes
; then
5771 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5772 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5773 their locations. Source code for these libraries can be found at
5774 their respective hosting sites as well as at
5775 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5776 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5777 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5778 make sure that you have installed both the libraries and the header
5779 files. They may be located in separate packages." "$LINENO" 5
5783 # Flags needed for both GMP, MPFR and/or MPC.
5791 # Allow host libstdc++ to be specified for static linking with PPL.
5793 # Check whether --with-host-libstdcxx was given.
5794 if test "${with_host_libstdcxx+set}" = set; then :
5795 withval
=$with_host_libstdcxx;
5799 case $with_host_libstdcxx in
5801 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5805 # Libraries to use for stage1 or when not bootstrapping.
5807 # Check whether --with-stage1-libs was given.
5808 if test "${with_stage1_libs+set}" = set; then :
5809 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5812 stage1_libs
=$withval
5815 stage1_libs
=$with_host_libstdcxx
5820 # Linker flags to use for stage1 or when not bootstrapping.
5822 # Check whether --with-stage1-ldflags was given.
5823 if test "${with_stage1_ldflags+set}" = set; then :
5824 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5827 stage1_ldflags
=$withval
5831 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5832 # if supported. But if the user explicitly specified the libraries to use,
5833 # trust that they are doing what they want.
5834 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5835 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5841 # Libraries to use for stage2 and later builds. This defaults to the
5842 # argument passed to --with-host-libstdcxx.
5844 # Check whether --with-boot-libs was given.
5845 if test "${with_boot_libs+set}" = set; then :
5846 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5849 poststage1_libs
=$withval
5852 poststage1_libs
=$with_host_libstdcxx
5857 # Linker flags to use for stage2 and later builds.
5859 # Check whether --with-boot-ldflags was given.
5860 if test "${with_boot_ldflags+set}" = set; then :
5861 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5864 poststage1_ldflags
=$withval
5868 # In stages 2 and 3, default to linking libstdc++ and libgcc
5869 # statically. But if the user explicitly specified the libraries to
5870 # use, trust that they are doing what they want.
5871 if test "$poststage1_libs" = ""; then
5872 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5878 # GCC GRAPHITE dependency ISL.
5879 # Basic setup is inlined here, actual checks are in config/isl.m4
5882 # Check whether --with-isl was given.
5883 if test "${with_isl+set}" = set; then :
5888 # Treat --without-isl as a request to disable
5889 # GRAPHITE support and skip all following checks.
5890 if test "x$with_isl" != "xno"; then
5894 # Check whether --with-isl-include was given.
5895 if test "${with_isl_include+set}" = set; then :
5896 withval
=$with_isl_include;
5900 # Check whether --with-isl-lib was given.
5901 if test "${with_isl_lib+set}" = set; then :
5902 withval
=$with_isl_lib;
5906 # Check whether --enable-isl-version-check was given.
5907 if test "${enable_isl_version_check+set}" = set; then :
5908 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5910 ENABLE_ISL_CHECK
=yes
5914 # Initialize isllibs and islinc.
5923 isllibs
="-L$with_isl/lib"
5924 islinc
="-I$with_isl/include"
5927 if test "x${with_isl_include}" != x
; then
5928 islinc
="-I$with_isl_include"
5930 if test "x${with_isl_lib}" != x
; then
5931 isllibs
="-L$with_isl_lib"
5933 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5934 && test -d ${srcdir}/isl
; then
5935 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5936 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5939 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5942 isllibs
="${isllibs} -lisl"
5946 if test "${ENABLE_ISL_CHECK}" = yes ; then
5947 _isl_saved_CFLAGS
=$CFLAGS
5948 _isl_saved_LDFLAGS
=$LDFLAGS
5949 _isl_saved_LIBS
=$LIBS
5951 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5952 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5953 LIBS
="${_isl_saved_LIBS} -lisl"
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5956 $as_echo_n "checking for compatible ISL... " >&6; }
5957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5959 #include <isl/val.h>
5968 if ac_fn_c_try_link
"$LINENO"; then :
5973 rm -f core conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5976 $as_echo "$gcc_cv_isl" >&6; }
5978 CFLAGS
=$_isl_saved_CFLAGS
5979 LDFLAGS
=$_isl_saved_LDFLAGS
5980 LIBS
=$_isl_saved_LIBS
5988 if test "x${with_isl}" = xno
; then
5989 graphite_requested
=no
5990 elif test "x${with_isl}" != x \
5991 ||
test "x${with_isl_include}" != x \
5992 ||
test "x${with_isl_lib}" != x
; then
5993 graphite_requested
=yes
5995 graphite_requested
=no
6000 if test "${gcc_cv_isl}" = no
; then
6005 if test "${graphite_requested}" = yes \
6006 && test "x${isllibs}" = x \
6007 && test "x${islinc}" = x
; then
6009 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6015 # If the ISL check failed, disable builds of in-tree variant of ISL
6016 if test "x$with_isl" = xno ||
6017 test "x$gcc_cv_isl" = xno
; then
6018 noconfigdirs
="$noconfigdirs isl"
6025 # Check for LTO support.
6026 # Check whether --enable-lto was given.
6027 if test "${enable_lto+set}" = set; then :
6028 enableval
=$enable_lto; enable_lto
=$enableval
6030 enable_lto
=yes; default_enable_lto
=yes
6039 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6040 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6041 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6049 if test $target_elf = yes; then :
6050 # ELF platforms build the lto-plugin always.
6051 build_lto_plugin
=yes
6054 if test x
"$default_enable_lto" = x
"yes" ; then
6056 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6057 # On other non-ELF platforms, LTO has yet to be validated.
6061 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6062 # It would also be nice to check the binutils support, but we don't
6063 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6064 # warn during gcc/ subconfigure; unless you're bootstrapping with
6065 # -flto it won't be needed until after installation anyway.
6067 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6068 *) if test x
"$enable_lto" = x
"yes"; then
6069 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6074 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6075 # Build it unless LTO was explicitly disabled.
6077 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6084 # Check whether --enable-linker-plugin-configure-flags was given.
6085 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6086 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6088 extra_linker_plugin_configure_flags
=
6092 # Check whether --enable-linker-plugin-flags was given.
6093 if test "${enable_linker_plugin_flags+set}" = set; then :
6094 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6096 extra_linker_plugin_flags
=
6102 # By default, C and C++ are the only stage 1 languages.
6103 stage1_languages
=,c
,
6105 # Target libraries that we bootstrap.
6106 bootstrap_target_libs
=,target-libgcc
,
6108 # Figure out what language subdirectories are present.
6109 # Look if the user specified --enable-languages="..."; if not, use
6110 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6112 # NB: embedded tabs in this IF block -- do not untabify
6113 if test -d ${srcdir}/gcc
; then
6114 if test x
"${enable_languages+set}" != xset
; then
6115 if test x
"${LANGUAGES+set}" = xset
; then
6116 enable_languages
="${LANGUAGES}"
6117 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6119 enable_languages
=all
6122 if test x
"${enable_languages}" = x ||
6123 test x
"${enable_languages}" = xyes
;
6125 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6129 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6131 # 'f95' is the old name for the 'fortran' language. We issue a warning
6132 # and make the substitution.
6133 case ,${enable_languages}, in
6135 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6136 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6140 # If bootstrapping, C++ must be enabled.
6141 case ",$enable_languages,:$enable_bootstrap" in
6144 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6145 enable_languages
="${enable_languages},c++"
6147 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6152 # First scan to see if an enabled language requires some other language.
6153 # We assume that a given config-lang.in will list all the language
6154 # front ends it requires, even if some are required indirectly.
6155 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6156 case ${lang_frag} in
6158 # The odd quoting in the next line works around
6159 # an apparent bug in bash 1.12 on linux.
6160 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6162 # From the config-lang.in, get $language, $lang_requires, and
6163 # $lang_requires_boot_languages.
6166 lang_requires_boot_languages
=
6168 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6169 case ,${enable_languages}, in
6173 echo " \`$other' language required by \`$language'; enabling" 1>&2
6174 enable_languages
="${enable_languages},${other}"
6178 for other
in ${lang_requires_boot_languages} ; do
6179 if test "$other" != "c"; then
6180 case ,${enable_stage1_languages}, in
6184 case ,${enable_languages}, in
6186 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6187 enable_stage1_languages
="$enable_stage1_languages,${other}"
6198 new_enable_languages
=,c
,
6200 # If LTO is enabled, add the LTO front end.
6201 if test "$enable_lto" = "yes" ; then
6202 case ,${enable_languages}, in
6204 *) enable_languages
="${enable_languages},lto" ;;
6206 if test "${build_lto_plugin}" = "yes" ; then
6207 configdirs
="$configdirs lto-plugin"
6211 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6212 potential_languages
=,c
,
6214 enabled_target_libs
=
6215 disabled_target_libs
=
6217 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6218 case ${lang_frag} in
6220 # The odd quoting in the next line works around
6221 # an apparent bug in bash 1.12 on linux.
6222 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6224 # From the config-lang.in, get $language, $target_libs,
6225 # $lang_dirs, $boot_language, and $build_by_default
6231 build_by_default
=yes
6233 if test x
${language} = x
; then
6234 echo "${lang_frag} doesn't set \$language." 1>&2
6238 if test "$language" = "c++"; then
6243 case ,${enable_languages}, in
6245 # Language was explicitly selected; include it
6246 # unless it is C, which is enabled by default.
6247 if test "$language" != "c"; then
6252 # 'all' was selected, select it if it is a default language
6253 if test "$language" != "c"; then
6254 add_this_lang
=${build_by_default}
6259 # Disable languages that need other directories if these aren't available.
6260 for i
in $subdir_requires; do
6261 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6262 case ,${enable_languages}, in
6264 # Specifically requested language; tell them.
6265 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6269 add_this_lang
=unsupported
6274 # Disable Ada if no preexisting GNAT is available.
6275 case ,${enable_languages},:${language}:${have_gnat} in
6276 *,${language},*:ada
:no
)
6277 # Specifically requested language; tell them.
6278 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6282 add_this_lang
=unsupported
6286 # Disable a language that is unsupported by the target.
6287 case " $unsupported_languages " in
6289 add_this_lang
=unsupported
6293 case $add_this_lang in
6295 # Remove language-dependent dirs.
6296 disabled_target_libs
="$disabled_target_libs $target_libs"
6297 noconfigdirs
="$noconfigdirs $lang_dirs"
6300 # Remove language-dependent dirs; still show language as supported.
6301 disabled_target_libs
="$disabled_target_libs $target_libs"
6302 noconfigdirs
="$noconfigdirs $lang_dirs"
6303 potential_languages
="${potential_languages}${language},"
6306 new_enable_languages
="${new_enable_languages}${language},"
6307 potential_languages
="${potential_languages}${language},"
6308 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6309 enabled_target_libs
="$enabled_target_libs $target_libs"
6310 case "${boot_language}:,$enable_stage1_languages," in
6311 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6312 # Add to (comma-separated) list of stage 1 languages.
6313 case ",$stage1_languages," in
6314 *,$language,* |
,yes, |
,all
,) ;;
6315 *) stage1_languages
="${stage1_languages}${language}," ;;
6317 # We need to bootstrap any supporting libraries.
6318 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6327 # Add target libraries which are only needed for disabled languages
6329 if test -n "$disabled_target_libs"; then
6330 for dir
in $disabled_target_libs; do
6331 case " $enabled_target_libs " in
6333 *) noconfigdirs
="$noconfigdirs $dir" ;;
6338 # Check whether --enable-stage1-languages was given.
6339 if test "${enable_stage1_languages+set}" = set; then :
6340 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6342 # Set it to something that will have no effect in the loop below
6343 enable_stage1_languages
=c
;;
6345 enable_stage1_languages
=`echo $new_enable_languages | \
6346 sed -e "s/^,//" -e "s/,$//" ` ;;
6348 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6349 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6352 # Add "good" languages from enable_stage1_languages to stage1_languages,
6353 # while "bad" languages go in missing_languages. Leave no duplicates.
6354 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6355 case $potential_languages in
6357 case $stage1_languages in
6359 *) stage1_languages
="$stage1_languages$i," ;;
6362 case $missing_languages in
6364 *) missing_languages
="$missing_languages$i," ;;
6371 # Remove leading/trailing commas that were added for simplicity
6372 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6373 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6374 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6375 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6377 if test "x$missing_languages" != x
; then
6379 The following requested languages could not be built: ${missing_languages}
6380 Supported languages are: ${potential_languages}" "$LINENO" 5
6382 if test "x$new_enable_languages" != "x$enable_languages"; then
6383 echo The following languages will be built
: ${new_enable_languages}
6384 enable_languages
="$new_enable_languages"
6388 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6391 # Handle --disable-<component> generically.
6392 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6393 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6394 varname
=`echo $dirname | sed -e s/+/_/g`
6395 if eval test x\
${enable_${varname}} "=" xno
; then
6396 noconfigdirs
="$noconfigdirs $dir"
6400 # Check for Boehm's garbage collector
6401 # Check whether --enable-objc-gc was given.
6402 if test "${enable_objc_gc+set}" = set; then :
6403 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6404 *,objc
,*:*:yes:*target-boehm-gc
*)
6405 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6411 # Make sure we only build Boehm's garbage collector if required.
6412 case ,${enable_languages},:${enable_objc_gc} in
6414 # Keep target-boehm-gc if requested for Objective-C.
6417 # Otherwise remove target-boehm-gc depending on target-libjava.
6418 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6419 noconfigdirs
="$noconfigdirs target-boehm-gc"
6424 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6425 case ,${enable_languages}, in
6427 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6428 case "${noconfigdirs}" in
6429 *target-libstdc
++-v3*)
6430 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6436 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6440 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6441 # $build_configdirs and $target_configdirs.
6442 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6445 for dir
in .
$skipdirs $noconfigdirs ; do
6446 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6447 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6448 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6449 if test -r $srcdir/$dirname/configure
; then
6450 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6453 notsupp
="$notsupp $dir"
6457 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6458 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6459 if test -r $srcdir/$dirname/configure
; then
6460 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6463 notsupp
="$notsupp $dir"
6467 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6468 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6469 if test -r $srcdir/$dirname/configure
; then
6470 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6473 notsupp
="$notsupp $dir"
6479 # Quietly strip out all directories which aren't configurable in this tree.
6480 # This relies on all configurable subdirectories being autoconfiscated, which
6482 build_configdirs_all
="$build_configdirs"
6484 for i
in ${build_configdirs_all} ; do
6485 j
=`echo $i | sed -e s/build-//g`
6486 if test -f ${srcdir}/$j/configure
; then
6487 build_configdirs
="${build_configdirs} $i"
6491 configdirs_all
="$configdirs"
6493 for i
in ${configdirs_all} ; do
6494 if test -f ${srcdir}/$i/configure
; then
6495 configdirs
="${configdirs} $i"
6499 target_configdirs_all
="$target_configdirs"
6501 for i
in ${target_configdirs_all} ; do
6502 j
=`echo $i | sed -e s/target-//g`
6503 if test -f ${srcdir}/$j/configure
; then
6504 target_configdirs
="${target_configdirs} $i"
6508 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6509 # so we have to add it after the preceding checks.
6510 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6512 case " $configdirs " in
6514 # If we can build libiberty, we can also build libiberty-linker-plugin.
6515 configdirs
="$configdirs libiberty-linker-plugin"
6516 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6517 --with-libiberty=../libiberty-linker-plugin";;
6519 as_fn_error
"libiberty missing" "$LINENO" 5;;
6523 # Sometimes we have special requirements for the host libiberty.
6524 extra_host_libiberty_configure_flags
=
6525 case " $configdirs " in
6526 *" lto-plugin "* |
*" libcc1 "*)
6527 # When these are to be built as shared libraries, the same applies to
6529 extra_host_libiberty_configure_flags
=--enable-shared
6534 # Produce a warning message for the subdirs we can't configure.
6535 # This isn't especially interesting in the Cygnus tree, but in the individual
6536 # FSF releases, it's important to let people know when their machine isn't
6537 # supported by the one or two programs in a package.
6539 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6540 # If $appdirs is non-empty, at least one of those directories must still
6541 # be configured, or we error out. (E.g., if the gas release supports a
6542 # specified target in some subdirs but not the gas subdir, we shouldn't
6543 # pretend that all is well.)
6544 if test -n "$appdirs" ; then
6545 for dir
in $appdirs ; do
6546 if test -r $dir/Makefile.
in ; then
6547 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6551 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6557 if test -n "$appdirs" ; then
6558 echo "*** This configuration is not supported by this package." 1>&2
6562 # Okay, some application will build, or we don't care to check. Still
6563 # notify of subdirs not getting built.
6564 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6565 echo " ${notsupp}" 1>&2
6566 echo " (Any other directories should still work fine.)" 1>&2
6574 # To find our prefix, in gcc_cv_tool_prefix.
6576 # The user is always right.
6577 if test "${PATH_SEPARATOR+set}" != set; then
6578 echo "#! /bin/sh" >conf$$.sh
6579 echo "exit 0" >>conf$$.sh
6581 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6591 if test "x$exec_prefix" = xNONE
; then
6592 if test "x$prefix" = xNONE
; then
6593 gcc_cv_tool_prefix
=$ac_default_prefix
6595 gcc_cv_tool_prefix
=$prefix
6598 gcc_cv_tool_prefix
=$exec_prefix
6601 # If there is no compiler in the tree, use the PATH only. In any
6602 # case, if there is no compiler in the tree nobody should use
6603 # AS_FOR_TARGET and LD_FOR_TARGET.
6604 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6605 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6606 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6607 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6608 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6609 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6610 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6611 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6616 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6617 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6625 # Check whether --with-build-sysroot was given.
6626 if test "${with_build_sysroot+set}" = set; then :
6627 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6628 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6631 SYSROOT_CFLAGS_FOR_TARGET
=
6637 # Check whether --with-debug-prefix-map was given.
6638 if test "${with_debug_prefix_map+set}" = set; then :
6639 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6641 for debug_map
in $withval; do
6642 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6646 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6651 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6652 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6653 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6654 # We want to ensure that TARGET libraries (which we know are built with
6655 # gcc) are built with "-O2 -g", so include those options when setting
6656 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6657 if test "x$CFLAGS_FOR_TARGET" = x
; then
6658 CFLAGS_FOR_TARGET
=$CFLAGS
6661 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6664 *" -g "* |
*" -g3 "*) ;;
6665 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6670 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6671 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6672 case " $CXXFLAGS " in
6674 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6676 case " $CXXFLAGS " in
6677 *" -g "* |
*" -g3 "*) ;;
6678 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6685 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6686 # the named directory are copied to $(tooldir)/sys-include.
6687 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6688 if test x
${is_cross_compiler} = xno
; then
6689 echo 1>&2 '***' --with-headers is only supported when cross compiling
6692 if test x
"${with_headers}" != xyes
; then
6693 x
=${gcc_cv_tool_prefix}
6694 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6698 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6699 # the name directories are copied to $(tooldir)/lib. Multiple directories
6701 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6702 if test x
${is_cross_compiler} = xno
; then
6703 echo 1>&2 '***' --with-libs is only supported when cross compiling
6706 if test x
"${with_libs}" != xyes
; then
6707 # Copy the libraries in reverse order, so that files in the first named
6708 # library override files in subsequent libraries.
6709 x
=${gcc_cv_tool_prefix}
6710 for l
in ${with_libs}; do
6711 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6716 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6718 # This is done by determining whether or not the appropriate directory
6719 # is available, and by checking whether or not specific configurations
6720 # have requested that this magic not happen.
6722 # The command line options always override the explicit settings in
6723 # configure.in, and the settings in configure.in override this magic.
6725 # If the default for a toolchain is to use GNU as and ld, and you don't
6726 # want to do that, then you should use the --without-gnu-as and
6727 # --without-gnu-ld options for the configure script. Similarly, if
6728 # the default is to use the included zlib and you don't want to do that,
6729 # you should use the --with-system-zlib option for the configure script.
6731 if test x
${use_gnu_as} = x
&&
6732 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6734 extra_host_args
="$extra_host_args --with-gnu-as"
6737 if test x
${use_gnu_ld} = x
&&
6738 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6740 extra_host_args
="$extra_host_args --with-gnu-ld"
6743 if test x
${use_included_zlib} = x
&&
6744 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6747 with_system_zlib
=yes
6748 extra_host_args
="$extra_host_args --with-system-zlib"
6751 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6752 # can detect this case.
6754 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6756 extra_host_args
="$extra_host_args --with-newlib"
6759 # Handle ${copy_dirs}
6760 set fnord
${copy_dirs}
6762 while test $# != 0 ; do
6763 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6766 echo Copying
$1 to
$2
6768 # Use the install script to create the directory and all required
6769 # parent directories.
6770 if test -d $2 ; then
6774 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6777 # Copy the directory, assuming we have tar.
6778 # FIXME: Should we use B in the second tar? Not all systems support it.
6779 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6781 # It is the responsibility of the user to correctly adjust all
6782 # symlinks. If somebody can figure out how to handle them correctly
6783 # here, feel free to add the code.
6790 # Determine a target-dependent exec_prefix that the installed
6791 # gcc will search in. Keep this list sorted by triplet, with
6792 # the *-*-osname triplets last.
6795 i
[34567]86-pc-msdosdjgpp*)
6796 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6801 md_exec_prefix
=/usr
/ccs
/bin
6805 extra_arflags_for_target
=
6806 extra_nmflags_for_target
=
6807 extra_ranlibflags_for_target
=
6808 target_makefile_frag
=/dev
/null
6811 target_makefile_frag
="config/mt-spu"
6813 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6814 target_makefile_frag
="config/mt-sde"
6816 mipsisa
*-*-elfoabi*)
6817 target_makefile_frag
="config/mt-mips-elfoabi"
6819 mips
*-*-*linux
* | mips
*-*-gnu*)
6820 target_makefile_frag
="config/mt-mips-gnu"
6823 target_makefile_frag
="config/mt-nios2-elf"
6825 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6826 target_makefile_frag
="config/mt-gnu"
6828 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6829 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6830 # commands to handle both 32-bit and 64-bit objects. These flags are
6831 # harmless if we're using GNU nm or ar.
6832 extra_arflags_for_target
=" -X32_64"
6833 extra_nmflags_for_target
=" -B -X32_64"
6837 alphaieee_frag
=/dev
/null
6840 # This just makes sure to use the -mieee option to build target libs.
6841 # This should probably be set individually by each library.
6842 alphaieee_frag
="config/mt-alphaieee"
6846 # If --enable-target-optspace always use -Os instead of -O2 to build
6847 # the target libraries, similarly if it is not specified, use -Os
6848 # on selected platforms.
6849 ospace_frag
=/dev
/null
6850 case "${enable_target_optspace}:${target}" in
6852 ospace_frag
="config/mt-ospace"
6855 ospace_frag
="config/mt-d30v"
6857 :m32r-
* |
:d10v-
* |
:fr30-
*)
6858 ospace_frag
="config/mt-ospace"
6863 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6867 # Some systems (e.g., one of the i386-aix systems the gas testers are
6868 # using) don't handle "\$" correctly, so don't use it here.
6869 tooldir
='${exec_prefix}'/${target_noncanonical}
6870 build_tooldir
=${tooldir}
6872 # Create a .gdbinit file which runs the one in srcdir
6873 # and tells GDB to look there for source files.
6875 if test -r ${srcdir}/.gdbinit
; then
6878 *) cat > .
/.gdbinit
<<EOF
6882 source ${srcdir}/.gdbinit
6888 # Make sure that the compiler is able to generate an executable. If it
6889 # can't, we are probably in trouble. We don't care whether we can run the
6890 # executable--we might be using a cross compiler--we only care whether it
6891 # can be created. At this point the main configure script has set CC.
6893 echo "int main () { return 0; }" > conftest.c
6894 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6895 if test $?
= 0 ; then
6896 if test -s conftest ||
test -s conftest.exe
; then
6902 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6903 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6910 # Decide which environment variable is used to find dynamic libraries.
6912 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6913 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6914 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6915 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6918 # On systems where the dynamic library environment variable is PATH,
6919 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6920 # built executables to PATH.
6921 if test "$RPATH_ENVVAR" = PATH
; then
6922 GCC_SHLIB_SUBDIR
=/shlib
6927 # Adjust the toplevel makefile according to whether bootstrap was selected.
6928 case $enable_bootstrap in
6930 bootstrap_suffix
=bootstrap
6931 BUILD_CONFIG
=bootstrap-debug
6934 bootstrap_suffix
=no-bootstrap
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6940 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6943 # Check whether --with-build-config was given.
6944 if test "${with_build_config+set}" = set; then :
6945 withval
=$with_build_config; case $with_build_config in
6946 yes) with_build_config
= ;;
6947 no
) with_build_config
= BUILD_CONFIG
= ;;
6952 if test "x${with_build_config}" != x
; then
6953 BUILD_CONFIG
=$with_build_config
6955 case $BUILD_CONFIG in
6957 if echo "int f (void) { return 0; }" > conftest.c
&&
6958 ${CC} -c conftest.c
&&
6959 mv conftest.o conftest.o.g0
&&
6960 ${CC} -c -g conftest.c
&&
6961 mv conftest.o conftest.o.g
&&
6962 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6967 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6972 $as_echo "$BUILD_CONFIG" >&6; }
6975 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6977 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6978 # Check whether --enable-vtable-verify was given.
6979 if test "${enable_vtable_verify+set}" = set; then :
6980 enableval
=$enable_vtable_verify; case "$enableval" in
6981 yes) enable_vtable_verify
=yes ;;
6982 no
) enable_vtable_verify
=no
;;
6983 *) enable_vtable_verify
=no
;;
6986 enable_vtable_verify
=no
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6990 $as_echo "$enable_vtable_verify" >&6; }
6992 # Record target_configdirs and the configure arguments for target and
6993 # build configuration in Makefile.
6994 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6995 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6996 bootstrap_fixincludes
=no
6998 # If we are building libgomp, bootstrap it.
6999 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7000 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7003 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7004 # or bootstrap-ubsan, bootstrap it.
7005 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7006 case "$BUILD_CONFIG" in
7007 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7008 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7009 bootstrap_fixincludes
=yes
7014 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7015 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7016 test "$enable_vtable_verify" != no
; then
7017 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7020 # Determine whether gdb needs tk/tcl or not.
7021 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7022 # and in that case we want gdb to be built without tk. Ugh!
7023 # In fact I believe gdb is the *only* package directly dependent on tk,
7024 # so we should be able to put the 'maybe's in unconditionally and
7025 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7026 # 100% sure that that's safe though.
7028 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7029 case "$enable_gdbtk" in
7033 GDB_TK
="${gdb_tk}" ;;
7035 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7036 # distro. Eventually someone will fix this and move Insight, nee
7037 # gdbtk to a separate directory.
7038 if test -d ${srcdir}/gdb
/gdbtk
; then
7045 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7046 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7048 # Strip out unwanted targets.
7050 # While at that, we remove Makefiles if we were started for recursive
7051 # configuration, so that the top-level Makefile reconfigures them,
7052 # like we used to do when configure itself was recursive.
7054 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7055 # but now we're fixing up the Makefile ourselves with the additional
7056 # commands passed to AC_CONFIG_FILES. Use separate variables
7057 # extrasub-{build,host,target} not because there is any reason to split
7058 # the substitutions up that way, but only to remain below the limit of
7059 # 99 commands in a script, for HP-UX sed.
7060 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7062 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7063 yes:yes:*\ gold\
*:*,c
++,*) ;;
7064 yes:yes:*\ gold\
*:*)
7065 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7070 for module
in ${build_configdirs} ; do
7071 if test -z "${no_recursion}" \
7072 && test -f ${build_subdir}/${module}/Makefile
; then
7073 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7074 rm -f ${build_subdir}/${module}/Makefile
7076 extrasub_build
="$extrasub_build
7077 /^@if build-$module\$/d
7078 /^@endif build-$module\$/d
7079 /^@if build-$module-$bootstrap_suffix\$/d
7080 /^@endif build-$module-$bootstrap_suffix\$/d"
7083 for module
in ${configdirs} ; do
7084 if test -z "${no_recursion}"; then
7085 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7086 if test -f ${file}; then
7087 echo 1>&2 "*** removing ${file} to force reconfigure"
7092 case ${module},${bootstrap_fixincludes} in
7093 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7094 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7096 extrasub_host
="$extrasub_host
7098 /^@endif $module\$/d
7099 /^@if $module-$host_bootstrap_suffix\$/d
7100 /^@endif $module-$host_bootstrap_suffix\$/d"
7103 for module
in ${target_configdirs} ; do
7104 if test -z "${no_recursion}" \
7105 && test -f ${target_subdir}/${module}/Makefile
; then
7106 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7107 rm -f ${target_subdir}/${module}/Makefile
7110 # We only bootstrap target libraries listed in bootstrap_target_libs.
7111 case $bootstrap_target_libs in
7112 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7113 *) target_bootstrap_suffix
=no-bootstrap
;;
7116 extrasub_target
="$extrasub_target
7117 /^@if target-$module\$/d
7118 /^@endif target-$module\$/d
7119 /^@if target-$module-$target_bootstrap_suffix\$/d
7120 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7123 # Do the final fixup along with target modules.
7124 extrasub_target
="$extrasub_target
7125 /^@if /,/^@endif /d"
7127 # Create the serialization dependencies. This uses a temporary file.
7129 # Check whether --enable-serial-configure was given.
7130 if test "${enable_serial_configure+set}" = set; then :
7131 enableval
=$enable_serial_configure;
7135 case ${enable_serial_configure} in
7137 enable_serial_build_configure
=yes
7138 enable_serial_host_configure
=yes
7139 enable_serial_target_configure
=yes
7143 # These force 'configure's to be done one at a time, to avoid problems
7144 # with contention over a shared config.cache.
7146 echo '# serdep.tmp' > serdep.tmp
7148 test "x${enable_serial_build_configure}" = xyes
&&
7149 for item
in ${build_configdirs} ; do
7152 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7157 test "x${enable_serial_host_configure}" = xyes
&&
7158 for item
in ${configdirs} ; do
7161 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7166 test "x${enable_serial_target_configure}" = xyes
&&
7167 for item
in ${target_configdirs} ; do
7170 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7174 serialization_dependencies
=serdep.tmp
7177 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7178 # target, nonopt, and variable assignments. These are the ones we
7179 # might not want to pass down to subconfigures. The exception being
7180 # --cache-file=/dev/null, which is used to turn off the use of cache
7181 # files altogether, and which should be passed on to subconfigures.
7182 # Also strip program-prefix, program-suffix, and program-transform-name,
7183 # so that we can pass down a consistent program-transform-name.
7188 eval "set -- $ac_configure_args"
7191 if test X
"$skip_next" = X
"yes"; then
7195 if test X
"$keep_next" = X
"yes"; then
7198 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7200 baseargs
="$baseargs '$ac_arg'"
7201 tbaseargs
="$tbaseargs '$ac_arg'"
7206 # Handle separated arguments. Based on the logic generated by
7209 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7210 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7211 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7212 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7226 --with-* |
--without-*)
7227 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7231 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7234 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7243 mpc | mpfr | gmp | isl
)
7244 # If we're processing --with-$lib, --with-$lib-include or
7245 # --with-$lib-lib, for one of the libs above, and target is
7246 # different from host, don't pass the current argument to any
7247 # target library's configure.
7248 if test x
$is_cross_compiler = xyes
; then
7257 --cache-file=/dev
/null | \
7258 -cache-file=/dev
/null
)
7259 # Handled here to avoid the test to skip args below.
7260 baseargs
="$baseargs '$ac_arg'"
7261 tbaseargs
="$tbaseargs '$ac_arg'"
7262 # Assert: $separate_arg should always be no.
7263 keep_next
=$separate_arg
7279 -program-prefix* | \
7280 -program-suffix* | \
7281 -program-transform-name* )
7282 skip_next
=$separate_arg
7286 # An option. Add it.
7289 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7291 baseargs
="$baseargs '$ac_arg'"
7292 if test X
"$skip_targ" = Xno
; then
7293 tbaseargs
="$tbaseargs '$ac_arg'"
7295 keep_next
=$separate_arg
7298 # Either a variable assignment, or a nonopt (triplet). Don't
7299 # pass it down; let the Makefile handle this.
7304 # Remove the initial space we just introduced and, as these will be
7305 # expanded by make, quote '$'.
7306 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7308 # Add in --program-transform-name, after --program-prefix and
7309 # --program-suffix have been applied to it. Autoconf has already
7310 # doubled dollar signs and backslashes in program_transform_name; we want
7311 # the backslashes un-doubled, and then the entire thing wrapped in single
7312 # quotes, because this will be expanded first by make and then by the shell.
7313 # Also, because we want to override the logic in subdir configure scripts to
7314 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7315 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7316 ${program_transform_name}
7318 gcc_transform_name
=`cat conftestsed.out`
7319 rm -f conftestsed.out
7320 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7321 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7322 if test "$silent" = yes; then
7323 baseargs
="$baseargs --silent"
7324 tbaseargs
="$tbaseargs --silent"
7326 baseargs
="$baseargs --disable-option-checking"
7327 tbaseargs
="$tbaseargs --disable-option-checking"
7329 # Record and document user additions to sub configure arguments.
7334 # For the build-side libraries, we just need to pretend we're native,
7335 # and not use the same cache file. Multilibs are neither needed nor
7336 # desired. We can't even use the same cache file for all build-side
7337 # libraries, as they're compiled differently; some with C, some with
7338 # C++ or with different feature-enabling options.
7339 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7341 # For host modules, accept cache file option, or specification as blank.
7342 case "${cache_file}" in
7344 cache_file_option
="" ;;
7345 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7346 cache_file_option
="--cache-file=${cache_file}" ;;
7348 cache_file_option
="--cache-file=../${cache_file}" ;;
7351 # Host dirs don't like to share a cache file either, horribly enough.
7352 # This seems to be due to autoconf 2.5x stupidity.
7353 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7355 target_configargs
="$target_configargs ${tbaseargs}"
7357 # Passing a --with-cross-host argument lets the target libraries know
7358 # whether they are being built with a cross-compiler or being built
7359 # native. However, it would be better to use other mechanisms to make the
7360 # sorts of decisions they want to make on this basis. Please consider
7361 # this option to be deprecated. FIXME.
7362 if test x
${is_cross_compiler} = xyes
; then
7363 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7366 # Special user-friendly check for native x86_64-linux build, if
7367 # multilib is not explicitly enabled.
7368 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7369 x86_64-
*linux
*:yes:$build:$build:)
7370 # Make sure we have a developement environment that handles 32-bit
7372 echo "int main () { return 0; }" > conftest.c
7373 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7374 if test $?
= 0 ; then
7375 if test -s conftest ||
test -s conftest.exe
; then
7380 if test x
${dev64} != xyes
; then
7381 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
7386 # Default to --enable-multilib.
7387 if test x
${enable_multilib} = x
; then
7388 target_configargs
="--enable-multilib ${target_configargs}"
7391 # Pass --with-newlib if appropriate. Note that target_configdirs has
7392 # changed from the earlier setting of with_newlib.
7393 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7394 target_configargs
="--with-newlib ${target_configargs}"
7397 # Different target subdirs use different values of certain variables
7398 # (notably CXX). Worse, multilibs use *lots* of different values.
7399 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7400 # it doesn't automatically accept command-line overrides of them.
7401 # This means it's not safe for target subdirs to share a cache file,
7402 # which is disgusting, but there you have it. Hopefully this can be
7403 # fixed in future. It's still worthwhile to use a cache file for each
7404 # directory. I think.
7406 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7407 # We need to pass --target, as newer autoconf's requires consistency
7408 # for target_alias and gcc doesn't manage it consistently.
7409 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7412 case " $target_configdirs " in
7414 case " $target_configargs " in
7415 *" --with-newlib "*)
7418 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7422 # If we're not building GCC, don't discard standard headers.
7423 if test -d ${srcdir}/gcc
; then
7424 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7426 if test "${build}" != "${host}"; then
7427 # On Canadian crosses, CC_FOR_TARGET will have already been set
7428 # by `configure', so we won't have an opportunity to add -Bgcc/
7429 # to it. This is right: we don't want to search that directory
7430 # for binaries, but we want the header files in there, so add
7432 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7434 # Someone might think of using the pre-installed headers on
7435 # Canadian crosses, in case the installed compiler is not fully
7436 # compatible with the compiler being built. In this case, it
7437 # would be better to flag an error than risking having
7438 # incompatible object files being constructed. We can't
7439 # guarantee that an error will be flagged, but let's hope the
7440 # compiler will do it, when presented with incompatible header
7445 case "${target}-${is_cross_compiler}" in
7446 i
[3456789]86-*-linux*-no)
7447 # Here host == target, so we don't need to build gcc,
7448 # so we don't want to discard standard headers.
7449 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7452 # If we're building newlib, use its generic headers last, but search
7453 # for any libc-related directories first (so make it the last -B
7455 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7457 # If we're building libgloss, find the startup file, simulator library
7458 # and linker script.
7459 case " $target_configdirs " in
7461 # Look for startup file, simulator library and maybe linker script.
7462 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7463 # Look for libnosys.a in case the target needs it.
7464 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7465 # Most targets have the linker script in the source directory.
7466 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7477 x86_64-
*mingw
* |
*-w64-mingw*)
7478 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7479 # however, use a symlink named 'mingw' in ${prefix} .
7480 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7483 # MinGW can't be handled as Cygwin above since it does not use newlib.
7484 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'
7488 # Allow the user to override the flags for
7489 # our build compiler if desired.
7490 if test x
"${build}" = x
"${host}" ; then
7491 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7492 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7493 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7496 # On Canadian crosses, we'll be searching the right directories for
7497 # the previously-installed cross compiler, so don't bother to add
7498 # flags for directories within the install tree of the compiler
7499 # being built; programs in there won't even run.
7500 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7501 # Search for pre-installed headers if nothing else fits.
7502 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7505 if test "x
${use_gnu_ld}" = x &&
7506 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7507 # Arrange for us to find uninstalled linker scripts.
7508 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7511 # Search for other target-specific linker scripts and such.
7514 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7518 # Makefile fragments.
7519 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7521 eval fragval=\$$frag
7522 if test $fragval != /dev/null; then
7523 eval $frag=${srcdir}/$fragval
7531 # Miscellanea: directories, flags, etc.
7540 # Build module lists & subconfigure args.
7544 # Host module lists & subconfigure args.
7549 # Target module lists & subconfigure args.
7571 # Generate default definitions for YACC, M4, LEX and other programs that run
7572 # on the build machine. These are used if the Makefile can't locate these
7573 # programs in objdir.
7574 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7576 for ac_prog in 'bison -y' byacc yacc
7578 # Extract the first word of "$ac_prog", so it can be a program name with args.
7579 set dummy $ac_prog; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7581 $as_echo_n "checking
for $ac_word...
" >&6; }
7582 if test "${ac_cv_prog_YACC+set}" = set; then :
7583 $as_echo_n "(cached
) " >&6
7585 if test -n "$YACC"; then
7586 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_YACC="$ac_prog"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7605 YACC=$ac_cv_prog_YACC
7606 if test -n "$YACC"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7608 $as_echo "$YACC" >&6; }
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7611 $as_echo "no
" >&6; }
7615 test -n "$YACC" && break
7617 test -n "$YACC" || YACC="$MISSING bison
-y"
7619 case " $build_configdirs " in
7620 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7623 for ac_prog in bison
7625 # Extract the first word of "$ac_prog", so it can be a program name with args.
7626 set dummy $ac_prog; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7628 $as_echo_n "checking
for $ac_word...
" >&6; }
7629 if test "${ac_cv_prog_BISON+set}" = set; then :
7630 $as_echo_n "(cached
) " >&6
7632 if test -n "$BISON"; then
7633 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_BISON="$ac_prog"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7652 BISON=$ac_cv_prog_BISON
7653 if test -n "$BISON"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7655 $as_echo "$BISON" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7658 $as_echo "no
" >&6; }
7662 test -n "$BISON" && break
7664 test -n "$BISON" || BISON="$MISSING bison
"
7666 case " $build_configdirs " in
7667 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7670 for ac_prog in gm4 gnum4 m4
7672 # Extract the first word of "$ac_prog", so it can be a program name with args.
7673 set dummy $ac_prog; ac_word=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7675 $as_echo_n "checking
for $ac_word...
" >&6; }
7676 if test "${ac_cv_prog_M4+set}" = set; then :
7677 $as_echo_n "(cached
) " >&6
7679 if test -n "$M4"; then
7680 ac_cv_prog_M4="$M4" # Let the user override the test.
7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir=.
7687 for ac_exec_ext in '' $ac_executable_extensions; do
7688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7689 ac_cv_prog_M4="$ac_prog"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7700 if test -n "$M4"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7702 $as_echo "$M4" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7705 $as_echo "no
" >&6; }
7709 test -n "$M4" && break
7711 test -n "$M4" || M4="$MISSING m4"
7713 case " $build_configdirs " in
7714 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7717 for ac_prog in flex lex
7719 # Extract the first word of "$ac_prog", so it can be a program name with args.
7720 set dummy $ac_prog; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7722 $as_echo_n "checking
for $ac_word...
" >&6; }
7723 if test "${ac_cv_prog_LEX+set}" = set; then :
7724 $as_echo_n "(cached
) " >&6
7726 if test -n "$LEX"; then
7727 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_prog_LEX="$ac_prog"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7747 if test -n "$LEX"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7749 $as_echo "$LEX" >&6; }
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7752 $as_echo "no
" >&6; }
7756 test -n "$LEX" && break
7758 test -n "$LEX" || LEX="$MISSING flex
"
7760 case " $build_configdirs " in
7761 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7762 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7767 # Extract the first word of "$ac_prog", so it can be a program name with args.
7768 set dummy $ac_prog; ac_word=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7770 $as_echo_n "checking
for $ac_word...
" >&6; }
7771 if test "${ac_cv_prog_FLEX+set}" = set; then :
7772 $as_echo_n "(cached
) " >&6
7774 if test -n "$FLEX"; then
7775 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_prog_FLEX="$ac_prog"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7794 FLEX=$ac_cv_prog_FLEX
7795 if test -n "$FLEX"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7797 $as_echo "$FLEX" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7800 $as_echo "no
" >&6; }
7804 test -n "$FLEX" && break
7806 test -n "$FLEX" || FLEX="$MISSING flex
"
7808 case " $build_configdirs " in
7809 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7812 for ac_prog in makeinfo
7814 # Extract the first word of "$ac_prog", so it can be a program name with args.
7815 set dummy $ac_prog; ac_word=$2
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7817 $as_echo_n "checking
for $ac_word...
" >&6; }
7818 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7819 $as_echo_n "(cached
) " >&6
7821 if test -n "$MAKEINFO"; then
7822 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7831 ac_cv_prog_MAKEINFO="$ac_prog"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7841 MAKEINFO=$ac_cv_prog_MAKEINFO
7842 if test -n "$MAKEINFO"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7844 $as_echo "$MAKEINFO" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7847 $as_echo "no
" >&6; }
7851 test -n "$MAKEINFO" && break
7853 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7855 case " $build_configdirs " in
7856 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7859 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7860 # higher, else we use the "missing
" dummy.
7861 if ${MAKEINFO} --version \
7862 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7865 MAKEINFO="$MISSING makeinfo
"
7871 # FIXME: expect and dejagnu may become build tools?
7873 for ac_prog in expect
7875 # Extract the first word of "$ac_prog", so it can be a program name with args.
7876 set dummy $ac_prog; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7878 $as_echo_n "checking
for $ac_word...
" >&6; }
7879 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7880 $as_echo_n "(cached
) " >&6
7882 if test -n "$EXPECT"; then
7883 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892 ac_cv_prog_EXPECT="$ac_prog"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7902 EXPECT=$ac_cv_prog_EXPECT
7903 if test -n "$EXPECT"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7905 $as_echo "$EXPECT" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7908 $as_echo "no
" >&6; }
7912 test -n "$EXPECT" && break
7914 test -n "$EXPECT" || EXPECT="expect
"
7916 case " $configdirs " in
7918 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7922 for ac_prog in runtest
7924 # Extract the first word of "$ac_prog", so it can be a program name with args.
7925 set dummy $ac_prog; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7927 $as_echo_n "checking
for $ac_word...
" >&6; }
7928 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7931 if test -n "$RUNTEST"; then
7932 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_prog_RUNTEST="$ac_prog"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7951 RUNTEST=$ac_cv_prog_RUNTEST
7952 if test -n "$RUNTEST"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7954 $as_echo "$RUNTEST" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7957 $as_echo "no
" >&6; }
7961 test -n "$RUNTEST" && break
7963 test -n "$RUNTEST" || RUNTEST="runtest
"
7965 case " $configdirs " in
7967 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7974 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7975 ncn_target_tool_prefix=
7976 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7980 if test -n "$AR"; then
7982 elif test -n "$ac_cv_prog_AR"; then
7986 if test -n "$ac_cv_prog_AR"; then
7987 for ncn_progname in ar; do
7988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7989 set dummy ${ncn_progname}; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7991 $as_echo_n "checking
for $ac_word...
" >&6; }
7992 if test "${ac_cv_prog_AR+set}" = set; then :
7993 $as_echo_n "(cached
) " >&6
7995 if test -n "$AR"; then
7996 ac_cv_prog_AR="$AR" # Let the user override the test.
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005 ac_cv_prog_AR="${ncn_progname}"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8016 if test -n "$AR"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8018 $as_echo "$AR" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8021 $as_echo "no
" >&6; }
8028 for ncn_progname in ar; do
8029 if test -n "$ncn_tool_prefix"; then
8030 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8031 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8033 $as_echo_n "checking
for $ac_word...
" >&6; }
8034 if test "${ac_cv_prog_AR+set}" = set; then :
8035 $as_echo_n "(cached
) " >&6
8037 if test -n "$AR"; then
8038 ac_cv_prog_AR="$AR" # Let the user override the test.
8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 test -z "$as_dir" && as_dir=.
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8047 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8058 if test -n "$AR"; then
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8060 $as_echo "$AR" >&6; }
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8063 $as_echo "no
" >&6; }
8068 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8070 set dummy ${ncn_progname}; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8072 $as_echo_n "checking
for $ac_word...
" >&6; }
8073 if test "${ac_cv_prog_AR+set}" = set; then :
8074 $as_echo_n "(cached
) " >&6
8076 if test -n "$AR"; then
8077 ac_cv_prog_AR="$AR" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8086 ac_cv_prog_AR="${ncn_progname}"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8097 if test -n "$AR"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8099 $as_echo "$AR" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8102 $as_echo "no
" >&6; }
8107 test -n "$ac_cv_prog_AR" && break
8110 if test -z "$ac_cv_prog_AR" ; then
8112 if test $build = $host ; then
8115 AR="${ncn_tool_prefix}$2"
8121 if test -n "$AS"; then
8123 elif test -n "$ac_cv_prog_AS"; then
8127 if test -n "$ac_cv_prog_AS"; then
8128 for ncn_progname in as; do
8129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8130 set dummy ${ncn_progname}; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8132 $as_echo_n "checking
for $ac_word...
" >&6; }
8133 if test "${ac_cv_prog_AS+set}" = set; then :
8134 $as_echo_n "(cached
) " >&6
8136 if test -n "$AS"; then
8137 ac_cv_prog_AS="$AS" # Let the user override the test.
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8146 ac_cv_prog_AS="${ncn_progname}"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 if test -n "$AS"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8159 $as_echo "$AS" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8162 $as_echo "no
" >&6; }
8169 for ncn_progname in as; do
8170 if test -n "$ncn_tool_prefix"; then
8171 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8172 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8174 $as_echo_n "checking
for $ac_word...
" >&6; }
8175 if test "${ac_cv_prog_AS+set}" = set; then :
8176 $as_echo_n "(cached
) " >&6
8178 if test -n "$AS"; then
8179 ac_cv_prog_AS="$AS" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8199 if test -n "$AS"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8201 $as_echo "$AS" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8204 $as_echo "no
" >&6; }
8209 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8211 set dummy ${ncn_progname}; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8213 $as_echo_n "checking
for $ac_word...
" >&6; }
8214 if test "${ac_cv_prog_AS+set}" = set; then :
8215 $as_echo_n "(cached
) " >&6
8217 if test -n "$AS"; then
8218 ac_cv_prog_AS="$AS" # Let the user override the test.
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227 ac_cv_prog_AS="${ncn_progname}"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8238 if test -n "$AS"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8240 $as_echo "$AS" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8243 $as_echo "no
" >&6; }
8248 test -n "$ac_cv_prog_AS" && break
8251 if test -z "$ac_cv_prog_AS" ; then
8253 if test $build = $host ; then
8256 AS="${ncn_tool_prefix}$2"
8262 if test -n "$DLLTOOL"; then
8263 ac_cv_prog_DLLTOOL=$DLLTOOL
8264 elif test -n "$ac_cv_prog_DLLTOOL"; then
8265 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$ac_cv_prog_DLLTOOL"; then
8269 for ncn_progname in dlltool; do
8270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8271 set dummy ${ncn_progname}; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8273 $as_echo_n "checking
for $ac_word...
" >&6; }
8274 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8275 $as_echo_n "(cached
) " >&6
8277 if test -n "$DLLTOOL"; then
8278 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_DLLTOOL="${ncn_progname}"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8297 DLLTOOL=$ac_cv_prog_DLLTOOL
8298 if test -n "$DLLTOOL"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8300 $as_echo "$DLLTOOL" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8303 $as_echo "no
" >&6; }
8310 for ncn_progname in dlltool; do
8311 if test -n "$ncn_tool_prefix"; then
8312 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8313 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8315 $as_echo_n "checking
for $ac_word...
" >&6; }
8316 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8317 $as_echo_n "(cached
) " >&6
8319 if test -n "$DLLTOOL"; then
8320 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326 test -z "$as_dir" && as_dir=.
8327 for ac_exec_ext in '' $ac_executable_extensions; do
8328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8339 DLLTOOL=$ac_cv_prog_DLLTOOL
8340 if test -n "$DLLTOOL"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8342 $as_echo "$DLLTOOL" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8345 $as_echo "no
" >&6; }
8350 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8352 set dummy ${ncn_progname}; ac_word=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8354 $as_echo_n "checking
for $ac_word...
" >&6; }
8355 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8356 $as_echo_n "(cached
) " >&6
8358 if test -n "$DLLTOOL"; then
8359 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_DLLTOOL="${ncn_progname}"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8378 DLLTOOL=$ac_cv_prog_DLLTOOL
8379 if test -n "$DLLTOOL"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8381 $as_echo "$DLLTOOL" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8384 $as_echo "no
" >&6; }
8389 test -n "$ac_cv_prog_DLLTOOL" && break
8392 if test -z "$ac_cv_prog_DLLTOOL" ; then
8394 if test $build = $host ; then
8397 DLLTOOL="${ncn_tool_prefix}$2"
8403 if test -n "$LD"; then
8405 elif test -n "$ac_cv_prog_LD"; then
8409 if test -n "$ac_cv_prog_LD"; then
8410 for ncn_progname in ld; do
8411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8412 set dummy ${ncn_progname}; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8414 $as_echo_n "checking
for $ac_word...
" >&6; }
8415 if test "${ac_cv_prog_LD+set}" = set; then :
8416 $as_echo_n "(cached
) " >&6
8418 if test -n "$LD"; then
8419 ac_cv_prog_LD="$LD" # Let the user override the test.
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428 ac_cv_prog_LD="${ncn_progname}"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8439 if test -n "$LD"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8441 $as_echo "$LD" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8444 $as_echo "no
" >&6; }
8451 for ncn_progname in ld; do
8452 if test -n "$ncn_tool_prefix"; then
8453 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8454 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8456 $as_echo_n "checking
for $ac_word...
" >&6; }
8457 if test "${ac_cv_prog_LD+set}" = set; then :
8458 $as_echo_n "(cached
) " >&6
8460 if test -n "$LD"; then
8461 ac_cv_prog_LD="$LD" # Let the user override the test.
8463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467 test -z "$as_dir" && as_dir=.
8468 for ac_exec_ext in '' $ac_executable_extensions; do
8469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8470 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8481 if test -n "$LD"; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8483 $as_echo "$LD" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8486 $as_echo "no
" >&6; }
8491 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8493 set dummy ${ncn_progname}; ac_word=$2
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8495 $as_echo_n "checking
for $ac_word...
" >&6; }
8496 if test "${ac_cv_prog_LD+set}" = set; then :
8497 $as_echo_n "(cached
) " >&6
8499 if test -n "$LD"; then
8500 ac_cv_prog_LD="$LD" # Let the user override the test.
8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8506 test -z "$as_dir" && as_dir=.
8507 for ac_exec_ext in '' $ac_executable_extensions; do
8508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8509 ac_cv_prog_LD="${ncn_progname}"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8520 if test -n "$LD"; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8522 $as_echo "$LD" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8525 $as_echo "no
" >&6; }
8530 test -n "$ac_cv_prog_LD" && break
8533 if test -z "$ac_cv_prog_LD" ; then
8535 if test $build = $host ; then
8538 LD="${ncn_tool_prefix}$2"
8544 if test -n "$LIPO"; then
8545 ac_cv_prog_LIPO=$LIPO
8546 elif test -n "$ac_cv_prog_LIPO"; then
8547 LIPO=$ac_cv_prog_LIPO
8550 if test -n "$ac_cv_prog_LIPO"; then
8551 for ncn_progname in lipo; do
8552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8553 set dummy ${ncn_progname}; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if test "${ac_cv_prog_LIPO+set}" = set; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$LIPO"; then
8560 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_LIPO="${ncn_progname}"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 LIPO=$ac_cv_prog_LIPO
8580 if test -n "$LIPO"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8582 $as_echo "$LIPO" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8592 for ncn_progname in lipo; do
8593 if test -n "$ncn_tool_prefix"; then
8594 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8595 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8597 $as_echo_n "checking
for $ac_word...
" >&6; }
8598 if test "${ac_cv_prog_LIPO+set}" = set; then :
8599 $as_echo_n "(cached
) " >&6
8601 if test -n "$LIPO"; then
8602 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir=.
8609 for ac_exec_ext in '' $ac_executable_extensions; do
8610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8611 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 LIPO=$ac_cv_prog_LIPO
8622 if test -n "$LIPO"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8624 $as_echo "$LIPO" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8627 $as_echo "no
" >&6; }
8632 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8634 set dummy ${ncn_progname}; ac_word=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8636 $as_echo_n "checking
for $ac_word...
" >&6; }
8637 if test "${ac_cv_prog_LIPO+set}" = set; then :
8638 $as_echo_n "(cached
) " >&6
8640 if test -n "$LIPO"; then
8641 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8650 ac_cv_prog_LIPO="${ncn_progname}"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8660 LIPO=$ac_cv_prog_LIPO
8661 if test -n "$LIPO"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8663 $as_echo "$LIPO" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8666 $as_echo "no
" >&6; }
8671 test -n "$ac_cv_prog_LIPO" && break
8674 if test -z "$ac_cv_prog_LIPO" ; then
8676 if test $build = $host ; then
8679 LIPO="${ncn_tool_prefix}$2"
8685 if test -n "$NM"; then
8687 elif test -n "$ac_cv_prog_NM"; then
8691 if test -n "$ac_cv_prog_NM"; then
8692 for ncn_progname in nm; do
8693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8694 set dummy ${ncn_progname}; ac_word=$2
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8696 $as_echo_n "checking
for $ac_word...
" >&6; }
8697 if test "${ac_cv_prog_NM+set}" = set; then :
8698 $as_echo_n "(cached
) " >&6
8700 if test -n "$NM"; then
8701 ac_cv_prog_NM="$NM" # Let the user override the test.
8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 test -z "$as_dir" && as_dir=.
8708 for ac_exec_ext in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_prog_NM="${ncn_progname}"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8721 if test -n "$NM"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8723 $as_echo "$NM" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8726 $as_echo "no
" >&6; }
8733 for ncn_progname in nm; do
8734 if test -n "$ncn_tool_prefix"; then
8735 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8736 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8738 $as_echo_n "checking
for $ac_word...
" >&6; }
8739 if test "${ac_cv_prog_NM+set}" = set; then :
8740 $as_echo_n "(cached
) " >&6
8742 if test -n "$NM"; then
8743 ac_cv_prog_NM="$NM" # Let the user override the test.
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8763 if test -n "$NM"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8765 $as_echo "$NM" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8768 $as_echo "no
" >&6; }
8773 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8775 set dummy ${ncn_progname}; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8777 $as_echo_n "checking
for $ac_word...
" >&6; }
8778 if test "${ac_cv_prog_NM+set}" = set; then :
8779 $as_echo_n "(cached
) " >&6
8781 if test -n "$NM"; then
8782 ac_cv_prog_NM="$NM" # Let the user override the test.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8791 ac_cv_prog_NM="${ncn_progname}"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8802 if test -n "$NM"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8804 $as_echo "$NM" >&6; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8807 $as_echo "no
" >&6; }
8812 test -n "$ac_cv_prog_NM" && break
8815 if test -z "$ac_cv_prog_NM" ; then
8817 if test $build = $host ; then
8820 NM="${ncn_tool_prefix}$2"
8826 if test -n "$RANLIB"; then
8827 ac_cv_prog_RANLIB=$RANLIB
8828 elif test -n "$ac_cv_prog_RANLIB"; then
8829 RANLIB=$ac_cv_prog_RANLIB
8832 if test -n "$ac_cv_prog_RANLIB"; then
8833 for ncn_progname in ranlib; do
8834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8835 set dummy ${ncn_progname}; ac_word=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8837 $as_echo_n "checking
for $ac_word...
" >&6; }
8838 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8839 $as_echo_n "(cached
) " >&6
8841 if test -n "$RANLIB"; then
8842 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8851 ac_cv_prog_RANLIB="${ncn_progname}"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8861 RANLIB=$ac_cv_prog_RANLIB
8862 if test -n "$RANLIB"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8864 $as_echo "$RANLIB" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8867 $as_echo "no
" >&6; }
8874 for ncn_progname in ranlib; do
8875 if test -n "$ncn_tool_prefix"; then
8876 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8877 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8879 $as_echo_n "checking
for $ac_word...
" >&6; }
8880 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8881 $as_echo_n "(cached
) " >&6
8883 if test -n "$RANLIB"; then
8884 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 test -z "$as_dir" && as_dir=.
8891 for ac_exec_ext in '' $ac_executable_extensions; do
8892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8893 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8903 RANLIB=$ac_cv_prog_RANLIB
8904 if test -n "$RANLIB"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8906 $as_echo "$RANLIB" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8909 $as_echo "no
" >&6; }
8914 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8916 set dummy ${ncn_progname}; ac_word=$2
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8918 $as_echo_n "checking
for $ac_word...
" >&6; }
8919 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8920 $as_echo_n "(cached
) " >&6
8922 if test -n "$RANLIB"; then
8923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_RANLIB="${ncn_progname}"
8933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8942 RANLIB=$ac_cv_prog_RANLIB
8943 if test -n "$RANLIB"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8945 $as_echo "$RANLIB" >&6; }
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8948 $as_echo "no
" >&6; }
8953 test -n "$ac_cv_prog_RANLIB" && break
8956 if test -z "$ac_cv_prog_RANLIB" ; then
8962 if test -n "$STRIP"; then
8963 ac_cv_prog_STRIP=$STRIP
8964 elif test -n "$ac_cv_prog_STRIP"; then
8965 STRIP=$ac_cv_prog_STRIP
8968 if test -n "$ac_cv_prog_STRIP"; then
8969 for ncn_progname in strip; do
8970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8971 set dummy ${ncn_progname}; ac_word=$2
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8973 $as_echo_n "checking
for $ac_word...
" >&6; }
8974 if test "${ac_cv_prog_STRIP+set}" = set; then :
8975 $as_echo_n "(cached
) " >&6
8977 if test -n "$STRIP"; then
8978 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987 ac_cv_prog_STRIP="${ncn_progname}"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8997 STRIP=$ac_cv_prog_STRIP
8998 if test -n "$STRIP"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9000 $as_echo "$STRIP" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9003 $as_echo "no
" >&6; }
9010 for ncn_progname in strip; do
9011 if test -n "$ncn_tool_prefix"; then
9012 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9013 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9015 $as_echo_n "checking
for $ac_word...
" >&6; }
9016 if test "${ac_cv_prog_STRIP+set}" = set; then :
9017 $as_echo_n "(cached
) " >&6
9019 if test -n "$STRIP"; then
9020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9026 test -z "$as_dir" && as_dir=.
9027 for ac_exec_ext in '' $ac_executable_extensions; do
9028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9029 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9039 STRIP=$ac_cv_prog_STRIP
9040 if test -n "$STRIP"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9042 $as_echo "$STRIP" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9045 $as_echo "no
" >&6; }
9050 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9052 set dummy ${ncn_progname}; ac_word=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9054 $as_echo_n "checking
for $ac_word...
" >&6; }
9055 if test "${ac_cv_prog_STRIP+set}" = set; then :
9056 $as_echo_n "(cached
) " >&6
9058 if test -n "$STRIP"; then
9059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9065 test -z "$as_dir" && as_dir=.
9066 for ac_exec_ext in '' $ac_executable_extensions; do
9067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9068 ac_cv_prog_STRIP="${ncn_progname}"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9078 STRIP=$ac_cv_prog_STRIP
9079 if test -n "$STRIP"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9081 $as_echo "$STRIP" >&6; }
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9084 $as_echo "no
" >&6; }
9089 test -n "$ac_cv_prog_STRIP" && break
9092 if test -z "$ac_cv_prog_STRIP" ; then
9098 if test -n "$WINDRES"; then
9099 ac_cv_prog_WINDRES=$WINDRES
9100 elif test -n "$ac_cv_prog_WINDRES"; then
9101 WINDRES=$ac_cv_prog_WINDRES
9104 if test -n "$ac_cv_prog_WINDRES"; then
9105 for ncn_progname in windres; do
9106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9107 set dummy ${ncn_progname}; ac_word=$2
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9109 $as_echo_n "checking
for $ac_word...
" >&6; }
9110 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9111 $as_echo_n "(cached
) " >&6
9113 if test -n "$WINDRES"; then
9114 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir=.
9121 for ac_exec_ext in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_prog_WINDRES="${ncn_progname}"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9133 WINDRES=$ac_cv_prog_WINDRES
9134 if test -n "$WINDRES"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9136 $as_echo "$WINDRES" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9139 $as_echo "no
" >&6; }
9146 for ncn_progname in windres; do
9147 if test -n "$ncn_tool_prefix"; then
9148 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9149 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9151 $as_echo_n "checking
for $ac_word...
" >&6; }
9152 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9153 $as_echo_n "(cached
) " >&6
9155 if test -n "$WINDRES"; then
9156 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 test -z "$as_dir" && as_dir=.
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9175 WINDRES=$ac_cv_prog_WINDRES
9176 if test -n "$WINDRES"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9178 $as_echo "$WINDRES" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9181 $as_echo "no
" >&6; }
9186 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9188 set dummy ${ncn_progname}; ac_word=$2
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9190 $as_echo_n "checking
for $ac_word...
" >&6; }
9191 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9192 $as_echo_n "(cached
) " >&6
9194 if test -n "$WINDRES"; then
9195 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 test -z "$as_dir" && as_dir=.
9202 for ac_exec_ext in '' $ac_executable_extensions; do
9203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204 ac_cv_prog_WINDRES="${ncn_progname}"
9205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9214 WINDRES=$ac_cv_prog_WINDRES
9215 if test -n "$WINDRES"; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9217 $as_echo "$WINDRES" >&6; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9220 $as_echo "no
" >&6; }
9225 test -n "$ac_cv_prog_WINDRES" && break
9228 if test -z "$ac_cv_prog_WINDRES" ; then
9230 if test $build = $host ; then
9233 WINDRES="${ncn_tool_prefix}$2"
9239 if test -n "$WINDMC"; then
9240 ac_cv_prog_WINDMC=$WINDMC
9241 elif test -n "$ac_cv_prog_WINDMC"; then
9242 WINDMC=$ac_cv_prog_WINDMC
9245 if test -n "$ac_cv_prog_WINDMC"; then
9246 for ncn_progname in windmc; do
9247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9248 set dummy ${ncn_progname}; ac_word=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9250 $as_echo_n "checking
for $ac_word...
" >&6; }
9251 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9252 $as_echo_n "(cached
) " >&6
9254 if test -n "$WINDMC"; then
9255 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_WINDMC="${ncn_progname}"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9274 WINDMC=$ac_cv_prog_WINDMC
9275 if test -n "$WINDMC"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9277 $as_echo "$WINDMC" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9280 $as_echo "no
" >&6; }
9287 for ncn_progname in windmc; do
9288 if test -n "$ncn_tool_prefix"; then
9289 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9290 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9292 $as_echo_n "checking
for $ac_word...
" >&6; }
9293 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9294 $as_echo_n "(cached
) " >&6
9296 if test -n "$WINDMC"; then
9297 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir=.
9304 for ac_exec_ext in '' $ac_executable_extensions; do
9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9316 WINDMC=$ac_cv_prog_WINDMC
9317 if test -n "$WINDMC"; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9319 $as_echo "$WINDMC" >&6; }
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9322 $as_echo "no
" >&6; }
9327 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9329 set dummy ${ncn_progname}; ac_word=$2
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9331 $as_echo_n "checking
for $ac_word...
" >&6; }
9332 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9333 $as_echo_n "(cached
) " >&6
9335 if test -n "$WINDMC"; then
9336 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9342 test -z "$as_dir" && as_dir=.
9343 for ac_exec_ext in '' $ac_executable_extensions; do
9344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9345 ac_cv_prog_WINDMC="${ncn_progname}"
9346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9355 WINDMC=$ac_cv_prog_WINDMC
9356 if test -n "$WINDMC"; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9358 $as_echo "$WINDMC" >&6; }
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9361 $as_echo "no
" >&6; }
9366 test -n "$ac_cv_prog_WINDMC" && break
9369 if test -z "$ac_cv_prog_WINDMC" ; then
9371 if test $build = $host ; then
9374 WINDMC="${ncn_tool_prefix}$2"
9380 if test -n "$OBJCOPY"; then
9381 ac_cv_prog_OBJCOPY=$OBJCOPY
9382 elif test -n "$ac_cv_prog_OBJCOPY"; then
9383 OBJCOPY=$ac_cv_prog_OBJCOPY
9386 if test -n "$ac_cv_prog_OBJCOPY"; then
9387 for ncn_progname in objcopy; do
9388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9389 set dummy ${ncn_progname}; ac_word=$2
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9391 $as_echo_n "checking
for $ac_word...
" >&6; }
9392 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9393 $as_echo_n "(cached
) " >&6
9395 if test -n "$OBJCOPY"; then
9396 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir=.
9403 for ac_exec_ext in '' $ac_executable_extensions; do
9404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9405 ac_cv_prog_OBJCOPY="${ncn_progname}"
9406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9415 OBJCOPY=$ac_cv_prog_OBJCOPY
9416 if test -n "$OBJCOPY"; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9418 $as_echo "$OBJCOPY" >&6; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9421 $as_echo "no
" >&6; }
9428 for ncn_progname in objcopy; do
9429 if test -n "$ncn_tool_prefix"; then
9430 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9431 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9433 $as_echo_n "checking
for $ac_word...
" >&6; }
9434 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9435 $as_echo_n "(cached
) " >&6
9437 if test -n "$OBJCOPY"; then
9438 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9444 test -z "$as_dir" && as_dir=.
9445 for ac_exec_ext in '' $ac_executable_extensions; do
9446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9447 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9457 OBJCOPY=$ac_cv_prog_OBJCOPY
9458 if test -n "$OBJCOPY"; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9460 $as_echo "$OBJCOPY" >&6; }
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9463 $as_echo "no
" >&6; }
9468 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9470 set dummy ${ncn_progname}; ac_word=$2
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9472 $as_echo_n "checking
for $ac_word...
" >&6; }
9473 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9474 $as_echo_n "(cached
) " >&6
9476 if test -n "$OBJCOPY"; then
9477 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir=.
9484 for ac_exec_ext in '' $ac_executable_extensions; do
9485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9486 ac_cv_prog_OBJCOPY="${ncn_progname}"
9487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9496 OBJCOPY=$ac_cv_prog_OBJCOPY
9497 if test -n "$OBJCOPY"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9499 $as_echo "$OBJCOPY" >&6; }
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9502 $as_echo "no
" >&6; }
9507 test -n "$ac_cv_prog_OBJCOPY" && break
9510 if test -z "$ac_cv_prog_OBJCOPY" ; then
9512 if test $build = $host ; then
9515 OBJCOPY="${ncn_tool_prefix}$2"
9521 if test -n "$OBJDUMP"; then
9522 ac_cv_prog_OBJDUMP=$OBJDUMP
9523 elif test -n "$ac_cv_prog_OBJDUMP"; then
9524 OBJDUMP=$ac_cv_prog_OBJDUMP
9527 if test -n "$ac_cv_prog_OBJDUMP"; then
9528 for ncn_progname in objdump; do
9529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9530 set dummy ${ncn_progname}; ac_word=$2
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9532 $as_echo_n "checking
for $ac_word...
" >&6; }
9533 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9534 $as_echo_n "(cached
) " >&6
9536 if test -n "$OBJDUMP"; then
9537 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9543 test -z "$as_dir" && as_dir=.
9544 for ac_exec_ext in '' $ac_executable_extensions; do
9545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9546 ac_cv_prog_OBJDUMP="${ncn_progname}"
9547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9556 OBJDUMP=$ac_cv_prog_OBJDUMP
9557 if test -n "$OBJDUMP"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9559 $as_echo "$OBJDUMP" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9562 $as_echo "no
" >&6; }
9569 for ncn_progname in objdump; do
9570 if test -n "$ncn_tool_prefix"; then
9571 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9572 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9574 $as_echo_n "checking
for $ac_word...
" >&6; }
9575 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9576 $as_echo_n "(cached
) " >&6
9578 if test -n "$OBJDUMP"; then
9579 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9585 test -z "$as_dir" && as_dir=.
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9588 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9598 OBJDUMP=$ac_cv_prog_OBJDUMP
9599 if test -n "$OBJDUMP"; then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9601 $as_echo "$OBJDUMP" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9604 $as_echo "no
" >&6; }
9609 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9611 set dummy ${ncn_progname}; ac_word=$2
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9613 $as_echo_n "checking
for $ac_word...
" >&6; }
9614 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9615 $as_echo_n "(cached
) " >&6
9617 if test -n "$OBJDUMP"; then
9618 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 test -z "$as_dir" && as_dir=.
9625 for ac_exec_ext in '' $ac_executable_extensions; do
9626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9627 ac_cv_prog_OBJDUMP="${ncn_progname}"
9628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9637 OBJDUMP=$ac_cv_prog_OBJDUMP
9638 if test -n "$OBJDUMP"; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9640 $as_echo "$OBJDUMP" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9643 $as_echo "no
" >&6; }
9648 test -n "$ac_cv_prog_OBJDUMP" && break
9651 if test -z "$ac_cv_prog_OBJDUMP" ; then
9653 if test $build = $host ; then
9656 OBJDUMP="${ncn_tool_prefix}$2"
9662 if test -n "$READELF"; then
9663 ac_cv_prog_READELF=$READELF
9664 elif test -n "$ac_cv_prog_READELF"; then
9665 READELF=$ac_cv_prog_READELF
9668 if test -n "$ac_cv_prog_READELF"; then
9669 for ncn_progname in readelf; do
9670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9671 set dummy ${ncn_progname}; ac_word=$2
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9673 $as_echo_n "checking
for $ac_word...
" >&6; }
9674 if test "${ac_cv_prog_READELF+set}" = set; then :
9675 $as_echo_n "(cached
) " >&6
9677 if test -n "$READELF"; then
9678 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir=.
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9687 ac_cv_prog_READELF="${ncn_progname}"
9688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9697 READELF=$ac_cv_prog_READELF
9698 if test -n "$READELF"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9700 $as_echo "$READELF" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9703 $as_echo "no
" >&6; }
9710 for ncn_progname in readelf; do
9711 if test -n "$ncn_tool_prefix"; then
9712 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9713 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9715 $as_echo_n "checking
for $ac_word...
" >&6; }
9716 if test "${ac_cv_prog_READELF+set}" = set; then :
9717 $as_echo_n "(cached
) " >&6
9719 if test -n "$READELF"; then
9720 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9729 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9739 READELF=$ac_cv_prog_READELF
9740 if test -n "$READELF"; then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9742 $as_echo "$READELF" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9745 $as_echo "no
" >&6; }
9750 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9752 set dummy ${ncn_progname}; ac_word=$2
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9754 $as_echo_n "checking
for $ac_word...
" >&6; }
9755 if test "${ac_cv_prog_READELF+set}" = set; then :
9756 $as_echo_n "(cached
) " >&6
9758 if test -n "$READELF"; then
9759 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir=.
9766 for ac_exec_ext in '' $ac_executable_extensions; do
9767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9768 ac_cv_prog_READELF="${ncn_progname}"
9769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9778 READELF=$ac_cv_prog_READELF
9779 if test -n "$READELF"; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9781 $as_echo "$READELF" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9784 $as_echo "no
" >&6; }
9789 test -n "$ac_cv_prog_READELF" && break
9792 if test -z "$ac_cv_prog_READELF" ; then
9794 if test $build = $host ; then
9797 READELF="${ncn_tool_prefix}$2"
9808 # Check whether --with-build-time-tools was given.
9809 if test "${with_build_time_tools+set}" = set; then :
9810 withval=$with_build_time_tools; case x"$withval" in
9813 with_build_time_tools=
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9815 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9819 with_build_time_tools=
9825 if test -n "$CC_FOR_TARGET"; then
9826 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9827 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9828 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9831 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9832 for ncn_progname in cc gcc; do
9833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9834 set dummy ${ncn_progname}; ac_word=$2
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9836 $as_echo_n "checking
for $ac_word...
" >&6; }
9837 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9838 $as_echo_n "(cached
) " >&6
9840 if test -n "$CC_FOR_TARGET"; then
9841 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9847 test -z "$as_dir" && as_dir=.
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9850 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9860 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9861 if test -n "$CC_FOR_TARGET"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9863 $as_echo "$CC_FOR_TARGET" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9866 $as_echo "no
" >&6; }
9873 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9874 for ncn_progname in cc gcc; do
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9876 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9877 if test -x $with_build_time_tools/${ncn_progname}; then
9878 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9880 $as_echo "yes" >&6; }
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9884 $as_echo "no
" >&6; }
9889 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9890 for ncn_progname in cc gcc; do
9891 if test -n "$ncn_target_tool_prefix"; then
9892 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9893 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9895 $as_echo_n "checking
for $ac_word...
" >&6; }
9896 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9897 $as_echo_n "(cached
) " >&6
9899 if test -n "$CC_FOR_TARGET"; then
9900 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9906 test -z "$as_dir" && as_dir=.
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9909 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9919 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9920 if test -n "$CC_FOR_TARGET"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9922 $as_echo "$CC_FOR_TARGET" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9925 $as_echo "no
" >&6; }
9930 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9932 set dummy ${ncn_progname}; ac_word=$2
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9934 $as_echo_n "checking
for $ac_word...
" >&6; }
9935 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9936 $as_echo_n "(cached
) " >&6
9938 if test -n "$CC_FOR_TARGET"; then
9939 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9945 test -z "$as_dir" && as_dir=.
9946 for ac_exec_ext in '' $ac_executable_extensions; do
9947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9948 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9958 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9959 if test -n "$CC_FOR_TARGET"; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9961 $as_echo "$CC_FOR_TARGET" >&6; }
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9964 $as_echo "no
" >&6; }
9969 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9973 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9975 if test $build = $target ; then
9978 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9981 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9986 if test -n "$CXX_FOR_TARGET"; then
9987 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9988 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9989 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9992 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9993 for ncn_progname in c++ g++ cxx gxx; do
9994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9995 set dummy ${ncn_progname}; ac_word=$2
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9997 $as_echo_n "checking
for $ac_word...
" >&6; }
9998 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9999 $as_echo_n "(cached
) " >&6
10001 if test -n "$CXX_FOR_TARGET"; then
10002 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10005 for as_dir in $PATH
10008 test -z "$as_dir" && as_dir=.
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10011 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10021 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10022 if test -n "$CXX_FOR_TARGET"; then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10024 $as_echo "$CXX_FOR_TARGET" >&6; }
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10027 $as_echo "no
" >&6; }
10034 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10035 for ncn_progname in c++ g++ cxx gxx; do
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10037 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10038 if test -x $with_build_time_tools/${ncn_progname}; then
10039 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10041 $as_echo "yes" >&6; }
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10045 $as_echo "no
" >&6; }
10050 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10051 for ncn_progname in c++ g++ cxx gxx; do
10052 if test -n "$ncn_target_tool_prefix"; then
10053 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10054 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10056 $as_echo_n "checking
for $ac_word...
" >&6; }
10057 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10058 $as_echo_n "(cached
) " >&6
10060 if test -n "$CXX_FOR_TARGET"; then
10061 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10064 for as_dir in $PATH
10067 test -z "$as_dir" && as_dir=.
10068 for ac_exec_ext in '' $ac_executable_extensions; do
10069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10070 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10080 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10081 if test -n "$CXX_FOR_TARGET"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10083 $as_echo "$CXX_FOR_TARGET" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10086 $as_echo "no
" >&6; }
10091 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10093 set dummy ${ncn_progname}; ac_word=$2
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10095 $as_echo_n "checking
for $ac_word...
" >&6; }
10096 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10097 $as_echo_n "(cached
) " >&6
10099 if test -n "$CXX_FOR_TARGET"; then
10100 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10103 for as_dir in $PATH
10106 test -z "$as_dir" && as_dir=.
10107 for ac_exec_ext in '' $ac_executable_extensions; do
10108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10109 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10119 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10120 if test -n "$CXX_FOR_TARGET"; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10122 $as_echo "$CXX_FOR_TARGET" >&6; }
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10125 $as_echo "no
" >&6; }
10130 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10134 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10135 set dummy c++ g++ cxx gxx
10136 if test $build = $target ; then
10137 CXX_FOR_TARGET="$2"
10139 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10142 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10147 if test -n "$GCC_FOR_TARGET"; then
10148 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10149 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10150 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10153 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10154 for ncn_progname in gcc; do
10155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10156 set dummy ${ncn_progname}; ac_word=$2
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10158 $as_echo_n "checking
for $ac_word...
" >&6; }
10159 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10160 $as_echo_n "(cached
) " >&6
10162 if test -n "$GCC_FOR_TARGET"; then
10163 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10166 for as_dir in $PATH
10169 test -z "$as_dir" && as_dir=.
10170 for ac_exec_ext in '' $ac_executable_extensions; do
10171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10172 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10182 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10183 if test -n "$GCC_FOR_TARGET"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10185 $as_echo "$GCC_FOR_TARGET" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10188 $as_echo "no
" >&6; }
10195 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10196 for ncn_progname in gcc; do
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10198 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10199 if test -x $with_build_time_tools/${ncn_progname}; then
10200 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10202 $as_echo "yes" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10206 $as_echo "no
" >&6; }
10211 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10212 for ncn_progname in gcc; do
10213 if test -n "$ncn_target_tool_prefix"; then
10214 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10215 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10217 $as_echo_n "checking
for $ac_word...
" >&6; }
10218 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10219 $as_echo_n "(cached
) " >&6
10221 if test -n "$GCC_FOR_TARGET"; then
10222 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10225 for as_dir in $PATH
10228 test -z "$as_dir" && as_dir=.
10229 for ac_exec_ext in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10241 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10242 if test -n "$GCC_FOR_TARGET"; then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10244 $as_echo "$GCC_FOR_TARGET" >&6; }
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10247 $as_echo "no
" >&6; }
10252 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10254 set dummy ${ncn_progname}; ac_word=$2
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10256 $as_echo_n "checking
for $ac_word...
" >&6; }
10257 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10258 $as_echo_n "(cached
) " >&6
10260 if test -n "$GCC_FOR_TARGET"; then
10261 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10267 test -z "$as_dir" && as_dir=.
10268 for ac_exec_ext in '' $ac_executable_extensions; do
10269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10280 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10281 if test -n "$GCC_FOR_TARGET"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10283 $as_echo "$GCC_FOR_TARGET" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10286 $as_echo "no
" >&6; }
10291 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10295 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10296 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10298 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10303 if test -n "$GCJ_FOR_TARGET"; then
10304 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10305 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10306 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10309 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10310 for ncn_progname in gcj; do
10311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10312 set dummy ${ncn_progname}; ac_word=$2
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10314 $as_echo_n "checking
for $ac_word...
" >&6; }
10315 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10316 $as_echo_n "(cached
) " >&6
10318 if test -n "$GCJ_FOR_TARGET"; then
10319 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 for as_dir in $PATH
10325 test -z "$as_dir" && as_dir=.
10326 for ac_exec_ext in '' $ac_executable_extensions; do
10327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10328 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10338 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10339 if test -n "$GCJ_FOR_TARGET"; then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10341 $as_echo "$GCJ_FOR_TARGET" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10344 $as_echo "no
" >&6; }
10351 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10352 for ncn_progname in gcj; do
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10354 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10355 if test -x $with_build_time_tools/${ncn_progname}; then
10356 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10358 $as_echo "yes" >&6; }
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10362 $as_echo "no
" >&6; }
10367 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10368 for ncn_progname in gcj; do
10369 if test -n "$ncn_target_tool_prefix"; then
10370 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10371 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10373 $as_echo_n "checking
for $ac_word...
" >&6; }
10374 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10375 $as_echo_n "(cached
) " >&6
10377 if test -n "$GCJ_FOR_TARGET"; then
10378 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $PATH
10384 test -z "$as_dir" && as_dir=.
10385 for ac_exec_ext in '' $ac_executable_extensions; do
10386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10387 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10397 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10398 if test -n "$GCJ_FOR_TARGET"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10400 $as_echo "$GCJ_FOR_TARGET" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10403 $as_echo "no
" >&6; }
10408 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10410 set dummy ${ncn_progname}; ac_word=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10412 $as_echo_n "checking
for $ac_word...
" >&6; }
10413 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10414 $as_echo_n "(cached
) " >&6
10416 if test -n "$GCJ_FOR_TARGET"; then
10417 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10423 test -z "$as_dir" && as_dir=.
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10426 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10436 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10437 if test -n "$GCJ_FOR_TARGET"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10439 $as_echo "$GCJ_FOR_TARGET" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10442 $as_echo "no
" >&6; }
10447 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10451 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10453 if test $build = $target ; then
10454 GCJ_FOR_TARGET="$2"
10456 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10459 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10464 if test -n "$GFORTRAN_FOR_TARGET"; then
10465 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10466 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10467 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10470 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10471 for ncn_progname in gfortran; do
10472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10473 set dummy ${ncn_progname}; ac_word=$2
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10475 $as_echo_n "checking
for $ac_word...
" >&6; }
10476 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10477 $as_echo_n "(cached
) " >&6
10479 if test -n "$GFORTRAN_FOR_TARGET"; then
10480 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10483 for as_dir in $PATH
10486 test -z "$as_dir" && as_dir=.
10487 for ac_exec_ext in '' $ac_executable_extensions; do
10488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10489 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10499 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10500 if test -n "$GFORTRAN_FOR_TARGET"; then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10502 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10505 $as_echo "no
" >&6; }
10512 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10513 for ncn_progname in gfortran; do
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10515 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10516 if test -x $with_build_time_tools/${ncn_progname}; then
10517 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10519 $as_echo "yes" >&6; }
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10523 $as_echo "no
" >&6; }
10528 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10529 for ncn_progname in gfortran; do
10530 if test -n "$ncn_target_tool_prefix"; then
10531 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10532 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10534 $as_echo_n "checking
for $ac_word...
" >&6; }
10535 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10536 $as_echo_n "(cached
) " >&6
10538 if test -n "$GFORTRAN_FOR_TARGET"; then
10539 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 test -z "$as_dir" && as_dir=.
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10548 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10558 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10559 if test -n "$GFORTRAN_FOR_TARGET"; then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10561 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10564 $as_echo "no
" >&6; }
10569 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10571 set dummy ${ncn_progname}; ac_word=$2
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10573 $as_echo_n "checking
for $ac_word...
" >&6; }
10574 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10575 $as_echo_n "(cached
) " >&6
10577 if test -n "$GFORTRAN_FOR_TARGET"; then
10578 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10581 for as_dir in $PATH
10584 test -z "$as_dir" && as_dir=.
10585 for ac_exec_ext in '' $ac_executable_extensions; do
10586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10587 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10597 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10598 if test -n "$GFORTRAN_FOR_TARGET"; then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10600 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10603 $as_echo "no
" >&6; }
10608 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10612 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10614 if test $build = $target ; then
10615 GFORTRAN_FOR_TARGET="$2"
10617 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10620 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10625 if test -n "$GOC_FOR_TARGET"; then
10626 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10627 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10628 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10631 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10632 for ncn_progname in gccgo; do
10633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10634 set dummy ${ncn_progname}; ac_word=$2
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10636 $as_echo_n "checking
for $ac_word...
" >&6; }
10637 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10638 $as_echo_n "(cached
) " >&6
10640 if test -n "$GOC_FOR_TARGET"; then
10641 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10644 for as_dir in $PATH
10647 test -z "$as_dir" && as_dir=.
10648 for ac_exec_ext in '' $ac_executable_extensions; do
10649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10650 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10660 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10661 if test -n "$GOC_FOR_TARGET"; then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10663 $as_echo "$GOC_FOR_TARGET" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10666 $as_echo "no
" >&6; }
10673 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10674 for ncn_progname in gccgo; do
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10676 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10677 if test -x $with_build_time_tools/${ncn_progname}; then
10678 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10680 $as_echo "yes" >&6; }
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10684 $as_echo "no
" >&6; }
10689 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10690 for ncn_progname in gccgo; do
10691 if test -n "$ncn_target_tool_prefix"; then
10692 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10693 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10695 $as_echo_n "checking
for $ac_word...
" >&6; }
10696 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10697 $as_echo_n "(cached
) " >&6
10699 if test -n "$GOC_FOR_TARGET"; then
10700 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10703 for as_dir in $PATH
10706 test -z "$as_dir" && as_dir=.
10707 for ac_exec_ext in '' $ac_executable_extensions; do
10708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10709 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10719 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10720 if test -n "$GOC_FOR_TARGET"; then
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10722 $as_echo "$GOC_FOR_TARGET" >&6; }
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10725 $as_echo "no
" >&6; }
10730 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10732 set dummy ${ncn_progname}; ac_word=$2
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10734 $as_echo_n "checking
for $ac_word...
" >&6; }
10735 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10736 $as_echo_n "(cached
) " >&6
10738 if test -n "$GOC_FOR_TARGET"; then
10739 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10742 for as_dir in $PATH
10745 test -z "$as_dir" && as_dir=.
10746 for ac_exec_ext in '' $ac_executable_extensions; do
10747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10748 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10758 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10759 if test -n "$GOC_FOR_TARGET"; then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10761 $as_echo "$GOC_FOR_TARGET" >&6; }
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10764 $as_echo "no
" >&6; }
10769 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10773 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10775 if test $build = $target ; then
10776 GOC_FOR_TARGET="$2"
10778 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10781 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10786 cat > conftest.c << \EOF
10791 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10792 have_gcc_for_target=yes
10794 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10795 have_gcc_for_target=no
10802 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10803 if test -n "$with_build_time_tools"; then
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10805 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10806 if test -x $with_build_time_tools/ar; then
10807 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10808 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10810 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10813 $as_echo "no
" >&6; }
10815 elif test $build != $host && test $have_gcc_for_target = yes; then
10816 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10817 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10818 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10821 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10822 # Extract the first word of "ar", so it can be a program name with args.
10823 set dummy ar; ac_word=$2
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10825 $as_echo_n "checking
for $ac_word...
" >&6; }
10826 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10827 $as_echo_n "(cached
) " >&6
10829 case $AR_FOR_TARGET in
10831 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10835 for as_dir in $gcc_cv_tool_dirs
10838 test -z "$as_dir" && as_dir=.
10839 for ac_exec_ext in '' $ac_executable_extensions; do
10840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10841 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10852 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10853 if test -n "$AR_FOR_TARGET"; then
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10855 $as_echo "$AR_FOR_TARGET" >&6; }
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10858 $as_echo "no
" >&6; }
10863 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10866 if test -n "$AR_FOR_TARGET"; then
10867 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10868 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10869 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10872 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10873 for ncn_progname in ar; do
10874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10875 set dummy ${ncn_progname}; ac_word=$2
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10877 $as_echo_n "checking
for $ac_word...
" >&6; }
10878 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10879 $as_echo_n "(cached
) " >&6
10881 if test -n "$AR_FOR_TARGET"; then
10882 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10885 for as_dir in $PATH
10888 test -z "$as_dir" && as_dir=.
10889 for ac_exec_ext in '' $ac_executable_extensions; do
10890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10891 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10901 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10902 if test -n "$AR_FOR_TARGET"; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10904 $as_echo "$AR_FOR_TARGET" >&6; }
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10907 $as_echo "no
" >&6; }
10914 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10915 for ncn_progname in ar; do
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10917 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10918 if test -x $with_build_time_tools/${ncn_progname}; then
10919 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10921 $as_echo "yes" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10925 $as_echo "no
" >&6; }
10930 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10931 for ncn_progname in ar; do
10932 if test -n "$ncn_target_tool_prefix"; then
10933 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10934 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10936 $as_echo_n "checking
for $ac_word...
" >&6; }
10937 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10938 $as_echo_n "(cached
) " >&6
10940 if test -n "$AR_FOR_TARGET"; then
10941 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10944 for as_dir in $PATH
10947 test -z "$as_dir" && as_dir=.
10948 for ac_exec_ext in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10960 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10961 if test -n "$AR_FOR_TARGET"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10963 $as_echo "$AR_FOR_TARGET" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10966 $as_echo "no
" >&6; }
10971 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10973 set dummy ${ncn_progname}; ac_word=$2
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10975 $as_echo_n "checking
for $ac_word...
" >&6; }
10976 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10977 $as_echo_n "(cached
) " >&6
10979 if test -n "$AR_FOR_TARGET"; then
10980 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10983 for as_dir in $PATH
10986 test -z "$as_dir" && as_dir=.
10987 for ac_exec_ext in '' $ac_executable_extensions; do
10988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10989 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10999 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11000 if test -n "$AR_FOR_TARGET"; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11002 $as_echo "$AR_FOR_TARGET" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11005 $as_echo "no
" >&6; }
11010 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11014 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11016 if test $build = $target ; then
11019 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11022 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11026 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11032 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11033 if test -n "$with_build_time_tools"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11035 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11036 if test -x $with_build_time_tools/as; then
11037 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11038 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11040 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11043 $as_echo "no
" >&6; }
11045 elif test $build != $host && test $have_gcc_for_target = yes; then
11046 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11047 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11048 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11051 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11052 # Extract the first word of "as
", so it can be a program name with args.
11053 set dummy as; ac_word=$2
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11055 $as_echo_n "checking
for $ac_word...
" >&6; }
11056 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11057 $as_echo_n "(cached
) " >&6
11059 case $AS_FOR_TARGET in
11061 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $gcc_cv_tool_dirs
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11082 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11083 if test -n "$AS_FOR_TARGET"; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11085 $as_echo "$AS_FOR_TARGET" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11088 $as_echo "no
" >&6; }
11093 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11096 if test -n "$AS_FOR_TARGET"; then
11097 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11098 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11099 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11102 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11103 for ncn_progname in as; do
11104 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11105 set dummy ${ncn_progname}; ac_word=$2
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11107 $as_echo_n "checking
for $ac_word...
" >&6; }
11108 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11109 $as_echo_n "(cached
) " >&6
11111 if test -n "$AS_FOR_TARGET"; then
11112 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11115 for as_dir in $PATH
11118 test -z "$as_dir" && as_dir=.
11119 for ac_exec_ext in '' $ac_executable_extensions; do
11120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11121 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11131 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11132 if test -n "$AS_FOR_TARGET"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11134 $as_echo "$AS_FOR_TARGET" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11137 $as_echo "no
" >&6; }
11144 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11145 for ncn_progname in as; do
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11147 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11148 if test -x $with_build_time_tools/${ncn_progname}; then
11149 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11151 $as_echo "yes" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11155 $as_echo "no
" >&6; }
11160 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11161 for ncn_progname in as; do
11162 if test -n "$ncn_target_tool_prefix"; then
11163 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11164 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11166 $as_echo_n "checking
for $ac_word...
" >&6; }
11167 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11168 $as_echo_n "(cached
) " >&6
11170 if test -n "$AS_FOR_TARGET"; then
11171 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11174 for as_dir in $PATH
11177 test -z "$as_dir" && as_dir=.
11178 for ac_exec_ext in '' $ac_executable_extensions; do
11179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11180 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11190 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11191 if test -n "$AS_FOR_TARGET"; then
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11193 $as_echo "$AS_FOR_TARGET" >&6; }
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11196 $as_echo "no
" >&6; }
11201 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11202 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11203 set dummy ${ncn_progname}; ac_word=$2
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11205 $as_echo_n "checking
for $ac_word...
" >&6; }
11206 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11207 $as_echo_n "(cached
) " >&6
11209 if test -n "$AS_FOR_TARGET"; then
11210 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11213 for as_dir in $PATH
11216 test -z "$as_dir" && as_dir=.
11217 for ac_exec_ext in '' $ac_executable_extensions; do
11218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11219 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11229 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11230 if test -n "$AS_FOR_TARGET"; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11232 $as_echo "$AS_FOR_TARGET" >&6; }
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11235 $as_echo "no
" >&6; }
11240 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11244 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11246 if test $build = $target ; then
11249 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11252 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11256 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11262 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11263 if test -n "$with_build_time_tools"; then
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11265 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11266 if test -x $with_build_time_tools/dlltool; then
11267 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11268 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11270 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11273 $as_echo "no
" >&6; }
11275 elif test $build != $host && test $have_gcc_for_target = yes; then
11276 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11277 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11278 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11281 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11282 # Extract the first word of "dlltool
", so it can be a program name with args.
11283 set dummy dlltool; ac_word=$2
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11285 $as_echo_n "checking
for $ac_word...
" >&6; }
11286 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11287 $as_echo_n "(cached
) " >&6
11289 case $DLLTOOL_FOR_TARGET in
11291 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11295 for as_dir in $gcc_cv_tool_dirs
11298 test -z "$as_dir" && as_dir=.
11299 for ac_exec_ext in '' $ac_executable_extensions; do
11300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11301 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11312 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11313 if test -n "$DLLTOOL_FOR_TARGET"; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11315 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11318 $as_echo "no
" >&6; }
11323 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11326 if test -n "$DLLTOOL_FOR_TARGET"; then
11327 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11328 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11329 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11332 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11333 for ncn_progname in dlltool; do
11334 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11335 set dummy ${ncn_progname}; ac_word=$2
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11337 $as_echo_n "checking
for $ac_word...
" >&6; }
11338 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11339 $as_echo_n "(cached
) " >&6
11341 if test -n "$DLLTOOL_FOR_TARGET"; then
11342 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11345 for as_dir in $PATH
11348 test -z "$as_dir" && as_dir=.
11349 for ac_exec_ext in '' $ac_executable_extensions; do
11350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11351 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11361 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11362 if test -n "$DLLTOOL_FOR_TARGET"; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11364 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11367 $as_echo "no
" >&6; }
11374 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11375 for ncn_progname in dlltool; do
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11377 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11378 if test -x $with_build_time_tools/${ncn_progname}; then
11379 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11381 $as_echo "yes" >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11385 $as_echo "no
" >&6; }
11390 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11391 for ncn_progname in dlltool; do
11392 if test -n "$ncn_target_tool_prefix"; then
11393 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11394 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11396 $as_echo_n "checking
for $ac_word...
" >&6; }
11397 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11398 $as_echo_n "(cached
) " >&6
11400 if test -n "$DLLTOOL_FOR_TARGET"; then
11401 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11404 for as_dir in $PATH
11407 test -z "$as_dir" && as_dir=.
11408 for ac_exec_ext in '' $ac_executable_extensions; do
11409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11410 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11420 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11421 if test -n "$DLLTOOL_FOR_TARGET"; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11423 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11426 $as_echo "no
" >&6; }
11431 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11432 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11433 set dummy ${ncn_progname}; ac_word=$2
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11435 $as_echo_n "checking
for $ac_word...
" >&6; }
11436 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11437 $as_echo_n "(cached
) " >&6
11439 if test -n "$DLLTOOL_FOR_TARGET"; then
11440 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11443 for as_dir in $PATH
11446 test -z "$as_dir" && as_dir=.
11447 for ac_exec_ext in '' $ac_executable_extensions; do
11448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11449 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11459 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11460 if test -n "$DLLTOOL_FOR_TARGET"; then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11462 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11465 $as_echo "no
" >&6; }
11470 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11474 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11476 if test $build = $target ; then
11477 DLLTOOL_FOR_TARGET="$2"
11479 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11482 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11486 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11492 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11493 if test -n "$with_build_time_tools"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11495 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11496 if test -x $with_build_time_tools/ld; then
11497 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11498 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11500 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11503 $as_echo "no
" >&6; }
11505 elif test $build != $host && test $have_gcc_for_target = yes; then
11506 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11507 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11508 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11511 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11512 # Extract the first word of "ld
", so it can be a program name with args.
11513 set dummy ld; ac_word=$2
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11515 $as_echo_n "checking
for $ac_word...
" >&6; }
11516 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11517 $as_echo_n "(cached
) " >&6
11519 case $LD_FOR_TARGET in
11521 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11525 for as_dir in $gcc_cv_tool_dirs
11528 test -z "$as_dir" && as_dir=.
11529 for ac_exec_ext in '' $ac_executable_extensions; do
11530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11531 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11542 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11543 if test -n "$LD_FOR_TARGET"; then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11545 $as_echo "$LD_FOR_TARGET" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11548 $as_echo "no
" >&6; }
11553 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11556 if test -n "$LD_FOR_TARGET"; then
11557 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11558 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11559 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11562 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11563 for ncn_progname in ld; do
11564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11565 set dummy ${ncn_progname}; ac_word=$2
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11567 $as_echo_n "checking
for $ac_word...
" >&6; }
11568 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11569 $as_echo_n "(cached
) " >&6
11571 if test -n "$LD_FOR_TARGET"; then
11572 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575 for as_dir in $PATH
11578 test -z "$as_dir" && as_dir=.
11579 for ac_exec_ext in '' $ac_executable_extensions; do
11580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11581 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11591 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11592 if test -n "$LD_FOR_TARGET"; then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11594 $as_echo "$LD_FOR_TARGET" >&6; }
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11597 $as_echo "no
" >&6; }
11604 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11605 for ncn_progname in ld; do
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11607 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11608 if test -x $with_build_time_tools/${ncn_progname}; then
11609 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11611 $as_echo "yes" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11615 $as_echo "no
" >&6; }
11620 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11621 for ncn_progname in ld; do
11622 if test -n "$ncn_target_tool_prefix"; then
11623 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11624 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11626 $as_echo_n "checking
for $ac_word...
" >&6; }
11627 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11628 $as_echo_n "(cached
) " >&6
11630 if test -n "$LD_FOR_TARGET"; then
11631 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11634 for as_dir in $PATH
11637 test -z "$as_dir" && as_dir=.
11638 for ac_exec_ext in '' $ac_executable_extensions; do
11639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11640 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11650 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11651 if test -n "$LD_FOR_TARGET"; then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11653 $as_echo "$LD_FOR_TARGET" >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11656 $as_echo "no
" >&6; }
11661 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11663 set dummy ${ncn_progname}; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11665 $as_echo_n "checking
for $ac_word...
" >&6; }
11666 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11667 $as_echo_n "(cached
) " >&6
11669 if test -n "$LD_FOR_TARGET"; then
11670 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11676 test -z "$as_dir" && as_dir=.
11677 for ac_exec_ext in '' $ac_executable_extensions; do
11678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11689 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11690 if test -n "$LD_FOR_TARGET"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11692 $as_echo "$LD_FOR_TARGET" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11695 $as_echo "no
" >&6; }
11700 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11704 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11706 if test $build = $target ; then
11709 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11712 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11716 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11722 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11723 if test -n "$with_build_time_tools"; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11725 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11726 if test -x $with_build_time_tools/lipo; then
11727 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11728 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11730 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11733 $as_echo "no
" >&6; }
11735 elif test $build != $host && test $have_gcc_for_target = yes; then
11736 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11737 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11738 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11741 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11742 # Extract the first word of "lipo
", so it can be a program name with args.
11743 set dummy lipo; ac_word=$2
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11745 $as_echo_n "checking
for $ac_word...
" >&6; }
11746 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11747 $as_echo_n "(cached
) " >&6
11749 case $LIPO_FOR_TARGET in
11751 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11755 for as_dir in $gcc_cv_tool_dirs
11758 test -z "$as_dir" && as_dir=.
11759 for ac_exec_ext in '' $ac_executable_extensions; do
11760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11761 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11772 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11773 if test -n "$LIPO_FOR_TARGET"; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11775 $as_echo "$LIPO_FOR_TARGET" >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11778 $as_echo "no
" >&6; }
11783 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11786 if test -n "$LIPO_FOR_TARGET"; then
11787 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11788 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11789 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11792 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11793 for ncn_progname in lipo; do
11794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11795 set dummy ${ncn_progname}; ac_word=$2
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11797 $as_echo_n "checking
for $ac_word...
" >&6; }
11798 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11799 $as_echo_n "(cached
) " >&6
11801 if test -n "$LIPO_FOR_TARGET"; then
11802 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11805 for as_dir in $PATH
11808 test -z "$as_dir" && as_dir=.
11809 for ac_exec_ext in '' $ac_executable_extensions; do
11810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11811 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11821 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11822 if test -n "$LIPO_FOR_TARGET"; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11824 $as_echo "$LIPO_FOR_TARGET" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11827 $as_echo "no
" >&6; }
11834 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11835 for ncn_progname in lipo; do
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11837 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11838 if test -x $with_build_time_tools/${ncn_progname}; then
11839 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11841 $as_echo "yes" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11845 $as_echo "no
" >&6; }
11850 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11851 for ncn_progname in lipo; do
11852 if test -n "$ncn_target_tool_prefix"; then
11853 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11854 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11856 $as_echo_n "checking
for $ac_word...
" >&6; }
11857 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11858 $as_echo_n "(cached
) " >&6
11860 if test -n "$LIPO_FOR_TARGET"; then
11861 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11880 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11881 if test -n "$LIPO_FOR_TARGET"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11883 $as_echo "$LIPO_FOR_TARGET" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11886 $as_echo "no
" >&6; }
11891 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11893 set dummy ${ncn_progname}; ac_word=$2
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11895 $as_echo_n "checking
for $ac_word...
" >&6; }
11896 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11897 $as_echo_n "(cached
) " >&6
11899 if test -n "$LIPO_FOR_TARGET"; then
11900 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11903 for as_dir in $PATH
11906 test -z "$as_dir" && as_dir=.
11907 for ac_exec_ext in '' $ac_executable_extensions; do
11908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11909 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11919 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11920 if test -n "$LIPO_FOR_TARGET"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11922 $as_echo "$LIPO_FOR_TARGET" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11925 $as_echo "no
" >&6; }
11930 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11934 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11936 if test $build = $target ; then
11937 LIPO_FOR_TARGET="$2"
11939 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11942 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11946 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11952 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11953 if test -n "$with_build_time_tools"; then
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11955 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11956 if test -x $with_build_time_tools/nm; then
11957 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11958 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11960 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11963 $as_echo "no
" >&6; }
11965 elif test $build != $host && test $have_gcc_for_target = yes; then
11966 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11967 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11968 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11971 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11972 # Extract the first word of "nm
", so it can be a program name with args.
11973 set dummy nm; ac_word=$2
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11975 $as_echo_n "checking
for $ac_word...
" >&6; }
11976 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11977 $as_echo_n "(cached
) " >&6
11979 case $NM_FOR_TARGET in
11981 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11985 for as_dir in $gcc_cv_tool_dirs
11988 test -z "$as_dir" && as_dir=.
11989 for ac_exec_ext in '' $ac_executable_extensions; do
11990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11991 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12002 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12003 if test -n "$NM_FOR_TARGET"; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12005 $as_echo "$NM_FOR_TARGET" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12008 $as_echo "no
" >&6; }
12013 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12016 if test -n "$NM_FOR_TARGET"; then
12017 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12018 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12019 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12022 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12023 for ncn_progname in nm; do
12024 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12025 set dummy ${ncn_progname}; ac_word=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12027 $as_echo_n "checking
for $ac_word...
" >&6; }
12028 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12029 $as_echo_n "(cached
) " >&6
12031 if test -n "$NM_FOR_TARGET"; then
12032 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12035 for as_dir in $PATH
12038 test -z "$as_dir" && as_dir=.
12039 for ac_exec_ext in '' $ac_executable_extensions; do
12040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12041 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12051 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12052 if test -n "$NM_FOR_TARGET"; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12054 $as_echo "$NM_FOR_TARGET" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12057 $as_echo "no
" >&6; }
12064 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12065 for ncn_progname in nm; do
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12067 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12068 if test -x $with_build_time_tools/${ncn_progname}; then
12069 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12071 $as_echo "yes" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12075 $as_echo "no
" >&6; }
12080 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12081 for ncn_progname in nm; do
12082 if test -n "$ncn_target_tool_prefix"; then
12083 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12084 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12086 $as_echo_n "checking
for $ac_word...
" >&6; }
12087 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12088 $as_echo_n "(cached
) " >&6
12090 if test -n "$NM_FOR_TARGET"; then
12091 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12094 for as_dir in $PATH
12097 test -z "$as_dir" && as_dir=.
12098 for ac_exec_ext in '' $ac_executable_extensions; do
12099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12100 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12110 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12111 if test -n "$NM_FOR_TARGET"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12113 $as_echo "$NM_FOR_TARGET" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12116 $as_echo "no
" >&6; }
12121 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12122 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12123 set dummy ${ncn_progname}; ac_word=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12125 $as_echo_n "checking
for $ac_word...
" >&6; }
12126 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12127 $as_echo_n "(cached
) " >&6
12129 if test -n "$NM_FOR_TARGET"; then
12130 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12133 for as_dir in $PATH
12136 test -z "$as_dir" && as_dir=.
12137 for ac_exec_ext in '' $ac_executable_extensions; do
12138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12139 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12149 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12150 if test -n "$NM_FOR_TARGET"; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12152 $as_echo "$NM_FOR_TARGET" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12155 $as_echo "no
" >&6; }
12160 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12164 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12166 if test $build = $target ; then
12169 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12172 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12176 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12182 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12183 if test -n "$with_build_time_tools"; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12185 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12186 if test -x $with_build_time_tools/objdump; then
12187 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12188 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12190 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12193 $as_echo "no
" >&6; }
12195 elif test $build != $host && test $have_gcc_for_target = yes; then
12196 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12197 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12198 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12201 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12202 # Extract the first word of "objdump
", so it can be a program name with args.
12203 set dummy objdump; ac_word=$2
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12205 $as_echo_n "checking
for $ac_word...
" >&6; }
12206 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12207 $as_echo_n "(cached
) " >&6
12209 case $OBJDUMP_FOR_TARGET in
12211 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12215 for as_dir in $gcc_cv_tool_dirs
12218 test -z "$as_dir" && as_dir=.
12219 for ac_exec_ext in '' $ac_executable_extensions; do
12220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12221 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12232 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12233 if test -n "$OBJDUMP_FOR_TARGET"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12235 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12238 $as_echo "no
" >&6; }
12243 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12246 if test -n "$OBJDUMP_FOR_TARGET"; then
12247 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12248 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12249 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12252 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12253 for ncn_progname in objdump; do
12254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12255 set dummy ${ncn_progname}; ac_word=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12257 $as_echo_n "checking
for $ac_word...
" >&6; }
12258 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12259 $as_echo_n "(cached
) " >&6
12261 if test -n "$OBJDUMP_FOR_TARGET"; then
12262 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12265 for as_dir in $PATH
12268 test -z "$as_dir" && as_dir=.
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12271 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12281 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12282 if test -n "$OBJDUMP_FOR_TARGET"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12284 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12287 $as_echo "no
" >&6; }
12294 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12295 for ncn_progname in objdump; do
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12297 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12298 if test -x $with_build_time_tools/${ncn_progname}; then
12299 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12301 $as_echo "yes" >&6; }
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12305 $as_echo "no
" >&6; }
12310 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12311 for ncn_progname in objdump; do
12312 if test -n "$ncn_target_tool_prefix"; then
12313 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12314 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12316 $as_echo_n "checking
for $ac_word...
" >&6; }
12317 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12318 $as_echo_n "(cached
) " >&6
12320 if test -n "$OBJDUMP_FOR_TARGET"; then
12321 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12340 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12341 if test -n "$OBJDUMP_FOR_TARGET"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12343 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12346 $as_echo "no
" >&6; }
12351 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12352 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12353 set dummy ${ncn_progname}; ac_word=$2
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12355 $as_echo_n "checking
for $ac_word...
" >&6; }
12356 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12357 $as_echo_n "(cached
) " >&6
12359 if test -n "$OBJDUMP_FOR_TARGET"; then
12360 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12363 for as_dir in $PATH
12366 test -z "$as_dir" && as_dir=.
12367 for ac_exec_ext in '' $ac_executable_extensions; do
12368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12369 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12379 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12380 if test -n "$OBJDUMP_FOR_TARGET"; then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12382 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12385 $as_echo "no
" >&6; }
12390 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12394 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12396 if test $build = $target ; then
12397 OBJDUMP_FOR_TARGET="$2"
12399 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12402 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12406 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12412 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12413 if test -n "$with_build_time_tools"; then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12415 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12416 if test -x $with_build_time_tools/ranlib; then
12417 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12418 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12420 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12423 $as_echo "no
" >&6; }
12425 elif test $build != $host && test $have_gcc_for_target = yes; then
12426 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12427 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12428 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12431 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12432 # Extract the first word of "ranlib
", so it can be a program name with args.
12433 set dummy ranlib; ac_word=$2
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12435 $as_echo_n "checking
for $ac_word...
" >&6; }
12436 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12437 $as_echo_n "(cached
) " >&6
12439 case $RANLIB_FOR_TARGET in
12441 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12445 for as_dir in $gcc_cv_tool_dirs
12448 test -z "$as_dir" && as_dir=.
12449 for ac_exec_ext in '' $ac_executable_extensions; do
12450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12451 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12462 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12463 if test -n "$RANLIB_FOR_TARGET"; then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12465 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12468 $as_echo "no
" >&6; }
12473 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12476 if test -n "$RANLIB_FOR_TARGET"; then
12477 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12478 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12479 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12482 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12483 for ncn_progname in ranlib; do
12484 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12485 set dummy ${ncn_progname}; ac_word=$2
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12487 $as_echo_n "checking
for $ac_word...
" >&6; }
12488 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12489 $as_echo_n "(cached
) " >&6
12491 if test -n "$RANLIB_FOR_TARGET"; then
12492 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12511 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12512 if test -n "$RANLIB_FOR_TARGET"; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12514 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12517 $as_echo "no
" >&6; }
12524 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12525 for ncn_progname in ranlib; do
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12527 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12528 if test -x $with_build_time_tools/${ncn_progname}; then
12529 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12531 $as_echo "yes" >&6; }
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12535 $as_echo "no
" >&6; }
12540 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12541 for ncn_progname in ranlib; do
12542 if test -n "$ncn_target_tool_prefix"; then
12543 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12544 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12546 $as_echo_n "checking
for $ac_word...
" >&6; }
12547 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12548 $as_echo_n "(cached
) " >&6
12550 if test -n "$RANLIB_FOR_TARGET"; then
12551 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12554 for as_dir in $PATH
12557 test -z "$as_dir" && as_dir=.
12558 for ac_exec_ext in '' $ac_executable_extensions; do
12559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12560 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12570 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12571 if test -n "$RANLIB_FOR_TARGET"; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12573 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12576 $as_echo "no
" >&6; }
12581 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12582 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12583 set dummy ${ncn_progname}; ac_word=$2
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12585 $as_echo_n "checking
for $ac_word...
" >&6; }
12586 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12587 $as_echo_n "(cached
) " >&6
12589 if test -n "$RANLIB_FOR_TARGET"; then
12590 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12593 for as_dir in $PATH
12596 test -z "$as_dir" && as_dir=.
12597 for ac_exec_ext in '' $ac_executable_extensions; do
12598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12599 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12609 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12610 if test -n "$RANLIB_FOR_TARGET"; then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12612 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12615 $as_echo "no
" >&6; }
12620 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12624 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12626 if test $build = $target ; then
12627 RANLIB_FOR_TARGET="$2"
12629 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12632 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12636 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12642 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12643 if test -n "$with_build_time_tools"; then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12645 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12646 if test -x $with_build_time_tools/readelf; then
12647 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12648 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12650 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12653 $as_echo "no
" >&6; }
12655 elif test $build != $host && test $have_gcc_for_target = yes; then
12656 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12657 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12658 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12661 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12662 # Extract the first word of "readelf
", so it can be a program name with args.
12663 set dummy readelf; ac_word=$2
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12665 $as_echo_n "checking
for $ac_word...
" >&6; }
12666 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12667 $as_echo_n "(cached
) " >&6
12669 case $READELF_FOR_TARGET in
12671 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $gcc_cv_tool_dirs
12678 test -z "$as_dir" && as_dir=.
12679 for ac_exec_ext in '' $ac_executable_extensions; do
12680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12681 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12692 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12693 if test -n "$READELF_FOR_TARGET"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12695 $as_echo "$READELF_FOR_TARGET" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12698 $as_echo "no
" >&6; }
12703 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12706 if test -n "$READELF_FOR_TARGET"; then
12707 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12708 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12709 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12712 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12713 for ncn_progname in readelf; do
12714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12715 set dummy ${ncn_progname}; ac_word=$2
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12717 $as_echo_n "checking
for $ac_word...
" >&6; }
12718 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12719 $as_echo_n "(cached
) " >&6
12721 if test -n "$READELF_FOR_TARGET"; then
12722 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12728 test -z "$as_dir" && as_dir=.
12729 for ac_exec_ext in '' $ac_executable_extensions; do
12730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12731 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12741 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12742 if test -n "$READELF_FOR_TARGET"; then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12744 $as_echo "$READELF_FOR_TARGET" >&6; }
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12747 $as_echo "no
" >&6; }
12754 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12755 for ncn_progname in readelf; do
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12757 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12758 if test -x $with_build_time_tools/${ncn_progname}; then
12759 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12761 $as_echo "yes" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12765 $as_echo "no
" >&6; }
12770 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12771 for ncn_progname in readelf; do
12772 if test -n "$ncn_target_tool_prefix"; then
12773 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12774 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12776 $as_echo_n "checking
for $ac_word...
" >&6; }
12777 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12778 $as_echo_n "(cached
) " >&6
12780 if test -n "$READELF_FOR_TARGET"; then
12781 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12800 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12801 if test -n "$READELF_FOR_TARGET"; then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12803 $as_echo "$READELF_FOR_TARGET" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12806 $as_echo "no
" >&6; }
12811 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12812 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12813 set dummy ${ncn_progname}; ac_word=$2
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12815 $as_echo_n "checking
for $ac_word...
" >&6; }
12816 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12817 $as_echo_n "(cached
) " >&6
12819 if test -n "$READELF_FOR_TARGET"; then
12820 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12823 for as_dir in $PATH
12826 test -z "$as_dir" && as_dir=.
12827 for ac_exec_ext in '' $ac_executable_extensions; do
12828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12829 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12839 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12840 if test -n "$READELF_FOR_TARGET"; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12842 $as_echo "$READELF_FOR_TARGET" >&6; }
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12845 $as_echo "no
" >&6; }
12850 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12854 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12856 if test $build = $target ; then
12857 READELF_FOR_TARGET="$2"
12859 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12862 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12866 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12872 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12873 if test -n "$with_build_time_tools"; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12875 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12876 if test -x $with_build_time_tools/strip; then
12877 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12878 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12880 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12883 $as_echo "no
" >&6; }
12885 elif test $build != $host && test $have_gcc_for_target = yes; then
12886 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12887 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12888 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12891 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12892 # Extract the first word of "strip
", so it can be a program name with args.
12893 set dummy strip; ac_word=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12895 $as_echo_n "checking
for $ac_word...
" >&6; }
12896 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12897 $as_echo_n "(cached
) " >&6
12899 case $STRIP_FOR_TARGET in
12901 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 for as_dir in $gcc_cv_tool_dirs
12908 test -z "$as_dir" && as_dir=.
12909 for ac_exec_ext in '' $ac_executable_extensions; do
12910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12911 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12922 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12923 if test -n "$STRIP_FOR_TARGET"; then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12925 $as_echo "$STRIP_FOR_TARGET" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12928 $as_echo "no
" >&6; }
12933 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12936 if test -n "$STRIP_FOR_TARGET"; then
12937 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12938 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12939 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12942 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12943 for ncn_progname in strip; do
12944 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12945 set dummy ${ncn_progname}; ac_word=$2
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12947 $as_echo_n "checking
for $ac_word...
" >&6; }
12948 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12949 $as_echo_n "(cached
) " >&6
12951 if test -n "$STRIP_FOR_TARGET"; then
12952 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12955 for as_dir in $PATH
12958 test -z "$as_dir" && as_dir=.
12959 for ac_exec_ext in '' $ac_executable_extensions; do
12960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12961 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12971 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12972 if test -n "$STRIP_FOR_TARGET"; then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12974 $as_echo "$STRIP_FOR_TARGET" >&6; }
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12977 $as_echo "no
" >&6; }
12984 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12985 for ncn_progname in strip; do
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12987 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12988 if test -x $with_build_time_tools/${ncn_progname}; then
12989 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12991 $as_echo "yes" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12995 $as_echo "no
" >&6; }
13000 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13001 for ncn_progname in strip; do
13002 if test -n "$ncn_target_tool_prefix"; then
13003 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13004 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13006 $as_echo_n "checking
for $ac_word...
" >&6; }
13007 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13008 $as_echo_n "(cached
) " >&6
13010 if test -n "$STRIP_FOR_TARGET"; then
13011 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13014 for as_dir in $PATH
13017 test -z "$as_dir" && as_dir=.
13018 for ac_exec_ext in '' $ac_executable_extensions; do
13019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13020 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13030 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13031 if test -n "$STRIP_FOR_TARGET"; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13033 $as_echo "$STRIP_FOR_TARGET" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13036 $as_echo "no
" >&6; }
13041 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13043 set dummy ${ncn_progname}; ac_word=$2
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13045 $as_echo_n "checking
for $ac_word...
" >&6; }
13046 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13047 $as_echo_n "(cached
) " >&6
13049 if test -n "$STRIP_FOR_TARGET"; then
13050 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13053 for as_dir in $PATH
13056 test -z "$as_dir" && as_dir=.
13057 for ac_exec_ext in '' $ac_executable_extensions; do
13058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13059 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13069 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13070 if test -n "$STRIP_FOR_TARGET"; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13072 $as_echo "$STRIP_FOR_TARGET" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13075 $as_echo "no
" >&6; }
13080 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13084 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13086 if test $build = $target ; then
13087 STRIP_FOR_TARGET="$2"
13089 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13092 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13096 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13102 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13103 if test -n "$with_build_time_tools"; then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13105 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13106 if test -x $with_build_time_tools/windres; then
13107 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13108 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13110 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13113 $as_echo "no
" >&6; }
13115 elif test $build != $host && test $have_gcc_for_target = yes; then
13116 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13117 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13118 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13121 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13122 # Extract the first word of "windres
", so it can be a program name with args.
13123 set dummy windres; ac_word=$2
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13125 $as_echo_n "checking
for $ac_word...
" >&6; }
13126 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13127 $as_echo_n "(cached
) " >&6
13129 case $WINDRES_FOR_TARGET in
13131 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13135 for as_dir in $gcc_cv_tool_dirs
13138 test -z "$as_dir" && as_dir=.
13139 for ac_exec_ext in '' $ac_executable_extensions; do
13140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13141 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13152 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13153 if test -n "$WINDRES_FOR_TARGET"; then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13155 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13158 $as_echo "no
" >&6; }
13163 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13166 if test -n "$WINDRES_FOR_TARGET"; then
13167 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13168 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13169 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13172 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13173 for ncn_progname in windres; do
13174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13175 set dummy ${ncn_progname}; ac_word=$2
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13177 $as_echo_n "checking
for $ac_word...
" >&6; }
13178 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13179 $as_echo_n "(cached
) " >&6
13181 if test -n "$WINDRES_FOR_TARGET"; then
13182 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13185 for as_dir in $PATH
13188 test -z "$as_dir" && as_dir=.
13189 for ac_exec_ext in '' $ac_executable_extensions; do
13190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13191 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13201 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13202 if test -n "$WINDRES_FOR_TARGET"; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13204 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13207 $as_echo "no
" >&6; }
13214 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13215 for ncn_progname in windres; do
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13217 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13218 if test -x $with_build_time_tools/${ncn_progname}; then
13219 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13221 $as_echo "yes" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13225 $as_echo "no
" >&6; }
13230 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13231 for ncn_progname in windres; do
13232 if test -n "$ncn_target_tool_prefix"; then
13233 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13234 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13236 $as_echo_n "checking
for $ac_word...
" >&6; }
13237 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13238 $as_echo_n "(cached
) " >&6
13240 if test -n "$WINDRES_FOR_TARGET"; then
13241 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13247 test -z "$as_dir" && as_dir=.
13248 for ac_exec_ext in '' $ac_executable_extensions; do
13249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13250 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13260 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13261 if test -n "$WINDRES_FOR_TARGET"; then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13263 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13266 $as_echo "no
" >&6; }
13271 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13273 set dummy ${ncn_progname}; ac_word=$2
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13275 $as_echo_n "checking
for $ac_word...
" >&6; }
13276 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13277 $as_echo_n "(cached
) " >&6
13279 if test -n "$WINDRES_FOR_TARGET"; then
13280 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13283 for as_dir in $PATH
13286 test -z "$as_dir" && as_dir=.
13287 for ac_exec_ext in '' $ac_executable_extensions; do
13288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13289 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13299 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13300 if test -n "$WINDRES_FOR_TARGET"; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13302 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13305 $as_echo "no
" >&6; }
13310 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13314 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13316 if test $build = $target ; then
13317 WINDRES_FOR_TARGET="$2"
13319 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13322 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13326 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13332 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13333 if test -n "$with_build_time_tools"; then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13335 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13336 if test -x $with_build_time_tools/windmc; then
13337 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13338 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13340 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13343 $as_echo "no
" >&6; }
13345 elif test $build != $host && test $have_gcc_for_target = yes; then
13346 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13347 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13348 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13351 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13352 # Extract the first word of "windmc
", so it can be a program name with args.
13353 set dummy windmc; ac_word=$2
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13355 $as_echo_n "checking
for $ac_word...
" >&6; }
13356 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13357 $as_echo_n "(cached
) " >&6
13359 case $WINDMC_FOR_TARGET in
13361 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13365 for as_dir in $gcc_cv_tool_dirs
13368 test -z "$as_dir" && as_dir=.
13369 for ac_exec_ext in '' $ac_executable_extensions; do
13370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13371 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13382 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13383 if test -n "$WINDMC_FOR_TARGET"; then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13385 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13388 $as_echo "no
" >&6; }
13393 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13396 if test -n "$WINDMC_FOR_TARGET"; then
13397 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13398 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13399 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13402 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13403 for ncn_progname in windmc; do
13404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13405 set dummy ${ncn_progname}; ac_word=$2
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13407 $as_echo_n "checking
for $ac_word...
" >&6; }
13408 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13409 $as_echo_n "(cached
) " >&6
13411 if test -n "$WINDMC_FOR_TARGET"; then
13412 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13415 for as_dir in $PATH
13418 test -z "$as_dir" && as_dir=.
13419 for ac_exec_ext in '' $ac_executable_extensions; do
13420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13421 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13431 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13432 if test -n "$WINDMC_FOR_TARGET"; then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13434 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13437 $as_echo "no
" >&6; }
13444 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13445 for ncn_progname in windmc; do
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13447 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13448 if test -x $with_build_time_tools/${ncn_progname}; then
13449 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13451 $as_echo "yes" >&6; }
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13455 $as_echo "no
" >&6; }
13460 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13461 for ncn_progname in windmc; do
13462 if test -n "$ncn_target_tool_prefix"; then
13463 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13464 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13466 $as_echo_n "checking
for $ac_word...
" >&6; }
13467 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13468 $as_echo_n "(cached
) " >&6
13470 if test -n "$WINDMC_FOR_TARGET"; then
13471 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13474 for as_dir in $PATH
13477 test -z "$as_dir" && as_dir=.
13478 for ac_exec_ext in '' $ac_executable_extensions; do
13479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13480 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13490 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13491 if test -n "$WINDMC_FOR_TARGET"; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13493 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13496 $as_echo "no
" >&6; }
13501 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13503 set dummy ${ncn_progname}; ac_word=$2
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13505 $as_echo_n "checking
for $ac_word...
" >&6; }
13506 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13507 $as_echo_n "(cached
) " >&6
13509 if test -n "$WINDMC_FOR_TARGET"; then
13510 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13513 for as_dir in $PATH
13516 test -z "$as_dir" && as_dir=.
13517 for ac_exec_ext in '' $ac_executable_extensions; do
13518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13519 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13529 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13530 if test -n "$WINDMC_FOR_TARGET"; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13532 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13535 $as_echo "no
" >&6; }
13540 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13544 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13546 if test $build = $target ; then
13547 WINDMC_FOR_TARGET="$2"
13549 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13552 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13556 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13560 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13563 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13564 if test "x
${build}" != "x
${host}" ; then
13565 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13566 # We already found the complete path
13567 ac_dir=`dirname $AR_FOR_TARGET`
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13569 $as_echo "pre-installed
in $ac_dir" >&6; }
13571 # Canadian cross, just use what we found
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13573 $as_echo "pre-installed
" >&6; }
13577 case " ${configdirs} " in
13582 if test $ok = yes; then
13583 # An in-tree tool is available and we can use it
13584 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13586 $as_echo "just compiled
" >&6; }
13587 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13588 # We already found the complete path
13589 ac_dir=`dirname $AR_FOR_TARGET`
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13591 $as_echo "pre-installed
in $ac_dir" >&6; }
13592 elif test "x
$target" = "x
$host"; then
13593 # We can use an host tool
13594 AR_FOR_TARGET='$(AR)'
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13596 $as_echo "host tool
" >&6; }
13598 # We need a cross tool
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13600 $as_echo "pre-installed
" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13605 $as_echo_n "checking where to
find the target as...
" >&6; }
13606 if test "x
${build}" != "x
${host}" ; then
13607 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13608 # We already found the complete path
13609 ac_dir=`dirname $AS_FOR_TARGET`
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13611 $as_echo "pre-installed
in $ac_dir" >&6; }
13613 # Canadian cross, just use what we found
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13615 $as_echo "pre-installed
" >&6; }
13619 case " ${configdirs} " in
13624 if test $ok = yes; then
13625 # An in-tree tool is available and we can use it
13626 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13628 $as_echo "just compiled
" >&6; }
13629 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13630 # We already found the complete path
13631 ac_dir=`dirname $AS_FOR_TARGET`
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13633 $as_echo "pre-installed
in $ac_dir" >&6; }
13634 elif test "x
$target" = "x
$host"; then
13635 # We can use an host tool
13636 AS_FOR_TARGET='$(AS)'
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13638 $as_echo "host tool
" >&6; }
13640 # We need a cross tool
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13642 $as_echo "pre-installed
" >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13647 $as_echo_n "checking where to
find the target cc...
" >&6; }
13648 if test "x
${build}" != "x
${host}" ; then
13649 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13650 # We already found the complete path
13651 ac_dir=`dirname $CC_FOR_TARGET`
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13653 $as_echo "pre-installed
in $ac_dir" >&6; }
13655 # Canadian cross, just use what we found
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13657 $as_echo "pre-installed
" >&6; }
13661 case " ${configdirs} " in
13666 if test $ok = yes; then
13667 # An in-tree tool is available and we can use it
13668 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13670 $as_echo "just compiled
" >&6; }
13671 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13672 # We already found the complete path
13673 ac_dir=`dirname $CC_FOR_TARGET`
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13675 $as_echo "pre-installed
in $ac_dir" >&6; }
13676 elif test "x
$target" = "x
$host"; then
13677 # We can use an host tool
13678 CC_FOR_TARGET='$(CC)'
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13680 $as_echo "host tool
" >&6; }
13682 # We need a cross tool
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13684 $as_echo "pre-installed
" >&6; }
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13689 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13690 if test "x
${build}" != "x
${host}" ; then
13691 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13692 # We already found the complete path
13693 ac_dir=`dirname $CXX_FOR_TARGET`
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13695 $as_echo "pre-installed
in $ac_dir" >&6; }
13697 # Canadian cross, just use what we found
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13699 $as_echo "pre-installed
" >&6; }
13703 case " ${configdirs} " in
13707 case ,${enable_languages}, in
13711 if test $ok = yes; then
13712 # An in-tree tool is available and we can use it
13713 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'
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13715 $as_echo "just compiled
" >&6; }
13716 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13717 # We already found the complete path
13718 ac_dir=`dirname $CXX_FOR_TARGET`
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13720 $as_echo "pre-installed
in $ac_dir" >&6; }
13721 elif test "x
$target" = "x
$host"; then
13722 # We can use an host tool
13723 CXX_FOR_TARGET='$(CXX)'
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13725 $as_echo "host tool
" >&6; }
13727 # We need a cross tool
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13729 $as_echo "pre-installed
" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13734 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13735 if test "x
${build}" != "x
${host}" ; then
13736 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13737 # We already found the complete path
13738 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13740 $as_echo "pre-installed
in $ac_dir" >&6; }
13742 # Canadian cross, just use what we found
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13744 $as_echo "pre-installed
" >&6; }
13748 case " ${configdirs} " in
13752 case ,${enable_languages}, in
13756 if test $ok = yes; then
13757 # An in-tree tool is available and we can use it
13758 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'
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13760 $as_echo "just compiled
" >&6; }
13761 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13762 # We already found the complete path
13763 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13765 $as_echo "pre-installed
in $ac_dir" >&6; }
13766 elif test "x
$target" = "x
$host"; then
13767 # We can use an host tool
13768 RAW_CXX_FOR_TARGET='$(CXX)'
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13770 $as_echo "host tool
" >&6; }
13772 # We need a cross tool
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13774 $as_echo "pre-installed
" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13779 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13780 if test "x
${build}" != "x
${host}" ; then
13781 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13782 # We already found the complete path
13783 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13785 $as_echo "pre-installed
in $ac_dir" >&6; }
13787 # Canadian cross, just use what we found
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13789 $as_echo "pre-installed
" >&6; }
13793 case " ${configdirs} " in
13798 if test $ok = yes; then
13799 # An in-tree tool is available and we can use it
13800 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13802 $as_echo "just compiled
" >&6; }
13803 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13804 # We already found the complete path
13805 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13807 $as_echo "pre-installed
in $ac_dir" >&6; }
13808 elif test "x
$target" = "x
$host"; then
13809 # We can use an host tool
13810 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13812 $as_echo "host tool
" >&6; }
13814 # We need a cross tool
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13816 $as_echo "pre-installed
" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13821 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13822 if test "x
${build}" != "x
${host}" ; then
13823 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13824 # We already found the complete path
13825 ac_dir=`dirname $GCC_FOR_TARGET`
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13827 $as_echo "pre-installed
in $ac_dir" >&6; }
13829 # Canadian cross, just use what we found
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13831 $as_echo "pre-installed
" >&6; }
13835 case " ${configdirs} " in
13840 if test $ok = yes; then
13841 # An in-tree tool is available and we can use it
13842 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13844 $as_echo "just compiled
" >&6; }
13845 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13846 # We already found the complete path
13847 ac_dir=`dirname $GCC_FOR_TARGET`
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13849 $as_echo "pre-installed
in $ac_dir" >&6; }
13850 elif test "x
$target" = "x
$host"; then
13851 # We can use an host tool
13852 GCC_FOR_TARGET='$()'
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13854 $as_echo "host tool
" >&6; }
13856 # We need a cross tool
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13858 $as_echo "pre-installed
" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13863 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13864 if test "x
${build}" != "x
${host}" ; then
13865 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13866 # We already found the complete path
13867 ac_dir=`dirname $GCJ_FOR_TARGET`
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13869 $as_echo "pre-installed
in $ac_dir" >&6; }
13871 # Canadian cross, just use what we found
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13873 $as_echo "pre-installed
" >&6; }
13877 case " ${configdirs} " in
13881 case ,${enable_languages}, in
13885 if test $ok = yes; then
13886 # An in-tree tool is available and we can use it
13887 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13889 $as_echo "just compiled
" >&6; }
13890 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13891 # We already found the complete path
13892 ac_dir=`dirname $GCJ_FOR_TARGET`
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13894 $as_echo "pre-installed
in $ac_dir" >&6; }
13895 elif test "x
$target" = "x
$host"; then
13896 # We can use an host tool
13897 GCJ_FOR_TARGET='$(GCJ)'
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13899 $as_echo "host tool
" >&6; }
13901 # We need a cross tool
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13903 $as_echo "pre-installed
" >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13908 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13909 if test "x
${build}" != "x
${host}" ; then
13910 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13911 # We already found the complete path
13912 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13914 $as_echo "pre-installed
in $ac_dir" >&6; }
13916 # Canadian cross, just use what we found
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13918 $as_echo "pre-installed
" >&6; }
13922 case " ${configdirs} " in
13926 case ,${enable_languages}, in
13930 if test $ok = yes; then
13931 # An in-tree tool is available and we can use it
13932 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13934 $as_echo "just compiled
" >&6; }
13935 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13936 # We already found the complete path
13937 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13939 $as_echo "pre-installed
in $ac_dir" >&6; }
13940 elif test "x
$target" = "x
$host"; then
13941 # We can use an host tool
13942 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13944 $as_echo "host tool
" >&6; }
13946 # We need a cross tool
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13948 $as_echo "pre-installed
" >&6; }
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13953 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13954 if test "x
${build}" != "x
${host}" ; then
13955 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13956 # We already found the complete path
13957 ac_dir=`dirname $GOC_FOR_TARGET`
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13959 $as_echo "pre-installed
in $ac_dir" >&6; }
13961 # Canadian cross, just use what we found
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13963 $as_echo "pre-installed
" >&6; }
13967 case " ${configdirs} " in
13971 case ,${enable_languages}, in
13975 if test $ok = yes; then
13976 # An in-tree tool is available and we can use it
13977 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13979 $as_echo "just compiled
" >&6; }
13980 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13981 # We already found the complete path
13982 ac_dir=`dirname $GOC_FOR_TARGET`
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13984 $as_echo "pre-installed
in $ac_dir" >&6; }
13985 elif test "x
$target" = "x
$host"; then
13986 # We can use an host tool
13987 GOC_FOR_TARGET='$(GOC)'
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13989 $as_echo "host tool
" >&6; }
13991 # We need a cross tool
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13993 $as_echo "pre-installed
" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13998 $as_echo_n "checking where to
find the target ld...
" >&6; }
13999 if test "x
${build}" != "x
${host}" ; then
14000 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14001 # We already found the complete path
14002 ac_dir=`dirname $LD_FOR_TARGET`
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14004 $as_echo "pre-installed
in $ac_dir" >&6; }
14006 # Canadian cross, just use what we found
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14008 $as_echo "pre-installed
" >&6; }
14012 case " ${configdirs} " in
14017 if test $ok = yes; then
14018 # An in-tree tool is available and we can use it
14019 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14021 $as_echo "just compiled
" >&6; }
14022 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14023 # We already found the complete path
14024 ac_dir=`dirname $LD_FOR_TARGET`
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14026 $as_echo "pre-installed
in $ac_dir" >&6; }
14027 elif test "x
$target" = "x
$host"; then
14028 # We can use an host tool
14029 LD_FOR_TARGET='$(LD)'
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14031 $as_echo "host tool
" >&6; }
14033 # We need a cross tool
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14035 $as_echo "pre-installed
" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14040 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14041 if test "x
${build}" != "x
${host}" ; then
14042 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14043 # We already found the complete path
14044 ac_dir=`dirname $LIPO_FOR_TARGET`
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14046 $as_echo "pre-installed
in $ac_dir" >&6; }
14048 # Canadian cross, just use what we found
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14050 $as_echo "pre-installed
" >&6; }
14053 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14054 # We already found the complete path
14055 ac_dir=`dirname $LIPO_FOR_TARGET`
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14057 $as_echo "pre-installed
in $ac_dir" >&6; }
14058 elif test "x
$target" = "x
$host"; then
14059 # We can use an host tool
14060 LIPO_FOR_TARGET='$(LIPO)'
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14062 $as_echo "host tool
" >&6; }
14064 # We need a cross tool
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14066 $as_echo "pre-installed
" >&6; }
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14071 $as_echo_n "checking where to
find the target nm...
" >&6; }
14072 if test "x
${build}" != "x
${host}" ; then
14073 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14074 # We already found the complete path
14075 ac_dir=`dirname $NM_FOR_TARGET`
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14077 $as_echo "pre-installed
in $ac_dir" >&6; }
14079 # Canadian cross, just use what we found
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14081 $as_echo "pre-installed
" >&6; }
14085 case " ${configdirs} " in
14090 if test $ok = yes; then
14091 # An in-tree tool is available and we can use it
14092 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14094 $as_echo "just compiled
" >&6; }
14095 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14096 # We already found the complete path
14097 ac_dir=`dirname $NM_FOR_TARGET`
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14099 $as_echo "pre-installed
in $ac_dir" >&6; }
14100 elif test "x
$target" = "x
$host"; then
14101 # We can use an host tool
14102 NM_FOR_TARGET='$(NM)'
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14104 $as_echo "host tool
" >&6; }
14106 # We need a cross tool
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14108 $as_echo "pre-installed
" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14113 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14114 if test "x
${build}" != "x
${host}" ; then
14115 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14119 $as_echo "pre-installed
in $ac_dir" >&6; }
14121 # Canadian cross, just use what we found
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14123 $as_echo "pre-installed
" >&6; }
14127 case " ${configdirs} " in
14132 if test $ok = yes; then
14133 # An in-tree tool is available and we can use it
14134 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14136 $as_echo "just compiled
" >&6; }
14137 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14138 # We already found the complete path
14139 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14141 $as_echo "pre-installed
in $ac_dir" >&6; }
14142 elif test "x
$target" = "x
$host"; then
14143 # We can use an host tool
14144 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14146 $as_echo "host tool
" >&6; }
14148 # We need a cross tool
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14150 $as_echo "pre-installed
" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14155 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14156 if test "x
${build}" != "x
${host}" ; then
14157 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $RANLIB_FOR_TARGET`
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14161 $as_echo "pre-installed
in $ac_dir" >&6; }
14163 # Canadian cross, just use what we found
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14165 $as_echo "pre-installed
" >&6; }
14169 case " ${configdirs} " in
14174 if test $ok = yes; then
14175 # An in-tree tool is available and we can use it
14176 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14178 $as_echo "just compiled
" >&6; }
14179 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14180 # We already found the complete path
14181 ac_dir=`dirname $RANLIB_FOR_TARGET`
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14183 $as_echo "pre-installed
in $ac_dir" >&6; }
14184 elif test "x
$target" = "x
$host"; then
14185 # We can use an host tool
14186 RANLIB_FOR_TARGET='$(RANLIB)'
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14188 $as_echo "host tool
" >&6; }
14190 # We need a cross tool
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14192 $as_echo "pre-installed
" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14197 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14198 if test "x
${build}" != "x
${host}" ; then
14199 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $READELF_FOR_TARGET`
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14203 $as_echo "pre-installed
in $ac_dir" >&6; }
14205 # Canadian cross, just use what we found
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14207 $as_echo "pre-installed
" >&6; }
14211 case " ${configdirs} " in
14216 if test $ok = yes; then
14217 # An in-tree tool is available and we can use it
14218 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14220 $as_echo "just compiled
" >&6; }
14221 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14222 # We already found the complete path
14223 ac_dir=`dirname $READELF_FOR_TARGET`
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14225 $as_echo "pre-installed
in $ac_dir" >&6; }
14226 elif test "x
$target" = "x
$host"; then
14227 # We can use an host tool
14228 READELF_FOR_TARGET='$(READELF)'
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14230 $as_echo "host tool
" >&6; }
14232 # We need a cross tool
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14234 $as_echo "pre-installed
" >&6; }
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14239 $as_echo_n "checking where to
find the target strip...
" >&6; }
14240 if test "x
${build}" != "x
${host}" ; then
14241 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14242 # We already found the complete path
14243 ac_dir=`dirname $STRIP_FOR_TARGET`
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14245 $as_echo "pre-installed
in $ac_dir" >&6; }
14247 # Canadian cross, just use what we found
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14249 $as_echo "pre-installed
" >&6; }
14253 case " ${configdirs} " in
14258 if test $ok = yes; then
14259 # An in-tree tool is available and we can use it
14260 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14262 $as_echo "just compiled
" >&6; }
14263 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14264 # We already found the complete path
14265 ac_dir=`dirname $STRIP_FOR_TARGET`
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14267 $as_echo "pre-installed
in $ac_dir" >&6; }
14268 elif test "x
$target" = "x
$host"; then
14269 # We can use an host tool
14270 STRIP_FOR_TARGET='$(STRIP)'
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14272 $as_echo "host tool
" >&6; }
14274 # We need a cross tool
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14276 $as_echo "pre-installed
" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14281 $as_echo_n "checking where to
find the target windres...
" >&6; }
14282 if test "x
${build}" != "x
${host}" ; then
14283 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14284 # We already found the complete path
14285 ac_dir=`dirname $WINDRES_FOR_TARGET`
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14287 $as_echo "pre-installed
in $ac_dir" >&6; }
14289 # Canadian cross, just use what we found
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14291 $as_echo "pre-installed
" >&6; }
14295 case " ${configdirs} " in
14300 if test $ok = yes; then
14301 # An in-tree tool is available and we can use it
14302 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14304 $as_echo "just compiled
" >&6; }
14305 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14306 # We already found the complete path
14307 ac_dir=`dirname $WINDRES_FOR_TARGET`
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14309 $as_echo "pre-installed
in $ac_dir" >&6; }
14310 elif test "x
$target" = "x
$host"; then
14311 # We can use an host tool
14312 WINDRES_FOR_TARGET='$(WINDRES)'
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14314 $as_echo "host tool
" >&6; }
14316 # We need a cross tool
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14318 $as_echo "pre-installed
" >&6; }
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14323 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14324 if test "x
${build}" != "x
${host}" ; then
14325 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14326 # We already found the complete path
14327 ac_dir=`dirname $WINDMC_FOR_TARGET`
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14329 $as_echo "pre-installed
in $ac_dir" >&6; }
14331 # Canadian cross, just use what we found
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14333 $as_echo "pre-installed
" >&6; }
14337 case " ${configdirs} " in
14342 if test $ok = yes; then
14343 # An in-tree tool is available and we can use it
14344 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14346 $as_echo "just compiled
" >&6; }
14347 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14348 # We already found the complete path
14349 ac_dir=`dirname $WINDMC_FOR_TARGET`
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14351 $as_echo "pre-installed
in $ac_dir" >&6; }
14352 elif test "x
$target" = "x
$host"; then
14353 # We can use an host tool
14354 WINDMC_FOR_TARGET='$(WINDMC)'
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14356 $as_echo "host tool
" >&6; }
14358 # We need a cross tool
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14360 $as_echo "pre-installed
" >&6; }
14368 # Certain tools may need extra flags.
14369 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14370 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14371 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14373 # When building target libraries, except in a Canadian cross, we use
14374 # the same toolchain as the compiler we just built.
14375 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14376 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14377 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14378 if test $host = $build; then
14379 case " $configdirs " in
14381 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14382 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14383 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14393 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14394 # Check whether --enable-maintainer-mode was given.
14395 if test "${enable_maintainer_mode+set}" = set; then :
14396 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14398 USE_MAINTAINER_MODE=no
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14402 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14405 if test "$USE_MAINTAINER_MODE" = yes; then
14406 MAINTAINER_MODE_TRUE=
14407 MAINTAINER_MODE_FALSE='#'
14409 MAINTAINER_MODE_TRUE='#'
14410 MAINTAINER_MODE_FALSE=
14412 MAINT=$MAINTAINER_MODE_TRUE
14414 # ---------------------
14415 # GCC bootstrap support
14416 # ---------------------
14418 # Stage specific cflags for build.
14423 yes) stage1_cflags="-g -Wa,-J" ;;
14424 *) stage1_cflags="-g -J" ;;
14430 # Enable --enable-checking in stage1 of the compiler.
14431 # Check whether --enable-stage1-checking was given.
14432 if test "${enable_stage1_checking+set}" = set; then :
14433 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14435 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14436 stage1_checking=--enable-checking=yes,types
14438 stage1_checking=--enable-checking=$enable_checking,types
14444 # Enable -Werror in bootstrap stage2 and later.
14445 # Check whether --enable-werror was given.
14446 if test "${enable_werror+set}" = set; then :
14447 enableval=$enable_werror;
14449 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14456 case ${enable_werror} in
14457 yes) stage2_werror_flag="--enable-werror-always" ;;
14458 *) stage2_werror_flag="" ;;
14462 # Enable --enable-host-shared.
14463 # Check whether --enable-host-shared was given.
14464 if test "${enable_host_shared+set}" = set; then :
14465 enableval=$enable_host_shared; host_shared=$enableval
14472 # Specify what files to not compare during bootstrap.
14474 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14476 hppa*64*-*-hpux*) ;;
14477 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14478 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14482 ac_config_files="$ac_config_files Makefile
"
14484 cat >confcache <<\_ACEOF
14485 # This file is a shell script that caches the results of configure
14486 # tests run on this system so they can be shared between configure
14487 # scripts and configure runs, see configure's option --config-cache.
14488 # It is not useful on other systems. If it contains results you don't
14489 # want to keep, you may remove or edit it.
14491 # config.status only pays attention to the cache file if you give it
14492 # the --recheck option to rerun configure.
14494 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14495 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14496 # following values.
14500 # The following way of writing the cache mishandles newlines in values,
14501 # but we know of no workaround that is simple, portable, and efficient.
14502 # So, we kill variables containing newlines.
14503 # Ultrix sh set writes to stderr and can't be redirected directly,
14504 # and sets the high bit in the cache file unless we assign to the vars.
14506 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14507 eval ac_val=\$$ac_var
14511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14512 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14515 _ | IFS | as_nl) ;; #(
14516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14517 *) { eval $ac_var=; unset $ac_var;} ;;
14523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14524 *${as_nl}ac_space=\ *)
14525 # `set' does not quote correctly, so add quotes: double-quote
14526 # substitution turns \\\\ into \\, and sed turns \\ into \.
14529 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14532 # `set' quotes correctly as required by POSIX, so do not add quotes.
14533 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14547 if test -w "$cache_file"; then
14548 test "x
$cache_file" != "x
/dev
/null
" &&
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14550 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14551 cat confcache >$cache_file
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14554 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14559 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14560 # Let make expand exec_prefix.
14561 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14563 # Transform confdefs.h into DEFS.
14564 # Protect against shell expansion while executing Makefile rules.
14565 # Protect against Makefile macro expansion.
14567 # If the first sed substitution is executed (which looks for macros that
14568 # take arguments), then branch to the quote section. Otherwise,
14569 # look for a macro that doesn't take arguments.
14579 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14581 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14585 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14598 DEFS=`sed -n "$ac_script" confdefs.h`
14603 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14604 # 1. Remove the extension, and $U if already installed.
14605 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14606 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14607 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14608 # will be set to the directory where LIBOBJS objects are built.
14609 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14610 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14612 LIBOBJS=$ac_libobjs
14614 LTLIBOBJS=$ac_ltlibobjs
14618 : ${CONFIG_STATUS=./config.status}
14620 ac_clean_files_save=$ac_clean_files
14621 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14623 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14625 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14627 # Generated by $as_me.
14628 # Run this file to recreate the current configuration.
14629 # Compiler output produced by configure, useful for debugging
14630 # configure, is in config.log if it exists.
14633 ac_cs_recheck=false
14636 SHELL=\${CONFIG_SHELL-$SHELL}
14639 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14640 ## -------------------- ##
14641 ## M4sh Initialization. ##
14642 ## -------------------- ##
14644 # Be more Bourne compatible
14645 DUALCASE=1; export DUALCASE # for MKS sh
14646 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14649 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14650 # is contrary to our usage. Disable this feature.
14651 alias -g '${1+"$@"}'='"$@"'
14652 setopt NO_GLOB_SUBST
14654 case `(set -o) 2>/dev/null` in #(
14666 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14667 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14668 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14669 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14670 # Prefer a ksh shell builtin over an external printf program on Solaris,
14671 # but without wasting forks for bash or zsh.
14672 if test -z "$BASH_VERSION$ZSH_VERSION" \
14673 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14674 as_echo
='print -r --'
14675 as_echo_n
='print -rn --'
14676 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14677 as_echo
='printf %s\n'
14678 as_echo_n
='printf %s'
14680 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14681 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14682 as_echo_n
='/usr/ucb/echo -n'
14684 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14685 as_echo_n_body
='eval
14689 expr "X$arg" : "X\\(.*\\)$as_nl";
14690 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14692 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14694 export as_echo_n_body
14695 as_echo_n
='sh -c $as_echo_n_body as_echo'
14697 export as_echo_body
14698 as_echo
='sh -c $as_echo_body as_echo'
14701 # The user is always right.
14702 if test "${PATH_SEPARATOR+set}" != set; then
14704 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14705 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14712 # We need space, tab and new line, in precisely that order. Quoting is
14713 # there to prevent editors from complaining about space-tab.
14714 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14715 # splitting by setting IFS to empty value.)
14718 # Find who we are. Look in the path if we contain no directory separator.
14720 *[\\/]* ) as_myself
=$0 ;;
14721 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14722 for as_dir
in $PATH
14725 test -z "$as_dir" && as_dir
=.
14726 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14732 # We did not find ourselves, most probably we were run as `sh COMMAND'
14733 # in which case we are not to be found in the path.
14734 if test "x$as_myself" = x
; then
14737 if test ! -f "$as_myself"; then
14738 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14742 # Unset variables that we do not need and which cause bugs (e.g. in
14743 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14744 # suppresses any "Segmentation fault" message there. '((' could
14745 # trigger a bug in pdksh 5.2.14.
14746 for as_var
in BASH_ENV ENV MAIL MAILPATH
14747 do eval test x\
${$as_var+set} = xset \
14748 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14761 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14764 # as_fn_error ERROR [LINENO LOG_FD]
14765 # ---------------------------------
14766 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14767 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14768 # script with status $?, using 1 if that was 0.
14771 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14773 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14774 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14776 $as_echo "$as_me: error: $1" >&2
14777 as_fn_exit
$as_status
14781 # as_fn_set_status STATUS
14782 # -----------------------
14783 # Set $? to STATUS, without forking.
14784 as_fn_set_status
()
14787 } # as_fn_set_status
14789 # as_fn_exit STATUS
14790 # -----------------
14791 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14795 as_fn_set_status
$1
14801 # Portably unset VAR.
14804 { eval $1=; unset $1;}
14806 as_unset
=as_fn_unset
14807 # as_fn_append VAR VALUE
14808 # ----------------------
14809 # Append the text in VALUE to the end of the definition contained in VAR. Take
14810 # advantage of any shell optimizations that allow amortized linear growth over
14811 # repeated appends, instead of the typical quadratic growth present in naive
14813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14814 eval 'as_fn_append ()
14825 # as_fn_arith ARG...
14826 # ------------------
14827 # Perform arithmetic evaluation on the ARGs, and store the result in the
14828 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14829 # must be portable across $(()) and expr.
14830 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14831 eval 'as_fn_arith ()
14838 as_val
=`expr "$@" || test $? -eq 1`
14843 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14844 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14850 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14851 as_basename
=basename
14856 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14862 as_me
=`$as_basename -- "$0" ||
14863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14864 X"$0" : 'X\(//\)$' \| \
14865 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14867 sed '/^.*\/\([^/][^/]*\)\/*$/{
14881 # Avoid depending upon Character Ranges.
14882 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14883 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14884 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14885 as_cr_digits
='0123456789'
14886 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14888 ECHO_C
= ECHO_N
= ECHO_T
=
14889 case `echo -n x` in #(((((
14891 case `echo 'xy\c'` in
14892 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14894 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14901 rm -f conf$$ conf$$.exe conf$$.
file
14902 if test -d conf$$.dir
; then
14903 rm -f conf$$.dir
/conf$$.
file
14906 mkdir conf$$.dir
2>/dev
/null
14908 if (echo >conf$$.
file) 2>/dev
/null
; then
14909 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14911 # ... but there are two gotchas:
14912 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14913 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14914 # In both cases, we have to default to `cp -p'.
14915 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14917 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14925 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14926 rmdir conf$$.dir
2>/dev
/null
14931 # Create "$as_dir" as a directory, including parents if necessary.
14936 -*) as_dir
=.
/$as_dir;;
14938 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14942 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14943 *) as_qdir
=$as_dir;;
14945 as_dirs
="'$as_qdir' $as_dirs"
14946 as_dir
=`$as_dirname -- "$as_dir" ||
14947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14948 X"$as_dir" : 'X\(//\)[^/]' \| \
14949 X"$as_dir" : 'X\(//\)$' \| \
14950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14951 $as_echo X"$as_dir" |
14952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14956 /^X\(\/\/\)[^/].*/{
14969 test -d "$as_dir" && break
14971 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14972 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14976 if mkdir
-p .
2>/dev
/null
; then
14977 as_mkdir_p
='mkdir -p "$as_dir"'
14979 test -d .
/-p && rmdir .
/-p
14983 if test -x / >/dev
/null
2>&1; then
14984 as_test_x
='test -x'
14986 if ls -dL / >/dev
/null
2>&1; then
14993 if test -d "$1"; then
14999 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15000 ???[sx]*):;;*)false;;esac;fi
15004 as_executable_p
=$as_test_x
15006 # Sed expression to map a string onto a valid CPP name.
15007 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15009 # Sed expression to map a string onto a valid variable name.
15010 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15014 ## ----------------------------------- ##
15015 ## Main body of $CONFIG_STATUS script. ##
15016 ## ----------------------------------- ##
15018 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 # Save the log message, to keep $0 and so on meaningful, and to
15022 # report actual input values of CONFIG_FILES etc. instead of their
15023 # values after options handling.
15025 This file was extended by $as_me, which was
15026 generated by GNU Autoconf 2.64. Invocation command line was
15028 CONFIG_FILES = $CONFIG_FILES
15029 CONFIG_HEADERS = $CONFIG_HEADERS
15030 CONFIG_LINKS = $CONFIG_LINKS
15031 CONFIG_COMMANDS = $CONFIG_COMMANDS
15034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15039 case $ac_config_files in *"
15040 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 # Files that config.status was made for.
15047 config_files="$ac_config_files"
15051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15053 \`$as_me' instantiates files and other configuration actions
15054 from templates according to the current configuration. Unless the files
15055 and actions are specified as TAGs, all are instantiated by default.
15057 Usage: $0 [OPTION]... [TAG]...
15059 -h, --help print this help, then exit
15060 -V, --version print version number and configuration settings, then exit
15061 -q, --quiet, --silent
15062 do not print progress messages
15063 -d, --debug don't remove temporary files
15064 --recheck update $as_me by reconfiguring in the same conditions
15065 --file=FILE[:TEMPLATE]
15066 instantiate the configuration file FILE
15068 Configuration files:
15071 Report bugs to the package provider."
15074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15077 configured by $0, generated by GNU Autoconf 2.64,
15078 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15080 Copyright (C) 2009 Free Software Foundation, Inc.
15081 This config.status script is free software; the Free Software Foundation
15082 gives unlimited permission to copy, distribute and modify it."
15088 test -n "\$AWK" || AWK=awk
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15092 # The default lists apply if the user does not specify any file.
15098 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15099 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15110 # Handling of the options.
15111 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15113 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15114 $as_echo "$ac_cs_version"; exit ;;
15115 --debug |
--debu |
--deb |
--de |
--d |
-d )
15117 --file |
--fil |
--fi |
--f )
15120 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15122 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15123 ac_need_defaults
=false
;;
15124 --he |
--h |
--help |
--hel |
-h )
15125 $as_echo "$ac_cs_usage"; exit ;;
15126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15127 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15130 # This is an error.
15131 -*) as_fn_error
"unrecognized option: \`$1'
15132 Try \`$0 --help' for more information." ;;
15134 *) as_fn_append ac_config_targets
" $1"
15135 ac_need_defaults
=false
;;
15141 ac_configure_extra_args
=
15143 if $ac_cs_silent; then
15145 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15150 if \$ac_cs_recheck; then
15151 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15154 CONFIG_SHELL='$SHELL'
15155 export CONFIG_SHELL
15160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15165 ## Running $as_me. ##
15171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15175 extrasub_build="$extrasub_build"
15176 extrasub_host="$extrasub_host"
15177 extrasub_target="$extrasub_target"
15181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15183 # Handling of arguments.
15184 for ac_config_target
in $ac_config_targets
15186 case $ac_config_target in
15187 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15189 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15194 # If the user did not use the arguments to specify the items to instantiate,
15195 # then the envvar interface is used. Set only those that are not.
15196 # We use the long form for the default assignment because of an extremely
15197 # bizarre bug on SunOS 4.1.3.
15198 if $ac_need_defaults; then
15199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15202 # Have a temporary directory for convenience. Make it in the build tree
15203 # simply because there is no reason against having it here, and in addition,
15204 # creating and moving files from /tmp can sometimes cause problems.
15205 # Hook for its removal unless debugging.
15206 # Note that there is a small window in which the directory will not be cleaned:
15207 # after its creation but before its name has been assigned to `$tmp'.
15211 trap 'exit_status=$?
15212 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15214 trap 'as_fn_exit 1' 1 2 13 15
15216 # Create a (secure) tmp directory for tmp files.
15219 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15220 test -n "$tmp" && test -d "$tmp"
15223 tmp
=.
/conf$$
-$RANDOM
15224 (umask 077 && mkdir
"$tmp")
15225 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15227 # Set up the scripts for CONFIG_FILES section.
15228 # No need to generate them if there are no CONFIG_FILES.
15229 # This happens for instance with `./config.status config.h'.
15230 if test -n "$CONFIG_FILES"; then
15232 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15233 ac_cs_awk_getline
=:
15234 ac_cs_awk_pipe_init
=
15235 ac_cs_awk_read_file
='
15236 while ((getline aline < (F[key])) > 0)
15239 ac_cs_awk_pipe_fini
=
15241 ac_cs_awk_getline
=false
15242 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15243 ac_cs_awk_read_file
='
15245 print "cat " F[key] " &&"
15246 '$ac_cs_awk_pipe_init
15247 # The final `:' finishes the AND list.
15248 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15250 ac_cr
=`echo X | tr X '\015'`
15251 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15252 # But we know of no other shell where ac_cr would be empty at this
15253 # point, so we can use a bashism as a fallback.
15254 if test "x$ac_cr" = x
; then
15255 eval ac_cr
=\$
\'\\r
\'
15257 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15258 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15261 ac_cs_awk_cr
=$ac_cr
15264 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15267 # Create commands to substitute file output variables.
15269 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15270 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15271 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15274 } >conf$
$files.sh
&&
15275 . .
/conf$
$files.sh ||
15276 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15277 rm -f conf$
$files.sh
15280 echo "cat >conf$$subs.awk <<_ACEOF" &&
15281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15283 } >conf$$subs.sh ||
15284 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15285 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15287 for ac_last_try in false false false false false :; do
15288 . ./conf$$subs.sh ||
15289 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15291 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15292 if test $ac_delim_n = $ac_delim_num; then
15294 elif $ac_last_try; then
15295 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15297 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15300 rm -f conf$$subs.sh
15302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15303 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15307 s/^/S["/; s
/!.
*/"]=/
15317 s/\(.\{148\}\).*/\1/
15319 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15324 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15331 s/\(.\{148\}\).*/\1/
15333 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15337 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15342 ' <conf$$subs.awk | sed '
15347 ' >>$CONFIG_STATUS || ac_write_fail=1
15348 rm -f conf$$subs.awk
15349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15351 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15352 for (key in S) S_is_set[key] = 1
15354 \$ac_cs_awk_pipe_init
15358 nfields = split(line, field, "@
")
15360 len = length(field[1])
15361 for (i = 2; i < nfields; i++) {
15363 keylen = length(key)
15364 if (S_is_set[key]) {
15366 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15367 len += length(value) + length(field[++i])
15372 if (nfields == 3 && !substed) {
15374 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15375 \$ac_cs_awk_read_file
15381 \$ac_cs_awk_pipe_fini
15384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15385 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15386 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15389 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15390 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15393 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15394 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15395 # trailing colons and then remove the whole line if VPATH becomes empty
15396 # (actually we leave an empty line to preserve line numbers).
15397 if test "x
$srcdir" = x.; then
15398 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15399 s/:*\$(srcdir):*/:/
15400 s/:*\${srcdir}:*/:/
15402 s/^\([^=]*=[ ]*\):*/\1/
15408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15409 fi # test -n "$CONFIG_FILES"
15412 eval set X " :F
$CONFIG_FILES "
15417 :[FHLC]) ac_mode=$ac_tag; continue;;
15419 case $ac_mode$ac_tag in
15421 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15422 :[FH]-) ac_tag=-:-;;
15423 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15440 -) ac_f="$tmp/stdin";;
15441 *) # Look for the file first in the build tree, then in the source tree
15442 # (if the path is not absolute). The absolute path cannot be DOS-style,
15443 # because $ac_f cannot contain `:'.
15447 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15449 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15451 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15452 as_fn_append ac_file_inputs " '$ac_f'"
15455 # Let's still pretend it is `configure' which instantiates (i.e., don't
15456 # use $as_me), people would be surprised to read:
15457 # /* config.h. Generated by config.status. */
15458 configure_input='Generated from '`
15459 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15461 if test x"$ac_file" != x-; then
15462 configure_input="$ac_file.
$configure_input"
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15464 $as_echo "$as_me: creating
$ac_file" >&6;}
15466 # Neutralize special characters interpreted by sed in replacement strings.
15467 case $configure_input in #(
15468 *\&* | *\|* | *\\* )
15469 ac_sed_conf_input=`$as_echo "$configure_input" |
15470 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15471 *) ac_sed_conf_input=$configure_input;;
15475 *:-:* | *:-) cat >"$tmp/stdin
" \
15476 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15481 ac_dir=`$as_dirname -- "$ac_file" ||
15482 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15483 X"$ac_file" : 'X\(//\)[^/]' \| \
15484 X"$ac_file" : 'X\(//\)$' \| \
15485 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15486 $as_echo X"$ac_file" |
15487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15491 /^X\(\/\/\)[^/].*/{
15504 as_dir="$ac_dir"; as_fn_mkdir_p
15508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15510 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15511 # A "..
" for each directory in $ac_dir_suffix.
15512 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15513 case $ac_top_builddir_sub in
15514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15518 ac_abs_top_builddir=$ac_pwd
15519 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15520 # for backward compatibility:
15521 ac_top_builddir=$ac_top_build_prefix
15524 .) # We are building in place.
15526 ac_top_srcdir=$ac_top_builddir_sub
15527 ac_abs_top_srcdir=$ac_pwd ;;
15528 [\\/]* | ?:[\\/]* ) # Absolute name.
15529 ac_srcdir=$srcdir$ac_dir_suffix;
15530 ac_top_srcdir=$srcdir
15531 ac_abs_top_srcdir=$srcdir ;;
15532 *) # Relative name.
15533 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15534 ac_top_srcdir=$ac_top_build_prefix$srcdir
15535 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15547 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15548 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15553 # If the template does not know about datarootdir, expand it.
15554 # FIXME: This hack should be removed a few years after 2.60.
15555 ac_datarootdir_hack=; ac_datarootdir_seen=
15566 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15567 *datarootdir*) ac_datarootdir_seen=yes;;
15568 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15570 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15573 ac_datarootdir_hack='
15574 s&@datadir@&$datadir&g
15575 s&@docdir@&$docdir&g
15576 s&@infodir@&$infodir&g
15577 s&@localedir@&$localedir&g
15578 s&@mandir@&$mandir&g
15579 s&\\\${datarootdir}&$datarootdir&g' ;;
15583 # Neutralize VPATH when `$srcdir' = `.'.
15584 # Shell code in configure.ac might set extrasub.
15585 # FIXME: do we really want to maintain this feature?
15586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15587 ac_sed_extra="$ac_vpsub
15590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15592 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15593 s|@configure_input@|
$ac_sed_conf_input|
;t t
15594 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15595 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15596 s
&@srcdir@
&$ac_srcdir&;t t
15597 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15598 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15599 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15600 s
&@builddir@
&$ac_builddir&;t t
15601 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15602 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15603 s
&@INSTALL@
&$ac_INSTALL&;t t
15604 $ac_datarootdir_hack
15606 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15607 if $ac_cs_awk_getline; then
15608 $AWK -f "$tmp/subs.
awk"
15610 $AWK -f "$tmp/subs.
awk" | $SHELL
15612 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15615 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15616 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15618 which seems to be undefined. Please make sure it is defined." >&5
15619 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15620 which seems to be undefined. Please make sure it is defined." >&2;}
15624 -) cat "$tmp/out" && rm -f "$tmp/out";;
15625 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15627 || as_fn_error "could not create $ac_file" "$LINENO" 5
15635 case $ac_file$ac_mode in
15636 "Makefile":F) sed "$extrasub_build" Makefile |
15637 sed "$extrasub_host" |
15638 sed "$extrasub_target" > mf$$
15639 mv -f mf$$ Makefile ;;
15647 ac_clean_files=$ac_clean_files_save
15649 test $ac_write_fail = 0 ||
15650 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15653 # configure is writing to config.log, and then calls config.status.
15654 # config.status does its own redirection, appending to config.log.
15655 # Unfortunately, on DOS this fails, as config.log is still kept open
15656 # by configure, so config.status won't be able to
write to it
; its
15657 # output is simply discarded. So we exec the FD to /dev/null,
15658 # effectively closing config.log, so it can be properly (re)opened and
15659 # appended to by config.status. When coming back to configure, we
15660 # need to make the FD available again.
15661 if test "$no_create" != yes; then
15663 ac_config_status_args
=
15664 test "$silent" = yes &&
15665 ac_config_status_args
="$ac_config_status_args --quiet"
15667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15670 # would make configure fail if this is the last instruction.
15671 $ac_cs_success || as_fn_exit $?
15673 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15675 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}