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
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files
='serialization_dependencies
741 enable_option_checking
747 enable_build_with_cxx
767 enable_ppl_version_check
772 enable_cloog_version_check
774 enable_stage1_languages
777 with_debug_prefix_map
780 enable_serial_configure
781 with_build_time_tools
782 enable_maintainer_mode
783 enable_stage1_checking
786 ac_precious_vars
='build_alias
831 # Initialize some variables set by options.
833 ac_init_version
=false
834 ac_unrecognized_opts
=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name
=s
,x
,x
,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir
='${exec_prefix}/bin'
860 sbindir
='${exec_prefix}/sbin'
861 libexecdir
='${exec_prefix}/libexec'
862 datarootdir
='${prefix}/share'
863 datadir
='${datarootdir}'
864 sysconfdir
='${prefix}/etc'
865 sharedstatedir
='${prefix}/com'
866 localstatedir
='${prefix}/var'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
903 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
906 -build |
--build |
--buil |
--bui |
--bu)
907 ac_prev
=build_alias
;;
908 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
909 build_alias
=$ac_optarg ;;
911 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
912 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
913 ac_prev
=cache_file
;;
914 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
915 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
916 cache_file
=$ac_optarg ;;
919 cache_file
=config.cache
;;
921 -datadir |
--datadir |
--datadi |
--datad)
923 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
924 datadir
=$ac_optarg ;;
926 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
927 |
--dataroo |
--dataro |
--datar)
928 ac_prev
=datarootdir
;;
929 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
930 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
931 datarootdir
=$ac_optarg ;;
933 -disable-* |
--disable-*)
934 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
937 as_fn_error
"invalid feature name: $ac_useropt"
938 ac_useropt_orig
=$ac_useropt
939 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in
944 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945 ac_unrecognized_sep
=', ';;
947 eval enable_
$ac_useropt=no
;;
949 -docdir |
--docdir |
--docdi |
--doc |
--do)
951 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
954 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
956 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
959 -enable-* |
--enable-*)
960 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
963 as_fn_error
"invalid feature name: $ac_useropt"
964 ac_useropt_orig
=$ac_useropt
965 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971 ac_unrecognized_sep
=', ';;
973 eval enable_
$ac_useropt=\
$ac_optarg ;;
975 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
976 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
977 |
--exec |
--exe |
--ex)
978 ac_prev
=exec_prefix
;;
979 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
980 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
981 |
--exec=* |
--exe=* |
--ex=*)
982 exec_prefix
=$ac_optarg ;;
984 -gas |
--gas |
--ga |
--g)
985 # Obsolete; use --with-gas.
988 -help |
--help |
--hel |
--he |
-h)
990 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
991 ac_init_help
=recursive
;;
992 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
993 ac_init_help
=short
;;
995 -host |
--host |
--hos |
--ho)
996 ac_prev
=host_alias
;;
997 -host=* |
--host=* |
--hos=* |
--ho=*)
998 host_alias
=$ac_optarg ;;
1000 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1002 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1004 htmldir
=$ac_optarg ;;
1006 -includedir |
--includedir |
--includedi |
--included |
--include \
1007 |
--includ |
--inclu |
--incl |
--inc)
1008 ac_prev
=includedir
;;
1009 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1010 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1011 includedir
=$ac_optarg ;;
1013 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1015 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1016 infodir
=$ac_optarg ;;
1018 -libdir |
--libdir |
--libdi |
--libd)
1020 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1021 libdir
=$ac_optarg ;;
1023 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1024 |
--libexe |
--libex |
--libe)
1025 ac_prev
=libexecdir
;;
1026 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1027 |
--libexe=* |
--libex=* |
--libe=*)
1028 libexecdir
=$ac_optarg ;;
1030 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1031 ac_prev
=localedir
;;
1032 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1033 localedir
=$ac_optarg ;;
1035 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1036 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1037 ac_prev
=localstatedir
;;
1038 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1039 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1040 localstatedir
=$ac_optarg ;;
1042 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1044 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1045 mandir
=$ac_optarg ;;
1047 -nfp |
--nfp |
--nf)
1048 # Obsolete; use --without-fp.
1051 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1052 |
--no-cr |
--no-c |
-n)
1055 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1056 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1059 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1060 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1061 |
--oldin |
--oldi |
--old |
--ol |
--o)
1062 ac_prev
=oldincludedir
;;
1063 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1064 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1065 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1066 oldincludedir
=$ac_optarg ;;
1068 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1070 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1071 prefix
=$ac_optarg ;;
1073 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1074 |
--program-pre |
--program-pr |
--program-p)
1075 ac_prev
=program_prefix
;;
1076 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1077 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1078 program_prefix
=$ac_optarg ;;
1080 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1081 |
--program-suf |
--program-su |
--program-s)
1082 ac_prev
=program_suffix
;;
1083 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1084 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1085 program_suffix
=$ac_optarg ;;
1087 -program-transform-name |
--program-transform-name \
1088 |
--program-transform-nam |
--program-transform-na \
1089 |
--program-transform-n |
--program-transform- \
1090 |
--program-transform |
--program-transfor \
1091 |
--program-transfo |
--program-transf \
1092 |
--program-trans |
--program-tran \
1093 |
--progr-tra |
--program-tr |
--program-t)
1094 ac_prev
=program_transform_name
;;
1095 -program-transform-name=* |
--program-transform-name=* \
1096 |
--program-transform-nam=* |
--program-transform-na=* \
1097 |
--program-transform-n=* |
--program-transform-=* \
1098 |
--program-transform=* |
--program-transfor=* \
1099 |
--program-transfo=* |
--program-transf=* \
1100 |
--program-trans=* |
--program-tran=* \
1101 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1102 program_transform_name
=$ac_optarg ;;
1104 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1106 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1107 pdfdir
=$ac_optarg ;;
1109 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1111 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1114 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1115 |
-silent |
--silent |
--silen |
--sile |
--sil)
1118 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1120 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1122 sbindir
=$ac_optarg ;;
1124 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1125 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1126 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1128 ac_prev
=sharedstatedir
;;
1129 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1130 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1131 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1133 sharedstatedir
=$ac_optarg ;;
1135 -site |
--site |
--sit)
1137 -site=* |
--site=* |
--sit=*)
1140 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1142 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1143 srcdir
=$ac_optarg ;;
1145 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1146 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1147 ac_prev
=sysconfdir
;;
1148 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1149 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1150 sysconfdir
=$ac_optarg ;;
1152 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1153 ac_prev
=target_alias
;;
1154 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1155 target_alias
=$ac_optarg ;;
1157 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1160 -version |
--version |
--versio |
--versi |
--vers |
-V)
1161 ac_init_version
=: ;;
1164 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1167 as_fn_error
"invalid package name: $ac_useropt"
1168 ac_useropt_orig
=$ac_useropt
1169 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=\
$ac_optarg ;;
1179 -without-* |
--without-*)
1180 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=no
;;
1196 # Obsolete; use --with-x.
1199 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1200 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1201 ac_prev
=x_includes
;;
1202 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1203 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1204 x_includes
=$ac_optarg ;;
1206 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1207 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1208 ac_prev
=x_libraries
;;
1209 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1210 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1211 x_libraries
=$ac_optarg ;;
1213 -*) as_fn_error
"unrecognized option: \`$ac_option'
1214 Try \`$0 --help' for more information."
1218 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1222 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1224 eval $ac_envvar=\
$ac_optarg
1225 export $ac_envvar ;;
1228 # FIXME: should be removed in autoconf 3.0.
1229 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1238 if test -n "$ac_prev"; then
1239 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error
"missing argument to $ac_option"
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1246 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1247 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 # Check all directory arguments for consistency.
1252 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir
1257 eval ac_val
=\$
$ac_var
1258 # Remove trailing slashes.
1261 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\
$ac_val;;
1264 # Be sure to have absolute directory names.
1266 [\\/$
]* | ?
:[\\/]* ) continue;;
1267 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1269 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target
=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x
; then
1281 if test "x$build_alias" = x
; then
1282 cross_compiling
=maybe
1283 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1284 If a cross compiler is detected then cross compile mode will be used." >&2
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1293 test "$silent" = yes && exec 6>/dev
/null
1296 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di
=`ls -di .` &&
1298 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error
"working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error
"pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted
=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir
=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted
=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1340 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 as_fn_error
"path to source, $srcdir, contains spaces"
1361 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1363 for ac_var
in $ac_precious_vars; do
1364 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1366 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures this package to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1442 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1446 if test -n "$ac_init_help"; then
1451 --disable-option-checking ignore unrecognized
--enable/--with options
1452 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1453 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1454 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1455 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1456 --enable-libada build libada directory
1457 --enable-libssp build libssp directory
1458 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1459 --disable-ppl-version-check disable check
for PPL version
1460 --enable-cloog-backend[=BACKEND
]
1461 set the CLooG BACKEND used to either isl
, ppl or
1462 ppl-legacy
(default
)
1463 --disable-cloog-version-check
1464 disable check
for CLooG version
1465 --enable-lto enable link
time optimization support
1466 --enable-stage1-languages[=all
] choose additional languages to build during
1467 stage1. Mostly useful
for compiler development.
1468 --enable-objc-gc enable use of Boehm
's garbage collector with the
1469 GNU Objective-C runtime
1470 --enable-bootstrap enable bootstrapping [yes if native build]
1471 --enable-serial-[{host,target,build}-]configure
1472 force sequential configuration of
1473 sub-packages for the host, target or build
1474 machine, or all sub-packages
1475 --enable-maintainer-mode enable make rules and dependencies not useful
1476 (and sometimes confusing) to the casual installer
1477 --enable-stage1-checking[=all] choose additional checking for stage1
1479 --enable-werror enable -Werror in bootstrap stage2 and later
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-build-libsubdir=DIR Directory where to find libraries for build system
1485 --with-mpc=PATH specify prefix directory for installed MPC package.
1486 Equivalent to --with-mpc-include=PATH/include
1487 plus --with-mpc-lib=PATH/lib
1488 --with-mpc-include=PATH
1489 specify directory for installed MPC include files
1490 --with-mpc-lib=PATH specify directory for the installed MPC library
1491 --with-mpfr-dir=PATH this option has been REMOVED
1492 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1493 Equivalent to --with-mpfr-include=PATH/include
1494 plus --with-mpfr-lib=PATH/lib
1495 --with-mpfr-include=PATH
1496 specify directory for installed MPFR include files
1497 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1498 --with-gmp-dir=PATH this option has been REMOVED
1499 --with-gmp=PATH specify prefix directory for the installed GMP package.
1500 Equivalent to --with-gmp-include=PATH/include
1501 plus --with-gmp-lib=PATH/lib
1502 --with-gmp-include=PATH specify directory for installed GMP include files
1503 --with-gmp-lib=PATH specify directory for the installed GMP library
1504 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1505 when linking with PPL
1506 --with-stage1-ldflags=FLAGS Linker flags for stage1
1507 -with-stage1-libs=LIBS Libraries for stage1
1508 --with-boot-libs=LIBS Libraries for stage2 and later
1509 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1510 --with-ppl=PATH Specify prefix directory for the installed PPL package
1511 Equivalent to --with-ppl-include=PATH/include
1512 plus --with-ppl-lib=PATH/lib
1513 --with-ppl-include=PATH Specify directory for installed PPL include files
1514 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1515 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1516 package. Equivalent to
1517 --with-cloog-include=PATH/include plus
1518 --with-cloog-lib=PATH/lib
1519 --with-cloog-include=PATH
1520 Specify directory for installed CLooG include files
1521 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1523 --with-build-sysroot=SYSROOT
1524 use sysroot as the system root during the build
1525 --with-debug-prefix-map='A
=B C
=D ...
'
1526 map A to B, C to D ... in debug information
1527 --with-build-config='NAME NAME2...
'
1528 Use config/NAME.mk build configuration
1529 --with-build-time-tools=PATH
1530 use given path to find target tools during the build
1532 Some influential environment variables:
1533 CC C compiler command
1534 CFLAGS C compiler flags
1535 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1536 nonstandard directory <lib dir>
1537 LIBS libraries to pass to the linker, e.g. -l<library>
1538 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1539 you have headers in a nonstandard directory <include dir>
1540 CXX C++ compiler command
1541 CXXFLAGS C++ compiler flags
1543 additional configure arguments for build directories
1545 additional configure arguments for host directories
1547 additional configure arguments for target directories
1550 DLLTOOL DLLTOOL for the host
1552 LIPO LIPO for the host
1554 RANLIB RANLIB for the host
1555 STRIP STRIP for the host
1556 WINDRES WINDRES for the host
1557 WINDMC WINDMC for the host
1558 OBJCOPY OBJCOPY for the host
1559 OBJDUMP OBJDUMP for the host
1569 GFORTRAN for the target
1577 DLLTOOL for the target
1585 OBJDUMP for the target
1587 RANLIB for the target
1589 STRIP for the target
1591 WINDRES for the target
1593 WINDMC for the target
1595 Use these variables to override the choices made by `configure' or to
help
1596 it to
find libraries and programs with nonstandard names
/locations.
1598 Report bugs to the package provider.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1612 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1614 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1619 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1622 ac_abs_top_builddir
=$ac_pwd
1623 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir
=$ac_top_build_prefix
1628 .
) # We are building in place.
1630 ac_top_srcdir
=$ac_top_builddir_sub
1631 ac_abs_top_srcdir
=$ac_pwd ;;
1632 [\\/]* | ?
:[\\/]* ) # Absolute name.
1633 ac_srcdir
=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir
=$srcdir
1635 ac_abs_top_srcdir
=$srcdir ;;
1637 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1641 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1643 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1662 generated by GNU Autoconf
2.64
1664 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1665 This configure
script is free software
; the Free Software Foundation
1666 gives unlimited permission to copy
, distribute and modify it.
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 rm -f conftest.
$ac_objext
1682 if { { ac_try
="$ac_compile"
1684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 } # ac_fn_c_try_compile
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1723 *) ac_try_echo
=$ac_try;;
1725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err
; then
1730 grep -v '^ *+' conftest.err
>conftest.er1
1731 cat conftest.er1
>&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.
$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.
$ac_ext >&5
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1749 } # ac_fn_cxx_try_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1757 rm -f conftest.
$ac_objext conftest
$ac_exeext
1758 if { { ac_try
="$ac_link"
1760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 $as_test_x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 } # ac_fn_c_try_link
1796 cat >config.log <<_ACEOF
1797 This file contains any messages produced by compilers while
1798 running configure, to aid debugging if configure makes a mistake.
1800 It was created by $as_me, which was
1801 generated by GNU Autoconf 2.64. Invocation command line was
1813 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1814 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1815 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1816 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1817 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1819 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1820 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1822 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1823 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1824 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1825 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1826 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1827 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1828 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836 test -z "$as_dir" && as_dir=.
1837 $as_echo "PATH: $as_dir"
1853 # Keep a trace of the command line.
1854 # Strip out --no-create and --no-recursion so they do not pile up.
1855 # Strip out --silent because we don't want to record it for future runs.
1856 # Also quote any args containing shell meta-characters.
1857 # Make two passes to allow for proper duplicate-argument suppression.
1861 ac_must_keep_next=false
1867 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1869 | -silent | --silent | --silen | --sile | --sil)
1872 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1875 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1877 as_fn_append ac_configure_args1 " '$ac_arg'"
1878 if test $ac_must_keep_next = true; then
1879 ac_must_keep_next=false # Got value, back to normal.
1882 *=* | --config-cache | -C | -disable-* | --disable-* \
1883 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1884 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1885 | -with-* | --with-* | -without-* | --without-* | --x)
1886 case "$ac_configure_args0 " in
1887 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1890 -* ) ac_must_keep_next=true ;;
1893 as_fn_append ac_configure_args " '$ac_arg'"
1898 { ac_configure_args0=; unset ac_configure_args0;}
1899 { ac_configure_args1=; unset ac_configure_args1;}
1901 # When interrupted or exit'd, cleanup temporary files, and complete
1902 # config.log. We remove comments because anyway the quotes in there
1903 # would cause problems or look ugly.
1904 # WARNING: Use '\'' to represent an apostrophe within the trap.
1905 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1906 trap 'exit_status=$?
1907 # Save into config.log some information that might help in debugging.
1912 ## ---------------- ##
1913 ## Cache variables. ##
1914 ## ---------------- ##
1917 # The following way of writing the cache mishandles newlines in values,
1919 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1920 eval ac_val=\$$ac_var
1924 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1928 _ | IFS | as_nl) ;; #(
1929 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1930 *) { eval $ac_var=; unset $ac_var;} ;;
1935 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1936 *${as_nl}ac_space=\ *)
1938 "s/'\''/'\''\\\\'\'''\''/g;
1939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1942 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1950 ## ----------------- ##
1951 ## Output variables. ##
1952 ## ----------------- ##
1955 for ac_var in $ac_subst_vars
1957 eval ac_val=\$$ac_var
1959 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1961 $as_echo "$ac_var='\''$ac_val'\''"
1965 if test -n "$ac_subst_files"; then
1967 ## ------------------- ##
1968 ## File substitutions. ##
1969 ## ------------------- ##
1972 for ac_var in $ac_subst_files
1974 eval ac_val=\$$ac_var
1976 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1978 $as_echo "$ac_var='\''$ac_val'\''"
1983 if test -s confdefs.h; then
1993 test "$ac_signal" != 0 &&
1994 $as_echo "$as_me: caught signal $ac_signal"
1995 $as_echo "$as_me: exit $exit_status"
1997 rm -f core *.core core.conftest.* &&
1998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2001 for ac_signal in 1 2 13 15; do
2002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2007 rm -f -r conftest* confdefs.h
2009 $as_echo "/* confdefs.h */" > confdefs.h
2011 # Predefined preprocessor variables.
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_STRING "$PACKAGE_STRING"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_URL "$PACKAGE_URL"
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2042 if test -n "$CONFIG_SITE"; then
2043 ac_site_file1=$CONFIG_SITE
2044 elif test "x$prefix" != xNONE; then
2045 ac_site_file1=$prefix/share/config.site
2046 ac_site_file2=$prefix/etc/config.site
2048 ac_site_file1=$ac_default_prefix/share/config.site
2049 ac_site_file2=$ac_default_prefix/etc/config.site
2051 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2053 test "x$ac_site_file" = xNONE && continue
2054 if test -r "$ac_site_file"; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2056 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2057 sed 's/^/| /' "$ac_site_file" >&5
2062 if test -r "$cache_file"; then
2063 # Some versions of bash will fail to source /dev/null (special
2064 # files actually), so we avoid doing that.
2065 if test -f "$cache_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2067 $as_echo "$as_me: loading cache $cache_file" >&6;}
2069 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2070 *) . "./$cache_file";;
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2075 $as_echo "$as_me: creating cache $cache_file" >&6;}
2079 # Check that the precious variables saved in the cache have kept the same
2081 ac_cache_corrupted=false
2082 for ac_var in $ac_precious_vars; do
2083 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2084 eval ac_new_set=\$ac_env_${ac_var}_set
2085 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2086 eval ac_new_val=\$ac_env_${ac_var}_value
2087 case $ac_old_set,$ac_new_set in
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2090 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2091 ac_cache_corrupted=: ;;
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2094 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2095 ac_cache_corrupted=: ;;
2098 if test "x$ac_old_val" != "x$ac_new_val"; then
2099 # differences in whitespace do not lead to failure.
2100 ac_old_val_w=`echo x
$ac_old_val`
2101 ac_new_val_w=`echo x
$ac_new_val`
2102 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2105 ac_cache_corrupted=:
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2109 eval $ac_var=\$ac_old_val
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2112 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2114 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2117 # Pass precious variables to config.status.
2118 if test "$ac_new_set" = set; then
2120 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2121 *) ac_arg=$ac_var=$ac_new_val ;;
2123 case " $ac_configure_args " in
2124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2125 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2129 if $ac_cache_corrupted; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2134 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2136 ## -------------------- ##
2137 ## Main body of script. ##
2138 ## -------------------- ##
2141 ac_cpp='$CPP $CPPFLAGS'
2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2155 # if PWD already has a value, it is probably wrong.
2156 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2158 # Export original configure arguments for use by sub-configures.
2159 # Quote arguments with shell meta charatcers.
2160 TOPLEVEL_CONFIGURE_ARGUMENTS=
2161 set -- "$progname" "$@"
2165 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2166 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2167 # if the argument is of the form -foo=baz, quote the baz part only
2168 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2171 # Add the quoted argument to the list.
2172 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2174 if test "$silent" = yes; then
2175 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2177 # Remove the initial space we just introduced and, as these will be
2178 # expanded by make, quote '$'.
2179 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2182 # Find the build, host, and target systems.
2184 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2185 for ac_t in install-sh install.sh shtool; do
2186 if test -f "$ac_dir/$ac_t"; then
2188 ac_install_sh="$ac_aux_dir/$ac_t -c"
2193 if test -z "$ac_aux_dir"; then
2194 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2197 # These three variables are undocumented and unsupported,
2198 # and are intended to be withdrawn in a future Autoconf release.
2199 # They can cause serious problems if a builder's source tree is in a directory
2200 # whose full name contains unusual characters.
2201 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2202 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2203 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2206 # Make sure we can run config.sub.
2207 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2208 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2211 $as_echo_n "checking build system type... " >&6; }
2212 if test "${ac_cv_build+set}" = set; then :
2213 $as_echo_n "(cached) " >&6
2215 ac_build_alias=$build_alias
2216 test "x$ac_build_alias" = x &&
2217 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2218 test "x$ac_build_alias" = x &&
2219 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2220 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2221 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2225 $as_echo "$ac_cv_build" >&6; }
2226 case $ac_cv_build in
2228 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2231 ac_save_IFS=$IFS; IFS='-'
2237 # Remember, the first character of IFS is used to create $*,
2238 # except with old shells:
2241 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2244 case ${build_alias} in
2245 "") build_noncanonical=${build} ;;
2246 *) build_noncanonical=${build_alias} ;;
2251 case ${host_alias} in
2252 "") host_noncanonical=${build_noncanonical} ;;
2253 *) host_noncanonical=${host_alias} ;;
2258 case ${target_alias} in
2259 "") target_noncanonical=${host_noncanonical} ;;
2260 *) target_noncanonical=${target_alias} ;;
2266 test "$host_noncanonical" = "$target_noncanonical" &&
2267 test "$program_prefix$program_suffix$program_transform_name" = \
2269 program_transform_name=s,y,y,
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2272 $as_echo_n "checking host system type... " >&6; }
2273 if test "${ac_cv_host+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2276 if test "x$host_alias" = x; then
2277 ac_cv_host=$ac_cv_build
2279 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2280 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2285 $as_echo "$ac_cv_host" >&6; }
2288 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2291 ac_save_IFS=$IFS; IFS='-'
2297 # Remember, the first character of IFS is used to create $*,
2298 # except with old shells:
2301 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2305 $as_echo_n "checking target system type... " >&6; }
2306 if test "${ac_cv_target+set}" = set; then :
2307 $as_echo_n "(cached) " >&6
2309 if test "x$target_alias" = x; then
2310 ac_cv_target=$ac_cv_host
2312 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2313 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2318 $as_echo "$ac_cv_target" >&6; }
2319 case $ac_cv_target in
2321 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2323 target=$ac_cv_target
2324 ac_save_IFS=$IFS; IFS='-'
2330 # Remember, the first character of IFS is used to create $*,
2331 # except with old shells:
2334 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2337 # The aliases save the names the user supplied, while $host etc.
2338 # will get canonicalized.
2339 test -n "$target_alias" &&
2340 test "$program_prefix$program_suffix$program_transform_name" = \
2342 program_prefix=${target_alias}-
2344 test "$program_prefix" != NONE &&
2345 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2346 # Use a double $ so make ignores it.
2347 test "$program_suffix" != NONE &&
2348 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2349 # Double any \ or $.
2350 # By default was `s
,x
,x
', remove it if useless.
2351 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2352 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2356 # Get 'install' or 'install-sh
' and its variants.
2357 # Find a good install program. We prefer a C program (faster),
2358 # so one script is as good as another. But avoid the broken or
2359 # incompatible versions:
2360 # SysV /etc/install, /usr/sbin/install
2361 # SunOS /usr/etc/install
2362 # IRIX /sbin/install
2364 # AmigaOS /C/install, which installs bootblocks on floppy discs
2365 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2368 # OS/2's system install, which has a completely different semantic
2369 # ./install, which can be erroneously created by make from ./install.sh.
2370 # Reject install programs that cannot install multiple files.
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2372 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2373 if test -z "$INSTALL"; then
2374 if test "${ac_cv_path_install+set}" = set; then :
2375 $as_echo_n "(cached) " >&6
2377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2381 test -z "$as_dir" && as_dir
=.
2382 # Account for people who put trailing slashes in PATH elements.
2383 case $as_dir/ in #((
2384 .
/ | .
// |
/[cC
]/* | \
2385 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2386 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2389 # OSF1 and SCO ODT 3.0 have their own names for install.
2390 # Don't use installbsd from OSF since it installs stuff as root
2392 for ac_prog
in ginstall scoinst
install; do
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2395 if test $ac_prog = install &&
2396 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2397 # AIX install. It has an incompatible calling convention.
2399 elif test $ac_prog = install &&
2400 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2401 # program-specific install script used by HP pwplus--don't use.
2404 rm -rf conftest.one conftest.two conftest.dir
2405 echo one
> conftest.one
2406 echo two
> conftest.two
2408 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2409 test -s conftest.one
&& test -s conftest.two
&&
2410 test -s conftest.dir
/conftest.one
&&
2411 test -s conftest.dir
/conftest.two
2413 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2426 rm -rf conftest.one conftest.two conftest.dir
2429 if test "${ac_cv_path_install+set}" = set; then
2430 INSTALL
=$ac_cv_path_install
2432 # As a last resort, use the slow shell script. Don't cache a
2433 # value for INSTALL within a source directory, because that will
2434 # break other packages using the cache if that directory is
2435 # removed, or if the value is a relative name.
2436 INSTALL
=$ac_install_sh
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2440 $as_echo "$INSTALL" >&6; }
2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2443 # It thinks the first close brace ends the variable substitution.
2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2448 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2451 $as_echo_n "checking whether ln works... " >&6; }
2452 if test "${acx_cv_prog_LN+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 rm -f conftestdata_t
2456 echo >conftestdata_f
2457 if ln conftestdata_f conftestdata_t
2>/dev
/null
2463 rm -f conftestdata_f conftestdata_t
2466 if test $acx_cv_prog_LN = no
; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2469 $as_echo "no, using $LN" >&6; }
2471 LN
="$acx_cv_prog_LN"
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2477 $as_echo_n "checking whether ln -s works... " >&6; }
2479 if test "$LN_S" = "ln -s"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2481 $as_echo "yes" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2484 $as_echo "no, using $LN_S" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2489 if test "${ac_cv_path_SED+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2493 for ac_i
in 1 2 3 4 5 6 7; do
2494 ac_script
="$ac_script$as_nl$ac_script"
2496 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2497 { ac_script
=; unset ac_script
;}
2498 if test -z "$SED"; then
2499 ac_path_SED_found
=false
2500 # Loop through the user's path and test for each of PROGNAME-LIST
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 for ac_prog
in sed gsed
; do
2507 for ac_exec_ext
in '' $ac_executable_extensions; do
2508 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2509 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2510 # Check for GNU ac_path_SED and select it if it is found.
2511 # Check for GNU $ac_path_SED
2512 case `"$ac_path_SED" --version 2>&1` in
2514 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2517 $as_echo_n 0123456789 >"conftest.in"
2520 cat "conftest.in" "conftest.in" >"conftest.tmp"
2521 mv "conftest.tmp" "conftest.in"
2522 cp "conftest.in" "conftest.nl"
2523 $as_echo '' >> "conftest.nl"
2524 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2525 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2526 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2527 if test $ac_count -gt ${ac_path_SED_max-0}; then
2528 # Best one so far, save it but keep looking for a better one
2529 ac_cv_path_SED
="$ac_path_SED"
2530 ac_path_SED_max
=$ac_count
2532 # 10*(2^10) chars as input seems more than enough
2533 test $ac_count -gt 10 && break
2535 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2538 $ac_path_SED_found && break 3
2543 if test -z "$ac_cv_path_SED"; then
2544 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2552 $as_echo "$ac_cv_path_SED" >&6; }
2553 SED
="$ac_cv_path_SED"
2556 for ac_prog
in gawk mawk nawk
awk
2558 # Extract the first word of "$ac_prog", so it can be a program name with args.
2559 set dummy
$ac_prog; ac_word
=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if test "${ac_cv_prog_AWK+set}" = set; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$AWK"; then
2566 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_exec_ext
in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_AWK
="$ac_prog"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$AWK"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2588 $as_echo "$AWK" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2595 test -n "$AWK" && break
2599 ### we might need to use some other shell than /bin/sh for running subshells
2600 ### If we are on Windows, search for the shell. This will permit people
2601 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2602 ### without also having to set CONFIG_SHELL. This code will work when
2603 ### using bash, which sets OSTYPE.
2606 if test x
${CONFIG_SHELL} = x
; then
2607 if test ! -f /bin
/sh
; then
2608 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2609 CONFIG_SHELL
=${SHELL}
2612 for prog
in sh sh.exe bash bash.exe
; do
2613 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2614 for dir
in $PATH; do
2615 test -z "$dir" && dir
=.
2616 if test -f $dir/$prog; then
2617 CONFIG_SHELL
=$dir/$prog
2623 test -n "${CONFIG_SHELL}" && break
2631 config_shell
=${CONFIG_SHELL-/bin/sh}
2633 moveifchange
=${srcdir}/move-if-change
2635 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2637 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2639 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2640 INSTALL
="${srcpwd}/install-sh -c"
2643 # Set srcdir to "." if that's what it is.
2644 # This is important for multilib support.
2646 if test "${pwd}" = "${srcpwd}" ; then
2654 ### To add a new directory to the tree, first choose whether it is a target
2655 ### or a host dependent tool. Then put it into the appropriate list
2656 ### (library or tools, host or target), doing a dependency sort.
2658 # Subdirs will be configured in the order listed in build_configdirs,
2659 # configdirs, or target_configdirs; see the serialization section below.
2661 # Dependency sorting is only needed when *configuration* must be done in
2662 # a particular order. In all cases a dependency should be specified in
2663 # the Makefile, whether or not it's implicitly specified here.
2665 # Double entries in build_configdirs, configdirs, or target_configdirs may
2666 # cause circular dependencies and break everything horribly.
2668 # these library is used by various programs built for the build
2671 build_libs
="build-libiberty"
2673 # these tools are built for the build environment
2674 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2676 # these libraries are used by various programs built for the host environment
2678 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2680 # these tools are built for the host environment
2681 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2682 # know that we are building the simulator.
2683 # binutils, gas and ld appear in that order because it makes sense to run
2684 # "make check" in that particular order.
2685 # If --enable-gold is used, "gold" may replace "ld".
2686 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2688 # libgcj represents the runtime libraries only used by gcj.
2689 libgcj
="target-libffi \
2694 # these libraries are built for the target environment, and are built after
2695 # the host libraries and the host tools (which may be a cross compiler)
2697 target_libraries
="target-libgcc \
2702 target-libstdc++-v3 \
2705 target-libquadmath \
2706 target-libgfortran \
2713 # these tools are built using the target libraries, and are intended to
2714 # run only in the target environment
2716 # note: any program that *uses* libraries that are in the "target_libraries"
2717 # list belongs in this list. those programs are also very likely
2718 # candidates for the "native_only" list which follows
2720 target_tools
="target-examples target-groff target-gperf target-rda"
2722 ################################################################################
2724 ## All tools belong in one of the four categories, and are assigned above
2725 ## We assign ${configdirs} this way to remove all embedded newlines. This
2726 ## is important because configure will choke if they ever get through.
2727 ## ${configdirs} is directories we build using the host tools.
2728 ## ${target_configdirs} is directories we build using the target tools.
2729 configdirs
=`echo ${host_libs} ${host_tools}`
2730 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2731 build_configdirs
=`echo ${build_libs} ${build_tools}`
2735 ################################################################################
2737 srcname
="gnu development package"
2739 # This gets set non-empty for some net releases of packages.
2742 # Define is_cross_compiler to save on calls to 'test'.
2744 if test x
"${host}" = x
"${target}" ; then
2745 is_cross_compiler
=no
2747 is_cross_compiler
=yes
2750 # Find the build and target subdir names.
2752 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2753 # have matching libraries, they should use host libraries: Makefile.tpl
2754 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2755 # However, they still use the build modules, because the corresponding
2756 # host modules (e.g. bison) are only built for the host when bootstrap
2758 # - build_subdir is where we find build modules, and never changes.
2759 # - build_libsubdir is where we find build libraries, and can be overridden.
2761 # Prefix 'build-' so this never conflicts with target_subdir.
2762 build_subdir
="build-${build_noncanonical}"
2764 # Check whether --with-build-libsubdir was given.
2765 if test "${with_build_libsubdir+set}" = set; then :
2766 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2768 build_libsubdir
="$build_subdir"
2771 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2772 if ( test $srcdir = .
&& test -d gcc
) \
2773 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2774 host_subdir
="host-${host_noncanonical}"
2779 target_subdir
=${target_noncanonical}
2781 # Be sure to cover against remnants of an in-tree build.
2782 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2783 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2784 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2787 # Skipdirs are removed silently.
2789 # Noconfigdirs are removed loudly.
2793 # Make sure we don't let GNU ld be added if we didn't want it.
2794 if test x
$with_gnu_ld = xno
; then
2796 noconfigdirs
="$noconfigdirs ld gold"
2800 # Make sure we don't let GNU as be added if we didn't want it.
2801 if test x
$with_gnu_as = xno
; then
2803 noconfigdirs
="$noconfigdirs gas"
2807 # Make sure we don't let ZLIB be added if we didn't want it.
2808 if test x
$with_system_zlib = xyes
; then
2809 use_included_zlib
=no
2810 noconfigdirs
="$noconfigdirs zlib"
2813 # some tools are so dependent upon X11 that if we're not building with X,
2814 # it's not even worth trying to configure, much less build, that tool.
2817 yes |
"") ;; # the default value for this tree is that X11 is available
2819 skipdirs
="${skipdirs} tk itcl libgui"
2820 # We won't be able to build gdbtk without X.
2823 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2826 # Some tools are only suitable for building in a "native" situation.
2827 # Remove these if host!=target.
2828 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2830 # Similarly, some are only suitable for cross toolchains.
2831 # Remove these if host=target.
2832 cross_only
="target-libgloss target-newlib target-opcodes"
2834 case $is_cross_compiler in
2835 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2836 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2839 # If both --with-headers and --with-libs are specified, default to
2841 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2842 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2843 if test x
"${with_newlib}" = x
; then
2848 # Recognize --with-newlib/--without-newlib.
2849 case ${with_newlib} in
2850 no
) skipdirs
="${skipdirs} target-newlib" ;;
2851 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2854 # Handle --enable-gold, --enable-ld.
2855 # --disable-gold [--enable-ld]
2856 # Build only ld. Default option.
2857 # --enable-gold [--enable-ld]
2858 # Build both gold and ld. Install gold as "ld.gold", install ld
2859 # as "ld.bfd" and "ld".
2860 # --enable-gold=default [--enable-ld]
2861 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2862 # install ld as "ld.bfd".
2863 # --enable-gold[=default] --disable-ld
2864 # Build only gold, which is then installed as both "ld.gold" and "ld".
2865 # --enable-gold --enable-ld=default
2866 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2868 # In other words, ld is default
2869 # --enable-gold=default --enable-ld=default
2873 # Check whether --enable-gold was given.
2874 if test "${enable_gold+set}" = set; then :
2875 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2880 case "${ENABLE_GOLD}" in
2882 # Check for ELF target.
2885 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2886 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2887 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2889 *-*-linux*aout
* |
*-*-linux*oldld
*)
2897 if test "$is_elf" = "yes"; then
2898 # Check for target supported by gold.
2900 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2901 configdirs
="$configdirs gold"
2902 if test x
${ENABLE_GOLD} = xdefault
; then
2913 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2917 # Check whether --enable-ld was given.
2918 if test "${enable_ld+set}" = set; then :
2919 enableval
=$enable_ld; ENABLE_LD
=$enableval
2925 case "${ENABLE_LD}" in
2927 if test x
${default_ld} != x
; then
2928 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2934 if test x
${ENABLE_GOLD} != xyes
; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2936 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2938 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2941 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2945 # Configure extra directories which are host specific
2949 configdirs
="$configdirs libtermcap" ;;
2952 # A target can indicate whether a language isn't supported for some reason.
2953 # Only spaces may be used in this macro; not newlines or tabs.
2954 unsupported_languages
=
2956 # Remove more programs from consideration, based on the host or
2957 # target this usually means that a port of the program doesn't
2962 noconfigdirs
="$noconfigdirs byacc"
2964 i
[3456789]86-*-vsta)
2965 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2967 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2968 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2971 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2973 i
[3456789]86-*-mingw32*)
2974 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2975 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2977 i
[3456789]86-*-beos*)
2978 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2981 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2984 noconfigdirs
="$noconfigdirs rcs"
2987 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2990 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2995 # Check whether --enable-libada was given.
2996 if test "${enable_libada+set}" = set; then :
2997 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3002 if test "${ENABLE_LIBADA}" != "yes" ; then
3003 noconfigdirs
="$noconfigdirs gnattools"
3006 # Check whether --enable-libssp was given.
3007 if test "${enable_libssp+set}" = set; then :
3008 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3014 # Save it here so that, even in case of --enable-libgcj, if the Java
3015 # front-end isn't enabled, we still get libgcj disabled.
3016 libgcj_saved
=$libgcj
3017 case $enable_libgcj in
3019 # If we reset it here, it won't get added to noconfigdirs in the
3020 # target-specific build rules, so it will be forcibly enabled
3021 # (unless the Java language itself isn't enabled).
3025 # Make sure we get it printed in the list of not supported target libs.
3026 # Don't disable libffi, though, other languages use it.
3027 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3032 # Disable libmudflap on some systems.
3033 if test x
$enable_libmudflap = x
; then
3035 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3036 # Enable libmudflap by default in GNU and friends.
3039 # Enable libmudflap by default in FreeBSD.
3042 # Disable it by default everywhere else.
3043 noconfigdirs
="$noconfigdirs target-libmudflap"
3048 # Disable libgomp on non POSIX hosted systems.
3049 if test x
$enable_libgomp = x
; then
3050 # Enable libgomp by default on hosted POSIX systems.
3052 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3054 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3056 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3058 *-*-darwin* |
*-*-aix*)
3061 noconfigdirs
="$noconfigdirs target-libgomp"
3066 # Default libgloss CPU subdirectory.
3067 libgloss_dir
="$target_cpu"
3071 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3074 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3075 noconfigdirs
="$noconfigdirs sim target-rda"
3077 i
[3456789]86-*-darwin*)
3078 noconfigdirs
="$noconfigdirs ld gprof"
3079 noconfigdirs
="$noconfigdirs sim target-rda"
3081 x86_64-
*-darwin[912]*)
3082 noconfigdirs
="$noconfigdirs ld gas gprof"
3083 noconfigdirs
="$noconfigdirs sim target-rda"
3086 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3087 noconfigdirs
="$noconfigdirs sim target-rda"
3088 noconfigdirs
="$noconfigdirs ${libgcj}"
3090 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3091 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3094 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3095 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3096 && test -f /usr
/local
/include
/gmp.h
; then
3100 # Skip some stuff that's unsupported on some FreeBSD configurations.
3106 noconfigdirs
="$noconfigdirs ${libgcj}"
3111 # Remove unsupported stuff on all kaOS configurations.
3112 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3113 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3114 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3115 noconfigdirs
="$noconfigdirs target-libgloss"
3118 # Skip some stuff on all NetBSD configurations.
3119 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3121 # Skip some stuff that's unsupported on some NetBSD configurations.
3123 i
*86-*-netbsdelf*) ;;
3124 arm
*-*-netbsdelf*) ;;
3126 noconfigdirs
="$noconfigdirs ${libgcj}"
3131 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3134 skipdirs
="${skipdirs} target-libiberty"
3135 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3137 # The tpf target doesn't support gdb yet.
3139 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3142 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3145 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3148 # ld works, but does not support shared libraries.
3149 # newlib is not 64 bit ready. I'm not sure about fileutils.
3150 # gas doesn't generate exception information.
3151 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3154 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3157 # newlib is not 64 bit ready
3158 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3161 # newlib is not 64 bit ready
3162 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3165 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3168 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3170 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3171 noconfigdirs
="$noconfigdirs ${libgcj}"
3172 noconfigdirs
="$noconfigdirs target-examples"
3173 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3174 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3175 noconfigdirs
="$noconfigdirs expect dejagnu"
3176 # the C++ libraries don't build on top of CE's C libraries
3177 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3178 noconfigdirs
="$noconfigdirs target-newlib"
3180 *-*-cygwin*) ;; # keep gdb and readline
3181 *) noconfigdirs
="$noconfigdirs gdb readline"
3187 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3191 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3192 noconfigdirs
="$noconfigdirs ${libgcj}"
3195 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3196 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3199 arm
*-*-linux-gnueabi)
3200 noconfigdirs
="$noconfigdirs target-qthreads"
3201 case ${with_newlib} in
3202 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3207 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3211 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3214 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3217 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3220 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3223 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3226 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3229 unsupported_languages
="$unsupported_languages java"
3230 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3231 if test x
${is_cross_compiler} != xno
; then
3232 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3235 c4x-
*-* | tic4x-
*-*)
3236 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3238 c54x
*-*-* | tic54x-
*-*)
3239 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3242 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3244 cris-
*-* | crisv32-
*-*)
3245 unsupported_languages
="$unsupported_languages java"
3248 unsupported_languages
="$unsupported_languages fortran"
3249 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3250 *-*-elf) # See PR46792 regarding target-libffi.
3251 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3253 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3255 unsupported_languages
="$unsupported_languages fortran"
3256 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3261 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3264 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3267 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3269 ep9312-
*-elf | ep9312-
*-coff)
3273 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3276 noconfigdirs
="$noconfigdirs ${libgcj}"
3279 noconfigdirs
="$noconfigdirs ${libgcj}"
3280 noconfigdirs
="$noconfigdirs gprof"
3283 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3286 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3288 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3290 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3291 # In this case, it's because the hppa64-linux target is for
3292 # the kernel only at this point and has no libc, and thus no
3293 # headers, crt*.o, etc., all of which are needed by these.
3294 noconfigdirs
="$noconfigdirs target-zlib"
3296 parisc
*-*-linux* | hppa
*-*-linux*)
3300 hppa
*-*-openbsd* | \
3302 noconfigdirs
="$noconfigdirs ${libgcj}"
3305 noconfigdirs
="$noconfigdirs ld shellutils"
3311 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3312 # build on HP-UX 10.20.
3313 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3316 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3319 # No gdb support yet.
3320 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3323 # No gdb or ld support yet.
3324 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3327 # No gdb or ld support yet.
3328 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3332 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3333 noconfigdirs
="$noconfigdirs ${libgcj}"
3336 i
[3456789]86-*-linux*)
3337 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3338 # not build java stuff by default.
3341 noconfigdirs
="$noconfigdirs ${libgcj}";;
3344 # This section makes it possible to build newlib natively on linux.
3345 # If we are using a cross compiler then don't configure newlib.
3346 if test x
${is_cross_compiler} != xno
; then
3347 noconfigdirs
="$noconfigdirs target-newlib"
3349 noconfigdirs
="$noconfigdirs target-libgloss"
3350 # If we are not using a cross compiler, do configure newlib.
3351 # Note however, that newlib will only be configured in this situation
3352 # if the --with-newlib option has been given, because otherwise
3353 # 'target-newlib' will appear in skipdirs.
3355 i
[3456789]86-w64-mingw*)
3356 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3358 i
[3456789]86-*-mingw*)
3359 target_configdirs
="$target_configdirs target-winsup"
3360 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3363 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3366 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3367 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3368 # always build newlib if winsup directory is present.
3369 if test -d "$srcdir/winsup/cygwin"; then
3370 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3371 elif test -d "$srcdir/newlib"; then
3372 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3375 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3376 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3379 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3381 i
[3456789]86-*-sco3.2v5
*)
3382 # The linker does not yet know about weak symbols in COFF,
3383 # and is not configured to handle mixed ELF and COFF.
3384 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3386 i
[3456789]86-*-sco*)
3387 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3389 i
[3456789]86-*-solaris2*)
3390 noconfigdirs
="$noconfigdirs target-libgloss"
3392 i
[3456789]86-*-sysv4*)
3393 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3395 i
[3456789]86-*-beos*)
3396 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3398 i
[3456789]86-*-rdos*)
3399 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3402 noconfigdirs
="$noconfigdirs ${libgcj}"
3404 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3405 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3406 libgloss_dir
=m68hc11
3409 noconfigdirs
="$noconfigdirs ${libgcj}"
3412 noconfigdirs
="$noconfigdirs ${libgcj}"
3414 m68
*-*-* | fido-
*-*)
3418 # The EPOC C++ environment does not support exceptions or rtti,
3419 # and so building libstdc++-v3 tends not to always work.
3420 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3423 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3424 unsupported_languages
="$unsupported_languages fortran java"
3427 noconfigdirs
="$noconfigdirs ${libgcj}"
3430 noconfigdirs
="$noconfigdirs ${libgcj}"
3433 noconfigdirs
="$noconfigdirs sim"
3436 # copied from rs6000-*-* entry
3437 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3439 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3440 target_configdirs
="$target_configdirs target-winsup"
3441 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3442 # always build newlib.
3443 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3445 # This is temporary until we can link against shared libraries
3446 powerpcle-
*-solaris*)
3447 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3451 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3454 noconfigdirs
="$noconfigdirs ${libgcj}"
3457 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3461 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3464 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3467 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3470 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3473 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3476 skipdirs
="$skipdirs target-libiberty"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3478 if test x
$with_newlib = xyes
; then
3479 noconfigdirs
="$noconfigdirs gprof"
3484 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3487 # Linking libjava exceeds command-line length limits on at least
3488 # IRIX 6.2, but not on IRIX 6.5.
3489 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3490 # <oldham@codesourcery.com>
3491 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3494 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3497 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3500 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3504 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3508 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3509 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3510 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3511 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3515 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3517 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3520 sparclet-
*-aout* | sparc86x-
*-*)
3524 noconfigdirs
="$noconfigdirs ${libgcj}"
3527 noconfigdirs
="$noconfigdirs ${libgcj}"
3531 noconfigdirs
="$noconfigdirs ${libgcj}"
3535 noconfigdirs
="$noconfigdirs ${libgcj}"
3536 if test x
${is_cross_compiler} != xno
; then
3537 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3542 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3543 noconfigdirs
="$noconfigdirs ${libgcj}"
3545 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3548 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3551 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3554 noconfigdirs
="$noconfigdirs ${libgcj}"
3557 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3560 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3563 noconfigdirs
="$noconfigdirs ${libgcj}"
3566 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3568 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3569 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3572 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3575 noconfigdirs
="$noconfigdirs ${libgcj}"
3579 # If we aren't building newlib, then don't build libgloss, since libgloss
3580 # depends upon some newlib header files.
3581 case "${noconfigdirs}" in
3582 *target-libgloss
*) ;;
3583 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3586 # Work in distributions that contain no compiler tools, like Autoconf.
3588 host_makefile_frag
=/dev
/null
3589 if test -d ${srcdir}/config
; then
3592 # Avoid "too much defining" errors from HPUX compiler.
3593 tentative_cc
="cc -Wp,-H256000"
3594 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3595 # If it's HP/UX ar, this should be harmless.
3599 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3602 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3603 # chokes on bfd, the compiler won't let you assign integers to enums, and
3604 # other problems. Defining CC to gcc is a questionable way to say "don't use
3605 # the apollo compiler" (the preferred version of GCC could be called cc,
3606 # or whatever), but I'm not sure leaving CC as cc is any better...
3607 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3608 # Used to have BISON=yacc.
3612 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3615 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3616 tentative_cc
="cc -Xa"
3617 host_makefile_frag
="config/mh-cxux"
3619 m88k-motorola-sysv
*)
3622 tentative_cc
="cc -Wf,-XNg1000"
3623 host_makefile_frag
="config/mh-decstation"
3626 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3627 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3628 host_makefile_frag
="config/mh-necv4"
3631 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3632 # environment. Also bump switch table size so that cp-parse will
3633 # compile. Bump string length limit so linker builds.
3634 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3637 host_makefile_frag
="config/mh-sysv4"
3640 # This is for a MIPS running RISC/os 4.52C.
3642 # This is needed for GDB, but needs to be in the top-level make because
3643 # if a library is compiled with the bsd headers and gets linked with the
3644 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3645 # a different size).
3646 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3647 # known except to select the sysv environment. Could we use /proc instead?
3648 # These "sysv environments" and "bsd environments" often end up being a pain.
3650 # This is not part of CFLAGS because perhaps not all C compilers have this
3652 tentative_cc
="cc -systype sysv"
3657 i
[3456789]86-*-sysv5*)
3658 host_makefile_frag
="config/mh-sysv5"
3660 i
[3456789]86-*-dgux*)
3661 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3662 host_makefile_frag
="config/mh-dgux386"
3664 i
[3456789]86-ncr-sysv4.3
*)
3665 # The MetaWare compiler will generate a copyright message unless you
3666 # turn it off by adding the -Hnocopyr flag.
3667 tentative_cc
="cc -Hnocopyr"
3669 i
[3456789]86-ncr-sysv4*)
3670 # for an NCR 3000 (i486/SVR4) system.
3671 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3672 # This compiler not only emits obnoxious copyright messages every time
3673 # you run it, but it chokes and dies on a whole bunch of GNU source
3674 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3675 tentative_cc
="/usr/ccs/ATT/cc"
3676 host_makefile_frag
="config/mh-ncr3000"
3678 i
[3456789]86-*-sco3.2v5
*)
3680 i
[3456789]86-*-sco*)
3681 # The native C compiler botches some simple uses of const. Unfortunately,
3682 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3683 tentative_cc
="cc -Dconst="
3684 host_makefile_frag
="config/mh-sco"
3686 i
[3456789]86-*-udk*)
3687 host_makefile_frag
="config/mh-sysv5"
3689 i
[3456789]86-*-solaris2*)
3690 host_makefile_frag
="config/mh-sysv4"
3692 i
[3456789]86-*-msdosdjgpp*)
3693 host_makefile_frag
="config/mh-djgpp"
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3698 $as_echo_n "checking to see if cat works as expected... " >&6; }
3699 echo a
>cygwin-cat-check
3700 if test `cat cygwin-cat-check` = a
; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3703 $as_echo "yes" >&6; }
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 as_fn_error
"The cat command does not ignore carriage return characters.
3709 Please either mount the build directory in binary mode or run the following
3710 commands before running any configure script:
3716 host_makefile_frag
="config/mh-cygwin"
3719 host_makefile_frag
="config/mh-mingw"
3722 host_makefile_frag
="config/mh-interix"
3725 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3729 host_makefile_frag
="config/mh-solaris"
3732 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3733 # without overflowing the jump tables (-J says to use a 32 bit table)
3734 tentative_cc
="cc -J"
3737 tentative_cc
="cc -Wp,-H256000"
3738 host_makefile_frag
="config/mh-pa-hpux10"
3740 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3741 tentative_cc
="cc -Wp,-H256000"
3742 host_makefile_frag
="config/mh-pa"
3745 host_makefile_frag
="config/mh-pa"
3747 *-hp-hpux* |
*-*-hiux*)
3748 tentative_cc
="cc -Wp,-H256000"
3751 # /bin/cc is less than useful for our purposes. Always use GCC
3752 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3753 host_makefile_frag
="config/mh-lynxrs6k"
3756 host_makefile_frag
="config/mh-darwin"
3759 host_makefile_frag
="config/mh-ppc-aix"
3762 host_makefile_frag
="config/mh-ppc-aix"
3765 # /bin/cc is less than useful for our purposes. Always use GCC
3766 tentative_cc
="/bin/gcc"
3769 host_makefile_frag
="config/mh-sysv4"
3771 # This is placed last to prevent interfering with the cases above.
3773 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3774 host_makefile_frag
="config/mh-x86omitfp"
3779 # If we aren't going to be using gcc, see if we can extract a definition
3780 # of CC from the fragment.
3781 # Actually, use the 'pre-extracted' version above.
3782 if test -z "${CC}" && test "${build}" = "${host}" ; then
3783 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3785 for dir
in $PATH; do
3786 test -z "$dir" && dir
=.
3787 if test -f $dir/gcc
; then
3793 if test -z "${found}" && test -n "${tentative_cc}" ; then
3798 if test "${build}" != "${host}" ; then
3799 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3800 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3801 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3802 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3803 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3804 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3805 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3806 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3807 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3808 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3809 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3810 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3811 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3813 AR_FOR_BUILD
="\$(AR)"
3814 AS_FOR_BUILD
="\$(AS)"
3815 CC_FOR_BUILD
="\$(CC)"
3816 CXX_FOR_BUILD
="\$(CXX)"
3817 GCJ_FOR_BUILD
="\$(GCJ)"
3818 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3819 GOC_FOR_BUILD
="\$(GOC)"
3820 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3821 LD_FOR_BUILD
="\$(LD)"
3822 NM_FOR_BUILD
="\$(NM)"
3823 RANLIB_FOR_BUILD
="\$(RANLIB)"
3824 WINDRES_FOR_BUILD
="\$(WINDRES)"
3825 WINDMC_FOR_BUILD
="\$(WINDMC)"
3829 ac_cpp
='$CPP $CPPFLAGS'
3830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3833 if test -n "$ac_tool_prefix"; then
3834 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3835 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if test "${ac_cv_prog_CC+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC
="$CC" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3872 if test -z "$ac_cv_prog_CC"; then
3874 # Extract the first word of "gcc", so it can be a program name with args.
3875 set dummy gcc
; ac_word
=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$ac_ct_CC"; then
3882 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 for ac_exec_ext
in '' $ac_executable_extensions; do
3890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3891 ac_cv_prog_ac_ct_CC
="gcc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3902 if test -n "$ac_ct_CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3904 $as_echo "$ac_ct_CC" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3910 if test "x$ac_ct_CC" = x
; then
3913 case $cross_compiling:$ac_tool_warned in
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned
=yes ;;
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3928 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_CC+set}" = set; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$CC"; then
3935 ac_cv_prog_CC
="$CC" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 if test -n "$CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3957 $as_echo "$CC" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3966 if test -z "$CC"; then
3967 # Extract the first word of "cc", so it can be a program name with args.
3968 set dummy cc
; ac_word
=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if test "${ac_cv_prog_CC+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -n "$CC"; then
3975 ac_cv_prog_CC
="$CC" # Let the user override the test.
3978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir
=.
3983 for ac_exec_ext
in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3986 ac_prog_rejected
=yes
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 if test $ac_prog_rejected = yes; then
3998 # We found a bogon in the path, so make sure we never use it.
3999 set dummy
$ac_cv_prog_CC
4001 if test $# != 0; then
4002 # We chose a different compiler from the bogus one.
4003 # However, it has the same basename, so the bogon will be chosen
4004 # first if we set CC to just the basename; use the full file name.
4006 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 for ac_prog
in cl.exe
4026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4027 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if test "${ac_cv_prog_CC+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC
="$CC" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$CC" && break
4066 if test -z "$CC"; then
4068 for ac_prog
in cl.exe
4070 # Extract the first word of "$ac_prog", so it can be a program name with args.
4071 set dummy
$ac_prog; ac_word
=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$ac_ct_CC"; then
4078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir
=.
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4087 ac_cv_prog_ac_ct_CC
="$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 $as_echo "$ac_ct_CC" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$ac_ct_CC" && break
4110 if test "x$ac_ct_CC" = x
; then
4113 case $cross_compiling:$ac_tool_warned in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned
=yes ;;
4126 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error
"no acceptable C compiler found in \$PATH
4129 See \`config.log' for more details." "$LINENO" 5; }
4131 # Provide some information about the compiler.
4132 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4135 for ac_option
in --version -v -V -qversion; do
4136 { { ac_try
="$ac_compiler $ac_option >&5"
4138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4145 if test -s conftest.err; then
4147 ... rest of stderr output deleted ...
4148 10q' conftest.err >conftest.er1
4149 cat conftest.er1 >&5
4150 rm -f conftest.er1 conftest.err
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 ac_clean_files_save=$ac_clean_files
4168 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4169 # Try to create an executable without -o first, disregard a.out.
4170 # It will help us diagnose broken compilers, and finding out an intuition
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4173 $as_echo_n "checking for C compiler default output file name... " >&6; }
4174 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4176 # The possible output files:
4177 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4180 for ac_file in $ac_files
4183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4184 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4189 if { { ac_try="$ac_link_default"
4191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4192 *) ac_try_echo
=$ac_try;;
4194 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_link_default") 2>&5
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199 test $ac_status = 0; }; then :
4200 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4201 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4202 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4203 # so that the user can short-circuit this test for compilers unknown to
4205 for ac_file
in $ac_files ''
4207 test -f "$ac_file" ||
continue
4209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4212 # We found the default executable, but exeext='' is most
4216 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4218 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4220 # We set ac_cv_exeext here because the later test for it is not
4221 # safe: cross compilers may not add the suffix if given an `-o'
4222 # argument, so we may need to know it at that point already.
4223 # Even if this section looks crufty: it has the advantage of
4230 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4236 $as_echo "$ac_file" >&6; }
4237 if test -z "$ac_file"; then :
4238 $as_echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.
$ac_ext >&5
4241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4243 { as_fn_set_status
77
4244 as_fn_error
"C compiler cannot create executables
4245 See \`config.log' for more details." "$LINENO" 5; }; }
4247 ac_exeext
=$ac_cv_exeext
4249 # Check that the compiler produces executables we can run. If not, either
4250 # the compiler is broken, or we cross compile.
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4252 $as_echo_n "checking whether the C compiler works... " >&6; }
4253 # If not cross compiling, check that we can run a simple program.
4254 if test "$cross_compiling" != yes; then
4255 if { ac_try
='./$ac_file'
4256 { { case "(($ac_try" in
4257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_try") 2>&5
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; }; then
4268 if test "$cross_compiling" = maybe; then
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error "cannot run C compiled programs.
4274 If you meant to cross compile
, use \
`--host'.
4275 See \`config.log
' for more details." "$LINENO" 5; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4280 $as_echo "yes" >&6; }
4282 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4283 ac_clean_files=$ac_clean_files_save
4284 # Check that the compiler produces executables we can run. If not, either
4285 # the compiler is broken, or we cross compile.
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4287 $as_echo_n "checking whether we are cross compiling... " >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4289 $as_echo "$cross_compiling" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4292 $as_echo_n "checking for suffix of executables... " >&6; }
4293 if { { ac_try="$ac_link"
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_link") 2>&5
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }; then :
4304 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4305 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4306 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4308 for ac_file
in conftest.exe conftest conftest.
*; do
4309 test -f "$ac_file" ||
continue
4311 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4312 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4321 See \`config.log' for more details." "$LINENO" 5; }
4323 rm -f conftest
$ac_cv_exeext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4325 $as_echo "$ac_cv_exeext" >&6; }
4327 rm -f conftest.
$ac_ext
4328 EXEEXT
=$ac_cv_exeext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4331 $as_echo_n "checking for suffix of object files... " >&6; }
4332 if test "${ac_cv_objext+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4346 rm -f conftest.o conftest.obj
4347 if { { ac_try
="$ac_compile"
4349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_compile") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; then :
4358 for ac_file in conftest.o conftest.obj conftest.*; do
4359 test -f "$ac_file" || continue;
4361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4362 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4367 $as_echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4372 as_fn_error "cannot compute suffix of object files
: cannot compile
4373 See \
`config.log' for more details." "$LINENO" 5; }
4375 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4378 $as_echo "$ac_cv_objext" >&6; }
4379 OBJEXT=$ac_cv_objext
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4383 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4384 $as_echo_n "(cached) " >&6
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4411 if test $ac_compiler_gnu = yes; then
4416 ac_test_CFLAGS=${CFLAGS+set}
4417 ac_save_CFLAGS=$CFLAGS
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4420 if test "${ac_cv_prog_cc_g+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 ac_save_c_werror_flag=$ac_c_werror_flag
4424 ac_c_werror_flag=yes
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_compile "$LINENO"; then :
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_compile "$LINENO"; then :
4456 ac_c_werror_flag=$ac_save_c_werror_flag
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4469 if ac_fn_c_try_compile "$LINENO"; then :
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 ac_c_werror_flag=$ac_save_c_werror_flag
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4480 $as_echo "$ac_cv_prog_cc_g" >&6; }
4481 if test "$ac_test_CFLAGS" = set; then
4482 CFLAGS=$ac_save_CFLAGS
4483 elif test $ac_cv_prog_cc_g = yes; then
4484 if test "$GCC" = yes; then
4490 if test "$GCC" = yes; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4498 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_cv_prog_cc_c89=no
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 #include <sys/types.h>
4508 #include <sys/stat.h>
4509 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4510 struct buf { int x; };
4511 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4512 static char *e (p, i)
4518 static char *f (char * (*g) (char **, int), char **p, ...)
4523 s = g (p, va_arg (v,int));
4528 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4529 function prototypes and stuff, but not '\xHH' hex character constants.
4530 These don't provoke an error unfortunately, instead are silently treated
4531 as 'x'. The following induces an error, until -std is added to get
4532 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4533 array size at least. It's necessary to write '\x00'==0 to get something
4534 that's true only with -std. */
4535 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4537 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4538 inside strings and character constants. */
4540 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4542 int test (int i, double x);
4543 struct s1 {int (*f) (int a);};
4544 struct s2 {int (*f) (double a);};
4545 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4551 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4556 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4557 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4559 CC="$ac_save_CC $ac_arg"
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 ac_cv_prog_cc_c89=$ac_arg
4563 rm -f core conftest.err conftest.$ac_objext
4564 test "x$ac_cv_prog_cc_c89" != "xno" && break
4566 rm -f conftest.$ac_ext
4571 case "x$ac_cv_prog_cc_c89" in
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4574 $as_echo "none needed" >&6; } ;;
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4577 $as_echo "unsupported" >&6; } ;;
4579 CC="$CC $ac_cv_prog_cc_c89"
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4581 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4583 if test "x$ac_cv_prog_cc_c89" != xno; then :
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 ac_cpp='$CXXCPP $CPPFLAGS'
4595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4598 if test -z "$CXX"; then
4599 if test -n "$CCC"; then
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if test "${ac_cv_prog_CXX+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$CXX"; then
4613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 if test -n "$CXX"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4635 $as_echo "$CXX" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$CXX" && break
4645 if test -z "$CXX"; then
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$ac_ct_CXX"; then
4657 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_ac_ct_CXX="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4677 if test -n "$ac_ct_CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4679 $as_echo "$ac_ct_CXX" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$ac_ct_CXX" && break
4689 if test "x$ac_ct_CXX" = x; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4704 # Provide some information about the compiler.
4705 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4708 for ac_option in --version -v -V -qversion; do
4709 { { ac_try="$ac_compiler $ac_option >&5"
4711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4712 *) ac_try_echo
=$ac_try;;
4714 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4715 $as_echo "$ac_try_echo"; } >&5
4716 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 if test -s conftest.err
; then
4720 ... rest of stderr output deleted ...
4721 10q' conftest.err
>conftest.er1
4722 cat conftest.er1
>&5
4723 rm -f conftest.er1 conftest.err
4725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4726 test $ac_status = 0; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4730 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4731 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4748 if ac_fn_cxx_try_compile
"$LINENO"; then :
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4754 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4758 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4759 if test $ac_compiler_gnu = yes; then
4764 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4765 ac_save_CXXFLAGS
=$CXXFLAGS
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4767 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4768 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4772 ac_cxx_werror_flag
=yes
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 ac_cv_prog_cxx_g
=yes
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_cxx_try_compile
"$LINENO"; then :
4804 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4817 if ac_fn_cxx_try_compile
"$LINENO"; then :
4818 ac_cv_prog_cxx_g
=yes
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4828 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4829 if test "$ac_test_CXXFLAGS" = set; then
4830 CXXFLAGS
=$ac_save_CXXFLAGS
4831 elif test $ac_cv_prog_cxx_g = yes; then
4832 if test "$GXX" = yes; then
4838 if test "$GXX" = yes; then
4845 ac_cpp
='$CPP $CPPFLAGS'
4846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4851 # We must set the default linker to the linker used by gcc for the correct
4852 # operation of libtool. If LD is not defined and we are using gcc, try to
4853 # set the LD default to the ld used by gcc.
4854 if test -z "$LD"; then
4855 if test "$GCC" = yes; then
4858 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4860 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4862 case $gcc_prog_ld in
4863 # Accept absolute paths.
4864 [\\/]* |
[A-Za-z
]:[\\/]*)
4865 LD
="$gcc_prog_ld" ;;
4873 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4875 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$GNATBIND"; then
4882 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 GNATBIND
=$ac_cv_prog_GNATBIND
4902 if test -n "$GNATBIND"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4904 $as_echo "$GNATBIND" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4912 if test -z "$ac_cv_prog_GNATBIND"; then
4913 ac_ct_GNATBIND
=$GNATBIND
4914 # Extract the first word of "gnatbind", so it can be a program name with args.
4915 set dummy gnatbind
; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$ac_ct_GNATBIND"; then
4922 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4942 if test -n "$ac_ct_GNATBIND"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4944 $as_echo "$ac_ct_GNATBIND" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4950 if test "x$ac_ct_GNATBIND" = x
; then
4953 case $cross_compiling:$ac_tool_warned in
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned
=yes ;;
4959 GNATBIND
=$ac_ct_GNATBIND
4962 GNATBIND
="$ac_cv_prog_GNATBIND"
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4967 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$GNATMAKE"; then
4974 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 GNATMAKE
=$ac_cv_prog_GNATMAKE
4994 if test -n "$GNATMAKE"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4996 $as_echo "$GNATMAKE" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5004 if test -z "$ac_cv_prog_GNATMAKE"; then
5005 ac_ct_GNATMAKE
=$GNATMAKE
5006 # Extract the first word of "gnatmake", so it can be a program name with args.
5007 set dummy gnatmake
; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$ac_ct_GNATMAKE"; then
5014 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5034 if test -n "$ac_ct_GNATMAKE"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5036 $as_echo "$ac_ct_GNATMAKE" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5042 if test "x$ac_ct_GNATMAKE" = x
; then
5045 case $cross_compiling:$ac_tool_warned in
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned
=yes ;;
5051 GNATMAKE
=$ac_ct_GNATMAKE
5054 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5058 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5059 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5060 $as_echo_n "(cached) " >&6
5062 cat >conftest.adb
<<EOF
5063 procedure conftest is begin null; end conftest;
5065 acx_cv_cc_gcc_supports_ada
=no
5066 # There is a bug in old released versions of GCC which causes the
5067 # driver to exit successfully when the appropriate language module
5068 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5069 # Therefore we must check for the error message as well as an
5070 # unsuccessful exit.
5071 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5072 # given a .adb file, but produce no object file. So we must check
5073 # if an object file was really produced to guard against this.
5074 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5075 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5076 acx_cv_cc_gcc_supports_ada
=yes
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5081 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5083 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5090 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5091 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5096 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5097 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5098 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5101 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5104 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5105 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5108 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5115 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5116 do_compare
="$gcc_cv_prog_cmp_skip"
5120 # See if we are building gcc with C++.
5121 # Check whether --enable-build-with-cxx was given.
5122 if test "${enable_build_with_cxx+set}" = set; then :
5123 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5125 ENABLE_BUILD_WITH_CXX
=no
5129 # Used for setting $lt_cv_objdir
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5131 $as_echo_n "checking for objdir... " >&6; }
5132 if test "${lt_cv_objdir+set}" = set; then :
5133 $as_echo_n "(cached) " >&6
5135 rm -f .libs
2>/dev
/null
5136 mkdir .libs
2>/dev
/null
5137 if test -d .libs
; then
5140 # MS-DOS does not allow filenames that begin with a dot.
5143 rmdir .libs
2>/dev
/null
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5146 $as_echo "$lt_cv_objdir" >&6; }
5147 objdir
=$lt_cv_objdir
5153 cat >>confdefs.h
<<_ACEOF
5154 #define LT_OBJDIR "$lt_cv_objdir/"
5159 # Check for GMP, MPFR and MPC
5160 gmplibs
="-lmpc -lmpfr -lgmp"
5164 # Specify a location for mpc
5165 # check for this first so it ends up on the link line before mpfr.
5167 # Check whether --with-mpc was given.
5168 if test "${with_mpc+set}" = set; then :
5173 # Check whether --with-mpc-include was given.
5174 if test "${with_mpc_include+set}" = set; then :
5175 withval
=$with_mpc_include;
5179 # Check whether --with-mpc-lib was given.
5180 if test "${with_mpc_lib+set}" = set; then :
5181 withval
=$with_mpc_lib;
5185 if test "x$with_mpc" != x
; then
5186 gmplibs
="-L$with_mpc/lib $gmplibs"
5187 gmpinc
="-I$with_mpc/include $gmpinc"
5189 if test "x$with_mpc_include" != x
; then
5190 gmpinc
="-I$with_mpc_include $gmpinc"
5192 if test "x$with_mpc_lib" != x
; then
5193 gmplibs
="-L$with_mpc_lib $gmplibs"
5195 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5196 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5197 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5198 # Do not test the mpc version. Assume that it is sufficient, since
5199 # it is in the source tree, and the library has not been built yet
5200 # but it would be included on the link line in the version check below
5201 # hence making the test fail.
5205 # Specify a location for mpfr
5206 # check for this first so it ends up on the link line before gmp.
5208 # Check whether --with-mpfr-dir was given.
5209 if test "${with_mpfr_dir+set}" = set; then :
5210 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5211 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5216 # Check whether --with-mpfr was given.
5217 if test "${with_mpfr+set}" = set; then :
5222 # Check whether --with-mpfr-include was given.
5223 if test "${with_mpfr_include+set}" = set; then :
5224 withval
=$with_mpfr_include;
5228 # Check whether --with-mpfr-lib was given.
5229 if test "${with_mpfr_lib+set}" = set; then :
5230 withval
=$with_mpfr_lib;
5234 if test "x$with_mpfr" != x
; then
5235 gmplibs
="-L$with_mpfr/lib $gmplibs"
5236 gmpinc
="-I$with_mpfr/include $gmpinc"
5238 if test "x$with_mpfr_include" != x
; then
5239 gmpinc
="-I$with_mpfr_include $gmpinc"
5241 if test "x$with_mpfr_lib" != x
; then
5242 gmplibs
="-L$with_mpfr_lib $gmplibs"
5244 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5245 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5246 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5247 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5248 # Do not test the mpfr version. Assume that it is sufficient, since
5249 # it is in the source tree, and the library has not been built yet
5250 # but it would be included on the link line in the version check below
5251 # hence making the test fail.
5255 # Specify a location for gmp
5257 # Check whether --with-gmp-dir was given.
5258 if test "${with_gmp_dir+set}" = set; then :
5259 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5260 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5265 # Check whether --with-gmp was given.
5266 if test "${with_gmp+set}" = set; then :
5271 # Check whether --with-gmp-include was given.
5272 if test "${with_gmp_include+set}" = set; then :
5273 withval
=$with_gmp_include;
5277 # Check whether --with-gmp-lib was given.
5278 if test "${with_gmp_lib+set}" = set; then :
5279 withval
=$with_gmp_lib;
5284 if test "x$with_gmp" != x
; then
5285 gmplibs
="-L$with_gmp/lib $gmplibs"
5286 gmpinc
="-I$with_gmp/include $gmpinc"
5288 if test "x$with_gmp_include" != x
; then
5289 gmpinc
="-I$with_gmp_include $gmpinc"
5291 if test "x$with_gmp_lib" != x
; then
5292 gmplibs
="-L$with_gmp_lib $gmplibs"
5294 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5295 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5296 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5297 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5298 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5299 # Do not test the gmp version. Assume that it is sufficient, since
5300 # it is in the source tree, and the library has not been built yet
5301 # but it would be included on the link line in the version check below
5302 # hence making the test fail.
5306 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5308 saved_CFLAGS
="$CFLAGS"
5309 CFLAGS
="$CFLAGS $gmpinc"
5310 # Check for the recommended and required versions of GMP.
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5312 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5321 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5322 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5323 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5331 if ac_fn_c_try_compile
"$LINENO"; then :
5332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5339 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5340 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5341 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5349 if ac_fn_c_try_compile
"$LINENO"; then :
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5354 $as_echo "buggy but acceptable" >&6; }
5356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }; have_gmp
=no
5361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5363 # If we have GMP, check the MPFR version.
5364 if test x
"$have_gmp" = xyes
; then
5365 # Check for the recommended and required versions of MPFR.
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5367 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5376 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5384 if ac_fn_c_try_compile
"$LINENO"; then :
5385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5393 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5401 if ac_fn_c_try_compile
"$LINENO"; then :
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5403 $as_echo "yes" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5406 $as_echo "buggy but acceptable" >&6; }
5408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }; have_gmp
=no
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 # Check for the MPC header version.
5417 if test x
"$have_gmp" = xyes
; then
5418 # Check for the recommended and required versions of MPC.
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5420 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5428 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5436 if ac_fn_c_try_compile
"$LINENO"; then :
5437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5444 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5452 if ac_fn_c_try_compile
"$LINENO"; then :
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5454 $as_echo "yes" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5457 $as_echo "buggy but acceptable" >&6; }
5459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }; have_gmp
=no
5464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5467 # Now check the MPFR library.
5468 if test x
"$have_gmp" = xyes
; then
5470 LIBS
="$LIBS $gmplibs"
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5472 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5486 mpfr_atan2 (n, n, x, GMP_RNDN);
5487 mpfr_erfc (n, x, GMP_RNDN);
5488 mpfr_subnormalize (x, t, GMP_RNDN);
5492 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5493 mpc_cosh (c, c, MPC_RNDNN);
5494 mpc_pow (c, c, c, MPC_RNDNN);
5495 mpc_acosh (c, c, MPC_RNDNN);
5502 if ac_fn_c_try_link
"$LINENO"; then :
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5504 $as_echo "yes" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }; have_gmp
=no
5509 rm -f core conftest.err conftest.
$ac_objext \
5510 conftest
$ac_exeext conftest.
$ac_ext
5514 CFLAGS
="$saved_CFLAGS"
5516 # The library versions listed in the error message below should match
5517 # the HARD-minimums enforced above.
5518 if test x
$have_gmp != xyes
; then
5519 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5520 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5521 their locations. Source code for these libraries can be found at
5522 their respective hosting sites as well as at
5523 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5524 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5525 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5526 make sure that you have installed both the libraries and the header
5527 files. They may be located in separate packages." "$LINENO" 5
5531 # Flags needed for both GMP, MPFR and/or MPC.
5538 # Allow host libstdc++ to be specified for static linking with PPL.
5540 # Check whether --with-host-libstdcxx was given.
5541 if test "${with_host_libstdcxx+set}" = set; then :
5542 withval
=$with_host_libstdcxx;
5546 case $with_host_libstdcxx in
5548 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5552 # Linker flags to use for stage1 or when not boostrapping.
5554 # Check whether --with-stage1-ldflags was given.
5555 if test "${with_stage1_ldflags+set}" = set; then :
5556 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5559 stage1_ldflags
=$withval
5567 # Libraries to use for stage1 or when not bootstrapping.
5569 # Check whether --with-stage1-libs was given.
5570 if test "${with_stage1_libs+set}" = set; then :
5571 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5574 stage1_libs
=$withval
5577 stage1_libs
=$with_host_libstdcxx
5582 # Libraries to use for stage2 and later builds. This defaults to the
5583 # argument passed to --with-host-libstdcxx.
5585 # Check whether --with-boot-libs was given.
5586 if test "${with_boot_libs+set}" = set; then :
5587 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5590 poststage1_libs
=$withval
5593 poststage1_libs
=$with_host_libstdcxx
5598 # Linker flags to use for stage2 and later builds.
5600 # Check whether --with-boot-ldflags was given.
5601 if test "${with_boot_ldflags+set}" = set; then :
5602 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5605 poststage1_ldflags
=$withval
5609 # In stages 2 and 3, default to linking libstdc++ and libgcc
5610 # statically. But if the user explicitly specified the libraries to
5611 # use, trust that they are doing what they want.
5612 if test "$poststage1_libs" = ""; then
5613 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5620 ppllibs
=" -lppl_c -lppl -lgmpxx"
5624 # Check whether --with-ppl was given.
5625 if test "${with_ppl+set}" = set; then :
5630 # Check whether --with-ppl-include was given.
5631 if test "${with_ppl_include+set}" = set; then :
5632 withval
=$with_ppl_include;
5636 # Check whether --with-ppl-lib was given.
5637 if test "${with_ppl_lib+set}" = set; then :
5638 withval
=$with_ppl_lib;
5649 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5650 pplinc
="-I$with_ppl/include $pplinc"
5653 if test "x$with_ppl_include" != x
; then
5654 pplinc
="-I$with_ppl_include $pplinc"
5656 if test "x$with_ppl_lib" != x
; then
5657 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5659 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5660 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5661 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5662 enable_ppl_version_check
=no
5665 # Check whether --enable-ppl-version-check was given.
5666 if test "${enable_ppl_version_check+set}" = set; then :
5667 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5669 ENABLE_PPL_CHECK
=yes
5673 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5674 saved_CFLAGS
="$CFLAGS"
5675 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5677 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5679 /* end confdefs.h. */
5685 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5693 if ac_fn_c_try_compile
"$LINENO"; then :
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5695 $as_echo "yes" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 CFLAGS
="$saved_CFLAGS"
5704 # Flags needed for PPL
5713 # Check whether --with-cloog was given.
5714 if test "${with_cloog+set}" = set; then :
5715 withval
=$with_cloog;
5719 # Check whether --with-cloog-include was given.
5720 if test "${with_cloog_include+set}" = set; then :
5721 withval
=$with_cloog_include;
5725 # Check whether --with-cloog-lib was given.
5726 if test "${with_cloog_lib+set}" = set; then :
5727 withval
=$with_cloog_lib;
5731 # Check whether --enable-cloog-backend was given.
5732 if test "${enable_cloog_backend+set}" = set; then :
5733 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5735 elif test "x${enableval}" = "xppl"; then
5738 cloog_backend
=ppl-legacy
5741 cloog_backend
=ppl-legacy
5744 # Check whether --enable-cloog-version-check was given.
5745 if test "${enable_cloog_version_check+set}" = set; then :
5746 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5748 ENABLE_CLOOG_CHECK
=yes
5752 # Initialize clooglibs and clooginc.
5761 clooglibs
="-L$with_cloog/lib"
5762 clooginc
="-I$with_cloog/include"
5765 if test "x${with_cloog_include}" != x
; then
5766 clooginc
="-I$with_cloog_include"
5768 if test "x${with_cloog_lib}" != x
; then
5769 clooglibs
="-L$with_cloog_lib"
5776 if test "x$with_ppl" = "xno"; then
5779 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5780 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5781 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5782 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5784 if test "x$with_cloog" != "xno"; then
5788 _cloog_saved_CFLAGS
=$CFLAGS
5789 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5790 _cloog_saved_LDFLAGS
=$LDFLAGS
5791 _cloog_saved_LIBS
=$LIBS
5793 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5795 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5796 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5797 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5799 case $cloog_backend in
5801 CFLAGS
="${CFLAGS} ${pplinc}"
5802 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5804 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5805 if test "${gcc_cv_cloog_type+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5808 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5810 /* end confdefs.h. */
5811 #include "cloog/cloog.h"
5815 #ifndef CLOOG_PPL_BACKEND
5822 if ac_fn_c_try_link
"$LINENO"; then :
5823 gcc_cv_cloog_type
="PPL Legacy"
5825 gcc_cv_cloog_type
=no
5827 rm -f core conftest.err conftest.
$ac_objext \
5828 conftest
$ac_exeext conftest.
$ac_ext
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5831 $as_echo "$gcc_cv_cloog_type" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5835 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5836 if test "${gcc_cv_cloog_type+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5839 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5842 #include "cloog/cloog.h"
5851 if ac_fn_c_try_link
"$LINENO"; then :
5852 gcc_cv_cloog_type
="ISL"
5854 gcc_cv_cloog_type
=no
5856 rm -f core conftest.err conftest.
$ac_objext \
5857 conftest
$ac_exeext conftest.
$ac_ext
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5860 $as_echo "$gcc_cv_cloog_type" >&6; }
5863 CFLAGS
="${CFLAGS} ${pplinc}"
5864 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5866 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5867 if test "${gcc_cv_cloog_type+set}" = set; then :
5868 $as_echo_n "(cached) " >&6
5870 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5873 #include "cloog/cloog.h"
5874 #include "cloog/ppl/cloog.h"
5883 if ac_fn_c_try_link
"$LINENO"; then :
5884 gcc_cv_cloog_type
="PPL"
5886 gcc_cv_cloog_type
=no
5888 rm -f core conftest.err conftest.
$ac_objext \
5889 conftest
$ac_exeext conftest.
$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5892 $as_echo "$gcc_cv_cloog_type" >&6; }
5895 gcc_cv_cloog_type
=""
5898 case $gcc_cv_cloog_type in
5900 clooginc
="${clooginc}"
5901 clooglibs
="${clooglibs} -lcloog"
5905 clooginc
="${clooginc} ${_cloogorginc}"
5906 clooglibs
="${clooglibs} -lcloog-isl"
5910 clooginc
="${clooginc} ${_cloogorginc}"
5911 clooglibs
="${clooglibs} -lcloog-ppl"
5921 LIBS
=$_cloog_saved_LIBS
5922 CFLAGS
=$_cloog_saved_CFLAGS
5923 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5924 LDFLAGS
=$_cloog_saved_LDFLAGS
5930 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5931 _cloog_saved_CFLAGS
=$CFLAGS
5932 _cloog_saved_LDFLAGS
=$LDFLAGS
5934 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5935 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5937 if test "${cloog_org}" = yes ; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5939 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5940 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5945 #include "cloog/cloog.h"
5949 #if CLOOG_VERSION_MAJOR != 0 \
5950 || CLOOG_VERSION_MINOR != 14 \
5951 || CLOOG_VERSION_REVISION < 0
5958 if ac_fn_c_try_compile
"$LINENO"; then :
5959 gcc_cv_cloog_ct_0_14_0
=yes
5961 gcc_cv_cloog_ct_0_14_0
=no
5963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5966 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5967 elif test "${cloog_org}" = no
; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5969 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5970 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5971 $as_echo_n "(cached) " >&6
5973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #include "cloog/cloog.h"
5979 #if CLOOG_VERSION_MAJOR != 0 \
5980 || CLOOG_VERSION_MINOR != 15 \
5981 || CLOOG_VERSION_REVISION < 5
5988 if ac_fn_c_try_compile
"$LINENO"; then :
5989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5991 #include "cloog/cloog.h"
5995 #if CLOOG_VERSION_MAJOR != 0 \
5996 || CLOOG_VERSION_MINOR != 15 \
5997 || CLOOG_VERSION_REVISION < 9
6004 if ac_fn_c_try_compile
"$LINENO"; then :
6005 gcc_cv_cloog_ct_0_15_5
=yes
6007 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6011 gcc_cv_cloog_ct_0_15_5
=no
6013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6016 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6019 CFLAGS
=$_cloog_saved_CFLAGS
6020 LDFLAGS
=$_cloog_saved_LDFLAGS
6029 if test "x${with_cloog}" != x \
6030 ||
test "x${with_cloog_include}" != x \
6031 ||
test "x${with_cloog_lib}" != x
; then
6032 graphite_requested
=yes
6034 graphite_requested
=no
6039 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6040 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6041 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6046 if test "${graphite_requested}" = yes \
6047 && test "x${clooglibs}" = x \
6048 && test "x${clooginc}" = x
; then
6050 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6056 # Check for LTO support.
6057 # Check whether --enable-lto was given.
6058 if test "${enable_lto+set}" = set; then :
6059 enableval
=$enable_lto; enable_lto
=$enableval
6061 enable_lto
=yes; default_enable_lto
=yes
6070 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6071 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6072 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6080 if test $target_elf = yes; then :
6081 # ELF platforms build the lto-plugin always.
6082 build_lto_plugin
=yes
6085 if test x
"$default_enable_lto" = x
"yes" ; then
6087 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6088 # On other non-ELF platforms, LTO has yet to be validated.
6092 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6093 # It would also be nice to check the binutils support, but we don't
6094 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6095 # warn during gcc/ subconfigure; unless you're bootstrapping with
6096 # -flto it won't be needed until after installation anyway.
6098 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6099 *) if test x
"$enable_lto" = x
"yes"; then
6100 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6105 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6106 # Build it unless LTO was explicitly disabled.
6108 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6116 # By default, C is the only stage 1 language.
6117 stage1_languages
=,c
,
6119 # Target libraries that we bootstrap.
6120 bootstrap_target_libs
=,target-libgcc
,
6122 # Figure out what language subdirectories are present.
6123 # Look if the user specified --enable-languages="..."; if not, use
6124 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6126 # NB: embedded tabs in this IF block -- do not untabify
6127 if test -d ${srcdir}/gcc
; then
6128 if test x
"${enable_languages+set}" != xset
; then
6129 if test x
"${LANGUAGES+set}" = xset
; then
6130 enable_languages
="${LANGUAGES}"
6131 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6133 enable_languages
=all
6136 if test x
"${enable_languages}" = x ||
6137 test x
"${enable_languages}" = xyes
;
6139 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6143 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6145 # 'f95' is the old name for the 'fortran' language. We issue a warning
6146 # and make the substitution.
6147 case ,${enable_languages}, in
6149 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6150 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6154 # First scan to see if an enabled language requires some other language.
6155 # We assume that a given config-lang.in will list all the language
6156 # front ends it requires, even if some are required indirectly.
6157 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6158 case ${lang_frag} in
6160 # The odd quoting in the next line works around
6161 # an apparent bug in bash 1.12 on linux.
6162 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6164 # From the config-lang.in, get $language, $lang_requires, and
6165 # $lang_requires_boot_languages.
6168 lang_requires_boot_languages
=
6170 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6171 case ,${enable_languages}, in
6175 echo " \`$other' language required by \`$language'; enabling" 1>&2
6176 enable_languages
="${enable_languages},${other}"
6180 for other
in ${lang_requires_boot_languages} ; do
6181 if test "$other" != "c"; then
6182 case ,${enable_stage1_languages}, in
6186 case ,${enable_languages}, in
6188 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6189 enable_stage1_languages
="$enable_stage1_languages,${other}"
6200 new_enable_languages
=,c
,
6202 # If LTO is enabled, add the LTO front end.
6203 extra_host_libiberty_configure_flags
=
6204 if test "$enable_lto" = "yes" ; then
6205 case ,${enable_languages}, in
6207 *) enable_languages
="${enable_languages},lto" ;;
6209 if test "${build_lto_plugin}" = "yes" ; then
6210 configdirs
="$configdirs lto-plugin"
6211 extra_host_libiberty_configure_flags
=--enable-shared
6216 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6217 potential_languages
=,c
,
6219 enabled_target_libs
=
6220 disabled_target_libs
=
6222 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6223 case ${lang_frag} in
6225 # The odd quoting in the next line works around
6226 # an apparent bug in bash 1.12 on linux.
6227 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6229 # From the config-lang.in, get $language, $target_libs,
6230 # $lang_dirs, $boot_language, and $build_by_default
6236 build_by_default
=yes
6238 if test x
${language} = x
; then
6239 echo "${lang_frag} doesn't set \$language." 1>&2
6243 if test "$language" = "c++" \
6244 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6248 case ,${enable_languages}, in
6250 # Language was explicitly selected; include it.
6254 # 'all' was selected, select it if it is a default language
6255 add_this_lang
=${build_by_default}
6262 # Disable languages that need other directories if these aren't available.
6263 for i
in $subdir_requires; do
6264 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6265 case ,${enable_languages}, in
6267 # Specifically requested language; tell them.
6268 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6272 add_this_lang
=unsupported
6277 # Disable Ada if no preexisting GNAT is available.
6278 case ,${enable_languages},:${language}:${have_gnat} in
6279 *,${language},*:ada
:no
)
6280 # Specifically requested language; tell them.
6281 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6285 add_this_lang
=unsupported
6289 # Disable a language that is unsupported by the target.
6290 case " $unsupported_languages " in
6292 add_this_lang
=unsupported
6296 case $add_this_lang in
6298 # Remove language-dependent dirs.
6299 disabled_target_libs
="$disabled_target_libs $target_libs"
6300 noconfigdirs
="$noconfigdirs $lang_dirs"
6303 # Remove language-dependent dirs; still show language as supported.
6304 disabled_target_libs
="$disabled_target_libs $target_libs"
6305 noconfigdirs
="$noconfigdirs $lang_dirs"
6306 potential_languages
="${potential_languages}${language},"
6309 new_enable_languages
="${new_enable_languages}${language},"
6310 potential_languages
="${potential_languages}${language},"
6311 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6312 enabled_target_libs
="$enabled_target_libs $target_libs"
6313 case "${boot_language}:,$enable_stage1_languages," in
6314 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6315 # Add to (comma-separated) list of stage 1 languages.
6316 case ",$stage1_languages," in
6317 *,$language,* |
,yes, |
,all
,) ;;
6318 *) stage1_languages
="${stage1_languages}${language}," ;;
6320 # We need to bootstrap any supporting libraries.
6321 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6330 # Add target libraries which are only needed for disabled languages
6332 if test -n "$disabled_target_libs"; then
6333 for dir
in $disabled_target_libs; do
6334 case " $enabled_target_libs " in
6336 *) noconfigdirs
="$noconfigdirs $dir" ;;
6341 # Check whether --enable-stage1-languages was given.
6342 if test "${enable_stage1_languages+set}" = set; then :
6343 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6345 # Set it to something that will have no effect in the loop below
6346 enable_stage1_languages
=c
;;
6348 enable_stage1_languages
=`echo $new_enable_languages | \
6349 sed -e "s/^,//" -e "s/,$//" ` ;;
6351 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6352 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6355 # Add "good" languages from enable_stage1_languages to stage1_languages,
6356 # while "bad" languages go in missing_languages. Leave no duplicates.
6357 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6358 case $potential_languages in
6360 case $stage1_languages in
6362 *) stage1_languages
="$stage1_languages$i," ;;
6365 case $missing_languages in
6367 *) missing_languages
="$missing_languages$i," ;;
6374 # Remove leading/trailing commas that were added for simplicity
6375 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6376 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6377 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6378 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6380 if test "x$missing_languages" != x
; then
6382 The following requested languages could not be built: ${missing_languages}
6383 Supported languages are: ${potential_languages}" "$LINENO" 5
6385 if test "x$new_enable_languages" != "x$enable_languages"; then
6386 echo The following languages will be built
: ${new_enable_languages}
6387 enable_languages
="$new_enable_languages"
6391 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6394 # Handle --disable-<component> generically.
6395 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6396 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6397 varname
=`echo $dirname | sed -e s/+/_/g`
6398 if eval test x\
${enable_${varname}} "=" xno
; then
6399 noconfigdirs
="$noconfigdirs $dir"
6403 # Check for Boehm's garbage collector
6404 # Check whether --enable-objc-gc was given.
6405 if test "${enable_objc_gc+set}" = set; then :
6406 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6407 *,objc
,*:*:yes:*target-boehm-gc
*)
6408 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6414 # Make sure we only build Boehm's garbage collector if required.
6415 case ,${enable_languages},:${enable_objc_gc} in
6417 # Keep target-boehm-gc if requested for Objective-C.
6420 # Otherwise remove target-boehm-gc depending on target-libjava.
6421 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6422 noconfigdirs
="$noconfigdirs target-boehm-gc"
6427 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6428 # $build_configdirs and $target_configdirs.
6429 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6432 for dir
in .
$skipdirs $noconfigdirs ; do
6433 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6434 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6435 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6436 if test -r $srcdir/$dirname/configure
; then
6437 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6440 notsupp
="$notsupp $dir"
6444 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6445 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6446 if test -r $srcdir/$dirname/configure
; then
6447 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6450 notsupp
="$notsupp $dir"
6454 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6455 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6456 if test -r $srcdir/$dirname/configure
; then
6457 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6460 notsupp
="$notsupp $dir"
6466 # Sometimes the tools are distributed with libiberty but with no other
6467 # libraries. In that case, we don't want to build target-libiberty.
6468 # Don't let libgcc imply libiberty either.
6469 if test -n "${target_configdirs}" ; then
6472 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6473 if test "$i" = "libgcc"; then
6474 libgcc
=target-libgcc
6475 elif test "$i" != "libiberty" ; then
6476 if test -r $srcdir/$i/configure
; then
6482 if test -z "${others}" ; then
6483 target_configdirs
=$libgcc
6487 # Quietly strip out all directories which aren't configurable in this tree.
6488 # This relies on all configurable subdirectories being autoconfiscated, which
6490 build_configdirs_all
="$build_configdirs"
6492 for i
in ${build_configdirs_all} ; do
6493 j
=`echo $i | sed -e s/build-//g`
6494 if test -f ${srcdir}/$j/configure
; then
6495 build_configdirs
="${build_configdirs} $i"
6499 configdirs_all
="$configdirs"
6501 for i
in ${configdirs_all} ; do
6502 if test -f ${srcdir}/$i/configure
; then
6503 configdirs
="${configdirs} $i"
6507 target_configdirs_all
="$target_configdirs"
6509 for i
in ${target_configdirs_all} ; do
6510 j
=`echo $i | sed -e s/target-//g`
6511 if test -f ${srcdir}/$j/configure
; then
6512 target_configdirs
="${target_configdirs} $i"
6516 # Produce a warning message for the subdirs we can't configure.
6517 # This isn't especially interesting in the Cygnus tree, but in the individual
6518 # FSF releases, it's important to let people know when their machine isn't
6519 # supported by the one or two programs in a package.
6521 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6522 # If $appdirs is non-empty, at least one of those directories must still
6523 # be configured, or we error out. (E.g., if the gas release supports a
6524 # specified target in some subdirs but not the gas subdir, we shouldn't
6525 # pretend that all is well.)
6526 if test -n "$appdirs" ; then
6527 for dir
in $appdirs ; do
6528 if test -r $dir/Makefile.
in ; then
6529 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6533 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6539 if test -n "$appdirs" ; then
6540 echo "*** This configuration is not supported by this package." 1>&2
6544 # Okay, some application will build, or we don't care to check. Still
6545 # notify of subdirs not getting built.
6546 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6547 echo " ${notsupp}" 1>&2
6548 echo " (Any other directories should still work fine.)" 1>&2
6556 # To find our prefix, in gcc_cv_tool_prefix.
6558 # The user is always right.
6559 if test "${PATH_SEPARATOR+set}" != set; then
6560 echo "#! /bin/sh" >conf$$.sh
6561 echo "exit 0" >>conf$$.sh
6563 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6573 if test "x$exec_prefix" = xNONE
; then
6574 if test "x$prefix" = xNONE
; then
6575 gcc_cv_tool_prefix
=$ac_default_prefix
6577 gcc_cv_tool_prefix
=$prefix
6580 gcc_cv_tool_prefix
=$exec_prefix
6583 # If there is no compiler in the tree, use the PATH only. In any
6584 # case, if there is no compiler in the tree nobody should use
6585 # AS_FOR_TARGET and LD_FOR_TARGET.
6586 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6587 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6588 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6589 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6590 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6591 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6592 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6593 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6598 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6599 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6607 # Check whether --with-build-sysroot was given.
6608 if test "${with_build_sysroot+set}" = set; then :
6609 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6610 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6613 SYSROOT_CFLAGS_FOR_TARGET
=
6619 # Check whether --with-debug-prefix-map was given.
6620 if test "${with_debug_prefix_map+set}" = set; then :
6621 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6622 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6623 for debug_map
in $withval; do
6624 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6628 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6633 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6634 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6635 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6636 # We want to ensure that TARGET libraries (which we know are built with
6637 # gcc) are built with "-O2 -g", so include those options when setting
6638 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6639 if test "x$CFLAGS_FOR_TARGET" = x
; then
6640 CFLAGS_FOR_TARGET
=$CFLAGS
6643 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6646 *" -g "* |
*" -g3 "*) ;;
6647 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6652 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6653 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6654 case " $CXXFLAGS " in
6656 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6658 case " $CXXFLAGS " in
6659 *" -g "* |
*" -g3 "*) ;;
6660 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6665 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6666 # the named directory are copied to $(tooldir)/sys-include.
6667 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6668 if test x
${is_cross_compiler} = xno
; then
6669 echo 1>&2 '***' --with-headers is only supported when cross compiling
6672 if test x
"${with_headers}" != xyes
; then
6673 x
=${gcc_cv_tool_prefix}
6674 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6678 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6679 # the name directories are copied to $(tooldir)/lib. Multiple directories
6681 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6682 if test x
${is_cross_compiler} = xno
; then
6683 echo 1>&2 '***' --with-libs is only supported when cross compiling
6686 if test x
"${with_libs}" != xyes
; then
6687 # Copy the libraries in reverse order, so that files in the first named
6688 # library override files in subsequent libraries.
6689 x
=${gcc_cv_tool_prefix}
6690 for l
in ${with_libs}; do
6691 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6696 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6698 # This is done by determining whether or not the appropriate directory
6699 # is available, and by checking whether or not specific configurations
6700 # have requested that this magic not happen.
6702 # The command line options always override the explicit settings in
6703 # configure.in, and the settings in configure.in override this magic.
6705 # If the default for a toolchain is to use GNU as and ld, and you don't
6706 # want to do that, then you should use the --without-gnu-as and
6707 # --without-gnu-ld options for the configure script. Similarly, if
6708 # the default is to use the included zlib and you don't want to do that,
6709 # you should use the --with-system-zlib option for the configure script.
6711 if test x
${use_gnu_as} = x
&&
6712 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6714 extra_host_args
="$extra_host_args --with-gnu-as"
6717 if test x
${use_gnu_ld} = x
&&
6718 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6720 extra_host_args
="$extra_host_args --with-gnu-ld"
6723 if test x
${use_included_zlib} = x
&&
6724 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6727 with_system_zlib
=yes
6728 extra_host_args
="$extra_host_args --with-system-zlib"
6731 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6732 # can detect this case.
6734 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6736 extra_host_args
="$extra_host_args --with-newlib"
6739 # Handle ${copy_dirs}
6740 set fnord
${copy_dirs}
6742 while test $# != 0 ; do
6743 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6746 echo Copying
$1 to
$2
6748 # Use the install script to create the directory and all required
6749 # parent directories.
6750 if test -d $2 ; then
6754 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6757 # Copy the directory, assuming we have tar.
6758 # FIXME: Should we use B in the second tar? Not all systems support it.
6759 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6761 # It is the responsibility of the user to correctly adjust all
6762 # symlinks. If somebody can figure out how to handle them correctly
6763 # here, feel free to add the code.
6770 # Determine a target-dependent exec_prefix that the installed
6771 # gcc will search in. Keep this list sorted by triplet, with
6772 # the *-*-osname triplets last.
6776 md_exec_prefix
=/gnu
/lib
/gcc-lib
6778 i
[34567]86-pc-msdosdjgpp*)
6779 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6781 i
[34567]86-*-sco3.2v5
*)
6782 if test $with_gnu_as = yes; then
6783 md_exec_prefix
=/usr
/gnu
/bin
6785 md_exec_prefix
=/usr
/ccs
/bin
/elf
6790 powerpc-
*-chorusos* | \
6791 powerpc
*-*-eabi* | \
6792 powerpc
*-*-sysv* | \
6793 powerpc
*-*-kaos* | \
6795 md_exec_prefix
=/usr
/ccs
/bin
6800 md_exec_prefix
=/usr
/ccs
/bin
6815 md_exec_prefix
=/usr
/ccs
/bin
6819 extra_arflags_for_target
=
6820 extra_nmflags_for_target
=
6821 extra_ranlibflags_for_target
=
6822 target_makefile_frag
=/dev
/null
6825 target_makefile_frag
="config/mt-mep"
6828 target_makefile_frag
="config/mt-spu"
6831 target_makefile_frag
="config/mt-sde"
6833 mipsisa
*-*-elfoabi*)
6834 target_makefile_frag
="config/mt-mips-elfoabi"
6836 mips
*-*-*linux
* | mips
*-*-gnu*)
6837 target_makefile_frag
="config/mt-mips-gnu"
6840 target_makefile_frag
="config/mt-netware"
6842 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6843 target_makefile_frag
="config/mt-gnu"
6845 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6846 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6847 # commands to handle both 32-bit and 64-bit objects. These flags are
6848 # harmless if we're using GNU nm or ar.
6849 extra_arflags_for_target
=" -X32_64"
6850 extra_nmflags_for_target
=" -B -X32_64"
6853 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6854 extra_ranlibflags_for_target
=" -c"
6856 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6857 target_makefile_frag
="config/mt-wince"
6861 alphaieee_frag
=/dev
/null
6864 # This just makes sure to use the -mieee option to build target libs.
6865 # This should probably be set individually by each library.
6866 alphaieee_frag
="config/mt-alphaieee"
6870 # If --enable-target-optspace always use -Os instead of -O2 to build
6871 # the target libraries, similarly if it is not specified, use -Os
6872 # on selected platforms.
6873 ospace_frag
=/dev
/null
6874 case "${enable_target_optspace}:${target}" in
6876 ospace_frag
="config/mt-ospace"
6879 ospace_frag
="config/mt-d30v"
6881 :m32r-
* |
:d10v-
* |
:fr30-
*)
6882 ospace_frag
="config/mt-ospace"
6887 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6891 # Default to using --with-stabs for certain targets.
6892 if test x
${with_stabs} = x
; then
6896 mips
*-*-* | alpha
*-*-osf*)
6898 extra_host_args
="${extra_host_args} --with-stabs"
6903 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6904 # them automatically.
6907 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6911 # Some systems (e.g., one of the i386-aix systems the gas testers are
6912 # using) don't handle "\$" correctly, so don't use it here.
6913 tooldir
='${exec_prefix}'/${target_noncanonical}
6914 build_tooldir
=${tooldir}
6916 # Create a .gdbinit file which runs the one in srcdir
6917 # and tells GDB to look there for source files.
6919 if test -r ${srcdir}/.gdbinit
; then
6922 *) cat > .
/.gdbinit
<<EOF
6926 source ${srcdir}/.gdbinit
6932 # Make sure that the compiler is able to generate an executable. If it
6933 # can't, we are probably in trouble. We don't care whether we can run the
6934 # executable--we might be using a cross compiler--we only care whether it
6935 # can be created. At this point the main configure script has set CC.
6937 echo "int main () { return 0; }" > conftest.c
6938 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6939 if test $?
= 0 ; then
6940 if test -s conftest ||
test -s conftest.exe
; then
6946 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6947 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6954 # The Solaris /usr/ucb/cc compiler does not appear to work.
6956 sparc-sun-solaris2
*)
6957 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6958 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6960 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6961 if test -d /opt
/cygnus
/bin
; then
6962 if test "$could_use" = "" ; then
6963 could_use
="/opt/cygnus/bin"
6965 could_use
="$could_use or /opt/cygnus/bin"
6968 if test "$could_use" = "" ; then
6969 echo "Warning: compilation may fail because you're using"
6970 echo "/usr/ucb/cc. You should change your PATH or CC "
6971 echo "variable and rerun configure."
6973 echo "Warning: compilation may fail because you're using"
6974 echo "/usr/ucb/cc, when you should use the C compiler from"
6975 echo "$could_use. You should change your"
6976 echo "PATH or CC variable and rerun configure."
6982 # Decide which environment variable is used to find dynamic libraries.
6984 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6985 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6986 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6987 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6990 # On systems where the dynamic library environment variable is PATH,
6991 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6992 # built executables to PATH.
6993 if test "$RPATH_ENVVAR" = PATH
; then
6994 GCC_SHLIB_SUBDIR
=/shlib
6999 # Record target_configdirs and the configure arguments for target and
7000 # build configuration in Makefile.
7001 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7002 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7004 # If we are building libgomp, bootstrap it.
7005 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7006 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7009 # Determine whether gdb needs tk/tcl or not.
7010 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7011 # and in that case we want gdb to be built without tk. Ugh!
7012 # In fact I believe gdb is the *only* package directly dependent on tk,
7013 # so we should be able to put the 'maybe's in unconditionally and
7014 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7015 # 100% sure that that's safe though.
7017 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7018 case "$enable_gdbtk" in
7022 GDB_TK
="${gdb_tk}" ;;
7024 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7025 # distro. Eventually someone will fix this and move Insight, nee
7026 # gdbtk to a separate directory.
7027 if test -d ${srcdir}/gdb
/gdbtk
; then
7034 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7035 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7037 # Strip out unwanted targets.
7039 # While at that, we remove Makefiles if we were started for recursive
7040 # configuration, so that the top-level Makefile reconfigures them,
7041 # like we used to do when configure itself was recursive.
7043 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7044 # but now we're fixing up the Makefile ourselves with the additional
7045 # commands passed to AC_CONFIG_FILES. Use separate variables
7046 # extrasub-{build,host,target} not because there is any reason to split
7047 # the substitutions up that way, but only to remain below the limit of
7048 # 99 commands in a script, for HP-UX sed.
7049 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7051 # Check whether --enable-bootstrap was given.
7052 if test "${enable_bootstrap+set}" = set; then :
7053 enableval
=$enable_bootstrap;
7055 enable_bootstrap
=default
7059 # Issue errors and warnings for invalid/strange bootstrap combinations.
7060 case "$configdirs" in
7061 *gcc
*) have_compiler
=yes ;;
7062 *) have_compiler
=no
;;
7065 case "$have_compiler:$host:$target:$enable_bootstrap" in
7068 # Default behavior. Enable bootstrap if we have a compiler
7069 # and we are in a native configuration.
7070 yes:$build:$build:default
)
7071 enable_bootstrap
=yes ;;
7074 enable_bootstrap
=no
;;
7076 # We have a compiler and we are in a native configuration, bootstrap is ok
7077 yes:$build:$build:yes)
7080 # Other configurations, but we have a compiler. Assume the user knows
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7084 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7087 # No compiler: if they passed --enable-bootstrap explicitly, fail
7089 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7091 # Fail if wrong command line
7093 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7097 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7100 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7104 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7105 yes:yes:*\ gold\
*:*,c
++,*) ;;
7106 yes:yes:*\ gold\
*:*)
7107 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7111 # Adjust the toplevel makefile according to whether bootstrap was selected.
7112 case $enable_bootstrap in
7114 bootstrap_suffix
=bootstrap
7115 BUILD_CONFIG
=bootstrap-debug
7118 bootstrap_suffix
=no-bootstrap
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7124 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7127 # Check whether --with-build-config was given.
7128 if test "${with_build_config+set}" = set; then :
7129 withval
=$with_build_config; case $with_build_config in
7130 yes) with_build_config
= ;;
7131 no
) with_build_config
= BUILD_CONFIG
= ;;
7136 if test "x${with_build_config}" != x
; then
7137 BUILD_CONFIG
=$with_build_config
7139 case $BUILD_CONFIG in
7141 if echo "int f (void) { return 0; }" > conftest.c
&&
7142 ${CC} -c conftest.c
&&
7143 mv conftest.o conftest.o.g0
&&
7144 ${CC} -c -g conftest.c
&&
7145 mv conftest.o conftest.o.g
&&
7146 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7151 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7156 $as_echo "$BUILD_CONFIG" >&6; }
7160 for module
in ${build_configdirs} ; do
7161 if test -z "${no_recursion}" \
7162 && test -f ${build_subdir}/${module}/Makefile
; then
7163 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7164 rm -f ${build_subdir}/${module}/Makefile
7166 extrasub_build
="$extrasub_build
7167 /^@if build-$module\$/d
7168 /^@endif build-$module\$/d
7169 /^@if build-$module-$bootstrap_suffix\$/d
7170 /^@endif build-$module-$bootstrap_suffix\$/d"
7173 for module
in ${configdirs} ; do
7174 if test -z "${no_recursion}"; then
7175 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7176 if test -f ${file}; then
7177 echo 1>&2 "*** removing ${file} to force reconfigure"
7182 extrasub_host
="$extrasub_host
7184 /^@endif $module\$/d
7185 /^@if $module-$bootstrap_suffix\$/d
7186 /^@endif $module-$bootstrap_suffix\$/d"
7189 for module
in ${target_configdirs} ; do
7190 if test -z "${no_recursion}" \
7191 && test -f ${target_subdir}/${module}/Makefile
; then
7192 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7193 rm -f ${target_subdir}/${module}/Makefile
7196 # We only bootstrap target libraries listed in bootstrap_target_libs.
7197 case $bootstrap_target_libs in
7198 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7199 *) target_bootstrap_suffix
=no-bootstrap
;;
7202 extrasub_target
="$extrasub_target
7203 /^@if target-$module\$/d
7204 /^@endif target-$module\$/d
7205 /^@if target-$module-$target_bootstrap_suffix\$/d
7206 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7209 # Do the final fixup along with target modules.
7210 extrasub_target
="$extrasub_target
7211 /^@if /,/^@endif /d"
7213 # Create the serialization dependencies. This uses a temporary file.
7215 # Check whether --enable-serial-configure was given.
7216 if test "${enable_serial_configure+set}" = set; then :
7217 enableval
=$enable_serial_configure;
7221 case ${enable_serial_configure} in
7223 enable_serial_build_configure
=yes
7224 enable_serial_host_configure
=yes
7225 enable_serial_target_configure
=yes
7229 # These force 'configure's to be done one at a time, to avoid problems
7230 # with contention over a shared config.cache.
7232 echo '# serdep.tmp' > serdep.tmp
7234 test "x${enable_serial_build_configure}" = xyes
&&
7235 for item
in ${build_configdirs} ; do
7238 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7243 test "x${enable_serial_host_configure}" = xyes
&&
7244 for item
in ${configdirs} ; do
7247 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7252 test "x${enable_serial_target_configure}" = xyes
&&
7253 for item
in ${target_configdirs} ; do
7256 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7260 serialization_dependencies
=serdep.tmp
7263 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7264 # target, nonopt, and variable assignments. These are the ones we
7265 # might not want to pass down to subconfigures. The exception being
7266 # --cache-file=/dev/null, which is used to turn off the use of cache
7267 # files altogether, and which should be passed on to subconfigures.
7268 # Also strip program-prefix, program-suffix, and program-transform-name,
7269 # so that we can pass down a consistent program-transform-name.
7273 eval "set -- $ac_configure_args"
7276 if test X
"$skip_next" = X
"yes"; then
7280 if test X
"$keep_next" = X
"yes"; then
7283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7285 baseargs
="$baseargs '$ac_arg'"
7290 # Handle separated arguments. Based on the logic generated by
7293 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7294 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7295 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7296 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7308 --cache-file=/dev
/null | \
7309 -cache-file=/dev
/null
)
7310 # Handled here to avoid the test to skip args below.
7311 baseargs
="$baseargs '$ac_arg'"
7312 # Assert: $separate_arg should always be no.
7313 keep_next
=$separate_arg
7329 -program-prefix* | \
7330 -program-suffix* | \
7331 -program-transform-name* )
7332 skip_next
=$separate_arg
7336 # An option. Add it.
7339 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7341 baseargs
="$baseargs '$ac_arg'"
7342 keep_next
=$separate_arg
7345 # Either a variable assignment, or a nonopt (triplet). Don't
7346 # pass it down; let the Makefile handle this.
7351 # Remove the initial space we just introduced and, as these will be
7352 # expanded by make, quote '$'.
7353 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7355 # Add in --program-transform-name, after --program-prefix and
7356 # --program-suffix have been applied to it. Autoconf has already
7357 # doubled dollar signs and backslashes in program_transform_name; we want
7358 # the backslashes un-doubled, and then the entire thing wrapped in single
7359 # quotes, because this will be expanded first by make and then by the shell.
7360 # Also, because we want to override the logic in subdir configure scripts to
7361 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7362 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7363 ${program_transform_name}
7365 gcc_transform_name
=`cat conftestsed.out`
7366 rm -f conftestsed.out
7367 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7368 if test "$silent" = yes; then
7369 baseargs
="$baseargs --silent"
7371 baseargs
="$baseargs --disable-option-checking"
7373 # Record and document user additions to sub configure arguments.
7378 # For the build-side libraries, we just need to pretend we're native,
7379 # and not use the same cache file. Multilibs are neither needed nor
7381 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7383 # For host modules, accept cache file option, or specification as blank.
7384 case "${cache_file}" in
7386 cache_file_option
="" ;;
7387 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7388 cache_file_option
="--cache-file=${cache_file}" ;;
7390 cache_file_option
="--cache-file=../${cache_file}" ;;
7393 # Host dirs don't like to share a cache file either, horribly enough.
7394 # This seems to be due to autoconf 2.5x stupidity.
7395 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7397 target_configargs
="$target_configargs ${baseargs}"
7399 # Passing a --with-cross-host argument lets the target libraries know
7400 # whether they are being built with a cross-compiler or being built
7401 # native. However, it would be better to use other mechanisms to make the
7402 # sorts of decisions they want to make on this basis. Please consider
7403 # this option to be deprecated. FIXME.
7404 if test x
${is_cross_compiler} = xyes
; then
7405 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7408 # Default to --enable-multilib.
7409 if test x
${enable_multilib} = x
; then
7410 target_configargs
="--enable-multilib ${target_configargs}"
7413 # Pass --with-newlib if appropriate. Note that target_configdirs has
7414 # changed from the earlier setting of with_newlib.
7415 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7416 target_configargs
="--with-newlib ${target_configargs}"
7419 # Different target subdirs use different values of certain variables
7420 # (notably CXX). Worse, multilibs use *lots* of different values.
7421 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7422 # it doesn't automatically accept command-line overrides of them.
7423 # This means it's not safe for target subdirs to share a cache file,
7424 # which is disgusting, but there you have it. Hopefully this can be
7425 # fixed in future. It's still worthwhile to use a cache file for each
7426 # directory. I think.
7428 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7429 # We need to pass --target, as newer autoconf's requires consistency
7430 # for target_alias and gcc doesn't manage it consistently.
7431 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7434 case " $target_configdirs " in
7436 case " $target_configargs " in
7437 *" --with-newlib "*)
7440 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'
7444 # If we're not building GCC, don't discard standard headers.
7445 if test -d ${srcdir}/gcc
; then
7446 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7448 if test "${build}" != "${host}"; then
7449 # On Canadian crosses, CC_FOR_TARGET will have already been set
7450 # by `configure', so we won't have an opportunity to add -Bgcc/
7451 # to it. This is right: we don't want to search that directory
7452 # for binaries, but we want the header files in there, so add
7454 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7456 # Someone might think of using the pre-installed headers on
7457 # Canadian crosses, in case the installed compiler is not fully
7458 # compatible with the compiler being built. In this case, it
7459 # would be better to flag an error than risking having
7460 # incompatible object files being constructed. We can't
7461 # guarantee that an error will be flagged, but let's hope the
7462 # compiler will do it, when presented with incompatible header
7467 case "${target}-${is_cross_compiler}" in
7468 i
[3456789]86-*-linux*-no)
7469 # Here host == target, so we don't need to build gcc,
7470 # so we don't want to discard standard headers.
7471 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7474 # If we're building newlib, use its generic headers last, but search
7475 # for any libc-related directories first (so make it the last -B
7477 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7479 # If we're building libgloss, find the startup file, simulator library
7480 # and linker script.
7481 case " $target_configdirs " in
7483 # Look for startup file, simulator library and maybe linker script.
7484 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7485 # Look for libnosys.a in case the target needs it.
7486 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7487 # Most targets have the linker script in the source directory.
7488 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7499 x86_64-
*mingw
* |
*-w64-mingw*)
7500 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7501 # however, use a symlink named 'mingw' in ${prefix} .
7502 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7505 # MinGW can't be handled as Cygwin above since it does not use newlib.
7506 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'
7510 # Allow the user to override the flags for
7511 # our build compiler if desired.
7512 if test x
"${build}" = x
"${host}" ; then
7513 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7514 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7515 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7518 # On Canadian crosses, we'll be searching the right directories for
7519 # the previously-installed cross compiler, so don't bother to add
7520 # flags for directories within the install tree of the compiler
7521 # being built; programs in there won't even run.
7522 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7523 # Search for pre-installed headers if nothing else fits.
7524 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7527 if test "x
${use_gnu_ld}" = x &&
7528 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7529 # Arrange for us to find uninstalled linker scripts.
7530 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7533 # Search for other target-specific linker scripts and such.
7536 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7540 # Makefile fragments.
7541 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7543 eval fragval=\$$frag
7544 if test $fragval != /dev/null; then
7545 eval $frag=${srcdir}/$fragval
7553 # Miscellanea: directories, flags, etc.
7562 # Build module lists & subconfigure args.
7566 # Host module lists & subconfigure args.
7571 # Target module lists & subconfigure args.
7594 # Generate default definitions for YACC, M4, LEX and other programs that run
7595 # on the build machine. These are used if the Makefile can't locate these
7596 # programs in objdir.
7597 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7599 for ac_prog in 'bison -y' byacc yacc
7601 # Extract the first word of "$ac_prog", so it can be a program name with args.
7602 set dummy $ac_prog; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7604 $as_echo_n "checking
for $ac_word...
" >&6; }
7605 if test "${ac_cv_prog_YACC+set}" = set; then :
7606 $as_echo_n "(cached
) " >&6
7608 if test -n "$YACC"; then
7609 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_YACC="$ac_prog"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7628 YACC=$ac_cv_prog_YACC
7629 if test -n "$YACC"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7631 $as_echo "$YACC" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7638 test -n "$YACC" && break
7640 test -n "$YACC" || YACC="$MISSING bison
-y"
7642 case " $build_configdirs " in
7643 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7644 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7647 for ac_prog in bison
7649 # Extract the first word of "$ac_prog", so it can be a program name with args.
7650 set dummy $ac_prog; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7652 $as_echo_n "checking
for $ac_word...
" >&6; }
7653 if test "${ac_cv_prog_BISON+set}" = set; then :
7654 $as_echo_n "(cached
) " >&6
7656 if test -n "$BISON"; then
7657 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_BISON="$ac_prog"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7676 BISON=$ac_cv_prog_BISON
7677 if test -n "$BISON"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7679 $as_echo "$BISON" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7682 $as_echo "no
" >&6; }
7686 test -n "$BISON" && break
7688 test -n "$BISON" || BISON="$MISSING bison
"
7690 case " $build_configdirs " in
7691 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7694 for ac_prog in gm4 gnum4 m4
7696 # Extract the first word of "$ac_prog", so it can be a program name with args.
7697 set dummy $ac_prog; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7699 $as_echo_n "checking
for $ac_word...
" >&6; }
7700 if test "${ac_cv_prog_M4+set}" = set; then :
7701 $as_echo_n "(cached
) " >&6
7703 if test -n "$M4"; then
7704 ac_cv_prog_M4="$M4" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_prog_M4="$ac_prog"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 if test -n "$M4"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7726 $as_echo "$M4" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7729 $as_echo "no
" >&6; }
7733 test -n "$M4" && break
7735 test -n "$M4" || M4="$MISSING m4"
7737 case " $build_configdirs " in
7738 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7741 for ac_prog in flex lex
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_LEX+set}" = set; then :
7748 $as_echo_n "(cached
) " >&6
7750 if test -n "$LEX"; then
7751 ac_cv_prog_LEX="$LEX" # 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_LEX="$ac_prog"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7771 if test -n "$LEX"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7773 $as_echo "$LEX" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7776 $as_echo "no
" >&6; }
7780 test -n "$LEX" && break
7782 test -n "$LEX" || LEX="$MISSING flex
"
7784 case " $build_configdirs " in
7785 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7786 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7791 # Extract the first word of "$ac_prog", so it can be a program name with args.
7792 set dummy $ac_prog; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7794 $as_echo_n "checking
for $ac_word...
" >&6; }
7795 if test "${ac_cv_prog_FLEX+set}" = set; then :
7796 $as_echo_n "(cached
) " >&6
7798 if test -n "$FLEX"; then
7799 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7808 ac_cv_prog_FLEX="$ac_prog"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7818 FLEX=$ac_cv_prog_FLEX
7819 if test -n "$FLEX"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7821 $as_echo "$FLEX" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7824 $as_echo "no
" >&6; }
7828 test -n "$FLEX" && break
7830 test -n "$FLEX" || FLEX="$MISSING flex
"
7832 case " $build_configdirs " in
7833 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7836 for ac_prog in makeinfo
7838 # Extract the first word of "$ac_prog", so it can be a program name with args.
7839 set dummy $ac_prog; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7841 $as_echo_n "checking
for $ac_word...
" >&6; }
7842 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7843 $as_echo_n "(cached
) " >&6
7845 if test -n "$MAKEINFO"; then
7846 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_MAKEINFO="$ac_prog"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7865 MAKEINFO=$ac_cv_prog_MAKEINFO
7866 if test -n "$MAKEINFO"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7868 $as_echo "$MAKEINFO" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7871 $as_echo "no
" >&6; }
7875 test -n "$MAKEINFO" && break
7877 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7879 case " $build_configdirs " in
7880 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7883 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7884 # higher, else we use the "missing
" dummy.
7885 if ${MAKEINFO} --version \
7886 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7889 MAKEINFO="$MISSING makeinfo
"
7895 # FIXME: expect and dejagnu may become build tools?
7897 for ac_prog in expect
7899 # Extract the first word of "$ac_prog", so it can be a program name with args.
7900 set dummy $ac_prog; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$EXPECT"; then
7907 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_EXPECT="$ac_prog"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 EXPECT=$ac_cv_prog_EXPECT
7927 if test -n "$EXPECT"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7929 $as_echo "$EXPECT" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7936 test -n "$EXPECT" && break
7938 test -n "$EXPECT" || EXPECT="expect
"
7940 case " $configdirs " in
7942 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7946 for ac_prog in runtest
7948 # Extract the first word of "$ac_prog", so it can be a program name with args.
7949 set dummy $ac_prog; 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_RUNTEST+set}" = set; then :
7953 $as_echo_n "(cached
) " >&6
7955 if test -n "$RUNTEST"; then
7956 ac_cv_prog_RUNTEST="$RUNTEST" # 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_RUNTEST="$ac_prog"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7975 RUNTEST=$ac_cv_prog_RUNTEST
7976 if test -n "$RUNTEST"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7978 $as_echo "$RUNTEST" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7981 $as_echo "no
" >&6; }
7985 test -n "$RUNTEST" && break
7987 test -n "$RUNTEST" || RUNTEST="runtest
"
7989 case " $configdirs " in
7991 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7998 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7999 ncn_target_tool_prefix=
8000 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8004 if test -n "$AR"; then
8006 elif test -n "$ac_cv_prog_AR"; then
8010 if test -n "$ac_cv_prog_AR"; then
8011 for ncn_progname in ar; do
8012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8013 set dummy ${ncn_progname}; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8015 $as_echo_n "checking
for $ac_word...
" >&6; }
8016 if test "${ac_cv_prog_AR+set}" = set; then :
8017 $as_echo_n "(cached
) " >&6
8019 if test -n "$AR"; then
8020 ac_cv_prog_AR="$AR" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 ac_cv_prog_AR="${ncn_progname}"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 if test -n "$AR"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8042 $as_echo "$AR" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8045 $as_echo "no
" >&6; }
8052 for ncn_progname in ar; do
8053 if test -n "$ncn_tool_prefix"; then
8054 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8055 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8057 $as_echo_n "checking
for $ac_word...
" >&6; }
8058 if test "${ac_cv_prog_AR+set}" = set; then :
8059 $as_echo_n "(cached
) " >&6
8061 if test -n "$AR"; then
8062 ac_cv_prog_AR="$AR" # Let the user override the test.
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8071 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8082 if test -n "$AR"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8084 $as_echo "$AR" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8087 $as_echo "no
" >&6; }
8092 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8093 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8094 set dummy ${ncn_progname}; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8096 $as_echo_n "checking
for $ac_word...
" >&6; }
8097 if test "${ac_cv_prog_AR+set}" = set; then :
8098 $as_echo_n "(cached
) " >&6
8100 if test -n "$AR"; then
8101 ac_cv_prog_AR="$AR" # Let the user override the test.
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8110 ac_cv_prog_AR="${ncn_progname}"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8121 if test -n "$AR"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8123 $as_echo "$AR" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8126 $as_echo "no
" >&6; }
8131 test -n "$ac_cv_prog_AR" && break
8134 if test -z "$ac_cv_prog_AR" ; then
8136 if test $build = $host ; then
8139 AR="${ncn_tool_prefix}$2"
8145 if test -n "$AS"; then
8147 elif test -n "$ac_cv_prog_AS"; then
8151 if test -n "$ac_cv_prog_AS"; then
8152 for ncn_progname in as; do
8153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8154 set dummy ${ncn_progname}; ac_word=$2
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8156 $as_echo_n "checking
for $ac_word...
" >&6; }
8157 if test "${ac_cv_prog_AS+set}" = set; then :
8158 $as_echo_n "(cached
) " >&6
8160 if test -n "$AS"; then
8161 ac_cv_prog_AS="$AS" # Let the user override the test.
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170 ac_cv_prog_AS="${ncn_progname}"
8171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8181 if test -n "$AS"; then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8183 $as_echo "$AS" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8186 $as_echo "no
" >&6; }
8193 for ncn_progname in as; do
8194 if test -n "$ncn_tool_prefix"; then
8195 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8196 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8198 $as_echo_n "checking
for $ac_word...
" >&6; }
8199 if test "${ac_cv_prog_AS+set}" = set; then :
8200 $as_echo_n "(cached
) " >&6
8202 if test -n "$AS"; then
8203 ac_cv_prog_AS="$AS" # Let the user override the test.
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8212 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8223 if test -n "$AS"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8225 $as_echo "$AS" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8228 $as_echo "no
" >&6; }
8233 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8234 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8235 set dummy ${ncn_progname}; ac_word=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8237 $as_echo_n "checking
for $ac_word...
" >&6; }
8238 if test "${ac_cv_prog_AS+set}" = set; then :
8239 $as_echo_n "(cached
) " >&6
8241 if test -n "$AS"; then
8242 ac_cv_prog_AS="$AS" # Let the user override the test.
8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 test -z "$as_dir" && as_dir=.
8249 for ac_exec_ext in '' $ac_executable_extensions; do
8250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8251 ac_cv_prog_AS="${ncn_progname}"
8252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8262 if test -n "$AS"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8264 $as_echo "$AS" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8267 $as_echo "no
" >&6; }
8272 test -n "$ac_cv_prog_AS" && break
8275 if test -z "$ac_cv_prog_AS" ; then
8277 if test $build = $host ; then
8280 AS="${ncn_tool_prefix}$2"
8286 if test -n "$DLLTOOL"; then
8287 ac_cv_prog_DLLTOOL=$DLLTOOL
8288 elif test -n "$ac_cv_prog_DLLTOOL"; then
8289 DLLTOOL=$ac_cv_prog_DLLTOOL
8292 if test -n "$ac_cv_prog_DLLTOOL"; then
8293 for ncn_progname in dlltool; do
8294 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8295 set dummy ${ncn_progname}; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8297 $as_echo_n "checking
for $ac_word...
" >&6; }
8298 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8299 $as_echo_n "(cached
) " >&6
8301 if test -n "$DLLTOOL"; then
8302 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311 ac_cv_prog_DLLTOOL="${ncn_progname}"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 DLLTOOL=$ac_cv_prog_DLLTOOL
8322 if test -n "$DLLTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8324 $as_echo "$DLLTOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8334 for ncn_progname in dlltool; do
8335 if test -n "$ncn_tool_prefix"; then
8336 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8337 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8339 $as_echo_n "checking
for $ac_word...
" >&6; }
8340 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8341 $as_echo_n "(cached
) " >&6
8343 if test -n "$DLLTOOL"; then
8344 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 test -z "$as_dir" && as_dir=.
8351 for ac_exec_ext in '' $ac_executable_extensions; do
8352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8353 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 DLLTOOL=$ac_cv_prog_DLLTOOL
8364 if test -n "$DLLTOOL"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8366 $as_echo "$DLLTOOL" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8369 $as_echo "no
" >&6; }
8374 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8376 set dummy ${ncn_progname}; ac_word=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8378 $as_echo_n "checking
for $ac_word...
" >&6; }
8379 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8380 $as_echo_n "(cached
) " >&6
8382 if test -n "$DLLTOOL"; then
8383 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 test -z "$as_dir" && as_dir=.
8390 for ac_exec_ext in '' $ac_executable_extensions; do
8391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8392 ac_cv_prog_DLLTOOL="${ncn_progname}"
8393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8402 DLLTOOL=$ac_cv_prog_DLLTOOL
8403 if test -n "$DLLTOOL"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8405 $as_echo "$DLLTOOL" >&6; }
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8408 $as_echo "no
" >&6; }
8413 test -n "$ac_cv_prog_DLLTOOL" && break
8416 if test -z "$ac_cv_prog_DLLTOOL" ; then
8418 if test $build = $host ; then
8421 DLLTOOL="${ncn_tool_prefix}$2"
8427 if test -n "$LD"; then
8429 elif test -n "$ac_cv_prog_LD"; then
8433 if test -n "$ac_cv_prog_LD"; then
8434 for ncn_progname in ld; do
8435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8436 set dummy ${ncn_progname}; ac_word=$2
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8438 $as_echo_n "checking
for $ac_word...
" >&6; }
8439 if test "${ac_cv_prog_LD+set}" = set; then :
8440 $as_echo_n "(cached
) " >&6
8442 if test -n "$LD"; then
8443 ac_cv_prog_LD="$LD" # Let the user override the test.
8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir=.
8450 for ac_exec_ext in '' $ac_executable_extensions; do
8451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8452 ac_cv_prog_LD="${ncn_progname}"
8453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8463 if test -n "$LD"; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8465 $as_echo "$LD" >&6; }
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8468 $as_echo "no
" >&6; }
8475 for ncn_progname in ld; do
8476 if test -n "$ncn_tool_prefix"; then
8477 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8478 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8480 $as_echo_n "checking
for $ac_word...
" >&6; }
8481 if test "${ac_cv_prog_LD+set}" = set; then :
8482 $as_echo_n "(cached
) " >&6
8484 if test -n "$LD"; then
8485 ac_cv_prog_LD="$LD" # Let the user override the test.
8487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8491 test -z "$as_dir" && as_dir=.
8492 for ac_exec_ext in '' $ac_executable_extensions; do
8493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8505 if test -n "$LD"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8507 $as_echo "$LD" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8510 $as_echo "no
" >&6; }
8515 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8517 set dummy ${ncn_progname}; ac_word=$2
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8519 $as_echo_n "checking
for $ac_word...
" >&6; }
8520 if test "${ac_cv_prog_LD+set}" = set; then :
8521 $as_echo_n "(cached
) " >&6
8523 if test -n "$LD"; then
8524 ac_cv_prog_LD="$LD" # Let the user override the test.
8526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8530 test -z "$as_dir" && as_dir=.
8531 for ac_exec_ext in '' $ac_executable_extensions; do
8532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8533 ac_cv_prog_LD="${ncn_progname}"
8534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8544 if test -n "$LD"; then
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8546 $as_echo "$LD" >&6; }
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8549 $as_echo "no
" >&6; }
8554 test -n "$ac_cv_prog_LD" && break
8557 if test -z "$ac_cv_prog_LD" ; then
8559 if test $build = $host ; then
8562 LD="${ncn_tool_prefix}$2"
8568 if test -n "$LIPO"; then
8569 ac_cv_prog_LIPO=$LIPO
8570 elif test -n "$ac_cv_prog_LIPO"; then
8571 LIPO=$ac_cv_prog_LIPO
8574 if test -n "$ac_cv_prog_LIPO"; then
8575 for ncn_progname in lipo; do
8576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8577 set dummy ${ncn_progname}; ac_word=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8579 $as_echo_n "checking
for $ac_word...
" >&6; }
8580 if test "${ac_cv_prog_LIPO+set}" = set; then :
8581 $as_echo_n "(cached
) " >&6
8583 if test -n "$LIPO"; then
8584 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8590 test -z "$as_dir" && as_dir=.
8591 for ac_exec_ext in '' $ac_executable_extensions; do
8592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8593 ac_cv_prog_LIPO="${ncn_progname}"
8594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8603 LIPO=$ac_cv_prog_LIPO
8604 if test -n "$LIPO"; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8606 $as_echo "$LIPO" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8609 $as_echo "no
" >&6; }
8616 for ncn_progname in lipo; do
8617 if test -n "$ncn_tool_prefix"; then
8618 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8619 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8621 $as_echo_n "checking
for $ac_word...
" >&6; }
8622 if test "${ac_cv_prog_LIPO+set}" = set; then :
8623 $as_echo_n "(cached
) " >&6
8625 if test -n "$LIPO"; then
8626 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir=.
8633 for ac_exec_ext in '' $ac_executable_extensions; do
8634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8635 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8645 LIPO=$ac_cv_prog_LIPO
8646 if test -n "$LIPO"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8648 $as_echo "$LIPO" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8651 $as_echo "no
" >&6; }
8656 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8658 set dummy ${ncn_progname}; ac_word=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8660 $as_echo_n "checking
for $ac_word...
" >&6; }
8661 if test "${ac_cv_prog_LIPO+set}" = set; then :
8662 $as_echo_n "(cached
) " >&6
8664 if test -n "$LIPO"; then
8665 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8671 test -z "$as_dir" && as_dir=.
8672 for ac_exec_ext in '' $ac_executable_extensions; do
8673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8674 ac_cv_prog_LIPO="${ncn_progname}"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8684 LIPO=$ac_cv_prog_LIPO
8685 if test -n "$LIPO"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8687 $as_echo "$LIPO" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8690 $as_echo "no
" >&6; }
8695 test -n "$ac_cv_prog_LIPO" && break
8698 if test -z "$ac_cv_prog_LIPO" ; then
8700 if test $build = $host ; then
8703 LIPO="${ncn_tool_prefix}$2"
8709 if test -n "$NM"; then
8711 elif test -n "$ac_cv_prog_NM"; then
8715 if test -n "$ac_cv_prog_NM"; then
8716 for ncn_progname in nm; do
8717 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8718 set dummy ${ncn_progname}; ac_word=$2
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8720 $as_echo_n "checking
for $ac_word...
" >&6; }
8721 if test "${ac_cv_prog_NM+set}" = set; then :
8722 $as_echo_n "(cached
) " >&6
8724 if test -n "$NM"; then
8725 ac_cv_prog_NM="$NM" # Let the user override the test.
8727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8731 test -z "$as_dir" && as_dir=.
8732 for ac_exec_ext in '' $ac_executable_extensions; do
8733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8734 ac_cv_prog_NM="${ncn_progname}"
8735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8745 if test -n "$NM"; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8747 $as_echo "$NM" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8750 $as_echo "no
" >&6; }
8757 for ncn_progname in nm; do
8758 if test -n "$ncn_tool_prefix"; then
8759 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8760 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8762 $as_echo_n "checking
for $ac_word...
" >&6; }
8763 if test "${ac_cv_prog_NM+set}" = set; then :
8764 $as_echo_n "(cached
) " >&6
8766 if test -n "$NM"; then
8767 ac_cv_prog_NM="$NM" # Let the user override the test.
8769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8773 test -z "$as_dir" && as_dir=.
8774 for ac_exec_ext in '' $ac_executable_extensions; do
8775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8776 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8787 if test -n "$NM"; then
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8789 $as_echo "$NM" >&6; }
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8792 $as_echo "no
" >&6; }
8797 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8798 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8799 set dummy ${ncn_progname}; ac_word=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8801 $as_echo_n "checking
for $ac_word...
" >&6; }
8802 if test "${ac_cv_prog_NM+set}" = set; then :
8803 $as_echo_n "(cached
) " >&6
8805 if test -n "$NM"; then
8806 ac_cv_prog_NM="$NM" # Let the user override the test.
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8815 ac_cv_prog_NM="${ncn_progname}"
8816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8826 if test -n "$NM"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8828 $as_echo "$NM" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8831 $as_echo "no
" >&6; }
8836 test -n "$ac_cv_prog_NM" && break
8839 if test -z "$ac_cv_prog_NM" ; then
8841 if test $build = $host ; then
8844 NM="${ncn_tool_prefix}$2"
8850 if test -n "$RANLIB"; then
8851 ac_cv_prog_RANLIB=$RANLIB
8852 elif test -n "$ac_cv_prog_RANLIB"; then
8853 RANLIB=$ac_cv_prog_RANLIB
8856 if test -n "$ac_cv_prog_RANLIB"; then
8857 for ncn_progname in ranlib; do
8858 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8859 set dummy ${ncn_progname}; ac_word=$2
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8861 $as_echo_n "checking
for $ac_word...
" >&6; }
8862 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8863 $as_echo_n "(cached
) " >&6
8865 if test -n "$RANLIB"; then
8866 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8872 test -z "$as_dir" && as_dir=.
8873 for ac_exec_ext in '' $ac_executable_extensions; do
8874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8875 ac_cv_prog_RANLIB="${ncn_progname}"
8876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8885 RANLIB=$ac_cv_prog_RANLIB
8886 if test -n "$RANLIB"; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8888 $as_echo "$RANLIB" >&6; }
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8891 $as_echo "no
" >&6; }
8898 for ncn_progname in ranlib; do
8899 if test -n "$ncn_tool_prefix"; then
8900 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8901 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8903 $as_echo_n "checking
for $ac_word...
" >&6; }
8904 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8905 $as_echo_n "(cached
) " >&6
8907 if test -n "$RANLIB"; then
8908 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8917 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8927 RANLIB=$ac_cv_prog_RANLIB
8928 if test -n "$RANLIB"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8930 $as_echo "$RANLIB" >&6; }
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8933 $as_echo "no
" >&6; }
8938 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8939 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8940 set dummy ${ncn_progname}; ac_word=$2
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8942 $as_echo_n "checking
for $ac_word...
" >&6; }
8943 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8944 $as_echo_n "(cached
) " >&6
8946 if test -n "$RANLIB"; then
8947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir=.
8954 for ac_exec_ext in '' $ac_executable_extensions; do
8955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8956 ac_cv_prog_RANLIB="${ncn_progname}"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8966 RANLIB=$ac_cv_prog_RANLIB
8967 if test -n "$RANLIB"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8969 $as_echo "$RANLIB" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8972 $as_echo "no
" >&6; }
8977 test -n "$ac_cv_prog_RANLIB" && break
8980 if test -z "$ac_cv_prog_RANLIB" ; then
8986 if test -n "$STRIP"; then
8987 ac_cv_prog_STRIP=$STRIP
8988 elif test -n "$ac_cv_prog_STRIP"; then
8989 STRIP=$ac_cv_prog_STRIP
8992 if test -n "$ac_cv_prog_STRIP"; then
8993 for ncn_progname in strip; do
8994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8995 set dummy ${ncn_progname}; ac_word=$2
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8997 $as_echo_n "checking
for $ac_word...
" >&6; }
8998 if test "${ac_cv_prog_STRIP+set}" = set; then :
8999 $as_echo_n "(cached
) " >&6
9001 if test -n "$STRIP"; then
9002 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9008 test -z "$as_dir" && as_dir=.
9009 for ac_exec_ext in '' $ac_executable_extensions; do
9010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9011 ac_cv_prog_STRIP="${ncn_progname}"
9012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9021 STRIP=$ac_cv_prog_STRIP
9022 if test -n "$STRIP"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9024 $as_echo "$STRIP" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9027 $as_echo "no
" >&6; }
9034 for ncn_progname in strip; do
9035 if test -n "$ncn_tool_prefix"; then
9036 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9037 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9039 $as_echo_n "checking
for $ac_word...
" >&6; }
9040 if test "${ac_cv_prog_STRIP+set}" = set; then :
9041 $as_echo_n "(cached
) " >&6
9043 if test -n "$STRIP"; then
9044 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9050 test -z "$as_dir" && as_dir=.
9051 for ac_exec_ext in '' $ac_executable_extensions; do
9052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9053 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9063 STRIP=$ac_cv_prog_STRIP
9064 if test -n "$STRIP"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9066 $as_echo "$STRIP" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9069 $as_echo "no
" >&6; }
9074 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9075 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9076 set dummy ${ncn_progname}; ac_word=$2
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9078 $as_echo_n "checking
for $ac_word...
" >&6; }
9079 if test "${ac_cv_prog_STRIP+set}" = set; then :
9080 $as_echo_n "(cached
) " >&6
9082 if test -n "$STRIP"; then
9083 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9089 test -z "$as_dir" && as_dir=.
9090 for ac_exec_ext in '' $ac_executable_extensions; do
9091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9092 ac_cv_prog_STRIP="${ncn_progname}"
9093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9102 STRIP=$ac_cv_prog_STRIP
9103 if test -n "$STRIP"; then
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9105 $as_echo "$STRIP" >&6; }
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9108 $as_echo "no
" >&6; }
9113 test -n "$ac_cv_prog_STRIP" && break
9116 if test -z "$ac_cv_prog_STRIP" ; then
9122 if test -n "$WINDRES"; then
9123 ac_cv_prog_WINDRES=$WINDRES
9124 elif test -n "$ac_cv_prog_WINDRES"; then
9125 WINDRES=$ac_cv_prog_WINDRES
9128 if test -n "$ac_cv_prog_WINDRES"; then
9129 for ncn_progname in windres; do
9130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9131 set dummy ${ncn_progname}; ac_word=$2
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9133 $as_echo_n "checking
for $ac_word...
" >&6; }
9134 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9135 $as_echo_n "(cached
) " >&6
9137 if test -n "$WINDRES"; then
9138 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9144 test -z "$as_dir" && as_dir=.
9145 for ac_exec_ext in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_prog_WINDRES="${ncn_progname}"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9157 WINDRES=$ac_cv_prog_WINDRES
9158 if test -n "$WINDRES"; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9160 $as_echo "$WINDRES" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9163 $as_echo "no
" >&6; }
9170 for ncn_progname in windres; do
9171 if test -n "$ncn_tool_prefix"; then
9172 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9173 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9175 $as_echo_n "checking
for $ac_word...
" >&6; }
9176 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9177 $as_echo_n "(cached
) " >&6
9179 if test -n "$WINDRES"; then
9180 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 test -z "$as_dir" && as_dir=.
9187 for ac_exec_ext in '' $ac_executable_extensions; do
9188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9189 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9199 WINDRES=$ac_cv_prog_WINDRES
9200 if test -n "$WINDRES"; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9202 $as_echo "$WINDRES" >&6; }
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9205 $as_echo "no
" >&6; }
9210 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9212 set dummy ${ncn_progname}; ac_word=$2
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9214 $as_echo_n "checking
for $ac_word...
" >&6; }
9215 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9216 $as_echo_n "(cached
) " >&6
9218 if test -n "$WINDRES"; then
9219 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9225 test -z "$as_dir" && as_dir=.
9226 for ac_exec_ext in '' $ac_executable_extensions; do
9227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9228 ac_cv_prog_WINDRES="${ncn_progname}"
9229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9238 WINDRES=$ac_cv_prog_WINDRES
9239 if test -n "$WINDRES"; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9241 $as_echo "$WINDRES" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9244 $as_echo "no
" >&6; }
9249 test -n "$ac_cv_prog_WINDRES" && break
9252 if test -z "$ac_cv_prog_WINDRES" ; then
9254 if test $build = $host ; then
9257 WINDRES="${ncn_tool_prefix}$2"
9263 if test -n "$WINDMC"; then
9264 ac_cv_prog_WINDMC=$WINDMC
9265 elif test -n "$ac_cv_prog_WINDMC"; then
9266 WINDMC=$ac_cv_prog_WINDMC
9269 if test -n "$ac_cv_prog_WINDMC"; then
9270 for ncn_progname in windmc; do
9271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9272 set dummy ${ncn_progname}; ac_word=$2
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9274 $as_echo_n "checking
for $ac_word...
" >&6; }
9275 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9276 $as_echo_n "(cached
) " >&6
9278 if test -n "$WINDMC"; then
9279 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9285 test -z "$as_dir" && as_dir=.
9286 for ac_exec_ext in '' $ac_executable_extensions; do
9287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9288 ac_cv_prog_WINDMC="${ncn_progname}"
9289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9298 WINDMC=$ac_cv_prog_WINDMC
9299 if test -n "$WINDMC"; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9301 $as_echo "$WINDMC" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9304 $as_echo "no
" >&6; }
9311 for ncn_progname in windmc; do
9312 if test -n "$ncn_tool_prefix"; then
9313 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9314 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9316 $as_echo_n "checking
for $ac_word...
" >&6; }
9317 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9318 $as_echo_n "(cached
) " >&6
9320 if test -n "$WINDMC"; then
9321 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9327 test -z "$as_dir" && as_dir=.
9328 for ac_exec_ext in '' $ac_executable_extensions; do
9329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9330 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9340 WINDMC=$ac_cv_prog_WINDMC
9341 if test -n "$WINDMC"; then
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9343 $as_echo "$WINDMC" >&6; }
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9346 $as_echo "no
" >&6; }
9351 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9352 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9353 set dummy ${ncn_progname}; ac_word=$2
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9355 $as_echo_n "checking
for $ac_word...
" >&6; }
9356 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9357 $as_echo_n "(cached
) " >&6
9359 if test -n "$WINDMC"; then
9360 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 test -z "$as_dir" && as_dir=.
9367 for ac_exec_ext in '' $ac_executable_extensions; do
9368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9369 ac_cv_prog_WINDMC="${ncn_progname}"
9370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9379 WINDMC=$ac_cv_prog_WINDMC
9380 if test -n "$WINDMC"; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9382 $as_echo "$WINDMC" >&6; }
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9385 $as_echo "no
" >&6; }
9390 test -n "$ac_cv_prog_WINDMC" && break
9393 if test -z "$ac_cv_prog_WINDMC" ; then
9395 if test $build = $host ; then
9398 WINDMC="${ncn_tool_prefix}$2"
9404 if test -n "$OBJCOPY"; then
9405 ac_cv_prog_OBJCOPY=$OBJCOPY
9406 elif test -n "$ac_cv_prog_OBJCOPY"; then
9407 OBJCOPY=$ac_cv_prog_OBJCOPY
9410 if test -n "$ac_cv_prog_OBJCOPY"; then
9411 for ncn_progname in objcopy; do
9412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9413 set dummy ${ncn_progname}; ac_word=$2
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9415 $as_echo_n "checking
for $ac_word...
" >&6; }
9416 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9417 $as_echo_n "(cached
) " >&6
9419 if test -n "$OBJCOPY"; then
9420 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9426 test -z "$as_dir" && as_dir=.
9427 for ac_exec_ext in '' $ac_executable_extensions; do
9428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9429 ac_cv_prog_OBJCOPY="${ncn_progname}"
9430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9439 OBJCOPY=$ac_cv_prog_OBJCOPY
9440 if test -n "$OBJCOPY"; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9442 $as_echo "$OBJCOPY" >&6; }
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9445 $as_echo "no
" >&6; }
9452 for ncn_progname in objcopy; do
9453 if test -n "$ncn_tool_prefix"; then
9454 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9455 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9457 $as_echo_n "checking
for $ac_word...
" >&6; }
9458 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9459 $as_echo_n "(cached
) " >&6
9461 if test -n "$OBJCOPY"; then
9462 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9468 test -z "$as_dir" && as_dir=.
9469 for ac_exec_ext in '' $ac_executable_extensions; do
9470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9471 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9481 OBJCOPY=$ac_cv_prog_OBJCOPY
9482 if test -n "$OBJCOPY"; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9484 $as_echo "$OBJCOPY" >&6; }
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9487 $as_echo "no
" >&6; }
9492 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9494 set dummy ${ncn_progname}; ac_word=$2
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9496 $as_echo_n "checking
for $ac_word...
" >&6; }
9497 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9498 $as_echo_n "(cached
) " >&6
9500 if test -n "$OBJCOPY"; then
9501 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9507 test -z "$as_dir" && as_dir=.
9508 for ac_exec_ext in '' $ac_executable_extensions; do
9509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9510 ac_cv_prog_OBJCOPY="${ncn_progname}"
9511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9520 OBJCOPY=$ac_cv_prog_OBJCOPY
9521 if test -n "$OBJCOPY"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9523 $as_echo "$OBJCOPY" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9526 $as_echo "no
" >&6; }
9531 test -n "$ac_cv_prog_OBJCOPY" && break
9534 if test -z "$ac_cv_prog_OBJCOPY" ; then
9536 if test $build = $host ; then
9539 OBJCOPY="${ncn_tool_prefix}$2"
9545 if test -n "$OBJDUMP"; then
9546 ac_cv_prog_OBJDUMP=$OBJDUMP
9547 elif test -n "$ac_cv_prog_OBJDUMP"; then
9548 OBJDUMP=$ac_cv_prog_OBJDUMP
9551 if test -n "$ac_cv_prog_OBJDUMP"; then
9552 for ncn_progname in objdump; do
9553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9554 set dummy ${ncn_progname}; ac_word=$2
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9556 $as_echo_n "checking
for $ac_word...
" >&6; }
9557 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9558 $as_echo_n "(cached
) " >&6
9560 if test -n "$OBJDUMP"; then
9561 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9567 test -z "$as_dir" && as_dir=.
9568 for ac_exec_ext in '' $ac_executable_extensions; do
9569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9570 ac_cv_prog_OBJDUMP="${ncn_progname}"
9571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9580 OBJDUMP=$ac_cv_prog_OBJDUMP
9581 if test -n "$OBJDUMP"; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9583 $as_echo "$OBJDUMP" >&6; }
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9586 $as_echo "no
" >&6; }
9593 for ncn_progname in objdump; do
9594 if test -n "$ncn_tool_prefix"; then
9595 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9596 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9598 $as_echo_n "checking
for $ac_word...
" >&6; }
9599 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9600 $as_echo_n "(cached
) " >&6
9602 if test -n "$OBJDUMP"; then
9603 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9609 test -z "$as_dir" && as_dir=.
9610 for ac_exec_ext in '' $ac_executable_extensions; do
9611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9612 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9622 OBJDUMP=$ac_cv_prog_OBJDUMP
9623 if test -n "$OBJDUMP"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9625 $as_echo "$OBJDUMP" >&6; }
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9628 $as_echo "no
" >&6; }
9633 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9634 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9635 set dummy ${ncn_progname}; ac_word=$2
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9637 $as_echo_n "checking
for $ac_word...
" >&6; }
9638 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9639 $as_echo_n "(cached
) " >&6
9641 if test -n "$OBJDUMP"; then
9642 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir=.
9649 for ac_exec_ext in '' $ac_executable_extensions; do
9650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9651 ac_cv_prog_OBJDUMP="${ncn_progname}"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9661 OBJDUMP=$ac_cv_prog_OBJDUMP
9662 if test -n "$OBJDUMP"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9664 $as_echo "$OBJDUMP" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9667 $as_echo "no
" >&6; }
9672 test -n "$ac_cv_prog_OBJDUMP" && break
9675 if test -z "$ac_cv_prog_OBJDUMP" ; then
9677 if test $build = $host ; then
9680 OBJDUMP="${ncn_tool_prefix}$2"
9691 # Check whether --with-build-time-tools was given.
9692 if test "${with_build_time_tools+set}" = set; then :
9693 withval=$with_build_time_tools; case x"$withval" in
9696 with_build_time_tools=
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9698 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9702 with_build_time_tools=
9708 if test -n "$CC_FOR_TARGET"; then
9709 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9710 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9711 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9714 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9715 for ncn_progname in cc gcc; do
9716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9717 set dummy ${ncn_progname}; ac_word=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9719 $as_echo_n "checking
for $ac_word...
" >&6; }
9720 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9721 $as_echo_n "(cached
) " >&6
9723 if test -n "$CC_FOR_TARGET"; then
9724 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9733 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9743 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9744 if test -n "$CC_FOR_TARGET"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9746 $as_echo "$CC_FOR_TARGET" >&6; }
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9749 $as_echo "no
" >&6; }
9756 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9757 for ncn_progname in cc gcc; do
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9759 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9760 if test -x $with_build_time_tools/${ncn_progname}; then
9761 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9763 $as_echo "yes" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9767 $as_echo "no
" >&6; }
9772 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9773 for ncn_progname in cc gcc; do
9774 if test -n "$ncn_target_tool_prefix"; then
9775 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9776 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9778 $as_echo_n "checking
for $ac_word...
" >&6; }
9779 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9780 $as_echo_n "(cached
) " >&6
9782 if test -n "$CC_FOR_TARGET"; then
9783 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir=.
9790 for ac_exec_ext in '' $ac_executable_extensions; do
9791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9792 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9802 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9803 if test -n "$CC_FOR_TARGET"; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9805 $as_echo "$CC_FOR_TARGET" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9808 $as_echo "no
" >&6; }
9813 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9815 set dummy ${ncn_progname}; ac_word=$2
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9817 $as_echo_n "checking
for $ac_word...
" >&6; }
9818 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9819 $as_echo_n "(cached
) " >&6
9821 if test -n "$CC_FOR_TARGET"; then
9822 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir=.
9829 for ac_exec_ext in '' $ac_executable_extensions; do
9830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9831 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9841 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9842 if test -n "$CC_FOR_TARGET"; then
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9844 $as_echo "$CC_FOR_TARGET" >&6; }
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9847 $as_echo "no
" >&6; }
9852 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9856 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9858 if test $build = $target ; then
9861 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9864 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9869 if test -n "$CXX_FOR_TARGET"; then
9870 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9871 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9872 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9875 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9876 for ncn_progname in c++ g++ cxx gxx; do
9877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9878 set dummy ${ncn_progname}; ac_word=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9880 $as_echo_n "checking
for $ac_word...
" >&6; }
9881 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9882 $as_echo_n "(cached
) " >&6
9884 if test -n "$CXX_FOR_TARGET"; then
9885 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9891 test -z "$as_dir" && as_dir=.
9892 for ac_exec_ext in '' $ac_executable_extensions; do
9893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9904 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9905 if test -n "$CXX_FOR_TARGET"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9907 $as_echo "$CXX_FOR_TARGET" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9910 $as_echo "no
" >&6; }
9917 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9918 for ncn_progname in c++ g++ cxx gxx; do
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9920 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9921 if test -x $with_build_time_tools/${ncn_progname}; then
9922 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9924 $as_echo "yes" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9928 $as_echo "no
" >&6; }
9933 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9934 for ncn_progname in c++ g++ cxx gxx; do
9935 if test -n "$ncn_target_tool_prefix"; then
9936 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9937 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9939 $as_echo_n "checking
for $ac_word...
" >&6; }
9940 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9941 $as_echo_n "(cached
) " >&6
9943 if test -n "$CXX_FOR_TARGET"; then
9944 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir=.
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9953 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9963 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9964 if test -n "$CXX_FOR_TARGET"; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9966 $as_echo "$CXX_FOR_TARGET" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9969 $as_echo "no
" >&6; }
9974 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9976 set dummy ${ncn_progname}; ac_word=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9978 $as_echo_n "checking
for $ac_word...
" >&6; }
9979 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9980 $as_echo_n "(cached
) " >&6
9982 if test -n "$CXX_FOR_TARGET"; then
9983 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir=.
9990 for ac_exec_ext in '' $ac_executable_extensions; do
9991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9992 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10002 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10003 if test -n "$CXX_FOR_TARGET"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10005 $as_echo "$CXX_FOR_TARGET" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10008 $as_echo "no
" >&6; }
10013 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10017 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10018 set dummy c++ g++ cxx gxx
10019 if test $build = $target ; then
10020 CXX_FOR_TARGET="$2"
10022 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10025 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10030 if test -n "$GCC_FOR_TARGET"; then
10031 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10032 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10033 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10036 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10037 for ncn_progname in gcc; do
10038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10039 set dummy ${ncn_progname}; ac_word=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10041 $as_echo_n "checking
for $ac_word...
" >&6; }
10042 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10043 $as_echo_n "(cached
) " >&6
10045 if test -n "$GCC_FOR_TARGET"; then
10046 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10049 for as_dir in $PATH
10052 test -z "$as_dir" && as_dir=.
10053 for ac_exec_ext in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10065 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10066 if test -n "$GCC_FOR_TARGET"; then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10068 $as_echo "$GCC_FOR_TARGET" >&6; }
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10071 $as_echo "no
" >&6; }
10078 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10079 for ncn_progname in gcc; do
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10081 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10082 if test -x $with_build_time_tools/${ncn_progname}; then
10083 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10085 $as_echo "yes" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10089 $as_echo "no
" >&6; }
10094 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10095 for ncn_progname in gcc; do
10096 if test -n "$ncn_target_tool_prefix"; then
10097 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10098 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10100 $as_echo_n "checking
for $ac_word...
" >&6; }
10101 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10102 $as_echo_n "(cached
) " >&6
10104 if test -n "$GCC_FOR_TARGET"; then
10105 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10108 for as_dir in $PATH
10111 test -z "$as_dir" && as_dir=.
10112 for ac_exec_ext in '' $ac_executable_extensions; do
10113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10114 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10124 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10125 if test -n "$GCC_FOR_TARGET"; then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10127 $as_echo "$GCC_FOR_TARGET" >&6; }
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10130 $as_echo "no
" >&6; }
10135 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10137 set dummy ${ncn_progname}; ac_word=$2
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10139 $as_echo_n "checking
for $ac_word...
" >&6; }
10140 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10141 $as_echo_n "(cached
) " >&6
10143 if test -n "$GCC_FOR_TARGET"; then
10144 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10147 for as_dir in $PATH
10150 test -z "$as_dir" && as_dir=.
10151 for ac_exec_ext in '' $ac_executable_extensions; do
10152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10153 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10163 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10164 if test -n "$GCC_FOR_TARGET"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10166 $as_echo "$GCC_FOR_TARGET" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10169 $as_echo "no
" >&6; }
10174 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10178 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10179 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10181 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10186 if test -n "$GCJ_FOR_TARGET"; then
10187 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10188 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10189 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10192 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10193 for ncn_progname in gcj; do
10194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10195 set dummy ${ncn_progname}; ac_word=$2
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10197 $as_echo_n "checking
for $ac_word...
" >&6; }
10198 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10199 $as_echo_n "(cached
) " >&6
10201 if test -n "$GCJ_FOR_TARGET"; then
10202 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10205 for as_dir in $PATH
10208 test -z "$as_dir" && as_dir=.
10209 for ac_exec_ext in '' $ac_executable_extensions; do
10210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10211 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10221 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10222 if test -n "$GCJ_FOR_TARGET"; then
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10224 $as_echo "$GCJ_FOR_TARGET" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10227 $as_echo "no
" >&6; }
10234 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10235 for ncn_progname in gcj; do
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10237 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10238 if test -x $with_build_time_tools/${ncn_progname}; then
10239 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10241 $as_echo "yes" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10245 $as_echo "no
" >&6; }
10250 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10251 for ncn_progname in gcj; do
10252 if test -n "$ncn_target_tool_prefix"; then
10253 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10254 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10256 $as_echo_n "checking
for $ac_word...
" >&6; }
10257 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10258 $as_echo_n "(cached
) " >&6
10260 if test -n "$GCJ_FOR_TARGET"; then
10261 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10267 test -z "$as_dir" && as_dir=.
10268 for ac_exec_ext in '' $ac_executable_extensions; do
10269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10280 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10281 if test -n "$GCJ_FOR_TARGET"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10283 $as_echo "$GCJ_FOR_TARGET" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10286 $as_echo "no
" >&6; }
10291 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10293 set dummy ${ncn_progname}; ac_word=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10295 $as_echo_n "checking
for $ac_word...
" >&6; }
10296 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10297 $as_echo_n "(cached
) " >&6
10299 if test -n "$GCJ_FOR_TARGET"; then
10300 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $PATH
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10319 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10320 if test -n "$GCJ_FOR_TARGET"; then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10322 $as_echo "$GCJ_FOR_TARGET" >&6; }
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10325 $as_echo "no
" >&6; }
10330 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10334 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10336 if test $build = $target ; then
10337 GCJ_FOR_TARGET="$2"
10339 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10342 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10347 if test -n "$GFORTRAN_FOR_TARGET"; then
10348 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10349 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10350 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10353 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10354 for ncn_progname in gfortran; do
10355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10356 set dummy ${ncn_progname}; ac_word=$2
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10358 $as_echo_n "checking
for $ac_word...
" >&6; }
10359 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10360 $as_echo_n "(cached
) " >&6
10362 if test -n "$GFORTRAN_FOR_TARGET"; then
10363 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10372 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10382 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10383 if test -n "$GFORTRAN_FOR_TARGET"; then
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10385 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10388 $as_echo "no
" >&6; }
10395 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10396 for ncn_progname in gfortran; do
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10398 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10399 if test -x $with_build_time_tools/${ncn_progname}; then
10400 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10402 $as_echo "yes" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10406 $as_echo "no
" >&6; }
10411 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10412 for ncn_progname in gfortran; do
10413 if test -n "$ncn_target_tool_prefix"; then
10414 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10415 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10417 $as_echo_n "checking
for $ac_word...
" >&6; }
10418 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10419 $as_echo_n "(cached
) " >&6
10421 if test -n "$GFORTRAN_FOR_TARGET"; then
10422 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10428 test -z "$as_dir" && as_dir=.
10429 for ac_exec_ext in '' $ac_executable_extensions; do
10430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10431 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10441 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10442 if test -n "$GFORTRAN_FOR_TARGET"; then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10444 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10447 $as_echo "no
" >&6; }
10452 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10454 set dummy ${ncn_progname}; ac_word=$2
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10456 $as_echo_n "checking
for $ac_word...
" >&6; }
10457 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10458 $as_echo_n "(cached
) " >&6
10460 if test -n "$GFORTRAN_FOR_TARGET"; then
10461 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in $PATH
10467 test -z "$as_dir" && as_dir=.
10468 for ac_exec_ext in '' $ac_executable_extensions; do
10469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10470 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10480 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10481 if test -n "$GFORTRAN_FOR_TARGET"; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10483 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10486 $as_echo "no
" >&6; }
10491 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10495 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10497 if test $build = $target ; then
10498 GFORTRAN_FOR_TARGET="$2"
10500 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10503 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10508 if test -n "$GOC_FOR_TARGET"; then
10509 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10510 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10511 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10514 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10515 for ncn_progname in gccgo; do
10516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10517 set dummy ${ncn_progname}; ac_word=$2
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10519 $as_echo_n "checking
for $ac_word...
" >&6; }
10520 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10521 $as_echo_n "(cached
) " >&6
10523 if test -n "$GOC_FOR_TARGET"; then
10524 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10527 for as_dir in $PATH
10530 test -z "$as_dir" && as_dir=.
10531 for ac_exec_ext in '' $ac_executable_extensions; do
10532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10533 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10543 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10544 if test -n "$GOC_FOR_TARGET"; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10546 $as_echo "$GOC_FOR_TARGET" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10549 $as_echo "no
" >&6; }
10556 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10557 for ncn_progname in gccgo; do
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10559 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10560 if test -x $with_build_time_tools/${ncn_progname}; then
10561 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10563 $as_echo "yes" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10567 $as_echo "no
" >&6; }
10572 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10573 for ncn_progname in gccgo; do
10574 if test -n "$ncn_target_tool_prefix"; then
10575 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10576 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10578 $as_echo_n "checking
for $ac_word...
" >&6; }
10579 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10580 $as_echo_n "(cached
) " >&6
10582 if test -n "$GOC_FOR_TARGET"; then
10583 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10586 for as_dir in $PATH
10589 test -z "$as_dir" && as_dir=.
10590 for ac_exec_ext in '' $ac_executable_extensions; do
10591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10592 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10602 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10603 if test -n "$GOC_FOR_TARGET"; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10605 $as_echo "$GOC_FOR_TARGET" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10608 $as_echo "no
" >&6; }
10613 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10614 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10615 set dummy ${ncn_progname}; ac_word=$2
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10617 $as_echo_n "checking
for $ac_word...
" >&6; }
10618 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10619 $as_echo_n "(cached
) " >&6
10621 if test -n "$GOC_FOR_TARGET"; then
10622 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10625 for as_dir in $PATH
10628 test -z "$as_dir" && as_dir=.
10629 for ac_exec_ext in '' $ac_executable_extensions; do
10630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10631 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10641 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10642 if test -n "$GOC_FOR_TARGET"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10644 $as_echo "$GOC_FOR_TARGET" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10647 $as_echo "no
" >&6; }
10652 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10656 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10658 if test $build = $target ; then
10659 GOC_FOR_TARGET="$2"
10661 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10664 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10669 cat > conftest.c << \EOF
10674 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10675 have_gcc_for_target=yes
10677 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10678 have_gcc_for_target=no
10685 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10686 if test -n "$with_build_time_tools"; then
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10688 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10689 if test -x $with_build_time_tools/ar; then
10690 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10691 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10693 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10696 $as_echo "no
" >&6; }
10698 elif test $build != $host && test $have_gcc_for_target = yes; then
10699 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10700 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10701 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10704 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10705 # Extract the first word of "ar", so it can be a program name with args.
10706 set dummy ar; ac_word=$2
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10708 $as_echo_n "checking
for $ac_word...
" >&6; }
10709 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10710 $as_echo_n "(cached
) " >&6
10712 case $AR_FOR_TARGET in
10714 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $gcc_cv_tool_dirs
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10724 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10735 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10736 if test -n "$AR_FOR_TARGET"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10738 $as_echo "$AR_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10741 $as_echo "no
" >&6; }
10746 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10749 if test -n "$AR_FOR_TARGET"; then
10750 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10751 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10752 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10755 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10756 for ncn_progname in ar; do
10757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10758 set dummy ${ncn_progname}; ac_word=$2
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10760 $as_echo_n "checking
for $ac_word...
" >&6; }
10761 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10762 $as_echo_n "(cached
) " >&6
10764 if test -n "$AR_FOR_TARGET"; then
10765 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10768 for as_dir in $PATH
10771 test -z "$as_dir" && as_dir=.
10772 for ac_exec_ext in '' $ac_executable_extensions; do
10773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10774 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10784 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10785 if test -n "$AR_FOR_TARGET"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10787 $as_echo "$AR_FOR_TARGET" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10790 $as_echo "no
" >&6; }
10797 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10798 for ncn_progname in ar; do
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10800 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10801 if test -x $with_build_time_tools/${ncn_progname}; then
10802 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10804 $as_echo "yes" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10808 $as_echo "no
" >&6; }
10813 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10814 for ncn_progname in ar; do
10815 if test -n "$ncn_target_tool_prefix"; then
10816 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10819 $as_echo_n "checking
for $ac_word...
" >&6; }
10820 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10821 $as_echo_n "(cached
) " >&6
10823 if test -n "$AR_FOR_TARGET"; then
10824 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $PATH
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10833 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10843 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10844 if test -n "$AR_FOR_TARGET"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10846 $as_echo "$AR_FOR_TARGET" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10849 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10856 set dummy ${ncn_progname}; ac_word=$2
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10858 $as_echo_n "checking
for $ac_word...
" >&6; }
10859 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10860 $as_echo_n "(cached
) " >&6
10862 if test -n "$AR_FOR_TARGET"; then
10863 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10866 for as_dir in $PATH
10869 test -z "$as_dir" && as_dir=.
10870 for ac_exec_ext in '' $ac_executable_extensions; do
10871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10872 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10882 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10883 if test -n "$AR_FOR_TARGET"; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10885 $as_echo "$AR_FOR_TARGET" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10888 $as_echo "no
" >&6; }
10893 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10897 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10899 if test $build = $target ; then
10902 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10905 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10909 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10915 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10916 if test -n "$with_build_time_tools"; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10918 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10919 if test -x $with_build_time_tools/as; then
10920 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10921 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10923 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10926 $as_echo "no
" >&6; }
10928 elif test $build != $host && test $have_gcc_for_target = yes; then
10929 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10930 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10931 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10934 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10935 # Extract the first word of "as
", so it can be a program name with args.
10936 set dummy as; ac_word=$2
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10938 $as_echo_n "checking
for $ac_word...
" >&6; }
10939 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10940 $as_echo_n "(cached
) " >&6
10942 case $AS_FOR_TARGET in
10944 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10948 for as_dir in $gcc_cv_tool_dirs
10951 test -z "$as_dir" && as_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10965 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10966 if test -n "$AS_FOR_TARGET"; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10968 $as_echo "$AS_FOR_TARGET" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10971 $as_echo "no
" >&6; }
10976 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10979 if test -n "$AS_FOR_TARGET"; then
10980 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10981 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10982 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10985 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10986 for ncn_progname in as; do
10987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10988 set dummy ${ncn_progname}; ac_word=$2
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10990 $as_echo_n "checking
for $ac_word...
" >&6; }
10991 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10992 $as_echo_n "(cached
) " >&6
10994 if test -n "$AS_FOR_TARGET"; then
10995 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11004 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11014 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11015 if test -n "$AS_FOR_TARGET"; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11017 $as_echo "$AS_FOR_TARGET" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11020 $as_echo "no
" >&6; }
11027 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11028 for ncn_progname in as; do
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11030 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11031 if test -x $with_build_time_tools/${ncn_progname}; then
11032 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11034 $as_echo "yes" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11038 $as_echo "no
" >&6; }
11043 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11044 for ncn_progname in as; do
11045 if test -n "$ncn_target_tool_prefix"; then
11046 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11047 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11049 $as_echo_n "checking
for $ac_word...
" >&6; }
11050 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11051 $as_echo_n "(cached
) " >&6
11053 if test -n "$AS_FOR_TARGET"; then
11054 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11073 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11074 if test -n "$AS_FOR_TARGET"; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11076 $as_echo "$AS_FOR_TARGET" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11079 $as_echo "no
" >&6; }
11084 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11086 set dummy ${ncn_progname}; ac_word=$2
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11088 $as_echo_n "checking
for $ac_word...
" >&6; }
11089 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11090 $as_echo_n "(cached
) " >&6
11092 if test -n "$AS_FOR_TARGET"; then
11093 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11096 for as_dir in $PATH
11099 test -z "$as_dir" && as_dir=.
11100 for ac_exec_ext in '' $ac_executable_extensions; do
11101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11102 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11112 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11113 if test -n "$AS_FOR_TARGET"; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11115 $as_echo "$AS_FOR_TARGET" >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11118 $as_echo "no
" >&6; }
11123 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11127 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11129 if test $build = $target ; then
11132 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11135 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11139 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11145 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11146 if test -n "$with_build_time_tools"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11148 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11149 if test -x $with_build_time_tools/dlltool; then
11150 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11151 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11153 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11156 $as_echo "no
" >&6; }
11158 elif test $build != $host && test $have_gcc_for_target = yes; then
11159 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11160 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11161 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11164 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11165 # Extract the first word of "dlltool
", so it can be a program name with args.
11166 set dummy dlltool; ac_word=$2
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11168 $as_echo_n "checking
for $ac_word...
" >&6; }
11169 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11170 $as_echo_n "(cached
) " >&6
11172 case $DLLTOOL_FOR_TARGET in
11174 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11178 for as_dir in $gcc_cv_tool_dirs
11181 test -z "$as_dir" && as_dir=.
11182 for ac_exec_ext in '' $ac_executable_extensions; do
11183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11184 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11196 if test -n "$DLLTOOL_FOR_TARGET"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11198 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11206 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11209 if test -n "$DLLTOOL_FOR_TARGET"; then
11210 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11211 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11212 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11215 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11216 for ncn_progname in dlltool; do
11217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11218 set dummy ${ncn_progname}; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11220 $as_echo_n "checking
for $ac_word...
" >&6; }
11221 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11222 $as_echo_n "(cached
) " >&6
11224 if test -n "$DLLTOOL_FOR_TARGET"; then
11225 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11231 test -z "$as_dir" && as_dir=.
11232 for ac_exec_ext in '' $ac_executable_extensions; do
11233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11234 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11244 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11245 if test -n "$DLLTOOL_FOR_TARGET"; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11247 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11250 $as_echo "no
" >&6; }
11257 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11258 for ncn_progname in dlltool; do
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11260 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11261 if test -x $with_build_time_tools/${ncn_progname}; then
11262 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11264 $as_echo "yes" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11268 $as_echo "no
" >&6; }
11273 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11274 for ncn_progname in dlltool; do
11275 if test -n "$ncn_target_tool_prefix"; then
11276 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11279 $as_echo_n "checking
for $ac_word...
" >&6; }
11280 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11281 $as_echo_n "(cached
) " >&6
11283 if test -n "$DLLTOOL_FOR_TARGET"; then
11284 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287 for as_dir in $PATH
11290 test -z "$as_dir" && as_dir=.
11291 for ac_exec_ext in '' $ac_executable_extensions; do
11292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11293 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11303 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11304 if test -n "$DLLTOOL_FOR_TARGET"; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11306 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11309 $as_echo "no
" >&6; }
11314 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11316 set dummy ${ncn_progname}; ac_word=$2
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11318 $as_echo_n "checking
for $ac_word...
" >&6; }
11319 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11320 $as_echo_n "(cached
) " >&6
11322 if test -n "$DLLTOOL_FOR_TARGET"; then
11323 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11326 for as_dir in $PATH
11329 test -z "$as_dir" && as_dir=.
11330 for ac_exec_ext in '' $ac_executable_extensions; do
11331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11332 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11342 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11343 if test -n "$DLLTOOL_FOR_TARGET"; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11345 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11348 $as_echo "no
" >&6; }
11353 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11357 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11359 if test $build = $target ; then
11360 DLLTOOL_FOR_TARGET="$2"
11362 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11365 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11369 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11375 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11376 if test -n "$with_build_time_tools"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11378 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11379 if test -x $with_build_time_tools/ld; then
11380 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11381 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11383 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11386 $as_echo "no
" >&6; }
11388 elif test $build != $host && test $have_gcc_for_target = yes; then
11389 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11390 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11391 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11394 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11395 # Extract the first word of "ld
", so it can be a program name with args.
11396 set dummy ld; ac_word=$2
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11398 $as_echo_n "checking
for $ac_word...
" >&6; }
11399 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11400 $as_echo_n "(cached
) " >&6
11402 case $LD_FOR_TARGET in
11404 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11408 for as_dir in $gcc_cv_tool_dirs
11411 test -z "$as_dir" && as_dir=.
11412 for ac_exec_ext in '' $ac_executable_extensions; do
11413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11414 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11425 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11426 if test -n "$LD_FOR_TARGET"; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11428 $as_echo "$LD_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11431 $as_echo "no
" >&6; }
11436 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11439 if test -n "$LD_FOR_TARGET"; then
11440 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11441 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11442 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11445 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11446 for ncn_progname in ld; do
11447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11448 set dummy ${ncn_progname}; ac_word=$2
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11450 $as_echo_n "checking
for $ac_word...
" >&6; }
11451 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11452 $as_echo_n "(cached
) " >&6
11454 if test -n "$LD_FOR_TARGET"; then
11455 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11458 for as_dir in $PATH
11461 test -z "$as_dir" && as_dir=.
11462 for ac_exec_ext in '' $ac_executable_extensions; do
11463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11464 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11474 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11475 if test -n "$LD_FOR_TARGET"; then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11477 $as_echo "$LD_FOR_TARGET" >&6; }
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11480 $as_echo "no
" >&6; }
11487 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11488 for ncn_progname in ld; do
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11490 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11491 if test -x $with_build_time_tools/${ncn_progname}; then
11492 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11494 $as_echo "yes" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11498 $as_echo "no
" >&6; }
11503 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11504 for ncn_progname in ld; do
11505 if test -n "$ncn_target_tool_prefix"; then
11506 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11509 $as_echo_n "checking
for $ac_word...
" >&6; }
11510 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11511 $as_echo_n "(cached
) " >&6
11513 if test -n "$LD_FOR_TARGET"; then
11514 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11517 for as_dir in $PATH
11520 test -z "$as_dir" && as_dir=.
11521 for ac_exec_ext in '' $ac_executable_extensions; do
11522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11523 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11533 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11534 if test -n "$LD_FOR_TARGET"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11536 $as_echo "$LD_FOR_TARGET" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11539 $as_echo "no
" >&6; }
11544 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11546 set dummy ${ncn_progname}; ac_word=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11548 $as_echo_n "checking
for $ac_word...
" >&6; }
11549 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11550 $as_echo_n "(cached
) " >&6
11552 if test -n "$LD_FOR_TARGET"; then
11553 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556 for as_dir in $PATH
11559 test -z "$as_dir" && as_dir=.
11560 for ac_exec_ext in '' $ac_executable_extensions; do
11561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11562 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11572 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11573 if test -n "$LD_FOR_TARGET"; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11575 $as_echo "$LD_FOR_TARGET" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11578 $as_echo "no
" >&6; }
11583 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11587 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11589 if test $build = $target ; then
11592 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11595 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11599 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11605 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11606 if test -n "$with_build_time_tools"; then
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11608 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11609 if test -x $with_build_time_tools/lipo; then
11610 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11611 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11613 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11616 $as_echo "no
" >&6; }
11618 elif test $build != $host && test $have_gcc_for_target = yes; then
11619 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11620 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11621 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11624 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11625 # Extract the first word of "lipo
", so it can be a program name with args.
11626 set dummy lipo; ac_word=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11628 $as_echo_n "checking
for $ac_word...
" >&6; }
11629 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11630 $as_echo_n "(cached
) " >&6
11632 case $LIPO_FOR_TARGET in
11634 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $gcc_cv_tool_dirs
11641 test -z "$as_dir" && as_dir=.
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11644 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11655 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11656 if test -n "$LIPO_FOR_TARGET"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11658 $as_echo "$LIPO_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11661 $as_echo "no
" >&6; }
11666 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11669 if test -n "$LIPO_FOR_TARGET"; then
11670 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11671 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11672 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11675 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11676 for ncn_progname in lipo; do
11677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11678 set dummy ${ncn_progname}; ac_word=$2
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11680 $as_echo_n "checking
for $ac_word...
" >&6; }
11681 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11682 $as_echo_n "(cached
) " >&6
11684 if test -n "$LIPO_FOR_TARGET"; then
11685 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11688 for as_dir in $PATH
11691 test -z "$as_dir" && as_dir=.
11692 for ac_exec_ext in '' $ac_executable_extensions; do
11693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11694 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11704 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11705 if test -n "$LIPO_FOR_TARGET"; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11707 $as_echo "$LIPO_FOR_TARGET" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11710 $as_echo "no
" >&6; }
11717 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11718 for ncn_progname in lipo; do
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11720 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11721 if test -x $with_build_time_tools/${ncn_progname}; then
11722 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11724 $as_echo "yes" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11728 $as_echo "no
" >&6; }
11733 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11734 for ncn_progname in lipo; do
11735 if test -n "$ncn_target_tool_prefix"; then
11736 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11737 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11739 $as_echo_n "checking
for $ac_word...
" >&6; }
11740 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11741 $as_echo_n "(cached
) " >&6
11743 if test -n "$LIPO_FOR_TARGET"; then
11744 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11753 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11763 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11764 if test -n "$LIPO_FOR_TARGET"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11766 $as_echo "$LIPO_FOR_TARGET" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11774 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11776 set dummy ${ncn_progname}; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11778 $as_echo_n "checking
for $ac_word...
" >&6; }
11779 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11780 $as_echo_n "(cached
) " >&6
11782 if test -n "$LIPO_FOR_TARGET"; then
11783 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11792 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11802 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11803 if test -n "$LIPO_FOR_TARGET"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11805 $as_echo "$LIPO_FOR_TARGET" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11808 $as_echo "no
" >&6; }
11813 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11817 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11819 if test $build = $target ; then
11820 LIPO_FOR_TARGET="$2"
11822 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11825 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11829 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11835 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11836 if test -n "$with_build_time_tools"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11838 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11839 if test -x $with_build_time_tools/nm; then
11840 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11841 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11843 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11846 $as_echo "no
" >&6; }
11848 elif test $build != $host && test $have_gcc_for_target = yes; then
11849 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11850 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11851 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11854 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11855 # Extract the first word of "nm
", so it can be a program name with args.
11856 set dummy nm; ac_word=$2
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11858 $as_echo_n "checking
for $ac_word...
" >&6; }
11859 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11860 $as_echo_n "(cached
) " >&6
11862 case $NM_FOR_TARGET in
11864 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $gcc_cv_tool_dirs
11871 test -z "$as_dir" && as_dir=.
11872 for ac_exec_ext in '' $ac_executable_extensions; do
11873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11874 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11885 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11886 if test -n "$NM_FOR_TARGET"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11888 $as_echo "$NM_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11891 $as_echo "no
" >&6; }
11896 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11899 if test -n "$NM_FOR_TARGET"; then
11900 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11901 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11902 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11905 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11906 for ncn_progname in nm; do
11907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11908 set dummy ${ncn_progname}; ac_word=$2
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11910 $as_echo_n "checking
for $ac_word...
" >&6; }
11911 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11912 $as_echo_n "(cached
) " >&6
11914 if test -n "$NM_FOR_TARGET"; then
11915 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918 for as_dir in $PATH
11921 test -z "$as_dir" && as_dir=.
11922 for ac_exec_ext in '' $ac_executable_extensions; do
11923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11924 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11934 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11935 if test -n "$NM_FOR_TARGET"; then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11937 $as_echo "$NM_FOR_TARGET" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11940 $as_echo "no
" >&6; }
11947 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11948 for ncn_progname in nm; do
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11950 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11951 if test -x $with_build_time_tools/${ncn_progname}; then
11952 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11954 $as_echo "yes" >&6; }
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11958 $as_echo "no
" >&6; }
11963 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11964 for ncn_progname in nm; do
11965 if test -n "$ncn_target_tool_prefix"; then
11966 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11967 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11969 $as_echo_n "checking
for $ac_word...
" >&6; }
11970 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11971 $as_echo_n "(cached
) " >&6
11973 if test -n "$NM_FOR_TARGET"; then
11974 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11993 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11994 if test -n "$NM_FOR_TARGET"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11996 $as_echo "$NM_FOR_TARGET" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11999 $as_echo "no
" >&6; }
12004 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12006 set dummy ${ncn_progname}; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12008 $as_echo_n "checking
for $ac_word...
" >&6; }
12009 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12010 $as_echo_n "(cached
) " >&6
12012 if test -n "$NM_FOR_TARGET"; then
12013 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12022 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12032 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12033 if test -n "$NM_FOR_TARGET"; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12035 $as_echo "$NM_FOR_TARGET" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12038 $as_echo "no
" >&6; }
12043 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12047 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12049 if test $build = $target ; then
12052 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12055 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12059 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12065 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12066 if test -n "$with_build_time_tools"; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12068 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12069 if test -x $with_build_time_tools/objdump; then
12070 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12071 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12073 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12076 $as_echo "no
" >&6; }
12078 elif test $build != $host && test $have_gcc_for_target = yes; then
12079 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12080 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12081 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12084 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12085 # Extract the first word of "objdump
", so it can be a program name with args.
12086 set dummy objdump; ac_word=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12088 $as_echo_n "checking
for $ac_word...
" >&6; }
12089 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12090 $as_echo_n "(cached
) " >&6
12092 case $OBJDUMP_FOR_TARGET in
12094 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $gcc_cv_tool_dirs
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12104 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12115 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12116 if test -n "$OBJDUMP_FOR_TARGET"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12118 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12121 $as_echo "no
" >&6; }
12126 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12129 if test -n "$OBJDUMP_FOR_TARGET"; then
12130 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12131 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12132 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12135 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12136 for ncn_progname in objdump; do
12137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12138 set dummy ${ncn_progname}; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12140 $as_echo_n "checking
for $ac_word...
" >&6; }
12141 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12142 $as_echo_n "(cached
) " >&6
12144 if test -n "$OBJDUMP_FOR_TARGET"; then
12145 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12154 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12164 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12165 if test -n "$OBJDUMP_FOR_TARGET"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12167 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12170 $as_echo "no
" >&6; }
12177 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12178 for ncn_progname in objdump; do
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12180 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12181 if test -x $with_build_time_tools/${ncn_progname}; then
12182 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12184 $as_echo "yes" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12188 $as_echo "no
" >&6; }
12193 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12194 for ncn_progname in objdump; do
12195 if test -n "$ncn_target_tool_prefix"; then
12196 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12197 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12199 $as_echo_n "checking
for $ac_word...
" >&6; }
12200 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12201 $as_echo_n "(cached
) " >&6
12203 if test -n "$OBJDUMP_FOR_TARGET"; then
12204 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $PATH
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12213 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12223 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12224 if test -n "$OBJDUMP_FOR_TARGET"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12226 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12229 $as_echo "no
" >&6; }
12234 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12236 set dummy ${ncn_progname}; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12238 $as_echo_n "checking
for $ac_word...
" >&6; }
12239 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12240 $as_echo_n "(cached
) " >&6
12242 if test -n "$OBJDUMP_FOR_TARGET"; then
12243 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12249 test -z "$as_dir" && as_dir=.
12250 for ac_exec_ext in '' $ac_executable_extensions; do
12251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12252 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12262 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12263 if test -n "$OBJDUMP_FOR_TARGET"; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12265 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12268 $as_echo "no
" >&6; }
12273 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12277 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12279 if test $build = $target ; then
12280 OBJDUMP_FOR_TARGET="$2"
12282 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12285 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12289 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12295 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12296 if test -n "$with_build_time_tools"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12298 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12299 if test -x $with_build_time_tools/ranlib; then
12300 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12301 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12303 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12306 $as_echo "no
" >&6; }
12308 elif test $build != $host && test $have_gcc_for_target = yes; then
12309 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12310 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12311 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12314 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12315 # Extract the first word of "ranlib
", so it can be a program name with args.
12316 set dummy ranlib; ac_word=$2
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12318 $as_echo_n "checking
for $ac_word...
" >&6; }
12319 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12320 $as_echo_n "(cached
) " >&6
12322 case $RANLIB_FOR_TARGET in
12324 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $gcc_cv_tool_dirs
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12334 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12345 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12346 if test -n "$RANLIB_FOR_TARGET"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12348 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12351 $as_echo "no
" >&6; }
12356 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12359 if test -n "$RANLIB_FOR_TARGET"; then
12360 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12361 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12362 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12365 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12366 for ncn_progname in ranlib; do
12367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12368 set dummy ${ncn_progname}; ac_word=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12370 $as_echo_n "checking
for $ac_word...
" >&6; }
12371 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12372 $as_echo_n "(cached
) " >&6
12374 if test -n "$RANLIB_FOR_TARGET"; then
12375 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12381 test -z "$as_dir" && as_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12394 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12395 if test -n "$RANLIB_FOR_TARGET"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12397 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12400 $as_echo "no
" >&6; }
12407 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12408 for ncn_progname in ranlib; do
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12410 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12411 if test -x $with_build_time_tools/${ncn_progname}; then
12412 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12414 $as_echo "yes" >&6; }
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12418 $as_echo "no
" >&6; }
12423 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12424 for ncn_progname in ranlib; do
12425 if test -n "$ncn_target_tool_prefix"; then
12426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12429 $as_echo_n "checking
for $ac_word...
" >&6; }
12430 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12431 $as_echo_n "(cached
) " >&6
12433 if test -n "$RANLIB_FOR_TARGET"; then
12434 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12453 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12454 if test -n "$RANLIB_FOR_TARGET"; then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12456 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12459 $as_echo "no
" >&6; }
12464 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12466 set dummy ${ncn_progname}; ac_word=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12468 $as_echo_n "checking
for $ac_word...
" >&6; }
12469 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12470 $as_echo_n "(cached
) " >&6
12472 if test -n "$RANLIB_FOR_TARGET"; then
12473 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12476 for as_dir in $PATH
12479 test -z "$as_dir" && as_dir=.
12480 for ac_exec_ext in '' $ac_executable_extensions; do
12481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12482 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12492 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12493 if test -n "$RANLIB_FOR_TARGET"; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12495 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12498 $as_echo "no
" >&6; }
12503 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12507 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12509 if test $build = $target ; then
12510 RANLIB_FOR_TARGET="$2"
12512 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12515 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12519 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12525 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12526 if test -n "$with_build_time_tools"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12528 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12529 if test -x $with_build_time_tools/strip; then
12530 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12531 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12533 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12536 $as_echo "no
" >&6; }
12538 elif test $build != $host && test $have_gcc_for_target = yes; then
12539 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12540 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12541 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12544 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12545 # Extract the first word of "strip
", so it can be a program name with args.
12546 set dummy strip; ac_word=$2
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12548 $as_echo_n "checking
for $ac_word...
" >&6; }
12549 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12550 $as_echo_n "(cached
) " >&6
12552 case $STRIP_FOR_TARGET in
12554 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12558 for as_dir in $gcc_cv_tool_dirs
12561 test -z "$as_dir" && as_dir=.
12562 for ac_exec_ext in '' $ac_executable_extensions; do
12563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12564 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12576 if test -n "$STRIP_FOR_TARGET"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12578 $as_echo "$STRIP_FOR_TARGET" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12586 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12589 if test -n "$STRIP_FOR_TARGET"; then
12590 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12591 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12592 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12595 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12596 for ncn_progname in strip; do
12597 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12598 set dummy ${ncn_progname}; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12600 $as_echo_n "checking
for $ac_word...
" >&6; }
12601 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12602 $as_echo_n "(cached
) " >&6
12604 if test -n "$STRIP_FOR_TARGET"; then
12605 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12624 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12625 if test -n "$STRIP_FOR_TARGET"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12627 $as_echo "$STRIP_FOR_TARGET" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12630 $as_echo "no
" >&6; }
12637 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12638 for ncn_progname in strip; do
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12640 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12641 if test -x $with_build_time_tools/${ncn_progname}; then
12642 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12644 $as_echo "yes" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12648 $as_echo "no
" >&6; }
12653 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12654 for ncn_progname in strip; do
12655 if test -n "$ncn_target_tool_prefix"; then
12656 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12657 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12659 $as_echo_n "checking
for $ac_word...
" >&6; }
12660 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12661 $as_echo_n "(cached
) " >&6
12663 if test -n "$STRIP_FOR_TARGET"; then
12664 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $PATH
12670 test -z "$as_dir" && as_dir=.
12671 for ac_exec_ext in '' $ac_executable_extensions; do
12672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12673 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12683 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12684 if test -n "$STRIP_FOR_TARGET"; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12686 $as_echo "$STRIP_FOR_TARGET" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12689 $as_echo "no
" >&6; }
12694 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12695 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12696 set dummy ${ncn_progname}; ac_word=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12698 $as_echo_n "checking
for $ac_word...
" >&6; }
12699 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12700 $as_echo_n "(cached
) " >&6
12702 if test -n "$STRIP_FOR_TARGET"; then
12703 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12706 for as_dir in $PATH
12709 test -z "$as_dir" && as_dir=.
12710 for ac_exec_ext in '' $ac_executable_extensions; do
12711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12712 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12722 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12723 if test -n "$STRIP_FOR_TARGET"; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12725 $as_echo "$STRIP_FOR_TARGET" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12728 $as_echo "no
" >&6; }
12733 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12737 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12739 if test $build = $target ; then
12740 STRIP_FOR_TARGET="$2"
12742 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12745 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12749 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12755 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12756 if test -n "$with_build_time_tools"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12758 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12759 if test -x $with_build_time_tools/windres; then
12760 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12761 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12763 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12766 $as_echo "no
" >&6; }
12768 elif test $build != $host && test $have_gcc_for_target = yes; then
12769 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12770 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12771 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12774 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12775 # Extract the first word of "windres
", so it can be a program name with args.
12776 set dummy windres; ac_word=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12778 $as_echo_n "checking
for $ac_word...
" >&6; }
12779 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12780 $as_echo_n "(cached
) " >&6
12782 case $WINDRES_FOR_TARGET in
12784 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $gcc_cv_tool_dirs
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12794 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12805 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12806 if test -n "$WINDRES_FOR_TARGET"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12808 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12811 $as_echo "no
" >&6; }
12816 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12819 if test -n "$WINDRES_FOR_TARGET"; then
12820 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12821 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12822 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12825 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12826 for ncn_progname in windres; do
12827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12828 set dummy ${ncn_progname}; ac_word=$2
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12830 $as_echo_n "checking
for $ac_word...
" >&6; }
12831 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12832 $as_echo_n "(cached
) " >&6
12834 if test -n "$WINDRES_FOR_TARGET"; then
12835 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838 for as_dir in $PATH
12841 test -z "$as_dir" && as_dir=.
12842 for ac_exec_ext in '' $ac_executable_extensions; do
12843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12844 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12854 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12855 if test -n "$WINDRES_FOR_TARGET"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12857 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12860 $as_echo "no
" >&6; }
12867 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12868 for ncn_progname in windres; do
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12870 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12871 if test -x $with_build_time_tools/${ncn_progname}; then
12872 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12874 $as_echo "yes" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12878 $as_echo "no
" >&6; }
12883 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12884 for ncn_progname in windres; do
12885 if test -n "$ncn_target_tool_prefix"; then
12886 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12887 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12889 $as_echo_n "checking
for $ac_word...
" >&6; }
12890 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12891 $as_echo_n "(cached
) " >&6
12893 if test -n "$WINDRES_FOR_TARGET"; then
12894 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12913 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12914 if test -n "$WINDRES_FOR_TARGET"; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12916 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12919 $as_echo "no
" >&6; }
12924 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12926 set dummy ${ncn_progname}; ac_word=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12928 $as_echo_n "checking
for $ac_word...
" >&6; }
12929 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12930 $as_echo_n "(cached
) " >&6
12932 if test -n "$WINDRES_FOR_TARGET"; then
12933 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12936 for as_dir in $PATH
12939 test -z "$as_dir" && as_dir=.
12940 for ac_exec_ext in '' $ac_executable_extensions; do
12941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12942 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12952 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12953 if test -n "$WINDRES_FOR_TARGET"; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12955 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12958 $as_echo "no
" >&6; }
12963 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12967 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12969 if test $build = $target ; then
12970 WINDRES_FOR_TARGET="$2"
12972 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12975 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12979 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12985 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12986 if test -n "$with_build_time_tools"; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12988 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12989 if test -x $with_build_time_tools/windmc; then
12990 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12991 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12993 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12996 $as_echo "no
" >&6; }
12998 elif test $build != $host && test $have_gcc_for_target = yes; then
12999 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13000 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13001 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13004 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13005 # Extract the first word of "windmc
", so it can be a program name with args.
13006 set dummy windmc; ac_word=$2
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13008 $as_echo_n "checking
for $ac_word...
" >&6; }
13009 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13010 $as_echo_n "(cached
) " >&6
13012 case $WINDMC_FOR_TARGET in
13014 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13018 for as_dir in $gcc_cv_tool_dirs
13021 test -z "$as_dir" && as_dir=.
13022 for ac_exec_ext in '' $ac_executable_extensions; do
13023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13024 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13035 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13036 if test -n "$WINDMC_FOR_TARGET"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13038 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13041 $as_echo "no
" >&6; }
13046 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13049 if test -n "$WINDMC_FOR_TARGET"; then
13050 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13051 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13052 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13055 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13056 for ncn_progname in windmc; do
13057 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13058 set dummy ${ncn_progname}; ac_word=$2
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13060 $as_echo_n "checking
for $ac_word...
" >&6; }
13061 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13062 $as_echo_n "(cached
) " >&6
13064 if test -n "$WINDMC_FOR_TARGET"; then
13065 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068 for as_dir in $PATH
13071 test -z "$as_dir" && as_dir=.
13072 for ac_exec_ext in '' $ac_executable_extensions; do
13073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13074 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13084 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13085 if test -n "$WINDMC_FOR_TARGET"; then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13087 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13090 $as_echo "no
" >&6; }
13097 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13098 for ncn_progname in windmc; do
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13100 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13101 if test -x $with_build_time_tools/${ncn_progname}; then
13102 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13104 $as_echo "yes" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13108 $as_echo "no
" >&6; }
13113 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13114 for ncn_progname in windmc; do
13115 if test -n "$ncn_target_tool_prefix"; then
13116 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13117 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13119 $as_echo_n "checking
for $ac_word...
" >&6; }
13120 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13121 $as_echo_n "(cached
) " >&6
13123 if test -n "$WINDMC_FOR_TARGET"; then
13124 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13133 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13143 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13144 if test -n "$WINDMC_FOR_TARGET"; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13146 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13149 $as_echo "no
" >&6; }
13154 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13156 set dummy ${ncn_progname}; ac_word=$2
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13158 $as_echo_n "checking
for $ac_word...
" >&6; }
13159 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13160 $as_echo_n "(cached
) " >&6
13162 if test -n "$WINDMC_FOR_TARGET"; then
13163 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13172 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13182 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13183 if test -n "$WINDMC_FOR_TARGET"; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13185 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13188 $as_echo "no
" >&6; }
13193 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13197 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13199 if test $build = $target ; then
13200 WINDMC_FOR_TARGET="$2"
13202 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13205 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13209 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13213 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13216 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13217 if test "x
${build}" != "x
${host}" ; then
13218 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13219 # We already found the complete path
13220 ac_dir=`dirname $AR_FOR_TARGET`
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13222 $as_echo "pre-installed
in $ac_dir" >&6; }
13224 # Canadian cross, just use what we found
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13226 $as_echo "pre-installed
" >&6; }
13230 case " ${configdirs} " in
13235 if test $ok = yes; then
13236 # An in-tree tool is available and we can use it
13237 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13239 $as_echo "just compiled
" >&6; }
13240 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13241 # We already found the complete path
13242 ac_dir=`dirname $AR_FOR_TARGET`
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13244 $as_echo "pre-installed
in $ac_dir" >&6; }
13245 elif test "x
$target" = "x
$host"; then
13246 # We can use an host tool
13247 AR_FOR_TARGET='$(AR)'
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13249 $as_echo "host tool
" >&6; }
13251 # We need a cross tool
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13253 $as_echo "pre-installed
" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13258 $as_echo_n "checking where to
find the target as...
" >&6; }
13259 if test "x
${build}" != "x
${host}" ; then
13260 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13261 # We already found the complete path
13262 ac_dir=`dirname $AS_FOR_TARGET`
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13264 $as_echo "pre-installed
in $ac_dir" >&6; }
13266 # Canadian cross, just use what we found
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13268 $as_echo "pre-installed
" >&6; }
13272 case " ${configdirs} " in
13277 if test $ok = yes; then
13278 # An in-tree tool is available and we can use it
13279 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13281 $as_echo "just compiled
" >&6; }
13282 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13283 # We already found the complete path
13284 ac_dir=`dirname $AS_FOR_TARGET`
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13286 $as_echo "pre-installed
in $ac_dir" >&6; }
13287 elif test "x
$target" = "x
$host"; then
13288 # We can use an host tool
13289 AS_FOR_TARGET='$(AS)'
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13291 $as_echo "host tool
" >&6; }
13293 # We need a cross tool
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13295 $as_echo "pre-installed
" >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13300 $as_echo_n "checking where to
find the target cc...
" >&6; }
13301 if test "x
${build}" != "x
${host}" ; then
13302 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13303 # We already found the complete path
13304 ac_dir=`dirname $CC_FOR_TARGET`
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13306 $as_echo "pre-installed
in $ac_dir" >&6; }
13308 # Canadian cross, just use what we found
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13310 $as_echo "pre-installed
" >&6; }
13314 case " ${configdirs} " in
13319 if test $ok = yes; then
13320 # An in-tree tool is available and we can use it
13321 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13323 $as_echo "just compiled
" >&6; }
13324 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13325 # We already found the complete path
13326 ac_dir=`dirname $CC_FOR_TARGET`
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13328 $as_echo "pre-installed
in $ac_dir" >&6; }
13329 elif test "x
$target" = "x
$host"; then
13330 # We can use an host tool
13331 CC_FOR_TARGET='$(CC)'
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13333 $as_echo "host tool
" >&6; }
13335 # We need a cross tool
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13337 $as_echo "pre-installed
" >&6; }
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13342 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13343 if test "x
${build}" != "x
${host}" ; then
13344 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13345 # We already found the complete path
13346 ac_dir=`dirname $CXX_FOR_TARGET`
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13348 $as_echo "pre-installed
in $ac_dir" >&6; }
13350 # Canadian cross, just use what we found
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13352 $as_echo "pre-installed
" >&6; }
13356 case " ${configdirs} " in
13360 case ,${enable_languages}, in
13364 if test $ok = yes; then
13365 # An in-tree tool is available and we can use it
13366 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'
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13368 $as_echo "just compiled
" >&6; }
13369 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13370 # We already found the complete path
13371 ac_dir=`dirname $CXX_FOR_TARGET`
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13373 $as_echo "pre-installed
in $ac_dir" >&6; }
13374 elif test "x
$target" = "x
$host"; then
13375 # We can use an host tool
13376 CXX_FOR_TARGET='$(CXX)'
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13378 $as_echo "host tool
" >&6; }
13380 # We need a cross tool
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13382 $as_echo "pre-installed
" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13387 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13388 if test "x
${build}" != "x
${host}" ; then
13389 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13390 # We already found the complete path
13391 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13393 $as_echo "pre-installed
in $ac_dir" >&6; }
13395 # Canadian cross, just use what we found
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13397 $as_echo "pre-installed
" >&6; }
13401 case " ${configdirs} " in
13405 case ,${enable_languages}, in
13409 if test $ok = yes; then
13410 # An in-tree tool is available and we can use it
13411 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'
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13413 $as_echo "just compiled
" >&6; }
13414 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13415 # We already found the complete path
13416 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13418 $as_echo "pre-installed
in $ac_dir" >&6; }
13419 elif test "x
$target" = "x
$host"; then
13420 # We can use an host tool
13421 RAW_CXX_FOR_TARGET='$(CXX)'
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13423 $as_echo "host tool
" >&6; }
13425 # We need a cross tool
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13427 $as_echo "pre-installed
" >&6; }
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13432 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13433 if test "x
${build}" != "x
${host}" ; then
13434 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13435 # We already found the complete path
13436 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13438 $as_echo "pre-installed
in $ac_dir" >&6; }
13440 # Canadian cross, just use what we found
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13442 $as_echo "pre-installed
" >&6; }
13446 case " ${configdirs} " in
13451 if test $ok = yes; then
13452 # An in-tree tool is available and we can use it
13453 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13455 $as_echo "just compiled
" >&6; }
13456 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13457 # We already found the complete path
13458 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13460 $as_echo "pre-installed
in $ac_dir" >&6; }
13461 elif test "x
$target" = "x
$host"; then
13462 # We can use an host tool
13463 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13465 $as_echo "host tool
" >&6; }
13467 # We need a cross tool
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13469 $as_echo "pre-installed
" >&6; }
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13474 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13475 if test "x
${build}" != "x
${host}" ; then
13476 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13477 # We already found the complete path
13478 ac_dir=`dirname $GCC_FOR_TARGET`
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13480 $as_echo "pre-installed
in $ac_dir" >&6; }
13482 # Canadian cross, just use what we found
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13484 $as_echo "pre-installed
" >&6; }
13488 case " ${configdirs} " in
13493 if test $ok = yes; then
13494 # An in-tree tool is available and we can use it
13495 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13497 $as_echo "just compiled
" >&6; }
13498 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13499 # We already found the complete path
13500 ac_dir=`dirname $GCC_FOR_TARGET`
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13502 $as_echo "pre-installed
in $ac_dir" >&6; }
13503 elif test "x
$target" = "x
$host"; then
13504 # We can use an host tool
13505 GCC_FOR_TARGET='$()'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13507 $as_echo "host tool
" >&6; }
13509 # We need a cross tool
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13511 $as_echo "pre-installed
" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13516 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13517 if test "x
${build}" != "x
${host}" ; then
13518 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13519 # We already found the complete path
13520 ac_dir=`dirname $GCJ_FOR_TARGET`
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13522 $as_echo "pre-installed
in $ac_dir" >&6; }
13524 # Canadian cross, just use what we found
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13526 $as_echo "pre-installed
" >&6; }
13530 case " ${configdirs} " in
13534 case ,${enable_languages}, in
13538 if test $ok = yes; then
13539 # An in-tree tool is available and we can use it
13540 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13542 $as_echo "just compiled
" >&6; }
13543 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13544 # We already found the complete path
13545 ac_dir=`dirname $GCJ_FOR_TARGET`
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13547 $as_echo "pre-installed
in $ac_dir" >&6; }
13548 elif test "x
$target" = "x
$host"; then
13549 # We can use an host tool
13550 GCJ_FOR_TARGET='$(GCJ)'
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13552 $as_echo "host tool
" >&6; }
13554 # We need a cross tool
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13556 $as_echo "pre-installed
" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13561 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13562 if test "x
${build}" != "x
${host}" ; then
13563 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13564 # We already found the complete path
13565 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13567 $as_echo "pre-installed
in $ac_dir" >&6; }
13569 # Canadian cross, just use what we found
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13571 $as_echo "pre-installed
" >&6; }
13575 case " ${configdirs} " in
13579 case ,${enable_languages}, in
13583 if test $ok = yes; then
13584 # An in-tree tool is available and we can use it
13585 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13587 $as_echo "just compiled
" >&6; }
13588 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13589 # We already found the complete path
13590 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13592 $as_echo "pre-installed
in $ac_dir" >&6; }
13593 elif test "x
$target" = "x
$host"; then
13594 # We can use an host tool
13595 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13597 $as_echo "host tool
" >&6; }
13599 # We need a cross tool
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13601 $as_echo "pre-installed
" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13606 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13607 if test "x
${build}" != "x
${host}" ; then
13608 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13609 # We already found the complete path
13610 ac_dir=`dirname $GOC_FOR_TARGET`
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13612 $as_echo "pre-installed
in $ac_dir" >&6; }
13614 # Canadian cross, just use what we found
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13616 $as_echo "pre-installed
" >&6; }
13620 case " ${configdirs} " in
13624 case ,${enable_languages}, in
13628 if test $ok = yes; then
13629 # An in-tree tool is available and we can use it
13630 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13632 $as_echo "just compiled
" >&6; }
13633 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13634 # We already found the complete path
13635 ac_dir=`dirname $GOC_FOR_TARGET`
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13637 $as_echo "pre-installed
in $ac_dir" >&6; }
13638 elif test "x
$target" = "x
$host"; then
13639 # We can use an host tool
13640 GOC_FOR_TARGET='$(GOC)'
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13642 $as_echo "host tool
" >&6; }
13644 # We need a cross tool
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13646 $as_echo "pre-installed
" >&6; }
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13651 $as_echo_n "checking where to
find the target ld...
" >&6; }
13652 if test "x
${build}" != "x
${host}" ; then
13653 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13654 # We already found the complete path
13655 ac_dir=`dirname $LD_FOR_TARGET`
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13657 $as_echo "pre-installed
in $ac_dir" >&6; }
13659 # Canadian cross, just use what we found
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13661 $as_echo "pre-installed
" >&6; }
13665 case " ${configdirs} " in
13670 if test $ok = yes; then
13671 # An in-tree tool is available and we can use it
13672 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13674 $as_echo "just compiled
" >&6; }
13675 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13676 # We already found the complete path
13677 ac_dir=`dirname $LD_FOR_TARGET`
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13679 $as_echo "pre-installed
in $ac_dir" >&6; }
13680 elif test "x
$target" = "x
$host"; then
13681 # We can use an host tool
13682 LD_FOR_TARGET='$(LD)'
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13684 $as_echo "host tool
" >&6; }
13686 # We need a cross tool
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13688 $as_echo "pre-installed
" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13693 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13694 if test "x
${build}" != "x
${host}" ; then
13695 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13696 # We already found the complete path
13697 ac_dir=`dirname $LIPO_FOR_TARGET`
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13699 $as_echo "pre-installed
in $ac_dir" >&6; }
13701 # Canadian cross, just use what we found
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13703 $as_echo "pre-installed
" >&6; }
13706 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13707 # We already found the complete path
13708 ac_dir=`dirname $LIPO_FOR_TARGET`
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13710 $as_echo "pre-installed
in $ac_dir" >&6; }
13711 elif test "x
$target" = "x
$host"; then
13712 # We can use an host tool
13713 LIPO_FOR_TARGET='$(LIPO)'
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13715 $as_echo "host tool
" >&6; }
13717 # We need a cross tool
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13719 $as_echo "pre-installed
" >&6; }
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13724 $as_echo_n "checking where to
find the target nm...
" >&6; }
13725 if test "x
${build}" != "x
${host}" ; then
13726 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13727 # We already found the complete path
13728 ac_dir=`dirname $NM_FOR_TARGET`
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13730 $as_echo "pre-installed
in $ac_dir" >&6; }
13732 # Canadian cross, just use what we found
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13734 $as_echo "pre-installed
" >&6; }
13738 case " ${configdirs} " in
13743 if test $ok = yes; then
13744 # An in-tree tool is available and we can use it
13745 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13747 $as_echo "just compiled
" >&6; }
13748 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13749 # We already found the complete path
13750 ac_dir=`dirname $NM_FOR_TARGET`
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13752 $as_echo "pre-installed
in $ac_dir" >&6; }
13753 elif test "x
$target" = "x
$host"; then
13754 # We can use an host tool
13755 NM_FOR_TARGET='$(NM)'
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13757 $as_echo "host tool
" >&6; }
13759 # We need a cross tool
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13761 $as_echo "pre-installed
" >&6; }
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13766 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13767 if test "x
${build}" != "x
${host}" ; then
13768 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13769 # We already found the complete path
13770 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13772 $as_echo "pre-installed
in $ac_dir" >&6; }
13774 # Canadian cross, just use what we found
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13776 $as_echo "pre-installed
" >&6; }
13780 case " ${configdirs} " in
13785 if test $ok = yes; then
13786 # An in-tree tool is available and we can use it
13787 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13789 $as_echo "just compiled
" >&6; }
13790 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13791 # We already found the complete path
13792 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13794 $as_echo "pre-installed
in $ac_dir" >&6; }
13795 elif test "x
$target" = "x
$host"; then
13796 # We can use an host tool
13797 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13799 $as_echo "host tool
" >&6; }
13801 # We need a cross tool
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13803 $as_echo "pre-installed
" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13808 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13809 if test "x
${build}" != "x
${host}" ; then
13810 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13811 # We already found the complete path
13812 ac_dir=`dirname $RANLIB_FOR_TARGET`
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13814 $as_echo "pre-installed
in $ac_dir" >&6; }
13816 # Canadian cross, just use what we found
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13818 $as_echo "pre-installed
" >&6; }
13822 case " ${configdirs} " in
13827 if test $ok = yes; then
13828 # An in-tree tool is available and we can use it
13829 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13831 $as_echo "just compiled
" >&6; }
13832 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13833 # We already found the complete path
13834 ac_dir=`dirname $RANLIB_FOR_TARGET`
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13836 $as_echo "pre-installed
in $ac_dir" >&6; }
13837 elif test "x
$target" = "x
$host"; then
13838 # We can use an host tool
13839 RANLIB_FOR_TARGET='$(RANLIB)'
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13841 $as_echo "host tool
" >&6; }
13843 # We need a cross tool
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13845 $as_echo "pre-installed
" >&6; }
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13850 $as_echo_n "checking where to
find the target strip...
" >&6; }
13851 if test "x
${build}" != "x
${host}" ; then
13852 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13853 # We already found the complete path
13854 ac_dir=`dirname $STRIP_FOR_TARGET`
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13856 $as_echo "pre-installed
in $ac_dir" >&6; }
13858 # Canadian cross, just use what we found
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13860 $as_echo "pre-installed
" >&6; }
13864 case " ${configdirs} " in
13869 if test $ok = yes; then
13870 # An in-tree tool is available and we can use it
13871 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13873 $as_echo "just compiled
" >&6; }
13874 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13875 # We already found the complete path
13876 ac_dir=`dirname $STRIP_FOR_TARGET`
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13878 $as_echo "pre-installed
in $ac_dir" >&6; }
13879 elif test "x
$target" = "x
$host"; then
13880 # We can use an host tool
13881 STRIP_FOR_TARGET='$(STRIP)'
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13883 $as_echo "host tool
" >&6; }
13885 # We need a cross tool
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13887 $as_echo "pre-installed
" >&6; }
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13892 $as_echo_n "checking where to
find the target windres...
" >&6; }
13893 if test "x
${build}" != "x
${host}" ; then
13894 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13895 # We already found the complete path
13896 ac_dir=`dirname $WINDRES_FOR_TARGET`
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13898 $as_echo "pre-installed
in $ac_dir" >&6; }
13900 # Canadian cross, just use what we found
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13902 $as_echo "pre-installed
" >&6; }
13906 case " ${configdirs} " in
13911 if test $ok = yes; then
13912 # An in-tree tool is available and we can use it
13913 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13915 $as_echo "just compiled
" >&6; }
13916 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13917 # We already found the complete path
13918 ac_dir=`dirname $WINDRES_FOR_TARGET`
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13920 $as_echo "pre-installed
in $ac_dir" >&6; }
13921 elif test "x
$target" = "x
$host"; then
13922 # We can use an host tool
13923 WINDRES_FOR_TARGET='$(WINDRES)'
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13925 $as_echo "host tool
" >&6; }
13927 # We need a cross tool
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13929 $as_echo "pre-installed
" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13934 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13935 if test "x
${build}" != "x
${host}" ; then
13936 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13937 # We already found the complete path
13938 ac_dir=`dirname $WINDMC_FOR_TARGET`
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13940 $as_echo "pre-installed
in $ac_dir" >&6; }
13942 # Canadian cross, just use what we found
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13944 $as_echo "pre-installed
" >&6; }
13948 case " ${configdirs} " in
13953 if test $ok = yes; then
13954 # An in-tree tool is available and we can use it
13955 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13957 $as_echo "just compiled
" >&6; }
13958 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13959 # We already found the complete path
13960 ac_dir=`dirname $WINDMC_FOR_TARGET`
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13962 $as_echo "pre-installed
in $ac_dir" >&6; }
13963 elif test "x
$target" = "x
$host"; then
13964 # We can use an host tool
13965 WINDMC_FOR_TARGET='$(WINDMC)'
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13967 $as_echo "host tool
" >&6; }
13969 # We need a cross tool
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13971 $as_echo "pre-installed
" >&6; }
13979 # Certain tools may need extra flags.
13980 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13981 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13982 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13984 # When building target libraries, except in a Canadian cross, we use
13985 # the same toolchain as the compiler we just built.
13986 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13987 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13988 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13989 if test $host = $build; then
13990 case " $configdirs " in
13992 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13993 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13994 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14004 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14005 # Check whether --enable-maintainer-mode was given.
14006 if test "${enable_maintainer_mode+set}" = set; then :
14007 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14009 USE_MAINTAINER_MODE=no
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14013 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14016 if test "$USE_MAINTAINER_MODE" = yes; then
14017 MAINTAINER_MODE_TRUE=
14018 MAINTAINER_MODE_FALSE='#'
14020 MAINTAINER_MODE_TRUE='#'
14021 MAINTAINER_MODE_FALSE=
14023 MAINT=$MAINTAINER_MODE_TRUE
14025 # ---------------------
14026 # GCC bootstrap support
14027 # ---------------------
14029 # Stage specific cflags for build.
14034 yes) stage1_cflags="-g -Wa,-J" ;;
14035 *) stage1_cflags="-g -J" ;;
14039 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14040 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14041 saved_CFLAGS="$CFLAGS"
14043 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14044 CFLAGS="$CFLAGS -fkeep-inline-functions"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14046 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 #if (__GNUC__ < 3) \
14051 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14052 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14053 #error http://gcc.gnu.org/PR29382
14064 if ac_fn_c_try_compile "$LINENO"; then :
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14066 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14069 $as_echo "no
" >&6; }
14071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14073 CFLAGS="$saved_CFLAGS"
14078 # Enable --enable-checking in stage1 of the compiler.
14079 # Check whether --enable-stage1-checking was given.
14080 if test "${enable_stage1_checking+set}" = set; then :
14081 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14083 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14084 stage1_checking=--enable-checking=yes,types
14086 stage1_checking=--enable-checking=$enable_checking,types
14092 # Enable -Werror in bootstrap stage2 and later.
14093 # Check whether --enable-werror was given.
14094 if test "${enable_werror+set}" = set; then :
14095 enableval=$enable_werror;
14097 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14104 case ${enable_werror} in
14105 yes) stage2_werror_flag="--enable-werror-always" ;;
14106 *) stage2_werror_flag="" ;;
14110 # Specify what files to not compare during bootstrap.
14112 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14114 hppa*64*-*-hpux*) ;;
14115 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14117 case " $configdirs " in
14118 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14122 ac_config_files="$ac_config_files Makefile
"
14124 cat >confcache <<\_ACEOF
14125 # This file is a shell script that caches the results of configure
14126 # tests run on this system so they can be shared between configure
14127 # scripts and configure runs, see configure's option --config-cache.
14128 # It is not useful on other systems. If it contains results you don't
14129 # want to keep, you may remove or edit it.
14131 # config.status only pays attention to the cache file if you give it
14132 # the --recheck option to rerun configure.
14134 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14135 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14136 # following values.
14140 # The following way of writing the cache mishandles newlines in values,
14141 # but we know of no workaround that is simple, portable, and efficient.
14142 # So, we kill variables containing newlines.
14143 # Ultrix sh set writes to stderr and can't be redirected directly,
14144 # and sets the high bit in the cache file unless we assign to the vars.
14146 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14147 eval ac_val=\$$ac_var
14151 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14152 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14155 _ | IFS | as_nl) ;; #(
14156 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14157 *) { eval $ac_var=; unset $ac_var;} ;;
14163 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14164 *${as_nl}ac_space=\ *)
14165 # `set' does not quote correctly, so add quotes: double-quote
14166 # substitution turns \\\\ into \\, and sed turns \\ into \.
14169 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14172 # `set' quotes correctly as required by POSIX, so do not add quotes.
14173 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14182 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14184 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14186 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14187 if test -w "$cache_file"; then
14188 test "x
$cache_file" != "x
/dev
/null
" &&
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14190 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14191 cat confcache >$cache_file
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14194 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14199 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14200 # Let make expand exec_prefix.
14201 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14203 # Transform confdefs.h into DEFS.
14204 # Protect against shell expansion while executing Makefile rules.
14205 # Protect against Makefile macro expansion.
14207 # If the first sed substitution is executed (which looks for macros that
14208 # take arguments), then branch to the quote section. Otherwise,
14209 # look for a macro that doesn't take arguments.
14219 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14221 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14225 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14238 DEFS=`sed -n "$ac_script" confdefs.h`
14243 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14244 # 1. Remove the extension, and $U if already installed.
14245 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14246 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14247 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14248 # will be set to the directory where LIBOBJS objects are built.
14249 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14250 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14252 LIBOBJS=$ac_libobjs
14254 LTLIBOBJS=$ac_ltlibobjs
14258 : ${CONFIG_STATUS=./config.status}
14260 ac_clean_files_save=$ac_clean_files
14261 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14267 # Generated by $as_me.
14268 # Run this file to recreate the current configuration.
14269 # Compiler output produced by configure, useful for debugging
14270 # configure, is in config.log if it exists.
14273 ac_cs_recheck=false
14276 SHELL=\${CONFIG_SHELL-$SHELL}
14279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14280 ## -------------------- ##
14281 ## M4sh Initialization. ##
14282 ## -------------------- ##
14284 # Be more Bourne compatible
14285 DUALCASE=1; export DUALCASE # for MKS sh
14286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14290 # is contrary to our usage. Disable this feature.
14291 alias -g '${1+"$@"}'='"$@"'
14292 setopt NO_GLOB_SUBST
14294 case `(set -o) 2>/dev/null` in #(
14306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14307 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14308 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14309 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14310 # Prefer a ksh shell builtin over an external printf program on Solaris,
14311 # but without wasting forks for bash or zsh.
14312 if test -z "$BASH_VERSION$ZSH_VERSION" \
14313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14314 as_echo
='print -r --'
14315 as_echo_n
='print -rn --'
14316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14317 as_echo
='printf %s\n'
14318 as_echo_n
='printf %s'
14320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14321 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14322 as_echo_n
='/usr/ucb/echo -n'
14324 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14325 as_echo_n_body
='eval
14329 expr "X$arg" : "X\\(.*\\)$as_nl";
14330 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14332 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14334 export as_echo_n_body
14335 as_echo_n
='sh -c $as_echo_n_body as_echo'
14337 export as_echo_body
14338 as_echo
='sh -c $as_echo_body as_echo'
14341 # The user is always right.
14342 if test "${PATH_SEPARATOR+set}" != set; then
14344 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14345 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14352 # We need space, tab and new line, in precisely that order. Quoting is
14353 # there to prevent editors from complaining about space-tab.
14354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14355 # splitting by setting IFS to empty value.)
14358 # Find who we are. Look in the path if we contain no directory separator.
14360 *[\\/]* ) as_myself
=$0 ;;
14361 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14362 for as_dir
in $PATH
14365 test -z "$as_dir" && as_dir
=.
14366 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14372 # We did not find ourselves, most probably we were run as `sh COMMAND'
14373 # in which case we are not to be found in the path.
14374 if test "x$as_myself" = x
; then
14377 if test ! -f "$as_myself"; then
14378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14382 # Unset variables that we do not need and which cause bugs (e.g. in
14383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14384 # suppresses any "Segmentation fault" message there. '((' could
14385 # trigger a bug in pdksh 5.2.14.
14386 for as_var
in BASH_ENV ENV MAIL MAILPATH
14387 do eval test x\
${$as_var+set} = xset \
14388 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14401 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14404 # as_fn_error ERROR [LINENO LOG_FD]
14405 # ---------------------------------
14406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14408 # script with status $?, using 1 if that was 0.
14411 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14413 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14416 $as_echo "$as_me: error: $1" >&2
14417 as_fn_exit
$as_status
14421 # as_fn_set_status STATUS
14422 # -----------------------
14423 # Set $? to STATUS, without forking.
14424 as_fn_set_status
()
14427 } # as_fn_set_status
14429 # as_fn_exit STATUS
14430 # -----------------
14431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14435 as_fn_set_status
$1
14441 # Portably unset VAR.
14444 { eval $1=; unset $1;}
14446 as_unset
=as_fn_unset
14447 # as_fn_append VAR VALUE
14448 # ----------------------
14449 # Append the text in VALUE to the end of the definition contained in VAR. Take
14450 # advantage of any shell optimizations that allow amortized linear growth over
14451 # repeated appends, instead of the typical quadratic growth present in naive
14453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14454 eval 'as_fn_append ()
14465 # as_fn_arith ARG...
14466 # ------------------
14467 # Perform arithmetic evaluation on the ARGs, and store the result in the
14468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14469 # must be portable across $(()) and expr.
14470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14471 eval 'as_fn_arith ()
14478 as_val
=`expr "$@" || test $? -eq 1`
14483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14490 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14491 as_basename
=basename
14496 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14502 as_me
=`$as_basename -- "$0" ||
14503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14504 X"$0" : 'X\(//\)$' \| \
14505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14507 sed '/^.*\/\([^/][^/]*\)\/*$/{
14521 # Avoid depending upon Character Ranges.
14522 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14523 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14524 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14525 as_cr_digits
='0123456789'
14526 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14528 ECHO_C
= ECHO_N
= ECHO_T
=
14529 case `echo -n x` in #(((((
14531 case `echo 'xy\c'` in
14532 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14534 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14541 rm -f conf$$ conf$$.exe conf$$.
file
14542 if test -d conf$$.dir
; then
14543 rm -f conf$$.dir
/conf$$.
file
14546 mkdir conf$$.dir
2>/dev
/null
14548 if (echo >conf$$.
file) 2>/dev
/null
; then
14549 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14551 # ... but there are two gotchas:
14552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14554 # In both cases, we have to default to `cp -p'.
14555 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14557 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14565 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14566 rmdir conf$$.dir
2>/dev
/null
14571 # Create "$as_dir" as a directory, including parents if necessary.
14576 -*) as_dir
=.
/$as_dir;;
14578 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14582 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14583 *) as_qdir
=$as_dir;;
14585 as_dirs
="'$as_qdir' $as_dirs"
14586 as_dir
=`$as_dirname -- "$as_dir" ||
14587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14588 X"$as_dir" : 'X\(//\)[^/]' \| \
14589 X"$as_dir" : 'X\(//\)$' \| \
14590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14591 $as_echo X"$as_dir" |
14592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14596 /^X\(\/\/\)[^/].*/{
14609 test -d "$as_dir" && break
14611 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14612 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14616 if mkdir
-p .
2>/dev
/null
; then
14617 as_mkdir_p
='mkdir -p "$as_dir"'
14619 test -d .
/-p && rmdir .
/-p
14623 if test -x / >/dev
/null
2>&1; then
14624 as_test_x
='test -x'
14626 if ls -dL / >/dev
/null
2>&1; then
14633 if test -d "$1"; then
14639 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14640 ???[sx]*):;;*)false;;esac;fi
14644 as_executable_p
=$as_test_x
14646 # Sed expression to map a string onto a valid CPP name.
14647 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14649 # Sed expression to map a string onto a valid variable name.
14650 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14654 ## ----------------------------------- ##
14655 ## Main body of $CONFIG_STATUS script. ##
14656 ## ----------------------------------- ##
14658 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14661 # Save the log message, to keep $0 and so on meaningful, and to
14662 # report actual input values of CONFIG_FILES etc. instead of their
14663 # values after options handling.
14665 This file was extended by $as_me, which was
14666 generated by GNU Autoconf 2.64. Invocation command line was
14668 CONFIG_FILES = $CONFIG_FILES
14669 CONFIG_HEADERS = $CONFIG_HEADERS
14670 CONFIG_LINKS = $CONFIG_LINKS
14671 CONFIG_COMMANDS = $CONFIG_COMMANDS
14674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14679 case $ac_config_files in *"
14680 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14686 # Files that config.status was made for.
14687 config_files="$ac_config_files"
14691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14693 \`$as_me' instantiates files and other configuration actions
14694 from templates according to the current configuration. Unless the files
14695 and actions are specified as TAGs, all are instantiated by default.
14697 Usage: $0 [OPTION]... [TAG]...
14699 -h, --help print this help, then exit
14700 -V, --version print version number and configuration settings, then exit
14701 -q, --quiet, --silent
14702 do not print progress messages
14703 -d, --debug don't remove temporary files
14704 --recheck update $as_me by reconfiguring in the same conditions
14705 --file=FILE[:TEMPLATE]
14706 instantiate the configuration file FILE
14708 Configuration files:
14711 Report bugs to the package provider."
14714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14717 configured by $0, generated by GNU Autoconf 2.64,
14718 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14720 Copyright (C) 2009 Free Software Foundation, Inc.
14721 This config.status script is free software; the Free Software Foundation
14722 gives unlimited permission to copy, distribute and modify it."
14728 test -n "\$AWK" || AWK=awk
14731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14732 # The default lists apply if the user does not specify any file.
14738 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14739 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14750 # Handling of the options.
14751 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14753 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14754 $as_echo "$ac_cs_version"; exit ;;
14755 --debug |
--debu |
--deb |
--de |
--d |
-d )
14757 --file |
--fil |
--fi |
--f )
14760 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14762 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14763 ac_need_defaults
=false
;;
14764 --he |
--h |
--help |
--hel |
-h )
14765 $as_echo "$ac_cs_usage"; exit ;;
14766 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14767 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14770 # This is an error.
14771 -*) as_fn_error
"unrecognized option: \`$1'
14772 Try \`$0 --help' for more information." ;;
14774 *) as_fn_append ac_config_targets
" $1"
14775 ac_need_defaults
=false
;;
14781 ac_configure_extra_args
=
14783 if $ac_cs_silent; then
14785 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14790 if \$ac_cs_recheck; then
14791 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14793 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14794 CONFIG_SHELL='$SHELL'
14795 export CONFIG_SHELL
14800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14804 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14805 ## Running $as_me. ##
14811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14815 extrasub_build="$extrasub_build"
14816 extrasub_host="$extrasub_host"
14817 extrasub_target="$extrasub_target"
14821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14823 # Handling of arguments.
14824 for ac_config_target
in $ac_config_targets
14826 case $ac_config_target in
14827 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14829 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14834 # If the user did not use the arguments to specify the items to instantiate,
14835 # then the envvar interface is used. Set only those that are not.
14836 # We use the long form for the default assignment because of an extremely
14837 # bizarre bug on SunOS 4.1.3.
14838 if $ac_need_defaults; then
14839 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14842 # Have a temporary directory for convenience. Make it in the build tree
14843 # simply because there is no reason against having it here, and in addition,
14844 # creating and moving files from /tmp can sometimes cause problems.
14845 # Hook for its removal unless debugging.
14846 # Note that there is a small window in which the directory will not be cleaned:
14847 # after its creation but before its name has been assigned to `$tmp'.
14851 trap 'exit_status=$?
14852 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14854 trap 'as_fn_exit 1' 1 2 13 15
14856 # Create a (secure) tmp directory for tmp files.
14859 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14860 test -n "$tmp" && test -d "$tmp"
14863 tmp
=.
/conf$$
-$RANDOM
14864 (umask 077 && mkdir
"$tmp")
14865 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14867 # Set up the scripts for CONFIG_FILES section.
14868 # No need to generate them if there are no CONFIG_FILES.
14869 # This happens for instance with `./config.status config.h'.
14870 if test -n "$CONFIG_FILES"; then
14872 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14873 ac_cs_awk_getline
=:
14874 ac_cs_awk_pipe_init
=
14875 ac_cs_awk_read_file
='
14876 while ((getline aline < (F[key])) > 0)
14879 ac_cs_awk_pipe_fini
=
14881 ac_cs_awk_getline
=false
14882 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14883 ac_cs_awk_read_file
='
14885 print "cat " F[key] " &&"
14886 '$ac_cs_awk_pipe_init
14887 # The final `:' finishes the AND list.
14888 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14890 ac_cr
=`echo X | tr X '\015'`
14891 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14892 # But we know of no other shell where ac_cr would be empty at this
14893 # point, so we can use a bashism as a fallback.
14894 if test "x$ac_cr" = x
; then
14895 eval ac_cr
=\$
\'\\r
\'
14897 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14898 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14901 ac_cs_awk_cr
=$ac_cr
14904 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14907 # Create commands to substitute file output variables.
14909 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14910 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14911 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14914 } >conf$
$files.sh
&&
14915 . .
/conf$
$files.sh ||
14916 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14917 rm -f conf$
$files.sh
14920 echo "cat >conf$$subs.awk <<_ACEOF" &&
14921 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14923 } >conf$$subs.sh ||
14924 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14925 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14927 for ac_last_try in false false false false false :; do
14928 . ./conf$$subs.sh ||
14929 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14931 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14932 if test $ac_delim_n = $ac_delim_num; then
14934 elif $ac_last_try; then
14935 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14937 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14940 rm -f conf$$subs.sh
14942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14943 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14947 s/^/S["/; s
/!.
*/"]=/
14957 s/\(.\{148\}\).*/\1/
14959 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14964 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14971 s/\(.\{148\}\).*/\1/
14973 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14977 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14982 ' <conf$$subs.awk | sed '
14987 ' >>$CONFIG_STATUS || ac_write_fail=1
14988 rm -f conf$$subs.awk
14989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14991 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14992 for (key in S) S_is_set[key] = 1
14994 \$ac_cs_awk_pipe_init
14998 nfields = split(line, field, "@
")
15000 len = length(field[1])
15001 for (i = 2; i < nfields; i++) {
15003 keylen = length(key)
15004 if (S_is_set[key]) {
15006 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15007 len += length(value) + length(field[++i])
15012 if (nfields == 3 && !substed) {
15014 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15015 \$ac_cs_awk_read_file
15021 \$ac_cs_awk_pipe_fini
15024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15025 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15026 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15029 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15030 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15033 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15034 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15035 # trailing colons and then remove the whole line if VPATH becomes empty
15036 # (actually we leave an empty line to preserve line numbers).
15037 if test "x
$srcdir" = x.; then
15038 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15039 s/:*\$(srcdir):*/:/
15040 s/:*\${srcdir}:*/:/
15042 s/^\([^=]*=[ ]*\):*/\1/
15048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15049 fi # test -n "$CONFIG_FILES"
15052 eval set X " :F
$CONFIG_FILES "
15057 :[FHLC]) ac_mode=$ac_tag; continue;;
15059 case $ac_mode$ac_tag in
15061 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15062 :[FH]-) ac_tag=-:-;;
15063 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15080 -) ac_f="$tmp/stdin";;
15081 *) # Look for the file first in the build tree, then in the source tree
15082 # (if the path is not absolute). The absolute path cannot be DOS-style,
15083 # because $ac_f cannot contain `:'.
15087 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15089 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15091 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15092 as_fn_append ac_file_inputs " '$ac_f'"
15095 # Let's still pretend it is `configure' which instantiates (i.e., don't
15096 # use $as_me), people would be surprised to read:
15097 # /* config.h. Generated by config.status. */
15098 configure_input='Generated from '`
15099 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15101 if test x"$ac_file" != x-; then
15102 configure_input="$ac_file.
$configure_input"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15104 $as_echo "$as_me: creating
$ac_file" >&6;}
15106 # Neutralize special characters interpreted by sed in replacement strings.
15107 case $configure_input in #(
15108 *\&* | *\|* | *\\* )
15109 ac_sed_conf_input=`$as_echo "$configure_input" |
15110 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15111 *) ac_sed_conf_input=$configure_input;;
15115 *:-:* | *:-) cat >"$tmp/stdin
" \
15116 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15121 ac_dir=`$as_dirname -- "$ac_file" ||
15122 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15123 X"$ac_file" : 'X\(//\)[^/]' \| \
15124 X"$ac_file" : 'X\(//\)$' \| \
15125 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15126 $as_echo X"$ac_file" |
15127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15131 /^X\(\/\/\)[^/].*/{
15144 as_dir="$ac_dir"; as_fn_mkdir_p
15148 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15150 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15151 # A "..
" for each directory in $ac_dir_suffix.
15152 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15153 case $ac_top_builddir_sub in
15154 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15155 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15158 ac_abs_top_builddir=$ac_pwd
15159 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15160 # for backward compatibility:
15161 ac_top_builddir=$ac_top_build_prefix
15164 .) # We are building in place.
15166 ac_top_srcdir=$ac_top_builddir_sub
15167 ac_abs_top_srcdir=$ac_pwd ;;
15168 [\\/]* | ?:[\\/]* ) # Absolute name.
15169 ac_srcdir=$srcdir$ac_dir_suffix;
15170 ac_top_srcdir=$srcdir
15171 ac_abs_top_srcdir=$srcdir ;;
15172 *) # Relative name.
15173 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15174 ac_top_srcdir=$ac_top_build_prefix$srcdir
15175 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15177 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15187 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15188 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15193 # If the template does not know about datarootdir, expand it.
15194 # FIXME: This hack should be removed a few years after 2.60.
15195 ac_datarootdir_hack=; ac_datarootdir_seen=
15206 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15207 *datarootdir*) ac_datarootdir_seen=yes;;
15208 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15210 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15213 ac_datarootdir_hack='
15214 s&@datadir@&$datadir&g
15215 s&@docdir@&$docdir&g
15216 s&@infodir@&$infodir&g
15217 s&@localedir@&$localedir&g
15218 s&@mandir@&$mandir&g
15219 s&\\\${datarootdir}&$datarootdir&g' ;;
15223 # Neutralize VPATH when `$srcdir' = `.'.
15224 # Shell code in configure.ac might set extrasub.
15225 # FIXME: do we really want to maintain this feature?
15226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15227 ac_sed_extra="$ac_vpsub
15230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15232 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15233 s|@configure_input@|
$ac_sed_conf_input|
;t t
15234 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15235 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15236 s
&@srcdir@
&$ac_srcdir&;t t
15237 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15238 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15239 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15240 s
&@builddir@
&$ac_builddir&;t t
15241 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15242 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15243 s
&@INSTALL@
&$ac_INSTALL&;t t
15244 $ac_datarootdir_hack
15246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15247 if $ac_cs_awk_getline; then
15248 $AWK -f "$tmp/subs.
awk"
15250 $AWK -f "$tmp/subs.
awk" | $SHELL
15252 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15254 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15255 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15256 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15258 which seems to be undefined. Please make sure it is defined." >&5
15259 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15260 which seems to be undefined. Please make sure it is defined." >&2;}
15264 -) cat "$tmp/out" && rm -f "$tmp/out";;
15265 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15267 || as_fn_error "could not create $ac_file" "$LINENO" 5
15275 case $ac_file$ac_mode in
15276 "Makefile":F) sed "$extrasub_build" Makefile |
15277 sed "$extrasub_host" |
15278 sed "$extrasub_target" > mf$$
15279 mv -f mf$$ Makefile ;;
15287 ac_clean_files=$ac_clean_files_save
15289 test $ac_write_fail = 0 ||
15290 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15293 # configure is writing to config.log, and then calls config.status.
15294 # config.status does its own redirection, appending to config.log.
15295 # Unfortunately, on DOS this fails, as config.log is still kept open
15296 # by configure, so config.status won't be able to
write to it
; its
15297 # output is simply discarded. So we exec the FD to /dev/null,
15298 # effectively closing config.log, so it can be properly (re)opened and
15299 # appended to by config.status. When coming back to configure, we
15300 # need to make the FD available again.
15301 if test "$no_create" != yes; then
15303 ac_config_status_args
=
15304 test "$silent" = yes &&
15305 ac_config_status_args
="$ac_config_status_args --quiet"
15307 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15309 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15310 # would make configure fail if this is the last instruction.
15311 $ac_cs_success || as_fn_exit $?
15313 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15315 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}