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
559 POSTSTAGE1_CONFIGURE_FLAGS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_libiberty_configure_flags
649 extra_cloog_isl_configure_flags
656 extra_isl_gmp_configure_flags
657 extra_mpc_mpfr_configure_flags
658 extra_mpc_gmp_configure_flags
659 extra_mpfr_configure_flags
675 EXTRA_CONFIGARGS_LIBJAVA
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
752 enable_libquadmath_support
755 enable_static_libjava
757 enable_build_with_cxx
758 enable_build_poststage1_with_cxx
778 enable_isl_version_check
782 enable_cloog_version_check
784 enable_stage1_languages
787 with_debug_prefix_map
789 enable_serial_configure
790 with_build_time_tools
791 enable_maintainer_mode
792 enable_stage1_checking
795 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information."
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used." >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 as_fn_error
"path to source, $srcdir, contains spaces"
1372 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1374 for ac_var
in $ac_precious_vars; do
1375 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1377 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1382 # Report the --help message.
1384 if test "$ac_init_help" = "long"; then
1385 # Omit some internal or obsolete options to make the list less imposing.
1386 # This message is too long to be a string in the A/UX 3.1 sh.
1388 \`configure' configures this package to adapt to many kinds of systems.
1390 Usage: $0 [OPTION]... [VAR=VALUE]...
1392 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1393 VAR=VALUE. See below for descriptions of some of the useful variables.
1395 Defaults for the options are specified in brackets.
1398 -h, --help display this help and exit
1399 --help=short display options specific to this package
1400 --help=recursive display the short help of all the included packages
1401 -V, --version display version information and exit
1402 -q, --quiet, --silent do not print \`checking...' messages
1403 --cache-file=FILE cache test results in FILE [disabled]
1404 -C, --config-cache alias for \`--cache-file=config.cache'
1405 -n, --no-create do not create output files
1406 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1408 Installation directories:
1409 --prefix=PREFIX install architecture-independent files in PREFIX
1410 [$ac_default_prefix]
1411 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1414 By default, \`make install' will install all the files in
1415 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1416 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1417 for instance \`--prefix=\$HOME'.
1419 For better control, use the options below.
1421 Fine tuning of the installation directories:
1422 --bindir=DIR user executables [EPREFIX/bin]
1423 --sbindir=DIR system admin executables [EPREFIX/sbin]
1424 --libexecdir=DIR program executables [EPREFIX/libexec]
1425 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1426 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1427 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1428 --libdir=DIR object code libraries [EPREFIX/lib]
1429 --includedir=DIR C header files [PREFIX/include]
1430 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1431 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1432 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1433 --infodir=DIR info documentation [DATAROOTDIR/info]
1434 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1435 --mandir=DIR man documentation [DATAROOTDIR/man]
1436 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1437 --htmldir=DIR html documentation [DOCDIR]
1438 --dvidir=DIR dvi documentation [DOCDIR]
1439 --pdfdir=DIR pdf documentation [DOCDIR]
1440 --psdir=DIR ps documentation [DOCDIR]
1446 --program-prefix=PREFIX prepend PREFIX to installed program names
1447 --program-suffix=SUFFIX append SUFFIX to installed program names
1448 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1451 --build=BUILD configure
for building on BUILD
[guessed
]
1452 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1453 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1457 if test -n "$ac_init_help"; then
1462 --disable-option-checking ignore unrecognized
--enable/--with options
1463 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1464 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1465 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1466 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1467 --disable-libquadmath do not build libquadmath directory
1468 --disable-libquadmath-support
1469 disable libquadmath support
for Fortran
1470 --enable-libada build libada directory
1471 --enable-libssp build libssp directory
1472 --enable-static-libjava[=ARG
]
1473 build static libjava
[default
=no
]
1474 --enable-bootstrap enable bootstrapping
[yes if native build
]
1475 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1476 --enable-build-poststage1-with-cxx
1477 build stages
2 and
3 with C
++, not C
1478 --disable-isl-version-check
1479 disable check
for ISL version
1480 --disable-cloog-version-check
1481 disable check
for CLooG version
1482 --enable-lto enable link
time optimization support
1483 --enable-stage1-languages[=all
]
1484 choose additional languages to build during stage1.
1485 Mostly useful
for compiler development
1486 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1488 --enable-serial-[{host,target,build}-]configure
1489 force sequential configuration of sub-packages for
1490 the host, target or build machine, or all
1492 --enable-maintainer-mode
1493 enable make rules and dependencies not useful (and
1494 sometimes confusing) to the casual installer
1495 --enable-stage1-checking[=all]
1496 choose additional checking for stage1 of the
1498 --enable-werror enable -Werror in bootstrap stage2 and later
1501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1503 --with-build-libsubdir=DIR Directory where to find libraries for build system
1504 --with-mpc=PATH specify prefix directory for installed MPC package.
1505 Equivalent to --with-mpc-include=PATH/include plus
1506 --with-mpc-lib=PATH/lib
1507 --with-mpc-include=PATH specify directory for installed MPC include files
1508 --with-mpc-lib=PATH specify directory for the installed MPC library
1509 --with-mpfr-dir=PATH this option has been REMOVED
1510 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1511 Equivalent to --with-mpfr-include=PATH/include plus
1512 --with-mpfr-lib=PATH/lib
1513 --with-mpfr-include=PATH
1514 specify directory for installed MPFR include files
1515 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1516 --with-gmp-dir=PATH this option has been REMOVED
1517 --with-gmp=PATH specify prefix directory for the installed GMP
1518 package. Equivalent to
1519 --with-gmp-include=PATH/include plus
1520 --with-gmp-lib=PATH/lib
1521 --with-gmp-include=PATH specify directory for installed GMP include files
1522 --with-gmp-lib=PATH specify directory for the installed GMP library
1523 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1525 --with-stage1-ldflags=FLAGS
1526 linker flags for stage1
1527 --with-stage1-libs=LIBS libraries for stage1
1528 --with-boot-libs=LIBS libraries for stage2 and later
1529 --with-boot-ldflags=FLAGS
1530 linker flags for stage2 and later
1531 --with-isl=PATH Specify prefix directory for the installed ISL
1532 package. Equivalent to
1533 --with-isl-include=PATH/include plus
1534 --with-isl-lib=PATH/lib
1535 --with-isl-include=PATH Specify directory for installed ISL include files
1536 --with-isl-lib=PATH Specify the directory for the installed ISL library
1537 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1538 package. Equivalent to
1539 --with-cloog-include=PATH/include plus
1540 --with-cloog-lib=PATH/lib
1541 --with-cloog-include=PATH
1542 Specify directory for installed CLooG include files
1543 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1545 --with-build-sysroot=SYSROOT
1546 use sysroot as the system root during the build
1547 --with-debug-prefix-map='A
=B C
=D ...
'
1548 map A to B, C to D ... in debug information
1549 --with-build-config='NAME NAME2...
'
1550 use config/NAME.mk build configuration
1551 --with-build-time-tools=PATH
1552 use given path to find target tools during the build
1554 Some influential environment variables:
1555 CC C compiler command
1556 CFLAGS C compiler flags
1557 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1558 nonstandard directory <lib dir>
1559 LIBS libraries to pass to the linker, e.g. -l<library>
1560 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1561 you have headers in a nonstandard directory <include dir>
1562 CXX C++ compiler command
1563 CXXFLAGS C++ compiler flags
1565 additional configure arguments for build directories
1567 additional configure arguments for host directories
1569 additional configure arguments for target directories
1572 DLLTOOL DLLTOOL for the host
1574 LIPO LIPO for the host
1576 RANLIB RANLIB for the host
1577 STRIP STRIP for the host
1578 WINDRES WINDRES for the host
1579 WINDMC WINDMC for the host
1580 OBJCOPY OBJCOPY for the host
1581 OBJDUMP OBJDUMP for the host
1582 READELF READELF for the host
1592 GFORTRAN for the target
1600 DLLTOOL for the target
1608 OBJDUMP for the target
1610 RANLIB for the target
1612 READELF for the target
1614 STRIP for the target
1616 WINDRES for the target
1618 WINDMC for the target
1620 Use these variables to override the choices made by `configure' or to
help
1621 it to
find libraries and programs with nonstandard names
/locations.
1623 Report bugs to the package provider.
1628 if test "$ac_init_help" = "recursive"; then
1629 # If there are subdirs, report their specific --help.
1630 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1631 test -d "$ac_dir" ||
1632 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1637 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1639 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1640 # A ".." for each directory in $ac_dir_suffix.
1641 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1642 case $ac_top_builddir_sub in
1643 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1644 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1647 ac_abs_top_builddir
=$ac_pwd
1648 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1649 # for backward compatibility:
1650 ac_top_builddir
=$ac_top_build_prefix
1653 .
) # We are building in place.
1655 ac_top_srcdir
=$ac_top_builddir_sub
1656 ac_abs_top_srcdir
=$ac_pwd ;;
1657 [\\/]* | ?
:[\\/]* ) # Absolute name.
1658 ac_srcdir
=$srcdir$ac_dir_suffix;
1659 ac_top_srcdir
=$srcdir
1660 ac_abs_top_srcdir
=$srcdir ;;
1662 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1663 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1664 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1666 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1668 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1669 # Check for guested configure.
1670 if test -f "$ac_srcdir/configure.gnu"; then
1672 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1673 elif test -f "$ac_srcdir/configure"; then
1675 $SHELL "$ac_srcdir/configure" --help=recursive
1677 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1679 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1683 test -n "$ac_init_help" && exit $ac_status
1684 if $ac_init_version; then
1687 generated by GNU Autoconf
2.64
1689 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1690 This configure
script is free software
; the Free Software Foundation
1691 gives unlimited permission to copy
, distribute and modify it.
1696 ## ------------------------ ##
1697 ## Autoconf initialization. ##
1698 ## ------------------------ ##
1700 # ac_fn_c_try_compile LINENO
1701 # --------------------------
1702 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1703 ac_fn_c_try_compile
()
1705 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1706 rm -f conftest.
$ac_objext
1707 if { { ac_try
="$ac_compile"
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_compile") 2>conftest.err
1716 if test -s conftest.err; then
1717 grep -v '^ *+' conftest.err >conftest.er1
1718 cat conftest.er1 >&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && {
1723 test -z "$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1725 } && test -s conftest.$ac_objext; then :
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736 } # ac_fn_c_try_compile
1738 # ac_fn_cxx_try_compile LINENO
1739 # ----------------------------
1740 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1741 ac_fn_cxx_try_compile ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 rm -f conftest.$ac_objext
1745 if { { ac_try="$ac_compile"
1747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1748 *) ac_try_echo
=$ac_try;;
1750 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_compile") 2>conftest.err
1754 if test -s conftest.err
; then
1755 grep -v '^ *+' conftest.err
>conftest.er1
1756 cat conftest.er1
>&5
1757 mv -f conftest.er1 conftest.err
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && {
1761 test -z "$ac_cxx_werror_flag" ||
1762 test ! -s conftest.err
1763 } && test -s conftest.
$ac_objext; then :
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.
$ac_ext >&5
1771 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1774 } # ac_fn_cxx_try_compile
1776 # ac_fn_c_try_link LINENO
1777 # -----------------------
1778 # Try to link conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 rm -f conftest.
$ac_objext conftest
$ac_exeext
1783 if { { ac_try
="$ac_link"
1785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>conftest.err
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest$ac_exeext && {
1802 test "$cross_compiling" = yes ||
1803 $as_test_x conftest$ac_exeext
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 } # ac_fn_c_try_link
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>&5
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1840 { { case "(($ac_try" in
1841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_try") 2>&5
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; }; }; then :
1852 $as_echo "$as_me: program exited with status $ac_status" >&5
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1856 ac_retval=$ac_status
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 cat >config.log <<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1867 It was created by $as_me, which was
1868 generated by GNU Autoconf 2.64. Invocation command line was
1880 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1881 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1882 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1883 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1884 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1886 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1887 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1889 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1891 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1892 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1893 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1895 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 $as_echo "PATH: $as_dir"
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_must_keep_next=false
1934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1939 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1944 as_fn_append ac_configure_args1 " '$ac_arg'"
1945 if test $ac_must_keep_next = true; then
1946 ac_must_keep_next=false # Got value, back to normal.
1949 *=* | --config-cache | -C | -disable-* | --disable-* \
1950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1952 | -with-* | --with-* | -without-* | --without-* | --x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 -* ) ac_must_keep_next=true ;;
1960 as_fn_append ac_configure_args " '$ac_arg'"
1965 { ac_configure_args0=; unset ac_configure_args0;}
1966 { ac_configure_args1=; unset ac_configure_args1;}
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1979 ## ---------------- ##
1980 ## Cache variables. ##
1981 ## ---------------- ##
1984 # The following way of writing the cache mishandles newlines in values,
1986 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1987 eval ac_val=\$$ac_var
1991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1995 _ | IFS | as_nl) ;; #(
1996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1997 *) { eval $ac_var=; unset $ac_var;} ;;
2002 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2003 *${as_nl}ac_space=\ *)
2005 "s/'\''/'\''\\\\'\'''\''/g;
2006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017 ## ----------------- ##
2018 ## Output variables. ##
2019 ## ----------------- ##
2022 for ac_var in $ac_subst_vars
2024 eval ac_val=\$$ac_var
2026 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -n "$ac_subst_files"; then
2034 ## ------------------- ##
2035 ## File substitutions. ##
2036 ## ------------------- ##
2039 for ac_var in $ac_subst_files
2041 eval ac_val=\$$ac_var
2043 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2045 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -s confdefs.h; then
2060 test "$ac_signal" != 0 &&
2061 $as_echo "$as_me: caught signal $ac_signal"
2062 $as_echo "$as_me: exit $exit_status"
2064 rm -f core *.core core.conftest.* &&
2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2068 for ac_signal in 1 2 13 15; do
2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest* confdefs.h
2076 $as_echo "/* confdefs.h */" > confdefs.h
2078 # Predefined preprocessor variables.
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2109 if test -n "$CONFIG_SITE"; then
2110 ac_site_file1=$CONFIG_SITE
2111 elif test "x$prefix" != xNONE; then
2112 ac_site_file1=$prefix/share/config.site
2113 ac_site_file2=$prefix/etc/config.site
2115 ac_site_file1=$ac_default_prefix/share/config.site
2116 ac_site_file2=$ac_default_prefix/etc/config.site
2118 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2120 test "x$ac_site_file" = xNONE && continue
2121 if test -r "$ac_site_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2123 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2124 sed 's/^/| /' "$ac_site_file" >&5
2129 if test -r "$cache_file"; then
2130 # Some versions of bash will fail to source /dev/null (special
2131 # files actually), so we avoid doing that.
2132 if test -f "$cache_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2134 $as_echo "$as_me: loading cache $cache_file" >&6;}
2136 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2137 *) . "./$cache_file";;
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2142 $as_echo "$as_me: creating cache $cache_file" >&6;}
2146 # Check that the precious variables saved in the cache have kept the same
2148 ac_cache_corrupted=false
2149 for ac_var in $ac_precious_vars; do
2150 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2151 eval ac_new_set=\$ac_env_${ac_var}_set
2152 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2153 eval ac_new_val=\$ac_env_${ac_var}_value
2154 case $ac_old_set,$ac_new_set in
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2157 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2158 ac_cache_corrupted=: ;;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2161 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2162 ac_cache_corrupted=: ;;
2165 if test "x$ac_old_val" != "x$ac_new_val"; then
2166 # differences in whitespace do not lead to failure.
2167 ac_old_val_w=`echo x
$ac_old_val`
2168 ac_new_val_w=`echo x
$ac_new_val`
2169 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2171 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2172 ac_cache_corrupted=:
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2175 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2176 eval $ac_var=\$ac_old_val
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2179 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2181 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2184 # Pass precious variables to config.status.
2185 if test "$ac_new_set" = set; then
2187 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2188 *) ac_arg=$ac_var=$ac_new_val ;;
2190 case " $ac_configure_args " in
2191 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2192 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2196 if $ac_cache_corrupted; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2200 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2201 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2203 ## -------------------- ##
2204 ## Main body of script. ##
2205 ## -------------------- ##
2208 ac_cpp='$CPP $CPPFLAGS'
2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222 # if PWD already has a value, it is probably wrong.
2223 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2225 # Export original configure arguments for use by sub-configures.
2226 # Quote arguments with shell meta charatcers.
2227 TOPLEVEL_CONFIGURE_ARGUMENTS=
2228 set -- "$progname" "$@"
2232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2233 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2234 # if the argument is of the form -foo=baz, quote the baz part only
2235 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2238 # Add the quoted argument to the list.
2239 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2241 if test "$silent" = yes; then
2242 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2244 # Remove the initial space we just introduced and, as these will be
2245 # expanded by make, quote '$'.
2246 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2249 # Find the build, host, and target systems.
2251 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2252 for ac_t in install-sh install.sh shtool; do
2253 if test -f "$ac_dir/$ac_t"; then
2255 ac_install_sh="$ac_aux_dir/$ac_t -c"
2260 if test -z "$ac_aux_dir"; then
2261 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2264 # These three variables are undocumented and unsupported,
2265 # and are intended to be withdrawn in a future Autoconf release.
2266 # They can cause serious problems if a builder's source tree is in a directory
2267 # whose full name contains unusual characters.
2268 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2269 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2270 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2273 # Make sure we can run config.sub.
2274 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2275 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2278 $as_echo_n "checking build system type... " >&6; }
2279 if test "${ac_cv_build+set}" = set; then :
2280 $as_echo_n "(cached) " >&6
2282 ac_build_alias=$build_alias
2283 test "x$ac_build_alias" = x &&
2284 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2285 test "x$ac_build_alias" = x &&
2286 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2287 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2288 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2292 $as_echo "$ac_cv_build" >&6; }
2293 case $ac_cv_build in
2295 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2298 ac_save_IFS=$IFS; IFS='-'
2304 # Remember, the first character of IFS is used to create $*,
2305 # except with old shells:
2308 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2311 case ${build_alias} in
2312 "") build_noncanonical=${build} ;;
2313 *) build_noncanonical=${build_alias} ;;
2318 case ${host_alias} in
2319 "") host_noncanonical=${build_noncanonical} ;;
2320 *) host_noncanonical=${host_alias} ;;
2325 case ${target_alias} in
2326 "") target_noncanonical=${host_noncanonical} ;;
2327 *) target_noncanonical=${target_alias} ;;
2333 test "$host_noncanonical" = "$target_noncanonical" &&
2334 test "$program_prefix$program_suffix$program_transform_name" = \
2336 program_transform_name=s,y,y,
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2339 $as_echo_n "checking host system type... " >&6; }
2340 if test "${ac_cv_host+set}" = set; then :
2341 $as_echo_n "(cached) " >&6
2343 if test "x$host_alias" = x; then
2344 ac_cv_host=$ac_cv_build
2346 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2347 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2352 $as_echo "$ac_cv_host" >&6; }
2355 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2358 ac_save_IFS=$IFS; IFS='-'
2364 # Remember, the first character of IFS is used to create $*,
2365 # except with old shells:
2368 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2372 $as_echo_n "checking target system type... " >&6; }
2373 if test "${ac_cv_target+set}" = set; then :
2374 $as_echo_n "(cached) " >&6
2376 if test "x$target_alias" = x; then
2377 ac_cv_target=$ac_cv_host
2379 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2380 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2385 $as_echo "$ac_cv_target" >&6; }
2386 case $ac_cv_target in
2388 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2390 target=$ac_cv_target
2391 ac_save_IFS=$IFS; IFS='-'
2397 # Remember, the first character of IFS is used to create $*,
2398 # except with old shells:
2401 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2404 # The aliases save the names the user supplied, while $host etc.
2405 # will get canonicalized.
2406 test -n "$target_alias" &&
2407 test "$program_prefix$program_suffix$program_transform_name" = \
2409 program_prefix=${target_alias}-
2411 test "$program_prefix" != NONE &&
2412 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2413 # Use a double $ so make ignores it.
2414 test "$program_suffix" != NONE &&
2415 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2416 # Double any \ or $.
2417 # By default was `s
,x
,x
', remove it if useless.
2418 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2419 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2423 # Get 'install' or 'install-sh
' and its variants.
2424 # Find a good install program. We prefer a C program (faster),
2425 # so one script is as good as another. But avoid the broken or
2426 # incompatible versions:
2427 # SysV /etc/install, /usr/sbin/install
2428 # SunOS /usr/etc/install
2429 # IRIX /sbin/install
2431 # AmigaOS /C/install, which installs bootblocks on floppy discs
2432 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2433 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2434 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2435 # OS/2's system install, which has a completely different semantic
2436 # ./install, which can be erroneously created by make from ./install.sh.
2437 # Reject install programs that cannot install multiple files.
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2439 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2440 if test -z "$INSTALL"; then
2441 if test "${ac_cv_path_install+set}" = set; then :
2442 $as_echo_n "(cached) " >&6
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 # Account for people who put trailing slashes in PATH elements.
2450 case $as_dir/ in #((
2451 .
/ | .
// |
/[cC
]/* | \
2452 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2453 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2456 # OSF1 and SCO ODT 3.0 have their own names for install.
2457 # Don't use installbsd from OSF since it installs stuff as root
2459 for ac_prog
in ginstall scoinst
install; do
2460 for ac_exec_ext
in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2462 if test $ac_prog = install &&
2463 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2464 # AIX install. It has an incompatible calling convention.
2466 elif test $ac_prog = install &&
2467 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2468 # program-specific install script used by HP pwplus--don't use.
2471 rm -rf conftest.one conftest.two conftest.dir
2472 echo one
> conftest.one
2473 echo two
> conftest.two
2475 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2476 test -s conftest.one
&& test -s conftest.two
&&
2477 test -s conftest.dir
/conftest.one
&&
2478 test -s conftest.dir
/conftest.two
2480 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2493 rm -rf conftest.one conftest.two conftest.dir
2496 if test "${ac_cv_path_install+set}" = set; then
2497 INSTALL
=$ac_cv_path_install
2499 # As a last resort, use the slow shell script. Don't cache a
2500 # value for INSTALL within a source directory, because that will
2501 # break other packages using the cache if that directory is
2502 # removed, or if the value is a relative name.
2503 INSTALL
=$ac_install_sh
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2507 $as_echo "$INSTALL" >&6; }
2509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2510 # It thinks the first close brace ends the variable substitution.
2511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2515 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2518 $as_echo_n "checking whether ln works... " >&6; }
2519 if test "${acx_cv_prog_LN+set}" = set; then :
2520 $as_echo_n "(cached) " >&6
2522 rm -f conftestdata_t
2523 echo >conftestdata_f
2524 if ln conftestdata_f conftestdata_t
2>/dev
/null
2530 rm -f conftestdata_f conftestdata_t
2533 if test $acx_cv_prog_LN = no
; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2536 $as_echo "no, using $LN" >&6; }
2538 LN
="$acx_cv_prog_LN"
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2540 $as_echo "yes" >&6; }
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2544 $as_echo_n "checking whether ln -s works... " >&6; }
2546 if test "$LN_S" = "ln -s"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548 $as_echo "yes" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2551 $as_echo "no, using $LN_S" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2555 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2556 if test "${ac_cv_path_SED+set}" = set; then :
2557 $as_echo_n "(cached) " >&6
2559 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2560 for ac_i
in 1 2 3 4 5 6 7; do
2561 ac_script
="$ac_script$as_nl$ac_script"
2563 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2564 { ac_script
=; unset ac_script
;}
2565 if test -z "$SED"; then
2566 ac_path_SED_found
=false
2567 # Loop through the user's path and test for each of PROGNAME-LIST
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_prog
in sed gsed
; do
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2576 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2577 # Check for GNU ac_path_SED and select it if it is found.
2578 # Check for GNU $ac_path_SED
2579 case `"$ac_path_SED" --version 2>&1` in
2581 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2584 $as_echo_n 0123456789 >"conftest.in"
2587 cat "conftest.in" "conftest.in" >"conftest.tmp"
2588 mv "conftest.tmp" "conftest.in"
2589 cp "conftest.in" "conftest.nl"
2590 $as_echo '' >> "conftest.nl"
2591 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2592 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2593 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2594 if test $ac_count -gt ${ac_path_SED_max-0}; then
2595 # Best one so far, save it but keep looking for a better one
2596 ac_cv_path_SED
="$ac_path_SED"
2597 ac_path_SED_max
=$ac_count
2599 # 10*(2^10) chars as input seems more than enough
2600 test $ac_count -gt 10 && break
2602 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2605 $ac_path_SED_found && break 3
2610 if test -z "$ac_cv_path_SED"; then
2611 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2619 $as_echo "$ac_cv_path_SED" >&6; }
2620 SED
="$ac_cv_path_SED"
2623 for ac_prog
in gawk mawk nawk
awk
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy
$ac_prog; ac_word
=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_AWK+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$AWK"; then
2633 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_AWK
="$ac_prog"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$AWK"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2655 $as_echo "$AWK" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2662 test -n "$AWK" && break
2666 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2668 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2670 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2671 INSTALL
="${srcpwd}/install-sh -c"
2674 # Set srcdir to "." if that's what it is.
2675 # This is important for multilib support.
2677 if test "${pwd}" = "${srcpwd}" ; then
2685 ### To add a new directory to the tree, first choose whether it is a target
2686 ### or a host dependent tool. Then put it into the appropriate list
2687 ### (library or tools, host or target), doing a dependency sort.
2689 # Subdirs will be configured in the order listed in build_configdirs,
2690 # configdirs, or target_configdirs; see the serialization section below.
2692 # Dependency sorting is only needed when *configuration* must be done in
2693 # a particular order. In all cases a dependency should be specified in
2694 # the Makefile, whether or not it's implicitly specified here.
2696 # Double entries in build_configdirs, configdirs, or target_configdirs may
2697 # cause circular dependencies and break everything horribly.
2699 # these library is used by various programs built for the build
2702 build_libs
="build-libiberty"
2704 # these tools are built for the build environment
2705 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2707 # these libraries are used by various programs built for the host environment
2709 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2711 # these tools are built for the host environment
2712 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2713 # know that we are building the simulator.
2714 # binutils, gas and ld appear in that order because it makes sense to run
2715 # "make check" in that particular order.
2716 # If --enable-gold is used, "gold" may replace "ld".
2717 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2719 # libgcj represents the runtime libraries only used by gcj.
2720 libgcj
="target-libffi \
2724 # these libraries are built for the target environment, and are built after
2725 # the host libraries and the host tools (which may be a cross compiler)
2726 # Note that libiberty is not a target library.
2727 target_libraries
="target-libgcc \
2733 target-libstdc++-v3 \
2736 target-libquadmath \
2737 target-libgfortran \
2744 # these tools are built using the target libraries, and are intended to
2745 # run only in the target environment
2747 # note: any program that *uses* libraries that are in the "target_libraries"
2748 # list belongs in this list.
2750 target_tools
="target-rda"
2752 ################################################################################
2754 ## All tools belong in one of the four categories, and are assigned above
2755 ## We assign ${configdirs} this way to remove all embedded newlines. This
2756 ## is important because configure will choke if they ever get through.
2757 ## ${configdirs} is directories we build using the host tools.
2758 ## ${target_configdirs} is directories we build using the target tools.
2759 configdirs
=`echo ${host_libs} ${host_tools}`
2760 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2761 build_configdirs
=`echo ${build_libs} ${build_tools}`
2765 ################################################################################
2767 srcname
="gnu development package"
2769 # This gets set non-empty for some net releases of packages.
2772 # Define is_cross_compiler to save on calls to 'test'.
2774 if test x
"${host}" = x
"${target}" ; then
2775 is_cross_compiler
=no
2777 is_cross_compiler
=yes
2780 # Find the build and target subdir names.
2782 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2783 # have matching libraries, they should use host libraries: Makefile.tpl
2784 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2785 # However, they still use the build modules, because the corresponding
2786 # host modules (e.g. bison) are only built for the host when bootstrap
2788 # - build_subdir is where we find build modules, and never changes.
2789 # - build_libsubdir is where we find build libraries, and can be overridden.
2791 # Prefix 'build-' so this never conflicts with target_subdir.
2792 build_subdir
="build-${build_noncanonical}"
2794 # Check whether --with-build-libsubdir was given.
2795 if test "${with_build_libsubdir+set}" = set; then :
2796 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2798 build_libsubdir
="$build_subdir"
2801 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2802 if ( test $srcdir = .
&& test -d gcc
) \
2803 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2804 host_subdir
="host-${host_noncanonical}"
2809 target_subdir
=${target_noncanonical}
2811 # Be sure to cover against remnants of an in-tree build.
2812 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2813 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2814 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2817 # Skipdirs are removed silently.
2819 # Noconfigdirs are removed loudly.
2823 # Make sure we don't let GNU ld be added if we didn't want it.
2824 if test x
$with_gnu_ld = xno
; then
2826 noconfigdirs
="$noconfigdirs ld gold"
2830 # Make sure we don't let GNU as be added if we didn't want it.
2831 if test x
$with_gnu_as = xno
; then
2833 noconfigdirs
="$noconfigdirs gas"
2837 # Make sure we don't let ZLIB be added if we didn't want it.
2838 if test x
$with_system_zlib = xyes
; then
2839 use_included_zlib
=no
2840 noconfigdirs
="$noconfigdirs zlib"
2843 # some tools are so dependent upon X11 that if we're not building with X,
2844 # it's not even worth trying to configure, much less build, that tool.
2847 yes |
"") ;; # the default value for this tree is that X11 is available
2849 skipdirs
="${skipdirs} tk itcl libgui"
2850 # We won't be able to build gdbtk without X.
2853 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2856 # Some are only suitable for cross toolchains.
2857 # Remove these if host=target.
2858 cross_only
="target-libgloss target-newlib target-opcodes"
2860 case $is_cross_compiler in
2861 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2864 # If both --with-headers and --with-libs are specified, default to
2866 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2867 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2868 if test x
"${with_newlib}" = x
; then
2873 # Recognize --with-newlib/--without-newlib.
2874 case ${with_newlib} in
2875 no
) skipdirs
="${skipdirs} target-newlib" ;;
2876 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2879 # Handle --enable-gold, --enable-ld.
2880 # --disable-gold [--enable-ld]
2881 # Build only ld. Default option.
2882 # --enable-gold [--enable-ld]
2883 # Build both gold and ld. Install gold as "ld.gold", install ld
2884 # as "ld.bfd" and "ld".
2885 # --enable-gold=default [--enable-ld]
2886 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2887 # install ld as "ld.bfd".
2888 # --enable-gold[=default] --disable-ld
2889 # Build only gold, which is then installed as both "ld.gold" and "ld".
2890 # --enable-gold --enable-ld=default
2891 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2893 # In other words, ld is default
2894 # --enable-gold=default --enable-ld=default
2898 # Check whether --enable-gold was given.
2899 if test "${enable_gold+set}" = set; then :
2900 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2905 case "${ENABLE_GOLD}" in
2907 # Check for ELF target.
2910 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2911 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2912 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2913 |
*-*-solaris2* |
*-*-nto*)
2915 *-*-linux*aout
* |
*-*-linux*oldld
*)
2923 if test "$is_elf" = "yes"; then
2924 # Check for target supported by gold.
2926 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2927 configdirs
="$configdirs gold"
2928 if test x
${ENABLE_GOLD} = xdefault
; then
2939 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2943 # Check whether --enable-ld was given.
2944 if test "${enable_ld+set}" = set; then :
2945 enableval
=$enable_ld; ENABLE_LD
=$enableval
2951 case "${ENABLE_LD}" in
2953 if test x
${default_ld} != x
; then
2954 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2960 if test x
${ENABLE_GOLD} != xyes
; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2962 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2964 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2967 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2971 # Configure extra directories which are host specific
2975 configdirs
="$configdirs libtermcap" ;;
2978 # A target can indicate whether a language isn't supported for some reason.
2979 # Only spaces may be used in this macro; not newlines or tabs.
2980 unsupported_languages
=
2982 # Remove more programs from consideration, based on the host or
2983 # target this usually means that a port of the program doesn't
2987 i
[3456789]86-*-msdosdjgpp*)
2988 noconfigdirs
="$noconfigdirs tcl tk itcl"
2993 # Check whether --enable-libquadmath was given.
2994 if test "${enable_libquadmath+set}" = set; then :
2995 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2997 ENABLE_LIBQUADMATH
=yes
3000 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3001 noconfigdirs
="$noconfigdirs target-libquadmath"
3005 # Check whether --enable-libquadmath-support was given.
3006 if test "${enable_libquadmath_support+set}" = set; then :
3007 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3009 ENABLE_LIBQUADMATH_SUPPORT
=yes
3012 enable_libquadmath_support
=
3013 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3014 enable_libquadmath_support
=no
3018 # Check whether --enable-libada was given.
3019 if test "${enable_libada+set}" = set; then :
3020 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3025 if test "${ENABLE_LIBADA}" != "yes" ; then
3026 noconfigdirs
="$noconfigdirs gnattools"
3029 # Check whether --enable-libssp was given.
3030 if test "${enable_libssp+set}" = set; then :
3031 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3037 # Save it here so that, even in case of --enable-libgcj, if the Java
3038 # front-end isn't enabled, we still get libgcj disabled.
3039 libgcj_saved
=$libgcj
3040 case $enable_libgcj in
3042 # If we reset it here, it won't get added to noconfigdirs in the
3043 # target-specific build rules, so it will be forcibly enabled
3044 # (unless the Java language itself isn't enabled).
3048 # Make sure we get it printed in the list of not supported target libs.
3049 # Don't disable libffi, though, other languages use it.
3050 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3051 # Clear libgcj_saved so that even if java is enabled libffi won't be
3057 # Check whether --enable-static-libjava was given.
3058 if test "${enable_static_libjava+set}" = set; then :
3059 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3061 ENABLE_STATIC_LIBJAVA
=no
3064 enable_static_libjava
=
3065 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3066 enable_static_libjava
=yes
3069 if test x
$enable_static_libjava != xyes
; then
3070 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3074 # Disable libmudflap on some systems.
3075 if test x
$enable_libmudflap = x
; then
3077 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3078 # Enable libmudflap by default in GNU and friends.
3081 # Enable libmudflap by default in FreeBSD.
3084 # Disable it by default everywhere else.
3085 noconfigdirs
="$noconfigdirs target-libmudflap"
3090 # Disable libgomp on non POSIX hosted systems.
3091 if test x
$enable_libgomp = x
; then
3092 # Enable libgomp by default on hosted POSIX systems.
3094 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3096 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3098 *-*-solaris2* |
*-*-hpux11*)
3100 *-*-darwin* |
*-*-aix*)
3103 noconfigdirs
="$noconfigdirs target-libgomp"
3108 # Disable libatomic on unsupported systems.
3109 if test -d ${srcdir}/libatomic
; then
3110 if test x
$enable_libatomic = x
; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3112 $as_echo_n "checking for libatomic support... " >&6; }
3113 if (srcdir
=${srcdir}/libatomic
; \
3114 .
${srcdir}/configure.tgt
; \
3115 test -n "$UNSUPPORTED")
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3119 noconfigdirs
="$noconfigdirs target-libatomic"
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3122 $as_echo "yes" >&6; }
3127 # Disable libitm on unsupported systems.
3128 if test -d ${srcdir}/libitm
; then
3129 if test x
$enable_libitm = x
; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3131 $as_echo_n "checking for libitm support... " >&6; }
3132 if (srcdir
=${srcdir}/libitm
; \
3133 .
${srcdir}/configure.tgt
; \
3134 test -n "$UNSUPPORTED")
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3138 noconfigdirs
="$noconfigdirs target-libitm"
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3146 # Disable libssp for some systems.
3149 # No hosted I/O support.
3150 noconfigdirs
="$noconfigdirs target-libssp"
3152 powerpc-
*-aix* | rs6000-
*-aix*)
3153 noconfigdirs
="$noconfigdirs target-libssp"
3156 # libssp uses a misaligned load to trigger a fault, but the RL78
3157 # doesn't fault for those - instead, it gives a build-time error
3158 # for explicit misaligned loads.
3159 noconfigdirs
="$noconfigdirs target-libssp"
3163 # Disable libstdc++-v3 for some systems.
3166 # VxWorks uses the Dinkumware C++ library.
3167 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3170 # the C++ libraries don't build on top of CE's C libraries
3171 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3174 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3178 # Disable Fortran for some systems.
3181 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3182 unsupported_languages
="$unsupported_languages fortran"
3186 # Disable Java if libffi is not supported.
3216 powerpc-
*-aix* | rs6000-
*-aix*)
3220 powerpc64-
*-freebsd*)
3224 s390-
*-* | s390x-
*-*)
3226 sh-
*-* | sh
[34]*-*-*)
3228 sh64-
*-* | sh5
*-*-*)
3235 unsupported_languages
="$unsupported_languages java"
3239 # Disable Java, libgcj or related libraries for some systems.
3243 i
[3456789]86-*-darwin*)
3245 x86_64-
*-darwin[912]*)
3248 noconfigdirs
="$noconfigdirs ${libgcj}"
3251 noconfigdirs
="$noconfigdirs ${libgcj}"
3254 noconfigdirs
="$noconfigdirs ${libgcj}"
3257 noconfigdirs
="$noconfigdirs ${libgcj}"
3260 noconfigdirs
="$noconfigdirs ${libgcj}"
3263 noconfigdirs
="$noconfigdirs ${libgcj}"
3266 noconfigdirs
="$noconfigdirs ${libgcj}"
3269 noconfigdirs
="$noconfigdirs ${libgcj}"
3272 noconfigdirs
="$noconfigdirs ${libgcj}"
3275 noconfigdirs
="$noconfigdirs target-boehm-gc"
3277 cris-
*-* | crisv32-
*-*)
3278 unsupported_languages
="$unsupported_languages java"
3282 *) # See PR46792 regarding target-libffi.
3283 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3287 # In this case, it's because the hppa64-linux target is for
3288 # the kernel only at this point and has no libc, and thus no
3289 # headers, crt*.o, etc., all of which are needed by these.
3290 unsupported_languages
="$unsupported_languages java"
3293 noconfigdirs
="$noconfigdirs ${libgcj}"
3298 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3299 # build on HP-UX 10.20.
3300 noconfigdirs
="$noconfigdirs ${libgcj}"
3303 noconfigdirs
="$noconfigdirs ${libgcj}"
3305 i
[3456789]86-w64-mingw*)
3306 noconfigdirs
="$noconfigdirs ${libgcj}"
3308 i
[3456789]86-*-mingw*)
3309 noconfigdirs
="$noconfigdirs ${libgcj}"
3312 noconfigdirs
="$noconfigdirs ${libgcj}"
3315 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3318 # copied from rs6000-*-* entry
3319 noconfigdirs
="$noconfigdirs ${libgcj}"
3322 noconfigdirs
="$noconfigdirs ${libgcj}"
3325 noconfigdirs
="$noconfigdirs ${libgcj}"
3329 # Default libgloss CPU subdirectory.
3330 libgloss_dir
="$target_cpu"
3333 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3339 cris-
*-* | crisv32-
*-*)
3348 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3349 libgloss_dir
=m68hc11
3351 m68
*-*-* | fido-
*-*)
3365 # Disable newlib and libgloss for various target OSes.
3368 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3370 i
[3456789]86-*-linux*)
3371 # This section makes it possible to build newlib natively on linux.
3372 # If we are using a cross compiler then don't configure newlib.
3373 if test x
${is_cross_compiler} != xno
; then
3374 noconfigdirs
="$noconfigdirs target-newlib"
3376 noconfigdirs
="$noconfigdirs target-libgloss"
3377 # If we are not using a cross compiler, do configure newlib.
3378 # Note however, that newlib will only be configured in this situation
3379 # if the --with-newlib option has been given, because otherwise
3380 # 'target-newlib' will appear in skipdirs.
3382 i
[3456789]86-*-rdos*)
3383 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3385 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3386 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3389 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3392 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3395 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3398 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3401 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3404 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3406 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3407 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3410 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3413 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3416 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3419 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3422 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3425 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3428 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3436 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3437 noconfigdirs
="$noconfigdirs sim target-rda"
3439 i
[3456789]86-*-darwin*)
3440 noconfigdirs
="$noconfigdirs ld gprof"
3441 noconfigdirs
="$noconfigdirs sim target-rda"
3443 x86_64-
*-darwin[912]*)
3444 noconfigdirs
="$noconfigdirs ld gas gprof"
3445 noconfigdirs
="$noconfigdirs sim target-rda"
3448 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3449 noconfigdirs
="$noconfigdirs sim target-rda"
3454 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3455 && test -f /usr
/local
/include
/gmp.h
; then
3460 # Remove unsupported stuff on all kaOS configurations.
3461 noconfigdirs
="$noconfigdirs target-libgloss"
3468 noconfigdirs
="$noconfigdirs target-libgloss"
3470 # The tpf target doesn't support gdb yet.
3472 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3475 noconfigdirs
="$noconfigdirs target-rda"
3480 # ld works, but does not support shared libraries.
3481 # gas doesn't generate exception information.
3482 noconfigdirs
="$noconfigdirs gas ld"
3485 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3488 # newlib is not 64 bit ready
3489 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3491 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3492 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3495 noconfigdirs
="$noconfigdirs target-libgloss"
3498 noconfigdirs
="$noconfigdirs target-libgloss"
3501 noconfigdirs
="$noconfigdirs ld target-libgloss"
3503 c4x-
*-* | tic4x-
*-*)
3504 noconfigdirs
="$noconfigdirs target-libgloss"
3507 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3510 noconfigdirs
="$noconfigdirs target-libgloss"
3513 noconfigdirs
="$noconfigdirs gdb"
3516 noconfigdirs
="$noconfigdirs gdb"
3519 noconfigdirs
="$noconfigdirs gprof"
3522 noconfigdirs
="$noconfigdirs target-libgloss"
3525 noconfigdirs
="$noconfigdirs target-libgloss"
3527 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3535 hppa
*-*-openbsd* | \
3539 noconfigdirs
="$noconfigdirs ld"
3544 noconfigdirs
="$noconfigdirs ld"
3547 noconfigdirs
="$noconfigdirs gdb"
3550 # No gdb support yet.
3551 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3554 # No ld support yet.
3555 noconfigdirs
="$noconfigdirs libgui itcl ld"
3558 # No ld support yet.
3559 noconfigdirs
="$noconfigdirs libgui itcl ld"
3561 i
[3456789]86-w64-mingw*)
3563 i
[3456789]86-*-mingw*)
3564 target_configdirs
="$target_configdirs target-winsup"
3567 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3568 noconfigdirs
="$noconfigdirs target-libgloss"
3569 # always build newlib if winsup directory is present.
3570 if test -d "$srcdir/winsup/cygwin"; then
3571 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3572 elif test -d "$srcdir/newlib"; then
3573 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3577 noconfigdirs
="$noconfigdirs target-libgloss"
3579 i
[3456789]86-*-sco3.2v5
*)
3580 # The linker does not yet know about weak symbols in COFF,
3581 # and is not configured to handle mixed ELF and COFF.
3582 noconfigdirs
="$noconfigdirs ld target-libgloss"
3584 i
[3456789]86-*-sco*)
3585 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3587 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3588 noconfigdirs
="$noconfigdirs target-libgloss"
3590 i
[3456789]86-*-sysv4*)
3591 noconfigdirs
="$noconfigdirs target-libgloss"
3593 i
[3456789]86-*-beos*)
3594 noconfigdirs
="$noconfigdirs gdb"
3596 i
[3456789]86-*-rdos*)
3597 noconfigdirs
="$noconfigdirs gdb"
3600 noconfigdirs
="$noconfigdirs gdb"
3603 noconfigdirs
="$noconfigdirs sim"
3606 # copied from rs6000-*-* entry
3607 noconfigdirs
="$noconfigdirs gprof"
3609 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3610 target_configdirs
="$target_configdirs target-winsup"
3611 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3612 # always build newlib.
3613 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3615 # This is temporary until we can link against shared libraries
3616 powerpcle-
*-solaris*)
3617 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3620 noconfigdirs
="$noconfigdirs gdb"
3623 noconfigdirs
="$noconfigdirs gprof"
3626 noconfigdirs
="$noconfigdirs gprof"
3629 noconfigdirs
="$noconfigdirs gprof"
3632 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3635 noconfigdirs
="$noconfigdirs gprof"
3638 if test x
$with_newlib = xyes
; then
3639 noconfigdirs
="$noconfigdirs gprof"
3643 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3646 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3649 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3654 noconfigdirs
="$noconfigdirs gprof"
3661 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3665 if test x
${is_cross_compiler} = xno
; then
3670 noconfigdirs
="$noconfigdirs sim"
3672 tilepro-
*-* | tilegx-
*-*)
3673 noconfigdirs
="$noconfigdirs sim"
3676 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 # If we aren't building newlib, then don't build libgloss, since libgloss
3684 # depends upon some newlib header files.
3685 case "${noconfigdirs}" in
3686 *target-libgloss
*) ;;
3687 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3690 # Work in distributions that contain no compiler tools, like Autoconf.
3691 host_makefile_frag
=/dev
/null
3692 if test -d ${srcdir}/config
; then
3694 i
[3456789]86-*-msdosdjgpp*)
3695 host_makefile_frag
="config/mh-djgpp"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3700 $as_echo_n "checking to see if cat works as expected... " >&6; }
3701 echo a
>cygwin-cat-check
3702 if test `cat cygwin-cat-check` = a
; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3705 $as_echo "yes" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 as_fn_error
"The cat command does not ignore carriage return characters.
3711 Please either mount the build directory in binary mode or run the following
3712 commands before running any configure script:
3718 host_makefile_frag
="config/mh-cygwin"
3721 host_makefile_frag
="config/mh-mingw"
3724 host_makefile_frag
="config/mh-pa-hpux10"
3727 host_makefile_frag
="config/mh-pa"
3730 host_makefile_frag
="config/mh-pa"
3733 host_makefile_frag
="config/mh-darwin"
3736 host_makefile_frag
="config/mh-ppc-aix"
3739 host_makefile_frag
="config/mh-ppc-aix"
3744 if test "${build}" != "${host}" ; then
3745 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3746 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3747 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3748 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3749 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3750 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3751 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3752 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3753 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3754 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3755 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3756 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3757 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3759 AR_FOR_BUILD
="\$(AR)"
3760 AS_FOR_BUILD
="\$(AS)"
3761 CC_FOR_BUILD
="\$(CC)"
3762 CXX_FOR_BUILD
="\$(CXX)"
3763 GCJ_FOR_BUILD
="\$(GCJ)"
3764 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3765 GOC_FOR_BUILD
="\$(GOC)"
3766 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3767 LD_FOR_BUILD
="\$(LD)"
3768 NM_FOR_BUILD
="\$(NM)"
3769 RANLIB_FOR_BUILD
="\$(RANLIB)"
3770 WINDRES_FOR_BUILD
="\$(WINDRES)"
3771 WINDMC_FOR_BUILD
="\$(WINDMC)"
3775 ac_cpp
='$CPP $CPPFLAGS'
3776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3779 if test -n "$ac_tool_prefix"; then
3780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3781 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_CC+set}" = set; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$CC"; then
3788 ac_cv_prog_CC
="$CC" # Let the user override the test.
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir
=.
3795 for ac_exec_ext
in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$ac_cv_prog_CC"; then
3820 # Extract the first word of "gcc", so it can be a program name with args.
3821 set dummy gcc
; ac_word
=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3825 $as_echo_n "(cached) " >&6
3827 if test -n "$ac_ct_CC"; then
3828 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir
=.
3835 for ac_exec_ext
in '' $ac_executable_extensions; do
3836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837 ac_cv_prog_ac_ct_CC
="gcc"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3848 if test -n "$ac_ct_CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3850 $as_echo "$ac_ct_CC" >&6; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3856 if test "x$ac_ct_CC" = x
; then
3859 case $cross_compiling:$ac_tool_warned in
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3863 ac_tool_warned
=yes ;;
3871 if test -z "$CC"; then
3872 if test -n "$ac_tool_prefix"; then
3873 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3874 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_CC+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$CC"; then
3881 ac_cv_prog_CC
="$CC" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 if test -n "$CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3903 $as_echo "$CC" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3912 if test -z "$CC"; then
3913 # Extract the first word of "cc", so it can be a program name with args.
3914 set dummy cc
; ac_word
=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if test "${ac_cv_prog_CC+set}" = set; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$CC"; then
3921 ac_cv_prog_CC
="$CC" # Let the user override the test.
3924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir
=.
3929 for ac_exec_ext
in '' $ac_executable_extensions; do
3930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3932 ac_prog_rejected
=yes
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test $ac_prog_rejected = yes; then
3944 # We found a bogon in the path, so make sure we never use it.
3945 set dummy
$ac_cv_prog_CC
3947 if test $# != 0; then
3948 # We chose a different compiler from the bogus one.
3949 # However, it has the same basename, so the bogon will be chosen
3950 # first if we set CC to just the basename; use the full file name.
3952 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3958 if test -n "$CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3960 $as_echo "$CC" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3968 if test -z "$CC"; then
3969 if test -n "$ac_tool_prefix"; then
3970 for ac_prog
in cl.exe
3972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_CC+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$CC"; then
3980 ac_cv_prog_CC
="$CC" # Let the user override the test.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 if test -n "$CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4002 $as_echo "$CC" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$CC" && break
4012 if test -z "$CC"; then
4014 for ac_prog
in cl.exe
4016 # Extract the first word of "$ac_prog", so it can be a program name with args.
4017 set dummy
$ac_prog; ac_word
=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -n "$ac_ct_CC"; then
4024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4030 test -z "$as_dir" && as_dir
=.
4031 for ac_exec_ext
in '' $ac_executable_extensions; do
4032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4033 ac_cv_prog_ac_ct_CC
="$ac_prog"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4044 if test -n "$ac_ct_CC"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4046 $as_echo "$ac_ct_CC" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4053 test -n "$ac_ct_CC" && break
4056 if test "x$ac_ct_CC" = x
; then
4059 case $cross_compiling:$ac_tool_warned in
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4063 ac_tool_warned
=yes ;;
4072 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error
"no acceptable C compiler found in \$PATH
4075 See \`config.log' for more details." "$LINENO" 5; }
4077 # Provide some information about the compiler.
4078 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4081 for ac_option
in --version -v -V -qversion; do
4082 { { ac_try
="$ac_compiler $ac_option >&5"
4084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4091 if test -s conftest.err; then
4093 ... rest of stderr output deleted ...
4094 10q' conftest.err >conftest.er1
4095 cat conftest.er1 >&5
4096 rm -f conftest.er1 conftest.err
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4113 ac_clean_files_save=$ac_clean_files
4114 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4115 # Try to create an executable without -o first, disregard a.out.
4116 # It will help us diagnose broken compilers, and finding out an intuition
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4119 $as_echo_n "checking for C compiler default output file name... " >&6; }
4120 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4122 # The possible output files:
4123 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4126 for ac_file in $ac_files
4129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4130 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4135 if { { ac_try="$ac_link_default"
4137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4138 *) ac_try_echo
=$ac_try;;
4140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link_default") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4147 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4148 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4149 # so that the user can short-circuit this test for compilers unknown to
4151 for ac_file
in $ac_files ''
4153 test -f "$ac_file" ||
continue
4155 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4158 # We found the default executable, but exeext='' is most
4162 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4164 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4166 # We set ac_cv_exeext here because the later test for it is not
4167 # safe: cross compilers may not add the suffix if given an `-o'
4168 # argument, so we may need to know it at that point already.
4169 # Even if this section looks crufty: it has the advantage of
4176 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4182 $as_echo "$ac_file" >&6; }
4183 if test -z "$ac_file"; then :
4184 $as_echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.
$ac_ext >&5
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 { as_fn_set_status
77
4190 as_fn_error
"C compiler cannot create executables
4191 See \`config.log' for more details." "$LINENO" 5; }; }
4193 ac_exeext
=$ac_cv_exeext
4195 # Check that the compiler produces executables we can run. If not, either
4196 # the compiler is broken, or we cross compile.
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4198 $as_echo_n "checking whether the C compiler works... " >&6; }
4199 # If not cross compiling, check that we can run a simple program.
4200 if test "$cross_compiling" != yes; then
4201 if { ac_try
='./$ac_file'
4202 { { case "(($ac_try" in
4203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4204 *) ac_try_echo=$ac_try;;
4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208 (eval "$ac_try") 2>&5
4210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4211 test $ac_status = 0; }; }; then
4214 if test "$cross_compiling" = maybe; then
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error "cannot run C compiled programs.
4220 If you meant to cross compile
, use \
`--host'.
4221 See \`config.log
' for more details." "$LINENO" 5; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4226 $as_echo "yes" >&6; }
4228 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4229 ac_clean_files=$ac_clean_files_save
4230 # Check that the compiler produces executables we can run. If not, either
4231 # the compiler is broken, or we cross compile.
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4233 $as_echo_n "checking whether we are cross compiling... " >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4235 $as_echo "$cross_compiling" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4238 $as_echo_n "checking for suffix of executables... " >&6; }
4239 if { { ac_try="$ac_link"
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_link") 2>&5
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }; then :
4250 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4251 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4252 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4254 for ac_file
in conftest.exe conftest conftest.
*; do
4255 test -f "$ac_file" ||
continue
4257 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4258 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4267 See \`config.log' for more details." "$LINENO" 5; }
4269 rm -f conftest
$ac_cv_exeext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4271 $as_echo "$ac_cv_exeext" >&6; }
4273 rm -f conftest.
$ac_ext
4274 EXEEXT
=$ac_cv_exeext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4277 $as_echo_n "checking for suffix of object files... " >&6; }
4278 if test "${ac_cv_objext+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4292 rm -f conftest.o conftest.obj
4293 if { { ac_try
="$ac_compile"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_compile") 2>&5
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }; then :
4304 for ac_file in conftest.o conftest.obj conftest.*; do
4305 test -f "$ac_file" || continue;
4307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4308 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4313 $as_echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.$ac_ext >&5
4316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4318 as_fn_error "cannot compute suffix of object files
: cannot compile
4319 See \
`config.log' for more details." "$LINENO" 5; }
4321 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4324 $as_echo "$ac_cv_objext" >&6; }
4325 OBJEXT=$ac_cv_objext
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4328 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4329 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4346 if ac_fn_c_try_compile "$LINENO"; then :
4351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4352 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4356 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4357 if test $ac_compiler_gnu = yes; then
4362 ac_test_CFLAGS=${CFLAGS+set}
4363 ac_save_CFLAGS=$CFLAGS
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4365 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4366 if test "${ac_cv_prog_cc_g+set}" = set; then :
4367 $as_echo_n "(cached) " >&6
4369 ac_save_c_werror_flag=$ac_c_werror_flag
4370 ac_c_werror_flag=yes
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4384 if ac_fn_c_try_compile "$LINENO"; then :
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_c_try_compile "$LINENO"; then :
4402 ac_c_werror_flag=$ac_save_c_werror_flag
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4415 if ac_fn_c_try_compile "$LINENO"; then :
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 ac_c_werror_flag=$ac_save_c_werror_flag
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4426 $as_echo "$ac_cv_prog_cc_g" >&6; }
4427 if test "$ac_test_CFLAGS" = set; then
4428 CFLAGS=$ac_save_CFLAGS
4429 elif test $ac_cv_prog_cc_g = yes; then
4430 if test "$GCC" = yes; then
4436 if test "$GCC" = yes; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4443 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4444 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 ac_cv_prog_cc_c89=no
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4453 #include <sys/types.h>
4454 #include <sys/stat.h>
4455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4456 struct buf { int x; };
4457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4458 static char *e (p, i)
4464 static char *f (char * (*g) (char **, int), char **p, ...)
4469 s = g (p, va_arg (v,int));
4474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4475 function prototypes and stuff, but not '\xHH' hex character constants.
4476 These don't provoke an error unfortunately, instead are silently treated
4477 as 'x'. The following induces an error, until -std is added to get
4478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4479 array size at least. It's necessary to write '\x00'==0 to get something
4480 that's true only with -std. */
4481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4483 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4484 inside strings and character constants. */
4486 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4488 int test (int i, double x);
4489 struct s1 {int (*f) (int a);};
4490 struct s2 {int (*f) (double a);};
4491 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4497 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4502 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4503 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4505 CC="$ac_save_CC $ac_arg"
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 ac_cv_prog_cc_c89=$ac_arg
4509 rm -f core conftest.err conftest.$ac_objext
4510 test "x$ac_cv_prog_cc_c89" != "xno" && break
4512 rm -f conftest.$ac_ext
4517 case "x$ac_cv_prog_cc_c89" in
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4520 $as_echo "none needed" >&6; } ;;
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4523 $as_echo "unsupported" >&6; } ;;
4525 CC="$CC $ac_cv_prog_cc_c89"
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4527 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4529 if test "x$ac_cv_prog_cc_c89" != xno; then :
4534 ac_cpp='$CPP $CPPFLAGS'
4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 ac_cpp='$CXXCPP $CPPFLAGS'
4541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4544 if test -z "$CXX"; then
4545 if test -n "$CCC"; then
4548 if test -n "$ac_tool_prefix"; then
4549 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if test "${ac_cv_prog_CXX+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$CXX"; then
4559 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4568 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 if test -n "$CXX"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4581 $as_echo "$CXX" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 test -n "$CXX" && break
4591 if test -z "$CXX"; then
4593 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4595 # Extract the first word of "$ac_prog", so it can be a program name with args.
4596 set dummy $ac_prog; ac_word=$2
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598 $as_echo_n "checking for $ac_word... " >&6; }
4599 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4600 $as_echo_n "(cached) " >&6
4602 if test -n "$ac_ct_CXX"; then
4603 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 ac_cv_prog_ac_ct_CXX="$ac_prog"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4623 if test -n "$ac_ct_CXX"; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4625 $as_echo "$ac_ct_CXX" >&6; }
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4632 test -n "$ac_ct_CXX" && break
4635 if test "x$ac_ct_CXX" = x; then
4638 case $cross_compiling:$ac_tool_warned in
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4642 ac_tool_warned=yes ;;
4650 # Provide some information about the compiler.
4651 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4654 for ac_option in --version -v -V -qversion; do
4655 { { ac_try="$ac_compiler $ac_option >&5"
4657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4658 *) ac_try_echo
=$ac_try;;
4660 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4661 $as_echo "$ac_try_echo"; } >&5
4662 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4664 if test -s conftest.err
; then
4666 ... rest of stderr output deleted ...
4667 10q' conftest.err
>conftest.er1
4668 cat conftest.er1
>&5
4669 rm -f conftest.er1 conftest.err
4671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4672 test $ac_status = 0; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4676 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4677 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4694 if ac_fn_cxx_try_compile
"$LINENO"; then :
4699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4700 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4704 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4705 if test $ac_compiler_gnu = yes; then
4710 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4711 ac_save_CXXFLAGS
=$CXXFLAGS
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4713 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4714 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4718 ac_cxx_werror_flag
=yes
4721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4732 if ac_fn_cxx_try_compile
"$LINENO"; then :
4733 ac_cv_prog_cxx_g
=yes
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4747 if ac_fn_cxx_try_compile
"$LINENO"; then :
4750 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4763 if ac_fn_cxx_try_compile
"$LINENO"; then :
4764 ac_cv_prog_cxx_g
=yes
4766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4771 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4774 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4775 if test "$ac_test_CXXFLAGS" = set; then
4776 CXXFLAGS
=$ac_save_CXXFLAGS
4777 elif test $ac_cv_prog_cxx_g = yes; then
4778 if test "$GXX" = yes; then
4784 if test "$GXX" = yes; then
4791 ac_cpp
='$CPP $CPPFLAGS'
4792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4797 # We must set the default linker to the linker used by gcc for the correct
4798 # operation of libtool. If LD is not defined and we are using gcc, try to
4799 # set the LD default to the ld used by gcc.
4800 if test -z "$LD"; then
4801 if test "$GCC" = yes; then
4804 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4806 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4808 case $gcc_prog_ld in
4809 # Accept absolute paths.
4810 [\\/]* |
[A-Za-z
]:[\\/]*)
4811 LD
="$gcc_prog_ld" ;;
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$GNATBIND"; then
4828 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 GNATBIND
=$ac_cv_prog_GNATBIND
4848 if test -n "$GNATBIND"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4850 $as_echo "$GNATBIND" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_GNATBIND"; then
4859 ac_ct_GNATBIND
=$GNATBIND
4860 # Extract the first word of "gnatbind", so it can be a program name with args.
4861 set dummy gnatbind
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$ac_ct_GNATBIND"; then
4868 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4888 if test -n "$ac_ct_GNATBIND"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4890 $as_echo "$ac_ct_GNATBIND" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_GNATBIND" = x
; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned
=yes ;;
4905 GNATBIND
=$ac_ct_GNATBIND
4908 GNATBIND
="$ac_cv_prog_GNATBIND"
4911 if test -n "$ac_tool_prefix"; then
4912 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4913 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$GNATMAKE"; then
4920 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 GNATMAKE
=$ac_cv_prog_GNATMAKE
4940 if test -n "$GNATMAKE"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4942 $as_echo "$GNATMAKE" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4950 if test -z "$ac_cv_prog_GNATMAKE"; then
4951 ac_ct_GNATMAKE
=$GNATMAKE
4952 # Extract the first word of "gnatmake", so it can be a program name with args.
4953 set dummy gnatmake
; ac_word
=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$ac_ct_GNATMAKE"; then
4960 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir
=.
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4980 if test -n "$ac_ct_GNATMAKE"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4982 $as_echo "$ac_ct_GNATMAKE" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4988 if test "x$ac_ct_GNATMAKE" = x
; then
4991 case $cross_compiling:$ac_tool_warned in
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4995 ac_tool_warned
=yes ;;
4997 GNATMAKE
=$ac_ct_GNATMAKE
5000 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5004 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5005 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5006 $as_echo_n "(cached) " >&6
5008 cat >conftest.adb
<<EOF
5009 procedure conftest is begin null; end conftest;
5011 acx_cv_cc_gcc_supports_ada
=no
5012 # There is a bug in old released versions of GCC which causes the
5013 # driver to exit successfully when the appropriate language module
5014 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5015 # Therefore we must check for the error message as well as an
5016 # unsuccessful exit.
5017 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5018 # given a .adb file, but produce no object file. So we must check
5019 # if an object file was really produced to guard against this.
5020 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5021 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5022 acx_cv_cc_gcc_supports_ada
=yes
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5027 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5029 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5036 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5037 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5038 $as_echo_n "(cached) " >&6
5042 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5043 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5044 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5047 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5050 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5051 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5054 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5061 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5062 do_compare
="$gcc_cv_prog_cmp_skip"
5066 # Check whether --enable-bootstrap was given.
5067 if test "${enable_bootstrap+set}" = set; then :
5068 enableval
=$enable_bootstrap;
5070 enable_bootstrap
=default
5074 # Issue errors and warnings for invalid/strange bootstrap combinations.
5075 if test -r $srcdir/gcc
/configure
; then
5081 case "$have_compiler:$host:$target:$enable_bootstrap" in
5084 # Default behavior. Enable bootstrap if we have a compiler
5085 # and we are in a native configuration.
5086 yes:$build:$build:default
)
5087 enable_bootstrap
=yes ;;
5090 enable_bootstrap
=no
;;
5092 # We have a compiler and we are in a native configuration, bootstrap is ok
5093 yes:$build:$build:yes)
5096 # Other configurations, but we have a compiler. Assume the user knows
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5100 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5103 # No compiler: if they passed --enable-bootstrap explicitly, fail
5105 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5107 # Fail if wrong command line
5109 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5113 # See if we are building gcc with C++.
5114 # Check whether --enable-build-with-cxx was given.
5115 if test "${enable_build_with_cxx+set}" = set; then :
5116 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5118 ENABLE_BUILD_WITH_CXX
=no
5122 # Build stage1 with C and build stages 2 and 3 with C++.
5123 # Check whether --enable-build-poststage1-with-cxx was given.
5124 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5125 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5127 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5131 # Used for setting $lt_cv_objdir
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5133 $as_echo_n "checking for objdir... " >&6; }
5134 if test "${lt_cv_objdir+set}" = set; then :
5135 $as_echo_n "(cached) " >&6
5137 rm -f .libs
2>/dev
/null
5138 mkdir .libs
2>/dev
/null
5139 if test -d .libs
; then
5142 # MS-DOS does not allow filenames that begin with a dot.
5145 rmdir .libs
2>/dev
/null
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5148 $as_echo "$lt_cv_objdir" >&6; }
5149 objdir
=$lt_cv_objdir
5155 cat >>confdefs.h
<<_ACEOF
5156 #define LT_OBJDIR "$lt_cv_objdir/"
5161 # Check for GMP, MPFR and MPC
5162 gmplibs
="-lmpc -lmpfr -lgmp"
5166 # Specify a location for mpc
5167 # check for this first so it ends up on the link line before mpfr.
5169 # Check whether --with-mpc was given.
5170 if test "${with_mpc+set}" = set; then :
5175 # Check whether --with-mpc-include was given.
5176 if test "${with_mpc_include+set}" = set; then :
5177 withval
=$with_mpc_include;
5181 # Check whether --with-mpc-lib was given.
5182 if test "${with_mpc_lib+set}" = set; then :
5183 withval
=$with_mpc_lib;
5187 if test "x$with_mpc" != x
; then
5188 gmplibs
="-L$with_mpc/lib $gmplibs"
5189 gmpinc
="-I$with_mpc/include $gmpinc"
5191 if test "x$with_mpc_include" != x
; then
5192 gmpinc
="-I$with_mpc_include $gmpinc"
5194 if test "x$with_mpc_lib" != x
; then
5195 gmplibs
="-L$with_mpc_lib $gmplibs"
5197 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5198 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5199 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5200 # Do not test the mpc version. Assume that it is sufficient, since
5201 # it is in the source tree, and the library has not been built yet
5202 # but it would be included on the link line in the version check below
5203 # hence making the test fail.
5207 # Specify a location for mpfr
5208 # check for this first so it ends up on the link line before gmp.
5210 # Check whether --with-mpfr-dir was given.
5211 if test "${with_mpfr_dir+set}" = set; then :
5212 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5213 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5218 # Check whether --with-mpfr was given.
5219 if test "${with_mpfr+set}" = set; then :
5224 # Check whether --with-mpfr-include was given.
5225 if test "${with_mpfr_include+set}" = set; then :
5226 withval
=$with_mpfr_include;
5230 # Check whether --with-mpfr-lib was given.
5231 if test "${with_mpfr_lib+set}" = set; then :
5232 withval
=$with_mpfr_lib;
5236 if test "x$with_mpfr" != x
; then
5237 gmplibs
="-L$with_mpfr/lib $gmplibs"
5238 gmpinc
="-I$with_mpfr/include $gmpinc"
5240 if test "x$with_mpfr_include" != x
; then
5241 gmpinc
="-I$with_mpfr_include $gmpinc"
5243 if test "x$with_mpfr_lib" != x
; then
5244 gmplibs
="-L$with_mpfr_lib $gmplibs"
5246 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5247 # MPFR v3.1.0 moved the sources into a src sub-directory.
5248 if test -d ${srcdir}/mpfr
/src
; then
5249 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5250 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5251 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5253 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5254 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5255 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5257 # Do not test the mpfr version. Assume that it is sufficient, since
5258 # it is in the source tree, and the library has not been built yet
5259 # but it would be included on the link line in the version check below
5260 # hence making the test fail.
5264 # Specify a location for gmp
5266 # Check whether --with-gmp-dir was given.
5267 if test "${with_gmp_dir+set}" = set; then :
5268 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5269 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5274 # Check whether --with-gmp was given.
5275 if test "${with_gmp+set}" = set; then :
5280 # Check whether --with-gmp-include was given.
5281 if test "${with_gmp_include+set}" = set; then :
5282 withval
=$with_gmp_include;
5286 # Check whether --with-gmp-lib was given.
5287 if test "${with_gmp_lib+set}" = set; then :
5288 withval
=$with_gmp_lib;
5293 if test "x$with_gmp" != x
; then
5294 gmplibs
="-L$with_gmp/lib $gmplibs"
5295 gmpinc
="-I$with_gmp/include $gmpinc"
5297 if test "x$with_gmp_include" != x
; then
5298 gmpinc
="-I$with_gmp_include $gmpinc"
5300 if test "x$with_gmp_lib" != x
; then
5301 gmplibs
="-L$with_gmp_lib $gmplibs"
5303 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5304 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5305 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5306 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5307 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5308 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5309 # Do not test the gmp version. Assume that it is sufficient, since
5310 # it is in the source tree, and the library has not been built yet
5311 # but it would be included on the link line in the version check below
5312 # hence making the test fail.
5316 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5318 saved_CFLAGS
="$CFLAGS"
5319 CFLAGS
="$CFLAGS $gmpinc"
5320 # Check for the recommended and required versions of GMP.
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5322 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5331 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5332 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5333 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5341 if ac_fn_c_try_compile
"$LINENO"; then :
5342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5349 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5350 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5351 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5359 if ac_fn_c_try_compile
"$LINENO"; then :
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5361 $as_echo "yes" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5364 $as_echo "buggy but acceptable" >&6; }
5366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }; have_gmp
=no
5371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5373 # If we have GMP, check the MPFR version.
5374 if test x
"$have_gmp" = xyes
; then
5375 # Check for the recommended and required versions of MPFR.
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5377 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5386 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5394 if ac_fn_c_try_compile
"$LINENO"; then :
5395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5403 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5411 if ac_fn_c_try_compile
"$LINENO"; then :
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413 $as_echo "yes" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5416 $as_echo "buggy but acceptable" >&6; }
5418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }; have_gmp
=no
5423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5426 # Check for the MPC header version.
5427 if test x
"$have_gmp" = xyes
; then
5428 # Check for the recommended and required versions of MPC.
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5430 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5438 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5446 if ac_fn_c_try_compile
"$LINENO"; then :
5447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5454 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5462 if ac_fn_c_try_compile
"$LINENO"; then :
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5464 $as_echo "yes" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5467 $as_echo "buggy but acceptable" >&6; }
5469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }; have_gmp
=no
5474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5477 # Now check the MPFR library.
5478 if test x
"$have_gmp" = xyes
; then
5480 LIBS
="$LIBS $gmplibs"
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5482 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5496 mpfr_atan2 (n, n, x, GMP_RNDN);
5497 mpfr_erfc (n, x, GMP_RNDN);
5498 mpfr_subnormalize (x, t, GMP_RNDN);
5502 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5503 mpc_cosh (c, c, MPC_RNDNN);
5504 mpc_pow (c, c, c, MPC_RNDNN);
5505 mpc_acosh (c, c, MPC_RNDNN);
5512 if ac_fn_c_try_link
"$LINENO"; then :
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5514 $as_echo "yes" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }; have_gmp
=no
5519 rm -f core conftest.err conftest.
$ac_objext \
5520 conftest
$ac_exeext conftest.
$ac_ext
5524 CFLAGS
="$saved_CFLAGS"
5526 # The library versions listed in the error message below should match
5527 # the HARD-minimums enforced above.
5528 if test x
$have_gmp != xyes
; then
5529 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5530 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5531 their locations. Source code for these libraries can be found at
5532 their respective hosting sites as well as at
5533 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5534 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5535 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5536 make sure that you have installed both the libraries and the header
5537 files. They may be located in separate packages." "$LINENO" 5
5541 # Flags needed for both GMP, MPFR and/or MPC.
5549 # Allow host libstdc++ to be specified for static linking with PPL.
5551 # Check whether --with-host-libstdcxx was given.
5552 if test "${with_host_libstdcxx+set}" = set; then :
5553 withval
=$with_host_libstdcxx;
5557 case $with_host_libstdcxx in
5559 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5563 # Linker flags to use for stage1 or when not boostrapping.
5565 # Check whether --with-stage1-ldflags was given.
5566 if test "${with_stage1_ldflags+set}" = set; then :
5567 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5570 stage1_ldflags
=$withval
5578 # Libraries to use for stage1 or when not bootstrapping.
5580 # Check whether --with-stage1-libs was given.
5581 if test "${with_stage1_libs+set}" = set; then :
5582 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5585 stage1_libs
=$withval
5588 stage1_libs
=$with_host_libstdcxx
5593 # Libraries to use for stage2 and later builds. This defaults to the
5594 # argument passed to --with-host-libstdcxx.
5596 # Check whether --with-boot-libs was given.
5597 if test "${with_boot_libs+set}" = set; then :
5598 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5601 poststage1_libs
=$withval
5604 poststage1_libs
=$with_host_libstdcxx
5609 # Linker flags to use for stage2 and later builds.
5611 # Check whether --with-boot-ldflags was given.
5612 if test "${with_boot_ldflags+set}" = set; then :
5613 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5616 poststage1_ldflags
=$withval
5620 # In stages 2 and 3, default to linking libstdc++ and libgcc
5621 # statically. But if the user explicitly specified the libraries to
5622 # use, trust that they are doing what they want.
5623 if test "$poststage1_libs" = ""; then
5624 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5633 # Check whether --with-isl was given.
5634 if test "${with_isl+set}" = set; then :
5639 # Check whether --with-isl-include was given.
5640 if test "${with_isl_include+set}" = set; then :
5641 withval
=$with_isl_include;
5645 # Check whether --with-isl-lib was given.
5646 if test "${with_isl_lib+set}" = set; then :
5647 withval
=$with_isl_lib;
5651 # Check whether --enable-isl-version-check was given.
5652 if test "${enable_isl_version_check+set}" = set; then :
5653 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5655 ENABLE_ISL_CHECK
=yes
5659 # Initialize isllibs and islinc.
5668 isllibs
="-L$with_isl/lib"
5669 islinc
="-I$with_isl/include"
5672 if test "x${with_isl_include}" != x
; then
5673 islinc
="-I$with_isl_include"
5675 if test "x${with_isl_lib}" != x
; then
5676 isllibs
="-L$with_isl_lib"
5678 extra_cloog_isl_configure_flags
='--with-isl=system'
5679 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5680 && test -d ${srcdir}/isl
; then
5681 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5682 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5683 extra_cloog_isl_configure_flags
='--with-isl-builddir=$$r/$(HOST_DIR)/isl'
5687 isllibs
="${isllibs} -lisl"
5694 if test "x$with_isl" != "xno"; then
5696 if test "${ENABLE_ISL_CHECK}" = yes ; then
5697 _isl_saved_CFLAGS
=$CFLAGS
5698 _isl_saved_LDFLAGS
=$LDFLAGS
5699 _isl_saved_LIBS
=$LIBS
5701 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5702 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5703 LIBS
="${_isl_saved_LIBS} -lisl"
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5707 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5708 if test "${gcc_cv_isl+set}" = set; then :
5709 $as_echo_n "(cached) " >&6
5711 if test "$cross_compiling" = yes; then :
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716 #include <isl/version.h>
5721 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5728 if ac_fn_c_try_run
"$LINENO"; then :
5733 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5734 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5739 $as_echo "$gcc_cv_isl" >&6; }
5741 CFLAGS
=$_isl_saved_CFLAGS
5742 LDFLAGS
=$_isl_saved_LDFLAGS
5743 LIBS
=$_isl_saved_LIBS
5752 if test "x${with_isl}" = xno
; then
5753 graphite_requested
=no
5754 elif test "x${with_isl}" != x \
5755 ||
test "x${with_isl_include}" != x \
5756 ||
test "x${with_isl_lib}" != x
; then
5757 graphite_requested
=yes
5759 graphite_requested
=no
5764 if test "${gcc_cv_isl}" = no
; then
5769 if test "${graphite_requested}" = yes \
5770 && test "x${isllibs}" = x \
5771 && test "x${islinc}" = x
; then
5773 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5782 # Check whether --with-cloog was given.
5783 if test "${with_cloog+set}" = set; then :
5784 withval
=$with_cloog;
5788 # Check whether --with-cloog-include was given.
5789 if test "${with_cloog_include+set}" = set; then :
5790 withval
=$with_cloog_include;
5794 # Check whether --with-cloog-lib was given.
5795 if test "${with_cloog_lib+set}" = set; then :
5796 withval
=$with_cloog_lib;
5800 # Check whether --enable-cloog-version-check was given.
5801 if test "${enable_cloog_version_check+set}" = set; then :
5802 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5804 ENABLE_CLOOG_CHECK
=yes
5808 # Initialize clooglibs and clooginc.
5817 clooglibs
="-L$with_cloog/lib"
5818 clooginc
="-I$with_cloog/include"
5821 if test "x${with_cloog_include}" != x
; then
5822 clooginc
="-I$with_cloog_include"
5824 if test "x${with_cloog_lib}" != x
; then
5825 clooglibs
="-L$with_cloog_lib"
5827 if test "x${clooginc}" == x
&& test "x${clooglibs}" == x \
5828 && test -d ${srcdir}/cloog
; then
5829 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5830 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5833 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5834 clooglibs
="${clooglibs} -lcloog-isl ${isllibs}"
5840 if test "x$isllibs" = x
&& test "x$islinc" = x
; then
5843 elif test "x$with_cloog" != "xno"; then
5847 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5848 _cloog_saved_CFLAGS
=$CFLAGS
5849 _cloog_saved_LDFLAGS
=$LDFLAGS
5851 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5852 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5855 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5856 if test "${gcc_cv_cloog+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5861 #include "cloog/version.h"
5865 #if CLOOG_VERSION_MAJOR != 0 \
5866 || CLOOG_VERSION_MINOR != 17 \
5867 || CLOOG_VERSION_REVISION < 0
5874 if ac_fn_c_try_compile
"$LINENO"; then :
5879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5882 $as_echo "$gcc_cv_cloog" >&6; }
5884 CFLAGS
=$_cloog_saved_CFLAGS
5885 LDFLAGS
=$_cloog_saved_LDFLAGS
5894 if test "x${with_cloog}" = xno
; then
5895 graphite_requested
=no
5896 elif test "x${with_cloog}" != x \
5897 ||
test "x${with_cloog_include}" != x \
5898 ||
test "x${with_cloog_lib}" != x
; then
5899 graphite_requested
=yes
5901 graphite_requested
=no
5906 if test "${gcc_cv_cloog}" = no
; then
5911 if test "${graphite_requested}" = yes \
5912 && test "x${clooglibs}" = x \
5913 && test "x${clooginc}" = x
; then
5915 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5921 # If either the ISL or the CLooG check failed, disable builds of in-tree
5923 if test "x$clooglibs" = x
&& test "x$clooginc" = x
; then
5924 noconfigdirs
="$noconfigdirs cloog isl"
5927 # Check for LTO support.
5928 # Check whether --enable-lto was given.
5929 if test "${enable_lto+set}" = set; then :
5930 enableval
=$enable_lto; enable_lto
=$enableval
5932 enable_lto
=yes; default_enable_lto
=yes
5941 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5942 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5943 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5951 if test $target_elf = yes; then :
5952 # ELF platforms build the lto-plugin always.
5953 build_lto_plugin
=yes
5956 if test x
"$default_enable_lto" = x
"yes" ; then
5958 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5959 # On other non-ELF platforms, LTO has yet to be validated.
5963 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5964 # It would also be nice to check the binutils support, but we don't
5965 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5966 # warn during gcc/ subconfigure; unless you're bootstrapping with
5967 # -flto it won't be needed until after installation anyway.
5969 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5970 *) if test x
"$enable_lto" = x
"yes"; then
5971 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5976 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5977 # Build it unless LTO was explicitly disabled.
5979 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5987 # By default, C is the only stage 1 language.
5988 stage1_languages
=,c
,
5990 # Target libraries that we bootstrap.
5991 bootstrap_target_libs
=,target-libgcc
,
5993 # Figure out what language subdirectories are present.
5994 # Look if the user specified --enable-languages="..."; if not, use
5995 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5997 # NB: embedded tabs in this IF block -- do not untabify
5998 if test -d ${srcdir}/gcc
; then
5999 if test x
"${enable_languages+set}" != xset
; then
6000 if test x
"${LANGUAGES+set}" = xset
; then
6001 enable_languages
="${LANGUAGES}"
6002 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6004 enable_languages
=all
6007 if test x
"${enable_languages}" = x ||
6008 test x
"${enable_languages}" = xyes
;
6010 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6014 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6016 # 'f95' is the old name for the 'fortran' language. We issue a warning
6017 # and make the substitution.
6018 case ,${enable_languages}, in
6020 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6021 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6025 # If bootstrapping, then using --enable-build-with-cxx or
6026 # --enable-build-poststage1-with-cxx requires enabling C++.
6027 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6030 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6031 enable_languages
="${enable_languages},c++"
6033 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6038 # First scan to see if an enabled language requires some other language.
6039 # We assume that a given config-lang.in will list all the language
6040 # front ends it requires, even if some are required indirectly.
6041 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6042 case ${lang_frag} in
6044 # The odd quoting in the next line works around
6045 # an apparent bug in bash 1.12 on linux.
6046 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6048 # From the config-lang.in, get $language, $lang_requires, and
6049 # $lang_requires_boot_languages.
6052 lang_requires_boot_languages
=
6054 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6055 case ,${enable_languages}, in
6059 echo " \`$other' language required by \`$language'; enabling" 1>&2
6060 enable_languages
="${enable_languages},${other}"
6064 for other
in ${lang_requires_boot_languages} ; do
6065 if test "$other" != "c"; then
6066 case ,${enable_stage1_languages}, in
6070 case ,${enable_languages}, in
6072 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6073 enable_stage1_languages
="$enable_stage1_languages,${other}"
6084 new_enable_languages
=,c
,
6086 # If LTO is enabled, add the LTO front end.
6087 extra_host_libiberty_configure_flags
=
6088 if test "$enable_lto" = "yes" ; then
6089 case ,${enable_languages}, in
6091 *) enable_languages
="${enable_languages},lto" ;;
6093 if test "${build_lto_plugin}" = "yes" ; then
6094 configdirs
="$configdirs lto-plugin"
6095 extra_host_libiberty_configure_flags
=--enable-shared
6100 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6101 potential_languages
=,c
,
6103 enabled_target_libs
=
6104 disabled_target_libs
=
6106 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6107 case ${lang_frag} in
6109 # The odd quoting in the next line works around
6110 # an apparent bug in bash 1.12 on linux.
6111 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6113 # From the config-lang.in, get $language, $target_libs,
6114 # $lang_dirs, $boot_language, and $build_by_default
6120 build_by_default
=yes
6122 if test x
${language} = x
; then
6123 echo "${lang_frag} doesn't set \$language." 1>&2
6127 if test "$language" = "c++"; then
6128 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6129 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6134 case ,${enable_languages}, in
6136 # Language was explicitly selected; include it
6137 # unless it is C, which is enabled by default.
6138 if test "$language" != "c"; then
6143 # 'all' was selected, select it if it is a default language
6144 add_this_lang
=${build_by_default}
6151 # Disable languages that need other directories if these aren't available.
6152 for i
in $subdir_requires; do
6153 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6154 case ,${enable_languages}, in
6156 # Specifically requested language; tell them.
6157 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6161 add_this_lang
=unsupported
6166 # Disable Ada if no preexisting GNAT is available.
6167 case ,${enable_languages},:${language}:${have_gnat} in
6168 *,${language},*:ada
:no
)
6169 # Specifically requested language; tell them.
6170 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6174 add_this_lang
=unsupported
6178 # Disable a language that is unsupported by the target.
6179 case " $unsupported_languages " in
6181 add_this_lang
=unsupported
6185 case $add_this_lang in
6187 # Remove language-dependent dirs.
6188 disabled_target_libs
="$disabled_target_libs $target_libs"
6189 noconfigdirs
="$noconfigdirs $lang_dirs"
6192 # Remove language-dependent dirs; still show language as supported.
6193 disabled_target_libs
="$disabled_target_libs $target_libs"
6194 noconfigdirs
="$noconfigdirs $lang_dirs"
6195 potential_languages
="${potential_languages}${language},"
6198 new_enable_languages
="${new_enable_languages}${language},"
6199 potential_languages
="${potential_languages}${language},"
6200 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6201 enabled_target_libs
="$enabled_target_libs $target_libs"
6202 case "${boot_language}:,$enable_stage1_languages," in
6203 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6204 # Add to (comma-separated) list of stage 1 languages.
6205 case ",$stage1_languages," in
6206 *,$language,* |
,yes, |
,all
,) ;;
6207 *) stage1_languages
="${stage1_languages}${language}," ;;
6209 # We need to bootstrap any supporting libraries.
6210 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6219 # Add target libraries which are only needed for disabled languages
6221 if test -n "$disabled_target_libs"; then
6222 for dir
in $disabled_target_libs; do
6223 case " $enabled_target_libs " in
6225 *) noconfigdirs
="$noconfigdirs $dir" ;;
6230 # Check whether --enable-stage1-languages was given.
6231 if test "${enable_stage1_languages+set}" = set; then :
6232 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6234 # Set it to something that will have no effect in the loop below
6235 enable_stage1_languages
=c
;;
6237 enable_stage1_languages
=`echo $new_enable_languages | \
6238 sed -e "s/^,//" -e "s/,$//" ` ;;
6240 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6241 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6244 # Add "good" languages from enable_stage1_languages to stage1_languages,
6245 # while "bad" languages go in missing_languages. Leave no duplicates.
6246 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6247 case $potential_languages in
6249 case $stage1_languages in
6251 *) stage1_languages
="$stage1_languages$i," ;;
6254 case $missing_languages in
6256 *) missing_languages
="$missing_languages$i," ;;
6263 # Remove leading/trailing commas that were added for simplicity
6264 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6265 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6266 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6267 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6269 if test "x$missing_languages" != x
; then
6271 The following requested languages could not be built: ${missing_languages}
6272 Supported languages are: ${potential_languages}" "$LINENO" 5
6274 if test "x$new_enable_languages" != "x$enable_languages"; then
6275 echo The following languages will be built
: ${new_enable_languages}
6276 enable_languages
="$new_enable_languages"
6280 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6283 # Handle --disable-<component> generically.
6284 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6285 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6286 varname
=`echo $dirname | sed -e s/+/_/g`
6287 if eval test x\
${enable_${varname}} "=" xno
; then
6288 noconfigdirs
="$noconfigdirs $dir"
6292 # Check for Boehm's garbage collector
6293 # Check whether --enable-objc-gc was given.
6294 if test "${enable_objc_gc+set}" = set; then :
6295 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6296 *,objc
,*:*:yes:*target-boehm-gc
*)
6297 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6303 # Make sure we only build Boehm's garbage collector if required.
6304 case ,${enable_languages},:${enable_objc_gc} in
6306 # Keep target-boehm-gc if requested for Objective-C.
6309 # Otherwise remove target-boehm-gc depending on target-libjava.
6310 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6311 noconfigdirs
="$noconfigdirs target-boehm-gc"
6316 # Disable libitm if we're not building C++
6317 case ,${enable_languages}, in
6320 noconfigdirs
="$noconfigdirs target-libitm"
6324 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6325 # $build_configdirs and $target_configdirs.
6326 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6329 for dir
in .
$skipdirs $noconfigdirs ; do
6330 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6331 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6332 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6333 if test -r $srcdir/$dirname/configure
; then
6334 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6337 notsupp
="$notsupp $dir"
6341 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6342 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6343 if test -r $srcdir/$dirname/configure
; then
6344 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6347 notsupp
="$notsupp $dir"
6351 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6352 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6353 if test -r $srcdir/$dirname/configure
; then
6354 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6357 notsupp
="$notsupp $dir"
6363 # Quietly strip out all directories which aren't configurable in this tree.
6364 # This relies on all configurable subdirectories being autoconfiscated, which
6366 build_configdirs_all
="$build_configdirs"
6368 for i
in ${build_configdirs_all} ; do
6369 j
=`echo $i | sed -e s/build-//g`
6370 if test -f ${srcdir}/$j/configure
; then
6371 build_configdirs
="${build_configdirs} $i"
6375 configdirs_all
="$configdirs"
6377 for i
in ${configdirs_all} ; do
6378 if test -f ${srcdir}/$i/configure
; then
6379 configdirs
="${configdirs} $i"
6383 target_configdirs_all
="$target_configdirs"
6385 for i
in ${target_configdirs_all} ; do
6386 j
=`echo $i | sed -e s/target-//g`
6387 if test -f ${srcdir}/$j/configure
; then
6388 target_configdirs
="${target_configdirs} $i"
6392 # Produce a warning message for the subdirs we can't configure.
6393 # This isn't especially interesting in the Cygnus tree, but in the individual
6394 # FSF releases, it's important to let people know when their machine isn't
6395 # supported by the one or two programs in a package.
6397 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6398 # If $appdirs is non-empty, at least one of those directories must still
6399 # be configured, or we error out. (E.g., if the gas release supports a
6400 # specified target in some subdirs but not the gas subdir, we shouldn't
6401 # pretend that all is well.)
6402 if test -n "$appdirs" ; then
6403 for dir
in $appdirs ; do
6404 if test -r $dir/Makefile.
in ; then
6405 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6409 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6415 if test -n "$appdirs" ; then
6416 echo "*** This configuration is not supported by this package." 1>&2
6420 # Okay, some application will build, or we don't care to check. Still
6421 # notify of subdirs not getting built.
6422 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6423 echo " ${notsupp}" 1>&2
6424 echo " (Any other directories should still work fine.)" 1>&2
6432 # To find our prefix, in gcc_cv_tool_prefix.
6434 # The user is always right.
6435 if test "${PATH_SEPARATOR+set}" != set; then
6436 echo "#! /bin/sh" >conf$$.sh
6437 echo "exit 0" >>conf$$.sh
6439 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6449 if test "x$exec_prefix" = xNONE
; then
6450 if test "x$prefix" = xNONE
; then
6451 gcc_cv_tool_prefix
=$ac_default_prefix
6453 gcc_cv_tool_prefix
=$prefix
6456 gcc_cv_tool_prefix
=$exec_prefix
6459 # If there is no compiler in the tree, use the PATH only. In any
6460 # case, if there is no compiler in the tree nobody should use
6461 # AS_FOR_TARGET and LD_FOR_TARGET.
6462 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6463 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6464 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6465 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6466 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6467 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6468 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6469 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6474 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6475 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6483 # Check whether --with-build-sysroot was given.
6484 if test "${with_build_sysroot+set}" = set; then :
6485 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6486 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6489 SYSROOT_CFLAGS_FOR_TARGET
=
6495 # Check whether --with-debug-prefix-map was given.
6496 if test "${with_debug_prefix_map+set}" = set; then :
6497 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6498 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6499 for debug_map
in $withval; do
6500 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6504 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6509 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6510 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6511 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6512 # We want to ensure that TARGET libraries (which we know are built with
6513 # gcc) are built with "-O2 -g", so include those options when setting
6514 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6515 if test "x$CFLAGS_FOR_TARGET" = x
; then
6516 CFLAGS_FOR_TARGET
=$CFLAGS
6519 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6522 *" -g "* |
*" -g3 "*) ;;
6523 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6528 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6529 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6530 case " $CXXFLAGS " in
6532 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6534 case " $CXXFLAGS " in
6535 *" -g "* |
*" -g3 "*) ;;
6536 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6543 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6544 # the named directory are copied to $(tooldir)/sys-include.
6545 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6546 if test x
${is_cross_compiler} = xno
; then
6547 echo 1>&2 '***' --with-headers is only supported when cross compiling
6550 if test x
"${with_headers}" != xyes
; then
6551 x
=${gcc_cv_tool_prefix}
6552 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6556 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6557 # the name directories are copied to $(tooldir)/lib. Multiple directories
6559 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6560 if test x
${is_cross_compiler} = xno
; then
6561 echo 1>&2 '***' --with-libs is only supported when cross compiling
6564 if test x
"${with_libs}" != xyes
; then
6565 # Copy the libraries in reverse order, so that files in the first named
6566 # library override files in subsequent libraries.
6567 x
=${gcc_cv_tool_prefix}
6568 for l
in ${with_libs}; do
6569 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6574 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6576 # This is done by determining whether or not the appropriate directory
6577 # is available, and by checking whether or not specific configurations
6578 # have requested that this magic not happen.
6580 # The command line options always override the explicit settings in
6581 # configure.in, and the settings in configure.in override this magic.
6583 # If the default for a toolchain is to use GNU as and ld, and you don't
6584 # want to do that, then you should use the --without-gnu-as and
6585 # --without-gnu-ld options for the configure script. Similarly, if
6586 # the default is to use the included zlib and you don't want to do that,
6587 # you should use the --with-system-zlib option for the configure script.
6589 if test x
${use_gnu_as} = x
&&
6590 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6592 extra_host_args
="$extra_host_args --with-gnu-as"
6595 if test x
${use_gnu_ld} = x
&&
6596 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6598 extra_host_args
="$extra_host_args --with-gnu-ld"
6601 if test x
${use_included_zlib} = x
&&
6602 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6605 with_system_zlib
=yes
6606 extra_host_args
="$extra_host_args --with-system-zlib"
6609 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6610 # can detect this case.
6612 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6614 extra_host_args
="$extra_host_args --with-newlib"
6617 # Handle ${copy_dirs}
6618 set fnord
${copy_dirs}
6620 while test $# != 0 ; do
6621 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6624 echo Copying
$1 to
$2
6626 # Use the install script to create the directory and all required
6627 # parent directories.
6628 if test -d $2 ; then
6632 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6635 # Copy the directory, assuming we have tar.
6636 # FIXME: Should we use B in the second tar? Not all systems support it.
6637 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6639 # It is the responsibility of the user to correctly adjust all
6640 # symlinks. If somebody can figure out how to handle them correctly
6641 # here, feel free to add the code.
6648 # Determine a target-dependent exec_prefix that the installed
6649 # gcc will search in. Keep this list sorted by triplet, with
6650 # the *-*-osname triplets last.
6653 i
[34567]86-pc-msdosdjgpp*)
6654 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6659 md_exec_prefix
=/usr
/ccs
/bin
6663 extra_arflags_for_target
=
6664 extra_nmflags_for_target
=
6665 extra_ranlibflags_for_target
=
6666 target_makefile_frag
=/dev
/null
6669 target_makefile_frag
="config/mt-spu"
6672 target_makefile_frag
="config/mt-sde"
6674 mipsisa
*-*-elfoabi*)
6675 target_makefile_frag
="config/mt-mips-elfoabi"
6677 mips
*-*-*linux
* | mips
*-*-gnu*)
6678 target_makefile_frag
="config/mt-mips-gnu"
6680 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6681 target_makefile_frag
="config/mt-gnu"
6683 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6684 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6685 # commands to handle both 32-bit and 64-bit objects. These flags are
6686 # harmless if we're using GNU nm or ar.
6687 extra_arflags_for_target
=" -X32_64"
6688 extra_nmflags_for_target
=" -B -X32_64"
6692 alphaieee_frag
=/dev
/null
6695 # This just makes sure to use the -mieee option to build target libs.
6696 # This should probably be set individually by each library.
6697 alphaieee_frag
="config/mt-alphaieee"
6701 # If --enable-target-optspace always use -Os instead of -O2 to build
6702 # the target libraries, similarly if it is not specified, use -Os
6703 # on selected platforms.
6704 ospace_frag
=/dev
/null
6705 case "${enable_target_optspace}:${target}" in
6707 ospace_frag
="config/mt-ospace"
6710 ospace_frag
="config/mt-d30v"
6712 :m32r-
* |
:d10v-
* |
:fr30-
*)
6713 ospace_frag
="config/mt-ospace"
6718 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6722 # Some systems (e.g., one of the i386-aix systems the gas testers are
6723 # using) don't handle "\$" correctly, so don't use it here.
6724 tooldir
='${exec_prefix}'/${target_noncanonical}
6725 build_tooldir
=${tooldir}
6727 # Create a .gdbinit file which runs the one in srcdir
6728 # and tells GDB to look there for source files.
6730 if test -r ${srcdir}/.gdbinit
; then
6733 *) cat > .
/.gdbinit
<<EOF
6737 source ${srcdir}/.gdbinit
6743 # Make sure that the compiler is able to generate an executable. If it
6744 # can't, we are probably in trouble. We don't care whether we can run the
6745 # executable--we might be using a cross compiler--we only care whether it
6746 # can be created. At this point the main configure script has set CC.
6748 echo "int main () { return 0; }" > conftest.c
6749 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6750 if test $?
= 0 ; then
6751 if test -s conftest ||
test -s conftest.exe
; then
6757 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6758 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6765 # Decide which environment variable is used to find dynamic libraries.
6767 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6768 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6769 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6770 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6773 # On systems where the dynamic library environment variable is PATH,
6774 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6775 # built executables to PATH.
6776 if test "$RPATH_ENVVAR" = PATH
; then
6777 GCC_SHLIB_SUBDIR
=/shlib
6782 # Record target_configdirs and the configure arguments for target and
6783 # build configuration in Makefile.
6784 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6785 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6787 # If we are building libgomp, bootstrap it.
6788 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6789 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6792 # Determine whether gdb needs tk/tcl or not.
6793 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6794 # and in that case we want gdb to be built without tk. Ugh!
6795 # In fact I believe gdb is the *only* package directly dependent on tk,
6796 # so we should be able to put the 'maybe's in unconditionally and
6797 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6798 # 100% sure that that's safe though.
6800 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6801 case "$enable_gdbtk" in
6805 GDB_TK
="${gdb_tk}" ;;
6807 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6808 # distro. Eventually someone will fix this and move Insight, nee
6809 # gdbtk to a separate directory.
6810 if test -d ${srcdir}/gdb
/gdbtk
; then
6817 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6818 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6820 # Strip out unwanted targets.
6822 # While at that, we remove Makefiles if we were started for recursive
6823 # configuration, so that the top-level Makefile reconfigures them,
6824 # like we used to do when configure itself was recursive.
6826 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6827 # but now we're fixing up the Makefile ourselves with the additional
6828 # commands passed to AC_CONFIG_FILES. Use separate variables
6829 # extrasub-{build,host,target} not because there is any reason to split
6830 # the substitutions up that way, but only to remain below the limit of
6831 # 99 commands in a script, for HP-UX sed.
6832 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6834 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6835 yes:yes:*\ gold\
*:*,c
++,*) ;;
6836 yes:yes:*\ gold\
*:*)
6837 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6841 # Adjust the toplevel makefile according to whether bootstrap was selected.
6842 case $enable_bootstrap in
6844 bootstrap_suffix
=bootstrap
6845 BUILD_CONFIG
=bootstrap-debug
6848 bootstrap_suffix
=no-bootstrap
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6854 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6857 # Check whether --with-build-config was given.
6858 if test "${with_build_config+set}" = set; then :
6859 withval
=$with_build_config; case $with_build_config in
6860 yes) with_build_config
= ;;
6861 no
) with_build_config
= BUILD_CONFIG
= ;;
6866 if test "x${with_build_config}" != x
; then
6867 BUILD_CONFIG
=$with_build_config
6869 case $BUILD_CONFIG in
6871 if echo "int f (void) { return 0; }" > conftest.c
&&
6872 ${CC} -c conftest.c
&&
6873 mv conftest.o conftest.o.g0
&&
6874 ${CC} -c -g conftest.c
&&
6875 mv conftest.o conftest.o.g
&&
6876 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6881 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6886 $as_echo "$BUILD_CONFIG" >&6; }
6890 for module
in ${build_configdirs} ; do
6891 if test -z "${no_recursion}" \
6892 && test -f ${build_subdir}/${module}/Makefile
; then
6893 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6894 rm -f ${build_subdir}/${module}/Makefile
6896 extrasub_build
="$extrasub_build
6897 /^@if build-$module\$/d
6898 /^@endif build-$module\$/d
6899 /^@if build-$module-$bootstrap_suffix\$/d
6900 /^@endif build-$module-$bootstrap_suffix\$/d"
6903 for module
in ${configdirs} ; do
6904 if test -z "${no_recursion}"; then
6905 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6906 if test -f ${file}; then
6907 echo 1>&2 "*** removing ${file} to force reconfigure"
6912 extrasub_host
="$extrasub_host
6914 /^@endif $module\$/d
6915 /^@if $module-$bootstrap_suffix\$/d
6916 /^@endif $module-$bootstrap_suffix\$/d"
6919 for module
in ${target_configdirs} ; do
6920 if test -z "${no_recursion}" \
6921 && test -f ${target_subdir}/${module}/Makefile
; then
6922 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6923 rm -f ${target_subdir}/${module}/Makefile
6926 # We only bootstrap target libraries listed in bootstrap_target_libs.
6927 case $bootstrap_target_libs in
6928 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6929 *) target_bootstrap_suffix
=no-bootstrap
;;
6932 extrasub_target
="$extrasub_target
6933 /^@if target-$module\$/d
6934 /^@endif target-$module\$/d
6935 /^@if target-$module-$target_bootstrap_suffix\$/d
6936 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6939 # Do the final fixup along with target modules.
6940 extrasub_target
="$extrasub_target
6941 /^@if /,/^@endif /d"
6943 # Create the serialization dependencies. This uses a temporary file.
6945 # Check whether --enable-serial-configure was given.
6946 if test "${enable_serial_configure+set}" = set; then :
6947 enableval
=$enable_serial_configure;
6951 case ${enable_serial_configure} in
6953 enable_serial_build_configure
=yes
6954 enable_serial_host_configure
=yes
6955 enable_serial_target_configure
=yes
6959 # These force 'configure's to be done one at a time, to avoid problems
6960 # with contention over a shared config.cache.
6962 echo '# serdep.tmp' > serdep.tmp
6964 test "x${enable_serial_build_configure}" = xyes
&&
6965 for item
in ${build_configdirs} ; do
6968 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6973 test "x${enable_serial_host_configure}" = xyes
&&
6974 for item
in ${configdirs} ; do
6977 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6982 test "x${enable_serial_target_configure}" = xyes
&&
6983 for item
in ${target_configdirs} ; do
6986 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6990 serialization_dependencies
=serdep.tmp
6993 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6994 # target, nonopt, and variable assignments. These are the ones we
6995 # might not want to pass down to subconfigures. The exception being
6996 # --cache-file=/dev/null, which is used to turn off the use of cache
6997 # files altogether, and which should be passed on to subconfigures.
6998 # Also strip program-prefix, program-suffix, and program-transform-name,
6999 # so that we can pass down a consistent program-transform-name.
7004 eval "set -- $ac_configure_args"
7007 if test X
"$skip_next" = X
"yes"; then
7011 if test X
"$keep_next" = X
"yes"; then
7014 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7016 baseargs
="$baseargs '$ac_arg'"
7017 tbaseargs
="$tbaseargs '$ac_arg'"
7022 # Handle separated arguments. Based on the logic generated by
7025 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7026 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7027 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7028 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7042 --with-* |
--without-*)
7043 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7047 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7050 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7059 mpc | mpfr | gmp | cloog
)
7060 # If we're processing --with-$lib, --with-$lib-include or
7061 # --with-$lib-lib, for one of the libs above, and target is
7062 # different from host, don't pass the current argument to any
7063 # target library's configure.
7064 if test x
$is_cross_compiler = xyes
; then
7073 --cache-file=/dev
/null | \
7074 -cache-file=/dev
/null
)
7075 # Handled here to avoid the test to skip args below.
7076 baseargs
="$baseargs '$ac_arg'"
7077 tbaseargs
="$tbaseargs '$ac_arg'"
7078 # Assert: $separate_arg should always be no.
7079 keep_next
=$separate_arg
7095 -program-prefix* | \
7096 -program-suffix* | \
7097 -program-transform-name* )
7098 skip_next
=$separate_arg
7102 # An option. Add it.
7105 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7107 baseargs
="$baseargs '$ac_arg'"
7108 if test X
"$skip_targ" = Xno
; then
7109 tbaseargs
="$tbaseargs '$ac_arg'"
7111 keep_next
=$separate_arg
7114 # Either a variable assignment, or a nonopt (triplet). Don't
7115 # pass it down; let the Makefile handle this.
7120 # Remove the initial space we just introduced and, as these will be
7121 # expanded by make, quote '$'.
7122 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7124 # Add in --program-transform-name, after --program-prefix and
7125 # --program-suffix have been applied to it. Autoconf has already
7126 # doubled dollar signs and backslashes in program_transform_name; we want
7127 # the backslashes un-doubled, and then the entire thing wrapped in single
7128 # quotes, because this will be expanded first by make and then by the shell.
7129 # Also, because we want to override the logic in subdir configure scripts to
7130 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7131 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7132 ${program_transform_name}
7134 gcc_transform_name
=`cat conftestsed.out`
7135 rm -f conftestsed.out
7136 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7137 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7138 if test "$silent" = yes; then
7139 baseargs
="$baseargs --silent"
7140 tbaseargs
="$tbaseargs --silent"
7142 baseargs
="$baseargs --disable-option-checking"
7143 tbaseargs
="$tbaseargs --disable-option-checking"
7145 # Record and document user additions to sub configure arguments.
7150 # For the build-side libraries, we just need to pretend we're native,
7151 # and not use the same cache file. Multilibs are neither needed nor
7153 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7155 # For host modules, accept cache file option, or specification as blank.
7156 case "${cache_file}" in
7158 cache_file_option
="" ;;
7159 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7160 cache_file_option
="--cache-file=${cache_file}" ;;
7162 cache_file_option
="--cache-file=../${cache_file}" ;;
7165 # Host dirs don't like to share a cache file either, horribly enough.
7166 # This seems to be due to autoconf 2.5x stupidity.
7167 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7169 target_configargs
="$target_configargs ${tbaseargs}"
7171 # Passing a --with-cross-host argument lets the target libraries know
7172 # whether they are being built with a cross-compiler or being built
7173 # native. However, it would be better to use other mechanisms to make the
7174 # sorts of decisions they want to make on this basis. Please consider
7175 # this option to be deprecated. FIXME.
7176 if test x
${is_cross_compiler} = xyes
; then
7177 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7180 # Default to --enable-multilib.
7181 if test x
${enable_multilib} = x
; then
7182 target_configargs
="--enable-multilib ${target_configargs}"
7185 # Pass --with-newlib if appropriate. Note that target_configdirs has
7186 # changed from the earlier setting of with_newlib.
7187 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7188 target_configargs
="--with-newlib ${target_configargs}"
7191 # Different target subdirs use different values of certain variables
7192 # (notably CXX). Worse, multilibs use *lots* of different values.
7193 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7194 # it doesn't automatically accept command-line overrides of them.
7195 # This means it's not safe for target subdirs to share a cache file,
7196 # which is disgusting, but there you have it. Hopefully this can be
7197 # fixed in future. It's still worthwhile to use a cache file for each
7198 # directory. I think.
7200 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7201 # We need to pass --target, as newer autoconf's requires consistency
7202 # for target_alias and gcc doesn't manage it consistently.
7203 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7206 case " $target_configdirs " in
7208 case " $target_configargs " in
7209 *" --with-newlib "*)
7212 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include'
7216 # If we're not building GCC, don't discard standard headers.
7217 if test -d ${srcdir}/gcc
; then
7218 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7220 if test "${build}" != "${host}"; then
7221 # On Canadian crosses, CC_FOR_TARGET will have already been set
7222 # by `configure', so we won't have an opportunity to add -Bgcc/
7223 # to it. This is right: we don't want to search that directory
7224 # for binaries, but we want the header files in there, so add
7226 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7228 # Someone might think of using the pre-installed headers on
7229 # Canadian crosses, in case the installed compiler is not fully
7230 # compatible with the compiler being built. In this case, it
7231 # would be better to flag an error than risking having
7232 # incompatible object files being constructed. We can't
7233 # guarantee that an error will be flagged, but let's hope the
7234 # compiler will do it, when presented with incompatible header
7239 case "${target}-${is_cross_compiler}" in
7240 i
[3456789]86-*-linux*-no)
7241 # Here host == target, so we don't need to build gcc,
7242 # so we don't want to discard standard headers.
7243 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7246 # If we're building newlib, use its generic headers last, but search
7247 # for any libc-related directories first (so make it the last -B
7249 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7251 # If we're building libgloss, find the startup file, simulator library
7252 # and linker script.
7253 case " $target_configdirs " in
7255 # Look for startup file, simulator library and maybe linker script.
7256 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7257 # Look for libnosys.a in case the target needs it.
7258 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7259 # Most targets have the linker script in the source directory.
7260 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7271 x86_64-
*mingw
* |
*-w64-mingw*)
7272 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7273 # however, use a symlink named 'mingw' in ${prefix} .
7274 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7277 # MinGW can't be handled as Cygwin above since it does not use newlib.
7278 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'
7282 # Allow the user to override the flags for
7283 # our build compiler if desired.
7284 if test x
"${build}" = x
"${host}" ; then
7285 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7286 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7287 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7290 # On Canadian crosses, we'll be searching the right directories for
7291 # the previously-installed cross compiler, so don't bother to add
7292 # flags for directories within the install tree of the compiler
7293 # being built; programs in there won't even run.
7294 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7295 # Search for pre-installed headers if nothing else fits.
7296 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7299 if test "x
${use_gnu_ld}" = x &&
7300 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7301 # Arrange for us to find uninstalled linker scripts.
7302 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7305 # Search for other target-specific linker scripts and such.
7308 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7312 # Makefile fragments.
7313 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7315 eval fragval=\$$frag
7316 if test $fragval != /dev/null; then
7317 eval $frag=${srcdir}/$fragval
7325 # Miscellanea: directories, flags, etc.
7334 # Build module lists & subconfigure args.
7338 # Host module lists & subconfigure args.
7343 # Target module lists & subconfigure args.
7365 # Generate default definitions for YACC, M4, LEX and other programs that run
7366 # on the build machine. These are used if the Makefile can't locate these
7367 # programs in objdir.
7368 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7370 for ac_prog in 'bison -y' byacc yacc
7372 # Extract the first word of "$ac_prog", so it can be a program name with args.
7373 set dummy $ac_prog; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7375 $as_echo_n "checking
for $ac_word...
" >&6; }
7376 if test "${ac_cv_prog_YACC+set}" = set; then :
7377 $as_echo_n "(cached
) " >&6
7379 if test -n "$YACC"; then
7380 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_YACC="$ac_prog"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7399 YACC=$ac_cv_prog_YACC
7400 if test -n "$YACC"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7402 $as_echo "$YACC" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7405 $as_echo "no
" >&6; }
7409 test -n "$YACC" && break
7411 test -n "$YACC" || YACC="$MISSING bison
-y"
7413 case " $build_configdirs " in
7414 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7417 for ac_prog in bison
7419 # Extract the first word of "$ac_prog", so it can be a program name with args.
7420 set dummy $ac_prog; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if test "${ac_cv_prog_BISON+set}" = set; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$BISON"; then
7427 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_BISON="$ac_prog"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 BISON=$ac_cv_prog_BISON
7447 if test -n "$BISON"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7449 $as_echo "$BISON" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7456 test -n "$BISON" && break
7458 test -n "$BISON" || BISON="$MISSING bison
"
7460 case " $build_configdirs " in
7461 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7464 for ac_prog in gm4 gnum4 m4
7466 # Extract the first word of "$ac_prog", so it can be a program name with args.
7467 set dummy $ac_prog; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7469 $as_echo_n "checking
for $ac_word...
" >&6; }
7470 if test "${ac_cv_prog_M4+set}" = set; then :
7471 $as_echo_n "(cached
) " >&6
7473 if test -n "$M4"; then
7474 ac_cv_prog_M4="$M4" # Let the user override the test.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483 ac_cv_prog_M4="$ac_prog"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7494 if test -n "$M4"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7496 $as_echo "$M4" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7499 $as_echo "no
" >&6; }
7503 test -n "$M4" && break
7505 test -n "$M4" || M4="$MISSING m4"
7507 case " $build_configdirs " in
7508 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7511 for ac_prog in flex lex
7513 # Extract the first word of "$ac_prog", so it can be a program name with args.
7514 set dummy $ac_prog; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7516 $as_echo_n "checking
for $ac_word...
" >&6; }
7517 if test "${ac_cv_prog_LEX+set}" = set; then :
7518 $as_echo_n "(cached
) " >&6
7520 if test -n "$LEX"; then
7521 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7530 ac_cv_prog_LEX="$ac_prog"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7541 if test -n "$LEX"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7543 $as_echo "$LEX" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7546 $as_echo "no
" >&6; }
7550 test -n "$LEX" && break
7552 test -n "$LEX" || LEX="$MISSING flex
"
7554 case " $build_configdirs " in
7555 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7556 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7561 # Extract the first word of "$ac_prog", so it can be a program name with args.
7562 set dummy $ac_prog; ac_word=$2
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7564 $as_echo_n "checking
for $ac_word...
" >&6; }
7565 if test "${ac_cv_prog_FLEX+set}" = set; then :
7566 $as_echo_n "(cached
) " >&6
7568 if test -n "$FLEX"; then
7569 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_prog_FLEX="$ac_prog"
7579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7588 FLEX=$ac_cv_prog_FLEX
7589 if test -n "$FLEX"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7591 $as_echo "$FLEX" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7594 $as_echo "no
" >&6; }
7598 test -n "$FLEX" && break
7600 test -n "$FLEX" || FLEX="$MISSING flex
"
7602 case " $build_configdirs " in
7603 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7606 for ac_prog in makeinfo
7608 # Extract the first word of "$ac_prog", so it can be a program name with args.
7609 set dummy $ac_prog; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7611 $as_echo_n "checking
for $ac_word...
" >&6; }
7612 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7613 $as_echo_n "(cached
) " >&6
7615 if test -n "$MAKEINFO"; then
7616 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_MAKEINFO="$ac_prog"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7635 MAKEINFO=$ac_cv_prog_MAKEINFO
7636 if test -n "$MAKEINFO"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7638 $as_echo "$MAKEINFO" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7641 $as_echo "no
" >&6; }
7645 test -n "$MAKEINFO" && break
7647 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7649 case " $build_configdirs " in
7650 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7653 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7654 # higher, else we use the "missing
" dummy.
7655 if ${MAKEINFO} --version \
7656 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7659 MAKEINFO="$MISSING makeinfo
"
7665 # FIXME: expect and dejagnu may become build tools?
7667 for ac_prog in expect
7669 # Extract the first word of "$ac_prog", so it can be a program name with args.
7670 set dummy $ac_prog; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7672 $as_echo_n "checking
for $ac_word...
" >&6; }
7673 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7674 $as_echo_n "(cached
) " >&6
7676 if test -n "$EXPECT"; then
7677 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686 ac_cv_prog_EXPECT="$ac_prog"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 EXPECT=$ac_cv_prog_EXPECT
7697 if test -n "$EXPECT"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7699 $as_echo "$EXPECT" >&6; }
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7702 $as_echo "no
" >&6; }
7706 test -n "$EXPECT" && break
7708 test -n "$EXPECT" || EXPECT="expect
"
7710 case " $configdirs " in
7712 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7716 for ac_prog in runtest
7718 # Extract the first word of "$ac_prog", so it can be a program name with args.
7719 set dummy $ac_prog; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7721 $as_echo_n "checking
for $ac_word...
" >&6; }
7722 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7723 $as_echo_n "(cached
) " >&6
7725 if test -n "$RUNTEST"; then
7726 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_RUNTEST="$ac_prog"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7745 RUNTEST=$ac_cv_prog_RUNTEST
7746 if test -n "$RUNTEST"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7748 $as_echo "$RUNTEST" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7751 $as_echo "no
" >&6; }
7755 test -n "$RUNTEST" && break
7757 test -n "$RUNTEST" || RUNTEST="runtest
"
7759 case " $configdirs " in
7761 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7768 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7769 ncn_target_tool_prefix=
7770 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7774 if test -n "$AR"; then
7776 elif test -n "$ac_cv_prog_AR"; then
7780 if test -n "$ac_cv_prog_AR"; then
7781 for ncn_progname in ar; do
7782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7783 set dummy ${ncn_progname}; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7785 $as_echo_n "checking
for $ac_word...
" >&6; }
7786 if test "${ac_cv_prog_AR+set}" = set; then :
7787 $as_echo_n "(cached
) " >&6
7789 if test -n "$AR"; then
7790 ac_cv_prog_AR="$AR" # Let the user override the test.
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7799 ac_cv_prog_AR="${ncn_progname}"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7810 if test -n "$AR"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7812 $as_echo "$AR" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7815 $as_echo "no
" >&6; }
7822 for ncn_progname in ar; do
7823 if test -n "$ncn_tool_prefix"; then
7824 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7825 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7827 $as_echo_n "checking
for $ac_word...
" >&6; }
7828 if test "${ac_cv_prog_AR+set}" = set; then :
7829 $as_echo_n "(cached
) " >&6
7831 if test -n "$AR"; then
7832 ac_cv_prog_AR="$AR" # Let the user override the test.
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838 test -z "$as_dir" && as_dir=.
7839 for ac_exec_ext in '' $ac_executable_extensions; do
7840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7841 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 if test -n "$AR"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7854 $as_echo "$AR" >&6; }
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7857 $as_echo "no
" >&6; }
7862 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7863 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7864 set dummy ${ncn_progname}; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7866 $as_echo_n "checking
for $ac_word...
" >&6; }
7867 if test "${ac_cv_prog_AR+set}" = set; then :
7868 $as_echo_n "(cached
) " >&6
7870 if test -n "$AR"; then
7871 ac_cv_prog_AR="$AR" # Let the user override the test.
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7880 ac_cv_prog_AR="${ncn_progname}"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7891 if test -n "$AR"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7893 $as_echo "$AR" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7896 $as_echo "no
" >&6; }
7901 test -n "$ac_cv_prog_AR" && break
7904 if test -z "$ac_cv_prog_AR" ; then
7906 if test $build = $host ; then
7909 AR="${ncn_tool_prefix}$2"
7915 if test -n "$AS"; then
7917 elif test -n "$ac_cv_prog_AS"; then
7921 if test -n "$ac_cv_prog_AS"; then
7922 for ncn_progname in as; do
7923 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7924 set dummy ${ncn_progname}; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7926 $as_echo_n "checking
for $ac_word...
" >&6; }
7927 if test "${ac_cv_prog_AS+set}" = set; then :
7928 $as_echo_n "(cached
) " >&6
7930 if test -n "$AS"; then
7931 ac_cv_prog_AS="$AS" # Let the user override the test.
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7940 ac_cv_prog_AS="${ncn_progname}"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7951 if test -n "$AS"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7953 $as_echo "$AS" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7956 $as_echo "no
" >&6; }
7963 for ncn_progname in as; do
7964 if test -n "$ncn_tool_prefix"; then
7965 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7966 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7968 $as_echo_n "checking
for $ac_word...
" >&6; }
7969 if test "${ac_cv_prog_AS+set}" = set; then :
7970 $as_echo_n "(cached
) " >&6
7972 if test -n "$AS"; then
7973 ac_cv_prog_AS="$AS" # Let the user override the test.
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7982 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7993 if test -n "$AS"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7995 $as_echo "$AS" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7998 $as_echo "no
" >&6; }
8003 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8005 set dummy ${ncn_progname}; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8007 $as_echo_n "checking
for $ac_word...
" >&6; }
8008 if test "${ac_cv_prog_AS+set}" = set; then :
8009 $as_echo_n "(cached
) " >&6
8011 if test -n "$AS"; then
8012 ac_cv_prog_AS="$AS" # Let the user override the test.
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_AS="${ncn_progname}"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8032 if test -n "$AS"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8034 $as_echo "$AS" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8037 $as_echo "no
" >&6; }
8042 test -n "$ac_cv_prog_AS" && break
8045 if test -z "$ac_cv_prog_AS" ; then
8047 if test $build = $host ; then
8050 AS="${ncn_tool_prefix}$2"
8056 if test -n "$DLLTOOL"; then
8057 ac_cv_prog_DLLTOOL=$DLLTOOL
8058 elif test -n "$ac_cv_prog_DLLTOOL"; then
8059 DLLTOOL=$ac_cv_prog_DLLTOOL
8062 if test -n "$ac_cv_prog_DLLTOOL"; then
8063 for ncn_progname in dlltool; do
8064 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8065 set dummy ${ncn_progname}; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8067 $as_echo_n "checking
for $ac_word...
" >&6; }
8068 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8069 $as_echo_n "(cached
) " >&6
8071 if test -n "$DLLTOOL"; then
8072 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8081 ac_cv_prog_DLLTOOL="${ncn_progname}"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8091 DLLTOOL=$ac_cv_prog_DLLTOOL
8092 if test -n "$DLLTOOL"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8094 $as_echo "$DLLTOOL" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8097 $as_echo "no
" >&6; }
8104 for ncn_progname in dlltool; do
8105 if test -n "$ncn_tool_prefix"; then
8106 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8107 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8109 $as_echo_n "checking
for $ac_word...
" >&6; }
8110 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8111 $as_echo_n "(cached
) " >&6
8113 if test -n "$DLLTOOL"; then
8114 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8133 DLLTOOL=$ac_cv_prog_DLLTOOL
8134 if test -n "$DLLTOOL"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8136 $as_echo "$DLLTOOL" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8139 $as_echo "no
" >&6; }
8144 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8146 set dummy ${ncn_progname}; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8148 $as_echo_n "checking
for $ac_word...
" >&6; }
8149 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8150 $as_echo_n "(cached
) " >&6
8152 if test -n "$DLLTOOL"; then
8153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162 ac_cv_prog_DLLTOOL="${ncn_progname}"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8172 DLLTOOL=$ac_cv_prog_DLLTOOL
8173 if test -n "$DLLTOOL"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8175 $as_echo "$DLLTOOL" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8178 $as_echo "no
" >&6; }
8183 test -n "$ac_cv_prog_DLLTOOL" && break
8186 if test -z "$ac_cv_prog_DLLTOOL" ; then
8188 if test $build = $host ; then
8191 DLLTOOL="${ncn_tool_prefix}$2"
8197 if test -n "$LD"; then
8199 elif test -n "$ac_cv_prog_LD"; then
8203 if test -n "$ac_cv_prog_LD"; then
8204 for ncn_progname in ld; do
8205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8206 set dummy ${ncn_progname}; ac_word=$2
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8208 $as_echo_n "checking
for $ac_word...
" >&6; }
8209 if test "${ac_cv_prog_LD+set}" = set; then :
8210 $as_echo_n "(cached
) " >&6
8212 if test -n "$LD"; then
8213 ac_cv_prog_LD="$LD" # Let the user override the test.
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8222 ac_cv_prog_LD="${ncn_progname}"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8233 if test -n "$LD"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8235 $as_echo "$LD" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8238 $as_echo "no
" >&6; }
8245 for ncn_progname in ld; do
8246 if test -n "$ncn_tool_prefix"; then
8247 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8250 $as_echo_n "checking
for $ac_word...
" >&6; }
8251 if test "${ac_cv_prog_LD+set}" = set; then :
8252 $as_echo_n "(cached
) " >&6
8254 if test -n "$LD"; then
8255 ac_cv_prog_LD="$LD" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8275 if test -n "$LD"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8277 $as_echo "$LD" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8280 $as_echo "no
" >&6; }
8285 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8286 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8287 set dummy ${ncn_progname}; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8289 $as_echo_n "checking
for $ac_word...
" >&6; }
8290 if test "${ac_cv_prog_LD+set}" = set; then :
8291 $as_echo_n "(cached
) " >&6
8293 if test -n "$LD"; then
8294 ac_cv_prog_LD="$LD" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8303 ac_cv_prog_LD="${ncn_progname}"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8314 if test -n "$LD"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8316 $as_echo "$LD" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8319 $as_echo "no
" >&6; }
8324 test -n "$ac_cv_prog_LD" && break
8327 if test -z "$ac_cv_prog_LD" ; then
8329 if test $build = $host ; then
8332 LD="${ncn_tool_prefix}$2"
8338 if test -n "$LIPO"; then
8339 ac_cv_prog_LIPO=$LIPO
8340 elif test -n "$ac_cv_prog_LIPO"; then
8341 LIPO=$ac_cv_prog_LIPO
8344 if test -n "$ac_cv_prog_LIPO"; then
8345 for ncn_progname in lipo; do
8346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8347 set dummy ${ncn_progname}; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8349 $as_echo_n "checking
for $ac_word...
" >&6; }
8350 if test "${ac_cv_prog_LIPO+set}" = set; then :
8351 $as_echo_n "(cached
) " >&6
8353 if test -n "$LIPO"; then
8354 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8363 ac_cv_prog_LIPO="${ncn_progname}"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8373 LIPO=$ac_cv_prog_LIPO
8374 if test -n "$LIPO"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8376 $as_echo "$LIPO" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8379 $as_echo "no
" >&6; }
8386 for ncn_progname in lipo; do
8387 if test -n "$ncn_tool_prefix"; then
8388 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8389 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8391 $as_echo_n "checking
for $ac_word...
" >&6; }
8392 if test "${ac_cv_prog_LIPO+set}" = set; then :
8393 $as_echo_n "(cached
) " >&6
8395 if test -n "$LIPO"; then
8396 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8405 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8415 LIPO=$ac_cv_prog_LIPO
8416 if test -n "$LIPO"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8418 $as_echo "$LIPO" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8421 $as_echo "no
" >&6; }
8426 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8428 set dummy ${ncn_progname}; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8430 $as_echo_n "checking
for $ac_word...
" >&6; }
8431 if test "${ac_cv_prog_LIPO+set}" = set; then :
8432 $as_echo_n "(cached
) " >&6
8434 if test -n "$LIPO"; then
8435 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8444 ac_cv_prog_LIPO="${ncn_progname}"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8454 LIPO=$ac_cv_prog_LIPO
8455 if test -n "$LIPO"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8457 $as_echo "$LIPO" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8460 $as_echo "no
" >&6; }
8465 test -n "$ac_cv_prog_LIPO" && break
8468 if test -z "$ac_cv_prog_LIPO" ; then
8470 if test $build = $host ; then
8473 LIPO="${ncn_tool_prefix}$2"
8479 if test -n "$NM"; then
8481 elif test -n "$ac_cv_prog_NM"; then
8485 if test -n "$ac_cv_prog_NM"; then
8486 for ncn_progname in nm; do
8487 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8488 set dummy ${ncn_progname}; ac_word=$2
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8490 $as_echo_n "checking
for $ac_word...
" >&6; }
8491 if test "${ac_cv_prog_NM+set}" = set; then :
8492 $as_echo_n "(cached
) " >&6
8494 if test -n "$NM"; then
8495 ac_cv_prog_NM="$NM" # Let the user override the test.
8497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir=.
8502 for ac_exec_ext in '' $ac_executable_extensions; do
8503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8504 ac_cv_prog_NM="${ncn_progname}"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8515 if test -n "$NM"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8517 $as_echo "$NM" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8520 $as_echo "no
" >&6; }
8527 for ncn_progname in nm; do
8528 if test -n "$ncn_tool_prefix"; then
8529 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8530 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8532 $as_echo_n "checking
for $ac_word...
" >&6; }
8533 if test "${ac_cv_prog_NM+set}" = set; then :
8534 $as_echo_n "(cached
) " >&6
8536 if test -n "$NM"; then
8537 ac_cv_prog_NM="$NM" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8557 if test -n "$NM"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8559 $as_echo "$NM" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8562 $as_echo "no
" >&6; }
8567 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8568 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8569 set dummy ${ncn_progname}; ac_word=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8571 $as_echo_n "checking
for $ac_word...
" >&6; }
8572 if test "${ac_cv_prog_NM+set}" = set; then :
8573 $as_echo_n "(cached
) " >&6
8575 if test -n "$NM"; then
8576 ac_cv_prog_NM="$NM" # Let the user override the test.
8578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8582 test -z "$as_dir" && as_dir=.
8583 for ac_exec_ext in '' $ac_executable_extensions; do
8584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8585 ac_cv_prog_NM="${ncn_progname}"
8586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8596 if test -n "$NM"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8598 $as_echo "$NM" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8601 $as_echo "no
" >&6; }
8606 test -n "$ac_cv_prog_NM" && break
8609 if test -z "$ac_cv_prog_NM" ; then
8611 if test $build = $host ; then
8614 NM="${ncn_tool_prefix}$2"
8620 if test -n "$RANLIB"; then
8621 ac_cv_prog_RANLIB=$RANLIB
8622 elif test -n "$ac_cv_prog_RANLIB"; then
8623 RANLIB=$ac_cv_prog_RANLIB
8626 if test -n "$ac_cv_prog_RANLIB"; then
8627 for ncn_progname in ranlib; do
8628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8629 set dummy ${ncn_progname}; ac_word=$2
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8631 $as_echo_n "checking
for $ac_word...
" >&6; }
8632 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8633 $as_echo_n "(cached
) " >&6
8635 if test -n "$RANLIB"; then
8636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642 test -z "$as_dir" && as_dir=.
8643 for ac_exec_ext in '' $ac_executable_extensions; do
8644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8645 ac_cv_prog_RANLIB="${ncn_progname}"
8646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8655 RANLIB=$ac_cv_prog_RANLIB
8656 if test -n "$RANLIB"; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8658 $as_echo "$RANLIB" >&6; }
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8661 $as_echo "no
" >&6; }
8668 for ncn_progname in ranlib; do
8669 if test -n "$ncn_tool_prefix"; then
8670 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8671 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8673 $as_echo_n "checking
for $ac_word...
" >&6; }
8674 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8675 $as_echo_n "(cached
) " >&6
8677 if test -n "$RANLIB"; then
8678 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8697 RANLIB=$ac_cv_prog_RANLIB
8698 if test -n "$RANLIB"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8700 $as_echo "$RANLIB" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8703 $as_echo "no
" >&6; }
8708 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8710 set dummy ${ncn_progname}; ac_word=$2
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8712 $as_echo_n "checking
for $ac_word...
" >&6; }
8713 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8714 $as_echo_n "(cached
) " >&6
8716 if test -n "$RANLIB"; then
8717 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 test -z "$as_dir" && as_dir=.
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8726 ac_cv_prog_RANLIB="${ncn_progname}"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8736 RANLIB=$ac_cv_prog_RANLIB
8737 if test -n "$RANLIB"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8739 $as_echo "$RANLIB" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8742 $as_echo "no
" >&6; }
8747 test -n "$ac_cv_prog_RANLIB" && break
8750 if test -z "$ac_cv_prog_RANLIB" ; then
8756 if test -n "$STRIP"; then
8757 ac_cv_prog_STRIP=$STRIP
8758 elif test -n "$ac_cv_prog_STRIP"; then
8759 STRIP=$ac_cv_prog_STRIP
8762 if test -n "$ac_cv_prog_STRIP"; then
8763 for ncn_progname in strip; do
8764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8765 set dummy ${ncn_progname}; ac_word=$2
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8767 $as_echo_n "checking
for $ac_word...
" >&6; }
8768 if test "${ac_cv_prog_STRIP+set}" = set; then :
8769 $as_echo_n "(cached
) " >&6
8771 if test -n "$STRIP"; then
8772 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir=.
8779 for ac_exec_ext in '' $ac_executable_extensions; do
8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781 ac_cv_prog_STRIP="${ncn_progname}"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8791 STRIP=$ac_cv_prog_STRIP
8792 if test -n "$STRIP"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8794 $as_echo "$STRIP" >&6; }
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8797 $as_echo "no
" >&6; }
8804 for ncn_progname in strip; do
8805 if test -n "$ncn_tool_prefix"; then
8806 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8807 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8809 $as_echo_n "checking
for $ac_word...
" >&6; }
8810 if test "${ac_cv_prog_STRIP+set}" = set; then :
8811 $as_echo_n "(cached
) " >&6
8813 if test -n "$STRIP"; then
8814 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir=.
8821 for ac_exec_ext in '' $ac_executable_extensions; do
8822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8823 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8833 STRIP=$ac_cv_prog_STRIP
8834 if test -n "$STRIP"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8836 $as_echo "$STRIP" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8839 $as_echo "no
" >&6; }
8844 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8846 set dummy ${ncn_progname}; ac_word=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8848 $as_echo_n "checking
for $ac_word...
" >&6; }
8849 if test "${ac_cv_prog_STRIP+set}" = set; then :
8850 $as_echo_n "(cached
) " >&6
8852 if test -n "$STRIP"; then
8853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir=.
8860 for ac_exec_ext in '' $ac_executable_extensions; do
8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862 ac_cv_prog_STRIP="${ncn_progname}"
8863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8872 STRIP=$ac_cv_prog_STRIP
8873 if test -n "$STRIP"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8875 $as_echo "$STRIP" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8878 $as_echo "no
" >&6; }
8883 test -n "$ac_cv_prog_STRIP" && break
8886 if test -z "$ac_cv_prog_STRIP" ; then
8892 if test -n "$WINDRES"; then
8893 ac_cv_prog_WINDRES=$WINDRES
8894 elif test -n "$ac_cv_prog_WINDRES"; then
8895 WINDRES=$ac_cv_prog_WINDRES
8898 if test -n "$ac_cv_prog_WINDRES"; then
8899 for ncn_progname in windres; do
8900 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8901 set dummy ${ncn_progname}; ac_word=$2
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8903 $as_echo_n "checking
for $ac_word...
" >&6; }
8904 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8905 $as_echo_n "(cached
) " >&6
8907 if test -n "$WINDRES"; then
8908 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8917 ac_cv_prog_WINDRES="${ncn_progname}"
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8927 WINDRES=$ac_cv_prog_WINDRES
8928 if test -n "$WINDRES"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8930 $as_echo "$WINDRES" >&6; }
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8933 $as_echo "no
" >&6; }
8940 for ncn_progname in windres; do
8941 if test -n "$ncn_tool_prefix"; then
8942 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8943 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8945 $as_echo_n "checking
for $ac_word...
" >&6; }
8946 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8947 $as_echo_n "(cached
) " >&6
8949 if test -n "$WINDRES"; then
8950 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8969 WINDRES=$ac_cv_prog_WINDRES
8970 if test -n "$WINDRES"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8972 $as_echo "$WINDRES" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8975 $as_echo "no
" >&6; }
8980 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8981 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8982 set dummy ${ncn_progname}; ac_word=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8984 $as_echo_n "checking
for $ac_word...
" >&6; }
8985 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8986 $as_echo_n "(cached
) " >&6
8988 if test -n "$WINDRES"; then
8989 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8995 test -z "$as_dir" && as_dir=.
8996 for ac_exec_ext in '' $ac_executable_extensions; do
8997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8998 ac_cv_prog_WINDRES="${ncn_progname}"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9008 WINDRES=$ac_cv_prog_WINDRES
9009 if test -n "$WINDRES"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9011 $as_echo "$WINDRES" >&6; }
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9014 $as_echo "no
" >&6; }
9019 test -n "$ac_cv_prog_WINDRES" && break
9022 if test -z "$ac_cv_prog_WINDRES" ; then
9024 if test $build = $host ; then
9027 WINDRES="${ncn_tool_prefix}$2"
9033 if test -n "$WINDMC"; then
9034 ac_cv_prog_WINDMC=$WINDMC
9035 elif test -n "$ac_cv_prog_WINDMC"; then
9036 WINDMC=$ac_cv_prog_WINDMC
9039 if test -n "$ac_cv_prog_WINDMC"; then
9040 for ncn_progname in windmc; do
9041 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9042 set dummy ${ncn_progname}; ac_word=$2
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9044 $as_echo_n "checking
for $ac_word...
" >&6; }
9045 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9046 $as_echo_n "(cached
) " >&6
9048 if test -n "$WINDMC"; then
9049 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 test -z "$as_dir" && as_dir=.
9056 for ac_exec_ext in '' $ac_executable_extensions; do
9057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9058 ac_cv_prog_WINDMC="${ncn_progname}"
9059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9068 WINDMC=$ac_cv_prog_WINDMC
9069 if test -n "$WINDMC"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9071 $as_echo "$WINDMC" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9074 $as_echo "no
" >&6; }
9081 for ncn_progname in windmc; do
9082 if test -n "$ncn_tool_prefix"; then
9083 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9084 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9086 $as_echo_n "checking
for $ac_word...
" >&6; }
9087 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9088 $as_echo_n "(cached
) " >&6
9090 if test -n "$WINDMC"; then
9091 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9097 test -z "$as_dir" && as_dir=.
9098 for ac_exec_ext in '' $ac_executable_extensions; do
9099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9100 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9110 WINDMC=$ac_cv_prog_WINDMC
9111 if test -n "$WINDMC"; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9113 $as_echo "$WINDMC" >&6; }
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9116 $as_echo "no
" >&6; }
9121 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9122 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9123 set dummy ${ncn_progname}; ac_word=$2
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9125 $as_echo_n "checking
for $ac_word...
" >&6; }
9126 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9127 $as_echo_n "(cached
) " >&6
9129 if test -n "$WINDMC"; then
9130 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9136 test -z "$as_dir" && as_dir=.
9137 for ac_exec_ext in '' $ac_executable_extensions; do
9138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9139 ac_cv_prog_WINDMC="${ncn_progname}"
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9149 WINDMC=$ac_cv_prog_WINDMC
9150 if test -n "$WINDMC"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9152 $as_echo "$WINDMC" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9155 $as_echo "no
" >&6; }
9160 test -n "$ac_cv_prog_WINDMC" && break
9163 if test -z "$ac_cv_prog_WINDMC" ; then
9165 if test $build = $host ; then
9168 WINDMC="${ncn_tool_prefix}$2"
9174 if test -n "$OBJCOPY"; then
9175 ac_cv_prog_OBJCOPY=$OBJCOPY
9176 elif test -n "$ac_cv_prog_OBJCOPY"; then
9177 OBJCOPY=$ac_cv_prog_OBJCOPY
9180 if test -n "$ac_cv_prog_OBJCOPY"; then
9181 for ncn_progname in objcopy; do
9182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9183 set dummy ${ncn_progname}; ac_word=$2
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9185 $as_echo_n "checking
for $ac_word...
" >&6; }
9186 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9187 $as_echo_n "(cached
) " >&6
9189 if test -n "$OBJCOPY"; then
9190 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9196 test -z "$as_dir" && as_dir=.
9197 for ac_exec_ext in '' $ac_executable_extensions; do
9198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9199 ac_cv_prog_OBJCOPY="${ncn_progname}"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9209 OBJCOPY=$ac_cv_prog_OBJCOPY
9210 if test -n "$OBJCOPY"; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9212 $as_echo "$OBJCOPY" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9215 $as_echo "no
" >&6; }
9222 for ncn_progname in objcopy; do
9223 if test -n "$ncn_tool_prefix"; then
9224 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9225 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9227 $as_echo_n "checking
for $ac_word...
" >&6; }
9228 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9229 $as_echo_n "(cached
) " >&6
9231 if test -n "$OBJCOPY"; then
9232 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9251 OBJCOPY=$ac_cv_prog_OBJCOPY
9252 if test -n "$OBJCOPY"; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9254 $as_echo "$OBJCOPY" >&6; }
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9257 $as_echo "no
" >&6; }
9262 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9264 set dummy ${ncn_progname}; ac_word=$2
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9266 $as_echo_n "checking
for $ac_word...
" >&6; }
9267 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9268 $as_echo_n "(cached
) " >&6
9270 if test -n "$OBJCOPY"; then
9271 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir=.
9278 for ac_exec_ext in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_prog_OBJCOPY="${ncn_progname}"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9290 OBJCOPY=$ac_cv_prog_OBJCOPY
9291 if test -n "$OBJCOPY"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9293 $as_echo "$OBJCOPY" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9296 $as_echo "no
" >&6; }
9301 test -n "$ac_cv_prog_OBJCOPY" && break
9304 if test -z "$ac_cv_prog_OBJCOPY" ; then
9306 if test $build = $host ; then
9309 OBJCOPY="${ncn_tool_prefix}$2"
9315 if test -n "$OBJDUMP"; then
9316 ac_cv_prog_OBJDUMP=$OBJDUMP
9317 elif test -n "$ac_cv_prog_OBJDUMP"; then
9318 OBJDUMP=$ac_cv_prog_OBJDUMP
9321 if test -n "$ac_cv_prog_OBJDUMP"; then
9322 for ncn_progname in objdump; do
9323 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9324 set dummy ${ncn_progname}; ac_word=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9326 $as_echo_n "checking
for $ac_word...
" >&6; }
9327 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9328 $as_echo_n "(cached
) " >&6
9330 if test -n "$OBJDUMP"; then
9331 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337 test -z "$as_dir" && as_dir=.
9338 for ac_exec_ext in '' $ac_executable_extensions; do
9339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9340 ac_cv_prog_OBJDUMP="${ncn_progname}"
9341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9350 OBJDUMP=$ac_cv_prog_OBJDUMP
9351 if test -n "$OBJDUMP"; then
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9353 $as_echo "$OBJDUMP" >&6; }
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9356 $as_echo "no
" >&6; }
9363 for ncn_progname in objdump; do
9364 if test -n "$ncn_tool_prefix"; then
9365 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9366 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9368 $as_echo_n "checking
for $ac_word...
" >&6; }
9369 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9370 $as_echo_n "(cached
) " >&6
9372 if test -n "$OBJDUMP"; then
9373 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379 test -z "$as_dir" && as_dir=.
9380 for ac_exec_ext in '' $ac_executable_extensions; do
9381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9382 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9392 OBJDUMP=$ac_cv_prog_OBJDUMP
9393 if test -n "$OBJDUMP"; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9395 $as_echo "$OBJDUMP" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9398 $as_echo "no
" >&6; }
9403 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9405 set dummy ${ncn_progname}; ac_word=$2
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9407 $as_echo_n "checking
for $ac_word...
" >&6; }
9408 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9409 $as_echo_n "(cached
) " >&6
9411 if test -n "$OBJDUMP"; then
9412 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_prog_OBJDUMP="${ncn_progname}"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9431 OBJDUMP=$ac_cv_prog_OBJDUMP
9432 if test -n "$OBJDUMP"; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9434 $as_echo "$OBJDUMP" >&6; }
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9437 $as_echo "no
" >&6; }
9442 test -n "$ac_cv_prog_OBJDUMP" && break
9445 if test -z "$ac_cv_prog_OBJDUMP" ; then
9447 if test $build = $host ; then
9450 OBJDUMP="${ncn_tool_prefix}$2"
9456 if test -n "$READELF"; then
9457 ac_cv_prog_READELF=$READELF
9458 elif test -n "$ac_cv_prog_READELF"; then
9459 READELF=$ac_cv_prog_READELF
9462 if test -n "$ac_cv_prog_READELF"; then
9463 for ncn_progname in readelf; do
9464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9465 set dummy ${ncn_progname}; ac_word=$2
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9467 $as_echo_n "checking
for $ac_word...
" >&6; }
9468 if test "${ac_cv_prog_READELF+set}" = set; then :
9469 $as_echo_n "(cached
) " >&6
9471 if test -n "$READELF"; then
9472 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9478 test -z "$as_dir" && as_dir=.
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9481 ac_cv_prog_READELF="${ncn_progname}"
9482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9491 READELF=$ac_cv_prog_READELF
9492 if test -n "$READELF"; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9494 $as_echo "$READELF" >&6; }
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9497 $as_echo "no
" >&6; }
9504 for ncn_progname in readelf; do
9505 if test -n "$ncn_tool_prefix"; then
9506 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9507 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9509 $as_echo_n "checking
for $ac_word...
" >&6; }
9510 if test "${ac_cv_prog_READELF+set}" = set; then :
9511 $as_echo_n "(cached
) " >&6
9513 if test -n "$READELF"; then
9514 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9533 READELF=$ac_cv_prog_READELF
9534 if test -n "$READELF"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9536 $as_echo "$READELF" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9539 $as_echo "no
" >&6; }
9544 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9546 set dummy ${ncn_progname}; ac_word=$2
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9548 $as_echo_n "checking
for $ac_word...
" >&6; }
9549 if test "${ac_cv_prog_READELF+set}" = set; then :
9550 $as_echo_n "(cached
) " >&6
9552 if test -n "$READELF"; then
9553 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9559 test -z "$as_dir" && as_dir=.
9560 for ac_exec_ext in '' $ac_executable_extensions; do
9561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9562 ac_cv_prog_READELF="${ncn_progname}"
9563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9572 READELF=$ac_cv_prog_READELF
9573 if test -n "$READELF"; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9575 $as_echo "$READELF" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9578 $as_echo "no
" >&6; }
9583 test -n "$ac_cv_prog_READELF" && break
9586 if test -z "$ac_cv_prog_READELF" ; then
9588 if test $build = $host ; then
9591 READELF="${ncn_tool_prefix}$2"
9602 # Check whether --with-build-time-tools was given.
9603 if test "${with_build_time_tools+set}" = set; then :
9604 withval=$with_build_time_tools; case x"$withval" in
9607 with_build_time_tools=
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9609 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9613 with_build_time_tools=
9619 if test -n "$CC_FOR_TARGET"; then
9620 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9621 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9622 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9625 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9626 for ncn_progname in cc gcc; do
9627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9628 set dummy ${ncn_progname}; ac_word=$2
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9630 $as_echo_n "checking
for $ac_word...
" >&6; }
9631 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9632 $as_echo_n "(cached
) " >&6
9634 if test -n "$CC_FOR_TARGET"; then
9635 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir=.
9642 for ac_exec_ext in '' $ac_executable_extensions; do
9643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9644 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9654 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9655 if test -n "$CC_FOR_TARGET"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9657 $as_echo "$CC_FOR_TARGET" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9660 $as_echo "no
" >&6; }
9667 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9668 for ncn_progname in cc gcc; do
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9670 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9671 if test -x $with_build_time_tools/${ncn_progname}; then
9672 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9674 $as_echo "yes" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9678 $as_echo "no
" >&6; }
9683 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9684 for ncn_progname in cc gcc; do
9685 if test -n "$ncn_target_tool_prefix"; then
9686 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9687 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9689 $as_echo_n "checking
for $ac_word...
" >&6; }
9690 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9691 $as_echo_n "(cached
) " >&6
9693 if test -n "$CC_FOR_TARGET"; then
9694 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir=.
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9703 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9713 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9714 if test -n "$CC_FOR_TARGET"; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9716 $as_echo "$CC_FOR_TARGET" >&6; }
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9719 $as_echo "no
" >&6; }
9724 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9726 set dummy ${ncn_progname}; ac_word=$2
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9728 $as_echo_n "checking
for $ac_word...
" >&6; }
9729 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9730 $as_echo_n "(cached
) " >&6
9732 if test -n "$CC_FOR_TARGET"; then
9733 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9742 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9752 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9753 if test -n "$CC_FOR_TARGET"; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9755 $as_echo "$CC_FOR_TARGET" >&6; }
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9758 $as_echo "no
" >&6; }
9763 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9767 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9769 if test $build = $target ; then
9772 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9775 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9780 if test -n "$CXX_FOR_TARGET"; then
9781 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9782 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9783 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9786 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9787 for ncn_progname in c++ g++ cxx gxx; do
9788 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9789 set dummy ${ncn_progname}; ac_word=$2
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9791 $as_echo_n "checking
for $ac_word...
" >&6; }
9792 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9793 $as_echo_n "(cached
) " >&6
9795 if test -n "$CXX_FOR_TARGET"; then
9796 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9802 test -z "$as_dir" && as_dir=.
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9805 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9815 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9816 if test -n "$CXX_FOR_TARGET"; then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9818 $as_echo "$CXX_FOR_TARGET" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9821 $as_echo "no
" >&6; }
9828 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9829 for ncn_progname in c++ g++ cxx gxx; do
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9831 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9832 if test -x $with_build_time_tools/${ncn_progname}; then
9833 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9835 $as_echo "yes" >&6; }
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9839 $as_echo "no
" >&6; }
9844 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9845 for ncn_progname in c++ g++ cxx gxx; do
9846 if test -n "$ncn_target_tool_prefix"; then
9847 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9848 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9850 $as_echo_n "checking
for $ac_word...
" >&6; }
9851 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9852 $as_echo_n "(cached
) " >&6
9854 if test -n "$CXX_FOR_TARGET"; then
9855 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861 test -z "$as_dir" && as_dir=.
9862 for ac_exec_ext in '' $ac_executable_extensions; do
9863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9864 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9874 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9875 if test -n "$CXX_FOR_TARGET"; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9877 $as_echo "$CXX_FOR_TARGET" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9880 $as_echo "no
" >&6; }
9885 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9886 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9887 set dummy ${ncn_progname}; ac_word=$2
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9889 $as_echo_n "checking
for $ac_word...
" >&6; }
9890 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9891 $as_echo_n "(cached
) " >&6
9893 if test -n "$CXX_FOR_TARGET"; then
9894 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900 test -z "$as_dir" && as_dir=.
9901 for ac_exec_ext in '' $ac_executable_extensions; do
9902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9903 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9913 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9914 if test -n "$CXX_FOR_TARGET"; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9916 $as_echo "$CXX_FOR_TARGET" >&6; }
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9919 $as_echo "no
" >&6; }
9924 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9928 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9929 set dummy c++ g++ cxx gxx
9930 if test $build = $target ; then
9933 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9936 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9941 if test -n "$GCC_FOR_TARGET"; then
9942 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9943 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9944 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9947 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9948 for ncn_progname in gcc; do
9949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9950 set dummy ${ncn_progname}; ac_word=$2
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9952 $as_echo_n "checking
for $ac_word...
" >&6; }
9953 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9954 $as_echo_n "(cached
) " >&6
9956 if test -n "$GCC_FOR_TARGET"; then
9957 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9963 test -z "$as_dir" && as_dir=.
9964 for ac_exec_ext in '' $ac_executable_extensions; do
9965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9966 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9976 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9977 if test -n "$GCC_FOR_TARGET"; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9979 $as_echo "$GCC_FOR_TARGET" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9982 $as_echo "no
" >&6; }
9989 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9990 for ncn_progname in gcc; do
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9992 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9993 if test -x $with_build_time_tools/${ncn_progname}; then
9994 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9996 $as_echo "yes" >&6; }
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10000 $as_echo "no
" >&6; }
10005 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10006 for ncn_progname in gcc; do
10007 if test -n "$ncn_target_tool_prefix"; then
10008 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10009 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10011 $as_echo_n "checking
for $ac_word...
" >&6; }
10012 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10013 $as_echo_n "(cached
) " >&6
10015 if test -n "$GCC_FOR_TARGET"; then
10016 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10019 for as_dir in $PATH
10022 test -z "$as_dir" && as_dir=.
10023 for ac_exec_ext in '' $ac_executable_extensions; do
10024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10035 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10036 if test -n "$GCC_FOR_TARGET"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10038 $as_echo "$GCC_FOR_TARGET" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10041 $as_echo "no
" >&6; }
10046 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10048 set dummy ${ncn_progname}; ac_word=$2
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10050 $as_echo_n "checking
for $ac_word...
" >&6; }
10051 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10052 $as_echo_n "(cached
) " >&6
10054 if test -n "$GCC_FOR_TARGET"; then
10055 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058 for as_dir in $PATH
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10064 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10074 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10075 if test -n "$GCC_FOR_TARGET"; then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10077 $as_echo "$GCC_FOR_TARGET" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10080 $as_echo "no
" >&6; }
10085 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10089 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10090 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10092 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10097 if test -n "$GCJ_FOR_TARGET"; then
10098 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10099 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10100 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10103 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10104 for ncn_progname in gcj; do
10105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10106 set dummy ${ncn_progname}; ac_word=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10108 $as_echo_n "checking
for $ac_word...
" >&6; }
10109 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10110 $as_echo_n "(cached
) " >&6
10112 if test -n "$GCJ_FOR_TARGET"; then
10113 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10116 for as_dir in $PATH
10119 test -z "$as_dir" && as_dir=.
10120 for ac_exec_ext in '' $ac_executable_extensions; do
10121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10122 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10132 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10133 if test -n "$GCJ_FOR_TARGET"; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10135 $as_echo "$GCJ_FOR_TARGET" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10138 $as_echo "no
" >&6; }
10145 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10146 for ncn_progname in gcj; do
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10148 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10149 if test -x $with_build_time_tools/${ncn_progname}; then
10150 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10152 $as_echo "yes" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10156 $as_echo "no
" >&6; }
10161 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10162 for ncn_progname in gcj; do
10163 if test -n "$ncn_target_tool_prefix"; then
10164 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10165 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10167 $as_echo_n "checking
for $ac_word...
" >&6; }
10168 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10169 $as_echo_n "(cached
) " >&6
10171 if test -n "$GCJ_FOR_TARGET"; then
10172 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10175 for as_dir in $PATH
10178 test -z "$as_dir" && as_dir=.
10179 for ac_exec_ext in '' $ac_executable_extensions; do
10180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10181 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10191 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10192 if test -n "$GCJ_FOR_TARGET"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10194 $as_echo "$GCJ_FOR_TARGET" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10197 $as_echo "no
" >&6; }
10202 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10204 set dummy ${ncn_progname}; ac_word=$2
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10206 $as_echo_n "checking
for $ac_word...
" >&6; }
10207 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10208 $as_echo_n "(cached
) " >&6
10210 if test -n "$GCJ_FOR_TARGET"; then
10211 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10214 for as_dir in $PATH
10217 test -z "$as_dir" && as_dir=.
10218 for ac_exec_ext in '' $ac_executable_extensions; do
10219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10220 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10230 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10231 if test -n "$GCJ_FOR_TARGET"; then
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10233 $as_echo "$GCJ_FOR_TARGET" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10236 $as_echo "no
" >&6; }
10241 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10245 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10247 if test $build = $target ; then
10248 GCJ_FOR_TARGET="$2"
10250 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10253 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10258 if test -n "$GFORTRAN_FOR_TARGET"; then
10259 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10260 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10261 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10264 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10265 for ncn_progname in gfortran; do
10266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10267 set dummy ${ncn_progname}; ac_word=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10269 $as_echo_n "checking
for $ac_word...
" >&6; }
10270 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10271 $as_echo_n "(cached
) " >&6
10273 if test -n "$GFORTRAN_FOR_TARGET"; then
10274 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10277 for as_dir in $PATH
10280 test -z "$as_dir" && as_dir=.
10281 for ac_exec_ext in '' $ac_executable_extensions; do
10282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10283 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10293 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10294 if test -n "$GFORTRAN_FOR_TARGET"; then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10296 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10306 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10307 for ncn_progname in gfortran; do
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10309 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10310 if test -x $with_build_time_tools/${ncn_progname}; then
10311 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10313 $as_echo "yes" >&6; }
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10317 $as_echo "no
" >&6; }
10322 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10323 for ncn_progname in gfortran; do
10324 if test -n "$ncn_target_tool_prefix"; then
10325 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10326 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10328 $as_echo_n "checking
for $ac_word...
" >&6; }
10329 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10330 $as_echo_n "(cached
) " >&6
10332 if test -n "$GFORTRAN_FOR_TARGET"; then
10333 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10339 test -z "$as_dir" && as_dir=.
10340 for ac_exec_ext in '' $ac_executable_extensions; do
10341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10342 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10352 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10353 if test -n "$GFORTRAN_FOR_TARGET"; then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10355 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10358 $as_echo "no
" >&6; }
10363 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10364 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10365 set dummy ${ncn_progname}; ac_word=$2
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10367 $as_echo_n "checking
for $ac_word...
" >&6; }
10368 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10369 $as_echo_n "(cached
) " >&6
10371 if test -n "$GFORTRAN_FOR_TARGET"; then
10372 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10378 test -z "$as_dir" && as_dir=.
10379 for ac_exec_ext in '' $ac_executable_extensions; do
10380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10381 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10391 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10392 if test -n "$GFORTRAN_FOR_TARGET"; then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10394 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10397 $as_echo "no
" >&6; }
10402 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10406 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10408 if test $build = $target ; then
10409 GFORTRAN_FOR_TARGET="$2"
10411 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10414 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10419 if test -n "$GOC_FOR_TARGET"; then
10420 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10421 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10422 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10425 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10426 for ncn_progname in gccgo; do
10427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10428 set dummy ${ncn_progname}; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10430 $as_echo_n "checking
for $ac_word...
" >&6; }
10431 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10432 $as_echo_n "(cached
) " >&6
10434 if test -n "$GOC_FOR_TARGET"; then
10435 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10444 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10455 if test -n "$GOC_FOR_TARGET"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10457 $as_echo "$GOC_FOR_TARGET" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10467 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10468 for ncn_progname in gccgo; do
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10471 if test -x $with_build_time_tools/${ncn_progname}; then
10472 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10474 $as_echo "yes" >&6; }
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10478 $as_echo "no
" >&6; }
10483 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10484 for ncn_progname in gccgo; do
10485 if test -n "$ncn_target_tool_prefix"; then
10486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10489 $as_echo_n "checking
for $ac_word...
" >&6; }
10490 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10491 $as_echo_n "(cached
) " >&6
10493 if test -n "$GOC_FOR_TARGET"; then
10494 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10500 test -z "$as_dir" && as_dir=.
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10503 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10513 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10514 if test -n "$GOC_FOR_TARGET"; then
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10516 $as_echo "$GOC_FOR_TARGET" >&6; }
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10519 $as_echo "no
" >&6; }
10524 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10526 set dummy ${ncn_progname}; ac_word=$2
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10528 $as_echo_n "checking
for $ac_word...
" >&6; }
10529 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10530 $as_echo_n "(cached
) " >&6
10532 if test -n "$GOC_FOR_TARGET"; then
10533 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10539 test -z "$as_dir" && as_dir=.
10540 for ac_exec_ext in '' $ac_executable_extensions; do
10541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10542 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10552 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10553 if test -n "$GOC_FOR_TARGET"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10555 $as_echo "$GOC_FOR_TARGET" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10558 $as_echo "no
" >&6; }
10563 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10567 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10569 if test $build = $target ; then
10570 GOC_FOR_TARGET="$2"
10572 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10575 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10580 cat > conftest.c << \EOF
10585 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10586 have_gcc_for_target=yes
10588 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10589 have_gcc_for_target=no
10596 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10597 if test -n "$with_build_time_tools"; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10599 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10600 if test -x $with_build_time_tools/ar; then
10601 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10602 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10604 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10607 $as_echo "no
" >&6; }
10609 elif test $build != $host && test $have_gcc_for_target = yes; then
10610 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10611 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10612 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10615 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10616 # Extract the first word of "ar", so it can be a program name with args.
10617 set dummy ar; ac_word=$2
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10619 $as_echo_n "checking
for $ac_word...
" >&6; }
10620 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10621 $as_echo_n "(cached
) " >&6
10623 case $AR_FOR_TARGET in
10625 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10629 for as_dir in $gcc_cv_tool_dirs
10632 test -z "$as_dir" && as_dir=.
10633 for ac_exec_ext in '' $ac_executable_extensions; do
10634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10635 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10646 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10647 if test -n "$AR_FOR_TARGET"; then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10649 $as_echo "$AR_FOR_TARGET" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10652 $as_echo "no
" >&6; }
10657 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10660 if test -n "$AR_FOR_TARGET"; then
10661 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10662 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10663 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10666 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10667 for ncn_progname in ar; do
10668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10669 set dummy ${ncn_progname}; ac_word=$2
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10671 $as_echo_n "checking
for $ac_word...
" >&6; }
10672 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10673 $as_echo_n "(cached
) " >&6
10675 if test -n "$AR_FOR_TARGET"; then
10676 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10679 for as_dir in $PATH
10682 test -z "$as_dir" && as_dir=.
10683 for ac_exec_ext in '' $ac_executable_extensions; do
10684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10685 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10695 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10696 if test -n "$AR_FOR_TARGET"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10698 $as_echo "$AR_FOR_TARGET" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10708 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10709 for ncn_progname in ar; do
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10711 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10712 if test -x $with_build_time_tools/${ncn_progname}; then
10713 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10715 $as_echo "yes" >&6; }
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10719 $as_echo "no
" >&6; }
10724 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10725 for ncn_progname in ar; do
10726 if test -n "$ncn_target_tool_prefix"; then
10727 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10728 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10730 $as_echo_n "checking
for $ac_word...
" >&6; }
10731 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10732 $as_echo_n "(cached
) " >&6
10734 if test -n "$AR_FOR_TARGET"; then
10735 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10738 for as_dir in $PATH
10741 test -z "$as_dir" && as_dir=.
10742 for ac_exec_ext in '' $ac_executable_extensions; do
10743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10744 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10754 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10755 if test -n "$AR_FOR_TARGET"; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10757 $as_echo "$AR_FOR_TARGET" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10760 $as_echo "no
" >&6; }
10765 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10766 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10767 set dummy ${ncn_progname}; ac_word=$2
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10769 $as_echo_n "checking
for $ac_word...
" >&6; }
10770 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10771 $as_echo_n "(cached
) " >&6
10773 if test -n "$AR_FOR_TARGET"; then
10774 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10777 for as_dir in $PATH
10780 test -z "$as_dir" && as_dir=.
10781 for ac_exec_ext in '' $ac_executable_extensions; do
10782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10783 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10793 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10794 if test -n "$AR_FOR_TARGET"; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10796 $as_echo "$AR_FOR_TARGET" >&6; }
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10799 $as_echo "no
" >&6; }
10804 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10808 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10810 if test $build = $target ; then
10813 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10816 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10820 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10826 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10827 if test -n "$with_build_time_tools"; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10829 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10830 if test -x $with_build_time_tools/as; then
10831 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10832 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10834 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10837 $as_echo "no
" >&6; }
10839 elif test $build != $host && test $have_gcc_for_target = yes; then
10840 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10841 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10842 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10845 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10846 # Extract the first word of "as
", so it can be a program name with args.
10847 set dummy as; ac_word=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10849 $as_echo_n "checking
for $ac_word...
" >&6; }
10850 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10851 $as_echo_n "(cached
) " >&6
10853 case $AS_FOR_TARGET in
10855 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10859 for as_dir in $gcc_cv_tool_dirs
10862 test -z "$as_dir" && as_dir=.
10863 for ac_exec_ext in '' $ac_executable_extensions; do
10864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10865 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10876 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10877 if test -n "$AS_FOR_TARGET"; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10879 $as_echo "$AS_FOR_TARGET" >&6; }
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10882 $as_echo "no
" >&6; }
10887 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10890 if test -n "$AS_FOR_TARGET"; then
10891 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10892 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10893 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10896 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10897 for ncn_progname in as; do
10898 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10899 set dummy ${ncn_progname}; ac_word=$2
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10901 $as_echo_n "checking
for $ac_word...
" >&6; }
10902 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10903 $as_echo_n "(cached
) " >&6
10905 if test -n "$AS_FOR_TARGET"; then
10906 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10909 for as_dir in $PATH
10912 test -z "$as_dir" && as_dir=.
10913 for ac_exec_ext in '' $ac_executable_extensions; do
10914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10915 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10925 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10926 if test -n "$AS_FOR_TARGET"; then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10928 $as_echo "$AS_FOR_TARGET" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10931 $as_echo "no
" >&6; }
10938 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10939 for ncn_progname in as; do
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10941 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10942 if test -x $with_build_time_tools/${ncn_progname}; then
10943 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10945 $as_echo "yes" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10949 $as_echo "no
" >&6; }
10954 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10955 for ncn_progname in as; do
10956 if test -n "$ncn_target_tool_prefix"; then
10957 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10958 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10960 $as_echo_n "checking
for $ac_word...
" >&6; }
10961 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10962 $as_echo_n "(cached
) " >&6
10964 if test -n "$AS_FOR_TARGET"; then
10965 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10968 for as_dir in $PATH
10971 test -z "$as_dir" && as_dir=.
10972 for ac_exec_ext in '' $ac_executable_extensions; do
10973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10974 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10984 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10985 if test -n "$AS_FOR_TARGET"; then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10987 $as_echo "$AS_FOR_TARGET" >&6; }
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10990 $as_echo "no
" >&6; }
10995 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10996 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10997 set dummy ${ncn_progname}; ac_word=$2
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10999 $as_echo_n "checking
for $ac_word...
" >&6; }
11000 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11001 $as_echo_n "(cached
) " >&6
11003 if test -n "$AS_FOR_TARGET"; then
11004 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11007 for as_dir in $PATH
11010 test -z "$as_dir" && as_dir=.
11011 for ac_exec_ext in '' $ac_executable_extensions; do
11012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11013 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11023 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11024 if test -n "$AS_FOR_TARGET"; then
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11026 $as_echo "$AS_FOR_TARGET" >&6; }
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11029 $as_echo "no
" >&6; }
11034 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11038 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11040 if test $build = $target ; then
11043 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11046 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11050 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11056 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11057 if test -n "$with_build_time_tools"; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11059 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11060 if test -x $with_build_time_tools/dlltool; then
11061 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11062 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11064 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11067 $as_echo "no
" >&6; }
11069 elif test $build != $host && test $have_gcc_for_target = yes; then
11070 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11071 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11072 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11075 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11076 # Extract the first word of "dlltool
", so it can be a program name with args.
11077 set dummy dlltool; ac_word=$2
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11079 $as_echo_n "checking
for $ac_word...
" >&6; }
11080 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11081 $as_echo_n "(cached
) " >&6
11083 case $DLLTOOL_FOR_TARGET in
11085 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11089 for as_dir in $gcc_cv_tool_dirs
11092 test -z "$as_dir" && as_dir=.
11093 for ac_exec_ext in '' $ac_executable_extensions; do
11094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11095 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11106 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11107 if test -n "$DLLTOOL_FOR_TARGET"; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11109 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11112 $as_echo "no
" >&6; }
11117 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11120 if test -n "$DLLTOOL_FOR_TARGET"; then
11121 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11122 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11123 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11126 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11127 for ncn_progname in dlltool; do
11128 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11129 set dummy ${ncn_progname}; ac_word=$2
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11131 $as_echo_n "checking
for $ac_word...
" >&6; }
11132 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11133 $as_echo_n "(cached
) " >&6
11135 if test -n "$DLLTOOL_FOR_TARGET"; then
11136 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11139 for as_dir in $PATH
11142 test -z "$as_dir" && as_dir=.
11143 for ac_exec_ext in '' $ac_executable_extensions; do
11144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11145 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11155 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11156 if test -n "$DLLTOOL_FOR_TARGET"; then
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11158 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11161 $as_echo "no
" >&6; }
11168 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11169 for ncn_progname in dlltool; do
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11171 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11172 if test -x $with_build_time_tools/${ncn_progname}; then
11173 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11175 $as_echo "yes" >&6; }
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11179 $as_echo "no
" >&6; }
11184 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11185 for ncn_progname in dlltool; do
11186 if test -n "$ncn_target_tool_prefix"; then
11187 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11188 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11190 $as_echo_n "checking
for $ac_word...
" >&6; }
11191 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11192 $as_echo_n "(cached
) " >&6
11194 if test -n "$DLLTOOL_FOR_TARGET"; then
11195 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11198 for as_dir in $PATH
11201 test -z "$as_dir" && as_dir=.
11202 for ac_exec_ext in '' $ac_executable_extensions; do
11203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11204 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11214 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11215 if test -n "$DLLTOOL_FOR_TARGET"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11217 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11220 $as_echo "no
" >&6; }
11225 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11226 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11227 set dummy ${ncn_progname}; ac_word=$2
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11229 $as_echo_n "checking
for $ac_word...
" >&6; }
11230 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11231 $as_echo_n "(cached
) " >&6
11233 if test -n "$DLLTOOL_FOR_TARGET"; then
11234 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11243 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11253 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11254 if test -n "$DLLTOOL_FOR_TARGET"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11256 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11259 $as_echo "no
" >&6; }
11264 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11268 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11270 if test $build = $target ; then
11271 DLLTOOL_FOR_TARGET="$2"
11273 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11276 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11280 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11286 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11287 if test -n "$with_build_time_tools"; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11289 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11290 if test -x $with_build_time_tools/ld; then
11291 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11292 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11294 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11297 $as_echo "no
" >&6; }
11299 elif test $build != $host && test $have_gcc_for_target = yes; then
11300 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11301 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11302 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11305 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11306 # Extract the first word of "ld
", so it can be a program name with args.
11307 set dummy ld; ac_word=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11309 $as_echo_n "checking
for $ac_word...
" >&6; }
11310 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11311 $as_echo_n "(cached
) " >&6
11313 case $LD_FOR_TARGET in
11315 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11319 for as_dir in $gcc_cv_tool_dirs
11322 test -z "$as_dir" && as_dir=.
11323 for ac_exec_ext in '' $ac_executable_extensions; do
11324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11325 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11336 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11337 if test -n "$LD_FOR_TARGET"; then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11339 $as_echo "$LD_FOR_TARGET" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11342 $as_echo "no
" >&6; }
11347 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11350 if test -n "$LD_FOR_TARGET"; then
11351 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11352 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11353 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11356 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11357 for ncn_progname in ld; do
11358 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11359 set dummy ${ncn_progname}; ac_word=$2
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11361 $as_echo_n "checking
for $ac_word...
" >&6; }
11362 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11363 $as_echo_n "(cached
) " >&6
11365 if test -n "$LD_FOR_TARGET"; then
11366 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11369 for as_dir in $PATH
11372 test -z "$as_dir" && as_dir=.
11373 for ac_exec_ext in '' $ac_executable_extensions; do
11374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11375 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11385 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11386 if test -n "$LD_FOR_TARGET"; then
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11388 $as_echo "$LD_FOR_TARGET" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11391 $as_echo "no
" >&6; }
11398 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11399 for ncn_progname in ld; do
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11401 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11402 if test -x $with_build_time_tools/${ncn_progname}; then
11403 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11405 $as_echo "yes" >&6; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11409 $as_echo "no
" >&6; }
11414 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11415 for ncn_progname in ld; do
11416 if test -n "$ncn_target_tool_prefix"; then
11417 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11418 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11420 $as_echo_n "checking
for $ac_word...
" >&6; }
11421 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11422 $as_echo_n "(cached
) " >&6
11424 if test -n "$LD_FOR_TARGET"; then
11425 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11428 for as_dir in $PATH
11431 test -z "$as_dir" && as_dir=.
11432 for ac_exec_ext in '' $ac_executable_extensions; do
11433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11434 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11444 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11445 if test -n "$LD_FOR_TARGET"; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11447 $as_echo "$LD_FOR_TARGET" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11450 $as_echo "no
" >&6; }
11455 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11456 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11457 set dummy ${ncn_progname}; ac_word=$2
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11459 $as_echo_n "checking
for $ac_word...
" >&6; }
11460 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11461 $as_echo_n "(cached
) " >&6
11463 if test -n "$LD_FOR_TARGET"; then
11464 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11467 for as_dir in $PATH
11470 test -z "$as_dir" && as_dir=.
11471 for ac_exec_ext in '' $ac_executable_extensions; do
11472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11473 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11483 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11484 if test -n "$LD_FOR_TARGET"; then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11486 $as_echo "$LD_FOR_TARGET" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11489 $as_echo "no
" >&6; }
11494 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11498 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11500 if test $build = $target ; then
11503 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11506 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11510 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11516 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11517 if test -n "$with_build_time_tools"; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11519 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11520 if test -x $with_build_time_tools/lipo; then
11521 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11522 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11524 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11527 $as_echo "no
" >&6; }
11529 elif test $build != $host && test $have_gcc_for_target = yes; then
11530 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11531 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11532 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11535 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11536 # Extract the first word of "lipo
", so it can be a program name with args.
11537 set dummy lipo; ac_word=$2
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11539 $as_echo_n "checking
for $ac_word...
" >&6; }
11540 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11541 $as_echo_n "(cached
) " >&6
11543 case $LIPO_FOR_TARGET in
11545 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11549 for as_dir in $gcc_cv_tool_dirs
11552 test -z "$as_dir" && as_dir=.
11553 for ac_exec_ext in '' $ac_executable_extensions; do
11554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11555 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11566 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11567 if test -n "$LIPO_FOR_TARGET"; then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11569 $as_echo "$LIPO_FOR_TARGET" >&6; }
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11572 $as_echo "no
" >&6; }
11577 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11580 if test -n "$LIPO_FOR_TARGET"; then
11581 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11582 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11583 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11586 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11587 for ncn_progname in lipo; do
11588 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11589 set dummy ${ncn_progname}; ac_word=$2
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11591 $as_echo_n "checking
for $ac_word...
" >&6; }
11592 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11593 $as_echo_n "(cached
) " >&6
11595 if test -n "$LIPO_FOR_TARGET"; then
11596 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599 for as_dir in $PATH
11602 test -z "$as_dir" && as_dir=.
11603 for ac_exec_ext in '' $ac_executable_extensions; do
11604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11605 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11615 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11616 if test -n "$LIPO_FOR_TARGET"; then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11618 $as_echo "$LIPO_FOR_TARGET" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11621 $as_echo "no
" >&6; }
11628 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11629 for ncn_progname in lipo; do
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11631 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11632 if test -x $with_build_time_tools/${ncn_progname}; then
11633 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11635 $as_echo "yes" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11639 $as_echo "no
" >&6; }
11644 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11645 for ncn_progname in lipo; do
11646 if test -n "$ncn_target_tool_prefix"; then
11647 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11648 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11650 $as_echo_n "checking
for $ac_word...
" >&6; }
11651 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11652 $as_echo_n "(cached
) " >&6
11654 if test -n "$LIPO_FOR_TARGET"; then
11655 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11658 for as_dir in $PATH
11661 test -z "$as_dir" && as_dir=.
11662 for ac_exec_ext in '' $ac_executable_extensions; do
11663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11664 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11674 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11675 if test -n "$LIPO_FOR_TARGET"; then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11677 $as_echo "$LIPO_FOR_TARGET" >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11680 $as_echo "no
" >&6; }
11685 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11687 set dummy ${ncn_progname}; ac_word=$2
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11689 $as_echo_n "checking
for $ac_word...
" >&6; }
11690 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11691 $as_echo_n "(cached
) " >&6
11693 if test -n "$LIPO_FOR_TARGET"; then
11694 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11697 for as_dir in $PATH
11700 test -z "$as_dir" && as_dir=.
11701 for ac_exec_ext in '' $ac_executable_extensions; do
11702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11703 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11713 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11714 if test -n "$LIPO_FOR_TARGET"; then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11716 $as_echo "$LIPO_FOR_TARGET" >&6; }
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11719 $as_echo "no
" >&6; }
11724 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11728 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11730 if test $build = $target ; then
11731 LIPO_FOR_TARGET="$2"
11733 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11736 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11740 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11746 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11747 if test -n "$with_build_time_tools"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11749 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11750 if test -x $with_build_time_tools/nm; then
11751 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11752 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11754 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11757 $as_echo "no
" >&6; }
11759 elif test $build != $host && test $have_gcc_for_target = yes; then
11760 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11761 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11762 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11765 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11766 # Extract the first word of "nm
", so it can be a program name with args.
11767 set dummy nm; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11769 $as_echo_n "checking
for $ac_word...
" >&6; }
11770 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11771 $as_echo_n "(cached
) " >&6
11773 case $NM_FOR_TARGET in
11775 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $gcc_cv_tool_dirs
11782 test -z "$as_dir" && as_dir=.
11783 for ac_exec_ext in '' $ac_executable_extensions; do
11784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11785 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11796 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11797 if test -n "$NM_FOR_TARGET"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11799 $as_echo "$NM_FOR_TARGET" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11802 $as_echo "no
" >&6; }
11807 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11810 if test -n "$NM_FOR_TARGET"; then
11811 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11812 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11813 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11816 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11817 for ncn_progname in nm; do
11818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11819 set dummy ${ncn_progname}; ac_word=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11821 $as_echo_n "checking
for $ac_word...
" >&6; }
11822 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11823 $as_echo_n "(cached
) " >&6
11825 if test -n "$NM_FOR_TARGET"; then
11826 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11829 for as_dir in $PATH
11832 test -z "$as_dir" && as_dir=.
11833 for ac_exec_ext in '' $ac_executable_extensions; do
11834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11835 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11845 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11846 if test -n "$NM_FOR_TARGET"; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11848 $as_echo "$NM_FOR_TARGET" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11851 $as_echo "no
" >&6; }
11858 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11859 for ncn_progname in nm; do
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11861 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11862 if test -x $with_build_time_tools/${ncn_progname}; then
11863 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11865 $as_echo "yes" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11869 $as_echo "no
" >&6; }
11874 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11875 for ncn_progname in nm; do
11876 if test -n "$ncn_target_tool_prefix"; then
11877 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11878 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11880 $as_echo_n "checking
for $ac_word...
" >&6; }
11881 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11882 $as_echo_n "(cached
) " >&6
11884 if test -n "$NM_FOR_TARGET"; then
11885 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11888 for as_dir in $PATH
11891 test -z "$as_dir" && as_dir=.
11892 for ac_exec_ext in '' $ac_executable_extensions; do
11893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11894 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11904 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11905 if test -n "$NM_FOR_TARGET"; then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11907 $as_echo "$NM_FOR_TARGET" >&6; }
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11910 $as_echo "no
" >&6; }
11915 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11917 set dummy ${ncn_progname}; ac_word=$2
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11919 $as_echo_n "checking
for $ac_word...
" >&6; }
11920 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11921 $as_echo_n "(cached
) " >&6
11923 if test -n "$NM_FOR_TARGET"; then
11924 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 for as_dir in $PATH
11930 test -z "$as_dir" && as_dir=.
11931 for ac_exec_ext in '' $ac_executable_extensions; do
11932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11933 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11943 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11944 if test -n "$NM_FOR_TARGET"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11946 $as_echo "$NM_FOR_TARGET" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11949 $as_echo "no
" >&6; }
11954 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11958 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11960 if test $build = $target ; then
11963 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11966 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11970 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11976 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11977 if test -n "$with_build_time_tools"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11979 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11980 if test -x $with_build_time_tools/objdump; then
11981 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11982 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11984 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11987 $as_echo "no
" >&6; }
11989 elif test $build != $host && test $have_gcc_for_target = yes; then
11990 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11991 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11992 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11995 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11996 # Extract the first word of "objdump
", so it can be a program name with args.
11997 set dummy objdump; ac_word=$2
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11999 $as_echo_n "checking
for $ac_word...
" >&6; }
12000 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12001 $as_echo_n "(cached
) " >&6
12003 case $OBJDUMP_FOR_TARGET in
12005 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12009 for as_dir in $gcc_cv_tool_dirs
12012 test -z "$as_dir" && as_dir=.
12013 for ac_exec_ext in '' $ac_executable_extensions; do
12014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12015 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12026 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12027 if test -n "$OBJDUMP_FOR_TARGET"; then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12029 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12032 $as_echo "no
" >&6; }
12037 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12040 if test -n "$OBJDUMP_FOR_TARGET"; then
12041 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12042 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12043 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12046 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12047 for ncn_progname in objdump; do
12048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12049 set dummy ${ncn_progname}; ac_word=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12051 $as_echo_n "checking
for $ac_word...
" >&6; }
12052 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12053 $as_echo_n "(cached
) " >&6
12055 if test -n "$OBJDUMP_FOR_TARGET"; then
12056 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12059 for as_dir in $PATH
12062 test -z "$as_dir" && as_dir=.
12063 for ac_exec_ext in '' $ac_executable_extensions; do
12064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12065 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12075 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12076 if test -n "$OBJDUMP_FOR_TARGET"; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12078 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12081 $as_echo "no
" >&6; }
12088 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12089 for ncn_progname in objdump; do
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12091 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12092 if test -x $with_build_time_tools/${ncn_progname}; then
12093 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12095 $as_echo "yes" >&6; }
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12099 $as_echo "no
" >&6; }
12104 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12105 for ncn_progname in objdump; do
12106 if test -n "$ncn_target_tool_prefix"; then
12107 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12108 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12110 $as_echo_n "checking
for $ac_word...
" >&6; }
12111 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12112 $as_echo_n "(cached
) " >&6
12114 if test -n "$OBJDUMP_FOR_TARGET"; then
12115 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12118 for as_dir in $PATH
12121 test -z "$as_dir" && as_dir=.
12122 for ac_exec_ext in '' $ac_executable_extensions; do
12123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12124 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12134 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12135 if test -n "$OBJDUMP_FOR_TARGET"; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12137 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12140 $as_echo "no
" >&6; }
12145 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12147 set dummy ${ncn_progname}; ac_word=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12149 $as_echo_n "checking
for $ac_word...
" >&6; }
12150 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12151 $as_echo_n "(cached
) " >&6
12153 if test -n "$OBJDUMP_FOR_TARGET"; then
12154 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12157 for as_dir in $PATH
12160 test -z "$as_dir" && as_dir=.
12161 for ac_exec_ext in '' $ac_executable_extensions; do
12162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12163 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12173 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12174 if test -n "$OBJDUMP_FOR_TARGET"; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12176 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12179 $as_echo "no
" >&6; }
12184 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12188 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12190 if test $build = $target ; then
12191 OBJDUMP_FOR_TARGET="$2"
12193 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12196 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12200 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12206 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12207 if test -n "$with_build_time_tools"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12209 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12210 if test -x $with_build_time_tools/ranlib; then
12211 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12212 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12214 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12217 $as_echo "no
" >&6; }
12219 elif test $build != $host && test $have_gcc_for_target = yes; then
12220 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12221 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12222 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12225 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12226 # Extract the first word of "ranlib
", so it can be a program name with args.
12227 set dummy ranlib; ac_word=$2
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12229 $as_echo_n "checking
for $ac_word...
" >&6; }
12230 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12231 $as_echo_n "(cached
) " >&6
12233 case $RANLIB_FOR_TARGET in
12235 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12239 for as_dir in $gcc_cv_tool_dirs
12242 test -z "$as_dir" && as_dir=.
12243 for ac_exec_ext in '' $ac_executable_extensions; do
12244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12245 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12256 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12257 if test -n "$RANLIB_FOR_TARGET"; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12259 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12262 $as_echo "no
" >&6; }
12267 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12270 if test -n "$RANLIB_FOR_TARGET"; then
12271 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12272 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12273 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12276 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12277 for ncn_progname in ranlib; do
12278 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12279 set dummy ${ncn_progname}; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12281 $as_echo_n "checking
for $ac_word...
" >&6; }
12282 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12283 $as_echo_n "(cached
) " >&6
12285 if test -n "$RANLIB_FOR_TARGET"; then
12286 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12295 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12305 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12306 if test -n "$RANLIB_FOR_TARGET"; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12308 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12311 $as_echo "no
" >&6; }
12318 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12319 for ncn_progname in ranlib; do
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12321 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12322 if test -x $with_build_time_tools/${ncn_progname}; then
12323 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12325 $as_echo "yes" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12329 $as_echo "no
" >&6; }
12334 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12335 for ncn_progname in ranlib; do
12336 if test -n "$ncn_target_tool_prefix"; then
12337 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12338 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12340 $as_echo_n "checking
for $ac_word...
" >&6; }
12341 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12342 $as_echo_n "(cached
) " >&6
12344 if test -n "$RANLIB_FOR_TARGET"; then
12345 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12348 for as_dir in $PATH
12351 test -z "$as_dir" && as_dir=.
12352 for ac_exec_ext in '' $ac_executable_extensions; do
12353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12354 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12364 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12365 if test -n "$RANLIB_FOR_TARGET"; then
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12367 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12370 $as_echo "no
" >&6; }
12375 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12376 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12377 set dummy ${ncn_progname}; ac_word=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12379 $as_echo_n "checking
for $ac_word...
" >&6; }
12380 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12381 $as_echo_n "(cached
) " >&6
12383 if test -n "$RANLIB_FOR_TARGET"; then
12384 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12387 for as_dir in $PATH
12390 test -z "$as_dir" && as_dir=.
12391 for ac_exec_ext in '' $ac_executable_extensions; do
12392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12393 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12403 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12404 if test -n "$RANLIB_FOR_TARGET"; then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12406 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12409 $as_echo "no
" >&6; }
12414 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12418 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12420 if test $build = $target ; then
12421 RANLIB_FOR_TARGET="$2"
12423 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12426 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12430 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12436 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12437 if test -n "$with_build_time_tools"; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12439 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12440 if test -x $with_build_time_tools/readelf; then
12441 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12442 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12444 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12447 $as_echo "no
" >&6; }
12449 elif test $build != $host && test $have_gcc_for_target = yes; then
12450 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12451 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12452 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12455 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12456 # Extract the first word of "readelf
", so it can be a program name with args.
12457 set dummy readelf; ac_word=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12459 $as_echo_n "checking
for $ac_word...
" >&6; }
12460 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12461 $as_echo_n "(cached
) " >&6
12463 case $READELF_FOR_TARGET in
12465 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12469 for as_dir in $gcc_cv_tool_dirs
12472 test -z "$as_dir" && as_dir=.
12473 for ac_exec_ext in '' $ac_executable_extensions; do
12474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12486 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12487 if test -n "$READELF_FOR_TARGET"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12489 $as_echo "$READELF_FOR_TARGET" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12492 $as_echo "no
" >&6; }
12497 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12500 if test -n "$READELF_FOR_TARGET"; then
12501 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12502 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12503 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12506 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12507 for ncn_progname in readelf; do
12508 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12509 set dummy ${ncn_progname}; ac_word=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12511 $as_echo_n "checking
for $ac_word...
" >&6; }
12512 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12513 $as_echo_n "(cached
) " >&6
12515 if test -n "$READELF_FOR_TARGET"; then
12516 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12519 for as_dir in $PATH
12522 test -z "$as_dir" && as_dir=.
12523 for ac_exec_ext in '' $ac_executable_extensions; do
12524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12525 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12535 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12536 if test -n "$READELF_FOR_TARGET"; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12538 $as_echo "$READELF_FOR_TARGET" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12541 $as_echo "no
" >&6; }
12548 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12549 for ncn_progname in readelf; do
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12551 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12552 if test -x $with_build_time_tools/${ncn_progname}; then
12553 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12555 $as_echo "yes" >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12559 $as_echo "no
" >&6; }
12564 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12565 for ncn_progname in readelf; do
12566 if test -n "$ncn_target_tool_prefix"; then
12567 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12568 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12570 $as_echo_n "checking
for $ac_word...
" >&6; }
12571 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12572 $as_echo_n "(cached
) " >&6
12574 if test -n "$READELF_FOR_TARGET"; then
12575 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12578 for as_dir in $PATH
12581 test -z "$as_dir" && as_dir=.
12582 for ac_exec_ext in '' $ac_executable_extensions; do
12583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12584 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12594 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12595 if test -n "$READELF_FOR_TARGET"; then
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12597 $as_echo "$READELF_FOR_TARGET" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12600 $as_echo "no
" >&6; }
12605 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12607 set dummy ${ncn_progname}; ac_word=$2
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12609 $as_echo_n "checking
for $ac_word...
" >&6; }
12610 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12611 $as_echo_n "(cached
) " >&6
12613 if test -n "$READELF_FOR_TARGET"; then
12614 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12617 for as_dir in $PATH
12620 test -z "$as_dir" && as_dir=.
12621 for ac_exec_ext in '' $ac_executable_extensions; do
12622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12623 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12633 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12634 if test -n "$READELF_FOR_TARGET"; then
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12636 $as_echo "$READELF_FOR_TARGET" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12639 $as_echo "no
" >&6; }
12644 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12648 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12650 if test $build = $target ; then
12651 READELF_FOR_TARGET="$2"
12653 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12656 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12660 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12666 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12667 if test -n "$with_build_time_tools"; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12669 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12670 if test -x $with_build_time_tools/strip; then
12671 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12672 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12674 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12677 $as_echo "no
" >&6; }
12679 elif test $build != $host && test $have_gcc_for_target = yes; then
12680 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12681 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12682 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12685 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12686 # Extract the first word of "strip
", so it can be a program name with args.
12687 set dummy strip; ac_word=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12689 $as_echo_n "checking
for $ac_word...
" >&6; }
12690 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12691 $as_echo_n "(cached
) " >&6
12693 case $STRIP_FOR_TARGET in
12695 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12699 for as_dir in $gcc_cv_tool_dirs
12702 test -z "$as_dir" && as_dir=.
12703 for ac_exec_ext in '' $ac_executable_extensions; do
12704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12705 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12716 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12717 if test -n "$STRIP_FOR_TARGET"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12719 $as_echo "$STRIP_FOR_TARGET" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12722 $as_echo "no
" >&6; }
12727 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12730 if test -n "$STRIP_FOR_TARGET"; then
12731 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12732 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12733 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12736 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12737 for ncn_progname in strip; do
12738 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12739 set dummy ${ncn_progname}; ac_word=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12741 $as_echo_n "checking
for $ac_word...
" >&6; }
12742 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12743 $as_echo_n "(cached
) " >&6
12745 if test -n "$STRIP_FOR_TARGET"; then
12746 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12765 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12766 if test -n "$STRIP_FOR_TARGET"; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12768 $as_echo "$STRIP_FOR_TARGET" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12771 $as_echo "no
" >&6; }
12778 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12779 for ncn_progname in strip; do
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12781 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12782 if test -x $with_build_time_tools/${ncn_progname}; then
12783 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12785 $as_echo "yes" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12789 $as_echo "no
" >&6; }
12794 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12795 for ncn_progname in strip; do
12796 if test -n "$ncn_target_tool_prefix"; then
12797 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12798 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12800 $as_echo_n "checking
for $ac_word...
" >&6; }
12801 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12802 $as_echo_n "(cached
) " >&6
12804 if test -n "$STRIP_FOR_TARGET"; then
12805 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12824 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12825 if test -n "$STRIP_FOR_TARGET"; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12827 $as_echo "$STRIP_FOR_TARGET" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12830 $as_echo "no
" >&6; }
12835 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12836 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12837 set dummy ${ncn_progname}; ac_word=$2
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12839 $as_echo_n "checking
for $ac_word...
" >&6; }
12840 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12841 $as_echo_n "(cached
) " >&6
12843 if test -n "$STRIP_FOR_TARGET"; then
12844 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12853 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12863 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12864 if test -n "$STRIP_FOR_TARGET"; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12866 $as_echo "$STRIP_FOR_TARGET" >&6; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12869 $as_echo "no
" >&6; }
12874 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12878 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12880 if test $build = $target ; then
12881 STRIP_FOR_TARGET="$2"
12883 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12886 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12890 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12896 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12897 if test -n "$with_build_time_tools"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12899 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12900 if test -x $with_build_time_tools/windres; then
12901 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12902 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12904 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12907 $as_echo "no
" >&6; }
12909 elif test $build != $host && test $have_gcc_for_target = yes; then
12910 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12911 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12912 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12915 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12916 # Extract the first word of "windres
", so it can be a program name with args.
12917 set dummy windres; ac_word=$2
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12919 $as_echo_n "checking
for $ac_word...
" >&6; }
12920 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12921 $as_echo_n "(cached
) " >&6
12923 case $WINDRES_FOR_TARGET in
12925 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12929 for as_dir in $gcc_cv_tool_dirs
12932 test -z "$as_dir" && as_dir=.
12933 for ac_exec_ext in '' $ac_executable_extensions; do
12934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12935 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12946 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12947 if test -n "$WINDRES_FOR_TARGET"; then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12949 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12952 $as_echo "no
" >&6; }
12957 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12960 if test -n "$WINDRES_FOR_TARGET"; then
12961 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12962 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12963 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12966 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12967 for ncn_progname in windres; do
12968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12969 set dummy ${ncn_progname}; ac_word=$2
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12971 $as_echo_n "checking
for $ac_word...
" >&6; }
12972 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12973 $as_echo_n "(cached
) " >&6
12975 if test -n "$WINDRES_FOR_TARGET"; then
12976 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12979 for as_dir in $PATH
12982 test -z "$as_dir" && as_dir=.
12983 for ac_exec_ext in '' $ac_executable_extensions; do
12984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12985 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12995 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12996 if test -n "$WINDRES_FOR_TARGET"; then
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12998 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13001 $as_echo "no
" >&6; }
13008 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13009 for ncn_progname in windres; do
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13011 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13012 if test -x $with_build_time_tools/${ncn_progname}; then
13013 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13015 $as_echo "yes" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13019 $as_echo "no
" >&6; }
13024 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13025 for ncn_progname in windres; do
13026 if test -n "$ncn_target_tool_prefix"; then
13027 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13028 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13030 $as_echo_n "checking
for $ac_word...
" >&6; }
13031 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13032 $as_echo_n "(cached
) " >&6
13034 if test -n "$WINDRES_FOR_TARGET"; then
13035 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13038 for as_dir in $PATH
13041 test -z "$as_dir" && as_dir=.
13042 for ac_exec_ext in '' $ac_executable_extensions; do
13043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13044 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13054 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13055 if test -n "$WINDRES_FOR_TARGET"; then
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13057 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13060 $as_echo "no
" >&6; }
13065 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13067 set dummy ${ncn_progname}; ac_word=$2
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13069 $as_echo_n "checking
for $ac_word...
" >&6; }
13070 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13071 $as_echo_n "(cached
) " >&6
13073 if test -n "$WINDRES_FOR_TARGET"; then
13074 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13077 for as_dir in $PATH
13080 test -z "$as_dir" && as_dir=.
13081 for ac_exec_ext in '' $ac_executable_extensions; do
13082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13083 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13093 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13094 if test -n "$WINDRES_FOR_TARGET"; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13096 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13099 $as_echo "no
" >&6; }
13104 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13108 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13110 if test $build = $target ; then
13111 WINDRES_FOR_TARGET="$2"
13113 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13116 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13120 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13126 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13127 if test -n "$with_build_time_tools"; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13129 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13130 if test -x $with_build_time_tools/windmc; then
13131 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13132 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13134 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13137 $as_echo "no
" >&6; }
13139 elif test $build != $host && test $have_gcc_for_target = yes; then
13140 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13141 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13142 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13145 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13146 # Extract the first word of "windmc
", so it can be a program name with args.
13147 set dummy windmc; ac_word=$2
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13149 $as_echo_n "checking
for $ac_word...
" >&6; }
13150 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13151 $as_echo_n "(cached
) " >&6
13153 case $WINDMC_FOR_TARGET in
13155 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13159 for as_dir in $gcc_cv_tool_dirs
13162 test -z "$as_dir" && as_dir=.
13163 for ac_exec_ext in '' $ac_executable_extensions; do
13164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13165 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13176 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13177 if test -n "$WINDMC_FOR_TARGET"; then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13179 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13182 $as_echo "no
" >&6; }
13187 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13190 if test -n "$WINDMC_FOR_TARGET"; then
13191 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13192 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13193 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13196 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13197 for ncn_progname in windmc; do
13198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13199 set dummy ${ncn_progname}; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13201 $as_echo_n "checking
for $ac_word...
" >&6; }
13202 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13203 $as_echo_n "(cached
) " >&6
13205 if test -n "$WINDMC_FOR_TARGET"; then
13206 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13212 test -z "$as_dir" && as_dir=.
13213 for ac_exec_ext in '' $ac_executable_extensions; do
13214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13215 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13225 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13226 if test -n "$WINDMC_FOR_TARGET"; then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13228 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13231 $as_echo "no
" >&6; }
13238 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13239 for ncn_progname in windmc; do
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13241 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13242 if test -x $with_build_time_tools/${ncn_progname}; then
13243 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13245 $as_echo "yes" >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13249 $as_echo "no
" >&6; }
13254 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13255 for ncn_progname in windmc; do
13256 if test -n "$ncn_target_tool_prefix"; then
13257 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13258 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13260 $as_echo_n "checking
for $ac_word...
" >&6; }
13261 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13262 $as_echo_n "(cached
) " >&6
13264 if test -n "$WINDMC_FOR_TARGET"; then
13265 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13268 for as_dir in $PATH
13271 test -z "$as_dir" && as_dir=.
13272 for ac_exec_ext in '' $ac_executable_extensions; do
13273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13274 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13284 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13285 if test -n "$WINDMC_FOR_TARGET"; then
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13287 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13290 $as_echo "no
" >&6; }
13295 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13297 set dummy ${ncn_progname}; ac_word=$2
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13299 $as_echo_n "checking
for $ac_word...
" >&6; }
13300 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13301 $as_echo_n "(cached
) " >&6
13303 if test -n "$WINDMC_FOR_TARGET"; then
13304 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13307 for as_dir in $PATH
13310 test -z "$as_dir" && as_dir=.
13311 for ac_exec_ext in '' $ac_executable_extensions; do
13312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13313 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13323 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13324 if test -n "$WINDMC_FOR_TARGET"; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13326 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13329 $as_echo "no
" >&6; }
13334 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13338 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13340 if test $build = $target ; then
13341 WINDMC_FOR_TARGET="$2"
13343 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13346 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13350 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13354 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13357 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13358 if test "x
${build}" != "x
${host}" ; then
13359 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13360 # We already found the complete path
13361 ac_dir=`dirname $AR_FOR_TARGET`
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13363 $as_echo "pre-installed
in $ac_dir" >&6; }
13365 # Canadian cross, just use what we found
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13367 $as_echo "pre-installed
" >&6; }
13371 case " ${configdirs} " in
13376 if test $ok = yes; then
13377 # An in-tree tool is available and we can use it
13378 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13380 $as_echo "just compiled
" >&6; }
13381 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13382 # We already found the complete path
13383 ac_dir=`dirname $AR_FOR_TARGET`
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13385 $as_echo "pre-installed
in $ac_dir" >&6; }
13386 elif test "x
$target" = "x
$host"; then
13387 # We can use an host tool
13388 AR_FOR_TARGET='$(AR)'
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13390 $as_echo "host tool
" >&6; }
13392 # We need a cross tool
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13394 $as_echo "pre-installed
" >&6; }
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13399 $as_echo_n "checking where to
find the target as...
" >&6; }
13400 if test "x
${build}" != "x
${host}" ; then
13401 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13402 # We already found the complete path
13403 ac_dir=`dirname $AS_FOR_TARGET`
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13405 $as_echo "pre-installed
in $ac_dir" >&6; }
13407 # Canadian cross, just use what we found
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13409 $as_echo "pre-installed
" >&6; }
13413 case " ${configdirs} " in
13418 if test $ok = yes; then
13419 # An in-tree tool is available and we can use it
13420 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13422 $as_echo "just compiled
" >&6; }
13423 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13424 # We already found the complete path
13425 ac_dir=`dirname $AS_FOR_TARGET`
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13427 $as_echo "pre-installed
in $ac_dir" >&6; }
13428 elif test "x
$target" = "x
$host"; then
13429 # We can use an host tool
13430 AS_FOR_TARGET='$(AS)'
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13432 $as_echo "host tool
" >&6; }
13434 # We need a cross tool
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13436 $as_echo "pre-installed
" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13441 $as_echo_n "checking where to
find the target cc...
" >&6; }
13442 if test "x
${build}" != "x
${host}" ; then
13443 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13444 # We already found the complete path
13445 ac_dir=`dirname $CC_FOR_TARGET`
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13447 $as_echo "pre-installed
in $ac_dir" >&6; }
13449 # Canadian cross, just use what we found
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13451 $as_echo "pre-installed
" >&6; }
13455 case " ${configdirs} " in
13460 if test $ok = yes; then
13461 # An in-tree tool is available and we can use it
13462 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13464 $as_echo "just compiled
" >&6; }
13465 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13466 # We already found the complete path
13467 ac_dir=`dirname $CC_FOR_TARGET`
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13469 $as_echo "pre-installed
in $ac_dir" >&6; }
13470 elif test "x
$target" = "x
$host"; then
13471 # We can use an host tool
13472 CC_FOR_TARGET='$(CC)'
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13474 $as_echo "host tool
" >&6; }
13476 # We need a cross tool
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13478 $as_echo "pre-installed
" >&6; }
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13483 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13484 if test "x
${build}" != "x
${host}" ; then
13485 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13486 # We already found the complete path
13487 ac_dir=`dirname $CXX_FOR_TARGET`
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13489 $as_echo "pre-installed
in $ac_dir" >&6; }
13491 # Canadian cross, just use what we found
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13493 $as_echo "pre-installed
" >&6; }
13497 case " ${configdirs} " in
13501 case ,${enable_languages}, in
13505 if test $ok = yes; then
13506 # An in-tree tool is available and we can use it
13507 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -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'
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13509 $as_echo "just compiled
" >&6; }
13510 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13511 # We already found the complete path
13512 ac_dir=`dirname $CXX_FOR_TARGET`
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13514 $as_echo "pre-installed
in $ac_dir" >&6; }
13515 elif test "x
$target" = "x
$host"; then
13516 # We can use an host tool
13517 CXX_FOR_TARGET='$(CXX)'
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13519 $as_echo "host tool
" >&6; }
13521 # We need a cross tool
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13523 $as_echo "pre-installed
" >&6; }
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13528 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13529 if test "x
${build}" != "x
${host}" ; then
13530 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13531 # We already found the complete path
13532 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13534 $as_echo "pre-installed
in $ac_dir" >&6; }
13536 # Canadian cross, just use what we found
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13538 $as_echo "pre-installed
" >&6; }
13542 case " ${configdirs} " in
13546 case ,${enable_languages}, in
13550 if test $ok = yes; then
13551 # An in-tree tool is available and we can use it
13552 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'
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13554 $as_echo "just compiled
" >&6; }
13555 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13556 # We already found the complete path
13557 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13559 $as_echo "pre-installed
in $ac_dir" >&6; }
13560 elif test "x
$target" = "x
$host"; then
13561 # We can use an host tool
13562 RAW_CXX_FOR_TARGET='$(CXX)'
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13564 $as_echo "host tool
" >&6; }
13566 # We need a cross tool
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13568 $as_echo "pre-installed
" >&6; }
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13573 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13574 if test "x
${build}" != "x
${host}" ; then
13575 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13576 # We already found the complete path
13577 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13579 $as_echo "pre-installed
in $ac_dir" >&6; }
13581 # Canadian cross, just use what we found
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13583 $as_echo "pre-installed
" >&6; }
13587 case " ${configdirs} " in
13592 if test $ok = yes; then
13593 # An in-tree tool is available and we can use it
13594 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13596 $as_echo "just compiled
" >&6; }
13597 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13598 # We already found the complete path
13599 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13601 $as_echo "pre-installed
in $ac_dir" >&6; }
13602 elif test "x
$target" = "x
$host"; then
13603 # We can use an host tool
13604 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13606 $as_echo "host tool
" >&6; }
13608 # We need a cross tool
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13610 $as_echo "pre-installed
" >&6; }
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13615 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13616 if test "x
${build}" != "x
${host}" ; then
13617 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13618 # We already found the complete path
13619 ac_dir=`dirname $GCC_FOR_TARGET`
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13621 $as_echo "pre-installed
in $ac_dir" >&6; }
13623 # Canadian cross, just use what we found
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13625 $as_echo "pre-installed
" >&6; }
13629 case " ${configdirs} " in
13634 if test $ok = yes; then
13635 # An in-tree tool is available and we can use it
13636 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13638 $as_echo "just compiled
" >&6; }
13639 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13640 # We already found the complete path
13641 ac_dir=`dirname $GCC_FOR_TARGET`
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13643 $as_echo "pre-installed
in $ac_dir" >&6; }
13644 elif test "x
$target" = "x
$host"; then
13645 # We can use an host tool
13646 GCC_FOR_TARGET='$()'
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13648 $as_echo "host tool
" >&6; }
13650 # We need a cross tool
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13652 $as_echo "pre-installed
" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13657 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13658 if test "x
${build}" != "x
${host}" ; then
13659 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13660 # We already found the complete path
13661 ac_dir=`dirname $GCJ_FOR_TARGET`
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13663 $as_echo "pre-installed
in $ac_dir" >&6; }
13665 # Canadian cross, just use what we found
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13667 $as_echo "pre-installed
" >&6; }
13671 case " ${configdirs} " in
13675 case ,${enable_languages}, in
13679 if test $ok = yes; then
13680 # An in-tree tool is available and we can use it
13681 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13683 $as_echo "just compiled
" >&6; }
13684 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13685 # We already found the complete path
13686 ac_dir=`dirname $GCJ_FOR_TARGET`
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13688 $as_echo "pre-installed
in $ac_dir" >&6; }
13689 elif test "x
$target" = "x
$host"; then
13690 # We can use an host tool
13691 GCJ_FOR_TARGET='$(GCJ)'
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13693 $as_echo "host tool
" >&6; }
13695 # We need a cross tool
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13697 $as_echo "pre-installed
" >&6; }
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13702 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13703 if test "x
${build}" != "x
${host}" ; then
13704 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13705 # We already found the complete path
13706 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13708 $as_echo "pre-installed
in $ac_dir" >&6; }
13710 # Canadian cross, just use what we found
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13712 $as_echo "pre-installed
" >&6; }
13716 case " ${configdirs} " in
13720 case ,${enable_languages}, in
13724 if test $ok = yes; then
13725 # An in-tree tool is available and we can use it
13726 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13728 $as_echo "just compiled
" >&6; }
13729 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13730 # We already found the complete path
13731 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13733 $as_echo "pre-installed
in $ac_dir" >&6; }
13734 elif test "x
$target" = "x
$host"; then
13735 # We can use an host tool
13736 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13738 $as_echo "host tool
" >&6; }
13740 # We need a cross tool
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13742 $as_echo "pre-installed
" >&6; }
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13747 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13748 if test "x
${build}" != "x
${host}" ; then
13749 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13750 # We already found the complete path
13751 ac_dir=`dirname $GOC_FOR_TARGET`
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13753 $as_echo "pre-installed
in $ac_dir" >&6; }
13755 # Canadian cross, just use what we found
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13757 $as_echo "pre-installed
" >&6; }
13761 case " ${configdirs} " in
13765 case ,${enable_languages}, in
13769 if test $ok = yes; then
13770 # An in-tree tool is available and we can use it
13771 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13773 $as_echo "just compiled
" >&6; }
13774 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13775 # We already found the complete path
13776 ac_dir=`dirname $GOC_FOR_TARGET`
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13778 $as_echo "pre-installed
in $ac_dir" >&6; }
13779 elif test "x
$target" = "x
$host"; then
13780 # We can use an host tool
13781 GOC_FOR_TARGET='$(GOC)'
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13783 $as_echo "host tool
" >&6; }
13785 # We need a cross tool
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13787 $as_echo "pre-installed
" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13792 $as_echo_n "checking where to
find the target ld...
" >&6; }
13793 if test "x
${build}" != "x
${host}" ; then
13794 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13795 # We already found the complete path
13796 ac_dir=`dirname $LD_FOR_TARGET`
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13798 $as_echo "pre-installed
in $ac_dir" >&6; }
13800 # Canadian cross, just use what we found
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13802 $as_echo "pre-installed
" >&6; }
13806 case " ${configdirs} " in
13811 if test $ok = yes; then
13812 # An in-tree tool is available and we can use it
13813 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13815 $as_echo "just compiled
" >&6; }
13816 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13817 # We already found the complete path
13818 ac_dir=`dirname $LD_FOR_TARGET`
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13820 $as_echo "pre-installed
in $ac_dir" >&6; }
13821 elif test "x
$target" = "x
$host"; then
13822 # We can use an host tool
13823 LD_FOR_TARGET='$(LD)'
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13825 $as_echo "host tool
" >&6; }
13827 # We need a cross tool
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13829 $as_echo "pre-installed
" >&6; }
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13834 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13835 if test "x
${build}" != "x
${host}" ; then
13836 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13837 # We already found the complete path
13838 ac_dir=`dirname $LIPO_FOR_TARGET`
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13840 $as_echo "pre-installed
in $ac_dir" >&6; }
13842 # Canadian cross, just use what we found
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13844 $as_echo "pre-installed
" >&6; }
13847 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13848 # We already found the complete path
13849 ac_dir=`dirname $LIPO_FOR_TARGET`
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13851 $as_echo "pre-installed
in $ac_dir" >&6; }
13852 elif test "x
$target" = "x
$host"; then
13853 # We can use an host tool
13854 LIPO_FOR_TARGET='$(LIPO)'
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13856 $as_echo "host tool
" >&6; }
13858 # We need a cross tool
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13860 $as_echo "pre-installed
" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13865 $as_echo_n "checking where to
find the target nm...
" >&6; }
13866 if test "x
${build}" != "x
${host}" ; then
13867 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13868 # We already found the complete path
13869 ac_dir=`dirname $NM_FOR_TARGET`
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13871 $as_echo "pre-installed
in $ac_dir" >&6; }
13873 # Canadian cross, just use what we found
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13875 $as_echo "pre-installed
" >&6; }
13879 case " ${configdirs} " in
13884 if test $ok = yes; then
13885 # An in-tree tool is available and we can use it
13886 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13888 $as_echo "just compiled
" >&6; }
13889 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13890 # We already found the complete path
13891 ac_dir=`dirname $NM_FOR_TARGET`
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13893 $as_echo "pre-installed
in $ac_dir" >&6; }
13894 elif test "x
$target" = "x
$host"; then
13895 # We can use an host tool
13896 NM_FOR_TARGET='$(NM)'
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13898 $as_echo "host tool
" >&6; }
13900 # We need a cross tool
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13902 $as_echo "pre-installed
" >&6; }
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13907 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13908 if test "x
${build}" != "x
${host}" ; then
13909 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13910 # We already found the complete path
13911 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13913 $as_echo "pre-installed
in $ac_dir" >&6; }
13915 # Canadian cross, just use what we found
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13917 $as_echo "pre-installed
" >&6; }
13921 case " ${configdirs} " in
13926 if test $ok = yes; then
13927 # An in-tree tool is available and we can use it
13928 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13930 $as_echo "just compiled
" >&6; }
13931 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13932 # We already found the complete path
13933 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13935 $as_echo "pre-installed
in $ac_dir" >&6; }
13936 elif test "x
$target" = "x
$host"; then
13937 # We can use an host tool
13938 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13940 $as_echo "host tool
" >&6; }
13942 # We need a cross tool
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13944 $as_echo "pre-installed
" >&6; }
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13949 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13950 if test "x
${build}" != "x
${host}" ; then
13951 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13952 # We already found the complete path
13953 ac_dir=`dirname $RANLIB_FOR_TARGET`
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13955 $as_echo "pre-installed
in $ac_dir" >&6; }
13957 # Canadian cross, just use what we found
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13959 $as_echo "pre-installed
" >&6; }
13963 case " ${configdirs} " in
13968 if test $ok = yes; then
13969 # An in-tree tool is available and we can use it
13970 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13972 $as_echo "just compiled
" >&6; }
13973 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13974 # We already found the complete path
13975 ac_dir=`dirname $RANLIB_FOR_TARGET`
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13977 $as_echo "pre-installed
in $ac_dir" >&6; }
13978 elif test "x
$target" = "x
$host"; then
13979 # We can use an host tool
13980 RANLIB_FOR_TARGET='$(RANLIB)'
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13982 $as_echo "host tool
" >&6; }
13984 # We need a cross tool
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13986 $as_echo "pre-installed
" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
13991 $as_echo_n "checking where to
find the target readelf...
" >&6; }
13992 if test "x
${build}" != "x
${host}" ; then
13993 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
13994 # We already found the complete path
13995 ac_dir=`dirname $READELF_FOR_TARGET`
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13997 $as_echo "pre-installed
in $ac_dir" >&6; }
13999 # Canadian cross, just use what we found
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14001 $as_echo "pre-installed
" >&6; }
14005 case " ${configdirs} " in
14010 if test $ok = yes; then
14011 # An in-tree tool is available and we can use it
14012 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14014 $as_echo "just compiled
" >&6; }
14015 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14016 # We already found the complete path
14017 ac_dir=`dirname $READELF_FOR_TARGET`
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14019 $as_echo "pre-installed
in $ac_dir" >&6; }
14020 elif test "x
$target" = "x
$host"; then
14021 # We can use an host tool
14022 READELF_FOR_TARGET='$(READELF)'
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14024 $as_echo "host tool
" >&6; }
14026 # We need a cross tool
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14028 $as_echo "pre-installed
" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14033 $as_echo_n "checking where to
find the target strip...
" >&6; }
14034 if test "x
${build}" != "x
${host}" ; then
14035 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14036 # We already found the complete path
14037 ac_dir=`dirname $STRIP_FOR_TARGET`
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14039 $as_echo "pre-installed
in $ac_dir" >&6; }
14041 # Canadian cross, just use what we found
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14043 $as_echo "pre-installed
" >&6; }
14047 case " ${configdirs} " in
14052 if test $ok = yes; then
14053 # An in-tree tool is available and we can use it
14054 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14056 $as_echo "just compiled
" >&6; }
14057 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14058 # We already found the complete path
14059 ac_dir=`dirname $STRIP_FOR_TARGET`
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14061 $as_echo "pre-installed
in $ac_dir" >&6; }
14062 elif test "x
$target" = "x
$host"; then
14063 # We can use an host tool
14064 STRIP_FOR_TARGET='$(STRIP)'
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14066 $as_echo "host tool
" >&6; }
14068 # We need a cross tool
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14070 $as_echo "pre-installed
" >&6; }
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14075 $as_echo_n "checking where to
find the target windres...
" >&6; }
14076 if test "x
${build}" != "x
${host}" ; then
14077 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14078 # We already found the complete path
14079 ac_dir=`dirname $WINDRES_FOR_TARGET`
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14081 $as_echo "pre-installed
in $ac_dir" >&6; }
14083 # Canadian cross, just use what we found
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14085 $as_echo "pre-installed
" >&6; }
14089 case " ${configdirs} " in
14094 if test $ok = yes; then
14095 # An in-tree tool is available and we can use it
14096 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14098 $as_echo "just compiled
" >&6; }
14099 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14100 # We already found the complete path
14101 ac_dir=`dirname $WINDRES_FOR_TARGET`
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14103 $as_echo "pre-installed
in $ac_dir" >&6; }
14104 elif test "x
$target" = "x
$host"; then
14105 # We can use an host tool
14106 WINDRES_FOR_TARGET='$(WINDRES)'
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14108 $as_echo "host tool
" >&6; }
14110 # We need a cross tool
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14112 $as_echo "pre-installed
" >&6; }
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14117 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14118 if test "x
${build}" != "x
${host}" ; then
14119 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14120 # We already found the complete path
14121 ac_dir=`dirname $WINDMC_FOR_TARGET`
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14123 $as_echo "pre-installed
in $ac_dir" >&6; }
14125 # Canadian cross, just use what we found
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14127 $as_echo "pre-installed
" >&6; }
14131 case " ${configdirs} " in
14136 if test $ok = yes; then
14137 # An in-tree tool is available and we can use it
14138 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14140 $as_echo "just compiled
" >&6; }
14141 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14142 # We already found the complete path
14143 ac_dir=`dirname $WINDMC_FOR_TARGET`
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14145 $as_echo "pre-installed
in $ac_dir" >&6; }
14146 elif test "x
$target" = "x
$host"; then
14147 # We can use an host tool
14148 WINDMC_FOR_TARGET='$(WINDMC)'
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14150 $as_echo "host tool
" >&6; }
14152 # We need a cross tool
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14154 $as_echo "pre-installed
" >&6; }
14162 # Certain tools may need extra flags.
14163 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14164 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14165 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14167 # When building target libraries, except in a Canadian cross, we use
14168 # the same toolchain as the compiler we just built.
14169 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14170 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14171 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14172 if test $host = $build; then
14173 case " $configdirs " in
14175 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14176 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14177 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14187 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14188 # Check whether --enable-maintainer-mode was given.
14189 if test "${enable_maintainer_mode+set}" = set; then :
14190 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14192 USE_MAINTAINER_MODE=no
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14196 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14199 if test "$USE_MAINTAINER_MODE" = yes; then
14200 MAINTAINER_MODE_TRUE=
14201 MAINTAINER_MODE_FALSE='#'
14203 MAINTAINER_MODE_TRUE='#'
14204 MAINTAINER_MODE_FALSE=
14206 MAINT=$MAINTAINER_MODE_TRUE
14208 # ---------------------
14209 # GCC bootstrap support
14210 # ---------------------
14212 # Stage specific cflags for build.
14217 yes) stage1_cflags="-g -Wa,-J" ;;
14218 *) stage1_cflags="-g -J" ;;
14222 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14223 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14224 saved_CFLAGS="$CFLAGS"
14226 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14227 CFLAGS="$CFLAGS -fkeep-inline-functions"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14229 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14233 #if (__GNUC__ < 3) \
14234 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14235 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14236 #error http://gcc.gnu.org/PR29382
14247 if ac_fn_c_try_compile "$LINENO"; then :
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14249 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14252 $as_echo "no
" >&6; }
14254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14256 CFLAGS="$saved_CFLAGS"
14261 # Enable --enable-checking in stage1 of the compiler.
14262 # Check whether --enable-stage1-checking was given.
14263 if test "${enable_stage1_checking+set}" = set; then :
14264 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14266 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14267 stage1_checking=--enable-checking=yes,types
14269 stage1_checking=--enable-checking=$enable_checking,types
14275 # Enable -Werror in bootstrap stage2 and later.
14276 # Check whether --enable-werror was given.
14277 if test "${enable_werror+set}" = set; then :
14278 enableval=$enable_werror;
14280 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14287 case ${enable_werror} in
14288 yes) stage2_werror_flag="--enable-werror-always" ;;
14289 *) stage2_werror_flag="" ;;
14293 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14294 # --enable-build-with-cxx after stage1.
14295 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14296 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14298 POSTSTAGE1_CONFIGURE_FLAGS=
14302 # Specify what files to not compare during bootstrap.
14304 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14306 hppa*64*-*-hpux*) ;;
14307 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14311 ac_config_files="$ac_config_files Makefile
"
14313 cat >confcache <<\_ACEOF
14314 # This file is a shell script that caches the results of configure
14315 # tests run on this system so they can be shared between configure
14316 # scripts and configure runs, see configure's option --config-cache.
14317 # It is not useful on other systems. If it contains results you don't
14318 # want to keep, you may remove or edit it.
14320 # config.status only pays attention to the cache file if you give it
14321 # the --recheck option to rerun configure.
14323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14325 # following values.
14329 # The following way of writing the cache mishandles newlines in values,
14330 # but we know of no workaround that is simple, portable, and efficient.
14331 # So, we kill variables containing newlines.
14332 # Ultrix sh set writes to stderr and can't be redirected directly,
14333 # and sets the high bit in the cache file unless we assign to the vars.
14335 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14336 eval ac_val=\$$ac_var
14340 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14341 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14344 _ | IFS | as_nl) ;; #(
14345 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14346 *) { eval $ac_var=; unset $ac_var;} ;;
14352 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14353 *${as_nl}ac_space=\ *)
14354 # `set' does not quote correctly, so add quotes: double-quote
14355 # substitution turns \\\\ into \\, and sed turns \\ into \.
14358 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14361 # `set' quotes correctly as required by POSIX, so do not add quotes.
14362 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14375 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14376 if test -w "$cache_file"; then
14377 test "x
$cache_file" != "x
/dev
/null
" &&
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14379 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14380 cat confcache >$cache_file
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14383 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14388 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14389 # Let make expand exec_prefix.
14390 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14392 # Transform confdefs.h into DEFS.
14393 # Protect against shell expansion while executing Makefile rules.
14394 # Protect against Makefile macro expansion.
14396 # If the first sed substitution is executed (which looks for macros that
14397 # take arguments), then branch to the quote section. Otherwise,
14398 # look for a macro that doesn't take arguments.
14408 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14410 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14414 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14427 DEFS=`sed -n "$ac_script" confdefs.h`
14432 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14433 # 1. Remove the extension, and $U if already installed.
14434 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14435 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14436 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14437 # will be set to the directory where LIBOBJS objects are built.
14438 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14439 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14441 LIBOBJS=$ac_libobjs
14443 LTLIBOBJS=$ac_ltlibobjs
14447 : ${CONFIG_STATUS=./config.status}
14449 ac_clean_files_save=$ac_clean_files
14450 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14452 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14454 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14456 # Generated by $as_me.
14457 # Run this file to recreate the current configuration.
14458 # Compiler output produced by configure, useful for debugging
14459 # configure, is in config.log if it exists.
14462 ac_cs_recheck=false
14465 SHELL=\${CONFIG_SHELL-$SHELL}
14468 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14469 ## -------------------- ##
14470 ## M4sh Initialization. ##
14471 ## -------------------- ##
14473 # Be more Bourne compatible
14474 DUALCASE=1; export DUALCASE # for MKS sh
14475 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14478 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14479 # is contrary to our usage. Disable this feature.
14480 alias -g '${1+"$@"}'='"$@"'
14481 setopt NO_GLOB_SUBST
14483 case `(set -o) 2>/dev/null` in #(
14495 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14496 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14497 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14498 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14499 # Prefer a ksh shell builtin over an external printf program on Solaris,
14500 # but without wasting forks for bash or zsh.
14501 if test -z "$BASH_VERSION$ZSH_VERSION" \
14502 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14503 as_echo
='print -r --'
14504 as_echo_n
='print -rn --'
14505 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14506 as_echo
='printf %s\n'
14507 as_echo_n
='printf %s'
14509 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14510 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14511 as_echo_n
='/usr/ucb/echo -n'
14513 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14514 as_echo_n_body
='eval
14518 expr "X$arg" : "X\\(.*\\)$as_nl";
14519 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14521 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14523 export as_echo_n_body
14524 as_echo_n
='sh -c $as_echo_n_body as_echo'
14526 export as_echo_body
14527 as_echo
='sh -c $as_echo_body as_echo'
14530 # The user is always right.
14531 if test "${PATH_SEPARATOR+set}" != set; then
14533 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14534 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14541 # We need space, tab and new line, in precisely that order. Quoting is
14542 # there to prevent editors from complaining about space-tab.
14543 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14544 # splitting by setting IFS to empty value.)
14547 # Find who we are. Look in the path if we contain no directory separator.
14549 *[\\/]* ) as_myself
=$0 ;;
14550 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14551 for as_dir
in $PATH
14554 test -z "$as_dir" && as_dir
=.
14555 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14561 # We did not find ourselves, most probably we were run as `sh COMMAND'
14562 # in which case we are not to be found in the path.
14563 if test "x$as_myself" = x
; then
14566 if test ! -f "$as_myself"; then
14567 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14571 # Unset variables that we do not need and which cause bugs (e.g. in
14572 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14573 # suppresses any "Segmentation fault" message there. '((' could
14574 # trigger a bug in pdksh 5.2.14.
14575 for as_var
in BASH_ENV ENV MAIL MAILPATH
14576 do eval test x\
${$as_var+set} = xset \
14577 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14590 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14593 # as_fn_error ERROR [LINENO LOG_FD]
14594 # ---------------------------------
14595 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14596 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14597 # script with status $?, using 1 if that was 0.
14600 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14602 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14603 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14605 $as_echo "$as_me: error: $1" >&2
14606 as_fn_exit
$as_status
14610 # as_fn_set_status STATUS
14611 # -----------------------
14612 # Set $? to STATUS, without forking.
14613 as_fn_set_status
()
14616 } # as_fn_set_status
14618 # as_fn_exit STATUS
14619 # -----------------
14620 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14624 as_fn_set_status
$1
14630 # Portably unset VAR.
14633 { eval $1=; unset $1;}
14635 as_unset
=as_fn_unset
14636 # as_fn_append VAR VALUE
14637 # ----------------------
14638 # Append the text in VALUE to the end of the definition contained in VAR. Take
14639 # advantage of any shell optimizations that allow amortized linear growth over
14640 # repeated appends, instead of the typical quadratic growth present in naive
14642 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14643 eval 'as_fn_append ()
14654 # as_fn_arith ARG...
14655 # ------------------
14656 # Perform arithmetic evaluation on the ARGs, and store the result in the
14657 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14658 # must be portable across $(()) and expr.
14659 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14660 eval 'as_fn_arith ()
14667 as_val
=`expr "$@" || test $? -eq 1`
14672 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14673 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14679 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14680 as_basename
=basename
14685 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14691 as_me
=`$as_basename -- "$0" ||
14692 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14693 X"$0" : 'X\(//\)$' \| \
14694 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14696 sed '/^.*\/\([^/][^/]*\)\/*$/{
14710 # Avoid depending upon Character Ranges.
14711 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14712 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14713 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14714 as_cr_digits
='0123456789'
14715 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14717 ECHO_C
= ECHO_N
= ECHO_T
=
14718 case `echo -n x` in #(((((
14720 case `echo 'xy\c'` in
14721 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14723 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14730 rm -f conf$$ conf$$.exe conf$$.
file
14731 if test -d conf$$.dir
; then
14732 rm -f conf$$.dir
/conf$$.
file
14735 mkdir conf$$.dir
2>/dev
/null
14737 if (echo >conf$$.
file) 2>/dev
/null
; then
14738 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14740 # ... but there are two gotchas:
14741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14743 # In both cases, we have to default to `cp -p'.
14744 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14746 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14754 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14755 rmdir conf$$.dir
2>/dev
/null
14760 # Create "$as_dir" as a directory, including parents if necessary.
14765 -*) as_dir
=.
/$as_dir;;
14767 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14771 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14772 *) as_qdir
=$as_dir;;
14774 as_dirs
="'$as_qdir' $as_dirs"
14775 as_dir
=`$as_dirname -- "$as_dir" ||
14776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14777 X"$as_dir" : 'X\(//\)[^/]' \| \
14778 X"$as_dir" : 'X\(//\)$' \| \
14779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14780 $as_echo X"$as_dir" |
14781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14785 /^X\(\/\/\)[^/].*/{
14798 test -d "$as_dir" && break
14800 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14801 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14805 if mkdir
-p .
2>/dev
/null
; then
14806 as_mkdir_p
='mkdir -p "$as_dir"'
14808 test -d .
/-p && rmdir .
/-p
14812 if test -x / >/dev
/null
2>&1; then
14813 as_test_x
='test -x'
14815 if ls -dL / >/dev
/null
2>&1; then
14822 if test -d "$1"; then
14828 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14829 ???[sx]*):;;*)false;;esac;fi
14833 as_executable_p
=$as_test_x
14835 # Sed expression to map a string onto a valid CPP name.
14836 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14838 # Sed expression to map a string onto a valid variable name.
14839 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14843 ## ----------------------------------- ##
14844 ## Main body of $CONFIG_STATUS script. ##
14845 ## ----------------------------------- ##
14847 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14850 # Save the log message, to keep $0 and so on meaningful, and to
14851 # report actual input values of CONFIG_FILES etc. instead of their
14852 # values after options handling.
14854 This file was extended by $as_me, which was
14855 generated by GNU Autoconf 2.64. Invocation command line was
14857 CONFIG_FILES = $CONFIG_FILES
14858 CONFIG_HEADERS = $CONFIG_HEADERS
14859 CONFIG_LINKS = $CONFIG_LINKS
14860 CONFIG_COMMANDS = $CONFIG_COMMANDS
14863 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14868 case $ac_config_files in *"
14869 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14875 # Files that config.status was made for.
14876 config_files="$ac_config_files"
14880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14882 \`$as_me' instantiates files and other configuration actions
14883 from templates according to the current configuration. Unless the files
14884 and actions are specified as TAGs, all are instantiated by default.
14886 Usage: $0 [OPTION]... [TAG]...
14888 -h, --help print this help, then exit
14889 -V, --version print version number and configuration settings, then exit
14890 -q, --quiet, --silent
14891 do not print progress messages
14892 -d, --debug don't remove temporary files
14893 --recheck update $as_me by reconfiguring in the same conditions
14894 --file=FILE[:TEMPLATE]
14895 instantiate the configuration file FILE
14897 Configuration files:
14900 Report bugs to the package provider."
14903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14906 configured by $0, generated by GNU Autoconf 2.64,
14907 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14909 Copyright (C) 2009 Free Software Foundation, Inc.
14910 This config.status script is free software; the Free Software Foundation
14911 gives unlimited permission to copy, distribute and modify it."
14917 test -n "\$AWK" || AWK=awk
14920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14921 # The default lists apply if the user does not specify any file.
14927 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14928 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14939 # Handling of the options.
14940 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14942 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14943 $as_echo "$ac_cs_version"; exit ;;
14944 --debug |
--debu |
--deb |
--de |
--d |
-d )
14946 --file |
--fil |
--fi |
--f )
14949 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14951 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14952 ac_need_defaults
=false
;;
14953 --he |
--h |
--help |
--hel |
-h )
14954 $as_echo "$ac_cs_usage"; exit ;;
14955 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14956 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14959 # This is an error.
14960 -*) as_fn_error
"unrecognized option: \`$1'
14961 Try \`$0 --help' for more information." ;;
14963 *) as_fn_append ac_config_targets
" $1"
14964 ac_need_defaults
=false
;;
14970 ac_configure_extra_args
=
14972 if $ac_cs_silent; then
14974 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14979 if \$ac_cs_recheck; then
14980 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14982 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14983 CONFIG_SHELL='$SHELL'
14984 export CONFIG_SHELL
14989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14994 ## Running $as_me. ##
15000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15004 extrasub_build="$extrasub_build"
15005 extrasub_host="$extrasub_host"
15006 extrasub_target="$extrasub_target"
15010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15012 # Handling of arguments.
15013 for ac_config_target
in $ac_config_targets
15015 case $ac_config_target in
15016 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15018 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15023 # If the user did not use the arguments to specify the items to instantiate,
15024 # then the envvar interface is used. Set only those that are not.
15025 # We use the long form for the default assignment because of an extremely
15026 # bizarre bug on SunOS 4.1.3.
15027 if $ac_need_defaults; then
15028 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15031 # Have a temporary directory for convenience. Make it in the build tree
15032 # simply because there is no reason against having it here, and in addition,
15033 # creating and moving files from /tmp can sometimes cause problems.
15034 # Hook for its removal unless debugging.
15035 # Note that there is a small window in which the directory will not be cleaned:
15036 # after its creation but before its name has been assigned to `$tmp'.
15040 trap 'exit_status=$?
15041 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15043 trap 'as_fn_exit 1' 1 2 13 15
15045 # Create a (secure) tmp directory for tmp files.
15048 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15049 test -n "$tmp" && test -d "$tmp"
15052 tmp
=.
/conf$$
-$RANDOM
15053 (umask 077 && mkdir
"$tmp")
15054 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15056 # Set up the scripts for CONFIG_FILES section.
15057 # No need to generate them if there are no CONFIG_FILES.
15058 # This happens for instance with `./config.status config.h'.
15059 if test -n "$CONFIG_FILES"; then
15061 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15062 ac_cs_awk_getline
=:
15063 ac_cs_awk_pipe_init
=
15064 ac_cs_awk_read_file
='
15065 while ((getline aline < (F[key])) > 0)
15068 ac_cs_awk_pipe_fini
=
15070 ac_cs_awk_getline
=false
15071 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15072 ac_cs_awk_read_file
='
15074 print "cat " F[key] " &&"
15075 '$ac_cs_awk_pipe_init
15076 # The final `:' finishes the AND list.
15077 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15079 ac_cr
=`echo X | tr X '\015'`
15080 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15081 # But we know of no other shell where ac_cr would be empty at this
15082 # point, so we can use a bashism as a fallback.
15083 if test "x$ac_cr" = x
; then
15084 eval ac_cr
=\$
\'\\r
\'
15086 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15087 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15090 ac_cs_awk_cr
=$ac_cr
15093 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15096 # Create commands to substitute file output variables.
15098 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15099 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15100 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15103 } >conf$
$files.sh
&&
15104 . .
/conf$
$files.sh ||
15105 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15106 rm -f conf$
$files.sh
15109 echo "cat >conf$$subs.awk <<_ACEOF" &&
15110 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15112 } >conf$$subs.sh ||
15113 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15116 for ac_last_try in false false false false false :; do
15117 . ./conf$$subs.sh ||
15118 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15120 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15121 if test $ac_delim_n = $ac_delim_num; then
15123 elif $ac_last_try; then
15124 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15126 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15129 rm -f conf$$subs.sh
15131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15132 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15136 s/^/S["/; s
/!.
*/"]=/
15146 s/\(.\{148\}\).*/\1/
15148 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15153 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15160 s/\(.\{148\}\).*/\1/
15162 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15166 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15171 ' <conf$$subs.awk | sed '
15176 ' >>$CONFIG_STATUS || ac_write_fail=1
15177 rm -f conf$$subs.awk
15178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15180 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15181 for (key in S) S_is_set[key] = 1
15183 \$ac_cs_awk_pipe_init
15187 nfields = split(line, field, "@
")
15189 len = length(field[1])
15190 for (i = 2; i < nfields; i++) {
15192 keylen = length(key)
15193 if (S_is_set[key]) {
15195 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15196 len += length(value) + length(field[++i])
15201 if (nfields == 3 && !substed) {
15203 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15204 \$ac_cs_awk_read_file
15210 \$ac_cs_awk_pipe_fini
15213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15214 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15215 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15218 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15219 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15222 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15223 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15224 # trailing colons and then remove the whole line if VPATH becomes empty
15225 # (actually we leave an empty line to preserve line numbers).
15226 if test "x
$srcdir" = x.; then
15227 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15228 s/:*\$(srcdir):*/:/
15229 s/:*\${srcdir}:*/:/
15231 s/^\([^=]*=[ ]*\):*/\1/
15237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15238 fi # test -n "$CONFIG_FILES"
15241 eval set X " :F
$CONFIG_FILES "
15246 :[FHLC]) ac_mode=$ac_tag; continue;;
15248 case $ac_mode$ac_tag in
15250 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15251 :[FH]-) ac_tag=-:-;;
15252 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15269 -) ac_f="$tmp/stdin";;
15270 *) # Look for the file first in the build tree, then in the source tree
15271 # (if the path is not absolute). The absolute path cannot be DOS-style,
15272 # because $ac_f cannot contain `:'.
15276 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15278 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15280 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15281 as_fn_append ac_file_inputs " '$ac_f'"
15284 # Let's still pretend it is `configure' which instantiates (i.e., don't
15285 # use $as_me), people would be surprised to read:
15286 # /* config.h. Generated by config.status. */
15287 configure_input='Generated from '`
15288 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15290 if test x"$ac_file" != x-; then
15291 configure_input="$ac_file.
$configure_input"
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15293 $as_echo "$as_me: creating
$ac_file" >&6;}
15295 # Neutralize special characters interpreted by sed in replacement strings.
15296 case $configure_input in #(
15297 *\&* | *\|* | *\\* )
15298 ac_sed_conf_input=`$as_echo "$configure_input" |
15299 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15300 *) ac_sed_conf_input=$configure_input;;
15304 *:-:* | *:-) cat >"$tmp/stdin
" \
15305 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15310 ac_dir=`$as_dirname -- "$ac_file" ||
15311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15312 X"$ac_file" : 'X\(//\)[^/]' \| \
15313 X"$ac_file" : 'X\(//\)$' \| \
15314 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15315 $as_echo X"$ac_file" |
15316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15320 /^X\(\/\/\)[^/].*/{
15333 as_dir="$ac_dir"; as_fn_mkdir_p
15337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15340 # A "..
" for each directory in $ac_dir_suffix.
15341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15342 case $ac_top_builddir_sub in
15343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15347 ac_abs_top_builddir=$ac_pwd
15348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15349 # for backward compatibility:
15350 ac_top_builddir=$ac_top_build_prefix
15353 .) # We are building in place.
15355 ac_top_srcdir=$ac_top_builddir_sub
15356 ac_abs_top_srcdir=$ac_pwd ;;
15357 [\\/]* | ?:[\\/]* ) # Absolute name.
15358 ac_srcdir=$srcdir$ac_dir_suffix;
15359 ac_top_srcdir=$srcdir
15360 ac_abs_top_srcdir=$srcdir ;;
15361 *) # Relative name.
15362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15363 ac_top_srcdir=$ac_top_build_prefix$srcdir
15364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15377 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15382 # If the template does not know about datarootdir, expand it.
15383 # FIXME: This hack should be removed a few years after 2.60.
15384 ac_datarootdir_hack=; ac_datarootdir_seen=
15395 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15396 *datarootdir*) ac_datarootdir_seen=yes;;
15397 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15399 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15402 ac_datarootdir_hack='
15403 s&@datadir@&$datadir&g
15404 s&@docdir@&$docdir&g
15405 s&@infodir@&$infodir&g
15406 s&@localedir@&$localedir&g
15407 s&@mandir@&$mandir&g
15408 s&\\\${datarootdir}&$datarootdir&g' ;;
15412 # Neutralize VPATH when `$srcdir' = `.'.
15413 # Shell code in configure.ac might set extrasub.
15414 # FIXME: do we really want to maintain this feature?
15415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15416 ac_sed_extra="$ac_vpsub
15419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15421 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15422 s|@configure_input@|
$ac_sed_conf_input|
;t t
15423 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15424 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15425 s
&@srcdir@
&$ac_srcdir&;t t
15426 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15427 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15428 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15429 s
&@builddir@
&$ac_builddir&;t t
15430 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15431 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15432 s
&@INSTALL@
&$ac_INSTALL&;t t
15433 $ac_datarootdir_hack
15435 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15436 if $ac_cs_awk_getline; then
15437 $AWK -f "$tmp/subs.
awk"
15439 $AWK -f "$tmp/subs.
awk" | $SHELL
15441 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15444 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15447 which seems to be undefined. Please make sure it is defined." >&5
15448 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15449 which seems to be undefined. Please make sure it is defined." >&2;}
15453 -) cat "$tmp/out" && rm -f "$tmp/out";;
15454 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15456 || as_fn_error "could not create $ac_file" "$LINENO" 5
15464 case $ac_file$ac_mode in
15465 "Makefile":F) sed "$extrasub_build" Makefile |
15466 sed "$extrasub_host" |
15467 sed "$extrasub_target" > mf$$
15468 mv -f mf$$ Makefile ;;
15476 ac_clean_files=$ac_clean_files_save
15478 test $ac_write_fail = 0 ||
15479 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15482 # configure is writing to config.log, and then calls config.status.
15483 # config.status does its own redirection, appending to config.log.
15484 # Unfortunately, on DOS this fails, as config.log is still kept open
15485 # by configure, so config.status won't be able to
write to it
; its
15486 # output is simply discarded. So we exec the FD to /dev/null,
15487 # effectively closing config.log, so it can be properly (re)opened and
15488 # appended to by config.status. When coming back to configure, we
15489 # need to make the FD available again.
15490 if test "$no_create" != yes; then
15492 ac_config_status_args
=
15493 test "$silent" = yes &&
15494 ac_config_status_args
="$ac_config_status_args --quiet"
15496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15499 # would make configure fail if this is the last instruction.
15500 $ac_cs_success || as_fn_exit $?
15502 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15504 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}