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
655 extra_mpc_mpfr_configure_flags
656 extra_mpc_gmp_configure_flags
657 extra_mpfr_configure_flags
673 EXTRA_CONFIGARGS_LIBJAVA
700 TOPLEVEL_CONFIGURE_ARGUMENTS
728 program_transform_name
739 ac_subst_files
='serialization_dependencies
745 enable_option_checking
750 enable_libquadmath_support
753 enable_static_libjava
755 enable_build_with_cxx
756 enable_build_poststage1_with_cxx
776 enable_ppl_version_check
780 enable_cloog_version_check
782 enable_stage1_languages
785 with_debug_prefix_map
787 enable_serial_configure
788 with_build_time_tools
789 enable_maintainer_mode
790 enable_stage1_checking
793 ac_precious_vars
='build_alias
840 # Initialize some variables set by options.
842 ac_init_version
=false
843 ac_unrecognized_opts
=
845 # The variables have the same names as the options, with
846 # dashes changed to underlines.
854 program_transform_name
=s
,x
,x
,
862 # Installation directory options.
863 # These are left unexpanded so users can "make install exec_prefix=/foo"
864 # and all the variables that are supposed to be based on exec_prefix
865 # by default will actually change.
866 # Use braces instead of parens because sh, perl, etc. also accept them.
867 # (The list follows the same order as the GNU Coding Standards.)
868 bindir
='${exec_prefix}/bin'
869 sbindir
='${exec_prefix}/sbin'
870 libexecdir
='${exec_prefix}/libexec'
871 datarootdir
='${prefix}/share'
872 datadir
='${datarootdir}'
873 sysconfdir
='${prefix}/etc'
874 sharedstatedir
='${prefix}/com'
875 localstatedir
='${prefix}/var'
876 includedir
='${prefix}/include'
877 oldincludedir
='/usr/include'
878 docdir
='${datarootdir}/doc/${PACKAGE}'
879 infodir
='${datarootdir}/info'
884 libdir
='${exec_prefix}/lib'
885 localedir
='${datarootdir}/locale'
886 mandir
='${datarootdir}/man'
892 # If the previous option needs an argument, assign it.
893 if test -n "$ac_prev"; then
894 eval $ac_prev=\
$ac_option
900 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1129 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1131 sbindir
=$ac_optarg ;;
1133 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1134 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1135 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1137 ac_prev
=sharedstatedir
;;
1138 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1139 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1140 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1142 sharedstatedir
=$ac_optarg ;;
1144 -site |
--site |
--sit)
1146 -site=* |
--site=* |
--sit=*)
1149 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1151 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1152 srcdir
=$ac_optarg ;;
1154 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1155 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1156 ac_prev
=sysconfdir
;;
1157 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1158 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1159 sysconfdir
=$ac_optarg ;;
1161 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1162 ac_prev
=target_alias
;;
1163 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1164 target_alias
=$ac_optarg ;;
1166 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1169 -version |
--version |
--versio |
--versi |
--vers |
-V)
1170 ac_init_version
=: ;;
1173 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 as_fn_error
"invalid package name: $ac_useropt"
1177 ac_useropt_orig
=$ac_useropt
1178 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep
=', ';;
1186 eval with_
$ac_useropt=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) as_fn_error
"unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information."
1227 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1231 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error
"missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val
=\$
$ac_var
1267 # Remove trailing slashes.
1270 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\
$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$
]* | ?
:[\\/]* ) continue;;
1276 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1278 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target
=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x
; then
1290 if test "x$build_alias" = x
; then
1291 cross_compiling
=maybe
1292 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1293 If a cross compiler is detected then cross compile mode will be used." >&2
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1302 test "$silent" = yes && exec 6>/dev
/null
1305 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di
=`ls -di .` &&
1307 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error
"working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error
"pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted
=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir
=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted
=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1349 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 as_fn_error
"path to source, $srcdir, contains spaces"
1370 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1372 for ac_var
in $ac_precious_vars; do
1373 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1375 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures this package to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --program-prefix=PREFIX prepend PREFIX to installed program names
1445 --program-suffix=SUFFIX append SUFFIX to installed program names
1446 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1449 --build=BUILD configure
for building on BUILD
[guessed
]
1450 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1451 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1455 if test -n "$ac_init_help"; then
1460 --disable-option-checking ignore unrecognized
--enable/--with options
1461 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1462 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1463 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1464 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1465 --disable-libquadmath do not build libquadmath directory
1466 --disable-libquadmath-support
1467 disable libquadmath support
for Fortran
1468 --enable-libada build libada directory
1469 --enable-libssp build libssp directory
1470 --enable-static-libjava[=ARG
]
1471 build static libjava
[default
=no
]
1472 --enable-bootstrap enable bootstrapping
[yes if native build
]
1473 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1474 --enable-build-poststage1-with-cxx
1475 build stages
2 and
3 with C
++, not C
1476 --disable-ppl-version-check
1477 disable check
for PPL version
1478 --disable-cloog-version-check
1479 disable check
for CLooG version
1480 --enable-lto enable link
time optimization support
1481 --enable-stage1-languages[=all
]
1482 choose additional languages to build during stage1.
1483 Mostly useful
for compiler development
1484 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1486 --enable-serial-[{host,target,build}-]configure
1487 force sequential configuration of sub-packages for
1488 the host, target or build machine, or all
1490 --enable-maintainer-mode
1491 enable make rules and dependencies not useful (and
1492 sometimes confusing) to the casual installer
1493 --enable-stage1-checking[=all]
1494 choose additional checking for stage1 of the
1496 --enable-werror enable -Werror in bootstrap stage2 and later
1499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1501 --with-build-libsubdir=DIR Directory where to find libraries for build system
1502 --with-mpc=PATH specify prefix directory for installed MPC package.
1503 Equivalent to --with-mpc-include=PATH/include plus
1504 --with-mpc-lib=PATH/lib
1505 --with-mpc-include=PATH specify directory for installed MPC include files
1506 --with-mpc-lib=PATH specify directory for the installed MPC library
1507 --with-mpfr-dir=PATH this option has been REMOVED
1508 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1509 Equivalent to --with-mpfr-include=PATH/include plus
1510 --with-mpfr-lib=PATH/lib
1511 --with-mpfr-include=PATH
1512 specify directory for installed MPFR include files
1513 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1514 --with-gmp-dir=PATH this option has been REMOVED
1515 --with-gmp=PATH specify prefix directory for the installed GMP
1516 package. Equivalent to
1517 --with-gmp-include=PATH/include plus
1518 --with-gmp-lib=PATH/lib
1519 --with-gmp-include=PATH specify directory for installed GMP include files
1520 --with-gmp-lib=PATH specify directory for the installed GMP library
1521 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1523 --with-stage1-ldflags=FLAGS
1524 linker flags for stage1
1525 --with-stage1-libs=LIBS libraries for stage1
1526 --with-boot-libs=LIBS libraries for stage2 and later
1527 --with-boot-ldflags=FLAGS
1528 linker flags for stage2 and later
1529 --with-ppl=PATH specify prefix directory for the installed PPL
1530 package. Equivalent to
1531 --with-ppl-include=PATH/include plus
1532 --with-ppl-lib=PATH/lib
1533 --with-ppl-include=PATH specify directory for installed PPL include files
1534 --with-ppl-lib=PATH specify directory for the installed PPL library
1535 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1536 package. Equivalent to
1537 --with-cloog-include=PATH/include plus
1538 --with-cloog-lib=PATH/lib
1539 --with-cloog-include=PATH
1540 Specify directory for installed CLooG include files
1541 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1543 --with-build-sysroot=SYSROOT
1544 use sysroot as the system root during the build
1545 --with-debug-prefix-map='A
=B C
=D ...
'
1546 map A to B, C to D ... in debug information
1547 --with-build-config='NAME NAME2...
'
1548 use config/NAME.mk build configuration
1549 --with-build-time-tools=PATH
1550 use given path to find target tools during the build
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1563 additional configure arguments for build directories
1565 additional configure arguments for host directories
1567 additional configure arguments for target directories
1570 DLLTOOL DLLTOOL for the host
1572 LIPO LIPO for the host
1574 RANLIB RANLIB for the host
1575 STRIP STRIP for the host
1576 WINDRES WINDRES for the host
1577 WINDMC WINDMC for the host
1578 OBJCOPY OBJCOPY for the host
1579 OBJDUMP OBJDUMP for the host
1580 READELF READELF for the host
1590 GFORTRAN for the target
1598 DLLTOOL for the target
1606 OBJDUMP for the target
1608 RANLIB for the target
1610 READELF for the target
1612 STRIP for the target
1614 WINDRES for the target
1616 WINDMC for the target
1618 Use these variables to override the choices made by `configure' or to
help
1619 it to
find libraries and programs with nonstandard names
/locations.
1621 Report bugs to the package provider.
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1635 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1637 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1642 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1645 ac_abs_top_builddir
=$ac_pwd
1646 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir
=$ac_top_build_prefix
1651 .
) # We are building in place.
1653 ac_top_srcdir
=$ac_top_builddir_sub
1654 ac_abs_top_srcdir
=$ac_pwd ;;
1655 [\\/]* | ?
:[\\/]* ) # Absolute name.
1656 ac_srcdir
=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir
=$srcdir
1658 ac_abs_top_srcdir
=$srcdir ;;
1660 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1664 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1677 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1685 generated by GNU Autoconf
2.64
1687 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1688 This configure
script is free software
; the Free Software Foundation
1689 gives unlimited permission to copy
, distribute and modify it.
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile
()
1703 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1704 rm -f conftest.
$ac_objext
1705 if { { ac_try
="$ac_compile"
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1746 *) ac_try_echo
=$ac_try;;
1748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1752 if test -s conftest.err
; then
1753 grep -v '^ *+' conftest.err
>conftest.er1
1754 cat conftest.er1
>&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.
$ac_objext; then :
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_link LINENO
1775 # -----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded.
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 rm -f conftest.
$ac_objext conftest
$ac_exeext
1781 if { { ac_try
="$ac_link"
1783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>conftest.err
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest$ac_exeext && {
1800 test "$cross_compiling" = yes ||
1801 $as_test_x conftest$ac_exeext
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1810 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1811 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1812 # interfere with the next link command; also delete a directory that is
1813 # left behind by Apple's compiler. We do this before executing the actions.
1814 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_c_try_link
1819 cat >config.log <<_ACEOF
1820 This file contains any messages produced by compilers while
1821 running configure, to aid debugging if configure makes a mistake.
1823 It was created by $as_me, which was
1824 generated by GNU Autoconf 2.64. Invocation command line was
1836 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1837 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1838 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1839 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1840 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1842 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1843 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1845 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1846 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1847 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1848 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1849 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1850 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1851 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 $as_echo "PATH: $as_dir"
1876 # Keep a trace of the command line.
1877 # Strip out --no-create and --no-recursion so they do not pile up.
1878 # Strip out --silent because we don't want to record it for future runs.
1879 # Also quote any args containing shell meta-characters.
1880 # Make two passes to allow for proper duplicate-argument suppression.
1884 ac_must_keep_next=false
1890 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1892 | -silent | --silent | --silen | --sile | --sil)
1895 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1898 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1900 as_fn_append ac_configure_args1 " '$ac_arg'"
1901 if test $ac_must_keep_next = true; then
1902 ac_must_keep_next=false # Got value, back to normal.
1905 *=* | --config-cache | -C | -disable-* | --disable-* \
1906 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1907 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1908 | -with-* | --with-* | -without-* | --without-* | --x)
1909 case "$ac_configure_args0 " in
1910 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1913 -* ) ac_must_keep_next=true ;;
1916 as_fn_append ac_configure_args " '$ac_arg'"
1921 { ac_configure_args0=; unset ac_configure_args0;}
1922 { ac_configure_args1=; unset ac_configure_args1;}
1924 # When interrupted or exit'd, cleanup temporary files, and complete
1925 # config.log. We remove comments because anyway the quotes in there
1926 # would cause problems or look ugly.
1927 # WARNING: Use '\'' to represent an apostrophe within the trap.
1928 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1929 trap 'exit_status=$?
1930 # Save into config.log some information that might help in debugging.
1935 ## ---------------- ##
1936 ## Cache variables. ##
1937 ## ---------------- ##
1940 # The following way of writing the cache mishandles newlines in values,
1942 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1943 eval ac_val=\$$ac_var
1947 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1948 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1951 _ | IFS | as_nl) ;; #(
1952 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1953 *) { eval $ac_var=; unset $ac_var;} ;;
1958 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1959 *${as_nl}ac_space=\ *)
1961 "s/'\''/'\''\\\\'\'''\''/g;
1962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1973 ## ----------------- ##
1974 ## Output variables. ##
1975 ## ----------------- ##
1978 for ac_var in $ac_subst_vars
1980 eval ac_val=\$$ac_var
1982 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 $as_echo "$ac_var='\''$ac_val'\''"
1988 if test -n "$ac_subst_files"; then
1990 ## ------------------- ##
1991 ## File substitutions. ##
1992 ## ------------------- ##
1995 for ac_var in $ac_subst_files
1997 eval ac_val=\$$ac_var
1999 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2001 $as_echo "$ac_var='\''$ac_val'\''"
2006 if test -s confdefs.h; then
2016 test "$ac_signal" != 0 &&
2017 $as_echo "$as_me: caught signal $ac_signal"
2018 $as_echo "$as_me: exit $exit_status"
2020 rm -f core *.core core.conftest.* &&
2021 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2024 for ac_signal in 1 2 13 15; do
2025 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2030 rm -f -r conftest* confdefs.h
2032 $as_echo "/* confdefs.h */" > confdefs.h
2034 # Predefined preprocessor variables.
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_NAME "$PACKAGE_NAME"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_STRING "$PACKAGE_STRING"
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_URL "$PACKAGE_URL"
2061 # Let the site file select an alternate cache file if it wants to.
2062 # Prefer an explicitly selected file to automatically selected ones.
2065 if test -n "$CONFIG_SITE"; then
2066 ac_site_file1=$CONFIG_SITE
2067 elif test "x$prefix" != xNONE; then
2068 ac_site_file1=$prefix/share/config.site
2069 ac_site_file2=$prefix/etc/config.site
2071 ac_site_file1=$ac_default_prefix/share/config.site
2072 ac_site_file2=$ac_default_prefix/etc/config.site
2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2076 test "x$ac_site_file" = xNONE && continue
2077 if test -r "$ac_site_file"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2080 sed 's/^/| /' "$ac_site_file" >&5
2085 if test -r "$cache_file"; then
2086 # Some versions of bash will fail to source /dev/null (special
2087 # files actually), so we avoid doing that.
2088 if test -f "$cache_file"; then
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2090 $as_echo "$as_me: loading cache $cache_file" >&6;}
2092 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2093 *) . "./$cache_file";;
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2098 $as_echo "$as_me: creating cache $cache_file" >&6;}
2102 # Check that the precious variables saved in the cache have kept the same
2104 ac_cache_corrupted=false
2105 for ac_var in $ac_precious_vars; do
2106 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2107 eval ac_new_set=\$ac_env_${ac_var}_set
2108 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2109 eval ac_new_val=\$ac_env_${ac_var}_value
2110 case $ac_old_set,$ac_new_set in
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2113 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2114 ac_cache_corrupted=: ;;
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2117 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2118 ac_cache_corrupted=: ;;
2121 if test "x$ac_old_val" != "x$ac_new_val"; then
2122 # differences in whitespace do not lead to failure.
2123 ac_old_val_w=`echo x
$ac_old_val`
2124 ac_new_val_w=`echo x
$ac_new_val`
2125 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2128 ac_cache_corrupted=:
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2132 eval $ac_var=\$ac_old_val
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2135 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2137 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2140 # Pass precious variables to config.status.
2141 if test "$ac_new_set" = set; then
2143 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2144 *) ac_arg=$ac_var=$ac_new_val ;;
2146 case " $ac_configure_args " in
2147 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2148 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2152 if $ac_cache_corrupted; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2157 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2159 ## -------------------- ##
2160 ## Main body of script. ##
2161 ## -------------------- ##
2164 ac_cpp='$CPP $CPPFLAGS'
2165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2178 # if PWD already has a value, it is probably wrong.
2179 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2181 # Export original configure arguments for use by sub-configures.
2182 # Quote arguments with shell meta charatcers.
2183 TOPLEVEL_CONFIGURE_ARGUMENTS=
2184 set -- "$progname" "$@"
2188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2189 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2190 # if the argument is of the form -foo=baz, quote the baz part only
2191 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2194 # Add the quoted argument to the list.
2195 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2197 if test "$silent" = yes; then
2198 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2200 # Remove the initial space we just introduced and, as these will be
2201 # expanded by make, quote '$'.
2202 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2205 # Find the build, host, and target systems.
2207 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2208 for ac_t in install-sh install.sh shtool; do
2209 if test -f "$ac_dir/$ac_t"; then
2211 ac_install_sh="$ac_aux_dir/$ac_t -c"
2216 if test -z "$ac_aux_dir"; then
2217 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2220 # These three variables are undocumented and unsupported,
2221 # and are intended to be withdrawn in a future Autoconf release.
2222 # They can cause serious problems if a builder's source tree is in a directory
2223 # whose full name contains unusual characters.
2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2226 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2229 # Make sure we can run config.sub.
2230 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2231 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2234 $as_echo_n "checking build system type... " >&6; }
2235 if test "${ac_cv_build+set}" = set; then :
2236 $as_echo_n "(cached) " >&6
2238 ac_build_alias=$build_alias
2239 test "x$ac_build_alias" = x &&
2240 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2241 test "x$ac_build_alias" = x &&
2242 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2243 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2244 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2248 $as_echo "$ac_cv_build" >&6; }
2249 case $ac_cv_build in
2251 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2254 ac_save_IFS=$IFS; IFS='-'
2260 # Remember, the first character of IFS is used to create $*,
2261 # except with old shells:
2264 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2267 case ${build_alias} in
2268 "") build_noncanonical=${build} ;;
2269 *) build_noncanonical=${build_alias} ;;
2274 case ${host_alias} in
2275 "") host_noncanonical=${build_noncanonical} ;;
2276 *) host_noncanonical=${host_alias} ;;
2281 case ${target_alias} in
2282 "") target_noncanonical=${host_noncanonical} ;;
2283 *) target_noncanonical=${target_alias} ;;
2289 test "$host_noncanonical" = "$target_noncanonical" &&
2290 test "$program_prefix$program_suffix$program_transform_name" = \
2292 program_transform_name=s,y,y,
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2295 $as_echo_n "checking host system type... " >&6; }
2296 if test "${ac_cv_host+set}" = set; then :
2297 $as_echo_n "(cached) " >&6
2299 if test "x$host_alias" = x; then
2300 ac_cv_host=$ac_cv_build
2302 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2303 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2308 $as_echo "$ac_cv_host" >&6; }
2311 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2314 ac_save_IFS=$IFS; IFS='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2328 $as_echo_n "checking target system type... " >&6; }
2329 if test "${ac_cv_target+set}" = set; then :
2330 $as_echo_n "(cached) " >&6
2332 if test "x$target_alias" = x; then
2333 ac_cv_target=$ac_cv_host
2335 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2336 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2341 $as_echo "$ac_cv_target" >&6; }
2342 case $ac_cv_target in
2344 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2346 target=$ac_cv_target
2347 ac_save_IFS=$IFS; IFS='-'
2353 # Remember, the first character of IFS is used to create $*,
2354 # except with old shells:
2357 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2360 # The aliases save the names the user supplied, while $host etc.
2361 # will get canonicalized.
2362 test -n "$target_alias" &&
2363 test "$program_prefix$program_suffix$program_transform_name" = \
2365 program_prefix=${target_alias}-
2367 test "$program_prefix" != NONE &&
2368 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2369 # Use a double $ so make ignores it.
2370 test "$program_suffix" != NONE &&
2371 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2372 # Double any \ or $.
2373 # By default was `s
,x
,x
', remove it if useless.
2374 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2375 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2379 # Get 'install' or 'install-sh
' and its variants.
2380 # Find a good install program. We prefer a C program (faster),
2381 # so one script is as good as another. But avoid the broken or
2382 # incompatible versions:
2383 # SysV /etc/install, /usr/sbin/install
2384 # SunOS /usr/etc/install
2385 # IRIX /sbin/install
2387 # AmigaOS /C/install, which installs bootblocks on floppy discs
2388 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2389 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2390 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2391 # OS/2's system install, which has a completely different semantic
2392 # ./install, which can be erroneously created by make from ./install.sh.
2393 # Reject install programs that cannot install multiple files.
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2395 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2396 if test -z "$INSTALL"; then
2397 if test "${ac_cv_path_install+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir
=.
2405 # Account for people who put trailing slashes in PATH elements.
2406 case $as_dir/ in #((
2407 .
/ | .
// |
/[cC
]/* | \
2408 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2409 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2412 # OSF1 and SCO ODT 3.0 have their own names for install.
2413 # Don't use installbsd from OSF since it installs stuff as root
2415 for ac_prog
in ginstall scoinst
install; do
2416 for ac_exec_ext
in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2418 if test $ac_prog = install &&
2419 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2420 # AIX install. It has an incompatible calling convention.
2422 elif test $ac_prog = install &&
2423 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2424 # program-specific install script used by HP pwplus--don't use.
2427 rm -rf conftest.one conftest.two conftest.dir
2428 echo one
> conftest.one
2429 echo two
> conftest.two
2431 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2432 test -s conftest.one
&& test -s conftest.two
&&
2433 test -s conftest.dir
/conftest.one
&&
2434 test -s conftest.dir
/conftest.two
2436 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2449 rm -rf conftest.one conftest.two conftest.dir
2452 if test "${ac_cv_path_install+set}" = set; then
2453 INSTALL
=$ac_cv_path_install
2455 # As a last resort, use the slow shell script. Don't cache a
2456 # value for INSTALL within a source directory, because that will
2457 # break other packages using the cache if that directory is
2458 # removed, or if the value is a relative name.
2459 INSTALL
=$ac_install_sh
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2463 $as_echo "$INSTALL" >&6; }
2465 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2466 # It thinks the first close brace ends the variable substitution.
2467 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2469 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2471 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2474 $as_echo_n "checking whether ln works... " >&6; }
2475 if test "${acx_cv_prog_LN+set}" = set; then :
2476 $as_echo_n "(cached) " >&6
2478 rm -f conftestdata_t
2479 echo >conftestdata_f
2480 if ln conftestdata_f conftestdata_t
2>/dev
/null
2486 rm -f conftestdata_f conftestdata_t
2489 if test $acx_cv_prog_LN = no
; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2492 $as_echo "no, using $LN" >&6; }
2494 LN
="$acx_cv_prog_LN"
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2496 $as_echo "yes" >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2500 $as_echo_n "checking whether ln -s works... " >&6; }
2502 if test "$LN_S" = "ln -s"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2507 $as_echo "no, using $LN_S" >&6; }
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2511 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2512 if test "${ac_cv_path_SED+set}" = set; then :
2513 $as_echo_n "(cached) " >&6
2515 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2516 for ac_i
in 1 2 3 4 5 6 7; do
2517 ac_script
="$ac_script$as_nl$ac_script"
2519 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2520 { ac_script
=; unset ac_script
;}
2521 if test -z "$SED"; then
2522 ac_path_SED_found
=false
2523 # Loop through the user's path and test for each of PROGNAME-LIST
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_prog
in sed gsed
; do
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2532 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2533 # Check for GNU ac_path_SED and select it if it is found.
2534 # Check for GNU $ac_path_SED
2535 case `"$ac_path_SED" --version 2>&1` in
2537 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2540 $as_echo_n 0123456789 >"conftest.in"
2543 cat "conftest.in" "conftest.in" >"conftest.tmp"
2544 mv "conftest.tmp" "conftest.in"
2545 cp "conftest.in" "conftest.nl"
2546 $as_echo '' >> "conftest.nl"
2547 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2548 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2549 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2550 if test $ac_count -gt ${ac_path_SED_max-0}; then
2551 # Best one so far, save it but keep looking for a better one
2552 ac_cv_path_SED
="$ac_path_SED"
2553 ac_path_SED_max
=$ac_count
2555 # 10*(2^10) chars as input seems more than enough
2556 test $ac_count -gt 10 && break
2558 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2561 $ac_path_SED_found && break 3
2566 if test -z "$ac_cv_path_SED"; then
2567 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2575 $as_echo "$ac_cv_path_SED" >&6; }
2576 SED
="$ac_cv_path_SED"
2579 for ac_prog
in gawk mawk nawk
awk
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy
$ac_prog; ac_word
=$2
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if test "${ac_cv_prog_AWK+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$AWK"; then
2589 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir
=.
2596 for ac_exec_ext
in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_AWK
="$ac_prog"
2599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 if test -n "$AWK"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2611 $as_echo "$AWK" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2618 test -n "$AWK" && break
2622 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2624 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2626 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2627 INSTALL
="${srcpwd}/install-sh -c"
2630 # Set srcdir to "." if that's what it is.
2631 # This is important for multilib support.
2633 if test "${pwd}" = "${srcpwd}" ; then
2641 ### To add a new directory to the tree, first choose whether it is a target
2642 ### or a host dependent tool. Then put it into the appropriate list
2643 ### (library or tools, host or target), doing a dependency sort.
2645 # Subdirs will be configured in the order listed in build_configdirs,
2646 # configdirs, or target_configdirs; see the serialization section below.
2648 # Dependency sorting is only needed when *configuration* must be done in
2649 # a particular order. In all cases a dependency should be specified in
2650 # the Makefile, whether or not it's implicitly specified here.
2652 # Double entries in build_configdirs, configdirs, or target_configdirs may
2653 # cause circular dependencies and break everything horribly.
2655 # these library is used by various programs built for the build
2658 build_libs
="build-libiberty"
2660 # these tools are built for the build environment
2661 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2663 # these libraries are used by various programs built for the host environment
2665 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2667 # these tools are built for the host environment
2668 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2669 # know that we are building the simulator.
2670 # binutils, gas and ld appear in that order because it makes sense to run
2671 # "make check" in that particular order.
2672 # If --enable-gold is used, "gold" may replace "ld".
2673 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2675 # libgcj represents the runtime libraries only used by gcj.
2676 libgcj
="target-libffi \
2680 # these libraries are built for the target environment, and are built after
2681 # the host libraries and the host tools (which may be a cross compiler)
2682 # Note that libiberty is not a target library.
2683 target_libraries
="target-libgcc \
2689 target-libstdc++-v3 \
2692 target-libquadmath \
2693 target-libgfortran \
2700 # these tools are built using the target libraries, and are intended to
2701 # run only in the target environment
2703 # note: any program that *uses* libraries that are in the "target_libraries"
2704 # list belongs in this list.
2706 target_tools
="target-rda"
2708 ################################################################################
2710 ## All tools belong in one of the four categories, and are assigned above
2711 ## We assign ${configdirs} this way to remove all embedded newlines. This
2712 ## is important because configure will choke if they ever get through.
2713 ## ${configdirs} is directories we build using the host tools.
2714 ## ${target_configdirs} is directories we build using the target tools.
2715 configdirs
=`echo ${host_libs} ${host_tools}`
2716 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2717 build_configdirs
=`echo ${build_libs} ${build_tools}`
2721 ################################################################################
2723 srcname
="gnu development package"
2725 # This gets set non-empty for some net releases of packages.
2728 # Define is_cross_compiler to save on calls to 'test'.
2730 if test x
"${host}" = x
"${target}" ; then
2731 is_cross_compiler
=no
2733 is_cross_compiler
=yes
2736 # Find the build and target subdir names.
2738 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2739 # have matching libraries, they should use host libraries: Makefile.tpl
2740 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2741 # However, they still use the build modules, because the corresponding
2742 # host modules (e.g. bison) are only built for the host when bootstrap
2744 # - build_subdir is where we find build modules, and never changes.
2745 # - build_libsubdir is where we find build libraries, and can be overridden.
2747 # Prefix 'build-' so this never conflicts with target_subdir.
2748 build_subdir
="build-${build_noncanonical}"
2750 # Check whether --with-build-libsubdir was given.
2751 if test "${with_build_libsubdir+set}" = set; then :
2752 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2754 build_libsubdir
="$build_subdir"
2757 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2758 if ( test $srcdir = .
&& test -d gcc
) \
2759 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2760 host_subdir
="host-${host_noncanonical}"
2765 target_subdir
=${target_noncanonical}
2767 # Be sure to cover against remnants of an in-tree build.
2768 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2769 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2770 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2773 # Skipdirs are removed silently.
2775 # Noconfigdirs are removed loudly.
2779 # Make sure we don't let GNU ld be added if we didn't want it.
2780 if test x
$with_gnu_ld = xno
; then
2782 noconfigdirs
="$noconfigdirs ld gold"
2786 # Make sure we don't let GNU as be added if we didn't want it.
2787 if test x
$with_gnu_as = xno
; then
2789 noconfigdirs
="$noconfigdirs gas"
2793 # Make sure we don't let ZLIB be added if we didn't want it.
2794 if test x
$with_system_zlib = xyes
; then
2795 use_included_zlib
=no
2796 noconfigdirs
="$noconfigdirs zlib"
2799 # some tools are so dependent upon X11 that if we're not building with X,
2800 # it's not even worth trying to configure, much less build, that tool.
2803 yes |
"") ;; # the default value for this tree is that X11 is available
2805 skipdirs
="${skipdirs} tk itcl libgui"
2806 # We won't be able to build gdbtk without X.
2809 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2812 # Some are only suitable for cross toolchains.
2813 # Remove these if host=target.
2814 cross_only
="target-libgloss target-newlib target-opcodes"
2816 case $is_cross_compiler in
2817 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2820 # If both --with-headers and --with-libs are specified, default to
2822 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2823 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2824 if test x
"${with_newlib}" = x
; then
2829 # Recognize --with-newlib/--without-newlib.
2830 case ${with_newlib} in
2831 no
) skipdirs
="${skipdirs} target-newlib" ;;
2832 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2835 # Handle --enable-gold, --enable-ld.
2836 # --disable-gold [--enable-ld]
2837 # Build only ld. Default option.
2838 # --enable-gold [--enable-ld]
2839 # Build both gold and ld. Install gold as "ld.gold", install ld
2840 # as "ld.bfd" and "ld".
2841 # --enable-gold=default [--enable-ld]
2842 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2843 # install ld as "ld.bfd".
2844 # --enable-gold[=default] --disable-ld
2845 # Build only gold, which is then installed as both "ld.gold" and "ld".
2846 # --enable-gold --enable-ld=default
2847 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2849 # In other words, ld is default
2850 # --enable-gold=default --enable-ld=default
2854 # Check whether --enable-gold was given.
2855 if test "${enable_gold+set}" = set; then :
2856 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2861 case "${ENABLE_GOLD}" in
2863 # Check for ELF target.
2866 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2867 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2868 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2869 |
*-*-solaris2* |
*-*-nto*)
2871 *-*-linux*aout
* |
*-*-linux*oldld
*)
2879 if test "$is_elf" = "yes"; then
2880 # Check for target supported by gold.
2882 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2883 configdirs
="$configdirs gold"
2884 if test x
${ENABLE_GOLD} = xdefault
; then
2895 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2899 # Check whether --enable-ld was given.
2900 if test "${enable_ld+set}" = set; then :
2901 enableval
=$enable_ld; ENABLE_LD
=$enableval
2907 case "${ENABLE_LD}" in
2909 if test x
${default_ld} != x
; then
2910 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2916 if test x
${ENABLE_GOLD} != xyes
; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2918 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2920 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2923 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2927 # Configure extra directories which are host specific
2931 configdirs
="$configdirs libtermcap" ;;
2934 # A target can indicate whether a language isn't supported for some reason.
2935 # Only spaces may be used in this macro; not newlines or tabs.
2936 unsupported_languages
=
2938 # Remove more programs from consideration, based on the host or
2939 # target this usually means that a port of the program doesn't
2943 i
[3456789]86-*-msdosdjgpp*)
2944 noconfigdirs
="$noconfigdirs tcl tk itcl"
2949 # Check whether --enable-libquadmath was given.
2950 if test "${enable_libquadmath+set}" = set; then :
2951 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2953 ENABLE_LIBQUADMATH
=yes
2956 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2957 noconfigdirs
="$noconfigdirs target-libquadmath"
2961 # Check whether --enable-libquadmath-support was given.
2962 if test "${enable_libquadmath_support+set}" = set; then :
2963 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2965 ENABLE_LIBQUADMATH_SUPPORT
=yes
2968 enable_libquadmath_support
=
2969 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2970 enable_libquadmath_support
=no
2974 # Check whether --enable-libada was given.
2975 if test "${enable_libada+set}" = set; then :
2976 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2981 if test "${ENABLE_LIBADA}" != "yes" ; then
2982 noconfigdirs
="$noconfigdirs gnattools"
2985 # Check whether --enable-libssp was given.
2986 if test "${enable_libssp+set}" = set; then :
2987 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2993 # Save it here so that, even in case of --enable-libgcj, if the Java
2994 # front-end isn't enabled, we still get libgcj disabled.
2995 libgcj_saved
=$libgcj
2996 case $enable_libgcj in
2998 # If we reset it here, it won't get added to noconfigdirs in the
2999 # target-specific build rules, so it will be forcibly enabled
3000 # (unless the Java language itself isn't enabled).
3004 # Make sure we get it printed in the list of not supported target libs.
3005 # Don't disable libffi, though, other languages use it.
3006 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3007 # Clear libgcj_saved so that even if java is enabled libffi won't be
3013 # Check whether --enable-static-libjava was given.
3014 if test "${enable_static_libjava+set}" = set; then :
3015 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3017 ENABLE_STATIC_LIBJAVA
=no
3020 enable_static_libjava
=
3021 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3022 enable_static_libjava
=yes
3025 if test x
$enable_static_libjava != xyes
; then
3026 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3030 # Disable libmudflap on some systems.
3031 if test x
$enable_libmudflap = x
; then
3033 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3034 # Enable libmudflap by default in GNU and friends.
3037 # Enable libmudflap by default in FreeBSD.
3040 # Disable it by default everywhere else.
3041 noconfigdirs
="$noconfigdirs target-libmudflap"
3046 # Disable libgomp on non POSIX hosted systems.
3047 if test x
$enable_libgomp = x
; then
3048 # Enable libgomp by default on hosted POSIX systems.
3050 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3052 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3054 *-*-solaris2* |
*-*-hpux11*)
3056 *-*-darwin* |
*-*-aix*)
3059 noconfigdirs
="$noconfigdirs target-libgomp"
3064 # Disable libatomic on unsupported systems.
3065 if test -d ${srcdir}/libatomic
; then
3066 if test x
$enable_libatomic = x
; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3068 $as_echo_n "checking for libatomic support... " >&6; }
3069 if (srcdir
=${srcdir}/libatomic
; \
3070 .
${srcdir}/configure.tgt
; \
3071 test -n "$UNSUPPORTED")
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3075 noconfigdirs
="$noconfigdirs target-libatomic"
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3078 $as_echo "yes" >&6; }
3083 # Disable libitm on unsupported systems.
3084 if test -d ${srcdir}/libitm
; then
3085 if test x
$enable_libitm = x
; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3087 $as_echo_n "checking for libitm support... " >&6; }
3088 if (srcdir
=${srcdir}/libitm
; \
3089 .
${srcdir}/configure.tgt
; \
3090 test -n "$UNSUPPORTED")
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3094 noconfigdirs
="$noconfigdirs target-libitm"
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3097 $as_echo "yes" >&6; }
3102 # Disable libssp for some systems.
3105 # No hosted I/O support.
3106 noconfigdirs
="$noconfigdirs target-libssp"
3108 powerpc-
*-aix* | rs6000-
*-aix*)
3109 noconfigdirs
="$noconfigdirs target-libssp"
3112 # libssp uses a misaligned load to trigger a fault, but the RL78
3113 # doesn't fault for those - instead, it gives a build-time error
3114 # for explicit misaligned loads.
3115 noconfigdirs
="$noconfigdirs target-libssp"
3119 # Disable libstdc++-v3 for some systems.
3122 # VxWorks uses the Dinkumware C++ library.
3123 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3126 # the C++ libraries don't build on top of CE's C libraries
3127 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3130 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3134 # Disable Fortran for some systems.
3137 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3138 unsupported_languages
="$unsupported_languages fortran"
3142 # Disable Java if libffi is not supported.
3172 powerpc-
*-aix* | rs6000-
*-aix*)
3176 powerpc64-
*-freebsd*)
3180 s390-
*-* | s390x-
*-*)
3182 sh-
*-* | sh
[34]*-*-*)
3184 sh64-
*-* | sh5
*-*-*)
3191 unsupported_languages
="$unsupported_languages java"
3195 # Disable Java, libgcj or related libraries for some systems.
3199 i
[3456789]86-*-darwin*)
3201 x86_64-
*-darwin[912]*)
3204 noconfigdirs
="$noconfigdirs ${libgcj}"
3207 noconfigdirs
="$noconfigdirs ${libgcj}"
3210 noconfigdirs
="$noconfigdirs ${libgcj}"
3213 noconfigdirs
="$noconfigdirs ${libgcj}"
3216 noconfigdirs
="$noconfigdirs ${libgcj}"
3219 noconfigdirs
="$noconfigdirs ${libgcj}"
3222 noconfigdirs
="$noconfigdirs ${libgcj}"
3225 noconfigdirs
="$noconfigdirs ${libgcj}"
3228 noconfigdirs
="$noconfigdirs ${libgcj}"
3231 noconfigdirs
="$noconfigdirs target-boehm-gc"
3233 cris-
*-* | crisv32-
*-*)
3234 unsupported_languages
="$unsupported_languages java"
3238 *) # See PR46792 regarding target-libffi.
3239 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3243 # In this case, it's because the hppa64-linux target is for
3244 # the kernel only at this point and has no libc, and thus no
3245 # headers, crt*.o, etc., all of which are needed by these.
3246 unsupported_languages
="$unsupported_languages java"
3249 noconfigdirs
="$noconfigdirs ${libgcj}"
3254 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3255 # build on HP-UX 10.20.
3256 noconfigdirs
="$noconfigdirs ${libgcj}"
3259 noconfigdirs
="$noconfigdirs ${libgcj}"
3261 i
[3456789]86-w64-mingw*)
3262 noconfigdirs
="$noconfigdirs ${libgcj}"
3264 i
[3456789]86-*-mingw*)
3265 noconfigdirs
="$noconfigdirs ${libgcj}"
3268 noconfigdirs
="$noconfigdirs ${libgcj}"
3271 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3274 # copied from rs6000-*-* entry
3275 noconfigdirs
="$noconfigdirs ${libgcj}"
3278 noconfigdirs
="$noconfigdirs ${libgcj}"
3281 noconfigdirs
="$noconfigdirs ${libgcj}"
3285 # Default libgloss CPU subdirectory.
3286 libgloss_dir
="$target_cpu"
3289 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3295 cris-
*-* | crisv32-
*-*)
3304 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3305 libgloss_dir
=m68hc11
3307 m68
*-*-* | fido-
*-*)
3321 # Disable newlib and libgloss for various target OSes.
3324 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3326 i
[3456789]86-*-linux*)
3327 # This section makes it possible to build newlib natively on linux.
3328 # If we are using a cross compiler then don't configure newlib.
3329 if test x
${is_cross_compiler} != xno
; then
3330 noconfigdirs
="$noconfigdirs target-newlib"
3332 noconfigdirs
="$noconfigdirs target-libgloss"
3333 # If we are not using a cross compiler, do configure newlib.
3334 # Note however, that newlib will only be configured in this situation
3335 # if the --with-newlib option has been given, because otherwise
3336 # 'target-newlib' will appear in skipdirs.
3338 i
[3456789]86-*-rdos*)
3339 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3341 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3342 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3345 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3348 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3351 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3354 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3357 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3360 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3362 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3363 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3366 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3369 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3372 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3375 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3378 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3381 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3384 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3392 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3393 noconfigdirs
="$noconfigdirs sim target-rda"
3395 i
[3456789]86-*-darwin*)
3396 noconfigdirs
="$noconfigdirs ld gprof"
3397 noconfigdirs
="$noconfigdirs sim target-rda"
3399 x86_64-
*-darwin[912]*)
3400 noconfigdirs
="$noconfigdirs ld gas gprof"
3401 noconfigdirs
="$noconfigdirs sim target-rda"
3404 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3405 noconfigdirs
="$noconfigdirs sim target-rda"
3410 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3411 && test -f /usr
/local
/include
/gmp.h
; then
3416 # Remove unsupported stuff on all kaOS configurations.
3417 noconfigdirs
="$noconfigdirs target-libgloss"
3424 noconfigdirs
="$noconfigdirs target-libgloss"
3426 # The tpf target doesn't support gdb yet.
3428 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3431 noconfigdirs
="$noconfigdirs target-rda"
3436 # ld works, but does not support shared libraries.
3437 # gas doesn't generate exception information.
3438 noconfigdirs
="$noconfigdirs gas ld"
3441 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3444 # newlib is not 64 bit ready
3445 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3447 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3448 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3451 noconfigdirs
="$noconfigdirs target-libgloss"
3454 noconfigdirs
="$noconfigdirs target-libgloss"
3457 noconfigdirs
="$noconfigdirs ld target-libgloss"
3459 c4x-
*-* | tic4x-
*-*)
3460 noconfigdirs
="$noconfigdirs target-libgloss"
3463 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3466 noconfigdirs
="$noconfigdirs target-libgloss"
3469 noconfigdirs
="$noconfigdirs gdb"
3472 noconfigdirs
="$noconfigdirs gdb"
3475 noconfigdirs
="$noconfigdirs gprof"
3478 noconfigdirs
="$noconfigdirs target-libgloss"
3481 noconfigdirs
="$noconfigdirs target-libgloss"
3483 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3491 hppa
*-*-openbsd* | \
3495 noconfigdirs
="$noconfigdirs ld"
3500 noconfigdirs
="$noconfigdirs ld"
3503 noconfigdirs
="$noconfigdirs gdb"
3506 # No gdb support yet.
3507 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3510 # No ld support yet.
3511 noconfigdirs
="$noconfigdirs libgui itcl ld"
3514 # No ld support yet.
3515 noconfigdirs
="$noconfigdirs libgui itcl ld"
3517 i
[3456789]86-w64-mingw*)
3519 i
[3456789]86-*-mingw*)
3520 target_configdirs
="$target_configdirs target-winsup"
3523 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3524 noconfigdirs
="$noconfigdirs target-libgloss"
3525 # always build newlib if winsup directory is present.
3526 if test -d "$srcdir/winsup/cygwin"; then
3527 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3528 elif test -d "$srcdir/newlib"; then
3529 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3533 noconfigdirs
="$noconfigdirs target-libgloss"
3535 i
[3456789]86-*-sco3.2v5
*)
3536 # The linker does not yet know about weak symbols in COFF,
3537 # and is not configured to handle mixed ELF and COFF.
3538 noconfigdirs
="$noconfigdirs ld target-libgloss"
3540 i
[3456789]86-*-sco*)
3541 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3543 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3544 noconfigdirs
="$noconfigdirs target-libgloss"
3546 i
[3456789]86-*-sysv4*)
3547 noconfigdirs
="$noconfigdirs target-libgloss"
3549 i
[3456789]86-*-beos*)
3550 noconfigdirs
="$noconfigdirs gdb"
3552 i
[3456789]86-*-rdos*)
3553 noconfigdirs
="$noconfigdirs gdb"
3556 noconfigdirs
="$noconfigdirs gdb"
3559 noconfigdirs
="$noconfigdirs sim"
3562 # copied from rs6000-*-* entry
3563 noconfigdirs
="$noconfigdirs gprof"
3565 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3566 target_configdirs
="$target_configdirs target-winsup"
3567 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3568 # always build newlib.
3569 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3571 # This is temporary until we can link against shared libraries
3572 powerpcle-
*-solaris*)
3573 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3576 noconfigdirs
="$noconfigdirs gdb"
3579 noconfigdirs
="$noconfigdirs gprof"
3582 noconfigdirs
="$noconfigdirs gprof"
3585 noconfigdirs
="$noconfigdirs gprof"
3588 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3591 noconfigdirs
="$noconfigdirs gprof"
3594 if test x
$with_newlib = xyes
; then
3595 noconfigdirs
="$noconfigdirs gprof"
3599 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3602 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3605 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3610 noconfigdirs
="$noconfigdirs gprof"
3617 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3621 if test x
${is_cross_compiler} = xno
; then
3626 noconfigdirs
="$noconfigdirs sim"
3628 tilepro-
*-* | tilegx-
*-*)
3629 noconfigdirs
="$noconfigdirs sim"
3632 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3639 # If we aren't building newlib, then don't build libgloss, since libgloss
3640 # depends upon some newlib header files.
3641 case "${noconfigdirs}" in
3642 *target-libgloss
*) ;;
3643 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3646 # Work in distributions that contain no compiler tools, like Autoconf.
3647 host_makefile_frag
=/dev
/null
3648 if test -d ${srcdir}/config
; then
3650 i
[3456789]86-*-msdosdjgpp*)
3651 host_makefile_frag
="config/mh-djgpp"
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3656 $as_echo_n "checking to see if cat works as expected... " >&6; }
3657 echo a
>cygwin-cat-check
3658 if test `cat cygwin-cat-check` = a
; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 as_fn_error
"The cat command does not ignore carriage return characters.
3667 Please either mount the build directory in binary mode or run the following
3668 commands before running any configure script:
3674 host_makefile_frag
="config/mh-cygwin"
3677 host_makefile_frag
="config/mh-mingw"
3680 host_makefile_frag
="config/mh-pa-hpux10"
3683 host_makefile_frag
="config/mh-pa"
3686 host_makefile_frag
="config/mh-pa"
3689 host_makefile_frag
="config/mh-darwin"
3692 host_makefile_frag
="config/mh-ppc-aix"
3695 host_makefile_frag
="config/mh-ppc-aix"
3700 if test "${build}" != "${host}" ; then
3701 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3702 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3703 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3704 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3705 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3706 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3707 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3708 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3709 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3710 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3711 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3712 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3713 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3715 AR_FOR_BUILD
="\$(AR)"
3716 AS_FOR_BUILD
="\$(AS)"
3717 CC_FOR_BUILD
="\$(CC)"
3718 CXX_FOR_BUILD
="\$(CXX)"
3719 GCJ_FOR_BUILD
="\$(GCJ)"
3720 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3721 GOC_FOR_BUILD
="\$(GOC)"
3722 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3723 LD_FOR_BUILD
="\$(LD)"
3724 NM_FOR_BUILD
="\$(NM)"
3725 RANLIB_FOR_BUILD
="\$(RANLIB)"
3726 WINDRES_FOR_BUILD
="\$(WINDRES)"
3727 WINDMC_FOR_BUILD
="\$(WINDMC)"
3731 ac_cpp
='$CPP $CPPFLAGS'
3732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3737 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC
="$CC" # Let the user override the test.
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_exec_ext
in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$ac_cv_prog_CC"; then
3776 # Extract the first word of "gcc", so it can be a program name with args.
3777 set dummy gcc
; ac_word
=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC
="gcc"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3812 if test "x$ac_ct_CC" = x
; then
3815 case $cross_compiling:$ac_tool_warned in
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned
=yes ;;
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3830 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_CC+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC
="$CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3868 if test -z "$CC"; then
3869 # Extract the first word of "cc", so it can be a program name with args.
3870 set dummy cc
; ac_word
=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC
="$CC" # Let the user override the test.
3880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir
=.
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3888 ac_prog_rejected
=yes
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 if test $ac_prog_rejected = yes; then
3900 # We found a bogon in the path, so make sure we never use it.
3901 set dummy
$ac_cv_prog_CC
3903 if test $# != 0; then
3904 # We chose a different compiler from the bogus one.
3905 # However, it has the same basename, so the bogon will be chosen
3906 # first if we set CC to just the basename; use the full file name.
3908 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3914 if test -n "$CC"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3916 $as_echo "$CC" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3924 if test -z "$CC"; then
3925 if test -n "$ac_tool_prefix"; then
3926 for ac_prog
in cl.exe
3928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3929 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if test "${ac_cv_prog_CC+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC
="$CC" # Let the user override the test.
3938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir
=.
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 if test -n "$CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3958 $as_echo "$CC" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3965 test -n "$CC" && break
3968 if test -z "$CC"; then
3970 for ac_prog
in cl.exe
3972 # Extract the first word of "$ac_prog", so it can be a program name with args.
3973 set dummy
$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_ac_ct_CC+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$ac_ct_CC"; then
3980 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4000 if test -n "$ac_ct_CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4002 $as_echo "$ac_ct_CC" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$ac_ct_CC" && break
4012 if test "x$ac_ct_CC" = x
; then
4015 case $cross_compiling:$ac_tool_warned in
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4019 ac_tool_warned
=yes ;;
4028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error
"no acceptable C compiler found in \$PATH
4031 See \`config.log' for more details." "$LINENO" 5; }
4033 # Provide some information about the compiler.
4034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4037 for ac_option
in --version -v -V -qversion; do
4038 { { ac_try
="$ac_compiler $ac_option >&5"
4040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4047 if test -s conftest.err; then
4049 ... rest of stderr output deleted ...
4050 10q' conftest.err >conftest.er1
4051 cat conftest.er1 >&5
4052 rm -f conftest.er1 conftest.err
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 ac_clean_files_save=$ac_clean_files
4070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4071 # Try to create an executable without -o first, disregard a.out.
4072 # It will help us diagnose broken compilers, and finding out an intuition
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4075 $as_echo_n "checking for C compiler default output file name... " >&6; }
4076 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4078 # The possible output files:
4079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4082 for ac_file in $ac_files
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4091 if { { ac_try="$ac_link_default"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_link_default") 2>&5
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; then :
4102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4105 # so that the user can short-circuit this test for compilers unknown to
4107 for ac_file
in $ac_files ''
4109 test -f "$ac_file" ||
continue
4111 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4114 # We found the default executable, but exeext='' is most
4118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4120 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4122 # We set ac_cv_exeext here because the later test for it is not
4123 # safe: cross compilers may not add the suffix if given an `-o'
4124 # argument, so we may need to know it at that point already.
4125 # Even if this section looks crufty: it has the advantage of
4132 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4138 $as_echo "$ac_file" >&6; }
4139 if test -z "$ac_file"; then :
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.
$ac_ext >&5
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 { as_fn_set_status
77
4146 as_fn_error
"C compiler cannot create executables
4147 See \`config.log' for more details." "$LINENO" 5; }; }
4149 ac_exeext
=$ac_cv_exeext
4151 # Check that the compiler produces executables we can run. If not, either
4152 # the compiler is broken, or we cross compile.
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4154 $as_echo_n "checking whether the C compiler works... " >&6; }
4155 # If not cross compiling, check that we can run a simple program.
4156 if test "$cross_compiling" != yes; then
4157 if { ac_try
='./$ac_file'
4158 { { case "(($ac_try" in
4159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_try") 2>&5
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; }; then
4170 if test "$cross_compiling" = maybe; then
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error "cannot run C compiled programs.
4176 If you meant to cross compile
, use \
`--host'.
4177 See \`config.log
' for more details." "$LINENO" 5; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4182 $as_echo "yes" >&6; }
4184 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4185 ac_clean_files=$ac_clean_files_save
4186 # Check that the compiler produces executables we can run. If not, either
4187 # the compiler is broken, or we cross compile.
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4189 $as_echo_n "checking whether we are cross compiling... " >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4191 $as_echo "$cross_compiling" >&6; }
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4194 $as_echo_n "checking for suffix of executables... " >&6; }
4195 if { { ac_try="$ac_link"
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4201 $as_echo "$ac_try_echo"; } >&5
4202 (eval "$ac_link") 2>&5
4204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4205 test $ac_status = 0; }; then :
4206 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4207 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4208 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4210 for ac_file
in conftest.exe conftest conftest.
*; do
4211 test -f "$ac_file" ||
continue
4213 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4214 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4222 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4223 See \`config.log' for more details." "$LINENO" 5; }
4225 rm -f conftest
$ac_cv_exeext
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4227 $as_echo "$ac_cv_exeext" >&6; }
4229 rm -f conftest.
$ac_ext
4230 EXEEXT
=$ac_cv_exeext
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4233 $as_echo_n "checking for suffix of object files... " >&6; }
4234 if test "${ac_cv_objext+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 rm -f conftest.o conftest.obj
4249 if { { ac_try
="$ac_compile"
4251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compile") 2>&5
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }; then :
4260 for ac_file in conftest.o conftest.obj conftest.*; do
4261 test -f "$ac_file" || continue;
4263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4264 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4269 $as_echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.$ac_ext >&5
4272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274 as_fn_error "cannot compute suffix of object files
: cannot compile
4275 See \
`config.log' for more details." "$LINENO" 5; }
4277 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4280 $as_echo "$ac_cv_objext" >&6; }
4281 OBJEXT=$ac_cv_objext
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4284 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4285 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4302 if ac_fn_c_try_compile "$LINENO"; then :
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4312 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4313 if test $ac_compiler_gnu = yes; then
4318 ac_test_CFLAGS=${CFLAGS+set}
4319 ac_save_CFLAGS=$CFLAGS
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4321 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4322 if test "${ac_cv_prog_cc_g+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 ac_save_c_werror_flag=$ac_c_werror_flag
4326 ac_c_werror_flag=yes
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4340 if ac_fn_c_try_compile "$LINENO"; then :
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4355 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_c_werror_flag=$ac_save_c_werror_flag
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4371 if ac_fn_c_try_compile "$LINENO"; then :
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4379 ac_c_werror_flag=$ac_save_c_werror_flag
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4382 $as_echo "$ac_cv_prog_cc_g" >&6; }
4383 if test "$ac_test_CFLAGS" = set; then
4384 CFLAGS=$ac_save_CFLAGS
4385 elif test $ac_cv_prog_cc_g = yes; then
4386 if test "$GCC" = yes; then
4392 if test "$GCC" = yes; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4399 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4400 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 ac_cv_prog_cc_c89=no
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4409 #include <sys/types.h>
4410 #include <sys/stat.h>
4411 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4412 struct buf { int x; };
4413 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4414 static char *e (p, i)
4420 static char *f (char * (*g) (char **, int), char **p, ...)
4425 s = g (p, va_arg (v,int));
4430 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4431 function prototypes and stuff, but not '\xHH' hex character constants.
4432 These don't provoke an error unfortunately, instead are silently treated
4433 as 'x'. The following induces an error, until -std is added to get
4434 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4435 array size at least. It's necessary to write '\x00'==0 to get something
4436 that's true only with -std. */
4437 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4439 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4440 inside strings and character constants. */
4442 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4444 int test (int i, double x);
4445 struct s1 {int (*f) (int a);};
4446 struct s2 {int (*f) (double a);};
4447 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4453 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4458 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4459 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4461 CC="$ac_save_CC $ac_arg"
4462 if ac_fn_c_try_compile "$LINENO"; then :
4463 ac_cv_prog_cc_c89=$ac_arg
4465 rm -f core conftest.err conftest.$ac_objext
4466 test "x$ac_cv_prog_cc_c89" != "xno" && break
4468 rm -f conftest.$ac_ext
4473 case "x$ac_cv_prog_cc_c89" in
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4476 $as_echo "none needed" >&6; } ;;
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4479 $as_echo "unsupported" >&6; } ;;
4481 CC="$CC $ac_cv_prog_cc_c89"
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4483 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4485 if test "x$ac_cv_prog_cc_c89" != xno; then :
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4496 ac_cpp='$CXXCPP $CPPFLAGS'
4497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4500 if test -z "$CXX"; then
4501 if test -n "$CCC"; then
4504 if test -n "$ac_tool_prefix"; then
4505 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if test "${ac_cv_prog_CXX+set}" = set; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$CXX"; then
4515 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 if test -n "$CXX"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4537 $as_echo "$CXX" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$CXX" && break
4547 if test -z "$CXX"; 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_prog", so it can be a program name with args.
4552 set dummy $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_ac_ct_CXX+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$ac_ct_CXX"; then
4559 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4579 if test -n "$ac_ct_CXX"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4581 $as_echo "$ac_ct_CXX" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 test -n "$ac_ct_CXX" && break
4591 if test "x$ac_ct_CXX" = x; then
4594 case $cross_compiling:$ac_tool_warned in
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4598 ac_tool_warned=yes ;;
4606 # Provide some information about the compiler.
4607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4610 for ac_option in --version -v -V -qversion; do
4611 { { ac_try="$ac_compiler $ac_option >&5"
4613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4614 *) ac_try_echo
=$ac_try;;
4616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4617 $as_echo "$ac_try_echo"; } >&5
4618 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4620 if test -s conftest.err
; then
4622 ... rest of stderr output deleted ...
4623 10q' conftest.err
>conftest.er1
4624 cat conftest.er1
>&5
4625 rm -f conftest.er1 conftest.err
4627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4628 test $ac_status = 0; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4632 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4633 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4634 $as_echo_n "(cached) " >&6
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4650 if ac_fn_cxx_try_compile
"$LINENO"; then :
4655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4656 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4660 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4661 if test $ac_compiler_gnu = yes; then
4666 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4667 ac_save_CXXFLAGS
=$CXXFLAGS
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4669 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4670 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4671 $as_echo_n "(cached) " >&6
4673 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4674 ac_cxx_werror_flag
=yes
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4688 if ac_fn_cxx_try_compile
"$LINENO"; then :
4689 ac_cv_prog_cxx_g
=yes
4692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4703 if ac_fn_cxx_try_compile
"$LINENO"; then :
4706 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4719 if ac_fn_cxx_try_compile
"$LINENO"; then :
4720 ac_cv_prog_cxx_g
=yes
4722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4727 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4730 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4731 if test "$ac_test_CXXFLAGS" = set; then
4732 CXXFLAGS
=$ac_save_CXXFLAGS
4733 elif test $ac_cv_prog_cxx_g = yes; then
4734 if test "$GXX" = yes; then
4740 if test "$GXX" = yes; then
4747 ac_cpp
='$CPP $CPPFLAGS'
4748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4753 # We must set the default linker to the linker used by gcc for the correct
4754 # operation of libtool. If LD is not defined and we are using gcc, try to
4755 # set the LD default to the ld used by gcc.
4756 if test -z "$LD"; then
4757 if test "$GCC" = yes; then
4760 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4762 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4764 case $gcc_prog_ld in
4765 # Accept absolute paths.
4766 [\\/]* |
[A-Za-z
]:[\\/]*)
4767 LD
="$gcc_prog_ld" ;;
4775 if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4777 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$GNATBIND"; then
4784 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 GNATBIND
=$ac_cv_prog_GNATBIND
4804 if test -n "$GNATBIND"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4806 $as_echo "$GNATBIND" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4814 if test -z "$ac_cv_prog_GNATBIND"; then
4815 ac_ct_GNATBIND
=$GNATBIND
4816 # Extract the first word of "gnatbind", so it can be a program name with args.
4817 set dummy gnatbind
; ac_word
=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4821 $as_echo_n "(cached) " >&6
4823 if test -n "$ac_ct_GNATBIND"; then
4824 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir
=.
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4833 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4844 if test -n "$ac_ct_GNATBIND"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4846 $as_echo "$ac_ct_GNATBIND" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4852 if test "x$ac_ct_GNATBIND" = x
; then
4855 case $cross_compiling:$ac_tool_warned in
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned
=yes ;;
4861 GNATBIND
=$ac_ct_GNATBIND
4864 GNATBIND
="$ac_cv_prog_GNATBIND"
4867 if test -n "$ac_tool_prefix"; then
4868 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4869 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$GNATMAKE"; then
4876 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 GNATMAKE
=$ac_cv_prog_GNATMAKE
4896 if test -n "$GNATMAKE"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4898 $as_echo "$GNATMAKE" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4906 if test -z "$ac_cv_prog_GNATMAKE"; then
4907 ac_ct_GNATMAKE
=$GNATMAKE
4908 # Extract the first word of "gnatmake", so it can be a program name with args.
4909 set dummy gnatmake
; ac_word
=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$ac_ct_GNATMAKE"; then
4916 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir
=.
4923 for ac_exec_ext
in '' $ac_executable_extensions; do
4924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4936 if test -n "$ac_ct_GNATMAKE"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4938 $as_echo "$ac_ct_GNATMAKE" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4944 if test "x$ac_ct_GNATMAKE" = x
; then
4947 case $cross_compiling:$ac_tool_warned in
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4951 ac_tool_warned
=yes ;;
4953 GNATMAKE
=$ac_ct_GNATMAKE
4956 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4960 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4961 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4962 $as_echo_n "(cached) " >&6
4964 cat >conftest.adb
<<EOF
4965 procedure conftest is begin null; end conftest;
4967 acx_cv_cc_gcc_supports_ada
=no
4968 # There is a bug in old released versions of GCC which causes the
4969 # driver to exit successfully when the appropriate language module
4970 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4971 # Therefore we must check for the error message as well as an
4972 # unsuccessful exit.
4973 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4974 # given a .adb file, but produce no object file. So we must check
4975 # if an object file was really produced to guard against this.
4976 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4977 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4978 acx_cv_cc_gcc_supports_ada
=yes
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4983 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4985 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4992 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4993 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4994 $as_echo_n "(cached) " >&6
4998 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4999 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5000 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5003 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5006 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5007 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5010 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5017 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5018 do_compare
="$gcc_cv_prog_cmp_skip"
5022 # Check whether --enable-bootstrap was given.
5023 if test "${enable_bootstrap+set}" = set; then :
5024 enableval
=$enable_bootstrap;
5026 enable_bootstrap
=default
5030 # Issue errors and warnings for invalid/strange bootstrap combinations.
5031 if test -r $srcdir/gcc
/configure
; then
5037 case "$have_compiler:$host:$target:$enable_bootstrap" in
5040 # Default behavior. Enable bootstrap if we have a compiler
5041 # and we are in a native configuration.
5042 yes:$build:$build:default
)
5043 enable_bootstrap
=yes ;;
5046 enable_bootstrap
=no
;;
5048 # We have a compiler and we are in a native configuration, bootstrap is ok
5049 yes:$build:$build:yes)
5052 # Other configurations, but we have a compiler. Assume the user knows
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5056 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5059 # No compiler: if they passed --enable-bootstrap explicitly, fail
5061 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5063 # Fail if wrong command line
5065 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5069 # See if we are building gcc with C++.
5070 # Check whether --enable-build-with-cxx was given.
5071 if test "${enable_build_with_cxx+set}" = set; then :
5072 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5074 ENABLE_BUILD_WITH_CXX
=no
5078 # Build stage1 with C and build stages 2 and 3 with C++.
5079 # Check whether --enable-build-poststage1-with-cxx was given.
5080 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5081 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5083 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5087 # Used for setting $lt_cv_objdir
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5089 $as_echo_n "checking for objdir... " >&6; }
5090 if test "${lt_cv_objdir+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5093 rm -f .libs
2>/dev
/null
5094 mkdir .libs
2>/dev
/null
5095 if test -d .libs
; then
5098 # MS-DOS does not allow filenames that begin with a dot.
5101 rmdir .libs
2>/dev
/null
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5104 $as_echo "$lt_cv_objdir" >&6; }
5105 objdir
=$lt_cv_objdir
5111 cat >>confdefs.h
<<_ACEOF
5112 #define LT_OBJDIR "$lt_cv_objdir/"
5117 # Check for GMP, MPFR and MPC
5118 gmplibs
="-lmpc -lmpfr -lgmp"
5122 # Specify a location for mpc
5123 # check for this first so it ends up on the link line before mpfr.
5125 # Check whether --with-mpc was given.
5126 if test "${with_mpc+set}" = set; then :
5131 # Check whether --with-mpc-include was given.
5132 if test "${with_mpc_include+set}" = set; then :
5133 withval
=$with_mpc_include;
5137 # Check whether --with-mpc-lib was given.
5138 if test "${with_mpc_lib+set}" = set; then :
5139 withval
=$with_mpc_lib;
5143 if test "x$with_mpc" != x
; then
5144 gmplibs
="-L$with_mpc/lib $gmplibs"
5145 gmpinc
="-I$with_mpc/include $gmpinc"
5147 if test "x$with_mpc_include" != x
; then
5148 gmpinc
="-I$with_mpc_include $gmpinc"
5150 if test "x$with_mpc_lib" != x
; then
5151 gmplibs
="-L$with_mpc_lib $gmplibs"
5153 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5154 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5155 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5156 # Do not test the mpc version. Assume that it is sufficient, since
5157 # it is in the source tree, and the library has not been built yet
5158 # but it would be included on the link line in the version check below
5159 # hence making the test fail.
5163 # Specify a location for mpfr
5164 # check for this first so it ends up on the link line before gmp.
5166 # Check whether --with-mpfr-dir was given.
5167 if test "${with_mpfr_dir+set}" = set; then :
5168 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5169 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5174 # Check whether --with-mpfr was given.
5175 if test "${with_mpfr+set}" = set; then :
5180 # Check whether --with-mpfr-include was given.
5181 if test "${with_mpfr_include+set}" = set; then :
5182 withval
=$with_mpfr_include;
5186 # Check whether --with-mpfr-lib was given.
5187 if test "${with_mpfr_lib+set}" = set; then :
5188 withval
=$with_mpfr_lib;
5192 if test "x$with_mpfr" != x
; then
5193 gmplibs
="-L$with_mpfr/lib $gmplibs"
5194 gmpinc
="-I$with_mpfr/include $gmpinc"
5196 if test "x$with_mpfr_include" != x
; then
5197 gmpinc
="-I$with_mpfr_include $gmpinc"
5199 if test "x$with_mpfr_lib" != x
; then
5200 gmplibs
="-L$with_mpfr_lib $gmplibs"
5202 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5203 # MPFR v3.1.0 moved the sources into a src sub-directory.
5204 if test -d ${srcdir}/mpfr
/src
; then
5205 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5206 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5207 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5209 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5210 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5211 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5213 # Do not test the mpfr version. Assume that it is sufficient, since
5214 # it is in the source tree, and the library has not been built yet
5215 # but it would be included on the link line in the version check below
5216 # hence making the test fail.
5220 # Specify a location for gmp
5222 # Check whether --with-gmp-dir was given.
5223 if test "${with_gmp_dir+set}" = set; then :
5224 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5225 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5230 # Check whether --with-gmp was given.
5231 if test "${with_gmp+set}" = set; then :
5236 # Check whether --with-gmp-include was given.
5237 if test "${with_gmp_include+set}" = set; then :
5238 withval
=$with_gmp_include;
5242 # Check whether --with-gmp-lib was given.
5243 if test "${with_gmp_lib+set}" = set; then :
5244 withval
=$with_gmp_lib;
5249 if test "x$with_gmp" != x
; then
5250 gmplibs
="-L$with_gmp/lib $gmplibs"
5251 gmpinc
="-I$with_gmp/include $gmpinc"
5253 if test "x$with_gmp_include" != x
; then
5254 gmpinc
="-I$with_gmp_include $gmpinc"
5256 if test "x$with_gmp_lib" != x
; then
5257 gmplibs
="-L$with_gmp_lib $gmplibs"
5259 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5260 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5261 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5262 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5263 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5264 # Do not test the gmp version. Assume that it is sufficient, since
5265 # it is in the source tree, and the library has not been built yet
5266 # but it would be included on the link line in the version check below
5267 # hence making the test fail.
5271 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5273 saved_CFLAGS
="$CFLAGS"
5274 CFLAGS
="$CFLAGS $gmpinc"
5275 # Check for the recommended and required versions of GMP.
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5277 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5286 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5287 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5288 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5296 if ac_fn_c_try_compile
"$LINENO"; then :
5297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5304 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5305 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5306 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5314 if ac_fn_c_try_compile
"$LINENO"; then :
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5319 $as_echo "buggy but acceptable" >&6; }
5321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }; have_gmp
=no
5326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5328 # If we have GMP, check the MPFR version.
5329 if test x
"$have_gmp" = xyes
; then
5330 # Check for the recommended and required versions of MPFR.
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5332 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5341 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5349 if ac_fn_c_try_compile
"$LINENO"; then :
5350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5358 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5366 if ac_fn_c_try_compile
"$LINENO"; then :
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5368 $as_echo "yes" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5371 $as_echo "buggy but acceptable" >&6; }
5373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }; have_gmp
=no
5378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5381 # Check for the MPC header version.
5382 if test x
"$have_gmp" = xyes
; then
5383 # Check for the recommended and required versions of MPC.
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5385 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5393 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5401 if ac_fn_c_try_compile
"$LINENO"; then :
5402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5409 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5417 if ac_fn_c_try_compile
"$LINENO"; then :
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5419 $as_echo "yes" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5422 $as_echo "buggy but acceptable" >&6; }
5424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }; have_gmp
=no
5429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 # Now check the MPFR library.
5433 if test x
"$have_gmp" = xyes
; then
5435 LIBS
="$LIBS $gmplibs"
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5437 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5451 mpfr_atan2 (n, n, x, GMP_RNDN);
5452 mpfr_erfc (n, x, GMP_RNDN);
5453 mpfr_subnormalize (x, t, GMP_RNDN);
5457 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5458 mpc_cosh (c, c, MPC_RNDNN);
5459 mpc_pow (c, c, c, MPC_RNDNN);
5460 mpc_acosh (c, c, MPC_RNDNN);
5467 if ac_fn_c_try_link
"$LINENO"; then :
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5469 $as_echo "yes" >&6; }
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 \
5475 conftest
$ac_exeext conftest.
$ac_ext
5479 CFLAGS
="$saved_CFLAGS"
5481 # The library versions listed in the error message below should match
5482 # the HARD-minimums enforced above.
5483 if test x
$have_gmp != xyes
; then
5484 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5485 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5486 their locations. Source code for these libraries can be found at
5487 their respective hosting sites as well as at
5488 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5489 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5490 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5491 make sure that you have installed both the libraries and the header
5492 files. They may be located in separate packages." "$LINENO" 5
5496 # Flags needed for both GMP, MPFR and/or MPC.
5503 # Allow host libstdc++ to be specified for static linking with PPL.
5505 # Check whether --with-host-libstdcxx was given.
5506 if test "${with_host_libstdcxx+set}" = set; then :
5507 withval
=$with_host_libstdcxx;
5511 case $with_host_libstdcxx in
5513 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5517 # Linker flags to use for stage1 or when not boostrapping.
5519 # Check whether --with-stage1-ldflags was given.
5520 if test "${with_stage1_ldflags+set}" = set; then :
5521 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5524 stage1_ldflags
=$withval
5532 # Libraries to use for stage1 or when not bootstrapping.
5534 # Check whether --with-stage1-libs was given.
5535 if test "${with_stage1_libs+set}" = set; then :
5536 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5539 stage1_libs
=$withval
5542 stage1_libs
=$with_host_libstdcxx
5547 # Libraries to use for stage2 and later builds. This defaults to the
5548 # argument passed to --with-host-libstdcxx.
5550 # Check whether --with-boot-libs was given.
5551 if test "${with_boot_libs+set}" = set; then :
5552 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5555 poststage1_libs
=$withval
5558 poststage1_libs
=$with_host_libstdcxx
5563 # Linker flags to use for stage2 and later builds.
5565 # Check whether --with-boot-ldflags was given.
5566 if test "${with_boot_ldflags+set}" = set; then :
5567 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5570 poststage1_ldflags
=$withval
5574 # In stages 2 and 3, default to linking libstdc++ and libgcc
5575 # statically. But if the user explicitly specified the libraries to
5576 # use, trust that they are doing what they want.
5577 if test "$poststage1_libs" = ""; then
5578 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5590 # Check whether --with-ppl was given.
5591 if test "${with_ppl+set}" = set; then :
5596 # Check whether --with-ppl-include was given.
5597 if test "${with_ppl_include+set}" = set; then :
5598 withval
=$with_ppl_include;
5602 # Check whether --with-ppl-lib was given.
5603 if test "${with_ppl_lib+set}" = set; then :
5604 withval
=$with_ppl_lib;
5608 # Check whether --enable-ppl-version-check was given.
5609 if test "${enable_ppl_version_check+set}" = set; then :
5610 enableval
=$enable_ppl_version_check;
5618 ppllibs
="-L$with_ppl/lib"
5619 pplinc
="-I$with_ppl/include $pplinc"
5620 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5623 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5628 if test x
"$with_ppl_include" != x
; then
5629 pplinc
="-I$with_ppl_include $pplinc"
5633 if test "x$with_ppl_lib" != x
; then
5634 ppllibs
="-L$with_ppl_lib"
5638 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5639 if test x
"$enable_watchdog" = xyes
; then
5642 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5643 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5644 enable_ppl_version_check
=no
5648 if test "x$with_ppl" != xno
; then
5649 if test "x$pwllib" = x
; then
5651 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5653 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5654 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5657 ac_check_lib_save_LIBS
=$LIBS
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5662 /* Override any GCC internal prototype to avoid an error.
5663 Use char because int might match the return type of a GCC
5664 builtin and then its argument prototype would still apply. */
5668 char PWL_handle_timeout ();
5672 return PWL_handle_timeout ();
5677 if ac_fn_c_try_link
"$LINENO"; then :
5678 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5680 ac_cv_lib_pwl_PWL_handle_timeout
=no
5682 rm -f core conftest.err conftest.
$ac_objext \
5683 conftest
$ac_exeext conftest.
$ac_ext
5684 LIBS
=$ac_check_lib_save_LIBS
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5687 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5688 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5695 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5697 if test "$enable_ppl_version_check" != no
; then
5698 saved_CFLAGS
="$CFLAGS"
5699 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5701 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5709 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5717 if ac_fn_c_try_compile
"$LINENO"; then :
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5719 $as_echo "yes" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5725 CFLAGS
="$saved_CFLAGS"
5729 # Flags needed for PPL
5738 # Check whether --with-cloog was given.
5739 if test "${with_cloog+set}" = set; then :
5740 withval
=$with_cloog;
5744 # Check whether --with-cloog-include was given.
5745 if test "${with_cloog_include+set}" = set; then :
5746 withval
=$with_cloog_include;
5750 # Check whether --with-cloog-lib was given.
5751 if test "${with_cloog_lib+set}" = set; then :
5752 withval
=$with_cloog_lib;
5756 # Check whether --enable-cloog-version-check was given.
5757 if test "${enable_cloog_version_check+set}" = set; then :
5758 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5760 ENABLE_CLOOG_CHECK
=yes
5764 # Initialize clooglibs and clooginc.
5773 clooglibs
="-L$with_cloog/lib"
5774 clooginc
="-I$with_cloog/include"
5777 if test "x${with_cloog_include}" != x
; then
5778 clooginc
="-I$with_cloog_include"
5780 if test "x${with_cloog_lib}" != x
; then
5781 clooglibs
="-L$with_cloog_lib"
5788 if test "x$with_ppl" = "xno"; then
5792 if test "x${with_cloog}" = xno
; then
5793 graphite_requested
=no
5794 elif test "x${with_cloog}" != x \
5795 ||
test "x${with_cloog_include}" != x \
5796 ||
test "x${with_cloog_lib}" != x
; then
5797 graphite_requested
=yes
5799 graphite_requested
=no
5803 if test "${graphite_requested}" = yes; then
5804 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5808 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5809 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5810 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5811 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5813 if test "x$with_cloog" != "xno"; then
5817 _cloog_saved_CFLAGS
=$CFLAGS
5818 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5819 _cloog_saved_LDFLAGS
=$LDFLAGS
5820 _cloog_saved_LIBS
=$LIBS
5822 _cloogorginc
="-DCLOOG_INT_GMP"
5824 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5825 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5826 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5829 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5830 if test "${gcc_cv_cloog_type+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 #include "cloog/cloog.h"
5845 if ac_fn_c_try_link
"$LINENO"; then :
5846 gcc_cv_cloog_type
="ISL"
5848 gcc_cv_cloog_type
=no
5850 rm -f core conftest.err conftest.
$ac_objext \
5851 conftest
$ac_exeext conftest.
$ac_ext
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5854 $as_echo "$gcc_cv_cloog_type" >&6; }
5856 case $gcc_cv_cloog_type in
5858 clooginc
="${clooginc} ${_cloogorginc}"
5859 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5869 LIBS
=$_cloog_saved_LIBS
5870 CFLAGS
=$_cloog_saved_CFLAGS
5871 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5872 LDFLAGS
=$_cloog_saved_LDFLAGS
5878 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5879 _cloog_saved_CFLAGS
=$CFLAGS
5880 _cloog_saved_LDFLAGS
=$LDFLAGS
5882 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5883 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5886 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5887 if test "${gcc_cv_cloog+set}" = set; then :
5888 $as_echo_n "(cached) " >&6
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5892 #include "cloog/cloog.h"
5896 #if CLOOG_VERSION_MAJOR != 0 \
5897 || CLOOG_VERSION_MINOR != 17 \
5898 || CLOOG_VERSION_REVISION < 0
5905 if ac_fn_c_try_compile
"$LINENO"; then :
5910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5913 $as_echo "$gcc_cv_cloog" >&6; }
5915 CFLAGS
=$_cloog_saved_CFLAGS
5916 LDFLAGS
=$_cloog_saved_LDFLAGS
5925 if test "x${with_cloog}" = xno
; then
5926 graphite_requested
=no
5927 elif test "x${with_cloog}" != x \
5928 ||
test "x${with_cloog_include}" != x \
5929 ||
test "x${with_cloog_lib}" != x
; then
5930 graphite_requested
=yes
5932 graphite_requested
=no
5937 if test "${gcc_cv_cloog}" = no
; then
5942 if test "${graphite_requested}" = yes \
5943 && test "x${clooglibs}" = x \
5944 && test "x${clooginc}" = x
; then
5946 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5952 # Check for LTO support.
5953 # Check whether --enable-lto was given.
5954 if test "${enable_lto+set}" = set; then :
5955 enableval
=$enable_lto; enable_lto
=$enableval
5957 enable_lto
=yes; default_enable_lto
=yes
5966 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5967 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5968 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5976 if test $target_elf = yes; then :
5977 # ELF platforms build the lto-plugin always.
5978 build_lto_plugin
=yes
5981 if test x
"$default_enable_lto" = x
"yes" ; then
5983 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5984 # On other non-ELF platforms, LTO has yet to be validated.
5988 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5989 # It would also be nice to check the binutils support, but we don't
5990 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5991 # warn during gcc/ subconfigure; unless you're bootstrapping with
5992 # -flto it won't be needed until after installation anyway.
5994 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5995 *) if test x
"$enable_lto" = x
"yes"; then
5996 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6001 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6002 # Build it unless LTO was explicitly disabled.
6004 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6012 # By default, C is the only stage 1 language.
6013 stage1_languages
=,c
,
6015 # Target libraries that we bootstrap.
6016 bootstrap_target_libs
=,target-libgcc
,
6018 # Figure out what language subdirectories are present.
6019 # Look if the user specified --enable-languages="..."; if not, use
6020 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6022 # NB: embedded tabs in this IF block -- do not untabify
6023 if test -d ${srcdir}/gcc
; then
6024 if test x
"${enable_languages+set}" != xset
; then
6025 if test x
"${LANGUAGES+set}" = xset
; then
6026 enable_languages
="${LANGUAGES}"
6027 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6029 enable_languages
=all
6032 if test x
"${enable_languages}" = x ||
6033 test x
"${enable_languages}" = xyes
;
6035 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6039 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6041 # 'f95' is the old name for the 'fortran' language. We issue a warning
6042 # and make the substitution.
6043 case ,${enable_languages}, in
6045 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6046 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6050 # If bootstrapping, then using --enable-build-with-cxx or
6051 # --enable-build-poststage1-with-cxx requires enabling C++.
6052 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6055 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6056 enable_languages
="${enable_languages},c++"
6058 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6063 # First scan to see if an enabled language requires some other language.
6064 # We assume that a given config-lang.in will list all the language
6065 # front ends it requires, even if some are required indirectly.
6066 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6067 case ${lang_frag} in
6069 # The odd quoting in the next line works around
6070 # an apparent bug in bash 1.12 on linux.
6071 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6073 # From the config-lang.in, get $language, $lang_requires, and
6074 # $lang_requires_boot_languages.
6077 lang_requires_boot_languages
=
6079 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6080 case ,${enable_languages}, in
6084 echo " \`$other' language required by \`$language'; enabling" 1>&2
6085 enable_languages
="${enable_languages},${other}"
6089 for other
in ${lang_requires_boot_languages} ; do
6090 if test "$other" != "c"; then
6091 case ,${enable_stage1_languages}, in
6095 case ,${enable_languages}, in
6097 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6098 enable_stage1_languages
="$enable_stage1_languages,${other}"
6109 new_enable_languages
=,c
,
6111 # If LTO is enabled, add the LTO front end.
6112 extra_host_libiberty_configure_flags
=
6113 if test "$enable_lto" = "yes" ; then
6114 case ,${enable_languages}, in
6116 *) enable_languages
="${enable_languages},lto" ;;
6118 if test "${build_lto_plugin}" = "yes" ; then
6119 configdirs
="$configdirs lto-plugin"
6120 extra_host_libiberty_configure_flags
=--enable-shared
6125 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6126 potential_languages
=,c
,
6128 enabled_target_libs
=
6129 disabled_target_libs
=
6131 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6132 case ${lang_frag} in
6134 # The odd quoting in the next line works around
6135 # an apparent bug in bash 1.12 on linux.
6136 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6138 # From the config-lang.in, get $language, $target_libs,
6139 # $lang_dirs, $boot_language, and $build_by_default
6145 build_by_default
=yes
6147 if test x
${language} = x
; then
6148 echo "${lang_frag} doesn't set \$language." 1>&2
6152 if test "$language" = "c++"; then
6153 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6154 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6159 case ,${enable_languages}, in
6161 # Language was explicitly selected; include it
6162 # unless it is C, which is enabled by default.
6163 if test "$language" != "c"; then
6168 # 'all' was selected, select it if it is a default language
6169 add_this_lang
=${build_by_default}
6176 # Disable languages that need other directories if these aren't available.
6177 for i
in $subdir_requires; do
6178 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6179 case ,${enable_languages}, in
6181 # Specifically requested language; tell them.
6182 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6186 add_this_lang
=unsupported
6191 # Disable Ada if no preexisting GNAT is available.
6192 case ,${enable_languages},:${language}:${have_gnat} in
6193 *,${language},*:ada
:no
)
6194 # Specifically requested language; tell them.
6195 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6199 add_this_lang
=unsupported
6203 # Disable a language that is unsupported by the target.
6204 case " $unsupported_languages " in
6206 add_this_lang
=unsupported
6210 case $add_this_lang in
6212 # Remove language-dependent dirs.
6213 disabled_target_libs
="$disabled_target_libs $target_libs"
6214 noconfigdirs
="$noconfigdirs $lang_dirs"
6217 # Remove language-dependent dirs; still show language as supported.
6218 disabled_target_libs
="$disabled_target_libs $target_libs"
6219 noconfigdirs
="$noconfigdirs $lang_dirs"
6220 potential_languages
="${potential_languages}${language},"
6223 new_enable_languages
="${new_enable_languages}${language},"
6224 potential_languages
="${potential_languages}${language},"
6225 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6226 enabled_target_libs
="$enabled_target_libs $target_libs"
6227 case "${boot_language}:,$enable_stage1_languages," in
6228 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6229 # Add to (comma-separated) list of stage 1 languages.
6230 case ",$stage1_languages," in
6231 *,$language,* |
,yes, |
,all
,) ;;
6232 *) stage1_languages
="${stage1_languages}${language}," ;;
6234 # We need to bootstrap any supporting libraries.
6235 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6244 # Add target libraries which are only needed for disabled languages
6246 if test -n "$disabled_target_libs"; then
6247 for dir
in $disabled_target_libs; do
6248 case " $enabled_target_libs " in
6250 *) noconfigdirs
="$noconfigdirs $dir" ;;
6255 # Check whether --enable-stage1-languages was given.
6256 if test "${enable_stage1_languages+set}" = set; then :
6257 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6259 # Set it to something that will have no effect in the loop below
6260 enable_stage1_languages
=c
;;
6262 enable_stage1_languages
=`echo $new_enable_languages | \
6263 sed -e "s/^,//" -e "s/,$//" ` ;;
6265 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6266 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6269 # Add "good" languages from enable_stage1_languages to stage1_languages,
6270 # while "bad" languages go in missing_languages. Leave no duplicates.
6271 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6272 case $potential_languages in
6274 case $stage1_languages in
6276 *) stage1_languages
="$stage1_languages$i," ;;
6279 case $missing_languages in
6281 *) missing_languages
="$missing_languages$i," ;;
6288 # Remove leading/trailing commas that were added for simplicity
6289 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6290 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6291 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6292 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6294 if test "x$missing_languages" != x
; then
6296 The following requested languages could not be built: ${missing_languages}
6297 Supported languages are: ${potential_languages}" "$LINENO" 5
6299 if test "x$new_enable_languages" != "x$enable_languages"; then
6300 echo The following languages will be built
: ${new_enable_languages}
6301 enable_languages
="$new_enable_languages"
6305 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6308 # Handle --disable-<component> generically.
6309 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6310 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6311 varname
=`echo $dirname | sed -e s/+/_/g`
6312 if eval test x\
${enable_${varname}} "=" xno
; then
6313 noconfigdirs
="$noconfigdirs $dir"
6317 # Check for Boehm's garbage collector
6318 # Check whether --enable-objc-gc was given.
6319 if test "${enable_objc_gc+set}" = set; then :
6320 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6321 *,objc
,*:*:yes:*target-boehm-gc
*)
6322 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6328 # Make sure we only build Boehm's garbage collector if required.
6329 case ,${enable_languages},:${enable_objc_gc} in
6331 # Keep target-boehm-gc if requested for Objective-C.
6334 # Otherwise remove target-boehm-gc depending on target-libjava.
6335 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6336 noconfigdirs
="$noconfigdirs target-boehm-gc"
6341 # Disable libitm if we're not building C++
6342 case ,${enable_languages}, in
6345 noconfigdirs
="$noconfigdirs target-libitm"
6349 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6350 # $build_configdirs and $target_configdirs.
6351 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6354 for dir
in .
$skipdirs $noconfigdirs ; do
6355 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6356 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6357 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6358 if test -r $srcdir/$dirname/configure
; then
6359 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6362 notsupp
="$notsupp $dir"
6366 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6367 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6368 if test -r $srcdir/$dirname/configure
; then
6369 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6372 notsupp
="$notsupp $dir"
6376 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6377 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6378 if test -r $srcdir/$dirname/configure
; then
6379 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6382 notsupp
="$notsupp $dir"
6388 # Quietly strip out all directories which aren't configurable in this tree.
6389 # This relies on all configurable subdirectories being autoconfiscated, which
6391 build_configdirs_all
="$build_configdirs"
6393 for i
in ${build_configdirs_all} ; do
6394 j
=`echo $i | sed -e s/build-//g`
6395 if test -f ${srcdir}/$j/configure
; then
6396 build_configdirs
="${build_configdirs} $i"
6400 configdirs_all
="$configdirs"
6402 for i
in ${configdirs_all} ; do
6403 if test -f ${srcdir}/$i/configure
; then
6404 configdirs
="${configdirs} $i"
6408 target_configdirs_all
="$target_configdirs"
6410 for i
in ${target_configdirs_all} ; do
6411 j
=`echo $i | sed -e s/target-//g`
6412 if test -f ${srcdir}/$j/configure
; then
6413 target_configdirs
="${target_configdirs} $i"
6417 # Produce a warning message for the subdirs we can't configure.
6418 # This isn't especially interesting in the Cygnus tree, but in the individual
6419 # FSF releases, it's important to let people know when their machine isn't
6420 # supported by the one or two programs in a package.
6422 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6423 # If $appdirs is non-empty, at least one of those directories must still
6424 # be configured, or we error out. (E.g., if the gas release supports a
6425 # specified target in some subdirs but not the gas subdir, we shouldn't
6426 # pretend that all is well.)
6427 if test -n "$appdirs" ; then
6428 for dir
in $appdirs ; do
6429 if test -r $dir/Makefile.
in ; then
6430 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6434 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6440 if test -n "$appdirs" ; then
6441 echo "*** This configuration is not supported by this package." 1>&2
6445 # Okay, some application will build, or we don't care to check. Still
6446 # notify of subdirs not getting built.
6447 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6448 echo " ${notsupp}" 1>&2
6449 echo " (Any other directories should still work fine.)" 1>&2
6457 # To find our prefix, in gcc_cv_tool_prefix.
6459 # The user is always right.
6460 if test "${PATH_SEPARATOR+set}" != set; then
6461 echo "#! /bin/sh" >conf$$.sh
6462 echo "exit 0" >>conf$$.sh
6464 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6474 if test "x$exec_prefix" = xNONE
; then
6475 if test "x$prefix" = xNONE
; then
6476 gcc_cv_tool_prefix
=$ac_default_prefix
6478 gcc_cv_tool_prefix
=$prefix
6481 gcc_cv_tool_prefix
=$exec_prefix
6484 # If there is no compiler in the tree, use the PATH only. In any
6485 # case, if there is no compiler in the tree nobody should use
6486 # AS_FOR_TARGET and LD_FOR_TARGET.
6487 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6488 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6489 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6490 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6491 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6492 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6493 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6494 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6499 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6500 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6508 # Check whether --with-build-sysroot was given.
6509 if test "${with_build_sysroot+set}" = set; then :
6510 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6511 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6514 SYSROOT_CFLAGS_FOR_TARGET
=
6520 # Check whether --with-debug-prefix-map was given.
6521 if test "${with_debug_prefix_map+set}" = set; then :
6522 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6523 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6524 for debug_map
in $withval; do
6525 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6529 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6534 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6535 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6536 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6537 # We want to ensure that TARGET libraries (which we know are built with
6538 # gcc) are built with "-O2 -g", so include those options when setting
6539 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6540 if test "x$CFLAGS_FOR_TARGET" = x
; then
6541 CFLAGS_FOR_TARGET
=$CFLAGS
6544 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6547 *" -g "* |
*" -g3 "*) ;;
6548 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6553 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6554 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6555 case " $CXXFLAGS " in
6557 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6559 case " $CXXFLAGS " in
6560 *" -g "* |
*" -g3 "*) ;;
6561 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6568 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6569 # the named directory are copied to $(tooldir)/sys-include.
6570 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6571 if test x
${is_cross_compiler} = xno
; then
6572 echo 1>&2 '***' --with-headers is only supported when cross compiling
6575 if test x
"${with_headers}" != xyes
; then
6576 x
=${gcc_cv_tool_prefix}
6577 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6581 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6582 # the name directories are copied to $(tooldir)/lib. Multiple directories
6584 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6585 if test x
${is_cross_compiler} = xno
; then
6586 echo 1>&2 '***' --with-libs is only supported when cross compiling
6589 if test x
"${with_libs}" != xyes
; then
6590 # Copy the libraries in reverse order, so that files in the first named
6591 # library override files in subsequent libraries.
6592 x
=${gcc_cv_tool_prefix}
6593 for l
in ${with_libs}; do
6594 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6599 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6601 # This is done by determining whether or not the appropriate directory
6602 # is available, and by checking whether or not specific configurations
6603 # have requested that this magic not happen.
6605 # The command line options always override the explicit settings in
6606 # configure.in, and the settings in configure.in override this magic.
6608 # If the default for a toolchain is to use GNU as and ld, and you don't
6609 # want to do that, then you should use the --without-gnu-as and
6610 # --without-gnu-ld options for the configure script. Similarly, if
6611 # the default is to use the included zlib and you don't want to do that,
6612 # you should use the --with-system-zlib option for the configure script.
6614 if test x
${use_gnu_as} = x
&&
6615 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6617 extra_host_args
="$extra_host_args --with-gnu-as"
6620 if test x
${use_gnu_ld} = x
&&
6621 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6623 extra_host_args
="$extra_host_args --with-gnu-ld"
6626 if test x
${use_included_zlib} = x
&&
6627 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6630 with_system_zlib
=yes
6631 extra_host_args
="$extra_host_args --with-system-zlib"
6634 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6635 # can detect this case.
6637 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6639 extra_host_args
="$extra_host_args --with-newlib"
6642 # Handle ${copy_dirs}
6643 set fnord
${copy_dirs}
6645 while test $# != 0 ; do
6646 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6649 echo Copying
$1 to
$2
6651 # Use the install script to create the directory and all required
6652 # parent directories.
6653 if test -d $2 ; then
6657 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6660 # Copy the directory, assuming we have tar.
6661 # FIXME: Should we use B in the second tar? Not all systems support it.
6662 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6664 # It is the responsibility of the user to correctly adjust all
6665 # symlinks. If somebody can figure out how to handle them correctly
6666 # here, feel free to add the code.
6673 # Determine a target-dependent exec_prefix that the installed
6674 # gcc will search in. Keep this list sorted by triplet, with
6675 # the *-*-osname triplets last.
6678 i
[34567]86-pc-msdosdjgpp*)
6679 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6684 md_exec_prefix
=/usr
/ccs
/bin
6688 extra_arflags_for_target
=
6689 extra_nmflags_for_target
=
6690 extra_ranlibflags_for_target
=
6691 target_makefile_frag
=/dev
/null
6694 target_makefile_frag
="config/mt-spu"
6697 target_makefile_frag
="config/mt-sde"
6699 mipsisa
*-*-elfoabi*)
6700 target_makefile_frag
="config/mt-mips-elfoabi"
6702 mips
*-*-*linux
* | mips
*-*-gnu*)
6703 target_makefile_frag
="config/mt-mips-gnu"
6705 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6706 target_makefile_frag
="config/mt-gnu"
6708 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6709 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6710 # commands to handle both 32-bit and 64-bit objects. These flags are
6711 # harmless if we're using GNU nm or ar.
6712 extra_arflags_for_target
=" -X32_64"
6713 extra_nmflags_for_target
=" -B -X32_64"
6717 alphaieee_frag
=/dev
/null
6720 # This just makes sure to use the -mieee option to build target libs.
6721 # This should probably be set individually by each library.
6722 alphaieee_frag
="config/mt-alphaieee"
6726 # If --enable-target-optspace always use -Os instead of -O2 to build
6727 # the target libraries, similarly if it is not specified, use -Os
6728 # on selected platforms.
6729 ospace_frag
=/dev
/null
6730 case "${enable_target_optspace}:${target}" in
6732 ospace_frag
="config/mt-ospace"
6735 ospace_frag
="config/mt-d30v"
6737 :m32r-
* |
:d10v-
* |
:fr30-
*)
6738 ospace_frag
="config/mt-ospace"
6743 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6747 # Some systems (e.g., one of the i386-aix systems the gas testers are
6748 # using) don't handle "\$" correctly, so don't use it here.
6749 tooldir
='${exec_prefix}'/${target_noncanonical}
6750 build_tooldir
=${tooldir}
6752 # Create a .gdbinit file which runs the one in srcdir
6753 # and tells GDB to look there for source files.
6755 if test -r ${srcdir}/.gdbinit
; then
6758 *) cat > .
/.gdbinit
<<EOF
6762 source ${srcdir}/.gdbinit
6768 # Make sure that the compiler is able to generate an executable. If it
6769 # can't, we are probably in trouble. We don't care whether we can run the
6770 # executable--we might be using a cross compiler--we only care whether it
6771 # can be created. At this point the main configure script has set CC.
6773 echo "int main () { return 0; }" > conftest.c
6774 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6775 if test $?
= 0 ; then
6776 if test -s conftest ||
test -s conftest.exe
; then
6782 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6783 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6790 # Decide which environment variable is used to find dynamic libraries.
6792 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6793 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6794 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6795 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6798 # On systems where the dynamic library environment variable is PATH,
6799 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6800 # built executables to PATH.
6801 if test "$RPATH_ENVVAR" = PATH
; then
6802 GCC_SHLIB_SUBDIR
=/shlib
6807 # Record target_configdirs and the configure arguments for target and
6808 # build configuration in Makefile.
6809 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6810 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6812 # If we are building libgomp, bootstrap it.
6813 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6814 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6817 # Determine whether gdb needs tk/tcl or not.
6818 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6819 # and in that case we want gdb to be built without tk. Ugh!
6820 # In fact I believe gdb is the *only* package directly dependent on tk,
6821 # so we should be able to put the 'maybe's in unconditionally and
6822 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6823 # 100% sure that that's safe though.
6825 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6826 case "$enable_gdbtk" in
6830 GDB_TK
="${gdb_tk}" ;;
6832 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6833 # distro. Eventually someone will fix this and move Insight, nee
6834 # gdbtk to a separate directory.
6835 if test -d ${srcdir}/gdb
/gdbtk
; then
6842 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6843 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6845 # Strip out unwanted targets.
6847 # While at that, we remove Makefiles if we were started for recursive
6848 # configuration, so that the top-level Makefile reconfigures them,
6849 # like we used to do when configure itself was recursive.
6851 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6852 # but now we're fixing up the Makefile ourselves with the additional
6853 # commands passed to AC_CONFIG_FILES. Use separate variables
6854 # extrasub-{build,host,target} not because there is any reason to split
6855 # the substitutions up that way, but only to remain below the limit of
6856 # 99 commands in a script, for HP-UX sed.
6857 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6859 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6860 yes:yes:*\ gold\
*:*,c
++,*) ;;
6861 yes:yes:*\ gold\
*:*)
6862 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6866 # Adjust the toplevel makefile according to whether bootstrap was selected.
6867 case $enable_bootstrap in
6869 bootstrap_suffix
=bootstrap
6870 BUILD_CONFIG
=bootstrap-debug
6873 bootstrap_suffix
=no-bootstrap
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6879 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6882 # Check whether --with-build-config was given.
6883 if test "${with_build_config+set}" = set; then :
6884 withval
=$with_build_config; case $with_build_config in
6885 yes) with_build_config
= ;;
6886 no
) with_build_config
= BUILD_CONFIG
= ;;
6891 if test "x${with_build_config}" != x
; then
6892 BUILD_CONFIG
=$with_build_config
6894 case $BUILD_CONFIG in
6896 if echo "int f (void) { return 0; }" > conftest.c
&&
6897 ${CC} -c conftest.c
&&
6898 mv conftest.o conftest.o.g0
&&
6899 ${CC} -c -g conftest.c
&&
6900 mv conftest.o conftest.o.g
&&
6901 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6906 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6911 $as_echo "$BUILD_CONFIG" >&6; }
6915 for module
in ${build_configdirs} ; do
6916 if test -z "${no_recursion}" \
6917 && test -f ${build_subdir}/${module}/Makefile
; then
6918 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6919 rm -f ${build_subdir}/${module}/Makefile
6921 extrasub_build
="$extrasub_build
6922 /^@if build-$module\$/d
6923 /^@endif build-$module\$/d
6924 /^@if build-$module-$bootstrap_suffix\$/d
6925 /^@endif build-$module-$bootstrap_suffix\$/d"
6928 for module
in ${configdirs} ; do
6929 if test -z "${no_recursion}"; then
6930 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6931 if test -f ${file}; then
6932 echo 1>&2 "*** removing ${file} to force reconfigure"
6937 extrasub_host
="$extrasub_host
6939 /^@endif $module\$/d
6940 /^@if $module-$bootstrap_suffix\$/d
6941 /^@endif $module-$bootstrap_suffix\$/d"
6944 for module
in ${target_configdirs} ; do
6945 if test -z "${no_recursion}" \
6946 && test -f ${target_subdir}/${module}/Makefile
; then
6947 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6948 rm -f ${target_subdir}/${module}/Makefile
6951 # We only bootstrap target libraries listed in bootstrap_target_libs.
6952 case $bootstrap_target_libs in
6953 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6954 *) target_bootstrap_suffix
=no-bootstrap
;;
6957 extrasub_target
="$extrasub_target
6958 /^@if target-$module\$/d
6959 /^@endif target-$module\$/d
6960 /^@if target-$module-$target_bootstrap_suffix\$/d
6961 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6964 # Do the final fixup along with target modules.
6965 extrasub_target
="$extrasub_target
6966 /^@if /,/^@endif /d"
6968 # Create the serialization dependencies. This uses a temporary file.
6970 # Check whether --enable-serial-configure was given.
6971 if test "${enable_serial_configure+set}" = set; then :
6972 enableval
=$enable_serial_configure;
6976 case ${enable_serial_configure} in
6978 enable_serial_build_configure
=yes
6979 enable_serial_host_configure
=yes
6980 enable_serial_target_configure
=yes
6984 # These force 'configure's to be done one at a time, to avoid problems
6985 # with contention over a shared config.cache.
6987 echo '# serdep.tmp' > serdep.tmp
6989 test "x${enable_serial_build_configure}" = xyes
&&
6990 for item
in ${build_configdirs} ; do
6993 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6998 test "x${enable_serial_host_configure}" = xyes
&&
6999 for item
in ${configdirs} ; do
7002 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7007 test "x${enable_serial_target_configure}" = xyes
&&
7008 for item
in ${target_configdirs} ; do
7011 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7015 serialization_dependencies
=serdep.tmp
7018 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7019 # target, nonopt, and variable assignments. These are the ones we
7020 # might not want to pass down to subconfigures. The exception being
7021 # --cache-file=/dev/null, which is used to turn off the use of cache
7022 # files altogether, and which should be passed on to subconfigures.
7023 # Also strip program-prefix, program-suffix, and program-transform-name,
7024 # so that we can pass down a consistent program-transform-name.
7029 eval "set -- $ac_configure_args"
7032 if test X
"$skip_next" = X
"yes"; then
7036 if test X
"$keep_next" = X
"yes"; then
7039 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7041 baseargs
="$baseargs '$ac_arg'"
7042 tbaseargs
="$tbaseargs '$ac_arg'"
7047 # Handle separated arguments. Based on the logic generated by
7050 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7051 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7052 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7053 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7067 --with-* |
--without-*)
7068 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7072 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7075 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7084 mpc | mpfr | gmp | ppl | cloog
)
7085 # If we're processing --with-$lib, --with-$lib-include or
7086 # --with-$lib-lib, for one of the libs above, and target is
7087 # different from host, don't pass the current argument to any
7088 # target library's configure.
7089 if test x
$is_cross_compiler = xyes
; then
7098 --cache-file=/dev
/null | \
7099 -cache-file=/dev
/null
)
7100 # Handled here to avoid the test to skip args below.
7101 baseargs
="$baseargs '$ac_arg'"
7102 tbaseargs
="$tbaseargs '$ac_arg'"
7103 # Assert: $separate_arg should always be no.
7104 keep_next
=$separate_arg
7120 -program-prefix* | \
7121 -program-suffix* | \
7122 -program-transform-name* )
7123 skip_next
=$separate_arg
7127 # An option. Add it.
7130 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7132 baseargs
="$baseargs '$ac_arg'"
7133 if test X
"$skip_targ" = Xno
; then
7134 tbaseargs
="$tbaseargs '$ac_arg'"
7136 keep_next
=$separate_arg
7139 # Either a variable assignment, or a nonopt (triplet). Don't
7140 # pass it down; let the Makefile handle this.
7145 # Remove the initial space we just introduced and, as these will be
7146 # expanded by make, quote '$'.
7147 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7149 # Add in --program-transform-name, after --program-prefix and
7150 # --program-suffix have been applied to it. Autoconf has already
7151 # doubled dollar signs and backslashes in program_transform_name; we want
7152 # the backslashes un-doubled, and then the entire thing wrapped in single
7153 # quotes, because this will be expanded first by make and then by the shell.
7154 # Also, because we want to override the logic in subdir configure scripts to
7155 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7156 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7157 ${program_transform_name}
7159 gcc_transform_name
=`cat conftestsed.out`
7160 rm -f conftestsed.out
7161 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7162 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7163 if test "$silent" = yes; then
7164 baseargs
="$baseargs --silent"
7165 tbaseargs
="$tbaseargs --silent"
7167 baseargs
="$baseargs --disable-option-checking"
7168 tbaseargs
="$tbaseargs --disable-option-checking"
7170 # Record and document user additions to sub configure arguments.
7175 # For the build-side libraries, we just need to pretend we're native,
7176 # and not use the same cache file. Multilibs are neither needed nor
7178 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7180 # For host modules, accept cache file option, or specification as blank.
7181 case "${cache_file}" in
7183 cache_file_option
="" ;;
7184 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7185 cache_file_option
="--cache-file=${cache_file}" ;;
7187 cache_file_option
="--cache-file=../${cache_file}" ;;
7190 # Host dirs don't like to share a cache file either, horribly enough.
7191 # This seems to be due to autoconf 2.5x stupidity.
7192 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7194 target_configargs
="$target_configargs ${tbaseargs}"
7196 # Passing a --with-cross-host argument lets the target libraries know
7197 # whether they are being built with a cross-compiler or being built
7198 # native. However, it would be better to use other mechanisms to make the
7199 # sorts of decisions they want to make on this basis. Please consider
7200 # this option to be deprecated. FIXME.
7201 if test x
${is_cross_compiler} = xyes
; then
7202 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7205 # Default to --enable-multilib.
7206 if test x
${enable_multilib} = x
; then
7207 target_configargs
="--enable-multilib ${target_configargs}"
7210 # Pass --with-newlib if appropriate. Note that target_configdirs has
7211 # changed from the earlier setting of with_newlib.
7212 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7213 target_configargs
="--with-newlib ${target_configargs}"
7216 # Different target subdirs use different values of certain variables
7217 # (notably CXX). Worse, multilibs use *lots* of different values.
7218 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7219 # it doesn't automatically accept command-line overrides of them.
7220 # This means it's not safe for target subdirs to share a cache file,
7221 # which is disgusting, but there you have it. Hopefully this can be
7222 # fixed in future. It's still worthwhile to use a cache file for each
7223 # directory. I think.
7225 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7226 # We need to pass --target, as newer autoconf's requires consistency
7227 # for target_alias and gcc doesn't manage it consistently.
7228 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7231 case " $target_configdirs " in
7233 case " $target_configargs " in
7234 *" --with-newlib "*)
7237 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'
7241 # If we're not building GCC, don't discard standard headers.
7242 if test -d ${srcdir}/gcc
; then
7243 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7245 if test "${build}" != "${host}"; then
7246 # On Canadian crosses, CC_FOR_TARGET will have already been set
7247 # by `configure', so we won't have an opportunity to add -Bgcc/
7248 # to it. This is right: we don't want to search that directory
7249 # for binaries, but we want the header files in there, so add
7251 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7253 # Someone might think of using the pre-installed headers on
7254 # Canadian crosses, in case the installed compiler is not fully
7255 # compatible with the compiler being built. In this case, it
7256 # would be better to flag an error than risking having
7257 # incompatible object files being constructed. We can't
7258 # guarantee that an error will be flagged, but let's hope the
7259 # compiler will do it, when presented with incompatible header
7264 case "${target}-${is_cross_compiler}" in
7265 i
[3456789]86-*-linux*-no)
7266 # Here host == target, so we don't need to build gcc,
7267 # so we don't want to discard standard headers.
7268 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7271 # If we're building newlib, use its generic headers last, but search
7272 # for any libc-related directories first (so make it the last -B
7274 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7276 # If we're building libgloss, find the startup file, simulator library
7277 # and linker script.
7278 case " $target_configdirs " in
7280 # Look for startup file, simulator library and maybe linker script.
7281 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7282 # Look for libnosys.a in case the target needs it.
7283 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7284 # Most targets have the linker script in the source directory.
7285 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7296 x86_64-
*mingw
* |
*-w64-mingw*)
7297 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7298 # however, use a symlink named 'mingw' in ${prefix} .
7299 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7302 # MinGW can't be handled as Cygwin above since it does not use newlib.
7303 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'
7307 # Allow the user to override the flags for
7308 # our build compiler if desired.
7309 if test x
"${build}" = x
"${host}" ; then
7310 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7311 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7312 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7315 # On Canadian crosses, we'll be searching the right directories for
7316 # the previously-installed cross compiler, so don't bother to add
7317 # flags for directories within the install tree of the compiler
7318 # being built; programs in there won't even run.
7319 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7320 # Search for pre-installed headers if nothing else fits.
7321 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7324 if test "x
${use_gnu_ld}" = x &&
7325 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7326 # Arrange for us to find uninstalled linker scripts.
7327 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7330 # Search for other target-specific linker scripts and such.
7333 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7337 # Makefile fragments.
7338 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7340 eval fragval=\$$frag
7341 if test $fragval != /dev/null; then
7342 eval $frag=${srcdir}/$fragval
7350 # Miscellanea: directories, flags, etc.
7359 # Build module lists & subconfigure args.
7363 # Host module lists & subconfigure args.
7368 # Target module lists & subconfigure args.
7390 # Generate default definitions for YACC, M4, LEX and other programs that run
7391 # on the build machine. These are used if the Makefile can't locate these
7392 # programs in objdir.
7393 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7395 for ac_prog in 'bison -y' byacc yacc
7397 # Extract the first word of "$ac_prog", so it can be a program name with args.
7398 set dummy $ac_prog; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7400 $as_echo_n "checking
for $ac_word...
" >&6; }
7401 if test "${ac_cv_prog_YACC+set}" = set; then :
7402 $as_echo_n "(cached
) " >&6
7404 if test -n "$YACC"; then
7405 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414 ac_cv_prog_YACC="$ac_prog"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7424 YACC=$ac_cv_prog_YACC
7425 if test -n "$YACC"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7427 $as_echo "$YACC" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7430 $as_echo "no
" >&6; }
7434 test -n "$YACC" && break
7436 test -n "$YACC" || YACC="$MISSING bison
-y"
7438 case " $build_configdirs " in
7439 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7442 for ac_prog in bison
7444 # Extract the first word of "$ac_prog", so it can be a program name with args.
7445 set dummy $ac_prog; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7447 $as_echo_n "checking
for $ac_word...
" >&6; }
7448 if test "${ac_cv_prog_BISON+set}" = set; then :
7449 $as_echo_n "(cached
) " >&6
7451 if test -n "$BISON"; then
7452 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7461 ac_cv_prog_BISON="$ac_prog"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 BISON=$ac_cv_prog_BISON
7472 if test -n "$BISON"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7474 $as_echo "$BISON" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7477 $as_echo "no
" >&6; }
7481 test -n "$BISON" && break
7483 test -n "$BISON" || BISON="$MISSING bison
"
7485 case " $build_configdirs " in
7486 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7489 for ac_prog in gm4 gnum4 m4
7491 # Extract the first word of "$ac_prog", so it can be a program name with args.
7492 set dummy $ac_prog; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7494 $as_echo_n "checking
for $ac_word...
" >&6; }
7495 if test "${ac_cv_prog_M4+set}" = set; then :
7496 $as_echo_n "(cached
) " >&6
7498 if test -n "$M4"; then
7499 ac_cv_prog_M4="$M4" # Let the user override the test.
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7508 ac_cv_prog_M4="$ac_prog"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7519 if test -n "$M4"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7521 $as_echo "$M4" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7524 $as_echo "no
" >&6; }
7528 test -n "$M4" && break
7530 test -n "$M4" || M4="$MISSING m4"
7532 case " $build_configdirs " in
7533 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7536 for ac_prog in flex lex
7538 # Extract the first word of "$ac_prog", so it can be a program name with args.
7539 set dummy $ac_prog; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7541 $as_echo_n "checking
for $ac_word...
" >&6; }
7542 if test "${ac_cv_prog_LEX+set}" = set; then :
7543 $as_echo_n "(cached
) " >&6
7545 if test -n "$LEX"; then
7546 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7555 ac_cv_prog_LEX="$ac_prog"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7566 if test -n "$LEX"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7568 $as_echo "$LEX" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7571 $as_echo "no
" >&6; }
7575 test -n "$LEX" && break
7577 test -n "$LEX" || LEX="$MISSING flex
"
7579 case " $build_configdirs " in
7580 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7581 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7586 # Extract the first word of "$ac_prog", so it can be a program name with args.
7587 set dummy $ac_prog; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if test "${ac_cv_prog_FLEX+set}" = set; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$FLEX"; then
7594 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 ac_cv_prog_FLEX="$ac_prog"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 FLEX=$ac_cv_prog_FLEX
7614 if test -n "$FLEX"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7616 $as_echo "$FLEX" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7623 test -n "$FLEX" && break
7625 test -n "$FLEX" || FLEX="$MISSING flex
"
7627 case " $build_configdirs " in
7628 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7631 for ac_prog in makeinfo
7633 # Extract the first word of "$ac_prog", so it can be a program name with args.
7634 set dummy $ac_prog; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7636 $as_echo_n "checking
for $ac_word...
" >&6; }
7637 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7638 $as_echo_n "(cached
) " >&6
7640 if test -n "$MAKEINFO"; then
7641 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_MAKEINFO="$ac_prog"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7660 MAKEINFO=$ac_cv_prog_MAKEINFO
7661 if test -n "$MAKEINFO"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7663 $as_echo "$MAKEINFO" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7666 $as_echo "no
" >&6; }
7670 test -n "$MAKEINFO" && break
7672 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7674 case " $build_configdirs " in
7675 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7678 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7679 # higher, else we use the "missing
" dummy.
7680 if ${MAKEINFO} --version \
7681 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7684 MAKEINFO="$MISSING makeinfo
"
7690 # FIXME: expect and dejagnu may become build tools?
7692 for ac_prog in expect
7694 # Extract the first word of "$ac_prog", so it can be a program name with args.
7695 set dummy $ac_prog; ac_word=$2
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7697 $as_echo_n "checking
for $ac_word...
" >&6; }
7698 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7699 $as_echo_n "(cached
) " >&6
7701 if test -n "$EXPECT"; then
7702 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir=.
7709 for ac_exec_ext in '' $ac_executable_extensions; do
7710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7711 ac_cv_prog_EXPECT="$ac_prog"
7712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7721 EXPECT=$ac_cv_prog_EXPECT
7722 if test -n "$EXPECT"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7724 $as_echo "$EXPECT" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7727 $as_echo "no
" >&6; }
7731 test -n "$EXPECT" && break
7733 test -n "$EXPECT" || EXPECT="expect
"
7735 case " $configdirs " in
7737 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7741 for ac_prog in runtest
7743 # Extract the first word of "$ac_prog", so it can be a program name with args.
7744 set dummy $ac_prog; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7746 $as_echo_n "checking
for $ac_word...
" >&6; }
7747 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7748 $as_echo_n "(cached
) " >&6
7750 if test -n "$RUNTEST"; then
7751 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_prog_RUNTEST="$ac_prog"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7770 RUNTEST=$ac_cv_prog_RUNTEST
7771 if test -n "$RUNTEST"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7773 $as_echo "$RUNTEST" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7776 $as_echo "no
" >&6; }
7780 test -n "$RUNTEST" && break
7782 test -n "$RUNTEST" || RUNTEST="runtest
"
7784 case " $configdirs " in
7786 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7793 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7794 ncn_target_tool_prefix=
7795 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7799 if test -n "$AR"; then
7801 elif test -n "$ac_cv_prog_AR"; then
7805 if test -n "$ac_cv_prog_AR"; then
7806 for ncn_progname in ar; do
7807 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7808 set dummy ${ncn_progname}; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7810 $as_echo_n "checking
for $ac_word...
" >&6; }
7811 if test "${ac_cv_prog_AR+set}" = set; then :
7812 $as_echo_n "(cached
) " >&6
7814 if test -n "$AR"; then
7815 ac_cv_prog_AR="$AR" # Let the user override the test.
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7824 ac_cv_prog_AR="${ncn_progname}"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7835 if test -n "$AR"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7837 $as_echo "$AR" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7840 $as_echo "no
" >&6; }
7847 for ncn_progname in ar; do
7848 if test -n "$ncn_tool_prefix"; then
7849 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7850 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7852 $as_echo_n "checking
for $ac_word...
" >&6; }
7853 if test "${ac_cv_prog_AR+set}" = set; then :
7854 $as_echo_n "(cached
) " >&6
7856 if test -n "$AR"; then
7857 ac_cv_prog_AR="$AR" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7866 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7877 if test -n "$AR"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7879 $as_echo "$AR" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7882 $as_echo "no
" >&6; }
7887 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7889 set dummy ${ncn_progname}; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if test "${ac_cv_prog_AR+set}" = set; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$AR"; then
7896 ac_cv_prog_AR="$AR" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_AR="${ncn_progname}"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7916 if test -n "$AR"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7918 $as_echo "$AR" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7926 test -n "$ac_cv_prog_AR" && break
7929 if test -z "$ac_cv_prog_AR" ; then
7931 if test $build = $host ; then
7934 AR="${ncn_tool_prefix}$2"
7940 if test -n "$AS"; then
7942 elif test -n "$ac_cv_prog_AS"; then
7946 if test -n "$ac_cv_prog_AS"; then
7947 for ncn_progname in as; do
7948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7949 set dummy ${ncn_progname}; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7951 $as_echo_n "checking
for $ac_word...
" >&6; }
7952 if test "${ac_cv_prog_AS+set}" = set; then :
7953 $as_echo_n "(cached
) " >&6
7955 if test -n "$AS"; then
7956 ac_cv_prog_AS="$AS" # Let the user override the test.
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_AS="${ncn_progname}"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7976 if test -n "$AS"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7978 $as_echo "$AS" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7981 $as_echo "no
" >&6; }
7988 for ncn_progname in as; do
7989 if test -n "$ncn_tool_prefix"; then
7990 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7991 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7993 $as_echo_n "checking
for $ac_word...
" >&6; }
7994 if test "${ac_cv_prog_AS+set}" = set; then :
7995 $as_echo_n "(cached
) " >&6
7997 if test -n "$AS"; then
7998 ac_cv_prog_AS="$AS" # Let the user override the test.
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8018 if test -n "$AS"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8020 $as_echo "$AS" >&6; }
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8023 $as_echo "no
" >&6; }
8028 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8030 set dummy ${ncn_progname}; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8032 $as_echo_n "checking
for $ac_word...
" >&6; }
8033 if test "${ac_cv_prog_AS+set}" = set; then :
8034 $as_echo_n "(cached
) " >&6
8036 if test -n "$AS"; then
8037 ac_cv_prog_AS="$AS" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8046 ac_cv_prog_AS="${ncn_progname}"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8057 if test -n "$AS"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8059 $as_echo "$AS" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8062 $as_echo "no
" >&6; }
8067 test -n "$ac_cv_prog_AS" && break
8070 if test -z "$ac_cv_prog_AS" ; then
8072 if test $build = $host ; then
8075 AS="${ncn_tool_prefix}$2"
8081 if test -n "$DLLTOOL"; then
8082 ac_cv_prog_DLLTOOL=$DLLTOOL
8083 elif test -n "$ac_cv_prog_DLLTOOL"; then
8084 DLLTOOL=$ac_cv_prog_DLLTOOL
8087 if test -n "$ac_cv_prog_DLLTOOL"; then
8088 for ncn_progname in dlltool; do
8089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8090 set dummy ${ncn_progname}; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8092 $as_echo_n "checking
for $ac_word...
" >&6; }
8093 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8094 $as_echo_n "(cached
) " >&6
8096 if test -n "$DLLTOOL"; then
8097 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106 ac_cv_prog_DLLTOOL="${ncn_progname}"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8116 DLLTOOL=$ac_cv_prog_DLLTOOL
8117 if test -n "$DLLTOOL"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8119 $as_echo "$DLLTOOL" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8122 $as_echo "no
" >&6; }
8129 for ncn_progname in dlltool; do
8130 if test -n "$ncn_tool_prefix"; then
8131 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8132 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8134 $as_echo_n "checking
for $ac_word...
" >&6; }
8135 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8136 $as_echo_n "(cached
) " >&6
8138 if test -n "$DLLTOOL"; then
8139 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8148 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8158 DLLTOOL=$ac_cv_prog_DLLTOOL
8159 if test -n "$DLLTOOL"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8161 $as_echo "$DLLTOOL" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8164 $as_echo "no
" >&6; }
8169 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8171 set dummy ${ncn_progname}; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8173 $as_echo_n "checking
for $ac_word...
" >&6; }
8174 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8175 $as_echo_n "(cached
) " >&6
8177 if test -n "$DLLTOOL"; then
8178 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187 ac_cv_prog_DLLTOOL="${ncn_progname}"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 DLLTOOL=$ac_cv_prog_DLLTOOL
8198 if test -n "$DLLTOOL"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8200 $as_echo "$DLLTOOL" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8203 $as_echo "no
" >&6; }
8208 test -n "$ac_cv_prog_DLLTOOL" && break
8211 if test -z "$ac_cv_prog_DLLTOOL" ; then
8213 if test $build = $host ; then
8216 DLLTOOL="${ncn_tool_prefix}$2"
8222 if test -n "$LD"; then
8224 elif test -n "$ac_cv_prog_LD"; then
8228 if test -n "$ac_cv_prog_LD"; then
8229 for ncn_progname in ld; do
8230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8231 set dummy ${ncn_progname}; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8233 $as_echo_n "checking
for $ac_word...
" >&6; }
8234 if test "${ac_cv_prog_LD+set}" = set; then :
8235 $as_echo_n "(cached
) " >&6
8237 if test -n "$LD"; then
8238 ac_cv_prog_LD="$LD" # Let the user override the test.
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_LD="${ncn_progname}"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8258 if test -n "$LD"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8260 $as_echo "$LD" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8263 $as_echo "no
" >&6; }
8270 for ncn_progname in ld; do
8271 if test -n "$ncn_tool_prefix"; then
8272 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8273 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8275 $as_echo_n "checking
for $ac_word...
" >&6; }
8276 if test "${ac_cv_prog_LD+set}" = set; then :
8277 $as_echo_n "(cached
) " >&6
8279 if test -n "$LD"; then
8280 ac_cv_prog_LD="$LD" # Let the user override the test.
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8289 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8300 if test -n "$LD"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8302 $as_echo "$LD" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8305 $as_echo "no
" >&6; }
8310 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8312 set dummy ${ncn_progname}; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8314 $as_echo_n "checking
for $ac_word...
" >&6; }
8315 if test "${ac_cv_prog_LD+set}" = set; then :
8316 $as_echo_n "(cached
) " >&6
8318 if test -n "$LD"; then
8319 ac_cv_prog_LD="$LD" # Let the user override the test.
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_LD="${ncn_progname}"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8339 if test -n "$LD"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8341 $as_echo "$LD" >&6; }
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8344 $as_echo "no
" >&6; }
8349 test -n "$ac_cv_prog_LD" && break
8352 if test -z "$ac_cv_prog_LD" ; then
8354 if test $build = $host ; then
8357 LD="${ncn_tool_prefix}$2"
8363 if test -n "$LIPO"; then
8364 ac_cv_prog_LIPO=$LIPO
8365 elif test -n "$ac_cv_prog_LIPO"; then
8366 LIPO=$ac_cv_prog_LIPO
8369 if test -n "$ac_cv_prog_LIPO"; then
8370 for ncn_progname in lipo; do
8371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8372 set dummy ${ncn_progname}; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8374 $as_echo_n "checking
for $ac_word...
" >&6; }
8375 if test "${ac_cv_prog_LIPO+set}" = set; then :
8376 $as_echo_n "(cached
) " >&6
8378 if test -n "$LIPO"; then
8379 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388 ac_cv_prog_LIPO="${ncn_progname}"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8398 LIPO=$ac_cv_prog_LIPO
8399 if test -n "$LIPO"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8401 $as_echo "$LIPO" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8404 $as_echo "no
" >&6; }
8411 for ncn_progname in lipo; do
8412 if test -n "$ncn_tool_prefix"; then
8413 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8414 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8416 $as_echo_n "checking
for $ac_word...
" >&6; }
8417 if test "${ac_cv_prog_LIPO+set}" = set; then :
8418 $as_echo_n "(cached
) " >&6
8420 if test -n "$LIPO"; then
8421 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8430 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8440 LIPO=$ac_cv_prog_LIPO
8441 if test -n "$LIPO"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8443 $as_echo "$LIPO" >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8446 $as_echo "no
" >&6; }
8451 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8453 set dummy ${ncn_progname}; ac_word=$2
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8455 $as_echo_n "checking
for $ac_word...
" >&6; }
8456 if test "${ac_cv_prog_LIPO+set}" = set; then :
8457 $as_echo_n "(cached
) " >&6
8459 if test -n "$LIPO"; then
8460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8466 test -z "$as_dir" && as_dir=.
8467 for ac_exec_ext in '' $ac_executable_extensions; do
8468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8469 ac_cv_prog_LIPO="${ncn_progname}"
8470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8479 LIPO=$ac_cv_prog_LIPO
8480 if test -n "$LIPO"; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8482 $as_echo "$LIPO" >&6; }
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8485 $as_echo "no
" >&6; }
8490 test -n "$ac_cv_prog_LIPO" && break
8493 if test -z "$ac_cv_prog_LIPO" ; then
8495 if test $build = $host ; then
8498 LIPO="${ncn_tool_prefix}$2"
8504 if test -n "$NM"; then
8506 elif test -n "$ac_cv_prog_NM"; then
8510 if test -n "$ac_cv_prog_NM"; then
8511 for ncn_progname in nm; do
8512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8513 set dummy ${ncn_progname}; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8515 $as_echo_n "checking
for $ac_word...
" >&6; }
8516 if test "${ac_cv_prog_NM+set}" = set; then :
8517 $as_echo_n "(cached
) " >&6
8519 if test -n "$NM"; then
8520 ac_cv_prog_NM="$NM" # Let the user override the test.
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8529 ac_cv_prog_NM="${ncn_progname}"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8540 if test -n "$NM"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8542 $as_echo "$NM" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8545 $as_echo "no
" >&6; }
8552 for ncn_progname in nm; do
8553 if test -n "$ncn_tool_prefix"; then
8554 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8555 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8557 $as_echo_n "checking
for $ac_word...
" >&6; }
8558 if test "${ac_cv_prog_NM+set}" = set; then :
8559 $as_echo_n "(cached
) " >&6
8561 if test -n "$NM"; then
8562 ac_cv_prog_NM="$NM" # Let the user override the test.
8564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir=.
8569 for ac_exec_ext in '' $ac_executable_extensions; do
8570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8571 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 if test -n "$NM"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8584 $as_echo "$NM" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8587 $as_echo "no
" >&6; }
8592 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8594 set dummy ${ncn_progname}; ac_word=$2
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8596 $as_echo_n "checking
for $ac_word...
" >&6; }
8597 if test "${ac_cv_prog_NM+set}" = set; then :
8598 $as_echo_n "(cached
) " >&6
8600 if test -n "$NM"; then
8601 ac_cv_prog_NM="$NM" # Let the user override the test.
8603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8607 test -z "$as_dir" && as_dir=.
8608 for ac_exec_ext in '' $ac_executable_extensions; do
8609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8610 ac_cv_prog_NM="${ncn_progname}"
8611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 if test -n "$NM"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8623 $as_echo "$NM" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8626 $as_echo "no
" >&6; }
8631 test -n "$ac_cv_prog_NM" && break
8634 if test -z "$ac_cv_prog_NM" ; then
8636 if test $build = $host ; then
8639 NM="${ncn_tool_prefix}$2"
8645 if test -n "$RANLIB"; then
8646 ac_cv_prog_RANLIB=$RANLIB
8647 elif test -n "$ac_cv_prog_RANLIB"; then
8648 RANLIB=$ac_cv_prog_RANLIB
8651 if test -n "$ac_cv_prog_RANLIB"; then
8652 for ncn_progname in ranlib; do
8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8654 set dummy ${ncn_progname}; ac_word=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8656 $as_echo_n "checking
for $ac_word...
" >&6; }
8657 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8658 $as_echo_n "(cached
) " >&6
8660 if test -n "$RANLIB"; then
8661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_prog_RANLIB="${ncn_progname}"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8680 RANLIB=$ac_cv_prog_RANLIB
8681 if test -n "$RANLIB"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8683 $as_echo "$RANLIB" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8686 $as_echo "no
" >&6; }
8693 for ncn_progname in ranlib; do
8694 if test -n "$ncn_tool_prefix"; then
8695 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8696 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8698 $as_echo_n "checking
for $ac_word...
" >&6; }
8699 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8700 $as_echo_n "(cached
) " >&6
8702 if test -n "$RANLIB"; then
8703 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8712 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8722 RANLIB=$ac_cv_prog_RANLIB
8723 if test -n "$RANLIB"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8725 $as_echo "$RANLIB" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8728 $as_echo "no
" >&6; }
8733 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8735 set dummy ${ncn_progname}; ac_word=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8737 $as_echo_n "checking
for $ac_word...
" >&6; }
8738 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8739 $as_echo_n "(cached
) " >&6
8741 if test -n "$RANLIB"; then
8742 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_prog_RANLIB="${ncn_progname}"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8761 RANLIB=$ac_cv_prog_RANLIB
8762 if test -n "$RANLIB"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8764 $as_echo "$RANLIB" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8767 $as_echo "no
" >&6; }
8772 test -n "$ac_cv_prog_RANLIB" && break
8775 if test -z "$ac_cv_prog_RANLIB" ; then
8781 if test -n "$STRIP"; then
8782 ac_cv_prog_STRIP=$STRIP
8783 elif test -n "$ac_cv_prog_STRIP"; then
8784 STRIP=$ac_cv_prog_STRIP
8787 if test -n "$ac_cv_prog_STRIP"; then
8788 for ncn_progname in strip; do
8789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8790 set dummy ${ncn_progname}; ac_word=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8792 $as_echo_n "checking
for $ac_word...
" >&6; }
8793 if test "${ac_cv_prog_STRIP+set}" = set; then :
8794 $as_echo_n "(cached
) " >&6
8796 if test -n "$STRIP"; then
8797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8806 ac_cv_prog_STRIP="${ncn_progname}"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8816 STRIP=$ac_cv_prog_STRIP
8817 if test -n "$STRIP"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8819 $as_echo "$STRIP" >&6; }
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8822 $as_echo "no
" >&6; }
8829 for ncn_progname in strip; do
8830 if test -n "$ncn_tool_prefix"; then
8831 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8832 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8834 $as_echo_n "checking
for $ac_word...
" >&6; }
8835 if test "${ac_cv_prog_STRIP+set}" = set; then :
8836 $as_echo_n "(cached
) " >&6
8838 if test -n "$STRIP"; then
8839 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8848 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8858 STRIP=$ac_cv_prog_STRIP
8859 if test -n "$STRIP"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8861 $as_echo "$STRIP" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8864 $as_echo "no
" >&6; }
8869 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8871 set dummy ${ncn_progname}; ac_word=$2
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8873 $as_echo_n "checking
for $ac_word...
" >&6; }
8874 if test "${ac_cv_prog_STRIP+set}" = set; then :
8875 $as_echo_n "(cached
) " >&6
8877 if test -n "$STRIP"; then
8878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884 test -z "$as_dir" && as_dir=.
8885 for ac_exec_ext in '' $ac_executable_extensions; do
8886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8887 ac_cv_prog_STRIP="${ncn_progname}"
8888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8897 STRIP=$ac_cv_prog_STRIP
8898 if test -n "$STRIP"; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8900 $as_echo "$STRIP" >&6; }
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8903 $as_echo "no
" >&6; }
8908 test -n "$ac_cv_prog_STRIP" && break
8911 if test -z "$ac_cv_prog_STRIP" ; then
8917 if test -n "$WINDRES"; then
8918 ac_cv_prog_WINDRES=$WINDRES
8919 elif test -n "$ac_cv_prog_WINDRES"; then
8920 WINDRES=$ac_cv_prog_WINDRES
8923 if test -n "$ac_cv_prog_WINDRES"; then
8924 for ncn_progname in windres; do
8925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8926 set dummy ${ncn_progname}; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8928 $as_echo_n "checking
for $ac_word...
" >&6; }
8929 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8930 $as_echo_n "(cached
) " >&6
8932 if test -n "$WINDRES"; then
8933 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8942 ac_cv_prog_WINDRES="${ncn_progname}"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8952 WINDRES=$ac_cv_prog_WINDRES
8953 if test -n "$WINDRES"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8955 $as_echo "$WINDRES" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8958 $as_echo "no
" >&6; }
8965 for ncn_progname in windres; do
8966 if test -n "$ncn_tool_prefix"; then
8967 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8968 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8970 $as_echo_n "checking
for $ac_word...
" >&6; }
8971 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8972 $as_echo_n "(cached
) " >&6
8974 if test -n "$WINDRES"; then
8975 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8984 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8994 WINDRES=$ac_cv_prog_WINDRES
8995 if test -n "$WINDRES"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8997 $as_echo "$WINDRES" >&6; }
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9000 $as_echo "no
" >&6; }
9005 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9006 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9007 set dummy ${ncn_progname}; ac_word=$2
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9009 $as_echo_n "checking
for $ac_word...
" >&6; }
9010 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9011 $as_echo_n "(cached
) " >&6
9013 if test -n "$WINDRES"; then
9014 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir=.
9021 for ac_exec_ext in '' $ac_executable_extensions; do
9022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9023 ac_cv_prog_WINDRES="${ncn_progname}"
9024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9033 WINDRES=$ac_cv_prog_WINDRES
9034 if test -n "$WINDRES"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9036 $as_echo "$WINDRES" >&6; }
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9039 $as_echo "no
" >&6; }
9044 test -n "$ac_cv_prog_WINDRES" && break
9047 if test -z "$ac_cv_prog_WINDRES" ; then
9049 if test $build = $host ; then
9052 WINDRES="${ncn_tool_prefix}$2"
9058 if test -n "$WINDMC"; then
9059 ac_cv_prog_WINDMC=$WINDMC
9060 elif test -n "$ac_cv_prog_WINDMC"; then
9061 WINDMC=$ac_cv_prog_WINDMC
9064 if test -n "$ac_cv_prog_WINDMC"; then
9065 for ncn_progname in windmc; do
9066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9067 set dummy ${ncn_progname}; ac_word=$2
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9069 $as_echo_n "checking
for $ac_word...
" >&6; }
9070 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9071 $as_echo_n "(cached
) " >&6
9073 if test -n "$WINDMC"; then
9074 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir=.
9081 for ac_exec_ext in '' $ac_executable_extensions; do
9082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9083 ac_cv_prog_WINDMC="${ncn_progname}"
9084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9093 WINDMC=$ac_cv_prog_WINDMC
9094 if test -n "$WINDMC"; then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9096 $as_echo "$WINDMC" >&6; }
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9099 $as_echo "no
" >&6; }
9106 for ncn_progname in windmc; do
9107 if test -n "$ncn_tool_prefix"; then
9108 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9109 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9111 $as_echo_n "checking
for $ac_word...
" >&6; }
9112 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9113 $as_echo_n "(cached
) " >&6
9115 if test -n "$WINDMC"; then
9116 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9125 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9135 WINDMC=$ac_cv_prog_WINDMC
9136 if test -n "$WINDMC"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9138 $as_echo "$WINDMC" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9141 $as_echo "no
" >&6; }
9146 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9148 set dummy ${ncn_progname}; ac_word=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9150 $as_echo_n "checking
for $ac_word...
" >&6; }
9151 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9152 $as_echo_n "(cached
) " >&6
9154 if test -n "$WINDMC"; then
9155 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir=.
9162 for ac_exec_ext in '' $ac_executable_extensions; do
9163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9164 ac_cv_prog_WINDMC="${ncn_progname}"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9174 WINDMC=$ac_cv_prog_WINDMC
9175 if test -n "$WINDMC"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9177 $as_echo "$WINDMC" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9180 $as_echo "no
" >&6; }
9185 test -n "$ac_cv_prog_WINDMC" && break
9188 if test -z "$ac_cv_prog_WINDMC" ; then
9190 if test $build = $host ; then
9193 WINDMC="${ncn_tool_prefix}$2"
9199 if test -n "$OBJCOPY"; then
9200 ac_cv_prog_OBJCOPY=$OBJCOPY
9201 elif test -n "$ac_cv_prog_OBJCOPY"; then
9202 OBJCOPY=$ac_cv_prog_OBJCOPY
9205 if test -n "$ac_cv_prog_OBJCOPY"; then
9206 for ncn_progname in objcopy; do
9207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9208 set dummy ${ncn_progname}; ac_word=$2
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9210 $as_echo_n "checking
for $ac_word...
" >&6; }
9211 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9212 $as_echo_n "(cached
) " >&6
9214 if test -n "$OBJCOPY"; then
9215 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9221 test -z "$as_dir" && as_dir=.
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9224 ac_cv_prog_OBJCOPY="${ncn_progname}"
9225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9234 OBJCOPY=$ac_cv_prog_OBJCOPY
9235 if test -n "$OBJCOPY"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9237 $as_echo "$OBJCOPY" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9240 $as_echo "no
" >&6; }
9247 for ncn_progname in objcopy; do
9248 if test -n "$ncn_tool_prefix"; then
9249 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9250 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9252 $as_echo_n "checking
for $ac_word...
" >&6; }
9253 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9254 $as_echo_n "(cached
) " >&6
9256 if test -n "$OBJCOPY"; then
9257 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir=.
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9276 OBJCOPY=$ac_cv_prog_OBJCOPY
9277 if test -n "$OBJCOPY"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9279 $as_echo "$OBJCOPY" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9282 $as_echo "no
" >&6; }
9287 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9289 set dummy ${ncn_progname}; ac_word=$2
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9291 $as_echo_n "checking
for $ac_word...
" >&6; }
9292 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9293 $as_echo_n "(cached
) " >&6
9295 if test -n "$OBJCOPY"; then
9296 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir=.
9303 for ac_exec_ext in '' $ac_executable_extensions; do
9304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9305 ac_cv_prog_OBJCOPY="${ncn_progname}"
9306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9315 OBJCOPY=$ac_cv_prog_OBJCOPY
9316 if test -n "$OBJCOPY"; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9318 $as_echo "$OBJCOPY" >&6; }
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9321 $as_echo "no
" >&6; }
9326 test -n "$ac_cv_prog_OBJCOPY" && break
9329 if test -z "$ac_cv_prog_OBJCOPY" ; then
9331 if test $build = $host ; then
9334 OBJCOPY="${ncn_tool_prefix}$2"
9340 if test -n "$OBJDUMP"; then
9341 ac_cv_prog_OBJDUMP=$OBJDUMP
9342 elif test -n "$ac_cv_prog_OBJDUMP"; then
9343 OBJDUMP=$ac_cv_prog_OBJDUMP
9346 if test -n "$ac_cv_prog_OBJDUMP"; then
9347 for ncn_progname in objdump; do
9348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9349 set dummy ${ncn_progname}; ac_word=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9351 $as_echo_n "checking
for $ac_word...
" >&6; }
9352 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9353 $as_echo_n "(cached
) " >&6
9355 if test -n "$OBJDUMP"; then
9356 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_OBJDUMP="${ncn_progname}"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9375 OBJDUMP=$ac_cv_prog_OBJDUMP
9376 if test -n "$OBJDUMP"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9378 $as_echo "$OBJDUMP" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9381 $as_echo "no
" >&6; }
9388 for ncn_progname in objdump; do
9389 if test -n "$ncn_tool_prefix"; then
9390 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9391 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9393 $as_echo_n "checking
for $ac_word...
" >&6; }
9394 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9395 $as_echo_n "(cached
) " >&6
9397 if test -n "$OBJDUMP"; then
9398 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9404 test -z "$as_dir" && as_dir=.
9405 for ac_exec_ext in '' $ac_executable_extensions; do
9406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9407 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9417 OBJDUMP=$ac_cv_prog_OBJDUMP
9418 if test -n "$OBJDUMP"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9420 $as_echo "$OBJDUMP" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9423 $as_echo "no
" >&6; }
9428 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9429 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9430 set dummy ${ncn_progname}; ac_word=$2
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9432 $as_echo_n "checking
for $ac_word...
" >&6; }
9433 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9434 $as_echo_n "(cached
) " >&6
9436 if test -n "$OBJDUMP"; then
9437 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9443 test -z "$as_dir" && as_dir=.
9444 for ac_exec_ext in '' $ac_executable_extensions; do
9445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9446 ac_cv_prog_OBJDUMP="${ncn_progname}"
9447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9456 OBJDUMP=$ac_cv_prog_OBJDUMP
9457 if test -n "$OBJDUMP"; then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9459 $as_echo "$OBJDUMP" >&6; }
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9462 $as_echo "no
" >&6; }
9467 test -n "$ac_cv_prog_OBJDUMP" && break
9470 if test -z "$ac_cv_prog_OBJDUMP" ; then
9472 if test $build = $host ; then
9475 OBJDUMP="${ncn_tool_prefix}$2"
9481 if test -n "$READELF"; then
9482 ac_cv_prog_READELF=$READELF
9483 elif test -n "$ac_cv_prog_READELF"; then
9484 READELF=$ac_cv_prog_READELF
9487 if test -n "$ac_cv_prog_READELF"; then
9488 for ncn_progname in readelf; do
9489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9490 set dummy ${ncn_progname}; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9492 $as_echo_n "checking
for $ac_word...
" >&6; }
9493 if test "${ac_cv_prog_READELF+set}" = set; then :
9494 $as_echo_n "(cached
) " >&6
9496 if test -n "$READELF"; then
9497 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_prog_READELF="${ncn_progname}"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9516 READELF=$ac_cv_prog_READELF
9517 if test -n "$READELF"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9519 $as_echo "$READELF" >&6; }
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9522 $as_echo "no
" >&6; }
9529 for ncn_progname in readelf; do
9530 if test -n "$ncn_tool_prefix"; then
9531 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9532 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9534 $as_echo_n "checking
for $ac_word...
" >&6; }
9535 if test "${ac_cv_prog_READELF+set}" = set; then :
9536 $as_echo_n "(cached
) " >&6
9538 if test -n "$READELF"; then
9539 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 test -z "$as_dir" && as_dir=.
9546 for ac_exec_ext in '' $ac_executable_extensions; do
9547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9548 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9558 READELF=$ac_cv_prog_READELF
9559 if test -n "$READELF"; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9561 $as_echo "$READELF" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9564 $as_echo "no
" >&6; }
9569 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9571 set dummy ${ncn_progname}; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9573 $as_echo_n "checking
for $ac_word...
" >&6; }
9574 if test "${ac_cv_prog_READELF+set}" = set; then :
9575 $as_echo_n "(cached
) " >&6
9577 if test -n "$READELF"; then
9578 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir=.
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9587 ac_cv_prog_READELF="${ncn_progname}"
9588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9597 READELF=$ac_cv_prog_READELF
9598 if test -n "$READELF"; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9600 $as_echo "$READELF" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9603 $as_echo "no
" >&6; }
9608 test -n "$ac_cv_prog_READELF" && break
9611 if test -z "$ac_cv_prog_READELF" ; then
9613 if test $build = $host ; then
9616 READELF="${ncn_tool_prefix}$2"
9627 # Check whether --with-build-time-tools was given.
9628 if test "${with_build_time_tools+set}" = set; then :
9629 withval=$with_build_time_tools; case x"$withval" in
9632 with_build_time_tools=
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9634 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9638 with_build_time_tools=
9644 if test -n "$CC_FOR_TARGET"; then
9645 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9646 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9647 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9650 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9651 for ncn_progname in cc gcc; do
9652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9653 set dummy ${ncn_progname}; ac_word=$2
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9655 $as_echo_n "checking
for $ac_word...
" >&6; }
9656 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9657 $as_echo_n "(cached
) " >&6
9659 if test -n "$CC_FOR_TARGET"; then
9660 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9666 test -z "$as_dir" && as_dir=.
9667 for ac_exec_ext in '' $ac_executable_extensions; do
9668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9669 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9679 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9680 if test -n "$CC_FOR_TARGET"; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9682 $as_echo "$CC_FOR_TARGET" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9685 $as_echo "no
" >&6; }
9692 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9693 for ncn_progname in cc gcc; do
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9695 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9696 if test -x $with_build_time_tools/${ncn_progname}; then
9697 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9699 $as_echo "yes" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9703 $as_echo "no
" >&6; }
9708 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9709 for ncn_progname in cc gcc; do
9710 if test -n "$ncn_target_tool_prefix"; then
9711 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9712 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9714 $as_echo_n "checking
for $ac_word...
" >&6; }
9715 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9716 $as_echo_n "(cached
) " >&6
9718 if test -n "$CC_FOR_TARGET"; then
9719 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9725 test -z "$as_dir" && as_dir=.
9726 for ac_exec_ext in '' $ac_executable_extensions; do
9727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9728 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9738 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9739 if test -n "$CC_FOR_TARGET"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9741 $as_echo "$CC_FOR_TARGET" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9744 $as_echo "no
" >&6; }
9749 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9751 set dummy ${ncn_progname}; ac_word=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9753 $as_echo_n "checking
for $ac_word...
" >&6; }
9754 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9755 $as_echo_n "(cached
) " >&6
9757 if test -n "$CC_FOR_TARGET"; then
9758 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9777 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9778 if test -n "$CC_FOR_TARGET"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9780 $as_echo "$CC_FOR_TARGET" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9783 $as_echo "no
" >&6; }
9788 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9792 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9794 if test $build = $target ; then
9797 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9800 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9805 if test -n "$CXX_FOR_TARGET"; then
9806 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9807 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9808 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9811 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9812 for ncn_progname in c++ g++ cxx gxx; do
9813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9814 set dummy ${ncn_progname}; ac_word=$2
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9816 $as_echo_n "checking
for $ac_word...
" >&6; }
9817 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9818 $as_echo_n "(cached
) " >&6
9820 if test -n "$CXX_FOR_TARGET"; then
9821 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir=.
9828 for ac_exec_ext in '' $ac_executable_extensions; do
9829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9830 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9840 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9841 if test -n "$CXX_FOR_TARGET"; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9843 $as_echo "$CXX_FOR_TARGET" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9846 $as_echo "no
" >&6; }
9853 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9854 for ncn_progname in c++ g++ cxx gxx; do
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9856 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9857 if test -x $with_build_time_tools/${ncn_progname}; then
9858 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9860 $as_echo "yes" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9864 $as_echo "no
" >&6; }
9869 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9870 for ncn_progname in c++ g++ cxx gxx; do
9871 if test -n "$ncn_target_tool_prefix"; then
9872 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9873 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9875 $as_echo_n "checking
for $ac_word...
" >&6; }
9876 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9877 $as_echo_n "(cached
) " >&6
9879 if test -n "$CXX_FOR_TARGET"; then
9880 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 test -z "$as_dir" && as_dir=.
9887 for ac_exec_ext in '' $ac_executable_extensions; do
9888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9889 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9899 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9900 if test -n "$CXX_FOR_TARGET"; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9902 $as_echo "$CXX_FOR_TARGET" >&6; }
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9905 $as_echo "no
" >&6; }
9910 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9912 set dummy ${ncn_progname}; ac_word=$2
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9914 $as_echo_n "checking
for $ac_word...
" >&6; }
9915 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9916 $as_echo_n "(cached
) " >&6
9918 if test -n "$CXX_FOR_TARGET"; then
9919 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925 test -z "$as_dir" && as_dir=.
9926 for ac_exec_ext in '' $ac_executable_extensions; do
9927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9928 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9938 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9939 if test -n "$CXX_FOR_TARGET"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9941 $as_echo "$CXX_FOR_TARGET" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9944 $as_echo "no
" >&6; }
9949 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9953 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9954 set dummy c++ g++ cxx gxx
9955 if test $build = $target ; then
9958 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9961 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9966 if test -n "$GCC_FOR_TARGET"; then
9967 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9968 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9969 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9972 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9973 for ncn_progname in gcc; do
9974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9975 set dummy ${ncn_progname}; ac_word=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9977 $as_echo_n "checking
for $ac_word...
" >&6; }
9978 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9979 $as_echo_n "(cached
) " >&6
9981 if test -n "$GCC_FOR_TARGET"; then
9982 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10001 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10002 if test -n "$GCC_FOR_TARGET"; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10004 $as_echo "$GCC_FOR_TARGET" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10014 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10015 for ncn_progname in gcc; do
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10017 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10018 if test -x $with_build_time_tools/${ncn_progname}; then
10019 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10021 $as_echo "yes" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10025 $as_echo "no
" >&6; }
10030 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10031 for ncn_progname in gcc; do
10032 if test -n "$ncn_target_tool_prefix"; then
10033 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10034 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10036 $as_echo_n "checking
for $ac_word...
" >&6; }
10037 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10038 $as_echo_n "(cached
) " >&6
10040 if test -n "$GCC_FOR_TARGET"; then
10041 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $PATH
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10050 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10060 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10061 if test -n "$GCC_FOR_TARGET"; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10063 $as_echo "$GCC_FOR_TARGET" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10066 $as_echo "no
" >&6; }
10071 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10073 set dummy ${ncn_progname}; ac_word=$2
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10075 $as_echo_n "checking
for $ac_word...
" >&6; }
10076 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10077 $as_echo_n "(cached
) " >&6
10079 if test -n "$GCC_FOR_TARGET"; then
10080 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in $PATH
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10089 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10099 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10100 if test -n "$GCC_FOR_TARGET"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10102 $as_echo "$GCC_FOR_TARGET" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10105 $as_echo "no
" >&6; }
10110 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10114 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10115 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10117 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10122 if test -n "$GCJ_FOR_TARGET"; then
10123 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10124 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10125 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10128 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10129 for ncn_progname in gcj; do
10130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10131 set dummy ${ncn_progname}; ac_word=$2
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10133 $as_echo_n "checking
for $ac_word...
" >&6; }
10134 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10135 $as_echo_n "(cached
) " >&6
10137 if test -n "$GCJ_FOR_TARGET"; then
10138 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10141 for as_dir in $PATH
10144 test -z "$as_dir" && as_dir=.
10145 for ac_exec_ext in '' $ac_executable_extensions; do
10146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10147 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10157 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10158 if test -n "$GCJ_FOR_TARGET"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10160 $as_echo "$GCJ_FOR_TARGET" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10163 $as_echo "no
" >&6; }
10170 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10171 for ncn_progname in gcj; do
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10173 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10174 if test -x $with_build_time_tools/${ncn_progname}; then
10175 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10177 $as_echo "yes" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10181 $as_echo "no
" >&6; }
10186 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10187 for ncn_progname in gcj; do
10188 if test -n "$ncn_target_tool_prefix"; then
10189 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10190 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10192 $as_echo_n "checking
for $ac_word...
" >&6; }
10193 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10194 $as_echo_n "(cached
) " >&6
10196 if test -n "$GCJ_FOR_TARGET"; then
10197 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10203 test -z "$as_dir" && as_dir=.
10204 for ac_exec_ext in '' $ac_executable_extensions; do
10205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10206 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10216 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10217 if test -n "$GCJ_FOR_TARGET"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10219 $as_echo "$GCJ_FOR_TARGET" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10222 $as_echo "no
" >&6; }
10227 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10229 set dummy ${ncn_progname}; ac_word=$2
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10231 $as_echo_n "checking
for $ac_word...
" >&6; }
10232 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10233 $as_echo_n "(cached
) " >&6
10235 if test -n "$GCJ_FOR_TARGET"; then
10236 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10239 for as_dir in $PATH
10242 test -z "$as_dir" && as_dir=.
10243 for ac_exec_ext in '' $ac_executable_extensions; do
10244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10245 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10255 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10256 if test -n "$GCJ_FOR_TARGET"; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10258 $as_echo "$GCJ_FOR_TARGET" >&6; }
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10261 $as_echo "no
" >&6; }
10266 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10270 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10272 if test $build = $target ; then
10273 GCJ_FOR_TARGET="$2"
10275 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10278 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10283 if test -n "$GFORTRAN_FOR_TARGET"; then
10284 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10285 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10286 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10289 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10290 for ncn_progname in gfortran; do
10291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10292 set dummy ${ncn_progname}; ac_word=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10294 $as_echo_n "checking
for $ac_word...
" >&6; }
10295 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10296 $as_echo_n "(cached
) " >&6
10298 if test -n "$GFORTRAN_FOR_TARGET"; then
10299 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10302 for as_dir in $PATH
10305 test -z "$as_dir" && as_dir=.
10306 for ac_exec_ext in '' $ac_executable_extensions; do
10307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10308 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10318 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10319 if test -n "$GFORTRAN_FOR_TARGET"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10321 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10324 $as_echo "no
" >&6; }
10331 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10332 for ncn_progname in gfortran; do
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10334 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10335 if test -x $with_build_time_tools/${ncn_progname}; then
10336 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10338 $as_echo "yes" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10342 $as_echo "no
" >&6; }
10347 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10348 for ncn_progname in gfortran; do
10349 if test -n "$ncn_target_tool_prefix"; then
10350 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10351 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10353 $as_echo_n "checking
for $ac_word...
" >&6; }
10354 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10355 $as_echo_n "(cached
) " >&6
10357 if test -n "$GFORTRAN_FOR_TARGET"; then
10358 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $PATH
10364 test -z "$as_dir" && as_dir=.
10365 for ac_exec_ext in '' $ac_executable_extensions; do
10366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10367 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10377 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10378 if test -n "$GFORTRAN_FOR_TARGET"; then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10380 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10383 $as_echo "no
" >&6; }
10388 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10390 set dummy ${ncn_progname}; ac_word=$2
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10392 $as_echo_n "checking
for $ac_word...
" >&6; }
10393 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10394 $as_echo_n "(cached
) " >&6
10396 if test -n "$GFORTRAN_FOR_TARGET"; then
10397 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10403 test -z "$as_dir" && as_dir=.
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10406 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10416 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10417 if test -n "$GFORTRAN_FOR_TARGET"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10419 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10422 $as_echo "no
" >&6; }
10427 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10431 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10433 if test $build = $target ; then
10434 GFORTRAN_FOR_TARGET="$2"
10436 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10439 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10444 if test -n "$GOC_FOR_TARGET"; then
10445 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10446 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10447 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10450 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10451 for ncn_progname in gccgo; do
10452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10453 set dummy ${ncn_progname}; ac_word=$2
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10455 $as_echo_n "checking
for $ac_word...
" >&6; }
10456 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10457 $as_echo_n "(cached
) " >&6
10459 if test -n "$GOC_FOR_TARGET"; then
10460 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10466 test -z "$as_dir" && as_dir=.
10467 for ac_exec_ext in '' $ac_executable_extensions; do
10468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10469 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10479 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10480 if test -n "$GOC_FOR_TARGET"; then
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10482 $as_echo "$GOC_FOR_TARGET" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10485 $as_echo "no
" >&6; }
10492 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10493 for ncn_progname in gccgo; do
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10495 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10496 if test -x $with_build_time_tools/${ncn_progname}; then
10497 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10499 $as_echo "yes" >&6; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10503 $as_echo "no
" >&6; }
10508 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10509 for ncn_progname in gccgo; do
10510 if test -n "$ncn_target_tool_prefix"; then
10511 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10512 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10514 $as_echo_n "checking
for $ac_word...
" >&6; }
10515 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10516 $as_echo_n "(cached
) " >&6
10518 if test -n "$GOC_FOR_TARGET"; then
10519 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10522 for as_dir in $PATH
10525 test -z "$as_dir" && as_dir=.
10526 for ac_exec_ext in '' $ac_executable_extensions; do
10527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10528 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10538 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10539 if test -n "$GOC_FOR_TARGET"; then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10541 $as_echo "$GOC_FOR_TARGET" >&6; }
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10544 $as_echo "no
" >&6; }
10549 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10551 set dummy ${ncn_progname}; ac_word=$2
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10553 $as_echo_n "checking
for $ac_word...
" >&6; }
10554 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10555 $as_echo_n "(cached
) " >&6
10557 if test -n "$GOC_FOR_TARGET"; then
10558 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10561 for as_dir in $PATH
10564 test -z "$as_dir" && as_dir=.
10565 for ac_exec_ext in '' $ac_executable_extensions; do
10566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10567 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10577 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10578 if test -n "$GOC_FOR_TARGET"; then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10580 $as_echo "$GOC_FOR_TARGET" >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10583 $as_echo "no
" >&6; }
10588 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10592 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10594 if test $build = $target ; then
10595 GOC_FOR_TARGET="$2"
10597 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10600 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10605 cat > conftest.c << \EOF
10610 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10611 have_gcc_for_target=yes
10613 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10614 have_gcc_for_target=no
10621 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10622 if test -n "$with_build_time_tools"; then
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10624 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10625 if test -x $with_build_time_tools/ar; then
10626 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10627 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10629 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10632 $as_echo "no
" >&6; }
10634 elif test $build != $host && test $have_gcc_for_target = yes; then
10635 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10636 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10637 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10640 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10641 # Extract the first word of "ar", so it can be a program name with args.
10642 set dummy ar; ac_word=$2
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10644 $as_echo_n "checking
for $ac_word...
" >&6; }
10645 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10646 $as_echo_n "(cached
) " >&6
10648 case $AR_FOR_TARGET in
10650 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10654 for as_dir in $gcc_cv_tool_dirs
10657 test -z "$as_dir" && as_dir=.
10658 for ac_exec_ext in '' $ac_executable_extensions; do
10659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10660 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10671 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10672 if test -n "$AR_FOR_TARGET"; then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10674 $as_echo "$AR_FOR_TARGET" >&6; }
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10677 $as_echo "no
" >&6; }
10682 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10685 if test -n "$AR_FOR_TARGET"; then
10686 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10687 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10688 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10691 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10692 for ncn_progname in ar; do
10693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10694 set dummy ${ncn_progname}; ac_word=$2
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10696 $as_echo_n "checking
for $ac_word...
" >&6; }
10697 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10698 $as_echo_n "(cached
) " >&6
10700 if test -n "$AR_FOR_TARGET"; then
10701 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10704 for as_dir in $PATH
10707 test -z "$as_dir" && as_dir=.
10708 for ac_exec_ext in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10720 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10721 if test -n "$AR_FOR_TARGET"; then
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10723 $as_echo "$AR_FOR_TARGET" >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10726 $as_echo "no
" >&6; }
10733 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10734 for ncn_progname in ar; do
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10736 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10737 if test -x $with_build_time_tools/${ncn_progname}; then
10738 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10740 $as_echo "yes" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10744 $as_echo "no
" >&6; }
10749 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10750 for ncn_progname in ar; do
10751 if test -n "$ncn_target_tool_prefix"; then
10752 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10753 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10755 $as_echo_n "checking
for $ac_word...
" >&6; }
10756 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10757 $as_echo_n "(cached
) " >&6
10759 if test -n "$AR_FOR_TARGET"; then
10760 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763 for as_dir in $PATH
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10779 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10780 if test -n "$AR_FOR_TARGET"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10782 $as_echo "$AR_FOR_TARGET" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10785 $as_echo "no
" >&6; }
10790 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10792 set dummy ${ncn_progname}; ac_word=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10794 $as_echo_n "checking
for $ac_word...
" >&6; }
10795 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10796 $as_echo_n "(cached
) " >&6
10798 if test -n "$AR_FOR_TARGET"; then
10799 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10802 for as_dir in $PATH
10805 test -z "$as_dir" && as_dir=.
10806 for ac_exec_ext in '' $ac_executable_extensions; do
10807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10808 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10818 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10819 if test -n "$AR_FOR_TARGET"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10821 $as_echo "$AR_FOR_TARGET" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10824 $as_echo "no
" >&6; }
10829 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10833 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10835 if test $build = $target ; then
10838 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10841 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10845 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10851 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10852 if test -n "$with_build_time_tools"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10854 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10855 if test -x $with_build_time_tools/as; then
10856 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10857 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10859 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10862 $as_echo "no
" >&6; }
10864 elif test $build != $host && test $have_gcc_for_target = yes; then
10865 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10866 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10867 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10870 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10871 # Extract the first word of "as
", so it can be a program name with args.
10872 set dummy as; ac_word=$2
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10874 $as_echo_n "checking
for $ac_word...
" >&6; }
10875 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10876 $as_echo_n "(cached
) " >&6
10878 case $AS_FOR_TARGET in
10880 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10884 for as_dir in $gcc_cv_tool_dirs
10887 test -z "$as_dir" && as_dir=.
10888 for ac_exec_ext in '' $ac_executable_extensions; do
10889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10890 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10901 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10902 if test -n "$AS_FOR_TARGET"; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10904 $as_echo "$AS_FOR_TARGET" >&6; }
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10907 $as_echo "no
" >&6; }
10912 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10915 if test -n "$AS_FOR_TARGET"; then
10916 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10917 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10918 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10921 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10922 for ncn_progname in as; do
10923 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10924 set dummy ${ncn_progname}; ac_word=$2
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10926 $as_echo_n "checking
for $ac_word...
" >&6; }
10927 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10928 $as_echo_n "(cached
) " >&6
10930 if test -n "$AS_FOR_TARGET"; then
10931 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10934 for as_dir in $PATH
10937 test -z "$as_dir" && as_dir=.
10938 for ac_exec_ext in '' $ac_executable_extensions; do
10939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10940 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10950 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10951 if test -n "$AS_FOR_TARGET"; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10953 $as_echo "$AS_FOR_TARGET" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10956 $as_echo "no
" >&6; }
10963 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10964 for ncn_progname in as; do
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10966 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10967 if test -x $with_build_time_tools/${ncn_progname}; then
10968 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10970 $as_echo "yes" >&6; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10974 $as_echo "no
" >&6; }
10979 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10980 for ncn_progname in as; do
10981 if test -n "$ncn_target_tool_prefix"; then
10982 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10983 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10985 $as_echo_n "checking
for $ac_word...
" >&6; }
10986 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10987 $as_echo_n "(cached
) " >&6
10989 if test -n "$AS_FOR_TARGET"; then
10990 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10999 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11009 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11010 if test -n "$AS_FOR_TARGET"; then
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11012 $as_echo "$AS_FOR_TARGET" >&6; }
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11015 $as_echo "no
" >&6; }
11020 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11021 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11022 set dummy ${ncn_progname}; ac_word=$2
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11024 $as_echo_n "checking
for $ac_word...
" >&6; }
11025 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11026 $as_echo_n "(cached
) " >&6
11028 if test -n "$AS_FOR_TARGET"; then
11029 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11032 for as_dir in $PATH
11035 test -z "$as_dir" && as_dir=.
11036 for ac_exec_ext in '' $ac_executable_extensions; do
11037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11038 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11048 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11049 if test -n "$AS_FOR_TARGET"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11051 $as_echo "$AS_FOR_TARGET" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11054 $as_echo "no
" >&6; }
11059 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11063 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11065 if test $build = $target ; then
11068 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11071 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11075 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11081 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11082 if test -n "$with_build_time_tools"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11084 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11085 if test -x $with_build_time_tools/dlltool; then
11086 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11087 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11089 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11092 $as_echo "no
" >&6; }
11094 elif test $build != $host && test $have_gcc_for_target = yes; then
11095 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11096 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11097 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11100 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11101 # Extract the first word of "dlltool
", so it can be a program name with args.
11102 set dummy dlltool; ac_word=$2
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11104 $as_echo_n "checking
for $ac_word...
" >&6; }
11105 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11106 $as_echo_n "(cached
) " >&6
11108 case $DLLTOOL_FOR_TARGET in
11110 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11114 for as_dir in $gcc_cv_tool_dirs
11117 test -z "$as_dir" && as_dir=.
11118 for ac_exec_ext in '' $ac_executable_extensions; do
11119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11120 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11131 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11132 if test -n "$DLLTOOL_FOR_TARGET"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11134 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11137 $as_echo "no
" >&6; }
11142 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11145 if test -n "$DLLTOOL_FOR_TARGET"; then
11146 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11147 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11148 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11151 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11152 for ncn_progname in dlltool; do
11153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11154 set dummy ${ncn_progname}; ac_word=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11156 $as_echo_n "checking
for $ac_word...
" >&6; }
11157 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11158 $as_echo_n "(cached
) " >&6
11160 if test -n "$DLLTOOL_FOR_TARGET"; then
11161 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11164 for as_dir in $PATH
11167 test -z "$as_dir" && as_dir=.
11168 for ac_exec_ext in '' $ac_executable_extensions; do
11169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11180 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11181 if test -n "$DLLTOOL_FOR_TARGET"; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11183 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11186 $as_echo "no
" >&6; }
11193 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11194 for ncn_progname in dlltool; do
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11196 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11197 if test -x $with_build_time_tools/${ncn_progname}; then
11198 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11200 $as_echo "yes" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11204 $as_echo "no
" >&6; }
11209 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11210 for ncn_progname in dlltool; do
11211 if test -n "$ncn_target_tool_prefix"; then
11212 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11213 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11215 $as_echo_n "checking
for $ac_word...
" >&6; }
11216 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11217 $as_echo_n "(cached
) " >&6
11219 if test -n "$DLLTOOL_FOR_TARGET"; then
11220 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11223 for as_dir in $PATH
11226 test -z "$as_dir" && as_dir=.
11227 for ac_exec_ext in '' $ac_executable_extensions; do
11228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11229 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11239 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11240 if test -n "$DLLTOOL_FOR_TARGET"; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11242 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11245 $as_echo "no
" >&6; }
11250 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11252 set dummy ${ncn_progname}; ac_word=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11254 $as_echo_n "checking
for $ac_word...
" >&6; }
11255 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11256 $as_echo_n "(cached
) " >&6
11258 if test -n "$DLLTOOL_FOR_TARGET"; then
11259 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11262 for as_dir in $PATH
11265 test -z "$as_dir" && as_dir=.
11266 for ac_exec_ext in '' $ac_executable_extensions; do
11267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11268 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11278 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11279 if test -n "$DLLTOOL_FOR_TARGET"; then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11281 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11284 $as_echo "no
" >&6; }
11289 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11293 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11295 if test $build = $target ; then
11296 DLLTOOL_FOR_TARGET="$2"
11298 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11301 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11305 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11311 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11312 if test -n "$with_build_time_tools"; then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11314 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11315 if test -x $with_build_time_tools/ld; then
11316 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11317 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11319 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11322 $as_echo "no
" >&6; }
11324 elif test $build != $host && test $have_gcc_for_target = yes; then
11325 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11326 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11327 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11330 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11331 # Extract the first word of "ld
", so it can be a program name with args.
11332 set dummy ld; ac_word=$2
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11334 $as_echo_n "checking
for $ac_word...
" >&6; }
11335 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11336 $as_echo_n "(cached
) " >&6
11338 case $LD_FOR_TARGET in
11340 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11344 for as_dir in $gcc_cv_tool_dirs
11347 test -z "$as_dir" && as_dir=.
11348 for ac_exec_ext in '' $ac_executable_extensions; do
11349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11350 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11361 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11362 if test -n "$LD_FOR_TARGET"; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11364 $as_echo "$LD_FOR_TARGET" >&6; }
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11367 $as_echo "no
" >&6; }
11372 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11375 if test -n "$LD_FOR_TARGET"; then
11376 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11377 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11378 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11381 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11382 for ncn_progname in ld; do
11383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11384 set dummy ${ncn_progname}; ac_word=$2
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11386 $as_echo_n "checking
for $ac_word...
" >&6; }
11387 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11388 $as_echo_n "(cached
) " >&6
11390 if test -n "$LD_FOR_TARGET"; then
11391 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11394 for as_dir in $PATH
11397 test -z "$as_dir" && as_dir=.
11398 for ac_exec_ext in '' $ac_executable_extensions; do
11399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11400 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11410 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11411 if test -n "$LD_FOR_TARGET"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11413 $as_echo "$LD_FOR_TARGET" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11416 $as_echo "no
" >&6; }
11423 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11424 for ncn_progname in ld; do
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11426 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11427 if test -x $with_build_time_tools/${ncn_progname}; then
11428 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11430 $as_echo "yes" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11434 $as_echo "no
" >&6; }
11439 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11440 for ncn_progname in ld; do
11441 if test -n "$ncn_target_tool_prefix"; then
11442 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11443 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11445 $as_echo_n "checking
for $ac_word...
" >&6; }
11446 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11447 $as_echo_n "(cached
) " >&6
11449 if test -n "$LD_FOR_TARGET"; then
11450 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11453 for as_dir in $PATH
11456 test -z "$as_dir" && as_dir=.
11457 for ac_exec_ext in '' $ac_executable_extensions; do
11458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11459 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11469 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11470 if test -n "$LD_FOR_TARGET"; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11472 $as_echo "$LD_FOR_TARGET" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11475 $as_echo "no
" >&6; }
11480 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11482 set dummy ${ncn_progname}; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11484 $as_echo_n "checking
for $ac_word...
" >&6; }
11485 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11486 $as_echo_n "(cached
) " >&6
11488 if test -n "$LD_FOR_TARGET"; then
11489 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11492 for as_dir in $PATH
11495 test -z "$as_dir" && as_dir=.
11496 for ac_exec_ext in '' $ac_executable_extensions; do
11497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11498 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11508 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11509 if test -n "$LD_FOR_TARGET"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11511 $as_echo "$LD_FOR_TARGET" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11514 $as_echo "no
" >&6; }
11519 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11523 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11525 if test $build = $target ; then
11528 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11531 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11535 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11541 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11542 if test -n "$with_build_time_tools"; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11544 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11545 if test -x $with_build_time_tools/lipo; then
11546 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11547 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11549 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11552 $as_echo "no
" >&6; }
11554 elif test $build != $host && test $have_gcc_for_target = yes; then
11555 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11556 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11557 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11560 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11561 # Extract the first word of "lipo
", so it can be a program name with args.
11562 set dummy lipo; ac_word=$2
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11564 $as_echo_n "checking
for $ac_word...
" >&6; }
11565 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11566 $as_echo_n "(cached
) " >&6
11568 case $LIPO_FOR_TARGET in
11570 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11574 for as_dir in $gcc_cv_tool_dirs
11577 test -z "$as_dir" && as_dir=.
11578 for ac_exec_ext in '' $ac_executable_extensions; do
11579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11580 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11591 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11592 if test -n "$LIPO_FOR_TARGET"; then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11594 $as_echo "$LIPO_FOR_TARGET" >&6; }
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11597 $as_echo "no
" >&6; }
11602 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11605 if test -n "$LIPO_FOR_TARGET"; then
11606 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11607 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11608 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11611 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11612 for ncn_progname in lipo; do
11613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11614 set dummy ${ncn_progname}; ac_word=$2
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11616 $as_echo_n "checking
for $ac_word...
" >&6; }
11617 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11618 $as_echo_n "(cached
) " >&6
11620 if test -n "$LIPO_FOR_TARGET"; then
11621 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11630 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11640 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11641 if test -n "$LIPO_FOR_TARGET"; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11643 $as_echo "$LIPO_FOR_TARGET" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11646 $as_echo "no
" >&6; }
11653 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11654 for ncn_progname in lipo; do
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11656 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11657 if test -x $with_build_time_tools/${ncn_progname}; then
11658 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11660 $as_echo "yes" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11664 $as_echo "no
" >&6; }
11669 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11670 for ncn_progname in lipo; do
11671 if test -n "$ncn_target_tool_prefix"; then
11672 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11673 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11675 $as_echo_n "checking
for $ac_word...
" >&6; }
11676 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11677 $as_echo_n "(cached
) " >&6
11679 if test -n "$LIPO_FOR_TARGET"; then
11680 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11683 for as_dir in $PATH
11686 test -z "$as_dir" && as_dir=.
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11689 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11699 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11700 if test -n "$LIPO_FOR_TARGET"; then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11702 $as_echo "$LIPO_FOR_TARGET" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11705 $as_echo "no
" >&6; }
11710 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11711 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11712 set dummy ${ncn_progname}; ac_word=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11714 $as_echo_n "checking
for $ac_word...
" >&6; }
11715 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11716 $as_echo_n "(cached
) " >&6
11718 if test -n "$LIPO_FOR_TARGET"; then
11719 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 for as_dir in $PATH
11725 test -z "$as_dir" && as_dir=.
11726 for ac_exec_ext in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11738 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11739 if test -n "$LIPO_FOR_TARGET"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11741 $as_echo "$LIPO_FOR_TARGET" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11744 $as_echo "no
" >&6; }
11749 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11753 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11755 if test $build = $target ; then
11756 LIPO_FOR_TARGET="$2"
11758 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11761 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11765 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11771 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11772 if test -n "$with_build_time_tools"; then
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11774 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11775 if test -x $with_build_time_tools/nm; then
11776 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11777 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11779 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11782 $as_echo "no
" >&6; }
11784 elif test $build != $host && test $have_gcc_for_target = yes; then
11785 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11786 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11787 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11790 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11791 # Extract the first word of "nm
", so it can be a program name with args.
11792 set dummy nm; ac_word=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11794 $as_echo_n "checking
for $ac_word...
" >&6; }
11795 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11796 $as_echo_n "(cached
) " >&6
11798 case $NM_FOR_TARGET in
11800 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11804 for as_dir in $gcc_cv_tool_dirs
11807 test -z "$as_dir" && as_dir=.
11808 for ac_exec_ext in '' $ac_executable_extensions; do
11809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11810 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11821 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11822 if test -n "$NM_FOR_TARGET"; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11824 $as_echo "$NM_FOR_TARGET" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11827 $as_echo "no
" >&6; }
11832 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11835 if test -n "$NM_FOR_TARGET"; then
11836 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11837 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11838 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11841 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11842 for ncn_progname in nm; do
11843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11844 set dummy ${ncn_progname}; ac_word=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11846 $as_echo_n "checking
for $ac_word...
" >&6; }
11847 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11848 $as_echo_n "(cached
) " >&6
11850 if test -n "$NM_FOR_TARGET"; then
11851 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11854 for as_dir in $PATH
11857 test -z "$as_dir" && as_dir=.
11858 for ac_exec_ext in '' $ac_executable_extensions; do
11859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11860 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11870 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11871 if test -n "$NM_FOR_TARGET"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11873 $as_echo "$NM_FOR_TARGET" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11876 $as_echo "no
" >&6; }
11883 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11884 for ncn_progname in nm; do
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11886 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11887 if test -x $with_build_time_tools/${ncn_progname}; then
11888 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11890 $as_echo "yes" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11894 $as_echo "no
" >&6; }
11899 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11900 for ncn_progname in nm; do
11901 if test -n "$ncn_target_tool_prefix"; then
11902 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11903 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11905 $as_echo_n "checking
for $ac_word...
" >&6; }
11906 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11907 $as_echo_n "(cached
) " >&6
11909 if test -n "$NM_FOR_TARGET"; then
11910 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11913 for as_dir in $PATH
11916 test -z "$as_dir" && as_dir=.
11917 for ac_exec_ext in '' $ac_executable_extensions; do
11918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11919 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11929 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11930 if test -n "$NM_FOR_TARGET"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11932 $as_echo "$NM_FOR_TARGET" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11935 $as_echo "no
" >&6; }
11940 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11941 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11942 set dummy ${ncn_progname}; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11944 $as_echo_n "checking
for $ac_word...
" >&6; }
11945 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11946 $as_echo_n "(cached
) " >&6
11948 if test -n "$NM_FOR_TARGET"; then
11949 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11952 for as_dir in $PATH
11955 test -z "$as_dir" && as_dir=.
11956 for ac_exec_ext in '' $ac_executable_extensions; do
11957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11968 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11969 if test -n "$NM_FOR_TARGET"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11971 $as_echo "$NM_FOR_TARGET" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11974 $as_echo "no
" >&6; }
11979 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11983 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11985 if test $build = $target ; then
11988 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11991 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11995 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12001 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12002 if test -n "$with_build_time_tools"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12004 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12005 if test -x $with_build_time_tools/objdump; then
12006 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12007 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12009 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12012 $as_echo "no
" >&6; }
12014 elif test $build != $host && test $have_gcc_for_target = yes; then
12015 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12016 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12017 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12020 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12021 # Extract the first word of "objdump
", so it can be a program name with args.
12022 set dummy objdump; ac_word=$2
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12024 $as_echo_n "checking
for $ac_word...
" >&6; }
12025 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12026 $as_echo_n "(cached
) " >&6
12028 case $OBJDUMP_FOR_TARGET in
12030 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12034 for as_dir in $gcc_cv_tool_dirs
12037 test -z "$as_dir" && as_dir=.
12038 for ac_exec_ext in '' $ac_executable_extensions; do
12039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12040 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12051 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12052 if test -n "$OBJDUMP_FOR_TARGET"; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12054 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12057 $as_echo "no
" >&6; }
12062 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12065 if test -n "$OBJDUMP_FOR_TARGET"; then
12066 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12067 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12068 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12071 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12072 for ncn_progname in objdump; do
12073 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12074 set dummy ${ncn_progname}; ac_word=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12076 $as_echo_n "checking
for $ac_word...
" >&6; }
12077 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12078 $as_echo_n "(cached
) " >&6
12080 if test -n "$OBJDUMP_FOR_TARGET"; then
12081 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12084 for as_dir in $PATH
12087 test -z "$as_dir" && as_dir=.
12088 for ac_exec_ext in '' $ac_executable_extensions; do
12089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12090 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12100 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12101 if test -n "$OBJDUMP_FOR_TARGET"; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12103 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12106 $as_echo "no
" >&6; }
12113 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12114 for ncn_progname in objdump; do
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12116 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12117 if test -x $with_build_time_tools/${ncn_progname}; then
12118 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12120 $as_echo "yes" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12124 $as_echo "no
" >&6; }
12129 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12130 for ncn_progname in objdump; do
12131 if test -n "$ncn_target_tool_prefix"; then
12132 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12133 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12135 $as_echo_n "checking
for $ac_word...
" >&6; }
12136 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12137 $as_echo_n "(cached
) " >&6
12139 if test -n "$OBJDUMP_FOR_TARGET"; then
12140 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143 for as_dir in $PATH
12146 test -z "$as_dir" && as_dir=.
12147 for ac_exec_ext in '' $ac_executable_extensions; do
12148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12159 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12160 if test -n "$OBJDUMP_FOR_TARGET"; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12162 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12165 $as_echo "no
" >&6; }
12170 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12172 set dummy ${ncn_progname}; ac_word=$2
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12174 $as_echo_n "checking
for $ac_word...
" >&6; }
12175 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12176 $as_echo_n "(cached
) " >&6
12178 if test -n "$OBJDUMP_FOR_TARGET"; then
12179 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12188 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12198 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12199 if test -n "$OBJDUMP_FOR_TARGET"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12201 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12204 $as_echo "no
" >&6; }
12209 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12213 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12215 if test $build = $target ; then
12216 OBJDUMP_FOR_TARGET="$2"
12218 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12221 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12225 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12231 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12232 if test -n "$with_build_time_tools"; then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12234 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12235 if test -x $with_build_time_tools/ranlib; then
12236 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12237 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12239 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12242 $as_echo "no
" >&6; }
12244 elif test $build != $host && test $have_gcc_for_target = yes; then
12245 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12246 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12247 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12250 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12251 # Extract the first word of "ranlib
", so it can be a program name with args.
12252 set dummy ranlib; ac_word=$2
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12254 $as_echo_n "checking
for $ac_word...
" >&6; }
12255 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12256 $as_echo_n "(cached
) " >&6
12258 case $RANLIB_FOR_TARGET in
12260 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12264 for as_dir in $gcc_cv_tool_dirs
12267 test -z "$as_dir" && as_dir=.
12268 for ac_exec_ext in '' $ac_executable_extensions; do
12269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12270 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12281 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12282 if test -n "$RANLIB_FOR_TARGET"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12284 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12287 $as_echo "no
" >&6; }
12292 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12295 if test -n "$RANLIB_FOR_TARGET"; then
12296 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12297 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12298 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12301 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12302 for ncn_progname in ranlib; do
12303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12304 set dummy ${ncn_progname}; ac_word=$2
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12306 $as_echo_n "checking
for $ac_word...
" >&6; }
12307 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12308 $as_echo_n "(cached
) " >&6
12310 if test -n "$RANLIB_FOR_TARGET"; then
12311 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12314 for as_dir in $PATH
12317 test -z "$as_dir" && as_dir=.
12318 for ac_exec_ext in '' $ac_executable_extensions; do
12319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12320 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12330 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12331 if test -n "$RANLIB_FOR_TARGET"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12333 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12336 $as_echo "no
" >&6; }
12343 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12344 for ncn_progname in ranlib; do
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12346 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12347 if test -x $with_build_time_tools/${ncn_progname}; then
12348 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12350 $as_echo "yes" >&6; }
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12354 $as_echo "no
" >&6; }
12359 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12360 for ncn_progname in ranlib; do
12361 if test -n "$ncn_target_tool_prefix"; then
12362 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12363 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12365 $as_echo_n "checking
for $ac_word...
" >&6; }
12366 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12367 $as_echo_n "(cached
) " >&6
12369 if test -n "$RANLIB_FOR_TARGET"; then
12370 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12373 for as_dir in $PATH
12376 test -z "$as_dir" && as_dir=.
12377 for ac_exec_ext in '' $ac_executable_extensions; do
12378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12379 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12389 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12390 if test -n "$RANLIB_FOR_TARGET"; then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12392 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12395 $as_echo "no
" >&6; }
12400 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12402 set dummy ${ncn_progname}; ac_word=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12404 $as_echo_n "checking
for $ac_word...
" >&6; }
12405 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12406 $as_echo_n "(cached
) " >&6
12408 if test -n "$RANLIB_FOR_TARGET"; then
12409 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12412 for as_dir in $PATH
12415 test -z "$as_dir" && as_dir=.
12416 for ac_exec_ext in '' $ac_executable_extensions; do
12417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12418 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12428 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12429 if test -n "$RANLIB_FOR_TARGET"; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12431 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12434 $as_echo "no
" >&6; }
12439 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12443 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12445 if test $build = $target ; then
12446 RANLIB_FOR_TARGET="$2"
12448 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12451 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12455 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12461 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12462 if test -n "$with_build_time_tools"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12464 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12465 if test -x $with_build_time_tools/readelf; then
12466 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12467 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12469 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12472 $as_echo "no
" >&6; }
12474 elif test $build != $host && test $have_gcc_for_target = yes; then
12475 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12476 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12477 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12480 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12481 # Extract the first word of "readelf
", so it can be a program name with args.
12482 set dummy readelf; ac_word=$2
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12484 $as_echo_n "checking
for $ac_word...
" >&6; }
12485 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12486 $as_echo_n "(cached
) " >&6
12488 case $READELF_FOR_TARGET in
12490 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12494 for as_dir in $gcc_cv_tool_dirs
12497 test -z "$as_dir" && as_dir=.
12498 for ac_exec_ext in '' $ac_executable_extensions; do
12499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12500 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12511 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12512 if test -n "$READELF_FOR_TARGET"; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12514 $as_echo "$READELF_FOR_TARGET" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12517 $as_echo "no
" >&6; }
12522 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12525 if test -n "$READELF_FOR_TARGET"; then
12526 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12527 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12528 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12531 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12532 for ncn_progname in readelf; do
12533 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12534 set dummy ${ncn_progname}; ac_word=$2
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12536 $as_echo_n "checking
for $ac_word...
" >&6; }
12537 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12538 $as_echo_n "(cached
) " >&6
12540 if test -n "$READELF_FOR_TARGET"; then
12541 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12544 for as_dir in $PATH
12547 test -z "$as_dir" && as_dir=.
12548 for ac_exec_ext in '' $ac_executable_extensions; do
12549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12550 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12560 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12561 if test -n "$READELF_FOR_TARGET"; then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12563 $as_echo "$READELF_FOR_TARGET" >&6; }
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12566 $as_echo "no
" >&6; }
12573 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12574 for ncn_progname in readelf; do
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12576 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12577 if test -x $with_build_time_tools/${ncn_progname}; then
12578 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12580 $as_echo "yes" >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12584 $as_echo "no
" >&6; }
12589 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12590 for ncn_progname in readelf; do
12591 if test -n "$ncn_target_tool_prefix"; then
12592 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12593 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12595 $as_echo_n "checking
for $ac_word...
" >&6; }
12596 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12597 $as_echo_n "(cached
) " >&6
12599 if test -n "$READELF_FOR_TARGET"; then
12600 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12603 for as_dir in $PATH
12606 test -z "$as_dir" && as_dir=.
12607 for ac_exec_ext in '' $ac_executable_extensions; do
12608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12609 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12619 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12620 if test -n "$READELF_FOR_TARGET"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12622 $as_echo "$READELF_FOR_TARGET" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12625 $as_echo "no
" >&6; }
12630 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12632 set dummy ${ncn_progname}; ac_word=$2
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12634 $as_echo_n "checking
for $ac_word...
" >&6; }
12635 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12636 $as_echo_n "(cached
) " >&6
12638 if test -n "$READELF_FOR_TARGET"; then
12639 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12642 for as_dir in $PATH
12645 test -z "$as_dir" && as_dir=.
12646 for ac_exec_ext in '' $ac_executable_extensions; do
12647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12648 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12658 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12659 if test -n "$READELF_FOR_TARGET"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12661 $as_echo "$READELF_FOR_TARGET" >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12664 $as_echo "no
" >&6; }
12669 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12673 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12675 if test $build = $target ; then
12676 READELF_FOR_TARGET="$2"
12678 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12681 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12685 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12691 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12692 if test -n "$with_build_time_tools"; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12694 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12695 if test -x $with_build_time_tools/strip; then
12696 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12697 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12699 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12702 $as_echo "no
" >&6; }
12704 elif test $build != $host && test $have_gcc_for_target = yes; then
12705 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12706 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12707 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12710 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12711 # Extract the first word of "strip
", so it can be a program name with args.
12712 set dummy strip; ac_word=$2
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12714 $as_echo_n "checking
for $ac_word...
" >&6; }
12715 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12716 $as_echo_n "(cached
) " >&6
12718 case $STRIP_FOR_TARGET in
12720 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12724 for as_dir in $gcc_cv_tool_dirs
12727 test -z "$as_dir" && as_dir=.
12728 for ac_exec_ext in '' $ac_executable_extensions; do
12729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12730 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12741 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12742 if test -n "$STRIP_FOR_TARGET"; then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12744 $as_echo "$STRIP_FOR_TARGET" >&6; }
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12747 $as_echo "no
" >&6; }
12752 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12755 if test -n "$STRIP_FOR_TARGET"; then
12756 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12757 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12758 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12761 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12762 for ncn_progname in strip; do
12763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12764 set dummy ${ncn_progname}; ac_word=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12766 $as_echo_n "checking
for $ac_word...
" >&6; }
12767 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12768 $as_echo_n "(cached
) " >&6
12770 if test -n "$STRIP_FOR_TARGET"; then
12771 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12780 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12790 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12791 if test -n "$STRIP_FOR_TARGET"; then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12793 $as_echo "$STRIP_FOR_TARGET" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12796 $as_echo "no
" >&6; }
12803 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12804 for ncn_progname in strip; do
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12806 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12807 if test -x $with_build_time_tools/${ncn_progname}; then
12808 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12810 $as_echo "yes" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12814 $as_echo "no
" >&6; }
12819 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12820 for ncn_progname in strip; do
12821 if test -n "$ncn_target_tool_prefix"; then
12822 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12823 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12825 $as_echo_n "checking
for $ac_word...
" >&6; }
12826 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12827 $as_echo_n "(cached
) " >&6
12829 if test -n "$STRIP_FOR_TARGET"; then
12830 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12849 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12850 if test -n "$STRIP_FOR_TARGET"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12852 $as_echo "$STRIP_FOR_TARGET" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12855 $as_echo "no
" >&6; }
12860 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12861 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12862 set dummy ${ncn_progname}; ac_word=$2
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12864 $as_echo_n "checking
for $ac_word...
" >&6; }
12865 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12866 $as_echo_n "(cached
) " >&6
12868 if test -n "$STRIP_FOR_TARGET"; then
12869 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12872 for as_dir in $PATH
12875 test -z "$as_dir" && as_dir=.
12876 for ac_exec_ext in '' $ac_executable_extensions; do
12877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12878 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12888 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12889 if test -n "$STRIP_FOR_TARGET"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12891 $as_echo "$STRIP_FOR_TARGET" >&6; }
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12894 $as_echo "no
" >&6; }
12899 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12903 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12905 if test $build = $target ; then
12906 STRIP_FOR_TARGET="$2"
12908 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12911 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12915 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12921 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12922 if test -n "$with_build_time_tools"; then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12924 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12925 if test -x $with_build_time_tools/windres; then
12926 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12927 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12929 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12932 $as_echo "no
" >&6; }
12934 elif test $build != $host && test $have_gcc_for_target = yes; then
12935 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12936 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12937 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12940 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12941 # Extract the first word of "windres
", so it can be a program name with args.
12942 set dummy windres; ac_word=$2
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12944 $as_echo_n "checking
for $ac_word...
" >&6; }
12945 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12946 $as_echo_n "(cached
) " >&6
12948 case $WINDRES_FOR_TARGET in
12950 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12954 for as_dir in $gcc_cv_tool_dirs
12957 test -z "$as_dir" && as_dir=.
12958 for ac_exec_ext in '' $ac_executable_extensions; do
12959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12960 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12971 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12972 if test -n "$WINDRES_FOR_TARGET"; then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12974 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12977 $as_echo "no
" >&6; }
12982 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12985 if test -n "$WINDRES_FOR_TARGET"; then
12986 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12987 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12988 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12991 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12992 for ncn_progname in windres; do
12993 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12994 set dummy ${ncn_progname}; ac_word=$2
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12996 $as_echo_n "checking
for $ac_word...
" >&6; }
12997 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12998 $as_echo_n "(cached
) " >&6
13000 if test -n "$WINDRES_FOR_TARGET"; then
13001 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13004 for as_dir in $PATH
13007 test -z "$as_dir" && as_dir=.
13008 for ac_exec_ext in '' $ac_executable_extensions; do
13009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13010 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13020 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13021 if test -n "$WINDRES_FOR_TARGET"; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13023 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13026 $as_echo "no
" >&6; }
13033 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13034 for ncn_progname in windres; do
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13036 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13037 if test -x $with_build_time_tools/${ncn_progname}; then
13038 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13040 $as_echo "yes" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13044 $as_echo "no
" >&6; }
13049 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13050 for ncn_progname in windres; do
13051 if test -n "$ncn_target_tool_prefix"; then
13052 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13053 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13055 $as_echo_n "checking
for $ac_word...
" >&6; }
13056 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13057 $as_echo_n "(cached
) " >&6
13059 if test -n "$WINDRES_FOR_TARGET"; then
13060 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13063 for as_dir in $PATH
13066 test -z "$as_dir" && as_dir=.
13067 for ac_exec_ext in '' $ac_executable_extensions; do
13068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13069 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13079 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13080 if test -n "$WINDRES_FOR_TARGET"; then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13082 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13085 $as_echo "no
" >&6; }
13090 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13091 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13092 set dummy ${ncn_progname}; ac_word=$2
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13094 $as_echo_n "checking
for $ac_word...
" >&6; }
13095 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13096 $as_echo_n "(cached
) " >&6
13098 if test -n "$WINDRES_FOR_TARGET"; then
13099 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13118 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13119 if test -n "$WINDRES_FOR_TARGET"; then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13121 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13124 $as_echo "no
" >&6; }
13129 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13133 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13135 if test $build = $target ; then
13136 WINDRES_FOR_TARGET="$2"
13138 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13141 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13145 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13151 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13152 if test -n "$with_build_time_tools"; then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13154 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13155 if test -x $with_build_time_tools/windmc; then
13156 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13157 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13159 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13162 $as_echo "no
" >&6; }
13164 elif test $build != $host && test $have_gcc_for_target = yes; then
13165 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13166 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13167 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13170 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13171 # Extract the first word of "windmc
", so it can be a program name with args.
13172 set dummy windmc; ac_word=$2
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13174 $as_echo_n "checking
for $ac_word...
" >&6; }
13175 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13176 $as_echo_n "(cached
) " >&6
13178 case $WINDMC_FOR_TARGET in
13180 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $gcc_cv_tool_dirs
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13190 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13201 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13202 if test -n "$WINDMC_FOR_TARGET"; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13204 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13207 $as_echo "no
" >&6; }
13212 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13215 if test -n "$WINDMC_FOR_TARGET"; then
13216 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13217 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13218 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13221 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13222 for ncn_progname in windmc; do
13223 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13224 set dummy ${ncn_progname}; ac_word=$2
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13226 $as_echo_n "checking
for $ac_word...
" >&6; }
13227 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13228 $as_echo_n "(cached
) " >&6
13230 if test -n "$WINDMC_FOR_TARGET"; then
13231 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13234 for as_dir in $PATH
13237 test -z "$as_dir" && as_dir=.
13238 for ac_exec_ext in '' $ac_executable_extensions; do
13239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13240 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13250 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13251 if test -n "$WINDMC_FOR_TARGET"; then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13253 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13256 $as_echo "no
" >&6; }
13263 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13264 for ncn_progname in windmc; do
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13266 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13267 if test -x $with_build_time_tools/${ncn_progname}; then
13268 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13270 $as_echo "yes" >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13274 $as_echo "no
" >&6; }
13279 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13280 for ncn_progname in windmc; do
13281 if test -n "$ncn_target_tool_prefix"; then
13282 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13283 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13285 $as_echo_n "checking
for $ac_word...
" >&6; }
13286 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13287 $as_echo_n "(cached
) " >&6
13289 if test -n "$WINDMC_FOR_TARGET"; then
13290 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13293 for as_dir in $PATH
13296 test -z "$as_dir" && as_dir=.
13297 for ac_exec_ext in '' $ac_executable_extensions; do
13298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13299 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13309 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13310 if test -n "$WINDMC_FOR_TARGET"; then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13312 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13315 $as_echo "no
" >&6; }
13320 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13321 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13322 set dummy ${ncn_progname}; ac_word=$2
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13324 $as_echo_n "checking
for $ac_word...
" >&6; }
13325 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13326 $as_echo_n "(cached
) " >&6
13328 if test -n "$WINDMC_FOR_TARGET"; then
13329 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13332 for as_dir in $PATH
13335 test -z "$as_dir" && as_dir=.
13336 for ac_exec_ext in '' $ac_executable_extensions; do
13337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13338 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13348 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13349 if test -n "$WINDMC_FOR_TARGET"; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13351 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13354 $as_echo "no
" >&6; }
13359 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13363 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13365 if test $build = $target ; then
13366 WINDMC_FOR_TARGET="$2"
13368 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13371 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13375 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13379 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13382 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13383 if test "x
${build}" != "x
${host}" ; then
13384 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13385 # We already found the complete path
13386 ac_dir=`dirname $AR_FOR_TARGET`
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13388 $as_echo "pre-installed
in $ac_dir" >&6; }
13390 # Canadian cross, just use what we found
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13392 $as_echo "pre-installed
" >&6; }
13396 case " ${configdirs} " in
13401 if test $ok = yes; then
13402 # An in-tree tool is available and we can use it
13403 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13405 $as_echo "just compiled
" >&6; }
13406 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13407 # We already found the complete path
13408 ac_dir=`dirname $AR_FOR_TARGET`
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13410 $as_echo "pre-installed
in $ac_dir" >&6; }
13411 elif test "x
$target" = "x
$host"; then
13412 # We can use an host tool
13413 AR_FOR_TARGET='$(AR)'
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13415 $as_echo "host tool
" >&6; }
13417 # We need a cross tool
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13419 $as_echo "pre-installed
" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13424 $as_echo_n "checking where to
find the target as...
" >&6; }
13425 if test "x
${build}" != "x
${host}" ; then
13426 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13427 # We already found the complete path
13428 ac_dir=`dirname $AS_FOR_TARGET`
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13430 $as_echo "pre-installed
in $ac_dir" >&6; }
13432 # Canadian cross, just use what we found
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13434 $as_echo "pre-installed
" >&6; }
13438 case " ${configdirs} " in
13443 if test $ok = yes; then
13444 # An in-tree tool is available and we can use it
13445 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13447 $as_echo "just compiled
" >&6; }
13448 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13449 # We already found the complete path
13450 ac_dir=`dirname $AS_FOR_TARGET`
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13452 $as_echo "pre-installed
in $ac_dir" >&6; }
13453 elif test "x
$target" = "x
$host"; then
13454 # We can use an host tool
13455 AS_FOR_TARGET='$(AS)'
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13457 $as_echo "host tool
" >&6; }
13459 # We need a cross tool
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13461 $as_echo "pre-installed
" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13466 $as_echo_n "checking where to
find the target cc...
" >&6; }
13467 if test "x
${build}" != "x
${host}" ; then
13468 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13469 # We already found the complete path
13470 ac_dir=`dirname $CC_FOR_TARGET`
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13472 $as_echo "pre-installed
in $ac_dir" >&6; }
13474 # Canadian cross, just use what we found
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13476 $as_echo "pre-installed
" >&6; }
13480 case " ${configdirs} " in
13485 if test $ok = yes; then
13486 # An in-tree tool is available and we can use it
13487 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13489 $as_echo "just compiled
" >&6; }
13490 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13491 # We already found the complete path
13492 ac_dir=`dirname $CC_FOR_TARGET`
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13494 $as_echo "pre-installed
in $ac_dir" >&6; }
13495 elif test "x
$target" = "x
$host"; then
13496 # We can use an host tool
13497 CC_FOR_TARGET='$(CC)'
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13499 $as_echo "host tool
" >&6; }
13501 # We need a cross tool
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13503 $as_echo "pre-installed
" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13508 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13509 if test "x
${build}" != "x
${host}" ; then
13510 if 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; }
13516 # Canadian cross, just use what we found
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13518 $as_echo "pre-installed
" >&6; }
13522 case " ${configdirs} " in
13526 case ,${enable_languages}, in
13530 if test $ok = yes; then
13531 # An in-tree tool is available and we can use it
13532 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'
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13534 $as_echo "just compiled
" >&6; }
13535 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13536 # We already found the complete path
13537 ac_dir=`dirname $CXX_FOR_TARGET`
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13539 $as_echo "pre-installed
in $ac_dir" >&6; }
13540 elif test "x
$target" = "x
$host"; then
13541 # We can use an host tool
13542 CXX_FOR_TARGET='$(CXX)'
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13544 $as_echo "host tool
" >&6; }
13546 # We need a cross tool
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13548 $as_echo "pre-installed
" >&6; }
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13553 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13554 if test "x
${build}" != "x
${host}" ; then
13555 if 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; }
13561 # Canadian cross, just use what we found
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13563 $as_echo "pre-installed
" >&6; }
13567 case " ${configdirs} " in
13571 case ,${enable_languages}, in
13575 if test $ok = yes; then
13576 # An in-tree tool is available and we can use it
13577 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'
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13579 $as_echo "just compiled
" >&6; }
13580 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13581 # We already found the complete path
13582 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13584 $as_echo "pre-installed
in $ac_dir" >&6; }
13585 elif test "x
$target" = "x
$host"; then
13586 # We can use an host tool
13587 RAW_CXX_FOR_TARGET='$(CXX)'
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13589 $as_echo "host tool
" >&6; }
13591 # We need a cross tool
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13593 $as_echo "pre-installed
" >&6; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13598 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13599 if test "x
${build}" != "x
${host}" ; then
13600 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13601 # We already found the complete path
13602 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13604 $as_echo "pre-installed
in $ac_dir" >&6; }
13606 # Canadian cross, just use what we found
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13608 $as_echo "pre-installed
" >&6; }
13612 case " ${configdirs} " in
13617 if test $ok = yes; then
13618 # An in-tree tool is available and we can use it
13619 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13621 $as_echo "just compiled
" >&6; }
13622 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13623 # We already found the complete path
13624 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13626 $as_echo "pre-installed
in $ac_dir" >&6; }
13627 elif test "x
$target" = "x
$host"; then
13628 # We can use an host tool
13629 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13631 $as_echo "host tool
" >&6; }
13633 # We need a cross tool
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13635 $as_echo "pre-installed
" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13640 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13641 if test "x
${build}" != "x
${host}" ; then
13642 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13643 # We already found the complete path
13644 ac_dir=`dirname $GCC_FOR_TARGET`
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13646 $as_echo "pre-installed
in $ac_dir" >&6; }
13648 # Canadian cross, just use what we found
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13650 $as_echo "pre-installed
" >&6; }
13654 case " ${configdirs} " in
13659 if test $ok = yes; then
13660 # An in-tree tool is available and we can use it
13661 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13663 $as_echo "just compiled
" >&6; }
13664 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13665 # We already found the complete path
13666 ac_dir=`dirname $GCC_FOR_TARGET`
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13668 $as_echo "pre-installed
in $ac_dir" >&6; }
13669 elif test "x
$target" = "x
$host"; then
13670 # We can use an host tool
13671 GCC_FOR_TARGET='$()'
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13673 $as_echo "host tool
" >&6; }
13675 # We need a cross tool
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13677 $as_echo "pre-installed
" >&6; }
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13682 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13683 if test "x
${build}" != "x
${host}" ; then
13684 if 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; }
13690 # Canadian cross, just use what we found
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13692 $as_echo "pre-installed
" >&6; }
13696 case " ${configdirs} " in
13700 case ,${enable_languages}, in
13704 if test $ok = yes; then
13705 # An in-tree tool is available and we can use it
13706 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13708 $as_echo "just compiled
" >&6; }
13709 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13710 # We already found the complete path
13711 ac_dir=`dirname $GCJ_FOR_TARGET`
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13713 $as_echo "pre-installed
in $ac_dir" >&6; }
13714 elif test "x
$target" = "x
$host"; then
13715 # We can use an host tool
13716 GCJ_FOR_TARGET='$(GCJ)'
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13718 $as_echo "host tool
" >&6; }
13720 # We need a cross tool
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13722 $as_echo "pre-installed
" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13727 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13728 if test "x
${build}" != "x
${host}" ; then
13729 if 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; }
13735 # Canadian cross, just use what we found
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13737 $as_echo "pre-installed
" >&6; }
13741 case " ${configdirs} " in
13745 case ,${enable_languages}, in
13749 if test $ok = yes; then
13750 # An in-tree tool is available and we can use it
13751 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13753 $as_echo "just compiled
" >&6; }
13754 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13755 # We already found the complete path
13756 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13758 $as_echo "pre-installed
in $ac_dir" >&6; }
13759 elif test "x
$target" = "x
$host"; then
13760 # We can use an host tool
13761 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13763 $as_echo "host tool
" >&6; }
13765 # We need a cross tool
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13767 $as_echo "pre-installed
" >&6; }
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13772 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13773 if test "x
${build}" != "x
${host}" ; then
13774 if 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; }
13780 # Canadian cross, just use what we found
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13782 $as_echo "pre-installed
" >&6; }
13786 case " ${configdirs} " in
13790 case ,${enable_languages}, in
13794 if test $ok = yes; then
13795 # An in-tree tool is available and we can use it
13796 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13798 $as_echo "just compiled
" >&6; }
13799 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13800 # We already found the complete path
13801 ac_dir=`dirname $GOC_FOR_TARGET`
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13803 $as_echo "pre-installed
in $ac_dir" >&6; }
13804 elif test "x
$target" = "x
$host"; then
13805 # We can use an host tool
13806 GOC_FOR_TARGET='$(GOC)'
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13808 $as_echo "host tool
" >&6; }
13810 # We need a cross tool
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13812 $as_echo "pre-installed
" >&6; }
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13817 $as_echo_n "checking where to
find the target ld...
" >&6; }
13818 if test "x
${build}" != "x
${host}" ; then
13819 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13820 # We already found the complete path
13821 ac_dir=`dirname $LD_FOR_TARGET`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13823 $as_echo "pre-installed
in $ac_dir" >&6; }
13825 # Canadian cross, just use what we found
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13827 $as_echo "pre-installed
" >&6; }
13831 case " ${configdirs} " in
13836 if test $ok = yes; then
13837 # An in-tree tool is available and we can use it
13838 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13840 $as_echo "just compiled
" >&6; }
13841 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13842 # We already found the complete path
13843 ac_dir=`dirname $LD_FOR_TARGET`
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13845 $as_echo "pre-installed
in $ac_dir" >&6; }
13846 elif test "x
$target" = "x
$host"; then
13847 # We can use an host tool
13848 LD_FOR_TARGET='$(LD)'
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13850 $as_echo "host tool
" >&6; }
13852 # We need a cross tool
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13854 $as_echo "pre-installed
" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13859 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13860 if test "x
${build}" != "x
${host}" ; then
13861 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13862 # We already found the complete path
13863 ac_dir=`dirname $LIPO_FOR_TARGET`
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13865 $as_echo "pre-installed
in $ac_dir" >&6; }
13867 # Canadian cross, just use what we found
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13869 $as_echo "pre-installed
" >&6; }
13872 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13873 # We already found the complete path
13874 ac_dir=`dirname $LIPO_FOR_TARGET`
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13876 $as_echo "pre-installed
in $ac_dir" >&6; }
13877 elif test "x
$target" = "x
$host"; then
13878 # We can use an host tool
13879 LIPO_FOR_TARGET='$(LIPO)'
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13881 $as_echo "host tool
" >&6; }
13883 # We need a cross tool
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13885 $as_echo "pre-installed
" >&6; }
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13890 $as_echo_n "checking where to
find the target nm...
" >&6; }
13891 if test "x
${build}" != "x
${host}" ; then
13892 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13893 # We already found the complete path
13894 ac_dir=`dirname $NM_FOR_TARGET`
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13896 $as_echo "pre-installed
in $ac_dir" >&6; }
13898 # Canadian cross, just use what we found
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13900 $as_echo "pre-installed
" >&6; }
13904 case " ${configdirs} " in
13909 if test $ok = yes; then
13910 # An in-tree tool is available and we can use it
13911 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13913 $as_echo "just compiled
" >&6; }
13914 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13915 # We already found the complete path
13916 ac_dir=`dirname $NM_FOR_TARGET`
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13918 $as_echo "pre-installed
in $ac_dir" >&6; }
13919 elif test "x
$target" = "x
$host"; then
13920 # We can use an host tool
13921 NM_FOR_TARGET='$(NM)'
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13923 $as_echo "host tool
" >&6; }
13925 # We need a cross tool
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13927 $as_echo "pre-installed
" >&6; }
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13932 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13933 if test "x
${build}" != "x
${host}" ; then
13934 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13935 # We already found the complete path
13936 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13938 $as_echo "pre-installed
in $ac_dir" >&6; }
13940 # Canadian cross, just use what we found
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13942 $as_echo "pre-installed
" >&6; }
13946 case " ${configdirs} " in
13951 if test $ok = yes; then
13952 # An in-tree tool is available and we can use it
13953 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13955 $as_echo "just compiled
" >&6; }
13956 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13957 # We already found the complete path
13958 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13960 $as_echo "pre-installed
in $ac_dir" >&6; }
13961 elif test "x
$target" = "x
$host"; then
13962 # We can use an host tool
13963 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13965 $as_echo "host tool
" >&6; }
13967 # We need a cross tool
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13969 $as_echo "pre-installed
" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13974 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13975 if test "x
${build}" != "x
${host}" ; then
13976 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13977 # We already found the complete path
13978 ac_dir=`dirname $RANLIB_FOR_TARGET`
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13980 $as_echo "pre-installed
in $ac_dir" >&6; }
13982 # Canadian cross, just use what we found
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13984 $as_echo "pre-installed
" >&6; }
13988 case " ${configdirs} " in
13993 if test $ok = yes; then
13994 # An in-tree tool is available and we can use it
13995 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13997 $as_echo "just compiled
" >&6; }
13998 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13999 # We already found the complete path
14000 ac_dir=`dirname $RANLIB_FOR_TARGET`
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14002 $as_echo "pre-installed
in $ac_dir" >&6; }
14003 elif test "x
$target" = "x
$host"; then
14004 # We can use an host tool
14005 RANLIB_FOR_TARGET='$(RANLIB)'
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14007 $as_echo "host tool
" >&6; }
14009 # We need a cross tool
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14011 $as_echo "pre-installed
" >&6; }
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14016 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14017 if test "x
${build}" != "x
${host}" ; then
14018 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14019 # We already found the complete path
14020 ac_dir=`dirname $READELF_FOR_TARGET`
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14022 $as_echo "pre-installed
in $ac_dir" >&6; }
14024 # Canadian cross, just use what we found
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14026 $as_echo "pre-installed
" >&6; }
14030 case " ${configdirs} " in
14035 if test $ok = yes; then
14036 # An in-tree tool is available and we can use it
14037 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14039 $as_echo "just compiled
" >&6; }
14040 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14041 # We already found the complete path
14042 ac_dir=`dirname $READELF_FOR_TARGET`
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14044 $as_echo "pre-installed
in $ac_dir" >&6; }
14045 elif test "x
$target" = "x
$host"; then
14046 # We can use an host tool
14047 READELF_FOR_TARGET='$(READELF)'
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14049 $as_echo "host tool
" >&6; }
14051 # We need a cross tool
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14053 $as_echo "pre-installed
" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14058 $as_echo_n "checking where to
find the target strip...
" >&6; }
14059 if test "x
${build}" != "x
${host}" ; then
14060 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14061 # We already found the complete path
14062 ac_dir=`dirname $STRIP_FOR_TARGET`
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14064 $as_echo "pre-installed
in $ac_dir" >&6; }
14066 # Canadian cross, just use what we found
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14068 $as_echo "pre-installed
" >&6; }
14072 case " ${configdirs} " in
14077 if test $ok = yes; then
14078 # An in-tree tool is available and we can use it
14079 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14081 $as_echo "just compiled
" >&6; }
14082 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14083 # We already found the complete path
14084 ac_dir=`dirname $STRIP_FOR_TARGET`
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14086 $as_echo "pre-installed
in $ac_dir" >&6; }
14087 elif test "x
$target" = "x
$host"; then
14088 # We can use an host tool
14089 STRIP_FOR_TARGET='$(STRIP)'
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14091 $as_echo "host tool
" >&6; }
14093 # We need a cross tool
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14095 $as_echo "pre-installed
" >&6; }
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14100 $as_echo_n "checking where to
find the target windres...
" >&6; }
14101 if test "x
${build}" != "x
${host}" ; then
14102 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14103 # We already found the complete path
14104 ac_dir=`dirname $WINDRES_FOR_TARGET`
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14106 $as_echo "pre-installed
in $ac_dir" >&6; }
14108 # Canadian cross, just use what we found
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14110 $as_echo "pre-installed
" >&6; }
14114 case " ${configdirs} " in
14119 if test $ok = yes; then
14120 # An in-tree tool is available and we can use it
14121 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14123 $as_echo "just compiled
" >&6; }
14124 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14125 # We already found the complete path
14126 ac_dir=`dirname $WINDRES_FOR_TARGET`
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14128 $as_echo "pre-installed
in $ac_dir" >&6; }
14129 elif test "x
$target" = "x
$host"; then
14130 # We can use an host tool
14131 WINDRES_FOR_TARGET='$(WINDRES)'
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14133 $as_echo "host tool
" >&6; }
14135 # We need a cross tool
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14137 $as_echo "pre-installed
" >&6; }
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14142 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14143 if test "x
${build}" != "x
${host}" ; then
14144 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14145 # We already found the complete path
14146 ac_dir=`dirname $WINDMC_FOR_TARGET`
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14148 $as_echo "pre-installed
in $ac_dir" >&6; }
14150 # Canadian cross, just use what we found
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14152 $as_echo "pre-installed
" >&6; }
14156 case " ${configdirs} " in
14161 if test $ok = yes; then
14162 # An in-tree tool is available and we can use it
14163 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14165 $as_echo "just compiled
" >&6; }
14166 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14167 # We already found the complete path
14168 ac_dir=`dirname $WINDMC_FOR_TARGET`
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14170 $as_echo "pre-installed
in $ac_dir" >&6; }
14171 elif test "x
$target" = "x
$host"; then
14172 # We can use an host tool
14173 WINDMC_FOR_TARGET='$(WINDMC)'
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14175 $as_echo "host tool
" >&6; }
14177 # We need a cross tool
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14179 $as_echo "pre-installed
" >&6; }
14187 # Certain tools may need extra flags.
14188 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14189 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14190 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14192 # When building target libraries, except in a Canadian cross, we use
14193 # the same toolchain as the compiler we just built.
14194 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14195 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14196 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14197 if test $host = $build; then
14198 case " $configdirs " in
14200 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14201 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14202 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14212 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14213 # Check whether --enable-maintainer-mode was given.
14214 if test "${enable_maintainer_mode+set}" = set; then :
14215 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14217 USE_MAINTAINER_MODE=no
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14221 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14224 if test "$USE_MAINTAINER_MODE" = yes; then
14225 MAINTAINER_MODE_TRUE=
14226 MAINTAINER_MODE_FALSE='#'
14228 MAINTAINER_MODE_TRUE='#'
14229 MAINTAINER_MODE_FALSE=
14231 MAINT=$MAINTAINER_MODE_TRUE
14233 # ---------------------
14234 # GCC bootstrap support
14235 # ---------------------
14237 # Stage specific cflags for build.
14242 yes) stage1_cflags="-g -Wa,-J" ;;
14243 *) stage1_cflags="-g -J" ;;
14247 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14248 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14249 saved_CFLAGS="$CFLAGS"
14251 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14252 CFLAGS="$CFLAGS -fkeep-inline-functions"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14254 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 #if (__GNUC__ < 3) \
14259 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14260 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14261 #error http://gcc.gnu.org/PR29382
14272 if ac_fn_c_try_compile "$LINENO"; then :
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14274 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14277 $as_echo "no
" >&6; }
14279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14281 CFLAGS="$saved_CFLAGS"
14286 # Enable --enable-checking in stage1 of the compiler.
14287 # Check whether --enable-stage1-checking was given.
14288 if test "${enable_stage1_checking+set}" = set; then :
14289 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14291 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14292 stage1_checking=--enable-checking=yes,types
14294 stage1_checking=--enable-checking=$enable_checking,types
14300 # Enable -Werror in bootstrap stage2 and later.
14301 # Check whether --enable-werror was given.
14302 if test "${enable_werror+set}" = set; then :
14303 enableval=$enable_werror;
14305 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14312 case ${enable_werror} in
14313 yes) stage2_werror_flag="--enable-werror-always" ;;
14314 *) stage2_werror_flag="" ;;
14318 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14319 # --enable-build-with-cxx after stage1.
14320 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14321 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14323 POSTSTAGE1_CONFIGURE_FLAGS=
14327 # Specify what files to not compare during bootstrap.
14329 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14331 hppa*64*-*-hpux*) ;;
14332 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14334 case " $configdirs " in
14335 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14339 ac_config_files="$ac_config_files Makefile
"
14341 cat >confcache <<\_ACEOF
14342 # This file is a shell script that caches the results of configure
14343 # tests run on this system so they can be shared between configure
14344 # scripts and configure runs, see configure's option --config-cache.
14345 # It is not useful on other systems. If it contains results you don't
14346 # want to keep, you may remove or edit it.
14348 # config.status only pays attention to the cache file if you give it
14349 # the --recheck option to rerun configure.
14351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14353 # following values.
14357 # The following way of writing the cache mishandles newlines in values,
14358 # but we know of no workaround that is simple, portable, and efficient.
14359 # So, we kill variables containing newlines.
14360 # Ultrix sh set writes to stderr and can't be redirected directly,
14361 # and sets the high bit in the cache file unless we assign to the vars.
14363 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14364 eval ac_val=\$$ac_var
14368 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14369 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14372 _ | IFS | as_nl) ;; #(
14373 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14374 *) { eval $ac_var=; unset $ac_var;} ;;
14380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14381 *${as_nl}ac_space=\ *)
14382 # `set' does not quote correctly, so add quotes: double-quote
14383 # substitution turns \\\\ into \\, and sed turns \\ into \.
14386 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14389 # `set' quotes correctly as required by POSIX, so do not add quotes.
14390 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14399 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14404 if test -w "$cache_file"; then
14405 test "x
$cache_file" != "x
/dev
/null
" &&
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14407 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14408 cat confcache >$cache_file
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14411 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14416 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14417 # Let make expand exec_prefix.
14418 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14420 # Transform confdefs.h into DEFS.
14421 # Protect against shell expansion while executing Makefile rules.
14422 # Protect against Makefile macro expansion.
14424 # If the first sed substitution is executed (which looks for macros that
14425 # take arguments), then branch to the quote section. Otherwise,
14426 # look for a macro that doesn't take arguments.
14436 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14438 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14442 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14455 DEFS=`sed -n "$ac_script" confdefs.h`
14460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14461 # 1. Remove the extension, and $U if already installed.
14462 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14463 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14465 # will be set to the directory where LIBOBJS objects are built.
14466 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14467 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14469 LIBOBJS=$ac_libobjs
14471 LTLIBOBJS=$ac_ltlibobjs
14475 : ${CONFIG_STATUS=./config.status}
14477 ac_clean_files_save=$ac_clean_files
14478 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14480 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14482 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14484 # Generated by $as_me.
14485 # Run this file to recreate the current configuration.
14486 # Compiler output produced by configure, useful for debugging
14487 # configure, is in config.log if it exists.
14490 ac_cs_recheck=false
14493 SHELL=\${CONFIG_SHELL-$SHELL}
14496 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14497 ## -------------------- ##
14498 ## M4sh Initialization. ##
14499 ## -------------------- ##
14501 # Be more Bourne compatible
14502 DUALCASE=1; export DUALCASE # for MKS sh
14503 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14506 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14507 # is contrary to our usage. Disable this feature.
14508 alias -g '${1+"$@"}'='"$@"'
14509 setopt NO_GLOB_SUBST
14511 case `(set -o) 2>/dev/null` in #(
14523 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14524 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14525 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14526 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14527 # Prefer a ksh shell builtin over an external printf program on Solaris,
14528 # but without wasting forks for bash or zsh.
14529 if test -z "$BASH_VERSION$ZSH_VERSION" \
14530 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14531 as_echo
='print -r --'
14532 as_echo_n
='print -rn --'
14533 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14534 as_echo
='printf %s\n'
14535 as_echo_n
='printf %s'
14537 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14538 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14539 as_echo_n
='/usr/ucb/echo -n'
14541 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14542 as_echo_n_body
='eval
14546 expr "X$arg" : "X\\(.*\\)$as_nl";
14547 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14549 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14551 export as_echo_n_body
14552 as_echo_n
='sh -c $as_echo_n_body as_echo'
14554 export as_echo_body
14555 as_echo
='sh -c $as_echo_body as_echo'
14558 # The user is always right.
14559 if test "${PATH_SEPARATOR+set}" != set; then
14561 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14562 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14569 # We need space, tab and new line, in precisely that order. Quoting is
14570 # there to prevent editors from complaining about space-tab.
14571 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14572 # splitting by setting IFS to empty value.)
14575 # Find who we are. Look in the path if we contain no directory separator.
14577 *[\\/]* ) as_myself
=$0 ;;
14578 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14579 for as_dir
in $PATH
14582 test -z "$as_dir" && as_dir
=.
14583 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14589 # We did not find ourselves, most probably we were run as `sh COMMAND'
14590 # in which case we are not to be found in the path.
14591 if test "x$as_myself" = x
; then
14594 if test ! -f "$as_myself"; then
14595 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14599 # Unset variables that we do not need and which cause bugs (e.g. in
14600 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14601 # suppresses any "Segmentation fault" message there. '((' could
14602 # trigger a bug in pdksh 5.2.14.
14603 for as_var
in BASH_ENV ENV MAIL MAILPATH
14604 do eval test x\
${$as_var+set} = xset \
14605 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14618 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14621 # as_fn_error ERROR [LINENO LOG_FD]
14622 # ---------------------------------
14623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14625 # script with status $?, using 1 if that was 0.
14628 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14630 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14631 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14633 $as_echo "$as_me: error: $1" >&2
14634 as_fn_exit
$as_status
14638 # as_fn_set_status STATUS
14639 # -----------------------
14640 # Set $? to STATUS, without forking.
14641 as_fn_set_status
()
14644 } # as_fn_set_status
14646 # as_fn_exit STATUS
14647 # -----------------
14648 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14652 as_fn_set_status
$1
14658 # Portably unset VAR.
14661 { eval $1=; unset $1;}
14663 as_unset
=as_fn_unset
14664 # as_fn_append VAR VALUE
14665 # ----------------------
14666 # Append the text in VALUE to the end of the definition contained in VAR. Take
14667 # advantage of any shell optimizations that allow amortized linear growth over
14668 # repeated appends, instead of the typical quadratic growth present in naive
14670 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14671 eval 'as_fn_append ()
14682 # as_fn_arith ARG...
14683 # ------------------
14684 # Perform arithmetic evaluation on the ARGs, and store the result in the
14685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14686 # must be portable across $(()) and expr.
14687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14688 eval 'as_fn_arith ()
14695 as_val
=`expr "$@" || test $? -eq 1`
14700 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14701 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14707 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14708 as_basename
=basename
14713 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14719 as_me
=`$as_basename -- "$0" ||
14720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14721 X"$0" : 'X\(//\)$' \| \
14722 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14724 sed '/^.*\/\([^/][^/]*\)\/*$/{
14738 # Avoid depending upon Character Ranges.
14739 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14740 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14741 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14742 as_cr_digits
='0123456789'
14743 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14745 ECHO_C
= ECHO_N
= ECHO_T
=
14746 case `echo -n x` in #(((((
14748 case `echo 'xy\c'` in
14749 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14751 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14758 rm -f conf$$ conf$$.exe conf$$.
file
14759 if test -d conf$$.dir
; then
14760 rm -f conf$$.dir
/conf$$.
file
14763 mkdir conf$$.dir
2>/dev
/null
14765 if (echo >conf$$.
file) 2>/dev
/null
; then
14766 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14768 # ... but there are two gotchas:
14769 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14770 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14771 # In both cases, we have to default to `cp -p'.
14772 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14774 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14782 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14783 rmdir conf$$.dir
2>/dev
/null
14788 # Create "$as_dir" as a directory, including parents if necessary.
14793 -*) as_dir
=.
/$as_dir;;
14795 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14799 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14800 *) as_qdir
=$as_dir;;
14802 as_dirs
="'$as_qdir' $as_dirs"
14803 as_dir
=`$as_dirname -- "$as_dir" ||
14804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14805 X"$as_dir" : 'X\(//\)[^/]' \| \
14806 X"$as_dir" : 'X\(//\)$' \| \
14807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14808 $as_echo X"$as_dir" |
14809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14813 /^X\(\/\/\)[^/].*/{
14826 test -d "$as_dir" && break
14828 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14829 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14833 if mkdir
-p .
2>/dev
/null
; then
14834 as_mkdir_p
='mkdir -p "$as_dir"'
14836 test -d .
/-p && rmdir .
/-p
14840 if test -x / >/dev
/null
2>&1; then
14841 as_test_x
='test -x'
14843 if ls -dL / >/dev
/null
2>&1; then
14850 if test -d "$1"; then
14856 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14857 ???[sx]*):;;*)false;;esac;fi
14861 as_executable_p
=$as_test_x
14863 # Sed expression to map a string onto a valid CPP name.
14864 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14866 # Sed expression to map a string onto a valid variable name.
14867 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14871 ## ----------------------------------- ##
14872 ## Main body of $CONFIG_STATUS script. ##
14873 ## ----------------------------------- ##
14875 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14878 # Save the log message, to keep $0 and so on meaningful, and to
14879 # report actual input values of CONFIG_FILES etc. instead of their
14880 # values after options handling.
14882 This file was extended by $as_me, which was
14883 generated by GNU Autoconf 2.64. Invocation command line was
14885 CONFIG_FILES = $CONFIG_FILES
14886 CONFIG_HEADERS = $CONFIG_HEADERS
14887 CONFIG_LINKS = $CONFIG_LINKS
14888 CONFIG_COMMANDS = $CONFIG_COMMANDS
14891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14896 case $ac_config_files in *"
14897 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14903 # Files that config.status was made for.
14904 config_files="$ac_config_files"
14908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14910 \`$as_me' instantiates files and other configuration actions
14911 from templates according to the current configuration. Unless the files
14912 and actions are specified as TAGs, all are instantiated by default.
14914 Usage: $0 [OPTION]... [TAG]...
14916 -h, --help print this help, then exit
14917 -V, --version print version number and configuration settings, then exit
14918 -q, --quiet, --silent
14919 do not print progress messages
14920 -d, --debug don't remove temporary files
14921 --recheck update $as_me by reconfiguring in the same conditions
14922 --file=FILE[:TEMPLATE]
14923 instantiate the configuration file FILE
14925 Configuration files:
14928 Report bugs to the package provider."
14931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14934 configured by $0, generated by GNU Autoconf 2.64,
14935 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14937 Copyright (C) 2009 Free Software Foundation, Inc.
14938 This config.status script is free software; the Free Software Foundation
14939 gives unlimited permission to copy, distribute and modify it."
14945 test -n "\$AWK" || AWK=awk
14948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14949 # The default lists apply if the user does not specify any file.
14955 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14956 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14967 # Handling of the options.
14968 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14970 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14971 $as_echo "$ac_cs_version"; exit ;;
14972 --debug |
--debu |
--deb |
--de |
--d |
-d )
14974 --file |
--fil |
--fi |
--f )
14977 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14979 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14980 ac_need_defaults
=false
;;
14981 --he |
--h |
--help |
--hel |
-h )
14982 $as_echo "$ac_cs_usage"; exit ;;
14983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14984 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14987 # This is an error.
14988 -*) as_fn_error
"unrecognized option: \`$1'
14989 Try \`$0 --help' for more information." ;;
14991 *) as_fn_append ac_config_targets
" $1"
14992 ac_need_defaults
=false
;;
14998 ac_configure_extra_args
=
15000 if $ac_cs_silent; then
15002 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15007 if \$ac_cs_recheck; then
15008 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15010 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15011 CONFIG_SHELL='$SHELL'
15012 export CONFIG_SHELL
15017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15022 ## Running $as_me. ##
15028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15032 extrasub_build="$extrasub_build"
15033 extrasub_host="$extrasub_host"
15034 extrasub_target="$extrasub_target"
15038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15040 # Handling of arguments.
15041 for ac_config_target
in $ac_config_targets
15043 case $ac_config_target in
15044 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15046 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15051 # If the user did not use the arguments to specify the items to instantiate,
15052 # then the envvar interface is used. Set only those that are not.
15053 # We use the long form for the default assignment because of an extremely
15054 # bizarre bug on SunOS 4.1.3.
15055 if $ac_need_defaults; then
15056 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15059 # Have a temporary directory for convenience. Make it in the build tree
15060 # simply because there is no reason against having it here, and in addition,
15061 # creating and moving files from /tmp can sometimes cause problems.
15062 # Hook for its removal unless debugging.
15063 # Note that there is a small window in which the directory will not be cleaned:
15064 # after its creation but before its name has been assigned to `$tmp'.
15068 trap 'exit_status=$?
15069 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15071 trap 'as_fn_exit 1' 1 2 13 15
15073 # Create a (secure) tmp directory for tmp files.
15076 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15077 test -n "$tmp" && test -d "$tmp"
15080 tmp
=.
/conf$$
-$RANDOM
15081 (umask 077 && mkdir
"$tmp")
15082 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15084 # Set up the scripts for CONFIG_FILES section.
15085 # No need to generate them if there are no CONFIG_FILES.
15086 # This happens for instance with `./config.status config.h'.
15087 if test -n "$CONFIG_FILES"; then
15089 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15090 ac_cs_awk_getline
=:
15091 ac_cs_awk_pipe_init
=
15092 ac_cs_awk_read_file
='
15093 while ((getline aline < (F[key])) > 0)
15096 ac_cs_awk_pipe_fini
=
15098 ac_cs_awk_getline
=false
15099 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15100 ac_cs_awk_read_file
='
15102 print "cat " F[key] " &&"
15103 '$ac_cs_awk_pipe_init
15104 # The final `:' finishes the AND list.
15105 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15107 ac_cr
=`echo X | tr X '\015'`
15108 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15109 # But we know of no other shell where ac_cr would be empty at this
15110 # point, so we can use a bashism as a fallback.
15111 if test "x$ac_cr" = x
; then
15112 eval ac_cr
=\$
\'\\r
\'
15114 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15115 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15118 ac_cs_awk_cr
=$ac_cr
15121 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15124 # Create commands to substitute file output variables.
15126 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15127 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15128 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15131 } >conf$
$files.sh
&&
15132 . .
/conf$
$files.sh ||
15133 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15134 rm -f conf$
$files.sh
15137 echo "cat >conf$$subs.awk <<_ACEOF" &&
15138 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15140 } >conf$$subs.sh ||
15141 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15142 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15144 for ac_last_try in false false false false false :; do
15145 . ./conf$$subs.sh ||
15146 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15148 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15149 if test $ac_delim_n = $ac_delim_num; then
15151 elif $ac_last_try; then
15152 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15154 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15157 rm -f conf$$subs.sh
15159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15164 s/^/S["/; s
/!.
*/"]=/
15174 s/\(.\{148\}\).*/\1/
15176 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15181 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15188 s/\(.\{148\}\).*/\1/
15190 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15194 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15199 ' <conf$$subs.awk | sed '
15204 ' >>$CONFIG_STATUS || ac_write_fail=1
15205 rm -f conf$$subs.awk
15206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15208 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15209 for (key in S) S_is_set[key] = 1
15211 \$ac_cs_awk_pipe_init
15215 nfields = split(line, field, "@
")
15217 len = length(field[1])
15218 for (i = 2; i < nfields; i++) {
15220 keylen = length(key)
15221 if (S_is_set[key]) {
15223 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15224 len += length(value) + length(field[++i])
15229 if (nfields == 3 && !substed) {
15231 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15232 \$ac_cs_awk_read_file
15238 \$ac_cs_awk_pipe_fini
15241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15242 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15243 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15246 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15247 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15250 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15251 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15252 # trailing colons and then remove the whole line if VPATH becomes empty
15253 # (actually we leave an empty line to preserve line numbers).
15254 if test "x
$srcdir" = x.; then
15255 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15256 s/:*\$(srcdir):*/:/
15257 s/:*\${srcdir}:*/:/
15259 s/^\([^=]*=[ ]*\):*/\1/
15265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15266 fi # test -n "$CONFIG_FILES"
15269 eval set X " :F
$CONFIG_FILES "
15274 :[FHLC]) ac_mode=$ac_tag; continue;;
15276 case $ac_mode$ac_tag in
15278 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15279 :[FH]-) ac_tag=-:-;;
15280 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15297 -) ac_f="$tmp/stdin";;
15298 *) # Look for the file first in the build tree, then in the source tree
15299 # (if the path is not absolute). The absolute path cannot be DOS-style,
15300 # because $ac_f cannot contain `:'.
15304 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15306 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15308 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15309 as_fn_append ac_file_inputs " '$ac_f'"
15312 # Let's still pretend it is `configure' which instantiates (i.e., don't
15313 # use $as_me), people would be surprised to read:
15314 # /* config.h. Generated by config.status. */
15315 configure_input='Generated from '`
15316 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15318 if test x"$ac_file" != x-; then
15319 configure_input="$ac_file.
$configure_input"
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15321 $as_echo "$as_me: creating
$ac_file" >&6;}
15323 # Neutralize special characters interpreted by sed in replacement strings.
15324 case $configure_input in #(
15325 *\&* | *\|* | *\\* )
15326 ac_sed_conf_input=`$as_echo "$configure_input" |
15327 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15328 *) ac_sed_conf_input=$configure_input;;
15332 *:-:* | *:-) cat >"$tmp/stdin
" \
15333 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15338 ac_dir=`$as_dirname -- "$ac_file" ||
15339 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15340 X"$ac_file" : 'X\(//\)[^/]' \| \
15341 X"$ac_file" : 'X\(//\)$' \| \
15342 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15343 $as_echo X"$ac_file" |
15344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15348 /^X\(\/\/\)[^/].*/{
15361 as_dir="$ac_dir"; as_fn_mkdir_p
15365 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15367 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15368 # A "..
" for each directory in $ac_dir_suffix.
15369 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15370 case $ac_top_builddir_sub in
15371 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15372 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15375 ac_abs_top_builddir=$ac_pwd
15376 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15377 # for backward compatibility:
15378 ac_top_builddir=$ac_top_build_prefix
15381 .) # We are building in place.
15383 ac_top_srcdir=$ac_top_builddir_sub
15384 ac_abs_top_srcdir=$ac_pwd ;;
15385 [\\/]* | ?:[\\/]* ) # Absolute name.
15386 ac_srcdir=$srcdir$ac_dir_suffix;
15387 ac_top_srcdir=$srcdir
15388 ac_abs_top_srcdir=$srcdir ;;
15389 *) # Relative name.
15390 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15391 ac_top_srcdir=$ac_top_build_prefix$srcdir
15392 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15394 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15404 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15405 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15410 # If the template does not know about datarootdir, expand it.
15411 # FIXME: This hack should be removed a few years after 2.60.
15412 ac_datarootdir_hack=; ac_datarootdir_seen=
15423 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15424 *datarootdir*) ac_datarootdir_seen=yes;;
15425 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15427 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15430 ac_datarootdir_hack='
15431 s&@datadir@&$datadir&g
15432 s&@docdir@&$docdir&g
15433 s&@infodir@&$infodir&g
15434 s&@localedir@&$localedir&g
15435 s&@mandir@&$mandir&g
15436 s&\\\${datarootdir}&$datarootdir&g' ;;
15440 # Neutralize VPATH when `$srcdir' = `.'.
15441 # Shell code in configure.ac might set extrasub.
15442 # FIXME: do we really want to maintain this feature?
15443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15444 ac_sed_extra="$ac_vpsub
15447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15449 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15450 s|@configure_input@|
$ac_sed_conf_input|
;t t
15451 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15452 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15453 s
&@srcdir@
&$ac_srcdir&;t t
15454 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15455 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15456 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15457 s
&@builddir@
&$ac_builddir&;t t
15458 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15459 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15460 s
&@INSTALL@
&$ac_INSTALL&;t t
15461 $ac_datarootdir_hack
15463 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15464 if $ac_cs_awk_getline; then
15465 $AWK -f "$tmp/subs.
awk"
15467 $AWK -f "$tmp/subs.
awk" | $SHELL
15469 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15471 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15472 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15473 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15475 which seems to be undefined. Please make sure it is defined." >&5
15476 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15477 which seems to be undefined. Please make sure it is defined." >&2;}
15481 -) cat "$tmp/out" && rm -f "$tmp/out";;
15482 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15484 || as_fn_error "could not create $ac_file" "$LINENO" 5
15492 case $ac_file$ac_mode in
15493 "Makefile":F) sed "$extrasub_build" Makefile |
15494 sed "$extrasub_host" |
15495 sed "$extrasub_target" > mf$$
15496 mv -f mf$$ Makefile ;;
15504 ac_clean_files=$ac_clean_files_save
15506 test $ac_write_fail = 0 ||
15507 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15510 # configure is writing to config.log, and then calls config.status.
15511 # config.status does its own redirection, appending to config.log.
15512 # Unfortunately, on DOS this fails, as config.log is still kept open
15513 # by configure, so config.status won't be able to
write to it
; its
15514 # output is simply discarded. So we exec the FD to /dev/null,
15515 # effectively closing config.log, so it can be properly (re)opened and
15516 # appended to by config.status. When coming back to configure, we
15517 # need to make the FD available again.
15518 if test "$no_create" != yes; then
15520 ac_config_status_args
=
15521 test "$silent" = yes &&
15522 ac_config_status_args
="$ac_config_status_args --quiet"
15524 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15526 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15527 # would make configure fail if this is the last instruction.
15528 $ac_cs_success || as_fn_exit $?
15530 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15532 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}